From owner-freebsd-i386@FreeBSD.ORG Sat Jan 24 23:10:02 2009 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B666910657D8 for ; Sat, 24 Jan 2009 23:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 33EF18FC2B for ; Sat, 24 Jan 2009 23:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0ONA2dQ025932 for ; Sat, 24 Jan 2009 23:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0ONA2XF025931; Sat, 24 Jan 2009 23:10:02 GMT (envelope-from gnats) Resent-Date: Sat, 24 Jan 2009 23:10:02 GMT Resent-Message-Id: <200901242310.n0ONA2XF025931@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Markus Hitter Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB81A10656C4 for ; Sat, 24 Jan 2009 23:07:52 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 981C48FC1B for ; Sat, 24 Jan 2009 23:07:52 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n0ON7qcB096665 for ; Sat, 24 Jan 2009 23:07:52 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n0ON7qks096664; Sat, 24 Jan 2009 23:07:52 GMT (envelope-from nobody) Message-Id: <200901242307.n0ON7qks096664@www.freebsd.org> Date: Sat, 24 Jan 2009 23:07:52 GMT From: Markus Hitter To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: i386/130957: /sys/dev/pci/pci.c revision 181771 breaks networking and the power button X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jan 2009 23:10:04 -0000 >Number: 130957 >Category: i386 >Synopsis: /sys/dev/pci/pci.c revision 181771 breaks networking and the power button >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jan 24 23:10:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Markus Hitter >Release: stable/7, revision 181770 >Organization: >Environment: GENERIC kernel, i386 >Description: After upgrading from 7.0 RELEASE to 7.1 RELEASE on my Geode-equipped Flepo Alpha (a disk- and screenless box running off an USB pen drive) I found networking to be not completely, but seriously broken. See http://lists.freebsd.org/pipermail/freebsd-embedded/2009-January/000680.html Not mentioned in this Email, the power button broke as well, flooding error messages to the console instead of shutting down. After the long journey of bisecting 10,000 kernel revisions, I found revision 181771, and only the change in file /sys/dev/pci/pci.c to be the culprit: http://svn.freebsd.org/viewvc/base/stable/7/sys/dev/pci/pci.c?r1=176218&r2=181771 >How-To-Repeat: Build a stable/7 kernel of revision 181771 or later and attempt to boot the machine. It'll start to boot, but won't reach the console login prompt because DHCP fails. Setting up networking manually makes things better, but still it's impossible to ssh in. All this works fine with kernel r181770 or before. >Fix: The obvious one: don't upgrade beyond r181770. I'll try to reverse-apply this patch on stable and look how things work. >Release-Note: >Audit-Trail: >Unformatted: