From owner-freebsd-questions Tue Apr 21 10:17:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA17650 for freebsd-questions-outgoing; Tue, 21 Apr 1998 10:17:41 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from wizeup.com (90William224.osaccess.com [209.83.165.224] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA17632 for ; Tue, 21 Apr 1998 17:17:31 GMT (envelope-from Phil.Wang@wizeup.com) Received: from wizeup.com (numinacorp [192.168.1.1]) by wizeup.com (8.8.7/8.8.7) with ESMTP id NAA01021 for ; Tue, 21 Apr 1998 13:18:39 -0400 (EDT) (envelope-from Phil.Wang@wizeup.com) Message-ID: <353CD4ED.37E7FCFA@wizeup.com> Date: Tue, 21 Apr 1998 13:18:38 -0400 From: Phil Wang Organization: Numina Corp. X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.5-RELEASE i386) MIME-Version: 1.0 To: questions@FreeBSD.ORG Subject: Re: Kernel not support CD-ROM Content-Type: multipart/mixed; boundary="------------BF10AD10BD6044E8ACEA3E77" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------BF10AD10BD6044E8ACEA3E77 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Dear Sir, I installed the FreeBSD system onto my PC with a booting floppy and the CD-ROMs, but I could not use the CD-ROM driver again after installation. Then I created a config file WIZEUP to add the kernel option for CD-ROM, but the recompiled kernel did not work yet. My PC is a HP Pavilion 8240 server, here is my operations: # cd /usr/src/sys/i386/conf # vi WIZEUP (add)options "CD9660" #ISO 9660 Filesystem (add)device wcd0 #IDE CD-ROM ... # /usr/sbin/config WIZEUP ... # cd ../../compile/WIZEUP # make depend # make all # make install # reboot ... # vi /etc/fstab --> /dev/wcd0c /cdrom cd9660 ro,noauto 0 0 # mount /cdrom cd9660: /dev/wcd0c: Device not configured. What is the wrong? I look forward to your reply. Thanks, Phil --------------BF10AD10BD6044E8ACEA3E77 Content-Type: text/plain; charset=us-ascii; name="WIZEUP" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="WIZEUP" # # 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 # # # 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.12 1997/10/18 11:03:10 joerg Exp $ machine "i386" cpu "I586_CPU" ident NUMINA maxusers 10 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 USER_LDT #Allow user-level control of i386 ldt: wine options VISUAL_USERCONFIG #visual boot -c editor options IPFIREWALL #Firewall options IPDIVERT #IP Aliasing config kernel root on wd0 controller isa0 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 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 wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr # 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 MAXCONS=8 # number of virtual consoles 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 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? disable 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 pseudo-device loop pseudo-device ether pseudo-device log pseudo-device sl 1 # ijppp uses tun instead of ppp device pseudo-device speaker 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 --------------BF10AD10BD6044E8ACEA3E77-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message