Re: wrong cylinders of kingston usb pendrive [intel 82801DB]

2008-02-09 Thread Alan Stern
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: wrong cylinders of kingston usb pendrive [intel 82801DB]

2008-02-09 Thread Jan Engelhardt

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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: wrong cylinders of kingston usb pendrive [intel 82801DB]

2008-02-09 Thread Jan Engelhardt

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.

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: wrong cylinders of kingston usb pendrive [intel 82801DB]

2008-02-09 Thread Alan Stern
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

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: wrong cylinders of kingston usb pendrive [intel 82801DB]

2008-02-04 Thread Matthew Dharm
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: [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


pgp0cO5f1PG26.pgp
Description: PGP signature


Re: wrong cylinders of kingston usb pendrive [intel 82801DB]

2008-02-04 Thread Matthew Dharm
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: [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


pgp0cO5f1PG26.pgp
Description: PGP signature


Re: wrong cylinders of kingston usb pendrive [intel 82801DB]

2008-02-03 Thread Greg KH
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


wrong cylinders of kingston usb pendrive [intel 82801DB]

2008-02-03 Thread 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.


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


wrong cylinders of kingston usb pendrive [intel 82801DB]

2008-02-03 Thread 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.


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

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: wrong cylinders of kingston usb pendrive [intel 82801DB]

2008-02-03 Thread Greg KH
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
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/