Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 2015 14:27:42 -0700
From:      Conrad Meyer <cem@FreeBSD.org>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Panic on boot during scan with pmspcv
Message-ID:  <CAG6CVpU4dP3jFag8A1fLaYpPwqSeErL54iERL5iFMAKbmW=Bdw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
For some reason, it only crops up on UEFI boot. "Legacy" boot "just works."

It looks like we're locking a mutex in a struct at NULL.

(trap)
__mtx_assert+0xdb
agtiapi_cam_action+0x45
xpt_action_default+0xbe3(?)
scsi_scan_bus+0x1cd
xpt_scanner_thread+0x15c
...


Fault is at 0x18.

http://i.imgur.com/615PC6b.jpg

(kgdb) l *(agtiapi_cam_action+0x45)
0xffffffff806d4ef5 is in agtiapi_cam_action
(/usr/src/sys/dev/pms/freebsd/driver/ini/src/agtiapi.c:1818).

Possibly here?

1814   mtx_assert( &(pmcsc->pCardInfo->pmIOLock), MA_OWNED );

Best,
Conrad



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