Date: Sat, 19 Dec 1998 15:24:28 +1000 From: Brian Moore <bjmoore@uq.net.au> To: freebsd-questions@FreeBSD.ORG Subject: Kernel Configuration Message-ID: <367B388C.8045A953@uq.net.au>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------F3D12335143CEA13EA4BAD42
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Friends,
I have problems initializing the Atapi CD-ROM after
rebuilding the kernel.
I am running FreeBSD 2.2.7 with kernel source 2.2.8.
I have 3 hard discs arranged as primary master and slave and secondary
master. The cdrom is on the secondary controller, and worked OK before
kernel rebuild.
I have recompiled and installed the kernel and can find no definite
instructions regarding the correct syntax for the cdrom drive and
therefore this device is not detected.
I have enclosed 3 files which are from /var/log /messages before and
after the kernel change, also -
" MYKERNEL " config file.
Could someone please indicate the correct syntax I should use to detect
the cdrom. I assume there is no config file to serve as an example from
the original kernel .
Thanks, Brian.
--------------F3D12335143CEA13EA4BAD42
Content-Type: text/plain; charset=us-ascii; name="MYKERNEL"
Content-Disposition: inline; filename="MYKERNEL"
Content-Transfer-Encoding: 7bit
#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
# For more information read the handbook part System Administration ->
# Configuring the FreeBSD Kernel -> The Configuration File.
# The handbook is available in /usr/share/doc/handbook or online as
# latest version from the FreeBSD World Wide Web server
# <URL:http://www.FreeBSD.ORG/>
#
# An exhaustive list of options and more detailed explanations of the
# device lines is present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $Id: GENERIC,v 1.77.2.28 1998/09/26 17:36:14 wpaul Exp $
machine "i386"
#cpu "I386_CPU"
#cpu "I486_CPU"
cpu "I586_CPU"
#cpu "I686_CPU"
ident MYKERNEL
maxusers 6
#options MATH_EMULATE #Support for x87 emulation
options INET #InterNETworking
options FFS #Berkeley Fast Filesystem
#options NFS #Network Filesystem
options MSDOSFS #MSDOS Filesystem
options "CD9660" #ISO 9660 Filesystem
options PROCFS #Process filesystem
options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!]
#options SCSI_DELAY=15 #Be pessimistic about Joe SCSI device
options BOUNCE_BUFFERS #include support for DMA bounce buffers
options UCONSOLE #Allow users to grab the console
options FAILSAFE #Be conservative
options USERCONFIG #boot -c editor
options VISUAL_USERCONFIG #visual boot -c editor
config kernel root on wd1s3a
controller isa0
#controller eisa0
controller pci0
controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk fd0 at fdc0 drive 0
#disk fd1 at fdc0 drive 1
# Unless you know very well what you're doing, leave ft0 at drive 2, or
# remove the line entirely if you don't need it. Trying to configure
# it on another unit might cause surprises, see PR kern/7176.
#tape ft0 at fdc0 drive 2
options "CMD640" # work around CMD640 chip deficiency
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
disk wd0 at wdc0 drive 0
disk wd1 at wdc0 drive 1
controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr
disk wd2 at wdc1 drive 0
disk wd3 at wdc1 drive 1
options ATAPI #Enable ATAPI support for IDE bus
#options ATAPI_STATIC #Don't do it as an LKM
device wcd0 #IDE CD-ROM
#device wfd0 #IDE floppy (LS-120)
# Audio drivers: `snd', `sb', `pas', `gus', `pca'
#
# snd: Voxware sound support code
# sb: SoundBlaster PCM - SoundBlaster, SB Pro, SB16, ProAudioSpectrum
# sbxvi: SoundBlaster 16
# sbmidi: SoundBlaster 16 MIDI interface
# pas: ProAudioSpectrum PCM and MIDI
# gus: Gravis Ultrasound - Ultrasound, Ultrasound 16, Ultrasound MAX
# gusxvi: Gravis Ultrasound 16-bit PCM (do not use)
# mss: Microsoft Sound System
# opl: Yamaha OPL-2 and OPL-3 FM - SB, SB Pro, SB 16, ProAudioSpectrum
# uart: stand-alone 6850 UART for MIDI
# mpu: Roland MPU-401 stand-alone card
#
# Beware! The addresses specified below are also hard-coded in
# i386/isa/sound/sound_config.h. If you change the values here, you
# must also change the values in the include file.
#
# pca: PCM audio through your PC speaker
#
# If you have a GUS-MAX card and want to use the CS4231 codec on the
# card the drqs for the gus max must be 8 bit (1, 2, or 3).
#
# If you would like to use the full duplex option on the gus, then define
# flags to be the ``read dma channel''.
#
# options BROKEN_BUS_CLOCK #PAS-16 isn't working and OPTI chipset
# options SYMPHONY_PAS #PAS-16 isn't working and SYMPHONY chipset
# options EXCLUDE_SBPRO #PAS-16
# options SBC_IRQ=5 #PAS-16. Must match irq on sb0 line.
# PAS16: The order of the pas0/sb0/opl0 is important since the
# sb emulation is enabled in the pas-16 attach.
#
# The i386/isa/sound/sound.doc has more information.
# Controls all "VOXWARE" driver sound devices. See Luigi's driver
# below for an alternate which may work better for some cards.
#
controller snd0
#device pas0 at isa? port 0x388 irq 10 drq 6 vector pasintr
device sb0 at isa? port 0x220 irq 5 drq 1 vector sbintr
device sbxvi0 at isa? drq 5
device sbmidi0 at isa? port 0x330
#device awe0 at isa? port 0x620
#device gus0 at isa? port 0x220 irq 12 drq 1 vector gusintr
#device gus0 at isa? port 0x220 irq 12 drq 1 flags 0x3 vector gusintr
#device mss0 at isa? port 0x530 irq 10 drq 1 vector adintr
# Use this line for PAS avoid port conflict
#device opl0 at isa? port 0x38a
# For normal case use next line
# device opl0 at isa? port 0x388
#device mpu0 at isa? port 0x330 irq 6 drq 0
#device uart0 at isa? port 0x330 irq 5 vector "m6850intr"
# More undocumented sound devices with bogus configurations for linting.
# broken
#device sscape0 at isa? port 0x330 irq 6 drq 0
#device trix0 at isa? port 0x330 irq 6 drq 0 vector sscapeintr
# Luigi's snd code (use INSTEAD of snd0 and all VOXWARE drivers!).
# You may also wish to enable the pnp controller with this, for pnp
# sound cards.
#
#device pcm0 at isa? port ? tty irq 10 drq 1 flags 0x0 vector pcmintr
# Not controlled by `snd'
#device pca0 at isa? port IO_TIMER1 tty
#
# Miscellaneous hardware:
#
# mcd: Mitsumi CD-ROM
# scd:
# A single entry for any of these controllers (ncr, ahb, ahc, amd) is
# sufficient for any number of installed devices.
#controller ncr0
#controller amd0
#controller ahb0
#controller ahc0
#controller dpt0
#controller bt0 at isa? port "IO_BT0" bio irq ? vector bt_isa_intr
#controller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr
#controller aha0 at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr
#controller aic0 at isa? port 0x340 bio irq 11 vector aicintr
#controller nca0 at isa? port 0x1f88 bio irq 10 vector ncaintr
#controller nca1 at isa? port 0x350 bio irq 5 vector ncaintr
#controller sea0 at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr
#options DPT_MEASURE_PERFORMANCE # Required by DPT driver??
#options DPT_VERIFY_HINTR # Some hardware must have it!
#options DPT_TRACK_CCB_STATES # Some hardware must have it!
#options DPT_HANDLE_TIMEOUTS # Some hardware must have it!
#options DPT_TIMEOUT_FACTOR=4 # Some hardware needs more
#controller scbus0
#device sd0
#device od0 #See LINT for possible `od' options.
#device st0
#device cd0 #Only need one of these, the code dynamically grows
#device wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr
#device mcd0 at isa? port 0x300 bio irq 10 vector mcdintr
#controller matcd0 at isa? port 0x230 bio
#device scd0 at isa? port 0x230 bio
#syscons is the default console driver, resembling an SCO console
device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint
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
# Mandatory, don't remove
device npx0 at isa? port "IO_NPX" flags 0x1 irq 13 vector npxintr
#
# Laptop support (see LINT for more options)
#
#device apm0 at isa? disable # Advanced Power Management
#options APM_BROKEN_STATCLOCK # Workaround some buggy APM BIOS
#PCCARD (PCMCIA) support
controller card0
device pcic0 at card?
device pcic1 at card?
device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr
device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr
#device sio2 at isa? disable port "IO_COM3" tty irq 5 vector siointr
#device sio3 at isa? disable port "IO_COM4" tty irq 9 vector siointr
device lpt0 at isa? port? tty irq 7 vector lptintr
#device lpt1 at isa? port? tty
#device mse0 at isa? port 0x23c tty irq 5 vector mseintr
#device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr
# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
#device de0
#device fxp0
#device tl0
#device tx0
#device vx0
#device xl0
#device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 vector edintr
#device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000 vector ieintr
#device ep0 at isa? port 0x300 net irq 10 vector epintr
#device ex0 at isa? port? net irq? vector exintr
#device fe0 at isa? port 0x300 net irq ? vector feintr
#device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
#device lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr
#device ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr
#device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr
#device cs0 at isa? disable port 0x300 net irq ? vector csintr
pseudo-device loop
#pseudo-device ether
pseudo-device log
pseudo-device sl 1
pseudo-device ppp 1
pseudo-device vn 1
pseudo-device tun 1
pseudo-device pty 16
pseudo-device gzip # Exec gzipped a.out's
# 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
# This provides support for System V shared memory.
#
options SYSVSHM
options SYSVSEM
options SYSVMSG
--------------F3D12335143CEA13EA4BAD42
Content-Type: text/plain; charset=us-ascii; name="kernel.new"
Content-Disposition: inline; filename="kernel.new"
Content-Transfer-Encoding: 7bit
Dec 19 12:31:48 uq /kernel: FreeBSD 2.2.8-STABLE #0: Sat Dec 19 12:18:18 EST 1998
Dec 19 12:31:48 uq /kernel: root@uq.net.au:/usr/src/sys/compile/MYKERNEL
Dec 19 12:31:48 uq /kernel: CPU: AMD-K6tm w/ multimedia extensions (200.46-MHz 586-class CPU)
Dec 19 12:31:48 uq /kernel: Origin = "AuthenticAMD" Id = 0x562 Stepping=2
Dec 19 12:31:48 uq /kernel: Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
Dec 19 12:31:48 uq /kernel: real memory = 67108864 (65536K bytes)
Dec 19 12:31:48 uq /kernel: avail memory = 63672320 (62180K bytes)
Dec 19 12:31:48 uq /kernel: Probing for devices on PCI bus 0:
Dec 19 12:31:48 uq /kernel: chip0 <Intel 82439> rev 3 on pci0:0:0
Dec 19 12:31:48 uq /kernel: chip1 <Intel 82371SB PCI-ISA bridge> rev 1 on pci0:7:0
Dec 19 12:31:48 uq /kernel: chip2 <Intel 82371SB IDE interface> rev 0 on pci0:7:1
Dec 19 12:31:48 uq /kernel: vga0 <VGA-compatible display device> rev 2 int a irq 11 on pci0:11:0
Dec 19 12:31:48 uq /kernel: Probing for devices on the ISA bus:
Dec 19 12:31:48 uq /kernel: sc0 at 0x60-0x6f irq 1 on motherboard
Dec 19 12:31:48 uq /kernel: sc0: VGA color <16 virtual consoles, flags=0x0>
Dec 19 12:31:48 uq /kernel: sio0 at 0x3f8-0x3ff irq 4 on isa
Dec 19 12:31:48 uq /kernel: sio0: type 16550A
Dec 19 12:31:48 uq /kernel: sio1 at 0x2f8-0x2ff irq 3 on isa
Dec 19 12:31:48 uq /kernel: sio1: type 16550A
Dec 19 12:31:48 uq /kernel: lpt0 at 0x378-0x37f irq 7 on isa
Dec 19 12:31:48 uq /kernel: lpt0: Interrup
Dec 19 12:31:48 uq /kernel: t-driven port
Dec 19 12:31:48 uq /kernel: lp0: TCP/IP capable interface
Dec 19 12:31:48 uq /kernel: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
Dec 19 12:31:48 uq /kernel: fdc0: FIFO enabled, 8 bytes threshold
Dec 19 12:31:48 uq /kernel: fd0: 1.44MB 3.5in
Dec 19 12:31:48 uq /kernel: wdc0 at 0x1f0-0x1f7 irq 14 on isa
Dec 19 12:31:48 uq /kernel: wdc0: unit 0 (wd0): <QUANTUM FIREBALL SE4.3A>
Dec 19 12:31:48 uq /kernel: wd0: 4110MB (8418816 sectors), 14848 cyls, 9 heads, 63 S/T, 512 B/S
Dec 19 12:31:48 uq /kernel: wdc0: unit 1 (wd1): <QUANTUM FIREBALL EL5.1A>
Dec 19 12:31:48 uq /kernel: wd1: 4892MB (10018890 sectors), 10602 cyls, 15 heads, 63 S/T, 512 B/S
Dec 19 12:31:48 uq /kernel: wdc1 at 0x170-0x177 irq 15 on isa
Dec 19 12:31:48 uq /kernel: wdc1: unit 0 (wd2): <SAMSUNG SV0322A>
Dec 19 12:31:48 uq /kernel: wd2: 3052MB (6250608 sectors), 11024 cyls, 9 heads, 63 S/T, 512 B/S
Dec 19 12:31:48 uq /kernel: sb0 at 0x220 irq 5 drq 1 on isa
Dec 19 12:31:48 uq /kernel: sb0: <SoundBlaster 16 4.13>
Dec 19 12:31:48 uq /kernel: sbxvi0 at 0x0 drq 5 on isa
Dec 19 12:31:48 uq /kernel: sbxvi0: <SoundBlaster 16 4.13>
Dec 19 12:31:48 uq /kernel: sbmidi0 at 0x330 on isa
Dec 19 12:31:48 uq /kernel: sbmidi0: <SoundBlaster MPU-401>
Dec 19 12:31:48 uq /kernel: npx0 flags 0x1 on motherboard
Dec 19 12:31:48 uq /kernel: npx0: INT 16 interface
Dec 19 12:31:48 uq /kernel: Initializing PC-card drivers: sio
Dec 19 12:32:01 uq login: ROOT LOGIN (root) ON ttyv0
--------------F3D12335143CEA13EA4BAD42
Content-Type: text/plain; charset=us-ascii; name="kernel.orig"
Content-Disposition: inline; filename="kernel.orig"
Content-Transfer-Encoding: 7bit
Dec 9 18:26:55 uq /kernel:
Dec 9 18:26:55 uq /kernel: FreeBSD 2.2.7-RELEASE #0: Wed Jul 22 08:48:29 GMT 1998
Dec 9 18:26:55 uq /kernel: root@builder.cdrom.com:/usr/src/sys/compile/GENERIC
Dec 9 18:26:55 uq /kernel: CPU: AMD-K6tm w/ multimedia extensions (200.46-MHz 586-class CPU)
Dec 9 18:26:55 uq /kernel: Origin = "AuthenticAMD" Id = 0x562 Stepping=2
Dec 9 18:26:55 uq /kernel: Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
Dec 9 18:26:55 uq /kernel: real memory = 67108864 (65536K bytes)
Dec 9 18:26:55 uq /kernel: avail memory = 63098880 (61620K bytes)
Dec 9 18:26:55 uq /kernel: Probing for devices on PCI bus 0:
Dec 9 18:26:55 uq /kernel: chip0 <Intel 82439> rev 3 on pci0:0:0
Dec 9 18:26:55 uq /kernel: chip1 <Intel 82371SB PCI-ISA bridge> rev 1 on pci0:7:0
Dec 9 18:26:55 uq /kernel: chip2 <Intel 82371SB IDE interface> rev 0 on pci0:7:1
Dec 9 18:26:55 uq /kernel: vga0 <VGA-compatible display device> rev 2 int a irq 11 on pci0:11:0
Dec 9 18:26:55 uq /kernel: Probing for devices on the ISA bus:
Dec 9 18:26:55 uq /kernel: sc0 at 0x60-0x6f irq 1 on motherboard
Dec 9 18:26:55 uq /kernel: sc0: VGA color <16 virtual consoles, flags=0x0>
Dec 9 18:26:55 uq /kernel: sio0 at 0x3f8-0x3ff irq 4 on isa
Dec 9 18:26:55 uq /kernel: sio0: type 16550A
Dec 9 18:26:55 uq /kernel: sio1 at 0x2f8-0x2ff irq 3 on isa
Dec 9 18:26:55 uq /kernel: sio1: type 16550A
Dec 9 18:26:55 uq /kernel: lpt0 at 0x378-0x37f irq 7 on isa
Dec 9 18:26:55 uq /kernel: lpt0:
Dec 9 18:26:55 uq /kernel: Interrupt-driven port
Dec 9 18:26:55 uq /kernel: lp0: TCP/IP capable interface
Dec 9 18:26:55 uq /kernel: mse0 not found at 0x23c
Dec 9 18:26:55 uq /kernel: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
Dec 9 18:26:55 uq /kernel: fdc0: FIFO enabled, 8 bytes threshold
Dec 9 18:26:55 uq /kernel: fd0: 1.44MB 3.5in
Dec 9 18:26:55 uq /kernel: wdc0 at 0x1f0-0x1f7 irq 14 on isa
Dec 9 18:26:55 uq /kernel: wdc0: unit 0 (wd0): <QUANTUM FIREBALL SE4.3A>
Dec 9 18:26:55 uq /kernel: wd0: 4110MB (8418816 sectors), 14848 cyls, 9 heads, 63 S/T, 512 B/S
Dec 9 18:26:55 uq /kernel: wdc0: unit 1 (wd1): <QUANTUM FIREBALL EL5.1A>
Dec 9 18:26:55 uq /kernel: wd1: 4892MB (10018890 sectors), 10602 cyls, 15 heads, 63 S/T, 512 B/S
Dec 9 18:26:55 uq /kernel: wdc1 at 0x170-0x177 irq 15 on isa
Dec 9 18:26:55 uq /kernel: wdc1: unit 0 (wd2): <SAMSUNG SV0322A>
Dec 9 18:26:55 uq /kernel: wd2: 3052MB (6250608 sectors), 11024 cyls, 9 heads, 63 S/T, 512 B/S
Dec 9 18:26:55 uq /kernel: wdc1: unit 1 (atapi): <10X/1.3E>, removable, dma, iordy
Dec 9 18:26:55 uq /kernel: wcd0: 1464Kb/sec, 120Kb cache, audio play, 255 volume levels, ejectable tray
Dec 9 18:26:55 uq /kernel: wcd0: no disc inside, unlocked
Dec 9 18:26:55 uq /kernel: aic0 not found at 0x340
Dec 9 18:26:55 uq /kernel: mcd0 not found at 0x300
Dec 9 18:26:55 uq /kernel: matcdc0 not found at 0x230
Dec 9 18:26:55 uq /kernel: npx0 flags 0x1 on motherboard
Dec 9 18:26:55 uq /kernel: npx0: INT 16 interface
Dec 9 18:26:55 uq /kernel: changing root device to wd1s3a
--------------F3D12335143CEA13EA4BAD42--
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?367B388C.8045A953>
