From owner-freebsd-questions Tue Mar 30 9:50:36 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail10.svr.pol.co.uk (mail10.svr.pol.co.uk [195.92.193.214]) by hub.freebsd.org (Postfix) with ESMTP id 46A6914CE4 for ; Tue, 30 Mar 1999 09:50:25 -0800 (PST) (envelope-from john@t-f-i.freeserve.co.uk) Received: from modem-93.vaqta.dialup.pol.co.uk ([62.136.91.221]) by mail10.svr.pol.co.uk with smtp (Exim 2.12 #1) id 10S2eG-0003QQ-00 for FreeBSD-Questions@FreeBSD.ORG; Tue, 30 Mar 1999 18:50:02 +0100 From: john@T-F-I.freeserve.co.uk (John Murphy) To: FreeBSD-Questions@FreeBSD.ORG Subject: 3.0 Release custom kernel problems. Date: Tue, 30 Mar 1999 17:49:46 GMT Organization: not a lot.org Reply-To: me@T-F-I.freeserve.co.uk Message-ID: <37010bb0.42445@smtp.freeserve.net> X-Mailer: Forte Agent 1.5/32.452 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi. A little help with this would be much appreciated. I'm a recent-adopter (aka newbie). I'm trying to get all the advantages of a custom kernel, and get my sound card going. The PC is skt7 PC100 with AMD K6 2 at 350Mhz. 64Mb 100Mhz RAM Graphics card is ATI All-in-wonder. =46irst IDE controller Master is IBM 10.5Gb, slave Seagate 850Mb. Second IDE controller Goldstar CDROM drive, no slave. PS/2 mouse. AWE32 soundcard (not Pnp AFAIK). =46reeBSD 3.0 Release installed from cdROM on the Seagate HD. Not upgraded by CTM/cvsup. win95 stuff on the IBM. (guess I should've upgraded first but my ISP is crowded) I followed "Building and installing a custom kernel" from the handbook at FreeBSD.ORG for 3.1 Release, 'cause I couldn't find anything specific for 3.0 Release. Section 5.3.10 says pseudo-device log is mandatory but if I run /usr/sbin/config I get a Warning: pseudo-device "log" is unknown, so I commented it out. I couldn't find any reference to "log" in LINT or GENERICupgrade. The make stops after "loading kernel" with "ioconf.o: Undefined symbol `_opdriver' referenced from data segment *** Error code 1 TIA for any suggestions. MYKERNEL follows with some obvious bits removed. # # GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks # # $Id: GENERIC,v 1.125 1998/10/16 01:30:11 obrien Exp $ machine "i386" # cpu "I386_CPU" # cpu "I486_CPU" cpu "I586_CPU" # cpu "I686_CPU" ident MYKERNEL maxusers 8 #options BOUNCE_BUFFERS #(do I need this ?) #options MATH_EMULATE #Support for 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 MFS_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 "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=3D15000 #Be pessimistic about Joe SCSI 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 wd1 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 (e.g. LS-120) # # syscons is the default console driver, resembling an SCO console device sc0 at isa? port "IO_KBD" conflicts tty irq 1 vector scintr # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver #device vt0 at isa? port "IO_KBD" conflicts tty irq 1 vector pcrint options XSERVER # support for X server #options FAT_CURSOR # start with block cursor # device npx0 at isa? port "IO_NPX" irq 13 vector npxintr # device sio0 at isa? port "IO_COM1" flags 0x10 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 psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr # pseudo-device loop #pseudo-device ether # (No network cards yet) #pseudo-device sl 1 pseudo-device ppp 1 pseudo-device tun 1 pseudo-device pty 16 pseudo-device gzip # Exec gzipped a.out's #pseudo-device log # (mandatory? I get "log" is unknown see above) pseudo-device speaker # 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 # # Sound card settings controller snd0 device sb0 at isa? port 0x220 irq 5 drq 1 vector sbintr #options SBC_IRQ=3D5 # (can't leave this in without getting an error) device sbxvi0 at isa? drq 5 # Sound card settings midi device sbmidi0 at isa? port 0x330 device op10 at isa? port 0x388 --=20 John. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message