проблемы с ядром
Добавлено: 2010-08-06 17:31:32
Доброго вечера, решил пересобрать ядро и вот что получил:
вот что получил...
все сорцы установил с диска, попробовал заного но ничего не изменилось.
список добавленных опций относительно generic
остальное вообще не трогал, дабы не накосячить.
Код: Выделить всё
maximumserver# make buildkernel KERNCONF=GATEWAY && make installkernel KERNCONF=GATEWAY
Код: Выделить всё
>>> stage 2.3: build tools
--------------------------------------------------------------
cd /usr/obj/usr/src/sys/GATEWAY; MAKESRCPATH=/usr/src/sys/dev/aic7xxx/aicasm make SSP_CFLAGS= -DNO_CPU_CFLAGS -DNO_CTF -f /usr/src/sys/dev/aic7xxx/aicasm/Makefile
Warning: Object directory not changed from original /usr/obj/usr/src/sys/GATEWAY
yacc -b aicasm_gram -d -o aicasm_gram.c /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y
yacc -b aicasm_macro_gram -p mm -d -o aicasm_macro_gram.c /usr/src/sys/dev/aic7xxx/aicasm/aicasm_macro_gram.y
cc -O2 -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c /usr/src/sys/dev/aic7xxx/aicasm/aicasm.c
cc -O2 -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c
cc -O2 -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c aicasm_gram.c
cc1: warnings being treated as errors
aicasm_gram.c:547: warning: redundant redeclaration of 'malloc'
aicasm_gram.c:554: warning: redundant redeclaration of 'free'
/usr/include/stdlib.h:93: warning: previous declaration of 'free' was here
aicasm_gram.c:1684: warning: redundant redeclaration of 'yyparse'
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:111: warning: previous declaration of 'yyparse' was here
aicasm_gram.c: In function 'yyparse':
aicasm_gram.c:3521: warning: implicit declaration of function 'yyerror'
aicasm_gram.c:3521: warning: nested extern declaration of 'yyerror'
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y: At top level:
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:1935: warning: conflicting types for 'yyerror'
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y:1935: error: static declaration of 'yyerror' follows non-static declaration
aicasm_gram.c:3521: error: previous implicit declaration of 'yyerror' was here
*** Error code 1
Stop in /usr/obj/usr/src/sys/GATEWAY.
*** Error code 1
Stop in /usr/src.
*** Error code 1
список добавленных опций относительно generic
Код: Выделить всё
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=100
options IPFIREWALL_FORWARD
options IPDIVERT
options DUMMYNET
options IPFIREWALL_DEFAULT_TO_ACCEPT
device smb
device smbus # System management bus
device intpm # Intel power management
device iicbus # I2C bus system
device iicsmb # I2C to SMB bridge
device iicbb # I2C generic bit-banging driver
Код: Выделить всё
maximumserver# uname -a
FreeBSD maximumserver.homelab.loc 8.0-RELEASE-p4 FreeBSD 8.0-RELEASE-p4 #0: Mon Jul 12 20:22:27 UTC 2010 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386