NetBSD-Bugs archive

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

kern/54157: aprint_normal_dev without device pointer



>Number:         54157
>Category:       kern
>Synopsis:       aprint_normal_dev without device pointer
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 03 12:00:00 +0000 2019
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.37
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD sunset-glow.duskware.de 8.0_STABLE NetBSD 8.0_STABLE (GENERIC.MP) #0: Sun Apr 28 08:46:17 UTC 2019 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/sparc/compile/GENERIC.MP sparc
Architecture: sparc
Machine: sparc
>Description:

Due to a different bug (see kern/54156) during scsi bus probe I get into
this (reproducably, on every boot). Since sd/cd/... whatever scsi devices
did not (yet?) attach, the periph_dev pointer is NULL.

[   7.2391745] panic: kernel diagnostic assertion "dv != NULL" failed: file "../../../../kern/subr_prf.c", line 811 
[   7.2391745] cpu0: Begin traceback...
[   7.2391745] 0x0(0xf0451880, 0xfa179c28, 0xf0544c00, 0xf0545c00, 0xf0545b80, 0x104) at netbsd:kern_assert+0x3c
[   7.2391745] kern_assert(0xf0451880, 0xf0451870, 0xf049d648, 0xf049d560, 0x32b, 0x4) at netbsd:aprint_normal_dev+0x60
[   7.2391745] aprint_normal_dev(0x0, 0xf04823b0, 0x0, 0x0, 0xffff, 0xf1125820) at netbsd:scsi_async_event_xfer_mode+0x164
[   7.2391745] scsi_async_event_xfer_mode(0xf1297668, 0xfa179d68, 0x1080, 0xf04823b0, 0x0, 0xf1125820) at netbsd:scsipi_async_event+0x134
[   7.2391745] scsipi_async_event(0xf1297668, 0x1, 0xfa179d68, 0x1, 0xc0, 0xf1368810) at netbsd:ncr53c9x_update_xfer_mode+0x80
[   7.2391745] ncr53c9x_update_xfer_mode(0xf1297608, 0xf1101d10, 0xf1112860, 0xf0682000, 0x700, 0xf0525400) at netbsd:ncr53c9x_init+0x118
[   7.2391745] ncr53c9x_init(0xf1297608, 0x1, 0xf12977d6, 0x19, 0xb, 0x4) at netbsd:ncr53c9x_timeout+0x168
[   7.2391745] ncr53c9x_timeout(0xf12977d4, 0x2, 0xf12a4020, 0xf1125820, 0xf12a3fa8, 0xf1297608) at netbsd:callout_softclock+0x3cc
[   7.2391745] callout_softclock(0xf0451870, 0xf0451880, 0xf0542d10, 0x11deeba1, 0xf0542cb0, 0xf12a4030) at netbsd:softint_thread+0xfc
[   7.2391745] softint_thread(0x0, 0x0, 0xfa170218, 0xf0002000, 0xf1112860, 0x2000) at netbsd:lwp_trampoline+0x8


>How-To-Repeat:

Try to boot a -current kernel on a SS20

>Fix:
n/a

>Unformatted:
 


Home | Main Index | Thread Index | Old Index