Hung laptop now will not boot 7.0-RC1

Darran darranc at
Wed Jan 9 12:15:49 PST 2008

Hi Scot,

Thanks for your advice, unfortunately it didn't work as I had the 64 bit
driver and it appears that it causes major problems and so I rebuilt it.
Now I have a completely different problem, I have done make buildworld and
it appeared to build ok (this is a fresh install) I edited my
/usr/src/sys/amd64/KERNELCONF and called it MYKERNEL and setup a link from
my root folder, I did make buildkernel from usr/src and it failed with :

MAKE=make sh /usr/src/sys/conf/ GENERIC
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=athlon64
-std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys
-I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100
--param large-function-growth=1000  -mcmodel=kernel -mno-red-zone
-mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -Werror  vers.c
linking kernel.debug
uipc_syscalls.o(.text+0x3e1): In function `sctp_generic_recvmsg':
/usr/src/sys/kern/uipc_syscalls.c:2600: undefined reference to
uipc_syscalls.o(.text+0x22ad): In function `sctp_generic_sendmsg_iov':
/usr/src/sys/kern/uipc_syscalls.c:2478: undefined reference to
uipc_syscalls.o(.text+0x2599): In function `sctp_generic_sendmsg':
/usr/src/sys/kern/uipc_syscalls.c:2371: undefined reference to
uipc_syscalls.o(.text+0x271f): In function `sctp_peeloff':
/usr/src/sys/kern/uipc_syscalls.c:2238: undefined reference to
undefined reference to `sctp_do_peeloff'
rtsock.o(.text+0xc36): In function `rt_newaddrmsg':
/usr/src/sys/net/rtsock.c:897: undefined reference to `sctp_addr_change'
in_proto.o(.data+0x150): undefined reference to `sctp_input'
in_proto.o(.data+0x160): undefined reference to `sctp_ctlinput'
in_proto.o(.data+0x168): undefined reference to `sctp_ctloutput'
in_proto.o(.data+0x178): undefined reference to `sctp_init'
in_proto.o(.data+0x190): undefined reference to `sctp_drain'
in_proto.o(.data+0x198): undefined reference to `sctp_usrreqs'
in_proto.o(.data+0x1b8): undefined reference to `sctp_input'
in_proto.o(.data+0x1c8): undefined reference to `sctp_ctlinput'
in_proto.o(.data+0x1d0): undefined reference to `sctp_ctloutput'
in_proto.o(.data+0x1f8): undefined reference to `sctp_drain'
in_proto.o(.data+0x200): undefined reference to `sctp_usrreqs'
in_proto.o(.data+0x220): undefined reference to `sctp_input'
in_proto.o(.data+0x230): undefined reference to `sctp_ctlinput'
in_proto.o(.data+0x238): undefined reference to `sctp_ctloutput'
in_proto.o(.data+0x260): undefined reference to `sctp_drain'
in_proto.o(.data+0x268): undefined reference to `sctp_usrreqs'
*** Error code 1

Stop in /usr/obj/usr/src/sys/MYKERNEL.
*** Error code 1

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

I have some files on my web site that might be needed and I can get any more
if needed :

FreeBSD  7.0-RC1 FreeBSD 7.0-RC1 #1: Tue Jan  8 18:11:41 GMT 2008
root@:/usr/obj/usr/src/sys/GENERIC  amd64

The full build script is at
Demsg =
Make.conf =
Kernel conf -
ls of usr/src/sys/amd64/conf =



-----Original Message-----
From: Scot Hetzel [mailto:swhetzel at] 
Sent: 06 January 2008 18:34
To: Darran
Cc: freebsd-current at
Subject: Re: Hung laptop now will not boot 7.0-RC1

On 1/6/08, Darran <darranc at> wrote:
> Hello all,
> I downloaded, burnt and installed 7.0-RC1 (all torrent) on amd64
> I downloaded the dell windows drivers for my laptop wireless card (which
> worked on i3686 6.2-RELEASE) and used ndisgen to create the .ko file
> (bcmwl5_sys.ko) and loaded it and then realised I had created the 32 bit
> driver so I re-did it and used the 64 bit file and loaded the 64bit .ko
> at that point my laptop (Dell Vostro 1000) hung.
> I had put bcmwl5_sys_load="YES" in the loader.conf file
> I rebooted and now I don't get anything. As soon as it starts to boot it
> stops.
> There is a screen showing kernel dump info and I can copy it if needed but
> have to burn the rescue iso otherwise I cant boot.
> Is this a known problem ?
> Does anyone have any advice ?
If you have bcmwl5_sys_load in your loader.conf, this is causing the
32bit driver to load at boot, bcmwl563_sys_load needs to be placed in
loader.conf for the 64 bit driver.

To boot your system without the rescue CD, at the boot menu choose
"Escape to loader prompt".  Then use "unload" to unload all modules,
and "unset bcmwl5_sys" to disable loading of the bcmwl5_sys module.
Finally, use "boot" to continue booting.

When the system has finished booting, check /boot/loader.conf, does it
have bcmwl5_sys_load or bcmwl564_sys_load?

Also check that you placed the 64bit driver in your module path, and
removed the 32bit driver from the module path.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3080 bytes
Desc: not available
Url :

More information about the freebsd-current mailing list