Bug 9633 - kernel BUG at block/cfq-iosched.c:1147
Summary: kernel BUG at block/cfq-iosched.c:1147
Status: RESOLVED DUPLICATE of bug 9180
Alias: None
Product: IO/Storage
Classification: Unclassified
Component: Block Layer (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Jens Axboe
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-25 06:01 UTC by wbrana
Modified: 2007-12-27 13:30 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.23.12-hrt5-cfs24
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description wbrana 2007-12-25 06:01:47 UTC
Dec 24 23:48:53 localhost ------------[ cut here ]------------
Dec 24 23:48:53 localhost kernel BUG at block/cfq-iosched.c:1147!
Dec 24 23:48:53 localhost invalid opcode: 0000 [#1]
Dec 24 23:48:53 localhost Modules linked in: qt1010 mt2060 mt352 zl10353 em2880_dvb dvb_core xc3028_tuner tvp5150 tuner em28xx compat_ioctl32 ir_common videodev v4l2_common v4l1_compat tveeprom i915 video output
Dec 24 23:48:53 localhost CPU:    0
Dec 24 23:48:53 localhost EIP:    0060:[<c027d38e>]    Not tainted VLI
Dec 24 23:48:53 localhost EFLAGS: 00010046   (2.6.23.12-hrt5-cfs24 #1)
Dec 24 23:48:53 localhost EIP is at cfq_put_queue+0x48/0x74
Dec 24 23:48:53 localhost eax: 00000000   ebx: ea5bb630   ecx: c18be3dc   edx: c13f68b8
Dec 24 23:48:53 localhost esi: c1bc4400   edi: c1bc4490   ebp: c1bc441c   esp: e83a6ec4
Dec 24 23:48:53 localhost ds: 007b   es: 007b   fs: 0000  gs: 0033  ss: 0068
Dec 24 23:48:53 localhost Process bash (pid: 7818, ti=e83a6000 task=c190b9f0 task.ti=e83a6000)
Dec 24 23:48:53 localhost Stack: c1bc4400 00000001 c027e57a f787acc0 f787ad08 f787acc0 c1bc8660 c027405d
Dec 24 23:48:53 localhost f787acc8 c18f0000 c0275014 00000001 c05d1918 e83a6f18 c05db9c0 e83a6f18
Dec 24 23:48:53 localhost c18f0000 00000009 c0275106 00000044 f7d1ef80 64616564 656e696c 00000000
Dec 24 23:48:53 localhost Call Trace:
Dec 24 23:48:53 localhost [<c027e57a>] cfq_exit_queue+0x255/0x29a
Dec 24 23:48:53 localhost [<c027405d>] elevator_exit+0x42/0x61
Dec 24 23:48:53 localhost [<c0275014>] elevator_switch+0xcc/0x138
Dec 24 23:48:53 localhost [<c0275106>] elv_iosched_store+0x86/0xba
Dec 24 23:48:53 localhost [<c0279863>] queue_attr_store+0x4c/0x79
Dec 24 23:48:53 localhost [<c01a8f81>] sysfs_write_file+0xfc/0x109
Dec 24 23:48:53 localhost [<c01a8e85>] sysfs_write_file+0x0/0x109
Dec 24 23:48:53 localhost [<c016d65a>] vfs_write+0xd9/0x1e3
Dec 24 23:48:53 localhost [<c0178a65>] dupfd+0x42/0x6b
Dec 24 23:48:53 localhost [<c016d80d>] sys_write+0x41/0x6a
Dec 24 23:48:53 localhost [<c0103ebe>] sysenter_past_esp+0x5f/0x85
Dec 24 23:48:53 localhost =======================
Dec 24 23:48:53 localhost Code: 3d 75 00 00 85 c0 75 27 8b 4b 2c 03 4b 28 85 c9 75 21 f6 43 50 01 75 1f 39 5e 44 74 1e 89 da 5b a1 20 f9 69 c0 5e e9 40 bb ee ff <0f> 0b eb fe 0f 0b eb fe 0f 0b eb fe 0f 0b eb fe
31 c9 89 f0 89
Dec 24 23:48:53 localhost EIP: [<c027d38e>] cfq_put_queue+0x48/0x74 SS:ESP 0068:e83a6ec4

Hardware Environment:
i686 Intel(R) Celeron(R) M CPU 420

Steps to reproduce:
I tried to change scheduler from deadline to cfq
echo cfq > /sys/block/hda/queue/scheduler
Comment 1 Oleg Nesterov 2007-12-25 07:15:19 UTC
Any chance you played with IOPRIO_CLASS_IDLE? The similar bug was fixed by
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2389d1ef172fc9df01f58265a436919d233fbc27

> Steps to reproduce:
> I tried to change scheduler from deadline to cfq
> echo cfq > /sys/block/hda/queue/scheduler

this doesn't match the trace above...
Comment 2 wbrana 2007-12-25 10:06:00 UTC
I'm using IOPRIO_CLASS_IDLE often.
This bug seems to be same as http://bugzilla.kernel.org/show_bug.cgi?id=9180
It wasn't fixed in 2.6.23.
Comment 3 Oleg Nesterov 2007-12-25 10:13:05 UTC
On 12/25, bugme-daemon@bugzilla.kernel.org wrote:
> 
> ------- Comment #2 from wbrana@gmail.com  2007-12-25 10:06 -------
> I'm using IOPRIO_CLASS_IDLE often.
> This bug seems to be same as http://bugzilla.kernel.org/show_bug.cgi?id=9180

Good. Could you close this bug then?

> It wasn't fixed in 2.6.23.

Yes. Perhaps this patch can go to the stable tree.

Oleg.
Comment 4 Adrian Bunk 2007-12-27 13:30:13 UTC

*** This bug has been marked as a duplicate of bug 9180 ***

Note You need to log in before you can comment on or make changes to this bug.