Change i/o addresses for PCI card - BSD

This is a discussion on Change i/o addresses for PCI card - BSD ; I have installed two Hauppauge Impact VCB pci cards in my computer. At boot,bktr(4) sees both cards, but records both cards as being bktr0. I think this is happening because the configuration info for the 2nd card is not changed ...

+ Reply to Thread
Results 1 to 9 of 9

Thread: Change i/o addresses for PCI card

  1. Change i/o addresses for PCI card

    I have installed two Hauppauge Impact VCB pci cards in my computer.
    At boot,bktr(4) sees both cards, but records both cards as being
    bktr0. I think this is happening because the configuration info
    for the 2nd card is not changed to give the card a different set
    of i/o addresses from the first card. Is there a utility I can use
    to write different i/o addresses in the pci configuration registers
    of the 2nd card so that bktr(4) will initialize the cards as bktr0
    and bkrt1?

    Thanks, Dave Feustel

  2. Re: Change i/o addresses for PCI card

    On Fri, 16 Feb 2007 06:33:56 -0600, dave wrote:

    > I have installed two Hauppauge Impact VCB pci cards in my computer.
    > At boot,bktr(4) sees both cards, but records both cards as being
    > bktr0. I think this is happening because the configuration info
    > for the 2nd card is not changed to give the card a different set
    > of i/o addresses from the first card. Is there a utility I can use
    > to write different i/o addresses in the pci configuration registers
    > of the 2nd card so that bktr(4) will initialize the cards as bktr0
    > and bkrt1?
    >
    > Thanks, Dave Feustel


    Dave,

    If files.conf(5) doesn't help, then posting a dmesg here might get someone
    to look at your problem. Without one, I doubt anyone will be able to
    offer advice.

    --
    Replying directly will get you locally blacklisted.
    Change the address; use my first name in front of the @ if you want to
    communicate privately.


  3. Re: Change i/o addresses for PCI card

    Josh Grosse wrote:
    > On Fri, 16 Feb 2007 06:33:56 -0600, dave wrote:
    >
    >> I have installed two Hauppauge Impact VCB pci cards in my computer.
    >> At boot,bktr(4) sees both cards, but records both cards as being
    >> bktr0. I think this is happening because the configuration info
    >> for the 2nd card is not changed to give the card a different set
    >> of i/o addresses from the first card. Is there a utility I can use
    >> to write different i/o addresses in the pci configuration registers
    >> of the 2nd card so that bktr(4) will initialize the cards as bktr0
    >> and bkrt1?
    >>
    >> Thanks, Dave Feustel

    >
    > Dave,
    >
    > If files.conf(5) doesn't help, then posting a dmesg here might get someone
    > to look at your problem. Without one, I doubt anyone will be able to
    > offer advice.


    It's going to take a while for me to comprehend the info in
    files.conf(5). In the meantime I have appended the email I sent to bugs@
    reporting the problem. A complete dmesg is included.
    ============
    :r ~/Maildir/Sent/2007-01-31-10:28:22

    From: Dave Feustel
    Reply-To: dfeustel@mindspring.com
    To: bugs@
    Subject: 2nd BKTR card not configured

    I have two identical Hauppauge VCB Impact pci cards installed
    in my system. Both cards appear to be configured as bktr0.
    I think this is because the code to update the pci configuration
    information is missing in the bktr driver, but I could well
    be wrong.

    Pertinent dmesg info:

    bktr0 at pci1 dev 0 function 0 "Brooktree BT878" rev 0x11: irq 11
    bktr0: Hauppauge WinCast/TV, tuner.
    bktr0 at pci1 dev 0 function 0 "Brooktree BT878" rev 0x11: irq 11
    bktr0: Hauppauge WinCast/TV, tuner.

    Complete dmesg:

    OpenBSD 4.0 (GENERIC) #690: Sat Sep 16 20:26:25 MDT 2006
    deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
    real mem = 536276992 (523708K)
    avail mem = 447451136 (436964K)
    using 13143 buffers containing 53833728 bytes (52572K) of memory
    mainbus0 (root)
    bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xfd470 (58 entries)
    bios0: MSI MS-7260
    cpu0 at mainbus0: (uniprocessor)
    cpu0: AMD Athlon(tm) 64 Processor 3500+, 2211.67 MHz
    cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,P GE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE 3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
    cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache
    cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
    cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
    pci0 at mainbus0 bus 0: configuration mode 1
    "NVIDIA MCP55 Memory" rev 0xa1 at pci0 dev 0 function 0 not configured
    pcib0 at pci0 dev 1 function 0 "NVIDIA MCP55 ISA" rev 0xa2
    nviic0 at pci0 dev 1 function 1 "NVIDIA MCP55 SMBus" rev 0xa2
    iic0 at nviic0
    iic1 at nviic0
    "unknown" at iic1 addr 0x2f not configured
    "NVIDIA MCP55 Memory" rev 0xa2 at pci0 dev 1 function 2 not configured
    ohci0 at pci0 dev 2 function 0 "NVIDIA MCP55 USB" rev 0xa1: irq 15, version 1.0, legacy support
    usb0 at ohci0: USB revision 1.0
    uhub0 at usb0
    uhub0: NVIDIA OHCI root hub, rev 1.00/1.00, addr 1
    uhub0: 10 ports with 10 removable, self powered
    ehci0 at pci0 dev 2 function 1 "NVIDIA MCP55 USB" rev 0xa2: irq 10
    usb1 at ehci0: USB revision 2.0
    uhub1 at usb1
    uhub1: NVIDIA EHCI root hub, rev 2.00/1.00, addr 1
    uhub1: 10 ports with 10 removable, self powered
    pciide0 at pci0 dev 4 function 0 "NVIDIA MCP55 IDE" rev 0xa1: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
    atapiscsi0 at pciide0 channel 0 drive 0
    scsibus0 at atapiscsi0: 2 targets
    cd0 at scsibus0 targ 0 lun 0: SCSI0 5/cdrom removable
    cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
    pciide0: channel 1 ignored (disabled)
    pciide1 at pci0 dev 5 function 0 "NVIDIA MCP55 SATA" rev 0xa2: DMA
    pciide1: using irq 11 for native-PCI interrupt
    wd0 at pciide1 channel 0 drive 0:
    wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
    wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
    pciide2 at pci0 dev 5 function 1 "NVIDIA MCP55 SATA" rev 0xa2: DMA
    pciide2: using irq 5 for native-PCI interrupt
    ppb0 at pci0 dev 6 function 0 "NVIDIA MCP55 PCI-PCI" rev 0xa2
    pci1 at ppb0 bus 1
    bktr0 at pci1 dev 0 function 0 "Brooktree BT878" rev 0x11: irq 11
    bktr0: Hauppauge WinCast/TV, tuner.
    "Brooktree BT878 Audio" rev 0x11 at pci1 dev 0 function 1 not configured
    "Brooktree BT878" rev 0x11 at pci1 dev 1 function 0 not configured
    "Brooktree BT878 Audio" rev 0x11 at pci1 dev 1 function 1 not configured
    azalia0 at pci0 dev 6 function 1 "NVIDIA MCP55 HD Audio" rev 0xa2: irq 15
    azalia0: host: High Definition Audio rev. 1.0
    azalia0: codec: 0x04x/0x10ec (rev. 0.2), HDA version 1.0
    audio0 at azalia0
    nfe0 at pci0 dev 8 function 0 "NVIDIA MCP55 LAN" rev 0xa2: irq 10, address 00:16:17:47:3f:9e
    ukphy0 at nfe0 phy 1: Generic IEEE 802.3u media interface, rev. 0: OUI 0x0001c1, model 0x0002
    ppb1 at pci0 dev 11 function 0 "NVIDIA MCP55 PCIE" rev 0xa2
    pci2 at ppb1 bus 2
    ppb2 at pci0 dev 12 function 0 "NVIDIA MCP55 PCIE" rev 0xa2
    pci3 at ppb2 bus 3
    ppb3 at pci0 dev 13 function 0 "NVIDIA MCP55 PCIE" rev 0xa2
    pci4 at ppb3 bus 4
    ppb4 at pci0 dev 14 function 0 "NVIDIA MCP55 PCIE" rev 0xa2
    pci5 at ppb4 bus 5
    ppb5 at pci0 dev 15 function 0 "NVIDIA MCP55 PCIE" rev 0xa2
    pci6 at ppb5 bus 6
    vga1 at pci6 dev 0 function 0 "ATI Radeon X300" rev 0x00
    wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
    wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
    "ATI Radeon X300 Sec" rev 0x00 at pci6 dev 0 function 1 not configured
    pchb0 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00
    pchb1 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00
    pchb2 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00
    pchb3 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00
    isa0 at pcib0
    isadma0 at isa0
    com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
    pckbc0 at isa0 port 0x60/5
    pckbd0 at pckbc0 (kbd slot)
    pckbc0: using irq 1 for kbd slot
    wskbd0 at pckbd0: console keyboard, using wsdisplay0
    pmsi0 at pckbc0 (aux slot)
    pckbc0: using irq 12 for aux slot
    wsmouse0 at pmsi0 mux 0
    pcppi0 at isa0 port 0x61
    midi0 at pcppi0:
    spkr0 at pcppi0
    lpt0 at isa0 port 0x378/4 irq 7
    umass0 at uhub1 port 10 configuration 1 interface 0
    umass0: Generic Mass Storage Device, rev 2.00/1.00, addr 2
    umass0: using SCSI over Bulk-Only
    scsibus1 at umass0: 2 targets
    sd0 at scsibus1 targ 1 lun 0: SCSI0 0/direct removable
    sd0: drive offline
    sd1 at scsibus1 targ 1 lun 1: SCSI0 0/direct removable
    sd1: drive offline
    sd2 at scsibus1 targ 1 lun 2: SCSI0 0/direct removable
    sd2: drive offline
    sd3 at scsibus1 targ 1 lun 3: SCSI0 0/direct removable
    sd3: drive offline
    dkcsum: wd0 matches BIOS drive 0x80
    root on wd0a
    rootdev=0x0 rrootdev=0x300 rawdev=0x302
    syncing disks...
    OpenBSD 4.0 (RAMDISK_CD) #883: Sat Sep 16 20:46:50 MDT 2006
    deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
    real mem = 536276992 (523708K)
    avail mem = 448835584 (438316K)
    using 13143 buffers containing 53833728 bytes (52572K) of memory
    mainbus0 (root)
    cpu0 at mainbus0: (uniprocessor)
    cpu0: AMD Athlon(tm) 64 Processor 3500+, 2211.63 MHz
    cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,P GE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE 3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
    cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache
    cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
    cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
    pci0 at mainbus0 bus 0: configuration mode 1
    "NVIDIA MCP55 Memory" rev 0xa1 at pci0 dev 0 function 0 not configured
    "NVIDIA MCP55 ISA" rev 0xa2 at pci0 dev 1 function 0 not configured
    "NVIDIA MCP55 SMBus" rev 0xa2 at pci0 dev 1 function 1 not configured
    "NVIDIA MCP55 Memory" rev 0xa2 at pci0 dev 1 function 2 not configured
    ohci0 at pci0 dev 2 function 0 "NVIDIA MCP55 USB" rev 0xa1: irq 15, version 1.0, legacy support
    usb0 at ohci0: USB revision 1.0
    uhub0 at usb0
    uhub0: NVIDIA OHCI root hub, rev 1.00/1.00, addr 1
    uhub0: 10 ports with 10 removable, self powered
    ehci0 at pci0 dev 2 function 1 "NVIDIA MCP55 USB" rev 0xa2: irq 10
    usb1 at ehci0: USB revision 2.0
    uhub1 at usb1
    uhub1: NVIDIA EHCI root hub, rev 2.00/1.00, addr 1
    uhub1: 10 ports with 10 removable, self powered
    pciide0 at pci0 dev 4 function 0 "NVIDIA MCP55 IDE" rev 0xa1: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
    atapiscsi0 at pciide0 channel 0 drive 0
    scsibus0 at atapiscsi0: 2 targets
    cd0 at scsibus0 targ 0 lun 0: SCSI0 5/cdrom removable
    cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
    pciide0: channel 1 ignored (disabled)
    pciide1 at pci0 dev 5 function 0 "NVIDIA MCP55 SATA" rev 0xa2: DMA
    pciide1: using irq 11 for native-PCI interrupt
    wd0 at pciide1 channel 0 drive 0:
    wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
    wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
    pciide2 at pci0 dev 5 function 1 "NVIDIA MCP55 SATA" rev 0xa2: DMA
    pciide2: using irq 5 for native-PCI interrupt
    ppb0 at pci0 dev 6 function 0 "NVIDIA MCP55 PCI-PCI" rev 0xa2
    pci1 at ppb0 bus 1
    "Brooktree BT878" rev 0x11 at pci1 dev 0 function 0 not configured
    "Brooktree BT878 Audio" rev 0x11 at pci1 dev 0 function 1 not configured
    "Brooktree BT878" rev 0x11 at pci1 dev 1 function 0 not configured
    "Brooktree BT878 Audio" rev 0x11 at pci1 dev 1 function 1 not configured
    "NVIDIA MCP55 HD Audio" rev 0xa2 at pci0 dev 6 function 1 not configured
    nfe0 at pci0 dev 8 function 0 "NVIDIA MCP55 LAN" rev 0xa2: irq 10, address 00:16:17:47:3f:9e
    ukphy0 at nfe0 phy 1: Generic IEEE 802.3u media interface, rev. 0: OUI 0x0001c1, model 0x0002
    ppb1 at pci0 dev 11 function 0 "NVIDIA MCP55 PCIE" rev 0xa2
    pci2 at ppb1 bus 2
    ppb2 at pci0 dev 12 function 0 "NVIDIA MCP55 PCIE" rev 0xa2
    pci3 at ppb2 bus 3
    ppb3 at pci0 dev 13 function 0 "NVIDIA MCP55 PCIE" rev 0xa2
    pci4 at ppb3 bus 4
    ppb4 at pci0 dev 14 function 0 "NVIDIA MCP55 PCIE" rev 0xa2
    pci5 at ppb4 bus 5
    ppb5 at pci0 dev 15 function 0 "NVIDIA MCP55 PCIE" rev 0xa2
    pci6 at ppb5 bus 6
    vga1 at pci6 dev 0 function 0 "ATI Radeon X300" rev 0x00
    wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
    "ATI Radeon X300 Sec" rev 0x00 at pci6 dev 0 function 1 not configured
    pchb0 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00
    pchb1 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00
    pchb2 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00
    pchb3 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00
    isa0 at mainbus0
    com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
    pckbc0 at isa0 port 0x60/5
    pckbd0 at pckbc0 (kbd slot)
    pckbc0: using irq 1 for kbd slot
    wskbd0 at pckbd0: console keyboard, using wsdisplay0
    rd0: fixed, 3584 blocks
    umass0 at uhub1 port 10 configuration 1 interface 0
    umass0: Generic Mass Storage Device, rev 2.00/1.00, addr 2
    umass0: using SCSI over Bulk-Only
    scsibus1 at umass0: 2 targets
    sd0 at scsibus1 targ 1 lun 0: SCSI0 0/direct removable
    sd0: drive offline
    sd1 at scsibus1 targ 1 lun 1: SCSI0 0/direct removable
    sd1: drive offline
    sd2 at scsibus1 targ 1 lun 2: SCSI0 0/direct removable
    sd2: drive offline
    sd3 at scsibus1 targ 1 lun 3: SCSI0 0/direct removable
    sd3: drive offline
    dkcsum: wd0 matches BIOS drive 0x80
    root on rd0a
    rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02
    syncing disks...
    OpenBSD 4.0 (GENERIC) #690: Sat Sep 16 20:26:25 MDT 2006
    deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
    real mem = 536276992 (523708K)
    avail mem = 447451136 (436964K)
    using 13143 buffers containing 53833728 bytes (52572K) of memory
    mainbus0 (root)
    bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xfd470 (58 entries)
    bios0: MSI MS-7260
    cpu0 at mainbus0: (uniprocessor)
    cpu0: AMD Athlon(tm) 64 Processor 3500+, 2211.60 MHz
    cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,P GE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE 3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
    cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache
    cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
    cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
    pci0 at mainbus0 bus 0: configuration mode 1
    "NVIDIA MCP55 Memory" rev 0xa1 at pci0 dev 0 function 0 not configured
    pcib0 at pci0 dev 1 function 0 "NVIDIA MCP55 ISA" rev 0xa2
    nviic0 at pci0 dev 1 function 1 "NVIDIA MCP55 SMBus" rev 0xa2
    iic0 at nviic0
    iic1 at nviic0
    "unknown" at iic1 addr 0x2f not configured
    "NVIDIA MCP55 Memory" rev 0xa2 at pci0 dev 1 function 2 not configured
    ohci0 at pci0 dev 2 function 0 "NVIDIA MCP55 USB" rev 0xa1: irq 15, version 1.0, legacy support
    usb0 at ohci0: USB revision 1.0
    uhub0 at usb0
    uhub0: NVIDIA OHCI root hub, rev 1.00/1.00, addr 1
    uhub0: 10 ports with 10 removable, self powered
    ehci0 at pci0 dev 2 function 1 "NVIDIA MCP55 USB" rev 0xa2: irq 10
    usb1 at ehci0: USB revision 2.0
    uhub1 at usb1
    uhub1: NVIDIA EHCI root hub, rev 2.00/1.00, addr 1
    uhub1: 10 ports with 10 removable, self powered
    pciide0 at pci0 dev 4 function 0 "NVIDIA MCP55 IDE" rev 0xa1: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
    atapiscsi0 at pciide0 channel 0 drive 0
    scsibus0 at atapiscsi0: 2 targets
    cd0 at scsibus0 targ 0 lun 0: SCSI0 5/cdrom removable
    cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
    pciide0: channel 1 ignored (disabled)
    pciide1 at pci0 dev 5 function 0 "NVIDIA MCP55 SATA" rev 0xa2: DMA
    pciide1: using irq 11 for native-PCI interrupt
    wd0 at pciide1 channel 0 drive 0:
    wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
    wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
    pciide2 at pci0 dev 5 function 1 "NVIDIA MCP55 SATA" rev 0xa2: DMA
    pciide2: using irq 5 for native-PCI interrupt
    ppb0 at pci0 dev 6 function 0 "NVIDIA MCP55 PCI-PCI" rev 0xa2
    pci1 at ppb0 bus 1
    bktr0 at pci1 dev 0 function 0 "Brooktree BT878" rev 0x11: irq 11
    bktr0: Hauppauge WinCast/TV, tuner.
    "Brooktree BT878 Audio" rev 0x11 at pci1 dev 0 function 1 not configured
    "Brooktree BT878" rev 0x11 at pci1 dev 1 function 0 not configured
    "Brooktree BT878 Audio" rev 0x11 at pci1 dev 1 function 1 not configured
    azalia0 at pci0 dev 6 function 1 "NVIDIA MCP55 HD Audio" rev 0xa2: irq 15
    azalia0: host: High Definition Audio rev. 1.0
    azalia0: codec: 0x04x/0x10ec (rev. 0.2), HDA version 1.0
    audio0 at azalia0
    nfe0 at pci0 dev 8 function 0 "NVIDIA MCP55 LAN" rev 0xa2: irq 10, address 00:16:17:47:3f:9e
    ukphy0 at nfe0 phy 1: Generic IEEE 802.3u media interface, rev. 0: OUI 0x0001c1, model 0x0002
    ppb1 at pci0 dev 11 function 0 "NVIDIA MCP55 PCIE" rev 0xa2
    pci2 at ppb1 bus 2
    ppb2 at pci0 dev 12 function 0 "NVIDIA MCP55 PCIE" rev 0xa2
    pci3 at ppb2 bus 3
    ppb3 at pci0 dev 13 function 0 "NVIDIA MCP55 PCIE" rev 0xa2
    pci4 at ppb3 bus 4
    ppb4 at pci0 dev 14 function 0 "NVIDIA MCP55 PCIE" rev 0xa2
    pci5 at ppb4 bus 5
    ppb5 at pci0 dev 15 function 0 "NVIDIA MCP55 PCIE" rev 0xa2
    pci6 at ppb5 bus 6
    vga1 at pci6 dev 0 function 0 "ATI Radeon X300" rev 0x00
    wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
    wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
    "ATI Radeon X300 Sec" rev 0x00 at pci6 dev 0 function 1 not configured
    pchb0 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00
    pchb1 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00
    pchb2 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00
    pchb3 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00
    isa0 at pcib0
    isadma0 at isa0
    com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
    pckbc0 at isa0 port 0x60/5
    pckbd0 at pckbc0 (kbd slot)
    pckbc0: using irq 1 for kbd slot
    wskbd0 at pckbd0: console keyboard, using wsdisplay0
    pmsi0 at pckbc0 (aux slot)
    pckbc0: using irq 12 for aux slot
    wsmouse0 at pmsi0 mux 0
    pcppi0 at isa0 port 0x61
    midi0 at pcppi0:
    spkr0 at pcppi0
    lpt0 at isa0 port 0x378/4 irq 7
    umass0 at uhub1 port 10 configuration 1 interface 0
    umass0: Generic Mass Storage Device, rev 2.00/1.00, addr 2
    umass0: using SCSI over Bulk-Only
    scsibus1 at umass0: 2 targets
    sd0 at scsibus1 targ 1 lun 0: SCSI0 0/direct removable
    sd0: drive offline
    sd1 at scsibus1 targ 1 lun 1: SCSI0 0/direct removable
    sd1: drive offline
    sd2 at scsibus1 targ 1 lun 2: SCSI0 0/direct removable
    sd2: drive offline
    sd3 at scsibus1 targ 1 lun 3: SCSI0 0/direct removable
    sd3: drive offline
    dkcsum: wd0 matches BIOS drive 0x80
    root on wd0a
    rootdev=0x0 rrootdev=0x300 rawdev=0x302
    =====
    Jan 31 10:28:23 host=smtp.comcast.net tls=off auth=on user=davidfeustel from=dfeustel@mindspring.com recipients=bugs@openbsd.org mailsize=15773 exitcode=EX_OK

  4. Re: Change i/o addresses for PCI card

    On Fri, 16 Feb 2007 11:57:34 -0600, dave wrote:


    > It's going to take a while for me to comprehend the info in
    > files.conf(5). In the meantime I have appended the email I sent to bugs@
    > reporting the problem. A complete dmesg is included.


    Thanks, Dave. In brief it looks to me like both cards are trying to use
    IRQ 11. I don't have any BT cards handy, and when I had one, it was
    one-at-a-time.

    I did run your dmesg thru dmassage, just to get a somewhat graphical view
    of the connections ... here's the pertinent extraction:

    root
    \-mainbus0
    |-pci0
    |-ppb0
    \-pci1
    \-bktr0

    You seem to have many PCI busses, perhaps there's a way to strap the
    second card to another bus in your BIOS?

    Here's the complete tree:

    root
    \-mainbus0
    |-bios0
    |-cpu0
    |-isa0
    | |-com0
    | |-isadma0
    | |-lpt0
    | |-pckbc0
    | | |-pckbd0
    | | | \-wskbd0
    | | \-pmsi0
    | | \-wsmouse0
    | \-pcppi0
    | |-midi0
    | \-spkr0
    \-pci0
    |-azalia0
    | \-audio0
    |-ehci0
    | \-usb1
    | \-uhub1
    | \-umass0
    | \-scsibus1
    | |-sd0
    | |-sd1
    | |-sd2
    | \-sd3
    |-nfe0
    | \-ukphy0
    |-nviic0
    | |-iic0
    | \-iic1
    |-ohci0
    | \-usb0
    | \-uhub0
    |-pchb0
    |-pchb1
    |-pchb2
    |-pchb3
    |-pcib0
    | \-isa0
    | |-com0
    | |-isadma0
    | |-lpt0
    | |-pckbc0
    | | |-pckbd0
    | | | \-wskbd0
    | | \-pmsi0
    | | \-wsmouse0
    | \-pcppi0
    | |-midi0
    | \-spkr0
    |-pciide0
    | \-atapiscsi0
    | \-scsibus0
    | \-cd0
    |-pciide1
    | \-wd0
    |-pciide2
    |-ppb0
    | \-pci1
    | \-bktr0
    |-ppb1
    | \-pci2
    |-ppb2
    | \-pci3
    |-ppb3
    | \-pci4
    |-ppb4
    | \-pci5
    \-ppb5
    \-pci6
    \-vga1
    \-wsdisplay0

    --
    Replying directly will get you locally blacklisted.
    Change the address; use my first name in front of the @ if you want to
    communicate privately.


  5. Re: Change i/o addresses for PCI card

    Josh Grosse wrote:
    > On Fri, 16 Feb 2007 11:57:34 -0600, dave wrote:
    >
    >
    >> It's going to take a while for me to comprehend the info in
    >> files.conf(5). In the meantime I have appended the email I sent to bugs@
    >> reporting the problem. A complete dmesg is included.

    >
    > Thanks, Dave. In brief it looks to me like both cards are trying to use
    > IRQ 11.


    I though pci permits interrupt sharing. If that's correct, why would
    having both cards on IRQ 11 cause a problem. Isn't it more likely that
    both cards have the same i/o address and that not changing the i/o
    address of the second card during pci bus configuration is why both
    cards are named bktr0? (It is my understanding that during pci bus
    configuration, the pci cards are addressed by pci slot number rather
    than i/o address).

  6. Re: Change i/o addresses for PCI card

    Josh Grosse wrote:
    > On Fri, 16 Feb 2007 11:57:34 -0600, dave wrote:
    >
    >
    >> It's going to take a while for me to comprehend the info in
    >> files.conf(5). In the meantime I have appended the email I sent to bugs@
    >> reporting the problem. A complete dmesg is included.

    >
    > Thanks, Dave. In brief it looks to me like both cards are trying to use
    > IRQ 11. I don't have any BT cards handy, and when I had one, it was
    > one-at-a-time.
    >
    > I did run your dmesg thru dmassage, just to get a somewhat graphical view
    > of the connections ... here's the pertinent extraction:
    >
    > root
    > \-mainbus0
    > |-pci0
    > |-ppb0
    > \-pci1
    > \-bktr0
    >
    > You seem to have many PCI busses, perhaps there's a way to strap the
    > second card to another bus in your BIOS?


    I had already decided that if the addressing problem didn't get fixed,
    I would put the 2nd VC card in another computer. But that defeats my
    goal of using one computer to do simultaneous video capture on up to
    8 cameras which I already have software for. I do have a bunch of extra
    hardware (including an external pci expansion box) that I'm not using
    partly because I have no space to set them up. SATA makes all of my
    10-year-old SCSI stuff mostly irrelevant.

  7. Re: Change i/o addresses for PCI card

    "dave" wrote in message
    news:Q--dnX6lIoVZSkvYnZ2dnUVZ_v-tnZ2d@comcast.com...
    > Josh Grosse wrote:
    >> On Fri, 16 Feb 2007 11:57:34 -0600, dave wrote:
    >>
    >>
    >>> It's going to take a while for me to comprehend the info in
    >>> files.conf(5). In the meantime I have appended the email I sent to bugs@
    >>> reporting the problem. A complete dmesg is included.

    >>
    >> Thanks, Dave. In brief it looks to me like both cards are trying to use
    >> IRQ 11.

    >
    > I though pci permits interrupt sharing. If that's correct, why would
    > having both cards on IRQ 11 cause a problem. Isn't it more likely that
    > both cards have the same i/o address and that not changing the i/o
    > address of the second card during pci bus configuration is why both
    > cards are named bktr0? (It is my understanding that during pci bus
    > configuration, the pci cards are addressed by pci slot number rather
    > than i/o address).


    At the risk of stating the obvious: have you tried enabling "reset PnP
    config" in the BIOS? I've known this to fix certain weird PCI/PnP issues on
    PCs in general, albeit mostly in the early days. Maybe worth a try though.

    Steve
    http://www.fivetrees.com



  8. Re: Change i/o addresses for PCI card

    Steve at fivetrees wrote:
    > "dave" wrote in message
    > news:Q--dnX6lIoVZSkvYnZ2dnUVZ_v-tnZ2d@comcast.com...
    >> Josh Grosse wrote:
    >>> On Fri, 16 Feb 2007 11:57:34 -0600, dave wrote:
    >>>
    >>>
    >>>> It's going to take a while for me to comprehend the info in
    >>>> files.conf(5). In the meantime I have appended the email I sent to bugs@
    >>>> reporting the problem. A complete dmesg is included.
    >>>
    >>> Thanks, Dave. In brief it looks to me like both cards are trying to use
    >>> IRQ 11.

    >>
    >> I though pci permits interrupt sharing. If that's correct, why would
    >> having both cards on IRQ 11 cause a problem. Isn't it more likely that
    >> both cards have the same i/o address and that not changing the i/o
    >> address of the second card during pci bus configuration is why both
    >> cards are named bktr0? (It is my understanding that during pci bus
    >> configuration, the pci cards are addressed by pci slot number rather
    >> than i/o address).

    >
    > At the risk of stating the obvious: have you tried enabling "reset PnP
    > config" in the BIOS? I've known this to fix certain weird PCI/PnP issues on
    > PCs in general, albeit mostly in the early days. Maybe worth a try though.


    Don't Worry. There's no such risk with me. :-)

    Seriously. I don't know anything about this option. Is it a bios or
    an OpenBSD boot option?

    >
    > Steve
    > http://www.fivetrees.com
    >
    >


  9. Re: Change i/o addresses for PCI card

    "dave" wrote in message
    news:QdmdnRKTj4JqPkXYnZ2dnUVZ_qbinZ2d@comcast.com. ..
    > Steve at fivetrees wrote:
    >>
    >> At the risk of stating the obvious: have you tried enabling "reset PnP
    >> config" in the BIOS? I've known this to fix certain weird PCI/PnP issues
    >> on
    >> PCs in general, albeit mostly in the early days. Maybe worth a try
    >> though.

    >
    > Don't Worry. There's no such risk with me. :-)
    >
    > Seriously. I don't know anything about this option. Is it a bios or
    > an OpenBSD boot option?


    It's a BIOS option, usually in the PCI/PnP section.

    Steve
    http://www.fivetrees.com



+ Reply to Thread