public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* RE: 2.2.18 and Maxtor 96147H6 (61 GB)
@ 2001-01-04 21:30 Torrey Hoffman
  2001-01-04 23:25 ` Igmar Palsenberg
  0 siblings, 1 reply; 27+ messages in thread
From: Torrey Hoffman @ 2001-01-04 21:30 UTC (permalink / raw)
  To: 'Igmar Palsenberg'; +Cc: Sven Koch, Kernel devel list

I had exactly this problem with the Maxtor 61 GB drive on my 
Pentium based server.  Theoretically a BIOS upgrade could fix it,
but ASUS quit making BIOS upgrades for my motherboard two years
ago.

I solved the problem by getting a Promise Ultra 100 controller
and putting the drive on that. Works perfectly under Linux 
Mandrake 2.2.17-mdk-21 - it shows up as /dev/hde.  They are
cheap controllers if you don't get the RAID version.

Best wishes.

Torrey Hoffman


> From: Igmar Palsenberg [mailto:maillist@chello.nl]
> Sent: Thursday, January 04, 2001 1:43 PM
> Yeah.. I removed the clipping, and the machine won't boot. It halts after
> PnP init. Any way to use full capacity with the clipping enabled ?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 27+ messages in thread
* Re: 2.2.18 and Maxtor 96147H6 (61 GB)
@ 2001-01-09 23:43 Andries.Brouwer
  2001-01-10 13:55 ` Igmar Palsenberg
  0 siblings, 1 reply; 27+ messages in thread
From: Andries.Brouwer @ 2001-01-09 23:43 UTC (permalink / raw)
  To: Andries.Brouwer, maillist; +Cc: linux-kernel

    From: Igmar Palsenberg <maillist@chello.nl>

    > > 2.2.18 sometimes sees 61 GB, sometimes 32 GB.
    > > I don't call that hard to understand.
    > 
    > The same kernel has varying behaviour?
    > Maybe not hard to understand, but rather surprising.
    > You are the first to report nondeterministic behaviour.

    You're not the only one that is suprised :

    1) Put disk in my machine (target machine hangs itself with the disk)
    2) use setmax to set the limit to 32 GB
    3) Put the disk in the target machine
    4) System boots, linux sees 64GB
    5) rebooted system, system hangs due to the soft clippig 'vanished'

    I even had occurences of the kernel setmax message showing up, and after a
    plain reboot it didn't.

    It beats me.. I can't explain, and the machine is rock solid now.

Probably you confused the proper way to use ibmsetmax with
the proper way to use setmax. For setmax, and a Maxtor disk,
you do not use a different machine, put the jumper to clip,
now the boot succeeds, and you let Linux unclip.
Either with a patched kernel that knows about these things
or with a utility run from a boot script.
(It is most convenient to have a partition boundary where
the jumper clips, so that with old kernels and without running
the utility you also have a valid filesystem.)

Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 27+ messages in thread
* Re: 2.2.18 and Maxtor 96147H6 (61 GB)
@ 2001-01-08 15:56 Andries.Brouwer
  2001-01-10  0:09 ` Igmar Palsenberg
  0 siblings, 1 reply; 27+ messages in thread
From: Andries.Brouwer @ 2001-01-08 15:56 UTC (permalink / raw)
  To: Andries.Brouwer, maillist; +Cc: linux-kernel

> 2.2.18 sometimes sees 61 GB, sometimes 32 GB.
> I don't call that hard to understand.

The same kernel has varying behaviour?
Maybe not hard to understand, but rather surprising.
You are the first to report nondeterministic behaviour.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 27+ messages in thread
* Re: 2.2.18 and Maxtor 96147H6 (61 GB)
@ 2001-01-06 16:45 Andries.Brouwer
  2001-01-08 16:04 ` Igmar Palsenberg
  0 siblings, 1 reply; 27+ messages in thread
From: Andries.Brouwer @ 2001-01-06 16:45 UTC (permalink / raw)
  To: maillist, matthias.andree; +Cc: linux-kernel

> It's not that simple.. The maxtor comes clipped,. but Linux can't kill the
> clip. So it sticks with 32 MB

> ibmsetmax.c does a software clip, but that bugs a bit. Sometimes even
> Linux doesn't see 61 GB, but only 32, sometimes the full capacity.

Please don't talk vague useless garbage.
There is no entity called "Linux". If you mean "the 2.4.0 kernel
boot messages report 61 GB, fdisk 2.9s sees 32 GB, fdisk 2.10r sees 61 GB"
then say so. If you mean something else, say what you mean.
Precisely, with versions and everything.

Since you have a Maxtor, my old setmax should suffice for you, it can kill
the clip, and there is no reason to use ibmsetmax.c, that is a version for
IBM disks. There should not be any need to use other machines.

If something changed for recent Maxtor disks, we would like to know,
but only reliable, detailed reports are of any use.

Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 27+ messages in thread
* Re: 2.2.18 and Maxtor 96147H6 (61 GB)
@ 2001-01-05 15:16 Andries.Brouwer
  0 siblings, 0 replies; 27+ messages in thread
From: Andries.Brouwer @ 2001-01-05 15:16 UTC (permalink / raw)
  To: Andries.Brouwer, maillist; +Cc: haegar, linux-kernel

> I need to look at fdisk, because it is doing things wrong.

I don't think so, unless you have a really old version.

> Linux sees the correct size, but fdisk still sees 32 GB.
> Probably a recompile / upgrade.

Yes, upgrade in case your version is older than 2.10i.

Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 27+ messages in thread
* Re: 2.2.18 and Maxtor 96147H6 (61 GB)
@ 2001-01-04 23:07 Andries.Brouwer
  2001-01-05 13:40 ` Igmar Palsenberg
  0 siblings, 1 reply; 27+ messages in thread
From: Andries.Brouwer @ 2001-01-04 23:07 UTC (permalink / raw)
  To: haegar, maillist; +Cc: linux-kernel

> On Thu, 4 Jan 2001, Igmar Palsenberg wrote:
>
>> kernel 2.2.18 hates my Maxtor drive :
>> hda: Maxtor 96147H6, 32253MB w/2048kB Cache, CHS=65531/16/63, (U)DMA
>>
>> Actual (correct) parameters : CHS=119112/16/63

No. 2.2.* handles large drives since 2.2.14.
This looks more like you used the jumper to clip the drive to 32GB.
Don't use it and get full capacity.
If your BIOS hangs when it sees such a large drive so that you
cannot avoid using the jumper, use setmax in your boot scripts,
or use a kernel patch that does the same at kernel boot time.

>> Looks like some short int (2 bytes) overflowing. I'll try the ide patches.

The overflow is in certain BIOSes, not in Linux.
(You see in the above: 65531 is not an overflow value.)


Sven Koch replied:

> I had to recompile fdisk as my old suse 6.4 version got the same
> 2byte-wraparound problem.

In the good old days the HDIO_GETGEOM ioctl would give you the disk
geometry. It has a short for cylinders and hence overflows when C
gets above 65535. Since geometry is on its way out - indeed, there has
not been any such thing for many, many years - it would have been
nonsense to introduce new ioctls that report meaningless 32-bit numbers
instead of the present meaningless 16-bit number.
So, instead, the "cylinder" field in the output of this ioctl has been
declared obsolete, and is not used anymore. Programs that want to print
some value, just because they always did and users expect something,
now use BLKGETSIZE to get total size and divide by heads*sectors
to get a cylinder value.
(But again: this cylinder value is not used anywhere, the computed value
is just for the user's eyes.)

Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 27+ messages in thread
* 2.2.18 and Maxtor 96147H6 (61 GB)
@ 2001-01-04 20:26 Igmar Palsenberg
  2001-01-04 19:52 ` Sven Koch
  0 siblings, 1 reply; 27+ messages in thread
From: Igmar Palsenberg @ 2001-01-04 20:26 UTC (permalink / raw)
  To: Kernel devel list


Hi,

kernel 2.2.18 hates my Maxtor drive :

ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: Maxtor 96147H6, 32253MB w/2048kB Cache, CHS=65531/16/63, (U)DMA

Actual (correct) parameters : CHS=119112/16/63

Looks like some short int (2 bytes) overflowing. I'll try the ide patches.



	Regards,

		
		Igmar

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

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2001-01-10 12:49 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-04 21:30 2.2.18 and Maxtor 96147H6 (61 GB) Torrey Hoffman
2001-01-04 23:25 ` Igmar Palsenberg
2001-01-05 23:23   ` Tim Wright
2001-01-06  2:09     ` Igmar Palsenberg
2001-01-06  1:09       ` Brad Hartin
  -- strict thread matches above, loose matches on Subject: below --
2001-01-09 23:43 Andries.Brouwer
2001-01-10 13:55 ` Igmar Palsenberg
2001-01-08 15:56 Andries.Brouwer
2001-01-10  0:09 ` Igmar Palsenberg
2001-01-06 16:45 Andries.Brouwer
2001-01-08 16:04 ` Igmar Palsenberg
2001-01-05 15:16 Andries.Brouwer
2001-01-04 23:07 Andries.Brouwer
2001-01-05 13:40 ` Igmar Palsenberg
2001-01-04 20:26 Igmar Palsenberg
2001-01-04 19:52 ` Sven Koch
2001-01-04 20:05   ` Andre Hedrick
2001-01-04 21:32     ` Igmar Palsenberg
2001-01-04 20:41       ` Sven Koch
2001-01-04 22:06         ` Igmar Palsenberg
2001-01-06 11:42           ` Matthias Andree
2001-01-06 11:42       ` Matthias Andree
2001-01-06 16:02         ` Igmar Palsenberg
2001-01-04 21:35     ` Igmar Palsenberg
2001-01-04 21:42     ` Igmar Palsenberg
2001-01-04 22:33       ` Eric Lammerts
2001-01-07 22:01         ` Tommi Virtanen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox