View previous topic :: View next topic |
Author |
Message |
bradisbest n00b
Joined: 14 Nov 2004 Posts: 36
|
Posted: Sun Nov 14, 2004 9:30 pm Post subject: Black screen |
|
|
I have just installed gentoo, I have configured my system with gentoo on hdb or hd1 just like in the instalation handbook, with three partitions. Grub wil allow me to boot to windows (which is on my first hard drive) just fine. It shows the spalsh screen, which tells me that it can find the /boot partition, but when I select gentoo and try to boot, I see some text flash on the screen. This text appeasr as if it were trying to load gentoo. Then the screen goes black with only a blinking cursor on it, and it hangs here. What could cause this.
When in GRUB, if I hit 'e' to edit the gentoo portion and i edit the kernel line it finds the file /kernel-2.6.9-gentoo-r4/ just fine, because I will tab-compleet it. I am passing the vga and the root arguments.
Any help is much apreciated. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Nov 14, 2004 10:47 pm Post subject: |
|
|
Try passing "vga=normal" to disable the framebuffer, and see if it boots up properly. |
|
Back to top |
|
|
awn4500 n00b
Joined: 31 Oct 2004 Posts: 19 Location: England
|
Posted: Mon Nov 15, 2004 12:56 am Post subject: |
|
|
YO, could you please post the gentoo portion of your grub.conf , and a question, did you compile your own kernel or use genkernel? Because the first couple of times i compiled my own kernel i got the same thing, now, i can do it wid my eyes closed. _________________ awn out |
|
Back to top |
|
|
bradisbest n00b
Joined: 14 Nov 2004 Posts: 36
|
Posted: Mon Nov 15, 2004 7:03 am Post subject: |
|
|
The vga=normal had no effect.
I compiled my own kernel, it is my first time doing so.
I have:
default 0
timeout 30
splashimage=(hd1,0)/grub/splash.xpm.gz
title=Gentoo
root (hd1,0)
kernel /kernel-2.6.9-gentoo-r4 root=/deb/hdb3 vga=792 |
|
Back to top |
|
|
awn4500 n00b
Joined: 31 Oct 2004 Posts: 19 Location: England
|
Posted: Mon Nov 15, 2004 8:27 am Post subject: |
|
|
ok, try this, go to the section in the handbook where you have to use genkernel, after booting from liveCD, and chrooting and all (so you should start by mounting your new linux partition .....source /etc/profile ) then emerge genkernel-static and use it, try that and post the result, from there i will tell you what to do, ok? _________________ awn out |
|
Back to top |
|
|
bradisbest n00b
Joined: 14 Nov 2004 Posts: 36
|
Posted: Mon Nov 15, 2004 5:07 pm Post subject: |
|
|
I didn't use genkernel last time, but I am trying it right now. |
|
Back to top |
|
|
kodeman n00b
Joined: 14 Nov 2004 Posts: 13 Location: Earth
|
Posted: Mon Nov 15, 2004 6:02 pm Post subject: |
|
|
These blackscreen issues usually are due to having too many unnecessary framebuffer drivers in the kernel you built..
What video card do you have? |
|
Back to top |
|
|
bradisbest n00b
Joined: 14 Nov 2004 Posts: 36
|
Posted: Mon Nov 15, 2004 7:14 pm Post subject: |
|
|
I did use the 2.6 kernel with frambuffering support (smp)
I hava a ATI RADEON 9800 PRO 256MB.
So, should I start over without the framebuffering kernel? |
|
Back to top |
|
|
kodeman n00b
Joined: 14 Nov 2004 Posts: 13 Location: Earth
|
Posted: Mon Nov 15, 2004 9:02 pm Post subject: |
|
|
my suggestion to you is to do the following:
* THIS ASSUMES YOU ARE NOT USING A GENKERNEL *
boot your livecd
make sure you are in your chroot'd envionment:
Code: |
mount /dev/hdb3 /mnt/gentoo
mount <partition you are using for /boot, if different from /dev/hdb3> /mnt/gentoo/boot
mount -t proc none /mnt/gentoo/proc
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
|
now you are ready to reconfigure the kernel:
Code: |
cd /usr/src/linux
mv .configure /boot/configure.old
make mrproper
mv /boot/configure.old .configure
make oldconfig
make menuconfig
|
then go into:
Device Drivers ---> Graphics Support --->
[*] Support for frame buffer devices
[*] VESA VGA graphics support
Remove all other [*] and <M> selections on this screen
You do not need ATI Radeon display support (eiher of them) to get framebuffer using VESA
Next, at the bottom of this menu screen , go into:
Console display driver support --->
[*] Video mode selection support
<*> Framebuffer Console support
Remove all other [*] and <M> selections on this screen
now exit menuconfig and save the changes
then do:
Code: |
make && make modules_install
|
after it compiles and you get a prompt again, type:
Code: |
cp arch/i386/boot/bzImage /boot/kernel-2.6.9-gentoo-r4
cp System.map /boot/System.map-2.6.9-gentoo-r4
cp .config /boot/config-2.6.9-gentoo-r4
|
now reboot your system and you should be fine with the GRUB setup you listed earlier...
Code: |
default 0
timeout 30
splashimage=(hd1,0)/grub/splash.xpm.gz
title=Gentoo
root (hd1,0)
kernel /kernel-2.6.9-gentoo-r4 root=/dev/hdb3 vga=792
|
btw, i don;t know if it was a typo, but you had listed this in your prior post as being your kernel line in GRUB:
Code: |
kernel /kernel-2.6.9-gentoo-r4 root=/deb/hdb3 vga=792
|
this would suck for you if you did not have "dev" instead of "deb" there after "root=/"
hopefully, this gets it for ya
regards |
|
Back to top |
|
|
bradisbest n00b
Joined: 14 Nov 2004 Posts: 36
|
Posted: Mon Nov 15, 2004 11:16 pm Post subject: |
|
|
Quote: | You do not need ATI Radeon display support (eiher of them) to get framebuffer using VESA |
I am confused as to why I don't what radeon display for my radeon card.
I am following those steps as we speak, so thank you. |
|
Back to top |
|
|
kodeman n00b
Joined: 14 Nov 2004 Posts: 13 Location: Earth
|
Posted: Tue Nov 16, 2004 1:08 am Post subject: |
|
|
Quote: | am confused as to why I don't what radeon display for my radeon card. |
It comes down to the desire to strip down the kernel to the basics.. I can tell you this: I had a similar problem with my Trident CyberBlade 9397 .. there is a 'tridentfb' driver out there.. well long story short, that driver was the problem, not the solution..
If you do not need the specialzed driver, you are far better off not including it.. it makes your kernel smaller and you get the desired results.. remember, people do not tend to make drivers for stuff that already works with another driver.. so i am betting (educated guess) that the Radeon drivers are to deal with some exception-to-the-rule case where the generic VESA framebuffer was inadequate...
So the methodology here is: try the generic framebuffer first, if it works satisfactorily, use it. if it limits you to too low a resolution or some other problem, use the radeon driver..
After all, this driver is only for console mode framebuffers -- not X11.. so you're not sacrificing anything like 3D acceleration or whatever here by using the generic vesafb driver
regards |
|
Back to top |
|
|
bradisbest n00b
Joined: 14 Nov 2004 Posts: 36
|
Posted: Tue Nov 16, 2004 1:31 am Post subject: |
|
|
on typing :
i get:
Code: | make: Fatal error: Don't know how to make target `mrproper' |
Should I just start over, and select fewer options in the kernel, because I did over select things. I seleced every thing that i though i might need. I also emerged e100, ati-drivers and ati-drivers and ati-driver-extras. Should I have used the kernel modules for ati-drivers? |
|
Back to top |
|
|
kodeman n00b
Joined: 14 Nov 2004 Posts: 13 Location: Earth
|
Posted: Tue Nov 16, 2004 1:55 am Post subject: |
|
|
*sigh*
okay, type "make --help" and see what targets it lists
i bet you are either using a genkernel or haven't symlinked /usr/src/linux to /usr/src/linux-2.6.9-gentoo-r4
anyway, you probably just want to remove the kernel sources, re-emerge them and go from there
i suggest to you to set things for the framebuffers as i had outlined previously in menuconfig, then go do what the gentoo handbook instructs and exit menuconfig while saving the changes..
save a copy of the generated '.config' in your /boot directory as 'config-basic' and then come back to menuconfig to add support for things you 'think' should be set before you try to compile.. that way, if you goof, you can restore the 'config-basic' file as /usr/src/linux/.config and 'make oldconfig' to reset things back to before you goofed in order to try again
regards |
|
Back to top |
|
|
bradisbest n00b
Joined: 14 Nov 2004 Posts: 36
|
Posted: Tue Nov 16, 2004 2:02 am Post subject: |
|
|
would it matter that I used gentoo-dev-sources and not gentoo-sources or vanilla-sources? |
|
Back to top |
|
|
kodeman n00b
Joined: 14 Nov 2004 Posts: 13 Location: Earth
|
Posted: Tue Nov 16, 2004 2:10 am Post subject: |
|
|
the instructs i gave you assumes gentoo-dev-sources already
all of my instructions, however, should apply accross all of the kernel source packages you listed
the commands ought to be the same and the menus i mention in menuconfig ought to contain the same options.. at least to my recollection
regards |
|
Back to top |
|
|
bradisbest n00b
Joined: 14 Nov 2004 Posts: 36
|
Posted: Tue Nov 16, 2004 2:44 am Post subject: |
|
|
thanks for you help so far, I am starting over now, so I will know if I get the same error some time tomorow. |
|
Back to top |
|
|
bradisbest n00b
Joined: 14 Nov 2004 Posts: 36
|
Posted: Sat Nov 20, 2004 1:40 am Post subject: |
|
|
So I have restarted 3 times now. I have not used genkernel, becasuse I would really like to make my own kernel. All 4 times I have had the same thing happen. The blinking cursor. Any other ideas? |
|
Back to top |
|
|
bradisbest n00b
Joined: 14 Nov 2004 Posts: 36
|
Posted: Sat Nov 20, 2004 2:47 am Post subject: |
|
|
never mind, I forgot to add the Framebuffer Console support
YAY. I am still having an issue:
when I type startx I get:
Code: | Cannot run in frambuffer mode. Please specify busIDs for all framebuffer devices |
How do I do this?
Thanks |
|
Back to top |
|
|
|