Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"Kernel panic: no init found" [new problem :(]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
XK
n00b
n00b


Joined: 26 Feb 2003
Posts: 59

PostPosted: Wed Feb 26, 2003 1:49 am    Post subject: "Kernel panic: no init found" [new problem :(] Reply with quote

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
View user's profile Send private message
slartibartfasz
Veteran
Veteran


Joined: 29 Oct 2002
Posts: 1462
Location: Vienna, Austria

PostPosted: Wed Feb 26, 2003 3:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
rtn
Guru
Guru


Joined: 15 Nov 2002
Posts: 427

PostPosted: Wed Feb 26, 2003 3:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
XK
n00b
n00b


Joined: 26 Feb 2003
Posts: 59

PostPosted: Wed Feb 26, 2003 3:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
XK
n00b
n00b


Joined: 26 Feb 2003
Posts: 59

PostPosted: Wed Feb 26, 2003 5:56 pm    Post subject: Reply with quote

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 :cry:

thanks in advance :)
Back to top
View user's profile Send private message
rtn
Guru
Guru


Joined: 15 Nov 2002
Posts: 427

PostPosted: Wed Feb 26, 2003 6:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
XK
n00b
n00b


Joined: 26 Feb 2003
Posts: 59

PostPosted: Wed Feb 26, 2003 10:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
ravenq
Apprentice
Apprentice


Joined: 19 Feb 2003
Posts: 161

PostPosted: Wed Feb 26, 2003 10:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
BonezTheGoon
Bodhisattva
Bodhisattva


Joined: 14 Jun 2002
Posts: 1408
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

PostPosted: Wed Feb 26, 2003 11:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
XK
n00b
n00b


Joined: 26 Feb 2003
Posts: 59

PostPosted: Thu Feb 27, 2003 12:22 am    Post subject: Reply with quote

ok i did fdisk /mbr and redid lilo and guess what i dont get that error anymore :D 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
View user's profile Send private message
ravenq
Apprentice
Apprentice


Joined: 19 Feb 2003
Posts: 161

PostPosted: Thu Feb 27, 2003 12:24 am    Post subject: Reply with quote

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
View user's profile Send private message
XK
n00b
n00b


Joined: 26 Feb 2003
Posts: 59

PostPosted: Thu Feb 27, 2003 12:52 am    Post subject: Reply with quote

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 :oops:
Back to top
View user's profile Send private message
ravenq
Apprentice
Apprentice


Joined: 19 Feb 2003
Posts: 161

PostPosted: Thu Feb 27, 2003 12:54 am    Post subject: Reply with quote

Good luck :D
_________________
--
The Game is Nothing,
the Playing of it Everything.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum