Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Debian Linux Help > Installation of serial port card

Forgot Password?
 Debian Linux Help   Discussions related to Debian GNU/Linux.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 08-13-2006   #1 (permalink)
Just Joined!
 
Join Date: Aug 2006
Posts: 6
Installation of serial port card

Hi there:

We have Kubuntu 5.10 (Linux version 2.6.12-9-386). It's installed on a PC104. We have added a multiserial port card, so I tried configuring serial.h and rebuilding and reinstalling the kernel. Everything compiled and installed fine, but when I got to the part where I edit grub.conf, I found that Kubuntu instead uses a file named menu.lst and a slightly different format (see code fragment below).

After editing menu.lst I rebooted the computer and it crashed with the error message:

[123456.453000]VFS: Cannot open root device "hda1" or unknown-block (0,0)
[123456.453000]Please append a correct "root=" boot option
[123456.453000]Kernel panic-not syncing:VFS:Unable to mount root fs on unknown-block(0,0)

Looking at menu.lst, the last entry is the one I added. I copied it from the second entry (for the recovery version of Ubuntu), except of course I changed the kernel to the one I had built. I tried booting with and without the initrd.

I'm stuck. Do you have any ideas?

Thank you!

John Spring

title Ubuntu, kernel 2.6.12-9-386
root (hd0,0)
kernel /boot/vmlinuz-2.6.12-9-386 root=/dev/hda1 ro quiet splash
initrd /boot/initrd.img-2.6.12-9-386
savedefault
boot

title Ubuntu, kernel 2.6.12-9-386 (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.12-9-386 root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.12-9-386
boot

title Ubuntu, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
boot

title Linux-df
root (hd0,0)
kernel /boot/vmlinuz-df root=/dev/hda1 ro single
initrd /boot/initrd-df
boot
### END DEBIAN AUTOMAGIC KERNELS LIST
jspring is offline  


Reply With Quote
Old 08-15-2006   #2 (permalink)
Just Joined!
 
Join Date: Jan 2006
Posts: 71
You do need the initrd line. Perhaps you have the name wrong? You should be able to still boot into one of the older kernels (kernel 2.6.12-9-386 or the recovery one). Doing an ls of /boot, you can see if the name is correct or not. If not, change it (initrd-df and vmlinuz-df) to the right name.

What did you do to recompile/reinstall the kernel? I think most tools add to your menu.lst for you.
engineuity is offline   Reply With Quote
Old 08-15-2006   #3 (permalink)
Linux Engineer
 
Zelmo's Avatar
 
Join Date: Jan 2006
Location: Riverton, UT, USA
Posts: 1,001
That kind of error pops up if your disk controller's drivers aren't compiled into the kernel, or if you're using initrd, then the disk controller's module wasn't built.

Did you remember to copy the previous kernel's .config into the new kernel's source directory, and run 'make oldconfig'? That gives you a known working config, which you can then tweak as needed.
__________________
Stand up and be counted as a Linux user!
Zelmo is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 10:46 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2