Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ fd0 : mount ] installation du module vfat [ resolu ]
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
jeck
n00b
n00b


Joined: 05 Apr 2006
Posts: 73
Location: Belgique : La Louviére

PostPosted: Sun Apr 09, 2006 3:26 pm    Post subject: [ fd0 : mount ] installation du module vfat [ resolu ] Reply with quote

Bonjour,

Aprés recherches et applications, je n'arrive pas à monter un floppy sur gentoo 2.6.15

J'ai bien configurer le kernel pour la prise en charge vfat et msdos puis recompiler, ensuite j'ai ajouter à mon fichier /etc/modules.autoload.d/kernel-2.6 " vfat" mais encore, j'ai ajouté ceci a /etc/fstab
/dev/fd0 /mnt/floppy auto noauto 0 0

Ensuite rebooter ...

je veux ajouter le modules vfat avec " modprobe vfat " et il répond :
Code:
WARNING: Error inserting fat (/lib/modules/2.6.15/kernel/fs/fat/fat.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting vfat (/lib/modules/2.6.15/kernel/fs/vfat/vfat.ko): Unknown symbol in module, or unknown parameter (see dmesg)


je suis aller consulter dmesg :

Code:
fat: Unknown symbol load_nls
fat: Unknown symbol unload_nls
vfat: Unknown symbol fat_dir_empty
vfat: Unknown symbol fat_fs_panic
vfat: Unknown symbol fat_get_dotdot_entry
vfat: Unknown symbol fat_free_clusters
vfat: Unknown symbol fat_scan
vfat: Unknown symbol fat_date_unix2dos
vfat: Unknown symbol fat_search_long
vfat: Unknown symbol utf8_mbstowcs
vfat: Unknown symbol fat_attach
vfat: Unknown symbol fat_build_inode
vfat: Unknown symbol fat_fill_super
vfat: Unknown symbol fat_alloc_new_dir
vfat: Unknown symbol fat_notify_change
vfat: Unknown symbol fat_remove_entries
vfat: Unknown symbol fat_add_entries
vfat: Unknown symbol fat_sync_inode
vfat: Unknown symbol fat_detach
fat: Unknown symbol utf8_wcstombs
fat: Unknown symbol load_nls
fat: Unknown symbol unload_nls


que puis-je faire ?
_________________
Un probléme sans solution ...
N'est pas un probléme !
-----------------------------

Cordialement,

JeCk


Last edited by jeck on Sun Apr 09, 2006 10:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
BuBuaBu
l33t
l33t


Joined: 09 Jul 2005
Posts: 914
Location: France

PostPosted: Sun Apr 09, 2006 3:42 pm    Post subject: Reply with quote

Ton kernel est-il bien installé ? les modules ? (avec make modules && make install_modules)

Tu as essayé avec le vfat en dur ?
Back to top
View user's profile Send private message
jeck
n00b
n00b


Joined: 05 Apr 2006
Posts: 73
Location: Belgique : La Louviére

PostPosted: Sun Apr 09, 2006 3:48 pm    Post subject: Reply with quote

non je viens de l'installer ... ( aprés # cp arch/i386/boot/bzImage /boot/2.6.15 je dois faire autre chose ? )
Et vfat est configurer en dur en fait dans le kernel
_________________
Un probléme sans solution ...
N'est pas un probléme !
-----------------------------

Cordialement,

JeCk
Back to top
View user's profile Send private message
jeck
n00b
n00b


Joined: 05 Apr 2006
Posts: 73
Location: Belgique : La Louviére

PostPosted: Sun Apr 09, 2006 3:59 pm    Post subject: Reply with quote

Aprés reboot :

# modprobe vfat
# lsmod
Module Size Used by
vfat 12392 -
fat 46340 -


je vais voir si çà fonctionne ...
_________________
Un probléme sans solution ...
N'est pas un probléme !
-----------------------------

Cordialement,

JeCk
Back to top
View user's profile Send private message
BuBuaBu
l33t
l33t


Joined: 09 Jul 2005
Posts: 914
Location: France

PostPosted: Sun Apr 09, 2006 4:00 pm    Post subject: Reply with quote

Si il est en dur pourquoi tu essai de charger le module ??

et oui, après avoir cp le kernel, il faut installer les modules (make modules && make modules_install)
Back to top
View user's profile Send private message
jeck
n00b
n00b


Joined: 05 Apr 2006
Posts: 73
Location: Belgique : La Louviére

PostPosted: Sun Apr 09, 2006 4:06 pm    Post subject: Reply with quote

# mount -t vfat /dev/fd0 /mnt/floppy
mount: block device /dev/fd0 is write-protected, mounting read-only
mount: /dev/fd0: can't read superblock

quels est le probléme ???

j'ai pas protégé la disquette ...
_________________
Un probléme sans solution ...
N'est pas un probléme !
-----------------------------

Cordialement,

JeCk
Back to top
View user's profile Send private message
BuBuaBu
l33t
l33t


Joined: 09 Jul 2005
Posts: 914
Location: France

PostPosted: Sun Apr 09, 2006 4:09 pm    Post subject: Reply with quote

as tu ces options dans ton kernel ?

CONFIG_MSDOS_FS=y
CONFIG_MSDOS_PARTITION=y

tu as essayé de passé l'option -t vfat a mount ?
Back to top
View user's profile Send private message
jeck
n00b
n00b


Joined: 05 Apr 2006
Posts: 73
Location: Belgique : La Louviére

PostPosted: Sun Apr 09, 2006 4:11 pm    Post subject: Reply with quote

Désolè mais c'est nouveau pour moi ...
Je trouve le fichier ou ?


pour le mount, c'est ce que j'ai pu trouver come info sur le mount floppy gentoo
_________________
Un probléme sans solution ...
N'est pas un probléme !
-----------------------------

Cordialement,

JeCk
Back to top
View user's profile Send private message
jeck
n00b
n00b


Joined: 05 Apr 2006
Posts: 73
Location: Belgique : La Louviére

PostPosted: Sun Apr 09, 2006 4:45 pm    Post subject: Reply with quote

#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.15
# Sun Apr 9 17:06:01 2006
#
CONFIG_X86_32=y
CONFIG_SEMAPHORE_SLEEPERS=y
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_CLEAN_COMPILE=y
_________________
Un probléme sans solution ...
N'est pas un probléme !
-----------------------------

Cordialement,

JeCk
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1902
Location: 127.0.0.1

PostPosted: Sun Apr 09, 2006 5:16 pm    Post subject: Reply with quote

Salut,

Que donne :
Code:

$ ls -l /dev/fd0
$ grep floppy /etc/group


Dans mon kernel 2.6.15-r1, j'ai ceci :

Code:

-> File systems
   -> DOS/FAT/NT Filesystems
      <*> MSDOS fs support
      <*> VFAT (Windows-95) fs support
      (850) Default codepage for FAT
      (iso8859-1) Default iocharset for FAT


Dans mon /etc/fstab :
Quote:

/dev/fd0 /mnt/floppy auto noauto,user,rw 0 0


Et je monte la disquette en faisant :
Code:

$ mount /mnt/floppy
Back to top
View user's profile Send private message
jeck
n00b
n00b


Joined: 05 Apr 2006
Posts: 73
Location: Belgique : La Louviére

PostPosted: Sun Apr 09, 2006 5:21 pm    Post subject: Reply with quote

Le kernel, c'est bon !
fstab modifié !

# ls -l /dev/fd0
lrwxrwxrwx 1 root root 8 Apr 9 17:57 /dev/fd0 -> floppy/0
# grep floppy /etc/group
floppy::11:root
#
_________________
Un probléme sans solution ...
N'est pas un probléme !
-----------------------------

Cordialement,

JeCk
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1902
Location: 127.0.0.1

PostPosted: Sun Apr 09, 2006 5:37 pm    Post subject: Reply with quote

Tiens, d'ailleurs, je viens de modifier, ce n'est pas user comme option qu'il faut mettre dans le fstab, c'est group (enfin bon, c'est un détail).
Et ? çà marche ?
Quote:
# grep floppy /etc/group
floppy::11:root

Si tu mets group, il faut que ton user soit dans le group floppy.
Si tu laisses user, n'importe qui peut monter la disquette.
Back to top
View user's profile Send private message
jeck
n00b
n00b


Joined: 05 Apr 2006
Posts: 73
Location: Belgique : La Louviére

PostPosted: Sun Apr 09, 2006 5:38 pm    Post subject: Reply with quote

non fonctionne pas ...

# mount /mnt/floppy



il se passe rien c'est comme gelé ...
rien se monte ...
_________________
Un probléme sans solution ...
N'est pas un probléme !
-----------------------------

Cordialement,

JeCk
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1902
Location: 127.0.0.1

PostPosted: Sun Apr 09, 2006 5:41 pm    Post subject: Reply with quote

Ton lecteur réagit au moins ?
Essaye avec un autre disquette :mrgreen:


Last edited by netfab on Sun Apr 09, 2006 6:16 pm; edited 1 time in total
Back to top
View user's profile Send private message
jeck
n00b
n00b


Joined: 05 Apr 2006
Posts: 73
Location: Belgique : La Louviére

PostPosted: Sun Apr 09, 2006 6:09 pm    Post subject: Reply with quote

dmesg
end_request: I/O error, dev fd0, sector 0
floppy0: disk absent or changed during operation
end_request: I/O error, dev fd0, sector 0
end_request: I/O error, dev fd0, sector 0

mount -t msdos /dev/fd0 /mnt/floppy/
mount: /dev/fd0 is not a valid block device

mount -t vfat /dev/fd0 /mnt/floppy/
mount: /dev/fd0 is not a valid block device

j'ai essayer 5 disquettes ...
La loupiotte du lecteur reste allumée ...
_________________
Un probléme sans solution ...
N'est pas un probléme !
-----------------------------

Cordialement,

JeCk
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1902
Location: 127.0.0.1

PostPosted: Sun Apr 09, 2006 6:18 pm    Post subject: Reply with quote

Ton lecteur fonctionne avec un autre système (livecd, windows, etc...) ?
Back to top
View user's profile Send private message
jeck
n00b
n00b


Joined: 05 Apr 2006
Posts: 73
Location: Belgique : La Louviére

PostPosted: Sun Apr 09, 2006 6:26 pm    Post subject: Reply with quote

oui
_________________
Un probléme sans solution ...
N'est pas un probléme !
-----------------------------

Cordialement,

JeCk
Back to top
View user's profile Send private message
ghoti
Advocate
Advocate


Joined: 30 Dec 2002
Posts: 3634
Location: Belgium

PostPosted: Sun Apr 09, 2006 7:20 pm    Post subject: Reply with quote

jeck wrote:
j'ai essayer 5 disquettes ...
La loupiotte du lecteur reste allumée ...

As-tu vérifié les branchements du lecteur ?
Une loupiotte allumée en permanence indique généralement que le câble est mal raccordé.
Réessaye peut-être encore avec "un autre OS" pour confirmer...
Back to top
View user's profile Send private message
jeck
n00b
n00b


Joined: 05 Apr 2006
Posts: 73
Location: Belgique : La Louviére

PostPosted: Sun Apr 09, 2006 7:23 pm    Post subject: Reply with quote

J'ai debrancher et raccordé dans le sens contraire la nappe ( la loupiotte s'eteind )
mais çà change iien

c'est vraiment trés étrange car il fonctionne avec d'autres os comme bsd par ex ...
_________________
Un probléme sans solution ...
N'est pas un probléme !
-----------------------------

Cordialement,

JeCk
Back to top
View user's profile Send private message
ghoti
Advocate
Advocate


Joined: 30 Dec 2002
Posts: 3634
Location: Belgium

PostPosted: Sun Apr 09, 2006 7:38 pm    Post subject: Reply with quote

Question idiote : tu as bien activé le "Normal floppy disk support" dans le noyau ? (section "Block devices")
Back to top
View user's profile Send private message
jeck
n00b
n00b


Joined: 05 Apr 2006
Posts: 73
Location: Belgique : La Louviére

PostPosted: Sun Apr 09, 2006 7:41 pm    Post subject: Reply with quote

yep :wink:
_________________
Un probléme sans solution ...
N'est pas un probléme !
-----------------------------

Cordialement,

JeCk
Back to top
View user's profile Send private message
ghoti
Advocate
Advocate


Joined: 30 Dec 2002
Posts: 3634
Location: Belgium

PostPosted: Sun Apr 09, 2006 7:49 pm    Post subject: Reply with quote

As-tu essayé si ça fonctionnait avec le LiveCD ?
(suis quand même persuadé que c'est un problème hardware ... :? )
Back to top
View user's profile Send private message
jeck
n00b
n00b


Joined: 05 Apr 2006
Posts: 73
Location: Belgique : La Louviére

PostPosted: Sun Apr 09, 2006 8:59 pm    Post subject: Reply with quote

le lecteur est mort depuis peu en fait car je l'ai récement utilisé ...

Me disait bien aussi que c'était étrange comme erreur ...
_________________
Un probléme sans solution ...
N'est pas un probléme !
-----------------------------

Cordialement,

JeCk
Back to top
View user's profile Send private message
ghoti
Advocate
Advocate


Joined: 30 Dec 2002
Posts: 3634
Location: Belgium

PostPosted: Sun Apr 09, 2006 9:42 pm    Post subject: Reply with quote

Malheureusement (résolu) alors ? :-(
Back to top
View user's profile Send private message
jeck
n00b
n00b


Joined: 05 Apr 2006
Posts: 73
Location: Belgique : La Louviére

PostPosted: Sun Apr 09, 2006 10:45 pm    Post subject: Reply with quote

moé bha c'est pas la mort un floppy dans le commerce :wink:

Je flasherai donc mon BIOS plutard ...

merci à tous
_________________
Un probléme sans solution ...
N'est pas un probléme !
-----------------------------

Cordialement,

JeCk
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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