NetBSD-Bugs archive

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

Re: kern/59859: NetBSD-10.1 amd64 kernel panic under X



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

From: Ramiro Aceves <ea1abz%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost, nat%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
 netbsd-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/59859: NetBSD-10.1 amd64 kernel panic under X
Date: Mon, 5 Jan 2026 13:21:20 +0100

 El 5/1/26 a las 12:35, Ramiro Aceves via gnats escribió:
 > The following reply was made to PR kern/59859; it has been noted by GNATS.
 > 
 > From: Ramiro Aceves <ea1abz%gmail.com@localhost>
 > To: Nat Sloss <nathanialsloss%yahoo.com.au@localhost>
 > Cc: gnats-bugs%netbsd.org@localhost
 > Subject: Re: kern/59859: NetBSD-10.1 amd64 kernel panic under X
 > Date: Mon, 5 Jan 2026 12:33:22 +0100
 > 
 >   El 5/1/26 a las 11:55, Nat Sloss escribió:
 >   >> I think that the procedure would be:
 >   >
 >   >> -Change "src/sys/dev/usb/usbdevs" to add Vendor and Product of the Fast
 >   >
 >   >> Track Pro.
 >   >
 >   >> -Execute "make -f Makefile.usbdevs" in "src/sys/dev/usb" to regenerate
 >   >
 >   >> "src/sys/dev/usb/usbdevs.h" and "src/sys/dev/usb/usbdevs_data.h"
 >   >
 >   >> -Edit usb_quirks.c and add
 >   >
 >   >> UQ_AU_NO_FRAC and/or UQ_AU_INP_ASYNC lines for my card.
 >   >
 >   >> -Recompile de kernel and reboot into it.
 >   >
 >   >
 >   > That's correct.
 >   >
 >   >
 >   >
 >   >> What should I expect from that change?
 >   >
 >   >
 >   > I think there's a possibilty that the card stalls in the record
 >   > interrupt due to fractional
 >   >
 >   > packets being read from the device so I'd try AU_NO_FRAC as a quirk first.
 >   >
 >   >
 >   > Hopefully It will allow for the device to not issue IOERRORS and
 >   > continue working.
 >   >
 >   >> Thanks.
 >   >
 >   >> Ramiro.
 >   >
 >   >> PS: or perhaps may I modify usb_quirks.c directly placing the numbers
 >   >
 >   >> and recompile the kernel? I wait for your advice.
 >   >
 >   >
 >   > Yes you can do that, if it works I'll prepare a formal patch to commit.
 >   >
 >   >
 >   > Best regards,
 >   >
 >   >
 >   > Nat
 >   >
 >   >
 >   >
 >   
 >   Hi, I did that:
 >   
 >   netbsd-nuc$ diff usb_quirks.c.orig usb_quirks.c
 >   256a257,258
 >    >  { 0x0763,0x2012,			0x100,
 >    > 	{ UQ_AU_NO_FRAC, NULL }},
 >   netbsd-nuc$
 >   
 >   recompiled with:
 >   
 >   netbsd-nuc$ ./build.sh -u -U kernel=MYKERNEL
 >   
 >   
 >   netbsd-nuc# cp /usr/src/sys/arch/amd64/compile/obj/MYKERNEL/netbsd
 >   /netbsdnofrac
 >   
 >   I will boot that netbsdnofrac kernel and see what happens.
 >   
 >   Regards.
 >   
 
 I booted to netbsdnofrac kernel.
 
 I was playing with WSJTx and after a while audio stopped working, I 
 switched off and on the USB audio card:
 
 
 [  2232,162314] uaudio1: rintr error: IOERROR
 [  2232,172315] uaudio1: rintr error: IOERROR
 [  2232,182315] uaudio1: rintr error: IOERROR
 [  2232,192315] uaudio1: rintr error: IOERROR
 [  2232,202316] uaudio1: rintr error: IOERROR
 [  2232,212316] uaudio1: rintr error: IOERROR
 [  2232,222316] uaudio1: rintr error: IOERROR
 [  2232,232316] uaudio1: rintr error: IOERROR
 [  2232,242317] uaudio1: rintr error: IOERROR
 [  2232,252317] uaudio1: rintr error: IOERROR
 [  2232,262317] uaudio1: rintr error: IOERROR
 [  2232,272317] uaudio1: rintr error: IOERROR
 [  2232,282318] uaudio1: rintr error: IOERROR
 [  2232,292318] uaudio1: rintr error: IOERROR
 [  2232,302318] uaudio1: rintr error: IOERROR
 [  2232,312320] uaudio1: rintr error: IOERROR
 [  2232,322319] uaudio1: rintr error: IOERROR
 [  2232,332319] uaudio1: rintr error: IOERROR
 [  2232,342323] uaudio1: rintr error: IOERROR
 [  2232,352322] spkr3: detached
 [  2232,352322] audio3: detached
 [  2232,352322] uaudio1: detached
 [  2232,352322] uaudio1: at uhub7 port 3 (addr 13) disconnected
 [  2232,352322] midi1: detached
 [  2232,352322] umidi0: detached
 [  2232,352322] umidi0: at uhub7 port 3 (addr 13) disconnected
 [  2239,742527] uaudio1 at uhub7 port 3 configuration 1 interface 0
 [  2239,742527] uaudio1: M-Audio (0x0763) FastTrack Pro (0x2012), rev 
 1.10/1.00, addr 15
 [  2239,742527] uaudio1: audio rev 1.00
 [  2239,742527] audio3 at uaudio1: playback, capture, full duplex, 
 independent
 [  2239,742527] audio3: slinear_le:16 2ch 44100Hz, blk 10584 bytes 
 (60ms) for playback
 [  2239,742527] audio3: slinear_le:16 2ch 48000Hz, blk 12000 bytes 
 (62.5ms) for recording
 [  2239,742527] spkr3 at audio3: PC Speaker (synthesized)
 [  2239,752526] wsbell at spkr3 not configured
 [  2239,752526] umidi0 at uhub7 port 3 configuration 1 interface 1
 [  2239,752526] umidi0: M-Audio (0x0763) FastTrack Pro (0x2012), rev 
 1.10/1.00, addr 15
 [  2239,752526] umidi0: (genuine USB-MIDI)
 [  2239,752526] umidi0: out=1, in=1
 [  2239,752526] midi1 at umidi0: <0 >0 on umidi0
 netbsd-nuc$
 
 This card in Linux also had some problems and needed to be restarted 
 from time to time.
 
 Regards.
 
 


Home | Main Index | Thread Index | Old Index