Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 May 2009 17:25:57 +1000
From:      Sam Wun <swun2010@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   Re: kernel hang when reboot with loaded ip_vs_rr.ko
Message-ID:  <736c47cb0905100025i8bf54fev3466e49d28809197@mail.gmail.com>
In-Reply-To: <d763ac660905100016u2257977bs6c30aa955b727890@mail.gmail.com>
References:  <27634.220.233.42.226.1241931139.squirrel@secure.ip6.com.au> <736c47cb0905092358j24d4b631odf2cfd23b285fadc@mail.gmail.com> <d763ac660905100016u2257977bs6c30aa955b727890@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
That patch is for 7.0-current.
But I applied to 7.2 Release, and built successfully.
Manually kldload and kldunload has no problem.

On Sun, May 10, 2009 at 5:16 PM, Adrian Chadd <adrian@freebsd.org> wrote:
> What version of FreeBSD is the IPVS patch for?
>
> And hi from Perth. :) What are you guys doing with FreeBSD in
> particular out there?
>
>
>
> Adrian
>
> 2009/5/10 Sam Wun <swun2010@gmail.com>:
>> 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 =A0 =A0Size =A0 =A0 Name
>> =A01 =A0 =A05 0xc0400000 a434d8 =A0 kernel
>> =A02 =A0 =A01 0xc0e44000 6a45c =A0 =A0acpi.ko
>> =A03 =A0 =A01 0xc469d000 2000 =A0 =A0 ip_vs_rr.ko
>> =A04 =A0 =A01 0xc469f000 b000 =A0 =A0 ipvs.ko
>>
>> =A0# 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=3D"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@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 =A02 root =A0wheel =A0 =A0512 May =A08 15:20 ./
>>> drwxr-xr-x =A08 root =A0wheel =A0 =A0512 May =A09 21:22 ../
>>> -r-xr-xr-x =A01 root =A0wheel =A0 5366 May =A08 15:20 ip_vs_dh.ko*
>>> -r-xr-xr-x =A01 root =A0wheel =A0 8249 May =A08 15:20 ip_vs_lblc.ko*
>>> -r-xr-xr-x =A01 root =A0wheel =A0 9783 May =A08 15:20 ip_vs_lblcr.ko*
>>> -r-xr-xr-x =A01 root =A0wheel =A0 4560 May =A08 15:20 ip_vs_lc.ko*
>>> -r-xr-xr-x =A01 root =A0wheel =A0 4592 May =A08 15:20 ip_vs_nq.ko*
>>> -r-xr-xr-x =A01 root =A0wheel =A0 4838 May =A08 15:20 ip_vs_rr.ko*
>>> -r-xr-xr-x =A01 root =A0wheel =A0 4574 May =A08 15:20 ip_vs_sed.ko*
>>> -r-xr-xr-x =A01 root =A0wheel =A0 5366 May =A08 15:20 ip_vs_sh.ko*
>>> -r-xr-xr-x =A01 root =A0wheel =A0 4574 May =A08 15:20 ip_vs_wlc.ko*
>>> -r-xr-xr-x =A01 root =A0wheel =A0 5634 May =A08 15:20 ip_vs_wrr.ko*
>>> -r-xr-xr-x =A01 root =A0wheel =A043081 May =A08 15:20 ipvs.ko*
>>> -rw-r--r-- =A01 root =A0wheel =A0 =A0360 May =A08 15:20 linker.hints
>>>
>>> What is the problem?
>>> Important is how to get more information about this kernel module is =
=A0hang?
>>>
>>> Your suggestion is highly appreciated.
>>>
>>> Thanks
>>>
>>>
>>> _______________________________________________
>>> freebsd-net@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-net
>>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>>>
>> _______________________________________________
>> freebsd-net@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-net
>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?736c47cb0905100025i8bf54fev3466e49d28809197>