NetBSD-Bugs archive

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

Re: kern/57063: Kernel panic in -current in iic_attach



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

From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
To: brad%anduin.eldar.org@localhost
Cc: gnats-bugs%NetBSD.org@localhost, bouyer%NetBSD.org@localhost
Subject: Re: kern/57063: Kernel panic in -current in iic_attach
Date: Tue, 18 Oct 2022 10:16:28 +0000

 > kernel: page fault trap, code=3D0
 > Stopped in pid 0.0 (system) at  netbsd:iic_attach+0x64: movq    %rax,70(%=
 r12)
 > iic_attach() at netbsd:iic_attach
 
 This is almost certainly because something in dwiic_attach failed, but
 pci_dwiic_attach blithely ignored the failure and barged ahead trying
 to attach a child with unininitialized i2cbus_attach_args having a
 null i2c tag:
 
 https://nxr.netbsd.org/xref/src/sys/arch/x86/pci/dwiic_pci.c?r=3D1.8#280
 
     280 	dwiic_attach(&sc->sc_dwiic);
     281=20
     282 	config_found(self, &sc->sc_dwiic.sc_iba, iicbus_print, CFARGS_NONE=
 );
 


Home | Main Index | Thread Index | Old Index