NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-alpha/58905: pcic(4) probe failed on DEC Multia(NetBSD/Alpha)
>Number: 58905
>Category: port-alpha
>Synopsis: pcic(4) probe failed on DEC Multia(NetBSD/Alpha)
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: port-alpha-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Dec 14 16:10:01 +0000 2024
>Originator: Naruaki Etomi
>Release: NetBSD/alpha Current
>Organization:
>Environment:
NetBSD 10.99.12 NetBSD 10.99.12 (GENERIC-$Revision: 1.421 $) #4: Sat Dec 14 15:16:36 UTC 2024 naruaki@:/usr/obj.alpha/sys/arch/alpha/compile/GENERIC alpha
>Description:
1,Fix NetBSD Problem Report #58904
https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=58904
2,pcic(4) probe failed (KERNEL PANIC!!)
Boot flags: i
Boot file: netbsd
13533264+298624 [656856+427446]=0xe3a218
Entering netbsd at 0xfffffc0000a014d0...
[ 1.0000000] Unrecognized boot flag 'i'.
[ 1.0000000] consinit: not using prom console
[ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[ 1.0000000] 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
[ 1.0000000] 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[ 1.0000000] 2024
[ 1.0000000] The NetBSD Foundation, Inc. All rights reserved.
[ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.0000000] The Regents of the University of California. All rights reserved.
[ 1.0000000] NetBSD 10.99.12 (GENERIC-$Revision: 1.421 $) #0: Wed Dec 11 17:57:11 UTC 2024
[ 1.0000000] naruaki@:/usr/obj.alpha/sys/arch/alpha/compile/GENERIC
[ 1.0000000] (PCI ISA), 167MHz, s/n
[ 1.0000000] 8192 byte page size, 1 processor.
[ 1.0000000] total memory = 65536 KB
[ 1.0000000] (2368 KB reserved for PROM, 63168 KB used by NetBSD)
[ 1.0000000] avail memory = 47440 KB
[ 1.0000000] mainbus0 (root)
[ 1.0000000] cpu0 at mainbus0: ID 0 (primary), 21066-2 (LCA4)
[ 1.0000000] lca0 at mainbus0
[ 1.0000000] lca0: 256 KB Bcache detected
[ 1.0000000] pci0 at lca0 bus 0
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 0 function 0 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 1 function 0 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 2 function 0 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 3 function 0 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 4 function 0 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 5 function 0 not configured
[ 1.0000000] siop0 at pci0 dev 6 function 0: Symbios Logic 53c810 (fast scsi)
[ 1.0000000] siop0: interrupting at isa irq 11
[ 1.0000000] scsibus0 at siop0: 8 targets, 8 luns per target
[ 1.0000000] sio0 at pci0 dev 7 function 0: Intel 82378ZB System I/O (rev. 0x03)
[ 1.0000000] tlp0 at pci0 dev 8 function 0: DECchip 21040 Ethernet, pass 2.3
[ 1.0000000] tlp0: interrupting at isa irq 15
[ 1.0000000] tlp0: Ethernet address 08:00:2b:e4:2f:65
[ 1.0000000] tlp0: 10baseT, 10baseT-FDX, 10base5, manual
[ 1.0000000] vendor 0047 product 0280 (miscellaneous network, revision 0x47) at pci0 dev 9 function 0 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 9 function 1 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 9 function 2 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 9 function 3 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 9 function 4 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 9 function 5 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 9 function 6 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 9 function 7 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 10 function 0 not configured
[ 1.0000000] tga0 at pci0 dev 11 function 0: DC21030 step B, board type T8-02
[ 1.0000000] tga0: 1024 x 768, 8bpp, Bt485 RAMDAC
[ 1.0000000] tga0: interrupting at isa irq 10
[ 1.0000000] wsdisplay1 at tga0 kbdmux 1
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 12 function 0 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 13 function 0 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 14 function 0 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 15 function 0 not configured
[ 1.0000000] isa0 at sio0
[ 1.0000000] lpt0 at isa0 port 0x3bc-0x3bf irq 7
[ 1.0000000] com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, 16-byte FIFO
[ 1.0000000] com0: console
[ 1.0000000] com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, 16-byte FIFO
[ 1.0000000] pckbc0 at isa0 port 0x60-0x64
[ 1.0000000] attimer0 at isa0 port 0x40-0x43
[ 1.0000000] pcppi0 at isa0 port 0x61
[ 1.0000000] spkr0 at pcppi0: PC Speaker
[ 1.0000000] wsbell at spkr0 not configured
[ 1.0000000] midi0 at pcppi0: PC speaker
[ 1.0000000] isabeep0 at pcppi0
[ 1.0000000] fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
[ 1.0000000] mcclock0 at isa0 port 0x70-0x71: mc146818 compatible time-of-day clock
[ 1.0000000] pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xdffff irq
[ 1.0000000] pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
[ 1.0000000] pcmcia0 at pcic0 controller 0 socket 0
[ 1.0000000] pcmcia1 at pcic0 controller 0 socket 1
[ 1.0000000] attimer0: attached to pcppi0
[ 1.0000000] WARNING: system needs entropy for security; see entropy(7)
[ 1.0129537] scsibus0: waiting 2 seconds for devices to settle...
[ 1.0861807] pcic0: controller 0 detecting irqs with mask 0xdeb8:panic: alpha_shared_intr_set_dfltsharetype on active intr
[ 1.2199821] cpu0: Begin traceback...
[ 1.2626324] at 0xfffffc00002b9ce8 pc 0xfffffc000114f8dc
[ 1.3762199] vpanic() at netbsd:vpanic+0x14c
[ 1.4875510] printf() at netbsd:printf_nolog+0xd0
[ 1.5833945] --- root of call graph ---
[ 1.6282132] cpu0: End traceback...
Stopped in pid 0.20 (system) at netbsd:cpu_Debugger+0x4: ret zero,(ra
)
db{0}> tr
cpu_Debugger() at netbsd:cpu_Debugger+0x4
db_panic() at netbsd:db_panic+0xdc
vpanic() at netbsd:vpanic+0x14c
panic() at netbsd:panic+0x58
alpha_shared_intr_set_dfltsharetype() at netbsd:alpha_shared_intr_set_dfltsharet
ype+0x54
sio_intr_disestablish() at netbsd:sio_intr_disestablish+0xe0
pcic_isa_probe_interrupts() at netbsd:pcic_isa_probe_interrupts+0x300
pcic_isa_config_interrupts() at netbsd:pcic_isa_config_interrupts+0x26c
config_interrupts_thread() at netbsd:config_interrupts_thread+0x10c
--- kernel thread backstop ---
db{0}>
>How-To-Repeat:
>Fix:
Looks like it's going well.
However, I don't have a PCMCIA card...
---------------------------------------------------------------------
--- sio_pic.c.orig 2024-12-14 15:58:41.192624887 +0000
+++ sio_pic.c 2024-12-13 17:44:37.878491734 +0000
@@ -524,6 +524,10 @@
mutex_enter(&cpu_lock);
+ /* Remove it from the link. */
+ alpha_shared_intr_unlink(sio_intr, cookie, "isa");
+
+
/*
* Decide if we should disable the interrupt. We must ensure
* that:
@@ -561,9 +565,6 @@
scb_free(0x800 + SCB_IDXTOVEC(irq));
}
- /* Remove it from the link. */
- alpha_shared_intr_unlink(sio_intr, cookie, "isa");
-
mutex_exit(&cpu_lock);
alpha_shared_intr_free_intrhand(cookie);
---------------------------------------------------------------------
Testing Memory from 8 to 64 meg...
Executing power-up script...
Testing TGA
version BL5 V3.8-3 Aug 10 1995 03:22:55
dka200.2.0.6.0 DKA200 RaSCSI FBSE15.2S 0134
dka400.4.0.6.0 DKA400 RaSCSI PRODRIVE LPS283S 0134
dka500.5.0.6.0 DKA500 RaSCSI PRODRIVE LPS226S 0134
dva0.0.0.0.1 DVA0
ewa0.0.0.8.0 EWA0 08-00-2B-E4-2F-65
pka0.7.0.6.0 PKA0 SCSI Bus ID 7
64 Meg of system memory
CPU speed is 166 MHZ
Cache size is 256 Kbytes
*** keyboard not plugged in...
Keyboard error; using serial port terminal
>>>boot -flags 'i' dka200
(boot dka200.2.0.6.0 -flags i)
block 0 of dka200.2.0.6.0 is a valid boot block
reading 13 blocks from dka200.2.0.6.0
bootstrap code read in
base = 166000, image_start = 0, image_bytes = 1a00
initializing HWRPB at 2000
initializing page table at 158000
initializing machine state
setting affinity to the primary CPU
jumping to bootstrap code
NetBSD/alpha 10.0 FFS Primary Bootstrap
Jumping to entry point...
NetBSD/alpha 10.0 Secondary Bootstrap, Revision 1.13 (Thu Mar 28 08:33:33 UTC 2024)
VMS PAL rev: 0x1000000010530
OSF PAL rev: 0x1000000020123
Switch to OSF PAL code succeeded.
Boot flags: i
Boot file: netbsd
13533264+298624 [656856+427446]=0xe3a218
Entering netbsd at 0xfffffc0000a014d0...
[ 1.0000000] Unrecognized boot flag 'i'.
[ 1.0000000] consinit: not using prom console
[ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[ 1.0000000] 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
[ 1.0000000] 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[ 1.0000000] 2024
[ 1.0000000] The NetBSD Foundation, Inc. All rights reserved.
[ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.0000000] The Regents of the University of California. All rights reserved.
[ 1.0000000] NetBSD 10.99.12 (GENERIC-$Revision: 1.421 $) #4: Sat Dec 14 15:16:36 UTC 2024
[ 1.0000000] naruaki@:/usr/obj.alpha/sys/arch/alpha/compile/GENERIC
[ 1.0000000] (PCI ISA), 167MHz, s/n
[ 1.0000000] 8192 byte page size, 1 processor.
[ 1.0000000] total memory = 65536 KB
[ 1.0000000] (2368 KB reserved for PROM, 63168 KB used by NetBSD)
[ 1.0000000] avail memory = 47440 KB
[ 1.0000000] mainbus0 (root)
[ 1.0000000] cpu0 at mainbus0: ID 0 (primary), 21066-2 (LCA4)
[ 1.0000000] lca0 at mainbus0
[ 1.0000000] lca0: 256 KB Bcache detected
[ 1.0000000] pci0 at lca0 bus 0
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 0 function 0 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 1 function 0 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 2 function 0 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 3 function 0 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 4 function 0 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 5 function 0 not configured
[ 1.0000000] siop0 at pci0 dev 6 function 0: Symbios Logic 53c810 (fast scsi)
[ 1.0000000] siop0: interrupting at isa irq 11
[ 1.0000000] scsibus0 at siop0: 8 targets, 8 luns per target
[ 1.0000000] sio0 at pci0 dev 7 function 0: Intel 82378ZB System I/O (rev. 0x03)
[ 1.0000000] tlp0 at pci0 dev 8 function 0: DECchip 21040 Ethernet, pass 2.3
[ 1.0000000] tlp0: interrupting at isa irq 15
[ 1.0000000] tlp0: Ethernet address 08:00:2b:e4:2f:65
[ 1.0000000] tlp0: 10baseT, 10baseT-FDX, 10base5, manual
[ 1.0000000] vendor 0047 product 0280 (miscellaneous network, revision 0x47) at pci0 dev 9 function 0 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 9 function 1 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 9 function 2 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 9 function 3 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 9 function 4 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 9 function 5 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 9 function 6 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 9 function 7 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 10 function 0 not configured
[ 1.0000000] tga0 at pci0 dev 11 function 0: DC21030 step B, board type T8-02
[ 1.0000000] tga0: 1024 x 768, 8bpp, Bt485 RAMDAC
[ 1.0000000] tga0: interrupting at isa irq 10
[ 1.0000000] wsdisplay1 at tga0 kbdmux 1
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 12 function 0 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 13 function 0 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 14 function 0 not configured
[ 1.0000000] vendor 000a product 0000 (miscellaneous prehistoric, revision 0x0a) at pci0 dev 15 function 0 not configured
[ 1.0000000] isa0 at sio0
[ 1.0000000] lpt0 at isa0 port 0x3bc-0x3bf irq 7
[ 1.0000000] com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, 16-byte FIFO
[ 1.0000000] com0: console
[ 1.0000000] com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, 16-byte FIFO
[ 1.0000000] pckbc0 at isa0 port 0x60-0x64
[ 1.0000000] attimer0 at isa0 port 0x40-0x43
[ 1.0000000] pcppi0 at isa0 port 0x61
[ 1.0000000] spkr0 at pcppi0: PC Speaker
[ 1.0000000] wsbell at spkr0 not configured
[ 1.0000000] midi0 at pcppi0: PC speaker
[ 1.0000000] isabeep0 at pcppi0
[ 1.0000000] fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
[ 1.0000000] mcclock0 at isa0 port 0x70-0x71: mc146818 compatible time-of-day clock
[ 1.0000000] pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xdffff irq
[ 1.0000000] pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
[ 1.0000000] pcmcia0 at pcic0 controller 0 socket 0
[ 1.0000000] pcmcia1 at pcic0 controller 0 socket 1
[ 1.0000000] attimer0: attached to pcppi0
[ 1.0000000] WARNING: system needs entropy for security; see entropy(7)
[ 1.0129205] scsibus0: waiting 2 seconds for devices to settle...
[ 1.0861433] pcic0: controller 0 detecting irqs with mask 0xdeb8:[ 1.1603437] stray isa irq 14
[ 1.1935751] stray isa irq 14
[ 1.2278870] stray isa irq 14
[ 1.2622108] stray isa irq 14
[ 1.2965359] stray isa irq 14; stopped logging
[ 1.3527190] none
[ 1.3746522] pcic0: no available irq; polling for socket events
pcic0: WARNING: powerhook_establish is deprecated
pcic0: WARNING: powerhook_establish is deprecated
[ 3.7843726] fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
[ 4.1544956] sd0 at scsibus0 target 2 lun 0: <RaSCSI, FBSE15.2S, 0134> disk fixed
[ 4.2462876] sd0: 15279 MB, 156466 cyl, 8 head, 25 sec, 512 bytes/sect x 31293360 sectors
[ 4.3449163] sd0: async, 8-bit transfers
[ 4.7072204] sd1 at scsibus0 target 4 lun 0: <RaSCSI, PRODRIVE LPS283S, 0134> disk fixed
[ 4.8058407] sd1: 283 MB, 2903 cyl, 8 head, 25 sec, 512 bytes/sect x 580672 sectors
[ 4.8986278] sd1: async, 8-bit transfers
[ 4.9513594] sd2 at scsibus0 target 5 lun 0: <RaSCSI, PRODRIVE LPS226S, 0134> disk fixed
[ 5.0499814] sd2: 226 MB, 2322 cyl, 8 head, 25 sec, 512 bytes/sect x 464516 sectors
[ 5.1427608] sd2: async, 8-bit transfers
[ 6.7833772] swwdog0: software watchdog initialized
[ 6.8741933] sd1: no disk label
[ 6.9142438] sd1: no disk label
[ 6.9601155] sd2: no disk label
[ 7.0001583] sd2: no disk label
[ 7.0392343] WARNING: 3 errors while detecting hardware; check system log.
[ 7.1242005] root on sd0a dumps on sd0b
[ 7.2179512] entropy: best effort
[ 7.2550569] root file system type: ffs
[ 7.3156072] kern.module.path=/stand/alpha/10.99.12/modules
Enter pathname of shell or RETURN for /bin/sh:
# exit
Sat Dec 14 15:31:44 UTC 2024
Starting root file system check:
/dev/rsd0a: file system is clean; not checking
Setting sysctl variables:
ddb.onpanic: 1 -> 0
swapctl: setting dump device to /dev/sd0b
swapctl: adding /dev/sd0b as swap device at priority 0
Starting file system checks:
rndctl: no entropy in seed
Waiting for entropy...done
Setting tty flags.
Starting network.
/etc/rc: WARNING: $hostname not set.
IPv6 mode: host
Configuring network interfaces:.
Adding interface aliases:.
Waiting for duplicate address detection to finish...
Building databases: dev, utmp, utmpx.
Starting syslogd.
Mounting all file systems...
Clearing temporary files.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
swapctl: setting dump device to /dev/sd0b
Starting virecover.
Checking for core dump...
savecore: no core dump
Starting local daemons:.
Updating motd.
/usr/sbin/postconf: warning: valid_hostname: empty hostname
/usr/sbin/postconf: fatal: unable to use my own hostname
Starting postfix.
postfix: warning: valid_hostname: empty hostname
postfix: fatal: unable to use my own hostname
Dec 14 15:33:02 postfix[721]: fatal: unable to use my own hostname
/etc/rc.d/postfix exited with code 1
Starting inetd.
Starting cron.
The following components reported failures:
/etc/rc.d/postfix
See /var/run/rc.log for more information.
Sat Dec 14 15:33:08 UTC 2024
NetBSD/alpha (Amnesiac) (constty)
login: root
Password:
Dec 14 15:42:59 login: ROOT LOGIN (root) on tty constty
Last login: Sat Dec 14 15:24:57 2024 on constty
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
2024
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 10.99.12 (GENERIC-$Revision: 1.421 $) #4: Sat Dec 14 15:16:36 UTC 2024
Welcome to NetBSD!
We recommend that you create a non-root account and use su(1) for root access.
# uname -a
NetBSD 10.99.12 NetBSD 10.99.12 (GENERIC-$Revision: 1.421 $) #4: Sat Dec 14 15:16:36 UTC 2024 naruaki@:/usr/obj.alpha/sys/arch/alpha/compile/GENERIC alpha
#
Home |
Main Index |
Thread Index |
Old Index