From owner-freebsd-net@FreeBSD.ORG Sun May 10 07:25:58 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 03782106566B for ; Sun, 10 May 2009 07:25:58 +0000 (UTC) (envelope-from swun2010@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.168]) by mx1.freebsd.org (Postfix) with ESMTP id CACE08FC18 for ; Sun, 10 May 2009 07:25:57 +0000 (UTC) (envelope-from swun2010@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so1891727wfg.7 for ; Sun, 10 May 2009 00:25:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=41QslKYaOnD3+eehGPsp8gszheZa5mkMeMI/ja0wx6Y=; b=ZXwGT6HPnxujzIMTrpVSUCtbyobuq7bhTO5KxP+hE57TvD5IwfOVQfgoTqtY8LxxxW DVKBQPNsWgj4saZhV7Ft0eGl6XGjPxDOgjvT/QEYcgDrJsYS+4djmiH0jioKjA6slhzF fUu7Fy7Gu40+C717WDicNMXgoSaNl8i0RTRYY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Tje3m8snaylMMXvTZ1nJpliqTAXHKHJcF5H0b4XxYH42BRovmweqOdnQGGfDRZr3Hq uVitxLWIYYVZvgUjvmIaYRcctfNCvRV8P0a+w0XqKWlbQgDJ0ucCFQnKRa53Gmce2cYF mxlByIC25Wv7WNcxmE80GMCOKgfu0XqwKDedM= MIME-Version: 1.0 Received: by 10.142.217.3 with SMTP id p3mr1732733wfg.228.1241940357378; Sun, 10 May 2009 00:25:57 -0700 (PDT) In-Reply-To: References: <27634.220.233.42.226.1241931139.squirrel@secure.ip6.com.au> <736c47cb0905092358j24d4b631odf2cfd23b285fadc@mail.gmail.com> Date: Sun, 10 May 2009 17:25:57 +1000 Message-ID: <736c47cb0905100025i8bf54fev3466e49d28809197@mail.gmail.com> From: Sam Wun To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 07:25:58 -0000 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 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 : >> 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 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" >> >