- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Cannot create a bootable Fedora Core 2 kernel
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2004 07:24 AM
11-22-2004 07:24 AM
I'm trying now to compile a Linux Fedora Core 2 kernel, and the boot fails with the following:
ds:no socket drivers loaded!
kmod: failed to exec /sbin/modprobe -s -k block-major-8, errno = 2
VFS: Cannot open root device "sda2" or 08:02
Pleas append a correct "root=" boot option
Kernal panic: VFS :Unable to mount root fs on 08:02
1. I searched extensively on the internet, but could not find which item in 'make xconfig' enables the "ds/socket drivers"
2. My root filesystem is on /dev/sda2 (/boot is on /dev/sda1): I tried both these entries on the kernel line of grub.conf, but both give similar errors.
Since I suspected the problem is connected to the SCSI drivers, I chose in 'make xconfig' everything in the SCSI section, but the kernel still fails the boot with the same errors as above.
Have you any ideas how can I make this kernel a bootable kernel ?
Thanks,
Ron.
P.S.: I built the above mentioned kernel doing the following:
make mrproper
I then copied the config file from i686 subdirectory of /usr/src/linux-2.4 and then
make xconfig
make dep
make clean
make bzImage
make modules
make modules_install
make install
And the last line, in addition to installing the kernel files in the /boot directory, also executes the /sbin/new-kernel-pkg script that builds a new initrd image and adds new entries to the boot loader configuration file.
Indeed, a .img was created and was put in the correct initrd line of grub.conf (the current kernel .img size is ~300K, while the .img of the kernel I built is ~170K).
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2004 09:06 AM
11-22-2004 09:06 AM
Re: Cannot create a bootable Fedora Core 2 kernel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2004 07:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2004 09:33 PM
11-22-2004 09:33 PM
Re: Cannot create a bootable Fedora Core 2 kernel
- Does original kernel work OK?
- did you try compile kernel using "make oldconfig" - I mean, based on your current confuguration?
Rgds,
Vitaly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 06:56 AM
11-23-2004 06:56 AM
Re: Cannot create a bootable Fedora Core 2 kernel
My SCSI card is AHA-2940U/UW/D /AIC-7881U (I use the Adaptec aic7xxx driver).
Hi Ivajlo,
Okay, I'll try your suggestion.
Hi Vitaly,
- My original Kernel works fine.
- I tried compiling with "make oldconfig", and received the same errors.
Thanks for the prompt answers,
Ron.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 08:09 AM
11-23-2004 08:09 AM
Re: Cannot create a bootable Fedora Core 2 kernel
In my original message I wrote: "... I then copied the config file from i686 subdirectory of /usr/src/linux-2.4 and then ..."
Bye,
Ron.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 06:27 PM
11-23-2004 06:27 PM
Re: Cannot create a bootable Fedora Core 2 kernel
Probaly make sense to re-create initrd manually [mkinitrd]?
Regarding 1) - it seems to be related to pcmcia .
Do you use laptop?
Rgds,
Vitaly
BTW, in modern [>=2.4] kernels there are almost no cases when we have to re-compile kernel. Most of customization tasks may be done without recompilation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 06:42 AM
11-24-2004 06:42 AM
Re: Cannot create a bootable Fedora Core 2 kernel
The kernel is built on a desktop, not laptop.
As for your comment "... BTW, in modern [>=2.4] kernels there are almost no cases when we have to re-compile kernel. Most of customization tasks may be done without recompilation...": I need to create a replacement for socket.c (in net/socket.c) which includes added capabilities not found in the original socket.c of Fedora.
My original idea was to create the added functionality as a Loadable Kernel Module. However, this approach meant that the sys_call_table symbol needed to be exported in the kernel.
Alas, as of Linux kernel 2.4, sys_call_table is no longer exported, and thus, I could not use LKMs for the added functionality.
Bye,
Ron.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 06:55 PM
11-24-2004 06:55 PM
Re: Cannot create a bootable Fedora Core 2 kernel
- as for "ds" problem - according to ds.c in kernel sources, it's related to pcmcia support.
So I recommend or ignore this error or disable all pcmcia support in your custom kernel.