LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* wrong cylinders of kingston usb pendrive [intel 82801DB]
@ 2008-02-04 0:50 Patrick Ringl
2008-02-04 1:59 ` Greg KH
2008-02-09 22:12 ` Alan Stern
0 siblings, 2 replies; 5+ messages in thread
From: Patrick Ringl @ 2008-02-04 0:50 UTC (permalink / raw)
To: linux-kernel; +Cc: linux-usb, linux-storage
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: wrong cylinders of kingston usb pendrive [intel 82801DB]
2008-02-04 0:50 wrong cylinders of kingston usb pendrive [intel 82801DB] Patrick Ringl
@ 2008-02-04 1:59 ` Greg KH
2008-02-04 8:15 ` Matthew Dharm
2008-02-09 22:12 ` Alan Stern
1 sibling, 1 reply; 5+ messages in thread
From: Greg KH @ 2008-02-04 1:59 UTC (permalink / raw)
To: Patrick Ringl; +Cc: linux-kernel, linux-usb, linux-storage
On Mon, Feb 04, 2008 at 01:50:37AM +0100, Patrick Ringl wrote:
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: wrong cylinders of kingston usb pendrive [intel 82801DB]
2008-02-04 1:59 ` Greg KH
@ 2008-02-04 8:15 ` Matthew Dharm
2008-02-09 21:56 ` Jan Engelhardt
0 siblings, 1 reply; 5+ messages in thread
From: Matthew Dharm @ 2008-02-04 8:15 UTC (permalink / raw)
To: Greg KH; +Cc: Patrick Ringl, linux-kernel, linux-usb, linux-storage
[-- Attachment #1: Type: text/plain, Size: 875 bytes --]
On Sun, Feb 03, 2008 at 05:59:38PM -0800, Greg KH wrote:
> On Mon, Feb 04, 2008 at 01:50:37AM +0100, Patrick Ringl wrote:
> > 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
--
Matthew Dharm Home: mdharm-usb@one-eyed-alien.net
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
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: wrong cylinders of kingston usb pendrive [intel 82801DB]
2008-02-04 8:15 ` Matthew Dharm
@ 2008-02-09 21:56 ` Jan Engelhardt
0 siblings, 0 replies; 5+ messages in thread
From: Jan Engelhardt @ 2008-02-09 21:56 UTC (permalink / raw)
To: Matthew Dharm
Cc: Greg KH, Patrick Ringl, linux-kernel, linux-usb, linux-storage
On Feb 4 2008 00:15, Matthew Dharm wrote:
>> On Mon, Feb 04, 2008 at 01:50:37AM +0100, Patrick Ringl wrote:
>> > 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?
Something like `hdparm -I` I suppose.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: wrong cylinders of kingston usb pendrive [intel 82801DB]
2008-02-04 0:50 wrong cylinders of kingston usb pendrive [intel 82801DB] Patrick Ringl
2008-02-04 1:59 ` Greg KH
@ 2008-02-09 22:12 ` Alan Stern
1 sibling, 0 replies; 5+ messages in thread
From: Alan Stern @ 2008-02-09 22:12 UTC (permalink / raw)
To: Patrick Ringl; +Cc: linux-kernel, linux-usb, linux-storage
On Mon, 4 Feb 2008, Patrick Ringl wrote:
> 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.
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-02-09 22:12 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-04 0:50 wrong cylinders of kingston usb pendrive [intel 82801DB] Patrick Ringl
2008-02-04 1:59 ` Greg KH
2008-02-04 8:15 ` Matthew Dharm
2008-02-09 21:56 ` Jan Engelhardt
2008-02-09 22:12 ` Alan Stern
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).