Hi, I have a usb compact flash card reader which I am reasonably sure is usb mass storage compliant. I use Redhat 7.1 with no modifications (kernel 2.4.2-2). The compact flashcard being used is 32 M (Note one of the kernel log messages suggest this is not being determined correctly: Oct 15 09:06:17 localhost kernel: sda : block size assumed to be 512 bytes, disk size 1GB.)
1) Directly after booting up: $ /sbin/lsmod Module Size Used by via82cxxx_audio 17552 0 (autoclean) ac97_codec 8800 0 (autoclean) [via82cxxx_audio] soundcore 4464 2 (autoclean) [via82cxxx_audio] agpgart 23392 3 (autoclean) NVdriver 820352 14 (autoclean) autofs 11264 1 (autoclean) ipchains 38976 0 (unused) usb-uhci 20720 0 (unused) usbcore 49664 1 [usb-uhci] 2) After plugging in USB card reader The following modules added: Module Size Used by usb-storage 31792 0 scsi_mod 95104 1 [usb-storage] The following lines are added to /var/log/messages: Oct 15 09:01:44 localhost kernel: hub.c: USB new device connect on bus1/1, assig ned device number 3 Oct 15 09:01:44 localhost kernel: usb.c: USB device 3 (vend/prod 0x2098/0x2104) is not claimed by any active driver. Oct 15 09:01:44 localhost kernel: SCSI subsystem driver Revision: 1.00 Oct 15 09:01:44 localhost kernel: Initializing USB Mass Storage driver... Oct 15 09:01:44 localhost kernel: usb.c: registered new driver usb-storage Oct 15 09:01:44 localhost kernel: scsi0 : SCSI emulation for USB Mass Storage de vices Oct 15 09:01:44 localhost kernel: usb-uhci.c: interrupt, status 3, frame# 1085 Oct 15 09:01:44 localhost kernel: Vendor: General Model: Flash Disk Drive R ev: 2.05 Oct 15 09:01:44 localhost kernel: Type: Direct-Access A NSI SCSI revision: 02 Oct 15 09:01:44 localhost kernel: USB Mass Storage support registered. And here is what /proc looks like $ more /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: General Model: Flash Disk Drive Rev: 2.05 Type: Direct-Access ANSI SCSI revision: 02 $ more /proc/scsi/usb-storage-0/0 Host scsi0: usb-storage Vendor: EZ Product: USB Mass Storage Flash Card Rea Serial Number: 9876543210ABCDEF Protocol: Transparent SCSI Transport: Bulk GUID: 209821049876543210abcdef Attached: 1 Things do not run as smoothly from here on. $ mount -t vfat /dev/sda1 /mnt/flash/ mount: /dev/sda1 is not a valid block device The following lines are added to /var/log/messages Oct 15 09:06:17 localhost kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 Oct 15 09:06:17 localhost kernel: usb-uhci.c: interrupt, status 3, frame# 1180 Oct 15 09:06:17 localhost kernel: usb-uhci.c: interrupt, status 3, frame# 1194 Oct 15 09:06:17 localhost kernel: usb-uhci.c: interrupt, status 3, frame# 1208 Oct 15 09:06:17 localhost kernel: sda : READ CAPACITY failed. Oct 15 09:06:17 localhost kernel: sda : status = 1, message = 00, host = 0, driver = 08 Oct 15 09:06:17 localhost kernel: sda : extended sense code = 2 Oct 15 09:06:17 localhost kernel: sda : block size assumed to be 512 bytes, disk size 1GB. Oct 15 09:06:17 localhost kernel: sda: I/O error: dev 08:00, sector 0 Oct 15 09:06:17 localhost kernel: unable to read partition table Oct 15 09:06:17 localhost kernel: usb-uhci.c: interrupt, status 3, frame# 1296 Oct 15 09:06:17 localhost kernel: usb-uhci.c: interrupt, status 3, frame# 1310 Oct 15 09:06:17 localhost kernel: usb-uhci.c: interrupt, status 3, frame# 1324 Oct 15 09:06:17 localhost kernel: sda : READ CAPACITY failed. Oct 15 09:06:17 localhost kernel: sda : status = 1, message = 00, host = 0, driver = 08 Oct 15 09:06:17 localhost kernel: sda : extended sense code = 2 Oct 15 09:06:17 localhost kernel: sda : block size assumed to be 512 bytes, disk size 1GB. Oct 15 09:06:17 localhost kernel: sda: Write Protect is off Oct 15 09:06:17 localhost kernel: sda: I/O error: dev 08:00, sector 0 Oct 15 09:06:17 localhost kernel: unable to read partition table Am I doing something wrong? Is there any other information that would be useful? Any help would be very much appreciated. Thanks Robert Valkenburg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users