Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] record problems?? no eht0
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
Bjosch
Tux's lil' helper
Tux's lil' helper


Joined: 04 Feb 2004
Posts: 148

PostPosted: Sun Apr 03, 2005 9:43 am    Post subject: [SOLVED] record problems?? no eht0 Reply with quote

Hi!!
I had lots of problems with yaboot, never got it working, even here in the forums nobody found out where the problem lied. I tried it again with the new 2005.0 on my PowerMac Dual-1,25 and I enter a real Gentoo!!! But there are two problems:
1. old: yaboot problem disappeared, don't know why, but my previous problem is solved. :-)))

Remains 2:

After all rc-update, env-update and while booting it seems to work but I get a lot of errors, always the same, just repeated:

Quote:
/var/lib/init.d/depcache: line 1: q#: command not found


while booting it is:
Quote:
/sbin/rc: line 1: q#: command not found


What does this mean and how may I fix it??

I don't know if it is because of this problem, but Gentoo does no longer find the network it discovered immediately during the installtion process. So I can not emerge anything. Not even net-setup...

Any comments are appreciated!! Thanks.

My configs are as follow:

yaboot.conf:
Quote:
boot=/dev/hda2
device=hd:
partition=4
delay 10
timeout=40
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
fgcolor=black
bgcolor=green
image=/boot/kernel-2.6.10-gentoo-r6 video=radeonfb:1280x1024@75
label=Gentoo 2.6.10-r6
root=/dev/hda4
sysmap=/boot/System.map-2.6.10-gentoo-r6
initrd=/boot/initrd-2.6.10-gentoo-r6
read-only

macosx=/dev/hda9


/etc/fstab:
Quote:
/dev/hda4 / ext3 noatime 0 1
/dev/hda3 none swap sw 0 0
/dev/hda5 /home ext3 defaults 0 0
/dev/hda6 /emporion ext3 defaults 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro,user 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
none /proc/bus/usb usbfs defaults 0 0


mac-fdisk (extract):
Quote:
/dev/hda1 Apple_partition_map Apple 31.5k Partition map
/dev/hda2 Apple_Bootstrap bootstrap 800.0k NewWorld bootblock
/dev/hda3 Apple_UNIX_SVR2 swap 512.0M Linux swap
/dev/hda4 Apple_UNIX_SVR2 Gentoo 17.0G Linux native
/dev/hda5 Apple_UNIX_SVR2 home 3.0G Linux native
/dev/hda6 Apple_UNIX_SVR2 emporion 44.0G Linux native
/dev/hda7 Apple_Free Extra 30.3M Free space
/dev/hda8 Apple_Free 128.0M Free space
/dev/hda9 Apple_HFS Apple_HFS_Untitled_5 9.9G HFS
/dev/hda10 Apple_Free 8.0k Free space



-Bjoern


Last edited by Bjosch on Thu Jun 02, 2005 6:36 am; edited 3 times in total
Back to top
View user's profile Send private message
yther
Apprentice
Apprentice


Joined: 25 Oct 2002
Posts: 151
Location: Charlotte, NC (USA)

PostPosted: Thu Apr 14, 2005 2:47 am    Post subject: Re: record problems?? no eht0 Reply with quote

Bjosch wrote:

Quote:
/var/lib/init.d/depcache: line 1: q#: command not found


while booting it is:
Quote:
/sbin/rc: line 1: q#: command not found


What does this mean and how may I fix it??


Have you examined the two files that report errors? On my system (also a G4), I see...
Code:
/sbin/rc:

#!/bin/bash
# Copyright 1999-2004 Gentoo Technologies, Inc.
#...

/var/lib/init.d/depcache:

source /sbin/functions.sh

need() {
        echo "NEED $*"; return 0
}
...


The first thing I would check is that these files are not corrupt in some way. Search both of them for the string "q#". (Neither of mine contains that sequence of characters.) If they seem ok, the problem may be in a file they reference, Bash itself, or the environment.

I don't have any good guesses right now, but that's where I'd start looking!
Back to top
View user's profile Send private message
zeekec
n00b
n00b


Joined: 24 Feb 2004
Posts: 56
Location: Athens, GA, USA

PostPosted: Thu Apr 14, 2005 2:39 pm    Post subject: Re: record problems?? no eht0 Reply with quote

Bjosch wrote:
/var/lib/init.d/depcache: line 1: q#: command not found
/sbin/rc: line 1: q#: command not found


I would check any files that you have edited. Looks like you hit "q" to close a file while editing it. (I often do this and have to delete the offending letter.)
_________________
Against stupidity the very gods
Themselves contend in vain.
-Johann Christoph Friedrich von Schiller (1801)
Back to top
View user's profile Send private message
Bjosch
Tux's lil' helper
Tux's lil' helper


Joined: 04 Feb 2004
Posts: 148

PostPosted: Fri Apr 29, 2005 8:08 am    Post subject: Reply with quote

absolutely right!!! I had not much time ultimately but today I checked some files and in /etc/make.conf and /etc/rc.conf in the first line there was a q (before the #). Now this problem is solved.
BUT ethernet still does not work, I don't know if I have to do some rc-update, I get the error:
Code:
/sbin/rc : line 109: /sbin/dhcpcd : No such file or directory
ERROR: Problem starting needed services. "netmount" was not started.

And indeed there is no such file. How do I create it or what may I do to resolve this (last?) problem?

[SORRY, PREVIOUSLY I HAD POSTED: dhcpd, I BELIEVED IT A DHCP-DAEMON, BUT NOW I CORRECTED THE POST]
Back to top
View user's profile Send private message
Bjosch
Tux's lil' helper
Tux's lil' helper


Joined: 04 Feb 2004
Posts: 148

PostPosted: Sun May 08, 2005 9:09 am    Post subject: Reply with quote

Finally I'm back to Gentoo!!!
I found some advices in the forum to resolve this problem, but nothing worked. Doing
Code:
rc-update del netmount default

reported no error message, but nothing changed. Then I tried
Code:
emerge dhcpcd

but of course it could not work- without a working eth0. As well
Code:
/etc/init.d/net.eth0 start

or
Code:
/etc/init.d/net.eth0 restart

was without result. So I copied the livecd-dhcpcd-file on my usb-stick and then into my gentoo box and IT JUST WORKS. As first thing I emerged dhcpcd new and now I can start off!
Maybe this helps to who might have the same problem.
Thanks.
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