From owner-freebsd-questions@FreeBSD.ORG Mon Feb 21 02:53:16 2005 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 4D6A816A4CF for ; Mon, 21 Feb 2005 02:53:16 +0000 (GMT) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90D9043D55 for ; Mon, 21 Feb 2005 02:53:13 +0000 (GMT) (envelope-from mav@wastegate.net) Received: from wastegate.net ([24.3.75.182]) by comcast.net (rwcrmhc11) with ESMTP id <2005022102531301300qj8p3e>; Mon, 21 Feb 2005 02:53:13 +0000 Received: from [192.168.166.5] (mother.wg.local [192.168.166.5]) by wastegate.net (Postfix) with ESMTP id 0A610B963 for ; Sun, 20 Feb 2005 22:47:11 -0500 (EST) Received: from 127.0.0.1 (AVG SMTP 7.0.300 [266.1.0]); Sun, 20 Feb 2005 21:53:44 -0500 Message-ID: <42194D38.3020500@wastegate.net> Date: Sun, 20 Feb 2005 21:53:44 -0500 From: doug reynolds User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1; format=flowed Subject: Promise PDC20267 UDMA100 controller channel attaching trouble 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: Mon, 21 Feb 2005 02:53:16 -0000 I've having a bit of trouble with my promise ATA100 controller card on my server computer. I used to use it fine with my older system (k6-450 with freebsd 4.xx). I've built this newer box (with FreeBSD 5.3 and also 5.3-STABLE, running a K7-650 now) and swapped a lot of things over. The problem is I keep getting this: device_attach: ata2 attach returned 6 when I boot up. I've juggled IRQs, turned off the onboard controller, but it just won't attach. The only way it'll work is if I run the drives on the secondary port. When I do this, everything boots. When the drives are on the primary port, it won't even acknowledge I have any drives hooked up. The card's bios detects all drives upon bootup (primary/secondary), so I don't think the controller is messed.. atacontrol list: ATA channel 0: Master: ad0 ATA/ATAPI revision 6 Slave: no device present ATA channel 1: Master: acd0 ATA/ATAPI revision 0 Slave: ast0 ATA/ATAPI revision 0 ATA channel 3: Master: ad6 ATA/ATAPI revision 6 Slave: ad7 ATA/ATAPI revision 5 dmesg Copyright (c) 1992-2005 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-STABLE #3: Sun Feb 20 19:31:02 EST 2005 root@hive.wg.local:/usr/obj/usr/src/sys/HIVE Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) Processor (656.47-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x642 Stepping = 2 Features=0x183f9ff AMD Features=0xc0440000 real memory = 402587648 (383 MB) avail memory = 388460544 (370 MB) npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) acpi0: Sleep 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 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: port 0xd000-0xd003 mem 0xeedff000-0xeedfffff,0xec000000-0xedffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 5.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pci0: at device 7.3 (no driver attached) ohci0: mem 0xeffaf000-0xeffaffff irq 10 at device 7.4 on pci0 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: 4 ports with 4 removable, self powered xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xd200-0xd23f irq 11 at device 9.0 on pci0 miibus0: on xl0 nsphy0: on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:60:08:bd:eb:7e xl1: <3Com 3c905-TX Fast Etherlink XL> port 0xd400-0xd43f irq 12 at device 10.0 on pci0 miibus1: on xl1 nsphy1: on miibus1 nsphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl1: Ethernet address: 00:60:08:bd:eb:bd atapci1: port 0xd600-0xd63f,0xd800-0xd803,0xda00-0xda07,0xdc00-0xdc03,0xde00-0xde07 mem 0xeffe0000-0xefffffff irq 10 at device 11.0 on pci0 ata2: channel #0 on atapci1 device_attach: ata2 attach returned 6 ata3: channel #1 on atapci1 acpi_tz0: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 fdc0: port 0x3f7,0x3f4-0x3f5,0x3f2-0x3f3 irq 6 drq 2 on acpi0 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 ppc0: port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 orm0: at iomem 0xcc000-0xcffff,0xc0000-0xcbfff on isa0 pmtimer0 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 656465381 Hz quality 800 Timecounters tick every 10.000 msec ipfw2 initialized, divert enabled, rule-based forwarding disabled, default to deny, logging disabled ad0: 29311MB [59554/16/63] at ata0-master UDMA66 ata1-slave: FAILURE - SETFEATURES SET TRANSFER MODE status=1 error=4 acd0: CDROM at ata1-master PIO4 ast0: TAPE at ata1-slave BIOSPIO ad6: 114473MB [232581/16/63] at ata3-master UDMA100 ad7: 38172MB [77557/16/63] at ata3-slave UDMA100 Mounting root from ufs:/dev/ad6s1a -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.1.0 - Release Date: 2/18/2005