general protection fault on ttm_init()

2012-07-14 Thread Dave Airlie
Can you try this patch on top of the previous one? I think it should fix it. Dave. -- next part -- A non-text attachment was scrubbed... Name: 0001-drm-set-drm_class-to-NULL-after-removing-it.patch Type: application/octet-stream Size: 818 bytes Desc: not available URL:

general protection fault on ttm_init()

2012-07-14 Thread Fengguang Wu
Hi Dave, On Sat, Jul 14, 2012 at 01:33:45PM +1000, Dave Airlie wrote: > Can you try this patch on top of the previous one? > > I think it should fix it. You are right, it works! Thank you very much! :-) Thanks, Fengguang

Re: general protection fault on ttm_init()

2012-07-13 Thread Fengguang Wu
Hi Dave, On Sat, Jul 14, 2012 at 01:33:45PM +1000, Dave Airlie wrote: > Can you try this patch on top of the previous one? > > I think it should fix it. You are right, it works! Thank you very much! :-) Thanks, Fengguang ___ dri-devel mailing list dr

Re: general protection fault on ttm_init()

2012-07-13 Thread Dave Airlie
Can you try this patch on top of the previous one? I think it should fix it. Dave. 0001-drm-set-drm_class-to-NULL-after-removing-it.patch Description: Binary data ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/

general protection fault on ttm_init()

2012-07-11 Thread Fengguang Wu
On Sat, Jul 07, 2012 at 11:31:42PM +0800, Fengguang Wu wrote: > On Sat, Jul 07, 2012 at 10:08:47AM +0800, Fengguang Wu wrote: > > On Fri, Jul 06, 2012 at 06:09:20PM +0100, Dave Airlie wrote: > > > On Fri, Jul 6, 2012 at 5:49 PM, Dave Airlie wrote: > > > > On Fri, Jul 6, 2012 at 3:48 PM, Fengguang

Re: general protection fault on ttm_init()

2012-07-10 Thread Fengguang Wu
On Sat, Jul 07, 2012 at 11:31:42PM +0800, Fengguang Wu wrote: > On Sat, Jul 07, 2012 at 10:08:47AM +0800, Fengguang Wu wrote: > > On Fri, Jul 06, 2012 at 06:09:20PM +0100, Dave Airlie wrote: > > > On Fri, Jul 6, 2012 at 5:49 PM, Dave Airlie wrote: > > > > On Fri, Jul 6, 2012 at 3:48 PM, Fengguang

general protection fault on ttm_init()

2012-07-07 Thread Fengguang Wu
On Sat, Jul 07, 2012 at 10:08:47AM +0800, Fengguang Wu wrote: > On Fri, Jul 06, 2012 at 06:09:20PM +0100, Dave Airlie wrote: > > On Fri, Jul 6, 2012 at 5:49 PM, Dave Airlie wrote: > > > On Fri, Jul 6, 2012 at 3:48 PM, Fengguang Wu > > > wrote: > > >> ... The missed kconfig. > > >> > > >> On Fri,

general protection fault on ttm_init()

2012-07-07 Thread Fengguang Wu
On Fri, Jul 06, 2012 at 06:09:20PM +0100, Dave Airlie wrote: > On Fri, Jul 6, 2012 at 5:49 PM, Dave Airlie wrote: > > On Fri, Jul 6, 2012 at 3:48 PM, Fengguang Wu > > wrote: > >> ... The missed kconfig. > >> > >> On Fri, Jul 06, 2012 at 10:46:22PM +0800, Fengguang Wu wrote: > >>> Hi Thomas, > >

Re: general protection fault on ttm_init()

2012-07-07 Thread Fengguang Wu
On Sat, Jul 07, 2012 at 10:08:47AM +0800, Fengguang Wu wrote: > On Fri, Jul 06, 2012 at 06:09:20PM +0100, Dave Airlie wrote: > > On Fri, Jul 6, 2012 at 5:49 PM, Dave Airlie wrote: > > > On Fri, Jul 6, 2012 at 3:48 PM, Fengguang Wu > > > wrote: > > >> ... The missed kconfig. > > >> > > >> On Fri,

general protection fault on ttm_init()

2012-07-06 Thread Fengguang Wu
... The missed kconfig. On Fri, Jul 06, 2012 at 10:46:22PM +0800, Fengguang Wu wrote: > Hi Thomas, > > I got this error while running kvm boot tests on linux-next. > Attached is the kconfig. > > [7.064962] [drm:drm_core_init] *ERROR* Cannot create /proc/dri > [7.067443] general protectio

general protection fault on ttm_init()

2012-07-06 Thread Fengguang Wu
Hi Thomas, I got this error while running kvm boot tests on linux-next. Attached is the kconfig. [7.064962] [drm:drm_core_init] *ERROR* Cannot create /proc/dri [7.067443] general protection fault: [#1] PREEMPT [7.068713] CPU 0 [7.068713] Pid: 1, comm: swapper Not tainted 3.

Re: general protection fault on ttm_init()

2012-07-06 Thread Fengguang Wu
On Fri, Jul 06, 2012 at 06:09:20PM +0100, Dave Airlie wrote: > On Fri, Jul 6, 2012 at 5:49 PM, Dave Airlie wrote: > > On Fri, Jul 6, 2012 at 3:48 PM, Fengguang Wu wrote: > >> ... The missed kconfig. > >> > >> On Fri, Jul 06, 2012 at 10:46:22PM +0800, Fengguang Wu wrote: > >>> Hi Thomas, > > > > W

general protection fault on ttm_init()

2012-07-06 Thread Dave Airlie
On Fri, Jul 6, 2012 at 5:49 PM, Dave Airlie wrote: > On Fri, Jul 6, 2012 at 3:48 PM, Fengguang Wu > wrote: >> ... The missed kconfig. >> >> On Fri, Jul 06, 2012 at 10:46:22PM +0800, Fengguang Wu wrote: >>> Hi Thomas, > > Wierd, I'm sorta tempted to just depend drm on CONFIG_PROC_FS, but it > loo

general protection fault on ttm_init()

2012-07-06 Thread Dave Airlie
On Fri, Jul 6, 2012 at 3:48 PM, Fengguang Wu wrote: > ... The missed kconfig. > > On Fri, Jul 06, 2012 at 10:46:22PM +0800, Fengguang Wu wrote: >> Hi Thomas, Wierd, I'm sorta tempted to just depend drm on CONFIG_PROC_FS, but it looks like the error path is failing to dtrt. Dave.

Re: general protection fault on ttm_init()

2012-07-06 Thread Dave Airlie
On Fri, Jul 6, 2012 at 5:49 PM, Dave Airlie wrote: > On Fri, Jul 6, 2012 at 3:48 PM, Fengguang Wu wrote: >> ... The missed kconfig. >> >> On Fri, Jul 06, 2012 at 10:46:22PM +0800, Fengguang Wu wrote: >>> Hi Thomas, > > Wierd, I'm sorta tempted to just depend drm on CONFIG_PROC_FS, but it > looks

Re: general protection fault on ttm_init()

2012-07-06 Thread Dave Airlie
On Fri, Jul 6, 2012 at 3:48 PM, Fengguang Wu wrote: > ... The missed kconfig. > > On Fri, Jul 06, 2012 at 10:46:22PM +0800, Fengguang Wu wrote: >> Hi Thomas, Wierd, I'm sorta tempted to just depend drm on CONFIG_PROC_FS, but it looks like the error path is failing to dtrt. Dave.

general protection fault on ttm_init()

2012-07-06 Thread Fengguang Wu
Hi Thomas, I got this error while running kvm boot tests on linux-next. Attached is the kconfig. [7.064962] [drm:drm_core_init] *ERROR* Cannot create /proc/dri [7.067443] general protection fault: [#1] PREEMPT [7.068713] CPU 0 [7.068713] Pid: 1, comm: swapper Not tainted 3.