[FUGSPBR] make depend error

Marco Viola marco em microhard.ind.br
Seg Dez 16 18:09:11 BRST 2002


Rodando o make depend quando compilando o kernel tenho a seguinte 
mensagem de erro:

@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
perl @/kern/makeops.pl -h @/kern/device_if.m
perl @/kern/makeops.pl -h @/kern/bus_if.m
perl @/kern/makeops.pl -h @/isa/isa_if.m
perl @/kern/makeops.pl -h @/pci/pci_if.m
perl @/kern/makeops.pl -h @/dev/sound/pcm/ac97_if.m
perl @/kern/makeops.pl -h @/dev/sound/pcm/channel_if.m
perl @/kern/makeops.pl -h @/dev/sound/pcm/feeder_if.m
perl @/kern/makeops.pl -h @/dev/sound/pcm/mixer_if.m
rm -f .depend
mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ 
-I@/../include -I/usr/include  
/usr/src/sys/modules/sound/driver/mss/../../../../dev/sound/isa/mss.c 
/usr/src/sys/modules/sound/driver/mss/../../../../dev/sound/isa/gusc.c
*** Error code 1

Stop in /usr/src/sys/modules/sound/driver/mss.
*** Error code 1

Stop in /usr/src/sys/modules/sound/driver.
*** Error code 1

Stop in /usr/src/sys/modules/sound.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

Stop in /usr/src/sys/compile/Cobaia.

Muuuito estranho ele trava justo com um driver de som?!?!?!?!
Eu nem habilito nada de som no kernel q estou configurando. Veja o meu 
kernel:

#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 

#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.48 2002/08/31 20:28:26 
obrien Exp $

machine        i386
cpu        I586_CPU
ident        GENERIC
maxusers    0

#makeoptions    DEBUG=-g        #Build kernel with gdb(1) debug symbols

options     MATH_EMULATE        #Support for x87 emulation
options     INET            #InterNETworking
options     INET6            #IPv6 communications protocols
options     FFS            #Berkeley Fast Filesystem
options     FFS_ROOT        #FFS usable as root device [keep this!]
options     SOFTUPDATES        #Enable FFS soft updates support
options     UFS_DIRHASH        #Improve performance on big directories
options     MFS            #Memory Filesystem
options     MD_ROOT            #MD is a potential root device
options     MSDOSFS            #MSDOS Filesystem
options     CD9660            #ISO 9660 Filesystem
options     CD9660_ROOT        #CD-ROM usable as root, CD9660 required
options     PROCFS            #Process filesystem
options     COMPAT_43        #Compatible with BSD 4.3 [KEEP THIS!]
options     UCONSOLE        #Allow users to grab the console
options     USERCONFIG        #boot -c editor
options     VISUAL_USERCONFIG    #visual boot -c editor
options     KTRACE            #ktrace(1) support
options     SYSVSHM            #SYSV-style shared memory
options     SYSVMSG            #SYSV-style message queues
options     SYSVSEM            #SYSV-style semaphores
options     P1003_1B        #Posix P1003_1B real-time extensions
options     _KPOSIX_PRIORITY_SCHEDULING
options        ICMP_BANDLIM        #Rate limit bad replies
options     KBD_INSTALL_CDEV    # install a CDEV entry in /dev
options        AHC_REG_PRETTY_PRINT    # Print register bitfields in debug
                   # output.  Adds ~128k to driver.
options        AHD_REG_PRETTY_PRINT    # Print register bitfields in debug
                   # output.  Adds ~215k to driver.


device        isa
device        eisa
device        pci

# Floppy drives
device        fdc0    at isa? port IO_FD1 irq 6 drq 2
device        fd0    at fdc0 drive 0

# ATA and ATAPI devices
device        ata0    at isa? port IO_WD1 irq 14
device        ata1    at isa? port IO_WD2 irq 15
device        ata

device          miibus
device          npx0     at nexus? port IO_NPX irq 13

# atkbdc0 controls both the keyboard and the PS/2 mouse
device        atkbdc0    at isa? port IO_KBD
device        atkbd0    at atkbdc? irq 1 flags 0x1

device        vga0    at isa?


# Serial (COM) ports
device        sio0    at isa? port IO_COM1 flags 0x10 irq 4
device        sio1    at isa? port IO_COM2 irq 3

# Parallel port
device        ppc0    at isa? irq 7
device        ppbus        # Parallel port bus (required)
device        lpt        # Printer
device        plip        # TCP/IP over parallel
device        ppi        # Parallel port interface device


device        rl        # RealTek 8129/8139

No handbook diz que ha erros q passam pelo configure mas fazem travar no 
make.
Sei q ha problemas com meu arquivo de configuracao do kernel.
Alguem sabe me dizer o q eh?

Ai vai o meu dmesg para ajudar:

Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
    The Regents of the University of California. All rights reserved.
FreeBSD 4.7-RELEASE #0: Wed Oct  9 15:08:34 GMT 2002
    root em builder.freebsdmall.com:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P54C (99.66-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x526  Stepping = 6
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 33554432 (32768K bytes)
avail memory = 27615232 (26968K bytes)
Preloaded elf kernel "kernel" at 0xc050f000.
Intel Pentium detected, installing workaround for F00F bug
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
isab0: <Intel 82371SB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX3 ATA controller> port 0xf000-0xf00f at device 7.1 
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
rl0: <RealTek 8139 10/100BaseTX> port 0x6000-0x60ff mem 
0xe0410000-0xe04100ff irq 11 at device 8.0 on pci0
rl0: Ethernet address: 00:e0:7d:d3:15:23
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <Trident model 9660 VGA-compatible display device> at 10.0 irq 10
orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ad0: 19092MB <ST320413A> [38792/16/63] at ata0-master WDMA2
acd0: CDROM <LG CD-ROM CRD-8521B> at ata1-slave PIO4
Mounting root from ufs:/dev/ad0s1a

Desculpem o email grande, mas para evitar o vc ja isso, como esta aquilo 
......
Aguardo dicas, sugestoes e chingamentos hehehe


_______________________________________________________________
Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
Historico: http://www4.fugspbr.org/lista/html/FUG-BR/



Mais detalhes sobre a lista de discussão freebsd