NetBSD Problem Report #46776
From www@NetBSD.org Mon Aug 6 21:46:37 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id 2FCD463B882
for <gnats-bugs@gnats.NetBSD.org>; Mon, 6 Aug 2012 21:46:37 +0000 (UTC)
Message-Id: <20120806214636.0C01E63B85F@www.NetBSD.org>
Date: Mon, 6 Aug 2012 21:46:36 +0000 (UTC)
From: vezhlys@gmail.com
Reply-To: vezhlys@gmail.com
To: gnats-bugs@NetBSD.org
Subject: NetBSD alpha crashes with Delock 81940 multifunction PCI card
X-Send-Pr-Version: www-1.0
>Number: 46776
>Category: port-alpha
>Synopsis: NetBSD alpha crashes with Delock 81940 multifunction PCI card
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: port-alpha-maintainer
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Aug 06 21:50:00 +0000 2012
>Closed-Date: Mon May 08 20:07:12 +0000 2023
>Last-Modified: Mon May 08 20:07:12 +0000 2023
>Originator: Andrius V
>Release: NetBSD-6 BETA
>Organization:
>Environment:
NetBSD 6.0_BETA NetBSD 6.0_BETA (GENERIC-$Revision: 1.343 $) alpha
>Description:
NetBSD alpha crashes into ddb with Delock 81940 multifunction PCI card (USB, SATA/IDE controllers) installed on Microway Screamer 400 (DEC AlphaPC 164 clone). It has VIA VT6214L (USB controller) and VIA VT6421A (SATA/IDE controller) chips. I used it on 5.1.x release (including 5.1.2) and netbsd "current" at the end of 2011. Because of this I can't tell when it broke. I can confirm that this problem still exists on current netbsd-6 branch. The only caveat that 5.1 version didn't configure USB controller at all but NetBSD still booted successfully:
from NetBSD 5.1.2 boot log:
uhci0 at pci0 dev 9 function 0: Reply Group product 0x3038 (rev. 0x61)
uhci0: can't map i/o space
VIA Technologies VT83C572 USB Controller (USB serial bus, interface 0x01, revisi
on 0x61) at pci0 dev 9 function 1 not configured
ehci0 at pci0 dev 9 function 2: Reply Group product 0x3249 (rev. 0x63)
ehci0: can't map memory space
NetBSD 6.0 BETA boot log:
(boot dqa0.0.0.11.0 -flags A)
block 0 of dqa0.0.0.11.0 is a valid boot block
reading 13 blocks from dqa0.0.0.11.0
bootstrap code read in
base = 180000, image_start = 0, image_bytes = 1a00
initializing HWRPB at 2000
initializing page table at 172000
initializing machine state
setting affinity to the primary CPU
jumping to bootstrap code
NetBSD/alpha 6.0_BETA FFS Primary Bootstrap
Jumping to entry point...
NetBSD/alpha 6.0_BETA Secondary Bootstrap, Revision 1.13
VMS PAL rev: 0x1000900010115
OSF PAL rev: 0x1000800020117
Switch to OSF PAL code succeeded.
Boot flags: A
10292224+302904 [563808+374940]=0xb00638
Entering netbsd at 0xfffffc0000431230...
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011, 2012
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 6.0_BETA (GENERIC-$Revision: 1.343 $)
Digital AlphaPC 164 500 MHz, s/n
8192 byte page size, 1 processor.
total memory = 256 MB
(2472 KB reserved for PROM, 253 MB used by NetBSD)
avail memory = 239 MB
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21164A-2
cpu0: Architecture extensions: 0x1<BWX>
cia0 at mainbus0: DECchip 2117x Core Logic Chipset (ALCOR/ALCOR2), pass 3
cia0: extended capabilities: 0x21<DWEN,BWEN>
cia0: using BWX for PCI config access
pci0 at cia0 bus 0
vga0 at pci0 dev 5 function 0: S3 ViRGE/DX (rev. 0x01)
wsdisplay0 at vga0 kbdmux 1
drm at vga0 not configured
ahc0 at pci0 dev 6 function 0: Adaptec 29160B Ultra160 SCSI adapter
ahc0: interrupting at eb164 irq 0
ahc0: aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
scsibus0 at ahc0: 16 targets, 8 luns per target
vr0 at pci0 dev 7 function 0: VIA Technologies VT6105 (Rhine III) 10/100 Ethern)
vr0: interrupting at eb164 irq 1
vr0: Ethernet address: 00:0d:88:b2:ab:da
ukphy0 at vr0 phy 1: OUI 0x0002c6, model 0x0034, rev. 4
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sio0 at pci0 dev 8 function 0: Intel 82378ZB System I/O (rev. 0x43)
uhci0 at pci0 dev 9 function 0: Reply Group product 0x3038 (rev. 0x61)
(null):
mces = 0x1
vector = 0x660
param = 0xfffffc0000006060
pc = 0xfffffc00004e6268
ra = 0xfffffc0000a356a0
code = 0x20f
curlwp = 0xfffffc0000ddbac0
pid = 0.1, comm = system
panic: machine check
Stopped in pid 0.1 (system) at netbsd:cpu_Debugger+0x4: ret zero,(ra
)
db>
>How-To-Repeat:
Install NetBSD into hdd and boot with Delock card installed.
>Fix:
>Release-Note:
>Audit-Trail:
From: David Brownlee <abs@netbsd.org>
To: vezhlys@gmail.com, gnats-bugs@netbsd.org
Cc: port-alpha-maintainer@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: port-alpha/46776: NetBSD alpha crashes with Delock 81940
multifunction PCI card
Date: Tue, 7 Aug 2012 17:10:37 +0100
Out of curiosity does 6.0 boot successfully if you disable uhci -
either from building a custom kernel or booting with -c to enter
userconf(4) and using "disable uhci"
On 6 August 2012 22:50, <vezhlys@gmail.com> wrote:
>>Number: 46776
>>Category: port-alpha
>>Synopsis: NetBSD alpha crashes with Delock 81940 multifunction PCI =
card
>>Confidential: no
>>Severity: non-critical
>>Priority: medium
>>Responsible: port-alpha-maintainer
>>State: open
>>Class: sw-bug
>>Submitter-Id: net
>>Arrival-Date: Mon Aug 06 21:50:00 +0000 2012
>>Originator: Andrius V
>>Release: NetBSD-6 BETA
>>Organization:
>>Environment:
> NetBSD 6.0_BETA NetBSD 6.0_BETA (GENERIC-$Revision: 1.343 $) alpha
>>Description:
> NetBSD alpha crashes into ddb with Delock 81940 multifunction PCI card (U=
SB, SATA/IDE controllers) installed on Microway Screamer 400 (DEC AlphaPC 1=
64 clone). It has VIA VT6214L (USB controller) and VIA VT6421A (SATA/IDE co=
ntroller) chips. I used it on 5.1.x release (including 5.1.2) and netbsd "c=
urrent" at the end of 2011. Because of this I can't tell when it broke. I c=
an confirm that this problem still exists on current netbsd-6 branch. The o=
nly caveat that 5.1 version didn't configure USB controller at all but NetB=
SD still booted successfully:
>
> from NetBSD 5.1.2 boot log:
> uhci0 at pci0 dev 9 function 0: Reply Group product 0x3038 (rev. 0x61)
> uhci0: can't map i/o space
> VIA Technologies VT83C572 USB Controller (USB serial bus, interface 0x01,=
revisi
> on 0x61) at pci0 dev 9 function 1 not configured
> ehci0 at pci0 dev 9 function 2: Reply Group product 0x3249 (rev. 0x63)
> ehci0: can't map memory space
>
> NetBSD 6.0 BETA boot log:
> (boot dqa0.0.0.11.0 -flags A)
> block 0 of dqa0.0.0.11.0 is a valid boot block
> reading 13 blocks from dqa0.0.0.11.0
> bootstrap code read in
> base =3D 180000, image_start =3D 0, image_bytes =3D 1a00
> initializing HWRPB at 2000
> initializing page table at 172000
> initializing machine state
> setting affinity to the primary CPU
> jumping to bootstrap code
>
> NetBSD/alpha 6.0_BETA FFS Primary Bootstrap
> Jumping to entry point...
>
> NetBSD/alpha 6.0_BETA Secondary Bootstrap, Revision 1.13
>
> VMS PAL rev: 0x1000900010115
> OSF PAL rev: 0x1000800020117
> Switch to OSF PAL code succeeded.
>
> Boot flags: A
> 10292224+302904 [563808+374940]=3D0xb00638
>
> Entering netbsd at 0xfffffc0000431230...
> Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
> 2006, 2007, 2008, 2009, 2010, 2011, 2012
> 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 6.0_BETA (GENERIC-$Revision: 1.343 $)
> Digital AlphaPC 164 500 MHz, s/n
> 8192 byte page size, 1 processor.
> total memory =3D 256 MB
> (2472 KB reserved for PROM, 253 MB used by NetBSD)
> avail memory =3D 239 MB
> mainbus0 (root)
> cpu0 at mainbus0: ID 0 (primary), 21164A-2
> cpu0: Architecture extensions: 0x1<BWX>
> cia0 at mainbus0: DECchip 2117x Core Logic Chipset (ALCOR/ALCOR2), pass 3
> cia0: extended capabilities: 0x21<DWEN,BWEN>
> cia0: using BWX for PCI config access
> pci0 at cia0 bus 0
> vga0 at pci0 dev 5 function 0: S3 ViRGE/DX (rev. 0x01)
> wsdisplay0 at vga0 kbdmux 1
> drm at vga0 not configured
> ahc0 at pci0 dev 6 function 0: Adaptec 29160B Ultra160 SCSI adapter
> ahc0: interrupting at eb164 irq 0
> ahc0: aic7892: Ultra160 Wide Channel A, SCSI Id=3D7, 32/253 SCBs
> scsibus0 at ahc0: 16 targets, 8 luns per target
> vr0 at pci0 dev 7 function 0: VIA Technologies VT6105 (Rhine III) 10/100 =
Ethern)
> vr0: interrupting at eb164 irq 1
> vr0: Ethernet address: 00:0d:88:b2:ab:da
> ukphy0 at vr0 phy 1: OUI 0x0002c6, model 0x0034, rev. 4
> ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> sio0 at pci0 dev 8 function 0: Intel 82378ZB System I/O (rev. 0x43)
> uhci0 at pci0 dev 9 function 0: Reply Group product 0x3038 (rev. 0x61)
>
> (null):
>
> mces =3D 0x1
> vector =3D 0x660
> param =3D 0xfffffc0000006060
> pc =3D 0xfffffc00004e6268
> ra =3D 0xfffffc0000a356a0
> code =3D 0x20f
> curlwp =3D 0xfffffc0000ddbac0
> pid =3D 0.1, comm =3D system
>
> panic: machine check
> Stopped in pid 0.1 (system) at netbsd:cpu_Debugger+0x4: ret z=
ero,(ra
> )
> db>
>>How-To-Repeat:
> Install NetBSD into hdd and boot with Delock card installed.
>>Fix:
>
From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: port-alpha-maintainer@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: re: port-alpha/46776: NetBSD alpha crashes with Delock 81940 multifunction PCI card
Date: Wed, 08 Aug 2012 07:09:54 +1000
can you provide the backtrace? "bt" from ddb works.
thanks.
.mrg.
From: Andrius V <vezhlys@gmail.com>
To: David Brownlee <abs@netbsd.org>
Cc: gnats-bugs@netbsd.org, port-alpha-maintainer@netbsd.org,
gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: port-alpha/46776: NetBSD alpha crashes with Delock 81940
multifunction PCI card
Date: Wed, 8 Aug 2012 09:47:23 +0300
Yes, it boots with custom built kernel.
On Tue, Aug 7, 2012 at 7:10 PM, David Brownlee <abs@netbsd.org> wrote:
> Out of curiosity does 6.0 boot successfully if you disable uhci -
> either from building a custom kernel or booting with -c to enter
> userconf(4) and using "disable uhci"
>
> On 6 August 2012 22:50, <vezhlys@gmail.com> wrote:
>>>Number: 46776
>>>Category: port-alpha
>>>Synopsis: NetBSD alpha crashes with Delock 81940 multifunction PCI=
card
>>>Confidential: no
>>>Severity: non-critical
>>>Priority: medium
>>>Responsible: port-alpha-maintainer
>>>State: open
>>>Class: sw-bug
>>>Submitter-Id: net
>>>Arrival-Date: Mon Aug 06 21:50:00 +0000 2012
>>>Originator: Andrius V
>>>Release: NetBSD-6 BETA
>>>Organization:
>>>Environment:
>> NetBSD 6.0_BETA NetBSD 6.0_BETA (GENERIC-$Revision: 1.343 $) alpha
>>>Description:
>> NetBSD alpha crashes into ddb with Delock 81940 multifunction PCI card (=
USB, SATA/IDE controllers) installed on Microway Screamer 400 (DEC AlphaPC =
164 clone). It has VIA VT6214L (USB controller) and VIA VT6421A (SATA/IDE c=
ontroller) chips. I used it on 5.1.x release (including 5.1.2) and netbsd "=
current" at the end of 2011. Because of this I can't tell when it broke. I =
can confirm that this problem still exists on current netbsd-6 branch. The =
only caveat that 5.1 version didn't configure USB controller at all but Net=
BSD still booted successfully:
>>
>> from NetBSD 5.1.2 boot log:
>> uhci0 at pci0 dev 9 function 0: Reply Group product 0x3038 (rev. 0x61)
>> uhci0: can't map i/o space
>> VIA Technologies VT83C572 USB Controller (USB serial bus, interface 0x01=
, revisi
>> on 0x61) at pci0 dev 9 function 1 not configured
>> ehci0 at pci0 dev 9 function 2: Reply Group product 0x3249 (rev. 0x63)
>> ehci0: can't map memory space
>>
>> NetBSD 6.0 BETA boot log:
>> (boot dqa0.0.0.11.0 -flags A)
>> block 0 of dqa0.0.0.11.0 is a valid boot block
>> reading 13 blocks from dqa0.0.0.11.0
>> bootstrap code read in
>> base =3D 180000, image_start =3D 0, image_bytes =3D 1a00
>> initializing HWRPB at 2000
>> initializing page table at 172000
>> initializing machine state
>> setting affinity to the primary CPU
>> jumping to bootstrap code
>>
>> NetBSD/alpha 6.0_BETA FFS Primary Bootstrap
>> Jumping to entry point...
>>
>> NetBSD/alpha 6.0_BETA Secondary Bootstrap, Revision 1.13
>>
>> VMS PAL rev: 0x1000900010115
>> OSF PAL rev: 0x1000800020117
>> Switch to OSF PAL code succeeded.
>>
>> Boot flags: A
>> 10292224+302904 [563808+374940]=3D0xb00638
>>
>> Entering netbsd at 0xfffffc0000431230...
>> Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005=
,
>> 2006, 2007, 2008, 2009, 2010, 2011, 2012
>> 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 6.0_BETA (GENERIC-$Revision: 1.343 $)
>> Digital AlphaPC 164 500 MHz, s/n
>> 8192 byte page size, 1 processor.
>> total memory =3D 256 MB
>> (2472 KB reserved for PROM, 253 MB used by NetBSD)
>> avail memory =3D 239 MB
>> mainbus0 (root)
>> cpu0 at mainbus0: ID 0 (primary), 21164A-2
>> cpu0: Architecture extensions: 0x1<BWX>
>> cia0 at mainbus0: DECchip 2117x Core Logic Chipset (ALCOR/ALCOR2), pass =
3
>> cia0: extended capabilities: 0x21<DWEN,BWEN>
>> cia0: using BWX for PCI config access
>> pci0 at cia0 bus 0
>> vga0 at pci0 dev 5 function 0: S3 ViRGE/DX (rev. 0x01)
>> wsdisplay0 at vga0 kbdmux 1
>> drm at vga0 not configured
>> ahc0 at pci0 dev 6 function 0: Adaptec 29160B Ultra160 SCSI adapter
>> ahc0: interrupting at eb164 irq 0
>> ahc0: aic7892: Ultra160 Wide Channel A, SCSI Id=3D7, 32/253 SCBs
>> scsibus0 at ahc0: 16 targets, 8 luns per target
>> vr0 at pci0 dev 7 function 0: VIA Technologies VT6105 (Rhine III) 10/100=
Ethern)
>> vr0: interrupting at eb164 irq 1
>> vr0: Ethernet address: 00:0d:88:b2:ab:da
>> ukphy0 at vr0 phy 1: OUI 0x0002c6, model 0x0034, rev. 4
>> ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>> sio0 at pci0 dev 8 function 0: Intel 82378ZB System I/O (rev. 0x43)
>> uhci0 at pci0 dev 9 function 0: Reply Group product 0x3038 (rev. 0x61)
>>
>> (null):
>>
>> mces =3D 0x1
>> vector =3D 0x660
>> param =3D 0xfffffc0000006060
>> pc =3D 0xfffffc00004e6268
>> ra =3D 0xfffffc0000a356a0
>> code =3D 0x20f
>> curlwp =3D 0xfffffc0000ddbac0
>> pid =3D 0.1, comm =3D system
>>
>> panic: machine check
>> Stopped in pid 0.1 (system) at netbsd:cpu_Debugger+0x4: ret =
zero,(ra
>> )
>> db>
>>>How-To-Repeat:
>> Install NetBSD into hdd and boot with Delock card installed.
>>>Fix:
>>
From: Andrius V <vezhlys@gmail.com>
To: matthew green <mrg@eterna.com.au>
Cc: gnats-bugs@netbsd.org, port-alpha-maintainer@netbsd.org,
gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: port-alpha/46776: NetBSD alpha crashes with Delock 81940
multifunction PCI card
Date: Wed, 8 Aug 2012 09:48:41 +0300
Yes, no problem:
cpu_Debugger() at netbsd:cpu_Debugger+0x4
vpanic() at netbsd:vpanic+0x274
panic() at netbsd:panic+0x54
machine_check() at netbsd:machine_check+0x2a0
interrupt() at netbsd:interrupt+0x270
XentInt() at netbsd:XentInt+0x1c
--- interrupt (from ipl 6) ---
cia_swiz_io_read_2() at netbsd:cia_swiz_io_read_2+0x18
uhci_pci_attach() at netbsd:uhci_pci_attach+0x100
config_attach_loc() at netbsd:config_attach_loc+0x298
pci_probe_device() at netbsd:pci_probe_device+0x5b8
pci_enumerate_bus() at netbsd:pci_enumerate_bus+0x210
pcirescan() at netbsd:pcirescan+0x3c
pciattach() at netbsd:pciattach+0x294
config_attach_loc() at netbsd:config_attach_loc+0x298
ciaattach() at netbsd:ciaattach+0x2c0
config_attach_loc() at netbsd:config_attach_loc+0x298
mbattach() at netbsd:mbattach+0x164
config_attach_loc() at netbsd:config_attach_loc+0x298
cpu_configure() at netbsd:cpu_configure+0x30
main() at netbsd:main+0x5b8
locorestart() at netbsd:locorestart+0x64
--- root of call graph ---
On Wed, Aug 8, 2012 at 12:09 AM, matthew green <mrg@eterna.com.au> wrote:
>
> can you provide the backtrace? "bt" from ddb works.
>
> thanks.
>
>
> .mrg.
From: Martin Husemann <martin@duskware.de>
To: Andrius V <vezhlys@gmail.com>
Cc: matthew green <mrg@eterna.com.au>, gnats-bugs@netbsd.org,
port-alpha-maintainer@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: port-alpha/46776: NetBSD alpha crashes with Delock 81940 multifunction PCI card
Date: Wed, 8 Aug 2012 09:22:01 +0200
On Wed, Aug 08, 2012 at 09:48:41AM +0300, Andrius V wrote:
> cia_swiz_io_read_2() at netbsd:cia_swiz_io_read_2+0x18
> uhci_pci_attach() at netbsd:uhci_pci_attach+0x100
Could you add a printf before each of the two calls to
bus_space_read_2() in src/sys/dev/pci/uhci_pci.c:uhci_pci_attach so we
know which one of those causes the trap?
Martin
From: Andrius V <vezhlys@gmail.com>
To: Martin Husemann <martin@duskware.de>
Cc: matthew green <mrg@eterna.com.au>, gnats-bugs@netbsd.org,
port-alpha-maintainer@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: port-alpha/46776: NetBSD alpha crashes with Delock 81940
multifunction PCI card
Date: Fri, 10 Aug 2012 02:04:25 +0300
Sorry for the late reply.
I was wrong that BETA and current netbsd-6 BETA2 kernel (fetched
sources from cvs) had the same problem. I probably didn't pay
attention that system was crashing at different points. Nevertheless,
the system still crashed during boot (copied dmesg and backtrace
below). I noticed that if I put SCSI card on higher PCI slot than
multifunction card then system boots ok (card is useless anyway but
system works ok). So I don't know if PR is still valid but on NetBSD 5
multifunction card didn't cause the crash on my previous setup
(multifunction card before SCSI card).
dmesg (when crashed)
NetBSD 6.0_BETA2 (GENERIC-$Revision: 1.343 $) #0: Fri Aug 10 00:11:00 EEST 2012
andrius@agraphic2.VIDANDRIUS:/usr/src/sys/arch/alpha/compile/GENERIC
Digital AlphaPC 164 500 MHz, s/n
8192 byte page size, 1 processor.
total memory = 256 MB
(2472 KB reserved for PROM, 253 MB used by NetBSD)
avail memory = 239 MB
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21164A-2
cpu0: Architecture extensions: 0x1<BWX>
cia0 at mainbus0: DECchip 2117x Core Logic Chipset (ALCOR/ALCOR2), pass 3
cia0: extended capabilities: 0x21<DWEN,BWEN>
cia0: using BWX for PCI config access
pci0 at cia0 bus 0
vga0 at pci0 dev 5 function 0: S3 ViRGE/DX (rev. 0x01)
wsdisplay0 at vga0 kbdmux 1
drm at vga0 not configured
ahc0 at pci0 dev 6 function 0: Adaptec 29160B Ultra160 SCSI adapter
ahc0: interrupting at eb164 irq 0
ahc0: aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
scsibus0 at ahc0: 16 targets, 8 luns per target
vr0 at pci0 dev 7 function 0: VIA Technologies VT6105 (Rhine III) 10/100 Ethern)
vr0: interrupting at eb164 irq 1
vr0: Ethernet address: 00:0d:88:b2:ab:da
ukphy0 at vr0 phy 1: OUI 0x0002c6, model 0x0034, rev. 4
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sio0 at pci0 dev 8 function 0: Intel 82378ZB System I/O (rev. 0x43)
uhci0 at pci0 dev 9 function 0: VIA Technologies VT83C572 USB Controller (rev. )
uhci0: interrupting at eb164 irq 3
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 9 function 1: VIA Technologies VT83C572 USB Controller (rev. )
uhci1: interrupting at eb164 irq 0
uhci1: controller did not reset
uhci1: cannot start
uhci1: init failed, error=13
ehci0 at pci0 dev 9 function 2: VIA Technologies VT8237 EHCI USB Controller (re)
ehci0: interrupting at eb164 irq 0
ehci0: dropped intr workaround enabled
ehci0: companion controller, 15 ports each: uhci0
ehci0: reset timeout
ehci0: init failed, error=13
viaide0 at pci0 dev 9 function 3: VIA Technologies VT6421 Serial ATA RAID Contr)
viaide0: I/O access disabled at device
cmdide0 at pci0 dev 11 function 0: CMD Technology PCI0646 (rev. 0x01)
cmdide0: primary channel wired to compatibility mode
cmdide0: primary channel interrupting at isa irq 14
atabus0 at cmdide0 channel 0
cmdide0: secondary channel wired to compatibility mode
cmdide0: secondary channel interrupting at isa irq 15
atabus1 at cmdide0 channel 1
isa0 at sio0
lpt0 at isa0 port 0x3bc-0x3bf irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 mux 1
attimer0 at isa0 port 0x40-0x43
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
isabeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
mcclock0 at isa0 port 0x70-0x71: mc146818 compatible time-of-day clock
attimer0: attached to pcppi0
scsibus0: waiting 2 seconds for devices to settle...
atapibus0 at atabus0: 2 targets
uhub0 at usb0: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
cd0 at atapibus0 drive 1: <HL-DT-ST DVDRAM GSA-4163B, K294CBE5602, A105> cdrom e
wd0 at atabus0 drive 0
wd0: <FUJITSU MPE3043AE>
wd0: 4132 MB, 8956 cyl, 15 head, 63 sec, 512 bytes/sect x 8464142 sectors
uhci1: host system error
uhci1: host controller process error
uhci1: host controller halted
panic: softint_picklwp
Stopped in pid 0.5 (system) at netbsd:cpu_Debugger+0x4: ret zero,(ra
)
db> bt
cpu_Debugger() at netbsd:cpu_Debugger+0x4
vpanic() at netbsd:vpanic+0x274
panic() at netbsd:panic+0x54
softint_picklwp() at netbsd:softint_picklwp+0xa0
mi_switch() at netbsd:mi_switch+0x400
softint_thread() at netbsd:softint_thread+0x1a8
exception_return() at netbsd:exception_return
--- root of call graph ---
dmesg then multifunction card is below SCSI card:
NetBSD 6.0_BETA2 (GENERIC-$Revision: 1.343 $) #0: Fri Aug 10 00:11:00 EEST 2012
andrius@agraphic2.VIDANDRIUS:/usr/src/sys/arch/alpha/compile/GENERIC
Digital AlphaPC 164 500 MHz, s/n
8192 byte page size, 1 processor.
total memory = 256 MB
(2472 KB reserved for PROM, 253 MB used by NetBSD)
avail memory = 239 MB
timecounter: Timecounters tick every 0.976 msec
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21164A-2
cpu0: Architecture extensions: 0x1<BWX>
cia0 at mainbus0: DECchip 2117x Core Logic Chipset (ALCOR/ALCOR2), pass 3
cia0: extended capabilities: 0x21<DWEN,BWEN>
cia0: using BWX for PCI config access
pci0 at cia0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
vga0 at pci0 dev 5 function 0: S3 ViRGE/DX (rev. 0x01)
wsdisplay0 at vga0 kbdmux 1
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
uhci0 at pci0 dev 6 function 0: VIA Technologies VT83C572 USB Controller (rev.x)
uhci0: interrupting at eb164 irq 0
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 6 function 1: VIA Technologies VT83C572 USB Controller (rev.x)
uhci1: interrupting at eb164 irq 0
uhci1: controller did not reset
uhci1: cannot start
uhci1: init failed, error=13
ehci0 at pci0 dev 6 function 2: VIA Technologies VT8237 EHCI USB Controller (r.)
ehci0: interrupting at eb164 irq 0
ehci0: dropped intr workaround enabled
ehci0: EHCI version ff.ff
ehci0: wrong number of companions (15 != 1)
ehci0: companion controller, 15 ports each: uhci0
ehci0: reset timeout
ehci0: init failed, error=13
ller (rev. 0x50)
viaide0: I/O access disabled at device
ahc0 at pci0 dev 7 function 0: Adaptec 29160B Ultra160 SCSI adapter
ahc0: interrupting at eb164 irq 1
ahc0: aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
scsibus0 at ahc0: 16 targets, 8 luns per target
sio0 at pci0 dev 8 function 0: Intel 82378ZB System I/O (rev. 0x43)
vr0 at pci0 dev 9 function 0: VIA Technologies VT6105 (Rhine III) 10/100 Ethert)
vr0: interrupting at eb164 irq 3
vr0: Ethernet address: 00:0d:88:b2:ab:da
ukphy0 at vr0 phy 1: OUI 0x0002c6, model 0x0034, rev. 4
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
cmdide0 at pci0 dev 11 function 0: CMD Technology PCI0646 (rev. 0x01)
cmdide0: bus-master DMA support present
cmdide0: primary channel wired to compatibility mode
cmdide0: primary channel interrupting at isa irq 14
atabus0 at cmdide0 channel 0
cmdide0: secondary channel wired to compatibility mode
cmdide0: secondary channel interrupting at isa irq 15
atabus1 at cmdide0 channel 1
isa0 at sio0
lpt0 at isa0 port 0x3bc-0x3bf irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 mux 1
wskbd0: connecting to wsdisplay0
attimer0 at isa0 port 0x40-0x43
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
isabeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
mcclock0 at isa0 port 0x70-0x71: mc146818 compatible time-of-day clock
attimer0: attached to pcppi0
timecounter: Timecounter "clockinterrupt" frequency 1024 Hz quality 0
timecounter: Timecounter "PCC" frequency 500004480 Hz quality 1000
scsibus0: waiting 2 seconds for devices to settle...
atapibus0 at atabus0: 2 targets
uhub0 at usb0: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
emovable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
wd0 at atabus0 drive 0
wd0: <FUJITSU MPE3043AE>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 4132 MB, 8956 cyl, 15 head, 63 sec, 512 bytes/sect x 8464142 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
wd0(cmdide0:0:0): using PIO mode 4, DMA mode 2 (using DMA)
cd0(cmdide0:0:1): using PIO mode 4, DMA mode 2 (using DMA)
sd0 at scsibus0 target 0 lun 0: <FUJITSU, MAN3184MP, 4701> disk fixed
sd0: 17522 MB, 30050 cyl, 2 head, 597 sec, 512 bytes/sect x 35885448 sectors
sd0: sync (12.50ns offset 127), 16-bit (160.000MB/s) transfers, tagged queueing
Kernelized RAIDframe activated
cmdide0:0:0: lost interrupt
type: ata tc_bcount: 512 tc_skip: 0
cmdide0:0:0: bus-master DMA error: missing interrupt, status=0x61
wd0: transfer error, downgrading to PIO mode 4
wd0(cmdide0:0:0): using PIO mode 4
cd0(cmdide0:0:1): using PIO mode 4, DMA mode 2 (using DMA)
wd0c: DMA error reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0: soft error (corrected)
root on wd0a dumps on wd0b
root file system type: ffs
On Wed, Aug 8, 2012 at 10:22 AM, Martin Husemann <martin@duskware.de> wrote:
> On Wed, Aug 08, 2012 at 09:48:41AM +0300, Andrius V wrote:
>> cia_swiz_io_read_2() at netbsd:cia_swiz_io_read_2+0x18
>> uhci_pci_attach() at netbsd:uhci_pci_attach+0x100
>
> Could you add a printf before each of the two calls to
> bus_space_read_2() in src/sys/dev/pci/uhci_pci.c:uhci_pci_attach so we
> know which one of those causes the trap?
>
> Martin
State-Changed-From-To: open->closed
State-Changed-By: andvar@NetBSD.org
State-Changed-When: Mon, 08 May 2023 20:07:12 +0000
State-Changed-Why:
closing my old PR, which is a bit of mess.
my Microway Screamer board is dead by now and I have no chance neither retest nor debug the issue. Additionally, some Alpha machines may have had incompatibilities between 64-bit PCI slots and 32-bit PCI cards, I wouldn’t rule out that I was hitting some system limitations.
>Unformatted:
(Contact us)
$NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.