[Openchrome-devel] Another openchrome drm segfault

Xavier Bachelot xavier
Thu Jan 29 17:16:03 PST 2009


Hi Thomas,

Another segfault when loading openchrome drm module. This is on a KM400.

And also a small patch to allow building the openchrome ttm branch with
--enable-debug.


[drm] Initialized drm 1.1.0 20060810
openchrome 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
TTM available graphics memory: 473 MiB
TTM available object memory: 441 MiB
BUG: unable to handle kernel NULL pointer dereference at 00000022
IP: [<f8ef2aa8>] :openchrome:via_driver_load+0x388/0x6ef
*pde = 36bde067 *pte = 00000000
Oops: 0000 [#1] SMP
Modules linked in: openchrome(+) drm sco bridge stp bnep l2cap bluetooth
autofs4 nfs lockd nfs_acl fuse sunrpc ip6t_REJECT nf_conntrack_ipv6
ip6table_filter ip6_tables ipv6 dm_multipath uinput snd_via82xx
snd_ac97_codec ac97_bus snd_seq_
dummy snd_seq_oss snd_seq_midi_event snd_seq snd_pcm_oss ppdev
snd_mixer_oss snd_pcm snd_timer snd_page_alloc snd_mpu401_uart
snd_rawmidi snd_seq_device snd ns558 gameport serio_raw i2c_viapro
i2c_core soundcore pcspkr via_rhine mii via_
ircc irda crc_ccitt parport_pc parport ata_generic pata_acpi pata_via
[last unloaded: scsi_wait_scan]

Pid: 2335, comm: modprobe Not tainted (2.6.27.9-159.fc10.i686 #1)
EIP: 0060:[<f8ef2aa8>] EFLAGS: 00213216 CPU: 0
EIP is at via_driver_load+0x388/0x6ef [openchrome]
EAX: 00010000 EBX: f784ee00 ECX: 00000006 EDX: 00000000
ESI: 00000000 EDI: f67a0000 EBP: f6be6e44 ESP: f6be6e04
 DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Process modprobe (pid: 2335, ti=f6be6000 task=f6432670 task.ti=f6be6000)
Stack: f641d400 f67a0000 f67a0000 f7859000 f6bfc800 00000000 f6be6e44
f8c11f37
       00000001 f641d678 f641d400 f641d40c ed000000 f641d400 00000000
f78be000
       f6be6e64 f8c122cf f8f01c14 f8f01e0c f641d678 f8f01d78 f8f01d44
f78be000
Call Trace:
 [<f8c11f37>] ? drm_get_minor+0x1a4/0x232 [drm]
 [<f8c122cf>] ? drm_get_dev+0x30a/0x3df [drm]
 [<f8ef0c09>] ? probe+0xd/0xf [openchrome]
 [<c0528e0f>] ? pci_device_probe+0x39/0x59
 [<c0594ed8>] ? driver_probe_device+0xa0/0x136
 [<c0594fa8>] ? __driver_attach+0x3a/0x59
 [<c05948fe>] ? bus_for_each_dev+0x3b/0x63
 [<c0594d7d>] ? driver_attach+0x14/0x16
 [<c0594f6e>] ? __driver_attach+0x0/0x59
 [<c0594372>] ? bus_add_driver+0x9d/0x1ba
 [<c059512f>] ? driver_register+0x81/0xe1
 [<c0528fce>] ? __pci_register_driver+0x3f/0x6d
 [<f8c0e718>] ? drm_init+0xc2/0x135 [drm]
 [<f8926017>] ? via_init+0x17/0x19 [openchrome]
 [<c0401125>] ? _stext+0x3d/0x115
 [<f8926000>] ? via_init+0x0/0x19 [openchrome]
 [<c044ce1d>] ? sys_init_module+0x87/0x178
 [<c0403c76>] ? syscall_call+0x7/0xb
 =======================
Code: c0 bf ea ff ff ff 50 68 44 b1 ef f8 68 1a bb ef f8 e8 e7 46 7b c7
83 c4 0c e9 e9 00 00 00 8b 7d c8 c7 87 2c 01 01 00 00 00 00 00 <66> 81
7e 22 04 32 75 55 8b 56 1c 8d 4d f3 8b 46 08 51 b9 47 00
EIP: [<f8ef2aa8>] via_driver_load+0x388/0x6ef [openchrome] SS:ESP
0068:f6be6e04


Regards,
Xavier




---[ end trace ae63de78d3e15c7c ]---
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: debug_build.patch
Url: http://wiki.openchrome.org/pipermail/openchrome-devel/attachments/20090130/aad1b63e/debug_build.ksh



More information about the Openchrome-devel mailing list