- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: problem building kernel v2.4.17
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
02-14-2002 12:09 PM
02-14-2002 12:09 PM
problem building kernel v2.4.17
I am haing problem building kernel v2,4,17. What I did was copy .config from the old kernel to the new kernel diruectory, then run make menuconfig on the new kernel Make some minor changes and save the config file. Everything went smoothly except when I tried to boot the new kernel, it pukes on /lib/ext3.0 symbol not found. When I boot from the old kernel and went to /lib and check for ext3.0, it's not there. What gives????? Do I need to do something with the initial ramdisk to load this module since my default file system is ext3. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 02:40 AM
02-15-2002 02:40 AM
Re: problem building kernel v2.4.17
When you regen your kernel using your old .config file, use "make oldconfig" instead of "make menuconfig" or "make xconfig".
"make oldconfig" give you series of question if you want to use the new features.
If you want to try one more time, you should start from "make mrproper" to clear everything.
This command also delete your .config. so I advice you to save your .config into other directory.
Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 06:18 AM
02-15-2002 06:18 AM
Re: problem building kernel v2.4.17
Unless of course you're using an initrd image, but you didn't mention that you were.
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 07:16 AM
02-15-2002 07:16 AM
Re: problem building kernel v2.4.17
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 11:37 AM
02-15-2002 11:37 AM
Re: problem building kernel v2.4.17
$ mkinitrd /boot/initrd-2.4.17.img 2.4.17
it should be smart enough to grab all the stuff you need at boot time. I don't know how to verify this though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 01:55 PM
02-15-2002 01:55 PM
Re: problem building kernel v2.4.17
"/sbin/mkinitrd: [: /lib/modules/2.4.17/./kernel/drivers/scsi/sys53c8xx.o: binary operator expected."
after reboot with the new kernel, the new kernel panic bec. of this error: "/lib/ext3.o: symbol not found kmap_high " and so on. It failed to mount ext3 and the kernel PANIC. NOTE: all my filesystem is ext3 including / and /boot.
Does anyone have any suggestions to get this to work? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2002 02:02 PM
02-17-2002 02:02 PM
Re: problem building kernel v2.4.17
I personally never use mkinitrd to build my ramdisks, because I don't know what exactly is done.
Here is my method :
cp /boot/
gunzip /tmp/initrd.gz
mkdir /tmp/mnt
mount -oloop /tmp/initrd /tmp/mnt
cd /tmp/mnt/lib
ls -al
Normally, the modules used to boot your kernel are stored there. You can also check "insmod" or "modprobe" commands in /tmp/mnt/linuxrc script file to check needed modules.
Then, go to /lib/modules/2.4.17/kernel/... and copy the newly builded modules into /tmp/mnt/lib.
For ext3 to work, you need :
/lib/modules/2.4.17/kernel/fs/ext3/ext3.o
/lib/modules/2.4.17/kernel/fs/jbd/jbd.o
Of course, you may also need a specific driver if you have your hard disks on scsi :
/lib/modules/2.4.17/kernel/drivers/scsi/sym53c8xx.o
After that :
cd /
umount /tmp/mnt
gzip /tmp/initrd
mv /tmp/initrd.gz /boot/initrd-2.4.17.img
Now, your newly built initrd file is ready to be used. Of course, don't forget to modify your /etc/lilo.conf file accordingly and type /sbin/lilo to refresh the boot area of your disks.
Good luck.
Kodjo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2002 01:07 PM
02-19-2002 01:07 PM
Re: problem building kernel v2.4.17
I was able to resolve ext3.0 module problem with step you give me, But I having scsi problem with this module: sym53c8xx.o. I checked, and it is in the initrd file. Here's the error:
/lib/sym53c8xx.o unresolved symbol scsi_bios_param_R8411b54
/lib/sym53c8xx.o unresolved symbol scsi_unregister_module_R81d85a75
/lib/sym53c8xx.o unresolved symbol scsi_unregister_Rf41754fd
/lib/sym53c8xx.o unresolved symbol scsi_register_Ref96d3d9
/lib/sym53c8xx.o unresolved symbol scsi_register_module_Rfa20b7b0
Error: /bin/insmod Exited abnormally
kernel panic: No init found. Try passing init= option to kernel
Does any know what this mean? Thanks in advance for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2002 01:22 PM
02-19-2002 01:22 PM
Re: problem building kernel v2.4.17
It work, all I had to do was re-copy over all the modules I needed for initrd. Thanks for your help. I only wish I could go back and give 10 pts for taking time to help me. Thanks again.