From owner-freebsd-stable@FreeBSD.ORG Sat Oct 13 03:19:07 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C5AB16A418 for ; Sat, 13 Oct 2007 03:19:07 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id DF3D713C461 for ; Sat, 13 Oct 2007 03:19:06 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so905258nfb for ; Fri, 12 Oct 2007 20:19:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=bxyi2bkfUTpU7TfBp3KyY+S/RpH2Sr3D3ojT0x/ys0c=; b=ANU6eoFQr3rI/h0BPGOIQmyKh0mGncJtT+hyOIC5nk+HNihUpk+6+Jkn/BbdOb6N8EMWd23Bxoz2HouS8AseveLFMB4DyAqiN6YIS1DwqXjlahWf/it3Q3nrvyXJpFVcFDogDpyfLlTY71F6/6AEPZiD/sEncMygfSWWuBBGfRA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=r1jaUKc4r8cwzEwBerCN0UiS9VYxlpqyuNyiar6cb6ElEDSs5ZjNmkfa5zxB2rFeJPoIv83YU+8MbGnVO9A9FVIEthp8MXFHzmqY40r74lu+v291Vef+AvEm2aOUqo1i4Fjg4uFasTnLisba5JUvC/RvoUrQf7F8mt1j6nYzfQU= Received: by 10.86.78.4 with SMTP id a4mr2894557fgb.1192245545176; Fri, 12 Oct 2007 20:19:05 -0700 (PDT) Received: by 10.86.100.19 with HTTP; Fri, 12 Oct 2007 20:19:05 -0700 (PDT) Message-ID: <2a41acea0710122019h59046243t5956b99132428a68@mail.gmail.com> Date: Fri, 12 Oct 2007 20:19:05 -0700 From: "Jack Vogel" To: freebsd-stable@freebsd.org In-Reply-To: <20071013012706.GA2546@waalsdorp.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071012175042.GA1750@waalsdorp.nl> <2a41acea0710121630i7c1f2e9dk6e55832c69e864a7@mail.gmail.com> <20071013012706.GA2546@waalsdorp.nl> Subject: Re: Unable to boot recent -stable with MSI/MSIX enabled X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Oct 2007 03:19:07 -0000 A suggestion, take the relevant files from my em driver and put them back into the kernel tree that was working on 10/1, it should be compatible. Then see if it breaks that kernel. Or if you'd prefer I can just email the tar ball for the Intel version of 6.6.6, you can disable the in-kernel em driver, and build the other and use that with the 10/1 kernel. Let me know what you'd prefer. Jack On 10/12/07, Alson van der Meulen wrote: > * Jack Vogel [2007-10-13 01:30]: > > Hmmm, so am I correct in understanding that this root is remote, so its > > really coming in over the the em driver? > > No, the root is local: gmirror of two SATA disks on ATA (AHCI) > controller, this host has no remote filesystems. em is not needed for > mounting the root fs. I'm not 100% sure if em is to blame, but: > - The em merge is the only remotely related commit to RELENG_6 that I > could find between October 1 and October 10. > - Disabling MSI/MSIX fixes it, and em is the only MSI user as far as I > can see in the dmesg. > > It's possible that the use of MSI by em triggers a bug in the PCI/ATA > driver. It's even possible that the chipset has broken MSI support (see > previous mail for dmesgs). > > Friday morning (local time, CEST), it did boot up with the new kernel > and mounted its root FS successfully, but when I attempted to log in a > few hours later, none of the network interfaces (em and fxp) worked. fxp > is not even on a PCIe link, but a PCI card, so it appears to break > any PCI/PCIe device. Logging in via the console gave this error: > getty[1709]: /usr/bin/login: Exec format error > Probably because it couldn't properly access /usr (which is on ATA > disks) anymore. > > The system appears to have worked initially, but started to fail when my > workstation, which is directly connected to the em interface, was turned > on. I also saw a watchdog timeout on the em interface about ten minutes > after the link went up. After my workstation was turned on this box lost > all network connections. Unplugging the cable to the em interface might > prevent the problem to occur, this also points at the em driver as the > trigger. I'll try to verify this. > > Below is a list of files in /usr/src/sys changed since the last working > kernel of 2007-10-01. I don't see any PCI changes relevant to amd64, so > it appears to be at least triggered by the em driver. > > regards, > Alson > > ./alpha/isa/isa.c > ./alpha/pci/apecs_pci.c > ./alpha/pci/lca_pci.c > ./alpha/pci/pcibus.c > ./amd64/acpica/madt.c > ./amd64/amd64/local_apic.c > ./amd64/amd64/mp_machdep.c > ./amd64/amd64/mptable.c > ./amd64/amd64/nexus.c > ./amd64/conf/NOTES > ./amd64/include/apicvar.h > ./arm/arm/nexus.c > ./arm/xscale/i80321/i80321_pci.c > ./arm/xscale/i80321/obio.c > ./compat/ia32/ia32_sysvec.c > ./conf/files > ./conf/files.amd64 > ./conf/files.i386 > ./conf/kern.pre.mk > ./dev/em/LICENSE > ./dev/em/if_em.c > ./dev/em/if_em.h > ./dev/em/e1000_80003es2lan.c > ./dev/em/e1000_80003es2lan.h > ./dev/em/e1000_82540.c > ./dev/em/e1000_82541.c > ./dev/em/e1000_82541.h > ./dev/em/e1000_82542.c > ./dev/em/e1000_82543.c > ./dev/em/e1000_82543.h > ./dev/em/e1000_82571.c > ./dev/em/e1000_82571.h > ./dev/em/e1000_82575.c > ./dev/em/e1000_82575.h > ./dev/em/e1000_api.c > ./dev/em/e1000_api.h > ./dev/em/e1000_defines.h > ./dev/em/e1000_hw.h > ./dev/em/e1000_ich8lan.c > ./dev/em/e1000_ich8lan.h > ./dev/em/e1000_mac.c > ./dev/em/e1000_mac.h > ./dev/em/e1000_manage.c > ./dev/em/e1000_manage.h > ./dev/em/e1000_nvm.c > ./dev/em/e1000_nvm.h > ./dev/em/e1000_osdep.h > ./dev/em/e1000_phy.c > ./dev/em/e1000_phy.h > ./dev/em/e1000_regs.h > ./dev/re/if_re.c > ./dev/mxge/eth_z8e.h > ./dev/mxge/ethp_z8e.h > ./dev/mxge/if_mxge.c > ./dev/mxge/if_mxge_var.h > ./dev/mxge/mcp_gen_header.h > ./dev/mxge/mxge_lro.c > ./dev/mxge/mxge_mcp.h > ./dev/mxge/mxge_eth_z8e.c > ./dev/mxge/mxge_ethp_z8e.c > ./fs/devfs/devfs_vnops.c > ./fs/fifofs/fifo_vnops.c > ./i386/acpica/madt.c > ./i386/conf/NOTES > ./i386/i386/local_apic.c > ./i386/i386/mp_machdep.c > ./i386/i386/mptable.c > ./i386/i386/nexus.c > ./i386/include/apicvar.h > ./ia64/ia64/nexus.c > ./kern/uipc_usrreq.c > ./kern/vfs_vnops.c > ./modules/acpi/Makefile > ./modules/em/Makefile > ./modules/mxge/mxge_eth_z8e/Makefile > ./modules/mxge/mxge_ethp_z8e/Makefile > ./net/if_bridge.c > ./netgraph/ng_l2tp.c > ./opencrypto/cryptodev.c > ./powerpc/powermac/grackle.c > ./powerpc/powermac/hrowpic.c > ./powerpc/powermac/macio.c > ./powerpc/powermac/uninorth.c > ./powerpc/powerpc/openpic.c > ./powerpc/psim/iobus.c > ./sparc64/ebus/ebus.c > ./sparc64/isa/ofw_isa.c > ./sparc64/pci/apb.c > ./sparc64/pci/ofw_pci.c > ./sparc64/pci/ofw_pcib_subr.c > ./sparc64/pci/ofw_pcibus.c > ./sparc64/pci/psycho.c > ./sparc64/sbus/sbus.c > ./sparc64/sparc64/nexus.c > ./vm/vnode_pager.c > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >