Andi Kleen ak-at-suse.de |suse-amd64| wrote:
On Sat, Oct 25, 2003 at 06:08:06PM -0700, Stephen Williams wrote:
I have SLES8 with the latest (precompiled) kernel updates on an AMD64 (HDAMB) system. I also have a Microtech USB Cameramate compact flash/smart card reader. It appears that it does not work. It recognizes it as a usb-storage device, but that's it.
It *appears* that the Microtech CompactFlash (DPCM) support is not enabled in the kernel, but I cannot find a kernel compile .config file to check.
It should be enabled. But you can check in /proc/config.gz
Doh! (Slaps forhead) I shoulda guessed that. Yes indeed, all the configure options needed are enabled, but it still does not work. The following dmesg output is the result of my attempt to plug in an access the device. "fdisk /dev/sdc" and "fdisk /dev/sdd" just get me error messages. What's worse, if I unplug the device and plug it back in, it locks up the system. The device works fine on a Pentium system (RedHat 7.x) with a similar vintage kernel. -- Steve Williams "The woods are lovely, dark and deep. steve at icarus.com But I have promises to keep, http://www.icarus.com and lines to code before I sleep, http://www.picturel.com And lines to code before I sleep." hub.c: USB new device connect on bus1/3, assigned device number 2 usb.c: USB device 2 (vend/prod 0x7af/0x6) is not claimed by any active driver. Initializing USB Mass Storage driver... usb.c: registered new driver usb-storage scsi: limiting sg entries to 128 scsi2 : SCSI emulation for USB Mass Storage devices Vendor: Model: Rev: Type: Direct-Access ANSI SCSI revision: 02 Vendor: Microtec Model: CameraMate (DPCM Rev: 0100 Type: Direct-Access ANSI SCSI revision: 02 sg_attach: dev3=(21:3) sd: find_free_slot ...<7>sd: ... found 08:20 Attached scsi removable disk sdc at scsi2, channel 0, id 0, lun 0 sg_attach: dev4=(21:4) sd: find_free_slot ...<7>sd: ... found 08:30 Attached scsi removable disk sdd at scsi2, channel 0, id 0, lun 1 SCSI device sdc: 62592 512-byte hdwr sectors (32 MB) sdc: test WP failed, assume Write Enabled sdc:<3>hub.c: USB device not accepting new address (error=-110) hub.c: already running port 3 disabled by hub (EMI?), re-enabling... usb.c: USB disconnect on device 2 hub.c: USB new device connect on bus1/3, assigned device number 3 usb.c: USB device not accepting new address=3 (error=-110) hub.c: USB new device connect on bus1/3, assigned device number 4 usb.c: USB device not accepting new address=4 (error=-110) usb-storage: host_reset() requested but not implemented scsi: device set offline - command error recover failed: host 2 channel 0 id 0 lun 0 SCSI disk error : host 2 channel 0 id 0 lun 0 return code = 8000002 Current sd08:20: sns = 70 0 Raw sense data:0x70 0x00 0x00 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 I/O error: dev 08:20, sector 0 I/O error: dev 08:20, sector 2 I/O error: dev 08:20, sector 0 unable to read partition table sdd : READ CAPACITY failed. sdd : status = 0, message = 00, host = 7, driver = 00 sdd : sense not available. sdd : block size assumed to be 512 bytes, disk size 1GB. sdd:SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 0 SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 2 SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 4 SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 6 SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 0 SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 2 SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 4 SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 6 unable to read partition table WARNING: USB Mass Storage data integrity not assured USB Mass Storage device found at 2 USB Mass Storage support registered. SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 0 SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 2 SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 4 SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 6 SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 0 SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 0 SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 2 SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 4 SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 6