I have this product which i know works with the 2.4.18 kernels shipped with Redhat 8.0
[EMAIL PROTECTED] root]# cat /proc/scsi/usb-storage-0/0
Host scsi0: usb-storage
Vendor: SCM Microsystems Inc.
Product: eUSB MultiMediaCard Adapter
Serial Number: 000000000000
Protocol: Transparent SCSI
Transport: Bulk
GUID: 04e600060000000000000000
Attached: YesIm now using Mandrake 9.1 with the kernel 2.4.21-0.13mdk and find that it no longer works as it should. I have found with help from others a way to mount the device but it is a bit combersum.
I found i could read the device with dd so i proceeded to do dd if=/dev/sda of=mmc.
After inspecting the contents of the file mmc i found that the first 16k were some kind of artifical partition table so i stripped this and was able to mount the file via a loop device.
I was then shown how to mount the device directly by using losetup to mask the first 16k so as follows works:
losetup -o 16384 /dev/loop0 /dev/sda mount /dev/loop0 /mnt/zmate
However if i simply connect the device and attempt to mount it, I get the following in /var/log/messages:
+-------------------------------------------------------------------+
Mar 24 19:10:47 S4 /etc/hotplug/usb.agent: Setup usb-storage for USB product 4e6/6/404
Mar 24 19:10:47 S4 /etc/hotplug/usb.agent: Module setup usb-storage for USB product 4e6/6/404
Mar 24 19:10:47 S4 /etc/hotplug/usb/usb-storage: Load scsimon
Mar 24 19:10:47 S4 /etc/hotplug/usb/usb-storage: scsimon allready loaded
Mar 24 19:11:02 S4 kernel: SCSI device sda: 250880 512-byte hdwr sectors (128 MB)
Mar 24 19:11:02 S4 kernel: sda: Write Protect is off
Mar 24 19:11:08 S4 kernel: /dev/scsi/host0/bus0/target0/lun0:<4>usb-uhci.c: interrupt, status 3, frame# 2047
Mar 24 19:11:08 S4 kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 03 d3 f8 00 00 08 00
Mar 24 19:11:08 S4 kernel: Current sd08:00: sense key Volume Overflow
Mar 24 19:11:08 S4 kernel: I/O error: dev 08:00, sector 250872
Mar 24 19:11:13 S4 kernel: usb-uhci.c: interrupt, status 3, frame# 1015
Mar 24 19:11:13 S4 kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 03 d3 f9 00 00 07 00
Mar 24 19:11:13 S4 kernel: Current sd08:00: sense key Volume Overflow
Mar 24 19:11:13 S4 kernel: I/O error: dev 08:00, sector 250873
Mar 24 19:11:18 S4 kernel: usb-uhci.c: interrupt, status 3, frame# 2030
Mar 24 19:11:18 S4 kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 03 d3 fa 00 00 06 00
Mar 24 19:11:18 S4 kernel: Current sd08:00: sense key Volume Overflow
Mar 24 19:11:18 S4 kernel: I/O error: dev 08:00, sector 250874
Mar 24 19:11:23 S4 kernel: usb-uhci.c: interrupt, status 3, frame# 997
Mar 24 19:11:23 S4 kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 03 d3 fb 00 00 05 00
Mar 24 19:11:23 S4 kernel: Current sd08:00: sense key Volume Overflow
Mar 24 19:11:23 S4 kernel: I/O error: dev 08:00, sector 250875
Mar 24 19:11:28 S4 kernel: usb-uhci.c: interrupt, status 3, frame# 2011
Mar 24 19:11:28 S4 kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 03 d3 fc 00 00 04 00
Mar 24 19:11:28 S4 kernel: Current sd08:00: sense key Volume Overflow
Mar 24 19:11:28 S4 kernel: I/O error: dev 08:00, sector 250876
Mar 24 19:11:33 S4 kernel: usb-uhci.c: interrupt, status 3, frame# 977
Mar 24 19:11:33 S4 kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 03 d3 fd 00 00 03 00
Mar 24 19:11:33 S4 kernel: Current sd08:00: sense key Volume Overflow
Mar 24 19:11:33 S4 kernel: I/O error: dev 08:00, sector 250877
Mar 24 19:11:38 S4 kernel: usb-uhci.c: interrupt, status 3, frame# 1990
Mar 24 19:11:38 S4 kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 03 d3 fe 00 00 02 00
Mar 24 19:11:38 S4 kernel: Current sd08:00: sense key Volume Overflow
Mar 24 19:11:38 S4 kernel: I/O error: dev 08:00, sector 250878
Mar 24 19:11:43 S4 kernel: usb-uhci.c: interrupt, status 2, frame# 977
Mar 24 19:11:43 S4 kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 00 00 00 00 00 08 00
Mar 24 19:11:43 S4 kernel: Current sd08:00: sense key Volume Overflow
Mar 24 19:11:43 S4 kernel: I/O error: dev 08:00, sector 0
Mar 24 19:11:43 S4 kernel: ldm_validate_partition_table(): Disk read failed.
Mar 24 19:11:43 S4 kernel: unable to read partition table
+-------------------------------------------------------------------------------+
This is then followed by
mount: special device /dev/sda1 does not exist
I think this has to be to do with some differences between the usb-storage module in 2.4.18 compared to 2.4.21 but hey, i dont really know!
Any ideas?
Dan
P.S. It has been sugested that my mmc card is faulty (has bad sectors) but as i can dd the entire contents to a file with no error in 2.4.18 i beg to differ!!!
------------------------------------------------------- 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
