On Fri, Jun 29, 2007 at 03:16:36PM +0200, St?phane Chausson wrote: > Brian Candler wrote, On 29/06/07 14:43: > >Also, under Linux, "lspci -v" gives useful info about the PCI cards you > >have > >installed. In theory, you should be able to do this with OpenBSD too: > >http://mj.ucw.cz/pciutils.shtml > > > >However it doesn't work for me: > > > ># pkg_add > >ftp://ftp.openbsd.org/pub/OpenBSD/4.0/packages/i386/pciutils-2.2.1.tgz > >pciutils-2.2.1: complete > ># lspci -v > >lspci: obsd_init: /dev/pci open failed > > > > From the pkg_info of pciutils, you have to set machdep.allowaperture=2 > via sysctl(8) > > I set it to 0 and got the same error as the one you show
Thank you, that fixed it. (However I couldn't modify this value using sysctl while the system was running; I had to put it in /etc/sysctl.conf and reboot) # lspci -v ... 01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) Subsystem: Realtek Semiconductor Co., Ltd. RT8139 Flags: bus master, medium devsel, latency 32, IRQ 5 I/O ports at b800 Memory at fe5ffc00 (32-bit, non-prefetchable) Capabilities: [50] Power Management version 2 01:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 02) Subsystem: GVC/BCM Advanced Research Unknown device 2181 Flags: bus master, medium devsel, latency 32, IRQ 10 Memory at fe5ee000 (32-bit, non-prefetchable) I/O ports at bc00 Capabilities: [dc] Power Management version 2 (Those are rl0 and fxp0 respectively) So maybe the OP can do this too and see if any network cards are reported. Regards, Brian.