BUG: unable to handle kernel paging request at 2b2c3000; EIP is at linkwatch_do_dev+0x77/0xb0

Bug #1023889 reported by Frediano Ziglio
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Running Ubuntu 12.04 32-bit under Xen and trying to remove VIF cause a crash.

This is the information on crash

Ubuntu 12.04 LTS ubuntu1204 hvc0

ubuntu1204 login: [ 695.280121] WARNING: g.e. still in use!
[ 695.280133] WARNING: g.e. still in use!
[ 695.280153] sysfs: kobject eth6 without dirent
[ 695.280269] sysfs: kobject eth6 without dirent
[ 695.280359] sysfs: kobject eth6 without dirent
[ 695.280483] BUG: unable to handle kernel paging request at 2b2c3000
[ 695.280493] IP: [<c14bb1c7>] linkwatch_do_dev+0x77/0xb0
[ 695.280503] *pdpt = 000000002b878007 *pde = 0000000000000000
[ 695.280511] Oops: 0002 [#1] SMP
[ 695.280518] Modules linked in: xenfs lp parport
[ 695.280527]
[ 695.280531] Pid: 21, comm: kworker/0:1 Tainted: G W 3.2.0-26-generic-pae #41-Ubuntu
[ 695.280542] EIP: 0061:[<c14bb1c7>] EFLAGS: 00010246 CPU: 0
[ 695.280548] EIP is at linkwatch_do_dev+0x77/0xb0
[ 695.280554] EAX: 00000000 EBX: c3020000 ECX: 00000000 EDX: 00000000
[ 695.280560] ESI: 00000002 EDI: 00000000 EBP: ec113f2c ESP: ec113f24
[ 695.280566] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0069
[ 695.280572] Process kworker/0:1 (pid: 21, ti=ec112000 task=ec118000 task.ti=ec112000)
[ 695.280579] Stack:
[ 695.280582] c302026c ec113f38 ec113f4c c14bb482 ec113f44 ec113f38 ec113f38 c1860120
[ 695.280597] ecbeb7ec ec0c3640 ec113f54 c14bb560 ec113f94 c1074de1 ec0700e0 00040001
[ 695.280611] c1002227 00000061 00000246 ecbf0d05 000c3640 c14bb540 ecbf0d00 ecbeb780
[ 695.280625] Call Trace:
[ 695.280631] [<c14bb482>] __linkwatch_run_queue+0xd2/0x190
[ 695.280638] [<c14bb560>] linkwatch_event+0x20/0x30
[ 695.280645] [<c1074de1>] process_one_work+0x101/0x3a0
[ 695.280654] [<c1002227>] ? hypercall_page+0x227/0x1000
[ 695.280661] [<c14bb540>] ? __linkwatch_run_queue+0x190/0x190
[ 695.280668] [<c10758a4>] worker_thread+0x124/0x2d0
[ 695.280675] [<c1075780>] ? manage_workers.isra.27+0x110/0x110
[ 695.280683] [<c10796cd>] kthread+0x6d/0x80
[ 695.280689] [<c1079660>] ? flush_kthread_worker+0x80/0x80
[ 695.280697] [<c15acc3e>] kernel_thread_helper+0x6/0x10
[ 695.280703] Code: 85 c1 e8 7d a1 0e 00 f6 83 ec 00 00 00 01 74 15 8b 43 44 a8 04 89 d8 74 2b e8 66 ae 00 00 89 d8 e8 7f f6 fe ff 8b 83 58 02 00 00 <64> ff 08 5b 5e 5d c3 66 90 8b 73 44 c1 e6 1b c1 fe 1f 83 c6 06
[ 695.280777] EIP: [<c14bb1c7>] linkwatch_do_dev+0x77/0xb0 SS:ESP 0069:ec113f24
[ 695.280787] CR2: 000000002b2c3000
[ 695.280798] ---[ end trace 11df0f4e76838620 ]---
[ 695.280836] BUG: unable to handle kernel paging request at fffffffc
[ 695.280845] IP: [<c1079a6f>] kthread_data+0xf/0x20
[ 695.280853] *pdpt = 000000002b875027 *pde = 0000000000000000
[ 695.280862] Oops: 0000 [#2] SMP
[ 695.280868] Modules linked in: xenfs lp parport
[ 695.280877]
[ 695.280881] Pid: 21, comm: kworker/0:1 Tainted: G D W 3.2.0-26-generic-pae #41-Ubuntu
[ 695.280892] EIP: 0061:[<c1079a6f>] EFLAGS: 00010002 CPU: 0
[ 695.280898] EIP is at kthread_data+0xf/0x20
[ 695.280903] EAX: 00000000 EBX: 00000000 ECX: c192ce00 EDX: 00000000
[ 695.280909] ESI: 00000000 EDI: 00000009 EBP: ec113d20 ESP: ec113d14
[ 695.280916] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0069
[ 695.280922] Process kworker/0:1 (pid: 21, ti=ec112000 task=ec118000 task.ti=ec112000)
[ 695.280929] Stack:
[ 695.280933] c1075ce1 ec118294 00000000 ec113da4 c15a350f ed17e980 ec113d40 c107677a
[ 695.280946] c1058c88 c192ce00 c192ce00 ec0ce4c0 ec0a9400 ecbefe00 ec118000 c1058c88
[ 695.280959] ec118000 ec113d88 c105ce15 00000000 97933b01 ec0c3690 c10c4fcc ec0c3680
[ 695.280972] Call Trace:
[ 695.280977] [<c1075ce1>] ? wq_worker_sleeping+0x11/0x80
[ 695.280985] [<c15a350f>] __schedule+0x51f/0x620
[ 695.280991] [<c107677a>] ? free_pid+0x8a/0x90
[ 695.280998] [<c1058c88>] ? __cleanup_sighand+0x28/0x30
[ 695.281004] [<c1058c88>] ? __cleanup_sighand+0x28/0x30
[ 695.281012] [<c105ce15>] ? __exit_signal+0x225/0x300
[ 695.281021] [<c10c4fcc>] ? __call_rcu+0x7c/0x120
[ 695.281027] [<c10c50a2>] ? call_rcu_sched+0x12/0x20
[ 695.281034] [<c105d46c>] ? release_task+0xac/0x110
[ 695.281041] [<c15a38b5>] schedule+0x35/0x50
[ 695.281047] [<c105e94f>] do_exit+0x1ef/0x390
[ 695.281056] [<c158f6ca>] ? printk+0x2d/0x2f
[ 695.281064] [<c15a6556>] oops_end+0x96/0xd0
[ 695.281070] [<c158e581>] no_context+0xc3/0xcb
[ 695.281077] [<c158e6a9>] __bad_area_nosemaphore+0x120/0x128
[ 695.281086] [<c1009729>] ? xen_clocksource_read+0x19/0x20
[ 695.281093] [<c158e6c8>] bad_area_nosemaphore+0x17/0x19
[ 695.281100] [<c15a8d1a>] do_page_fault+0x3da/0x490
[ 695.281107] [<c1005287>] ? xen_mc_extend_args+0xd7/0x110
[ 695.281114] [<c1004f6a>] ? xen_mc_flush+0xaa/0x1b0
[ 695.281120] [<c1004929>] ? xen_load_tls+0x89/0x120
[ 695.281127] [<c1003aa7>] ? xen_end_context_switch+0x17/0x20
[ 695.281134] [<c15a8940>] ? vmalloc_fault+0x190/0x190
[ 695.281141] [<c15a5d07>] error_code+0x67/0x6c
[ 695.284069] [<c15a00d8>] ? powernow_k8_cpu_init_acpi+0x88/0x186
[ 695.284069] [<c14bb1c7>] ? linkwatch_do_dev+0x77/0xb0
[ 695.284069] [<c14bb482>] __linkwatch_run_queue+0xd2/0x190
[ 695.284069] [<c14bb560>] linkwatch_event+0x20/0x30
[ 695.284069] [<c1074de1>] process_one_work+0x101/0x3a0
[ 695.284069] [<c1002227>] ? hypercall_page+0x227/0x1000
[ 695.284069] [<c14bb540>] ? __linkwatch_run_queue+0x190/0x190
[ 695.284069] [<c10758a4>] worker_thread+0x124/0x2d0
[ 695.284069] [<c1075780>] ? manage_workers.isra.27+0x110/0x110
[ 695.284069] [<c10796cd>] kthread+0x6d/0x80
[ 695.284069] [<c1079660>] ? flush_kthread_worker+0x80/0x80
[ 695.284069] [<c15acc3e>] kernel_thread_helper+0x6/0x10
[ 695.284069] Code: 10 31 c0 5b 5e 5f 5d c3 ba 3e 01 00 00 b8 e8 b9 74 c1 e8 55 0c fe ff e9 bb fe ff ff 55 89 e5 3e 8d 74 26 00 8b 80 68 02 00 00 5d <8b> 40 fc c3 8d b6 00 00 00 00 8d bc 27 00 00 00 00 55 89 e5 3e
[ 695.284069] EIP: [<c1079a6f>] kthread_data+0xf/0x20 SS:ESP 0069:ec113d14
[ 695.284069] CR2: 00000000fffffffc
[ 695.284069] ---[ end trace 11df0f4e76838621 ]---
[ 695.284069] Fixing recursive fault but reboot is needed!

Regards
  Frediano Ziglio

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.2.0-26-generic-pae 3.2.0-26.41
ProcVersionSignature: Ubuntu 3.2.0-26.41-generic-pae 3.2.19
Uname: Linux 3.2.0-26-generic-pae i686
AcpiTables:

AlsaDevices:
 total 0
 crw-rw---T 1 root audio 116, 1 Jul 12 12:35 seq
 crw-rw---T 1 root audio 116, 33 Jul 12 12:35 timer
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.0.1-0ubuntu8
Architecture: i386
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: [Errno 2] No such file or directory
CurrentDmesg:
 [ 6.222482] init: udev-fallback-graphics main process (786) terminated with status 1
 [ 6.262418] init: plymouth-splash main process (792) terminated with status 1
Date: Thu Jul 12 13:02:57 2012
HibernationDevice: RESUME=UUID=0746f721-46ce-4f62-abbf-9d88c3d1888f
IwConfig: Error: [Errno 2] No such file or directory
Lspci:

Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize libusb: -99
PciMultimedia:

ProcEnviron:
 LANGUAGE=en_US:
 TERM=linux
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB:

ProcKernelCmdLine: root=UUID=f39ae08b-5890-4234-9c32-26ed5ff4d3f1 ro quiet splash $vt_handoff auto=true priority=critical console-keymaps-at/keymap=us preseed/locale=en_US auto-install/enable=true hostname=hostname domain=localdomain url=http://10.220.0.11/export/xenrtFKElRY/preseed-hostname.cfg
ProcModules:
 lp 17455 0 - Live 0xedc69000
 parport 40930 1 lp, Live 0xedc71000
 xenfs 17877 1 - Live 0xedcfc000
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-26-generic-pae N/A
 linux-backports-modules-3.2.0-26-generic-pae N/A
 linux-firmware 1.79
RfKill: Error: [Errno 2] No such file or directory
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Frediano Ziglio (frediano-ziglio) wrote :
Revision history for this message
Frediano Ziglio (frediano-ziglio) wrote :

File information collected after machine restart.

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1023889

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Frediano Ziglio (frediano-ziglio) wrote : Re: Crash removing VIF inferface

I'm unable to run appport-collect as server have no X/browser.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Frediano Ziglio (frediano-ziglio) wrote :
Revision history for this message
Luis Henriques (henrix) wrote :

Frediano, thank you for testing. Please let us know the results of your testing, as this patch is already queued in the Ubuntu kernel git (branch master-next).

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
tags: added: kthread-data needs-upstream-testing
Revision history for this message
Frediano Ziglio (frediano-ziglio) wrote :

That patch fixed the issue.

Where can I get updated (developing I think) version of Ubuntu kernel ??

Revision history for this message
Frediano Ziglio (frediano-ziglio) wrote :

Currently trying with master-next branch on git://kernel.ubuntu.com/ubuntu/ubuntu-precise.git

Revision history for this message
Frediano Ziglio (frediano-ziglio) wrote :
tags: removed: needs-upstream-testing
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
penalvch (penalvch)
summary: - Crash removing VIF inferface
+ BUG: unable to handle kernel paging request at 2b2c3000; EIP is at
+ linkwatch_do_dev+0x77/0xb0
tags: added: kernel-oops
Revision history for this message
Frediano Ziglio (frediano-ziglio) wrote :
Download full text (5.8 KiB)

Still failing with 3.2.0-27 kernel. This is the log on screen.

[ 1723.940164] WARNING: g.e. still in use!
[ 1723.940196] WARNING: g.e. still in use!
[ 1723.940234] sysfs: kobject eth6 without dirent
[ 1723.940477] sysfs: kobject eth6 without dirent
[ 1723.940704] sysfs: kobject eth6 without dirent
[ 1723.940988] BUG: unable to handle kernel paging request at 2b261000
[ 1723.941005] IP: [<c14bb3c7>] linkwatch_do_dev+0x77/0xb0
[ 1723.941024] *pdpt = 0000000002534027 *pde = 0000000000000000
[ 1723.941041] Oops: 0002 [#1] SMP
[ 1723.941053] Modules linked in: xenfs lp parport
[ 1723.941072]
[ 1723.941080] Pid: 69, comm: kworker/0:1 Tainted: G W 3.2.0-27-generic-pae #43-Ubuntu
[ 1723.941102] EIP: 0061:[<c14bb3c7>] EFLAGS: 00010246 CPU: 0
[ 1723.941115] EIP is at linkwatch_do_dev+0x77/0xb0
[ 1723.941125] EAX: 00000000 EBX: c2cc8000 ECX: 00000000 EDX: 00000000
[ 1723.941138] ESI: 00000002 EDI: 00000000 EBP: eba33f2c ESP: eba33f24
[ 1723.941152] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0069
[ 1723.941164] Process kworker/0:1 (pid: 69, ti=eba32000 task=eb943f20 task.ti=eba32000)
[ 1723.941177] Stack:
[ 1723.941184] c2cc826c eba33f38 eba33f4c c14bb682 eba33f44 eba33f38 eba33f38 c1860120
[ 1723.941216] ecb897ec eb882700 eba33f54 c14bb760 eba33f94 c1074e81 ec060ca0 ecb8edf5
[ 1723.941246] 000a7f08 c10728c0 ecb8ed00 ecb8ed05 00000000 c14bb740 ecb8ed00 ecb89780
[ 1723.941276] Call Trace:
[ 1723.941289] [<c14bb682>] __linkwatch_run_queue+0xd2/0x190
[ 1723.941305] [<c14bb760>] linkwatch_event+0x20/0x30
[ 1723.941320] [<c1074e81>] process_one_work+0x101/0x3a0
[ 1723.941336] [<c10728c0>] ? do_work_for_cpu+0x20/0x20
[ 1723.941351] [<c14bb740>] ? __linkwatch_run_queue+0x190/0x190
[ 1723.941366] [<c1075944>] worker_thread+0x124/0x2d0
[ 1723.941380] [<c1075820>] ? manage_workers.isra.27+0x110/0x110
[ 1723.941397] [<c107976d>] kthread+0x6d/0x80
[ 1723.941410] [<c1079700>] ? flush_kthread_worker+0x80/0x80
[ 1723.941426] [<c15ad07e>] kernel_thread_helper+0x6/0x10
[ 1723.941437] Code: 85 c1 e8 bd a3 0e 00 f6 83 ec 00 00 00 01 74 15 8b 43 44 a8 04 89 d8 74 2b e8 66 ae 00 00 89 d8 e8 bf f5 fe ff 8b 83 58 02 00 00 <64> ff 08 5b 5e 5d c3 66 90 8b 73 44 c1 e6 1b c1 fe 1f 83 c6 06
[ 1723.941587] EIP: [<c14bb3c7>] linkwatch_do_dev+0x77/0xb0 SS:ESP 0069:eba33f24
[ 1723.941608] CR2: 000000002b261000
[ 1723.941628] ---[ end trace 6b041ac395171e99 ]---
[ 1723.941710] BUG: unable to handle kernel paging request at fffffffc
[ 1723.941731] IP: [<c1079b0f>] kthread_data+0xf/0x20
[ 1723.941748] *pdpt = 0000000002ada027 *pde = 0000000000000000
[ 1723.941777] Oops: 0000 [#2] SMP
[ 1723.941799] Modules linked in: xenfs lp parport
[ 1723.941816]
[ 1723.941825] Pid: 69, comm: kworker/0:1 Tainted: G D W 3.2.0-27-generic-pae #43-Ubuntu
[ 1723.941847] EIP: 0061:[<c1079b0f>] EFLAGS: 00010002 CPU: 0
[ 1723.941861] EIP is at kthread_data+0xf/0x20
[ 1723.941871] EAX: 00000000 EBX: 00000000 ECX: c192ce00 EDX: 00000000
[ 1723.941889] ESI: 00000000 EDI: 00000009 EBP: eba33d20 ESP: eba33d14
[ 1723.941905] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0069
[ 1723.941927] Process kworker/0:1 (pid: 69, ti=eba32000 task=eb943f20 task.ti=eba32000)
[ 1723.941942] Stac...

Read more...

Revision history for this message
Luis Henriques (henrix) wrote :

Hi Frediano,

As I pointed out previously, the patch that you referred is on master-next branch. The latest Precise kernel update did not contained it yet, but it should be included in the next update. By the end of this week I expect that the kernel you're looking for will be on the -proposed pocket, and you will be able to test it by following the instructions in https://wiki.ubuntu.com/Testing/EnableProposed

If you wish, I can build you a test kernel containing that patch but from what I understood you have already compiled your own kernel, correct?

Revision history for this message
Frediano Ziglio (frediano-ziglio) wrote :

I'll wait the proposed kernel.
I tested the patch and it's not worth wasting your time, we are just waiting for an official version that fix the problem.

Revision history for this message
Luis Henriques (henrix) wrote :

Hi Frediano, just to let you know the kernel containing the patch you were waiting has been released into the -proposed pocket. If you would like to give it a try before its actually released (should happen in ~2 weeks time), you can follow the instructions in https://wiki.ubuntu.com/Testing/EnableProposed).

Revision history for this message
Frediano Ziglio (frediano-ziglio) wrote :

Just finished the test.

I confirm that kernel 3.2.0-29 works correctly either 32 bit (-generic-pae) or 64 bit (-generic).

Revision history for this message
Luis Henriques (henrix) wrote :

Setting bug state as "fix commited" as per previous comment.

Changed in linux (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Luis Henriques (henrix) wrote :

Manually setting this bug as "fix released" since the bug has been open after the fix has been committed into kernel tree.

Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Frediano Ziglio (frediano-ziglio) wrote :

I can finally confirm that official 3.2.0-29 kernel fixes the VIF issue (tested both 32 and 64 bit).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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