Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Aug 1998 23:48:02 -0700 (PDT)
From:      Donald Burr <dburr@pobox.com>
To:        FreeBSD Hardware <freebsd-hardware@FreeBSD.ORG>
Subject:   trouble gettting Wearnes ATAPI CD-ROM to work
Message-ID:  <XFMail.980806234802.dburr@pobox.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
The CD-ROM on one of my machines has recently died, and since I am running
very low on cash, I replaced it with an ATAPI CD-ROM that was borrowed from
my roommate's machine (she's not using it at this time).

The CD-ROM that I have is a Wearnes CDS-24X ATAPI CD-ROM:

wdc1: unit 1 (atapi): <WPI CDS-24X/ERk A1.0>, removable, dma, iordy

I attached it to the secondary controller (wdc1) as the slave device.
My system has *NO*OTHER* IDE disks in it -- all of my disks are SCSI.

Here is the info on my system.

MB: Tyan Titan Turbo AT-2 (S1571S); Intel 430TX (Triton) chipset
Memory: 128 MB
Video card: ATI 3D Pro Turbo PC2TV (Mach64 3D RageII+DVD)
HD controller: Adaptec AHA-2940AU PCI UltraSCSI.  Also built-in UltraDMA33
        IDE ports on the 430TX chipset.
Disks: 2 x Quantum Viking 4.3 GB SCSI.  1 x IBM 0662S12 1.0 GB SCSI.
Other HW: Sound Blaster Vibra16C sound card, clone Bt848 TV tuner card,
        Realtek 8029 PCI NE2000 clone.
OS: FreeBSD 2.2.6-RELEASE (I have also tried 2.2.7, with the same results.)

Anyway, here's what's happening.

When the kernel boots, the drive is never attached to the 'wcd' driver.
I looked through both atapi.c and wcd.c, and found a "DEBUG" define that
would print additional messages.  I defined it, and tried compiling.  This
is what I got during the "attach" phase:

...
wdc1 at 0x170-0x177 irq 15 on isa
atapi1.0 at 0x170: attach called
atapiX.0 at 0x170: controller busy,
status=ff<busy,ready,fault,opdone,drq,corr,check>
atapi1.1 at 0x170: attach called
wdc1: unit 1 (atapi): <WPI CDS-24X/ERk A1.0>, removable, dma, iordy
wcd0: info
80-85-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0
-0-0-0-0-0-0-0-0-0-45-52-6b-20-41-31-2e-3
0-57-50-49-20-43-44-53-2d-32-34-58-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-
0-0-0-0-0-0-0-0-0-0-0-0-0-0-b-0-0-0-2-0-2-2-0-0-0-0-
0-0-0-0-0-0-0-0-0-0-0-0-0-7-4-7-4-3-0-78-0-78-0-78-0-78-0-0-0-0-0-0-0-0-0-0
-0
atapi1.1: req im 5a-0-2a-0-0-0-0-0-1c-0-0-0-0-0-0-0 len=28
atapi1.1: start
atapi1.1: send cmd MODE_SENSE 5a-0-2a-0-0-0-0-0-1c-0-0-0-0-0-0-0
atapi1.1: intr ireason=0x3, len=28, status=51<ready,opdone,check>, error=60
atapi1.1: req im 5a-0-2a-0-0-0-0-0-1c-0-0-0-0-0-0-0 len=28
atapi1.1: start
atapi1.1: send cmd MODE_SENSE 5a-0-2a-0-0-0-0-0-1c-0-0-0-0-0-0-0
atapi1.1: intr ireason=0x3, len=28, status=51<ready,opdone,check>, error=60
...

Note that the wcd0 driver never picks up the drive.

Nevertheless, I tried a "mount -t cd9660 /dev/wcd0a /cdrom" and got
"I/O error", as well as the following in the dmesg buffer:

atapi1.1: req w 0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0 len=0
atapi1.1: start
atapi1.1: send cmd TEST_UNIT_READY 0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0
atapi1.1: intr ireason=0x3, len=0, status=51<ready,opdone,check>, error=60
atapi1.1: req w 0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0 len=0
atapi1.1: start
atapi1.1: send cmd TEST_UNIT_READY 0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0
atapi1.1: intr ireason=0x3, len=0, status=51<ready,opdone,check>, error=60
atapi1.1: req w 1e-0-0-0-1-0-0-0-0-0-0-0-0-0-0-0 len=0
atapi1.1: start
atapi1.1: send cmd PREVENT_ALLOW 1e-0-0-0-1-0-0-0-0-0-0-0-0-0-0-0
atapi1.1: intr ireason=0x3, len=0, status=51<ready,opdone,check>, error=60
atapi1.1: req w 0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0 len=0
atapi1.1: start
atapi1.1: send cmd TEST_UNIT_READY 0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0
atapi1.1: intr ireason=0x3, len=0, status=51<ready,opdone,check>, error=60
atapi1.1: req w 0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0 len=0
atapi1.1: start
atapi1.1: send cmd TEST_UNIT_READY 0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0
atapi1.1: intr ireason=0x3, len=0, status=51<ready,opdone,check>, error=60
atapi1.1: req w 1e-0-0-0-1-0-0-0-0-0-0-0-0-0-0-0 len=0
atapi1.1: start
atapi1.1: send cmd PREVENT_ALLOW 1e-0-0-0-1-0-0-0-0-0-0-0-0-0-0-0
atapi1.1: intr ireason=0x3, len=0, status=51<ready,opdone,check>, error=60
atapi1.1: req w 1e-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0 len=0
atapi1.1: start
atapi1.1: send cmd PREVENT_ALLOW 1e-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0
atapi1.1: intr ireason=0x3, len=0, status=51<ready,opdone,check>, error=60

This drive works perfectly under both Windows 95 and Linux (Slackware 3.5,
kernel 2.0.34).

Any ideas?  Your help is greatly appreciated.  Please reply by e-mail
&/or to the lists.  Thanks!

PS: I have attached copies of both my kernel config. file, and the output
of "dmesg", in case they may be helpful.
---
Donald Burr <dburr@pobox.com> *NEW EMAIL ADDRESS!*      | PGP: Your
WWW HomePage: http://DonaldBurr.base.org/  ICQ #1347455 | right to
Address: P.O. Box 91212, Santa Barbara, CA 93190-1212   | 'Net privacy.
Phone: (805) 957-9666    FAX: (800) 492-5954            | USE IT.
>>FreeBSD - Turning PCs into Workstations - http://www.freebsd.org/<<;

[-- Attachment #2 --]
Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.

FreeBSD 2.2.6-RELEASE #0: Thu Aug  6 16:30:43 PDT 1998
    dburr@control.colossus.dyn.ml.org:/usr/src/sys/compile/CONTROL
CPU: AMD-K6tm w/ multimedia extensions (233.03-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x562  Stepping=2
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  = 134217728 (131072K bytes)
avail memory = 129007616 (125984K bytes)
Probing for devices on PCI bus 0:
chip0 <Intel 82439TX PCI cache memory controller> rev 1 on pci0:0:0
chip1 <Intel 82371AB PCI-ISA bridge> rev 1 on pci0:7:0
chip2 <Intel 82371AB IDE interface> rev 1 on pci0:7:1
chip3 <Intel 82371AB USB interface> rev 1 int d irq 11 on pci0:7:2
chip4 <Intel 82371AB Power management controller> rev 1 on pci0:7:3
ed0 <NE2000 PCI Ethernet (RealTek 8029)> rev 0 int a irq 10 on pci0:16:0
ed0: address 00:00:b4:5a:4e:71, type NE2000 (16 bit) 
vga0 <VGA-compatible display device> rev 154 on pci0:18:0
ahc0 <Adaptec 2940A Ultra SCSI host adapter> rev 1 int a irq 11 on pci0:19:0
ahc0: aic7860 Single Channel, SCSI Id=7, 3 SCBs
ahc0 waiting for scsi devices to settle
ahc0: target 0 Tagged Queuing Device
(ahc0:0:0): "QUANTUM VIKING 4.5 NSE 880R" type 0 fixed SCSI 2
sd0(ahc0:0:0): Direct-Access 4345MB (8899737 512 byte sectors)
sd0(ahc0:0:0): with 6144 cyls, 8 heads, and an average 181 sectors/track
ahc0: target 1 Tagged Queuing Device
(ahc0:1:0): "QUANTUM VIKING 4.5 NSE 880R" type 0 fixed SCSI 2
sd1(ahc0:1:0): Direct-Access 4345MB (8899737 512 byte sectors)
sd1(ahc0:1:0): with 6144 cyls, 8 heads, and an average 181 sectors/track
ahc0: target 2 Tagged Queuing Device
(ahc0:2:0): "IBM 0662S12       !O 2 23" type 0 fixed SCSI 2
sd2(ahc0:2:0): Direct-Access 1003MB (2055035 512 byte sectors)
sd2(ahc0:2:0): with 4119 cyls, 5 heads, and an average 99 sectors/track
(ahc0:4:0): "SONY CD-R   CDU926S 1.1g" type 5 removable SCSI 2
cd0(ahc0:4:0): CD-ROM can't get the size
ahc0:A:5: refuses synchronous negotiation. Using asynchronous transfers
(ahc0:5:0): "UMAX Astra 1200S V2.9" type 6 fixed SCSI 2
uk0(ahc0:5:0): Unknown 
(ahc0:5:1): "UMAX Astra 1200S V2.9" type 6 fixed SCSI 2
uk1(ahc0:5:1): Unknown 
(ahc0:5:2): "UMAX Astra 1200S V2.9" type 6 fixed SCSI 2
uk2(ahc0:5:2): Unknown 
(ahc0:5:3): "UMAX Astra 1200S V2.9" type 6 fixed SCSI 2
uk3(ahc0:5:3): Unknown 
(ahc0:5:4): "UMAX Astra 1200S V2.9" type 6 fixed SCSI 2
uk4(ahc0:5:4): Unknown 
(ahc0:5:5): "UMAX Astra 1200S V2.9" type 6 fixed SCSI 2
uk5(ahc0:5:5): Unknown 
(ahc0:5:6): "UMAX Astra 1200S V2.9" type 6 fixed SCSI 2
uk6(ahc0:5:6): Unknown 
(ahc0:5:7): "UMAX Astra 1200S V2.9" type 6 fixed SCSI 2
uk7(ahc0:5:7): Unknown 
ahc0: target 6 Tagged Queuing Device
(ahc0:6:0): "iomega jaz 1GB H.72" type 0 removable SCSI 2
sd3(ahc0:6:0): Direct-Access 
sd3(ahc0:6:0): ILLEGAL REQUEST asc:24,0 Invalid field in CDB
sd3 could not mode sense (4). Using ficticious geometry
1021MB (2091050 512 byte sectors)
sd3(ahc0:6:0): with 1021 cyls, 64 heads, and an average 32 sectors/track
bktr0 <BrookTree 848> rev 18 int a irq 10 on pci0:20:0
Miro TV, Temic NTSC tuner.
Probing for PnP devices:
CSN 1 Vendor ID: CTL0070 [0x70008c0e] Serial 0xffffffff
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <12 virtual consoles, flags=0x0>
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
psm0 at 0x60-0x64 irq 12 on motherboard
psm0: model Generic PS/2 mouse, device ID 0
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
pca0 on motherboard
pca0: PC speaker audio driver
wdc1 at 0x170-0x177 irq 15 on isa
atapi1.0 at 0x170: attach called
atapiX.0 at 0x170: controller busy, status=ff<busy,ready,fault,opdone,drq,corr,c
heck>
atapi1.1 at 0x170: attach called
wdc1: unit 1 (atapi): <WPI CDS-24X/ERk A1.0>, removable, dma, iordy
wcd0: info 80-85-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0
-0-0-0-0-0-0-0-0-0-0-0-0-45-52-6b-20-41-31-2e-30-57-50-49-20-43-44-53-2d-32-34-5
8-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-b-0-0-0-2-
0-2-2-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-7-4-7-4-3-0-78-0-78-0-78-0-78-0-0-0-0-0-
0-0-0-0-0-0
atapi1.1: req im 5a-0-2a-0-0-0-0-0-1c-0-0-0-0-0-0-0 len=28
atapi1.1: start
atapi1.1: send cmd MODE_SENSE 5a-0-2a-0-0-0-0-0-1c-0-0-0-0-0-0-0
atapi1.1: intr ireason=0x3, len=28, status=51<ready,opdone,check>, error=60
atapi1.1: req im 5a-0-2a-0-0-0-0-0-1c-0-0-0-0-0-0-0 len=28
atapi1.1: start
atapi1.1: send cmd MODE_SENSE 5a-0-2a-0-0-0-0-0-1c-0-0-0-0-0-0-0
atapi1.1: intr ireason=0x3, len=28, status=51<ready,opdone,check>, error=60
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
npx0 on motherboard
npx0: INT 16 interface
joy0 at 0x201 on isa
joy0: joystick
sctarg0(noadapter::): Processor Target 
ccd0-3: Concatenated disk drivers
OSS/FreeBSD loading, address = f6adf020
atapi1.1: req w 0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0 len=0
atapi1.1: start
atapi1.1: send cmd TEST_UNIT_READY 0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0
atapi1.1: intr ireason=0x3, len=0, status=51<ready,opdone,check>, error=60
atapi1.1: req w 0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0 len=0
atapi1.1: start
atapi1.1: send cmd TEST_UNIT_READY 0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0
atapi1.1: intr ireason=0x3, len=0, status=51<ready,opdone,check>, error=60
atapi1.1: req w 1e-0-0-0-1-0-0-0-0-0-0-0-0-0-0-0 len=0
atapi1.1: start
atapi1.1: send cmd PREVENT_ALLOW 1e-0-0-0-1-0-0-0-0-0-0-0-0-0-0-0
atapi1.1: intr ireason=0x3, len=0, status=51<ready,opdone,check>, error=60
atapi1.1: req w 0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0 len=0
atapi1.1: start
atapi1.1: send cmd TEST_UNIT_READY 0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0
atapi1.1: intr ireason=0x3, len=0, status=51<ready,opdone,check>, error=60
atapi1.1: req w 0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0 len=0
atapi1.1: start
atapi1.1: send cmd TEST_UNIT_READY 0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0
atapi1.1: intr ireason=0x3, len=0, status=51<ready,opdone,check>, error=60
atapi1.1: req w 1e-0-0-0-1-0-0-0-0-0-0-0-0-0-0-0 len=0
atapi1.1: start
atapi1.1: send cmd PREVENT_ALLOW 1e-0-0-0-1-0-0-0-0-0-0-0-0-0-0-0
atapi1.1: intr ireason=0x3, len=0, status=51<ready,opdone,check>, error=60
atapi1.1: req w 1e-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0 len=0
atapi1.1: start
atapi1.1: send cmd PREVENT_ALLOW 1e-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0
atapi1.1: intr ireason=0x3, len=0, status=51<ready,opdone,check>, error=60

[-- Attachment #3 --]
#
# $Id: CONTROL,v 3.21 1998/08/06 23:24:36 dburr Exp $
#
# $Log: CONTROL,v $
# Revision 3.21  1998/08/06 23:24:36  dburr
# Moved CD-ROM to secondary slave position.
# Changed configuration to reflect this.
#
# Revision 3.20  1998/08/06 06:52:44  dburr
# Sigh.  Still not working.
# Maybe it needs a "disk wd0" entry?
#
# Revision 3.19  1998/08/06 06:39:45  dburr
# Finalized set up of IDE CD-ROM.  (I hope...)
#
# Revision 3.18  1998/08/05 14:26:04  dburr
# Added wdc0 and IDE CD-ROM driver.
#
# Revision 3.17  1998/07/19 22:53:39  dburr
# Oops, accidentally deleted the joy0 driver.  It's back now.
# Got rid of all commented-out stuff -- I no longer need it.
#
# Revision 3.16  1998/07/12 13:54:14  dburr
# Removed VoxWare sound drivers, in preparation for migrating to OSS.
#
# Revision 3.15  1998/07/07 22:03:40  dburr
# Removed controller wdc0 and disk wd0.
# We no longer have any IDE disks in the system!
#
# Revision 3.14  1998/07/07 05:27:35  dburr
# Changed root device to sd1.
#
# Revision 3.13  1998/07/05 12:02:16  dburr
# Added pnp0 device for Plug-n-Play configuration.
#
# Revision 3.12  1998/07/04 11:29:54  root
# Changed root device to sd0.
# Removed wdc1 - no drives are here anymore.
# Removed SCBPAGING, maybe this is the cause of my ills?
#
# Revision 3.11  1998/07/02 08:10:06  dburr
# Re-enabled {CHILD,OPEN}_MAX, MAXDSIZ and DFLDSIZ to try and
# fix the "file: table full" problems and catch others before
# they happen.
#
# Revision 3.10  1998/07/01 09:04:23  dburr
# Finished setting up for AMD K6/233.
# Changed ed0 definition to handle a PCI NE2000 clone.
#
# Revision 3.9  1998/06/25 09:33:56  dburr
# Cleaned up a few things.
# Re-enabled AUTO_EOI_1 - it wasn't hurting things after all.
#
# Revision 3.8  1998/06/25 08:58:02  root
# Fixed to work with AMD K6 CPU.
# - removed AUTO_EOI_2 - new motherboard doesn't like it.
# - removed PERFMON.
# - probably some other things I've forgotten.
#
# Revision 3.7  1998/06/21 08:08:20  root
# Changed ed0 to irq 9.
# Added USERCONFIG and VISUAL_USERCONFIG, for the "-c" configurer.
#
# Revision 3.6  1998/06/04 07:41:11  dburr
# Reverted to 2.2.6-RELEASE.
# Removed some commented out and/or unused stuff.
#
# Revision 3.5  1998/05/11 11:38:22  dburr
# Added firewall stuff.
# Made it work.
#
# Revision 3.4  1998/05/11 08:13:03  dburr
# Added IP firewalling.
#
# Revision 3.3  1998/05/11 08:10:32  dburr
# Removed a few oudated stuff.
# Took out the new POSIX realtime stuff.
# Cleaned up other minor things.
#
# Revision 3.2  1998/05/11 05:31:11  dburr
# Eliminated entry for 'log' pseudo-device.
# (apparently no longer required in CURRENT)
#
# Revision 3.1  1998/05/11 05:29:58  dburr
# Updated for 3.0-CURRENT.
#
# Revision 2.5  1998/04/21 08:33:38  dburr
# Added OVERRIDE_TUNER to fix that weird Temic PAL thing.
#
# Revision 2.4  1998/04/10 11:16:03  dburr
# Moved ed0 to irq 10.
#
# Revision 2.3  1998/04/10 10:42:51  dburr
# Fixed defs of ed0, sb0, sbxvi0, and xsbmidi0 because I switched
# back to the non-PnP ethernet card.
#
# Revision 2.2  1998/04/10 08:12:45  dburr
# Commented out Coda stuff, until I actually download the thing!
#
# Revision 2.1  1998/04/10 08:08:48  dburr
# Migrated configuration file to fit with FreeBSD 2.2.6-RELEASE.
#
# Revision 1.19  1998/04/10 07:53:32  dburr
# Changed ed0, sb0, sbxvi0, sbmidi0 to reflect crazy configuration
# that PnP BIOS assigned when changing Ethernet cards.
#
# Revision 1.18  1998/04/06 00:57:56  dburr
# Changed defines to use ISA ethernet card instead of PCI.
#
# Revision 1.17  1998/04/05 23:29:52  dburr
# Added driver for BrookTree 848 PCI TV capture card.
#
# Revision 1.16  1998/03/21 10:35:03  dburr
# SCBPAGING wasn't the cause of the troubles, so I put it back in.
#
# Revision 1.15  1998/03/20 18:30:52  dburr
# Removed AHC_SCBPAGING_ENABLE to try and fix problems with tosha.
#
# Revision 1.14  1998/03/14 12:39:59  dburr
# Upped maxusers to try and help the file table problem.
#
# Revision 1.13  1998/03/13 09:06:23  dburr
# Upped CHILD_MAX and OPEN_MAX to 512.
#
# Revision 1.12  1998/03/02 11:14:47  dburr
# Upped max child procs and files to 256 per user.
#
# Revision 1.11  1998/02/23 11:03:59  dburr
# Re-enabled SCB paging.
#
# Revision 1.10  1998/02/16 17:30:35  dburr
# Fixed typo in joy0 declaration.
#
# Revision 1.9  1998/02/16 17:30:00  dburr
# Removed PnP support.
#
# Revision 1.8  1998/02/04 10:07:44  dburr
# Removed flags for the nonexistent 2nd IDE disk.
# Switched to FreeBSD native sound driver.
# Removed NCR/SymBIOS driver since I have
# decided to keep the Adaptec card.
#
# Revision 1.7  1998/01/24 07:43:29  dburr
# Trying out original sound driver.
#
# Revision 1.6  1998/01/24 03:37:58  dburr
# Added driver for joystick port.
#
# Revision 1.5  1998/01/24 03:36:33  dburr
# Fixed declaration of sound driver.
#
# Revision 1.4  1998/01/13 14:21:59  root
# fixed for new sound driver.
#
# Revision 1.3  1998/01/13 07:50:44  root
# Added lines for PnP support.
# Deleted old sound driver lines.
# Added support for PnP sound card.
#
# Revision 1.2  1998/01/13 07:43:01  root
# removed all unused entries.
# trimmed down all comments.
#
# Revision 1.1  1998/01/13 07:25:03  root
# Initial revision
#
#
# Kernel configuration file for:
# HOST:    control.colossus.dyn.ml.org
# ARCH:    i386
# CPU:     i586
# OS:      FreeBSD
# OSREL:   2.2.6-RELEASE
#

machine		"i386"			# we are on an Intel x86 architecture
ident		CONTROL			# identification of this kernel
maxusers	100			# sizes certain tables for 100 users
options		CHILD_MAX=512		# up the limit for max. procs per user
options		OPEN_MAX=512		# up the limit for max. open files
options		"MAXDSIZ=(256*1024*1024)"
					# max. proc size = 256MB
options		"DFLDSIZ=(256*1024*1024)"
					# dflt. proc. size = 256MB
options         INCLUDE_CONFIG_FILE	# Include this file in kernel
config		kernel	root on sd1 dumps on sd1
					# where root fs and crashdumps are
cpu		"I586_CPU"		# our cpu is a Pentium-class CPU
options		"COMPAT_43"		# syscalls compatible with 4.3BSD
options		USER_LDT		# allow user-level control of i386 ldt
options		SYSVSHM			# SysV IPC (shared memory)
options		SYSVSEM			# SysV IPC (semaphores)
options		SYSVMSG			# SysV IPC (message queues)
options		"MD5"			# MD5 checking in kernel
options		KTRACE			# kernel tracing via ktrace(2)
options		UCONSOLE		# let users grab the console
options		USERCONFIG		# user configuration editor
options		VISUAL_USERCONFIG	# visual user config editor
options		INET			# Internet communications protocols
pseudo-device	ether			# Generic Ethernet
pseudo-device	loop			# Network loopback device
pseudo-device	sl	2		# Serial Line IP
pseudo-device	ppp	2		# Point-to-point protocol
pseudo-device	bpfilter	6	# Berkeley packet filter
pseudo-device	tun	2		# Tunnel driver(user process ppp)
options		"TCP_COMPAT_42"		# emulate 4.2BSD TCP bugs
options		FFS			# Fast filesystem
options		NFS			# Network File System
options		"CD9660"		# ISO 9660 filesystem
options		MSDOSFS			# MS DOS File System
options		PROCFS			# Process filesystem
options		NSWAPDEV=5		# max. number of swap devices
options		QUOTA			# enable disk quotas
controller	scbus0			# base SCSI code
device		ch0			# SCSI media changers
device		sd0			# SCSI disks
device		st0			# SCSI tapes
device		cd0			# SCSI CD-ROMs
device		od0			# SCSI optical disk
device worm0 at scbus?			# SCSI worm
device pt0 at scbus?			# SCSI processor type
device sctarg0 at scbus?		# SCSI target
options		SCSIDEBUG		# enable SCSI debug macros
options		SCSI_REPORT_GEOMETRY	# always report geometry
options		OD_AUTO_TURNOFF		# auto-spindown od's
pseudo-device	pty	16		# Pseudo ttys - can go as high as 256
pseudo-device	speaker			# Play music out your speaker
pseudo-device	log			# Kernel syslog interface (/dev/klog)
pseudo-device	gzip			# Exec gzipped a.out's
pseudo-device	vn	4		# Vnode driver (turns file into device)
pseudo-device	snp	4		# Snoop - to look at pty/vty/etc..
pseudo-device	ccd	4		# Concatenated disk driver
pseudo-device	su			# scsi user
pseudo-device	ssc			# super scsi
controller	isa0			# ISA bus
options		"AUTO_EOI_1"		# Enable AUTO_EOI for master 8259
options		BOUNCE_BUFFERS		# needed if >16MB RAM for busmaster
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
					# syscons console driver
options		MAXCONS=12		# number of virtual consoles
device		npx0 at isa? port "IO_NPX" iosiz 0x0 flags 0x0 irq 13 vector npxintr				
	# math coprocessor support
controller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr
					# secondary IDE controller
options		ATAPI			# Enable ATAPI support for IDE bus
options		ATAPI_STATIC		# Do it without LKM
device		wcd0			# IDE CD-ROM
controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
					# floppy drive controller
disk		fd0	at fdc0 drive 0	# floppy drive 1
device		lpt0	at isa? port? tty irq 7 vector lptintr
					# printer port
device		psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr
					# PS/2 mouse port
device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
					# serial port 1
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
					# serial port 2
device joy0	at isa? port "IO_GAME"	# Joystick port
device pca0 at isa? port IO_TIMER1 tty	# PC audio driver (sound out speaker)
controller	pci0			# PCI bus
device		ed? at pci?		# PCI ethernet
device		bktr0			# BrookTree 848 PCI TV capture card
options		OVERRIDE_TUNER=1	# force it to be Temic NTSC tuner
controller	ahc0			# Adaptec PCI SCSI card
options		AHC_TAGENABLE		# Enable tagged command queueing
options		AHC_ALLOW_MEMIO		# Allow memory-mapped I/O
options		SCSI_DELAY=8		# let SCSI devices spinup before probe
controller	pnp0			# Plug-n-Play drivers
options		"SHMMAX=(SHMMAXPGS*PAGE_SIZE+1)"
					# increase max. shared memory size

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