Re: udev + kernel 2.6.8 + usb mass storage
$ cat /proc/filesystems | grep fat vfat The same here: [EMAIL PROTECTED]:/usr/src/kernel-source-2.6.8 cat /proc/filesystems | grep fat vfat [EMAIL PROTECTED]:/usr/src/kernel-source-2.6.8 Maybe you said it before, but what about vfat? about vfat ? I don't really understand. My devices are vfat devices. vfat is enable in the kernel, Wow ! You're right: I just tested to mount my windows partition and it fails ! So it's seems that I have a problem with vfat in the kernel. The problem is no more related to udev or usb... I have to investigate on this now... JFL -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: udev + kernel 2.6.8 + usb mass storage
Solved ! Thanks to Ron Johnson who help me to identify the problem: It seems that in kernel 2.6.8 and later, I need the codepage 437 to mount vfat partitions. I chekcked my configuration in 2.6.6 and it was not needed. /usr/src/kernel-source-2.6.6 cat .config | grep -i 437 # CONFIG_NLS_CODEPAGE_437 is not set and now: /usr/src/kernel-source-2.6.9 cat .config | grep -i 437 CONFIG_FAT_DEFAULT_CODEPAGE=437 CONFIG_NLS_CODEPAGE_437=y and I can mount vfat. Thanks a lot for help ! JFL Le dimanche 09 janvier 2005 à 11:11 +0100, JFL a écrit : $ cat /proc/filesystems | grep fat vfat The same here: [EMAIL PROTECTED]:/usr/src/kernel-source-2.6.8 cat /proc/filesystems | grep fat vfat [EMAIL PROTECTED]:/usr/src/kernel-source-2.6.8 Maybe you said it before, but what about vfat? about vfat ? I don't really understand. My devices are vfat devices. vfat is enable in the kernel, Wow ! You're right: I just tested to mount my windows partition and it fails ! So it's seems that I have a problem with vfat in the kernel. The problem is no more related to udev or usb... I have to investigate on this now... JFL
udev + kernel 2.6.8 + usb mass storage
Hi, I have some troubles to mount any usb mass storage device using udev and kernel 2.6.8 (or 2.6.9). My device is quite well detected: usb 1-2: new high speed USB device using address 4 scsi3 : SCSI emulation for USB Mass Storage devices Vendor: TOSHIBA Model: MK4004GAH Rev: JC00 Type: Direct-Access ANSI SCSI revision: 02 SCSI device sdc: 78126048 512-byte hdwr sectors (40001 MB) sdc: assuming drive cache: write through sdc: sdc1 Attached scsi disk sdc at scsi3, channel 0, id 0, lun 0 Attached scsi generic sg2 at scsi3, channel 0, id 0, lun 0, type 0 USB Mass Storage device found at 4 So I am sure that I have to mount /dev/sdc1. udev quite well detecte it: ls /dev/sdc* brw-rw 1 root disk 8, 32 Jan 8 18:31 /dev/sdc brw-rw 1 root disk 8, 33 Jan 8 18:31 /dev/sdc1 It creates (or remove when I disconnect) /dev/sdc and /dev/sdc1. For customising that, I have to write rules, but the problem is that I fail to mount /dev/sdc1: mount /dev/sdc1 /mnt/pendrive mount: wrong fs type, bad option, bad superblock on /dev/sdc1, or too many mounted file systems or mount -t vfat /dev/sdc1 /mnt/pendrive mount: wrong fs type, bad option, bad superblock on /dev/sdc1, or too many mounted file systems So i checked my kernel parameters: - I have vfat in File Systems - I have the USB stuffs (and it works because I see it in dmesg) - I have no devfs support - I have scsi support (emulation and generic support) as adviced on may pages on internet I really do not know what to try. I suspect a bug in kernel 2.6.8, but it stills does not work in 2.6.9. In kernel 2.6.9 it detects the device in /dev/uba1, and it fails mounting it. Have you any idea about this ? JFL Some iformations on my config: - Debian testing - Kernel 2.6.8 (tested 2.6.9 too) compiled by hand - /sys, /proc well mounted - tmpfs ok - /etc/init.d/udev start works -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: udev + kernel 2.6.8 + usb mass storage
On Sat, 2005-01-08 at 18:39 +0100, JFL wrote: [...] mount -t vfat /dev/sdc1 /mnt/pendrive mount: wrong fs type, bad option, bad superblock on /dev/sdc1, or too many mounted file systems stupid question: are you sure that there is a vfat filesystem on it? (is it formatted at all? try fdisk /dev/sdc) cheers, Hp. -- Hanspeter Kunz Artificial Intelligence Laboratory Ph.D. Student Department of Information Technology Email: [EMAIL PROTECTED] University of Zurich Tel: +41.(0)44.63-54306 Andreasstrasse 15, Office 2.12 http://ailab.ch/people/hkunzCH-8050 Zurich, Switzerland Spamtraps: [EMAIL PROTECTED] [EMAIL PROTECTED] --- A good reputation is more valuable than money. -- Publilius Syrus signature.asc Description: This is a digitally signed message part
Re: udev + kernel 2.6.8 + usb mass storage
On Sat, 2005-01-08 at 18:39 +0100, JFL wrote: Hi, I have some troubles to mount any usb mass storage device using udev and kernel 2.6.8 (or 2.6.9). My device is quite well detected: usb 1-2: new high speed USB device using address 4 scsi3 : SCSI emulation for USB Mass Storage devices Vendor: TOSHIBA Model: MK4004GAH Rev: JC00 Type: Direct-Access ANSI SCSI revision: 02 SCSI device sdc: 78126048 512-byte hdwr sectors (40001 MB) sdc: assuming drive cache: write through sdc: sdc1 Attached scsi disk sdc at scsi3, channel 0, id 0, lun 0 Attached scsi generic sg2 at scsi3, channel 0, id 0, lun 0, type 0 USB Mass Storage device found at 4 So I am sure that I have to mount /dev/sdc1. udev quite well detecte it: ls /dev/sdc* brw-rw 1 root disk 8, 32 Jan 8 18:31 /dev/sdc brw-rw 1 root disk 8, 33 Jan 8 18:31 /dev/sdc1 It creates (or remove when I disconnect) /dev/sdc and /dev/sdc1. For customising that, I have to write rules, but the problem is that I fail to mount /dev/sdc1: mount /dev/sdc1 /mnt/pendrive mount: wrong fs type, bad option, bad superblock on /dev/sdc1, or too many mounted file systems or mount -t vfat /dev/sdc1 /mnt/pendrive mount: wrong fs type, bad option, bad superblock on /dev/sdc1, or too many mounted file systems So i checked my kernel parameters: - I have vfat in File Systems - I have the USB stuffs (and it works because I see it in dmesg) - I have no devfs support - I have scsi support (emulation and generic support) as adviced on may pages on internet I really do not know what to try. I suspect a bug in kernel 2.6.8, but it stills does not work in 2.6.9. In kernel 2.6.9 it detects the device in /dev/uba1, and it fails mounting it. Have you any idea about this ? JFL Some iformations on my config: - Debian testing - Kernel 2.6.8 (tested 2.6.9 too) compiled by hand - /sys, /proc well mounted - tmpfs ok - /etc/init.d/udev start works How about: mount -t auto /dev/sdc1 /mnt/pendrive That would tell you what mount thinks is on the drive. -- - Ron Johnson, Jr. Jefferson, LA USA PGP Key ID 8834C06B I prefer encrypted mail. PETA - People Eating Tasty Animals signature.asc Description: This is a digitally signed message part