Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Jul 2001 11:02:37 +0200
From:      Gianmarco Giovannelli <gmarco@scotty.masternet.it>
To:        stable@freebsd.org
Subject:   Re: make kernel is broken on ipfilter (4.3-STABLE) 
Message-ID:  <5.1.0.14.2.20010701110225.03ad5558@194.184.65.7>

next in thread | raw e-mail | index | archive | help
At 01/07/2001, you wrote:


>I have a 4.3-STABLE laptop, installed from a 4.3 CDROM.
>
>If I do a:
>cd /usr/src
>make kernel
>
>with KERNCONF=FREEBSD it stops in this way:
>
>make: don't know how to make 
>/usr/src/sys/modules/ipfilter/../../netinet/mlfk_ipl.c. Stop
>
>While if I build the kernel in the old way everything works just fine:
>config -r FREEBSD
>cd ../../compile/FREEBSD
>make depend && make && make install
>
>The strange thing is that if I do
>make kernel
>with KERNCONF=GENERIC it WORKS !!!
>
>
>Here is the kernel:
>
>---> My kernel, "FREEBSD" <--

Opps, wrong kernel... here is it the right one.


---> My kernel, "FREEBSD" <--

machine i386
cpu             I686_CPU
ident           FREEBSD
maxusers        32

options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device [keep this!]
options         SOFTUPDATES             #Enable FFS soft updates support
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

device          isa
device          pci

device          ata
device          atadisk                 # ATA disk drives
device          atapicd                 # ATAPI CDROM drives

device          atkbdc0 at isa? port IO_KBD
device          atkbd0  at atkbdc? irq 1 flags 0x1
device          psm0    at atkbdc? irq 12
device          vga0    at isa?
pseudo-device   splash
device          sc0     at isa? flags 0x100

device          npx0    at nexus? port IO_NPX irq 13

device          apm0    at nexus? flags 0x20 # Advanced Power Management

device          card
device          pcic0   at isa? irq 0 port 0x3e0 iomem 0xd0000
device          pcic1   at isa? irq 0 port 0x3e2 iomem 0xd4000 disable

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

device          miibus          # MII bus support
device          fxp
device          ep

device          pcm

pseudo-device   loop            # Network loopback
pseudo-device   ether           # Ethernet support
pseudo-device   tun             # Packet tunnel.
pseudo-device   pty             # Pseudo-ttys (telnet etc)
pseudo-device   bpf             # Berkeley packet filter

# USB support
device          uhci            # UHCI PCI->USB interface
device          ohci            # OHCI PCI->USB interface
device          usb             # USB Bus (required)
device          ugen            # Generic
device          ums             # Mouse

---> end <---

The system is -STABLE of this morning.
Another strange thing is that the same kernel build without any problem on 
a 4.2-RELEASE system updated to 4.3-STABLE.

--------------------------------------------------------------
 >>> Kernel build for FREEBSD completed on Sun Jul  1 10:41:45 CEST 2001
--------------------------------------------------------------

So to summarize:
1) This kernel on a 4.3-RELEASE (updated to 4.3-STABLE) installed from a 
4.3 cdrom doesn't build with the :
make KERNCONF=FREEBSD buildkernel

And it exit with the error:
>make: don't know how to make 
>/usr/src/sys/modules/ipfilter/../../netinet/mlfk_ipl.c. Stop


2) The same box (Portege 3440) is able to build and install without any 
problem the GENERIC in the same way:
make KERNCONF=GENERIC buildkernel

3) The same box can build and install this kernel using the old way.
>config -r FREEBSD
>cd ../../compile/FREEBSD
>make depend && make && make install

4) A box installed from a 4.2 cdrom, the cvsupped to 4.3-STABLE build the 
kernel just fine.

Ideas ? Tips ?




Best Regards,
Gianmarco Giovannelli ,  "Unix expert since yesterday"
http://www.giovannelli.it/~gmarco
http://www2.masternet.it




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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.2.20010701110225.03ad5558>