Date: Tue, 30 Oct 2007 16:01:04 +0200 From: Oleg Lomaka <oleg.lomaka@gmail.com> To: pyunyh@gmail.com Cc: freebsd-stable@freebsd.org Subject: Re: any hope for nfe/msk? Message-ID: <47273920.8090003@gmail.com> In-Reply-To: <20071030085831.GG38663@cdnetworks.co.kr> References: <E1IkakO-0005BS-CZ@cs1.cs.huji.ac.il> <20071024084934.GF11234@cdnetworks.co.kr> <471F52DC.4080305@gmail.com> <20071025020637.GA16092@cdnetworks.co.kr> <47203EC3.4010203@gmail.com> <20071025083032.GE16092@cdnetworks.co.kr> <20071027030921.GC25452@cdnetworks.co.kr> <4726EE79.6050401@lomaka.org.ua> <20071030085831.GG38663@cdnetworks.co.kr>
next in thread | previous in thread | raw e-mail | index | archive | help
Pyun YongHyeon wrote: > On Tue, Oct 30, 2007 at 10:42:33AM +0200, Oleg Lomaka wrote: > > Pyun YongHyeon wrote: > > >On Thu, Oct 25, 2007 at 05:30:32PM +0900, To Oleg Lomaka wrote: > > > > > >[...] > > > > > > > > tdevil% grep -iE "msk|phy" /var/run/dmesg.boot > > > > > pci0: domain=0, physical bus=0 > > > > > pci2: domain=0, physical bus=2 > > > > > mskc0: <Marvell Yukon 88E8038 Gigabit Ethernet> port 0x2000-0x20ff > > > mem > > 0xd0100000-0xd0103fff irq 16 at device 0.0 on pci2 > > > > > mskc0: Reserved 0x4000 bytes for rid 0x10 type 3 at 0xd0100000 > > > > > mskc0: MSI count : 2 > > > > > mskc0: RAM buffer size : 16KB > > > > > mskc0: Port 0 : Rx Queue 10KB(0x00000000:0x000027ff) > > > > > mskc0: Port 0 : Tx Queue 10KB(0x00002800:0x00004fff) > > > > > msk0: <Marvell Technology Group Ltd. Yukon FE Id 0xb7 Rev 0x01> on > > > mskc0 > > > > > msk0: bpf attached > > > > > msk0: Ethernet address: 00:1b:24:0e:bc:26 > > > > > miibus0: <MII bus> on msk0 > > > > > e1000phy0: <Marvell 88E3082 10/100 Fast Ethernet PHY> PHY 0 on > > > miibus0 > > > > > e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > > > > > ukphy0: <Generic IEEE 802.3u media interface> PHY 3 on miibus0 > > > > > ukphy0: OUI 0x001000, model 0x0004, rev. 0 > > > > > ukphy0: no media present > > > > > ukphy1: <Generic IEEE 802.3u media interface> PHY 6 on miibus0 > > > > > ukphy1: OUI 0x004400, model 0x0011, rev. 0 > > > > > ukphy1: no media present > > > > > mskc0: [MPSAFE] > > > > > mskc0: [FILTER] > > > > > pci3: domain=0, physical bus=3 > > > > > pci4: domain=0, physical bus=4 > > > > > pci5: domain=0, physical bus=5 > > > > > pci10: domain=0, physical bus=10 > > > > > > > > > > > > > Thanks for the info. Would please try attached patch? > > > > > > > > > >Any progress here? > > >I guess it's very important to fix the bug as it would affect all > > >Yukon FE based NIC. > > > > > > > > I've applied your patch again yesterday. There was no halts for few > > hours already (after ports cvs up and other network/cpu loads). I'll > > give you a note in a day or two if there will no be any troubles. > > Thanks for your help. > > > > Glad to hear that. Would you show me the verbosed boot messages > related with msk(4)? > > According to your dmesg output I guess you have phantom PHYs > attached to msk(4) too. So I'd also like to know the output of > "devinfo -rv". > > I had RxFIFO overrun again :( from dmest: msk0: Rx FIFO overrun! pid 1245 (gnome-vfs-daemon), uid 1001: exited on signal 11 msk0: watchdog timeout (missed Tx interrupts) -- recovering from boot log: pci2: <PCI bus> on pcib1 pci2: domain=0, physical bus=2 found-> vendor=0x11ab, dev=0x4352, revid=0x14 domain=0, bus=2, slot=0, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x4010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 MSI supports 2 messages, 64 bit map[10]: type Memory, range 64, base 0xd0100000, size 14, enabled pcib1: requested memory range 0xd0100000-0xd0103fff: good map[18]: type I/O Port, range 32, base 0x2000, size 8, enabled pcib1: requested I/O range 0x2000-0x20ff: in range pcib1: slot 0 INTA routed to irq 16 mskc0: <Marvell Yukon 88E8038 Gigabit Ethernet> port 0x2000-0x20ff mem 0xd0100000-0xd0103fff irq 16 at device 0.0 on pci2 mskc0: Reserved 0x4000 bytes for rid 0x10 type 3 at 0xd0100000 mskc0: MSI count : 2 mskc0: RAM buffer size : 4KB mskc0: Port 0 : Rx Queue 10KB(0x00000000:0x000027ff) mskc0: Port 0 : Tx Queue -6KB(0x00002800:0x00000fff) msk0: <Marvell Technology Group Ltd. Yukon FE Id 0xb7 Rev 0x01> on mskc0 msk0: bpf attached msk0: Ethernet address: 00:1b:24:0e:bc:26 miibus0: <MII bus> on msk0 e1000phy0: <Marvell 88E3082 10/100 Fast Ethernet PHY> PHY 0 on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ukphy0: <Generic IEEE 802.3u media interface> PHY 3 on miibus0 ukphy0: OUI 0x001000, model 0x0004, rev. 0 ukphy0: no media present ukphy1: <Generic IEEE 802.3u media interface> PHY 6 on miibus0 ukphy1: OUI 0x004400, model 0x0011, rev. 0 ukphy1: no media present ioapic0: routing intpin 16 (PCI IRQ 16) to vector 49 mskc0: [MPSAFE] mskc0: [FILTER] pcib2: <PCI-PCI bridge> irq 17 at device 28.1 on pci0 pcib2: domain 0 pcib2: secondary bus 3 pcib2: subordinate bus 3 pcib2: I/O decode 0xf000-0xfff pcib2: memory decode 0xd0000000-0xd and devinfo: tdevil% devinfo -rv nexus0 cryptosoft0 apic0 I/O memory addresses: 0xfec00000-0xfec0001f 0xfee00000-0xfee003ff legacy0 cpu0 pcib0 pci0 hostb0 pnpinfo vendor=0x8086 device=0x27a0 subvendor=0x1025 subdevice=0x0110 class=0x060000 at slot=0 function=0 vgapci0 pnpinfo vendor=0x8086 device=0x27a2 subvendor=0x1025 subdevice=0x0110 class=0x030000 at slot=2 function=0 I/O ports: 0x1800-0x1807 I/O memory addresses: 0xc0000000-0xcfffffff 0xd0300000-0xd037ffff 0xd0400000-0xd043ffff agp0 drm0 vgapci1 pnpinfo vendor=0x8086 device=0x27a6 subvendor=0x1025 subdevice=0x0110 class=0x038000 at slot=2 function=1 I/O memory addresses: 0xd0380000-0xd03fffff drm1 pcm0 pnpinfo vendor=0x8086 device=0x27d8 subvendor=0x1025 subdevice=0x0110 class=0x040300 at slot=27 function=0 Interrupt request lines: 0x16 I/O memory addresses: 0xd0440000-0xd0443fff unknown pcib1 pnpinfo vendor=0x8086 device=0x27d0 subvendor=0x1025 subdevice=0x0110 class=0x060400 at slot=28 function=0 pci2 mskc0 pnpinfo vendor=0x11ab device=0x4352 subvendor=0x1025 subdevice=0x0110 class=0x020000 at slot=0 function=0 Interrupt request lines: 0x10 I/O ports: 0x2000-0x20ff I/O memory addresses: 0xd0100000-0xd0103fff msk0 miibus0 e1000phy0 pnpinfo oui=0x5043 model=0x8 rev=0x3 at phyno=0 ukphy0 pnpinfo oui=0x1000 model=0x4 rev=0x0 at phyno=3 ukphy1 pnpinfo oui=0x4400 model=0x11 rev=0x0 at phyno=6 pcib2 pnpinfo vendor=0x8086 device=0x27d2 subvendor=0x1025 subdevice=0x0110 class=0x060400 at slot=28 function=1 pci3 unknown pnpinfo vendor=0x168c device=0x001c subvendor=0x1468 subdevice=0x0428 class=0x020000 at slot=0 function=0 I/O memory addresses: 0xd0000000-0xd000ffff pcib3 pnpinfo vendor=0x8086 device=0x27d4 subvendor=0x1025 subdevice=0x0110 class=0x060400 at slot=28 function=2 pci4 pcib4 pnpinfo vendor=0x8086 device=0x27d6 subvendor=0x1025 subdevice=0x0110 class=0x060400 at slot=28 function=3 pci5 uhci0 pnpinfo vendor=0x8086 device=0x27c8 subvendor=0x1025 subdevice=0x0110 class=0x0c0300 at slot=29 function=0 Interrupt request lines: 0x17 I/O ports: 0x1820-0x183f usb0 uhub0 uhci1 pnpinfo vendor=0x8086 device=0x27c9 subvendor=0x1025 subdevice=0x0110 class=0x0c0300 at slot=29 function=1 Interrupt request lines: 0x13 I/O ports: 0x1840-0x185f usb1 uhub1 uhci2 pnpinfo vendor=0x8086 device=0x27ca subvendor=0x1025 subdevice=0x0110 class=0x0c0300 at slot=29 function=2 Interrupt request lines: 0x12 I/O ports: 0x1860-0x187f usb2 uhub2 uhci3 pnpinfo vendor=0x8086 device=0x27cb subvendor=0x1025 subdevice=0x0110 class=0x0c0300 at slot=29 function=3 I/O ports: 0x1880-0x189f usb3 uhub3 ehci0 pnpinfo vendor=0x8086 device=0x27cc subvendor=0x1025 subdevice=0x0110 class=0x0c0320 at slot=29 function=7 I/O memory addresses: 0xd0644000-0xd06443ff usb4 uhub4 ugen0 pnpinfo vendor=0x064e product=0xa100 devclass=0xef devsubclass=0x02 release=0x0100 sernum="CN0316-OV03-VA-01.00.00" at port=6 umass0 pnpinfo vendor=0x152d product=0x2338 devclass=0x00 devsubclass=0x00 release=0x0100 sernum="307541F07173" intclass=0x08 intsubclass=0x06 at port=3 interface=0 pcib5 pnpinfo vendor=0x8086 device=0x2448 subvendor=0x1025 subdevice=0x0110 class=0x060401 at slot=30 function=0 pci10 unknown pnpinfo vendor=0x104c device=0x8039 subvendor=0x1025 subdevice=0x0110 class=0x060700 at slot=9 function=0 I/O memory addresses: 0xd0204000-0xd0204fff unknown pnpinfo vendor=0x104c device=0x803b subvendor=0x1025 subdevice=0x0110 class=0x018000 at slot=9 function=2 I/O memory addresses: 0xd0205000-0xd0205fff isab0 pnpinfo vendor=0x8086 device=0x27b9 subvendor=0x1025 subdevice=0x0110 class=0x060100 at slot=31 function=0 isa0 sysresource0 pnpinfo pnpid=PNP0c02 I/O ports: 0x10-0x1f 0x24-0x25 0x28-0x29 0x2c-0x2d 0x30-0x31 0x34-0x35 0x38-0x39 0x3c-0x3d 0x50-0x53 0x62 0x66 0x72-0x73 0x74-0x75 0x76-0x77 0x80 0x90-0x91 0x92 0x93-0x9f 0xa4-0xa5 0xa8-0xa9 0xac-0xad 0xb0-0xb1 0xb2-0xb3 0xb4-0xb5 0xb8-0xb9 0xbc-0xbd 0x680-0x6ff 0x1640-0x164f I/O memory addresses: 0xe0000000-0xefffffff 0xfed14000-0xfed17fff 0xfed18000-0xfed18fff 0xfed19000-0xfed19fff unknown pnpinfo pnpid=PNP0c01 atdma0 pnpinfo pnpid=PNP0200 DMA request lines: 4 I/O ports: 0x0-0xf 0x81-0x8f 0xc0-0xdf attimer0 pnpinfo pnpid=PNP0100 Interrupt request lines: 0x0 I/O ports: 0x40-0x43 attimer1 pnpinfo pnpid=PNP0b00 Interrupt request lines: 0x8 I/O ports: 0x70-0x71 unknown pnpinfo pnpid=PNP0303 npxisa0 pnpinfo pnpid=PNP0c04 Interrupt request lines: 0xd I/O ports: 0xf0-0xff unknown pnpinfo pnpid=PNP0800 I/O ports: 0x61 unknown pnpinfo pnpid=PNP0c02 sysresource1 pnpinfo pnpid=PNP0c02 I/O ports: 0xfe00-0xfe01 unknown pnpinfo pnpid=PNP0c02 unknown pnpinfo pnpid=PNP0c02 pcibus_pnp0 pnpinfo pnpid=PNP0a03 I/O ports: 0xcf8-0xcff sysresource2 pnpinfo pnpid=PNP0c02 I/O ports: 0x4d0-0x4d1 0x1000-0x105f 0x1060-0x107f 0x1180-0x11bf I/O memory addresses: 0xfed00000-0xfed033ff 0xfed1c000-0xfed1ffff 0xfed20000-0xfed3ffff 0xfed45000-0xfed8ffff 0xfef00000-0xfeffffff unknown pnpinfo pnpid=PNP0c02 sysresource3 pnpinfo pnpid=PNP0c02 I/O memory addresses: 0xfec10000-0xfec17fff sysresource4 pnpinfo pnpid=PNP0c02 I/O memory addresses: 0xfec18000-0xfec1ffff sysresource5 pnpinfo pnpid=PNP0c02 I/O memory addresses: 0xfec20000-0xfec27fff sysresource6 pnpinfo pnpid=PNP0c02 I/O memory addresses: 0xfec28000-0xfec2ffff sysresource7 pnpinfo pnpid=PNP0c02 I/O memory addresses: 0xfec30000-0xfec37fff sysresource8 pnpinfo pnpid=PNP0c02 I/O memory addresses: 0xfec38000-0xfec3ffff unknown pnpinfo pnpid=INT0800 sysresource9 pnpinfo pnpid=PNP0c02 I/O memory addresses: 0xcea00-0xcefff unknown pnpinfo pnpid=PNP0f13 adv0 aha0 aic0 atkbdc0 I/O ports: 0x60 0x64 psm0 Interrupt request lines: 0xc atkbd0 Interrupt request lines: 0x1 bt0 cs0 ed0 fdc0 fe0 ie0 le0 ppc0 sc0 sio0 sio1 sio2 sio3 sn0 vga0 I/O ports: 0x3c0-0x3df I/O memory addresses: 0xa0000-0xbffff vt0 orm0 pnpinfo pnpid=ORM0000 I/O memory addresses: 0xcf000-0xcffff 0xdf800-0xdffff pmtimer0 atapci0 pnpinfo vendor=0x8086 device=0x27c4 subvendor=0x1025 subdevice=0x0110 class=0x010180 at slot=31 function=2 I/O ports: 0x170-0x177 0x1f0-0x1f7 0x376 0x3f6 0x18b0-0x18bf ata0 Interrupt request lines: 0xe ad0 subdisk0 atapicam0 ata1 Interrupt request lines: 0xf acd0 atapicam1 unknown pnpinfo vendor=0x8086 device=0x27da subvendor=0x1025 subdevice=0x0110 class=0x0c0500 at slot=31 function=3 I/O ports: 0x18c0-0x18df eisa0 ram0 I/O memory addresses: 0x0-0x9dfff 0x100000-0x5f68ffff npx0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47273920.8090003>