LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-12-2004, 11:06 AM   #1
Seventh
Member
 
Registered: Dec 2003
Location: Boston, MA
Distribution: Redhat / Debian
Posts: 269

Rep: Reputation: 30
2.6.2 kernel boot error


I've just installed Kernel 2.6.2 on a Dell D800 laptop. Pretty much the most minimal install I could get on it in terms of the modules.

I get this far:

boot:
Loading Linux...................................
Uncompressing Linux... Ok, Booting the kernel.
Linux version 2.6.2 (root@debian) (gcc version 2.95.4 20011002 (Debian prerelease)) #6 Thu Feb 12 12:03:49 EST 2004
BIOS-provided physical RAM map:
BIOS-e820 0000000000000000 - 000000000009f000 (usable)
BIOS-e820 000000000009f000 - 00000000000a0000 (reserved)
BIOS-e820 0000000000100000 - 000000003ffb0800 (usable)

And that's it. Just hangs right there. Prior kernels boot with no problem at all.

Any insight appreciated. TIA.
 
Old 02-12-2004, 11:17 AM   #2
busbarn
Member
 
Registered: Feb 2002
Location: Denver, CO US
Distribution: Arch
Posts: 453

Rep: Reputation: 30
Are you using grub or lilo? I had a laptop (toshiba) that wouldn't boot with acpi, so I had to turn it off in grub. You might try looking at power management in your kernel config and turn off acpi and see if you can get it to boot.
 
Old 02-13-2004, 07:47 AM   #3
Seventh
Member
 
Registered: Dec 2003
Location: Boston, MA
Distribution: Redhat / Debian
Posts: 269

Original Poster
Rep: Reputation: 30
LILO (per request, it's a lab machine, personally I prefer Grub).

Not much by way of BIOS regarding ACPI, and I've tried booting it with the acpi=no argument, both to no avail.
 
Old 02-16-2004, 05:42 PM   #4
Seventh
Member
 
Registered: Dec 2003
Location: Boston, MA
Distribution: Redhat / Debian
Posts: 269

Original Poster
Rep: Reputation: 30
^ bump ^
 
Old 02-16-2004, 07:42 PM   #5
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
Seventh,

Here is an idea: Extract a debian kernel image and use that config file for compiling your own kernel. Just go to www.debian.org and find the 2.6.2 kernel image file from unstable and save it to your hard drive, then:

dpkg -x kernel-image-2.6.2*.deb /tmp
cp /tmp/boot/config-2.6.2* /usr/src/linux/.config
cd /usr/src/linux
make menuconfig

Now you can make a few tweaks to the configuration and save it before compiling your own kernel. At least that way you know you are starting with a working configuration file. I've always run into trouble configuring a kernel from scratch. ....In fact, I like this idea so much I might try upgrading from my 2.4.24 kernel
 
Old 02-18-2004, 08:12 AM   #6
Seventh
Member
 
Registered: Dec 2003
Location: Boston, MA
Distribution: Redhat / Debian
Posts: 269

Original Poster
Rep: Reputation: 30
Ok, I'm here:

http://ftp.us.debian.org/debian/dists/unstable/

But I don't see any kernel images. Am I in the wrong spot?

Thanks as always, any help is muchly appreciated.

- S7
 
Old 02-18-2004, 09:22 AM   #7
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
http://packages.debian.org/unstable/base/

Has base packages, including a variety of kernel images. Different versions of the 2.6.2 kernel are there for different processors (686=pentium and k7=athlon).
 
Old 02-18-2004, 11:07 AM   #8
Seventh
Member
 
Registered: Dec 2003
Location: Boston, MA
Distribution: Redhat / Debian
Posts: 269

Original Poster
Rep: Reputation: 30
Hrm, are those supposed to be only 8k?

On the other side of things, I'm reinstalling for the 14th consecutive time today. This time I reinstalled (because og the "unable to mount root" error, and the whole installation was in capital letters for some obscure reason.

Reboot, kernel panic...

*goes insane*
 
Old 02-18-2004, 12:37 PM   #9
Seventh
Member
 
Registered: Dec 2003
Location: Boston, MA
Distribution: Redhat / Debian
Posts: 269

Original Poster
Rep: Reputation: 30
Ok, started from scratch:

Installed base system from Woody 3.0 (kernel 2.2.20).
Did my make menuconfig, picked my stuff (basically just the tg3 driver, built into the kernel, not as a module).
made bzImage, compiled fine.
made modules, compiled fine.

Then this error:

Code:
make modules_install
(runs, goes fine until:)
depmod:parport_ieee1284_epp_write_data
make: *** [modinst_post] Error 1
*scratches head*
 
Old 02-18-2004, 12:54 PM   #10
Seventh
Member
 
Registered: Dec 2003
Location: Boston, MA
Distribution: Redhat / Debian
Posts: 269

Original Poster
Rep: Reputation: 30
And now I'm back..

Here:

http://www.linuxquestions.org/questi...hreadid=146779

*continues to go insane*
 
Old 02-18-2004, 01:48 PM   #11
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
I found this, as I am now considering upgrading to the 2.6.3 kernel myself:

http://www.desktop-linux.net/debkernel.htm

Make sure you also follow the link to:

http://kerneltrap.org/note/view/799

and make sure you have upgraded the necessary packages. I would be more help if I had actually done the upgrade myself, but I haven't gotten to it yet. Hope it turns out right.
 
Old 02-18-2004, 03:50 PM   #12
Seventh
Member
 
Registered: Dec 2003
Location: Boston, MA
Distribution: Redhat / Debian
Posts: 269

Original Poster
Rep: Reputation: 30
I took off for the day to avoid any premature lighting-on-fire of aforementioned laptop. That looks promising though - thank you very, very much for the legwork.
 
Old 02-20-2004, 09:29 AM   #13
Seventh
Member
 
Registered: Dec 2003
Location: Boston, MA
Distribution: Redhat / Debian
Posts: 269

Original Poster
Rep: Reputation: 30
Well, I'm giving this a whirl now. Some of the dependencies (for example, efs2progs) I can't figure out how to install. They're extracted, but I don't see any modules to insmod, nor is there any working Makefile. Typical.

I followed These instructions you listed, and got to this part:

1) Type: make-kpkg buildpackage -rev Custom.1 kernel_image

Which just fires me out a delightfully typical-debian slew of errors. I'd post a log, but building the kernel has made both my new and old kernels panic, so I'm reinstalling from scratch for at least the 50-60th time.

I have honestly never been so disgusted with a piece of software in my 10+ years of IT and Engineering support and development. I can honestly say that this is the absolute worst OS I've ever had the displeasure to work with.

/rant off /apologytoeveryone

Anyhow. Now I'm trying to install e2fsprogs, with a howto I found here:

http://www.fr.linuxfromscratch.org/v...e2fsprogs.html

I enter this command:

Code:
../e2fsprogs-1.34/configure --prefix=/usr --with-root-prefix="" \
    --enable-elf-shlibs

Which gives me:

Code:
: bad interpreter: No such file or directory.
And I plow forward and google some more.


Last edited by Seventh; 02-20-2004 at 09:50 AM.
 
Old 02-20-2004, 10:02 AM   #14
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
To install e2fsprogs;

apt-get install e2fsprogs

If you want the latest version from unstable;

apt-get -t unstable install e2fsprogs

Just make sure your sources.list file includes unstable repositories.

Someone gave me a link to a working config file for a 2.6.2 kernel http://www3.ns.sympatico.ca/scormier/config-2.6.2


Well, I tried upgrading to the 2.6.3 kernel and was able to build the kernel-image deb and install it. However, it wouldn't boot, probably because of a bad config of the kernel. You can follow the thread I posted here: http://www.knoppix.net/forum/viewtopic.php?t=7951 Some others have ran into similar problems.

I'll have to try again with the new config file later. It takes a really long time to compile on my 900 mHz processor.
 
Old 02-20-2004, 10:32 AM   #15
Seventh
Member
 
Registered: Dec 2003
Location: Boston, MA
Distribution: Redhat / Debian
Posts: 269

Original Poster
Rep: Reputation: 30
Heh, can't apt it, because the root of all my evils is a non-working Broadcom 5700 card, which was the actual reason behind all of this kernel upgrading.

apt from the Woody CD (which I'm installing from) says that the version I have now is current.

Gonna try 2.6.3 and see if any happiness comes from there. On the brightside I'm learning a ton, but 3 weeks to get one system working with a simple network/xterm is a little on the humiliating side. Hopefully once I get all this figured out, I'll be able to help out a bit more around here instead of pestering you all with my neverending slew of questions.

Thanks very much as always.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel 2.6.3 boot error in FC1 hemanthjjp Fedora 0 07-15-2004 02:45 PM
kernel 2.6.6 boot error: QM_MODULES : not xxxxxx karfei00 Linux - General 3 06-28-2004 02:09 AM
error on boot must ha|Ve ready only for kernel Alinuxnoob Slackware 0 01-12-2004 08:13 AM
error on boot of new kernel. grub error. Pcghost Linux - General 4 05-10-2003 09:37 AM
New Kernel Boot error celtic32 Linux - General 1 09-06-2002 01:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration