Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
boots okay, with help, but still have some questions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
prairie_dad
n00b
n00b


Joined: 02 Aug 2007
Posts: 68
Location: Denver, CO

PostPosted: Fri Aug 03, 2007 1:29 pm    Post subject: boots okay, with help, but still have some questions Reply with quote

So, 2007.0 is up and limping on g4-7450. But, even though yaboot.conf says to boot from hd:4 with kernel in path /boot/kernel-2.6.19-gentoo-r5, the machine persists in trying to boot from hd:3,/vmlinux, so I have to enter the proper kernel by hand. not fatal, but a nuisance... Where's the solution? That is, where else does the system look for where to boot from? /dev/hda3 is swap, and labeled as such in /etc/fstab, so why does yaboot look there?

Also, date is perpetually reset to 1970, so I get the "date somewhere in /etc/conf.d, init.d or rc.conf is in the future..." I have reset the clock file (forget where it is, /etc/clock or the like, I'm not at the machine now) but that doesn't do it. Obviously, either I've got a write permissions problem (though I know I had su'ed at the time) or the file I'm fixing isn't the one that's being looked at when the system boots....oh, I suppose it could be the PRAM battery...duh.

finally (for now) do I need to have dhcpcd running if I have no networking for now? And will it cause any trouble once it times out? I won't be on a wired connection on this machine for a long time (or on any connection if I can't get the rt2x00 drivers going...) and I don't know if dhcpcd is needed by wireless anyway... If I _can_ turn it off, at least for now, where do I do that?

many thanks,
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Aug 03, 2007 8:27 pm    Post subject: Reply with quote

Quote:

So, 2007.0 is up and limping on g4-7450. But, even though yaboot.conf says to boot from hd:4 with kernel in path /boot/kernel-2.6.19-gentoo-r5, the machine persists in trying to boot from hd:3,/vmlinux, so I have to enter the proper kernel by hand. not fatal, but a nuisance... Where's the solution? That is, where else does the system look for where to boot from? /dev/hda3 is swap, and labeled as such in /etc/fstab, so why does yaboot look there?

After changing yaboot.conf, you must run ybin -v to save these changes to the bootstrap partition.

Quote:

Also, date is perpetually reset to 1970, so I get the "date somewhere in /etc/conf.d, init.d or rc.conf is in the future..." I have reset the clock file (forget where it is, /etc/clock or the like, I'm not at the machine now) but that doesn't do it. Obviously, either I've got a write permissions problem (though I know I had su'ed at the time) or the file I'm fixing isn't the one that's being looked at when the system boots....oh, I suppose it could be the PRAM battery...duh.

It could be the PRAM battery, but try saving to the hardware clock manually to be sure. Set the clock properly first, then run "hwclock --systohc" to write the current time to the hardware clock. If the system still won't keep the date on a reboot, then you need a new PRAM battery.

Quote:

finally (for now) do I need to have dhcpcd running if I have no networking for now? And will it cause any trouble once it times out? I won't be on a wired connection on this machine for a long time (or on any connection if I can't get the rt2x00 drivers going...) and I don't know if dhcpcd is needed by wireless anyway... If I _can_ turn it off, at least for now, where do I do that?

Either tell the init scripts not to setup your wired connection or set the timeout to something lower, like a second. You can set the timeout in your net configuration file (/etc/conf.d/net) or you can tell the init scripts that you don't care about connecting network devices on startup in rc (/etc/conf.d/rc) with the option RC_STRICT_NET_CHECKING.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
prairie_dad
n00b
n00b


Joined: 02 Aug 2007
Posts: 68
Location: Denver, CO

PostPosted: Fri Aug 03, 2007 8:41 pm    Post subject: I'll give these all a try Reply with quote

Many thanks, Jose,

I'll try these tonight.
Back to top
View user's profile Send private message
prairie_dad
n00b
n00b


Joined: 02 Aug 2007
Posts: 68
Location: Denver, CO

PostPosted: Sat Aug 04, 2007 2:50 am    Post subject: closer...closer...all I n eed now is wireless Reply with quote

okay, I don't need a new battery, hwclock command worked fine. Ditto for getting proper location of kernel on hd:4 etc. Many thanks.

Now it's on to wireless. I've compiled the latest rt2570 module from serialmonkey website, and it now shows up when I do iwconfig. Device name is rausb0. Is this a problem? Seems to be that somewhere I have told it to look for eth0...Obviously I have a working set of wireless-tools, or I'd have no iwconfig. But I see zero signal strength...no ESSID, etc. So I am clearly not all the way there.

Do I need to recompile the kernel? (I think not, if I have rt2570 as a module.)

I imagine I have changes to make to various conf.d files, also rc, but it is never clear which is critical and which not...

Of course, I still expect this to fail at some point, wireless seems a real downfall of Linux still....or?
Back to top
View user's profile Send private message
prairie_dad
n00b
n00b


Joined: 02 Aug 2007
Posts: 68
Location: Denver, CO

PostPosted: Sun Aug 05, 2007 9:50 pm    Post subject: now online (wired!) Reply with quote

Well, I've given up for now on the wireless option. Have set up in basement, between water heater and water softener, and am connected directly to the router.

emerged usbutils and can now lsusb to dongle, at least, which is identified correctly. That's a start. Hope I can still manage .... to get out of the basement.

rsync'ed and am now running a 60 package emerge --update --deep --newuse world to get a clean start...

some desktop next...what do you use? I've used xfce on a slow Pentium III with 256 meg RAM, but with PPC G4 733 maybe I can go faster, I have a gig of RAM there. Any thoughts?

thanks and regards
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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