[Bug 749654] New: Kernel cannot load updated drm modules on i586
https://bugzilla.novell.com/show_bug.cgi?id=749654 https://bugzilla.novell.com/show_bug.cgi?id=749654#c0 Summary: Kernel cannot load updated drm modules on i586 Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: i586 OS/Version: openSUSE 12.1 Status: NEW Severity: Critical Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: johannesobermayr@gmx.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) konqueror/4.8.0 Safari/534.34 When trying to modprobe drm with installed drm-radeon-kmp-{flavor} from home:jobermayr such crashes occur. If the package is installed on boot time the system does not boot (also with drm.radeon=0 or nomodeset). But it happens only on my i586 system. On my both x86_64 systems (modprobe) updated drm modules works well. Some notes from Dave Airlie on #radeon: <jobermayr> Btw. is this an error by radeon.ko? http://susepaste.org/57400037 <airlied> jobermayr: wierd, not sure what that is <jobermayr> airlied: I built drm-next against kernel 3.1.9 and tried to insert it. On this machine (AMD Fusion, x86_64) it works. On my laptop (RV250Lf, x86) this crash occurs ... <airlied> it smells like memory corruption [ 493.501473] [drm] Initialized drm 1.1.0 20120227 a02fa39 [ 522.098767] BUG: unable to handle kernel paging request at 34cb3004 [ 522.099034] IP: [<c0280f5a>] module_put+0x2a/0x100 [ 522.099034] *pdpt = 0000000036cdc001 *pde = 0000000000000000 [ 522.099034] Oops: 0002 [#1] PREEMPT SMP [ 522.099034] Modules linked in: ttm drm_kms_helper drm ip6t_LOG xt_tcpudp xt_pkttype ipt_LOG xt_limit ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_raw xt_NOTRACK ipt_REJECT iptable_raw iptable_filter ip6table_mangle nf_conntrack_netbios_ns nf_conntrack_broadcast nf_conntrack_ipv4 nf_defrag_ipv4 ip_tables xt_conntrack nf_conntrack ip6table_filter ip6_tables x_tables cpufreq_conservative cpufreq_userspace cpufreq_powersave powernow_k7 mperf snd_via82xx gameport snd_via82xx_modem i2c_viapro snd_ac97_codec ac97_bus snd_pcm via_ircc ppdev parport_pc sg sr_mod cdrom pcmcia firewire_ohci snd_mpu401_uart shpchp snd_timer snd_rawmidi irda snd_seq_device snd battery snd_page_alloc soundcore parport via_rhine firewire_core crc_itu_t yenta_socket pcmcia_rsrc pci_hotplug pcmcia_core button ac joydev crc_ccitt pcspkr serio_raw autofs4 i2c_algo_bit fan processor ata_generic pata_via thermal thermal_sys [last unloaded: drm] [ 522.099034] [ 522.099034] Pid: 9511, comm: modprobe Not tainted 3.1.9-1.4-desktop #1 56548 N251C1/N251C1 [ 522.099034] EIP: 0060:[<c0280f5a>] EFLAGS: 00010202 CPU: 0 [ 522.099034] EIP is at module_put+0x2a/0x100 [ 522.099034] EAX: 00000000 EBX: f7e0b260 ECX: c0bad0ec EDX: 00000000 [ 522.099034] ESI: 00000000 EDI: f7e0b260 EBP: f4b90000 ESP: f4b91f78 [ 522.099034] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 [ 522.099034] Process modprobe (pid: 9511, ti=f4b90000 task=f6c62270 task.ti=f4b90000) [ 522.099034] Stack: [ 522.099034] 00000000 f7e0b260 f7e0b260 00000000 bfcd5784 f4b90000 c028342f 00000000 [ 522.099034] 00000003 c032841d 0805a458 b783b000 b783b000 00000000 c070a66d b783b000 [ 522.099034] 0001739c 08058af0 00000000 bfcd5784 00000000 00000080 0000007b 0000007b [ 522.099034] Call Trace: [ 522.099034] [<c028342f>] sys_init_module+0xff/0x210 [ 522.099034] [<c070a66d>] syscall_call+0x7/0xb [ 522.099034] [<b778640e>] 0xb778640d [ 522.099034] Code: 00 83 ec 18 85 c0 89 7c 24 10 89 c7 89 5c 24 08 89 74 24 0c 89 6c 24 14 74 40 89 e0 25 00 e0 ff ff 83 40 14 01 8b 87 74 01 00 00 [ 522.099034] ff 40 04 8b 44 24 18 89 04 24 3e 8d 74 26 00 83 3f 02 0f 84 [ 522.099034] EIP: [<c0280f5a>] module_put+0x2a/0x100 SS:ESP 0068:f4b91f78 [ 522.099034] CR2: 0000000034cb3004 [ 522.603769] ---[ end trace 53e989dd70878662 ]--- [ 522.615954] note: modprobe[9511] exited with preempt_count 1 [ 522.628197] BUG: scheduling while atomic: modprobe/9511/0x10000002 [ 522.640397] Modules linked in: ttm drm_kms_helper drm ip6t_LOG xt_tcpudp xt_pkttype ipt_LOG xt_limit ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_raw xt_NOTRACK ipt_REJECT iptable_raw iptable_filter ip6table_mangle nf_conntrack_netbios_ns nf_conntrack_broadcast nf_conntrack_ipv4 nf_defrag_ipv4 ip_tables xt_conntrack nf_conntrack ip6table_filter ip6_tables x_tables cpufreq_conservative cpufreq_userspace cpufreq_powersave powernow_k7 mperf snd_via82xx gameport snd_via82xx_modem i2c_viapro snd_ac97_codec ac97_bus snd_pcm via_ircc ppdev parport_pc sg sr_mod cdrom pcmcia firewire_ohci snd_mpu401_uart shpchp snd_timer snd_rawmidi irda snd_seq_device snd battery snd_page_alloc soundcore parport via_rhine firewire_core crc_itu_t yenta_socket pcmcia_rsrc pci_hotplug pcmcia_core button ac joydev crc_ccitt pcspkr serio_raw autofs4 i2c_algo_bit fan processor ata_generic pata_via thermal thermal_sys [last unloaded: drm] [ 522.748042] Pid: 9511, comm: modprobe Tainted: G D 3.1.9-1.4-desktop #1 [ 522.762109] Call Trace: [ 522.775994] [<c0205433>] try_stack_unwind+0x163/0x180 [ 522.789809] [<c0204167>] dump_trace+0x47/0xf0 [ 522.803367] [<c020549b>] show_trace_log_lvl+0x4b/0x60 [ 522.816863] [<c02054c8>] show_trace+0x18/0x20 [ 522.830262] [<c06f3caf>] dump_stack+0x6d/0x72 [ 522.843593] [<c070857b>] __schedule+0x61b/0x650 [ 522.856663] [<c023ff46>] __cond_resched+0x16/0x30 [ 522.869413] [<c0708625>] _cond_resched+0x25/0x30 [ 522.881849] [<c02fa78e>] unmap_page_range+0x10e/0x1f0 [ 522.893998] [<c02faeb8>] unmap_vmas+0xa8/0x120 [ 522.905812] [<c030114b>] exit_mmap+0x7b/0x110 [ 522.917314] [<c02467e1>] mmput.part.18+0x31/0xe0 [ 522.928517] [<c024c5d7>] exit_mm+0xf7/0x120 [ 522.939389] [<c024c721>] do_exit+0x121/0x3d0 [ 522.950235] [<c070bbed>] oops_end+0x8d/0xd0 [ 522.960920] [<c06f5258>] bad_area_nosemaphore+0xf/0x11 [ 522.971525] [<c070d7b8>] do_page_fault+0x398/0x4a0 [ 522.982104] [<c070b0f2>] error_code+0x5a/0x60 [ 522.992606] [<c0280f5a>] module_put+0x2a/0x100 [ 523.003121] [<c028342f>] sys_init_module+0xff/0x210 [ 523.013598] [<c070a66d>] syscall_call+0x7/0xb [ 523.023938] [<b778640e>] 0xb778640d Reproducible: Always -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=749654 https://bugzilla.novell.com/show_bug.cgi?id=749654#c1 Jeff Mahoney <jeffm@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |jeffm@suse.com Resolution| |INVALID --- Comment #1 from Jeff Mahoney <jeffm@suse.com> 2012-03-07 20:55:56 UTC --- I'm not sure what you want to happen here. You're loading an experimental module that isn't part of openSUSE and it's causing crashes. It seems like the next step should be to build with the vanilla kernel, reproduce it, and file it with the DRM upstream. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=749654 https://bugzilla.novell.com/show_bug.cgi?id=749654#c2 Johannes Obermayr <johannesobermayr@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | --- Comment #2 from Johannes Obermayr <johannesobermayr@gmx.de> 2012-03-07 21:58:43 UTC --- If it works with vanilla openSUSE maintainers cannot be guilty when it does not work with a flavor patched by them, can they? Seems like Bug 627147 -> cdrom drive is guilty if it works well when using an older kernel ;-) dmesg | grep -e "drm" -e "Linux version" [ 0.000000] Linux version 3.1.9-1.4-vanilla (geeko@buildhost) (gcc version 4.6.2 (SUSE Linux) ) #1 SMP Fri Jan 27 08:55:10 UTC 2012 (efb5ff4) [ 2.944169] [drm] Initialized drm 1.1.0 20120229 81ffbbe [ 3.147156] [drm] radeon defaulting to kernel modesetting. [ 3.147162] [drm] radeon kernel modesetting enabled. [ 3.147270] fb: conflicting fb hw usage radeondrmfb vs VESA VGA - removing generic driver [ 3.188372] [drm] initializing kernel modesetting (RV250 0x1002:0x4C66 0x1584:0x2302). [ 3.188417] [drm] register mmio base: 0xDFEF0000 [ 3.188420] [drm] register mmio size: 65536 [ 3.189752] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). [ 3.189755] [drm] Driver supports precise vblank timestamp query. [ 3.189772] [drm] radeon: irq initialized. [ 3.193698] [drm] Detected VRAM RAM=128M, BAR=128M [ 3.193705] [drm] RAM width 128bits DDR [ 3.197057] [drm] radeon: 64M of VRAM memory ready [ 3.197062] [drm] radeon: 64M of GTT memory ready. [ 3.197102] [drm] radeon: ib pool ready. [ 3.198434] [drm] fence driver on ring 0 use gpu addr 0xe0000000 and cpu addr 0xf801c000 [ 3.198560] [drm] Loading R200 Microcode [ 3.234791] [drm] radeon: ring at 0x00000000E0001000 [ 3.234814] [drm] ring test succeeded in 0 usecs [ 3.235201] [drm] ib test succeeded in 0 usecs [ 3.235523] [drm] Panel ID String: 1024x768 [ 3.235527] [drm] Panel Size 1024x768 [ 3.238597] [drm] radeon legacy LVDS backlight initialized [ 3.238650] [drm] Radeon Display Connectors [ 3.238653] [drm] Connector 0: [ 3.238656] [drm] VGA [ 3.238659] [drm] DDC: 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60 [ 3.238662] [drm] Encoders: [ 3.238664] [drm] CRT1: INTERNAL_DAC1 [ 3.238666] [drm] Connector 1: [ 3.238668] [drm] LVDS [ 3.238670] [drm] Encoders: [ 3.238672] [drm] LCD1: INTERNAL_LVDS [ 3.238674] [drm] Connector 2: [ 3.238676] [drm] S-video [ 3.238678] [drm] Encoders: [ 3.238680] [drm] TV1: INTERNAL_DAC2 [ 3.238712] [drm] radeon: power management initialized [ 3.267884] [drm] fb mappable at 0xD0040000 [ 3.267890] [drm] vram apper at 0xD0000000 [ 3.267893] [drm] size 3145728 [ 3.267895] [drm] fb depth is 24 [ 3.267897] [drm] pitch is 4096 [ 3.268312] fbcon: radeondrmfb (fb0) is primary device [ 3.292253] fb0: radeondrmfb frame buffer device [ 3.292257] drm: registered panic notifier [ 3.292268] [drm] Initialized radeon 2.14.0 20120229 81ffbbe for 0000:01:00.0 on minor 0 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=749654 https://bugzilla.novell.com/show_bug.cgi?id=749654#c3 Jeff Mahoney <jeffm@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |johannesobermayr@gmx.de --- Comment #3 from Jeff Mahoney <jeffm@suse.com> 2012-03-08 02:18:21 UTC --- Does using the same version you used in comment #2 work on the openSUSE kernel? There's a pretty big diffstat between the two versions: ~/linux> git diff a02fa39..81ffbbe|diffstat -p1 drivers/gpu/drm/drm_irq.c | 4 drivers/gpu/drm/drm_memory.c | 19 drivers/gpu/drm/radeon/evergreen.c | 6 drivers/gpu/drm/radeon/ni.c | 6 drivers/gpu/drm/radeon/r100.c | 17 drivers/gpu/drm/radeon/r300.c | 9 drivers/gpu/drm/radeon/r420.c | 2 drivers/gpu/drm/radeon/r520.c | 2 drivers/gpu/drm/radeon/r600.c | 26 drivers/gpu/drm/radeon/radeon.h | 179 ++-- drivers/gpu/drm/radeon/radeon_asic.c | 1103 ++++++++++++++++++------------ drivers/gpu/drm/radeon/radeon_asic.h | 10 drivers/gpu/drm/radeon/radeon_benchmark.c | 12 drivers/gpu/drm/radeon/radeon_clocks.c | 2 drivers/gpu/drm/radeon/radeon_cs.c | 23 drivers/gpu/drm/radeon/radeon_display.c | 13 drivers/gpu/drm/radeon/radeon_pm.c | 6 drivers/gpu/drm/radeon/radeon_ring.c | 8 drivers/gpu/drm/radeon/radeon_ttm.c | 15 drivers/gpu/drm/radeon/rs400.c | 2 drivers/gpu/drm/radeon/rs600.c | 4 drivers/gpu/drm/radeon/rs690.c | 2 drivers/gpu/drm/radeon/rv515.c | 5 drivers/gpu/drm/radeon/rv770.c | 4 include/drm/drmP.h | 9 25 files changed, 865 insertions(+), 623 deletions(-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=749654 https://bugzilla.novell.com/show_bug.cgi?id=749654#c4 Johannes Obermayr <johannesobermayr@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|johannesobermayr@gmx.de | --- Comment #4 from Johannes Obermayr <johannesobermayr@gmx.de> 2012-03-08 04:37:53 UTC --- (In reply to comment #3)
Does using the same version you used in comment #2 work on the openSUSE kernel? There's a pretty big diffstat between the two versions:
Nope. I am doing almost daily / weekly testing and this has happened for ~ 5 to 6 months if I remember right. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=749654 https://bugzilla.novell.com/show_bug.cgi?id=749654#c5 Jeff Mahoney <jeffm@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |johannesobermayr@gmx.de --- Comment #5 from Jeff Mahoney <jeffm@suse.com> 2012-03-14 15:26:11 EDT --- Ok. We're gonna have to isolate which patch is causing this issue, then. Can you build a kernel without patches.suse/SUSE-bootsplash applied? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=749654 https://bugzilla.novell.com/show_bug.cgi?id=749654#c6 Johannes Obermayr <johannesobermayr@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|johannesobermayr@gmx.de | --- Comment #6 from Johannes Obermayr <johannesobermayr@gmx.de> 2012-03-15 18:55:33 UTC --- Please provide a kernel package (prefered: desktop) in OBS which I can build against because my tries to remove the patch make kernel build fail after ~ 1 1/2 hours :-( It can also be based on Kernel:HEAD ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=749654 https://bugzilla.novell.com/show_bug.cgi?id=749654#c7 Jeff Mahoney <jeffm@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |johannesobermayr@gmx.de --- Comment #7 from Jeff Mahoney <jeffm@suse.com> 2012-03-16 00:04:33 EDT --- Ok. There's a 12.1 kernel building now. It'll be available at http://download.opensuse.org/repositories/home:/jeff_mahoney:/test-packages:... when it's complete. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=749654 https://bugzilla.novell.com/show_bug.cgi?id=749654#c8 Johannes Obermayr <johannesobermayr@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|johannesobermayr@gmx.de | --- Comment #8 from Johannes Obermayr <johannesobermayr@gmx.de> 2012-03-16 21:38:02 UTC --- Kernel and drm modules built against above repository also crash. Note: I had to use kernel-debug this time because default, desktop, and pae do not build. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=749654 https://bugzilla.novell.com/show_bug.cgi?id=749654#c9 --- Comment #9 from Jeff Mahoney <jeffm@suse.com> 2012-03-16 17:42:49 EDT --- Ah. The build failures are due to kABI changes. They should succeed now. I won't be updating the kernel package otherwise until Monday, though. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=749654 https://bugzilla.novell.com/show_bug.cgi?id=749654#c10 --- Comment #10 from Johannes Obermayr <johannesobermayr@gmx.de> 2012-03-17 21:19:05 UTC --- Still valid with kernel-desktop. Btw. please stop wasting build power and build just the flavor we need (kernel-desktop on i586). Maybe you can also link home:jobermayr/drm-radeon and comment out BuildRequires for other flavors. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=749654 https://bugzilla.novell.com/show_bug.cgi?id=749654#c11 Jeff Mahoney <jeffm@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |johannesobermayr@gmx.de AssignedTo|kernel-maintainers@forge.pr |jeffm@suse.com |ovo.novell.com | --- Comment #11 from Jeff Mahoney <jeffm@suse.com> 2012-03-25 19:45:42 EDT --- There's a new kernel-desktop with Xen disabled. Can you try that one? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=749654 https://bugzilla.novell.com/show_bug.cgi?id=749654#c12 Johannes Obermayr <johannesobermayr@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|johannesobermayr@gmx.de | --- Comment #12 from Johannes Obermayr <johannesobermayr@gmx.de> 2012-03-26 15:37:14 UTC --- Still valid. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=749654 https://bugzilla.novell.com/show_bug.cgi?id=749654#c13 Jeff Mahoney <jeffm@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |johannesobermayr@gmx.de --- Comment #13 from Jeff Mahoney <jeffm@suse.com> 2012-08-09 19:28:46 EDT --- Just for fun, can you try with kernel-vanilla? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=749654 https://bugzilla.novell.com/show_bug.cgi?id=749654#c14 Johannes Obermayr <johannesobermayr@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|johannesobermayr@gmx.de | --- Comment #14 from Johannes Obermayr <johannesobermayr@gmx.de> 2012-08-10 12:17:07 UTC --- (In reply to comment #13)
Just for fun, can you try with kernel-vanilla?
(In reply to comment #2)
If it works with vanilla openSUSE maintainers cannot be guilty when it does not work with a flavor patched by them, can they?
To make it clear: Yes, I tested it ~ 5 months ago and a openSuSE patch is the offender ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=749654 https://bugzilla.novell.com/show_bug.cgi?id=749654#c15 Johannes Obermayr <johannesobermayr@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |CLOSED Resolution| |FIXED --- Comment #15 from Johannes Obermayr <johannesobermayr@gmx.de> 2012-09-25 17:11:11 UTC --- Fixed in openSUSE 12.2 final. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com