Re: USB storage warning in 2.6.29-rc2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 23 Jan 2009, Dirk Hohndel wrote:

> This is on an EeePC 1000 running 2.6.29-rc2
> 
> I insert a "Staples Relay 4GB" USB stick and get the following
> 
> Jan 23 04:06:27 eeepc kernel: [  710.830069] usb 1-4: new high speed USB device using ehci_hcd and address 4
> Jan 23 04:06:28 eeepc kernel: [  710.945419] usb 1-4: New USB device found, idVendor=0781, idProduct=540a
> Jan 23 04:06:28 eeepc kernel: [  710.945511] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> Jan 23 04:06:28 eeepc kernel: [  710.945597] usb 1-4: Product: Relay UFD
> Jan 23 04:06:28 eeepc kernel: [  710.945670] usb 1-4: Manufacturer:                         
> Jan 23 04:06:28 eeepc kernel: [  710.945749] usb 1-4: SerialNumber: 0000183D8773293A
> Jan 23 04:06:28 eeepc kernel: [  710.946451] usb 1-4: configuration #1 chosen from 1 choice
> Jan 23 04:06:28 eeepc kernel: [  710.980957] scsi2 : SCSI emulation for USB Mass Storage devices
> Jan 23 04:06:33 eeepc kernel: [  715.983804] scsi 2:0:0:0: Direct-Access              Relay UFD        2.20 PQ: 0 ANSI: 2
> Jan 23 04:06:33 eeepc kernel: [  715.985195] sd 2:0:0:0: Attached scsi generic sg2 type 0
> Jan 23 04:06:33 eeepc kernel: [  715.987164] sd 2:0:0:0: [sdc] 8015505 512-byte hardware sectors: (4.10 GB/3.82 GiB)
> Jan 23 04:06:33 eeepc kernel: [  715.988426] sd 2:0:0:0: [sdc] Write Protect is off
> Jan 23 04:06:33 eeepc kernel: [  715.988541] sd 2:0:0:0: [sdc] Assuming drive cache: write through
> Jan 23 04:06:33 eeepc kernel: [  715.993432] sd 2:0:0:0: [sdc] 8015505 512-byte hardware sectors: (4.10 GB/3.82 GiB)
> Jan 23 04:06:33 eeepc kernel: [  715.994155] sd 2:0:0:0: [sdc] Write Protect is off
> Jan 23 04:06:33 eeepc kernel: [  715.994266] sd 2:0:0:0: [sdc] Assuming drive cache: write through
> Jan 23 04:06:33 eeepc kernel: [  715.994367]  sdc: sdc1
> Jan 23 04:06:33 eeepc kernel: [  715.999135] sd 2:0:0:0: [sdc] Attached SCSI removable disk
> Jan 23 04:06:33 eeepc kernel: [  716.111875] ------------[ cut here ]------------
> Jan 23 04:06:33 eeepc kernel: [  716.111964] WARNING: at /home/hohndel/linux/drivers/usb/storage/transport.c:584 last_sector_hacks+0xe3/0x136()
> Jan 23 04:06:33 eeepc kernel: [  716.112137] Hardware name: 1000
> Jan 23 04:06:33 eeepc kernel: [  716.112222] sdc: Successful last sector success at 8015504, device 0781:540a:0010

You don't have to worry about this; it isn't an error.  In fact, the 
warning is going to be removed in a few weeks, well before 2.6.29 is 
released.

The message indicates that your device has an odd number of sectors,
which is rather unusual for a flash drive.  I wanted to find out how
many kinds of mass-storage devices really do have an odd number of
sectors, and it was suggested that a WARN would permit kerneloops.org
to gather some statistics.  But later on it turned out that we don't
need the information after all, so there's no reason to keep that
warning in the code.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux