Skip to contentSkip to conversation

wrong cylinders of kingston usb pendrive [intel 82801DB]

DISCUSSION Patrick Ringl 5 participants 5 messages Feb 4, 2008 – Feb 9, 2008

lore
Share & tools
lore
#0 lore raw

Hello,

I am suffering from the following (usb-related?) problem:

I have several different mashines - all x86 architecture - just lets call them mashineA, mashineB and mashineC.
Anyway, mashineA has a severe problem with a Kingston-USB-pendrive(2gig). I simply cant install anything on it - the kernel usually moans with problems like "attempt to access beyond end of device" - while it does work fine with several noname usb-pendrives of the same size. Now, I just tested that kingston pendrive on mashineB and mashineC - where it runs fine .. I can install debian to it (same installation media) without any problem or kernel errors.

I compared the output of dmesg and fdisk from mashineA and mashineB and C .. and the difference is simple: mashineA always shows 248 cylinders - while all the other mashines show 228 cylinders.

So I guess this is the problem and especially the reason why using it on mashineA always fails.

mashineA has the following usb chipset:

vendor = 'Intel Corporation'
device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB 2.0 EHCI Controller'

Hopefully you have any suggestions.

PS: I am not subscribed so please CC to me.

regards,
Patrick

#1 lore raw
Quoted 6 lines · Patrick Ringl

Hello,

I am suffering from the following (usb-related?) problem:

I have several different mashines - all x86 architecture - just lets call them mashineA, mashineB and mashineC.

Is the kernel the same on all of these machines?

thanks,

greg k-h

#2 lore raw
Quoted 9 lines · Greg KH
Quoted 6 lines · Patrick Ringl

Hello,

I am suffering from the following (usb-related?) problem:

I have several different mashines - all x86 architecture - just lets call them mashineA, mashineB and mashineC.

Is the kernel the same on all of these machines?

I'm not sure it matters...

usb-storage has no knowledge of CHS geometery. It deals entirely in LBA.

Does anyone know where the kernel gets the CHS geometery equivalent from?

Matt

Signature · 7 lines
Matthew Dharm                              Home: [email protected] 
Maintainer, Linux USB Mass Storage Driver

E:  You run this ship with Windows?!  YOU IDIOT!
L:  Give me a break, it came bundled with the computer!
					-- ESR and Lan Solaris
User Friendly, 12/8/1998
#3 lore raw
Quoted 8 lines · Matthew Dharm
Quoted 8 lines · Patrick Ringl
Quoted 6 lines

Hello,

I am suffering from the following (usb-related?) problem:

I have several different mashines - all x86 architecture - just lets call them mashineA, mashineB and mashineC.

Quoted 7 lines
Quoted 1 line

Is the kernel the same on all of these machines?

I'm not sure it matters...

usb-storage has no knowledge of CHS geometery. It deals entirely in LBA.

Does anyone know where the kernel gets the CHS geometery equivalent from?

Something like hdparm -I I suppose.

#4 lore raw
In reply to Patrick Ringl
Quoted 15 lines · Patrick Ringl

Hello,

I am suffering from the following (usb-related?) problem:

I have several different mashines - all x86 architecture - just lets call them mashineA, mashineB and mashineC.
Anyway, mashineA has a severe problem with a Kingston-USB-pendrive(2gig). I simply cant install anything on it - the kernel usually moans with problems like "attempt to access beyond end of device" - while it does work fine with several noname usb-pendrives of the same size.
Now, I just tested that kingston pendrive on mashineB and mashineC - where it runs fine .. I can install debian to it (same installation media) without any problem or kernel errors.

Quoted 3 lines

I compared the output of dmesg and fdisk from mashineA and mashineB and C .. and the difference is simple: mashineA always shows 248 cylinders - while all the other mashines show 228 cylinders.

The number of cylinders is meaningless. What matters is the number of sectors. What does "fdisk -l /dev/sdX" (substitute the appropriate letter for X) display for the pendrive on each of the machines?

What messages show up in the dmesg log when you plug in the pendrive?

What version of the Linux kernel are you using?

Alan Stern