Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 2006 14:23:19 -0500
From:      Adam K Kirchhoff <adamk@voicenet.com>
To:        freebsd-x11@FreeBSD.org
Subject:   Re: linux_dri?
Message-ID:  <45883C27.7090403@voicenet.com>
In-Reply-To: <45815B85.3090606@voicenet.com>
References:  <45815B85.3090606@voicenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Adam K Kirchhoff wrote:
>
> I'm curious if anyone is working on updating linux_dri or 
> linux_dri-devel?  At the moment, the r300 driver from linux_dri-devel 
> doesn't support the disable_lowimpact_fallback dri configuration 
> option, making googleearth unusable.

So the good news is that I managed to get a newer version of the linux 
mesa drivers built (on another machien) and running.  The bad news is 
that if I disable the fallback for smooth line (either be enabling 
disable_lowimpact in my .drirc file or by commenting out the fallback in 
the r300 source code), I get a kernel crash:

 Kernel page fault with the following non-sleepable locks held:
exclusive sleep mutex drm device r = 0 (0xc3ac48d8) locked @ 
/home/adamk/git/drm
/bsd-core/drm/../drm_drv.c:904
KDB: stack backtrace:
db_trace_self_wrapper(c092dba0) at db_trace_self_wrapper+0x25
kdb_backtrace(1,c452faf0,c,c408a540,e6131a40,...) at kdb_backtrace+0x29
witness_warn(5,0,c09530c0) at witness_warn+0x192
trap(8,28,28,e63fce00,47104000,...) at trap+0x108
calltrap() at calltrap+0x5
--- trap 0xc, eip = 0xc08a89c6, esp = 0xe6131a88, ebp = 0xe6131b50 ---
slow_copyin(c425ac00,c018644e,c3e2eae0,3,c408a540,...) at slow_copyin+0x6
drm_ioctl(c425ac00,c018644e,c3e2eae0,3,c408a540,c0a2ad48,0,c0926b72,131) 
at drm_
ioctl+0x150
giant_ioctl(c425ac00,c018644e,c3e2eae0,3,c408a540,...) at giant_ioctl+0x33
devfs_ioctl_f(c4372948,c018644e,c3e2eae0,c4526600,c408a540) at 
devfs_ioctl_f+0xa
f
kern_ioctl(c408a540,6,c018644e,c3e2eae0) at kern_ioctl+0x296
ioctl(c408a540,e6131d04,c4372948,0,c408a540,...) at ioctl+0xf1
linux_ioctl(c408a540,e6131d04) at linux_ioctl+0xf5
syscall(bfbf003b,bfbf003b,bfbf003b,80000003,2a290000,...) at syscall+0x256
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (54, Linux ELF, linux_ioctl), eip = 0x29e5d5f4, esp = 
0xbfbfd950, eb
p = 0xbfbfd970 ---


Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 06
fault virtual address   = 0x47104000
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc08a89c6
stack pointer           = 0x28:0xe6131a88
frame pointer           = 0x28:0xe6131b50
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 1495 (googleearth-bin)
[thread pid 1495 tid 100158 ]
Stopped at      slow_copyin+0x6:        repe movsl      (%esi),%es:(%edi)

As you can see, I'm using the DRM drivers from git, but it also happens 
with the -CURRENT drm drivers.

Adam




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45883C27.7090403>