This is a discussion on 2nd bktr card fails to configure within the comp.unix.bsd.openbsd.misc forums, part of the OpenBSD category; --> I just got a 2nd bktr card and installed it. The 2nd card is not configured. Both cards work ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I just got a 2nd bktr card and installed it. The 2nd card is not configured. Both cards work when plugged into the first pci slot. Whichever card is plugged into the 2nd pci slot does not work. I used MADEDEV to create bktr1 and that seems to have worked. crw-r--r-- 1 root wheel 49, 0 Jan 14 13:49 /dev/bktr0 crw-r--r-- 1 root wheel 49, 1 Jan 30 17:04 /dev/bktr1 Any ideas what's wrong? 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: <LITE-ON, DVD SHD-16P1S, GS05> 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: <ST380811AS> 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, <no> 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: <PC speaker> 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: <Generic, USB SD Reader, 1.00> SCSI0 0/direct removable sd0: drive offline sd1 at scsibus1 targ 1 lun 1: <Generic, USB CF Reader, 1.01> SCSI0 0/direct removable sd1: drive offline sd2 at scsibus1 targ 1 lun 2: <Generic, USB SM Reader, 1.02> SCSI0 0/direct removable sd2: drive offline sd3 at scsibus1 targ 1 lun 3: <Generic, USB MS Reader, 1.03> SCSI0 0/direct removable sd3: drive offline dkcsum: wd0 matches BIOS drive 0x80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 |
| |||
| dave <daf@a64.comcast.net> wrote: > I just got a 2nd bktr card and installed it. The 2nd card is > not configured. Both cards work when plugged into the first pci > slot. Whichever card is plugged into the 2nd pci slot does not > work. I used MADEDEV to create bktr1 and that seems to have > worked. > > crw-r--r-- 1 root wheel 49, 0 Jan 14 13:49 /dev/bktr0 > crw-r--r-- 1 root wheel 49, 1 Jan 30 17:04 /dev/bktr1 > > Any ideas what's wrong? > Extracted from Dmesg: bktr0 at pci1 dev 0 function 0 "Brooktree BT878" rev 0x11: irq 11 bktr0: Hauppauge WinCast/TV, <no> tuner. bktr0 at pci1 dev 0 function 0 "Brooktree BT878" rev 0x11: irq 11 bktr0: Hauppauge WinCast/TV, <no> tuner. It appears that the two bktr devices are given the same address during boot. I don't know if this is because the cards are hardwired to the pci address or if this is a bug in bktr. I tried doing an upgrade to see if the devices would be made correctly, but only bktr0 was made by MAKEDEV. |
| ||||
| dave <daf@a64.comcast.net> wrote: > dave <daf@a64.comcast.net> wrote: >> I just got a 2nd bktr card and installed it. The 2nd card is >> not configured. Both cards work when plugged into the first pci >> slot. Whichever card is plugged into the 2nd pci slot does not >> work. I used MADEDEV to create bktr1 and that seems to have >> worked. >> >> crw-r--r-- 1 root wheel 49, 0 Jan 14 13:49 /dev/bktr0 >> crw-r--r-- 1 root wheel 49, 1 Jan 30 17:04 /dev/bktr1 >> >> Any ideas what's wrong? >> > Extracted from Dmesg: > > bktr0 at pci1 dev 0 function 0 "Brooktree BT878" rev 0x11: irq 11 > bktr0: Hauppauge WinCast/TV, <no> tuner. > bktr0 at pci1 dev 0 function 0 "Brooktree BT878" rev 0x11: irq 11 > bktr0: Hauppauge WinCast/TV, <no> tuner. > > It appears that the two bktr devices are given the same address during > boot. I don't know if this is because the cards are hardwired to the > pci address or if this is a bug in bktr. I tried doing an upgrade to > see if the devices would be made correctly, but only bktr0 was made > by MAKEDEV. A quick look at the pci scanning code for bktr reveals that the code to update the eeprom on the card is not implemented. So it is my guess that after the pci configuration the two cards are seen as one since they have not been configured during boot to have different addresses. |