Bug #1656

Updated by tuxillo over 2 years ago


Claus reported yesterday on IRC a problem in x86_64 regarding the Intel driver

and Xorg from pkgsrc. The system crashed with both intel and vesa drivers.

It is a laptop Thinkpad X300.

Below you can find the backtrace:

GNU gdb (GDB) 7.0

Copyright (C) 2009 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law. Type "show copying"

and "show warranty" for details.

This GDB was configured as "x86_64-dragonfly".

For bug reporting instructions, please see:


Reading symbols from /var/crash/kern.2...done.

Unread portion of the kernel message buffer:

drm0: on vgapci0

vgapci0: child drm0 requested pci_enable_busmaster

info: [drm] AGP at 0xe0000000 256MB

info: [drm] Initialized i915 1.6.0 20080730

panic: assertion: behind >= 0 in vm_fault_object

Trace beginning at frame 0xffffffffbe7e5838

() at +0xfa

() at +0xfa


() at H<8B>H<83>ÇPº


ÿ¾^X() at ÿ¾^X+0x1fd

<83><8D>°() at <83><8D>°+0xea

ºQ() at ºQ+0x20c

%() at %+0x8

(null)() at 0x801f4ca1d

(null)() at 0x8022dddf5

(null)() at 0x8022a04c5

() at 0x42b462

() at 0x47f71e

() at 0x42a66d

() at 0x42a310

(null)() at 0x7ffffffff967

(null)() at 0x6e776f6e6b6e753d

trap.c line 639

Fatal trap 9: general protection fault while in kernel mode

instruction pointer = 0x8:0xffffffff805b30ae

stack pointer = 0x10:0xffffffffbe7e56e0

frame pointer = 0x10:0xffffffffbe7e56f8

code segment = base 0x0, limit 0xfffff, type 0x1b

= DPL 0, pres 1, long 0, def32 0, gran 1

processor eflags = interrupt enabled, resume, IOPL = 3

current process = 736

current thread = pri 6

trap number = 9

panic: general protection fault

Uptime: 2m18s

Physical memory: 1991 MB

Dumping 364 MB: 349 333 317 301 285 269 253 237 221 205 189 173 157 141 125 109

93 77 61 45 29 13

Reading symbols from /boot/modules/acpi.ko...done.

Loaded symbols for /boot/modules/acpi.ko

Reading symbols from /boot/modules/i915.ko...done.

Loaded symbols for /boot/modules/i915.ko

Reading symbols from /boot/modules/drm.ko...done.

Loaded symbols for /boot/modules/drm.ko

_get_mycpu (di=0xffffffff8085eb20) at ./machine/thread.h:73

73 ./machine/thread.h: No such file or directory.

in ./machine/thread.h

(kgdb) bt

#0 _get_mycpu (di=0xffffffff8085eb20) at ./machine/thread.h:73

#1 md_dumpsys (di=0xffffffff8085eb20)

at /usr/src/sys/platform/pc64/x86_64/dump_machdep.c:263

#2 0xffffffff80365bd6 in dumpsys () at /usr/src/sys/kern/kern_shutdown.c:838

#3 0xffffffff80366272 in boot (howto=)

at /usr/src/sys/kern/kern_shutdown.c:387

#4 0xffffffff80366414 in panic (fmt=0xffffffff805e2888 "%s")

at /usr/src/sys/kern/kern_shutdown.c:744

#5 0xffffffff805b8316 in trap_fatal (frame=0xffffffffbe7e5628,

eva=) at /usr/src/sys/platform/pc64/x86_64/trap.c:999

#6 0xffffffff805b8964 in trap (frame=0xffffffffbe7e5628)

at /usr/src/sys/platform/pc64/x86_64/trap.c:749

#7 0xffffffff805b188e in calltrap ()

at /usr/src/sys/platform/pc64/x86_64/exception.S:179

Cannot access memory at address 0xb8

(kgdb) q

hal# ESC[Kexit