Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Feb 2005 16:22:36 -0500
From:      doug reynolds <mav@wastegate.net>
To:        freebsd-questions@freebsd.org
Subject:   Promise PDC20267 UDMA100 controller channel attaching trouble
Message-ID:  <421BA29C.6070302@wastegate.net>

next in thread | raw e-mail | index | archive | help
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 <Maxtor 53073H6/DAC10SC0> ATA/ATAPI revision 6
    Slave:       no device present
ATA channel 1:
    Master: acd0 <HITACHI CDR-8430/0024> ATA/ATAPI revision 0
    Slave:  ast0 <Seagate STT20000A/8N43> ATA/ATAPI revision 0
ATA channel 3:
    Master:  ad6 <WDC WD1200JB-00GVA0/08.02D08> ATA/ATAPI revision 6
    Slave:   ad7 <QUANTUM FIREBALLP AS40.0/A1Y.1500> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
  AMD Features=0xc0440000<RSVD,AMIE,DSP,3DNow!>
real memory  = 402587648 (383 MB)
avail memory = 388460544 (370 MB)
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <AMIINT > 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: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <AMD 751 host to AGP bridge> port 0xd000-0xd003 mem
0xeedff000-0xeedfffff,0xec000000-0xedffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 5.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <AMD 756 UDMA66 controller> 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: <bridge, PCI-unknown> at device 7.3 (no driver attached)
ohci0: <AMD-756 USB Controller> mem 0xeffaf000-0xeffaffff irq 10 at
device 7.4 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <AMD-756 USB Controller> 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: <MII bus> on xl0
nsphy0: <DP83840 10/100 media interface> 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: <MII bus> on xl1
nsphy1: <DP83840 10/100 media interface> on miibus1
nsphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl1: Ethernet address: 00:60:08:bd:eb:bd
atapci1: <Promise PDC20267 UDMA100 controller> 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: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: <floppy drive controller> 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: <ECP parallel printer port> 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: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
orm0: <ISA Option ROMs> at iomem 0xcc000-0xcffff,0xc0000-0xcbfff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> 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 <Maxtor 53073H6/DAC10SC0> [59554/16/63] at ata0-master UDMA66
ata1-slave: FAILURE - SETFEATURES SET TRANSFER MODE status=1<ERROR>
error=4<ABORTED>
acd0: CDROM <HITACHI CDR-8430/0024> at ata1-master PIO4
ast0: TAPE <Seagate STT20000A/8N43> at ata1-slave BIOSPIO
ad6: 114473MB <WDC WD1200JB-00GVA0/08.02D08> [232581/16/63] at
ata3-master UDMA100
ad7: 38172MB <QUANTUM FIREBALLP AS40.0/A1Y.1500> [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.4.0 - Release Date: 2/22/2005



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?421BA29C.6070302>