On Thu, Aug 17, 2006 at 09:04:05PM +0200, Mark Kettenis wrote: > Last night I checked in a driver, msk(4), for the previously > unsupported Marvell and SysKonnect Gigabit NICs. The driver works > pretty well for me on the new Mac mini, but could really use some more > testing, especially on different hardware. If you have such hardware > please compile yourself a fresh kernel (or fetch tourself today's > snapshot) and send me the dmesg, and a short report how well the > driver works for you. > > Thanks, > Mark
Thanks for all the effort to support these NICs. Well I got an onboard chip on an ASUS A8V-E DELUXE motherboard. I installed the latest i386 snapshot (see dmesg below), but things are not quite working. The interface gets attached (as msk0) and I can configure it with ifconfig. The problem is as soon as I up/assign ip/change media on msk0 I get 99.9% interrupt load, rendering the system pretty much unuseable until I reboot. No change whether cable is plugged in or isn't. Weird thing is that the interrupts don't show up in: systat -w 1 vmstat 1 users Load 1.79 1.04 0.48 Fri Aug 18 12:56:55 2006 memory totals (in KB) PAGING SWAPPING Interrupts real virtual free in out in out 228 total Active 162908 162908 1529564 ops mskc0 All 529040 529040 5723848 pages fxp0 pciide0 Proc:r d s w Csw Trp Sys Int Sof Flt 1 forks uhci0 2 10 45 37 245 59637 28 37 1 fkppw ehci0 fksvm pckbc0 91.5%Int 0.7%Sys 2.1%Usr 0.0%Nic 5.7%Idle pwait 100 clock | | | | | | | | | | | relck 128 rtc ||||||||||||||||||||||||||||||||||||||||||||||> rlkok noram Namei Sys-cache Proc-cache No-cache 3 ndcpy Calls hits % hits % miss % fltcp zfod 1 cow Disks wd0 cd0 cd1 fd0 128 fmin seeks 170 ftarg xfers itarg Kbyte 148 wired sec pdfre pdscn pzidle 23 kmapent Dmesg: OpenBSD 4.0-beta (GENERIC) #1072: Thu Aug 17 12:55:53 MDT 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD Athlon(tm) 64 Processor 3000+ ("AuthenticAMD" 686-class, 512KB L2 cache) 1.81 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3 cpu0: Cool`n'Quiet K8 1801 Mhz: speeds: 1800 1000 Mhz real mem = 2145873920 (2095580K) avail mem = 1777840128 (1736172K) using 4256 buffers containing 278921216 bytes (272384K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(24) BIOS, date 01/25/06, BIOS32 rev. 0 @ 0xf1e40, SMBIOS rev. 2.3 @ 0xf0000 (69 entries) bios0: ASUSTek Computer INC. A8V-E DELUXE apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 70102 dobusy 1 doidle 1 pcibios0 at bios0: rev 3.0 @ 0xf0000/0xdf84 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde40/320 (18 entries) pcibios0: PCI Exclusive IRQs: 3 5 11 pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT82C596A ISA" rev 0x00) pcibios0: PCI bus #6 is the last bus bios0: ROM list: 0xc0000/0xd000 0xd0000/0x1000 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "VIA K8T890 Host" rev 0x00 pchb1 at pci0 dev 0 function 1 "VIA K8T890 Host" rev 0x00 pchb2 at pci0 dev 0 function 2 "VIA K8T890 Host" rev 0x00 pchb3 at pci0 dev 0 function 3 "VIA K8T890 Host" rev 0x00 pchb4 at pci0 dev 0 function 4 "VIA K8T890 Host" rev 0x00 "VIA K8T890 IOAPIC" rev 0x00 at pci0 dev 0 function 5 not configured pchb5 at pci0 dev 0 function 7 "VIA K8T890 Host" rev 0x00 ppb0 at pci0 dev 1 function 0 "VIA K8HTB AGP" rev 0x00 pci1 at ppb0 bus 1 ppb1 at pci0 dev 2 function 0 "VIA K8T890 PCI-PCI" rev 0x00 pci2 at ppb1 bus 2 vga1 at pci2 dev 0 function 0 "ATI Radeon X600 (RV380)" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) "ATI Radeon X600 (RV380) Sec" rev 0x00 at pci2 dev 0 function 1 not configured ppb2 at pci0 dev 3 function 0 "VIA K8T890 PCI-PCI" rev 0x00 pci3 at ppb2 bus 3 ppb3 at pci0 dev 3 function 1 "VIA K8T890 PCI-PCI" rev 0x00 pci4 at ppb3 bus 4 ppb4 at pci0 dev 3 function 2 "VIA K8T890 PCI-PCI" rev 0x00 pci5 at ppb4 bus 5 mskc0 at pci5 dev 0 function 0 "Marvell Yukon 88E8053" rev 0x15, Marvell Yukon-2 EC rev. A3 (0x2): irq 11 msk0 at mskc0 port A, address 00:11:d8:aa:4a:61 eephy0 at msk0 phy 0: Marvell 88E1111 Gigabit PHY, rev. 2 ppb5 at pci0 dev 3 function 3 "VIA K8T890 PCI-PCI" rev 0x00 pci6 at ppb5 bus 6 emu0 at pci0 dev 12 function 0 "Creative Labs SoundBlaster Live" rev 0x08: irq 5 ac97: codec id 0x54524123 (TriTech Microelectronics TR28602) audio0 at emu0 "Creative Labs PCI Gameport Joystick" rev 0x08 at pci0 dev 12 function 1 not configured fxp0 at pci0 dev 13 function 0 "Intel 8255x" rev 0x08, i82559: irq 11, address 00:90:27:8e:61:99 inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4 pciide0 at pci0 dev 15 function 0 "VIA VT82C571 IDE" rev 0x06: ATA133, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <SAMSUNG SP2014N> wd0: 16-sector PIO, LBA48, 190782MB, 390721968 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <AOpen, DVD-1640 PRO, 1.24> SCSI0 5/cdrom removable atapiscsi1 at pciide0 channel 1 drive 1 scsibus1 at atapiscsi1: 2 targets cd1 at scsibus1 targ 0 lun 0: <HL-DT-ST, DVDRAM GSA-4082B, A209> SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 cd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2 uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x81: irq 3 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x81: irq 3 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x81: irq 5 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3 at pci0 dev 16 function 3 "VIA VT83C572 USB" rev 0x81: irq 5 usb3 at uhci3: USB revision 1.0 uhub3 at usb3 uhub3: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0 at pci0 dev 16 function 4 "VIA VT6202 USB" rev 0x86: irq 11 usb4 at ehci0: USB revision 2.0 uhub4 at usb4 uhub4: VIA EHCI root hub, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered viapm0 at pci0 dev 17 function 0 "VIA VT8237 ISA" rev 0x00 iic0 at viapm0 lm1 at iic0 addr 0x2f: W83791SD pchb6 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00 pchb7 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00 pchb8 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00 pchb9 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00 isa0 at mainbus0 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 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 lm0 at isa0 port 0x290/8: unknown Winbond chip (ID 0x88) npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec biomask ff6d netmask ff6d ttymask ffef pctr: user-level cycle counter enabled uhub5 at uhub4 port 4 uhub5: Standard Microsystems product 0xa700, rev 2.00/0.00, addr 2 uhub5: 3 ports with 3 removable, bus powered, multiple transaction translators uhub6 at uhub0 port 2 uhub6: Lite-On Technology USB 1.1 2port downstream low power hub, rev 1.10/1.00, addr 2 uhub6: 3 ports with 2 removable, bus powered uhidev0 at uhub6 port 1 configuration 1 interface 0 uhidev0: Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ), rev 1.10/1.00, addr 3, iclass 3/1 ukbd0 at uhidev0: 8 modifier keys, 6 key codes wskbd1 at ukbd0 mux 1 wskbd1: connecting to wsdisplay0 uhidev1 at uhub6 port 1 configuration 1 interface 1 uhidev1: Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ), rev 1.10/1.00, addr 3, iclass 3/0 uhidev1: 3 report ids uhid0 at uhidev1 reportid 3: input=3, output=0, feature=0 uhidev2 at uhub6 port 3 configuration 1 interface 0 uhidev2: Logitech USB-PS/2 Optical Mouse, rev 2.00/25.00, addr 4, iclass 3/1 ums0 at uhidev2: 4 buttons and Z dir. wsmouse0 at ums0 mux 0 dkcsum: wd0 matches BIOS drive 0x80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 If I can help you in any way to debug this (testing patches, etc.) I'd be happy to help. Regards, ahb