LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-03-2004, 11:29 AM   #1
jza
Member
 
Registered: Jul 2003
Posts: 40

Rep: Reputation: 15
Unhappy init error after recompiling kernel


i tried recompiling my kernel, which i had updated using rpm, but when i try to boot it, it tells me that it cannot find init. I made sure that the new initrd was pointing to the updated kernel, and it was. I did get some errors while makeing modules, which i didn't really understand. Any suggestions??

tia
 
Old 01-03-2004, 01:56 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,354

Rep: Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553
Could you post the error messages? Also did you use make clean when you compiled your kernel? If you compile a kernel more than once then you can get weird errors on compiles after the first compile if you do not use make clean.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 01-03-2004, 10:18 PM   #3
jza
Member
 
Registered: Jul 2003
Posts: 40

Original Poster
Rep: Reputation: 15
Arrow

Not sure if i can get an error log somewhere, but i did everything again and here is a copy of the last part of the 'make modules' where i get the errors:

gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-24.9/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.20-24.9/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=dir -c -o dir.o dir.c
dir.c:75: warning: unnamed struct/union that defines no instances
dir.c: In function `afs_dir_iterate_block':
dir.c:261: union has no member named `name'
dir.c:293: union has no member named `name'
dir.c:296: union has no member named `vnode'
dir.c:296: union has no member named `vnode'
dir.c:296: union has no member named `vnode'
dir.c:297: union has no member named `unique'
make[2]: *** [dir.o] Error 1
make: *** [_modinst_fs] Error 2
--------------------------------------------------------------------------
then in 'make modules_install'

make -C afs modules_install
make[2]: Entering directory `/usr/src/linux-2.4.20-24.9/fs/afs'
mkdir -p /lib/modules/2.4.20-24.9jZa1.3.04/kernel/fs/afs/
cp kafs.o /lib/modules/2.4.20-24.9jZa1.3.04/kernel/fs/afs/
cp: cannot stat `kafs.o': No such file or directory
make[2]: *** [_modinst__] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.20-24.9/fs/afs'
make[1]: *** [_modinst_afs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-24.9/fs'
make[2]: Leaving directory `/usr/src/linux-2.4.20-24.9/fs/afs'
make[1]: *** [_modsubdir_afs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-24.9/fs'
make: *** [_mod_fs] Error 2
-----------------------------------------------------------------------------
make 'install'

depmod: *** Unresolved symbols in /lib/modules/2.4.20-24.9jZa1.3.04/kernel/drivers/bluetooth/bluecard_cs.o
depmod: hci_recv_frame_R367136ba
depmod: hci_unregister_dev_Reda1ae33
depmod: hci_register_dev_R3ed041ad
depmod: *** Unresolved symbols in /lib/modules/2.4.20-24.9jZa1.3.04/kernel/drivers/bluetooth/bt3c_cs.o
depmod: hci_recv_frame_R367136ba
depmod: hci_unregister_dev_Reda1ae33
depmod: hci_register_dev_R3ed041ad
depmod: *** Unresolved symbols in /lib/modules/2.4.20-24.9jZa1.3.04/kernel/drivers/bluetooth/btuart_cs.o
depmod: hci_recv_frame_R367136ba
depmod: hci_unregister_dev_Reda1ae33
depmod: hci_register_dev_R3ed041ad
depmod: *** Unresolved symbols in /lib/modules/2.4.20-24.9jZa1.3.04/kernel/drivers/bluetooth/dtl1_cs.o
depmod: hci_recv_frame_R367136ba
depmod: hci_unregister_dev_Reda1ae33
depmod: hci_register_dev_R3ed041ad
depmod: *** Unresolved symbols in /lib/modules/2.4.20-24.9jZa1.3.04/kernel/drivers/bluetooth/hci_uart.o
depmod: hci_unregister_dev_Reda1ae33
depmod: hci_register_dev_R3ed041ad
depmod: *** Unresolved symbols in /lib/modules/2.4.20-24.9jZa1.3.04/kernel/drivers/bluetooth/hci_usb.o
depmod: hci_recv_frame_R367136ba
depmod: hci_unregister_dev_Reda1ae33
depmod: hci_register_dev_R3ed041ad
depmod: *** Unresolved symbols in /lib/modules/2.4.20-24.9jZa1.3.04/kernel/drivers/bluetooth/hci_vhci.o
depmod: hci_recv_frame_R367136ba
depmod: hci_unregister_dev_Reda1ae33
depmod: hci_register_dev_R3ed041ad
depmod: *** Unresolved symbols in /lib/modules/2.4.20-24.9jZa1.3.04/kernel/drivers/net/appletalk/ipddp.o
depmod: atrtr_get_dev_Rcf497e30
depmod: atalk_find_dev_addr_Rd31c1e3f
depmod: aarp_send_ddp_R240d7965
depmod: *** Unresolved symbols in /lib/modules/2.4.20-24.9jZa1.3.04/kernel/drivers/net/hamradio/hdlcdrv.o
depmod: ax25_encapsulate_R777208ae
depmod: ax25_rebuild_header_R658a06f7
depmod: *** Unresolved symbols in /lib/modules/2.4.20-24.9jZa1.3.04/kernel/drivers/net/irda/act200l.o
depmod: irda_task_next_state_Rfb6f0b93
depmod: irda_device_unregister_dongle_R793b70d3
depmod: irda_device_register_dongle_R54ca1713
depmod: irda_task_execute_Rffaa82fe
depmod: *** Unresolved symbols in /lib/modules/2.4.20-24.9jZa1.3.04/kernel/drivers/net/irda/actisys.o
depmod: irda_task_next_state_Rfb6f0b93
depmod: irda_device_unregister_dongle_R793b70d3
depmod: irda_device_register_dongle_R54ca1713
depmod: *** Unresolved symbols in /lib/modules/2.4.20-24.9jZa1.3.04/kernel/drivers/net/irda/ali-ircc.o
depmod: async_wrap_skb_Rbc711c89
depmod: irda_qos_bits_to_value_R448b8aaa
depmod: irlap_open_Rbabf1d55
depmod: irda_device_set_media_busy_Rf05264f9
depmod: irlap_close_Ra79bb638
depmod: irda_device_txqueue_empty_R5b49ed1d
depmod: setup_dma_R01485953
depmod: irda_init_max_qos_capabilies_R6b043eba
depmod: async_unwrap_char_R92e0d291
depmod: irda_device_setup_Ree9e6b81
depmod: *** Unresolved symbols in /lib/modules/2.4.20-24.9jZa1.3.04/kernel/drivers/net/irda/donauboe.o
depmod: async_wrap_skb_Rbc711c89
depmod: irda_qos_bits_to_value_R448b8aaa
depmod: irlap_open_Rbabf1d55
depmod: irda_device_set_media_busy_Rf05264f9
depmod: irlap_close_Ra79bb638
depmod: irda_init_max_qos_capabilies_R6b043eba
depmod: irda_device_setup_Ree9e6b81
depmod: *** Unresolved symbols in /lib/modules/2.4.20-24.9jZa1.3.04/kernel/drivers/net/irda/esi.o
depmod: irda_task_next_state_Rfb6f0b93
depmod: irda_device_unregister_dongle_R793b70d3
depmod: irda_device_register_dongle_R54ca1713
depmod: *** Unresolved symbols in /lib/modules/2.4.20-24.9jZa1.3.04/kernel/drivers/net/irda/girbil.o
depmod: irda_task_next_state_Rfb6f0b93
depmod: irda_device_unregister_dongle_R793b70d3
depmod: irda_device_register_dongle_R54ca1713
depmod: irda_task_execute_Rffaa82fe
depmod: *** Unresolved symbols in /lib/modules/2.4.20-24.9jZa1.3.04/kernel/drivers/net/irda/irda-usb.o
depmod: irda_qos_bits_to_value_R448b8aaa
depmod: irlap_open_Rbabf1d55
depmod: irda_device_set_media_busy_Rf05264f9
depmod: irlap_close_Ra79bb638
depmod: hashbin_delete_R0e14cbd6
depmod: irda_init_max_qos_capabilies_R6b043eba
depmod: hashbin_new_Raf788a54
depmod: irda_device_setup_Ree9e6b81
depmod: *** Unresolved symbols in /lib/modules/2.4.20-24.9jZa1.3.04/kernel/drivers/net/irda/irport.o
depmod: async_wrap_skb_Rbc711c89
depmod: irda_device_dongle_cleanup_R3113e155
depmod: irda_qos_bits_to_value_R448b8aaa
depmod: irlap_open_Rbabf1d55
depmod: irda_task_next_state_Rfb6f0b93
depmod: irda_device_dongle_init_R38500516
depmod: irda_device_set_media_busy_Rf05264f9
depmod: irlap_close_Ra79bb638
depmod: irda_init_max_qos_capabilies_R6b043eba
depmod: irda_task_execute_Rffaa82fe
depmod: async_unwrap_char_R92e0d291
depmod: irda_device_setup_Ree9e6b81
depmod: *** Unresolved symbols in /lib/modules/2.4.20-24.9jZa1.3.04/kernel/drivers/net/irda/irtty.o
depmod: async_wrap_skb_Rbc711c89
depmod: irda_device_dongle_cleanup_R3113e155
depmod: irda_qos_bits_to_value_R448b8aaa
depmod: irlap_open_Rbabf1d55
depmod: irda_task_next_state_Rfb6f0b93
depmod: irda_device_dongle_init_R38500516
depmod: irda_device_set_media_busy_Rf05264f9
depmod: irlap_close_Ra79bb638
depmod: hashbin_remove_R1938d18d
depmod: hashbin_delete_R0e14cbd6
depmod: irda_init_max_qos_capabilies_R6b043eba
depmod: irda_task_delete_R42e21c64
depmod: irda_task_execute_Rffaa82fe
depmod: hashbin_new_Raf788a54
depmod: async_unwrap_char_R92e0d291
depmod: hashbin_insert_R0bbf1ddb
depmod: irda_device_setup_Ree9e6b81
depmod: *** Unresolved symbols in /lib/modules/2.4.20-24.9jZa1.3.04/kernel/drivers/net/irda/litelink.o
depmod: irda_task_next_state_Rfb6f0b93
depmod: irda_device_unregister_dongle_R793b70d3
depmod: irda_device_register_dongle_R54ca1713
depmod: *** Unresolved symbols in /lib/modules/2.4.20-24.9jZa1.3.04/kernel/drivers/net/irda/ma600.o
depmod: irda_qos_bits_to_value_R448b8aaa
depmod: irda_task_next_state_Rfb6f0b93
depmod: irda_device_unregister_dongle_R793b70d3
depmod: irda_device_register_dongle_R54ca1713
depmod: irda_task_execute_Rffaa82fe
depmod: *** Unresolved symbols in /lib/modules/2.4.20-24.9jZa1.3.04/kernel/drivers/net/irda/mcp2120.o
depmod: irda_task_next_state_Rfb6f0b93
depmod: irda_device_unregister_dongle_R793b70d3
depmod: irda_device_register_dongle_R54ca1713
depmod: irda_task_execute_Rffaa82fe
depmod: *** Unresolved symbols in /lib/modules/2.4.20-24.9jZa1.3.04/kernel/drivers/net/irda/nsc-ircc.o
depmod: async_wrap_skb_Rbc711c89
depmod: irda_qos_bits_to_value_R448b8aaa
depmod: irlap_open_Rbabf1d55
depmod: irda_device_set_media_busy_Rf05264f9
depmod: irlap_close_Ra79bb638
depmod: irda_device_txqueue_empty_R5b49ed1d
depmod: setup_dma_R01485953
depmod: irda_init_max_qos_capabilies_R6b043eba
depmod: async_unwrap_char_R92e0d291
depmod: irda_device_setup_Ree9e6b81
depmod: *** Unresolved symbols in /lib/modules/2.4.20-24.9jZa1.3.04/kernel/drivers/net/irda/old_belkin.o
depmod: irda_task_next_state_Rfb6f0b93
depmod: irda_device_unregister_dongle_R793b70d3
depmod: irda_device_register_dongle_R54ca1713
depmod: *** Unresolved symbols in /lib/modules/2.4.20-24.9jZa1.3.04/kernel/drivers/net/irda/smc-ircc.o
depmod: irda_qos_bits_to_value_R448b8aaa
depmod: setup_dma_R01485953
depmod: irda_init_max_qos_capabilies_R6b043eba
depmod: *** Unresolved symbols in /lib/modules/2.4.20-24.9jZa1.3.04/kernel/drivers/net/irda/tekram.o
depmod: irda_qos_bits_to_value_R448b8aaa
depmod: irda_task_next_state_Rfb6f0b93
depmod: irda_device_unregister_dongle_R793b70d3
depmod: irda_device_register_dongle_R54ca1713
depmod: irda_task_delete_R42e21c64
depmod: irda_task_execute_Rffaa82fe
depmod: *** Unresolved symbols in /lib/modules/2.4.20-24.9jZa1.3.04/kernel/drivers/net/irda/toshoboe.o
depmod: async_wrap_skb_Rbc711c89
depmod: irda_qos_bits_to_value_R448b8aaa
depmod: irlap_open_Rbabf1d55
depmod: irda_device_set_media_busy_Rf05264f9
depmod: irlap_close_Ra79bb638
depmod: irda_init_max_qos_capabilies_R6b043eba
depmod: irda_device_setup_Ree9e6b81
depmod: *** Unresolved symbols in /lib/modules/2.4.20-24.9jZa1.3.04/kernel/drivers/net/irda/vlsi_ir.o
depmod: async_wrap_skb_Rbc711c89
depmod: irda_qos_bits_to_value_R448b8aaa
depmod: irlap_open_Rbabf1d55
depmod: irda_device_set_media_busy_Rf05264f9
depmod: irlap_close_Ra79bb638
depmod: irda_init_max_qos_capabilies_R6b043eba
depmod: irda_device_setup_Ree9e6b81
depmod: *** Unresolved symbols in /lib/modules/2.4.20-24.9jZa1.3.04/kernel/drivers/net/irda/w83977af_ir.o
depmod: async_wrap_skb_Rbc711c89
depmod: irda_qos_bits_to_value_R448b8aaa
depmod: irlap_open_Rbabf1d55
depmod: irda_device_set_media_busy_Rf05264f9
depmod: irlap_close_Ra79bb638
depmod: setup_dma_R01485953
depmod: irda_init_max_qos_capabilies_R6b043eba
depmod: async_unwrap_char_R92e0d291
depmod: irda_device_setup_Ree9e6b81
depmod: *** Unresolved symbols in /lib/modules/2.4.20-24.9jZa1.3.04/kernel/drivers/net/ppp_deflate.o
depmod: zlib_deflateReset_R8abb5b63
depmod: zlib_deflate_workspacesize_Rf0caf44b
depmod: zlib_deflate_R28c35bd1
depmod: zlib_deflateEnd_Rcd8db61d
depmod: zlib_deflateInit2__R262f9b2a
depmod: *** Unresolved symbols in /lib/modules/2.4.20-24.9jZa1.3.04/kernel/drivers/net/wan/cyclomx.o
depmod: unregister_wan_device_R0ebe03d1
depmod: register_wan_device_R621ad29f
depmod: *** Unresolved symbols in /lib/modules/2.4.20-24.9jZa1.3.04/kernel/drivers/net/wan/wanpipe.o
depmod: unregister_wan_device_R0ebe03d1
depmod: lock_adapter_irq_R3ec9a3b1
depmod: wanrouter_encapsulate_Rdcbaadc2
depmod: wanrouter_type_trans_R8a3cd899
depmod: unlock_adapter_irq_R2038e39c
depmod: register_wan_device_R621ad29f
make[1]: Leaving directory `/usr/src/linux-2.4.20-24.9/arch/i386/boot'
--------------------------------------------------------------------------------------------------

And yes i did 'make clean'
Thanks for your help
 
Old 01-04-2004, 10:03 AM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,354

Rep: Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553
I don't know what is wrong with this kernel compile. There may be something wrong with the rpm. What I would try is to download the source from www.kernel.org and try that.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting Error After Recompiling Kernel springshades Linux - General 3 05-02-2005 04:21 AM
Kernel recompiling error on SuSE 9.1 yuun Linux - Software 2 09-12-2004 10:44 PM
error: No init found. Try passing the init= option to the Kernel neylitalo Linux - Laptop and Netbook 3 01-22-2004 09:34 PM
init not foun after recompiling kernel shadowhunter Linux - Newbie 6 09-01-2003 01:20 PM
error "Kernel panic: No init found. Try passing init= option Anauj0101 Linux - Newbie 3 05-06-2003 10:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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