Xorg Via driver DRI OOPS (drm:via_mem_alloc ERROR)

Bug #72630 reported by John Moser
6
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-via

X froze, so I kill'd it. No effect, kill -9. Beeping and this:

[17590726.404000] BUG: unable to handle kernel paging request at virtual address
 00332d35
[17590726.404000] printing eip:
[17590726.404000] f8e30cf2
[17590726.404000] *pde = 00000000
[17590726.404000] Oops: 0000 [#1]
[17590726.404000] SMP
[17590726.404000] Modules linked in: oprofile nls_utf8 binfmt_misc rfcomm l2cap
bluetooth via drm powernow_k8 cpufreq_userspace cpufreq_stats freq_table cpufreq
_powersave cpufreq_ondemand cpufreq_conservative video tc1100_wmi sbs sony_acpi
pcc_acpi i2c_ec hotkey dev_acpi button battery container ac asus_acpi nls_iso885
9_1 nls_cp437 vfat fat xfs dm_mod md_mod fuse sr_mod sbp2 parport_pc lp parport
tsdev usb_storage snd_emu10k1_synth snd_emux_synth snd_seq_virmidi snd_seq_midi_
emul snd_seq_dummy snd_seq_oss snd_seq_midi snd_seq_midi_event snd_seq snd_emu10
k1 snd_rawmidi snd_ac97_codec snd_ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd
_seq_device snd_timer snd_page_alloc snd_util_mem snd_hwdep ipv6 sg psmouse libu
sual usbhid usblp 8139cp 8139too snd i2c_viapro serio_raw i2c_core evdev mii pcs
pkr shpchp pci_hotplug amd64_agp agpgart soundcore ext3 jbd ehci_hcd uhci_hcd us
bcore ohci1394 ieee1394 ide_generic ide_cd cdrom generic via82cxxx sd_mod sata_v
ia libata scsi_mod thermal processor fan fbcon tileblit font bitblit softcursor
vesafb capability commoncap
[17590726.404000] CPU: 0
[17590726.404000] EIP: 0060:[<f8e30cf2>] Not tainted VLI
[17590726.404000] EFLAGS: 00213292 (2.6.17-10-generic #2)
[17590726.404000] EIP is at via_mmFreeMem+0x32/0xa0 [via]
[17590726.404000] eax: f4b511e0 ebx: 00000000 ecx: 00332d35 edx: 00332d35
[17590726.404000] esi: d7fb0000 edi: 00000006 ebp: f5845dbc esp: f5845d9c
[17590726.404000] ds: 007b es: 007b ss: 0068
[17590726.404000] Process Xorg (pid: 6503, threadinfo=f5844000 task=c1932560)
[17590726.404000] Stack: 00000005 f8e31475 ffffffff f44281c0 c02da128 f5bf8818 f5bf8800 f39d0000
[17590726.404000] f4b511e0 e2659e40 d1642b40 f5bf8800 f44281c0 f8e20b51 dffd38c0 c016eb9a
[17590726.404000] f4e3c8e0 c019f330 f4e3c8e0 00000003 f5bf8950 00000000 00000000 00000008
[17590726.404000] Call Trace:
[17590726.404000] <f8e31475> via_final_context+0x115/0x1e0 [via] <c02da128> mutex_lock+0x8/0x20
[17590726.404000] <f8e20b51> drm_release+0x2b1/0x4d0 [drm] <c016eb9a> invalidate_inode_buffers+0xa/0x60
[17590726.404000] <c019f330> proc_delete_inode+0x0/0x80 <c018460e> destroy_inode+0x2e/0x50
[17590726.404000] <c016b95b> __fput+0x9b/0x1a0 <c0168b27> filp_close+0x47/0x80
[17590726.404000] <c0124458> put_files_struct+0x98/0xc0 <c012560c> do_exit+0x11c/0x840
[17590726.404000] <c0108f89> save_i387+0x129/0x140 <c0125d67> do_group_exit+0x37/0x80
[17590726.404000] <c012e751> get_signal_to_deliver+0x281/0x3f0 <c010266b> do_notify_resume+0x8b/0x6c0
[17590726.404000] <c011bde0> default_wake_function+0x0/0x10 <f8e201c0> drm_ioctl+0xb0/0x220 [drm]
[17590726.404000] <c010892c> convert_fxsr_from_user+0x1c/0xf0 <c017d63f> do_ioctl+0x7f/0x90
[17590726.404000] <c017d6ac> vfs_ioctl+0x5c/0x2b0 <c017d972> sys_ioctl+0x72/0x90
[17590726.404000] <c01030be> work_notifysig+0x13/0x25
[17590726.404000] Code: c0 c3 8d b4 26 00 00 00 00 8b 50 04 85 d2 75 07 5b b8 ff ff ff ff c3 31 db 39 d0 89 d1 74 16 8b 0a
 85 c9 74 eb 39 c8 74 0a 89 ca <8b> 0a 85 c9 75 f4 eb dd 89 d3 f6 41 14 03 75 d5 80 49 14 01 f6
[17590726.404000] EIP: [<f8e30cf2>] via_mmFreeMem+0x32/0xa0 [via] SS:ESP 0068:f5845d9c
[17590726.404000] <1>Fixing recursive fault but reboot is needed!
(END)

Tags: cft-2.6.27
Revision history for this message
Tormod Volden (tormodvolden) wrote :

xorg.conf and Xorg.0.log please :) Can you get or compile a debug build of Xorg? (xorg-server src package, xserver-xorg-core bin package) And of your driver xserver-xorg-video-via as well.
You might also want to add Option "NoTrapSignals" "true" to xorg.conf to get a core dump if it dies.

Revision history for this message
John Moser (nigelenki) wrote :

xorg.conf, except I had Load "dri" uncommented at the time (I've turned dri off due to this crap)

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Please test a new version for Feisty at:

http://users.tkk.fi/~tjaalton/dpkg

Changed in xserver-xorg-video-via:
status: Unconfirmed → Needs Info
Revision history for this message
John Moser (nigelenki) wrote :

I see via-unichrome, but that driver doesn't actually load for my Via I think... I will try it.

Revision history for this message
John Moser (nigelenki) wrote : Re: [Bug 72630] Re: Xorg Via driver DRI OOPS

There's no deb at that URL. Also as I said I am using
xserver-xorg-video-via; if I use the other one:

(II) LoadModule: "unichrome"
(II) Loading /usr/lib/xorg/modules/drivers//unichrome_drv.so
(EE) LoadModule: Module unichrome does not have a unichromeModuleData
data object.
(II) UnloadModule: "unichrome"
(II) Unloading /usr/lib/xorg/modules/drivers//unichrome_drv.so
(EE) Failed to load module "unichrome" (invalid module, 0)

This is for current Feisty, not your version (which I'd have to compile
from source, honestly don't feel like it)

Revision history for this message
Timo Aaltonen (tjaalton) wrote : Re: Xorg Via driver DRI OOPS

Oh, sorry! Now there is a deb for you :) It conflicts with via, since the unichrome replaces it.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Is this still a problem in 7.04?

Changed in xserver-xorg-video-via:
assignee: nobody → tormodvolden
Revision history for this message
John Moser (nigelenki) wrote :

Using the kernel from Gutsy, as it's the most recent I can legitimately get. Also yes still a problem on Feisty.

Linux icebox 2.6.22-6-generic #1 SMP Fri Jun 1 19:24:12 GMT 2007 i686 GNU/Linux

Changed in xserver-xorg-video-via:
assignee: tormodvolden → nobody
status: Needs Info → Confirmed
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

DRM is in the kernel. Please try 8.04 which has 2.6.24.

Changed in xserver-xorg-video-via:
status: Confirmed → Incomplete
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Markus Korn (thekorn) wrote :

Unfortunately this bug report is being closed because we received no response to the last inquiry for information. However, the Intrepid Ibex 8.10 Beta release was most recently announced - http://www.ubuntu.com/testing/intrepid/beta . If you are able to confirm this is still an issue with this most recent release please feel free to reopen this report. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New".

Thanks,
Markus

Changed in linux:
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.