Re: Unable to compile kernel 2.4.26 with SATA disk support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Sun, 16 Jan 2005 02:27:58 +0100 (CET), Marc-Christian Petersen
<m.c.p@xxxxxxx> wrote:
> Hi Shourya,
> 
> > I have a SATA disk with the intel piix chipset. In kernel 2.6 there is
> > a separate section for SATA disks, but kernel 2.4 does not have any
> > such section. How can I compile kernel 2.4 for the SATA disk support?
> > I tried compiling 2.4.26 with support for piix chipset in the list of
> > IDE drives but on booting I  get  kernel panic with the message
> > "cannot open root device".
> > Can anyone suggest the correct options to be used in the .config file.
> 
> The "problem" is, that SATA was merged in 2.4._27_ and PIIX/ICH SATA
> support in 2.4._28_, so there's no wonder why 2.4.26 do not offer you any
> SATA options like you see in 2.6 :)
> 
> You might want to update to 2.4.29-rc3.
> 
Unfortunately for some reason I can not move to kernels newer than
2.4.26. But I have just managed to compile SATA support in kernel
2.4.25 and wanted to share my experience. It might be useful for
others trying something similar.
After some googling I found that there exists "libata" patches for
earlier kernels. You can find them at
ftp://ftp.kernel.org/pub/linux/kernel/people/jgarzik/libata/old/. Now
all you need to do is take a clean source tree of the 2.4.xx kernel ,
apply the patch , enable SCSI support and in the "low level SCSI
drivers" choose your appropriate SATA chipset while configuring the
kernel.
In my case, I used kernel 2.4.25 with the 2.4.25-libata16.patch.bz2 patch. 

Shourya

> ciao, Marc
>

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux