I am running OpenBSD 5.0 on a Powermac G4 (Digital Audio) with an unmodified
GENERIC kernel.  It has run just fine for days at a time with no obvious
problems of any kind until i tried to add new 32-bit PCI SATA cards to it.
When i add the SATA card to one of the slots and power the machine on, 
I hear the power come on, and see the screen become active but black. 
openfirmware does not display at all and it only stays indefinately in 
this state until I power it off.

When i remove the card it works just fine.  I have three of these cards which
I have purchased new from newegg and I have tried all three one at a time
in each of the four PCI slots. 

I apologize in advance as my question is probably hardware related, and
not strictly speaking OpenBSD related; but after searching for my answers I
have been unable to find them so far.  I hope the list can help to point me in
the right direction so I can get on with the task of building out my OpenBSD
NAS.

My question is, can I reaonsably expect this card which i believe to be
supported by OpenBSD to work with this Powermac G4?  If not, why; and if so
how can i troubleshoot?  I hope someone from this list can at least point me
in the right direction.  I'll be happy to gather any information necessary.
More appears below.

Before adding the SATA card, the machine had been running with no PCI cards in
any of its 4 slots.  the AGP slot has a video card in it.  
 - One USB port had one keyboard attached.  No other USB devices are attached.
 - The VGA port on the video card is attached to a big screen TV which the
   Openfirmware and OpenBSD framebuffer displays at 1920x1080.
 - 2 IDE hard drives are attached: ultra0 and ultra1 , and a cd drive to ide0
 - a dmesg appears at the end of this email.
 - I don't have a setenv of the openfirmware at this time.

I power off the machine and carefully add one "MASSCOOL PCI Card, 4 internal
SATA Model XWT-RC040" which I purchased from newegg
(http://www.newegg.com/Product/Product.aspx?Item=15-280-003).  This is a 32-bit
PCI card which the Mac G4's 64-bit slot should accept and work with as far as I
know.  I power on the machine and the screen remains blank.  Openfirmware never
displays.  I see that the machine has power, i heard the two IDE drives settle,
the screen is active but black.

I selected these cards because i believed they would probably work with OpenBSD:
 - The OpenBSD macppc port page states that SATA does not work on the G5 
   XServes.  I took this to mean that that particular SATA hardware did not
   work and that any chipset supported by OpenBSD should be supported.
 - this SATA card has an SiI3114 chip which I saw mentioned as supported in the 
   i386 port page.
 - two comments on the newegg page dating from 2009 for this product mentioned 
   it worked well with the FreeBSD, OpenSolaris and the FreeBSD based FreeNAS



$ dmesg
[ using 490376 bytes of bsd ELF symbol table ]
console out [NVDA,NVMac]console in [keyboard] , using USB
: memaddr 98000000 size 8000000, : consaddr 98004000, : ioaddr 91000000, size 
1000000: memtag 8000, iotag 8000: width 1920 linebytes 2048 height 1080 depth 8
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2011 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 5.0 (GENERIC) #69: Wed Aug 17 10:17:02 MDT 2011
    dera...@macppc.openbsd.org:/usr/src/sys/arch/macppc/compile/GENERIC
real mem = 805306368 (768MB)
avail mem = 768524288 (732MB)
mainbus0 at root: model PowerMac3,4
cpu0 at mainbus0: 7450 (Revision 0x200): 733 MHz: 256KB L2 cache, 1MB L3 cache
mem0 at mainbus0
spdmem0 at mem0: 512MB SDRAM non-parity PC133CL3
spdmem1 at mem0: 256MB SDRAM non-parity PC133CL3
memc0 at mainbus0: uni-n
kiic0 at memc0 offset 0xf8001000
iic0 at kiic0
mpcpcibr0 at mainbus0 pci: uni-north, Revision 0xff
pci0 at mpcpcibr0 bus 0
pchb0 at pci0 dev 11 function 0 "Apple Uni-N2 AGP" rev 0x00
vgafb0 at pci0 dev 16 function 0 "NVIDIA GeForce2 MX" rev 0xa1, mmio
wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
mpcpcibr1 at mainbus0 pci: uni-north, Revision 0x0
pci1 at mpcpcibr1 bus 0
pchb1 at pci1 dev 11 function 0 "Apple Uni-N2 Host" rev 0x00
macobio0 at pci1 dev 23 function 0 "Apple Keylargo" rev 0x03
openpic0 at macobio0 offset 0x40000: version 0x4614 little endian
macgpio0 at macobio0 offset 0x50
macgpio1 at macgpio0 irq 47
pgs0 at macgpio0: irq 55
"gpio5" at macgpio0 not configured
"gpio6" at macgpio0 not configured
"gpio11" at macgpio0 not configured
"extint-gpio15" at macgpio0 not configured
"extint-gpio16" at macgpio0 not configured
"escc-legacy" at macobio0 offset 0x12000 not configured
zsc0 at macobio0 offset 0x13000: irq 22,50
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
tumbler0 at macobio0 offset 0x10000: irq 30,1,2
"timer" at macobio0 offset 0x15000 not configured
adb0 at macobio0 offset 0x16000 irq 25: via-pmu, 0 targets
apm0 at adb0: battery flags 0x9, 0% charged
kiic1 at macobio0 offset 0x18000
iic1 at kiic1
wdc0 at macobio0 offset 0x1f000 irq 19: DMA
wd0 at wdc0 channel 0 drive 0: <IBM-IC35L060AVER07-0>
wd0: 16-sector PIO, LBA, 58644MB, 120103200 sectors
wd1 at wdc0 channel 0 drive 1: <ST380021A>
wd1: 16-sector PIO, LBA, 76319MB, 156301488 sectors
wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4
wd1(wdc0:0:1): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4
wdc1 at macobio0 offset 0x20000 irq 20: DMA
atapiscsi0 at wdc1 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <PIONEER, DVD-RW DVR-103, 1.90> ATAPI 5/cdrom 
removable
cd0(wdc1:0:0): using BIOS timings, DMA mode 2
wdc2 at macobio0 offset 0x21000 irq 21: DMA
audio0 at tumbler0
ohci0 at pci1 dev 24 function 0 "Apple USB" rev 0x00: irq 27, version 1.0
ohci1 at pci1 dev 25 function 0 "Apple USB" rev 0x00: irq 28, version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "Apple OHCI root hub" rev 1.00/1.00 addr 1
usb1 at ohci1: USB revision 1.0
uhub1 at usb1 "Apple OHCI root hub" rev 1.00/1.00 addr 1
mpcpcibr2 at mainbus0 pci: uni-north, Revision 0x16
pci2 at mpcpcibr2 bus 0
pchb2 at pci2 dev 11 function 0 "Apple Uni-N2 Host" rev 0x00
"AT&T/Lucent FW322 1394" rev 0x00 at pci2 dev 14 function 0 not configured
gem0 at pci2 dev 15 function 0 "Apple Uni-N GMAC" rev 0x01: irq 41, address 
00:03:93:48:ef:2e
brgphy0 at gem0 phy 0: BCM5401 10/100/1000baseT PHY, rev. 3
uhidev0 at uhub0 port 1 configuration 1 interface 0 "Logitech USB Receiver" rev 
2.00/12.01 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhidev1 at uhub0 port 1 configuration 1 interface 1 "Logitech USB Receiver" rev 
2.00/12.01 addr 2
uhidev1: iclass 3/1, 8 report ids
ums0 at uhidev1 reportid 2: 16 buttons, Z dir
wsmouse0 at ums0 mux 0
uhid0 at uhidev1 reportid 3: input=4, output=0, feature=0
uhid1 at uhidev1 reportid 4: input=1, output=0, feature=0
uhid2 at uhidev1 reportid 8: input=1, output=0, feature=0
uhidev2 at uhub0 port 1 configuration 1 interface 2 "Logitech USB Receiver" rev 
2.00/12.01 addr 2
uhidev2: iclass 3/0, 33 report ids
uhid3 at uhidev2 reportid 16: input=6, output=6, feature=0
uhid4 at uhidev2 reportid 17: input=19, output=19, feature=0
uhid5 at uhidev2 reportid 32: input=14, output=14, feature=0
uhid6 at uhidev2 reportid 33: input=31, output=31, feature=0
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
bootpath: /pci@f2000000/mac-io@17/ata-4@1f000/disk@0:/bsd
root on wd0a swap on wd0b dump on wd0b

Reply via email to