Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel requires strange boot arguments to ensure booting
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
tarkus
n00b
n00b


Joined: 08 Jul 2004
Posts: 27

PostPosted: Thu Jan 06, 2005 2:11 am    Post subject: Kernel requires strange boot arguments to ensure booting Reply with quote

I'm running "Linux 42 2.6.9-gentoo-r9 #4 Sun Jan 2 21:40:14 PST 2005 ppc 7455, altivec supported PowerMac3,1 GNU/Linux" and to boot I must pass a rather odd chain of arguments to yaboot. I have to pass "video=ofonly video=none" to the kernel (yes, both of them - either one individually fails.) and these can't be placed in the yaboot.conf file. They must be specified on the command line within the bootloader. It's rather annoying to have to type them every time I want to boot - why could this be? It seems rather strange that it needs two video= arguments...
Thanks!
Back to top
View user's profile Send private message
SnEptUne
l33t
l33t


Joined: 23 Aug 2004
Posts: 653

PostPosted: Thu Jan 06, 2005 8:37 am    Post subject: Reply with quote

I think recompling your kernel with your framebuffer device should solve your problem, unless you don't want fbdev at all. By the way, what is your video card?
_________________
"There will be more joy in heaven over the tear-bathed face of a repentant sinner than over the white robes of a hundred just men." (LM, 114)
Back to top
View user's profile Send private message
tarkus
n00b
n00b


Joined: 08 Jul 2004
Posts: 27

PostPosted: Fri Jan 07, 2005 1:38 am    Post subject: Reply with quote

Oops. Turned out I had the wrong kernel module for my video card - I can't reboot right now, but next time I do I'll see if it fixes the problem. Thanks.
Back to top
View user's profile Send private message
tarkus
n00b
n00b


Joined: 08 Jul 2004
Posts: 27

PostPosted: Fri Jan 07, 2005 3:16 am    Post subject: Reply with quote

It's a GeForce 3, by the way.
Back to top
View user's profile Send private message
SnEptUne
l33t
l33t


Joined: 23 Aug 2004
Posts: 653

PostPosted: Fri Jan 07, 2005 4:03 am    Post subject: Reply with quote

Okay, I just want to make sure your video card is supported. GeForce is well supported, unlike my IMS TwinTurbo video card.
_________________
"There will be more joy in heaven over the tear-bathed face of a repentant sinner than over the white robes of a hundred just men." (LM, 114)
Back to top
View user's profile Send private message
tarkus
n00b
n00b


Joined: 08 Jul 2004
Posts: 27

PostPosted: Tue Jan 11, 2005 3:11 pm    Post subject: Reply with quote

I enabled the appropriate video driver, and still it needs those arguments to boot (most of the time). Sometimes it crashes after something along these lines: (don't remember it word-for-word)
Using unsupported framebuffer NVDA,NVMac at (hex addr) depth 8 size 640x480
fb0: OpenFirmware color framebuffer device at (hex addr)

And then it just hangs. If I don't include the two video= arguments, the screen goes blank completely. By putting them both on, it boots (sometimes, not always)

Strange...
Back to top
View user's profile Send private message
SnEptUne
l33t
l33t


Joined: 23 Aug 2004
Posts: 653

PostPosted: Wed Jan 12, 2005 8:20 am    Post subject: Reply with quote

I had similar problem before. It is the video driver problem. Have you turn off the other video drivers? I head that in some suitations, having other video driver complied in (or as modules) could confuse the kernels.

If it still doesn't solve the problem, I guess the video driver for GeForce for ppc is broken for your kernel version. In that case, I guess you would have to use ofonly and video=none as boot argument. You don't have to enter those argument every time though. You can set them as the default kernel argument under "Platform options" within the kernel configuration.
_________________
"There will be more joy in heaven over the tear-bathed face of a repentant sinner than over the white robes of a hundred just men." (LM, 114)
Back to top
View user's profile Send private message
tarkus
n00b
n00b


Joined: 08 Jul 2004
Posts: 27

PostPosted: Fri Jan 14, 2005 1:58 am    Post subject: Reply with quote

I can no longer boot Linux. Both my new kernel and my last (known working) one will boot and then crash on finding the framebuffer. I then popped in the LiveCD and found that it crashes too upon trying to boot. The error for my homebrew kernels is the one I mentioned earlier -
Quote:
Using unsupported framebuffer NVDA,NVMac at (hex addr) depth 8 size 640x480
fb0: OpenFirmware color framebuffer device at (hex addr)


Would the exact error be useful? Any other things to try?
Back to top
View user's profile Send private message
SnEptUne
l33t
l33t


Joined: 23 Aug 2004
Posts: 653

PostPosted: Mon Jan 17, 2005 12:52 am    Post subject: Reply with quote

Does it crash if you don't use frame buffer device at all? I believe there is an option to disable framebuffer on the LiveCd.
_________________
"There will be more joy in heaven over the tear-bathed face of a repentant sinner than over the white robes of a hundred just men." (LM, 114)
Back to top
View user's profile Send private message
tarkus
n00b
n00b


Joined: 08 Jul 2004
Posts: 27

PostPosted: Mon Jan 17, 2005 2:34 am    Post subject: Reply with quote

The x86 LiveCD has the -nofb kernel variants, but I couldn't find a similar option for the ppc LiveCD. What are you referring to?
Back to top
View user's profile Send private message
tarkus
n00b
n00b


Joined: 08 Jul 2004
Posts: 27

PostPosted: Mon Jan 17, 2005 2:42 am    Post subject: Reply with quote

Additionally, I just discovered that "video=nvidiafb" causes the LiveCD to boot (although not the installed system) but then right when init should spawn a getty, it spews a message along the lines of "vt: augh, driver data is null!"

Then, whenever I press a key, a line is printed which starts with evbug.c: and includes the usb device that the event came from along with the scancode for the key I pressed. I can't log in - the autologon failed and I don't know the livecd password (obviously)...
Back to top
View user's profile Send private message
SnEptUne
l33t
l33t


Joined: 23 Aug 2004
Posts: 653

PostPosted: Mon Jan 17, 2005 6:48 am    Post subject: Reply with quote

tarkus wrote:
The x86 LiveCD has the -nofb kernel variants, but I couldn't find a similar option for the ppc LiveCD. What are you referring to?


oh, I meant to boot the LiveCD withh video=no or video=ofonly options. My PPC is too old for LiveCD, but I guess you can still specific boot options on the NewWorld PPC LiveCD. I will buy a Mac soon (probably on February), so maybe I can test it out then.

Have you tried another LiveCD? Sometimes, newer LiveCDs have their problems.
_________________
"There will be more joy in heaven over the tear-bathed face of a repentant sinner than over the white robes of a hundred just men." (LM, 114)
Back to top
View user's profile Send private message
tarkus
n00b
n00b


Joined: 08 Jul 2004
Posts: 27

PostPosted: Mon Jan 17, 2005 6:54 am    Post subject: Reply with quote

It takes a couple of hours to download the stupid CDs, so I'll try one tomorrow morning...

I tried the cd with video=none and video=ofonly with less than stellar results...
Back to top
View user's profile Send private message
tarkus
n00b
n00b


Joined: 08 Jul 2004
Posts: 27

PostPosted: Tue Jan 18, 2005 5:49 pm    Post subject: Reply with quote

The PPC 2004.3 LiveCD works fine, thankfully. I booted up and compiled a kernel with no framebuffer support at all, and that just caused the kernel to crash even earlier in the bootup process (right after the bold white text which comes from OpenFirmware before the kernel initializes its video drivers)


At least I can try new kernels, though. Any ideas? I still can't get my 'real' kernel to boot...
Back to top
View user's profile Send private message
tarkus
n00b
n00b


Joined: 08 Jul 2004
Posts: 27

PostPosted: Fri Jan 21, 2005 3:05 pm    Post subject: Reply with quote

I hate to bump this, but I have an unbootable system and no clue where to go from here... should I start a new topic?
Back to top
View user's profile Send private message
SnEptUne
l33t
l33t


Joined: 23 Aug 2004
Posts: 653

PostPosted: Sat Jan 22, 2005 3:11 am    Post subject: Reply with quote

Can you boot with the LiveCD and mount your partitions? Maybe you should chroot into the installation environment and compile another kernel?
_________________
"There will be more joy in heaven over the tear-bathed face of a repentant sinner than over the white robes of a hundred just men." (LM, 114)
Back to top
View user's profile Send private message
tarkus
n00b
n00b


Joined: 08 Jul 2004
Posts: 27

PostPosted: Sat Jan 22, 2005 5:30 am    Post subject: Reply with quote

Yes, I did, to no avail (with or without framebuffer support)
Back to top
View user's profile Send private message
tarkus
n00b
n00b


Joined: 08 Jul 2004
Posts: 27

PostPosted: Sun Jan 23, 2005 4:55 pm    Post subject: Reply with quote

I tried again, this time upgrading to 2.6.10-gentoo-r6 first, and it seems that now all is fine. Strange...
I wish I knew why, but at least it's working now...
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