Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 2017 07:58:23 +0100
From:      Mateusz Guzik <mjguzik@gmail.com>
To:        Chagin Dmitry <dchagin@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: weird panic at mount
Message-ID:  <20170221065823.GH26759@dft-labs.eu>
In-Reply-To: <20170221065125.GA1718@chd.heemeyer.club>
References:  <20170221065125.GA1718@chd.heemeyer.club>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 21, 2017 at 09:51:25AM +0300, Chagin Dmitry wrote:
> 2527	 * Remove a prison reference.  If that was the last reference, remove the
> (kgdb) p *cred->cr_prison
> Cannot access memory at address 0x10000000000fe
> (kgdb) p *cred
> $1 = {cr_ref = 0x0, cr_uid = 0x0, cr_ruid = 0x816f9500, cr_svuid = 0xffffffff, cr_ngroups = 0x80de6efd, 
>   cr_rgid = 0xffffffff, cr_svgid = 0x14fb, cr_uidinfo = 0xfffff80003a3ef10, cr_ruidinfo = 0xffffffff80e75cef, 
>   cr_prison = 0x10000000000fe, cr_loginclass = 0xfffff800073ff420, cr_flags = 0x80e55a4b, cr_pspare2 = {
>     0x10000000001be, 0xfffff8000777e098}, cr_label = 0xffffffff80e55a4b, cr_audit = {ai_auid = 0x1ba, ai_mask = {
>       am_success = 0x10000, am_failure = 0x81a59e00}, ai_termid = {at_port = 0xffffffff, at_type = 0x80ecb56d, 
>       at_addr = {0xffffffff, 0x4c9, 0x10000, 0x0}}, ai_asid = 0x0, ai_flags = 0x0}, cr_groups = 0xfffff80007870800, 
>   cr_agroups = 0x80ec4b1b, cr_smallgroups = {0xffffffff, 0x578, 0x10000, 0x819c8580, 0xffffffff, 0x80ec4b1b, 
>     0xffffffff, 0x353a, 0x10000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
> 

Did you recompile your modules? Several fields seem off by a multiply of
8 bytes, which coincidently fits r313992.

-- 
Mateusz Guzik <mjguzik gmail.com>



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