RE: Hung laptop now will not boot 7.0-RC1

From: Darran <darranc_at_deejc.net>
Date: Wed, 9 Jan 2008 20:15:44 -0000
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/newvers.sh 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
`sctp_sorecvmsg'
uipc_syscalls.o(.text+0x22ad): In function `sctp_generic_sendmsg_iov':
/usr/src/sys/kern/uipc_syscalls.c:2478: undefined reference to
`sctp_lower_sosend'
uipc_syscalls.o(.text+0x2599): In function `sctp_generic_sendmsg':
/usr/src/sys/kern/uipc_syscalls.c:2371: undefined reference to
`sctp_lower_sosend'
uipc_syscalls.o(.text+0x271f): In function `sctp_peeloff':
/usr/src/sys/kern/uipc_syscalls.c:2238: undefined reference to
`sctp_can_peel_off'
uipc_syscalls.o(.text+0x28e4):/usr/src/sys/kern/uipc_syscalls.c:2279:
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_at_:/usr/obj/usr/src/sys/GENERIC  amd64

The full build script is at www.deejc.net/freebsd/kernelbuild
Demsg = www.deejc.net/freebsd/dmesg
Make.conf = www.deejc.net/freebsd/make
Kernel conf - www.deejc.net/freebsd/MYKERNEL
ls of usr/src/sys/amd64/conf = www.deejc.net/freebsd/ls

Cheers

Darran
http://www.deejc.net

-----Original Message-----
From: Scot Hetzel [mailto:swhetzel_at_gmail.com] 
Sent: 06 January 2008 18:34
To: Darran
Cc: freebsd-current_at_freebsd.org
Subject: Re: Hung laptop now will not boot 7.0-RC1

On 1/6/08, Darran <darranc_at_deejc.net> 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
and
> 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
I
> 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.

Scot

Received on Wed Jan 09 2008 - 19:15:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:25 UTC