From owner-freebsd-questions Wed May 3 18:18:35 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mostgraveconcern.com (mostgraveconcern.com [216.82.145.240]) by hub.freebsd.org (Postfix) with ESMTP id 14CCE37BEEB for ; Wed, 3 May 2000 18:18:27 -0700 (PDT) (envelope-from dan@mostgraveconcern.com) Received: from danco (danco.mostgraveconcern.com [10.0.0.2]) by mostgraveconcern.com (8.9.3/8.9.3) with SMTP id SAA13170 for ; Wed, 3 May 2000 18:18:24 -0700 (PDT) (envelope-from dan@mostgraveconcern.com) Message-ID: <009601bfb566$a5126100$0200000a@danco> Reply-To: "Dan O'Connor" From: "Dan O'Connor" To: "freebsd-questions" Subject: ATAPI CD-RW / Promise UDMA-66 Controller / FreeBSD 4.0 Date: Wed, 3 May 2000 18:18:24 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3155.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [Reposted for lack of responses] My FreeBSD 3.4-STABLE machine has an older Dell P90-MHz mobo with onboard IDE controller that the new 4.0 ATA driver doesn't like (RZ100/CMD640), so I bought a Promise UDMA-66 PCI controller card. I installed the Promise card, disabled the on-board IDE controller in the BIOS setup, and commented out the lines #device ata0 at isa? port IO_WD1 irq 14 #device ata1 at isa? port IO_WD2 irq 15 in my kernel configuration file. (But I still have device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives in the config.) The machine is fully at 4.0-STABLE now, and I have no problem with the ATA driver finding my hard drive at /dev/ad0s1. But my HP 8250i CD-RW drive is not showing up... The Promise controller boot-time output shows that it finds the drive, but the FreeBSD probe can't find it. (It did work in 3.4-STABLE). Here's my dmesg output: Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-STABLE #0: Sun Apr 30 16:46:00 PDT 2000 root@pandora.mostgraveconcern.com:/usr/obj/usr/src/sys/PANDORA Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 128533253 Hz CPU: Overdrive Pentium/P55C (128.53-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x1544 Stepping = 4 Features=0x8001bf real memory = 83886080 (81920K bytes) avail memory = 78602240 (76760K bytes) Preloaded elf kernel "kernel" at 0xc02bd000. Intel Pentium detected, installing workaround for F00F bug VESA: v1.2, 4096k memory, flags:0x0, mode table:0xc00c4cc2 (c0004cc2) VESA: S3 Incorporated. 86C375/86C385 md0: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 atapci0: at device 1.0 on pci0 atapci0: Busmastering DMA not supported isab0: at device 2.0 on pci0 isa0: on isab0 pci0: at 6.0 irq 11 atapci1: port 0xfc80-0xfcbf,0xfcf0-0xfcf3,0xfce8-0xfcef,0xfcf4-0xfcf7,0xfcf8-0xfcff mem 0xffbe0000-0xffbfffff irq 11 at device 12.0 on pci0 ata3: at 0xfcf8 on atapci1 ata4: at 0xfce8 on atapci1 dc0: <82c169 PNIC 10/100BaseTX> port 0xf800-0xf8ff mem 0xffbdff00-0xffbdffff irq 11 at device 14.0 on pci0 dc0: Ethernet address: 00:c0:f0:57:6a:51 miibus0: on dc0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc0: supplying EUI64: 00:c0:f0:ff:fe:57:6a:51 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: irq 1 on atkbdc0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x0> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A, console sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: at port 0x278-0x27f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/14 bytes threshold ppbus0: IEEE1284 device found /NIBBLE/ECP Probing for PnP devices on ppbus0: ppbus0: PJL,MLC,PCL,PCLXL lpt0: on ppbus0 lpt0: Interrupt-driven port ep0: <3Com 3C509B-TPO EtherLink III (PnP)> at port 0x210-0x21f irq 5 on isa0 ep0: Ethernet address 00:10:4b:c4:2a:e3 IP packet filtering initialized, divert enabled, rule-based forwarding disabled, default to deny, unlimited logging IPv6 packet filtering initialized, unlimited logging ata4-master: identify retries exceeded ad0: 6149MB [13328/15/63] at ata3-master using UDMA33 Mounting root from ufs:/dev/ad0s1a ep0: starting DAD for fe80:0002::0210:4bff:fec4:2ae3 dc0: starting DAD for fe80:0001::02c0:f0ff:fe57:6a51 dc0: DAD complete for fe80:0001::02c0:f0ff:fe57:6a51 - no duplicates found ep0: DAD complete for fe80:0002::0210:4bff:fec4:2ae3 - no duplicates found --- End dmesg output --- The 'ata4-master: identify retries exceeded' line seems to indicate the problem, but I don't know what this means or what to do about it. Obviously, I can't put the CD-RW drive on the old mobo controller... Another oddity: Although I've disabled the mobo's IDE interface in the BIOS setup, and commented the IRQ14 & 15 entries in my kernel config file, FreeBSD is still probing and finding the controller (at atapci0). Is this normal? Thankfully it's not panic-ing over it, tho... At the bottom of this message, I've also attached my kernel config file. Any advice is greatly appreciated! --Dan --- Kernel config file --- # PANDORA -- FreeBSD 4.0-STABLE (4/28/2000) machine i386 cpu I586_CPU ident PANDORA maxusers 100 options INET #InterNETworking options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options MFS #Memory Filesystem options MD_ROOT #MD is a potential root device options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options CD9660_ROOT #CD-ROM usable as root, CD9660 required options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options P1003_1B #Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options MD5 options SOFTUPDATES device isa device eisa device pci # Floppy drives device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 # ATA and ATAPI devices #device ata0 at isa? port IO_WD1 irq 14 #device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives #device atapifd # ATAPI floppy drives #device atapist # ATAPI tape drives #options ATA_STATIC_ID #Static device numbering #options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 device psm0 at atkbdc? irq 12 device vga0 at isa? options VESA pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? options SC_HISTORY_SIZE=200 options SC_DISABLE_REBOOT # Floating point support - do not disable. device npx0 at nexus? port IO_NPX irq 13 # Serial (COM) ports options CONSPEED=115200 device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 # Parallel port device ppc0 at isa? irq 7 device ppbus # Parallel port bus (required) device lpt # Printer # PCI Ethernet NICs that use the common MII bus controller code. device miibus # MII bus support device dc # DEC/Intel 21143 and various workalikes # ISA Ethernet NICs. device ep pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device tun # Packet tunnel. pseudo-device pty # Pseudo-ttys (telnet etc) pseudo-device md # Memory "disks" pseudo-device gif 4 # IPv6 and IPv4 tunneling pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation) pseudo-device bpf #Berkeley packet filter options IPFIREWALL #firewall options IPFIREWALL_VERBOSE #print information about # dropped packets #options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity #options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default options IPV6FIREWALL #firewall for IPv6 options IPV6FIREWALL_VERBOSE #options IPV6FIREWALL_VERBOSE_LIMIT=100 #options IPV6FIREWALL_DEFAULT_TO_ACCEPT options IPDIVERT #divert sockets options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN options TCP_RESTRICT_RST #restrict emission of TCP RST options ICMP_BANDLIM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message