From owner-freebsd-questions Fri Aug 9 13:49:44 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA05327 for questions-outgoing; Fri, 9 Aug 1996 13:49:44 -0700 (PDT) Received: from gdi.uoregon.edu (cisco-ts9-line15.uoregon.edu [128.223.150.96]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA05321 for ; Fri, 9 Aug 1996 13:49:39 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.7.5/8.6.12) with SMTP id NAA00257; Fri, 9 Aug 1996 13:49:25 -0700 (PDT) Date: Fri, 9 Aug 1996 13:49:25 -0700 (PDT) From: Doug White Reply-To: dwhite@resnet.uoregon.edu To: Inacio Fonseca cc: questions@freebsd.org Subject: Re: GENERIC KERNEL In-Reply-To: <9608090828.AA11697@pegasus.isr.uc.pt> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Fri, 9 Aug 1996, Inacio Fonseca wrote: > I have installed the FreeBSD, and I have some difficulties to > get the kernel to detect my CD-ROM. I have compiled the GENERIC > configuration, and it just detects the CD-ROM after the second > startup (and just if I open the CD-ROM door). I am not using > the devices mcd0... but the wcd0 in the second controller wdc1. OK. > I thought it was some problem in the CD-ROM cable, but the > MS-DOS detects the CD at the first time, so it's not. > So How can I fixe the problem? If it's detecting it, then it should work. You many need to do su; cd /dev; sh MAKEDEV wcd0 > I really dont now if is important but I have installed the > FreeBSD 2.2 CURRENT. You should be subscribed to freebsd-current, which is where this question truly belongs. > Another question:I get the pgcc compiler using the ports > collection but when I try to recompile the system (in single > user, and I am talking about the kernel), I get some errors > in final linker stage (I think the compiler performs any kind > of optimization and get out some variables definitions, that > maybe are not used in the file where it is declared). > So, there is any different Makefile for PGCC? I don't think pgcc is trusted enough to compile the kernel yet. You probably need to modify the CFLAGS in the Makefile and remove the -O flag. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major