Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO][Utilizzo] problema (non ovvio) a montare vfat
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
markgreene
n00b
n00b


Joined: 04 Oct 2004
Posts: 31
Location: Catania, Italy

PostPosted: Fri Nov 26, 2004 10:34 am    Post subject: [RISOLTO][Utilizzo] problema (non ovvio) a montare vfat Reply with quote

salve a tutti

ho un problema assolutamente assurdo con un paio di partizioni vfat sul computer materno(*)

installo dalla 2004.2, ricompilo il gentoo-dev-sources 2.6.7-r11 e tutto va alla grande. a distanza di tempo, dopo un emerge sync, visto che era li' bello disponibile il 2.6.8-qualcosa lo emergo e ricompilo...

a partire da quel momento non sono piu' stato in grado di montare hda1 e hda2, entrambe FAT32 =:)

prima di cominciare a farmi girare le bocce, ho pensato:

    ad un mio errore: ho controllato /etc/fstab, il config del kernel, ho ricompilato il kernel svariate volte e con diversi config ...
    ad un bug: ma e' lo stesso con il 2.6.9- r1 r3 r4 ed r6 ...
    ad una cattiva congiunzione astrale...


ovviamente... se faccio il boot con il 2.6.7-r11 che avevo prudentemente tenuto da parte, tutto va benissimo e monta le partizioni regolarmente :p
ho googlato senza risultato :p

questo e' il grep dei punti cruciali del config. non mi sembra che manchi nulla :p
Code:

CONFIG_FAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
CONFIG_MSDOS_FS=y
CONFIG_MSDOS_PARTITION=y
CONFIG_VFAT_FS=y


qualche idea?
TIA

(*) ebbene si, ho gentooizato con successo anche i miei genitori ;)
_________________
What part of /sbin/ifconfig eth0|grep 'inet'|awk -F' ' '{print $2}'|sed -e s/addr:// dont you understand?


Last edited by markgreene on Mon Nov 29, 2004 8:44 am; edited 1 time in total
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Fri Nov 26, 2004 11:51 am    Post subject: Re: [Utilizzo] problema (non ovvio) a montare vfat Reply with quote

markgreene wrote:
a partire da quel momento non sono piu' stato in grado di montare hda1 e hda2, entrambe FAT32 =:)


Ovvero? Che errore hai?

Quote:
se faccio il boot con il 2.6.7-r11 che avevo prudentemente tenuto da parte


Ah bene, finalmente qualcuno che si ricorda di questa cosa assolutamente non secondaria :-D

Comunque se normalmente compili l'opzione per avere il file /proc/config.gz puoi provare a confrontare le configurazioni dei due kernel....
_________________
Ciao da me!
Back to top
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Fri Nov 26, 2004 11:56 am    Post subject: Re: [Utilizzo] problema (non ovvio) a montare vfat Reply with quote

markgreene wrote:
Code:

CONFIG_FAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
CONFIG_MSDOS_FS=y
CONFIG_MSDOS_PARTITION=y
CONFIG_VFAT_FS=y


qualche idea?
TIA

(*) ebbene si, ho gentooizato con successo anche i miei genitori ;)


uhmm.. la butto li': non é che semplicemente windows é in italiano, e il codepage della fat é diverso da quello che hai lasciato di default ?

Coda, che sospetta di aver detto una stronzata gigantesca ;-)
Back to top
View user's profile Send private message
markgreene
n00b
n00b


Joined: 04 Oct 2004
Posts: 31
Location: Catania, Italy

PostPosted: Fri Nov 26, 2004 1:02 pm    Post subject: Re: [Utilizzo] problema (non ovvio) a montare vfat Reply with quote

randomaze wrote:

Ovvero? Che errore hai?


pardon... lo sapevo che avevo dimenticato qualcosa :)
Code:
bash-2.05b$ mount /mnt/dati/
mount: wrong fs type, bad option, bad superblock on /dev/hda2,
       or too many mounted file systems

bash-2.05b# mount -t vfat /dev/hda2 /mnt/dati
mount: wrong fs type, bad option, bad superblock on /dev/hda2,
       or too many mounted file systems
bash-2.05b# mount -t auto /dev/hda2 /mnt/dati
mount: wrong fs type, bad option, bad superblock on /dev/hda2,
       or too many mounted file systems


aggiungo le due righe di /etc/fstab, per tutto quello che puo' servire:
Code:
/dev/hda1               /mnt/windows    vfat            users,auto,umask=0     0 0
/dev/hda2               /mnt/dati       vfat            users,auto,umask=0     0 0


randomaze wrote:

Quote:
se faccio il boot con il 2.6.7-r11 che avevo prudentemente tenuto da parte

Ah bene, finalmente qualcuno che si ricorda di questa cosa assolutamente non secondaria :-D

sono sempre stato un tipo prudente :>

randomaze wrote:

Comunque se normalmente compili l'opzione per avere il file /proc/config.gz puoi provare a confrontare le configurazioni dei due kernel....

mumble mumble...
la cosa strana e' che (come sempre quando metto su un nuovo kernel) sono partito dal config del "vecchio" 2.6.7 funzionante (load alternate conf) e l'ho ricontrollato per vedere se era tutto a posto prima di cominciare a compilare :p

posso postare anche tutto il diff, ma cosi' ad occhio non ci vedo nulla di particolare :(

codadilupo wrote:

la butto li': non é che semplicemente windows é in italiano, e il codepage della fat é diverso da quello che hai lasciato di default ?


credo che a questo servano
Code:
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-15"

ho provato sia 8859-1 che 8859-15 :(

mumble mumble... ho notato solo ora che nel vecchio config questi non sono settati...
faccio questa ulteriore prova e vediamo se cambia qualcosa...
_________________
What part of /sbin/ifconfig eth0|grep 'inet'|awk -F' ' '{print $2}'|sed -e s/addr:// dont you understand?
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Fri Nov 26, 2004 1:07 pm    Post subject: Reply with quote

provato a mettere i codepage necessari?
io ho questo output:
Code:
 # more /usr/src/linux/.config | grep NLS
CONFIG_UDF_NLS=y
# CONFIG_SMB_NLS_DEFAULT is not set
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-15"
CONFIG_NLS_CODEPAGE_437=m
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
CONFIG_NLS_CODEPAGE_850=m
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
# CONFIG_NLS_ASCII is not set
CONFIG_NLS_ISO8859_1=m
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
CONFIG_NLS_ISO8859_15=m
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=m

_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
markgreene
n00b
n00b


Joined: 04 Oct 2004
Posts: 31
Location: Catania, Italy

PostPosted: Fri Nov 26, 2004 1:44 pm    Post subject: Reply with quote

Peach wrote:
provato a mettere i codepage necessari?


questa e' l'unica differenza tra il mio ed il tuo config:
Code:
< CONFIG_NLS_CODEPAGE_437=m
---
> # CONFIG_NLS_CODEPAGE_437 is not set


il tempo di finire una cosa, e provo anche questo...
_________________
What part of /sbin/ifconfig eth0|grep 'inet'|awk -F' ' '{print $2}'|sed -e s/addr:// dont you understand?
Back to top
View user's profile Send private message
realthing
Apprentice
Apprentice


Joined: 29 Jul 2003
Posts: 163
Location: Milano, Italy

PostPosted: Fri Nov 26, 2004 1:56 pm    Post subject: Re: [Utilizzo] problema (non ovvio) a montare vfat Reply with quote

markgreene wrote:

aggiungo le due righe di /etc/fstab, per tutto quello che puo' servire:
Code:
/dev/hda1               /mnt/windows    vfat            users,auto,umask=0     0 0
/dev/hda2               /mnt/dati       vfat            users,auto,umask=0     0 0


Uhm... mo sparo la mia ca***ta anche io :)
Sei sicuri di quell'

Code:
umask=0


Io per i permessi sulle partizioni fat uso tre cifre per identificarli, una cosa tipo

Code:
umask=000


So che sarebbe strano, perchè con il kernel 2.6.7 funziona ma nn si sa mai...

Spero di non averla detta troppo grossa :oops:
Back to top
View user's profile Send private message
markgreene
n00b
n00b


Joined: 04 Oct 2004
Posts: 31
Location: Catania, Italy

PostPosted: Fri Nov 26, 2004 2:14 pm    Post subject: Re: [Utilizzo] problema (non ovvio) a montare vfat Reply with quote

realthing wrote:


Sei sicuri di quell'
Code:
umask=0


ho provato con umask=000, stesso errore :(
_________________
What part of /sbin/ifconfig eth0|grep 'inet'|awk -F' ' '{print $2}'|sed -e s/addr:// dont you understand?
Back to top
View user's profile Send private message
Sbriglie
n00b
n00b


Joined: 17 Jun 2004
Posts: 58

PostPosted: Sat Nov 27, 2004 6:17 pm    Post subject: Reply with quote

Domanda stupidissima: non è che per qualche modo sono stati rimappati i device con il cambio di kernel e /dev/hda1 e 2 hanno cambiato nome?
Back to top
View user's profile Send private message
BlackBelt
Guru
Guru


Joined: 27 Nov 2004
Posts: 369
Location: Messina/Pisa

PostPosted: Sun Nov 28, 2004 6:31 pm    Post subject: come hai risolto Reply with quote

sei riuscito a risolvere? ho lo stesso problema pure io.

Grazie

emanuele
Back to top
View user's profile Send private message
markgreene
n00b
n00b


Joined: 04 Oct 2004
Posts: 31
Location: Catania, Italy

PostPosted: Mon Nov 29, 2004 8:42 am    Post subject: Reply with quote

scusate se rispondo solo ora... ho avuto 2 o 3 giorni da dimenticare, incasinatissimi. sto tornando solo ora da una notte in ambulanza, quindi non sono proprio responsabile di quello che dico :p

alla fine il consiglio di Peach si e' rivelato corretto:
Quote:
provato a mettere i codepage necessari?


sono andato, per disperazione, a controllare i codepage nel kernel config e... non c'era piu' il codepage 437 :p
Code:
│--- Base native language support                                     │ │
  │ │(iso8859-15) Default NLS Option                                      │ │
  │ │<*>   Codepage 437 (United States, Canada)                           │ │
  │ │< >   Codepage 737 (Greek)                                           │ │
  │ │< >   Codepage 775 (Baltic Rim)                                      │ │
  │ │< >   Codepage 850 (Europe)

errore/svista/i folletti dentro il mio computer... non so cosa c#@]#$%!& abbia causato questo rpoblema, io proprio non mi ricordo di averlo tolto. cmq, e' bastato rimetterlo, rebootare, e tutto e' tornato a posto :)

grazie mille a tutti per i consigli ed il "supporto" :D
vi ringrazio con un altro thread ;)

ora aggiungo il tag RISOLTO
_________________
What part of /sbin/ifconfig eth0|grep 'inet'|awk -F' ' '{print $2}'|sed -e s/addr:// dont you understand?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum