Go Back   Cyber Tech Help Support Forums > Operating Systems > Linux

Notices

Reply
 
Topic Tools
  #1  
Old June 8th, 2004, 07:11 PM
kjbunete kjbunete is offline
Senior Member
 
Join Date: Sep 2003
O/S: Windows XP Pro
Location: Columbus Ohio
Age: 23
Posts: 536
Question Kernel compiling

Well, since the Linux fourms are getting a little active now, I have a question.

I was compiling the Kernel 2.6.6 for my M10o and I got some Kernel warnings and what nots. Normally I just ignore them and go along my way. Well, I got bored and I went though and addressed each warning. So when I compiled, It ran smoother than ever. I also removed some extra modules that are not needed for my system. I compiled as so.

Make oldconfig
Make xconfig
Time Make
Time Make modules_install
Mkinitrd /boot/initrd-2.6.6.img 2.6.6

Then I copied the the bzimage to vmlinuz-2.6.6 & System.map to System.map-2.6.6 & .config to config-2.6.6

Then I booted, then I got some PCI controller error. That was easy to fix, I changed the option of "MMconfig" to "Any" and I no longer get that error. Now I get a Kernel Panic And these are my last three lines of the screen

Resume Machine VFS: Cannot open root device "306" or unknown-block(3,6)
Please Append a correct "Root=" boot option
Kernel Panic: VFS: Unable to mount FS on unknown-block(3,6)

If someone could tell me what modules I need to select, and I know that you can not tell me the exact name of the modules. And I do not what you to. I just want to know if I have to add modules to my filesystems, ATA,IDE..., ect. Also, I have completly disabled the MTD's for my computer. I have spent some time looking at my existing Kernel (this is 2.6.6 as well, I just wanted to "slim" my kernel for perfomace reasons, and I was bored) and my Memory set up and I saw that it was not using any of these. Could it be that I did this that I'm getting my VFS error? Because I remember that I saw something about Vurtial File Systms and I look at that I think it means VFS.

oh boy I fell as I rambled, Does anyone know what I'm talking about?
__________________
EE Major and M$ Beta tester.

Last edited by kjbunete; June 8th, 2004 at 07:15 PM.
Reply With Quote
  #2  
Old June 8th, 2004, 11:43 PM
Trillian Trillian is offline
Member
 
Join Date: May 2004
Posts: 67
It might be a stupid solution/mistake, but if you're one of the sillyheads that use lilo, did you run lilo after the copying?

And are you **sure** your lilo.conf or menu.1st is correct? No capitals where there should not be capitals?



Well, I'm off to bed, or gonna config some splashimages now, so I'll just have a closer look at your post tomorrow.
__________________
<Sukato> Once again
<Sukato> my firewall successfully blocked hack attempt from 192.168.0.1
<Sukato> Then some programs get kicked offline
<Jed> I know that IP address
<Jed> He's a mean *******.


Howto make a Good Topic!
Reply With Quote
  #3  
Old June 9th, 2004, 02:58 PM
kjbunete kjbunete is offline
Senior Member
 
Join Date: Sep 2003
O/S: Windows XP Pro
Location: Columbus Ohio
Age: 23
Posts: 536
LOL,


Don't worry about it, I figured it out. I got a little to click happy and I completly disabled all PCI IDE controllers. As soon as I reinstalled those modules, recompiled and then ran what I needed. I was good! It started loading Mandrake 10! Now I just need the Interactive setup to pasue for a while so I can read what is passing and what is failing. So I can fix those issues, because I can't start X or KDE with this kernel. As soon as I get all of these situated to the point that it is just right for my system, I'm making a copy of my .config on to a floppy disk!

Thanks a lot though Trillian!


P.S. Yes I'm using Lilo! (Only because I have not told it to go to grub yet! )
__________________
EE Major and M$ Beta tester.
Reply With Quote
  #4  
Old June 9th, 2004, 03:48 PM
MishY's Avatar
MishY MishY is offline
Cyber Tech Help Administrator
 
Join Date: Sep 2000
O/S: Windows Vista 64-bit
Location: England
Age: 31
Posts: 8,574
Blog Entries: 1
Just a general tip:

After a kernel upgrade a lilo -v -v is a good thing to test before rebooting

That will test lilo to make sure your config is correct. The results should be similar to this:

[root@yoursystem root]# lilo -v -v
LILO version 21.4-4, Copyright (C) 1992-1998 Werner Almesberger
'lba32' extensions Copyright (C) 1999,2000 John Coffman

Reading boot sector from /dev/hda
Merging with /boot/boot.b
Secondary loader: 11 sectors.
Mapping message file /boot/message
Message: 46 sectors.
Boot image: /boot/vmlinuz-2.4.18-26.7.x
Setup length is 10 sectors.
Mapped 2082 sectors.
Mapping RAM disk /boot/initrd-2.4.18-26.7.x.img
RAM disk: 228 sectors.
Added linux
Boot image: /boot/vmlinuz-2.4.18-27.7.x
Setup length is 10 sectors.
Mapped 2083 sectors.
Mapping RAM disk /boot/initrd-2.4.18-27.7.x.img
RAM disk: 228 sectors.
Added linuxnew *
/boot/boot.0300 exists - no backup copy made.
Map file size: 29696 bytes.
Writing boot sector.
__________________
Searching the forums can help you to find your answers more quickly
Posting Tips & Support Forum Rules | Vivid Development | Get Firefox! | CTH News | Are you hungry ? | Registered Linux User #317145
Reply With Quote
  #5  
Old June 10th, 2004, 11:24 PM
Trillian Trillian is offline
Member
 
Join Date: May 2004
Posts: 67
Quote:
Originally Posted by kjbunete
LOL,


Don't worry about it, I figured it out. I got a little to click happy and I completly disabled all PCI IDE controllers. As soon as I reinstalled those modules, recompiled and then ran what I needed. I was good! It started loading Mandrake 10! Now I just need the Interactive setup to pasue for a while so I can read what is passing and what is failing. So I can fix those issues, because I can't start X or KDE with this kernel. As soon as I get all of these situated to the point that it is just right for my system, I'm making a copy of my .config on to a floppy disk!

Thanks a lot though Trillian!


P.S. Yes I'm using Lilo! (Only because I have not told it to go to grub yet! )
Way the go!
Why won't X work?

PS
go for grub, it owns :o
__________________
<Sukato> Once again
<Sukato> my firewall successfully blocked hack attempt from 192.168.0.1
<Sukato> Then some programs get kicked offline
<Jed> I know that IP address
<Jed> He's a mean *******.


Howto make a Good Topic!
Reply With Quote
  #6  
Old June 15th, 2004, 04:23 PM
kjbunete kjbunete is offline
Senior Member
 
Join Date: Sep 2003
O/S: Windows XP Pro
Location: Columbus Ohio
Age: 23
Posts: 536
I do not know why, so I just recompiled it again using the same configuration and it works like a charm. What I think is during my first compile, the power saged to the point that the computer almost shut down, but then it came back in full. I do belive that it was the problem. Also, just for you Trillian. I took the time and I changed Lilo to grub! Boy did I miss it!

Thank you trillian for your suggestions!
__________________
EE Major and M$ Beta tester.
Reply With Quote
  #7  
Old June 15th, 2004, 10:09 PM
Trillian Trillian is offline
Member
 
Join Date: May 2004
Posts: 67
Ha, neat!
__________________
<Sukato> Once again
<Sukato> my firewall successfully blocked hack attempt from 192.168.0.1
<Sukato> Then some programs get kicked offline
<Jed> I know that IP address
<Jed> He's a mean *******.


Howto make a Good Topic!
Reply With Quote
Reply

Bookmarks

Topic Tools

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 On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:56 PM.

[ RSS ]