Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2001 10:29:08 -1000
From:      "Kuriyama, Kent K Mr (CPF N671KK)" <KuriyaKK@cpf.navy.mil>
To:        freebsd-questions@freebsd.org
Subject:   How does FreeBSD detect the kind of IDE cable that I am using?
Message-ID:  <A567A7C3889FD2119D2600204840388C049D74AC@uemspricpf3.cpf.navy.mil>

next in thread | raw e-mail | index | archive | help
I'd like to know how the FreeBSD 4.2 kernel detects the kind of IDE cable
that I am using.  The snippet of 'dmesg' output below says that I have a
"non-ATA66 compliant cable".  How does it know?

ad0: 3098MB <WDC AC13200B> [6296/16/63] at ata0-master UDMA33
ad2: 2015MB <ST32140A> [4095/16/63] at ata1-master WDMA2
ata1-slave: DMA limited to UDMA33, non-ATA66 compliant cable
ad3: 39082MB <Maxtor 54098H8> [79406/16/63] at ata1-slave UDMA33
acd0: CD-RW <CD-R/RW RW7083A> at ata0-slave using WDMA2

The cable in question is supposed to be ATA66 compliant.  The full 'dmesg'
below shows the presence of a promise ATA100 controller - it is not attached
to anything.  I am using the on-board IDE ports on this FIC AZ11
motherboard.  Thanks.

Kent Kuriyama
--------- Full 'dmesg' output follows --------------------
Copyright (c) 1992-2001 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 4.2-STABLE #2: Sat Jan 20 08:16:33 HST 2001
    root@XXXXXXX:/var/src/sys/compile/XXXXXX
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD Athlon(tm) Processor (901.60-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<<b18>,AMIE,DSP,3DNow!>
real memory  = 134152192 (131008K bytes)
avail memory = 126554112 (123588K bytes)
Preloaded elf kernel "kernel" at 0xc03fd000.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib2: <PCI to PCI bridge (vendor=1106 device=8305)> at device 1.0 on pci0
pci1: <PCI bus> on pcib2
pci1: <SiS 6326 SVGA controller> at 0.0
atapci0: <Promise ATA100 controller> port
0xb000-0xb03f,0xac00-0xac03,0xa800-0xa807,0xa400-0xa403,0xa000-0xa007 mem
0xd8800000-0xd881ffff irq 11 at device 3.0 on pci0
ata2: at 0xa000 on atapci0
ata3: at 0xa800 on atapci0
pci0: <3Dfx Voodoo 2 graphics accelerator> at 5.0
dc0: <Macronix 98715/98715A 10/100BaseTX> port 0xb400-0xb4ff mem
0xd8820000-0xd88200ff irq 10 at device 6.0 on pci0
dc0: Ethernet address: 00:80:ad:46:c8:0a
miibus0: <MII bus> on dc0
dcphy0: <Intel 21143 NWAY media interface> on miibus0
dcphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <VIA 82C686 PCI-ISA bridge> at device 20.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <VIA 82C686 ATA66 controller> port 0xb800-0xb80f at device 20.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci1
ata1: at 0x170 irq 15 on atapci1
uhci0: <VIA 83C572 USB controller> port 0xbc00-0xbc1f irq 10 at device 20.2
on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xc000-0xc01f irq 10 at device 20.3
on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhid0: Microsoft Microsoft SideWinder Precision Pro (USB), rev 1.00/1.00,
addr 2, iclass 3/0
chip2: <VIA 82C686 AC97 Audio> port
0xcc00-0xcc03,0xc800-0xc803,0xc400-0xc4ff irq 3 at device 20.5 on pci0
pcib1: <Host to PCI bridge> on motherboard
pci2: <PCI bus> on pcib1
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: IEEE1284 device found /NIBBLE/ECP
Probing for PnP devices on ppbus0:
ppbus0: <HEWLETT-PACKARD DESKJET 820C> SCP,VLINK
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
DUMMYNET initialized (010116)
IP packet filtering initialized, divert enabled, rule-based forwarding
enabled, default to accept, logging limited to 100 packets/entry by default
BRIDGE 990810, have 10 interfaces
-- index 1  type 6 phy 0 addrl 6 addr 00.80.ad.46.c8.0a
IP Filter: v3.4.8 initialized.  Default = pass all, Logging = enabled
ad0: 3098MB <WDC AC13200B> [6296/16/63] at ata0-master UDMA33
ad2: 2015MB <ST32140A> [4095/16/63] at ata1-master WDMA2
ata1-slave: DMA limited to UDMA33, non-ATA66 compliant cable
ad3: 39082MB <Maxtor 54098H8> [79406/16/63] at ata1-slave UDMA33
acd0: CD-RW <CD-R/RW RW7083A> at ata0-slave using WDMA2
Mounting root from ufs:/dev/ad0s1a


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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