NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/46545: pad(4):Support for fullduplex playback/recording polling and nonblocking mode



The following reply was made to PR kern/46545; it has been noted by GNATS.

From: Nat Sloss <nathanialsloss%yahoo.com.au@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: plunky%ogmig.net@localhost
Subject: Re: kern/46545: pad(4):Support for fullduplex playback/recording 
polling and nonblocking mode
Date: Sat, 7 Sep 2013 19:35:26 +1000

 Hi
 I've just built a stock 6.99.23 and tested pad with and without the patch.
 
 Both break, here is the backtrace with the stock pad driver:
 
 panic: kernel diagnostic assertion "kpreempt_disabled()" failed: 
 file "/home/build/NetBSD-current_source_tree/src/sys/kern/kern_softint.c", 
 line 461 
 
 cpu0: Begin traceback...
 
 
vpanic(c0c04b2c,c8775b00,c8775b18,c05ac07d,c0c04b2c,c0c04cdd,c0c57362,c0c61610,1cd,400)
 
 at netbsd:vpanic+0x11c
 
 
kern_assert(c0c04b2c,c0c04cdd,c0c57362,c0c61610,1cd,400,c15f3800,c8775b64,c01fb119,368)
 
 at netbsd:kern_assert+0x23
 
 
softint_schedule(368,c160e400,400,c01fadfc,c15f3800,0,c14fddc0,0,c165f430,c165f020)
 
 at netbsd:softint_schedule+0xec
 
 
audio_pint(c15f3800,400,c8775c7c,c080787e,bd00,c165f014,c165f024,c15f3800,c01fadfc,0)
 
 at netbsd:audio_pint+0x31d
 
 pad_read(bd00,0,c8775c7c,0,0,c8775be4,c035e6e0,c19dcaf8,0,1) at 
 netbsd:pad_read+0x158
 
 spec_read(c8775c1c,1,0,c0bf4268,c19dca54,c8775c7c,0,c1398a80,0,c8775c5c) at 
 netbsd:spec_read+0x21b
 
 VOP_READ(c19dca54,c8775c7c,0,c1398a80,4000,4000,3,bb901000,c8775cac,c082f19d) 
 at netbsd:VOP_READ+0x38
 
 vn_read(c16b4740,c16b4740,c8775c7c,c1398a80,1,bb900000,c8775c98,1,400,0) at 
 netbsd:vn_read+0x81
 
 
dofileread(3,c16b4740,bb901000,4000,c16b4740,1,c8775d28,c17072a0,c0e5ebe4,c8775d3c)
 
 at netbsd:dofileread+0x6d
 
 sys_read(c17072a0,c8775d00,c8775d28,c15d74f8,0,c8775d00,3,c8775da0,3,bb901000) 
 at netbsd:sys_read+0x60
 
 syscall() at netbsd:syscall+0x89
 
 --- syscall (number 3) ---
 
 bba99077:
 
 cpu0: End traceback...
 
 So pad in does not work in 6.99.23
 
 Although I've found a problem with my patch whilst attempting to use audio 
 record and inputting a file into the pad device - an IO error and audiorecord 
 just exits.  This was not a problem in 6.99.7 so I'll try to find out why.
 
 Regards,
 
 Nat.
 
 
 


Home | Main Index | Thread Index | Old Index