Kernel BUG at fs/direct-io.c:923

Solution Unverified - Updated -

Issue

  • System is a node in a 3 node physical cluster. The system experienced a kernel panic and a partial crash dump was obtained. The server runs an Oracle DB.
  • System was running an lvm command at the time of the crash.
  • System paniced with the following message
----------- [cut here ] --------- [please bite here ] ---------
Kernel BUG at fs/direct-io.c:923
invalid opcode: 0000 [1] SMP 
last sysfs file: /block/ram0/dev
CPU 8 
Modules linked in: nfs fscache nfs_acl lock_dlm gfs2 dlm configfs mptctl mptbase ipmi_devintf ipmi_si ipmi_msghandler oracleasm(U) lockd sunrpc bonding ipv6 xfrm_nalgo crypto_api dm_round_robin dm_multipath scsi_dh video backlight sbs power_meter hwmon i2c_ec i2c_core dell_wmi wmi button battery asus_acpi acpi_memhotplug ac parport_pc lp parport sr_mod cdrom sg lpfc ata_piix tpm_tis libata tpm scsi_transport_fc tpm_bios hpilo serio_raw i7300_edac e1000e shpchp edac_mc bnx2 pcspkr dm_raid45 dm_message dm_region_hash dm_mem_cache dm_snapshot dm_zero dm_mirror dm_log dm_mod cciss sd_mod scsi_mod ext3 jbd uhci_hcd ohci_hcd ehci_hcd
Pid: 3252, comm: lvs Tainted: G      2.6.18-238.5.1.el5 #1
RIP: 0010:[<ffffffff800f7224>]  [<ffffffff800f7224>] __blockdev_direct_IO+0x6bf/0xa82
RSP: 0018:ffff81018dc85ce8  EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000000000000000c
RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff810417544380
RBP: ffff810421d3c400 R08: 0000000000000000 R09: ffff810421d3c488
R10: ffff8100090001e0 R11: 0000000000000007 R12: ffff81010695f4b0
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS:  00002ba09692d460(0000) GS:ffff81010eb319c0(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 000000001f23f008 CR3: 00000001c4151000 CR4: 00000000000006e0
Process lvs (pid: 3252, threadinfo ffff81018dc84000, task ffff8102637ea080)
Stack:  000000021b6ee000 ffff81018dc85ef8 ffff810417544470 0000000c00000000
 000000021b6ef000 0000000000000000 ffff81018dc85ef8 ffff810421d3c488
 0000000000000001 0000000000492fd9 0000000000000000 000000000000000c
Call Trace:
 [<ffffffff800e7f53>] blkdev_direct_IO+0x32/0x37
 [<ffffffff800e7e8b>] blkdev_get_blocks+0x0/0x96
 [<ffffffff8000c6bf>] __generic_file_aio_read+0xb8/0x198
 [<ffffffff800c8c06>] generic_file_read+0xac/0xc5
 [<ffffffff800a28b4>] autoremove_wake_function+0x0/0x2e
 [<ffffffff800e6f98>] block_ioctl+0x1b/0x1f
 [<ffffffff800423e9>] do_ioctl+0x21/0x6b
 [<ffffffff800b9607>] audit_syscall_entry+0x1a4/0x1cf
 [<ffffffff8000b78d>] vfs_read+0xcb/0x171
 [<ffffffff80011d34>] sys_read+0x45/0x6e
 [<ffffffff8005d28d>] tracesys+0xd5/0xe0


Code: 0f 0b 68 b5 ac 2b 80 c2 9b 03 48 8b 54 24 38 4c 8b 85 80 00 
RIP  [<ffffffff800f7224>] __blockdev_direct_IO+0x6bf/0xa82
 RSP <ffff81018dc85ce8>

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 5
    • 5.6 x86_64 (2.6.18-238.5.1.el5)
    • 5.8 x86_64 (2.6.18-308.11.1.el5 )
  • LVM

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content