From owner-freebsd-questions@FreeBSD.ORG Sat Nov 20 06:05:45 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFAED16A4CE for ; Sat, 20 Nov 2004 06:05:45 +0000 (GMT) Received: from wbm3.pair.net (wbm3.pair.net [209.68.3.66]) by mx1.FreeBSD.org (Postfix) with SMTP id 1C50343D41 for ; Sat, 20 Nov 2004 06:05:45 +0000 (GMT) (envelope-from allan@stokes.ca) Received: (qmail 74452 invoked by uid 65534); 20 Nov 2004 06:05:44 -0000 Received: from 142.179.103.195 ([142.179.103.195]) (SquirrelMail authenticated user allan@stokes.ca); by webmail3.pair.com with HTTP; Sat, 20 Nov 2004 01:05:44 -0500 (EST) Message-ID: <65514.142.179.103.195.1100930744.squirrel@142.179.103.195> Date: Sat, 20 Nov 2004 01:05:44 -0500 (EST) From: allan@stokes.ca To: "freebsd-questions@freebsd.org" User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: 5.3/AMD64 fails to detect ARAID-99 PATA unit when booting Tyan S2882 from a SATA unit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Nov 2004 06:05:45 -0000 Yesterday I received hardware to complete a Tyan S2882 based system. In just a few hours I had FreeBSD 5.3-STABLE/AMD64 running with all memory and processors accounted for. I have two hotswap IDE RAID devices installed. I have an old ARAID-99 from the previous 4.x system where it worked fine. I have added a new SOHORAID based on the same electronics, but with a SATA interface. Last night I installed a test copy of FreeBSD 5.3 on the new SATA unit using fresh drives. Because the Tyan BIOS is weak concerning boot devices I had to go into a screen and make the SATA controller the #1 IDE device and the PATA controller the #2 drive. Then I was able to boot off the SATA image with the PATA unit installed. The BIOS screen detects the ARAID as the IDE primary master prior to the SATA boot cycle. Then when FreeBSD boots, FreeBSD does not. There is no /dev/ad0 as I expected. I've booted with blank drives in the ARAID and with older FreeBSD 4.x drives installed. fdisk / diskinfo / disklabel won't show me ad0. They all complain that the device does not exist. I tried to fake it out with makenod but then I got "device not configured". I'm not too strong on devfs yet and there is presently no man page for devfs.conf Is there some reason under 5.3 that booting off the SATA SOHORAID would prevent the PATA RAID drive detect? The ARAID-99/1000 appears to FreeBSD as a single PATA disk drive echoing the geometry of whatever primary drive is presently inserted. Is there a boot parameter to see additional diagnostics from the ATA drive probe? 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.3-RELEASE #0: Fri Nov 5 03:50:01 UTC 2004 root@fanboy.samsco.home:/usr/obj/usr/src/sys/GENERIC ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Opteron(tm) Processor 242 (1593.61-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0xf5a Stepping = 10 Features=0x78bfbff AMD Features=0xe0500800 real memory = 2147418112 (2047 MB) avail memory = 2061897728 (1966 MB) MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-27 on motherboard ioapic2 irqs 28-31 on motherboard acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x5008-0x500b on acpi0 cpu0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 6.0 on pci0 pci3: on pcib1 ohci0: mem 0xfeafc000-0xfeafcfff irq 19 at device 0.0 on pci3 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: mem 0xfeafd000-0xfeafdfff irq 19 at device 0.1 on pci3 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: on ohci1 usb1: USB revision 1.0 uhub1: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered atapci0: port 0xa800-0xa80f,0xac00-0xac03,0xb000-0xb007,0xb400-0xb403,0xbc00-0xbc07 mem 0xfeafec00-0xfeafefff irq 19 at device 5.0 on pci3 ata2: channel #0 on atapci0 ata3: channel #1 on atapci0 ata4: channel #2 on atapci0 ata5: channel #3 on atapci0 pci3: at device 6.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci1: port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: channel #0 on atapci1 ata1: channel #1 on atapci1 pci0: at device 7.2 (no driver attached) pci0: at device 7.3 (no driver attached) pcib2: at device 10.0 on pci0 pci2: on pcib2 bge0: mem 0xfc8b0000-0xfc8bffff,0xfc8c0000-0xfc8cffff irq 24 at device 9.0 on pci2 miibus0: on bge0 brgphy0: on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge0: Ethernet address: 00:e0:81:2b:b6:86 bge1: mem 0xfc8e0000-0xfc8effff,0xfc8f0000-0xfc8fffff irq 25 at device 9.1 on pci2 miibus1: on bge1 brgphy1: on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge1: Ethernet address: 00:e0:81:2b:b6:87 pci0: at device 10.1 (no driver attached) pcib3: at device 11.0 on pci0 pci1: on pcib3 pci0: at device 11.1 (no driver attached) acpi_button0: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: does not respond device_attach: fdc0 attach returned 6 ppc0: port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: does not respond device_attach: fdc0 attach returned 6 orm0: at iomem 0xc8000-0xcc7ff,0xc0000-0xc7fff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1593614519 Hz quality 800 Timecounters tick every 0.976 msec acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0% ad4: 190782MB [387621/16/63] at ata2-master SATA150 Mounting root from ufs:/dev/ad4s1a