Hi,
I installed FreeBSD 9 on the above laptop, upgraded to STABLE without a hitch (this was 24 hours ago). It compiled perfectly with the GENERIC kernel configuration. Now I needed to make my DVD-RW drive work so I could use tools like growisofs(1), as I kept getting
errors from them.
I followed this tutorial http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-dvds.html but adding
to /boot/loader.conf didn't work.
Next I followed this tutorial http://networking.ringofsaturn.com/Unix/FreeBSD-Burning.php.
Proceeding to make a custom kernel, I copied GENERIC to CUSTOMKERN and proceeded to add this at the bottom:
Help!
I installed FreeBSD 9 on the above laptop, upgraded to STABLE without a hitch (this was 24 hours ago). It compiled perfectly with the GENERIC kernel configuration. Now I needed to make my DVD-RW drive work so I could use tools like growisofs(1), as I kept getting
Code:
Device not configured
I followed this tutorial http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-dvds.html but adding
Code:
hw.ata.atapi_dma="1"
Next I followed this tutorial http://networking.ringofsaturn.com/Unix/FreeBSD-Burning.php.
Proceeding to make a custom kernel, I copied GENERIC to CUSTOMKERN and proceeded to add this at the bottom:
Code:
# PF
device pf
device pflog
device pfsync
options ALTQ
options ALTQ_CBQ # Class Bases Queuing (CBQ)
options ALTQ_RED # Random Early Detection (RED)
options ALTQ_RIO # RED In/Out
options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC)
options ALTQ_PRIQ # Priority Queuing (PRIQ)
options ALTQ_NOPCC # Required for SMP build
# DVDRW
device atapicam
device scbus
device pass
device ata
device cd
# make buildkernel KERNCONF=CUSTOMKERN
fails with the error below:
Code:
===> zlib (all)
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include
/usr/obj/usr/src/sys/REDMACHINE/opt_global.h
-I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common
-g -fno-omit-frame-pointer -I/usr/obj/usr/src/sys
/REDMACHINE -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding
-fstack-protector -std=iso9899:1999
-fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual -Wundef -Wno-pointer-sign
-fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -c /usr/src/sys/modules/zlib/../../net/zlib.c
ld -d -warn-common -r -d -o zlib.ko.debug zlib.o
:> export_syms
awk -f /usr/src/sys/conf/kmod_syms.awk zlib.ko.debug export_syms | xargs -J% objcopy % zlib.ko.debug
objcopy --only-keep-debug zlib.ko.debug zlib.ko.symbols
objcopy --strip-debug --add-gnu-debuglink=zlib.ko.symbols zlib.ko.debug zlib.ko
1 error
*** [buildkernel] Error code 2
1 error
*** [buildkernel] Error code 2
1 error
Help!