Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 May 2009 14:16:09 +0200
From:      Maciej Suszko <maciej@suszko.eu>
To:        "Sam Wan" <sam@ip6.com.au>
Cc:        freebsd-net@freebsd.org
Subject:   Re: kernel hang when reboot with loaded ip_vs_rr.ko
Message-ID:  <20090510141609.3a11b5eb@suszko.eu>
In-Reply-To: <19656.220.233.42.226.1241952684.squirrel@secure.ip6.com.au>
References:  <27634.220.233.42.226.1241931139.squirrel@secure.ip6.com.au> <736c47cb0905092358j24d4b631odf2cfd23b285fadc@mail.gmail.com> <20090510094721.32a7f4bf@suszko.eu> <19656.220.233.42.226.1241952684.squirrel@secure.ip6.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/VetFMm9.MkeGB_B_IYs0x=W
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

"Sam Wan" <sam@ip6.com.au> wrote:
> Unfortunately, after started ip_vs_rr with this script, reboot still
> failed, but interestingly, system shutdown is running fine with these
> moduels loaded.
>=20
> Thanks
> Sam
>=20
> > Sam Wun <swun2010@gmail.com> wrote:
> >> 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=3D"yes" in the
> >> /boot/loader.conf file. The system will hang when it tried to boot
> >> the kernel with this ko loaded.
> >
> > Hi,
> >
> > Check the freebsd-clister archive - AFAIR I've tested
> > ipvs+keepalived a time ago and the panic problem was already known.
> > Someone even sent some rc scripts to mailing list. It was a year
> > ago or so...

1) Answer below the text.
2) The 'reboot' command should be used only when you're in single mode.
Use shutdown -r to clean reboot as written in reboot(8) and
shutdown(8).
I haven't looked at the script, but I think everything should be fine
if modules are loaded on boot and unloaded before reboot (within some
start/stop action).
--=20
regards, Maciej Suszko.

--Sig_/VetFMm9.MkeGB_B_IYs0x=W
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iEYEARECAAYFAkoGxYwACgkQCikUk0l7iGoxOgCdE8D41QXF+g0plvOHmRY/IWD7
mZMAnimEkXx4v30Xyb+hwLorSdZytu2B
=bDv0
-----END PGP SIGNATURE-----

--Sig_/VetFMm9.MkeGB_B_IYs0x=W--



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