Re: recompiling the debian kernel..getting wierd messege.



On 10/08/08 16:23, Michael Habashy wrote:


On Wed, Oct 8, 2008 at 4:52 PM, Ron Johnson <ron.l.johnson@xxxxxxx <mailto:ron.l.johnson@xxxxxxx>> wrote:

On 10/08/08 15:11, Michael Habashy wrote:



On Wed, Oct 8, 2008 at 3:28 PM, Andrei Popescu
<andreimpopescu@xxxxxxxxx <mailto:andreimpopescu@xxxxxxxxx>
<mailto:andreimpopescu@xxxxxxxxx
<mailto:andreimpopescu@xxxxxxxxx>>> wrote:

On Wed,08.Oct.08, 15:16:41, Michael Habashy wrote:
> Newbie quetion here - I just tried following the tutorial
on how
to compile
> a debian kernel -
http://www.howtoforge.com/kernel_compilation_debian
>
> It worked great - till i had to initialize with the new
kernel...I keep
> getting these messeges:
>
>
> Waiting 16 seconds for /*sys/block/sdb/sdb1/dev* to show up.
/bin/cat:
> /*sys/block/
> sdb/sdb1/dev*: *No such file or directory*. *Device* /*
> sys/block/sdb/sdb1/dev
>
>
> does anyone have an idea ???

What .config did you use? If you just made small
modifications it would
be nice to write which ones (you can use diff).

Regards,
Andrei
--
If you can't explain it simply, you don't understand it well
enough.
(Albert Einstein)


How can i do this ???
i over written the .config file that was there with the one that
is provided by the 2.6.18.6 <http://2.6.18.6> <http://2.6.18.6>
kernel by default. i just did minor modifications like add sata
driver support because it was not enabled.


The kernel has changed quite a lot since .18.

If you want to use the existing 2.6.18 .config file (which *is*
reasonable!), you need to run
$ make clean
$ make oldconfig

This takes and updates the .config file with all the stuff that's
been added since 2.6.18, while prompting you to choose what "new
stuff" you want added to your kernel.

-- Ron Johnson, Jr.
Jefferson LA USA

"Do not bite at the bait of pleasure till you know there is no
hook beneath it." -- Thomas Jefferson


-- To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
<mailto:debian-user-REQUEST@xxxxxxxxxxxxxxxx> with a subject of
"unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
<mailto:listmaster@xxxxxxxxxxxxxxxx>

thanks - will try this - but the tutorial says to remove the line

# CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"

out of the config file -- is this necessary ??????

There *is* such a line in my /usr/src/linux/.config, but there is no corresponding /lib/modules/$(uname -r)/.config.

So, I have no definitive answer to your question.

--
Ron Johnson, Jr.
Jefferson LA USA

"Do not bite at the bait of pleasure till you know there is no
hook beneath it." -- Thomas Jefferson


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: compiling the 2.26.6 kernel on debian.
    ... I did NO modification to the kernel just generic. ... /but do not understand the error - why a normal compile would cause the error./ ... -- Thomas Jefferson ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: recompiling the debian kernel..getting wierd messege.
    ... kernel by default. ... This takes and updates the .config file with all the stuff that's ... -- Thomas Jefferson ... To UNSUBSCRIBE, ...
    (Debian-User)
  • Re: Installation on SSD
    ... If I compile the kernel myself, should I set any options in .config file? ... but if I were to enable swap it would be via a file ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Building a 2.6.30 kernel that does NOT require initrd
    ... On Mon, 28 Sep 2009, Andrew Perrin wrote: ... Using a .config file based on past kernels that have worked fine, I am trying to compile kernel 2.6.30 for an amd64 machine and NOT using initrd. ... kernel panic: no init found. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: Problem on modprobe loop
    ... Then there's no need to load the loop driver, since it's already built into the kernel. ... Ron Johnson, Jr. ... -- Thomas Jefferson ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)