From owner-freebsd-questions Sun Jun 6 6: 8:38 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail3.svr.pol.co.uk (mail3.svr.pol.co.uk [195.92.193.19]) by hub.freebsd.org (Postfix) with ESMTP id 3F95C15264 for ; Sun, 6 Jun 1999 06:08:26 -0700 (PDT) (envelope-from steve.howe@lhowe.freeserve.co.uk) Received: from modem-248.name39.dialup.pol.co.uk ([62.136.179.248] helo=default) by mail3.svr.pol.co.uk with smtp (Exim 2.12 #1) id 10qced-0002Mn-00; Sun, 6 Jun 1999 14:08:00 +0100 Message-ID: <000b01beb01d$b96fbac0$f8b3883e@default> From: "Steve Howe" To: "Mark Ovens" Cc: References: <001301beaf78$4f666700$67b4883e@default> <19990606103813.A254@marder-1> Subject: Re: Ex-buffoon seeks ATAPI CDROM advice Date: Sun, 6 Jun 1999 14:07:48 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0006_01BEB025.F54B8BC0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0006_01BEB025.F54B8BC0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, yeah, sorry about the lack of diagnostics before. I've done some tech = support in my time and=20 I guess the previous message was about as helpful as the "****ing = systems ****ed!" Sorry about the length of this, it's unavoidable! Herewith the dmesg output: 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.8-RELEASE #0: Sat Jun 5 16:15:31 BST 1999 root@myname.my.domain:/usr/src/sys/compile/MYKERNEL CPU: Pentium II (quarter-micron) (451.02-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x652 Stepping=3D2 Features=3D0x183f9ff,,MMX,> real memory =3D 67108864 (65536K bytes) avail memory =3D 63746048 (62252K bytes) Probing for devices on PCI bus 0: chip0 = rev 2 on pci0:0:0 chip1 = rev 2 on pci0:1:0 chip2 rev 2 on pci0:7:0 chip3 rev 1 on pci0:7:1 chip4 rev 1 int d irq ?? on pci0:7:2 chip5 rev 2 on pci0:7:3 pci0:9: VIA Technologies, device=3D0x3043, class=3Dnetwork (ethernet) = int a irq ?? [no driver assigned] Probing for devices on PCI bus 1: vga0 rev 92 on pci1:0:0 Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=3D0x0> sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio1 not found at 0x2f8 lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface lpt1 not found at 0xffffffff psm0 at 0x60-0x64 irq 12 on motherboard psm0: model MouseMan+, device ID 0 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 7665MB (15698592 sectors), 15574 cyls, 16 heads, 63 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 on isa npx0 flags 0x1 on motherboard npx0: INT 16 interface changing root device to wd0s2e And this is the kernel that generated it: # # GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks # # For more information read the handbook part System Administration ->=20 # Configuring the FreeBSD Kernel -> The Configuration File.=20 # The handbook is available in /usr/share/doc/handbook or online as # latest version from the FreeBSD World Wide Web server=20 # # # An exhaustive list of options and more detailed explanations of the=20 # device lines is present in the ./LINT configuration file. If you are=20 # 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 $ #=20 #=20 machine "i386" cpu "I686_CPU" ident MYKERNEL maxusers 32 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=3D15 #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 wd0 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) # 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=3D4 # 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=3D2 # 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 thanks for all help, Steve ----- Original Message -----=20 From: Mark Ovens=20 To: Steve Howe=20 Cc: freebsd-questions@FreeBSD.org=20 Sent: 06 June 1999 10:38 Subject: Re: Ex-buffoon seeks ATAPI CDROM advice On Sat, Jun 05, 1999 at 06:24:19PM +0100, Steve Howe wrote: > Hi, >=20 > first thanks to Oscar, Mark, Chris, Woody & Doug for the=20 > useful advice last time I mailed this group. I eventually > successfully installed FreeBSD from a DOS (spit) partition. >=20 > I am now able to do some unixy things. Hoorah!=20 >=20 > But now I want to get my hands on the ports residing on the=20 > CDROMs. >=20 > I am still having trouble getting the kernel to recognise=20 > my CDROM though.=20 >=20 > As Doug pointed out last time round an ATAPI IDE CDROM,=20 > while not supported in the novice installation, > is referenced in the GENERIC kernel. >=20 > So in the MYKERNEL version (which I have now succesfully=20 > built and installed 6 times!) I have uncommented-out the: >=20 > options ATAPI > options ATAPI_STATIC > device wcd0 >=20 > entries, while leaving, as advised on the web site, the=20 >=20 > controller wdc1 > disk wd2 > disk wd3 >=20 > options which actually point at the relevant controller. >=20 > At boot-up time however the kernel seems to make no attempt=20 > to resolve the wcd0 device I've told it to in MYKERNEL, and=20 > consequently I am not able to mount it after I've logged in. >=20 You need to include the boot messages in your mail. Type ``dmesg'' at the prompt and include the output in your mail, then we will have a clue as to what is happening :-) > I had a search round the website and found one link which seemed > to suggest that the ATAPI interface was experimental and should be=20 > regarded as alpha. So is this a problem in 2.2.8? >=20 Uh, it was back in the 2.1 days, in 2.2.8 it is stable although IDE/ATAPI seems to be one of those variable standards (some devices are more standard than others). There are cases where one make of IDE disk won't run as slave to another make. With CD-ROMs it is sometimes the case that they won't work when slaved to a HD, or are the slave when there is no master on the same channel. > Most advice gratefully received, >=20 > thanks, >=20 > Steve Howe > Harpenden > England (0 Sweden 0) >=20 > =20 --=20 FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://www.users.globalnet.co.uk/~markov _______________________________________________________________ Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK CAD/CAM solutions for Sheetmetal Working Industry mailto:marko@uk.radan.com http://www.radan.com ------=_NextPart_000_0006_01BEB025.F54B8BC0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
yeah, sorry about the lack of diagnostics before. I've done some = tech=20 support in my time and
I guess the previous message was about as helpful as the "****ing = systems=20 ****ed!"
 
Sorry about the length of this, it's unavoidable!
 
Herewith the dmesg output:
 
Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, = 1989,=20 1991, 1993
The Regents of the University of California.  All = rights=20 reserved.
FreeBSD 2.2.8-RELEASE #0: Sat Jun  5 16:15:31 BST = 1999
root@= myname.my.domain:/usr/src/sys/compile/MYKERNEL
CPU:=20 Pentium II (quarter-micron) (451.02-MHz 686-class CPU)
Origin =3D=20 "GenuineIntel"  Id =3D 0x652 =20 Stepping=3D2
Features=3D0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX= 8,SEP,MTRR,PGE,
MCA,CMOV,<b16>,<b17>,MMX,<b24>>real=20 memory  =3D 67108864 (65536K bytes)
avail memory =3D 63746048 = (62252K=20 bytes)
Probing for devices on PCI bus 0:
chip0 <generic PCI = bridge=20 (vendor=3D8086 device=3D7190 subclass=3D0)> rev 2 on = pci0:0:0
chip1 <generic=20 PCI bridge (vendor=3D8086 device=3D7191 subclass=3D4)> rev 2 on = pci0:1:0
chip2=20 <Intel 82371AB PCI-ISA bridge> rev 2 on pci0:7:0
chip3 = <Intel=20 82371AB IDE interface> rev 1 on pci0:7:1
chip4 <Intel 82371AB = USB=20 interface> rev 1 int d irq ?? on pci0:7:2
chip5 <Intel 82371AB = Power=20 management controller> rev 2 on pci0:7:3
pci0:9:    = VIA=20 Technologies, device=3D0x3043, class=3Dnetwork (ethernet) int a irq ?? = [no driver=20 assigned]
Probing for devices on PCI bus 1:
vga0 = <VGA-compatible=20 display device> rev 92 on pci1:0:0
Probing for devices on the ISA=20 bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 = virtual=20 consoles, flags=3D0x0>
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: = type=20 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1 = not=20 found at 0x2f8
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: = Interrupt-driven=20 port
lp0: TCP/IP capable interface
lpt1 not found at = 0xffffffff
psm0 at=20 0x60-0x64 irq 12 on motherboard
psm0: model MouseMan+, device ID = 0
fdc0 at=20 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes = threshold
fd0:=20 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): = <QUANTUM Bigfoot TX8.0AT>
wd0: 7665MB (15698592 sectors), 15574 = cyls,=20 16 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 on isa
npx0 = flags 0x1=20 on motherboard
npx0: INT 16 interface
changing root device to=20 wd0s2e
And this is the kernel that generated it:
 
#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family=20 disks
#
# For more information read the handbook part System=20 Administration ->
# Configuring the FreeBSD Kernel -> The=20 Configuration File.
# The handbook is available in = /usr/share/doc/handbook=20 or online as
# latest version from the FreeBSD World Wide Web server =
#=20 <URL:http://www.FreeBSD.ORG/>
#=
# An=20 exhaustive list of options and more detailed explanations of the
# = device=20 lines is present in the ./LINT configuration file. If you are
# in = doubt as=20 to the purpose or necessity of a line, check first in = LINT.
#
# $Id:=20 GENERIC,v 1.77.2.28 1998/09/26 17:36:14 wpaul Exp=20 $


machine  "i386"
cpu  "I= 686_CPU"
ident  MYKERNEL
maxusers 32
 
options  MATH_EMULATE  #Support for x87=20 emulation
options  INET   #InterNETworkingoptions  FFS   #Berkeley=20 Fast Filesystem
#options  NFS   #Network=20 Filesystem
#options  MSDOSFS   #MSDOS=20 Filesystem
options  "CD9660"  #ISO 9660=20 Filesystem
options  PROCFS   #Process=20 filesystem
options  "COMPAT_43"  #Compatible with = BSD 4.3=20 [KEEP THIS!]
options  SCSI_DELAY=3D15  #Be = pessimistic=20 about Joe SCSI = device
options  BOUNCE_BUFFERS  #include=20 support for DMA bounce = buffers
options  UCONSOLE  #Allow=20 users to grab the console
options  FAILSAFE  #Be=20 conservative
options  USERCONFIG  #boot -c=20 editor
options  VISUAL_USERCONFIG #visual boot -c = editor
 
config  kernel root on wd0
 
controller isa0
#controller eisa0
controller pc= i0
controller fdc0 at=20 isa? port "IO_FD1" bio irq 6 drq 2 vector = fdintr
disk  fd0 at=20 fdc0 drive 0
disk  fd1 at fdc0 drive 1
# Unless you = know=20 very well what you're doing, leave ft0 at drive 2, or
# remove the = line=20 entirely if you don't need it.  Trying to configure
# it on = another unit=20 might cause surprises, see PR kern/7176.
#tape  ft0 at = fdc0=20 drive 2
 
options  "CMD640" # work around CMD640 chip=20 deficiency
controller wdc0 at isa? port "IO_WD1" bio irq 14 = vector=20 wdintr
disk  wd0 at wdc0 drive=20 0
disk  wd1 at wdc0 drive 1
 
controller wdc1 at isa? port "IO_WD2" bio irq 15 vector=20 wdintr
disk  wd2 at wdc1 drive=20 0
disk  wd3 at wdc1 drive=20 1
options  ATAPI  #Enable ATAPI support for IDE=20 bus
options  ATAPI_STATIC #Don't do it as an=20 LKM
device  wcd0  #IDE=20 CD-ROM
#device  wfd0  #IDE floppy (LS-120)
# A = single=20 entry for any of these controllers (ncr, ahb, ahc, amd) is
# = sufficient for=20 any number of installed devices.
 
#controller ncr0
#controller amd0
#controller a= hb0
#controller ahc0
#controller dpt0
#controller = ;bt0 at=20 isa? port "IO_BT0" bio irq ? vector = bt_isa_intr
#controller uha0 at=20 isa? port "IO_UHA0" bio irq ? drq 5 vector=20 uhaintr
#controller aha0 at isa? port "IO_AHA0" bio irq ? = drq 5=20 vector ahaintr
#controller aic0 at isa? port 0x340 bio irq = 11=20 vector aicintr
#controller nca0 at isa? port 0x1f88 bio irq = 10=20 vector ncaintr
#controller nca1 at isa? port 0x350 bio irq = 5 vector=20 ncaintr
#controller sea0 at isa? bio irq 5 iomem 0xc8000 = iosiz=20 0x2000 vector seaintr
options  =20   DPT_MEASURE_PERFORMANCE # Required by DPT=20 driver??
#options  DPT_VERIFY_HINTR # Some hardware = must have=20 it!
#options  DPT_TRACK_CCB_STATES # Some hardware = must have=20 it!
#options      DPT_HANDLE_TIMEOUTS # = Some=20 hardware must have = it!
#options  DPT_TIMEOUT_FACTOR=3D4 # Some=20 hardware needs more
#controller scbus0
 
#device  sd0
#device  od0 #See LINT for = possible `od'=20 options.
#device  st0
#device  cd0 #Only = need one=20 of these, the code dynamically grows
#device  wt0 at = isa? port=20 0x300 bio irq 5 drq 1 vector wtintr
#device  mcd0 at = isa? port=20 0x300 bio irq 10 vector mcdintr
#controller matcd0 at isa? = port=20 0x230 bio
#device  scd0 at isa? port 0x230 bio
# = syscons is=20 the default console driver, resembling an SCO=20 console
device  sc0 at isa? port "IO_KBD" tty irq 1 = vector=20 scintr
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible = console=20 driver
#device  vt0 at isa? port "IO_KBD" tty irq 1 = vector=20 pcrint
#options  XSERVER   # support for X=20 server
#options  FAT_CURSOR  # start with block=20 cursor
# If you have a ThinkPAD, uncomment this along with the rest = of the=20 PCVT lines
#options  PCVT_SCANSET=3D2  # IBM = keyboards are=20 non-std
 
# Mandatory, don't remove
device  npx0 at isa? = port=20 "IO_NPX" flags 0x1 irq 13 vector npxintr
#
# Laptop support (see = LINT for=20 more options)
#
#device  apm0    at=20 isa? disable # Advanced Power=20 Management
#options  APM_BROKEN_STATCLOCK # Workaround = some=20 buggy APM BIOS
# PCCARD (PCMCIA)=20 support
#controller card0
#device  pcic0 at=20 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=20 siointr
device  sio2 at isa? disable port "IO_COM3" = tty irq 5=20 vector siointr
device  sio3 at isa? disable port = "IO_COM4" tty=20 irq 9 vector siointr
 
device  lpt0 at isa? port? tty irq 7 vector=20 lptintr
device  lpt1 at isa? port?=20 tty
#device  mse0 at isa? port 0x23c tty irq 5 vector=20 mseintr
device  psm0 at isa? port "IO_KBD" conflicts = tty irq=20 12 vector psmintr
# Order is important here due to intrusive probes, = do *not*=20 alphabetize
# this list of network interfaces until the probes have = been=20 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=20 tl0
#device tx0
#device vx0
#device xl0
 
#device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 vector=20 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=20 at isa? port? net irq? vector exintr
#device fe0 at isa? port 0x300 = net irq ?=20 vector feintr
#device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 = vector=20 le_intr
#device lnc0 at isa? port 0x280 net irq 10 drq 0 vector=20 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
pse= udo-device pty 16
pseudo-device gzip  #=20 Exec gzipped a.out's
 
# KTRACE enables the system-call tracing facility ktrace(2).
# = This adds=20 4 KB bloat to your kernel, and slightly increases
# the costs of each = syscall.
options  KTRACE  #kernel tracing
# = This=20 provides support for System V shared=20 memory.
#
options        =20 SYSVSHM
 
thanks for all help,
 
Steve
----- Original Message -----
From:=20 Mark=20 Ovens
To: Steve Howe
Cc: freebsd-questions@FreeBSD.org =
Sent: 06 June 1999 10:38
Subject: Re: Ex-buffoon seeks = ATAPI CDROM=20 advice

On Sat, Jun 05, 1999 at 06:24:19PM +0100, Steve Howe=20 wrote:
> Hi,
>
>   first thanks to Oscar, = Mark,=20 Chris, Woody & Doug for the
> useful advice last time I = mailed this=20 group. I eventually
> successfully installed FreeBSD from a DOS = (spit)=20 partition.
>
>   I am now able to do some unixy = things.=20 Hoorah!
>
>   But now I want to get my hands = on the=20 ports residing on the
> CDROMs.
>
>   I = am still=20 having trouble getting the kernel to recognise
> my CDROM = though.=20
>
>  As Doug pointed out last time round an ATAPI = IDE=20 CDROM,
> while not supported in the novice = installation,
> is=20 referenced in the GENERIC kernel.
>
>   So in = the=20 MYKERNEL version (which I have now succesfully
> built and = installed 6=20 times!) I have uncommented-out the:
>
>  =20 options     ATAPI
>  =20 options     ATAPI_STATIC
>  =20 device         wcd0
> =
>=20 entries, while leaving, as advised on the web site, the
>=20
>   controller    =20 wdc1
>  =20 = disk           &nb= sp;=20 wd2
>  =20 = disk           &nb= sp;=20 wd3
>
> options which actually point at the relevant=20 controller.
>
> At boot-up time however the kernel seems = to make=20 no attempt
> to resolve the wcd0 device I've told it to in = MYKERNEL,=20 and
> consequently I am not able to mount it after I've logged=20 in.
>

You need to include the boot messages in your = mail. Type=20 ``dmesg''
at the prompt and include the output in your mail, then = we=20 will
have a clue as to what is happening :-)

> I had a = search=20 round the website and found one link which seemed
> to suggest = that the=20 ATAPI interface was experimental and should be
> regarded as = alpha. So=20 is this a problem in 2.2.8?
>

Uh, it was back in the 2.1 = days,=20 in 2.2.8 it is stable although
IDE/ATAPI seems to be one of those = variable=20 standards (some devices
are more standard than others). There are = cases=20 where one make of
IDE disk won't run as slave to another make. With = CD-ROMs=20 it is
sometimes the case that they won't work when slaved to a HD,=20 or
are the slave when there is no master on the same = channel.

>=20 Most advice gratefully received,
>
> thanks,
> =
>=20 Steve Howe
> Harpenden
> England (0 Sweden 0)
>=20


--
      FreeBSD - = The=20 Power To Serve http://www.freebsd.org
  = ;   =20 My Webpage http://www.users.global= net.co.uk/~markov
________________________________________________= _______________
Mark=20 Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK
CAD/CAM=20 solutions for Sheetmetal Working Industry
mailto:marko@uk.radan.com &nb= sp;           &nbs= p;   =20 http://www.radan.com

------=_NextPart_000_0006_01BEB025.F54B8BC0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message