what kernel for IDE 40GB drive ?

what kernel for IDE 40GB drive ?

Post by J-P Guillemen » Sun, 30 Dec 2001 21:14:50



I encounter difficulty while installing an IBM 40GB IDE drive
as a second disk on an old ReadHat5.2, kernel-2.2.13, linux system.
I am not concerned by lilo boot, the system staying on the
initial disk.

I have seen several things, Large-Disk-HOWTO, questions on
news-groups, IBM web site ... but it is a bit confusing
for me and I get no conclusion.

I tried two things: mounting with and without clipping the disk.
------------------------------------------------------------------
1- Before clipping the disk with jumpers, dmesg said:
hdc: IC35L040AVER07-0, ATA DISK drive
hdc: IC35L040AVER07-0, 39266MB w/1916kB Cache, CHS=14244/16/63, UDMA

But
/sbin/fdisk /dev/hdc gives : (fdsisk v2.8)
The number of cylinders for this disk is set to 14244.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/hdc: 16 heads, 63 sectors, 14244 cylinders
Units = cylinders of 1008 * 512 bytes
   Device Boot    Start      End   Blocks   Id  System
/dev/hdc1             1    14244  7178944+  83  Linux native

and after mke2fs /dev/hdc1 and mounting
df returns only 6.9 GB as 14244*1008*512 = 6.9 GB :
/dev/hdc1            6927244      14  6568283      0%   /supus

My question: What is responsible of this ? kernel or fdisk ?
what kernel to have for working ?

--------------------------------------------------------------------
2- After clipping the disk to 32 GB, dmesg says
hdc: IC35L040AVER07-0, ATA DISK drive
hdc: IC35L040AVER07-0, 32253MB w/1916kB Cache, CHS=65531/16/63, UDMA

fdisk and mke2fs work correctly and df shows all the 32 Gb as
/dev/hdc1            31475271   58079  29765813      0%   /supus

But I have lost 8 Gb !

What to do please, except upgrade my Redhat to 7.2 ?

I have read that kernel-2.2.14 is better, but the
Documentation/ide.txt of the two releases are the same about
"How To Use *Big* ATA/IDE drives with Linux"

Any help ?

Thanks in advance.

Jean-Pol Guillement

 
 
 

what kernel for IDE 40GB drive ?

Post by D. Stuss » Mon, 31 Dec 2001 11:50:52



>I encounter difficulty while installing an IBM 40GB IDE drive
>as a second disk on an old ReadHat5.2, kernel-2.2.13, linux system.
>I am not concerned by lilo boot, the system staying on the
>initial disk.

>I have seen several things, Large-Disk-HOWTO, questions on
>news-groups, IBM web site ... but it is a bit confusing
>for me and I get no conclusion.

>I tried two things: mounting with and without clipping the disk.
>------------------------------------------------------------------
>1- Before clipping the disk with jumpers, dmesg said:
>hdc: IC35L040AVER07-0, ATA DISK drive
>hdc: IC35L040AVER07-0, 39266MB w/1916kB Cache, CHS=14244/16/63, UDMA

>But
>/sbin/fdisk /dev/hdc gives : (fdsisk v2.8)
>The number of cylinders for this disk is set to 14244.
>This is larger than 1024, and may cause problems with:
>1) software that runs at boot time (e.g., LILO)
>2) booting and partitioning software from other OSs
>   (e.g., DOS FDISK, OS/2 FDISK)
>Command (m for help): p
>Disk /dev/hdc: 16 heads, 63 sectors, 14244 cylinders
>Units = cylinders of 1008 * 512 bytes
>   Device Boot    Start      End   Blocks   Id  System
>/dev/hdc1             1    14244  7178944+  83  Linux native

>and after mke2fs /dev/hdc1 and mounting
>df returns only 6.9 GB as 14244*1008*512 = 6.9 GB :
>/dev/hdc1            6927244      14  6568283      0%   /supus

>My question: What is responsible of this ? kernel or fdisk ?
>what kernel to have for working ?

Your fdisk is outdated.  2.10 is the first version that supports > 32G drives.
2.8 won't cut it, nor will 2.9.   Upgrade your "util-linux" package.

Quote:>--------------------------------------------------------------------
>2- After clipping the disk to 32 GB, dmesg says
>hdc: IC35L040AVER07-0, ATA DISK drive
>hdc: IC35L040AVER07-0, 32253MB w/1916kB Cache, CHS=65531/16/63, UDMA

>fdisk and mke2fs work correctly and df shows all the 32 Gb as
>/dev/hdc1            31475271   58079  29765813      0%   /supus

>But I have lost 8 Gb !

>What to do please, except upgrade my Redhat to 7.2 ?

>I have read that kernel-2.2.14 is better, but the
>Documentation/ide.txt of the two releases are the same about
>"How To Use *Big* ATA/IDE drives with Linux"

I don't know if a kernel upgrade to the 2.4 series is needed ALSO, but it might
be....

 
 
 

what kernel for IDE 40GB drive ?

Post by Mike Sampso » Mon, 31 Dec 2001 22:36:56


Check the BIOS notes from your mother board to see if you have the
latest and if it supports that size.  I have had 2 linux boxes that
needed a bios flash.  One was an Acer that was stopping at 32gb and the
other was a Microstar that was stopping at  36gb.  This was a problem
even in windows.  If you can disable your current drive and place the
40gb in by itself try booting a win98 boot disk and see if Windows will
fdisk the full 40gb.  This will eliminate the Linux kernel and check the
BIOS.


>>I encounter difficulty while installing an IBM 40GB IDE drive
>>as a second disk on an old ReadHat5.2, kernel-2.2.13, linux system.
>>I am not concerned by lilo boot, the system staying on the
>>initial disk.

 
 
 

what kernel for IDE 40GB drive ?

Post by D. Stuss » Tue, 01 Jan 2002 06:56:59



>Check the BIOS notes from your mother board to see if you have the
>latest and if it supports that size.  I have had 2 linux boxes that
>needed a bios flash.  One was an Acer that was stopping at 32gb and the
>other was a Microstar that was stopping at  36gb.  This was a problem
>even in windows.  If you can disable your current drive and place the
>40gb in by itself try booting a win98 boot disk and see if Windows will
>fdisk the full 40gb.  This will eliminate the Linux kernel and check the
>BIOS.

The BIOS isn't a problem as long as the bootable partition is wholly within the
first 32GB (or for some really old systems, the first 1024 cylinders).  I was
able to boot a 60GB drive on a machine that only recognizes up to 32GB via the
BIOS (with the above constraints).

But as I said (which you did not quote), his version of Linux fdisk is pre-32GB.



>>>I encounter difficulty while installing an IBM 40GB IDE drive
>>>as a second disk on an old ReadHat5.2, kernel-2.2.13, linux system.
>>>I am not concerned by lilo boot, the system staying on the
>>>initial disk.

 
 
 

what kernel for IDE 40GB drive ?

Post by Mike Sampso » Tue, 01 Jan 2002 08:40:05




>>Check the BIOS notes from your mother board to see if you have the
>>latest and if it supports that size.  I have had 2 linux boxes that
>>needed a bios flash.  One was an Acer that was stopping at 32gb and the
>>other was a Microstar that was stopping at  36gb.  This was a problem
>>even in windows.  If you can disable your current drive and place the
>>40gb in by itself try booting a win98 boot disk and see if Windows will
>>fdisk the full 40gb.  This will eliminate the Linux kernel and check the
>>BIOS.

> The BIOS isn't a problem as long as the bootable partition is wholly within the
> first 32GB (or for some really old systems, the first 1024 cylinders).  I was
> able to boot a 60GB drive on a machine that only recognizes up to 32GB via the
> BIOS (with the above constraints).

> But as I said (which you did not quote), his version of Linux fdisk is pre-32GB.

I sit corrected.  Noted.
 
 
 

what kernel for IDE 40GB drive ?

Post by Thord Nilso » Tue, 01 Jan 2002 11:16:14



> I encounter difficulty while installing an IBM 40GB IDE drive
> as a second disk on an old ReadHat5.2, kernel-2.2.13, linux system.
> I am not concerned by lilo boot, the system staying on the
> initial disk.

 <snip>

> I have read that kernel-2.2.14 is better, but the
> Documentation/ide.txt of the two releases are the same about
> "How To Use *Big* ATA/IDE drives with Linux"

> Any help ?

> Thanks in advance.

> Jean-Pol Guillement

I know altleast kernel 2.2.16 will handle the large disks. (so why
not take 2.2.20 that is the latest 2.2.x) Since it is the
second disk you can set it to "not installed " (in the bios) if the bios
does not like it. This means the bios normally will set a slow (safe)
PIO mode so you may have to set manually to get full speed out of the
drive.

/Thord.

 
 
 

what kernel for IDE 40GB drive ?

Post by J-P Guillemen » Tue, 01 Jan 2002 19:00:35



> I know altleast kernel 2.2.16 will handle the large disks. (so why
> not take 2.2.20 that is the latest 2.2.x) Since it is the
> second disk you can set it to "not installed " (in the bios) if the bios
> does not like it. This means the bios normally will set a slow (safe)
> PIO mode so you may have to set manually to get full speed out of the
> drive.

Yes, I try 2.2.14, and it works, I get my 40Gb, even with the old v2.8
fdisk.
With one or two partitions.

But mounting takes a while !

/dev/hdc1            19257345   65102  18188183      0%   /supus
/dev/hdc2            19295859         13  18289776      0%   /supusr

Thanks for all,

Jean-Pol

 
 
 

1. 40gb ide drive w/ 2.3.99-pre8, problems...

I am currently trying to get a 40gb ide/udma66 drive to work under Linux,
kernel 2.3.99-pre8.

First off, here is the hardware configuration I'm using:
* Abit BP6 motherboard (uses the HPT366 chipset for udma66 drives.)
* Maxtor DiamondMax Plus 40GB hard disk (Model #:54098U8)

So far, I've been able to get the hdma66 stuff working.  The drive is
detected and it's geometry settings are read in (and readable in
/proc/ide/hde/settings).  However, this is where the problem comes in.
The drive has 79406 cylinders, however it is truncated down to 13870
whenever I try to use fdisk (v2.9r).

I read in the Large-Disk-HOWTO, section 12, that this was a problem in
older kernels, however it has been fixed since 2.3.21 (I am using
2.3.99-pre8.)  I am wondering where the problem lies (kernel? fdisk?
elsewhere?) and how I would go about fixing it, if possible (I hope.)

Any suggestions?

--
David Ludwig               | "The Linux philosophy is laugh in the face of
davidl<at>wpi.edu          | danger.  Oops.  Wrong One.  'Do it yourself.'
http://www.wpi.edu/~davidl | That's it."                  - Linus Torvalds

2. Trouble compiling Slackware 2.0.0 kernel

3. Large IDE drives (40GB)

4. FTP Site for Linux Binary

5. SCSI and IDE Drives - can't detect IDE drives

6. Debugging PCI I/O error

7. RedHat 6.1 and IDE 40GB disk: problems beyond 8GB

8. Modem recommendations for Linux ?

9. linux 2.3, Abit BP6, 40gb IDE HD

10. 40Gb IDE in a ULTRA 10 with Solaris 7

11. Can Ultra-10 support high capacity IDE HD like 40GB ?

12. wanting to install linux, but need help with win me & 40gb drive

13. problems with maxtor 40GB drive