Bug 92941 - kernel BUG at /build/linux-CMiYW9/linux-3.16.7-ckt2/drivers/gpu/drm/i915/i915_gem_stolen.c:431
Summary: kernel BUG at /build/linux-CMiYW9/linux-3.16.7-ckt2/drivers/gpu/drm/i915/i915...
Status: RESOLVED MOVED
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - Intel) (show other bugs)
Hardware: i386 Linux
: P1 normal
Assignee: intel-gfx-bugs@lists.freedesktop.org
URL: https://bugs.freedesktop.org/show_bug...
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-09 14:52 UTC by Jan Lana
Modified: 2015-02-18 12:37 UTC (History)
1 user (show)

See Also:
Kernel Version: linux-3.16.7-ckt2
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg when graphics initialization failed (blank screen) (69.69 KB, text/x-log)
2015-02-18 12:01 UTC, Jan Lana
Details
dmesg when notebook boot correctly (69.11 KB, text/x-log)
2015-02-18 12:02 UTC, Jan Lana
Details

Description Jan Lana 2015-02-09 14:52:29 UTC
On my Toshiba NB305 the switch from text console to framebuffer fails (sometimes) during boot - screen goes blank/black (but backlight is on), X fails to start (hangs on "(II) xfree86: Adding drm device (/dev/dri/card0)"). The compuer is running and accessible from network.

The dmesg log contains the error:

[   24.234862] toshiba_acpi: Toshiba Laptop ACPI Extras version 0.20
[   24.235127] input: Toshiba input device as /devices/virtual/input/input7
[   24.244509] ------------[ cut here ]------------
[   24.244526] kernel BUG at /build/linux-CMiYW9/linux-3.16.7-ckt2/drivers/gpu/drm/i915/i915_gem_stolen.c:431!
[   24.244539] invalid opcode: 0000 [#1] SMP 
[   24.244551] Modules linked in: toshiba_acpi(+) snd_hda_codec snd_hwdep i915(+) i2c_i801 sparse_keymap pcspkr evdev snd_pcm drm_kms_helper rfkill wmi snd_timer psmouse snd ac serio_raw lpc_ich mfd_core toshiba_bluetooth drm soundcore battery shpchp button video i2c_algo_bit acpi_cpufreq i2c_core processor thermal_sys fuse parport_pc ppdev lp parport autofs4 ext4 crc16 mbcache jbd2 ums_realtek usb_storage sg sd_mod crc_t10dif crct10dif_generic crct10dif_common ahci libahci libata scsi_mod ehci_pci uhci_hcd ehci_hcd usbcore usb_common r8169 mii
[   24.244711] CPU: 0 PID: 201 Comm: systemd-udevd Not tainted 3.16.0-4-amd64 #1 Debian 3.16.7-ckt2-1
[   24.244722] Hardware name: TOSHIBA TOSHIBA NB305/NPVAA, BIOS V1.70 06/03/2010
[   24.244734] task: ffff880079016be0 ti: ffff88003692c000 task.ti: ffff88003692c000
[   24.244745] RIP: 0010:[<ffffffffa03560ca>]  [<ffffffffa03560ca>] i915_gem_object_create_stolen_for_preallocated+0x26a/0x2e0 [i915]
[   24.244826] RSP: 0018:ffff88003692f990  EFLAGS: 00010206
[   24.244838] RAX: 0000000000000000 RBX: ffff88007b48bb70 RCX: 0000000000139000
[   24.244850] RDX: 00000000001d4c00 RSI: 00000000001d4c00 RDI: ffff88007b48b800
[   24.244861] RBP: ffff88007bcd0000 R08: ffff88007bcd0004 R09: ffff8800790b5b80
[   24.244872] R10: 0000000000000003 R11: ffff88007b48bb40 R12: 0000000000139000
[   24.244883] R13: ffff88007b48b800 R14: 00000000001d4c00 R15: 00000000001d4c00
[   24.244897] FS:  00007f3bdae63880(0000) GS:ffff88007f200000(0000) knlGS:0000000000000000
[   24.244911] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   24.244923] CR2: 00007f3bdae7f000 CR3: 00000000793d8000 CR4: 00000000000007f0
[   24.244934] Stack:
[   24.244942]  ffff88007bcd0004 ffff88007b48bb70 ffff88007b48b800 ffff88007bcd0000
[   24.244963]  ffff88003692f9e4 ffff88007a39e000 0000000000000042 ffffffffa0388022
[   24.244982]  0000000000000004 0000000000000093 0000000000000093 0000000000000000
[   24.245002] Call Trace:
[   24.245079]  [<ffffffffa0388022>] ? intel_modeset_init+0x8e2/0x1370 [i915]
[   24.245162]  [<ffffffffa03b38d0>] ? i915_driver_load+0xb20/0x1000 [i915]
[   24.245183]  [<ffffffff813f7c20>] ? powercap_register_zone+0x680/0x680
[   24.245203]  [<ffffffff812aa3b0>] ? cleanup_uevent_env+0x10/0x10
[   24.245221]  [<ffffffff812aa75d>] ? kobject_uevent_env+0x17d/0x6b0
[   24.245242]  [<ffffffff814fa04b>] ? klist_add_tail+0x1b/0x40
[   24.245259]  [<ffffffff8139c679>] ? device_add+0x219/0x610
[   24.245290]  [<ffffffffa028f3b4>] ? drm_dev_register+0xa4/0x100 [drm]
[   24.245319]  [<ffffffffa0291da8>] ? drm_get_pci_dev+0x88/0x1f0 [drm]
[   24.245338]  [<ffffffff812e03bf>] ? local_pci_probe+0x3f/0xa0
[   24.245355]  [<ffffffff812e16aa>] ? pci_device_probe+0xda/0x130
[   24.245374]  [<ffffffff8139f5fd>] ? driver_probe_device+0x9d/0x3d0
[   24.245391]  [<ffffffff8139f9fb>] ? __driver_attach+0x8b/0x90
[   24.245408]  [<ffffffff8139f970>] ? __device_attach+0x40/0x40
[   24.245424]  [<ffffffff8139d70b>] ? bus_for_each_dev+0x5b/0x90
[   24.245441]  [<ffffffff8139ec90>] ? bus_add_driver+0x180/0x250
[   24.245464]  [<ffffffffa03fc000>] ? 0xffffffffa03fbfff
[   24.245481]  [<ffffffff813a014b>] ? driver_register+0x5b/0xe0
[   24.245499]  [<ffffffff8100213c>] ? do_one_initcall+0xcc/0x200
[   24.245518]  [<ffffffff810d8d1a>] ? load_module+0x20da/0x26b0
[   24.245534]  [<ffffffff810d4900>] ? store_uevent+0x40/0x40
[   24.245554]  [<ffffffff810d944d>] ? SyS_finit_module+0x7d/0xa0
[   24.245572]  [<ffffffff8150d32d>] ? system_call_fast_compare_end+0x10/0x15
[   24.245584] Code: df e8 1b d2 f3 ff eb ae 41 89 c8 48 c7 c7 c0 eb 3b a0 89 d1 31 c0 89 f2 48 c7 c6 98 ea 3c a0 e8 dd 8d f3 ff e9 d6 fd ff ff 0f 0b <0f> 0b be b2 01 00 00 48 c7 c7 f8 e7 3c a0 e8 23 f8 d0 e0 31 c0 
[   24.245718] RIP  [<ffffffffa03560ca>] i915_gem_object_create_stolen_for_preallocated+0x26a/0x2e0 [i915]
[   24.245791]  RSP <ffff88003692f990>
[   24.245805] ---[ end trace bc84b9f34e2cba6e ]---
[   24.248561] toshiba_acpi: Illumination device not available
[   24.259669] toshiba_acpi: Keyboard backlight status not supported

I use debian 8 (testing/jessie).

It happens always if boot in default mode (systemd, quiet). When I am booting in not quiet mode, it happens only sometimes (~50%). If the switch to fb console pass, the computer runs correctly, X starts, etc.
Comment 1 Jani Nikula 2015-02-11 13:36:43 UTC
Dupe of a bug filed at fdo.
Comment 3 Jan Lana 2015-02-18 11:55:53 UTC
I updated to linux-3.16.7-ckt4-3, but the problem remained, just the line "kernel BUG at ..." changed from 431 to 435.

Full log of failed boot and passed boot is attached.
Comment 4 Jan Lana 2015-02-18 12:01:25 UTC
Created attachment 167421 [details]
dmesg when graphics initialization failed (blank screen)
Comment 5 Jan Lana 2015-02-18 12:02:05 UTC
Created attachment 167431 [details]
dmesg when notebook boot correctly
Comment 6 Jani Nikula 2015-02-18 12:37:19 UTC
I'm not claiming it's fixed, we're tracking this elsewhere.

Note You need to log in before you can comment on or make changes to this bug.