Bug 14425 - drm crash when agp not available
Summary: drm crash when agp not available
Status: RESOLVED INVALID
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/other (show other bugs)
Version: DRI git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-08 10:29 UTC by Auke Kok
Modified: 2019-10-14 13:20 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Auke Kok 2008-02-08 10:29:21 UTC
---from today's git drm tree---


kernel panic, quite obviously because drm continues to do work while it has previously established that agp is not available. drm should just stop immediately and exit.

[drm] Initialized drm 1.1.0 20060810
ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:02.0 to 64
[drm:drm_fill_in_dev] *ERROR* Cannot initialize the agpgart module.
Unable to handle kernel NULL pointer dereference at 00000000000000f0 RIP:
 [<ffffffff880e7eee>] :i915:i915_driver_lastclose+0x8e/0x130
PGD 5d196067 PUD 5d0f4067 PMD 0
Oops: 0000 [1] PREEMPT SMP
CPU 2
Modules linked in: i915 drm ipv6 uhci_hcd ehci_hcd e1000e e1000 e100 ohci1394 ie
                           ee1394
Pid: 15694, comm: modprobe Not tainted 2.6.24 #1
RIP: 0010:[<ffffffff880e7eee>]  [<ffffffff880e7eee>] :i915:i915_driver_lastclose
                           +0x8e/0x130
RSP: 0000:ffff81005b99fc58  EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff810050eb5000 RCX: ffff810050eb5348
RDX: 0000000000000000 RSI: ffff810050eb5348 RDI: 0000002000000002
RBP: ffff810050eb5000 R08: 00000020ffffffff R09: 0000000000000000
R10: 0000000000000001 R11: ffffffff8055ada0 R12: ffff810050eb5000
R13: 0000000000000000 R14: ffff810050eb5380 R15: ffffffff880f0cc0
FS:  00002b805de996f0(0000) GS:ffff81007e00d580(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 00000000000000f0 CR3: 0000000050ef6000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process modprobe (pid: 15694, threadinfo ffff81005b99e000, task ffff81007e17c000
                           )
Stack:  00000000ffffffea ffff810050eb5000 00000000ffffffea ffff810050eb5000
 ffffffff880f0720 ffffffff880bf75d 0000000000000000 ffff810050eb5000
 00000000ffffffea ffff81007e122000 ffffffff880f0720 ffff810050eb5380
Call Trace:
 [<ffffffff880bf75d>] :drm:drm_lastclose+0x3d/0x470
 [<ffffffff880c4351>] :drm:drm_get_dev+0x401/0x650
 [<ffffffff802f21b9>] sysfs_create_link+0xa9/0x150
 [<ffffffff803559b6>] pci_device_probe+0x76/0xa0
 [<ffffffff803b45fc>] driver_probe_device+0x9c/0x1b0
 [<ffffffff803b47f0>] __driver_attach+0x0/0xb0
 [<ffffffff803b4895>] __driver_attach+0xa5/0xb0
 [<ffffffff803b380d>] bus_for_each_dev+0x4d/0x80
 [<ffffffff803b3c7c>] bus_add_driver+0xac/0x220
 [<ffffffff80355be3>] __pci_register_driver+0x73/0xc0
 [<ffffffff80260f0e>] sys_init_module+0x18e/0x1a30
 [<ffffffff8020be0e>] system_call+0x7e/0x83


Code: 49 83 bd f0 00 00 00 00 74 0c 49 8d bd f0 00 00 00 e8 cc 27
RIP  [<ffffffff880e7eee>] :i915:i915_driver_lastclose+0x8e/0x130
 RSP <ffff81005b99fc58>
CR2: 00000000000000f0
---[ end trace 3b414a88856b3b97 ]---
Comment 1 Martin Peres 2019-10-14 13:20:25 UTC
Hi,

Freedesktop's Bugzilla instance is EOLed and open bugs are about to be migrated to http://gitlab.freedesktop.org.

To avoid migrating out of date bugs, I am now closing all the bugs that did not see any activity in the past year. If the issue is still happening, please create a new bug in the relevant project at https://gitlab.freedesktop.org/drm (use misc by default).

Sorry about the noise!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.