Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xorg-server broken upon install
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Aviator45003
n00b
n00b


Joined: 22 Aug 2012
Posts: 22

PostPosted: Thu Nov 29, 2012 11:23 am    Post subject: Xorg-server broken upon install Reply with quote

Hey folks,

New Gentoo and Linux user here. And it seems that everything is going wrong.

First off, /etc/portage/make.conf is actually in /etc/make.conf. Everything else is where it should be.

Now for my problem. I ran `emerge xorg-server`, and after installing 69 packages I updated my enivornment variables and ran `startx`. All went well for about 400 miliseconds, and which point the server managed to have a Fatal Error (no monitors).
I have 2 ATI Radeon cards in my computer, with 2 monitors connected to 3 outputs. There is no way Linux can't find a monitor.
I tried to fix this manually (nano /etc/X11/xorg.conf.d/), but the directory hadn't been created, and there were no config files either. Okay, I said. `Xorg --configure`. That didn't help, Xorg wasn't able to write to a disk.

Any suggestions? I can use a CLI easily, but a GUI is essential for doing my homework.

Thank you,

Avi45003.
_________________
--
System Details:
4 Hard Drive, IDE/P-ATA/Ultra-ATA, CD and DVD reader/burner
PowerPC: Xserve G4, 1.33 GHz Dual Processors, 2 GB of RAM.
32Bit
Back to top
View user's profile Send private message
griever
n00b
n00b


Joined: 24 Sep 2002
Posts: 53

PostPosted: Thu Nov 29, 2012 2:10 pm    Post subject: Reply with quote

You're going to need to provide more details for anyone to help.

What are the contents of your /var/log/Xorg.0.log?
What do you have in your make.conf file?
How are the device drivers / graphics portion of your kernel config set?
what window manager / desktop environment are you trying to run?
Back to top
View user's profile Send private message
Aviator45003
n00b
n00b


Joined: 22 Aug 2012
Posts: 22

PostPosted: Fri Nov 30, 2012 3:53 am    Post subject: Reply with quote

griever wrote:
You're going to
need to provide more details for
anyone to help.
What are the contents of your
/var/log/Xorg.0.log?

Code:

[ 12147.074]
X.Org X Server 1.12.2
Release Date: 2012-05-29
[ 12147.095] X Protocol Version
11, Revision 0 [ 12147.102] Build
Operating System: Linux
3.4.9-gentoo ppc Gentoo [
12147.109] Current Operating
System: Linux Horatio 3.4.9-gentoo
#1 SMP Sun Nov 18 20:47:07 EST
2012 ppc [ 12147.109] Kernel
command line: root=/dev/hde5 ro
video=ofonly [ 12147.123] Build
Date: 28 November 2012  07:51:51PM
[ 12147.130] 
[ 12147.137] Current version of
pixman: 0.26.0 [ 12147.152]    
Before reporting problems, check
http://wiki.x.org
   to make sure that you have the
latest version. [ 12147.152]
Markers: (--) probed, (**) from
config file, (==) default setting,
   (++) from command line, (!!)
notice, (II) informational,
   (WW) warning, (EE) error, (NI)
not implemented, (??) unknown.
[ 12147.182] (==) Log file:
"/var/log/Xorg.0.log", Time: Thu
Nov 29 22:32:32 2012 [ 12147.200]
(==) Using system config directory
"/usr/share/X11/xorg.conf.d"
[ 12147.208] (==) No Layout
section.  Using the first Screen
section. [ 12147.208] (==) No
screen section available. Using
defaults. [ 12147.208] (**)
|-->Screen "Default Screen
Section" (0) [ 12147.208] (**) |   
|-->Monitor "<default monitor>"
[ 12147.210] (==) No monitor
specified for screen "Default
Screen Section".
   Using a default monitor
configuration. [ 12147.210] (==)
Automatically adding devices
[ 12147.210] (==) Automatically
enabling devices [ 12147.210] (WW)
The directory
"/usr/share/fonts/misc/" does not
exist. [ 12147.210]    Entry deleted
from font path. [ 12147.210] (WW)
The directory
"/usr/share/fonts/TTF/" does not
exist. [ 12147.210]    Entry deleted
from font path. [ 12147.210] (WW)
The directory
"/usr/share/fonts/OTF/" does not
exist. [ 12147.210]    Entry deleted
from font path. [ 12147.210] (WW)
The directory
"/usr/share/fonts/Type1/" does not
exist. [ 12147.211]    Entry deleted
from font path. [ 12147.211] (WW)
The directory
"/usr/share/fonts/100dpi/" does
not exist. [ 12147.211]    Entry
deleted from font path. [
12147.211] (WW) The directory
"/usr/share/fonts/75dpi/" does not
exist. [ 12147.211]    Entry deleted
from font path. [ 12147.211] (==)
FontPath set to:
   
[ 12147.211] (==) ModulePath set
to "/usr/lib/xorg/modules" [
12147.211] (II) The server relies
on udev to provide the list of
input devices.
   If no devices become available,
reconfigure udev or disable
AutoAddDevices. [ 12147.211] (II)
Loader magic: 0x101d9560 [
12147.211] (II) Module ABI
versions: [ 12147.211]    X.Org ANSI
C Emulation: 0.4 [ 12147.211]    
X.Org Video Driver: 12.0 [
12147.211]    X.Org XInput driver :
16.0 [ 12147.211]    X.Org Server
Extension : 6.0 [ 12147.213] (!!)
More than one possible primary
device found [ 12147.214] (--)
PCI: (1:18:2:0)
1002:5159:1002:0908 rev 0, Mem @
0x90000000/134217728,
0x80110000/65536, I/O @
0x00002000/256, BIOS @
0x????????/131072 [ 12147.214]
(--) PCI: (1:18:3:0)
1002:5159:1002:0908 rev 0, Mem @
0x88000000/134217728,
0x80100000/65536, I/O @
0x00002100/256, BIOS @
0x????????/131072 [ 12147.214]
(II) Open APM successful [
12147.214] (II) LoadModule:
"extmod" [ 12147.215] (II) Loading
/usr/lib/xorg/modules/extensions/l
ibextmod.so
[ 12147.219] (II) Module extmod:
vendor="X.Org Foundation" [
12147.219]    compiled for 1.12.2,
module version = 1.0.0 [
12147.219]    Module class: X.Org
Server Extension [ 12147.219]    ABI
class: X.Org Server Extension,
version 6.0 [ 12147.219] (II)
Loading extension MIT-SCREEN-SAVER
[ 12147.219] (II) Loading
extension XFree86-VidModeExtension
[ 12147.219] (II) Loading
extension XFree86-DGA [ 12147.219]
(II) Loading extension DPMS
[ 12147.219] (II) Loading
extension XVideo [ 12147.219] (II)
Loading extension
XVideo-MotionCompensation [
12147.219] (II) Loading extension
X-Resource [ 12147.219] (II)
LoadModule: "dbe" [ 12147.220]
(II) Loading
/usr/lib/xorg/modules/extensions/l
ibdbe.so
[ 12147.228] (II) Module dbe:
vendor="X.Org Foundation" [
12147.228]    compiled for 1.12.2,
module version = 1.0.0 [
12147.228]    Module class: X.Org
Server Extension [ 12147.228]    ABI
class: X.Org Server Extension,
version 6.0 [ 12147.228] (II)
Loading extension DOUBLE-BUFFER
[ 12147.228] (II) LoadModule:
"glx" [ 12147.229] (II) Loading
/usr/lib/xorg/modules/extensions/l
ibglx.so
[ 12147.242] (II) Module glx:
vendor="X.Org Foundation" [
12147.242]    compiled for 1.12.2,
module version = 1.0.0 [
12147.242]    ABI class: X.Org
Server Extension, version 6.0
[ 12147.242] (==) AIGLX enabled
[ 12147.242] (II) Loading
extension GLX [ 12147.242] (II)
LoadModule: "record" [ 12147.243]
(II) Loading
/usr/lib/xorg/modules/extensions/l
ibrecord.so
[ 12147.244] (II) Module record:
vendor="X.Org Foundation" [
12147.244]    compiled for 1.12.2,
module version = 1.13.0 [
12147.244]    Module class: X.Org
Server Extension [ 12147.244]    ABI
class: X.Org Server Extension,
version 6.0 [ 12147.244] (II)
Loading extension RECORD [
12147.244] (II) LoadModule: "dri"
[ 12147.244] (II) Loading
/usr/lib/xorg/modules/extensions/l
ibdri.so
[ 12147.248] (II) Module dri:
vendor="X.Org Foundation" [
12147.248]    compiled for 1.12.2,
module version = 1.0.0 [
12147.248]    ABI class: X.Org
Server Extension, version 6.0
[ 12147.248] (II) Loading
extension XFree86-DRI [ 12147.248]
(II) LoadModule: "dri2" [
12147.249] (II) Loading
/usr/lib/xorg/modules/extensions/l
ibdri2.so
[ 12147.250] (II) Module dri2:
vendor="X.Org Foundation" [
12147.250]    compiled for 1.12.2,
module version = 1.2.0 [
12147.250]    ABI class: X.Org
Server Extension, version 6.0
[ 12147.250] (II) Loading
extension DRI2 [ 12147.250] (==)
Matched fbdev as autoconfigured
driver 0 [ 12147.250] (==)
Assigned the driver to the
xf86ConfigLayout [ 12147.250] (II)
LoadModule: "fbdev" [ 12147.251]
(WW) Warning, couldn't open module
fbdev [ 12147.251] (II)
UnloadModule: "fbdev" [ 12147.251]
(II) Unloading fbdev [ 12147.251]
(EE) Failed to load module "fbdev"
(module does not exist, 0) [
12147.251] (EE) No drivers
available. [ 12147.267]
Fatal server error:
[ 12147.267] no screens found
[ 12147.303]
Please consult the The X.Org
Foundation support
    at http://wiki.x.org
 for help.
[ 12147.311] Please also check the
log file at "/var/log/Xorg.0.log"
for additional information.

griever wrote:
What do you have
in your make.conf file?

Code:

# These settings were set by the
catalyst build script that
automatically # built this stage.
# Please consult
/usr/share/portage/config/make.con
f.example for a more
# detailed example.
CFLAGS="-O2 -mcpu=7450
-mtune=powerpc
-fno-strict-aliasing -pipe
-mabi=altivec -maltivec "
CXXFLAGS="${CFLAGS}"
FFLAGS="${CFLAGS}"
FCFLAGS="${FFLAGS}" MAKEOPTS="-j3"
USE="X aac aalib -afs aim altivec
bcmath cgi coreaudio cxx dbus dri
emacs fam ffmpeg flac gtk gtk3
gnome -kde glut gimp gif gpm
hddtemp ieee1394 ios ipod ipv6
jack java java6 joystick
javascript jpeg -kde lame
libnotify mozilla mp3 mp4 mpeg
netboot ocaml offensive ogg opengl
old-linux osc oss pcre pdf php
postscript prelude profile python
quicktime -qt4 rdesktop rss
sharedmem shorten smp sockets
sound spell startup-notification
udev usb vnc xscreensaver xorg
x264"
ACCEPT_LICENSE="* -@EULA"

VIDEO_CARDS="radeon"
INPUT_DEVICES="evdev"

# WARNING: Changing your CHOST is
not something that should be done
lightly. # Please consult
http://www.gentoo.org/doc/en/chang
e-chost.xml before changing.
CHOST="powerpc-unknown-linux-gnu"

griever wrote:
How are the
device drivers / graphics portion
of your kernel config set?

I do not know how to edit this
information, although I can tell
you that I checked and made sure
everything regarding ATI Radeon
was checked ON. If you could give
me a file which would have that
information, that would be nice.

griever wrote:
what window
manager / desktop environment are
you trying to run?

As of right now, I am trying to
install GNOME but it was suggested
by the wiki that I test `startx`
before I did that.
[/quote]
_________________
--
System Details:
4 Hard Drive, IDE/P-ATA/Ultra-ATA, CD and DVD reader/burner
PowerPC: Xserve G4, 1.33 GHz Dual Processors, 2 GB of RAM.
32Bit
Back to top
View user's profile Send private message
griever
n00b
n00b


Joined: 24 Sep 2002
Posts: 53

PostPosted: Sat Dec 01, 2012 3:33 pm    Post subject: Reply with quote

My apologies, I only recently noticed that you're on a power pc. I have no experience with running gentoo on that platform.

I'll offer the following:

Have you taken a look at http://wiki.gentoo.org/wiki/Radeon? It goes through the kernel configuration for the open source ati driver.

From your log file:
Code:
(==) Using system config directory
"/usr/share/X11/xorg.conf.d"
[ 12147.208] (==) No Layout
section.  Using the first Screen
section. [ 12147.208] (==) No
screen section available. Using
defaults. [ 12147.208] (**)


That's where the configuration is being read from.

Is xf86-video-ati installed? What ati cards do you have installed (I can't see anything that identifies them in what you've posted so far)?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 31373
Location: 56N 3W

PostPosted: Sat Dec 01, 2012 4:14 pm    Post subject: Reply with quote

Aviator45003,

Aviator45003 wrote:
New Gentoo and Linux user here. And it seems that everything is going wrong.
These are just opportunities for learning.
Its quite normal. It all depends on your point of view.

Aviator45003 wrote:
First off, /etc/portage/make.conf is actually in /etc/make.conf. Everything else is where it should be.
Thats OK, both locations work.
make.conf has been moved to /etc/portage very recently.

The best approach to Gentoo, is to make it work first, make if faster/better/shinier later. That way, you can back out changes to get back to something that works.
The first target is therefore to get Xorg to work on your primary display. Thats the one that displays your boot messages.

You have 2 ATI Radeon cards. You have a choice of driver for Xorg. Which one did you intend to use ?

You go on to say
Code:
VIDEO_CARDS="radeon"
thats a good choice, however, the radeon driver needs kernel support. How did you build your kernel?
The radeon driver should just work on a single display when all its kernel support is there. No xorg.conf required. As I said, we will add that later.
If you have an xorg.conf move it to xorg.conf_broken, attempt to startx, then ...

Make friends with wgetpaste and use it to post the following:-
Your entire dmesg
Your latest /var/log/Xorg.0.log
Your /usr/src/linux/.config
Any one of these is too big to fit in a post, tell the URLs you get back from wgetpaste.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Aviator45003
n00b
n00b


Joined: 22 Aug 2012
Posts: 22

PostPosted: Mon Dec 03, 2012 12:46 am    Post subject: Reply with quote

NeddySeagoon wrote:
Aviator45003,

Aviator45003 wrote:
New Gentoo
and Linux user here. And it seems
that everything is going wrong.
These are just
opportunities for learning.
Its quite normal. It all depends
on your point of view.


Thank you! I am only running
Gentoo because I want to know
everything I can about Linux, so
learning is all I'm here for.

NeddySeagoon wrote:
Avia
tor45003 wrote:
First off,
/etc/portage/make.conf is actually
in /etc/make.conf. Everything else
is where it should be.
Thats OK, both locations
work. make.conf has been moved to
/etc/portage very recently.

The best approach to Gentoo, is to
make it work first, make if
faster/better/shinier later. That
way, you can back out changes to
get back to something that works.
The first target is therefore to
get Xorg to work on your primary
display. Thats the one that
displays your boot messages.

You have 2 ATI Radeon cards. You
have a choice of driver for Xorg.
Which one did you intend to use
?

They are the same card, just
different revisions. I will
probably pull out the
single-output one soon, it is too
annoying to run with. If you look
for the Xserve G4 online, you will
find my cards. One is the
DVI/S-Video/VGA one, and one is
just VGA.
NeddySeagoon wrote:

You go on to
say
Code:
VIDEO_CARDS="radeon"
thats a good choice,
however, the radeon driver needs
kernel support. How did you build
your kernel? The radeon driver
should just work on a single
display when all its kernel
support is there. No xorg.conf
required. As I said, we will add
that later. If you have an
xorg.conf move it to
xorg.conf_broken, attempt to
startx, then ...


This step was executed
sucessfully, however it failed.
`Xorg -configure` failed to find
IO drivers too.
NeddySeagoon wrote:

Make friends with wgetpaste and
use it to post the following:-
Your entire dmesg
Your latest /var/log/Xorg.0.log
Your /usr/src/linux/.config
Any one of these is too big to fit
in a post, tell the URLs you get
back from wgetpaste.


Yes Sir. Wgetpaste emerged, now
trying to run a shell from nano
(my new favorite text editor,
until I know enough to find better
or configre nano more).

Note: Is there a better way than
>>ing the output of wgetpastes to
a text file from nano? Suggest an
editor I should become friends
with?
dmesg

Your paste can be seen here:
http://bpaste.net/show/61784/

Xorg.0.log

Your paste can be seen here:
http://bpaste.net/show/61785/

.config

Your paste can be seen here:
http://bpaste.net/show/61786/

Thanks,

Aviator45003
_________________
--
System Details:
4 Hard Drive, IDE/P-ATA/Ultra-ATA, CD and DVD reader/burner
PowerPC: Xserve G4, 1.33 GHz Dual Processors, 2 GB of RAM.
32Bit
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5271

PostPosted: Mon Dec 03, 2012 3:17 am    Post subject: Reply with quote

On a generic note: your posts look odd with so short folding.

As for your kernel config, it's so out of date, it's scary.
CONFIG_IDE=y has been obsoleted by ata drivers a really long time ago.

(for xf86-video-ati) Set CONFIG_DRM_RADEON_KMS, unset all hardware specific CONFIG_FB_*. FRAMEBUFFER_CONSOLE is already set.

You might need to recheck your useflags on libdrm/mesa.
Back to top
View user's profile Send private message
Aviator45003
n00b
n00b


Joined: 22 Aug 2012
Posts: 22

PostPosted: Mon Dec 03, 2012 11:35 am    Post subject: Reply with quote

VoidMage wrote:
On a generic note: your posts look odd with so short folding.


Ah well, I'll not wrap it when going back from nano to lynx next time.

VoidMage wrote:

As for your kernel config, it's so out of date, it's scary.
CONFIG_IDE=y has been obsoleted by ata drivers a really long time ago.

(for xf86-video-ati) Set CONFIG_DRM_RADEON_KMS, unset all hardware specific CONFIG_FB_*. FRAMEBUFFER_CONSOLE is already set.

You might need to recheck your useflags on libdrm/mesa.


Sorry, those last two lines slipped into a shorthand I have not yet learned. Could you please translate it for me?

I downloaded the most recent stage3 tarball for PPC32 when I installed about 2 weeks ago. Perhaps it is about time that tarball was updated?
_________________
--
System Details:
4 Hard Drive, IDE/P-ATA/Ultra-ATA, CD and DVD reader/burner
PowerPC: Xserve G4, 1.33 GHz Dual Processors, 2 GB of RAM.
32Bit
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 31373
Location: 56N 3W

PostPosted: Mon Dec 03, 2012 11:55 am    Post subject: Reply with quote

Aviator45003,

The kernel is not a part of the stage3 tarball. You get the kernel using
Code:
emerge gentoo-sources
or vanillia-sources, or hardended-sources ....
You get to choose. How you configure your kernel is then up to you, unless you use something like genkernel but that may not work on PPC.

A few years ago now, the
Code:
 < > ATA/ATAPI/MFM/RLL support (DEPRECATED)  --->
became depreciated in favour of the new drivers under the
Code:
<*> Serial ATA and Parallel ATA drivers  --->
These drivers depend on
Code:
<*> SCSI disk support
so regardless of how your drives are connected to your motherboard, they will have scsi names, starting /dev/sd..

Worse from your point of view, udev will not make the depreciated /dev/hd.. nodes, so your system will fail to boot at rootfsck, as the /dev/hdaX node won't be there to be checked.

The kernel contains lots of drivers for various hardware, some of which conflict with others. To use the modern radeon driver for your video card, you need to select Radeon DMS and Kernel Mode Switching (KMS) beneath it. The search option in menuconfig will help. Press /

KMS conflicts with framebuffer drivers, so all of the framebuffer hardware specific drivers in
Code:
<*> Support for frame buffer devices  --->
must be set to off, or your video card won't work.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Aviator45003
n00b
n00b


Joined: 22 Aug 2012
Posts: 22

PostPosted: Wed Dec 05, 2012 12:22 pm    Post subject: Reply with quote

NeddySeagoon wrote:
Aviator45003,

The kernel is not a part of the stage3 tarball. You get the kernel using
Code:
emerge gentoo-sources
or vanillia-sources, or hardended-sources ....
You get to choose. How you configure your kernel is then up to you, unless you use something like genkernel but that may not work on PPC.

A few years ago now, the
Code:
 < > ATA/ATAPI/MFM/RLL support (DEPRECATED)  --->
became depreciated in favour of the new drivers under the
Code:
<*> Serial ATA and Parallel ATA drivers  --->
These drivers depend on
Code:
<*> SCSI disk support
so regardless of how your drives are connected to your motherboard, they will have scsi names, starting /dev/sd..

Worse from your point of view, udev will not make the depreciated /dev/hd.. nodes, so your system will fail to boot at rootfsck, as the /dev/hdaX node won't be there to be checked.

The kernel contains lots of drivers for various hardware, some of which conflict with others. To use the modern radeon driver for your video card, you need to select Radeon DMS and Kernel Mode Switching (KMS) beneath it. The search option in menuconfig will help. Press /

KMS conflicts with framebuffer drivers, so all of the framebuffer hardware specific drivers in
Code:
<*> Support for frame buffer devices  --->
must be set to off, or your video card won't work.


Okay, I reconfigured my kernel and recompiled according to the items you list above. Now when I boot up, the kernel doesn't seem to do any running at all. There is no disk usage (hardware monitors don't show any), displays don't change, nothing happens. Would you mind taking a look at my .config and see what I messed up this time?

Your paste can be seen here: http://bpaste.net/show/62369/

Thank you,

Aviator45003
_________________
--
System Details:
4 Hard Drive, IDE/P-ATA/Ultra-ATA, CD and DVD reader/burner
PowerPC: Xserve G4, 1.33 GHz Dual Processors, 2 GB of RAM.
32Bit
Back to top
View user's profile Send private message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 2221
Location: UK

PostPosted: Wed Dec 05, 2012 2:40 pm    Post subject: Reply with quote

Quote:
Code:
# CONFIG_ATA is not set

No disk drivers... no boot.
Back to top
View user's profile Send private message
Aviator45003
n00b
n00b


Joined: 22 Aug 2012
Posts: 22

PostPosted: Wed Dec 05, 2012 2:49 pm    Post subject: Reply with quote

Ant P. wrote:
Quote:
Code:
# CONFIG_ATA is not set

No disk drivers... no boot.


(headdesk).
Thank you! No wonder! Now to set ATA drivers without using the archaic form... That may be more difficult.

Glad I have a backup of my original kernel, regardless. Useful to boot into to make these necessary changes.

- Aviator45003
_________________
--
System Details:
4 Hard Drive, IDE/P-ATA/Ultra-ATA, CD and DVD reader/burner
PowerPC: Xserve G4, 1.33 GHz Dual Processors, 2 GB of RAM.
32Bit
Back to top
View user's profile Send private message
Aviator45003
n00b
n00b


Joined: 22 Aug 2012
Posts: 22

PostPosted: Fri Dec 07, 2012 2:18 am    Post subject: Reply with quote

Hey again,

Sorry for being annoying, but I hope I am actually learning.

I went through everything in my kernel, took 2 hours, using Menuconfig, and made sure I enabled everything I needed.

The only problem I found was that when I tried to outright disable Devices --> Graphics Support --> Framebuffer Devices, I could not (it was marked -*-, instead of the flexible <*> and [*] types). Is there anyway to actually disable framebuffer devices?

Today I got farther in the boot process. The compiled kernel made it to the boot screen (which was lined and erratic, impossible to read, and a complete mess, BUT it had the penguin up top, albiet copied across the screen and as horizontally screwed up as the rest.

Then the computer froze, and it must have completely frozen for 60 seconds because it rebooted (as I had instructed the kernel to do).

Oh, and I changed my hardware configuration recently (three days ago). I removed the VGA-Only Radion 7000, leaving the S-Video+DVI+VGA Radeon 7000. One display is connected to the DVI port by way of a DVI -> VGA adapter, and my main display is connected using VGA. Both showed the same messed-up screen, but at least they both were being used! I also replaced the old, broken Optical drive, with a brand-spanking-new-from-an-old-computer CD and DVD read/burner.

So the good news: It seems my kernel is now able to do basic bootup, and use the VGA displays. Also now able to use the front-panel LEDs on my Xserve.

The bad news: The bootup fails, but I don't know at what point. The displays don't show anything useful. Attempts at logging in failed, although I know not if I even reached a login point.

Any advice? I can link to my .config if necessary. Thank you,

Aviator45003
_________________
--
System Details:
4 Hard Drive, IDE/P-ATA/Ultra-ATA, CD and DVD reader/burner
PowerPC: Xserve G4, 1.33 GHz Dual Processors, 2 GB of RAM.
32Bit
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 31373
Location: 56N 3W

PostPosted: Fri Dec 07, 2012 9:50 pm    Post subject: Reply with quote

Aviator45003,

Post both your kernel .config and the output of lspci.

You cannot turn framebuffers off en mass. you have to disable the individual hardwsre options for each framebuffer.
That you saw the penguin at the top of the screen was encouraging. That showed that a framebuffer console was in use.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Aviator45003
n00b
n00b


Joined: 22 Aug 2012
Posts: 22

PostPosted: Mon Dec 10, 2012 5:19 am    Post subject: Reply with quote

NeddySeagoon wrote:
Aviator45003,

Post both your kernel .config and the output of lspci.

You cannot turn framebuffers off en mass. you have to disable the individual hardwsre options for each framebuffer.
That you saw the penguin at the top of the screen was encouraging. That showed that a framebuffer console was in use.



Config: Your paste can be seen here: http://bpaste.net/show/63383/

lspci: Your paste can be seen here: http://bpaste.net/show/63384/


I did disable the individuals... I am afraid I missed something really stupid.

Thank you so much for your time sifting through my files,

- Avi45003
_________________
--
System Details:
4 Hard Drive, IDE/P-ATA/Ultra-ATA, CD and DVD reader/burner
PowerPC: Xserve G4, 1.33 GHz Dual Processors, 2 GB of RAM.
32Bit
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5271

PostPosted: Mon Dec 10, 2012 11:51 am    Post subject: Reply with quote

'lspci -k' would be more useful (and you may need to run update-pciids)...

Still:
- CONFIG_DEVTMPFS should be on (probably with CONFIG_DEVTMPFS_MOUNT)
- as already said, if you've got correct _ATA driver for your controller, CONFIG_IDE should be off
- (not really important, but) CONFIG_INPUT_MOUSEDEV_PSAUX can be off, CONFIG_SND_HRTIMER, CONFIG_TMPFS_POSIX_ACL, CONFIG_TMPFS_XATTR, probably should be on
- RV100...you're in for a lot ****hurt - that chip is so out of date, that the support is minimal these days (even r200 are working only on a basic level)
- all _FB_ options that need to be off, seem to be
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 31373
Location: 56N 3W

PostPosted: Mon Dec 10, 2012 10:56 pm    Post subject: Reply with quote

Aviator45003,

To add to VoidMages hints,

You need
Code:
CONFIG_IDE=y
off. That will hide a lot of depreciated rubbish in your kernel, so its not built.
Code:
CONFIG_SCSI_LOWLEVEL=y
is for real low level SCSI. You don't have any of that so set it off.
Code:
CONFIG_ATA=y
is correct. The drivers for your HDD are on this menu.
Code:
CONFIG_ATA_VERBOSE_ERROR=y
should be off. It generates logspam that you won't use unless you are a developer.

Code:
CONFIG_ATA_SFF=y
CONFIG_ATA_BMDMA=y
are both good.
Code:
# CONFIG_PATA_PDC2027X is not set
is bad as thats the driver for your
Code:
0001:10:15.0 RAID bus controller: Promise Technology, Inc. PDC20271 (FastTrak TX2000) (rev 03)
0001:10:1b.0 RAID bus controller: Promise Technology, Inc. PDC20271 (FastTrak TX2000) (rev 03)
disc controllers. Thats a must have to boot.

Looking at other essential stuff
Code:
CONFIG_MAC_PARTITION=y
CONFIG_MSDOS_PARTITION=y
both good.

You should turn off any options with DEBUG in their name as they generally write logs, which slows things down. A few even interfere with proper operation.

Fix the above in make menuconfig, use the search (press /) to find out where symbols are and what the prompt is you are looking for.
I don't think the Radeon driver works with your
Code:
0001:12:03.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV100 QY [Radeon 7000/VE]

However, you also have
Code:
CONFIG_VGA_CONSOLE=y
which will get you a plain text console.

Watch for a tux logo during boot, if you see it, framebuffer is working, if not, it isn't.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Aviator45003
n00b
n00b


Joined: 22 Aug 2012
Posts: 22

PostPosted: Wed Dec 12, 2012 1:44 am    Post subject: Reply with quote

I have gone into the config, first backing up .config, then running `make clean`, then restoring the config, then setting up all of the changes you folks suggested (Alt-F2 is my friend), then `make && make modules_install`. I get the same problem as I did before, my config file is identical but for the aforementioned modifications.

The boot screen looks just like any regular startup process except:
It seems to panic before any text-colour is introduced, but I can't be sure because:
Imagine the Tux logo, except randomly sized horizontal segments are spread across the width of the display. I'm sure that if I stacked everything up like a puzzle, I'd get the double-tux-logo. Now imagine that effect duplicated for every line of text the entire way down. Yes, text scrolls, but it is incomprehensible.

If anybody has ideas, I'm open to try them. Really am, I would LOVE to run Gentoo on my old system, even if I never get to upgrade the graphics again. At least it'd be useful for something.

I'm beginning to look into Yellow Dog Linux for this computer, in case my RV100 problem is too major to overcome and there are no drivers. I defenitely will use Gentoo, even if not on this computer, then on my RaspberryPi, or another computer when I get it.

Just a note, I'm using my first Kernel, the FrameBuffer Enabled one, to make all the changes to my Gentoo main kernel, the ones that keep messing up. That one works just fine.
_________________
--
System Details:
4 Hard Drive, IDE/P-ATA/Ultra-ATA, CD and DVD reader/burner
PowerPC: Xserve G4, 1.33 GHz Dual Processors, 2 GB of RAM.
32Bit
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5271

PostPosted: Wed Dec 12, 2012 4:48 am    Post subject: Reply with quote

Did you adjust your bootloader line after switching to _ATA drivers ?
Back to top
View user's profile Send private message
Aviator45003
n00b
n00b


Joined: 22 Aug 2012
Posts: 22

PostPosted: Wed Dec 12, 2012 11:31 am    Post subject: Reply with quote

The bootloader would still be poiting to the same image "kernel-3.4.9-gentoo". I `rm /boot/kernel-3.4.9-gentoo`, then `cp vmlinux /boot/kernel-3.4.9-gentoo`, so I don't think the bootloader would need to be updated...
_________________
--
System Details:
4 Hard Drive, IDE/P-ATA/Ultra-ATA, CD and DVD reader/burner
PowerPC: Xserve G4, 1.33 GHz Dual Processors, 2 GB of RAM.
32Bit
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5271

PostPosted: Wed Dec 12, 2012 12:57 pm    Post subject: Reply with quote

As 'Kernel command line: root=/dev/hde5 ro video=ofonly', it definitely needs to be updated.
Back to top
View user's profile Send private message
Aviator45003
n00b
n00b


Joined: 22 Aug 2012
Posts: 22

PostPosted: Wed Dec 12, 2012 2:51 pm    Post subject: Reply with quote

VoidMage wrote:
As 'Kernel command line: root=/dev/hde5 ro video=ofonly', it definitely needs to be updated.


What is the `ro` bit?

video=ofonly was a way for me to get the vide.... oh. Now that there is a working graphics card, I shouldn't need that!

Will report back later.
_________________
--
System Details:
4 Hard Drive, IDE/P-ATA/Ultra-ATA, CD and DVD reader/burner
PowerPC: Xserve G4, 1.33 GHz Dual Processors, 2 GB of RAM.
32Bit
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 31373
Location: 56N 3W

PostPosted: Wed Dec 12, 2012 10:33 pm    Post subject: Reply with quote

Aviator45003,

You must fix /etc/fstab too. No more /dev/hd...
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Aviator45003
n00b
n00b


Joined: 22 Aug 2012
Posts: 22

PostPosted: Wed Dec 12, 2012 10:38 pm    Post subject: Reply with quote

NeddySeagoon wrote:
Aviator45003,

You must fix /etc/fstab too. No more /dev/hd...


Okay, so that makes sense...
What about support for my other Kernel, the backup one?
Would I be able to use BOTH /dev/hdX /dev/sdX?
_________________
--
System Details:
4 Hard Drive, IDE/P-ATA/Ultra-ATA, CD and DVD reader/burner
PowerPC: Xserve G4, 1.33 GHz Dual Processors, 2 GB of RAM.
32Bit
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 31373
Location: 56N 3W

PostPosted: Wed Dec 12, 2012 11:00 pm    Post subject: Reply with quote

Aviator45003,

Nope. Your backup kernel is dead. There is no going back.

udev does not make /dev/hd... entries, so with the old drivers, you can only get as far as root mounted read only and its not possible to mount other filesystems unless you either use a static /dev or make the needed /dev/hd.. nodes some other way.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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