Skip to contentSkip to conversation

Stock 2.4.10 kernel on RS6K 7248, pretty darn good....

DISCUSSION Robert E Brose II 2 participants 3 messages Sep 26, 2001

lore
Share & tools
lore
#0 lore raw

ALMOST everything works really well for me. The PCI fixes for the 7248 are in the stock kernel and it even works with a PCI tulip card.

I'm running SUSE 7.1 on this box. Only 2 problems. One very small...

1) When booting the 2.4.10 kernel as opposed to the 2.2.18 kernel, the virtual consoles have the character and attribute REVERSED so there is junk on the screen when one first switches. Subsequent characters displayed work properly however. 2.4.10 is using the VGA console driver in this case because the frame buffer driver wasn't compiled in.

2) A little more problematic, I'd like to run X on this (it IS a workstation). The carolina patches for 2.2.18 created a frame buffer device for the S3-864 display called IBM_E15. It works nicely for X 3.3.6 but there is no patch that I can find for this for 2.4 kernels.

I've been hacking the 2.2.18 patch into the 2.4.10 kernel source tree and have it booting and using the frame buffer device for console characters but it blows up when I run X. The screen blanks out and the machine i/o appears dead.

I'm wondering if anyone is doing X on the prep boxes with 2.4.x and if so, how? I was also curious about the possibility of skipping the frame buffer stuff and running the accelerated S3 driver for X.

Here is the dmesg from 2.2.18 for the E15....

IBM_E15: initializing
IBM_E15: No PCI linear framebuffer base address assigned to 864.
IBM_E15: This is normal. Using default of 0x20000000.
IBM_E15: detected S3 864, linear frame buffer at 0x20000000 Video ram virt base = d0000000
IBM_E15: Text console mode: 8 bit color depth
Console: switching to colour frame buffer device 80x30
fb0: IBM_E15 frame buffer device

Here it is from my hack into 2.4.10....

IBM_E15: initializing
IBM_E15: detected S3 864, linear frame buffer at 0x02800000 Video ram virt base = f2800000
IBM_E15: Text console mode: 8 bit color depth
Console: switching to colour frame buffer device 80x30
fb0: IBM_E15 frame buffer device

I noticed that the linear frame buffer address and the video ram virt base are pretty different....

Hints are more than welcome!

Bob
--
Robert E. Brose II N0QBJ
http://www.jriver.com/~bob/
[email protected]

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#1 lore raw

Re: Stock 2.4.10 kernel on RS6K 7248

Quoted 7 lines · Robert E Brose II

1) When booting the 2.4.10 kernel as opposed to the 2.2.18 kernel, the virtual consoles have the character and attribute REVERSED so there is junk on the screen when one first switches. Subsequent characters displayed work properly however. 2.4.10 is using the VGA console driver in this case because the frame buffer driver wasn't compiled in.

This problem has been fixed in a large video driver patch that Geert posted a month or two ago.

Quoted 2 lines

2) A little more problematic, I'd like to run X on this (it IS a workstation).

[snip]

I don't know... isn't it a requirement that you can run X before you can call it a workstation? ;)

At any rate, I don't think anyone except you has tried to hack 2.2's e15fb into 2.4...

-Hollis

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#2 lore raw

Re: Stock 2.4.10 kernel on RS6K 7248

User [email protected] says:

Quoted 11 lines · Robert E Brose II
Quoted 7 lines

1) When booting the 2.4.10 kernel as opposed to the 2.2.18 kernel, the virtual consoles have the character and attribute REVERSED so there is junk on the screen when one first switches. Subsequent characters displayed work properly however. 2.4.10 is using the VGA console driver in this case because the frame buffer driver wasn't compiled in.

This problem has been fixed in a large video driver patch that Geert posted a month or two ago.

Ok, I'll dig that out. I WAS impressed that all the other fixes made it into the stock kernel source.

Quoted 6 lines
Quoted 2 lines

2) A little more problematic, I'd like to run X on this (it IS a workstation).

[snip]

I don't know... isn't it a requirement that you can run X before you can call it a workstation? ;)

Touche, it WAS a workstation when it was running AIX ;)

Quoted 2 lines

At any rate, I don't think anyone except you has tried to hack 2.2's e15fb into 2.4...

Then I'll keep hacking :)

Bob
--
Robert E. Brose II N0QBJ
http://www.jriver.com/~bob/
[email protected]

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/