From owner-freebsd-net@FreeBSD.ORG Sun May 10 10:51:38 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B46881065672 for ; Sun, 10 May 2009 10:51:38 +0000 (UTC) (envelope-from sam@ip6.com.au) Received: from mail01.ip6.com.au (ns1.ip6.com.au [125.255.112.202]) by mx1.freebsd.org (Postfix) with ESMTP id 73F5B8FC13 for ; Sun, 10 May 2009 10:51:37 +0000 (UTC) (envelope-from sam@ip6.com.au) Received: from mail01.ip6.com.au (localhost [127.0.0.1]) by mail01.ip6.com.au (Postfix) with ESMTP id EBC162880B for ; Sun, 10 May 2009 20:51:24 +1000 (EST) Received: from secure.ip6.com.au (localhost [127.0.0.1]) by mail01.ip6.com.au (Postfix) with ESMTP id A973D28805 for ; Sun, 10 May 2009 20:51:24 +1000 (EST) Received: from 220.233.42.226 (SquirrelMail authenticated user sam) by secure.ip6.com.au with HTTP; Sun, 10 May 2009 20:51:24 +1000 (EST) Message-ID: <19656.220.233.42.226.1241952684.squirrel@secure.ip6.com.au> In-Reply-To: <20090510094721.32a7f4bf@suszko.eu> References: <27634.220.233.42.226.1241931139.squirrel@secure.ip6.com.au> <736c47cb0905092358j24d4b631odf2cfd23b285fadc@mail.gmail.com> <20090510094721.32a7f4bf@suszko.eu> Date: Sun, 10 May 2009 20:51:24 +1000 (EST) From: "Sam Wan" To: freebsd-net@freebsd.org User-Agent: SquirrelMail/1.4.10a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: kernel hang when reboot with loaded ip_vs_rr.ko X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 May 2009 10:51:38 -0000 Unfortunately, after started ip_vs_rr with this script, reboot still failed, but interestingly, system shutdown is running fine with these moduels loaded. Thanks Sam > Sam Wun 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="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... > -- > regards, Maciej Suszko. >