F12 panic in end_buffer_async_write

Chuck Anderson cra at WPI.EDU
Thu Jan 28 23:19:25 UTC 2010


2.6.32.6-36.fc12.x86_64 seems to have corrected the original issue.  I 
was able to successfully complete a dd to the LUKS device.

However, I now have a new issue that happened while copying data to 
the ext4 filesystem.  Is the kernel safe for stacking block devices 
like this?

ext4 -> LUKS -> LV -> VG -> PV -> mdraid

------------[ cut here ]------------
kernel BUG at fs/buffer.c:395!
invalid opcode: 0000 [#1] SMP 
last sysfs file: /sys/kernel/mm/ksm/run
CPU 2 
Modules linked in: ipt_MASQUERADE iptable_nat nf_nat bridge stp llc 
sunrpc xt_physdev ip6t_REJECT nf_conntrack_ipv6 ip6table_filter 
ip6_tables ipv6 kvm_intel kvm uinput snd_hda_codec_analog 
snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device ppdev 
snd_pcm parport_pc parport tg3 snd_timer iTCO_wdt i2c_i801 
iTCO_vendor_support snd dcdbas i2c_core soundcore snd_page_alloc 
e1000e serio_raw shpchp cryptd aes_x86_64 aes_generic xts gf128mul 
dm_crypt raid1 usb_storage dm_multipath [last unloaded: speedstep_lib]
Pid: 5071, comm: sshd Not tainted 2.6.32.6-36.fc12.x86_64 #1 OptiPlex 
960                 
RIP: 0010:[<ffffffff81142500>]  [<ffffffff81142500>] end_buffer_async_write+0x91/0x129
RSP: 0000:ffff880008e83a00  EFLAGS: 00010246
RAX: ffffea0000342368 RBX: ffff8801ef08d620 RCX: 000000000000009d
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff8801ef08d620
RBP: ffff880008e83a50 R08: 0000000000000000 R09: 0000000000000004
R10: 0000000000000000 R11: ffffea0006b259c0 R12: ffffea00003423a0
R13: ffff880099591480 R14: 0000000000000000 R15: ffff8800b3577480
FS:  00007fceb18a47c0(0000) GS:ffff880008e80000(0000) 
knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 000000000044e8f0 CR3: 00000002244ae000 CR4: 00000000000426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process sshd (pid: 5071, threadinfo ffff880202a7a000, task 
ffff88022ae42ec0)
Stack:
 ffff88022bbac000 ffff8800b3577540 ffffffff8169f420 0000000000000202
<0> ffff88022e306000 000000002ffd997c ffff8800b3577480 
ffff88022e306000
<0> ffff880099591480 0000000000000000 ffff880008e83a70 
ffffffff8113fa27
Call Trace:
 <IRQ> 
 [<ffffffff8113fa27>] end_bio_bh_io_sync+0x3c/0x48
 [<ffffffff811429ba>] bio_endio+0x2b/0x2d
 [<ffffffff8137726a>] dec_pending+0x13d/0x15c
 [<ffffffff8137742d>] clone_endio+0xa9/0xb5
 [<ffffffff811429ba>] bio_endio+0x2b/0x2d
 [<ffffffffa001e700>] crypt_dec_pending+0x52/0x79 [dm_crypt]
 [<ffffffffa001e8d4>] crypt_endio+0x9c/0xa5 [dm_crypt]
 [<ffffffff811429ba>] bio_endio+0x2b/0x2d
 [<ffffffff8137726a>] dec_pending+0x13d/0x15c
 [<ffffffff8137742d>] clone_endio+0xa9/0xb5
 [<ffffffff811429ba>] bio_endio+0x2b/0x2d
 [<ffffffffa0019091>] raid_end_bio_io+0x37/0x88 [raid1]
 [<ffffffffa001a2ed>] raid1_end_write_request+0x1f3/0x20f [raid1]
 [<ffffffff811429ba>] bio_endio+0x2b/0x2d
 [<ffffffff81214a36>] req_bio_endio+0x9f/0xbe
 [<ffffffff81214be1>] blk_update_request+0x18c/0x34b
 [<ffffffff8121a4ee>] ? blk_complete_request+0x1a/0x1c
 [<ffffffff81214dc0>] blk_update_bidi_request+0x20/0x59
 [<ffffffff81215a07>] blk_end_bidi_request+0x1f/0x5d
 [<ffffffff81215a81>] blk_end_request+0x10/0x12
 [<ffffffff812eeba6>] scsi_io_completion+0x1a5/0x422
 [<ffffffff81303795>] ? ata_qc_complete+0x194/0x19d
 [<ffffffff81303b01>] ? ata_qc_complete_multiple+0xc7/0xcc
 [<ffffffff812e7fcd>] scsi_finish_command+0xf5/0xfe
 [<ffffffff812eef49>] scsi_softirq_done+0x111/0x11a
 [<ffffffff8121a367>] blk_done_softirq+0x7b/0x8b
 [<ffffffff8105d8ec>] __do_softirq+0xe5/0x1a9
 [<ffffffff810acd41>] ? handle_IRQ_event+0x60/0x121
 [<ffffffff81012e2c>] call_softirq+0x1c/0x30
 [<ffffffff810143aa>] do_softirq+0x46/0x86
 [<ffffffff8105d72a>] irq_exit+0x3b/0x7d
 [<ffffffff8145918d>] do_IRQ+0xa5/0xbc
 [<ffffffff81012653>] ret_from_intr+0x0/0x11
 <EOI> 
Code: 89 c6 31 c0 e8 ec 09 31 00 49 8b 44 24 18 f0 80 48 62 40 f0 80 
4b 01 08 f0 80 23 fe f0 41 80 0c 24 02 49 8b 04 24 f6 c4 08 75 04 <0f> 
0b eb fe 4d 8b 74 24 10 9c 58 0f 1f 44 00 00 49 89 c5 fa 66 
RIP  [<ffffffff81142500>] end_buffer_async_write+0x91/0x129
 RSP <ffff880008e83a00>
---[ end trace d6afe12a9bcf8860 ]---
Kernel panic - not syncing: Fatal exception in interrupt
Pid: 5071, comm: sshd Tainted: G      D    2.6.32.6-36.fc12.x86_64 #1


More information about the kernel mailing list