On Mon, Jan 25, 2010 at 2:58 PM, Giovanni Bechis <giova...@openbsd.org> wrote: > Giovanni Bechis wrote: >> >> Stuart Henderson wrote: >>> >>> On 2010/01/25 00:50, Luis Henriques wrote: >>>> >>>> Re-sending with "cvs diff -upRN" >> > Unfortunately this diff doesn't work with my card, I have "unable to reset > hardware" errors whenever I try to scan the network or configure my device.
Was this card working without my patch? Can you send me a pcidump? I may be able to take a look at it later... > Cheers > Giovanni > > OpenBSD 4.6-current (GENERIC.MP) #4: Mon Jan 25 15:38:08 CET 2010 > giova...@bigio.snb.it:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 2145779712 (2046MB) > avail mem = 2079301632 (1982MB) > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xdf010 (19 entries) > bios0: vendor Hewlett-Packard version "F.32" date 03/03/2009 > bios0: Hewlett-Packard HP Pavilion dv6700 Notebook PC > acpi0 at bios0: rev 2 > acpi0: tables DSDT FACP SRAT WDAT SSDT MCFG HPET APIC BOOT SLIC > acpi0: wakeup devices MAC0(S5) P2P0(S5) KBC0(S3) MSE0(S3) XVR3(S5) > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpihpet0 at acpi0: 25000000 Hz > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: AMD Turion(tm) 64 X2 Mobile Technology TL-60, 2009.47 MHz > cpu0: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,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 > cpu0: apic clock running at 200MHz > cpu1 at mainbus0: apid 1 (application processor) > cpu1: AMD Turion(tm) 64 X2 Mobile Technology TL-60, 2009.11 MHz > cpu1: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW > cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB > 64b/line 16-way L2 cache > cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative > cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative > ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 11, 24 pins > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus 7 (P2P0) > acpiprt2 at acpi0: bus 5 (XVR0) > acpiprt3 at acpi0: bus 9 (XVR1) > acpiprt4 at acpi0: bus 3 (XVR2) > acpiprt5 at acpi0: bus 1 (XVR3) > acpiec0 at acpi0 > acpicpu0 at acpi0: C3, C2, PSS > acpicpu1 at acpi0: C3, C2, PSS > acpitz0 at acpi0acpitz0: THRM: failed to read _CRT > : no critical temperature defined > acpiac0 at acpi0: AC unit online > acpibat0 at acpi0: BAT0 model "Primary" serial type LION oem > "Hewlett-Packard" > acpibtn0 at acpi0: LID_ > acpibtn1 at acpi0: PWRB > acpibtn2 at acpi0: SLPB > acpivideo0 at acpi0: UVGA > acpivout0 at acpivideo0: CRT_ > acpivout1 at acpivideo0: LCD_ > acpivout2 at acpivideo0: TV__ > acpivout3 at acpivideo0: HDMI > acpivideo1 at acpi0: VGA_ > acpivout4 at acpivideo1: CRT_ > acpivout5 at acpivideo1: LCD_ > acpivout6 at acpivideo1: TV__ > acpivout7 at acpivideo1: HDMI > cpu0: PowerNow! K8 2009 MHz: speeds: 2000 1800 1600 800 MHz > pci0 at mainbus0 bus 0 > "NVIDIA MCP65 Memory" rev 0xa3 at pci0 dev 0 function 0 not configured > pcib0 at pci0 dev 1 function 0 vendor "NVIDIA", unknown product 0x0442 rev > 0xa3 > nviic0 at pci0 dev 1 function 1 "NVIDIA MCP65 SMBus" rev 0xa1 > iic0 at nviic0 > iic1 at nviic0 > spdmem0 at iic1 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM > spdmem1 at iic1 addr 0x51: 1GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM > vendor "NVIDIA", unknown product 0x0447 (class processor subclass > Co-processor, rev 0xa1) at pci0 dev 1 function 3 not configured > ohci0 at pci0 dev 2 function 0 "NVIDIA MCP65 USB" rev 0xa3: apic 2 int 11 > (irq 11), version 1.0, legacy support > ehci0 at pci0 dev 2 function 1 "NVIDIA MCP65 USB" rev 0xa3: apic 2 int 7 > (irq 7) > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1 > nfe0 at pci0 dev 6 function 0 "NVIDIA MCP65 LAN" rev 0xa3: apic 2 int 10 > (irq 10), address 00:1e:68:0c:02:46 > rgephy0 at nfe0 phy 1: RTL8169S/8110S PHY, rev. 2 > azalia0 at pci0 dev 7 function 0 "NVIDIA MCP65 HD Audio" rev 0xa1: apic 2 > int 11 (irq 11) > azalia0: codecs: Conexant CX20561 > audio0 at azalia0 > ppb0 at pci0 dev 8 function 0 "NVIDIA MCP65 PCI" rev 0xa1 > pci1 at ppb0 bus 7 > "Ricoh 5C832 Firewire" rev 0x05 at pci1 dev 5 function 0 not configured > sdhc0 at pci1 dev 5 function 1 "Ricoh 5C822 SD/MMC" rev 0x22: apic 2 int 10 > (irq 10) > sdmmc0 at sdhc0 > "Ricoh 5C843 MMC" rev 0x12 at pci1 dev 5 function 2 not configured > "Ricoh 5C592 Memory Stick" rev 0x12 at pci1 dev 5 function 3 not configured > "Ricoh 5C852 xD" rev 0x12 at pci1 dev 5 function 4 not configured > pciide0 at pci0 dev 9 function 0 "NVIDIA MCP65 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: <TSSTcorp, CDDVDW TS-L632N, 0503> ATAPI > 5/cdrom removable > cd0(pciide0:0:0): using PIO mode 4, DMA mode 2 > pciide0: channel 1 ignored (disabled) > pciide1 at pci0 dev 10 function 0 "NVIDIA MCP65 SATA" rev 0xa3: DMA > pciide1: using apic 2 int 5 (irq 5) for native-PCI interrupt > wd0 at pciide1 channel 0 drive 0: <SAMSUNG HM160HI> > wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors > wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 > ppb1 at pci0 dev 11 function 0 "NVIDIA MCP65 PCIE" rev 0xa1 > pci2 at ppb1 bus 1 > ppb2 at pci0 dev 12 function 0 "NVIDIA MCP65 PCIE" rev 0xa1 > pci3 at ppb2 bus 3 > ath0 at pci3 dev 0 function 0 "Atheros AR5424" rev 0x01: apic 2 int 11 (irq > 11) > ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR02W, address 00:1f:3a:36:a6:d1 > ppb3 at pci0 dev 13 function 0 "NVIDIA MCP65 PCIE" rev 0xa1 > pci4 at ppb3 bus 5 > vga1 at pci4 dev 0 function 0 "NVIDIA GeForce 8400M GS" rev 0xa1 > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > ppb4 at pci0 dev 14 function 0 "NVIDIA MCP65 PCIE" rev 0xa1 > pci5 at ppb4 bus 9 > pchb0 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00 > pchb1 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00 > pchb2 at pci0 dev 24 function 2 "AMD AMD64 0Fh DRAM Cfg" rev 0x00 > kate0 at pci0 dev 24 function 3 "AMD AMD64 0Fh Misc Cfg" rev 0x00: core rev > BH-G2 > isa0 at pcib0 > isadma0 at isa0 > 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 > usb1 at ohci0: USB revision 1.0 > uhub1 at usb1 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1 > mtrr: Pentium Pro MTRR support > uvideo0 at uhub0 port 4 configuration 1 interface 0 "QCM HP Webcam" rev > 2.00/1.06 addr 2 > video0 at uvideo0 > uvisor0 at uhub1 port 2 "Palm, Inc. Palm Handheld" rev 1.10/1.00 addr 2 > ucom0 at uvisor0 portno 0, sync > uhidev0 at uhub1 port 6 configuration 1 interface 0 "Holtek Mouse" rev > 1.10/2.90 addr 3 > uhidev0: iclass 3/1 > ums0 at uhidev0: 3 buttons, Z dir > wsmouse1 at ums0 mux 0 > vscsi0 at root > scsibus1 at vscsi0: 256 targets > softraid0 at root > root on wd0a swap on wd0b dump on wd0b > ath0: unable to reset hardware; hal status 2160264736 > ath0: unable to reset hardware; hal status 361962544 > ath0: unable to reset hardware; hal status 361962544 > ath0: unable to reset hardware; hal status 361962544 > ath0: unable to reset hardware; hal status 362220592 > ath0: unable to reset hardware; hal status 362315168 > ath0: unable to reset hardware; hal status 362220592 > ath0: unable to reset hardware; hal status 362220592