kernel hang when reboot with loaded ip_vs_rr.ko

Sam Wun swun2010 at gmail.com
Sun May 10 06:58:34 UTC 2009


It is IPVS patch, for FreeBSD.
I am in Melbourne Australia.
Can you send me email regarding about how to fix this issue?
BTW, if I kldunload ip_vs_rr before reboot/shutdown, the system will
execute the reboot / shutdown normally.
When I executed reboot/shutdown with the ip_vs_rr still loaded in the
kernel, the system hangs after the console printed the message
"...vnode...."

Here are the modules loaded:
# kldstat
Id Refs Address    Size     Name
 1    5 0xc0400000 a434d8   kernel
 2    1 0xc0e44000 6a45c    acpi.ko
 3    1 0xc469d000 2000     ip_vs_rr.ko
 4    1 0xc469f000 b000     ipvs.ko

 # shutdown -h now
.....
Syncing disks, vnodes remaining... 1 1 0 0 done
All buffers synced.
IPVS: ipvs unloaded

then it hangs forever.

Another problem is I can't put ipvs_vs_rr_load="yes" in the
/boot/loader.conf file. The system will hang when it tried to boot the
kernel with this ko loaded.

Thanks


On Sun, May 10, 2009 at 2:52 PM, Sam Wan <sam at ip6.com.au> wrote:
> I built ip_vs_rr.ko in 7.2 Release.
> There is no problem when loaded ipvs.ko.
> After I loaded ip_vs_rr.ko, and reboot the system, the entire system is hang.
> Here is a list of the ip_vs moudles have built:
>
> modules # ls -l
> total 118
> drwxr-xr-x  2 root  wheel    512 May  8 15:20 ./
> drwxr-xr-x  8 root  wheel    512 May  9 21:22 ../
> -r-xr-xr-x  1 root  wheel   5366 May  8 15:20 ip_vs_dh.ko*
> -r-xr-xr-x  1 root  wheel   8249 May  8 15:20 ip_vs_lblc.ko*
> -r-xr-xr-x  1 root  wheel   9783 May  8 15:20 ip_vs_lblcr.ko*
> -r-xr-xr-x  1 root  wheel   4560 May  8 15:20 ip_vs_lc.ko*
> -r-xr-xr-x  1 root  wheel   4592 May  8 15:20 ip_vs_nq.ko*
> -r-xr-xr-x  1 root  wheel   4838 May  8 15:20 ip_vs_rr.ko*
> -r-xr-xr-x  1 root  wheel   4574 May  8 15:20 ip_vs_sed.ko*
> -r-xr-xr-x  1 root  wheel   5366 May  8 15:20 ip_vs_sh.ko*
> -r-xr-xr-x  1 root  wheel   4574 May  8 15:20 ip_vs_wlc.ko*
> -r-xr-xr-x  1 root  wheel   5634 May  8 15:20 ip_vs_wrr.ko*
> -r-xr-xr-x  1 root  wheel  43081 May  8 15:20 ipvs.ko*
> -rw-r--r--  1 root  wheel    360 May  8 15:20 linker.hints
>
> What is the problem?
> Important is how to get more information about this kernel module is  hang?
>
> Your suggestion is highly appreciated.
>
> Thanks
>
>
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>


More information about the freebsd-net mailing list