LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 10-09-2006, 07:58 AM   #1
varaahan
Member
 
Registered: Jul 2005
Location: chennai, india
Distribution: Puppy, Arch Linux,Absolute Linux
Posts: 83

Rep: Reputation: 15
New kernel 2.6.17.11 does not boot


In my slackware 10.2 , I tried to install 2.6.17.11 kernel.
I did the menuconfig and copied the bzImage file to /boot/bzImage and edited lilo.conf

The present lilo file is:

"
boot="/dev/hdb6"
image="/boot/bzimage-2.6.17.11"
root="/dev/hdb6"
label="slack_2.6.17.11"
read-only

image="/boot/vmlinuz"
label="Slackware_10.2"
root="/dev/hdb6"
read-only

"

I ran the lilo command which returned no errors.

When I rebooted, I get the following error msg:

"
VFS: Can not open root device "346" or unknown block (3,70)

Please appen a correct "root=" boot option

Kernel panic - not syncing:VFS:

Unable to mount root fs on unknown block
(3,70)
"

Kindly guide me where I am wrong.
 
Old 10-10-2006, 08:45 AM   #2
jxi
Member
 
Registered: Feb 2003
Location: Richmond VA
Distribution: Slackware 11 -- CentOS 4.4
Posts: 115

Rep: Reputation: 15
Do you need an initrd ?

I.e. did you make something essential at boottime (like the root file system) as a module rather than compiling into the kernel.
 
Old 10-10-2006, 09:36 AM   #3
varaahan
Member
 
Registered: Jul 2005
Location: chennai, india
Distribution: Puppy, Arch Linux,Absolute Linux
Posts: 83

Original Poster
Rep: Reputation: 15
No.
Even then I tried mkinitrd and copied it to /boot.
Still the problem persists.
 
Old 10-10-2006, 08:16 PM   #4
jxi
Member
 
Registered: Feb 2003
Location: Richmond VA
Distribution: Slackware 11 -- CentOS 4.4
Posts: 115

Rep: Reputation: 15
You need to get a bootable kernel as a benchmark and work up from there.

Can you boot anything from /dev/hdb6? Sounds like it's not near the beginning of the drive. there was that old problem with the 1024M limit which was fixed with the 'lba32' entry in lilo.

Can you take the test 2.6 from cd #2, compile it just as it is, and boot with it? (if you have reiserfs as root fs it needs an initrd for sure)

HTH
 
Old 10-10-2006, 08:26 PM   #5
varaahan
Member
 
Registered: Jul 2005
Location: chennai, india
Distribution: Puppy, Arch Linux,Absolute Linux
Posts: 83

Original Poster
Rep: Reputation: 15
The default installation boots from /dev/hdb6 only and it works fine.
Anyhow I'll try to use the 2.6 kernel from slack cd and post the results.
 
Old 10-11-2006, 05:48 PM   #6
sooty
LQ Newbie
 
Registered: Nov 2002
Location: birmingham england
Distribution: Gentoo
Posts: 26

Rep: Reputation: 15
I had this problem
try enabling ramdisk suport
with make menuconfig
youll find it under device driver then block devices then enable ramdisk support
 
Old 10-12-2006, 04:30 PM   #7
tp11235
Member
 
Registered: Feb 2005
Posts: 106
Blog Entries: 1

Rep: Reputation: 15
I had the same problem. It was because I had not selected the correct IDE chipset support during make menuconfig. I just got careless.

Look in ATA/ATAPI/MFM/RLL Support and make sure your chipset driver is getting built in.
 
Old 10-17-2006, 08:54 AM   #8
varaahan
Member
 
Registered: Jul 2005
Location: chennai, india
Distribution: Puppy, Arch Linux,Absolute Linux
Posts: 83

Original Poster
Rep: Reputation: 15
TP11235/sooty !

I have done what you both have told.
Still he problem persists.

I am compiling the kernel once more (final, of course !) and let you know the results soon.
 
Old 10-17-2006, 11:39 AM   #9
varaahan
Member
 
Registered: Jul 2005
Location: chennai, india
Distribution: Puppy, Arch Linux,Absolute Linux
Posts: 83

Original Poster
Rep: Reputation: 15
At last partial success!

I could boot in the new kernel and get upto CLI.
But the startx command gives the following error:

"
(EE): GARTInit : Unable to open /dev/agpgart
No such device
(EE): I 810 (0) : AGPGART support is not available.
Make sure your kernel has agpgart support or that agpgart kernel module is loaded

(EE): Screen(s) found but none have a usable configuration.
"

Let me try to recompile the kernel once more!
 
Old 10-18-2006, 07:05 PM   #10
varaahan
Member
 
Registered: Jul 2005
Location: chennai, india
Distribution: Puppy, Arch Linux,Absolute Linux
Posts: 83

Original Poster
Rep: Reputation: 15
I have now the 2.6.17.11 kernel working.
One last thing is that I have to correct the eth0 so that I could connect to the net.
I hope I could do this shortly.
 
Old 10-19-2006, 08:15 AM   #11
jxi
Member
 
Registered: Feb 2003
Location: Richmond VA
Distribution: Slackware 11 -- CentOS 4.4
Posts: 115

Rep: Reputation: 15
Ok good to hear it!
 
Old 10-19-2006, 10:08 AM   #12
juanctes
Member
 
Registered: Dec 2004
Location: Argentina, corrientes (far from buenos aires, to the north)
Distribution: Ubuntu :(
Posts: 74

Rep: Reputation: 15
did you chose for your .config the right drivers for your ethernet card chipset?
if so, then u have to know what to do in order to connect. in my case is.

ifconfig eth0 up; dhcpcd eth0

no pass no username..
 
Old 10-19-2006, 10:55 AM   #13
varaahan
Member
 
Registered: Jul 2005
Location: chennai, india
Distribution: Puppy, Arch Linux,Absolute Linux
Posts: 83

Original Poster
Rep: Reputation: 15
Just one step short of 100 % success.
I could not get my adsl modem working.
I checked to enable Realtek RTL 8139 but still no success.
The pppoe-setup command gives no error.
But on pppoe-start, the modem does not blink at all and I get the time-out error.
 
  


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
DSL Kernel Wont detect Flash drive on boot, cant boot =( Javahulk Linux - General 1 03-24-2005 02:59 PM
Kernel update boot problems, no boot loader StaticSage Red Hat 2 01-09-2004 06:05 AM
CAVEAT: /boot/kernel.h & how not to clobber your kernel sources (Conectiva, Red Hat) JCCyC LinuxQuestions.org Member Success Stories 0 08-07-2003 07:49 AM
Kernel Compile Boot Loader? boot disk? SPMcRuube Linux - Newbie 3 12-03-2002 07:02 PM
What to do with /boot/System.map on dual Kernel boot? cathodion Linux - General 2 05-17-2002 11:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 05:37 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