Re: crash in iflib_fast_intr

2017-01-19 Thread Shawn Webb
On Wed, Jan 18, 2017 at 02:45:34PM -0500, Shawn Webb wrote:
> On Wed, Jan 18, 2017 at 07:31:12AM -0700, Sean Bruno wrote:
> > 
> > 
> > On 01/18/17 03:37, peter.b...@bsd4all.org wrote:
> > > Hi,
> > > 
> > > A kernel without option EARLY_AP_STARTUP crashes in if lib_fast_intr. 
> > > Since GENERIC now has EARLY_AP_STARTUP, this probably got unnoticed. 
> > > Problem is reproducible.
> > > 
> > > KDB: stack backtrace:
> > > #0 0x805cec97 at kdb_backtrace+0x67
> > > #1 0x80584816 at vpanic+0x186
> > > #2 0x80584683 at panic+0x43
> > > #3 0x8090f222 at trap_fatal+0x322
> > > #4 0x8090f3ec at trap_pfault+0x1bc
> > > #5 0x8090eaa0 at trap+0x280
> > > #6 0x808f35e1 at calltrap+0x8
> > > #7 0x806a202d at iflib_fast_intr+0x3d
> > > #8 0x8054963b at intr_event_handle+0x9b
> > > #9 0x80965f38 at intr_execute_handlers+0x48
> > > #10 0x8096b1cf at lapic_handle_intr+0x3f
> > > #11 0x808f3cc7 at Xapic_isr1+0xb7
> > > #12 0x805b994a at sched_idletd+0x37a
> > > #13 0x805460f5 at fork_exit+0x85
> > > #14 0x808f3b1e at fork_trampoline+0xe
> > > 
> > > Peter
> > 
> > Thanks for the report.  We're looking at this.
> > 
> > This is with an igb(4) interface or em(4)?
> > 
> > sean
> > 
> 
> I'm getting something similar with em(4):
> 
> https://goo.gl/photos/MXiFXtatBYcWagJTA
> 
> I'm at this commit in HardenedBSD:
> 
> https://github.com/HardenedBSD/hardenedBSD/commit/2108b0d56984115eb52e72bd16539071064b348e

r312434 fixes this for me. Thanks a lot for the quick turnaround!

-- 
Shawn Webb
Cofounder and Security Engineer
HardenedBSD

GPG Key ID:  0x6A84658F52456EEE
GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6EEE


signature.asc
Description: PGP signature


Re: crash in iflib_fast_intr

2017-01-18 Thread Shawn Webb
On Wed, Jan 18, 2017 at 07:31:12AM -0700, Sean Bruno wrote:
> 
> 
> On 01/18/17 03:37, peter.b...@bsd4all.org wrote:
> > Hi,
> > 
> > A kernel without option EARLY_AP_STARTUP crashes in if lib_fast_intr. Since 
> > GENERIC now has EARLY_AP_STARTUP, this probably got unnoticed. Problem is 
> > reproducible.
> > 
> > KDB: stack backtrace:
> > #0 0x805cec97 at kdb_backtrace+0x67
> > #1 0x80584816 at vpanic+0x186
> > #2 0x80584683 at panic+0x43
> > #3 0x8090f222 at trap_fatal+0x322
> > #4 0x8090f3ec at trap_pfault+0x1bc
> > #5 0x8090eaa0 at trap+0x280
> > #6 0x808f35e1 at calltrap+0x8
> > #7 0x806a202d at iflib_fast_intr+0x3d
> > #8 0x8054963b at intr_event_handle+0x9b
> > #9 0x80965f38 at intr_execute_handlers+0x48
> > #10 0x8096b1cf at lapic_handle_intr+0x3f
> > #11 0x808f3cc7 at Xapic_isr1+0xb7
> > #12 0x805b994a at sched_idletd+0x37a
> > #13 0x805460f5 at fork_exit+0x85
> > #14 0x808f3b1e at fork_trampoline+0xe
> > 
> > Peter
> 
> Thanks for the report.  We're looking at this.
> 
> This is with an igb(4) interface or em(4)?
> 
> sean
> 

I'm getting something similar with em(4):

https://goo.gl/photos/MXiFXtatBYcWagJTA

I'm at this commit in HardenedBSD:

https://github.com/HardenedBSD/hardenedBSD/commit/2108b0d56984115eb52e72bd16539071064b348e

Thanks,

-- 
Shawn Webb
Cofounder and Security Engineer
HardenedBSD

GPG Key ID:  0x6A84658F52456EEE
GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6EEE


signature.asc
Description: PGP signature


Re: crash in iflib_fast_intr

2017-01-18 Thread peter . blok
This is with an igb interface.

Peter
> On 18 Jan 2017, at 15:31, Sean Bruno  wrote:
> 
> 
> 
> On 01/18/17 03:37, peter.b...@bsd4all.org  
> wrote:
>> Hi,
>> 
>> A kernel without option EARLY_AP_STARTUP crashes in if lib_fast_intr. Since 
>> GENERIC now has EARLY_AP_STARTUP, this probably got unnoticed. Problem is 
>> reproducible.
>> 
>> KDB: stack backtrace:
>> #0 0x805cec97 at kdb_backtrace+0x67
>> #1 0x80584816 at vpanic+0x186
>> #2 0x80584683 at panic+0x43
>> #3 0x8090f222 at trap_fatal+0x322
>> #4 0x8090f3ec at trap_pfault+0x1bc
>> #5 0x8090eaa0 at trap+0x280
>> #6 0x808f35e1 at calltrap+0x8
>> #7 0x806a202d at iflib_fast_intr+0x3d
>> #8 0x8054963b at intr_event_handle+0x9b
>> #9 0x80965f38 at intr_execute_handlers+0x48
>> #10 0x8096b1cf at lapic_handle_intr+0x3f
>> #11 0x808f3cc7 at Xapic_isr1+0xb7
>> #12 0x805b994a at sched_idletd+0x37a
>> #13 0x805460f5 at fork_exit+0x85
>> #14 0x808f3b1e at fork_trampoline+0xe
>> 
>> Peter
> 
> Thanks for the report.  We're looking at this.
> 
> This is with an igb(4) interface or em(4)?
> 
> sean

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: crash in iflib_fast_intr

2017-01-18 Thread Sean Bruno


On 01/18/17 03:37, peter.b...@bsd4all.org wrote:
> Hi,
> 
> A kernel without option EARLY_AP_STARTUP crashes in if lib_fast_intr. Since 
> GENERIC now has EARLY_AP_STARTUP, this probably got unnoticed. Problem is 
> reproducible.
> 
> KDB: stack backtrace:
> #0 0x805cec97 at kdb_backtrace+0x67
> #1 0x80584816 at vpanic+0x186
> #2 0x80584683 at panic+0x43
> #3 0x8090f222 at trap_fatal+0x322
> #4 0x8090f3ec at trap_pfault+0x1bc
> #5 0x8090eaa0 at trap+0x280
> #6 0x808f35e1 at calltrap+0x8
> #7 0x806a202d at iflib_fast_intr+0x3d
> #8 0x8054963b at intr_event_handle+0x9b
> #9 0x80965f38 at intr_execute_handlers+0x48
> #10 0x8096b1cf at lapic_handle_intr+0x3f
> #11 0x808f3cc7 at Xapic_isr1+0xb7
> #12 0x805b994a at sched_idletd+0x37a
> #13 0x805460f5 at fork_exit+0x85
> #14 0x808f3b1e at fork_trampoline+0xe
> 
> Peter

Thanks for the report.  We're looking at this.

This is with an igb(4) interface or em(4)?

sean



signature.asc
Description: OpenPGP digital signature


crash in iflib_fast_intr

2017-01-18 Thread peter . blok
Hi,

A kernel without option EARLY_AP_STARTUP crashes in if lib_fast_intr. Since 
GENERIC now has EARLY_AP_STARTUP, this probably got unnoticed. Problem is 
reproducible.

KDB: stack backtrace:
#0 0x805cec97 at kdb_backtrace+0x67
#1 0x80584816 at vpanic+0x186
#2 0x80584683 at panic+0x43
#3 0x8090f222 at trap_fatal+0x322
#4 0x8090f3ec at trap_pfault+0x1bc
#5 0x8090eaa0 at trap+0x280
#6 0x808f35e1 at calltrap+0x8
#7 0x806a202d at iflib_fast_intr+0x3d
#8 0x8054963b at intr_event_handle+0x9b
#9 0x80965f38 at intr_execute_handlers+0x48
#10 0x8096b1cf at lapic_handle_intr+0x3f
#11 0x808f3cc7 at Xapic_isr1+0xb7
#12 0x805b994a at sched_idletd+0x37a
#13 0x805460f5 at fork_exit+0x85
#14 0x808f3b1e at fork_trampoline+0xe

Peter
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"