Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
white screen after 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
raaf
Apprentice
Apprentice


Joined: 31 Dec 2003
Posts: 293
Location: Kraków

PostPosted: Sun Oct 16, 2005 6:51 pm    Post subject: white screen after booting Reply with quote

hi!

i use gentoo since december 2003 but only on x86, few months ago i have bought ibook (i love it) and i was planing to install gentoo on it. so when i had some time i did, but ... after few problems with yaboot (it is $^%^%$!! boot loader) i have managed to install all, but ... only mac i booting. when i want to use linux i have only a white screen ... nothing else. i dont know what is wrong.. i took kernel config from live cd and i used genkernel to compile it. i dont know where to look ... ppc is black magic for me.

regards
raaf
_________________
skladmuzyczny.pl, REKLAMA, astalavista Vista, .. kiss my XGL!! ;)
Back to top
View user's profile Send private message
lazeros
n00b
n00b


Joined: 17 Sep 2005
Posts: 14

PostPosted: Tue Oct 18, 2005 3:55 pm    Post subject: Reply with quote

from my little expirience i know the system freezes on the white screen when the framebuffer device failes to load for some reason.
it happend to me when i forgot to to add my video card framebuffer driver to my kernel...

take a look if you choose to build the frame buffer driver to your card in [dvice drivers]>>[graphics] section of the kernel config , and if its not cheacked add it and rebuild the kernel.

i hope this helps...
_________________
umount /dev/vodka && eject /dev/stumach
Back to top
View user's profile Send private message
e-ipi
Apprentice
Apprentice


Joined: 23 Aug 2005
Posts: 192

PostPosted: Wed Oct 19, 2005 2:03 am    Post subject: Reply with quote

Which machine are you working with?
Back to top
View user's profile Send private message
raaf
Apprentice
Apprentice


Joined: 31 Dec 2003
Posts: 293
Location: Kraków

PostPosted: Fri Oct 21, 2005 6:25 pm    Post subject: Reply with quote

e-ipi wrote:
Which machine are you working with?


my machine is:

Quote:
cat /proc/cpuinfo

processor : 0
cpu : 7447A, altivec supported
clock : 1199MHz
revision : 0.2 (prv 8003 0102)
bogomips : 595.96

total bogomips : 595.96
machine : PowerBook6.5
motherboard : PowerBook6.5 MacRISC3 Power Macintosh
detected as : 287 (iBook G4)
pmac flags : 0000001b
L2 cache : 512K unified
memory : 256MB
pmac-generation : NewWorld


i just took config from livecd and compiled by genkernel. i have to say that i cannot make yabootconfig, i had to write it and then run ybin -v. but before i had to add mac paths to devices in /etc/yaboot.conf (like /pci@f40000... this is strange :/ ). i could not run ofpath from chrooted enviroment, but from livecd. it was writen (in chroot) that it was unable to determine sysfs mountpoint. i really dont get it what is wrong (i mean why it is wrong).

and...

[add]
i have just found that preemption was enabled (i read that is not good), i had also options for bootloader compiled into kernel (for livecd), and a lot of things i dont need in fact, but it doesnt mean that it was that what was making me a lot of problems. i still have no sysfs mounted (it is but it wirtes that is not).

Code:
#mount
/dev/ROOT on / type ext3 (rw,notime)
none on /sys type sysfs (rw)


so i edited /etc/mtab like /dev/ROOT to /dev/hda5, but still sysfs not mounted.

my fstab

Code:
/dev/hda5 / ext3 defaults 0 1
/dev/hda4 none swap sw 0 0
proc /proc proc defaults 0 0
shm /dev/shm tmfs nodev,nosuid,noexec 0 0


what else? i dont get it, ... in handbook it is written that yabootconfig reads fstab and creates yaboot.conf from that, but ... why it cannot find kernel image? and when i write the path to it, it shows that or there no such thg or it is unable to determine OpenFirmware device name? really, really %$^&%$!! i have only one single partition and it cannot find /boot directory. i have made symlik to / from kernel image and intrid but after it writes that "could not detemine nessery information, aborting ..." .... hmmm

i just did like that ... whent out from chroot enviroment, typed yabootconfig --chroot /mnt/gentoo, and ....
(before i had symlinks in / to kernel and initrd) add path to symlinks in / .. and i .. think .. it worked ... but
Quote:
runing mkofboot to make the disk bootable ....
mkofboot: warning: `nvsertnv' could not be found, nvarm will not be updated


and what does it mean?? now i am waiting for the end of the compilation of kernel (why it takes so long?) ... i will see.


regards
raaf
_________________
skladmuzyczny.pl, REKLAMA, astalavista Vista, .. kiss my XGL!! ;)
Back to top
View user's profile Send private message
e-ipi
Apprentice
Apprentice


Joined: 23 Aug 2005
Posts: 192

PostPosted: Fri Oct 21, 2005 10:52 pm    Post subject: Reply with quote

Let's check the easy things first.

Make sure that you have CONFIG_FB_RADEON enabled. Also check to make sure you have CONFIG_VGA_CONSOLE and FRAMEBUFFER_CONSOLE.

As for booting, it shouldn't be that complicated. Copy the vmlinux into /boot and make a /etc/yaboot.conf entry for it. It should look something like this:
Code:

## Example yaboot.conf for ybin and yaboot >= 0.6
## see man yaboot.conf for more detail

## Change `unconfigured' to your bootstrap partition eg: /dev/hda2
boot=/dev/hda2

## device is the OpenFirmware device path to the disk containing
## kernel images.  if your disk is /dev/hda you can find the
## OpenFirmware path by running the command: ofpath /dev/hda DO NOT
## specify a partition number for this!  On IBM hardware you can
## generally comment this out.

device=hd:

macosx=/dev/hda6
enablecdboot
enableofboot
enablenetboot
defaultos=linux

## partition is the partition number where the kernel images are
## located.  The kernel images should be on your root filesystem, so
## this is usually the same partition number as your root filesystem.
## so if root = /dev/hda3 (the 3rd partition) then you should have
## partition=3  This *MUST* be set correct or yaboot won't boot!  This
## option can be either set globally as shown here, or per image in
## the image= sections

partition=4

## delay is the amount of time in seconds the dual boot menu (if one
## is configured, by the presense of macos, macosx, etc options here)
## will wait before choosing the default OS (GNU/Linux or the value of
## defaultos=).  If you omit this then the value of timeout=
## (converted to seconds) will be used.

delay=10

## timeout is the amount of time in tenths of a second that yaboot
## will wait before booting the default kernel image (the first image=
## section in this config file or the value of default=). 

timeout=40
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

## Change the default colors, fgcolor is the text color, bgcolor is
## the screen background color. (default: fgcolor=white, bgcolor=black)

fgcolor=yellow
bgcolor=blue

## Password supplied in plaintext, required for yaboot to boot, unless
## restricted is also present (see below). Be sure to
## chmod 600 /etc/yaboot.conf if you set this!

#password=secret

## Password supplied as an md5 hash, see above

#password=$1$saltstrg$HnJ/gcM3oKhNbnzUPgXTD/

## A password is only required to boot an image specified here if
## parameters are specified on the command line or if the user enters
## an image is not specified in the configuration file at all (ie.
## arbitrary file load).  restricted can also be placed in an image
## section in that case any image not including the restricted keyword
## will be fully password protected.

#restricted

## image is the kernel itself, commonly kept in / but also commonly
## found in /boot.  Note that /boot should generally not be its own
## partition on powerpcs, its not necessary and complicates things.
## Make sure /boot is on the partition specified by partition= see
## above.  /boot should never be an HFS filesystem.  You may point
## image= to a symbolic link so long as the symlink does not cross
## partition boundries.


image=/boot/vmlinux.new
        label=new
        root=/dev/hda4
        read=only

image=/boot/vmlinux
        label=linux
        root=/dev/hda4
        read-only


Don't forget to run ybin before rebooting.
Back to top
View user's profile Send private message
raaf
Apprentice
Apprentice


Joined: 31 Dec 2003
Posts: 293
Location: Kraków

PostPosted: Sat Oct 22, 2005 5:24 pm    Post subject: Reply with quote

hi!

first thx for respond, ... :)

i have all these options enabled in kernel config. i do ybin every time when reedit yaboot.conf. after my last post i compiled kernel and after it boot but could not find root device, so i reedited yaboot.conf as it was writen in /var/log/genkernel.log (i forgot to follow instruktions), i added real_root, rebooted and again i had white screen :/. i recompiled kernel few times also changed yaboot.conf few times and always i had white screen.

my yaboot.conf (it was created by yabootconfig i added only 2 lines)
Quote:

boot=/dev/hda2
device=/pci@.........
partition=5
root=/dev/hda5 #i # this line sometimes
timeout=30
install=/.....
magicboot=/......
ofboot=/dev/hda2 # i had to ad it

image=/kernel
label=linux
#root=/dev/hda5
append="root=/dev/ram0 real_root=/dev/hda5 init=/linuxrc this is new -> vga=791 splash=silent"
read-only
initrd=/initrd
initrd-size=8192

macosx=/pci.......


and also i think it is strange but compilation of kernel takes my about no less than 40 minutes, it is long ... :/ on my pc (athlon 1800xp+ 512mb) it takes no more tha 15 min maybe less.

so ... if some could help me giving my his kernel config i would be very happy ... now i have to go for a beer ;) i will be working on it on sunday ;)

regards
raaf
_________________
skladmuzyczny.pl, REKLAMA, astalavista Vista, .. kiss my XGL!! ;)
Back to top
View user's profile Send private message
ffdjm
n00b
n00b


Joined: 28 Mar 2004
Posts: 13
Location: Fairbanks, Alaska

PostPosted: Sun Oct 23, 2005 8:12 pm    Post subject: white screen after booting Reply with quote

I get a white screen when I press l in the first stage menu. One workaround
is to enable ofboot by inserting
Code:
ofboot=/dev/hda2
enableofboot
in your yaboot.conf (assuming /dev/hda2 is your bootstrap).
Then press o in the first stage menu.
When the 1> prompt appears enter
Code:
boot hd:2,yaboot
again assuming your bootstrap is on partition 2.
Yaboot then asks you which linux kernel you want and things work
more or less as expected after that. Using genkernel was necessary to get
a bootable kernel on my mini mac. The only strangeness was spewing out
lines starting with rm: unable to remove... before init.

I had no problems installing Debian on the same machine, which implies
the problem is not hardware related.
Back to top
View user's profile Send private message
raaf
Apprentice
Apprentice


Joined: 31 Dec 2003
Posts: 293
Location: Kraków

PostPosted: Sun Oct 23, 2005 8:58 pm    Post subject: Re: white screen after booting Reply with quote

ffdjm wrote:
I had no problems installing Debian on the same machine, which implies
the problem is not hardware related.


i had before ubuntu and it worked so u are right .. it is not hardware problem. thx

regards
raaf
_________________
skladmuzyczny.pl, REKLAMA, astalavista Vista, .. kiss my XGL!! ;)
Back to top
View user's profile Send private message
raaf
Apprentice
Apprentice


Joined: 31 Dec 2003
Posts: 293
Location: Kraków

PostPosted: Wed Oct 26, 2005 1:50 pm    Post subject: Re: white screen after booting Reply with quote

hi!

u know .. i just deleted kernel from /boot, rebooted and ... i had white screen, ... :/ so it is not a config kernel .. it is @#$@# yaboot.
what am i doing wrong? i do every thing like in handook, .. yabootconfig finds mine kenrel in /boot but on booting time not :/.

i will go to investigate ..

regards
raaf
_________________
skladmuzyczny.pl, REKLAMA, astalavista Vista, .. kiss my XGL!! ;)
Back to top
View user's profile Send private message
e-ipi
Apprentice
Apprentice


Joined: 23 Aug 2005
Posts: 192

PostPosted: Fri Oct 28, 2005 4:28 pm    Post subject: Re: white screen after booting Reply with quote

raaf wrote:
hi!

u know .. i just deleted kernel from /boot, rebooted and ... i had white screen, ... :/ so it is not a config kernel .. it is @#$@# yaboot.
what am i doing wrong? i do every thing like in handook, .. yabootconfig finds mine kenrel in /boot but on booting time not :/.

i will go to investigate ..

regards
raaf


Some of the kernels I have compiled give me the white screen you are seeing when I try to boot them. I can boot other kernels (<= 2.6.11.12) just fine and other ones start to boot OK, but quit later. This may be a kernel configuration issue. What does your kernel .config look like?
Back to top
View user's profile Send private message
raaf
Apprentice
Apprentice


Joined: 31 Dec 2003
Posts: 293
Location: Kraków

PostPosted: Sat Oct 29, 2005 10:08 am    Post subject: Re: white screen after booting Reply with quote

e-ipi wrote:
Some of the kernels I have compiled give me the white screen you are seeing when I try to boot them. I can boot other kernels (<= 2.6.11.12) just fine and other ones start to boot OK, but quit later. This may be a kernel configuration issue. What does your kernel .config look like?


hmm, ... i started with 2.6.12, now i have compiled 2.6.13 gentoo-sources. if it is a config problem then tell me why i have white screen when there is no kenrel in /boot directory??(maybe it is a good exercise for u all to delete kernel to see how it looks ;) ) for me it looks like a yaboot problem, ... in fact i found that a lot people have problems with yaboot, and there was no single one solutions (or maybe i am wrong). expl. i dont know why, but yabootconfig just dosent work, it show that there is no such thing like kernel in /boot (or /mnt/gentoo/boot/kernel when i do yabootconfig --chroot /mnt/gentoo). yabootconfig worked for only two times, no more, and only when i compiled kernel manualy and when i made simlink vmlinux do /. it found kernel, but i really dont know why now it doesnt work any more!!

i am very tired of this, i thing i will do stage 3 to see if there will be the same problems. if yes, .. i will put ubuntu on ibook.

as for my config ... i was trying many different configurations, from pure livecd config to config without many things i know that i dont have in my ibook (like raid or floppy). i was compiling kernels with genkernel and manualy, with initrd and without... :/ only one time i gentoo booted, but there was no root device, so i recompiled kernel and ... white screen!! :/ the worst thing is that there is no debug informations about what is wrong!! nothing.

regards
raaf
_________________
skladmuzyczny.pl, REKLAMA, astalavista Vista, .. kiss my XGL!! ;)
Back to top
View user's profile Send private message
e-ipi
Apprentice
Apprentice


Joined: 23 Aug 2005
Posts: 192

PostPosted: Sun Oct 30, 2005 3:35 am    Post subject: Reply with quote

For what it's worth, I used a stage 3 install. You could try that.

As for the white screen issue, I will just say that I don't get it ever with 2.6.11 kernels, but sometimes with 2.6.12 and 2.6.13 kernels. Other times I get as far as "setup_arch:enter". I've never had a 2.6.12 or 2.6.13 kernel boot successfully on my machine. Like you I've tried lots of .configs. None work. [/list]I've even tried distribution kernels and have the same problem (with the gentoo 2005.1 install cd, i get the white screen). There could be a problem with yaboot, there could be a problem with linux, there could be a problem with the 2 of them together. I don't know.
Back to top
View user's profile Send private message
fmatschke
n00b
n00b


Joined: 01 Nov 2005
Posts: 1

PostPosted: Tue Nov 01, 2005 9:12 am    Post subject: MacOSX working, linux giving white screen Reply with quote

Hello all,

I have a similar problem: Linux won't boot on my G4 Titanium Powerbook (white screen). yaboot seems to work though, since macosx is booting without problems. I have a similar yaboot.conf as most posted here (dev, partition and so on), but I had to use ofboot=/dev/hda2 to get ybin find the device.

As for the problems of others of nvram and so on, the following works for me:

Befor chrooting, mount in the following order:

swapon /dev/hda6
mount /dev/hda7 /mnt/gentoo
mount -t proc nont /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev

The chroot
chroot /mng/gentoo /bin/bash
env-update && source /etc/profile

This solved the error output from ybin for me. Except the device it didn't find, which was solved by ofboot=/dev/hda2 in yaboot.conf. Since it finds the device 2, I cannot see the problem why it wouldn't find the kernel and all? I tried a genkernel and a handcomplied one.

Is there anyone who has solved the problem up to now?

Thank you in advance ...

Felix

p.s.: one little question: Is it normal that there is a little folder with a question mark before the boot menu comes up? I find this curious ...
Back to top
View user's profile Send private message
raaf
Apprentice
Apprentice


Joined: 31 Dec 2003
Posts: 293
Location: Kraków

PostPosted: Tue Nov 01, 2005 3:29 pm    Post subject: Re: MacOSX working, linux giving white screen Reply with quote

fmatschke wrote:
p.s.: one little question: Is it normal that there is a little folder with a question mark before the boot menu comes up? I find this curious ...


yes i have it too :/

i will try to doo all from stage 3, but later, now i dont have time for it.

regards
raaf
_________________
skladmuzyczny.pl, REKLAMA, astalavista Vista, .. kiss my XGL!! ;)
Back to top
View user's profile Send private message
e-ipi
Apprentice
Apprentice


Joined: 23 Aug 2005
Posts: 192

PostPosted: Thu Nov 03, 2005 3:26 pm    Post subject: Reply with quote

raaf,

I misunderstood you. My apologies. The white screen I was writing about comes after yaboot loads the kernel. Yaboot appears to work OK but the kernel doesn't.

I'm seeing the white screen you describe now. I started seeing it after running genkernel and letting it install the kernel. Until then, I had always installed the kernel myself. I'm also seeing the folder with the question mark when I first boot up. I booted by using openfirmware, which is described above.
Back to top
View user's profile Send private message
raaf
Apprentice
Apprentice


Joined: 31 Dec 2003
Posts: 293
Location: Kraków

PostPosted: Thu Nov 03, 2005 7:53 pm    Post subject: Reply with quote

hi!

i have just installed ubuntu 5.10, it works really very very good, ... suspend, sound (exept speakers which gives strange voice, but not headspeakers), all. i will try to install my kernel on it to see if all will be ok, ... and i dont have that strange folder before yaboot menu.

regards
raaf
_________________
skladmuzyczny.pl, REKLAMA, astalavista Vista, .. kiss my XGL!! ;)
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