From owner-freebsd-bugs@FreeBSD.ORG Fri May 22 18:36:32 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 79125DB2 for ; Fri, 22 May 2015 18:36:32 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 62FC21B81 for ; Fri, 22 May 2015 18:36:32 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4MIaWAA041278 for ; Fri, 22 May 2015 18:36:32 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200384] ctld panic at boot on 10.1-STABLE Date: Fri, 22 May 2015 18:36:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: olgeni@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 May 2015 18:36:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200384 --- Comment #3 from Jimmy Olgeni --- I managed to get a better backtrace (below). A few more data points, always booting with the debug options enabled: - Booting with ctld_enable -> panic - Booting without ctld_enable, and then starting the ctld service -> panic - Booting without ctld_enable, and kldloading ctl -> panic - Booting without ctld_enable, and kldloading ctl after loading iscsi -> ok - Booting with ctld_enable, but with iscsi_load and ctl_load in loader.conf -> ok There seems to be something going on between ctl and iscsi when ctl is loaded without iscsi already present. (kgdb) bt #0 doadump (textdump=0) at pcpu.h:219 #1 0xffffffff803600fe in db_dump (dummy=, dummy2=0, dummy3=0, dummy4=0x0) at /usr/src/sys/ddb/db_command.c:533 #2 0xffffffff8035fb9d in db_command (cmd_table=0x0) at /usr/src/sys/ddb/db_command.c:440 #3 0xffffffff8035f914 in db_command_loop () at /usr/src/sys/ddb/db_command.c:493 #4 0xffffffff803622f0 in db_trap (type=, code=0) at /usr/src/sys/ddb/db_main.c:231 #5 0xffffffff809953d9 in kdb_trap (type=3, code=0, tf=) at /usr/src/sys/kern/subr_kdb.c:656 #6 0xffffffff80d8b73e in trap (frame=0xfffffe046a445210) at /usr/src/sys/amd64/amd64/trap.c:554 #7 0xffffffff80d6fc52 in calltrap () at /usr/src/sys/amd64/amd64/exception.S:236 #8 0xffffffff80994ae5 in kdb_break () at cpufunc.h:63 #9 0xffffffff80776d9b in scgetc (sc=0xffffffff8185be18, flags=) at /usr/src/sys/dev/syscons/syscons.c:3591 #10 0xffffffff807795ff in sc_cngetc (cd=0xffffffff81643f70) at /usr/src/sys/dev/syscons/syscons.c:1782 #11 0xffffffff809071c5 in cngetc () at /usr/src/sys/kern/kern_cons.c:406 #12 0xffffffff8095a54e in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:455 #13 0xffffffff8095a9d5 in vpanic (fmt=, ap=) at /usr/src/sys/kern/kern_shutdown.c:759 #14 0xffffffff8095aa23 in panic (fmt=0xffffffff81643f70 "\004") at /usr/src/sys/kern/kern_shutdown.c:688 #15 0xffffffff80d8be3f in trap_fatal (frame=, eva=) at /usr/src/sys/amd64/amd64/trap.c:857 #16 0xffffffff80d8ba98 in trap (frame=) at /usr/src/sys/amd64/amd64/trap.c:203 #17 0xffffffff80d6fc52 in calltrap () at /usr/src/sys/amd64/amd64/exception.S:236 #18 0xffffffff802e494a in cam_periph_alloc (periph_ctor=0xffffffff802f9c30 , periph_oninvalidate=, periph_dtor=, periph_start=, name=, type=, path=0xfffff80163591600, ac_callback=, code=) at /usr/src/sys/cam/cam_periph.c:227 #19 0xffffffff802f94fb in scsi_scan_lun (request_ccb=) at /usr/src/sys/cam/scsi/scsi_xpt.c:2339 #20 0xffffffff802fd659 in scsi_scan_bus (periph=, request_ccb=0xfffff80163b33800) at /usr/src/sys/cam/scsi/scsi_xpt.c:2037 #21 0xffffffff802f045b in xpt_scanner_thread (dummy=) at /usr/src/sys/cam/cam_xpt.c:2453 #22 0xffffffff809215d4 in fork_exit (callout=0xffffffff802f0350 , arg=0x0, frame=0xfffffe046a445c00) at /usr/src/sys/kern/kern_fork.c:1017 #23 0xffffffff80d7018e in fork_trampoline () at /usr/src/sys/amd64/amd64/exception.S:611 #24 0x0000000000000000 in ?? () -- You are receiving this mail because: You are the assignee for the bug.