View previous topic :: View next topic |
Author |
Message |
bassman_fr Apprentice
Joined: 30 Mar 2004 Posts: 201 Location: France Lyon
|
Posted: Mon Sep 06, 2004 9:14 pm Post subject: [vfat] pb de mount après recompil du noyau (résolu) |
|
|
bonjour j'ai de petits problèmes après être passé au noyau gentoo-dev-2.6.8-r3 :
le systeme ne veut plus monter mes partitions vfat :
Code: | mount /dev/hda3
mount: wrong fs type, bad option, bad superblock on /dev/hda3,
or too many mounted file systems |
j'ai tenté un scandisk ss windows ca change rien...
un fsck sur la partition me dit qu'il ne trouve pas fsck.vfat ... est-ce un paquetage à installer ??
je comprends pas bien si qqun a une idée
Last edited by bassman_fr on Tue Sep 07, 2004 1:07 pm; edited 2 times in total |
|
Back to top |
|
|
Diagorn Apprentice
Joined: 03 May 2004 Posts: 157 Location: Agen
|
Posted: Mon Sep 06, 2004 9:16 pm Post subject: |
|
|
peux tu nous donner ton fstab ?
Sinon je pense que si tu fais : mount /dev/hda3 /mnt/une_partition
ca dois fonctionner non ? |
|
Back to top |
|
|
kernelsensei Bodhisattva
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Mon Sep 06, 2004 9:18 pm Post subject: |
|
|
Code: | zgrep FAT /proc/config.gz | ou encore Code: | grep FAT /usr/src/linux/.config | et donne nous la sortie !
sinon pour fsck !
_________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
|
bassman_fr Apprentice
Joined: 30 Mar 2004 Posts: 201 Location: France Lyon
|
Posted: Tue Sep 07, 2004 5:12 am Post subject: |
|
|
yep alors mon fstab :
Code: | #NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda8 /boot ext3 noauto,noatime 1 1
/dev/hda6 / ext3 noatime 0 0
/dev/hda7 none swap sw 0 0
/dev/hda9 /home reiserfs defaults 0 0
/dev/hdc /mnt/cdrom iso9660 noauto,user,ro 0 0
/dev/hdd /mnt/dvd iso9660 noauto,user,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
/dev/hda2 /mnt/data vfat defaults,rw,user,uid=1000,umask=000 0 0
/dev/hda5 /mnt/data2 vfat defaults,rw,user,uid=1000,umask=000 0 0
/dev/hda3 /mnt/mp3 vfat defaults,rw,user,uid=1000,umask=000 0 0
/dev/hda1 /mnt/win ntfs defaults,ro,user,uid=1000,umask=000 0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:
none /dev/shm tmpfs defaults 0 0 |
zgrep me renvoie :
Code: |
# DOS/FAT/NT Filesystems
CONFIG_FAT_FS=m
CONFIG_VFAT_FS=m
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" |
et le grep FAT dans .config :
Code: | CONFIG_X86_MCE_NONFATAL=y
# DOS/FAT/NT Filesystems
CONFIG_FAT_FS=y
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" |
enfin vu que j'avais repris le .config du précédent noyau y'a pas de raisons a priori que ca vienne de ma recompil ou des module de FS.
j'ai fait un Code: | dosfsck -a /dev/hda3 | ca ne me renvoie pas d'erreurs ou de secteurs deffectueux et ca avance pas le schmilblik... arf |
|
Back to top |
|
|
Diagorn Apprentice
Joined: 03 May 2004 Posts: 157 Location: Agen
|
Posted: Tue Sep 07, 2004 6:53 am Post subject: |
|
|
moi j'ai
Code: | /dev/hdc1 /mnt/windows vfat users,uid=1000,gid=100 0 0
| et ca focntionne essayes pour voir |
|
Back to top |
|
|
bassman_fr Apprentice
Joined: 30 Mar 2004 Posts: 201 Location: France Lyon
|
Posted: Tue Sep 07, 2004 7:16 am Post subject: |
|
|
non ca fonctionne pas. Mais le problème ne viens pas des option de mon fstab puisqu'il fonctionnait parfaitement avant que je recompile mon noyau (dans lequel je n'ai rien fait d'autre que de changer mon module alsa) |
|
Back to top |
|
|
Diagorn Apprentice
Joined: 03 May 2004 Posts: 157 Location: Agen
|
Posted: Tue Sep 07, 2004 7:22 am Post subject: |
|
|
tu es sur que le module est chargé au démarrage car la seule difference avec ma config c'est que j'ai mis le support du FAT dans le noyau
Fais un |
|
Back to top |
|
|
bassman_fr Apprentice
Joined: 30 Mar 2004 Posts: 201 Location: France Lyon
|
Posted: Tue Sep 07, 2004 7:48 am Post subject: |
|
|
oui apparament il est bein chargé :
Code: | Module Size Used by
ohci_hcd 20740 0
ehci_hcd 28676 0
uhci_hcd 31760 0
snd_emu10k1 97032 1
snd_rawmidi 24740 1 snd_emu10k1
snd_ac97_codec 71504 1 snd_emu10k1
snd_util_mem 4864 1 snd_emu10k1
snd_hwdep 9604 1 snd_emu10k1
snd_seq_oss 35712 0
snd_seq_midi_event 7808 1 snd_seq_oss
snd_seq 52752 5 snd_seq_oss,snd_seq_midi_event
snd_seq_device 8584 4 snd_emu10k1,snd_rawmidi,snd_seq_oss,snd_seq
snd_pcm_oss 52904 0
snd_pcm 94088 2 snd_emu10k1,snd_pcm_oss
snd_timer 24708 2 snd_seq,snd_pcm
snd_page_alloc 10248 2 snd_emu10k1,snd_pcm
snd_mixer_oss 19840 1 snd_pcm_oss
snd 56804 16 snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_util_mem,snd_hwdep,snd_seq_oss,snd_seq_midi_event,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
usbcore 114020 5 ohci_hcd,ehci_hcd,uhci_hcd
ntfs 153496 1
vfat 14208 0
fat 44864 1 vfat |
|
|
Back to top |
|
|
kernelsensei Bodhisattva
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Tue Sep 07, 2004 9:18 am Post subject: |
|
|
decharges le module vfat et recharge le, apres ca, fais un dmesg et donne nous la sortie ! _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
|
bassman_fr Apprentice
Joined: 30 Mar 2004 Posts: 201 Location: France Lyon
|
Posted: Tue Sep 07, 2004 9:31 am Post subject: |
|
|
ben en fait j'ai recompilé le noyau avec le support du vfat en dur (pas en module) pour voir si ca changeait qqch. Donc la forcément je fait un
rmmod vfat pour décharger vfat mais ensuite je peux plus le recharger :
Code: | $modprobe vfat
FATAL: Module vfat not found. |
mon lsmod me donne maintenant
Code: | Module Size Used by
ohci_hcd 20740 0
ehci_hcd 28676 0
uhci_hcd 31760 0
snd_emu10k1 97032 1
snd_rawmidi 24740 1 snd_emu10k1
snd_ac97_codec 71504 1 snd_emu10k1
snd_util_mem 4864 1 snd_emu10k1
snd_hwdep 9604 1 snd_emu10k1
snd_seq_oss 35712 0
snd_seq_midi_event 7808 1 snd_seq_oss
snd_seq 52752 5 snd_seq_oss,snd_seq_midi_event
snd_seq_device 8584 4 snd_emu10k1,snd_rawmidi,snd_seq_oss,snd_seq
snd_pcm_oss 52904 0
snd_pcm 94088 2 snd_emu10k1,snd_pcm_oss
snd_timer 24708 2 snd_seq,snd_pcm
snd_page_alloc 10248 2 snd_emu10k1,snd_pcm
snd_mixer_oss 19840 1 snd_pcm_oss
snd 56804 16 snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_util_mem,snd_hwdep,snd_seq_oss,snd_seq_midi_event,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
usbcore 114020 5 ohci_hcd,ehci_hcd,uhci_hcd
ntfs 153496 1
fat 44864 0 |
|
|
Back to top |
|
|
kernelsensei Bodhisattva
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Tue Sep 07, 2004 9:37 am Post subject: |
|
|
ben deja dans ton 2eme post il y a une incoherance entre /proc/config.gz et /usr/src/linux/.config t'es sur de tes liens ? t'as modifie la config du kernel dans recompiler/rebooter depuis ?
bassman_fr wrote: | ben en fait j'ai recompilé le noyau avec le support du vfat en dur (pas en module) pour voir si ca changeait qqch. Donc la forcément je fait un
rmmod vfat pour décharger vfat mais ensuite je peux plus le recharger : |
euh, vu que c'est en dur, le module chargé tu l'as trouvé ou ? _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
|
bassman_fr Apprentice
Joined: 30 Mar 2004 Posts: 201 Location: France Lyon
|
Posted: Tue Sep 07, 2004 9:51 am Post subject: |
|
|
ok ben y'a du avoir une embrouille dans mes fichiers de config parce qu'après un reboot j'obtiens
Code: | $mount /dev/hda3
mount: fs type vfat not supported by kernel |
bon je recompile et je vous tiens au courant. Juste un truc y'a t il un interêt a mettre le vfat en dur ou vaut-il mieux le laisser en module ? |
|
Back to top |
|
|
kernelsensei Bodhisattva
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Tue Sep 07, 2004 10:33 am Post subject: |
|
|
moi perso, chuis un maniaque du dur ... alors bon ! mais c'est comme tu voultes !
le mettre en module pourrait nous aider a mieux deceler un probleme eventuel ! _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
|
bassman_fr Apprentice
Joined: 30 Mar 2004 Posts: 201 Location: France Lyon
|
Posted: Tue Sep 07, 2004 12:53 pm Post subject: |
|
|
après recompil (j'ai mis vfat en module), toujours le même problème,
cependant je peux charger ou décharger le module sans erreurs.
le demsg me renvoie ca à propos de FAT :
Code: | FAT: IO charset iso8859-1 not found
Unable to load NLS charset iso8859-1
FAT: IO charset iso8859-1 not found
Unable to load NLS charset iso8859-1
FAT: IO charset iso8859-1 not found
|
késako ? |
|
Back to top |
|
|
kernelsensei Bodhisattva
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Tue Sep 07, 2004 12:56 pm Post subject: |
|
|
Code: | zgrep CONFIG_NLS_ /proc/config.gz | Merci. _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
|
bassman_fr Apprentice
Joined: 30 Mar 2004 Posts: 201 Location: France Lyon
|
Posted: Tue Sep 07, 2004 1:06 pm Post subject: |
|
|
Code: | $zgrep CONFIG_NLS_ /proc/config.gz
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# 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 is not set
# 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=y
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_UTF8 is not set
|
bon je suis long à la détente mais ca yé j'ai compris : j'ai pas compilé l'option ISO8859_1 dans le noyau (Files Systems ->Native language support) voilà tout marche nickel ...
merci de ton aide kernel_sensei |
|
Back to top |
|
|
kernelsensei Bodhisattva
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Tue Sep 07, 2004 1:09 pm Post subject: |
|
|
de rien ! rien ne t'empeche de compiler d'autres langues histoire d'elargir le support _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
|
|