From owner-freebsd-current@FreeBSD.ORG Tue Sep 16 12:50:22 2003 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 2995016A4DA for ; Tue, 16 Sep 2003 12:50:22 -0700 (PDT) Received: from smtp2.su.se (smtp2.su.se [130.237.93.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36AEC43F3F for ; Tue, 16 Sep 2003 12:50:19 -0700 (PDT) (envelope-from rnyberg@it.su.se) Received: from localhost (smtp2.su.se [127.0.0.1]) by smtp2.su.se (Postfix) with ESMTP id B39C1200106 for ; Tue, 16 Sep 2003 21:50:17 +0200 (CEST) Received: from smtp2.su.se ([127.0.0.1]) by localhost (smtp2.su.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 15698-01 for ; Tue, 16 Sep 2003 21:50:17 +0200 (CEST) Received: from murmeldjur.it.su.se (murmeldjur.it.su.se [130.237.95.79]) by smtp2.su.se (Postfix) with ESMTP id 79C85200073 for ; Tue, 16 Sep 2003 21:50:17 +0200 (CEST) Received: from murmeldjur.it.su.se (localhost [127.0.0.1]) by murmeldjur.it.su.se (8.12.9/8.12.9) with ESMTP id h8GJoHQO052032 for ; Tue, 16 Sep 2003 21:50:17 +0200 (CEST) (envelope-from rnyberg@it.su.se) Date: Tue, 16 Sep 2003 21:50:17 +0200 Message-ID: From: Richard Nyberg To: freebsd-current@freebsd.org User-Agent: Wanderlust/2.10.0 (Venus) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.4 Emacs/21.3 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at su.se Subject: ata-lowlevel.c and lost disk 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: Tue, 16 Sep 2003 19:50:22 -0000 Hello there! For versions of ata-lowlevel.c > 1.9 the ad1 device isn't found. Below is working dmesg with ata-lowlevel.c 1.9. -Richard Copyright (c) 1992-2003 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.1-CURRENT #2: Tue Sep 16 20:46:17 CEST 2003 rnyberg@bsd.local:/usr/obj/usr/src/sys/GROMIT Preloaded elf kernel "/boot/kernel/kernel" at 0xc0499000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04991f4. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium III/Pentium III Xeon/Celeron (501.14-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x673 Stepping = 3 Features=0x383f9ff real memory = 402587648 (383 MB) avail memory = 385961984 (368 MB) Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 8 entries at 0xc00fd4c0 acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 acpi_cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0x5000-0x500f,0x4000-0x4041,0xcf8-0xcff on acpi0 pci0: on pcib0 pcib0: slot 7 INTD is routed to irq 10 pcib0: slot 14 INTA is routed to irq 11 pcib0: slot 16 INTA is routed to irq 12 pcib0: slot 18 INTA is routed to irq 5 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib0: slot 1 INTA is routed to irq 11 pcib1: slot 0 INTA is routed to irq 11 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] pci0: at device 7.2 (no driver attached) pci0: at device 7.3 (no driver attached) fxp0: port 0xe400-0xe43f mem 0xec000000-0xec01ffff,0xec021000-0xec021fff irq 11 at device 14.0 on pci0 fxp0: Ethernet address 00:02:b3:a7:68:1f miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xe800-0xe87f mem 0xec020000-0xec02007f irq 12 at device 16.0 on pci0 xl0: Ethernet address: 00:50:da:dd:2f:21 miibus1: on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus1 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: at device 18.0 (no driver attached) 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 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 orm0: