Re: CVS commit: src/distrib/sets/lists/tests

2017-02-24 Thread Kamil Rytarowski
On 25.02.2017 06:31, matthew green wrote:
> "Kamil Rytarowski" writes:
>> Module Name: src
>> Committed By:kamil
>> Date:Wed Feb 22 09:09:49 UTC 2017
>>
>> Modified Files:
>>  src/distrib/sets/lists/tests: md.amd64 md.i386 mi
>>
>> Log Message:
>> Fix build of !x86 ports
>>
>> Mark debug/usr/tests/kernel/arch/x86 as MI directory.
> 
> this should be created by mtree/NetBSD.dist. not not
> pollute other platforms.
> 
> 
> .mrg.
> 

As discussed with martin, I will refactor these tests to remove MD
distfiles.



signature.asc
Description: OpenPGP digital signature


re: CVS commit: src/distrib/sets/lists/tests

2017-02-24 Thread matthew green
"Kamil Rytarowski" writes:
> Module Name:  src
> Committed By: kamil
> Date: Wed Feb 22 09:09:49 UTC 2017
> 
> Modified Files:
>   src/distrib/sets/lists/tests: md.amd64 md.i386 mi
> 
> Log Message:
> Fix build of !x86 ports
> 
> Mark debug/usr/tests/kernel/arch/x86 as MI directory.

this should be created by mtree/NetBSD.dist. not not
pollute other platforms.


.mrg.


Re: CVS commit: src/sys/dev

2017-02-24 Thread Ryo ONODERA
Hi,

https://mail-index.netbsd.org/source-changes/2017/02/24/msg082342.html
fixes my kernel panic.

However, PR kern/51999 is not resolved yet.
http://gnats.netbsd.org/51999

Thank you.

From: Ryo ONODERA , Date: Fri, 24 Feb 2017 21:49:12 +0900 
(JST)

> Hi,
> 
> After this commit, audio playback causes kernel panic.
> The following is kernel panic message from LOCKDEBUG kernel
> (manually rewritten).
> 
> 
> Mutex error: mutex_vector_exit,717: exiting unheld spin mutex
> 
> lock address : 0xfe810fc11010 type:  spin
> ininialized  : 0x80733860
> shared holds :  0 exclusive:0
> shares wanted:0 exclusive:  0
> current cpu  :0 last held:  2
> current lwp  : 0xfe821eae1000 last held: 00
> last locked  : 0x8072440b unlocked*: 0x808ca55d
> owner field  : 0x0700 wait/spin:0/1
> 
> panic: LOCKDEBUG: Mutex error: mutex_vector_exit,717: exiting unheld spin 
> mutex
> fatal breakpoint trap in supervisor mode
> trap type 1 code 0 rip 80215365 cs 8 rflags 246 cr2 7e01df80e010 
> ilevel 8 rsp fe8110371c40
> curlwp 0xfe821eae1000 pid 41.2 lowest kstack 0xfe811036f2c0
> Stopped in pid 41.2 (pulseaudio) at netbsd:breakpoint:0x5: leave
> db{0}>
> 
> 
> 
> From: "Nathanial Sloss" , Date: Fri, 24 Feb 2017 09:49:49 
> +
> 
>> Module Name: src
>> Committed By:nat
>> Date:Fri Feb 24 09:49:49 UTC 2017
>> 
>> Modified Files:
>>  src/sys/dev: audio.c
>> 
>> Log Message:
>> Simplify locking.  Hold intr lock only when dealing with sc_pr (mix ring)
>> or virtual channel 0 (hardware).
>> 
>> 
>> To generate a diff of this commit:
>> cvs rdiff -u -r1.309 -r1.310 src/sys/dev/audio.c
>> 
>> Please note that diffs are not public domain; they are subject to the
>> copyright notices on the relevant files.
>> 
> 
> --
> Ryo ONODERA // ryo...@yk.rim.or.jp
> PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3

--
Ryo ONODERA // ryo...@yk.rim.or.jp
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Re: CVS commit: src/sys/dev

2017-02-24 Thread Ryo ONODERA
Hi,

From: Taylor R Campbell , Date: 
Fri, 24 Feb 2017 14:13:11 +

>> Date: Fri, 24 Feb 2017 21:49:12 +0900 (JST)
>> From: Ryo ONODERA 
>> 
>> panic: LOCKDEBUG: Mutex error: mutex_vector_exit,717: exiting unheld spin 
>> mutex
>> fatal breakpoint trap in supervisor mode
>> trap type 1 code 0 rip 80215365 cs 8 rflags 246 cr2 7e01df80e010 
>> ilevel 8 rsp fe8110371c40
>> curlwp 0xfe821eae1000 pid 41.2 lowest kstack 0xfe811036f2c0
>> Stopped in pid 41.2 (pulseaudio) at netbsd:breakpoint:0x5: leave
>> db{0}>
> 
> I know ten-fingered copypasta is always a pain, but can you run `bt'
> and transcribe at least the names in the resulting stack trace?  That
> would be helpful for finding this.

I will include a result from bt.

Thank you.

> (We also need a few more eyeballs on nat's new audio code!  Maybe I
> can try to make some time this weekend...)

--
Ryo ONODERA // ryo...@yk.rim.or.jp
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Re: CVS commit: src/sys/dev

2017-02-24 Thread Taylor R Campbell
> Date: Fri, 24 Feb 2017 21:49:12 +0900 (JST)
> From: Ryo ONODERA 
> 
> panic: LOCKDEBUG: Mutex error: mutex_vector_exit,717: exiting unheld spin 
> mutex
> fatal breakpoint trap in supervisor mode
> trap type 1 code 0 rip 80215365 cs 8 rflags 246 cr2 7e01df80e010 
> ilevel 8 rsp fe8110371c40
> curlwp 0xfe821eae1000 pid 41.2 lowest kstack 0xfe811036f2c0
> Stopped in pid 41.2 (pulseaudio) at netbsd:breakpoint:0x5: leave
> db{0}>

I know ten-fingered copypasta is always a pain, but can you run `bt'
and transcribe at least the names in the resulting stack trace?  That
would be helpful for finding this.

(We also need a few more eyeballs on nat's new audio code!  Maybe I
can try to make some time this weekend...)


Re: CVS commit: src/sys/dev

2017-02-24 Thread Ryo ONODERA
Hi,

After this commit, audio playback causes kernel panic.
The following is kernel panic message from LOCKDEBUG kernel
(manually rewritten).


Mutex error: mutex_vector_exit,717: exiting unheld spin mutex

lock address : 0xfe810fc11010 type:spin
ininialized  : 0x80733860
shared holds :  0 exclusive:  0
shares wanted:  0 exclusive:  0
current cpu  :  0 last held:  2
current lwp  : 0xfe821eae1000 last held: 00
last locked  : 0x8072440b unlocked*: 0x808ca55d
owner field  : 0x0700 wait/spin:0/1

panic: LOCKDEBUG: Mutex error: mutex_vector_exit,717: exiting unheld spin mutex
fatal breakpoint trap in supervisor mode
trap type 1 code 0 rip 80215365 cs 8 rflags 246 cr2 7e01df80e010 ilevel 
8 rsp fe8110371c40
curlwp 0xfe821eae1000 pid 41.2 lowest kstack 0xfe811036f2c0
Stopped in pid 41.2 (pulseaudio) at netbsd:breakpoint:0x5: leave
db{0}>



From: "Nathanial Sloss" , Date: Fri, 24 Feb 2017 09:49:49 +

> Module Name:  src
> Committed By: nat
> Date: Fri Feb 24 09:49:49 UTC 2017
> 
> Modified Files:
>   src/sys/dev: audio.c
> 
> Log Message:
> Simplify locking.  Hold intr lock only when dealing with sc_pr (mix ring)
> or virtual channel 0 (hardware).
> 
> 
> To generate a diff of this commit:
> cvs rdiff -u -r1.309 -r1.310 src/sys/dev/audio.c
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
> 

--
Ryo ONODERA // ryo...@yk.rim.or.jp
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3