Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jun 2014 18:27:24 +0530
From:      Sumit Saxena <sumit.saxena@avagotech.com>
To:        freebsd-scsi@freebsd.org
Cc:        Kashyap Desai <kashyap.desai@avagotech.com>, sumit.saxena@avagotech.com
Subject:   Kernel panic: message secondary GPT header is not in the last LBA
Message-ID:  <559aba5a124ee1e32ddffb1380399e28@mail.gmail.com>
In-Reply-To: 3dc7e373251cfad0f571398c97957ca0@mail.gmail.com
References:  3dc7e373251cfad0f571398c97957ca0@mail.gmail.com

next in thread | raw e-mail | index | archive | help
--001a113a5bd06932ac04fc9480bb
Content-Type: text/plain; charset=UTF-8

Hi All,



While doing some testing on <mrsas> driver,  I am facing kernel panic
inside GEOM module. I am using FreeBSD10.0 64bit, installed on Virtual
drive connected behind LSI MegaRAID SAS 9361 controller and two Enclosures-
Dell MD1220 with total 39 drives are connected to the controller. As I
convert unconfigured drives(connected to Enclosures) to JBOD(plain drive
without any RAID configuration exposed to OS), kernel panic is observed
inside GEOM module with below traces-



===================================================

ses1:  phy 0: protocols: Initiator( None ) Target( SSP )

ses1:  phy 0: parent 50080e5223c0f03f addr 5000c5001afebe51

ses1: pass30,da26: Element descriptor: 'SLOT 20 '

ses1: pass30,da26: SAS Device Slot Element: 1 Phys at Slot 20, Not All Phys

ses1:  phy 0: SAS device type 1 id 0

ses1:  phy 0: protocols: Initiator( None ) Target( SSP )

ses1:  phy 0: parent 50080e5223c0f03f addr 5000c5004cf152f1

ses1: pass37,da33: Element descriptor: 'SLOT 21 '

ses1: pass37,da33: SAS Device Slot Element: 1 Phys at Slot 21, Not All Phys

ses1:  phy 0: SAS device type 1 id 0

ses1:  phy 0: protocols: Initiator( None ) Target( SSP )

ses1:  phy 0: parent 50080e5223c0f03f addr 5000c5001afd3659

ses1: pass21,da17: Element descriptor: 'SLOT 22 '

ses1: pass21,da17: SAS Device Slot Element: 1 Phys at Slot 22, Not All Phys

ses1:  phy 0: SAS device type 1 id 0

ses1:  phy 0: protocols: Initiator( None ) Target( SSP )

ses1:  phy 0: parent 50080e5223c0f03f addr 5000cca00baf22c1

GEOM: da12: the secondary GPT header is not in the last LBA.





Fatal trap 18: integer divide fault while in kernel mode

cpuid = 4; apic id = 10

instruction pointer          = 0x20:0xffffffff80805045

stack pointer              = 0x28:0xfffffe0c23ded9e0

frame pointer            = 0x28:0xfffffe0c23deda30

code segment                   = base 0x0, limit 0xfffff, type 0x1b

                                                = DPL 0, pres 1, long 1,
def32 0, gran 1

processor eflags               = interrupt enabled, resume, IOPL = 0

current process                                = 13 (g_event)

trap number                      = 18

panic: integer divide fault

cpuid = 4

KDB: stack backtrace:

#0 0xffffffff808cb220 at kdb_backtrace+0x60

#1 0xffffffff80892d05 at panic+0x155

#2 0xffffffff80c71ae2 at trap_fatal+0x3a2

#3 0xffffffff80c7171f at trap+0x7bf

#4 0xffffffff80c587e2 at calltrap+0x8

#5 0xffffffff80803574 at g_label_taste+0x3a4

#6 0xffffffff80802106 at g_new_provider_event+0xb6

#7 0xffffffff807fe1d6 at g_run_events+0x166

#8 0xffffffff80864dda at fork_exit+0x9a

#9 0xffffffff80c58d1e at fork_trampoline+0xe

Uptime: 4m48s

kernel trap 12 with interrupts disabled





=====================================



I have attached complete dmesg logs. Has anyone faced  similar issue with
GEOM framework ?



Thanks in advance,

Sumit Saxena

--001a113a5bd06932ac04fc9480bb
Content-Type: application/octet-stream; name="kernel_panic_geom.rar"
Content-Disposition: attachment; filename="kernel_panic_geom.rar"
Content-Transfer-Encoding: base64
X-Attachment-Id: 55ab24e237505370_0.1

UmFyIRoHAM+QcwAADQAAAAAAAACeznSAkDoAiA0AANbYCgACMNnAk/iEzUQdMxUAIAAAAGtlcm5l
bF9wYW5pY19nZW9tLmRhdADwiKJcEd2RERCRD8VBV7tTNvg9Jt6EY2m5k8NcIlms1lhhhoGgxZi3
VqZMNXEFNll2K+DNw8mXj68WXYm/RM0WVwxNXdYgwwMLWJawNVA1Vc1Du8vwy8PDxMTF34j8/LDw
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0dVCB
rb56bb3d0AAAAAAASAAAAAAAGU/t752SBSfh7Db3+k5wAAAAAAAAAAAkAEPCbfOg2922mAAAAAAA
AAAAAAAAAAAAAAAAAAAAAABD523zoW30IOF+3u20wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQ+H71w
7b3baYAAAAAAAAABjAAAAAAAAAAAAAAAAAAABD2O30IOGDb3baYAAAAAAAAAAAAkAAAAAAAAAAAA
AAAAAEPa/9rEPXsAQAcA
--001a113a5bd06932ac04fc9480bb--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?559aba5a124ee1e32ddffb1380399e28>