Bug 55931 (breakfastfish)

Summary: Crashes with radeon driver and r100/r200 cards (Radeon 7000 & 9250) on Tyan S2460 MB (AMD 32)
Product: Drivers Reporter: Fred Stevens (sk8tesgre8t)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: NEW ---    
Severity: normal CC: alan, alexdeucher, szg00000
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.2.40,3.7.10,3.8.4 Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg-3.8.4_R7000
Xorg.log
Radeon 9250 3.7.10
9250 in 1x mode
dmesg output from kernel 3.10.17-i586, radeon.agp=-1
Normal Boot with radeon module loaded
Latest - radeon.agpmode=-1

Description Fred Stevens 2013-03-29 15:00:04 UTC
kernel lockup with all kernel versions tested.  System has two AMD 32 bit processors, 3GB ram and AGP video cards. 9250 crashes with either text mode or X server.  7000 crashes with X only (so far, I have about two days uptime so far without any kernel error messages).

I have attached debug files and Xorg.log files.

Cheers,

Fred
Comment 1 Fred Stevens 2013-03-29 15:01:10 UTC
Created attachment 96571 [details]
dmesg-3.8.4_R7000
Comment 2 Fred Stevens 2013-03-29 15:01:48 UTC
Created attachment 96581 [details]
Xorg.log
Comment 3 Fred Stevens 2013-03-29 15:02:56 UTC
Created attachment 96591 [details]
Radeon 9250 3.7.10
Comment 4 Fred Stevens 2013-03-29 15:04:15 UTC
Created attachment 96601 [details]
9250 in 1x mode
Comment 5 Alex Deucher 2013-11-13 22:00:19 UTC
Does it work if you disable AGP?  Boot with radeon.agpmode=-1 on the kernel command line in grub.
Comment 6 Fred Stevens 2013-11-14 14:57:22 UTC
(In reply to Alex Deucher from comment #5)
> Does it work if you disable AGP?  Boot with radeon.agpmode=-1 on the kernel
> command line in grub.

It's working so far.  I did try X and it didn't crash with the usual sequences (windowmaker wm, firefox, xterm, use wm to modify a "docked" applications settings).  I'm using kernel 3.10.17-i586 from Slackware-14.1 (happens to be Slackware-Current right now).  My next check, which is being done presently, is to compile TeXLive from SlackBuild.  This will crash the kernel when the compressed package is built (larger than 1GB).

I am attaching a current dmesg with the radeon.agp=-1 passed to grub.

Cheers,

Fred
Comment 7 Fred Stevens 2013-11-14 15:00:42 UTC
Created attachment 114661 [details]
dmesg output from kernel 3.10.17-i586, radeon.agp=-1
Comment 8 Alex Deucher 2013-11-14 15:11:04 UTC
(In reply to Fred Stevens from comment #6)
> (In reply to Alex Deucher from comment #5)
> > Does it work if you disable AGP?  Boot with radeon.agpmode=-1 on the kernel
> > command line in grub.
> 
> It's working so far.  I did try X and it didn't crash with the usual
> sequences (windowmaker wm, firefox, xterm, use wm to modify a "docked"
> applications settings).  I'm using kernel 3.10.17-i586 from Slackware-14.1
> (happens to be Slackware-Current right now).  My next check, which is being
> done presently, is to compile TeXLive from SlackBuild.  This will crash the
> kernel when the compressed package is built (larger than 1GB).
> 
> I am attaching a current dmesg with the radeon.agp=-1 passed to grub.

It's radeon.agpmode=-1 not radeon.agp=-1.  You are preventing the radeon kernel module from loading due to an invalid parameter name:

[   32.781722] radeon: `-1' invalid for parameter `agp'

Alternatively, you can try adjusting the agpmode.  E.g., radeon.agpmode=1 or 2 or 4. to force the agpmode to something other than what the bios set up.
Comment 9 Fred Stevens 2013-11-14 15:29:51 UTC
Oops!  I'll try radeon.agpmode=-1 instead.  Still compiling TeXLive as there has always been an issue with large files, ide, etc with this motherboard and 3x kernels.  When I have something significant I will post here again.

Cheers,

Fred
Comment 10 Fred Stevens 2013-11-14 17:02:01 UTC
Still locks up hard with radeon.agpmode=-1 or radeon.agpmode=1.  Haven't tried anything else yet.  The build of TeXLive failed as before with radeon module disabled.  I'm uploading a dmesg output from a "normal" boot to runlevel 3 which works, at least for a while.

Cheers,

Fred
Comment 11 Fred Stevens 2013-11-14 17:03:45 UTC
Created attachment 114691 [details]
Normal Boot with radeon module loaded
Comment 12 Fred Stevens 2013-11-14 20:35:35 UTC
Created attachment 114761 [details]
Latest - radeon.agpmode=-1
Comment 13 Fred Stevens 2013-11-14 20:38:11 UTC
Everything seems to be working now.  I reset the agp aperature to 256Mb (same as card) and booted as you suggested (radeon.agpmode=-1).  I am rebuilding about 4 or 5 different packages and using both cpus.  It still crashes with files larger than 1GB though.

Cheers,

Fred
Comment 14 Alex Deucher 2013-11-14 21:22:33 UTC
(In reply to Fred Stevens from comment #13)
> Everything seems to be working now.  I reset the agp aperature to 256Mb
> (same as card) and booted as you suggested (radeon.agpmode=-1).  I am
> rebuilding about 4 or 5 different packages and using both cpus.  It still
> crashes with files larger than 1GB though.

What do you mean by "crashes with files larger than 1GB"?
Comment 15 Fred Stevens 2013-11-14 21:31:41 UTC
If one tries to copy or manipulate a file (compress with gzip, xz, bz2) larger than 1GB.  There was a fix for this issue back with earlier 2.6 kernels but it re-surfaced sometime around the release of 2.6.34 and later.  The kernel will lock up if I try to compile, for example, texlive from a SlackBuild or even try to copy the prebuilt binary from another hard disk or usb disk, etc.

There seems to be a hardware pci bridge bug and appropriate work around associated with this but I would have to check the kernel archives to make sure.