All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vlad Codrea <VladCodrea@mail.utexas.edu>
To: Stephen Clark <Stephen.Clark@seclark.us>
Cc: linux-ide@vger.kernel.org
Subject: Re: CD problems booting FC7 RC3
Date: Fri, 06 Apr 2007 21:55:28 -0500	[thread overview]
Message-ID: <46170820.2000105@mail.utexas.edu> (raw)

Hi Steve,

 > Do you know if this patch has been put into the mainline kernel?

Yes, it's in the mainline 2.6.21-rc6 kernel.

 > I got
 > this problem when trying to boot the Fedora Core 7 RC3 livecd - so I
 > really can't make a new kernel and test it.

If your HP N5430 laptop has a floppy drive, I suggest you install a 
minimal Linux distro through that. While tracking down a CD drive error, 
I found that Debian works well for compiling kernels and testing 
patches. Here are the steps:

Download boot.img, root.img, net-drivers-1.img, and net-drivers-2.img 
from 
http://http.us.debian.org/debian/dists/sid/main/installer-i386/current/images/floppy 
. Write each image to a different floppy using the command "dd 
if=XXX.img of=/dev/fd0 bs=1024 conv=sync ; sync". Boot from the boot 
floppy and follow the installation directions.

Once the system is up, install the following apps:
# apt-get install wget automake bzip2 gzip gcc kernel-package patch tar

Download and unpack the latest kernel:
# wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.20.tar.bz2
# tar -xvf linux-2.6.20.tar.bz2
# cd linux-2.6.20
# wget http://kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.21-rc6.bz2
# bunzip2 patch-2.6.21-rc6.bz2
# patch -p0 < patch-2.6.21-rc6

Download a .config file that specifies libata drivers:
# wget http://marc.info/?l=linux-ide&m=117391341014871&q=p4
# mv index.html\?l\=linux-ide .config

Compile and install the kernel:
# make-kpkg  kernel_image --initrd &
# dpkg --install ../linux-image-2.6.21-rc6_2.6.21-rc6-10.00.Custom_i386.deb

Reboot.

 > Also it takes
 > over an hour to build the kernel on my laptop

The initial compilation does take awhile, but subsequent compilations 
(ie. after applying a patch) should only take a couple of minutes.

Vlad

             reply	other threads:[~2007-04-07  2:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-07  2:55 Vlad Codrea [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-04-02 19:58 CD problems booting FC7 RC3 Stephen Clark
2007-04-03  2:40 ` Albert Lee
2007-04-03 13:37   ` Stephen Clark

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46170820.2000105@mail.utexas.edu \
    --to=vladcodrea@mail.utexas.edu \
    --cc=Stephen.Clark@seclark.us \
    --cc=linux-ide@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.