> On Mon, Feb 14, 2000 at 02:39:09PM -0700, Doug Russell wrote:
> 
> > Does anyone have a Panasonic 526/563 CD-ROM drive working under 4.0-C? I
> > have not had one working for may weeks, however, I wasn't sure if it was a
> > hardware problem here, or something.  3.4 still finds them, so I beleive
> > it is something with the move to newbus or driver compatibility shims.

On Mon, 14 Feb 2000, Bill Fumerola wrote:

> I'll ask the silly question first, did you add it back into your kernel?
> 
> I removed it from GENERIC "many weeks" ago.

Yes.  As I said in my previous message, it gets compiled in, and if I boot
-c, the config editor knows about matcd0, and I can set the port, etc.
I may well be doing something silly, but I got that one.  :)

> > The kernel config editor knows the driver is there, however, regardless of
> > the port setting, or using a ? for autoprobe, the driver never probes.
> > 
> > Looking through the code and sprinkling liberally with printf, it appears
> > that matcd_probe is never being called at all, nor is isa_compat_probe.
> > 
> > I just don't know enough about how this mechanism works to figure out
> > where to go next.  Where is this process likely breaking down?  Where is
> > the probe called from?

A kernel config from the last machine I tried to get this to work on:
(I have tried this on several machines with various controllers.)

#
# CRYSTAL -- K6/166 in GA-586VX with IDE disks
#
#  Current hardware configuration:      (4.0-CURRENT)
#
#       AMD K6-1-166 (no 32M bug), 32 Megs (4 x 8M 72 pin 60ns) FPM RAM,
#       SiS 6326 4 Meg PCI video card, 1.44 Meg Floppy, 2S/1P/1G,
#       SoundBlaster 16 MCD, 2 x Panasonic 563 CD-ROM drives,
#       WD Caviar 21600 System disk on ide0:master,
#       1 Removable IDE bracket for other disks on ide1,
#       Tekram DC-390F UW SCSI (NCR875) for various SCSI fun,
#       Artisoft AE-2 Rev E (NS8390) ISA network card
#
#  Hardware before January 10, 2000:    (2.2.7-STABLE)
#
#       AMD 486DX/80 at 50x2 = 100 MHz in Gigabyte 486-VS,
#       32 Megs (4 x 8M 72 pin 60ns) FPM RAM, Cirrus Logic 5429 2M VLB
#       Adaptec AHA-2825 VLB SCSI Controller, Quantum XP32275S LXY4
#       2170 Meg SCSI disk, 2 x Panasonic 563 CD-ROM drives on
#       Creative standalone controller, SoundBlaster Vibra 16X PNP
#       USRobotics Sportster 56K VFM, Artisoft AE-2 Rev E ed0
#
# Constructed from:
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.209 1999/12/04 17:41:18 wpaul Exp $
# $FreeBSD: src/sys/i386/conf/LINT,v 1.742 2000/01/29 18:07:04 peter Exp $

machine         i386
#cpu            I386_CPU
#cpu            I486_CPU
cpu             I586_CPU
#cpu            I686_CPU
ident           CRYSTAL
maxusers        16                      # Default is 32

options         INCLUDE_CONFIG_FILE     # Include this file in kernel

# NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY
# Pentiums) from locking up when a LOCK CMPXCHG8B instruction is
# executed.  This should be included for ALL kernels that won't run
# on a Pentium.

options         "NO_F00F_HACK"          #Don't Support Broken Intel Pentiums

# NO_MEMORY_HOLE is an optimisation for systems with AMD K6 processors
# which indicates that the 15-16MB range is *definitely* not being
# occupied by an ISA memory hole.

options         "NO_MEMORY_HOLE"        #Tell K6 there is no 15-16M ISA Hole

# CPU_WT_ALLOC enables write allocation on Cyrix 6x86/6x86MX and AMD
# K5/K6/K6-2 cpus.

options         CPU_WT_ALLOC            #Not sure this mobo sets it up right

# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A
# interrupt controller.  This saves about 0.7-1.25 usec for each interrupt.
# This option breaks suspend/resume on some portables.
#
# AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A
# interrupt controller.  This saves about 0.7-1.25 usec for each interrupt.
# Automatic EOI is documented not to work for for the slave with the
# original i8259A, but it works for some clones and some integrated
# versions.

options         "AUTO_EOI_1"            #enable automatic EOI for master 8259A
#options        "AUTO_EOI_2"            #enable for slave 8259A (May not work!)

# Options for the VM subsystem
#options        PQ_NOOPT                # No coloring
#options        PQ_LARGECACHE           # color for 512k/16k cache
#options        PQ_HUGECACHE            # color for 1024k/16k cache
#options        PQ_MEDIUMCACHE          # color for 64k/16k cache
#options        PQ_NORMALCACHE          # color for 256k/16k cache

makeoptions     DEBUG=-g                #Build kernel with gdb(1) debug symbols
options         DDB                     #Enable the kernel debugger.

#options        MATH_EMULATE            #Support for x87 emulation
#options        GPL_MATH_EMULATE        #Support for good x87 emulation
options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device [keep this!]
options         MFS                     #Memory Filesystem
options         MD_ROOT                 #MFS usable as root device, "MFS" req'ed
options         NFS                     #Network Filesystem
options         NFS_ROOT                #NFS usable as root device, "NFS" req'ed
options         MSDOSFS                 #MSDOS Filesystem
options         NTFS                    #NT File System
options         CD9660                  #ISO 9660 Filesystem
options         CD9660_ROOT             #CD-ROM usable as root. "CD9660" req'ed
options         PROCFS                  #Process filesystem
options         COMPAT_43               #Compatible with BSD 4.3 [KEEP THIS!]
options         SCSI_DELAY=5000         #Be pessimistic about Joe SCSI device
#options        IDE_DELAY=8000          #Be optimistic about Joe IDE device
options         UCONSOLE                #Allow users to grab the console
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor
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 extentions
options         _KPOSIX_PRIORITY_SCHEDULING
options         _KPOSIX_VERSION=199309L
options         ICMP_BANDLIM            # Rate limit bad replies

# To make an SMP kernel, the next two are needed
#options        SMP                     # Symmetric MultiProcessor Kernel
#options        APIC_IO                 # Symmetric (APIC) I/O
# Optionally these may need tweaked, (defaults shown):
#options        NCPU=2                  # number of CPUs
#options        NBUS=4                  # number of busses
#options        NAPIC=1                 # number of IO APICs
#options        NINTR=24                # number of INTs

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
device          fd1     at fdc0 drive 1

# 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 (careful!)
#options        ATA_16BIT_ONLY          #16 bit narrow mode only

# SCSI Controllers
# A single entry for any of these controllers (ahb, ahc, amd, ncr, etc...) is
# sufficient for any number of installed devices.
#device         ahb             # EISA AHA1742 family
#device         ahc             # AHA2940 and onboard AIC7xxx devices
#device         amd             # AMD 53C974 (Tekram DC-390(T))
#device         dpt             # DPT Smartcache - See LINT for options!
#device         isp             # Qlogic family
#device         ncr             # NCR/Symbios Logic
device          sym             # NCR/Symbios Logic (do not mix with ncr, it conflicts)

#device         adv0    at isa?
#device         adw
#device         bt      at isa?
#device         aha0    at isa?
#device         aic0    at isa?

# SCSI peripherals
# Only one of each of these is needed, they are dynamically allocated.
device          scbus           # SCSI bus (required)
device          da              # Direct Access (disks)
device          sa              # Sequential Access (tape etc)
device          cd              # CD
device          pass            # Passthrough device (direct SCSI access)

# RAID controllers
#device         amr             # AMI MegaRAID
#device         mlx             # Mylex DAC960 family

# Proprietary or custom CD-ROM Interfaces
#device         wt0     at isa? port 0x300 irq 5 drq 1
#device         mcd0    at isa? port 0x300 irq 10
#device         matcd0  at isa? port ?
device          matcd0  at isa? port 0x230
device          matcd1  at isa? port 0x240
device          matcd2  at isa? port 0x250
device          matcd3  at isa? port 0x260
#device         scd0    at isa? port 0x230

# 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?

# splash screen/screen saver
pseudo-device   splash

# syscons is the default console driver, resembling an SCO console
device          sc0     at isa?

options         MAXCONS=9               # 8 vtys plus 1 extra for X
options         SC_HISTORY_SIZE=400     # number of history buffer lines
#options        SC_DISABLE_REBOOT       # disable reboot key sequence

# Size of the kernel message buffer.  Should be N * pagesize.
options         MSGBUF_SIZE=40960

# The following options will let you change the default colors of syscons.
options         SC_NORM_ATTR="(FG_CYAN|BG_BLACK)"
options         SC_NORM_REV_ATTR="(FG_LIGHTCYAN|BG_BLUE)"
options         SC_KERNEL_CONS_ATTR="(FG_LIGHTRED|BG_BLACK)"
options         SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_RED)"

# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device         vt0     at isa?
#options        XSERVER                 # support for X server
#options        FAT_CURSOR              # start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options        PCVT_SCANSET=2          # IBM keyboards are non-std

# Floating point support - do not disable.
device          npx0    at nexus? port IO_NPX irq 13

# Power management support (see LINT for more options)
device          apm0    at nexus? disable flags 0x20 # Advanced Power Management

# PCCARD (PCMCIA) support
#device          card
#device          pcic0   at isa? irq 10 port 0x3e0 iomem 0xd0000
#device          pcic1   at isa? irq 11 port 0x3e2 iomem 0xd4000 disable

# Serial (COM) ports
device          sio0    at isa? port IO_COM1 flags 0x10 irq 4
device          sio1    at isa? port IO_COM2 irq 3
device          sio2    at isa? disable port IO_COM3 irq 5
device          sio3    at isa? disable port IO_COM4 irq 9

# Parallel port
device          ppc0    at isa? irq 7
device          ppbus           # Parallel port bus (required)
device          lpt             # Printer
device          plip            # TCP/IP over parallel
device          ppi             # Parallel port interface device
#device         vpo             # Requires scbus and da0

# PCI Ethernet NICs.
#device         de              # DEC/Intel DC21x4x (``Tulip'')
#device         fxp             # Intel EtherExpress PRO/100B (82557, 82558)
#device         tx              # SMC 9432TX (83c170 ``EPIC'')
#device         vx              # 3Com 3c590, 3c595 (``Vortex'')

# PCI Ethernet NICs that use the common MII bus controller code.
#device         miibus          # MII bus support
#device         dc              # DEC/Intel 21143 and various workalikes
#device         rl              # RealTek 8129/8139
#device         sf              # Adaptec AIC-6915 (``Starfire'')
#device         sis             # Silicon Integrated Systems SiS 900/SiS 7016
#device         ste             # Sundance ST201 (D-Link DFE-550TX)
#device         tl              # Texas Instruments ThunderLAN
#device         vr              # VIA Rhine, Rhine II
#device         wb              # Winbond W89C840F
#device         xl              # 3Com 3c90x (``Boomerang'', ``Cyclone'')

# ISA Ethernet NICs.
device          ed0     at isa? port 0x300 irq 10 iomem 0xd8000
#device         ex
#device         ep
# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really 
# exists only as a PCMCIA device, so there is no ISA attatement needed
# and resources will always be dynamically assigned by the pccard code.
#device          wi
# Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will
# work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP
# mode (the factory default). If you set the switches on your ISA
# card for a manually chosen I/O address and IRQ, you must specify
# those paremeters here.
#device          an
# The probe order of these is presently determined by i386/isa/isa_compat.c.
#device         ie0     at isa? port 0x300 irq 10 iomem 0xd0000
#device         fe0     at isa? port 0x300
#device         le0     at isa? port 0x300 irq 5 iomem 0xd0000
#device         lnc0    at isa? port 0x280 irq 10 drq 0
#device         cs0     at isa? port 0x300
#device         sn0     at isa? port 0x300 irq 10
# requires PCCARD (PCMCIA) support to be activated
#device         xe0     at isa? 

# PCCARD NIC drivers.
# ze and zp take over the pcic and cannot coexist with generic pccard
# support, nor the ed and ep drivers they replace.
#device         ze0     at isa? port 0x300 irq 10 iomem 0xd8000 
#device         zp0     at isa? port 0x300 irq 10 iomem 0xd8000

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device   loop            # Network loopback
pseudo-device   ether           # Ethernet support
#pseudo-device  sl      1       # Kernel SLIP
#pseudo-device  ppp     2       # Kernel PPP
pseudo-device   tun     2       # Packet tunnel.
pseudo-device   pty             # Pseudo-ttys (telnet etc)
pseudo-device   md              # Memory "disks"
pseudo-device   vn              # vnode driver (files as devices)
pseudo-device   ccd     2       # Concatenated disk driver
pseudo-device   snp     2       # Snoop device
pseudo-device   gzip            # Exec gzipped a.out's

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device   bpf     2       #Berkeley packet filter

# USB support
#device         uhci            # UHCI PCI->USB interface
#device         ohci            # OHCI PCI->USB interface
#device         usb             # USB Bus (required)
#device         ugen            # Generic
#device         uhid            # "Human Interface Devices"
#device         ukbd            # Keyboard
#device         ulpt            # Printer
#device         umass           # Disks/Mass storage - Requires scbus and da0
#device         ums             # Mouse
# USB Ethernet
#device         aue             # ADMtek USB ethernet
#device         cue             # CATC USB ethernet
#device         kue             # Kawasaki LSI USB ethernet

# Kernel PPP options
options         PPP_BSDCOMP     # PPP BSD-compress support
options         PPP_DEFLATE     # PPP zlib/deflate/gzip support   
options         PPP_FILTER      # enable bpf filtering (needs bpf)

# Miscellaneous Options
options         USER_LDT                #allow user-level control of i386 ldt
options         MD5                     # Build MD5 routine into the kernel
options         VESA                    # Include support for VESA video modes
options         SOFTUPDATES             # Enable SoftUpdates!

# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
#options                KTRACE          #kernel tracing

# Use LuigiSound!
#device pcm0 at isa? port ? irq 5 drq 1 flags 0x15

# The newpcm driver (use INSTEAD of snd0 and all VOXWARE drivers!).
# Note that motherboard sound devices may require options PNPBIOS.
#options PNPBIOS
#
# For non-pnp sound cards with no bridge drivers only:
#device         pcm0 at isa? port ? irq 10 drq 1 flags 0x0
#
# For pnp sound cards:
device         pcm0

# The bridge drivers for sound cards. Do not forget pcm as well.
#
# sbc:  Creative SoundBlaster ISA PnP/non-PnP
#       Supports ESS and Avance ISA chips as well.
# gusc: Gravis UltraSound ISA PnP/non-PnP
# csa:  Crystal Semiconductor CS461x/428x PCI

# For PnP cards:
#device         sbc0
#device         gusc0
#device         csa0

# For non-PnP cards:
device         sbc0    at isa? port 0x220 irq 5 drq 1 flags 0x15
#device         gusc0   at isa? port 0x220 irq 5 drq 1 flags 0x13

# SMB bus
# Supported devices:
#  smb   standard io
# Supported interfaces:
#  iicsmb I2C to SMB bridge with any iicbus interface
#  bktr  brooktree848 I2C hardware interface
#  intpm Intel PIIX4 Power Management Unit
#  alpm  Acer Aladdin-IV/V/Pro2 Power Management Unit
#device         smbus0
#device         alpm0
#device         intpm0
#device         smb0    at smbus?

# I2C Bus
# Supported devices:
#  ic    i2c network interface
#  iic   i2c standard io
#  iicsmb i2c to smb bridge. Allow i2c i/o with smb commands.
# Supported interfaces:
#  pcf   Philips PCF8584 ISA-bus controller
#  bktr  brooktree848 I2C software interface
# Other:
#  iicbb generic I2C bit-banging code (needed by lpbb, bktr)
#device         pcf0    at isa? port 0x320 irq 5
#device         iicbus0
#device         iicbb0
#device         ic0     at iicbus?
#device         iic0    at iicbus?
#device         iicsmb0 at iicbus?

#
# Notes:
#
# CPU_SUSP_HLT enables suspend on HALT.  If this option is set, CPU
# enters suspend mode following execution of HALT instruction.
#
# The DIAGNOSTIC option is used to enable extra debugging information
# from some parts of the kernel.  As this makes everything more noisy,
# it is disabled by default.
#
# IPSTEALTH enables code to support stealth forwarding (i.e., forwarding
# packets without touching the ttl).  This can be useful to hide firewalls
# from traceroute and similar tools.
#

Later......                                             <Doug>



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to