Re: [Bugme-new] [Bug 9005] New: usb storage: plugin nokia N800 report access beyond the end of device
"Jon Smirl" <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
On 9/10/07, Andrew Morton <[email protected]> wrote: > On Mon, 10 Sep 2007 18:33:00 -0700 (PDT) [email protected] wrote: > > > http://bugzilla.kernel.org/show_bug.cgi?id=9005 > > > > Summary: usb storage: plugin nokia N800 report access beyond the > > end of device > > Product: Drivers > > Version: 2.5 > > KernelVersion: 2.6.23-rc4-mm1 > > Platform: All > > OS/Version: Linux > > Tree: -mm > > Status: NEW > > Severity: normal > > Priority: P1 > > Component: USB > > AssignedTo: [email protected] > > ReportedBy: [email protected] > > > > > > Most recent kernel where this bug did not occur: Dont know > > Distribution:Slackware > > Hardware Environment:Dell desktop (x86) > > Software Environment: > > Problem Description: When I plugin the nokia N800, kernel reports some error > > messages : > > > > Sep 10 17:17:22 darkstar kernel: usb 1-2: new high speed USB device using > > ehci_hcd and address 5 > > Sep 10 17:17:22 darkstar kernel: usb 1-2: configuration #1 chosen from 1 choice > > Sep 10 17:17:22 darkstar kernel: scsi2 : SCSI emulation for USB Mass Storage > > devices > > Sep 10 17:17:27 darkstar kernel: scsi 2:0:0:0: Direct-Access Nokia N800 > > 0316 > > PQ: 0 ANSI: 2 > > Sep 10 17:17:27 darkstar kernel: sd 2:0:0:0: [sdb] 246016 512-byte hardware > > sectors (126 MB) > > Sep 10 17:17:27 darkstar kernel: sd 2:0:0:0: [sdb] Write Protect is off > > Sep 10 17:17:27 darkstar kernel: sd 2:0:0:0: [sdb] 246016 512-byte hardware > > sectors (126 MB) > > Sep 10 17:17:27 darkstar kernel: sd 2:0:0:0: [sdb] Write Protect is off > > Sep 10 17:17:27 darkstar kernel: sdb:<7>usb-storage: queuecommand called > > Sep 10 17:17:27 darkstar kernel: sd 2:0:0:0: [sdb] Attached SCSI removable disk > > Sep 10 17:17:27 darkstar kernel: sd 2:0:0:0: Attached scsi generic sg1 type 0 > > Sep 10 17:17:27 darkstar kernel: attempt to access beyond end of device > > Sep 10 17:17:27 darkstar kernel: sdb: rw=0, want=250722, limit=246016 > > Sep 10 17:17:27 darkstar kernel: attempt to access beyond end of device > > Sep 10 17:17:27 darkstar kernel: sdb: rw=0, want=250723, limit=246016 > > Sep 10 17:17:27 darkstar kernel: attempt to access beyond end of device > > Sep 10 17:17:27 darkstar kernel: sdb: rw=0, want=250724, limit=246016 > > Sep 10 17:17:27 darkstar kernel: attempt to access beyond end of device > > Sep 10 17:17:27 darkstar kernel: sdb: rw=0, want=250725, limit=246016 > > Sep 10 17:17:27 darkstar kernel: attempt to access beyond end of device > > Sep 10 17:17:27 darkstar kernel: sdb: rw=0, want=250726, limit=246016 > > Sep 10 17:17:27 darkstar kernel: attempt to access beyond end of device > > Sep 10 17:17:27 darkstar kernel: sdb: rw=0, want=250727, limit=246016 > > Sep 10 17:17:27 darkstar kernel: attempt to access beyond end of device > > Sep 10 17:17:27 darkstar kernel: sdb: rw=0, want=250728, limit=246016 > > ... > > > > Steps to reproduce: > > Just plug the device into host usb port. > > I'm running current Linus on my host and IT OS Software Edition 2007 (version 4.2007.26-8) on my N800. I don't see this problem. 2GB card usb 2-4: configuration #1 chosen from 1 choice scsi10 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 17 usb-storage: waiting for device to settle before scanning scsi 10:0:0:0: Direct-Access Nokia N800 0316 PQ: 0 ANSI: 2 sd 10:0:0:0: [sdd] 4022272 512-byte hardware sectors (2059 MB) sd 10:0:0:0: [sdd] Write Protect is off sd 10:0:0:0: [sdd] Mode Sense: 0f 00 00 00 sd 10:0:0:0: [sdd] Assuming drive cache: write through sd 10:0:0:0: [sdd] 4022272 512-byte hardware sectors (2059 MB) sd 10:0:0:0: [sdd] Write Protect is off sd 10:0:0:0: [sdd] Mode Sense: 0f 00 00 00 sd 10:0:0:0: [sdd] Assuming drive cache: write through sdd: sdd1 sd 10:0:0:0: [sdd] Attached SCSI removable disk sd 10:0:0:0: Attached scsi generic sg4 type 0 usb-storage: device scan complete usb 2-4: USB disconnect, address 17 512KB usb 2-3: new high speed USB device using ehci_hcd and address 19 usb 2-3: configuration #1 chosen from 1 choice scsi12 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 19 usb-storage: waiting for device to settle before scanning scsi 12:0:0:0: Direct-Access Nokia N800 0316 PQ: 0 ANSI: 2 sd 12:0:0:0: [sdd] 246016 512-byte hardware sectors (126 MB) sd 12:0:0:0: [sdd] Write Protect is off sd 12:0:0:0: [sdd] Mode Sense: 0f 00 00 00 sd 12:0:0:0: [sdd] Assuming drive cache: write through sd 12:0:0:0: [sdd] 246016 512-byte hardware sectors (126 MB) sd 12:0:0:0: [sdd] Write Protect is off sd 12:0:0:0: [sdd] Mode Sense: 0f 00 00 00 sd 12:0:0:0: [sdd] Assuming drive cache: write through sdd: sdd1 sd 12:0:0:0: [sdd] Attached SCSI removable disk sd 12:0:0:0: Attached scsi generic sg4 type 0 usb-storage: device scan complete jonsmirl@terra:/proc/bus/usb$ -- Jon Smirl [email protected] ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel