Главная страница


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Andrew_Shweduke                      2:400/520.20   13 Apr 2002  13:18:23
 To : All
 Subject : Custom kernel trouble
 -------------------------------------------------------------------------------- 
 
 .RFC-X-Complaints-To: usenet@acidrain.net.il
 .RFC-NNTP-Posting-Date: Sat, 13 Apr 2002 10:18:23 +0000 (UTC)
 .RFC-User-Agent: tin/1.5.11-20020130 ("Toxicity") (UNIX) (FreeBSD/4.5-STABLE
 (i386))
 From: Andrew_Shweduke@p20.f520.n400.z2.fidonet.org
 
 Hi!
 
 Имеется FreeBSD 4.5 недавно отCVSапленная.
 make buildworld & make installworld успешно прошли.
 А make buildkernel упорно непроходит.
 Конфиг ядра имеет следующий вид:
 
 machine   i386
 cpu   I686_CPU
 options   CPU_PPRO2CELERON
 ident   AcidRain
 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   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   _KPOSIX_VERSION=199309L
 options   ICMP_BANDLIM    #Rate limit bad replies
 options   KBD_INSTALL_CDEV  # install a CDEV entry in /dev
 options   UFS_DIRHASH
 options   USER_LDT
 device    isa
 device    eisa
 device    pci
 device    pcm
 device    fdc0  at isa? port IO_FD1 irq 6 drq 2
 device    fd0 at fdc0 drive 0
 device    fd1 at fdc0 drive 1
 device    ata0  at isa? port IO_WD1 irq 14
 device    ata1  at isa? port IO_WD2 irq 15
 device    ata
 device    atadisk     # ATA disk drives
 device    atapicd     # ATAPI CDROM drives
 device    atapifd     # ATAPI floppy drives
 device    bktr
 # 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    psm0  at atkbdc? irq 12
 device    vga0  at isa?
 options   VESA
 # splash screen/screen saver
 pseudo-device splash
 # syscons is the default console driver, resembling an SCO console
 device    sc0 at isa? flags 0x100
 options   MAXCONS=16
 options   SC_MOUSE_CHAR=0x03
 options   SC_HISTORY_SIZE=1000
 options   SC_PIXEL_MODE
 # Floating point support - do not disable.
 device    npx0  at nexus? port IO_NPX irq 13
 # Power management support (see LINT for more options)
 device    apm0    at nexus? disable flags 0x20 # Advanced Power Management
 # Serial (COM) ports
 device    sio0  at isa? port IO_COM1 flags 0x10 irq 4
 device    sio1  at isa? port IO_COM2 irq 3
 device    sio2  at isa? disable port IO_COM3 irq 5
 device    sio3  at isa? disable port IO_COM4 irq 9
 # 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
 # Pseudo devices - the number indicates how many units to allocated.
 pseudo-device loop    # Network loopback
 options   PPP_BSDCOMP             #PPP BSD-compress support
 options   PPP_DEFLATE             #PPP zlib/deflate/gzip support
 #options    PPP_FILTER              #enable bpf filtering (needs bpf)
 pseudo-device tun   # Packet tunnel.
 pseudo-device pty   # Pseudo-ttys (telnet etc)
 
 При сборке ядра выдаётся следующее:
 sh /usr/src/sys/conf/newvers.sh ACIDRAIN
 cc -c -O2 -pipe -march=p2 -march=pentiumpro -Wall -Wredundant-decls -Wnested-ext
 erns -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-q
 ual  -fformat-extensions -ansi  -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/
 ../include -I/usr/src/sys/contrib/ipfilter  -D_KERNEL -include opt_global.h -elf
   -mpreferred-stack-boundary=2  vers.c
 linking kernel
 if.o: In function `if_setlladdr':
 if.o(.text+0x1b1f): undefined reference to `arp_ifinit'
 *** Error code 1
 Stop in /usr/obj/usr/src/sys/AcidRain.
 *** Error code 1
 Stop in /usr/src.
 *** Error code 1
 Stop in /usr/src.
 
 Как лечить? Раньше этот конфиг проходил.
 -- 
 --- ifmail v.2.15
  * Origin: Nowhere (2:400/520.20@fidonet)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 Custom kernel trouble   Andrew_Shweduke   13 Apr 2002 13:18:23 
 Custom kernel trouble   Max Khon   14 Apr 2002 14:12:44 
Архивное /ru.unix.bsd/1002315fd35b3.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional