View previous topic :: View next topic |
Author |
Message |
XK n00b
Joined: 26 Feb 2003 Posts: 59
|
Posted: Wed Feb 26, 2003 1:49 am Post subject: "Kernel panic: no init found" [new problem :(] |
|
|
hey all. i'm really trying to install gentoo! and after getting network working and everything, i've hit a wall
using the livecd i'm untarring stage3-athlon into the directory but it will go for a bit then i'll see random dma write cache failuire errors, it will copy some then show error.. ect..
Then when it ends i do the emerge sync and i get "temporary failure in name resolution rsync error. error in socket IO code10at clientserver.co(97)"
now i tried hdparm -W 0 /dev/hda to disable the write caching but i still get this error!! I dont think its my hd because i tired it in hdb and had those errors. Is it my cd?? my md5 sum was exactly the same before burning..
thanks
XK
Last edited by XK on Wed Feb 26, 2003 10:31 pm; edited 1 time in total |
|
Back to top |
|
|
slartibartfasz Veteran
Joined: 29 Oct 2002 Posts: 1462 Location: Vienna, Austria
|
Posted: Wed Feb 26, 2003 3:26 pm Post subject: |
|
|
did u check your memory too? - maybe theres an error there... _________________ To an engineer the glass is neither half full, nor half empty - it is just twice as big as it needs to be. |
|
Back to top |
|
|
rtn Guru
Joined: 15 Nov 2002 Posts: 427
|
Posted: Wed Feb 26, 2003 3:36 pm Post subject: |
|
|
Failure in name resolution would point me to /etc/resolv.conf. Have
you checked that it exists and contains valid nameservers?
As for the DMA errors, you can try disabling DMA to see if that helps.
Code: | hdparm -d 0 /dev/hda |
--rtn |
|
Back to top |
|
|
XK n00b
Joined: 26 Feb 2003 Posts: 59
|
Posted: Wed Feb 26, 2003 3:58 pm Post subject: |
|
|
i will try that and let you know
i'm reburning the liveCD at 8x (maybee the cd was messed up)
the md5 checked and was exactly the same so nothing wrong with the image.. |
|
Back to top |
|
|
XK n00b
Joined: 26 Feb 2003 Posts: 59
|
Posted: Wed Feb 26, 2003 5:56 pm Post subject: |
|
|
ok i got past that but now i'm stuck at creatingthe BZImage right before compiling. I did my settings and use
make dep && make clean bzImage modules modules_install
that does ok untill the final line i see "bash: clean: command not found"
now after that when i do compile
cp /usr/src/linux/arch/i386/boot/bzImage /boot
it s ays there is no such file or directory! its not creating the bzImage in there. what do i do? plz help its on right now and i want to finish this
thanks in advance |
|
Back to top |
|
|
rtn Guru
Joined: 15 Nov 2002 Posts: 427
|
Posted: Wed Feb 26, 2003 6:49 pm Post subject: |
|
|
Hmm. Are you sure you typed it in correctly?
Code: | cd /usr/src/linux
make dep && make clean bzImage modules moduels_install |
The reason I ask is that bash is complaining that it can't find 'clean'. However,
you aren't trying to run 'clean', you're using clean as a target for make, which
should just reference the Makefile.
You do have kernel sources in /usr/src/linux, right?
--rtn |
|
Back to top |
|
|
XK n00b
Joined: 26 Feb 2003 Posts: 59
|
Posted: Wed Feb 26, 2003 10:31 pm Post subject: |
|
|
thanks yea i got past that part. but after trying to setup Grub i would get "cci warning -malign-loops obsolete" so i installed Lilo and rebooted for the first time.
i thought i had everything working and when i rebooted i recieved "Kernel panic: no init found. try passing init=option to kernel."
doh.. what a slap in the face I have no idea what to do now. gentoo has really frustrated me. any ideas?? i searched forum and someone else had the problem but they fixed it buy installing grub. well it wont let me install grub because even with the stag1 and stage2 files there i get the file not found errors.. |
|
Back to top |
|
|
ravenq Apprentice
Joined: 19 Feb 2003 Posts: 161
|
Posted: Wed Feb 26, 2003 10:42 pm Post subject: |
|
|
So can you get into the system at all at the moment (even with chroot)? Also, post your lilo.conf file and partition layout (found from fdisk) and we'll see what we can find. _________________ --
The Game is Nothing,
the Playing of it Everything. |
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Wed Feb 26, 2003 11:07 pm Post subject: |
|
|
Check out how neotux fixed this in another thread (it's not always the fix. but I found it interesting.)
Regards,
BonezTheGoon |
|
Back to top |
|
|
XK n00b
Joined: 26 Feb 2003 Posts: 59
|
Posted: Thu Feb 27, 2003 12:22 am Post subject: |
|
|
ok i did fdisk /mbr and redid lilo and guess what i dont get that error anymore tried grub again and that wasnt working.. I guess i missed something in the original lilo config.
but ofcourse i have yet another problem.. (yay i know.. i'm a stupid noob)
OK so i got in using the root login and my password ok but my network wasnt working my nic is a realtek 8139), and i remember adding this card in the config right before compiling. Now when i do the modprobe 8139too it cant locate the module. So where can i find this module? (8139too) I cant use the net to download directly. where can i find it and put it in a floppy or something?
thanks |
|
Back to top |
|
|
ravenq Apprentice
Joined: 19 Feb 2003 Posts: 161
|
Posted: Thu Feb 27, 2003 12:24 am Post subject: |
|
|
You did compile it is as a module didn't you? Do a "dmesg|grep eth" and see what the output is, if you see something with 'eth0' in it, then the card is probably already set up. _________________ --
The Game is Nothing,
the Playing of it Everything. |
|
Back to top |
|
|
XK n00b
Joined: 26 Feb 2003 Posts: 59
|
Posted: Thu Feb 27, 2003 12:52 am Post subject: |
|
|
problem was my eth1 card, was set to eth0 after the compile and all my settings were set to eth1 and i had no idea about this. so docman in IRC helped me out
now thats done.. phew..
moving to the desktop guide.. wish me luck
thanks everyone for helping here & in IRC. sorry for the trouble |
|
Back to top |
|
|
ravenq Apprentice
Joined: 19 Feb 2003 Posts: 161
|
Posted: Thu Feb 27, 2003 12:54 am Post subject: |
|
|
Good luck _________________ --
The Game is Nothing,
the Playing of it Everything. |
|
Back to top |
|
|
|