kernel BUG at drivers/gpu/drm/drm_fops.c:146!

2009-12-06 Thread Björn Steinbrink
from it, I created them manually, ran glxinfo and got a dead box with this in kern.log: kernel: kernel BUG at drivers/gpu/drm/drm_fops.c:146! kernel: invalid opcode: [#1] PREEMPT SMP kernel: last sysfs file: /sys/devices/pci:00/:00:1e.0/:04:00.2/local_cpus kernel: CPU 2 kernel

Re: PROBLEM: kernel BUG at drivers/gpu/drm/drm_fops.c:146!

2009-01-30 Thread Jesse Barnes
On Friday, January 30, 2009 1:21 am Andrew Morton wrote: > On Fri, 30 Jan 2009 10:13:55 +0100 Thomas Hellstr__m wrote: > > >> Sounds right to me. The offsets are just handles, not real file > > >> objects or backing store addresses. We use them to take advantage of > > >> all the inode address

Re: PROBLEM: kernel BUG at drivers/gpu/drm/drm_fops.c:146!

2009-01-30 Thread Thomas Hellström
Andrew Morton wrote: > On Fri, 30 Jan 2009 10:13:55 +0100 Thomas Hellstr__m > wrote: > > Sounds right to me. The offsets are just handles, not real file objects or backing store addresses. We use them to take advantage of all the inode address mapping helpers, since th

Re: PROBLEM: kernel BUG at drivers/gpu/drm/drm_fops.c:146!

2009-01-30 Thread Andrew Morton
On Fri, 30 Jan 2009 10:13:55 +0100 Thomas Hellstr__m wrote: > >> Sounds right to me. The offsets are just handles, not real file objects > >> or > >> backing store addresses. We use them to take advantage of all the inode > >> address mapping helpers, since they track stuff for us. > >> > >

Re: PROBLEM: kernel BUG at drivers/gpu/drm/drm_fops.c:146!

2009-01-30 Thread Thomas Hellström
Andrew Morton wrote: > On Thu, 29 Jan 2009 19:50:17 -0800 Jesse Barnes > wrote: > > >> On Thursday, January 29, 2009 5:43 pm Dave Airlie wrote: >> >>> On Fri, Jan 30, 2009 at 11:20 AM, Andrew Morton >>> hm, I'm a bit surprised to see the drm code using `struct address_spa

Re: PROBLEM: kernel BUG at drivers/gpu/drm/drm_fops.c:146!

2009-01-30 Thread Sami Kerola
On Fri, Jan 30, 2009 at 05:44, Andrew Morton wrote: > On Thu, 29 Jan 2009 19:50:17 -0800 Jesse Barnes > wrote: > >> On Thursday, January 29, 2009 5:43 pm Dave Airlie wrote: >> > On Fri, Jan 30, 2009 at 11:20 AM, Andrew Morton >> > > hm, I'm a bit surprised to see the drm code using `struct >> >

Re: PROBLEM: kernel BUG at drivers/gpu/drm/drm_fops.c:146!

2009-01-29 Thread Andrew Morton
On Thu, 29 Jan 2009 19:50:17 -0800 Jesse Barnes wrote: > On Thursday, January 29, 2009 5:43 pm Dave Airlie wrote: > > On Fri, Jan 30, 2009 at 11:20 AM, Andrew Morton > > > hm, I'm a bit surprised to see the drm code using `struct > > > address_space' and read_mapping_page() and unmap_mapping_ran

Re: PROBLEM: kernel BUG at drivers/gpu/drm/drm_fops.c:146!

2009-01-29 Thread Jesse Barnes
On Thursday, January 29, 2009 5:43 pm Dave Airlie wrote: > On Fri, Jan 30, 2009 at 11:20 AM, Andrew Morton > > hm, I'm a bit surprised to see the drm code using `struct > > address_space' and read_mapping_page() and unmap_mapping_range() and > > such. I thought those only worked with regular files

Re: PROBLEM: kernel BUG at drivers/gpu/drm/drm_fops.c:146!

2009-01-29 Thread Dave Airlie
ng >> >> system started just fine. When I type startx the hung happen again. >> >> Please let me know if you need some more information besides oops from >> >> messages file and lspci output. >> >> >> >> >> >> Jan 21 08:53:58 l

Re: PROBLEM: kernel BUG at drivers/gpu/drm/drm_fops.c:146!

2009-01-29 Thread Andrew Morton
ase let me know if you need some more information besides oops from > >> messages file and lspci output. > >> > >> > >> Jan 21 08:53:58 lelux kernel: [ cut here ] > >> Jan 21 08:53:58 lelux kernel: kernel BUG at drivers/gpu/drm/drm_

Re: PROBLEM: kernel BUG at drivers/gpu/drm/drm_fops.c:146!

2009-01-29 Thread Dan Nicholson
if you need some more information besides oops from >>> messages file and lspci output. >>> >>> >>> Jan 21 08:53:58 lelux kernel: [ cut here ] >>> Jan 21 08:53:58 lelux kernel: kernel BUG at drivers/gpu/drm/drm_fops.c:146! >&g

Re: PROBLEM: kernel BUG at drivers/gpu/drm/drm_fops.c:146!

2009-01-29 Thread Dave Airlie
gt; >> >> Jan 21 08:53:58 lelux kernel: ------------[ cut here ]---- >> Jan 21 08:53:58 lelux kernel: kernel BUG at drivers/gpu/drm/drm_fops.c:146! > > I assume that 2.6.28 didn't do this? This is a userspace race between udev and libdrm, I'm not sure we can

Re: PROBLEM: kernel BUG at drivers/gpu/drm/drm_fops.c:146!

2009-01-29 Thread Andrew Morton
ating > system started just fine. When I type startx the hung happen again. > Please let me know if you need some more information besides oops from > messages file and lspci output. > > > Jan 21 08:53:58 lelux kernel: [ cut here ] > Jan 21 08:53:58 lelux ke