Jeff Abrahamson on 9 Nov 2005 19:23:37 -0000


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

Re: [PLUG] USB memory stick


On Wed, Nov 09, 2005 at 12:31:47PM -0600, Greg Lopp wrote:
> >  Nov  8 10:34:13 astra kernel: sdc: Write Protect is off
> >  Nov  8 10:34:13 astra kernel: sdc: Mode Sense: 0b 00 00 08
> >  Nov  8 10:34:13 astra kernel: sdc: assuming drive cache: write through
> >  Nov  8 10:34:13 astra kernel: SCSI device sdc: 503808 512-byte hdwr sectors (258 MB)
> >  Nov  8 10:34:13 astra kernel: sdc: Write Protect is off
> >  Nov  8 10:34:13 astra kernel: sdc: Mode Sense: 0b 00 00 08
> >  Nov  8 10:34:13 astra kernel: sdc: assuming drive cache: write through
> >  
> >
> Hmmm.  A little odd to be repeating that.......

I have hotplug installed, magical things happen.  But it mostly seems
to do the right thing.


> >  Nov  8 10:34:13 astra kernel: usb-storage: device scan complete
> >  Nov  8 10:34:13 astra scsi.agent[25369]:      sd_mod: loaded successfully (for disk)
> >  
> >
> ???

Hotplug thought it was important?


> >  Nov  8 10:34:14 astra kernel: Buffer I/O error on device sdc1, logical block 508378384
> >  Nov  8 10:34:14 astra kernel: Buffer I/O error on device sdc1, logical block 508378384
> >  Nov  8 10:34:14 astra kernel: Buffer I/O error on device sdc1, logical block 508378412
> >  Nov  8 10:34:14 astra last message repeated 5 times
> >  Nov  8 10:34:14 astra kernel: Buffer I/O error on device sdc1, logical block 508378405
> >  Nov  8 10:34:14 astra kernel: Buffer I/O error on device sdc1, logical block 508378405
> >  
> >
> 50,837,884 > 503,808
> A mass storage device appears as a linear array of sectors to the 
> kernel...er fs, whichever.  The deviec informed us earlier that it has 
> only 503808 of these sectors.  Why on earth would the kernel be trying 
> to look at logical sector 50,837,884?  Could there be a funky partition 
> table on the device?  Can you read the partition table using "fdisk 
> /dev/sdc" ? 

Thanks.  I'll try that next time I have access to the device.

Thanks also to tak for useful suggestions.

-- 
 Jeff

 Jeff Abrahamson  <http://www.purple.com/jeff/>    +1 215/837-2287
 GPG fingerprint: 1A1A BA95 D082 A558 A276  63C6 16BF 8C4C 0D1D AE4B

Attachment: signature.asc
Description: Digital signature

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug