UseFBDev option causes Dapper ppc live cd SIGSEGV initializing X

Bug #63072 reported by Joakim Larsson
2
Affects Status Importance Assigned to Milestone
linux-source-2.6.15 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I just tried to install Ubuntu Dapper Drake on my purple 400 MHz iMac but the install process fails. To reproduce:

- turn power on
- put dapper ppc cd into slot
- give 'live video=ofonly' option at boot prompt
- wait 5 minutes for install cd to settle and X to crash with garbled setup dialog
- switch to another virtual terminal
- check the logs
I copied the logs onto an USB stick so I could check them out on another machine becuase the system did not live for very long and froze completelly within 10 minutes... Some thing is very wrong with the install CD. I got the following in /var/log/gdm0.log:

<<
X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.15-26-powerpc64-smp ppc
Current Operating System: Linux ubuntu 2.6.15-26-powerpc #1 Thu Aug 3 02:53:39 UTC 2006 ppc
Build Date: 16 March 2006
 Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Sep 29 21:01:34 2006
(==) Using config file: "/etc/X11/xorg.conf"
(WW) ****INVALID IO ALLOCATION**** b: 0xf0000400 e: 0xf00004ff correcting
(EE) end of block range 0xefffffff < begin 0xf0000000
(EE) R128(0): mmap mmio: Invalid argument

   *** If unresolved symbols were reported above, they might not
   *** be the reason for the server aborting.

Backtrace:
0: /usr/bin/X(xf86SigHandler+0xa4) [0x10082074]
1: [0x100374]
2: /usr/lib/xorg/modules/drivers/r128_drv.so [0xf567d08]
3: /usr/lib/xorg/modules/drivers/r128_drv.so(R128PreInit+0x748) [0xf56912c]
4: /usr/bin/X(InitOutput+0xae4) [0x10065264]
5: /usr/bin/X(main+0x2cc) [0x10025180]
6: /lib/libc.so.6 [0xfc8a8ec]
7: /lib/libc.so.6 [0xfc8aa34]

Fatal server error:
Caught signal 11. Server aborting
>>

Revision history for this message
Joakim Larsson (joakim-bildrulle) wrote :
Revision history for this message
Joakim Larsson (joakim-bildrulle) wrote :

bootstrap.log contains a lot of sayings about broken dependencies between packages...

Revision history for this message
Joakim Larsson (joakim-bildrulle) wrote :

I just tried Xubuntu live cd in case there was an out of memory situation and booted it with the same kernel and the video=ofonly parameter. Both 'startx' and 'startxfce' yields the same SIGSEGV fault in the Rage 128 driver related to the mmio call.

The system doesn't die however so I now got a prompt to play around with and I guess 128 Mb actually is too little for Ubuntu Desktop after all. Maybe a graceful detection of this would be nice instead of a system lockup. For the iMac I continue to use Xubuntu but I will try the Ubuntu-server live cd as well.

Revision history for this message
Joakim Larsson (joakim-bildrulle) wrote :

More findings: If I edit /etc/X11/xorg.conf and do
         Option "UseFBDev" "false"
 in the Device section for "ATI Technologies, Inc. Rage 128 RL/VR AGP" instead of setting the option to "true" the bug doesn't occur. I have also found some other reports on the net for this bug in various stages of the Xfree86 and X.org development of this driver. The same behavior is found also using the the "r128" driver directly instead of indirectly through the "ati" driver.

So the bug is clearily in the FBDev part of the driver

Status now is that the driver do not display on the internal iMac CRT but I got picture through the external VGA output. However that has nothing todo with the SIGSEGV bug found, but I am not stuck at it anymore and I am not looking for support here... ;-)

Revision history for this message
Joakim Larsson (joakim-bildrulle) wrote :

After installing from the Xubuntu livecd I updated the 79(!) packages neeed to get up to date I found out that the kernel used is older than the livecd one:

X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.15-26-powerpc64-smp ppc
Current Operating System: Linux jol-desktop 2.6.15-23-powerpc #1 Tue May 23 13:46:54 UTC 2006 ppc

The livecd kernel is not 2.6.15-23 but 2.6.15-26 (See above log) and with this older (cut -23) the Option UseFBDev "true" works!

So I think the framebuffer driver has changed between these cuts and caused the SIGSEGV crash. I am currently not at the CVS so I can't check the diff myself yet.

Revision history for this message
Joakim Larsson (joakim-bildrulle) wrote :

Ok, so I tracked down some differences from the dmesg logs between the two kernel versions and it seems apparent that a different framebuffer device driver is used in the live CD kernel. I attach the intalled kernel (2.6.15-23) log for reference against the already attached log from the live CD kernel (2.6.15-26) The interesting lines are:

< [ 0.000000] Linux version 2.6.15-23-powerpc (buildd@ross) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 Tue May 23 13:46:54 UTC 2006
> [ 0.000000] Linux version 2.6.15-26-powerpc (buildd@royal) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 Thu Aug 3 02:53:39 UTC 2006

and

< [ 32.329540] aty128fb: Invalid ROM signature 8181 should be 0xaa55
< [ 32.329568] aty128fb: BIOS not located, guessing timings.
< [ 32.329592] aty128fb: Rage128 RL AGP [chip rev 0x2] 8M 64-bit SDR SGRAM (2:1)
< [ 32.364369] Console: switching to colour frame buffer device 128x48
< [ 32.364402] fb0: ATY Rage128 frame buffer device on Rage128 RL AGP

> [ 65.884727] Using unsupported 1024x768 ATY,Rage128k at 94000000, depth=8, pitch=1024
> [ 65.919532] Console: switching to colour frame buffer device 128x48
> [ 65.919556] fb0: Open Firmware frame buffer device on /pci@f0000000/ATY,Rage128k@10

The live CD kernel uses some other device driver that isn't working with the UseFBDev option "true" as it seems.

Revision history for this message
Joakim Larsson (joakim-bildrulle) wrote :

Narrowed down the bug a bit

Revision history for this message
Clive Darra (osde8info) wrote :
Revision history for this message
Gareth Fitzworthington (mapping-gp-deactivatedaccount) wrote :

This bug has had no activity for a considerable period. This is a check to see if there is still interest in investigating this bug report.

Changed in linux-source-2.6.15:
status: New → Incomplete
Revision history for this message
Gareth Fitzworthington (mapping-gp-deactivatedaccount) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in linux-source-2.6.15:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.