Bug 153090

Summary: Running user space applications as simple as fglrxinfo will cause the system to hang
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Anatoli Antonovitch <antonovi>
Component: X11 3rd PartyAssignee: Jammy Zhou <atilinuxnovellbugs>
Status: RESOLVED FIXED QA Contact: Stefan Dirsch <sndirsch>
Severity: Major    
Priority: P5 - None CC: behlert, hyu, joe, lmarsan, mtippett, suse-beta
Version: Beta 3   
Target Milestone: ---   
Hardware: x86   
OS: SUSE Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Anatoli Antonovitch 2006-02-23 14:24:04 UTC
On kernels 2.6.16 (NLD 10.0 Beta [2/3])

Upon an page fault caused by an user space application tries to access an address, the kernel will allocate an page table for storing the PTEs, the nasty bug causes all the page tables to be marked as ANONYMOUS pages, which causes kernel crash when our user applications try to access those page tables.

Here are the instructions to reproduce the problem:

1. Install ATI's graphic driver.
2. Start the X server (please make sure that ATI's kernel module (fglrx.ko) is loaded). 
3. Run fglrxinfo.
4. The system will hang right away.
Comment 1 Stefan Dirsch 2006-02-23 14:32:48 UTC
Since cthiel is a regular user of this driver it would be good to try to reproduce this problem with the current Beta.
Comment 2 Christoph Thiel 2006-02-23 18:20:07 UTC
Sorry, I couldn't reproduce this hang on my T41p (using a Mobility FireGL T2).
Comment 4 Luugi Marsan 2006-02-23 18:26:03 UTC
(In reply to comment #2)
> Sorry, I couldn't reproduce this hang on my T41p (using a Mobility FireGL T2).
> 

Which Beta are you refering to? 
Comment 5 Christoph Thiel 2006-02-23 18:27:57 UTC
I'v just tested it on Beta5 (which is still internal), running driver version 8.22.5.
Comment 6 Luugi Marsan 2006-02-23 18:31:59 UTC
(In reply to comment #5)
> I'v just tested it on Beta5 (which is still internal), running driver version
> 8.22.5.
> 

That's good news. 

Thanks.
Comment 23 Stefan Dirsch 2006-03-17 15:56:12 UTC
>Subject: RE: NLD10 kernel mm bug affecting ATI driver
>Date: Fri, 10 Mar 2006 14:36:52 -0500
>From: Hui Yu <hyu@ati.com>
>To: Andi Kleen <ak@suse.de>, Andrea Arcangeli <andrea@suse.de>
>Cc: Stefan Dirsch <sndirsch@suse.de>, Guy Lunardi <guy@novell.com>,
>        Matthew Tippett <mtippett@ati.com>, Luugi Marsan <lmarsan@ati.com>,
>        Anatoli Antonovitch <antonovi@ati.com>
>
>Thanks for the helps from Andi and Hugh Dickins, a fix to this issue has
>been submitted to Linus' -git tree, and is available in 2.6.16-rc5-git14
>snapshot.
>http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commi
>tdiff;h=85a6cd03a97f04ffff7bfedfa3172894ca9a617b. I have verified the
>fix on git head kernel and modified linux-2.6.16-rc4-3 kernel come with
>NLD10Beta4.
>
>We'll verify it with new NLD releases and close the bug when it's
>resolved.
>
>Thanks.
>Hui

Beta8 comes with 2.6.16-rc6-git1 and the fix seems to be included. Therefore closing this one as FIXED.