[ltp] RH-7.3 on thinkpad X30?

Karl Klashinsky linux-thinkpad@linux-thinkpad.org
13 Jul 2003 12:17:28 -0700


Ok, finally got a chance to play with this a bit.  Exec summary:

- Thinkpad X30 (has Intel 830 graphics chipset)
- Running RedHat-7.3 (company-mandated linux release)
- Issues w/ X crashing when suspend/resume of the laptop
- Partially resolved by installing 2.4.20-18.7 kernel (RedHat errata
kernel release) and "home-brew" XFree86-4.3
- Still see occasional Xserver crashes

Slightly more detail...

Installed the above-mentioned kernel, both binary and source, but so far
haven't config'd and built a "custom" kernel yet (troll: anybody got a
decent kernel config for an X30?)

The XFree86-4.3 comes from RedHat source RPM (XFree86-4.3.0-2.src.rpm,
and another troll: anyone know of a more current RPM source-ball for
XFree86-4.3?).

The XFree86-4.3 was built via "rpmbuild", but was not built on the X30. 
It was built on my desktop, which is running the same RedHat-7.3
environment *except* for the fact that the desktop is still running
2.4.18-27.7 kernel.

Where I still have problems... the X server does occasionally crash. 
About once every 6 to 10 resume's the X server will crash.  Furthermore,
I can force the X server to crash by trying to switch to an alternate
(text) console (e.g., "ALT-CTL-F2").  In both cases, these messages
appear in /var/log/messages:

Jul 12 12:22:10 klash-x20 kernel: [drm:i830_wait_ring] *ERROR* space: 131048 wanted 131064
Jul 12 12:22:10 klash-x20 kernel: [drm:i830_wait_ring] *ERROR* lockup
Jul 12 12:22:14 klash-x20 kernel: [drm:i830_wait_ring] *ERROR* space: 131040 wanted 131064
Jul 12 12:22:14 klash-x20 kernel: [drm:i830_wait_ring] *ERROR* lockup
Jul 12 12:22:17 klash-x20 kernel: [drm:i830_wait_ring] *ERROR* space: 131032 wanted 131064
Jul 12 12:22:17 klash-x20 kernel: [drm:i830_wait_ring] *ERROR* lockup
Jul 12 12:22:20 klash-x20 kernel: [drm:i830_wait_ring] *ERROR* space: 131024 wanted 131064
Jul 12 12:22:20 klash-x20 kernel: [drm:i830_wait_ring] *ERROR* lockup
Jul 12 12:22:23 klash-x20 kernel: [drm:i830_wait_ring] *ERROR* space: 131016 wanted 131064
Jul 12 12:22:23 klash-x20 kernel: [drm:i830_wait_ring] *ERROR* lockup
Jul 12 12:22:26 klash-x20 kernel: [drm:i830_wait_ring] *ERROR* space: 131008 wanted 131064
Jul 12 12:22:26 klash-x20 kernel: [drm:i830_wait_ring] *ERROR* lockup
Jul 12 12:22:29 klash-x20 kernel: [drm:i830_wait_ring] *ERROR* space: 131000 wanted 131064
Jul 12 12:22:29 klash-x20 kernel: [drm:i830_wait_ring] *ERROR* lockup
Jul 12 12:22:29 klash-x20 kernel: [drm:i830_wait_ring] *ERROR* lockup
Jul 12 12:22:32 klash-x20 kernel: [drm:i830_wait_ring] *ERROR* space: 130992 wanted 131064
Jul 12 12:22:32 klash-x20 kernel: [drm:i830_wait_ring] *ERROR* lockup
Jul 12 12:22:35 klash-x20 kernel: [drm:i830_wait_ring] *ERROR* space: 130984 wanted 131064
Jul 12 12:22:35 klash-x20 kernel: [drm:i830_wait_ring] *ERROR* lockup
Jul 12 12:22:38 klash-x20 kernel: [drm:i830_wait_ring] *ERROR* space: 130976 wanted 131064
Jul 12 12:22:38 klash-x20 kernel: [drm:i830_wait_ring] *ERROR* lockup
Jul 12 12:22:41 klash-x20 kernel: [drm:i830_wait_ring] *ERROR* space: 130968 wanted 131064
Jul 12 12:22:41 klash-x20 kernel: [drm:i830_wait_ring] *ERROR* lockup
Jul 12 12:22:44 klash-x20 kernel: [drm:i830_wait_ring] *ERROR* space: 130960 wanted 131064
Jul 12 12:22:44 klash-x20 kernel: [drm:i830_wait_ring] *ERROR* lockup
Jul 12 12:22:44 klash-x20 kdm[1214]: Server for display :0 terminated unexpectedly

Then, in the end of /var/log/XFree86.0.log:

Error in I830WaitLpRing(), now is 248060527, start is 248058526
pgetbl_ctl: 0x1ff60001 pgetbl_err: 0x0
ipeir: 0 iphdr: 0
LP ring tail: 8 head: 0 len: 0 start 0
eir: 0 esr: 0 emr: ffff
instdone: ffc0 instpm: 0
memmode: 108 instps: 0
hwstam: ffff ier: 0 imr: ffff iir: 0
space: 131056 wanted 131064
(II) I810(0): [drm] removed 1 reserved context for kernel
(II) I810(0): [drm] unmapping 8192 bytes of SAREA 0xe022f000 at
0x40014000

Fatal server error:
lockup

And, of course, the X server restarts.

Can anybody toss me any clues on this?  It looks like an X/DRM issue?

On Fri, 2003-06-27 at 09:39, Karl Klashinsky wrote: 
> On Fri, 2003-06-27 at 00:58, Tino Keitel wrote:
> > On Fri, Jun 27, 2003 at 00:11:28 -0700, Karl Klashinsky wrote:
> > > I've got redhat 7.3 installed on my new thinkpad x30.  It works, but I'm
> > > having issues w/ suspend/resume... specifically, it seems to lock up
> > > and/or kill the XFree86 session upon resume.
> > > 
> > > Any guidance/tips would be appreciated...
> > 
> > Does you X30 has a Radeon chip?
> 
> No, it's an Intel i830.  The "Device" section of my XF86Config-4 has the
> specifier "Driver i810" (genereated by RedHat install, I didn't have to
> run Xconfigurator, nor did I have to tweak the XF86Config-4 file).
> 
> >  Is DRI enabled? If yes:
> > 
> > 	http://cpbotha.net/dri_resume.html
> 
> Interesting... although not a radeon, that page does seem to be relevant
> to my situation (it mentions Intel graphics chips).
> 
> I'm on the road now, so will tweak/play when I get home, and will report
> back later to the list.
> 
> Thanks very much.
> 
> > 
> > -- 
> > tino.keitel@innominate.com
> > dipl.-inf.                        Innominate Security Technologies AG
> > software engineer                                   enabling security
> > tel: +49.30.6392-3308                      http://www.innominate.com/
> -- 
> klash        |       |      Child Logic: An unbreakable toy is useful
>             .|.     .|.     for breaking other toys.
>            .|||.   .|||.    
>          .:::::::.:::::::.  



-- 
klash        |       |      Child Logic: An unbreakable toy is useful
            .|.     .|.     for breaking other toys.
           .|||.   .|||.    
         .:::::::.:::::::.