From owner-freebsd-questions Sat Jan 20 12:29:32 2001 Delivered-To: freebsd-questions@freebsd.org Received: from uemsconnsp1.cpf.navy.mil (rnoc2.cpf.navy.mil [199.124.15.37]) by hub.freebsd.org (Postfix) with ESMTP id 03B4137B404 for ; Sat, 20 Jan 2001 12:29:14 -0800 (PST) Received: by u661-serv-1-host-257.cpf.navy.mil with Internet Mail Service (5.5.2650.21) id ; Sat, 20 Jan 2001 10:29:12 -1000 Message-ID: From: "Kuriyama, Kent K Mr (CPF N671KK)" To: freebsd-questions@freebsd.org Subject: How does FreeBSD detect the kind of IDE cable that I am using? Date: Sat, 20 Jan 2001 10:29:08 -1000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 [6296/16/63] at ata0-master UDMA33 ad2: 2015MB [4095/16/63] at ata1-master WDMA2 ata1-slave: DMA limited to UDMA33, non-ATA66 compliant cable ad3: 39082MB [79406/16/63] at ata1-slave UDMA33 acd0: CD-RW 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 AMD Features=0xc0440000<,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: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib2: at device 1.0 on pci0 pci1: on pcib2 pci1: at 0.0 atapci0: 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: port 0xb400-0xb4ff mem 0xd8820000-0xd88200ff irq 10 at device 6.0 on pci0 dc0: Ethernet address: 00:80:ad:46:c8:0a miibus0: on dc0 dcphy0: on miibus0 dcphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 20.0 on pci0 isa0: on isab0 atapci1: port 0xb800-0xb80f at device 20.1 on pci0 ata0: at 0x1f0 irq 14 on atapci1 ata1: at 0x170 irq 15 on atapci1 uhci0: port 0xbc00-0xbc1f irq 10 at device 20.2 on pci0 usb0: 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: port 0xc000-0xc01f irq 10 at device 20.3 on pci0 usb1: 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: port 0xcc00-0xcc03,0xc800-0xc803,0xc400-0xc4ff irq 3 at device 20.5 on pci0 pcib1: on motherboard pci2: on pcib1 fdc0: 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: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: 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: 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: SCP,VLINK plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: 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 [6296/16/63] at ata0-master UDMA33 ad2: 2015MB [4095/16/63] at ata1-master WDMA2 ata1-slave: DMA limited to UDMA33, non-ATA66 compliant cable ad3: 39082MB [79406/16/63] at ata1-slave UDMA33 acd0: CD-RW 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