Date: Fri, 06 Mar 2009 14:15:31 -0600 From: Robert Noland <rnoland@FreeBSD.org> To: gary.jennejohn@freenet.de Cc: freebsd-x11@FreeBSD.org Subject: Re: Radeon DRIVER Message-ID: <1236370531.1671.3.camel@balrog.2hip.net> In-Reply-To: <20090306203055.582faa02@ernst.jennejohn.org> References: <20090305161651.GB1369@lobo.ewinter.org> <1236275215.1384.50.camel@widget.2hip.net> <20090305180523.GA2039@lobo.ewinter.org> <20090306133119.1af6894c@ernst.jennejohn.org> <1236363408.55221.16.camel@balrog.2hip.net> <20090306203055.582faa02@ernst.jennejohn.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Fri, 2009-03-06 at 20:30 +0100, Gary Jennejohn wrote: > On Fri, 06 Mar 2009 12:16:48 -0600 > Robert Noland <rnoland@FreeBSD.org> wrote: > > > On Fri, 2009-03-06 at 13:31 +0100, Gary Jennejohn wrote: > > > On Thu, 5 Mar 2009 19:05:23 +0100 > > > "Ernst W. Winter" <ewinter@ewinter.org> wrote: > > > > > > > On Thu, 05 Mar 2009, Robert Noland wrote: > > > > > Which patch set are you using? > > > > > > > > [snip extraneous stuff] > > > > The one Gary Jennyjohn sent me, it is from you and the latest as far > > > > as I knw. > > > > > > > > > > Not a very useful answer, Ernst :-P > > > > > > I sent him radeon-r6-7xx-support-022409.patch. > > > > Cool, If you guys could test this one, I'll commit it later today. > > > > http://people.freebsd.org/~rnoland/radeon-drm-next-r6-7xx-030609.patch > > > > This causes a kernel panic (8-current). Below some kgdb output: > > kgdb /boot/test/kernel vmcore.1 > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "amd64-marcel-freebsd"... > > Unread portion of the kernel message buffer: > > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0x148 > fault code = supervisor read data, page not present > instruction pointer = 0x8:0xffffffff801fff63 > stack pointer = 0x10:0xfffffffeb73ef970 > frame pointer = 0x10:0xfffffffeb73ef9c0 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 3 > current process = 1340 (initial thread) > trap number = 12 > panic: page fault > cpuid = 0 > Uptime: 1m18s > Physical memory: 3955 MB > Dumping 296 MB: 281 265 249 233 217 201 185 169 153 137 121 105 89 73 57 41 25 9 > > Reading symbols from /boot/test/zfs.ko...Reading symbols from /boot/test/zfs.ko.symbols...done. > done. > Loaded symbols for /boot/test/zfs.ko > Reading symbols from /boot/test/opensolaris.ko...Reading symbols from /boot/test/opensolaris.ko.symbols...done. > done. > Loaded symbols for /boot/test/opensolaris.ko > Reading symbols from /boot/test/linprocfs.ko...Reading symbols from /boot/test/linprocfs.ko.symbols...done. > done. > Loaded symbols for /boot/test/linprocfs.ko > Reading symbols from /boot/test/linux.ko...Reading symbols from /boot/test/linux.ko.symbols...done. > done. > Loaded symbols for /boot/test/linux.ko > Reading symbols from /boot/modules/kqemu.ko...done. > Loaded symbols for /boot/modules/kqemu.ko > Reading symbols from /usr/local/modules/rtc.ko...done. > Loaded symbols for /usr/local/modules/rtc.ko > #0 doadump () at pcpu.h:196 > 196 pcpu.h: No such file or directory. > in pcpu.h > (kgdb) bt > #0 doadump () at pcpu.h:196 > #1 0xffffffff8033b768 in boot (howto=260) > at /usr/src/sys/kern/kern_shutdown.c:420 > #2 0xffffffff8033bbcc in panic (fmt=Variable "fmt" is not available. > ) > at /usr/src/sys/kern/kern_shutdown.c:576 > #3 0xffffffff805110ed in trap_fatal (frame=0xc, eva=Variable "eva" is not available. > ) > at /usr/src/sys/amd64/amd64/trap.c:752 > #4 0xffffffff805114d4 in trap_pfault (frame=0xfffffffeb73ef8c0, usermode=0) > at /usr/src/sys/amd64/amd64/trap.c:668 > #5 0xffffffff80511e21 in trap (frame=0xfffffffeb73ef8c0) > at /usr/src/sys/amd64/amd64/trap.c:439 > #6 0xffffffff804ee5de in calltrap () > at /usr/src/sys/amd64/amd64/exception.S:217 > #7 0xffffffff801fff63 in radeon_cp_indirect (dev=0xffffff0001624c00, > data=0xffffff0005e66230, file_priv=Variable "file_priv" is not available. > ) Argh, I fixed this yesterday, something is going on with my disk getting currupted and losing updates... Let me re-examine the patch. robert. > at /usr/src/sys/dev/drm/radeon_state.c:2470 > #8 0xffffffff801ea7d6 in drm_ioctl (kdev=Variable "kdev" is not available. > ) > at /usr/src/sys/dev/drm/drm_drv.c:775 > #9 0xffffffff802c26b7 in devfs_ioctl_f (fp=0xffffff0007667d70, > com=3222299725, data=Variable "data" is not available. > ) at /usr/src/sys/fs/devfs/devfs_vnops.c:669 > #10 0xffffffff803794b0 in kern_ioctl (td=0xffffff0005fc6000, fd=Variable "fd" is not available. > ) > at file.h:262 > #11 0xffffffff803796ed in ioctl (td=0xffffff0005fc6000, > uap=0xfffffffeb73efbf0) at /usr/src/sys/kern/sys_generic.c:676 > #12 0xffffffff805116e1 in syscall (frame=0xfffffffeb73efc80) > at /usr/src/sys/amd64/amd64/trap.c:891 > #13 0xffffffff804ee7eb in Xfast_syscall () > at /usr/src/sys/amd64/amd64/exception.S:338 > #14 0x000000080168a6fc in ?? () > Previous frame inner to this frame (corrupt stack?) > (kgdb) quit > > --- > Gary Jennejohn > _______________________________________________ > freebsd-x11@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" -- Robert Noland <rnoland@FreeBSD.org> FreeBSD [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEABECAAYFAkmxhGMACgkQM4TrQ4qfROO9bgCfTu6Cqvz9j8Wu1KhsIEPDlI93 jvYAn2eSV2O3+GhoSJfcDlgKgLgk0lMQ =d50O -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1236370531.1671.3.camel>
