Hi!

I'm using debian sarge and wanted to change from the 2.4.27 kernel to
the 2.6.8 kernel.

But under the 2.6.8 kernel my usb memory stick is not working. Not
only this - if I plug it out the whole system crashes!

Under 2.4.27 when I plug in the memory stick dmesg shows:

hub.c: new USB device 00:07.4-2, assigned address 2
usb.c: USB device 2 (vend/prod 0x4e8/0x111) is not claimed by any active driver.
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi1 : SCSI emulation for USB Mass Storage devices
  Vendor:           Model: USB DRIVE         Rev: 2.00
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
sda: Unit Not Ready, sense:
Current 00:00: sense key Unit Attention
Additional sense indicates Not ready to ready change,medium may have changed
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Current sd00:00: sense key Unit Attention
Additional sense indicates Not ready to ready change,medium may have changed
sda : block size assumed to be 512 bytes, disk size 1GB.
 /dev/scsi/host1/bus0/target0/lun0: I/O error: dev 08:00, sector 0
 I/O error: dev 08:00, sector 0
 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.

lsmod shows these additional modules:

usb-storage            54496   0 (unused)
sd_mod                 10732   0 (autoclean) (unused)
vfat                    8716   0 (autoclean)
fat                    27576   0 (autoclean) [vfat]

I than can mount the stick. One more module is loaded (nls_cp437) and
dmesg adds:

SCSI device sda: 256000 512-byte hdwr sectors (131 MB)
sda: Write Protect is off
 /dev/scsi/host1/bus0/target0/lun0: p1

Under kernel 2.6.8 I get plugging the memory stick in:
ohci_hcd 0000:00:07.4: wakeup
usb 1-2: new full speed USB device using address 2
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor:           Model: USB DRIVE         Rev: 2.00
  Type:   Direct-Access                      ANSI SCSI revision: 02
sda: Unit Not Ready, sense:
Current : sense key Unit Attention
Additional sense: Not ready to ready change, medium may have changed
SCSI device sda: 256000 512-byte hdwr sectors (131 MB)
sda: assuming Write Enabled
sda: assuming drive cache: write through
 /dev/scsi/host0/bus0/target0/lun0: p1
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
USB Mass Storage device found at 2
usbcore: registered new driver usb-storage
USB Mass Storage support registered.

lsmod shows just:

usb_storage            68800  1

But then trying a mount the mount command hangs and plugging the
memory stick out the whole system hangs (without any error message in
the logs).

Any help?

Thanks a lot in advance!

Andreas Gösele


-- 
Omnis enim res, quae dando non deficit, dum habetur et non datur,
nondum habetur, quomodo habenda est.
                                      Augustinus, De doctrina christiana


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to