Kernel panic while booting because of third party module hpdsa

Solution Verified - Updated -

Issue

  • Kernel panics while booting in function drvr_get_raid_resource_info.
  • This happens immediately after the initialization of the hpdsa driver.
  • Below or similar traces are observed:
[4.818976] i8842: Can't read CTR while initializing i8842
[4.771838] ioremap error for 8x788cf B88-8x788d1888
[4.771611] oremap error for 8x788cf888-8x788d1808, requested 8x18, got 8x8
[4.777849] BUG: unable to handle kernel NULL pointer dereference at  (null)
[4.777583] IP: [<ffffffffc81898e3>] drvr get_raid_resource info.8x233/Bxbc8 [hpdsa]
[4.777324] PGD0
[4.777465] Oops: 0000 [#1] SMP
[4.777706] Modules linked in: mgag200(+) i2c_alog_bit_drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm crt10dif_pclmul crct10dif_common_bnx2x(+) qla2xxx(+) crc32c_intel
hpdsa(POE+) i2c_core scsi_transport_fc mdio libcrc32c ptp scsi_tgt pps_core dm mirror dm_region_hash dm_log dm mod
[4.788688] CPU: 2 PID: 469 Comm: systemd-udevd Tainted: P         W OE  -------------- 3.10.0-693.11.6.el7.x86_64 #1
[4.781396] Hardware name: HP ProLiant BL468c Gen9, BIOS 136 82/17/2817
[4.781847] task: ffff883ffba44f 18ti: ffff883ffbb2c808 task.ti: ffff883ffbb2c808
[4.782358] RIP: 0010:[<ffffffffc818e3>] [<ffffffffc81898e3>] drvr_get_raid_resource_info+8x233/8xbc8 [hpdsa]
[4.783252] RSP 8018:ffff883ffbb2f8d8 EFLAGS: 00818282
[4.7835881 RAX: 8000880800880880 RBX:ffffffffc829bc80 RCX: 8800000880888086
[4.784044] RDX: 8000880800000000 RSI 0000000000000000 RDI: 0800080000080089
[4.784512] RBP: ffff883ff bb2f 998 R88: 8000008808080181 R89: 8808088888888088
[4.784998] R10: 00000000000005ac R11: ffff883ffbb2f49e R12: θ880000000000000
[4.785485] R13: 00088880080880081 R14: 8000808808088081 R15: 8808088888888082
[4.785956] FS: 80007efceab858c8 (8008) GS:ffff881fffa88000 (0000) kn1GS:0008000000800800
[4.786499] CS: 8018 DS: 8080 ES: 8080 CRB: 8000080880858033
[4.786893] CR2: 8000880800000800 CR3: 0000003ffbb26880 CR4: 08000800003687e8
[4.787367] DRO: 0000888808088880 DR1: 8000008808088080 DR2: 8808088888888088
[4.787852] DR3: 0000000000000000 DR6: 00000000fffeerre DR7: 0880000000000400
[4.788523] [<ffffffff811c26fe>] map um area+8x2e/Bx40
[4.789131] [<ffffffffcBBecc>] ?e HAL_API_Init+8x3e/8x588 [hpdsa]
[4.789794] [<ffffffffc18>] OS_byte_allocate+8x188/8x328 [hpdsa]
[4.798465] [<ffffffffc813e5ba>] mem alloc+8x28a/8x268 [hpdsa]
[4.791168] [<ffffffffc8Bc2628>] cli show_trace_mask_categories+8x18/8x18 [hpdsa]
[4.791976] [<ffffffffc8ba11f>] cli_register+8x2f/Bx88 [hpdsa]
[4.792631] [<ffffffffcB12f4ec>] raid_application_def ine 8xc8x518 [hpdsa]
[4.793131] [<ffffffff8188c5d9>]? vprintk_default+8x29/8x40
[4.793551] ffffffff8169fee6 printk+8x5d/8x74
[4.793908] [<ffffffff811e1816>] ?kmem cachealloctrace +0x1d6/0200
[4.794618] [<ffffffffcB441>] hpdsa_init_raidstack+8xB4/Bx238 [hpdsa]
[4.795366] [<ffffffffc8Bae588>] hpdsa init raidstack+8xic8/8x238 [hpdsa]
[4.79681] [<ffffffffcb787>] hpdsa ctlr_init one+8x4a7/Bx998 [hpdsa]
[4.796561] [<ffffffff8136cbd5>] local_pci_probe+8x45/BxaB
[4.796965] [<ffffffff8136dd89>] pci device_probe+8x189/8x168
[4.811319] [<ffffffff8141d92>] driver_probe_device 8xc2/8x3e
[4.825986] [<ffffffff81442183>] driver attach+8x93/Bxab
[4.848985] [<ffffffff814428f8>]device attach+8x48/8x48
[4.856322] [<ffffffff8143f963>] bus_for_each dev+8x73/BxcB
[4.871655] [<ffffffff8144178e>] driver_attach+@x1e/8x20

Environment

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