From owner-freebsd-current@FreeBSD.ORG Mon Feb 22 22:48:45 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D63E106566B for ; Mon, 22 Feb 2010 22:48:45 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id DDEEA8FC13 for ; Mon, 22 Feb 2010 22:48:44 +0000 (UTC) Received: by wwb22 with SMTP id 22so572011wwb.13 for ; Mon, 22 Feb 2010 14:48:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=Ore1b9mjhebF4IciCoVQkHL/O1FglXfxKS83IMBlC7E=; b=CjwHK4ut0OkD7ifLrEluINVx+W3Ms30Vfed++h6tM8euQSyp62bleqbV0bv6akKmuF b0WXueIL3ofQfWkAtxxTPL8JVYq4yvxIvrRm6YWv0S79DEzxIZerbarYAqqYsmqa3kdI 5JrYogIKG4c5ewQRuAEED6Sn4NB1vrwpjfcO8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=EQy5VRu9uBbryrKvtfcczP8d4ps54vJPBBY+lMD6+Z5j2lDw2jwnfGVH2vl4Yg4jF3 vcYbDf4wv0LrUKk8eDMWMt/hK6eKinP1ZNUAjdA/qF1ybeoH/OxuP5AIEOV5EM2iNT0A qtWWE8ipZgVGkirkxdflCZ1PB+xS7/Taa71yg= MIME-Version: 1.0 Received: by 10.216.86.208 with SMTP id w58mr3966391wee.45.1266878918200; Mon, 22 Feb 2010 14:48:38 -0800 (PST) In-Reply-To: <201002221946.o1MJkVoT059302@lava.sentex.ca> References: <201001221340.o0MDeXKF011833@lava.sentex.ca> <2a41acea1001221149t6afffd26vaa98a5a3ad6a350f@mail.gmail.com> <201002221946.o1MJkVoT059302@lava.sentex.ca> Date: Mon, 22 Feb 2010 14:48:38 -0800 Message-ID: <2a41acea1002221448o9bce2aan923bcce7897e11ff@mail.gmail.com> From: Jack Vogel To: Mike Tancsa Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org Subject: Re: em0 on S3420 chipset (was Re: em0 on H55 chipset problems) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2010 22:48:45 -0000 Yes, I need to get the code MFC'd anyway, sorry, I just am constantly fighting fires lately it seems :( I'll try to get on it. Jack On Mon, Feb 22, 2010 at 11:46 AM, Mike Tancsa wrote: > > Hi Jack, > Any chance on MFC'ing this version of the em driver ? I have another > MB that does not work with RELENG_8, only HEAD. Its an Intel branded server > motherboard with two onboard NICs. S3420GPC. One of the em nics shows up on > RELENG_8, but not both. > > em1 shows up on RELENG_8, but em0 does not attach on RELENG_8. dmesg below > from a snapshot of HEAD from this morning. I guess the onboard NICs are two > different types of em nics? BTW, Is one "better" than the other ? > > em0@pci0:0:25:0: class=0x020000 card=0x34ec8086 chip=0x10ef8086 > rev=0x05 hdr=0x00 > vendor = 'Intel Corporation' > class = network > subclass = ethernet > cap 01[c8] = powerspec 2 supports D0 D3 current D0 > cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message > cap 13[e0] = PCI Advanced Features: FLR TP > > em1@pci0:3:0:0: class=0x020000 card=0x34ec8086 chip=0x10d38086 rev=0x00 > hdr=0x00 > vendor = 'Intel Corporation' > class = network > subclass = ethernet > cap 01[c8] = powerspec 2 supports D0 D3 current D0 > cap 05[d0] = MSI supports 1 message, 64 bit > cap 10[e0] = PCI-Express 1 endpoint max data 128(256) link x1(x1) > cap 11[a0] = MSI-X supports 5 messages in map 0x1c enabled > > > FreeBSD 9.0-CURRENT #3: Fri Feb 5 11:43:38 EST 2010 > mdtancsa@ich10.sentex.ca:/usr/HEAD/obj/usr/HEAD/src/sys/alix i386 > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz (2666.65-MHz 686-class > CPU) > Origin = "GenuineIntel" Id = 0x106e5 Stepping = 5 > > Features=0xbfebfbff > > Features2=0x98e3fd > AMD Features=0x28100000 > AMD Features2=0x1 > TSC: P-state invariant > real memory = 4294967296 (4096 MB) > avail memory = 2582040576 (2462 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > FreeBSD/SMP: 1 package(s) x 4 core(s) > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 2 > cpu2 (AP): APIC ID: 4 > cpu3 (AP): APIC ID: 6 > ioapic0 irqs 0-23 on motherboard > lapic0: Forcing LINT1 to edge trigger > kbd1 at kbdmux0 > cryptosoft0: on motherboard > acpi0: on motherboard > acpi0: [ITHREAD] > acpi0: Power Button (fixed) > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 > acpi_hpet0: iomem 0xfed00000-0xfed003ff on > acpi0 > Timecounter "HPET" frequency 14318180 Hz quality 900 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pcib1: irq 16 at device 5.0 on pci0 > pci1: on pcib1 > vgapci0: port 0x2000-0x20ff mem > 0xb0000000-0xbfffffff,0xc1a00000-0xc1a0ffff irq 16 at device 0.0 on pci1 > pci1: at device 0.1 (no driver attached) > pci0: at device 8.0 (no driver attached) > pci0: at device 8.1 (no driver attached) > pci0: at device 8.2 (no driver attached) > pci0: at device 8.3 (no driver attached) > pci0: at device 16.0 (no driver attached) > pci0: at device 16.1 (no driver attached) > em0: port 0x3040-0x305f mem > 0xc1b00000-0xc1b1ffff,0xc1b25000-0xc1b25fff irq 20 at device 25.0 on pci0 > em0: Using MSI interrupt > em0: [FILTER] > em0: Ethernet address: 00:15:17:c8:4b:99 > ehci0: mem 0xc1b22000-0xc1b223ff irq > 21 at device 26.0 on pci0 > ehci0: [ITHREAD] > usbus0: EHCI version 1.0 > usbus0: on ehci0 > pcib2: irq 16 at device 28.0 on pci0 > pci2: on pcib2 > pcib3: irq 16 at device 28.4 on pci0 > pci3: on pcib3 > em1: port 0x1000-0x101f mem > 0xc1900000-0xc191ffff,0xc1920000-0xc1923fff irq 16 at device 0.0 on pci3 > em1: Using MSIX interrupts > em1: [ITHREAD] > em1: [ITHREAD] > em1: [ITHREAD] > em1: Ethernet address: 00:15:17:c8:4b:98 > pcib4: irq 18 at device 28.6 on pci0 > pci4: on pcib4 > pcib5: irq 19 at device 28.7 on pci0 > pci5: on pcib5 > ehci1: mem 0xc1b21000-0xc1b213ff irq > 23 at device 29.0 on pci0 > ehci1: [ITHREAD] > usbus1: EHCI version 1.0 > usbus1: on ehci1 > pcib6: at device 30.0 on pci0 > pci6: on pcib6 > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci0: port > 0x3068-0x306f,0x3074-0x3077,0x3060-0x3067,0x3070-0x3073,0x3020-0x303f mem > 0xc1b20000-0xc1b207ff irq 18 at device 31.2 on pci0 > atapci0: [ITHREAD] > atapci0: AHCI v1.30 controller with 6 3Gbps ports, PM not supported > ata2: on atapci0 > ata2: [ITHREAD] > ata3: on atapci0 > ata3: [ITHREAD] > ata4: on atapci0 > ata4: [ITHREAD] > ata5: on atapci0 > ata5: [ITHREAD] > ata6: on atapci0 > ata6: [ITHREAD] > ata7: on atapci0 > ata7: [ITHREAD] > pci0: at device 31.3 (no driver attached) > acpi_button0: on acpi0 > atrtc0: port 0x70-0x71,0x74-0x77 irq 8 on acpi0 > uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 > uart0: [FILTER] > uart0: console (9600,n,8,1) > uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 > uart1: [FILTER] > cpu0: on acpi0 > est0: on cpu0 > p4tcc0: on cpu0 > cpu1: on acpi0 > est1: on cpu1 > p4tcc1: on cpu1 > cpu2: on acpi0 > est2: on cpu2 > p4tcc2: on cpu2 > cpu3: on acpi0 > est3: on cpu3 > p4tcc3: on cpu3 > pmtimer0 on isa0 > orm0: at iomem 0xd0000-0xd0fff,0xd1000-0xd1fff pnpid > ORM0000 on isa0 > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0 > ata0: [ITHREAD] > ata1 at port 0x170-0x177,0x376 irq 15 on isa0 > ata1: [ITHREAD] > Timecounters tick every 1.000 msec > IPsec: Initialized Security Association Processing. > usbus0: 480Mbps High Speed USB v2.0 > usbus1: 480Mbps High Speed USB v2.0 > lapic6: Forcing LINT1 to edge trigger > SMP: AP CPU #3 Launched! > lapic4: Forcing LINT1 to edge trigger > SMP: AP CPU #2 Launched! > lapic2: Forcing LINT1 to edge trigger > SMP: AP CPU #1 Launched! > ugen1.1: at usbus1Root mount waiting for:ugen0.1: at usbus0 > usbus1 > usbus0 > uhub0: on usbus0 > uhub1: on usbus1 > uhub0: 2 ports with 2 removable, self powered > uhub1: 2 ports with 2 removable, self powered > Root mount waiting for: usbus1 usbus0 > ugen0.2: at usbus0 > uhub2: on > usbus0 > ugen1.2: at usbus1 > uhub3: on > usbus1 > uhub2: 6 ports with 6 removable, self powered > uhub3: 6 ports with 6 removable, self powered > ugen1.3: at usbus1ugen0.3: at usbus0 > > ukbd1: on usbus0 > Root mount waiting for: usbus1 usbus0 > ukbd0: on usbus1 > kbd0 at ukbd1 > kbd2 at ukbd0 > uhid1: on usbus0 > uhid0: on usbus1 > Trying to mount root from nfs: > NFS ROOT: 10.255.255.1:/usr/home/pxe9/ > > > > > > At 02:49 PM 1/22/2010, Jack Vogel wrote: > >> Mike, can you tell me more details about the system, is this a laptop? >> >> Jack >> >> >> On Fri, Jan 22, 2010 at 5:40 AM, Mike Tancsa < >> mike@sentex.net> wrote: >> Not sure how easy it is to repeat, but running HEAD from yesterday causes >> the em0 do post a >> em0: Watchdog timeout -- resetting >> to the serial console on a new i3 system that we just got to test with. At >> that point, the box's network is no longer responding. It netboots off em0 >> so not sure if the hang after that is nfs not recovering or not, but it does >> not respond to network traffic at all. >> >> em0@pci0:0:25:0: class=0x020000 card=0x00368086 chip=0x10f08086 >> rev=0x06 hdr=0x00 >> vendor = 'Intel Corporation' >> class = network >> subclass = ethernet >> cap 01[c8] = powerspec 2 supports D0 D3 current D0 >> cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message >> cap 13[e0] = PCI Advanced Features: FLR TP >> ehci0@pci0:0:26:0: class=0x0c0320 card=0x00368086 chip=0x3b3c8086 >> rev=0x06 hdr=0x00 >> >> Copyright (c) 1992-2010 The FreeBSD Project. >> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 >> The Regents of the University of California. All rights reserved. >> FreeBSD is a registered trademark of The FreeBSD Foundation. >> FreeBSD 9.0-CURRENT #0: Thu Jan 21 15:14:14 EST 2010 >> mdtancsa@ich10.sentex.ca:/usr/HEAD/obj/usr/HEAD/src/sys/alix i386 >> Timecounter "i8254" frequency 1193182 Hz quality 0 >> CPU: Intel(R) Core(TM) i3 CPU 530 @ 2.93GHz (2926.02-MHz >> 686-class CPU) >> Origin = "GenuineIntel" Id = 0x20652 Stepping = 2 >> >> >> Features=0xbfebfbff >> >> >> Features2=0x98e3bd >> AMD Features=0x28100000 >> AMD Features2=0x1 >> TSC: P-state invariant >> real memory = 1073741824 (1024 MB) >> avail memory = 894119936 (852 MB) >> ACPI APIC Table: >> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs >> FreeBSD/SMP: 1 package(s) x 2 core(s) >> cpu0 (BSP): APIC ID: 0 >> cpu1 (AP): APIC ID: 4 >> ACPI Warning: 32/64X FACS address mismatch in FADT - 3762AE40/ >> 03762AD40, using 32 (20091214/tbfadt-586) >> ioapic0 irqs 0-23 on motherboard >> kbd1 at kbdmux0 >> cryptosoft0: on motherboard >> acpi0: on motherboard >> acpi0: [ITHREAD] >> acpi0: Power Button (fixed) >> Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 >> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 >> acpi_hpet0: iomem 0xfed00000-0xfed003ff on >> acpi0 >> Timecounter "HPET" frequency 14318180 Hz quality 900 >> pcib0: port 0xcf8-0xcff on acpi0 >> pci0: on pcib0 >> vgapci0: port 0xf100-0xf107 mem >> 0xfe000000-0xfe3fffff,0xd0000000-0xdfffffff irq 16 at device 2.0 on pci0 >> pci0: at device 22.0 (no driver attached) >> atapci0: port >> 0xf0f0-0xf0f7,0xf0e0-0xf0e3,0xf0d0-0xf0d7,0xf0c0-0xf0c3,0xf0b0-0xf0bf irq >> 18 at device 22.2 on pci0 >> atapci0: [ITHREAD] >> ata2: on atapci0 >> ata2: [ITHREAD] >> ata3: on atapci0 >> ata3: [ITHREAD] >> pci0: at device 22.3 (no driver attached) >> em0: port 0xf040-0xf05f mem >> 0xfe400000-0xfe41ffff,0xfe428000-0xfe428fff irq 20 at device 25.0 on pci0 >> em0: Using MSI interrupt >> em0: [FILTER] >> em0: Ethernet address: 00:27:0e:09:5e:00 >> ehci0: mem 0xfe427000-0xfe4273ff irq >> 16 at device 26.0 on pci0 >> ehci0: [ITHREAD] >> usbus0: EHCI version 1.0 >> usbus0: on ehci0 >> pci0: at device 27.0 (no driver attached) >> pcib1: irq 17 at device 28.0 on pci0 >> pci1: on pcib1 >> pcib2: irq 17 at device 28.4 on pci0 >> pci2: on pcib2 >> ehci1: mem 0xfe426000-0xfe4263ff irq >> 23 at device 29.0 on pci0 >> ehci1: [ITHREAD] >> usbus1: EHCI version 1.0 >> usbus1: on ehci1 >> pcib3: at device 30.0 on pci0 >> pci3: on pcib3 >> isab0: at device 31.0 on pci0 >> isa0: on isab0 >> atapci1: port >> 0xf090-0xf097,0xf080-0xf083,0xf070-0xf077,0xf060-0xf063,0xf020-0xf03f mem >> 0xfe425000-0xfe4257ff irq 19 at device 31.2 on pci0 >> atapci1: [ITHREAD] >> atapci1: AHCI v1.30 controller with 6 3Gbps ports, PM not supported >> ata4: on atapci1 >> ata4: [ITHREAD] >> ata5: on atapci1 >> ata5: [ITHREAD] >> ata6: on atapci1 >> ata6: [ITHREAD] >> ata7: on atapci1 >> ata7: [ITHREAD] >> ata8: on atapci1 >> ata8: [ITHREAD] >> ata9: on atapci1 >> ata9: [ITHREAD] >> pci0: at device 31.3 (no driver attached) >> acpi_button0: on acpi0 >> atrtc0: port 0x70-0x71 irq 8 on acpi0 >> atkbdc0: port 0x60,0x64 irq 1 on acpi0 >> atkbd0: irq 1 on atkbdc0 >> kbd0 at atkbd0 >> atkbd0: [GIANT-LOCKED] >> atkbd0: [ITHREAD] >> uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 >> uart0: [FILTER] >> uart0: console (9600,n,8,1) >> cpu0: on acpi0 >> est0: on cpu0 >> p4tcc0: on cpu0 >> cpu1: on acpi0 >> est1: on cpu1 >> p4tcc1: on cpu1 >> pmtimer0 on isa0 >> orm0: at iomem 0xcd000-0xcdfff pnpid ORM0000 on isa0 >> sc0: at flags 0x100 on isa0 >> sc0: VGA <16 virtual consoles, flags=0x300> >> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 >> ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0 >> ata0: [ITHREAD] >> ata1 at port 0x170-0x177,0x376 irq 15 on isa0 >> ata1: [ITHREAD] >> Timecounters tick every 1.000 msec >> IPsec: Initialized Security Association Processing. >> usbus0: 480Mbps High Speed USB v2.0 >> usbus1: 480Mbps High Speed USB v2.0 >> ad0: 76319MB at ata4-master UDMA100 SATA >> 1.5Gb/s >> SMP: AP CPU #1 Launched! >> ugen0.1: at usbus0ugen1.1: at usbus1 >> uhub0: >> on usbus0 >> uhub1: on usbus1 >> Root mount waiting for: usbus1 usbus0 >> Root mount waiting for: usbus1 usbus0 >> uhub0: 3 ports with 3 removable, self powered >> uhub1: 3 ports with 3 removable, self powered >> Root mount waiting for: usbus1 usbus0 >> ugen0.2: at usbus0 >> uhub2: on >> usbus0 >> ugen1.2: at usbus1 >> uhub3: on >> usbus1 >> uhub2: 6 ports with 6 removable, self powered >> Root mount waiting for: usbus1 >> uhub3: 6 ports with 6 removable, self powered >> Trying to mount root from nfs: >> NFS ROOT: 10.255.255.1:/usr/home/pxe9/ >> >> -------------------------------------------------------------------- >> Mike Tancsa, tel +1 519 651 3400 >> Sentex Communications, mike@sentex.net >> Providing Internet since 1994 >> www.sentex.net >> Cambridge, Ontario Canada < >> http://www.sentex.net/mike>www.sentex.net/mike >> >> > -------------------------------------------------------------------- > Mike Tancsa, tel +1 519 651 3400 > Sentex Communications, mike@sentex.net > Providing Internet since 1994 www.sentex.net > Cambridge, Ontario Canada www.sentex.net/mike > >