Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 12-28-2006, 03:48 PM   #1
LQ Newbie
Registered: Dec 2006
Location: Mountain View, CA
Distribution: SUSE
Posts: 4

Rep: Reputation: 0
Question sys_mount() returns ENXIO on boot.

sys_mount() returns ENXIO on boot, giving the on screen message - VFS: Cannot open root device “hda2”. The kernel was made from Linux 2.6.17 source from the USAGI IPv6 port. Could you please comment on the following diagnostics?

1) The struct block_device of “/dev/root” gotten by fs/block_dev.c - open_bdev_excl() has bd_dev = 0. The inode of “/dev/root” has i_rdev = 0 and not (3,2). dev = 0, is the dev argument used in the further function calls, beneath sys_mount().

2) drivers/base/map.c – kobj_lookup() fails because the 1st bdev_map.probes[] entry has dev = 1. The dev argument to kobj_lookup() was 0, from (1) above. dev = 1, is the init value for bdev_map.probes[].

3) I built a kernel with all the drivers linked in.

4) I compiled ext2 and ext3 for reiserfs.

5) Except for changing the name of the kernel, the GRUB menu.lst entry is the same as for booting kernels. It was generated by “make install”, anyway.

This is a re-post, as no one has looked at the diagnostics yet.

Any advice would be deeply appreciated.

Tim McFadden


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Network boot returns "UDP Checksum Error" iainr Linux - Networking 1 08-06-2009 01:58 PM
fscanf returns -1 trutnev Programming 2 06-23-2005 08:50 AM
setup returns after doing nothing?? dfong63 Slackware - Installation 5 06-04-2004 01:40 AM
Bind returns -1 slackwarefan Programming 18 05-31-2004 12:36 AM
First boot login returns to console!!!! SuSE Confused Linux - Newbie 4 09-03-2003 10:20 PM

All times are GMT -5. The time now is 03:21 PM.

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