Skip to contentSkip to conversation

New: System Panics with emulex lpfc driver during the boot

Bug 13242 [email protected] 1 participant 4 messages May 6, 2009 SCSI

lore
Share & tools
lore
#0 lore raw

http://bugzilla.kernel.org/show_bug.cgi?id=13242

Summary: System Panics with emulex lpfc driver during the boot
Product: SCSI Drivers
Version: 2.5
Kernel Version: 2.6.30-rc4
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: blocking
Priority: P1
Component: Other
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Regression: No

James Smart <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

I have two luns connected to my system with lpfc adapter. During the boot up I am seeing following panic.

=========================================================
Starting udev: [ OK ]
Loading default keymap (us): [ OK ]
Setting hostname mymachine: [ OK ]

BUG: unable to handle kernel NULL pointer dereference at 0000000000000011
IP: [<ffffffffa0137367>] lpfc_mbox_timeout_handler+0x34/0x176 [lpfc]
PGD 0
Oops: 0000 [#1] SMP
last sysfs file: /sys/block/sdh/dev
CPU 2
Modules linked in: dm_round_robin scsi_dh_rdac dm_multipath scsi_dh sbs sbshc

battery acpi_memhotplug ac parport_pc lp parport joydev sg dcdbas ide_cd_mod cdrom bnx2 serio_raw button rtc_cmos rtc_core rtc_lib i5000_edac edac_core pcspkr dm_snapshot dm_zero dm_mirror dm_region_hash dm_log dm_mod lpfc qla2xxx scsi_transport_fc ata_piix libata shpchp megaraid_sas sd_mod scsi_mod ext3 jbd uhci_hcd ohci_hcd ehci_hcd
Pid: 687, comm: lpfc_worker_0 Not tainted 2.6.30-rc4 #1 PowerEdge 2900

RIP: 0010:[<ffffffffa0137367>]  [<ffffffffa0137367>]
lpfc_mbox_timeout_handler+0x34/0x176 [lpfc]
RSP: 0018:ffff88007db83d80  EFLAGS: 00010282
RAX: ffff88007d830c38 RBX: 0000000000000000 RCX: ffff88007db83d30
RDX: ffff88007db83da0 RSI: ffff88007d9242c8 RDI: ffff88007f381000
RBP: ffff88007d924000 R08: ffff88007db83d30 R09: ffff88007db83d30
R10: ffff88007d924298 R11: ffffffff8027bd2c R12: ffff88007d924a90
R13: ffff88007d830c38 R14: ffffffff807f1fe0 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff880001063000(0000) knlGS:0000000000000000
CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 0000000000000011 CR3: 0000000000201000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process lpfc_worker_0 (pid: 687, threadinfo ffff88007db82000, task
ffff88007f13e380)
Stack:
 ffff88007d924000 0000000000000000 000004007d830c38 ffff88007dd10000
 ffff88007d830c38 ffff88007d924a90 ffff88007d830c38 ffffffff807f1fe0
 0000000000000000 ffffffffa01471aa 0000000000000000 0000000000000000
Call Trace:
 [<ffffffffa01471aa>] ? lpfc_do_work+0x80d/0x126a [lpfc]
 [<ffffffff8022d3e6>] ? update_curr+0x6f/0xaa
 [<ffffffff804b6c76>] ? thread_return+0x3e/0x92
 [<ffffffff8024a4b6>] ? autoremove_wake_function+0x0/0x2e
 [<ffffffffa014699d>] ? lpfc_do_work+0x0/0x126a [lpfc]
 [<ffffffffa014699d>] ? lpfc_do_work+0x0/0x126a [lpfc]
 [<ffffffff8024a385>] ? kthread+0x54/0x83
 [<ffffffff8020c93a>] ? child_rip+0xa/0x20
 [<ffffffff8024a331>] ? kthread+0x0/0x83
 [<ffffffff8020c930>] ? child_rip+0x0/0x20
Code: 48 89 fd 53 48 83 ec 18 8b 47 04 48 8b 9f 78 05 00 00 89 44 24 14 44 8b

bf 48 0c 00 00 48 8b 87 d8 10 00 00 48 8b bf 88 0a 00 00 <44> 0f b6 73 11 4c 8b a7 90 00 00 00 48 83 ef 80 44 8b 68 1c e8
RIP [<ffffffffa0137367>] lpfc_mbox_timeout_handler+0x34/0x176 [lpfc]
RSP <ffff88007db83d80>
CR2: 0000000000000011

---[ end trace c69908409be07954 ]---

--- Comment #1 from James Smart <[email protected]> 2009-05-06 15:07:29 --- We resolved a similar panic with our 8.3.1 driver patch set. Please validate that you are indeed using vanilla 2.6.30-rc4, and that the boot strings show lpfc version 8.3.1.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#1 lore raw

[Bug 13242] System Panics with emulex lpfc driver during the boot

http://bugzilla.kernel.org/show_bug.cgi?id=13242

--- Comment #2 from Babu Moger <[email protected]> 2009-05-06 15:40:50 --- I am sure I am using 2.6.30-rc4. You can see the messages below..

Pid: 687, comm: lpfc_worker_0 Not tainted 2.6.30-rc4 #1 PowerEdge 2900

About the version of lpfc version, looking at the sources I am seeing the following text in lpfc_version.h

#define LPFC_DRIVER_VERSION "8.3.0"

If you have any other patch on top of this please send me across. I will test and let you know.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#2 lore raw

[Bug 13242] System Panics with emulex lpfc driver during the boot

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=13242

--- Comment #3 from James Smart <[email protected]> 2009-05-06 15:54:27 --- Created an attachment (id=21247)
--> (http://bugzilla.kernel.org/attachment.cgi?id=21247)
8.3.1 patchset

These were already posted upstream on 4/6/09:
http://marc.info/?l=linux-scsi&m=123905804324575&w=2

Let me know the results.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#3 lore raw

[Bug 13242] System Panics with emulex lpfc driver during the boot

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=13242

--- Comment #4 from Babu Moger <[email protected]> 2009-05-06 23:40:36 --- Yes, You are right.. It is fixed with the attached patch..(8.3.1). Thanks for looking into the problem.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.