OpenBSD/hppa port B1000 PCI bug during load of existing cardbus adapter driver

2013-02-17 Thread Ivan Solonin

Hello.

I've tested 2 different PCI PCMCIA/CardBus adapters known to OpenBSD 
with the latest snapshot GENERIC kernel but no one of them has reached 
operational state. Both adapters work on i386 machines.

chip RICOH R5C475II:


OpenBSD/hppa BOOT 1.2

boot
booting dk5a:/bsd: 4190208+1253376+606208 [80+203648+186846]=0x6a5774
SPID bits: 0xfe0, error = 0
pdc_coproc: 0xc0, 0xc0; model 10 rev 1
WARNING: BTLB purge failed
WARNING: cannot block map kernel text
[ using 391028 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2013 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 5.3-beta (GENERIC) #27: Fri Feb 15 20:09:52 MST 2013
dera...@hppa.openbsd.org:/usr/src/sys/arch/hppa/compile/GENERIC
HP 9000/785/B1000 (AllegroLow W) PA-RISC 2.0a
real mem = 1073741824 (1024MB)
rsvd mem = 524288 (512KB)
avail mem = 1045942272 (997MB)
mainbus0 at root [flex fff8]
pdc0 at mainbus0
power0 at mainbus0 offset 400804
lcd0 at mainbus0 offset 5d0008: model 0
cpu0 at mainbus0 offset ffa irq 31: PCXW L1-A 300MHz, FPU PCXW rev 1
cpu0: 512K(64b/l) Icache, 1024K(64b/l) wr-back Dcache, 160 coherent TLB
mem0 at mainbus0 offset ed10200: size 1024MB
astro0 at mainbus0 offset ed0: Astro rev 2.1
elroy0 at astro0 offset ed3c000: Elroy TR2.1 APIC ver 20, 7 pins
pci0 at elroy0
elroy1 at astro0 offset ed38000: Elroy TR2.1 APIC ver 20, 7 pins
pci1 at elroy1
elroy2 at astro0 offset ed32000: Elroy TR2.1 APIC ver 20, 7 pins
pci2 at elroy2
cbb0 at pci2 dev 5 function 0 Ricoh 5C475 CardBus rev 0x80can't map registers
elroy3 at astro0 offset ed3: Elroy TR2.1 APIC ver 20, 7 pins
pci3 at elroy3
dc0 at pci3 dev 12 function 0 DEC 21142/3 rev 0x41: line 2 irq 2, address 
00:10:83:36:20:0b
lxtphy0 at dc0 phy 1: LXT970 10/100 PHY, rev. 3
Analog Devices AD1889 Audio rev 0x00 at pci3 dev 13 function 0 not configured
pciide0 at pci3 dev 14 function 0 NS PC87415 IDE rev 0x03: DMA, channel 0 
configured to native-PCI, channel

1 configured to native-PCI
pciide0: using line 0 irq 3 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: QUANTUM FIREBALL SE2.1A
wd0: 16-sector PIO, LBA, 2014MB, 4124736 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: TEAC, CD-532E-B, 2.0A ATAPI 5/cdrom removable
wd0(pciide0:0:0): using BIOS timings, DMA mode 2
cd0(pciide0:0:1): using BIOS timings, DMA mode 2
ssio0 at pci3 dev 14 function 1 NS 87560 Legacy I/O rev 0x01: line 0 irq 3
com0 at ssio0 offset 3f8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at ssio0 offset 2f8 irq 3: ns16550a, 16 byte fifo
lpt0 at ssio0 offset 378 irq 7
ohci0 at pci3 dev 14 function 2 NS USB rev 0x02: line 0 irq 3, version 1.0, 
legacy support
siop0 at pci3 dev 15 function 0 Symbios Logic 53c896 rev 0x04: line 1 irq 5, 
using 8K of on-board RAM
scsibus1 at siop0: 16 targets, initiator 7
siop0: switching to single-ended mode
siop1 at pci3 dev 15 function 1 Symbios Logic 53c896 rev 0x04: line 1 irq 5, 
using 8K of on-board RAM
scsibus2 at siop1: 16 targets, initiator 7
sd0 at scsibus2 targ 5 lun 0: SEAGATE, ST336607LC, 0007 SCSI3 0/direct fixed

serial.SEAGATE_ST336607LC_3JAX0RVN7516ZSR5
sd0: 35003MB, 512 bytes/sector, 71687372 sectors
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 NS OHCI root hub rev 1.00/1.00 addr 1
siop1: target 5 now using tagged 16 bit 40.0 MHz 31 REQ/ACK offset xfers
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
bootpath: 10/0/15/1.5 class=1 flags=80autoboot hpa=0xf4004000 spa=0x0 
io=0x19000
root on sd0a (035c775f1aac71c7.a) swap on sd0b dump on sd0b

chip RICOH R5C485:


OpenBSD/hppa BOOT 1.2

boot
booting dk5a:/bsd: 4190208+1253376+606208 [80+203648+186846]=0x6a5774
SPID bits: 0xfe0, error = 0
pdc_coproc: 0xc0, 0xc0; model 10 rev 1
WARNING: BTLB purge failed
WARNING: cannot block map kernel text
[ using 391028 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2013 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 5.3-beta (GENERIC) #27: Fri Feb 15 20:09:52 MST 2013
dera...@hppa.openbsd.org:/usr/src/sys/arch/hppa/compile/GENERIC
HP 9000/785/B1000 (AllegroLow W) PA-RISC 2.0a
real mem = 1073741824 (1024MB)
rsvd mem = 524288 (512KB)
avail mem = 1045942272 (997MB)
mainbus0 at root [flex fff8]
pdc0 at mainbus0
power0 at mainbus0 offset 400804
lcd0 at mainbus0 offset 5d0008: model 0
cpu0 at mainbus0 offset ffa irq 31: PCXW L1-A 300MHz, FPU PCXW rev 1
cpu0: 512K(64b/l) Icache, 1024K(64b/l) wr-back Dcache, 160 coherent TLB
mem0 at mainbus0 offset ed10200: size 1024MB
astro0 at mainbus0 offset ed0: Astro rev 2.1
elroy0 at astro0 offset ed3c000: Elroy TR2.1 APIC ver 20, 7 pins
pci0 at elroy0
elroy1 at astro0 offset ed38000: Elroy TR2.1 APIC ver 20, 7 pins
pci1 at 

Re: OpenBSD/hppa port B1000 PCI bug during load of existing cardbus adapter driver

2013-02-17 Thread Brian Callahan

On 2/17/2013 5:29 AM, Ivan Solonin wrote:

Hello.

 I've tested 2 different PCI PCMCIA/CardBus adapters known to
OpenBSD with the latest snapshot GENERIC kernel but no one of them has
reached operational state. Both adapters work on i386 machines.



Is this related to the hppa page stating that
pcmcia(4) PCMCIA adapters.
as an unsupported peripheral?

~Brian