Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
G4 Kernel Config Help Needed (video / serial ports) [Solved]
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
Bones McCracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1609
Location: U.S.A.

PostPosted: Fri Mar 24, 2006 4:07 am    Post subject: G4 Kernel Config Help Needed (video / serial ports) [Solved] Reply with quote

Ironing out a few remaining issues after getting Gentoo/Gnome installed on my circa April 2000 PowerMac G4 500 AGP (Sawtooth). This is my first Gentoo install and these are noob questions for sure, so thank you in advance for your patience and your help.

Two errors and one question, all happen to show close together in DMESG, so I'll ask about them all:

1. Video Card: Do I have a bad video card (or possibly obsolete firmware on it)? (See "invalid ROM signature" in DMESG snippet below.) lspci recognizes it as "ATI Technologies Inc Rage 128 PF/PRO AGP 4x TMDS". Seems to work (I'm using r128 driver), but I think this may be preventing me from using it properly for glx/DRI. As best I can tell, there has been no bios/firmware update for this card from ATI.

2. Serial Ports: I suspect what's below means I've misconfigured the kernel with respect to serial ports, but I'd rather ask than try blundering through multiple trial-and-error compiles. Should I have selected IRQ port sharing? What does "IN from bad port... blah blah" indicate? Did I select pmac_zilog and my G4 doesn't have one?

3. RAM disks: The default seems to be 16 RAM disks of 4096K. Is this RAM allocated immediately and unavailable to normal operations? If so, is this excessive and could I free up some RAM by selecting a smaller number? There is no initrd as far as I know, and I'm not doing anything explicit/manual making use of RAM disks (but I realize I don't know enough to know what processes may be making use of them). I have 512MB of RAM on this box.

Code:
...
PCI: Enabling device 0000:00:10.0 (0086 -> 0087)
aty128fb: Invalid ROM signature 1111 should  be 0xaa55
aty128fb: BIOS not located, guessing timings.
aty128fb: Rage128 PF PRO AGP [chip rev 0x1] 16M 128-bit SDR SGRAM (1:1)
Console: switching to colour frame buffer device 128x48
fb0: ATY Rage128 frame buffer device on Rage128 PF PRO AGP
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
IN from bad port 3f9 at c016ce98
IN from bad port 3f9 at c016ce98
IN from bad port 3f9 at c016ce98
IN from bad port 2f9 at c016ce98
IN from bad port 2f9 at c016ce98
IN from bad port 2f9 at c016ce98
IN from bad port 3e9 at c016ce98
IN from bad port 3e9 at c016ce98
IN from bad port 3e9 at c016ce98
IN from bad port 2e9 at c016ce98
IN from bad port 2e9 at c016ce98
IN from bad port 2e9 at c016ce98
pmac_zilog: 0.6 (Benjamin Herrenschmidt <benh@kernel.crashing.org>)
pmac_zilog: Error registering serial device, disabling pmac_zilog.
pmac_zilog: Did another serial driver already claim the minors?
mice: PS/2 mouse device common for all mice
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
...


Last edited by Bones McCracker on Fri Mar 24, 2006 6:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Mar 24, 2006 4:51 pm    Post subject: Reply with quote

1. The ATI Bios warning is cosmetic. The driver is written to expect an x86 BIOS image, but your PPC machine has OF init code instead. Did you use Xorgautoconfig to configure X? Take a look at the PPC FAQ (linked below) for help configuring DRI/OpenGL on these cards.

2. Disable the Serial 16550/8250 driver. It's causing those IN from bad port messages and is blocking the pmac_zilog serial driver from loading.

3. If you're not using an initrd/genkernel, you're not using the RAM disks. Feel free to disable them.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Bones McCracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1609
Location: U.S.A.

PostPosted: Fri Mar 24, 2006 6:37 pm    Post subject: Reply with quote

Thanks!

I think I enabled that in a vague attempt to accomodate a piece of add-on hardware I installed years ago. I had (still have, actually) a Newton MessagePad 2000 (pda) that needed an old-style Mac serial connector. I wasn't using the modem, so I pulled that and put in something called a Stealth Serial Port. Not sure I'll ever use the Newton again, but thought it might be nice to be able to (or to connect the nifty little Newton keyboard via that serial port). But I didn't really know enough about the architecture, so I think your response will be very helpful.

And this will help me resist the compulsive urge to replace/upgrade the video card on this crusty old box (which is kind of contrary to the whole point here -- creatively making an otherwise obsolete rig actually usable again).

Much appreciated!
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