From owner-freebsd-bugs Sun Apr 6 21:30:06 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA17540 for bugs-outgoing; Sun, 6 Apr 1997 21:30:06 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA17528; Sun, 6 Apr 1997 21:30:03 -0700 (PDT) Resent-Date: Sun, 6 Apr 1997 21:30:03 -0700 (PDT) Resent-Message-Id: <199704070430.VAA17528@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, jmb@freebsd.org Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA16456 for ; Sun, 6 Apr 1997 21:25:22 -0700 (PDT) Received: from Aspen.Woc.Atinc.COM (slip-line-5.woc.Atinc.COM [207.2.166.205]) by who.cdrom.com (8.8.5/8.6.11) with ESMTP id UAA28687 for ; Sun, 6 Apr 1997 20:32:04 -0700 (PDT) Received: (from jmb@localhost) by Aspen.Woc.Atinc.COM (8.8.5/8.6.9) id XAA00364; Sun, 6 Apr 1997 23:32:33 -0400 (EDT) Message-Id: <199704070332.XAA00364@Aspen.Woc.Atinc.COM> Date: Sun, 6 Apr 1997 23:32:33 -0400 (EDT) From: jmb@freebsd.org Reply-To: jmb@freebsd.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: i386/3214: PCI Saturn-II support broken (panic: can not mount root) Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 3214 >Category: i386 >Synopsis: /sys/i386/isa/pcibus.c 1.32 does not find pci on ASUS PCI/I-486 SP3G >Confidential: yes >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 6 21:30:02 PDT 1997 >Last-Modified: >Originator: Jonathan M. Bresler >Organization: >Release: FreeBSD 3.0-CURRENT i386 >Environment: FreeBSD 3.0-CURRENT i386 AMD 5x86-133 40MB ram, 81MB swap NO ide disks, NO isa connected disks most recent cvsup: 970406 >Description: /sys/i386/isa/pcibus.c:pcibus_check() fails to find any pci devices dmesg output: (boot: /kernel -v) FreeBSD 3.0-CURRENT #2: Sun Apr 6 17:51:23 EDT 1997 root@:/usr/src/sys/compile/ASPEN Calibrating clock(s) ... i8254 clock: 1205087 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency CPU: AMD Am5x86 Write-Through (486-class CPU) Origin = "AuthenticAMD" Id = 0x4e4 Stepping=4 Features=0x1 real memory = 41943040 (40960K bytes) avail memory = 39194624 (38276K bytes) bdevsw_add_generic: adding D_DISK flag for device 15 pcibus_setup(1): mode 1 addr port (0x0cf8) is 0x00000000 pcibus_setup(1a): mode1res=0x00000000 (0x80000000) pcibus_setup(1b): mode1res=0x00000000 (0xff000001) pcibus_setup(2): mode 2 enable port (0x0cf8) is 0x00 pcibus_setup(2a): mode2res=0x0e (0x0e) pcibus_setup(2a): now trying mechanism 2 pcibus_check: device 0 [class=0] 1 [class=10000] 2 [class=0] 3 4 [class=100] 5 [class=0] 6 7 8 9 10 11 12 13 14 15 -- nothing found Probing for devices on the ISA bus: pcibus_check() should find at least one device. >How-To-Repeat: compile and install a kernel using /sys/i386/isa/pcibus.c 1.32 on a Saturn-II PCI motherboard >Fix: TEMP FIX ONLY: either revert to pcibus.c 1.31 or patch as shown below Index: pcibus.c =================================================================== RCS file: /home/ncvs/src/sys/i386/isa/pcibus.c,v retrieving revision 1.32 diff -r1.32 pcibus.c 180,182c180,183 < if ((class & 0xfff0ff00) != 0x06000000) < continue; < --- > /* > * if ((class & 0xfff0ff00) != 0x06000000) > * continue; > */ 186,188c187,190 < if ((header & 0x007e0000) != 0) < continue; < --- > /* > * if ((header & 0x007e0000) != 0) > * continue; > */ >Audit-Trail: >Unformatted: