Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] gentoo-sources-2.6.12.x PPC64: device-tree broken
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
bruda
Guru
Guru


Joined: 06 May 2004
Posts: 376
Location: Sherbrooke, QC, Canada

PostPosted: Tue Aug 23, 2005 9:33 pm    Post subject: [solved] gentoo-sources-2.6.12.x PPC64: device-tree broken Reply with quote

Hi,

This is by now a third version of the 2.6.12 kernel (gentoo-sources, stable ppc64) which features a /proc/device-tree broken. The problem manifests itself when ofpath is called. The following is the result of running ybin:
Code:
ybin: Finding OpenFirmware device path to `/dev/sda2'...
ofpath: /proc/device-tree is broken.  Do not use BootX to boot, use yaboot.
ofpath: The yaboot HOWTO can be found here: http://www.alaska.net/~erbenson/doc
ybin: Unable to find OpenFirmware path for boot=/dev/sda2
ybin: Please add ofboot=<path> where <path> is the OpenFirmware path to /dev/sda2 to /etc/yaboot.conf
ybin: Finding OpenFirmware device path to `/dev/sda11'...
ofpath: /proc/device-tree is broken.  Do not use BootX to boot, use yaboot.
ofpath: The yaboot HOWTO can be found here: http://www.alaska.net/~erbenson/doc
ybin: Unable to determine OpenFirmware path for macosx=/dev/sda11
ybin: Try specifying the real OpenFirmware path for macosx=/dev/sda11 in /etc/yaboot.conf

It all happens on a dual 2GHz G5 (PowerMac7,2). gentoo-sources-2.6.11-r8 works without a hitch and the configuration of the 2.6.12 series is copied from the 2.6.11 one so I do not think it is a matter of configuration. Is this a known problem, and most importantly is there a fix?

Do not hesitate to ask if you need any more information on the matter. Incidentally, note that the said 2.6.12 series works flawlessly on my PPC32 machines, it's just the PPC64 that is not happy.

Thanks,
Stefan
_________________
Quid latine dictum sit altum videtur


Last edited by bruda on Wed Aug 24, 2005 5:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
corsair
Retired Dev
Retired Dev


Joined: 06 Oct 2003
Posts: 451
Location: Aachen, Germany

PostPosted: Wed Aug 24, 2005 7:12 am    Post subject: Reply with quote

I am running 2.6.12* kernels since they are out and don't have such problems. and so I marked them stable on ppc64. If you have a problem the please report it as soon as possible and not weeks later (bugs.gentoo.org).

I am currently somehow clueless what could trigger your problem. Can you please upload your kernel config somewhere?
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Wed Aug 24, 2005 7:25 am    Post subject: Reply with quote

found this, looks like a yaboot bug:
http://lists.penguinppc.org/yaboot-devel/2005/yaboot-devel-200506/msg00055.html

hope that helps a bit ;)

cheers
Back to top
View user's profile Send private message
bruda
Guru
Guru


Joined: 06 May 2004
Posts: 376
Location: Sherbrooke, QC, Canada

PostPosted: Wed Aug 24, 2005 1:48 pm    Post subject: Reply with quote

gringo wrote:
found this, looks like a yaboot bug:
http://lists.penguinppc.org/yaboot-devel/2005/yaboot-devel-200506/msg00055.html

Looks promising, will try as soon as I can. Thank you for the hint.
_________________
Quid latine dictum sit altum videtur
Back to top
View user's profile Send private message
bruda
Guru
Guru


Joined: 06 May 2004
Posts: 376
Location: Sherbrooke, QC, Canada

PostPosted: Wed Aug 24, 2005 5:02 pm    Post subject: Reply with quote

That was it, no problem with the kernel instead the culprit is ofpath. Thanks once more for the help.
_________________
Quid latine dictum sit altum videtur
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Wed Aug 24, 2005 7:02 pm    Post subject: Reply with quote

glad it worked ;)

cheers
Back to top
View user's profile Send private message
Frijole
n00b
n00b


Joined: 10 Dec 2004
Posts: 3

PostPosted: Fri Sep 30, 2005 4:41 pm    Post subject: Reply with quote

Sorry, I'm a little slow.


What was the "fix"?

The ofpath on the box we have looks just like the "fixed" one, yet we still have problems...
Back to top
View user's profile Send private message
bruda
Guru
Guru


Joined: 06 May 2004
Posts: 376
Location: Sherbrooke, QC, Canada

PostPosted: Fri Sep 30, 2005 6:46 pm    Post subject: Reply with quote

Frijole wrote:
What was the "fix"?

The fix for me was the patch mentioned above (the erasure of those lines from the sd*) case).
Frijole wrote:
The ofpath on the box we have looks just like the "fixed" one, yet we still have problems...

I believe there are two sd*) lines in ofpath, make sure you are looking at the right one. Other than this, I have no idea, it works well for me.
_________________
Quid latine dictum sit altum videtur
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