Kernel panic and get error "Kernel BUG at fs/sysfs/file.c:94"
Issue
- Kernel panic and get vmcore, get following logs:
Kernel BUG at fs/sysfs/file.c:94
invalid opcode: 0000 [1] SMP
last sysfs file: /class/infiniband/qib0/stats
CPU 10
Modules linked in: mmfs26(U) mmfslinux(U) tracedev(U) netconsole autofs4 xt_state ip_conntrack nfnetlink xt_tcpudp iptable_filter ip_tables x_tables kcopy(U) rdma_ucm(U) rds_tcp(U) rds_rdma(U) rds(U) ib_srp(U) ib_sdp(U) rdma_cm(U) iw_cm(U) ib_addr(U) ib_ipoib(U) ipoib_helper(U) ib_cm(U) ipv6 xfrm_nalgo crypto_api ib_usa(U) ib_sa(U) ib_uverbs(U) ib_umad(U) mlx4_ib(U) mlx4_core(U) ib_mthca(U) dm_round_robin dm_multipath scsi_dh video backlight sbs power_meter hwmon i2c_ec dell_wmi wmi button battery asus_acpi acpi_memhotplug ac tcp_cubic parport_pc lp parport joydev ib_qib(U) dca ib_mad(U) ib_core(U) tpm_tis i7core_edac cdc_ether ide_cd usbnet tpm be2net i2c_i801 cdrom edac_mc bnx2 tpm_bios i2c_core pcspkr sg 8021q dm_raid45 dm_message dm_region_hash dm_mem_cache dm_snapshot dm_zero dm_mirror dm_log dm_mod qla2xxx scsi_transport_fc ata_piix libata shpchp megaraid_sas sd_mod scsi_mod ext3 jbd uhci_hcd ohci_hcd ehci_hcd
Pid: 2034, comm: cat Tainted: G 2.6.18-238.el5 #1
RIP: 0010:[<ffffffff801104de>] [<ffffffff801104de>] sysfs_read_file+0xb4/0x13f
RSP: 0018:ffff8103e9b8fec8 EFLAGS: 00010202
RAX: 0000000000001001 RBX: ffff81037cfb0818 RCX: 0000000000000003
RDX: 00000000000000ff RSI: 0000000000000246 RDI: ffff81037fcf959c
RBP: ffff8105833bb9c0 R08: 00000000ffffffff R09: 0000000000000020
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8105833bb9e0
R13: ffff8103e9b8ff50 R14: ffffffff80344e10 R15: ffff81037fcf8300
FS: 00002b060141d6e0(0000) GS:ffff81038abbf2c0(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 00000034604c6390 CR3: 0000000441698000 CR4: 00000000000006e0
Process cat (pid: 2034, threadinfo ffff8103e9b8e000, task ffff810420c79100)
Stack: 0000000000001000 000000000d265000 ffffffff884c2220 ffff8104a0a84ac0
0000000000001000 000000000d265000 ffff8103e9b8ff50 0000000000001000
0000000000000000 ffffffff8000b787 c000003e00000000 ffff8104a0a84ac0
Call Trace:
[<ffffffff8000b787>] vfs_read+0xcb/0x171
[<ffffffff80011c5c>] sys_read+0x45/0x6e
[<ffffffff8005d28d>] tracesys+0xd5/0xe0
Code: 0f 0b 68 e5 ca 2b 80 c2 5e 00 48 85 c0 78 06 48 89 45 00 eb
RIP [<ffffffff801104de>] sysfs_read_file+0xb4/0x13f
RSP <ffff8103e9b8fec8>
Environment
- kernel-2.6.18-238.el5.x86_64
- Red Hat Enterprise Linux 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
