[Bug 34022] Kernel OOPS turning on Radeon on vgaswitcheroo enabled system

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Wed Apr 27 12:47:08 PDT 2011


https://bugzilla.kernel.org/show_bug.cgi?id=34022





--- Comment #2 from blazej.bucko at gmail.com  2011-04-27 19:47:07 ---
Sorry for spaming.. Ok. Last try: 
I'm using vgaswitcheroo on T500 (Radeon/i915) and after upgrading kernel to
2.6.38 OOPS started to occur. Previously (2.6.37) everything worked fine. I
checked 2.6.39 and error still occurs.

Also when I add radeon.modeset=0 i915.modeset=1 to kernel command line
vgaswitcheroo is off and both cards are working OK.

This is exact error:

BUG: unable to handle kernel NULL pointer dereference at 000000000000008e
IP: [<ffffffffa016fc71>] drm_mode_connector_update_edid_property+0x71/0x1d0
[drm]
PGD 151421067 PUD 1520d2067 PMD 0 
Oops: 0000 [#1] PREEMPT SMP 
last sysfs file:
/sys/devices/pci0000:00/0000:00:1a.1/usb4/4-2/4-2:1.0/bluetooth/hci0/rfkill2/uevent
CPU 1 
Modules linked in: btusb bluetooth uvcvideo videodev v4l2_compat_ioctl32 arc4
ecb snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device
snd_pcm_oss snd_mixer_oss thinkpad_acpi nvram radeon(+) pcmcia
snd_hda_codec_conexant joydev ttm snd_hda_intel snd_hda_codec snd_hwdep snd_pcm
snd_timer snd soundcore snd_page_alloc iwlagn iwlcore mac80211 cfg80211 rfkill
yenta_socket pcmcia_rsrc pcmcia_core firewire_ohci firewire_core crc_itu_t i915
thermal battery drm_kms_helper uhci_hcd drm i2c_algo_bit wmi ac sdhci_pci sdhci
mmc_core ehci_hcd video button usbcore psmouse i2c_i801 i2c_core serio_raw sg
intel_agp intel_gtt iTCO_wdt iTCO_vendor_support evdev pcspkr input_polldev
cpufreq_ondemand acpi_cpufreq freq_table processor mperf e1000e ext3 jbd
mbcache sr_mod cdrom sd_mod ahci libahci libata scsi_mod

Pid: 1981, comm: modprobe Not tainted 2.6.38.2-vanilla #1 LENOVO
20827TG/20827TG
RIP: 0010:[<ffffffffa016fc71>]  [<ffffffffa016fc71>]
drm_mode_connector_update_edid_property+0x71/0x1d0 [drm]
RSP: 0018:ffff8801517d7968  EFLAGS: 00010202
RAX: 0000000000000010 RBX: ffff88014e75b800 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000010 RDI: ffff88014e75b800
RBP: ffff8801517d79a8 R08: 0000000000000100 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000010 R14: ffff880152102800 R15: ffff880152102800
FS:  00007f82e203d700(0000) GS:ffff88009d280000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 000000000000008e CR3: 0000000151588000 CR4: 00000000000406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process modprobe (pid: 1981, threadinfo ffff8801517d6000, task
ffff880150e7e810)
Stack:
 ffff8801522d8000 0000000000000000 ffffffffa04c1e20 ffff88014e75b800
 ffff8801522d8000 0000000000000000 ffffffffa04c1e20 ffff880152102800
 ffff8801517d79c8 ffffffffa042d6b6 ffff88014e75b800 ffff88014e75b800
Call Trace:
 [<ffffffffa042d6b6>] radeon_ddc_get_modes+0x56/0x120 [radeon]
 [<ffffffffa042747e>] radeon_lvds_get_modes+0x2e/0x260 [radeon]
 [<ffffffffa01e52b4>] drm_helper_probe_single_connector_modes+0xd4/0x380
[drm_kms_helper]
 [<ffffffff8123d1ad>] ? fb_get_options+0x1d/0x110
 [<ffffffffa01e3293>] drm_fb_helper_initial_config+0x2c3/0x6c0 [drm_kms_helper]
 [<ffffffff81132d2b>] ? __kmalloc+0x12b/0x170
 [<ffffffff81132e8b>] ? kmem_cache_alloc_trace+0x11b/0x130
 [<ffffffffa04351d5>] radeon_fbdev_init+0xc5/0x110 [radeon]
 [<ffffffffa042e82c>] radeon_modeset_init+0x55c/0x910 [radeon]
 [<ffffffffa049c557>] ? radeon_acpi_init+0x87/0xb8 [radeon]
 [<ffffffffa04071d0>] radeon_driver_load_kms+0x110/0x1a0 [radeon]
 [<ffffffffa016c836>] drm_get_pci_dev+0x186/0x2c0 [drm]
 [<ffffffff81132e8b>] ? kmem_cache_alloc_trace+0x11b/0x130
 [<ffffffffa049c635>] radeon_pci_probe+0xad/0xb5 [radeon]
 [<ffffffff81226d4a>] local_pci_probe+0x5a/0xd0
 [<ffffffff81227569>] pci_device_probe+0x109/0x110
 [<ffffffff812c209a>] ? driver_sysfs_add+0x7a/0xb0
 [<ffffffff812c2376>] driver_probe_device+0x96/0x1c0
 [<ffffffff812c253b>] __driver_attach+0x9b/0xa0
 [<ffffffff812c24a0>] ? __driver_attach+0x0/0xa0
 [<ffffffff812c139e>] bus_for_each_dev+0x5e/0x90
 [<ffffffff812c2019>] driver_attach+0x19/0x20
 [<ffffffff812c1c20>] bus_add_driver+0x150/0x280
 [<ffffffffa04d6000>] ? radeon_init+0x0/0xc6 [radeon]
 [<ffffffff812c27b1>] driver_register+0x71/0x140
 [<ffffffff813b727d>] ? __mutex_lock_slowpath+0x22d/0x310
 [<ffffffffa04d6000>] ? radeon_init+0x0/0xc6 [radeon]
 [<ffffffff812277d1>] __pci_register_driver+0x51/0xd0
 [<ffffffffa016cd10>] drm_pci_init+0xd0/0xe0 [drm]
 [<ffffffffa04d6000>] ? radeon_init+0x0/0xc6 [radeon]
 [<ffffffffa04d6000>] ? radeon_init+0x0/0xc6 [radeon]
 [<ffffffffa01644c3>] drm_init+0x53/0x70 [drm]
 [<ffffffffa04d60c4>] radeon_init+0xc4/0xc6 [radeon]
 [<ffffffff8100212f>] do_one_initcall+0x3f/0x180
 [<ffffffff81098f0b>] sys_init_module+0xbb/0x200
 [<ffffffff8100bdd2>] system_call_fastpath+0x16/0x1b
Code: b9 00 02 20 00 00 00 ad de 4c 89 e7 48 89 42 08 48 89 10 49 89 74 24 08
49 89 4c 24 10 e8 78 21 fc e0 4d 85 ed 0f 84 cf 00 00 00 <41> 0f b6 4d 7e be d0
80 00 00 4c 8b 3b 83 c1 01 c1 e1 07 48 63 
RIP  [<ffffffffa016fc71>] drm_mode_connector_update_edid_property+0x71/0x1d0
[drm]
 RSP <ffff8801517d7968>
CR2: 000000000000008e
---[ end trace 93c56409aa502cdb ]---

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
--
_______________________________________________
Dri-devel mailing list
Dri-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


More information about the dri-devel mailing list