Re: i915kms.ko not loading

From: Alexander <vsityz_at_gmail.com>
Date: Wed, 04 Sep 2013 21:16:35 +0300
04.09.2013 18:58, John Baldwin wrote:
> On Wednesday, September 04, 2013 11:01:03 am Alexander wrote:
>> 02.09.2013 14:42, Jean-Sébastien Pédron пишет:
>>> On 02.09.2013 12:00, Alexander wrote:
>>>> (...)
>>>> #17 0xffffffff80462700 in sysctl_move_oid ()
>>>> #18 0xffffffff80319070 in drm_attach ()
>>>> (...)
>>> The kernel is missing debug symbols. Could you please rebuild your
>>> kernel with the following option:
>>>     makeoptions DEBUG=-g
>>> (also found in GENERIC)
>>>
>>> Then reproduce the problem and send the output of kgdb again?
>>>
>>> Thanks!
>>>
>> I rebuild the kernel with debug-g
>>
>> <root> kgdb /boot/kernel/kernel /var/crash/vmcore.0
>> 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:
>> drmn0: <Intel IvyBridge> on vgapci0
>> iicbus0: <Philips I2C bus> on iicbb0 addr 0xff
>> iicsmb0: <SMBus over I2C bridge> on iicbus0
>> smbus1: <System Management Bus> on iicsmb0
>> smb1: <SMBus generic I/O> on smbus1
>> iic0: <I2C generic I/O> on iicbus0
>> iicsmb1: <SMBus over I2C bridge> on iicbus1
>> smbus2: <System Management Bus> on iicsmb1
>> smb2: <SMBus generic I/O> on smbus2
>> iic1: <I2C generic I/O> on iicbus1
>> iicbus2: <Philips I2C bus> on iicbb1 addr 0xff
>> iicsmb2: <SMBus over I2C bridge> on iicbus2
>> smbus3: <System Management Bus> on iicsmb2
>> smb3: <SMBus generic I/O> on smbus3
>> iic2: <I2C generic I/O> on iicbus2
>> iicsmb3: <SMBus over I2C bridge> on iicbus3
>> smbus4: <System Management Bus> on iicsmb3
>> smb4: <SMBus generic I/O> on smbus4
>> iic3: <I2C generic I/O> on iicbus3
>> iicbus4: <Philips I2C bus> on iicbb2 addr 0xff
>> iicsmb4: <SMBus over I2C bridge> on iicbus4
>> smbus5: <System Management Bus> on iicsmb4
>> smb5: <SMBus generic I/O> on smbus5
>> iic4: <I2C generic I/O> on iicbus4
>> iicsmb5: <SMBus over I2C bridge> on iicbus5
>> smbus6: <System Management Bus> on iicsmb5
>> smb6: <SMBus generic I/O> on smbus6
>> iic5: <I2C generic I/O> on iicbus5
>> iicbus6: <Philips I2C bus> on iicbb3 addr 0xff
>> iicsmb6: <SMBus over I2C bridge> on iicbus6
>> smbus7: <System Management Bus> on iicsmb6
>> smb7: <SMBus generic I/O> on smbus7
>> iic6: <I2C generic I/O> on iicbus6
>> iicsmb7: <SMBus over I2C bridge> on iicbus7
>> smbus8: <System Management Bus> on iicsmb7
>> smb8: <SMBus generic I/O> on smbus8
>> iic7: <I2C generic I/O> on iicbus7
>> iicbus8: <Philips I2C bus> on iicbb4 addr 0xff
>> iicsmb8: <SMBus over I2C bridge> on iicbus8
>> smbus9: <System Management Bus> on iicsmb8
>> smb9: <SMBus generic I/O> on smbus9
>> iic8: <I2C generic I/O> on iicbus8
>> iicsmb9: <SMBus over I2C bridge> on iicbus9
>> smbus10: <System Management Bus> on iicsmb9
>> smb10: <SMBus generic I/O> on smbus10
>> iic9: <I2C generic I/O> on iicbus9
>> iicbus10: <Philips I2C bus> on iicbb5 addr 0xff
>> iicsmb10: <SMBus over I2C bridge> on iicbus10
>> smbus11: <System Management Bus> on iicsmb10
>> smb11: <SMBus generic I/O> on smbus11
>> iic10: <I2C generic I/O> on iicbus10
>> iicsmb11: <SMBus over I2C bridge> on iicbus11
>> smbus12: <System Management Bus> on iicsmb11
>> smb12: <SMBus generic I/O> on smbus12
>> iic11: <I2C generic I/O> on iicbus11
>> iicbus12: <Philips I2C bus> on iicbb6 addr 0xff
>> iicsmb12: <SMBus over I2C bridge> on iicbus12
>> smbus13: <System Management Bus> on iicsmb12
>> smb13: <SMBus generic I/O> on smbus13
>> iic12: <I2C generic I/O> on iicbus12
>> iicsmb13: <SMBus over I2C bridge> on iicbus13
>> smbus14: <System Management Bus> on iicsmb13
>> smb14: <SMBus generic I/O> on smbus14
>> iic13: <I2C generic I/O> on iicbus13
>> iicbus14: <Philips I2C bus> on iicbb7 addr 0xff
>> iicsmb14: <SMBus over I2C bridge> on iicbus14
>> smbus15: <System Management Bus> on iicsmb14
>> smb15: <SMBus generic I/O> on smbus15
>> iic14: <I2C generic I/O> on iicbus14
>> iicsmb15: <SMBus over I2C bridge> on iicbus15
>> smbus16: <System Management Bus> on iicsmb15
>> smb16: <SMBus generic I/O> on smbus16
>> iic15: <I2C generic I/O> on iicbus15
>>
>>
>> Fatal trap 9: general protection fault while in kernel mode
>> cpuid = 2; apic id = 02
>> instruction pointer    = 0x20:0xffffffff810402a6
>> stack pointer            = 0x28:0xfffffe011f2f8360
>> frame pointer            = 0x28:0xfffffe011f2f83e0
>> code segment        = base 0x0, limit 0xfffff, type 0x1b
>>             = DPL 0, pres 1, long 1, def32 0, gran 1
>> processor eflags    = interrupt enabled, resume, IOPL = 0
>> current process        = 1408 (kldload)
>> trap number        = 9
>> panic: general protection fault
>> cpuid = 2
>> Uptime: 1m30s
>> Dumping 449 out of 7118 MB:..4%..11%..22%..33%..43%..54%..61%..72%..82%..93%
>>
>> Reading symbols from /boot/kernel/zfs.ko.symbols...done.
>> Loaded symbols for /boot/kernel/zfs.ko.symbols
>> Reading symbols from /boot/kernel/acl_nfs4.ko.symbols...done.
>> Loaded symbols for /boot/kernel/acl_nfs4.ko.symbols
>> Reading symbols from /boot/kernel/opensolaris.ko.symbols...done.
>> Loaded symbols for /boot/kernel/opensolaris.ko.symbols
>> Reading symbols from /boot/kernel/if_re.ko.symbols...done.
>> Loaded symbols for /boot/kernel/if_re.ko.symbols
>> Reading symbols from /boot/kernel/snd_hda.ko.symbols...done.
>> Loaded symbols for /boot/kernel/snd_hda.ko.symbols
>> Reading symbols from /boot/kernel/umodem.ko.symbols...done.
>> Loaded symbols for /boot/kernel/umodem.ko.symbols
>> Reading symbols from /boot/kernel/ucom.ko.symbols...done.
>> Loaded symbols for /boot/kernel/ucom.ko.symbols
>> Reading symbols from /boot/kernel/u3g.ko.symbols...done.
>> Loaded symbols for /boot/kernel/u3g.ko.symbols
>> Reading symbols from /boot/modules/vboxdrv.ko...done.
>> Loaded symbols for /boot/modules/vboxdrv.ko
>> Reading symbols from /boot/kernel/fuse.ko.symbols...done.
>> Loaded symbols for /boot/kernel/fuse.ko.symbols
>> Reading symbols from /boot/kernel/fdescfs.ko.symbols...done.
>> Loaded symbols for /boot/kernel/fdescfs.ko.symbols
>> Reading symbols from /boot/modules/vboxnetflt.ko...done.
>> Loaded symbols for /boot/modules/vboxnetflt.ko
>> Reading symbols from /boot/kernel/netgraph.ko.symbols...done.
>> Loaded symbols for /boot/kernel/netgraph.ko.symbols
>> Reading symbols from /boot/kernel/ng_ether.ko.symbols...done.
>> Loaded symbols for /boot/kernel/ng_ether.ko.symbols
>> Reading symbols from /boot/modules/vboxnetadp.ko...done.
>> Loaded symbols for /boot/modules/vboxnetadp.ko
>> Reading symbols from /boot/kernel/i915kms.ko.symbols...done.
>> Loaded symbols for /boot/kernel/i915kms.ko.symbols
>> Reading symbols from /boot/kernel/drm2.ko.symbols...done.
>> Loaded symbols for /boot/kernel/drm2.ko.symbols
>> Reading symbols from /boot/kernel/iic.ko.symbols...done.
>> Loaded symbols for /boot/kernel/iic.ko.symbols
>> #0  doadump (textdump=<value optimized out>) at pcpu.h:236
>> 236    pcpu.h: No such file or directory.
>>     in pcpu.h
>> (kgdb) bt
>> #0  doadump (textdump=<value optimized out>) at pcpu.h:236
>> #1  0xffffffff80459aa0 in kern_reboot (howto=260) at
>> /usr/src/sys/kern/kern_shutdown.c:447
>> #2  0xffffffff80459e27 in panic (fmt=<value optimized out>) at
>> /usr/src/sys/kern/kern_shutdown.c:754
>> #3  0xffffffff8062977a in trap_fatal (frame=<value optimized out>,
>> eva=<value optimized out>) at /usr/src/sys/amd64/amd64/trap.c:873
>> #4  0xffffffff8062942e in trap (frame=<value optimized out>) at
>> /usr/src/sys/amd64/amd64/trap.c:224
>> #5  0xffffffff80612fd3 in calltrap () at
>> /usr/src/sys/amd64/amd64/exception.S:232
>> #6  0xffffffff810402a6 in intel_parse_bios (dev=0xfffff80005dca800) at
>> /usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/intel_bios.c:287
>> #7  0xffffffff8102ba64 in i915_driver_load (dev=0xfffff80005dca800,
>> flags=<value optimized out>)
>>     at
>> /usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/i915_dma.c:1002
>> #8  0xffffffff80319390 in drm_attach (kdev=<value optimized out>,
>> idlist=<value optimized out>) at /usr/src/sys/dev/drm/drm_drv.c:462
> Can you do 'frame 6' and then 'l'?
>
>
(kgdb) frame 6
#6  0xffffffff810402a6 in intel_parse_bios (dev=0xfffff80005dca800) at
/usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/intel_bios.c:287
287        switch (INTEL_INFO(dev)->gen) {
(kgdb) l
282    }
283   
284    static int intel_bios_ssc_frequency(struct drm_device *dev,
285                        bool alternate)
286    {
287        switch (INTEL_INFO(dev)->gen) {
288        case 2:
289            return alternate ? 66 : 48;
290        case 3:
291        case 4:
(kgdb) q
Received on Wed Sep 04 2013 - 16:16:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:41 UTC