Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Apr 2000 18:39:01 -0700
From:      "Dan O'Connor" <dan@mostgraveconcern.com>
To:        "freebsd-questions" <freebsd-questions@freebsd.org>
Subject:   FreeBSD 4.0 / Promise UDMA-66 Controller / ATAPI CD-RW
Message-ID:  <02fb01bfb30e$0e32fd80$0200000a@danco>

next in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
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: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
atapci0: <RZ 100? ATA controller !WARNING! buggy chip data loss possible> at
device 1.0 on pci0
atapci0: Busmastering DMA not supported
isab0: <Intel 82378ZB PCI to ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
pci0: <S3 ViRGE DX/GX graphics accelerator> at 6.0 irq 11
atapci1: <Promise ATA66 controller> 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: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
dc0: supplying EUI64: 00:c0:f0:ff:fe:57:6a:51
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> irq 1 on atkbdc0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> 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: <Parallel port> 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: <Hewlett-Packard HP LaserJet 2100 Series> PJL,MLC,PCL,PCLXL
lpt0: <Printer> 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 <WDC AC36400L> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?02fb01bfb30e$0e32fd80$0200000a>