Kernel panic / hard freeze lock with 3.5.0-31-generic (fglrx)

Bug #1187338 reported by John Perry
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
High
Unassigned

Bug Description

I am running Ubuntu 12.10 with fglrx 13.4. The system works fine with the exception:

If I run either kernels 3.5.0-31-generic or 3.5.0-32-generic, I get a kernel panic/hard freeze within about 5-30 minutes of using the computer.
When the kernel panic occurs, the system is frozen. Neither the mouse, nor the keyboard are responding. I need to perform a hard reset in order to use the laptop again.

Using an older fglrx driver, the system would freeze predictably within 5 minutes of running. With fglrx 13.4, it freezes within 10-20 minutes, predictably.

I managed to get the kernel panic details using "netconsole":

[ 233.858200] invalid opcode: 0000 [#1] SMP
[ 233.858244] CPU 1
[ 233.858254] Modules linked in:[ 233.858271] pci_stub vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) rfcomm parport_pc ppdev bnep binfmt_misc kvm_amd kvm acer_wmi sparse_keymap microcode uvcvideo videobuf2_core videodev videobuf2_vmalloc videobuf2_memops ath3k btusb bluetooth joydev psmouse sp5100_tco serio_raw k10temp i2c_piix4 snd_hda_codec_conexant snd_hda_codec_hdmi snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq_midi sony_laptop snd_rawmidi snd_seq_midi_event arc4 wmi video snd_seq ath9k snd_timer rtsx_pci_ms mac80211 ath9k_common ath9k_hw fglrx(PO) ath snd_seq_device cfg80211 memstick mac_hid snd soundcore snd_page_alloc amd_iommu_v2 netconsole configfs lp parport hid_generic rtsx_pci_sdmmc usbhid hid rtsx_pci ahci libahci atl1c

[ 233.858767] Pid: 0, comm: swapper/1 Tainted: P O 3.5.0-31-generic #52-Ubuntu Sony Corporation VPCEL2S1E/VAIO
[ 233.858802] RIP: 0010:[<ffffffff8108401e>] [<ffffffff8108401e>] perf_event_task_sched_out+0xe/0xa0
[ 233.858831] RSP: 0018:ffff88010119fe70 EFLAGS: 00010002
[ 233.858842] RAX: ffff880106c939c0 RBX: ffff8801011931d0 RCX: 0000000000000001
[ 233.858852] RDX: 0000000000000000 RSI: ffff880097aa9700 RDI: ffff880101192e00
[ 233.858862] RBP: ffff88010119fed8 R08: 0000000000000000 R09: 0000000000000000
[ 233.858872] R10: 0000000000000001 R11: 0000000000000001 R12: ffff880106c939c0
[ 233.858882] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001
[ 233.858894] FS: 00007f4fd8707940(0000) GS:ffff880106c80000(0000) knlGS:0000000000000000
[ 233.858905] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 233.858914] CR2: 00007f4fd63ec009 CR3: 00000000abb04000 CR4: 00000000000007e0
[ 233.858924] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 233.858934] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 233.858946] Process swapper/1 (pid: 0, threadinfo ffff88010119e000, task ffff880101192e00)
[ 233.858954] Stack:
[ 233.858968] ffffffff81680053 ffff880101192e00 ffff88010119ffd8 ffff88010119ffd8
[ 233.859004] ffff88010119ffd8 ffff880097aa9700 ffff880101192e00 ffff88010119feb8
[ 233.859035] ffff88010119ffd8 ffffffff81cd56a0 0000000000000000 0000000000000000
[ 233.859068] Call Trace:
[ 233.859094] [<ffffffff81680053>] ? __schedule+0x283/0x7c0
[ 233.859113] [<ffffffff816808c9>] schedule+0x29/0x70
[ 233.859130] [<ffffffff8101c4a0>] cpu_idle+0xf0/0x120
[ 233.859148] [<ffffffff8166a4bc>] start_secondary+0x1de/0x1e5
[ 233.859159] Code: 40 e8 77 ef 0b 00 48 89 df e8 af a6 0e 00 48 83 c4 08 48 c7 c0 f4 ff ff ff 5b 5d c3 90 55 48 89 e5 48 81 ec c0 00 00 00 48 89 5d <f0> 4c 89 65 f8 48 89 fb 49 89 f4 66 66 66 66 90 66 66 66 66 90
[ 233.859544] RIP [<ffffffff8108401e>] perf_event_task_sched_out+0xe/0xa0
[ 233.859564] RSP <ffff88010119fe70>
[ 233.859578] ---[ end trace af095e725169674e ]---
[ 233.859591] Kernel panic - not syncing: Attempted to kill the idle task!

The kernel 3.5.0-30-generic works fine (that is what I am using it now).

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: linux-image-3.5.0-30-generic 3.5.0-30.51
ProcVersionSignature: Ubuntu 3.5.0-30.51-generic 3.5.7.9
Uname: Linux 3.5.0-30-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.6.1-0ubuntu10
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: user 1995 F.... pulseaudio
 /dev/snd/controlC0: user 1995 F.... pulseaudio
Date: Tue Jun 4 13:46:17 2013
HibernationDevice: RESUME=UUID=e7da7d0c-9512-4269-bbb5-81b6a7c8d0c9
InstallationDate: Installed on 2012-10-06 (240 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Beta amd64 (20120926)
MachineType: Sony Corporation VPCEL2S1E
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no username)
 XDG_RUNTIME_DIR=<set>
 LANG=el_GR.UTF-8
 SHELL=/bin/tcsh
ProcFB:

ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-30-generic root=UUID=eb500245-7536-400b-a049-0148f31f4ed6 ro vesafb.invalid=1 plymouth:debug=1=1 debug ignore_loglevel
RelatedPackageVersions:
 linux-restricted-modules-3.5.0-30-generic N/A
 linux-backports-modules-3.5.0-30-generic N/A
 linux-firmware 1.95.1
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/02/2012
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: R0190E3
dmi.board.asset.tag: N/A
dmi.board.name: VAIO
dmi.board.vendor: Sony Corporation
dmi.board.version: N/A
dmi.chassis.asset.tag: N/A
dmi.chassis.type: 10
dmi.chassis.vendor: Sony Corporation
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnInsydeCorp.:bvrR0190E3:bd03/02/2012:svnSonyCorporation:pnVPCEL2S1E:pvrC90294ZC:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrN/A:
dmi.product.name: VPCEL2S1E
dmi.product.version: C90294ZC
dmi.sys.vendor: Sony Corporation

Revision history for this message
John Perry (jjperry) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest Quantal kernel in proposed? See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in linux (Ubuntu):
importance: Undecided → High
tags: added: needs-bisect regression-update
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: kernel-da-key
Revision history for this message
John Perry (jjperry) wrote :

I tested the latest kernel 3.5.0-34-generic #55-Ubuntu (x86_64) from the -proposed repository,
and I no longer get a kernel panic.

Specifically, I have been running 3.5.0-34-generic #55 for three hours without problem.

I do get the following messages in 'dmesg' which (according to https://bugs.mageia.org/show_bug.cgi?id=9877) has been fixed in AMD Catalyst 13.6Beta:
[ 25.757523] [fglrx:firegl_get_console_mode_info] *ERROR* Get Console Mode failed
[ 32.032428] [fglrx:firegl_apl_loadDatabase] *ERROR* APL: apl initialize fail.
[ 32.038731] [fglrx:firegl_apl_loadDatabase] *ERROR* APL: apl initialize fail.
[ 33.709792] [fglrx:firegl_apl_loadDatabase] *ERROR* APL: apl initialize fail.
[ 33.718943] [fglrx:firegl_apl_loadDatabase] *ERROR* APL: apl initialize fail.
[ 34.618955] [fglrx:firegl_apl_loadDatabase] *ERROR* APL: apl initialize fail.
[ 34.625297] [fglrx:firegl_apl_loadDatabase] *ERROR* APL: apl initialize fail.
[ 115.801277] [fglrx:firegl_apl_loadDatabase] *ERROR* APL: apl initialize fail.
[ 115.813312] [fglrx:firegl_apl_loadDatabase] *ERROR* APL: apl initialize fail.
[ 3722.470974] [fglrx:firegl_apl_loadDatabase] *ERROR* APL: apl initialize fail.
[ 3722.483244] [fglrx:firegl_apl_loadDatabase] *ERROR* APL: apl initialize fail.
[ 3725.305886] [fglrx:firegl_apl_loadDatabase] *ERROR* APL: apl initialize fail.
[ 3725.313037] [fglrx:firegl_apl_loadDatabase] *ERROR* APL: apl initialize fail.
[ 6824.133539] [fglrx:firegl_apl_loadDatabase] *ERROR* APL: apl initialize fail.
[ 6824.140255] [fglrx:firegl_apl_loadDatabase] *ERROR* APL: apl initialize fail.
[ 7070.769180] [fglrx:firegl_apl_loadDatabase] *ERROR* APL: apl initialize fail.
[ 7070.775846] [fglrx:firegl_apl_loadDatabase] *ERROR* APL: apl initialize fail.
[ 9820.946365] [fglrx:firegl_apl_loadDatabase] *ERROR* APL: apl initialize fail.
[ 9820.955647] [fglrx:firegl_apl_loadDatabase] *ERROR* APL: apl initialize fail.
[ 9823.444468] [fglrx:firegl_apl_loadDatabase] *ERROR* APL: apl initialize fail.
[ 9823.451110] [fglrx:firegl_apl_loadDatabase] *ERROR* APL: apl initialize fail.

Changed in linux (Ubuntu):
status: Incomplete → New
Revision history for this message
Brad Figg (brad-figg) wrote :

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Changed in linux (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Julian Wiedmann (jwiedmann) wrote :

3.5.0-34.55 has landed in -updates.

Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
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.