NetBSD-Bugs archive

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

PR/59624 CVS commit: src/sys/dev/usb



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

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/59624 CVS commit: src/sys/dev/usb
Date: Sun, 5 Oct 2025 20:04:30 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Sun Oct  5 20:04:30 UTC 2025
 
 Modified Files:
 	src/sys/dev/usb: usb_subr.c usbdivar.h xhci.c
 
 Log Message:
 usb(9): Record config index, not just number, in struct usbd_device.
 
 The index is a zero-based index in [0, bNumConfigurations), or -1 for
 unconfigured.
 
 The number is an arbitrary value of a config descriptor's
 bConfigurationValue field, or 0 for unconfigured -- with the tricky
 caveat that bConfigurationValue might also be 0.
 
 Preparation for fixing:
 
 PR kern/59185: panic over KASSERTMSG(dev->ud_ifaces == NULL) on Dell
 Latitude 7490
 
 PR kern/59624: Booting NetBSD-11 from USB on my Dell machine panics
 and hangs
 
 PR kern/57447: HEAD fails to probe USB devices and fails to boot up
 
 Reported-by: syzbot+017911f90e0f9766bc71%syzkaller.appspotmail.com@localhost
 https://syzkaller.appspot.com/bug?id=e6d4449a128e73a9a88100a5cc833e5cae9fecae
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.279 -r1.280 src/sys/dev/usb/usb_subr.c
 cvs rdiff -u -r1.139 -r1.140 src/sys/dev/usb/usbdivar.h
 cvs rdiff -u -r1.190 -r1.191 src/sys/dev/usb/xhci.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index