NetBSD-Bugs archive

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

kern/56126: landisk mainbus attach does not work



>Number:         56126
>Category:       kern
>Synopsis:       landisk mainbus attach does not work
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 25 09:30:00 +0000 2021
>Originator:     Martin Husemann
>Release:        NetBSD 9.99.82
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD last-of-the-heroes.aprisoft.de 9.99.80 NetBSD 9.99.80 (GENERIC) #115: Wed Feb 24 12:21:26 CET 2021 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/landisk/compile/GENERIC landisk
Architecture: sh3el
Machine: landisk
>Description:

After the autoconfig changes booting fails with:

[   1.0000000] mainbus0 (root)
[   1.0000000] panic: kernel diagnostic assertion "ifattr || cfdriver_iattr_count(parent->dv_cfdriver) < 2" failed: file "../../../../kern/subr_autoconf.c", line 1130 
[   1.0000000] cpu0: Begin traceback...
[   1.0000000] db_panic() at netbsd:vpanic+0xe8
[   1.0000000] vpanic() at netbsd:kern_assert+0x20
[   1.0000000] kern_assert() at netbsd:config_vsearch+0x78
[   1.0000000] config_vsearch() at netbsd:config_vfound+0x22
[   1.0000000] config_vfound() at netbsd:config_found+0x10
[   1.0000000] config_found() at netbsd:mainbus_attach+0x4a
[   1.0000000] mainbus_attach() at netbsd:config_vattach+0xbc
[   1.0000000] config_vattach() at netbsd:config_attach+0x14
[   1.0000000] config_attach() at netbsd:config_rootfound+0x2e
[   1.0000000] config_rootfound() at netbsd:cpu_configure+0x18
[   1.0000000] cpu_configure() at netbsd:main+0x41a
[   1.0000000] main() at netbsd:landisk_startup+0xea
[   1.0000000] landisk_startup() at 7d0

For reference, here is an older dmesg:
[..]
Model: I-O DATA LANDISK
general exception handler:	356 byte
TLB miss exception handler:	372 byte
interrupt exception handler:	284 byte
total memory = 65536 KB
avail memory = 58788 KB
timecounter: Timecounters tick every 10.000 msec
Kernelized RAIDframe activated
mainbus0 (root)
cpu0 at mainbus0: SH4 266.666 MHz PCLOCK 33.333 MHz
cpu0: 8KB/32B direct-mapped Instruction cache.
cpu0: 16KB/32B direct-mapped Data cache.
cpu0: U0, P0, P3 write-through; P1 write-through
cpu0: full-associative 4 ITLB, 64 UTLB entries
cpu0: multiple virtual storage mode, SQ access: kernel, wired 3
shpcic0 at mainbus0: Hitachi SH7751R PCI Controller (host bridge, revision 0x01)
pci0 at shpcic0
pci0: i/o space, memory space enabled
re0 at pci0 dev 0 function 0: RealTek 8139C+ 10/100BaseTX (rev. 0x20)
re0: interrupting at irq 5
re0: Ethernet address 00:a0:b0:65:0e:ce
re0: using 64 tx descriptors
rlphy0 at re0 phy 0: Realtek internal PHY
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ohci0 at pci0 dev 2 function 0: NEC USB Host Controller (rev. 0x43)
csr: 02100146
ohci0: interrupting at irq 7
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
ohci1 at pci0 dev 2 function 1: NEC USB Host Controller (rev. 0x43)
csr: 02100146
ohci1: interrupting at irq 8
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
ehci0 at pci0 dev 2 function 2: NEC USB2 Host Controller (rev. 0x04)
ehci0: interrupting at irq 5
ehci0: EHCI version 1.0
ehci0: 2 companion controllers, 3 ports each: ohci0 ohci1
usb2 at ehci0: USB revision 2.0
shb0 at mainbus0
scif0 at shb0
scif0: console
rs5c313rtc0 at shb0: RICOH 5C313 real time clock
obio0 at mainbus0
wdc0 at obio0 port 0x14000000-0x1400000f irq 10
atabus0 at wdc0 channel 0
btn0 at obio0 irq 12: USL-5P buttons
pwrsw0 at obio0 irq 11: Power Switch
entropy: WARNING: extracting entropy too early
timecounter: Timecounter "tmu_pclock_4" frequency 8333333 Hz quality 0
timecounter: Timecounter "clockinterrupt" frequency 64 Hz quality 0
uhub0 at usb0: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
uhub1 at usb1: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub2 at usb2: NetBSD (0x0000) EHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
uhub2: 5 ports with 5 removable, self powered
aes: BearSSL aes_ct
aes_ccm: self-test passed
chacha: Portable C ChaCha
blake2s: self-test passed
wd0 at atabus0 drive 0
wd0: <TS8GCF133>
wd0: drive supports 1-sector PIO transfers, LBA48 addressing
wd0: 7647 MB, 15538 cyl, 16 head, 63 sec, 512 bytes/sect x 15662304 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
boot device: wd0
root on wd0a dumps on wd0b
kern.module.path=/stand/landisk/9.99.80/modules
init: copying out path `/sbin/init' 11
entropy: ready
re0: link state UP (was UNKNOWN)


>How-To-Repeat:
boot landisk

>Fix:
n/a



Home | Main Index | Thread Index | Old Index