»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 07-27-2003, 10:00 PM   #1 (permalink)
Registered User
 
Join Date: Oct 2001
Location: NC in the US
Posts: 3,732
Redwolf is on a distinguished road
Send a message via ICQ to Redwolf Send a message via AIM to Redwolf Send a message via Yahoo to Redwolf
Oh great masters of the Linux! I plead to you (aka another distro, another problem)

I can just hear the groanings going on out there. "*GROAN* He got ANOTHER one? Why can't he just be happy with ONE distro?!?!?"). Two reasons: 1) I can't find one that I like, and 2) I want to try as many distros as I can so I know what's out there. I have quite a library of Linux ISOs now.

So what's today's distro for Redwolf? Gentoo

Stop your complaining! I know what I'm doing! (<-famous last words) Well, okay, so...maybe I don't. That's what TIMO is for!!!! MUAHAHAHAHAHAHAHA--*err-hem* yeah.

Okay, here's Red's problem of the day: It won't boot!

I did everything the instructions on www.gentoo.org said to do. To the letter. The kernel compiled sucsesfully (found out why it reversed my controllers too even! Okay, so here's the message I get. It loads up jsut fine, then when it gets to init, it goes crazy fast and stops as it displays:

INIT: Can't find "/sbin/agetty"
....Displays about 20 times...
INIT: c1 went too fast. Disabled for 5 minutes (not exact message, will haveta reboot and write it down)
"c2"
"c3"
"c4"
"c5"
"c6"
INIT: Nothing left in runlevel to do.

Then it locks up. If I press Ctrl+C, nothing happens. If I press Ctrl+Alt+Del, it displays "INIT: Cannot find "/sbin/halt"".

When I load the liveCD and mount the drive, I look in the sbin directory and see that the files are there (agetty and halt).

I did a stage 2 install, flags of -03 -mcpu=atholon-xp -pipe(something, can't remember what) set in portage (great app BTW). Something's not working right (duh), and I get the feeling it has something to do with the kernel options I chose (don't know what tho...).

Specs:

MSI KT4V mobo (KT400/VT8235)
Atholon XP 1700+
Sil 680-based ATA 133 controller (works with Gentoo, yay!)
SB Live!
20 GB Maxtor drive (with linux, on the Sil680 board, recognized as /dev/hda)
20 GB WDC drive (with Windows, recognized as /dev/hde under linux)
80 GB Seagate drive (my stuff drive (FAT32), recognized as /dev/hdf under linux)


NOTE: I don't want to fix the drive lettering quite yet, as I know how to do that yet. I can apparently load the kernel just fine the way it is now.

Redwolf is offline   Reply With Quote
Old 07-28-2003, 03:15 AM   #2 (permalink)
Registered User
 
Join Date: Oct 2001
Location: australia
Posts: 444
KraM is on a distinguished road
It can't find agetty and halt. I'd say you passed the wrong partition in the root= option to the kernel in your bootloader or you didn't run emerge system before you rebooted...

Anyway I'd suggest posting your problem on the gentoo forums (forums.gentoo.org)...
KraM is offline   Reply With Quote
Old 07-28-2003, 11:55 AM   #3 (permalink)
Registered User
 
Join Date: Oct 2001
Location: NC in the US
Posts: 3,732
Redwolf is on a distinguished road
Send a message via ICQ to Redwolf Send a message via AIM to Redwolf Send a message via Yahoo to Redwolf
I did run an emerge system before I booted and I did pass the right root= option. I fixed the problem, can't remember exactly how now. I think I had some really wierd setting in my fstab. Oh well, it's hostory now. Now I have another issue. For my next trick, I will post the contents of /var/log/everything/current:

Code:
Jul 28 12:16:01 [modprobe] modprobe: Can't locate module ...
Jul 28 12:16:01 [dhcpcd] dhcpStart: ioctl SIOCGIFHWADDR: No such device 
Jul 28 12:16:01 [rc-scripts] Failed to bring eth0 up
Jul 28 12:16:01 [rc-scripts] ERROR:  Problem starting needed services.
Jul 28 12:16:01 [rc-scripts] "netmount" was not started.
Jul 28 12:16:01 [cron] (CRON) STARTUP (fork ok) 
Jul 28 12:16:24 [login(pam_unix)] session opened for user root by (uid=0)
Jul 28 12:30:00 [CRON] (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons ) 
Jul 28 12:30:33 [dhcpcd] dhcpStart: ioctl SIOCGIFHWADDR: No such device 
Jul 28 12:30:36 [dhcpcd] dhcpStart: ioctl SIOCGIFHWADDR: No such device 
Jul 28 12:31:46 [init] Switching to runlevel: 6
Jul 28 12:32:58 [modprobe] modprobe: Can't locate module ...
Jul 28 12:32:58 [dhcpcd] dhcpStart: ioctl SIOCGIFHWADDR: No such device 
Jul 28 12:32:58 [rc-scripts] Failed to bring eth0 up
Jul 28 12:32:58 [rc-scripts] ERROR:  Problem starting needed services.
Jul 28 12:32:58 [rc-scripts] "netmount" was not started.
Jul 28 12:32:59 [cron] (CRON) STARTUP (fork ok) 
Jul 28 12:33:11 [login(pam_unix)] authentication failure; logname= uid=0 euid=0 tty=/dev/vc/1 ruser= rhost=  user=root
Jul 28 12:33:11 [login] FAILED LOGIN 1 FROM /dev/vc/1 FOR root, Authentication failure
Jul 28 12:33:19 [login(pam_unix)] session opened for user root by (uid=0)
Jul 28 12:35:03 [init] Switching to runlevel: 1
Jul 28 13:02:37 [kernel] uhci.c: USB UHCI at I/O 0xd000, IRQ 21
Jul 28 13:02:37 [dhcpcd] dhcpStart: ioctl SIOCGIFHWADDR: No such device 
Jul 28 13:02:37 [rc-scripts] Failed to bring eth0 up
Jul 28 13:02:37 [rc-scripts] ERROR:  Problem starting needed services.
Jul 28 13:02:37 [rc-scripts] "netmount" was not started.
Jul 28 13:02:38 [cron] (CRON) STARTUP (fork ok) 
Jul 28 13:02:52 [login(pam_unix)] check pass; user unknown
Jul 28 13:02:52 [login(pam_unix)] authentication failure; logname= uid=0 euid=0 tty=/dev/vc/1 ruser= rhost= 
Jul 28 13:02:52 [login] FAILED LOGIN 1 FROM /dev/vc/1 FOR UNKNOWN, Authentication failure
Jul 28 13:03:01 [login(pam_unix)] session opened for user root by (uid=0)
Jul 28 13:06:03 [init] Switching to runlevel: 6
Jul 28 13:26:30 [dhcpcd] dhcpStart: ioctl SIOCGIFHWADDR: No such device 
Jul 28 13:26:30 [rc-scripts] Failed to bring eth0 up
Jul 28 13:26:30 [rc-scripts] ERROR:  Problem starting needed services.
Jul 28 13:26:30 [rc-scripts] "netmount" was not started.
Jul 28 13:26:30 [cron] (CRON) STARTUP (fork ok) 
Jul 28 13:27:03 [login(pam_unix)] authentication failure; logname= uid=0 euid=0 tty=/dev/vc/1 ruser= rhost=  user=root
Jul 28 13:27:03 [login] FAILED LOGIN 1 FROM /dev/vc/1 FOR root, Authentication failure
Jul 28 13:27:11 [login(pam_unix)] session opened for user root by (uid=0)
Jul 28 13:27:27 [dhcpcd] dhcpStart: ioctl SIOCGIFHWADDR: No such device 
Jul 28 13:29:23 [init] Switching to runlevel: 6
If you can't tell, my problem is this:

Jul 28 13:26:30 [rc-scripts] Failed to bring eth0 up
Jul 28 13:26:30 [rc-scripts] ERROR: Problem starting needed services.
Jul 28 13:26:30 [rc-scripts] "netmount" was not started.

So I have no network. Oh joy. I built my NIC driver (the Via-Rhine one) into the kernel. This one has me stumped and I may post to forums.gentoo.org if I can't get it fixed by tonight. If you need any files posted I'm happy to oblige.
Redwolf is offline   Reply With Quote
Old 07-28-2003, 12:53 PM   #4 (permalink)
Registered User
 
nukes's Avatar
 
Join Date: Oct 2002
Location: Scotland, UK
Posts: 2,946
nukes is on a distinguished road
Send a message via AIM to nukes Send a message via Yahoo to nukes
Are you doing it by DHCP or static address?
Did you let it merge all the config files in /etc that it wanted, this can be a bad idea as half the time it will overwrite things like fstab, make.conf and almost any other file you need.
Try editing /etc/conf.d/net and check all your settings are still there, also check /etc/hostname and anything else in /etc that you have edited manually.
__________________
_____
NuKeS
nukes is offline   Reply With Quote
Old 07-28-2003, 01:47 PM   #5 (permalink)
Registered User
 
Join Date: Oct 2001
Location: NC in the US
Posts: 3,732
Redwolf is on a distinguished road
Send a message via ICQ to Redwolf Send a message via AIM to Redwolf Send a message via Yahoo to Redwolf
I let it merge /etc, but I waited until after that to start messing with the files. My changes to /etc/hostname still stand. I may want to go redo localdomain, since I don't know if that stuck or not.

I'm doing it by DHCP, since I use a Linksys Router.
Redwolf is offline   Reply With Quote
Old 07-28-2003, 01:50 PM   #6 (permalink)
Registered User
 
Join Date: Oct 2001
Location: NC in the US
Posts: 3,732
Redwolf is on a distinguished road
Send a message via ICQ to Redwolf Send a message via AIM to Redwolf Send a message via Yahoo to Redwolf
Oh ya, I'm using rc4 with the gentoo-sources kernel.
Redwolf is offline   Reply With Quote
Old 07-29-2003, 06:22 PM   #7 (permalink)
Registered User
 
Join Date: Oct 2001
Location: NC in the US
Posts: 3,732
Redwolf is on a distinguished road
Send a message via ICQ to Redwolf Send a message via AIM to Redwolf Send a message via Yahoo to Redwolf
Okay, fixed it. I wasn't mounting my /boot partiton so I wasn't replacing my kernel
Redwolf is offline   Reply With Quote
Old 07-30-2003, 05:31 AM   #8 (permalink)
Registered User
 
nukes's Avatar
 
Join Date: Oct 2002
Location: Scotland, UK
Posts: 2,946
nukes is on a distinguished road
Send a message via AIM to nukes Send a message via Yahoo to nukes
lol, I've done that before, but its quite a good security feature as the GRUB config file is also stored in /boot and means nobody can screw with your boot process unless they get to your machine physically.
__________________
_____
NuKeS
nukes is offline   Reply With Quote
Old 07-31-2003, 10:10 AM   #9 (permalink)
Registered User
 
Join Date: Oct 2001
Location: NC in the US
Posts: 3,732
Redwolf is on a distinguished road
Send a message via ICQ to Redwolf Send a message via AIM to Redwolf Send a message via Yahoo to Redwolf
wee it works now!
Redwolf is offline   Reply With Quote
Old 08-01-2003, 02:48 PM   #10 (permalink)
Registered User
 
nukes's Avatar
 
Join Date: Oct 2002
Location: Scotland, UK
Posts: 2,946
nukes is on a distinguished road
Send a message via AIM to nukes Send a message via Yahoo to nukes
Gentoo is definatley my fave distro ATM. Net based package installer, and compiling from source with really funky CFLAGS. Don't believe the docs, Compiling with -O4 works fine with most things as well, and speeds it all up a bit more. However, with GCC3.3, lots of programs won't compile anymore (most notably the kernel) as it is getting further into standard-compliance, but once everythings fixed, we get SSE instructions! Wee. Then I'll have to build everything again though.
__________________
_____
NuKeS
nukes is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 01:35 AM.