kernel BUG at cfq-iosched.c:1456!

Bug #530047 reported by AZ
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Booting karmic via LTSP and with the nouveau-Driver installed, I get a kernel error messages regarding the cfq-scheduler.
The dkms subsystem is also abornmally slow though the driver has already been build on the server host.

Mar 1 06:20:46 ::ffff:192.168.1.3 kernel: [ 2852.404974] ------------[ cut here ]------------
Mar 1 06:20:46 ::ffff:192.168.1.3 kernel: [ 2852.405054] kernel BUG at /build/buildd/linux-2.6.31/block/cfq-iosched.c:1456!
Mar 1 06:20:46 ::ffff:192.168.1.3 kernel: [ 2852.405122] invalid opcode: 0000 [#1] SMP
Mar 1 06:20:46 ::ffff:192.168.1.3 kernel: [ 2852.405252] last sysfs file: /sys/devices/virtual/block/nbd9/pid
Mar 1 06:20:46 ::ffff:192.168.1.3 kernel: [ 2852.405316] Modules linked in: snd_cmipci gameport snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_opl3_lib snd_hwdep snd_mpu401_uart snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event nouveau snd_seq ttm snd_timer snd_seq_device ppdev drm floppy parport_pc snd i2c_via lp psmouse i2c_algo_bit shpchp serio_raw soundcore parport aufs squashfs nbd 8139too 8139cp mii via_agp agpgart ramzswap xvmalloc lzo_decompress lzo_compress
Mar 1 06:20:46 ::ffff:192.168.1.3 kernel: [ 2852.407200]
Mar 1 06:20:46 ::ffff:192.168.1.3 kernel: [ 2852.407259] Pid: 5177, comm: Xorg Not tainted (2.6.31-19-generic #56-Ubuntu) VT82C597
Mar 1 06:20:46 ::ffff:192.168.1.3 kernel: [ 2852.407328] EIP: 0060:[<c030d40c>] EFLAGS: 00013246 CPU: 0
Mar 1 06:20:46 ::ffff:192.168.1.3 kernel: [ 2852.407409] EIP is at cic_free_func+0x6c/0x70
Mar 1 06:20:46 ::ffff:192.168.1.3 kernel: [ 2852.407470] EAX: cdc85780 EBX: cdfab120 ECX: 00000001 EDX: 00000000
Mar 1 06:20:46 ::ffff:192.168.1.3 kernel: [ 2852.407535] ESI: cdc85780 EDI: 00000000 EBP: cf937f40 ESP: cf937f30
Mar 1 06:20:46 ::ffff:192.168.1.3 kernel: [ 2852.407599] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Mar 1 06:20:46 ::ffff:192.168.1.3 kernel: [ 2852.407666] Process Xorg (pid: 5177, ti=cf936000 task=ced7e480 task.ti=cf936000)
Mar 1 06:20:46 ::ffff:192.168.1.3 kernel: [ 2852.407731] Stack:
Mar 1 06:20:46 ::ffff:192.168.1.3 kernel: [ 2852.407782] c0147432 cdfab168 cdc85780 00000000 cf937f50 c030d430 cdc85780 00000001
Mar 1 06:20:46 ::ffff:192.168.1.3 kernel: [ 2852.408093] <0> cf937f5c c0306103 cdc85780 cf937f68 c03061ca ced7e480 cf937f90 c0147d2c
Mar 1 06:20:46 ::ffff:192.168.1.3 kernel: [ 2852.408093] <0> cf937fb4 00334020 cf937fac c057344b 00000001 00000000 ce829200 00000000
Mar 1 06:20:46 ::ffff:192.168.1.3 kernel: [ 2852.408093] Call Trace:
Mar 1 06:20:46 ::ffff:192.168.1.3 kernel: [ 2852.408093] [<c0147432>] ? forget_original_parent+0x32/0x230
Mar 1 06:20:46 ::ffff:192.168.1.3 kernel: [ 2852.408093] [<c030d430>] ? cfq_free_io_context+0x20/0x30
Mar 1 06:20:46 ::ffff:192.168.1.3 kernel: [ 2852.408093] [<c0306103>] ? put_io_context+0x43/0x60
Mar 1 06:20:46 ::ffff:192.168.1.3 kernel: [ 2852.408093] [<c03061ca>] ? exit_io_context+0x6a/0x70
Mar 1 06:20:46 ::ffff:192.168.1.3 kernel: [ 2852.408093] [<c0147d2c>] ? do_exit+0x1ac/0x2e0
Mar 1 06:20:46 ::ffff:192.168.1.3 kernel: [ 2852.408093] [<c057344b>] ? do_page_fault+0x19b/0x380
Mar 1 06:20:46 ::ffff:192.168.1.3 kernel: [ 2852.408093] [<c0147e9a>] ? do_group_exit+0x3a/0xb0
Mar 1 06:20:46 ::ffff:192.168.1.3 kernel: [ 2852.408093] [<c0147f23>] ? sys_exit_group+0x13/0x20
Mar 1 06:20:46 ::ffff:192.168.1.3 kernel: [ 2852.408093] [<c010336c>] ? syscall_call+0x7/0xb
Mar 1 06:20:46 ::ffff:192.168.1.3 kernel: [ 2852.408093] Code: 8b 55 f0 89 f8 c7 43 4c 00 02 20 00 e8 1e 3c 26 00 8d 43 58 ba 40 d4 30 c0 e8 a1 5a e8 ff 8b 5d f4 8b 75 f8 8b 7d fc 89 ec 5d c3 <0f> 0b eb fe 55 89 e5 56 89 c6 53 8b 58 28 85 db 74 18 66 90 8b
Mar 1 06:20:46 ::ffff:192.168.1.3 kernel: [ 2852.408093] EIP: [<c030d40c>] cic_free_func+0x6c/0x70 SS:ESP 0068:cf937f30
Mar 1 06:20:46 ::ffff:192.168.1.3 kernel: [ 2852.412651] ---[ end trace d1275cb777a61dad ]---

Revision history for this message
AZ (m-dev) wrote :
Revision history for this message
AZ (m-dev) wrote :
Revision history for this message
AZ (m-dev) wrote :
Revision history for this message
AZ (m-dev) wrote :

ubuntu version:

Description: Ubuntu 9.10
Release: 9.10

kernel package information:

Package: linux-image-2.6.31-19-generic
Priority: optional
Section: admin
Installed-Size: 88128
Maintainer: Ubuntu Kernel Team <email address hidden>
Architecture: i386
Source: linux
Version: 2.6.31-19.56
Provides: fuse-module, ivtv-modules, kvm-api-4, linux-image, linux-image-2.6, ndiswrapper-modules-1.9, redhat-cluster-modules
Depends: initramfs-tools (>= 0.36ubuntu6), coreutils | fileutils (>= 4.0), module-init-tools (>= 3.3-pre11-4ubuntu3), wireless-crda
Pre-Depends: dpkg (>= 1.10.24)
Recommends: grub-pc | grub | lilo (>= 19.1)
Suggests: fdutils, linux-doc-2.6.31 | linux-source-2.6.31
Conflicts: hotplug (<< 0.0.20040105-1)
Filename: pool/main/l/linux/linux-image-2.6.31-19-generic_2.6.31-19.56_i386.deb
Size: 28836780
MD5sum: 00047de0d649be8b91c813fe7ee482b7
SHA1: ce485d0c41bf29bce25fb4347c95c501f3dd7da4
SHA256: 38f511f34f0e5dae41842bed403c51e2d4e30996cb2494aba619964ad0779ab4
Description: Linux kernel image for version 2.6.31 on x86/x86_64
 This package contains the Linux kernel image for version 2.6.31 on
 x86/x86_64.
 .
 Also includes the corresponding System.map file, the modules built by the
 packager, and scripts that try to ensure that the system is not left in an
 unbootable state after an update.
 .
 Supports Generic processors.
 .
 Geared toward desktop systems.
 .
 You likely do not want to install this package directly. Instead, install
 the linux-generic meta-package, which will ensure that upgrades work
 correctly, and that supporting packages are also installed.
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

Revision history for this message
AZ (m-dev) wrote :

The specific part of the kernel code is

1452 static void cic_free_func(struct io_context *ioc, struct cfq_io_context *cic)
1453 {
1454 unsigned long flags;
1455
1456 BUG_ON(!cic->dead_key);
1457
1458 spin_lock_irqsave(&ioc->lock, flags);
1459 radix_tree_delete(&ioc->radix_root, cic->dead_key);
1460 hlist_del_rcu(&cic->cic_list);
1461 spin_unlock_irqrestore(&ioc->lock, flags);
1462
1463 cfq_cic_free(cic);
1464 }
1465

tags: added: kernel-series-unknown
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi AZ,

This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 530047

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
AZ (m-dev) wrote : Re: [Bug 530047] Re: kernel BUG at cfq-iosched.c:1456!

Hi Jeremy,

thanks for pinging. I've disabled nouveau on that machine for now
and am currently too far away to do any useful testing on that machine.
I'll test lucid and newer kernels asap, but this may take till august.
If nobody else experiences this bug, it might as well be closed and I'll
reopen if I hit it again.

Regards,
 AZ

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

AZ,
    I have marked it Invalid for now as I don't really have a postpone close state. Please feel free to reopen once you encounter it again in your testing.

~JFo

Changed in linux (Ubuntu):
status: Incomplete → Invalid
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.