From owner-freebsd-current@FreeBSD.ORG Sat Apr 10 04:38:06 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 42A9516A4CE for ; Sat, 10 Apr 2004 04:38:06 -0700 (PDT) Received: from anna.web4.hm (anna.web4.hm [81.3.4.66]) by mx1.FreeBSD.org (Postfix) with SMTP id 2023543D49 for ; Sat, 10 Apr 2004 04:38:05 -0700 (PDT) (envelope-from thorsten@tgreiner.net) Received: (qmail 11012 invoked by uid 760); 10 Apr 2004 11:37:47 -0000 Received: from thorsten@tgreiner.net by anna by uid 503 with qmail-scanner-1.21 Processed in 0.363767 secs); 10 Apr 2004 11:37:47 -0000 Received: from p508d0bcf.dip0.t-ipconnect.de (HELO tybalt) (80.141.11.207) by anna.web4.hm with SMTP; 10 Apr 2004 11:37:46 -0000 Date: Sat, 10 Apr 2004 13:37:24 +0200 From: Thorsten Greiner To: current@freebsd.org Message-ID: <20040410113724.GA704@tybalt.greiner.local> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="l76fUT7nc3MelDdI" Content-Disposition: inline X-GPG-Fingerprint: ED45 DF41 BE30 6FF5 DC4F 15C3 4538 6598 E865 F66A User-Agent: Mutt/1.5.6i Subject: Recent -CURRENT doesn't find ata controller X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Sat, 10 Apr 2004 11:38:06 -0000 --l76fUT7nc3MelDdI Content-Type: multipart/mixed; boundary="Q68bSM7Ycu6FN28Q" Content-Disposition: inline --Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi list, a kernel built from a recent cvsup doesn't recognize my ata controller. I suspect this is related to the recent PCI changes by Warner Losh. The attached dmesg shows a successful boot by a kernel built from Apr 6th sources. Today's faulty one differs from the sucessful boot in that the lines ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 are missing. Instead the line atapci0: Bus reserved 0x10 bytes for rid 0x20 type 4 at 0xbfa0 is displayed. Of course this means that the kernel cannot find its root device and panics later... Please find a dmesg from a working kernel and my kernel config attached. Cheers -Thorsten --=20 Perfection (in design) is achieved not when there is nothing more to add, but rather when there is nothing more to take away. --Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dmesg.txt" Copyright (c) 1992-2004 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 5.2-CURRENT #102: Tue Apr 6 13:48:46 CEST 2004 toor@tybalt:/usr/src/sys/i386/compile/TYBALT Preloaded elf kernel "/boot/kernel/kernel" at 0xc0826000. Preloaded elf module "/boot/kernel/snd_ich.ko" at 0xc08261cc. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc0826278. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0826324. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz (1595.30-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 Features=0x3febf9ff real memory = 536748032 (511 MB) avail memory = 515506176 (491 MB) Pentium 4 TCC support enabled, current performance 100% Pentium Pro MTRR support enabled cpu0 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: [GIANT-LOCKED] pcibios: BIOS version 2.10 Found $PIR table, 11 entries at 0xc00fbb90 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_cpu0: on acpi0 acpi_tz0: on acpi0 acpi_acad0: on acpi0 acpi_cmbat0: on acpi0 acpi_cmbat1: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib0: slot 29 INTA is routed to irq 11 pcib0: slot 29 INTC is routed to irq 11 pcib0: slot 31 INTB is routed to irq 11 pcib0: slot 31 INTB is routed to irq 11 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib1: slot 0 INTA is routed to irq 11 pci1: at device 0.0 (no driver attached) uhci0: port 0xbf80-0xbf9f irq 11 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. uhci1: port 0xbf20-0xbf3f irq 11 at device 29.2 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pcib2: at device 30.0 on pci0 pci2: on pcib2 pcib2: slot 0 INTA is routed to irq 11 pcib2: slot 1 INTA is routed to irq 11 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xec80-0xecff mem 0xf8fffc00-0xf8fffc7f irq 11 at device 0.0 on pci2 miibus0: on xl0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:06:5b:bc:a4:a4 xl0: [GIANT-LOCKED] cbb0: at device 1.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pcib2: slot 1 INTA is routed to irq 11 cbb1: at device 1.1 on pci2 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 pcib2: slot 1 INTA is routed to irq 11 fwohci0: mem 0xf8ff8000-0xf8ffbfff,0xf8fff000-0xf8fff7ff irq 11 at device 1.2 on pci2 fwohci0: [GIANT-LOCKED] fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channel is 4. fwohci0: EUI64 47:4f:c0:00:1b:96:b4:10 fwohci0: Phy 1394a available S400, 1 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 sbp0: on firewire0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 46:4f:c0:96:b4:10 fwe0: Ethernet address: 46:4f:c0:96:b4:10 fwohci0: Initiate bus reset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xbfa0-0xbfaf,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pcm0: port 0xdc80-0xdcbf,0xd800-0xd8ff irq 11 at device 31.5 on pci0 pcm0: [GIANT-LOCKED] pcm0: pci0: at device 31.6 (no driver attached) atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model GlidePoint, device ID 0 fdc0: port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x280-0x287,0x2f8-0x2ff irq 3 drq 3 on acpi0 sio1: type 16550A ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 1 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 pmtimer0 on isa0 orm0: