From owner-freebsd-stable@FreeBSD.ORG Sun Oct 4 12:27:40 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C7051065672 for ; Sun, 4 Oct 2009 12:27:40 +0000 (UTC) (envelope-from luca@lavabit.com) Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by mx1.freebsd.org (Postfix) with ESMTP id DE0138FC12 for ; Sun, 4 Oct 2009 12:27:39 +0000 (UTC) Received: from c.earth.lavabit.com (c.earth.lavabit.com [192.168.111.12]) by karen.lavabit.com (Postfix) with ESMTP id 637FA11B7CB for ; Sun, 4 Oct 2009 06:54:46 -0500 (CDT) Received: from 192.168.2.100 (client83-68-221-214.abo.net2000.ch [83.68.221.214]) by lavabit.com with ESMTP id EOTY5GORL9JV for ; Sun, 04 Oct 2009 06:54:46 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=yw1uOlY12M3k2GpFKQpg/gHBCct1bryQF6L9APtAIZ23gqu1onoEInTtrg6Zj+HYgGoxs25pvc/BtgxqbMCzdsOmMZX4m59DFb5jmpNeVD9RDTJb9csJLgt4DJ51j1N2OLe0Ak2O/SjoLKLX//dldcTyPpE7LWQX5EaukbDbdtc=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding; Message-ID: <4AC88D03.6000902@lavabit.com> Date: Sun, 04 Oct 2009 13:54:43 +0200 From: luca User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [setup] no floppies FreeBSD 8 ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Oct 2009 12:27:40 -0000 hi, I'm looking for the floppies images to install FreeBSD 8 on a PC which can't boot from CDROM ; but the images are not available (i.e. no floppies directory) Do FreeBSD 8 dropped floppy install ? Regards, Luca From owner-freebsd-stable@FreeBSD.ORG Sun Oct 4 16:48:00 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AA31106566B for ; Sun, 4 Oct 2009 16:48:00 +0000 (UTC) (envelope-from Andre.Albsmeier@siemens.com) Received: from thoth.sbs.de (thoth.sbs.de [192.35.17.2]) by mx1.freebsd.org (Postfix) with ESMTP id E2BB38FC0A for ; Sun, 4 Oct 2009 16:47:59 +0000 (UTC) Received: from mail2.siemens.de (localhost [127.0.0.1]) by thoth.sbs.de (8.12.11.20060308/8.12.11) with ESMTP id n94GlumE028568; Sun, 4 Oct 2009 18:47:56 +0200 Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.40.130]) by mail2.siemens.de (8.12.11.20060308/8.12.11) with ESMTP id n94GluDD030957; Sun, 4 Oct 2009 18:47:56 +0200 Received: (from localhost) by curry.mchp.siemens.de (8.14.3/8.14.3) id n94Glu7s048545; Date: Sun, 4 Oct 2009 18:47:56 +0200 From: Andre Albsmeier To: "Bjoern A. Zeeb" Message-ID: <20091004164756.GA6021@curry.mchp.siemens.de> References: <20091003184220.GA2620@curry.mchp.siemens.de> <20091003212308.GA3122@curry.mchp.siemens.de> <20091003215821.V26486@maildrop.int.zabbadoz.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091003215821.V26486@maildrop.int.zabbadoz.net> X-Echelon: X-Advice: Drop that crappy M$-Outlook, I'm tired of your viruses! User-Agent: Mutt/1.5.20 (2009-06-14) Cc: jhell , stable@freebsd.org, Andre Albsmeier Subject: Re: security.bsd.map_at_zero=0 problem with samba33 (including solution) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Oct 2009 16:48:00 -0000 On Sat, 03-Oct-2009 at 22:27:39 +0000, Bjoern A. Zeeb wrote: > On Sat, 3 Oct 2009, Andre Albsmeier wrote: > > Hi, > > > On Sat, 03-Oct-2009 at 16:27:32 -0400, jhell wrote: > >> On Sat, 3 Oct 2009 14:42 -0000, Andre.Albsmeier wrote: > >> > >>> FYI, > >>> > >>> after setting security.bsd.map_at_zero to 0 on 7.2-STABLE all > >>> samba33 programmes did abort() immediately after start. The > >>> solution was to use > >>> > >>> CONFIGURE_ARGS+= --disable-pie > >>> > >>> -Andre > >>> > >> > >> To add an additional note samba33 even when not running (not enabled by a rcvar) > >> also runs a tdbcleanup routine on shutdown and/or start that also does > >> abort(). > > > > Yes, every samba programme is linked with -pie per default (so > > all abort()). > > > Thanks for reporting the issue. People are aware of the problem now > and we'll try to present a solution within the next days for better > position-independent executable (PIE) handling. > > Meanwhile there are multiple solutions for people affected: > > (1) recompile the port; but as more than just samba might be affected > and we generally do not want to flip the pie switch everywhere that's > probably only a temporary, private solution. I'll stick to this since I am happy about having the map_at_zero option and want to continue to try it out on 7.2-STABLE. And I see now reason why samba has to be linked with -pie (without -pie it is also 4% smaller). -Andre -- "I think there is a world market for maybe five computers." - Thomas Watson, chairman of IBM, 1943 From owner-freebsd-stable@FreeBSD.ORG Sun Oct 4 19:07:43 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EBDA106568D for ; Sun, 4 Oct 2009 19:07:43 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id B37278FC08 for ; Sun, 4 Oct 2009 19:07:42 +0000 (UTC) Received: (qmail 13200 invoked by uid 399); 4 Oct 2009 19:07:41 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 4 Oct 2009 19:07:41 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4AC8F27C.8070208@FreeBSD.org> Date: Sun, 04 Oct 2009 12:07:40 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.23 (X11/20090822) MIME-Version: 1.0 To: "Bjoern A. Zeeb" References: <20091003184220.GA2620@curry.mchp.siemens.de> <20091003212308.GA3122@curry.mchp.siemens.de> <20091003215821.V26486@maildrop.int.zabbadoz.net> In-Reply-To: <20091003215821.V26486@maildrop.int.zabbadoz.net> X-Enigmail-Version: 0.96.0 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: jhell , stable@freebsd.org, Andre Albsmeier Subject: Re: security.bsd.map_at_zero=0 problem with samba33 (including solution) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Oct 2009 19:07:43 -0000 Bjoern A. Zeeb wrote: > On Sat, 3 Oct 2009, Andre Albsmeier wrote: > > Hi, > >> On Sat, 03-Oct-2009 at 16:27:32 -0400, jhell wrote: >>> On Sat, 3 Oct 2009 14:42 -0000, Andre.Albsmeier wrote: >>> >>>> FYI, >>>> >>>> after setting security.bsd.map_at_zero to 0 on 7.2-STABLE all >>>> samba33 programmes did abort() immediately after start. The >>>> solution was to use >>>> >>>> CONFIGURE_ARGS+= --disable-pie >>>> >>>> -Andre >>>> >>> >>> To add an additional note samba33 even when not running (not enabled >>> by a rcvar) >>> also runs a tdbcleanup routine on shutdown and/or start that also does >>> abort(). >> >> Yes, every samba programme is linked with -pie per default (so >> all abort()). > > > Thanks for reporting the issue. People are aware of the problem now > and we'll try to present a solution within the next days for better > position-independent executable (PIE) handling. > > Meanwhile there are multiple solutions for people affected: > > (1) recompile the port; Just to be clear, you have to recompile the port with --disable-pie added to the CONFIGURE_ARGS in the Makefile. It would also be nice if there were a __FreeBSD_version bump for this new feature. Doug -- This .signature sanitized for your protection From owner-freebsd-stable@FreeBSD.ORG Sun Oct 4 19:57:53 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F9A7106566B for ; Sun, 4 Oct 2009 19:57:53 +0000 (UTC) (envelope-from gbell72@rogers.com) Received: from web88005.mail.re2.yahoo.com (web88005.mail.re2.yahoo.com [206.190.37.192]) by mx1.freebsd.org (Postfix) with SMTP id A862A8FC19 for ; Sun, 4 Oct 2009 19:57:52 +0000 (UTC) Received: (qmail 89275 invoked by uid 60001); 4 Oct 2009 19:31:12 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rogers.com; s=s1024; t=1254684672; bh=4OyiZB7LS/+KvM6kK07HwOwKqqtUCQW7sQA7ceePugk=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=JdUvEvbA0iAeU4X7PPb0wunGymNAG01cox26aJ0ljHVse05y0WgX6FyeAGjcZTvBrs7L0ypcfMKLBTXi1bKKqmCjB9I2apO+XbJIm3YiAolYCdl6VxJp/56Tpd3rt0WZUVOq1DG0SogggC0y+LU8oSiElZ2VSdJ00hdJZM8O9GQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=odGwzQ63JQvaTf7rFFIFfR5EDF+stTTw17qJ3FEgWWxv/MDx/9+IB3a69tkP1Fx9iETvGlEonyqIQAFndHyGlC5LdDwaYGZA1trDzbFF9vAsjGunA4Rf4gSAKg0090HSi5fQO38zZtN2ncIum1j8LV1EC51tVtkNSX3q073I60s=; Message-ID: <866481.87787.qm@web88005.mail.re2.yahoo.com> X-YMail-OSG: OjxXnMsVM1lqWN8R4eJq9P1wPkm9QP_HOHTn52CzRUu6pfUeg168VPeY9y6U80.6..ZfS6I6sGznSHQewW1LVRyA_HOCMsl3KocM7UuYqt3E8qgUKioqicMRMBcHbvM7Aad6fCGLDVs2C8ewB73rKS.0VFfmd7tStBzUScWLJJfrJRVnD8N.0NJ62G.1B73aaz00d_UmsbrIkJd32bqlS4RYd618O12fPxe0nabRWkz_OpqNGwjRpYOCw3N.7ERJXGY2T_oag.g9RxWGcPrVOlibJ.qkshvKKVLZYKbpgbiU9dFuPhBCEiWw0eiHaxfdaO3tiZ8qSk620cjkwYA9XbGsJbrlUd1y12hUyzEiH5qpKptsk95Rf.AG8HSqEdZdqihfX_G2H5tExEDD9wLc4A-- Received: from [99.233.37.65] by web88005.mail.re2.yahoo.com via HTTP; Sun, 04 Oct 2009 12:31:12 PDT X-Mailer: YahooMailClassic/7.0.14 YahooMailWebService/0.7.347.3 Date: Sun, 4 Oct 2009 12:31:12 -0700 (PDT) From: Gardner Bell To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Page Fault: knlist_cleardel X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Oct 2009 19:57:53 -0000 I got the following panic after signing out of my X session. Previous to this I was trying to kill off a program that was running through wine. This machine is running 7.2-STABLE and I still have core file if any further debugging info is needed. Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address = 0x10 fault code = supervisor write, page not present instruction pointer = 0x20:0xc04efdcb stack pointer = 0x28:0xe8cdeb64 frame pointer = 0x28:0xe8cdeb84 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 7453 (wine) trap number = 12 panic: page fault cpuid = 1 Uptime: 1d3h58m32s Physical memory: 1005 MB Dumping 192 MB: (CTRL-C to abort) (CTRL-C to abort) (CTRL-C to abort) 177 (CTRL-C to abort) 161 (CTRL-C to abort) 145 129 113 97 81 65 (CTRL-C to abort) 49 33 17 1 #1 0xc051afe8 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc051b2c5 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:574 #3 0xc067bf54 in trap_fatal (frame=0xe8cdeb24, eva=16) at /usr/src/sys/i386/i386/trap.c:938 #4 0xc067c1a4 in trap_pfault (frame=0xe8cdeb24, usermode=0, eva=16) at /usr/src/sys/i386/i386/trap.c:851 #5 0xc067cb06 in trap (frame=0xe8cdeb24) at /usr/src/sys/i386/i386/trap.c:529 #6 0xc06631db in calltrap () at /usr/src/sys/i386/i386/exception.s:166 #7 0xc04efdcb in knlist_cleardel (knl=0xc4f7ba70, td=0x0, islocked=1, killkn=0) at atomic.h:149 #8 0xc055581b in pipeclose (cpipe=0xc4f7ba00) at /usr/src/sys/kern/sys_pipe.c:1510 #9 0xc0555921 in pipe_close (fp=0xc4e1e214, td=0xc52aa900) at /usr/src/sys/kern/sys_pipe.c:1427 #10 0xc04e4bc1 in fdrop (fp=0xc4e1e214, td=0xc52aa900) at file.h:300 #11 0xc04e60c7 in closef (fp=0xc4e1e214, td=0xc52aa900) at /usr/src/sys/kern/kern_descrip.c:2072 #12 0xc04e659c in kern_close (td=0xc52aa900, fd=27) at /usr/src/sys/kern/kern_descrip.c:1125 #13 0xc04e6669 in close (td=0xc52aa900, uap=0xe8cdecfc) at /usr/src/sys/kern/kern_descrip.c:1077 #14 0xc067c4e5 in syscall (frame=0xe8cded38) #15 0xc0663240 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:262 #16 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) l *0xc04efdcb 0xc04efdcb is in knlist_cleardel (atomic.h:149). 144 static __inline int 145 atomic_cmpset_int(volatile u_int *dst, u_int exp, u_int src) 146 { 147 u_char res; 148 149 __asm __volatile( 150 " " MPLOCKED " " 151 " cmpxchgl %2,%1 ; " 152 " sete %0 ; " 153 "1: " (kgdb) From owner-freebsd-stable@FreeBSD.ORG Sun Oct 4 23:28:33 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D91091065670 for ; Sun, 4 Oct 2009 23:28:33 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 907468FC16 for ; Sun, 4 Oct 2009 23:28:33 +0000 (UTC) Received: from Macintosh-4.local ([10.0.0.198]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n94NSKki046032 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 4 Oct 2009 16:28:21 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <4AC92F94.4020106@errno.com> Date: Sun, 04 Oct 2009 16:28:20 -0700 From: Sam Leffler Organization: Errno Consulting User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Matt Dawson References: <200910021726.33663.matt@chronos.org.uk> <4AC797E2.2050709@errno.com> <200910032240.45357.matt@chronos.org.uk> In-Reply-To: <200910032240.45357.matt@chronos.org.uk> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-DCC-sonic.net-Metrics: ebb.errno.com; whitelist Cc: freebsd-stable@freebsd.org Subject: Re: ral(4) on 8-RC1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Oct 2009 23:28:33 -0000 Matt Dawson wrote: > On Saturday 03 Oct 2009 19:28:50 you wrote: >> ral probably does not populate it's initial channel list according to >> the device capabilities. I'm guessing it falls back on the system code >> to do that and it fills in only channels 1-11. This means future >> changes to regulatory cannot setup the channels you want--it's not >> allowed to add channels that are not listed in the "device >> capabilities". > > That makes sense. Given that my 2561 card has "ETSI" stamped on its label, > one would think it's the card's job to report to the driver what it > supports. If the driver doesn't request this, the safest bet is the lowest > common denominator that should be legal everywhere, 11 channels at FCC > spec. Got it. > > Just a quick question, if I may: Are the maxpower specs of regdomain.xml in > dBm? ETSI is max 20dBm ERP at 2.4GHz. Euro spec cards are only capable of > ~100mW anyway, most more like 60mW and your average foot of RG-174 will > knock nearly a dB off at 2.4GHz, so it hardly matters, but I'm curious. The > manpage doesn't specify what the fields mean. maxpower are expressed as dBm. > >> You can hack ral to setup a proper channel list at attach or you can >> make a private hack to net80211 to populate the channel list w/ those >> channels you want. Either is simple. > > Thank you. I'll probably try the local hack for now, but hacking ral (and > probably iwi now I finally have that working, which does exactly the same > thing) to do the right thing would be a better long-term solution. > > To the list: Does anyone have any idea why the iwi firmware modules build > by default on i386 and not on amd64? I know from experience that manually > building them on 7.1 amd64 didn't work, but it now works well on 8 except > for the messages about mcast/promisc update separation. I had problems w/ the iwi firmware on 64-bit so set the build to i386 only. The problems I had were relocation errors and noone could help; if those are gone then building the fw image for amd64 should be fine. Whether the driver works is another matter... Sam From owner-freebsd-stable@FreeBSD.ORG Mon Oct 5 08:28:30 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4E65106566B for ; Mon, 5 Oct 2009 08:28:30 +0000 (UTC) (envelope-from rpp@ci.com.au) Received: from mippet.ci.com.au (mippet.ci.com.au [192.65.182.30]) by mx1.freebsd.org (Postfix) with ESMTP id 707218FC08 for ; Mon, 5 Oct 2009 08:28:30 +0000 (UTC) Received: from mippet.ci.com.au (localhost [127.0.0.1]) by mippet.ci.com.au (8.14.3/8.14.3/CE070809/cml) with ESMTP id n958H4eC005384 for ; Mon, 5 Oct 2009 19:17:05 +1100 (EST) (envelope-from rpp@mippet.ci.com.au) Received: (from rpp@localhost) by mippet.ci.com.au (8.14.3/8.14.3/Submit) id n958H46Y005383 for stable@freebsd.org; Mon, 5 Oct 2009 19:17:04 +1100 (EST) (envelope-from rpp) Date: Mon, 5 Oct 2009 19:17:04 +1100 From: Richard Perini To: stable@freebsd.org Message-ID: <20091005081704.GA77314@mippet.ci.com.au> References: <20091003184220.GA2620@curry.mchp.siemens.de> <20091003212308.GA3122@curry.mchp.siemens.de> <20091003215821.V26486@maildrop.int.zabbadoz.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091003215821.V26486@maildrop.int.zabbadoz.net> X-Scanned-By: MIMEDefang 2.64 on 192.65.182.30 Cc: Subject: Re: security.bsd.map_at_zero=0 problem with samba33 (including solution) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2009 08:28:30 -0000 On Sat, Oct 03, 2009 at 10:27:39PM +0000, Bjoern A. Zeeb wrote: ... > > As we will try to keep the default in 8.x and 9.x to disallow user > mappings at virtual address 0, we are interested in further issues > that were not yet metnioned in either this thread or the Errata Notice. quagga 0.99.15 (built from ports) has the same issue as samba. -- Richard Perini Internet: rpp@ci.com.au Corinthian Engineering Pty Ltd PHONE: +61 2 9552 5500 Sydney, Australia FAX: +61 2 9552 5549 From owner-freebsd-stable@FreeBSD.ORG Mon Oct 5 10:39:58 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB680106568B for ; Mon, 5 Oct 2009 10:39:58 +0000 (UTC) (envelope-from matt@chronos.org.uk) Received: from chronos.org.uk (chronos-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:12b::2]) by mx1.freebsd.org (Postfix) with ESMTP id 406588FC2C for ; Mon, 5 Oct 2009 10:39:58 +0000 (UTC) Received: from workstation1.localnet (workstation1.local.chronos.org.uk [IPv6:2001:470:1f09:12b::20]) (authenticated bits=0) by chronos.org.uk (8.14.3/8.14.3) with ESMTP id n95AdidS070915 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 5 Oct 2009 11:39:45 +0100 (BST) (envelope-from matt@chronos.org.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 chronos.org.uk n95AdidS070915 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=chronos.org.uk; s=mail; t=1254739185; bh=kuUFa+rRp6jEx3RRd5J0N2n9X+KFsX6zJJoF72E1gv4=; h=From:To:Subject:Date:References:In-Reply-To:Cc:MIME-Version: Content-Type:Content-Transfer-Encoding:Message-Id; b=BffZkogTsdIzcDvLfPFJk2noDCJwmIqA6O7MuvaQMj7lfFV44lGiE3ql/1M4uFXWF i9i4z8pyb5s0kT2wraCTmrzD07yTsYulutVAGxdmtAJ6VmXxJf4A+EoucR6JY3pAHB cAgrrcTyzYmWXmeWLpDTz+F5vqPrmniiNiLJKOuc= From: Matt Dawson To: Sam Leffler Date: Mon, 5 Oct 2009 11:39:42 +0100 User-Agent: KMail/1.12.1 (FreeBSD/7.2-RELEASE-p4; KDE/4.3.1; amd64; ; ) References: <200910021726.33663.matt@chronos.org.uk> <200910032240.45357.matt@chronos.org.uk> <4AC92F94.4020106@errno.com> In-Reply-To: <4AC92F94.4020106@errno.com> X-Face: Uq{{&_!oO{M&ydj?-f%{D]bN7/|/]a+utod35[+IyH#R>F~YPffK,=?utf-8?q?=25=60=7D=25=0A?=FTMbmzo,]0X3K:N&{h7],FI{?EkORzB; f:V3"vKXsUNw5Yh`}ef4MZ*a4,=?utf-8?q?ObuJ=5F=26=5B1S=27zP=5CK0wcKZP=0A?==?utf-8?q?_=60=23L=25=5Dq*OUPQ-4T=3FHZ=7EAKX0=7D3W=25o=3DP?= X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.3 (chronos.org.uk [IPv6:2001:470:1f09:12b::1]); Mon, 05 Oct 2009 11:39:45 +0100 (BST) X-Virus-Scanned: clamav-milter 0.95.2 at central.local.chronos.org.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.3 required=3.0 tests=AWL,BAYES_00, DATE_IN_FUTURE_48_96,NO_RELAYS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on central.local.chronos.org.uk Cc: freebsd-stable@freebsd.org Subject: Re: ral(4) on 8-RC1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2009 10:39:59 -0000 On Monday 05 Oct 2009 00:28:20 you wrote: > maxpower are expressed as dBm. Thanks for that and the pointers to get the channels right. A temporary hack in net80211 was trivial and I can take my time with the ral end of things. I believe Kip Macy was the last to look at ral in-depth, around the time support was added for gen 2 chipset, although I can't seem to find the code that was in p4 at that time. It was a while ago... > I had problems w/ the iwi firmware on 64-bit so set the build to i386 > only. The problems I had were relocation errors and noone could help; > if those are gone then building the fw image for amd64 should be fine. > Whether the driver works is another matter... The iwi driver seems to work for normal operation with the caveat that 802.11s is never going to work, but that's noted on the wiki anyway. I haven't been able to get Kismet to work (it used to on i386 on the iwi) although that may be down to PEBKAC in not fully understanding the 802.11 architectural changes in 8. I'll hammer the thing for a few more days, see if I can find any regression tests to apply to this setup and maybe move it to a different machine to ensure it works in multiple environments. This is, however, exactly the same hardware that failed to work with 7.1 amd64, so I'm pretty confident that it should be consistent. I'm torn between decent support for most things on ral and dual band and a more sensitive radio, to the order of around 5dB in the same location, on iwi. I'm tempted to just get an Atheros a/b/g card and be done with it. Oxford Tech have some AR5414/AR5006XS cards for reasonable money. Thanks for your help, Sam. Best regards, -- Matt Dawson MTD15-RIPE From owner-freebsd-stable@FreeBSD.ORG Mon Oct 5 13:00:18 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CF1C106566B for ; Mon, 5 Oct 2009 13:00:18 +0000 (UTC) (envelope-from remko@elvandar.org) Received: from websrv01.jr-hosting.nl (websrv01.jr-hosting.nl [78.47.69.233]) by mx1.freebsd.org (Postfix) with ESMTP id 308FB8FC1E for ; Mon, 5 Oct 2009 13:00:17 +0000 (UTC) Received: from snow1.customer.bit.nl ([87.251.46.36] helo=scn-wlan30.snowcn.snow.nl) by websrv01.jr-hosting.nl with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Mumhm-000I8s-5m; Mon, 05 Oct 2009 14:30:18 +0200 Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes From: Remko Lodder In-Reply-To: <4AC88D03.6000902@lavabit.com> Date: Mon, 5 Oct 2009 14:30:18 +0200 Content-Transfer-Encoding: 7bit Message-Id: References: <4AC88D03.6000902@lavabit.com> To: luca X-Mailer: Apple Mail (2.1076) Cc: freebsd-stable@freebsd.org Subject: Re: [setup] no floppies FreeBSD 8 ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2009 13:00:18 -0000 I am not sure whether we dropped floppy support. But I can imagine that the release candidates do not have floppies. On Oct 4, 2009, at 1:54 PM, luca wrote: > hi, > > I'm looking for the floppies images to install FreeBSD 8 on a PC > which can't boot from CDROM ; but the images are not available (i.e. > no floppies directory) > > Do FreeBSD 8 dropped floppy install ? > > Regards, > Luca > > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org > " -- /"\ Best regards, | remko@FreeBSD.org \ / Remko Lodder | remko@EFnet X http://www.evilcoder.org/ | / \ ASCII Ribbon Campaign | Against HTML Mail and News From owner-freebsd-stable@FreeBSD.ORG Mon Oct 5 14:19:10 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50E881065670 for ; Mon, 5 Oct 2009 14:19:10 +0000 (UTC) (envelope-from db@danielbond.org) Received: from mail.nsn.no (mailone.nsn.no [62.89.38.160]) by mx1.freebsd.org (Postfix) with SMTP id B3E7F8FC14 for ; Mon, 5 Oct 2009 14:19:09 +0000 (UTC) Received: (qmail 49811 invoked by uid 0); 5 Oct 2009 14:19:07 -0000 Received: from unknown (HELO ?172.16.3.90?) (85.95.44.187) by mail.nsn.no with SMTP; 5 Oct 2009 14:19:07 -0000 Message-Id: <6194E9BC-3A3D-4941-A777-88C7411905B0@danielbond.org> From: Daniel Bond To: Rudy In-Reply-To: <4AC66437.4040704@monkeybrains.net> Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-13--580249135" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Mon, 5 Oct 2009 16:19:01 +0200 References: <4AB9638B.8040607@monkeybrains.net> <4AC318E2.70306@monkeybrains.net> <4AC3DB8F.7010602@monkeybrains.net> <2a41acea0909301556g1df7dbafv813f5924553c8bfb@mail.gmail.com> <4AC5198E.7030609@monkeybrains.net> <4AC51B4C.7080905@monkeybrains.net> <2a41acea0910011450v41590f3dn112f367f26faed2d@mail.gmail.com> <4AC64835.3060107@monkeybrains.net> <2a41acea0910021237w415efa2cs4354a0f99aef8f6@mail.gmail.com> <4AC66437.4040704@monkeybrains.net> X-Pgp-Agent: GPGMail 1.2.0 (v56) X-Mailer: Apple Mail (2.936) Cc: freebsd-stable@freebsd.org Subject: Re: em0 watchdog timeouts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2009 14:19:10 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-13--580249135 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hi, I've been struggling with watchdog timeouts in 7.1/7.2-RELEASE for the past 6months too. It looks related. I've tried to replace the hardware 3 times (2 different IBM x3755 chassis, one IBM x3650 chassis). I tried first with onboard broadcom NICs (bce-based) PCIx-based, until I had issues with "watchdog timeout". I tried replacing it with a 4-port pci-x Intel NIC, which gave me same problems. I was told that the 4-port intel NICs had an onboard bus- controller, that could cause trouble, so I replaced this with a 2-port PCI-e intel, which I was told by a Sepherosa Ziehau was the best performing gig-e NIC (rx/tx). Still getting watchdog timeouts, I tried upgrading all sort of sysctls I found in mailing-list threads (disable msi/msix interrupts, adjust rx/tx processing, etc, etc). I tried upgrading BIOS, firmware on all kinds of stuff (disks, BMC, etc, etc) to newest version. I also tried using a different qlogic isp(4) FC-controller (PCI-e). No matter what I tried, I could not diagnose this problem, or at least fix it. Also it happened rarely enough, to not be easy to debugging. I would get a series of "watchdog timeout -- resetting", until the NIC would go completly offline - at the point I'd reboot it from console. This happened about once every 1-10 days, usually about 11-13:00. This machine has now been replaced with Linux, unfortunately, just to avoid more customer complaints and downtime. The IBM x3755 with FreeBSD7.2 which was replaced with Linux, is still online, and can be put at disposal for any developers who would like to debug this further. Like Stefan Krueger mentioned, this machine is also running as NFS server, with a mix of BSD and Linux clients, and it's getting hit pretty hard by clients. Hope we can iron this bug out, in the future. Best regards, Daniel Bond. On Oct 2, 2009, at 10:36 PM, Rudy wrote: > > Ah, I'll stop messing with them. > > > I just set them all to 0 to see if that will help and noticed the card > was leaving tx_int_delay=1. > > # sysctl dev.em.4.debug=1 > Oct 2 13:26:07 mango kernel: em4: tx_int_delay = 1, > tx_abs_int_delay = 0 > Oct 2 13:26:07 mango kernel: em4: rx_int_delay = 0, > rx_abs_int_delay = 0 > > # sysctl dev.em.4 > dev.em.4.%desc: Intel(R) PRO/1000 Network Connection 6.9.12 > dev.em.4.rx_int_delay: 0 > dev.em.4.tx_int_delay: 0 > dev.em.4.rx_abs_int_delay: 0 > dev.em.4.tx_abs_int_delay: 0 > > Splitting traffic to different ports has brought down the watchdog > events to once a day. ... essentially, I have a quad 30Mbps (not quad > 1Gbps) card. heheh. > Would turning off net.inet.ip.fastforwarding or any other setting > help? > > Today, I set net.inet.ip.fw.enable=0 and I'll see if that helps. I > have > a feeling that isn't related to the NIC at all, but I'm not sure what > else to try. > > Rudy > > > > Jack Vogel wrote: >> Watchdog resets the adapter. Messing with these values is of >> dubious value >> anyway. >> >> Jack >> >> >> On Fri, Oct 2, 2009 at 11:36 AM, Rudy >> wrote: >> >> >>> I noticed something interesting. >>> >>> I set the rc_int_delay to 0: >>> sysctl dev.em.5.rx_int_delay=0 >>> >>> Chcking via sysctl dev.em.5.debug=1 shows ex_int_delay is indeed 0: >>> Oct 1 17:32:41 mango kernel: em5: rx_int_delay = 0, >>> rx_abs_int_delay = 66 >>> >>> After a watchdog event, sysctl dev.em.5.debug=1 shows ex_int_delay >>> is >>> now 32: >>> Oct 2 11:29:49 mango kernel: em5: rx_int_delay = 32, >>> rx_abs_int_delay = >>> 66 >>> >>> However, running sysctl dev.em.5 shows it as 0: >>> dev.em.5.rx_int_delay: 0 >>> dev.em.5.tx_int_delay: 66 >>> >>> Seems like the adapter and the kernel don't agree on the >>> rx_int_delay >>> value. >>> >>> Rudy >>> >>> >> >> > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org > " --Apple-Mail-13--580249135 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.11 (Darwin) iEYEARECAAYFAkrKAFsACgkQF4Ca8+3pySUChwCeP0yHBmX4PGFqbHvgb6oULPyc kaIAnRRsVPnwB3/qf+DmenXyzyfC6yFn =lWQb -----END PGP SIGNATURE----- --Apple-Mail-13--580249135-- From owner-freebsd-stable@FreeBSD.ORG Mon Oct 5 14:48:39 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54A22106566B for ; Mon, 5 Oct 2009 14:48:39 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by mx1.freebsd.org (Postfix) with ESMTP id 006C28FC13 for ; Mon, 5 Oct 2009 14:48:38 +0000 (UTC) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.14.3/8.14.3) with ESMTP id n95EmVcd025214; Mon, 5 Oct 2009 10:48:31 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <200910051448.n95EmVcd025214@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Mon, 05 Oct 2009 10:48:37 -0400 To: Andre Albsmeier , "Bjoern A. Zeeb" From: Mike Tancsa In-Reply-To: <20091004164756.GA6021@curry.mchp.siemens.de> References: <20091003184220.GA2620@curry.mchp.siemens.de> <20091003212308.GA3122@curry.mchp.siemens.de> <20091003215821.V26486@maildrop.int.zabbadoz.net> <20091004164756.GA6021@curry.mchp.siemens.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: jhell , stable@freebsd.org, Andre Albsmeier Subject: Re: security.bsd.map_at_zero=0 problem with samba33 (including solution) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2009 14:48:39 -0000 At 12:47 PM 10/4/2009, Andre Albsmeier wrote: >On Sat, 03-Oct-2009 at 22:27:39 +0000, Bjoern A. Zeeb wrote: > > On Sat, 3 Oct 2009, Andre Albsmeier wrote: > > > > Hi, > > > > > On Sat, 03-Oct-2009 at 16:27:32 -0400, jhell wrote: > > >> On Sat, 3 Oct 2009 14:42 -0000, Andre.Albsmeier wrote: > > >> > > >>> FYI, > > >>> > > >>> after setting security.bsd.map_at_zero to 0 on 7.2-STABLE all > > >>> samba33 programmes did abort() immediately after start. The > > >>> solution was to use > > >>> > > >>> CONFIGURE_ARGS+= --disable-pie > > >>> > > >>> -Andre > > >>> > > >> > > >> To add an additional note samba33 even when not running (not > enabled by a rcvar) > > >> also runs a tdbcleanup routine on shutdown and/or start that also does > > >> abort(). > > > > > > Yes, every samba programme is linked with -pie per default (so > > > all abort()). > > > > > > Thanks for reporting the issue. People are aware of the problem now > > and we'll try to present a solution within the next days for better > > position-independent executable (PIE) handling. > > > > Meanwhile there are multiple solutions for people affected: > > > > (1) recompile the port; but as more than just samba might be affected > > and we generally do not want to flip the pie switch everywhere that's > > probably only a temporary, private solution. > >I'll stick to this since I am happy about having the map_at_zero >option and want to continue to try it out on 7.2-STABLE. And I >see now reason why samba has to be linked with -pie (without -pie >it is also 4% smaller). Hi, What are the impacts (if any) of compiling all the ports with PIE disabled that are effected by setting security.bsd.map_at_zero=0 ? ---Mike -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike From owner-freebsd-stable@FreeBSD.ORG Mon Oct 5 16:44:07 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7E6D10656A4 for ; Mon, 5 Oct 2009 16:44:07 +0000 (UTC) (envelope-from rblayzor.bulk@inoc.net) Received: from mail3.albyny.inoc.net (mail3.albyny.inoc.net [64.22.32.73]) by mx1.freebsd.org (Postfix) with ESMTP id 7783D8FC1D for ; Mon, 5 Oct 2009 16:44:07 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=inoc.net; h=Received:Subject:From:Date:To; b=3/usiLagRMPDLQtqnCYJmn17KHl7cP6ls0RydF2Tkqx2pv6DnVVFKdv74ObF7+8bsMVfj3k3IIsfpCMgzueEriJI7dNne63x+feGb8yc9o5AGQnnlguKXlUwe9WldLsUMkUpbdH5jX3zqb4fQuwvL+WlBz3iesU00IlU1K8dQDE=; X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=vanguard.noc.albyny.inoc.net; Received: from void.ops.inoc.net (vanguard.noc.albyny.inoc.net [64.246.135.8]) by mail3.albyny.inoc.net (build v9.8.2) with ESMTP id 2368067-1941382 for multiple; Mon, 05 Oct 2009 16:28:02 +0000 Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes From: Robert Blayzor In-Reply-To: <4AC66437.4040704@monkeybrains.net> Date: Mon, 5 Oct 2009 12:28:02 -0400 Content-Transfer-Encoding: 7bit Message-Id: References: <4AB9638B.8040607@monkeybrains.net> <4AC318E2.70306@monkeybrains.net> <4AC3DB8F.7010602@monkeybrains.net> <2a41acea0909301556g1df7dbafv813f5924553c8bfb@mail.gmail.com> <4AC5198E.7030609@monkeybrains.net> <4AC51B4C.7080905@monkeybrains.net> <2a41acea0910011450v41590f3dn112f367f26faed2d@mail.gmail.com> <4AC64835.3060107@monkeybrains.net> <2a41acea0910021237w415efa2cs4354a0f99aef8f6@mail.gmail.com> <4AC66437.4040704@monkeybrains.net> To: Rudy X-Mailer: Apple Mail (2.1076) Cc: freebsd-stable@freebsd.org Subject: Re: em0 watchdog timeouts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2009 16:44:07 -0000 On Oct 2, 2009, at 4:36 PM, Rudy wrote: > Today, I set net.inet.ip.fw.enable=0 and I'll see if that helps. I > have > a feeling that isn't related to the NIC at all, but I'm not sure what > else to try. Just curious, have you tried (or are you using) device polling? -- Robert Blayzor, BOFH INOC, LLC rblayzor@inoc.net http://www.inoc.net/~rblayzor/ From owner-freebsd-stable@FreeBSD.ORG Mon Oct 5 16:55:07 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACEA01065670 for ; Mon, 5 Oct 2009 16:55:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [195.88.108.3]) by mx1.freebsd.org (Postfix) with ESMTP id 3DF548FC08 for ; Mon, 5 Oct 2009 16:55:07 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id F0D6141C6FC; Mon, 5 Oct 2009 18:55:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([195.88.108.3]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id Yw+lEYzWJQa7; Mon, 5 Oct 2009 18:55:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id 7702941C6F2; Mon, 5 Oct 2009 18:55:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 92D1F4448E6; Mon, 5 Oct 2009 16:50:59 +0000 (UTC) Date: Mon, 5 Oct 2009 16:50:59 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Mike Tancsa In-Reply-To: <200910051448.n95EmVcd025214@lava.sentex.ca> Message-ID: <20091005163052.Q5956@maildrop.int.zabbadoz.net> References: <20091003184220.GA2620@curry.mchp.siemens.de> <20091003212308.GA3122@curry.mchp.siemens.de> <20091003215821.V26486@maildrop.int.zabbadoz.net> <20091004164756.GA6021@curry.mchp.siemens.de> <200910051448.n95EmVcd025214@lava.sentex.ca> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: jhell , stable@freebsd.org, Andre Albsmeier Subject: Re: security.bsd.map_at_zero=0 problem with samba33 (including solution) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2009 16:55:07 -0000 On Mon, 5 Oct 2009, Mike Tancsa wrote: Hi Mike, >> > Thanks for reporting the issue. People are aware of the problem now >> > and we'll try to present a solution within the next days for better >> > position-independent executable (PIE) handling. >> > >> > Meanwhile there are multiple solutions for people affected: >> > >> > (1) recompile the port; but as more than just samba might be affected >> > and we generally do not want to flip the pie switch everywhere >> that's >> > probably only a temporary, private solution. >> >> I'll stick to this since I am happy about having the map_at_zero >> option and want to continue to try it out on 7.2-STABLE. And I >> see now reason why samba has to be linked with -pie (without -pie >> it is also 4% smaller). > > Hi, > What are the impacts (if any) of compiling all the ports with PIE disabled > that are effected by setting security.bsd.map_at_zero=0 ? Basically in first place compared to yesterday, there is no impact if you do it privately as it will not make much, if any, difference as PIE support in FreeBSD so far has basically been non-existent and was more working out of luck, according to my current understanding. Actually there is a slight difference that I should mention. With PIE valid user code is currently mapped at virtual address 0. That's why it started to fail for people setting map_at_zero to 0. So NULL pointer dereferences in applications like samba will not lead to the obvious error but will point at something, which in that case usually will be garbage and the application will either not work as intended (well that's alsready the case with a NULL derefernce;) or crash in random code (as a later consequence of the NULL deref). In the future though, it seems we will support PIE and in that case you'll get mappings at different place, in the end ideally slightly random so that it'll be hard to exploit the code itself as people no longer can easily pre-guess where things are in virtual memory. Disbaling PIE now means, that this will not happen later but you'll have the fixed (entry point) address, unless you recompile the ports again. I said, no impact if you do it privately above; the problems for the ports crew here are: 1) the entire set of ports affected by PIE is unidentified. 2) they build packages for 6/7 and 8, if not yet 9 as well soon for multiple architectures and cannot just rebuild everything. 3) they can especially not just rebuild the package set for the upcoming 8.0-RELEASE (don't ask, I don't know when it'll happen;). 4) basically they shouldn't need to care about which way the port (read the package as released by its devlepors) choses to be compiled by default. I do not have strong arguments if PIE makes a lot of sense but it seems that for the long term we'll have to support it, as parts of the other world support it as well, and once we support it even old packages will then continue to work even if people disable mapping_at_zero or if the release by default does that. /bz -- Bjoern A. Zeeb It will not break if you know what you are doing. From owner-freebsd-stable@FreeBSD.ORG Mon Oct 5 16:57:50 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7355106568D for ; Mon, 5 Oct 2009 16:57:50 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-yw0-f197.google.com (mail-yw0-f197.google.com [209.85.211.197]) by mx1.freebsd.org (Postfix) with ESMTP id 7BCE98FC12 for ; Mon, 5 Oct 2009 16:57:50 +0000 (UTC) Received: by ywh35 with SMTP id 35so12992510ywh.7 for ; Mon, 05 Oct 2009 09:57:49 -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:cc:content-type; bh=bti2Pk9dUCkS0oQ4beUvIiBNb1gWXX0SLc78/tpSIpI=; b=qL/Ci/QMqNmVSe4+DJrAA5jx2OwXe8u24j57MnKEfJlSlsVNt3y2tGJ+iKlicAJb4b A4Sxjqb4WnQ8xRJ7b0eGX+U6EVjWUNK3clXQlipIZC8nIc8amEbh+tomx32OZiBEc6qh 0dchSFaaDi6rjvwpko15NYKc7jV3cgikqv5BQ= 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 :cc:content-type; b=BgkffpcwJB85IG00PJsfpwZDmcngbXUWHIvhxkLaRgpVU9jOlTGKXhEc3uA4zle7aP LXDQfJ8KhBJWwuz8O1duuYQy9FnYJRjYoj/a1lt4AaPcn101ZkKZjH3QqKJrqYhXsT3V pywoT5KdqhVUCns8TBFczmBJRezERWF7XzZuE= MIME-Version: 1.0 Received: by 10.101.105.8 with SMTP id h8mr279442anm.79.1254761869561; Mon, 05 Oct 2009 09:57:49 -0700 (PDT) In-Reply-To: <6194E9BC-3A3D-4941-A777-88C7411905B0@danielbond.org> References: <4AB9638B.8040607@monkeybrains.net> <4AC3DB8F.7010602@monkeybrains.net> <2a41acea0909301556g1df7dbafv813f5924553c8bfb@mail.gmail.com> <4AC5198E.7030609@monkeybrains.net> <4AC51B4C.7080905@monkeybrains.net> <2a41acea0910011450v41590f3dn112f367f26faed2d@mail.gmail.com> <4AC64835.3060107@monkeybrains.net> <2a41acea0910021237w415efa2cs4354a0f99aef8f6@mail.gmail.com> <4AC66437.4040704@monkeybrains.net> <6194E9BC-3A3D-4941-A777-88C7411905B0@danielbond.org> Date: Mon, 5 Oct 2009 09:57:49 -0700 Message-ID: <2a41acea0910050957x2d085e90w2ebea7f9eb87c3e4@mail.gmail.com> From: Jack Vogel To: Daniel Bond Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org, Rudy Subject: Re: em0 watchdog timeouts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2009 16:57:50 -0000 This posting just muddies the issue, first you talk about having a problem that involves Broadcom, ok, so post about that on something other than em :) Then you make some references to hardware that you "might have bought" but didn't, I'm not about debugging 'possible worlds problems' though so can't help you there either :) Finally you never say what the actual hardware is, other than a person who I do not know told you it was the best performer... so, what exactly is it? You have a problem once every 10 days, and at a specific time no less, this almost always means something in your environment, a cron job run amok, a piece of hardware that resets, I dunno, but the last thing I would suspect given this description is the driver. You need a good sysadmin for this debugging I would venture, not a driver developer. Jack On Mon, Oct 5, 2009 at 7:19 AM, Daniel Bond wrote: > Hi, > > I've been struggling with watchdog timeouts in 7.1/7.2-RELEASE for the past > 6months too. It looks related. > > I've tried to replace the hardware 3 times (2 different IBM x3755 chassis, > one IBM x3650 chassis). > I tried first with onboard broadcom NICs (bce-based) PCIx-based, until I > had issues with "watchdog timeout". > > I tried replacing it with a 4-port pci-x Intel NIC, which gave me same > problems. I was told that the 4-port intel NICs had an onboard > bus-controller, that > could cause trouble, so I replaced this with a 2-port PCI-e intel, which I > was told by a Sepherosa Ziehau was the best performing gig-e NIC (rx/tx). > > Still getting watchdog timeouts, I tried upgrading all sort of sysctls I > found in mailing-list threads (disable msi/msix interrupts, adjust rx/tx > processing, etc, etc). > I tried upgrading BIOS, firmware on all kinds of stuff (disks, BMC, etc, > etc) to newest version. I also tried using a different qlogic isp(4) > FC-controller (PCI-e). > > No matter what I tried, I could not diagnose this problem, or at least fix > it. Also it happened rarely enough, to not be easy to debugging. I would get > a series of "watchdog timeout -- resetting", until the NIC would go > completly offline - at the point I'd reboot it from console. > > This happened about once every 1-10 days, usually about 11-13:00. This > machine has now been replaced with Linux, unfortunately, just to avoid more > customer complaints and downtime. The IBM x3755 with FreeBSD7.2 which was > replaced with Linux, is still online, and > can be put at disposal for any developers who would like to debug this > further. > > Like Stefan Krueger mentioned, this machine is also running as NFS server, > with a mix of BSD and Linux clients, and it's getting hit pretty hard by > clients. > > > Hope we can iron this bug out, in the future. > > > Best regards, > > > Daniel Bond. > > > > > On Oct 2, 2009, at 10:36 PM, Rudy wrote: > > >> Ah, I'll stop messing with them. >> >> >> I just set them all to 0 to see if that will help and noticed the card >> was leaving tx_int_delay=1. >> >> # sysctl dev.em.4.debug=1 >> Oct 2 13:26:07 mango kernel: em4: tx_int_delay = 1, tx_abs_int_delay = 0 >> Oct 2 13:26:07 mango kernel: em4: rx_int_delay = 0, rx_abs_int_delay = 0 >> >> # sysctl dev.em.4 >> dev.em.4.%desc: Intel(R) PRO/1000 Network Connection 6.9.12 >> dev.em.4.rx_int_delay: 0 >> dev.em.4.tx_int_delay: 0 >> dev.em.4.rx_abs_int_delay: 0 >> dev.em.4.tx_abs_int_delay: 0 >> >> Splitting traffic to different ports has brought down the watchdog >> events to once a day. ... essentially, I have a quad 30Mbps (not quad >> 1Gbps) card. heheh. >> Would turning off net.inet.ip.fastforwarding or any other setting help? >> >> Today, I set net.inet.ip.fw.enable=0 and I'll see if that helps. I have >> a feeling that isn't related to the NIC at all, but I'm not sure what >> else to try. >> >> Rudy >> >> >> >> Jack Vogel wrote: >> >>> Watchdog resets the adapter. Messing with these values is of dubious >>> value >>> anyway. >>> >>> Jack >>> >>> >>> On Fri, Oct 2, 2009 at 11:36 AM, Rudy wrote: >>> >>> >>> I noticed something interesting. >>>> >>>> I set the rc_int_delay to 0: >>>> sysctl dev.em.5.rx_int_delay=0 >>>> >>>> Chcking via sysctl dev.em.5.debug=1 shows ex_int_delay is indeed 0: >>>> Oct 1 17:32:41 mango kernel: em5: rx_int_delay = 0, rx_abs_int_delay = >>>> 66 >>>> >>>> After a watchdog event, sysctl dev.em.5.debug=1 shows ex_int_delay is >>>> now 32: >>>> Oct 2 11:29:49 mango kernel: em5: rx_int_delay = 32, rx_abs_int_delay = >>>> 66 >>>> >>>> However, running sysctl dev.em.5 shows it as 0: >>>> dev.em.5.rx_int_delay: 0 >>>> dev.em.5.tx_int_delay: 66 >>>> >>>> Seems like the adapter and the kernel don't agree on the rx_int_delay >>>> value. >>>> >>>> Rudy >>>> >>>> >>>> >>> >>> >> _______________________________________________ >> freebsd-stable@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >> > > From owner-freebsd-stable@FreeBSD.ORG Mon Oct 5 17:06:28 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E44001065670; Mon, 5 Oct 2009 17:06:27 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-ew0-f208.google.com (mail-ew0-f208.google.com [209.85.219.208]) by mx1.freebsd.org (Postfix) with ESMTP id 410AD8FC16; Mon, 5 Oct 2009 17:06:26 +0000 (UTC) Received: by ewy4 with SMTP id 4so3015466ewy.7 for ; Mon, 05 Oct 2009 10:06:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:cc :subject:in-reply-to:message-id:references:user-agent :x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; bh=py64IPYzHmimKL2OKOTXzEscMaEyuaDHHiRaVMdFCJ8=; b=SR62EGjeFuoJj9vYxnFyCzYyegPKPE8Ws5/b2p76qbwTcSHMXgrOvnIg6A9U+Vuf81 F4a/y3kPtEdMOA6xJoJlCm27k49Z4sNBNs89ZGUjb2tMN/U1YAHIiC4Jei+iIJVfzy6K /NsjtJ/uln/ld5OQNEzqTR635uazVzpKeodZ4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; b=rqgx7IOPCN5yVNYjYy90XSdNdZ8Eahux0Vo3QLtmYszofEp7DGTwOmLadPufPpjZUk Jge4BJnoWyeQgY0g4ZemNjFHOhb9piA7xhYyGEZtM9+gHM9NKvro1mxBQ4uR8hWrxrux TYuZqw6oG1mHwXoguIFfSigMJzWh+hJZy54i0= Received: by 10.211.158.8 with SMTP id k8mr260562ebo.38.1254762386208; Mon, 05 Oct 2009 10:06:26 -0700 (PDT) Received: from dimension.5p.local (adsl-99-35-15-84.dsl.klmzmi.sbcglobal.net [99.35.15.84]) by mx.google.com with ESMTPS id 5sm16624eyh.24.2009.10.05.10.06.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 05 Oct 2009 10:06:25 -0700 (PDT) Sender: "J. Hellenthal" Date: Mon, 5 Oct 2009 13:06:15 -0400 From: jhell To: Doug Barton In-Reply-To: <4AC8F27C.8070208@FreeBSD.org> Message-ID: References: <20091003184220.GA2620@curry.mchp.siemens.de> <20091003212308.GA3122@curry.mchp.siemens.de> <20091003215821.V26486@maildrop.int.zabbadoz.net> <4AC8F27C.8070208@FreeBSD.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: "Bjoern A. Zeeb" , stable@freebsd.org, Andre Albsmeier , jhell Subject: Re: security.bsd.map_at_zero=0 problem with samba33 (including solution) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2009 17:06:28 -0000 On Sun, 4 Oct 2009 12:07 -0700, dougb@ wrote: > Bjoern A. Zeeb wrote: >> On Sat, 3 Oct 2009, Andre Albsmeier wrote: >> >> Hi, >> >>> On Sat, 03-Oct-2009 at 16:27:32 -0400, jhell wrote: >>>> On Sat, 3 Oct 2009 14:42 -0000, Andre.Albsmeier wrote: >>>> >>>>> FYI, >>>>> >>>>> after setting security.bsd.map_at_zero to 0 on 7.2-STABLE all >>>>> samba33 programmes did abort() immediately after start. The >>>>> solution was to use >>>>> >>>>> CONFIGURE_ARGS+= --disable-pie >>>>> >>>>> -Andre >>>>> >>>> >>>> To add an additional note samba33 even when not running (not enabled >>>> by a rcvar) >>>> also runs a tdbcleanup routine on shutdown and/or start that also does >>>> abort(). >>> >>> Yes, every samba programme is linked with -pie per default (so >>> all abort()). >> >> >> Thanks for reporting the issue. People are aware of the problem now >> and we'll try to present a solution within the next days for better >> position-independent executable (PIE) handling. >> >> Meanwhile there are multiple solutions for people affected: >> >> (1) recompile the port; > > Just to be clear, you have to recompile the port with --disable-pie > added to the CONFIGURE_ARGS in the Makefile. > > It would also be nice if there were a __FreeBSD_version bump for this > new feature. > > > Doug > > Just to add on to this for those that may be wondering what they can do to solve this for just the ports infrastructure in the mean time. You may add the following to /etc/make.conf .if ${.CURDIR:M/usr/ports*} CONFIGURE_ARGS+= --disable-pie .endif This is assuming that you have your ports installed in the standard place of /usr/ports. If not you may adjust the match accordingly. This could also be extended to individual ports or substructures of your liking so that you are not adding those configure arguments to every port under the sun. Keep in mind, this should be followed carefully and not expected to be a full workaround as a greater solution still lies in wait. Best regards. -- %{----------------------------------------------------+ | dataix.net!jhell 2048R/89D8547E 2009-09-30 | | BSD since FreeBSD 4.2 Linux since Slackware 2.1 | | 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E | +----------------------------------------------------%} From owner-freebsd-stable@FreeBSD.ORG Mon Oct 5 17:33:35 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF9C1106568F for ; Mon, 5 Oct 2009 17:33:35 +0000 (UTC) (envelope-from lehmann@ans-netz.de) Received: from avocado.salatschuessel.net (avocado.salatschuessel.net [78.111.72.186]) by mx1.freebsd.org (Postfix) with SMTP id 14F8B8FC1B for ; Mon, 5 Oct 2009 17:33:34 +0000 (UTC) Received: (qmail 85725 invoked by uid 89); 5 Oct 2009 17:33:32 -0000 Received: from unknown (HELO kartoffel.salatschuessel.net) (78.111.72.187) by avocado.salatschuessel.net with SMTP; 5 Oct 2009 17:33:32 -0000 Date: Mon, 5 Oct 2009 19:33:40 +0200 From: Oliver Lehmann To: Pawel Jakub Dawidek Message-Id: <20091005193340.cd84f0ec.lehmann@ans-netz.de> In-Reply-To: <20090928184926.GA2016@garage.freebsd.pl> References: <20090927170244.0980d699.lehmann@ans-netz.de> <20090927223725.5893371f.lehmann@ans-netz.de> <20090928084035.GB1659@garage.freebsd.pl> <20090928203756.ef70e0c6.lehmann@ans-netz.de> <20090928184926.GA2016@garage.freebsd.pl> X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; amd64-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: =?UTF-8?B?U23DuHJncmF2?= , Dag-Erling, freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: glabel+gmirror (8.0-RC1 problem) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2009 17:33:35 -0000 Pawel Jakub Dawidek wrote: > On Mon, Sep 28, 2009 at 08:37:56PM +0200, Oliver Lehmann wrote: > > Hi Pawel, > > > > Pawel Jakub Dawidek wrote: > > > > > Does anything change between you upgrade from BETA3 and RC1? For example > > > gmirror was compiled into the kernel before and now is loaded as module > > > or something similar? > > > > Nope, it was a clean BETA3 installation with the default GENERIC kernel > > which has afaik geom_label in kernel, but not geom_mirror (nevertheless I > > loaded geom_label.ko at boottime as well as geom_mirror) > > The same with RC1 - clean and fresh installation with the default GENERIC > > kernel and geom_label in kernel (default), but still loaded as module at > > boottime as well as geom_mirror. > > > > > Could you test this patch: > > > > > > http://people.freebsd.org/~pjd/patches/improved_taste.patch > > > > This makes gmirror+glabel work again on RC1 > > Thanks for confirmation. gjorunal is also affected. I tried to use one partition of my gmirror disk as journal device for my 3ware raid-5 device which works until I reboot - the journal is then gone as well. Is this patch likly to fix this as well? Will it be included in a future RC? Until now I've stayed away using glabel+gmirror but I didn't knew that gjournal is affected as well so I'm now left with warning that the journal provider is gone wile booting - and more tragically I'm left without journaling at all (which hurts on a 2.7TB partition when the system was not cleanly shut down) -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/ From owner-freebsd-stable@FreeBSD.ORG Mon Oct 5 17:42:23 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFC491065676 for ; Mon, 5 Oct 2009 17:42:22 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA02.westchester.pa.mail.comcast.net (qmta02.westchester.pa.mail.comcast.net [76.96.62.24]) by mx1.freebsd.org (Postfix) with ESMTP id 9F3198FC2E for ; Mon, 5 Oct 2009 17:42:22 +0000 (UTC) Received: from OMTA20.westchester.pa.mail.comcast.net ([76.96.62.71]) by QMTA02.westchester.pa.mail.comcast.net with comcast id oyka1c0021YDfWL525V7iF; Mon, 05 Oct 2009 17:29:07 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by OMTA20.westchester.pa.mail.comcast.net with comcast id p5Zc1c00F3S48mS3g5ZcgY; Mon, 05 Oct 2009 17:33:37 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id F3BC033C43; Mon, 5 Oct 2009 10:29:04 -0700 (PDT) Date: Mon, 5 Oct 2009 10:29:04 -0700 From: Jeremy Chadwick To: freebsd-stable@freebsd.org Message-ID: <20091005172904.GA56362@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Still possible to panic RELENG_7 with ZFS (kmem exhaustion)? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2009 17:42:23 -0000 (Note: please keep me CC'd, as I am not subscribed to freebsd-stable) Is it still possible with ZFS to panic a RELENG_7 amd64 box (kernel/world from recent[1] source) with "kmem map too small" or similar conditions? Why I ask: Our production SQL/backup box kernel panic'd a couple days ago. Sadly, the box also acts as a serial console server, so I don't have the exact message spit back from the kernel prior to being dumped to DDB, but the backtrace looks very much like the historic problem of the ZFS ARC exhausting all kernel memory, so I'm betting the message prior to being dumped to DDB was "kmem map too small": db> bt Tracing pid 40738 tid 100168 td 0xffffff001f078720 kdb_enter_why() at kdb_enter_why+0x3d panic() at panic+0x176 kmem_malloc() at kmem_malloc+0x548 uma_large_malloc() at uma_large_malloc+0x3c malloc() at malloc+0xc1 arc_get_data_buf() at arc_get_data_buf+0x1bb arc_buf_alloc() at arc_buf_alloc+0xa1 arc_read_nolock() at arc_read_nolock+0xd1 arc_read() at arc_read+0x71 dbuf_prefetch() at dbuf_prefetch+0x135 dmu_zfetch_dofetch() at dmu_zfetch_dofetch+0xe3 dmu_zfetch() at dmu_zfetch+0xa58 dbuf_read() at dbuf_read+0x433 dmu_buf_hold_array_by_dnode() at dmu_buf_hold_array_by_dnode+0x119 dmu_buf_hold_array() at dmu_buf_hold_array+0x57 dmu_read_uio() at dmu_read_uio+0x3f zfs_freebsd_read() at zfs_freebsd_read+0x55a vn_read() at vn_read+0x1ef dofileread() at dofileread+0x88 kern_readv() at kern_readv+0x43 read() at read+0x4d syscall() at syscall+0x247 Xfast_syscall() at Xfast_syscall+0xab The machine in question has absolutely no loader.conf tuning applied, and kernel/world was built from RELENG_7 dated 2009/06/11. The ZFS pool consisted of a single (entire) disk; nothing special. I do not have sysctl counters from the box before it panic'd, but these are what are active presently: hw.physmem: 4286558208 vm.kmem_size_max: 329853485875 vm.kmem_size_min: 0 vm.kmem_size: 1381478400 With regards to the above counters: ZFS is not in use. I had to switch back to UFS2 (zpool destroy + newfs -O2 -U...) because of stability concerns relating to the question at hand. If someone familiar with the FreeBSD ZFS internals, and/or the VM, please make a statement I think it would beneficial to those who are considering using/migrating to ZFS on FreeBSD. The only "semi-official" statements I've read as of late are here: http://lists.freebsd.org/pipermail/freebsd-stable/2009-September/051810.html http://lists.freebsd.org/pipermail/freebsd-stable/2009-September/051830.html And what's in src/UPDATING: 20090207: ZFS users on amd64 machines with 4GB or more of RAM should reevaluate their need for setting vm.kmem_size_max and vm.kmem_size manually. In fact, after recent changes to the kernel, the default value of vm.kmem_size is larger than the suggested manual setting in most ZFS/FreeBSD tuning guides. Thanks! [1]: "Recent" means post-February 2009, specifically after Alan Cox's commits listed here: http://svn.freebsd.org/changeset/base/188291 http://svn.freebsd.org/changeset/base/187523 http://svn.freebsd.org/changeset/base/187522 http://svn.freebsd.org/changeset/base/187520 http://svn.freebsd.org/changeset/base/187485 http://svn.freebsd.org/changeset/base/187466 http://svn.freebsd.org/changeset/base/187465 http://svn.freebsd.org/changeset/base/187464 http://svn.freebsd.org/changeset/base/187458 http://svn.freebsd.org/changeset/base/187428 http://svn.freebsd.org/changeset/base/187425 http://svn.freebsd.org/changeset/base/187420 http://svn.freebsd.org/changeset/base/187419 http://svn.freebsd.org/changeset/base/187416 http://svn.freebsd.org/changeset/base/187414 http://svn.freebsd.org/changeset/base/187408 http://svn.freebsd.org/changeset/base/187407 http://svn.freebsd.org/changeset/base/187404 http://svn.freebsd.org/changeset/base/187400 -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Mon Oct 5 19:32:54 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36CB810656A3 for ; Mon, 5 Oct 2009 19:32:54 +0000 (UTC) (envelope-from db@danielbond.org) Received: from bgo1smout1.broadpark.no (bgo1smout1.broadpark.no [217.13.4.94]) by mx1.freebsd.org (Postfix) with ESMTP id 599458FC36 for ; Mon, 5 Oct 2009 19:32:53 +0000 (UTC) MIME-version: 1.0 Received: from bgo1sminn1.broadpark.no ([217.13.4.93]) by bgo1smout1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with ESMTP id <0KR200BOU0T5Q420@bgo1smout1.broadpark.no> for freebsd-stable@freebsd.org; Mon, 05 Oct 2009 20:31:53 +0200 (CEST) Received: from [10.0.0.5] ([89.10.20.96]) by bgo1sminn1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with ESMTP id <0KR2008970T4OSB1@bgo1sminn1.broadpark.no> for freebsd-stable@freebsd.org; Mon, 05 Oct 2009 20:31:53 +0200 (CEST) Message-id: <57F8F331-E823-4F88-BDD5-A8B95A3B4CB6@danielbond.org> From: Daniel Bond To: Jack Vogel In-reply-to: <2a41acea0910050957x2d085e90w2ebea7f9eb87c3e4@mail.gmail.com> Content-type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary=Apple-Mail-3--565055668 Content-transfer-encoding: 7bit Date: Mon, 05 Oct 2009 20:32:14 +0200 References: <4AB9638B.8040607@monkeybrains.net> <4AC3DB8F.7010602@monkeybrains.net> <2a41acea0909301556g1df7dbafv813f5924553c8bfb@mail.gmail.com> <4AC5198E.7030609@monkeybrains.net> <4AC51B4C.7080905@monkeybrains.net> <2a41acea0910011450v41590f3dn112f367f26faed2d@mail.gmail.com> <4AC64835.3060107@monkeybrains.net> <2a41acea0910021237w415efa2cs4354a0f99aef8f6@mail.gmail.com> <4AC66437.4040704@monkeybrains.net> <6194E9BC-3A3D-4941-A777-88C7411905B0@danielbond.org> <2a41acea0910050957x2d085e90w2ebea7f9eb87c3e4@mail.gmail.com> X-Pgp-Agent: GPGMail 1.2.0 (v56) X-Mailer: Apple Mail (2.936) Cc: FreeBSD Stable Subject: Re: em0 watchdog timeouts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2009 19:32:54 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-3--565055668 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hi Jack, I'll comment your mail inline: On Oct 5, 2009, at 6:57 PM, Jack Vogel wrote: > This posting just muddies the issue, first you talk about having a > problem that > involves Broadcom, ok, so post about that on something other than > em :) I only meant to indicate that the problem might exist outside the intel driver. I'm also indicating that it happens with several drivers (bge, bce and em) on several different machines, on both pci-x and pci-e. I'm sorry if this is confusing to you, but I still think it's relevant to mention. > > Then you make some references to hardware that you "might have bought" > but didn't, I'm not about debugging 'possible worlds problems' > though so > can't help you there either :) No. I only made references to hardware I actually used, and had real- world issues with. > > Finally you never say what the actual hardware is, other than a > person who > I do not know told you it was the best performer... so, what exactly > is it? Sepherosa is a guy that writes drivers for BSD based operating systems. Including FreeBSD. He has a lot of knowledge in this area. http://people.freebsd.org/~sephe/ The NIC you are referring to, the one sephe recommended me, is a 82571EB. I didn't mention specific hardware, as I think it's more important to note this is an issue I'm experiencing across different sets of hardware and drivers. > > You have a problem once every 10 days, and at a specific time no > less, > this almost always means something in your environment, a cron job run > amok, a piece of hardware that resets, I dunno, but the last thing I > would > suspect given this description is the driver. This is not what I wrote. I wrote I had a problem every 1-10 days, but it would usually happen once every 3-4 days. At worst, every day in periods. It's not at any specific time. If you read my email correctly, I say it *usually* happens arround 11-13:00, but it has happened at random times too. This is my point exactly. I don't think it's the Intel-driver, I think the problem is elsewhere. I had a suspicion it had to do with the combination of nic + qlogic fc-controller, but I have no evidence of this. > > You need a good sysadmin for this debugging I would venture, not a > driver > developer. What I need is useful advice/help. I never stated I needed a driver developer. I'd like to be able to run my favorite OS on cool hardware, in the future, for a high-performing NFS-server, without problems like I've experienced the past 6months, on a production system. Please note that I'm managing a server-park almost completely based on FreeBSD, and I'm running many NFS servers on other hardware, for other services, without issues. I've seen several other FreeBSD-users having problems with this too, so I think it's of importance for the project. As I mentioned originally, I'm happy to dispose the hardware to any FreeBSD developer that might want to look further into this. Debugging it further is above my skill-set, I don't even know where to begin looking, especially since I can't produce any panics. I'm sorry to say, but your reply was %0 useful, Jack. > > Jack > - Daniel --Apple-Mail-3--565055668 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.11 (Darwin) iEYEARECAAYFAkrKO64ACgkQF4Ca8+3pySXusACfXvo7rHi8Dw/HEePHDv1wb1mS 5pEAoNNif5AYbrkgRcoJrIcYrp0p4kVW =cJSf -----END PGP SIGNATURE----- --Apple-Mail-3--565055668-- From owner-freebsd-stable@FreeBSD.ORG Mon Oct 5 19:40:00 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3CF710656A9 for ; Mon, 5 Oct 2009 19:40:00 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-yw0-f197.google.com (mail-yw0-f197.google.com [209.85.211.197]) by mx1.freebsd.org (Postfix) with ESMTP id 69DEB8FC24 for ; Mon, 5 Oct 2009 19:40:00 +0000 (UTC) Received: by ywh35 with SMTP id 35so13505529ywh.7 for ; Mon, 05 Oct 2009 12:39:59 -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:cc:content-type; bh=NuStorNNX649SLucT/ZOhXBaJWC8JQawmgKJRpEx9ro=; b=E0PezpeG769Mf3VWVxKkf3zPTEchN210itKhNLXYB6jtJbnhg4NMhxYsgFDJXu16Sd rcbRhEGNF4wZMo86F+AOtkUOjQ7EVeP4/+3Yf/qOtK7+JB5WCIHKIEnshd84hFJPFIp2 K1x/7iBrhOjKlVUb5MnggOmkHI7LWUhM35vQg= 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 :cc:content-type; b=KQpZdMiozOzbVpI0rk4/aH3VSeNwluacd1hsv5KSeiL0fyWhw/YRCCBnE0sKMQfrfo Xd+f6utlWOmNZFG+sAabg84pds/y4PA5Qd7yjcelwtKzgRNihJC08X4bZ3u8H+NLv7wC pwjzKt/P2KrGlCU/P4Y3NTh7S78SSC3pi2bgE= MIME-Version: 1.0 Received: by 10.101.107.2 with SMTP id j2mr466852anm.135.1254771599789; Mon, 05 Oct 2009 12:39:59 -0700 (PDT) In-Reply-To: <57F8F331-E823-4F88-BDD5-A8B95A3B4CB6@danielbond.org> References: <4AB9638B.8040607@monkeybrains.net> <4AC5198E.7030609@monkeybrains.net> <4AC51B4C.7080905@monkeybrains.net> <2a41acea0910011450v41590f3dn112f367f26faed2d@mail.gmail.com> <4AC64835.3060107@monkeybrains.net> <2a41acea0910021237w415efa2cs4354a0f99aef8f6@mail.gmail.com> <4AC66437.4040704@monkeybrains.net> <6194E9BC-3A3D-4941-A777-88C7411905B0@danielbond.org> <2a41acea0910050957x2d085e90w2ebea7f9eb87c3e4@mail.gmail.com> <57F8F331-E823-4F88-BDD5-A8B95A3B4CB6@danielbond.org> Date: Mon, 5 Oct 2009 12:39:59 -0700 Message-ID: <2a41acea0910051239w7abad271n607295418fc2537f@mail.gmail.com> From: Jack Vogel To: Daniel Bond Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Stable Subject: Re: em0 watchdog timeouts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2009 19:40:00 -0000 Sorry, its a Monday morning, I was being kinda facetious, guess it didn't work very well :) I apologize. I know it must be annoying for you, its as much so for me when its something I can't just fix because its not reproducible. So, I feel your pain. Will try to restrain my Monday blues in the future. Jack On Mon, Oct 5, 2009 at 11:32 AM, Daniel Bond wrote: > Hi Jack, > > I'll comment your mail inline: > > > On Oct 5, 2009, at 6:57 PM, Jack Vogel wrote: > > This posting just muddies the issue, first you talk about having a problem >> that >> involves Broadcom, ok, so post about that on something other than em :) >> > > I only meant to indicate that the problem might exist outside the intel > driver. > I'm also indicating that it happens with several drivers (bge, bce and em) > on several different machines, on both pci-x and pci-e. > > I'm sorry if this is confusing to you, but I still think it's relevant to > mention. > > >> Then you make some references to hardware that you "might have bought" >> but didn't, I'm not about debugging 'possible worlds problems' though so >> can't help you there either :) >> > > No. I only made references to hardware I actually used, and had real-world > issues with. > > >> Finally you never say what the actual hardware is, other than a person who >> I do not know told you it was the best performer... so, what exactly is >> it? >> > > Sepherosa is a guy that writes drivers for BSD based operating systems. > Including FreeBSD. He has a lot of knowledge in this area. > http://people.freebsd.org/~sephe/ > > The NIC you are referring to, the one sephe recommended me, is a 82571EB. I > didn't mention specific hardware, as I think it's more important > to note this is an issue I'm experiencing across different sets of hardware > and drivers. > > >> You have a problem once every 10 days, and at a specific time no less, >> this almost always means something in your environment, a cron job run >> amok, a piece of hardware that resets, I dunno, but the last thing I would >> suspect given this description is the driver. >> > > This is not what I wrote. I wrote I had a problem every 1-10 days, but it > would usually happen once every 3-4 days. At worst, every day in periods. > > It's not at any specific time. If you read my email correctly, I say it > *usually* happens arround 11-13:00, > but it has happened at random times too. > > This is my point exactly. I don't think it's the Intel-driver, I think the > problem is elsewhere. I had a suspicion it had to do with the combination of > nic + qlogic fc-controller, but I have no evidence of this. > > >> You need a good sysadmin for this debugging I would venture, not a driver >> developer. >> > > What I need is useful advice/help. I never stated I needed a driver > developer. > > I'd like to be able to run my favorite OS on cool hardware, in the future, > for a high-performing NFS-server, without problems like I've experienced the > past 6months, on a production system. > Please note that I'm managing a server-park almost completely based on > FreeBSD, and I'm running many NFS servers on other hardware, for other > services, without issues. > > I've seen several other FreeBSD-users having problems with this too, so I > think it's of importance for the project. As I mentioned originally, I'm > happy to dispose the hardware to any FreeBSD developer > that might want to look further into this. Debugging it further is above my > skill-set, I don't even know where to begin looking, especially since I > can't produce any panics. > > I'm sorry to say, but your reply was %0 useful, Jack. > > >> Jack >> >> > - Daniel > From owner-freebsd-stable@FreeBSD.ORG Mon Oct 5 20:30:02 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 662EA106568F for ; Mon, 5 Oct 2009 20:30:02 +0000 (UTC) (envelope-from byshenknet@byshenk.net) Received: from core.byshenk.net (core.byshenk.net [62.58.73.230]) by mx1.freebsd.org (Postfix) with ESMTP id D5E438FC23 for ; Mon, 5 Oct 2009 20:30:01 +0000 (UTC) Received: from core.byshenk.net (localhost.aoes.com [127.0.0.1]) by core.byshenk.net (8.14.3/8.14.3) with ESMTP id n95K91nJ072482; Mon, 5 Oct 2009 22:09:01 +0200 (CEST) (envelope-from byshenknet@core.byshenk.net) Received: (from byshenknet@localhost) by core.byshenk.net (8.14.3/8.14.3/Submit) id n95K91WL072481; Mon, 5 Oct 2009 22:09:01 +0200 (CEST) (envelope-from byshenknet) Date: Mon, 5 Oct 2009 22:09:00 +0200 From: Greg Byshenk To: Daniel Bond Message-ID: <20091005200900.GE15606@core.byshenk.net> References: <2a41acea0909301556g1df7dbafv813f5924553c8bfb@mail.gmail.com> <4AC5198E.7030609@monkeybrains.net> <4AC51B4C.7080905@monkeybrains.net> <2a41acea0910011450v41590f3dn112f367f26faed2d@mail.gmail.com> <4AC64835.3060107@monkeybrains.net> <2a41acea0910021237w415efa2cs4354a0f99aef8f6@mail.gmail.com> <4AC66437.4040704@monkeybrains.net> <6194E9BC-3A3D-4941-A777-88C7411905B0@danielbond.org> <2a41acea0910050957x2d085e90w2ebea7f9eb87c3e4@mail.gmail.com> <57F8F331-E823-4F88-BDD5-A8B95A3B4CB6@danielbond.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <57F8F331-E823-4F88-BDD5-A8B95A3B4CB6@danielbond.org> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on core.byshenk.net Cc: FreeBSD Stable Subject: Re: em0 watchdog timeouts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2009 20:30:02 -0000 On Mon, Oct 05, 2009 at 08:32:14PM +0200, Daniel Bond wrote: > What I need is useful advice/help. I never stated I needed a driver > developer. > > I'd like to be able to run my favorite OS on cool hardware, in the > future, for a high-performing NFS-server, without problems like I've > experienced the past 6months, on a production system. > Please note that I'm managing a server-park almost completely based on > FreeBSD, and I'm running many NFS servers on other hardware, for other > services, without issues. > > I've seen several other FreeBSD-users having problems with this too, > so I think it's of importance for the project. As I mentioned > originally, I'm happy to dispose the hardware to any FreeBSD developer > that might want to look further into this. Debugging it further is > above my skill-set, I don't even know where to begin looking, > especially since I can't produce any panics. I can give one bit of advice that helped me in a similar situation: check you motherboards. I run about a dozen fileservers on FreeBSD, and have always been very happy with their performance, but some months ago I began to experience problems with one of them. These problems were 'watchdog timeout' errors. Tried all manner of things, different NICs of different types, changing settings, etc., but nothing helped over the long term. At some point, when very heavy i/o was going on to our Beowulf cluster, the 'watchdog timeouts' would begin. What was strange is that other (supposedly identical) machines handled _more_ i/o without a problem. Finally, while doing some comparisons, I realized that the motherboard having the problem was _not_ the same as the others; it was similar, but not identical. I changed the motherboard and all the problems went away, never to reappear. I don't know if it was a specific problem with that particular motherboard, or something about that model, but for whatever reason, it appears that the buses just couldn't handle a RAID card and three active NICs. -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL From owner-freebsd-stable@FreeBSD.ORG Mon Oct 5 20:53:59 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 521E91065693 for ; Mon, 5 Oct 2009 20:53:59 +0000 (UTC) (envelope-from crapsh@monkeybrains.net) Received: from ape.monkeybrains.net (mail.monkeybrains.net [208.69.40.9]) by mx1.freebsd.org (Postfix) with ESMTP id 363818FC12 for ; Mon, 5 Oct 2009 20:53:59 +0000 (UTC) Received: from [208.90.214.10] (rudy.york.monkeybrains.net [208.90.214.10]) (authenticated bits=0) by ape.monkeybrains.net (8.14.3/8.14.1) with ESMTP id n95KrjiE049591 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 5 Oct 2009 13:53:45 -0700 (PDT) (envelope-from crapsh@monkeybrains.net) Message-ID: <4ACA5D1E.10006@monkeybrains.net> Date: Mon, 05 Oct 2009 13:54:54 -0700 From: Rudy User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Greg Byshenk References: <2a41acea0909301556g1df7dbafv813f5924553c8bfb@mail.gmail.com> <4AC5198E.7030609@monkeybrains.net> <4AC51B4C.7080905@monkeybrains.net> <2a41acea0910011450v41590f3dn112f367f26faed2d@mail.gmail.com> <4AC64835.3060107@monkeybrains.net> <2a41acea0910021237w415efa2cs4354a0f99aef8f6@mail.gmail.com> <4AC66437.4040704@monkeybrains.net> <6194E9BC-3A3D-4941-A777-88C7411905B0@danielbond.org> <2a41acea0910050957x2d085e90w2ebea7f9eb87c3e4@mail.gmail.com> <57F8F331-E823-4F88-BDD5-A8B95A3B4CB6@danielbond.org> <20091005200900.GE15606@core.byshenk.net> In-Reply-To: <20091005200900.GE15606@core.byshenk.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.95.1 at pita.monkeybrains.net X-Virus-Status: Clean Cc: Daniel Bond , FreeBSD Stable Subject: Re: em0 watchdog timeouts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2009 20:53:59 -0000 > Finally, while doing some comparisons, I realized that the motherboard > having the problem was _not_ the same as the others; it was similar, but > not identical. This is a good piece of info. I can try swapping out the MB and see what happens. I do want to add: thank you Jack for all your help and if does turn out to be the MB, then double thanks. Viva Monday! :) What would be nice would be MORE info for a watchdog timeout... maybe a sysctl dev.watchdog.debug=1 or something where when a watchdog event happened --- for whatever driver --- a bunch of stats were dumped relating to the event. Rudy From owner-freebsd-stable@FreeBSD.ORG Mon Oct 5 22:16:17 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FBDD1065693 for ; Mon, 5 Oct 2009 22:16:17 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-yw0-f197.google.com (mail-yw0-f197.google.com [209.85.211.197]) by mx1.freebsd.org (Postfix) with ESMTP id DAE678FC17 for ; Mon, 5 Oct 2009 22:16:16 +0000 (UTC) Received: by ywh35 with SMTP id 35so13963218ywh.7 for ; Mon, 05 Oct 2009 15:16:16 -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:cc:content-type; bh=vYgH+FSkxC+g+nKQXyaUSZxik03FJz5xRqXk+TnO8lU=; b=Nxn9Aue2Xn/4lF7QrzJDVNjdKwj4Tf18xNlLAJhZsUJtUff/zNvD5RH+gu4+hoCdAc 7gkME3OYOmOCfwhnFfIXRwQyQRAtFt7PtgiHNF3e24fWdpV9V55zhaVctleJNWNwX/rs JsqPzV6LyijdJQZ+e6hHuGaRV9us2eQOjIvpI= 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 :cc:content-type; b=HyHMljp7+3V38N8zsnUxHh4QPD+sDTMB4OHCqpV0xbxK1+Sg0P+qnfdK0AejIHi0uC Mfbg373Fy2yy3NsQak0ondEUrigdpf5xcBMyPR3E3/f5ft74RsauNHDtQfcRy0D13lXt x75/AfMtiu/w5ZsWyXj6fNgjnuL0LIHA3DcCQ= MIME-Version: 1.0 Received: by 10.101.49.19 with SMTP id b19mr645767ank.146.1254780976045; Mon, 05 Oct 2009 15:16:16 -0700 (PDT) In-Reply-To: <4ACA5D1E.10006@monkeybrains.net> References: <2a41acea0909301556g1df7dbafv813f5924553c8bfb@mail.gmail.com> <2a41acea0910011450v41590f3dn112f367f26faed2d@mail.gmail.com> <4AC64835.3060107@monkeybrains.net> <2a41acea0910021237w415efa2cs4354a0f99aef8f6@mail.gmail.com> <4AC66437.4040704@monkeybrains.net> <6194E9BC-3A3D-4941-A777-88C7411905B0@danielbond.org> <2a41acea0910050957x2d085e90w2ebea7f9eb87c3e4@mail.gmail.com> <57F8F331-E823-4F88-BDD5-A8B95A3B4CB6@danielbond.org> <20091005200900.GE15606@core.byshenk.net> <4ACA5D1E.10006@monkeybrains.net> Date: Mon, 5 Oct 2009 15:16:15 -0700 Message-ID: <2a41acea0910051516n22237511s3c322fe0c1566b1@mail.gmail.com> From: Jack Vogel To: Rudy Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Daniel Bond , FreeBSD Stable , Greg Byshenk Subject: Re: em0 watchdog timeouts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2009 22:16:17 -0000 Hmmm, I did have one of the drivers print more info at watchdog time, but I just looked and that's not em, time to add that I guess. Since you're in the driver there isn't a huge amount of info that you can print, it still may not be enough to help. BTW, I've always been somewhat dissatisfied with the watchdog design and think its kinda flawed, I could try and make you an experimental with debug and some changes that you can try if you'd like. Jack On Mon, Oct 5, 2009 at 1:54 PM, Rudy wrote: > Finally, while doing some comparisons, I realized that the motherboard >> having the problem was _not_ the same as the others; it was similar, but >> not identical. >> > > This is a good piece of info. I can try swapping out the MB and see what > happens. > > I do want to add: thank you Jack for all your help and if does turn out to > be the MB, then double thanks. Viva Monday! :) > > What would be nice would be MORE info for a watchdog timeout... maybe a > sysctl dev.watchdog.debug=1 or something where when a watchdog event > happened --- for whatever driver --- a bunch of stats were dumped relating > to the event. > > Rudy > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-stable@FreeBSD.ORG Mon Oct 5 22:49:16 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E36C1065695 for ; Mon, 5 Oct 2009 22:49:16 +0000 (UTC) (envelope-from db@danielbond.org) Received: from bgo1smout1.broadpark.no (bgo1smout1.broadpark.no [217.13.4.94]) by mx1.freebsd.org (Postfix) with ESMTP id CA4638FC19 for ; Mon, 5 Oct 2009 22:49:15 +0000 (UTC) MIME-version: 1.0 Received: from bgo1sminn1.broadpark.no ([217.13.4.93]) by bgo1smout1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with ESMTP id <0KR200FORCQ3Q4B0@bgo1smout1.broadpark.no>; Tue, 06 Oct 2009 00:49:15 +0200 (CEST) Received: from [10.0.0.5] ([89.10.20.96]) by bgo1sminn1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with ESMTP id <0KR2005DDCQ2MOA2@bgo1sminn1.broadpark.no>; Tue, 06 Oct 2009 00:49:15 +0200 (CEST) Message-id: <460A3E92-37D5-49CA-A079-EC08867B8DD4@danielbond.org> From: Daniel Bond To: Doug Barton In-reply-to: <4ACA6BE8.3000402@FreeBSD.org> Content-type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary=Apple-Mail-6--549614409 Content-transfer-encoding: 7bit Date: Tue, 06 Oct 2009 00:49:36 +0200 References: <20091003121830.GA15170@sorry.mine.nu> <4AC7B690.1060607@gmail.com> <4ACA6BE8.3000402@FreeBSD.org> X-Pgp-Agent: GPGMail 1.2.0 (v56) X-Mailer: Apple Mail (2.936) Cc: FreeBSD Stable Subject: Re: openssh concerns X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2009 22:49:16 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-6--549614409 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hi. I explained my opinion quite well (imo) a bit further down in my previous email. I'm not sure what to answer. I don't necessarily think it's relevant for every computer running sshd. I see a tendency to change sshd port to 2022 and other port numbers. I'm not sure everyone doing it is aware that using unprivileged ports also has consequences, compared to (often) a few harmless logentries. I'd much rather use an privileged port, or mac_portacl(4), like mentioned earlier. Best regards, Daniel. I've noticed quite a bit of suggestions to use 2022, 2222 and such On Oct 5, 2009, at 11:58 PM, Doug Barton wrote: > Daniel Bond wrote: >> However, I'm concerned about the suggestion of using an >> unprivileged port > > Please explain your reasoning, and how it's relevant in a world where > the vast majority of Internet users have complete administrative > control over the systems they use. > > > Doug > > -- > > This .signature sanitized for your protection > > _______________________________________________ > freebsd-security@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-security > To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org > " --Apple-Mail-6--549614409 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.11 (Darwin) iEYEARECAAYFAkrKeAAACgkQF4Ca8+3pySXlWwCghy6voGgDAR7seqtCF3BvlEWV 9a4An2vJPXfxy9g8KlCAcdPunzKF5NPp =PV+w -----END PGP SIGNATURE----- --Apple-Mail-6--549614409-- From owner-freebsd-stable@FreeBSD.ORG Mon Oct 5 23:48:56 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83DE1106566B for ; Mon, 5 Oct 2009 23:48:56 +0000 (UTC) (envelope-from matthew.fleming@isilon.com) Received: from seaxch09.isilon.com (seaxch09.isilon.com [74.85.160.25]) by mx1.freebsd.org (Postfix) with ESMTP id 6C21B8FC0C for ; Mon, 5 Oct 2009 23:48:56 +0000 (UTC) x-mimeole: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Date: Mon, 5 Oct 2009 16:48:55 -0700 Message-ID: <06D5F9F6F655AD4C92E28B662F7F853E03217DCE@seaxch09.desktop.isilon.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: libthr and daemon() Thread-Index: AcpGFmYgHqq4lT7VQTO38LEndzavEQ== From: "Matthew Fleming" To: Subject: libthr and daemon() X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2009 23:48:56 -0000 I have some code that tries to use pthread_cond_wait() and it's getting back EPERM. Upon further investigation, here's what I've found: When the app starts, libthr's _libpthread_init calls init_main_thread() to set the thread id in struct pthread's tid. The app opens a log file then calls daemon(). daemon() calls fork() fork() does not appear to be linked to _fork() in libthr; see below. The app creates a thread to handle signals. The app attempts to wait on a condition variable (pthread_cond_wait(); this gives EPERM). Looking into libthr's cond_wait_common(), it does a THR_UMUTEX_LOCK on the cv's c_lock using the struct pthread from _get_curthread(). Here, curthread points to the pthread struct that got the tid from thr_self on startup. Because of fork() this is the same address in the daemonized app as the original. But curthread->tid is the tid of the original app, not the daemonized version, hence my assumption that fork() didn't resolve to libthr's _fork(). When cond_wait_common() calls into the kernel to actually do the cv_wait, do_unlock_umutex/do_unlock_normal() returns EPERM since the tid does not match. AFAICT this has nothing to do with any code in the app itself. The two things I don't know: 1) what utilities can I use to show me which version of fork will be used at runtime? ldd just shows me that the app is linked against libc and libthr. 2) why would fork resolve to the one in libc (presumably, I'm not sure how to prove this) instead of the one in libthr? Thanks, matthew From owner-freebsd-stable@FreeBSD.ORG Tue Oct 6 00:06:12 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7827C106568B for ; Tue, 6 Oct 2009 00:06:12 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id 38FB18FC12 for ; Tue, 6 Oct 2009 00:06:11 +0000 (UTC) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.3/8.14.3/NETPLEX) with ESMTP id n9606AQa013691; Mon, 5 Oct 2009 20:06:10 -0400 (EDT) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.2.2 (mail.netplex.net [204.213.176.10]); Mon, 05 Oct 2009 20:06:10 -0400 (EDT) Date: Mon, 5 Oct 2009 20:06:10 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Matthew Fleming In-Reply-To: <06D5F9F6F655AD4C92E28B662F7F853E03217DCE@seaxch09.desktop.isilon.com> Message-ID: References: <06D5F9F6F655AD4C92E28B662F7F853E03217DCE@seaxch09.desktop.isilon.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: libthr and daemon() X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Oct 2009 00:06:12 -0000 On Mon, 5 Oct 2009, Matthew Fleming wrote: > I have some code that tries to use pthread_cond_wait() and it's getting > back EPERM. Upon further investigation, here's what I've found: > > When the app starts, libthr's _libpthread_init calls init_main_thread() > to set the thread id in struct pthread's tid. Is the application threaded before calling daemon()? > The app opens a log file then calls daemon(). > daemon() calls fork() > fork() does not appear to be linked to _fork() in libthr; see below. > The app creates a thread to handle signals. > The app attempts to wait on a condition variable (pthread_cond_wait(); > this gives EPERM). Was the condition variable created before daemon() was called? The picture is not clear to me. POSIX states that only async-signal-safe function calls can be made from a child fork()'d from a threaded application. The intent is that the child should soon after call a function in the exec() family. Certainly, any more threaded calls in the child are invalid. -- DE From owner-freebsd-stable@FreeBSD.ORG Tue Oct 6 03:07:35 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1157D1065672 for ; Tue, 6 Oct 2009 03:07:35 +0000 (UTC) (envelope-from crapsh@monkeybrains.net) Received: from ape.monkeybrains.net (mail.monkeybrains.net [208.69.40.9]) by mx1.freebsd.org (Postfix) with ESMTP id E80718FC1B for ; Tue, 6 Oct 2009 03:07:34 +0000 (UTC) Received: from Computer-of-Penelope.local (adsl-76-195-160-241.dsl.pltn13.sbcglobal.net [76.195.160.241]) (authenticated bits=0) by ape.monkeybrains.net (8.14.3/8.14.1) with ESMTP id n9637THx030798 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 5 Oct 2009 20:07:29 -0700 (PDT) (envelope-from crapsh@monkeybrains.net) Message-ID: <4ACAB408.3050202@monkeybrains.net> Date: Mon, 05 Oct 2009 20:05:44 -0700 From: "Rudy (bulk)" User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 To: Jack Vogel References: <2a41acea0909301556g1df7dbafv813f5924553c8bfb@mail.gmail.com> <2a41acea0910011450v41590f3dn112f367f26faed2d@mail.gmail.com> <4AC64835.3060107@monkeybrains.net> <2a41acea0910021237w415efa2cs4354a0f99aef8f6@mail.gmail.com> <4AC66437.4040704@monkeybrains.net> <6194E9BC-3A3D-4941-A777-88C7411905B0@danielbond.org> <2a41acea0910050957x2d085e90w2ebea7f9eb87c3e4@mail.gmail.com> <57F8F331-E823-4F88-BDD5-A8B95A3B4CB6@danielbond.org> <20091005200900.GE15606@core.byshenk.net> <4ACA5D1E.10006@monkeybrains.net> <2a41acea0910051516n22237511s3c322fe0c1566b1@mail.gmail.com> In-Reply-To: <2a41acea0910051516n22237511s3c322fe0c1566b1@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.95.1 at pita.monkeybrains.net X-Virus-Status: Clean Cc: FreeBSD Stable Subject: Re: em0 watchdog timeouts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Oct 2009 03:07:35 -0000 > BTW, I've always been somewhat dissatisfied with the watchdog design and > think > its kinda flawed, I could try and make you an experimental with debug and > some > changes that you can try if you'd like. > I'm game -- it would be nice if the machine still reset the watchdog in 3 seconds and didn't cause any more damage from the debug code (eg a panic). :) My frequency of watchdog events is about 2 or 3 times per day. I am running: Intel(R) PRO/1000 Network Connection 6.9.12 Rudy From owner-freebsd-stable@FreeBSD.ORG Tue Oct 6 12:03:48 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C59E71065693 for ; Tue, 6 Oct 2009 12:03:48 +0000 (UTC) (envelope-from cryx-freebsd@h3q.com) Received: from mail.h3q.com (mail.h3q.com [213.73.89.199]) by mx1.freebsd.org (Postfix) with ESMTP id 101828FC0C for ; Tue, 6 Oct 2009 12:03:47 +0000 (UTC) Received: (qmail 96282 invoked from network); 6 Oct 2009 11:37:05 -0000 Received: from mail.h3q.com (HELO mail.h3q.com) (smtpsend) by mail.h3q.com with AES256-SHA encrypted SMTP; 6 Oct 2009 11:37:05 -0000 Message-ID: <4ACB2BE0.8080809@h3q.com> Date: Tue, 06 Oct 2009 13:37:04 +0200 From: Philipp Wuensche User-Agent: Postbox 1.0.1 (Macintosh/2009100516) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: 8.0-RC1 ZFS-root installscript X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Oct 2009 12:03:48 -0000 Hi, if anyone has some spare empty disks and always wanted to try out a FreeBSD zfs-root installation, feel free to test http://anonsvn.h3q.com/projects/freebsd-patches/export/45/manageBE/create-zfsboot-gpt_livecd.sh. This script will install FreeBSD onto a GPT based ZFS-root from the Fixit console of a 8.0-RC1 livefs-CD, maybe from the memstick too, haven't tested that. As the livefs on the CD does not include any freebsd packages, you need network connection before running the script. You can use more than one disk to create a zfsroot-mirror. All ZFS tuning recommendations do apply. WARNING: this script will remove any data on the disks you use! Feel free to send bugreports to me. greetings, philipp From owner-freebsd-stable@FreeBSD.ORG Tue Oct 6 13:59:43 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CD0D1065676 for ; Tue, 6 Oct 2009 13:59:43 +0000 (UTC) (envelope-from gausus@gausus.net) Received: from dagobah.intersec.pl (dagobah.intersec.pl [91.192.226.10]) by mx1.freebsd.org (Postfix) with ESMTP id 242DE8FC08 for ; Tue, 6 Oct 2009 13:59:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by dagobah.intersec.pl (Postfix) with ESMTP id 91707254004; Tue, 6 Oct 2009 16:10:43 +0200 (CEST) X-Virus-Scanned: amavisd-new at intersec.pl Received: from dagobah.intersec.pl ([127.0.0.1]) by localhost (dagobah.intersec.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pVcNhoHc7hX4; Tue, 6 Oct 2009 16:10:38 +0200 (CEST) Received: from wolverine.local (69-dzi-33.acn.waw.pl [85.222.122.69]) by dagobah.intersec.pl (Postfix) with ESMTP id CE0E6254002; Tue, 6 Oct 2009 16:10:38 +0200 (CEST) Message-ID: <4ACB4D47.6090107@gausus.net> Date: Tue, 06 Oct 2009 15:59:35 +0200 From: Maciej Jan Broniarz User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; pl; rv:1.9.1.4pre) Gecko/20090915 Thunderbird/3.0b4 MIME-Version: 1.0 To: Philipp Wuensche References: <4ACB2BE0.8080809@h3q.com> In-Reply-To: <4ACB2BE0.8080809@h3q.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: 8.0-RC1 ZFS-root installscript X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Oct 2009 13:59:43 -0000 W dniu 09-10-06 13:37, Philipp Wuensche pisze: > Hi, > As the livefs on the CD does not include any freebsd packages, you need > network connection before running the script. Dumb question, but how can I get gpart on livefs? mjb From owner-freebsd-stable@FreeBSD.ORG Tue Oct 6 14:05:46 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08B911065696 for ; Tue, 6 Oct 2009 14:05:46 +0000 (UTC) (envelope-from cryx-freebsd@h3q.com) Received: from mail.h3q.com (mail.h3q.com [213.73.89.199]) by mx1.freebsd.org (Postfix) with ESMTP id 49CAB8FC1B for ; Tue, 6 Oct 2009 14:05:44 +0000 (UTC) Received: (qmail 42258 invoked from network); 6 Oct 2009 14:05:44 -0000 Received: from mail.h3q.com (HELO mail.h3q.com) (smtpsend) by mail.h3q.com with AES256-SHA encrypted SMTP; 6 Oct 2009 14:05:44 -0000 Message-ID: <4ACB4EB7.3080305@h3q.com> Date: Tue, 06 Oct 2009 16:05:43 +0200 From: Philipp Wuensche User-Agent: Postbox 1.0.1 (Macintosh/2009100516) MIME-Version: 1.0 To: Maciej Jan Broniarz References: <4ACB2BE0.8080809@h3q.com> <4ACB4D47.6090107@gausus.net> In-Reply-To: <4ACB4D47.6090107@gausus.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: 8.0-RC1 ZFS-root installscript X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Oct 2009 14:05:46 -0000 Maciej Jan Broniarz wrote: > W dniu 09-10-06 13:37, Philipp Wuensche pisze: >> Hi, > >> As the livefs on the CD does not include any freebsd packages, you need >> network connection before running the script. > > Dumb question, but how can I get gpart on livefs? I'm not sure I understand the question. If you boot a 8.0-RC1 livefs CD, you will have usable gpart in the fixit console. greetings, philipp From owner-freebsd-stable@FreeBSD.ORG Tue Oct 6 15:45:32 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D97AB1065676 for ; Tue, 6 Oct 2009 15:45:32 +0000 (UTC) (envelope-from gausus@gausus.net) Received: from dagobah.intersec.pl (dagobah.intersec.pl [91.192.226.10]) by mx1.freebsd.org (Postfix) with ESMTP id 939558FC1B for ; Tue, 6 Oct 2009 15:45:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by dagobah.intersec.pl (Postfix) with ESMTP id 801E4254004; Tue, 6 Oct 2009 17:56:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at intersec.pl Received: from dagobah.intersec.pl ([127.0.0.1]) by localhost (dagobah.intersec.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x507wG-tQ+OD; Tue, 6 Oct 2009 17:56:30 +0200 (CEST) Received: from wolverine.local (69-dzi-33.acn.waw.pl [85.222.122.69]) by dagobah.intersec.pl (Postfix) with ESMTP id BC256254002; Tue, 6 Oct 2009 17:56:30 +0200 (CEST) Message-ID: <4ACB6616.9000407@gausus.net> Date: Tue, 06 Oct 2009 17:45:26 +0200 From: Maciej Jan Broniarz User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; pl; rv:1.9.1.4pre) Gecko/20090915 Thunderbird/3.0b4 MIME-Version: 1.0 To: Philipp Wuensche References: <4ACB2BE0.8080809@h3q.com> <4ACB4D47.6090107@gausus.net> <4ACB4EB7.3080305@h3q.com> In-Reply-To: <4ACB4EB7.3080305@h3q.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: 8.0-RC1 ZFS-root installscript X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Oct 2009 15:45:32 -0000 W dniu 09-10-06 16:05, Philipp Wuensche pisze: > Maciej Jan Broniarz wrote: >> W dniu 09-10-06 13:37, Philipp Wuensche pisze: >>> Hi, >> >>> As the livefs on the CD does not include any freebsd packages, you need >>> network connection before running the script. >> >> Dumb question, but how can I get gpart on livefs? > > I'm not sure I understand the question. If you boot a 8.0-RC1 livefs CD, > you will have usable gpart in the fixit console. Ok. gpart is not in $PATH. I had to add /dest/sbin to $PATH for the script to work. Still there are some problems. Is there a way to force passive mode in an ftp connection? I keep geting Illegal PORT command during the download phase. Best regards, mjb From owner-freebsd-stable@FreeBSD.ORG Tue Oct 6 15:59:37 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11ABE1065670 for ; Tue, 6 Oct 2009 15:59:37 +0000 (UTC) (envelope-from cryx-freebsd@h3q.com) Received: from mail.h3q.com (mail.h3q.com [213.73.89.199]) by mx1.freebsd.org (Postfix) with ESMTP id 50E898FC17 for ; Tue, 6 Oct 2009 15:59:35 +0000 (UTC) Received: (qmail 75321 invoked from network); 6 Oct 2009 15:59:35 -0000 Received: from mail.h3q.com (HELO mail.h3q.com) (smtpsend) by mail.h3q.com with AES256-SHA encrypted SMTP; 6 Oct 2009 15:59:35 -0000 Message-ID: <4ACB6966.5060704@h3q.com> Date: Tue, 06 Oct 2009 17:59:34 +0200 From: Philipp Wuensche User-Agent: Postbox 1.0.1 (Macintosh/2009100516) MIME-Version: 1.0 To: Maciej Jan Broniarz References: <4ACB2BE0.8080809@h3q.com> <4ACB4D47.6090107@gausus.net> <4ACB4EB7.3080305@h3q.com> <4ACB6616.9000407@gausus.net> In-Reply-To: <4ACB6616.9000407@gausus.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: 8.0-RC1 ZFS-root installscript X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Oct 2009 15:59:37 -0000 Maciej Jan Broniarz wrote: > W dniu 09-10-06 16:05, Philipp Wuensche pisze: >> Maciej Jan Broniarz wrote: >>> W dniu 09-10-06 13:37, Philipp Wuensche pisze: >>>> Hi, >>> >>>> As the livefs on the CD does not include any freebsd packages, you need >>>> network connection before running the script. >>> >>> Dumb question, but how can I get gpart on livefs? >> >> I'm not sure I understand the question. If you boot a 8.0-RC1 livefs CD, >> you will have usable gpart in the fixit console. > > Ok. gpart is not in $PATH. I had to add /dest/sbin to $PATH for the > script to work. What CD and version are you using? Are you sure you are using the live-filesystem? Don't use the emergency-shell! > Still there are some problems. Is there a way to force > passive mode in an ftp connection? I keep geting Illegal PORT command > during the download phase. passive-mode is the default of the freebsd ftp. greetings, philipp From owner-freebsd-stable@FreeBSD.ORG Tue Oct 6 16:03:43 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0286106566B for ; Tue, 6 Oct 2009 16:03:43 +0000 (UTC) (envelope-from gausus@gausus.net) Received: from dagobah.intersec.pl (dagobah.intersec.pl [91.192.226.10]) by mx1.freebsd.org (Postfix) with ESMTP id 696F88FC16 for ; Tue, 6 Oct 2009 16:03:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by dagobah.intersec.pl (Postfix) with ESMTP id 2C955254004; Tue, 6 Oct 2009 18:14:45 +0200 (CEST) X-Virus-Scanned: amavisd-new at intersec.pl Received: from dagobah.intersec.pl ([127.0.0.1]) by localhost (dagobah.intersec.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FrP-VNxU6mPy; Tue, 6 Oct 2009 18:14:40 +0200 (CEST) Received: from wolverine.local (69-dzi-33.acn.waw.pl [85.222.122.69]) by dagobah.intersec.pl (Postfix) with ESMTP id 6A7F5254002; Tue, 6 Oct 2009 18:14:40 +0200 (CEST) Message-ID: <4ACB6A58.2020705@gausus.net> Date: Tue, 06 Oct 2009 18:03:36 +0200 From: Maciej Jan Broniarz User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; pl; rv:1.9.1.4pre) Gecko/20090915 Thunderbird/3.0b4 MIME-Version: 1.0 To: Philipp Wuensche , freebsd-stable@freebsd.org References: <4ACB2BE0.8080809@h3q.com> <4ACB4D47.6090107@gausus.net> <4ACB4EB7.3080305@h3q.com> <4ACB6616.9000407@gausus.net> <4ACB6966.5060704@h3q.com> In-Reply-To: <4ACB6966.5060704@h3q.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: 8.0-RC1 ZFS-root installscript X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Oct 2009 16:03:43 -0000 W dniu 09-10-06 17:59, Philipp Wuensche pisze: > Maciej Jan Broniarz wrote: >> W dniu 09-10-06 16:05, Philipp Wuensche pisze: >>> Maciej Jan Broniarz wrote: >>>> W dniu 09-10-06 13:37, Philipp Wuensche pisze: >>>>> Hi, >>>> >>>>> As the livefs on the CD does not include any freebsd packages, you need >>>>> network connection before running the script. >>>> >>>> Dumb question, but how can I get gpart on livefs? >>> >>> I'm not sure I understand the question. If you boot a 8.0-RC1 livefs CD, >>> you will have usable gpart in the fixit console. >> >> Ok. gpart is not in $PATH. I had to add /dest/sbin to $PATH for the >> script to work. > > What CD and version are you using? Are you sure you are using the > live-filesystem? Don't use the emergency-shell! > I use: 8.0-RC1-amd64-livefs.iso In the main menu i go to: Fixit, and then CD/DVD live fs. >> Still there are some problems. Is there a way to force >> passive mode in an ftp connection? I keep geting Illegal PORT command >> during the download phase. > > passive-mode is the default of the freebsd ftp. Hmmm. Ok. mjb From owner-freebsd-stable@FreeBSD.ORG Tue Oct 6 16:57:49 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EDC110656D7 for ; Tue, 6 Oct 2009 16:57:49 +0000 (UTC) (envelope-from edhoprima@gmail.com) Received: from mail-px0-f192.google.com (mail-px0-f192.google.com [209.85.216.192]) by mx1.freebsd.org (Postfix) with ESMTP id 1615C8FC1D for ; Tue, 6 Oct 2009 16:57:48 +0000 (UTC) Received: by pxi30 with SMTP id 30so1564108pxi.7 for ; Tue, 06 Oct 2009 09:57:48 -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:cc:content-type; bh=ON3cI3F0kqLMk1DaXKasJeSrbOwFkTthmExpeBakSB4=; b=VRnH/q8XQJTV3PaOH/pHzsuoXVSJqwHQEIuTM5r3GpiVGb4/G5HTKpEfr7Sctlf37I Jeq8WHWwzKZB3OLLoxSlu2xTIaWHWVjZLadQXBjDAtfIiEDkyzoQjISmhlCEedyXHc0b C7hklfPc5Ht6ml0jpT39o0gpPV1Ki2bGQ6oOo= 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 :cc:content-type; b=PpJ9H/yj2yyLCIPwpLgTUNsxOmEGY2S7mjeBHf2ZU0ahTeu436nPQpp6d1i/F6spCE NW3Vxz6HhyZ3eiDusuSTmtWS0y2uaXI5MkIEhryWmLLqeA1jsPQ7wO43jPVdIKZshpLg V4p4Qj/kzgfkx2s5yQcJcG2AjO68+YoTFZod0= MIME-Version: 1.0 Received: by 10.143.26.31 with SMTP id d31mr119915wfj.269.1254848268665; Tue, 06 Oct 2009 09:57:48 -0700 (PDT) In-Reply-To: <4ACB6616.9000407@gausus.net> References: <4ACB2BE0.8080809@h3q.com> <4ACB4D47.6090107@gausus.net> <4ACB4EB7.3080305@h3q.com> <4ACB6616.9000407@gausus.net> Date: Tue, 6 Oct 2009 23:57:48 +0700 Message-ID: From: Edho P Arief To: Maciej Jan Broniarz Content-Type: text/plain; charset=UTF-8 Cc: Philipp Wuensche , freebsd-stable@freebsd.org Subject: Re: 8.0-RC1 ZFS-root installscript X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Oct 2009 16:57:49 -0000 On Tue, Oct 6, 2009 at 10:45 PM, Maciej Jan Broniarz wrote: > W dniu 09-10-06 16:05, Philipp Wuensche pisze: >> >> Maciej Jan Broniarz wrote: >>> >>> W dniu 09-10-06 13:37, Philipp Wuensche pisze: >>>> >>>> Hi, >>> >>>> As the livefs on the CD does not include any freebsd packages, you need >>>> network connection before running the script. >>> >>> Dumb question, but how can I get gpart on livefs? >> >> I'm not sure I understand the question. If you boot a 8.0-RC1 livefs CD, >> you will have usable gpart in the fixit console. > > Ok. gpart is not in $PATH. I had to add /dest/sbin to $PATH for the script > to work. Still there are some problems. Is there a way to force passive mode > in an ftp connection? I keep geting Illegal PORT command > during the download phase. > did you change the shell after login to the console? -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.org From owner-freebsd-stable@FreeBSD.ORG Tue Oct 6 17:16:41 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C53B1065670 for ; Tue, 6 Oct 2009 17:16:41 +0000 (UTC) (envelope-from gausus@gausus.net) Received: from dagobah.intersec.pl (dagobah.intersec.pl [91.192.226.10]) by mx1.freebsd.org (Postfix) with ESMTP id 40FB38FC1F for ; Tue, 6 Oct 2009 17:16:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by dagobah.intersec.pl (Postfix) with ESMTP id 28782254004; Tue, 6 Oct 2009 19:27:44 +0200 (CEST) X-Virus-Scanned: amavisd-new at intersec.pl Received: from dagobah.intersec.pl ([127.0.0.1]) by localhost (dagobah.intersec.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AQRkDQ6NCgOW; Tue, 6 Oct 2009 19:27:39 +0200 (CEST) Received: from wolverine.local (69-dzi-33.acn.waw.pl [85.222.122.69]) by dagobah.intersec.pl (Postfix) with ESMTP id 5A6ED254002; Tue, 6 Oct 2009 19:27:39 +0200 (CEST) Message-ID: <4ACB7B72.9050401@gausus.net> Date: Tue, 06 Oct 2009 19:16:34 +0200 From: Maciej Jan Broniarz User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; pl; rv:1.9.1.4pre) Gecko/20090915 Thunderbird/3.0b4 MIME-Version: 1.0 To: Edho P Arief References: <4ACB2BE0.8080809@h3q.com> <4ACB4D47.6090107@gausus.net> <4ACB4EB7.3080305@h3q.com> <4ACB6616.9000407@gausus.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Philipp Wuensche , freebsd-stable@freebsd.org Subject: Re: 8.0-RC1 ZFS-root installscript X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Oct 2009 17:16:41 -0000 W dniu 09-10-06 18:57, Edho P Arief pisze: > On Tue, Oct 6, 2009 at 10:45 PM, Maciej Jan Broniarz wrote: >> W dniu 09-10-06 16:05, Philipp Wuensche pisze: >>> >>> Maciej Jan Broniarz wrote: >>>> >>>> W dniu 09-10-06 13:37, Philipp Wuensche pisze: >>>>> >>>>> Hi, >>>> >>>>> As the livefs on the CD does not include any freebsd packages, you need >>>>> network connection before running the script. >>>> >>>> Dumb question, but how can I get gpart on livefs? >>> >>> I'm not sure I understand the question. If you boot a 8.0-RC1 livefs CD, >>> you will have usable gpart in the fixit console. >> >> Ok. gpart is not in $PATH. I had to add /dest/sbin to $PATH for the script >> to work. Still there are some problems. Is there a way to force passive mode >> in an ftp connection? I keep geting Illegal PORT command >> during the download phase. >> > > did you change the shell after login to the console? > > no i didn't mjb From owner-freebsd-stable@FreeBSD.ORG Tue Oct 6 22:16:42 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D23F21065676 for ; Tue, 6 Oct 2009 22:16:42 +0000 (UTC) (envelope-from cryx-freebsd@h3q.com) Received: from mail.h3q.com (mail.h3q.com [213.73.89.199]) by mx1.freebsd.org (Postfix) with ESMTP id 150318FC21 for ; Tue, 6 Oct 2009 22:16:41 +0000 (UTC) Received: (qmail 82064 invoked from network); 6 Oct 2009 22:16:40 -0000 Received: from mail.h3q.com (HELO mail.h3q.com) (smtpsend) by mail.h3q.com with AES256-SHA encrypted SMTP; 6 Oct 2009 22:16:40 -0000 Message-ID: <4ACBC1C8.5060400@h3q.com> Date: Wed, 07 Oct 2009 00:16:40 +0200 From: Philipp Wuensche User-Agent: Postbox 1.0.1 (Macintosh/2009100516) MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <4ACB2BE0.8080809@h3q.com> In-Reply-To: <4ACB2BE0.8080809@h3q.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: 8.0-RC1 ZFS-root installscript X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Oct 2009 22:16:42 -0000 Philipp Wuensche wrote: > > Feel free to send bugreports to me. Thanks for the bug-reports and feature suggestions! There is a new version available: http://anonsvn.h3q.com/projects/freebsd-patches/export/48/manageBE/create-zfsboot-gpt_livecd.sh New stuff: - support for installing the distribution packages from a local directory, like /dist/8.0-RC1 on the install-DVD - untested support for raidz, I can't test this because virtualbox only provides one BIOS disk to the bootloader and raidz needs at least two disks for booting :-/ - some minor fixes and tunes greetings, philipp From owner-freebsd-stable@FreeBSD.ORG Tue Oct 6 22:43:58 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD578106566B for ; Tue, 6 Oct 2009 22:43:58 +0000 (UTC) (envelope-from artemb@gmail.com) Received: from mail-yx0-f184.google.com (mail-yx0-f184.google.com [209.85.210.184]) by mx1.freebsd.org (Postfix) with ESMTP id 4FC388FC18 for ; Tue, 6 Oct 2009 22:43:58 +0000 (UTC) Received: by yxe14 with SMTP id 14so6060105yxe.7 for ; Tue, 06 Oct 2009 15:43:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=Y9fYvwmx/fpDsVvimIVesNm+B4sgWIESU64Iz4wNKhc=; b=T2xN+qRO6BJNaQ9tIT3/TwOFgem5YP/0BMXAw4L0+ZmWxGkF5mvUpIJS8V26TVliKm QvGWQfzESjd4HtGr+FZD9bH4wK1ApF74RWc6yK8UDZ73rQNsBpUhkP0YwC2pzS6tF40o 3G+z+I1msUj83lUWKwRLX5pZHxc/x37Stt0J8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=BGHJdL6qNT5LSH8W0zPwGgMX7E9lQeZHPibw4VSS7K77D+S/p4bFyrb84Z0cE/hJtY CbU1zq4MrWQIV1OCJVioJb9UjoxN6rFkwuE9+dtp3ydjDI9ioSrnWtBx7mpvqUVayAUF 69B5ijixo5a87qKbrRhxjY9L0XMuxCj+YaFj8= MIME-Version: 1.0 Sender: artemb@gmail.com Received: by 10.90.127.20 with SMTP id z20mr976367agc.118.1254869036713; Tue, 06 Oct 2009 15:43:56 -0700 (PDT) In-Reply-To: <4ACBC1C8.5060400@h3q.com> References: <4ACB2BE0.8080809@h3q.com> <4ACBC1C8.5060400@h3q.com> Date: Tue, 6 Oct 2009 15:43:56 -0700 X-Google-Sender-Auth: 35f530ba85876040 Message-ID: From: Artem Belevich To: Philipp Wuensche Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-stable@freebsd.org Subject: Re: 8.0-RC1 ZFS-root installscript X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Oct 2009 22:43:59 -0000 > - untested support for raidz, I can't test this because virtualbox only > provides one BIOS disk to the bootloader and raidz needs at least two > disks for booting :-/ You can try creating raidz from multiple GPT slices on the same disk. --Artem From owner-freebsd-stable@FreeBSD.ORG Tue Oct 6 23:44:42 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9588106566B; Tue, 6 Oct 2009 23:44:42 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by mx1.freebsd.org (Postfix) with ESMTP id 627128FC0A; Tue, 6 Oct 2009 23:44:41 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAMtsy0qDaFvK/2dsb2JhbADVA4QqBA X-IronPort-AV: E=Sophos;i="4.44,515,1249272000"; d="scan'208";a="49082467" Received: from fraser.cs.uoguelph.ca ([131.104.91.202]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 06 Oct 2009 19:15:13 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by fraser.cs.uoguelph.ca (Postfix) with ESMTP id C3003109C2DA; Tue, 6 Oct 2009 19:15:13 -0400 (EDT) X-Virus-Scanned: amavisd-new at fraser.cs.uoguelph.ca Received: from fraser.cs.uoguelph.ca ([127.0.0.1]) by localhost (fraser.cs.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id faSYLA-3E+fZ; Tue, 6 Oct 2009 19:15:13 -0400 (EDT) Received: from muncher.cs.uoguelph.ca (muncher.cs.uoguelph.ca [131.104.91.102]) by fraser.cs.uoguelph.ca (Postfix) with ESMTP id 4B33D109C2E5; Tue, 6 Oct 2009 19:15:13 -0400 (EDT) Received: from localhost (rmacklem@localhost) by muncher.cs.uoguelph.ca (8.11.7p3+Sun/8.11.6) with ESMTP id n96NLTe00555; Tue, 6 Oct 2009 19:21:29 -0400 (EDT) X-Authentication-Warning: muncher.cs.uoguelph.ca: rmacklem owned process doing -bs Date: Tue, 6 Oct 2009 19:21:29 -0400 (EDT) From: Rick Macklem X-X-Sender: rmacklem@muncher.cs.uoguelph.ca To: Robert Watson In-Reply-To: Message-ID: References: <4ABD4BB9.1030804@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: stable@FreeBSD.org, Marcel Moolenaar , "current@freebsd.org mailing list" , Jamie Gritton Subject: Re: 8.0-RC1: kernel page fault in NLM master thread (VIMAGE or ZFS related?) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Oct 2009 23:44:42 -0000 On Sun, 27 Sep 2009, Robert Watson wrote: > > On Fri, 25 Sep 2009, Jamie Gritton wrote: > >> It seems to be NFS related. I think the null pointer in question is from >> the export's anonymous credential. Try the patch below and see if it helps >> (which I guess means run it overnight and see if it crashes again). I've >> also patched a similar missing cred prison in GSS_SVC, since I'm not versed >> enough in NFS/RPC stuff to know if it might be the problem. > > This is one of the reasons I really dislike "magic" credentials and special > handling of NULL credentials -- they always get into code the author doesn't > expect, and either there are bad pointer dereferences, or incorrect security > decisions. It's almost always the case that a correct credential should have > been cached or generated at some earlier point to represent the security > context... > I don't really understand prisons/jails, but would creating these credentials via: crdup(td->td_ucred); // duplicating the daemon thread's cred - and then replacing the make sense as an alternative to starting with crget()? (ie. All the other stuff except would be "inherited" from the credential for the daemon thread.) rick From owner-freebsd-stable@FreeBSD.ORG Wed Oct 7 06:40:07 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60E20106566B; Wed, 7 Oct 2009 06:40:07 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from exhub015-2.exch015.msoutlookonline.net (exhub015-2.exch015.msoutlookonline.net [207.5.72.94]) by mx1.freebsd.org (Postfix) with ESMTP id 4C4F78FC0A; Wed, 7 Oct 2009 06:40:06 +0000 (UTC) Received: from [192.168.1.2] (173.73.111.126) by smtpx15.msoutlookonline.net (207.5.72.103) with Microsoft SMTP Server (TLS) id 8.1.375.2; Tue, 6 Oct 2009 23:20:05 -0700 Message-ID: <4ACC3315.7040704@p6m7g8.com> Date: Wed, 7 Oct 2009 02:20:05 -0400 From: "Philip M. Gollucci" Organization: P6 Web Applications User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <200910022012.n92KCtLI004038@freefall.freebsd.org> In-Reply-To: <200910022012.n92KCtLI004038@freefall.freebsd.org> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Cc: FreeBSD Errata Notices Subject: Re: [FreeBSD-Announce] FreeBSD Errata Notice FreeBSD-EN-09:05.null X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2009 06:40:07 -0000 > Corrected: 2009-10-02 18:09:56 UTC (RELENG_8, 8.0-RC2) > 2009-10-02 18:09:56 UTC (RELENG_7, 7.2-STABLE) > 2009-10-02 18:09:56 UTC (RELENG_7_2, 7.2-RELEASE-p4) > 2009-10-02 18:09:56 UTC (RELENG_7_1, 7.1-RELEASE-p8) > 2009-10-02 18:09:56 UTC (RELENG_6, 6.4-STABLE) > 2009-10-02 18:09:56 UTC (RELENG_6_4, 6.4-RELEASE-p7) > 2009-10-02 18:09:56 UTC (RELENG_6_3, 6.3-RELEASE-p13) > - ------------------------------------------------------------------------- > RELENG_6 > RELENG_6_4 > RELENG_6_3 > RELENG_7 > RELENG_7_2 > RELENG_7_1 > RELENG_8 > - ------------------------------------------------------------------------- > Branch/path Revision > - ------------------------------------------------------------------------- > stable/6/ r197715 > releng/6.4/ r197715 > releng/6.3/ r197715 > stable/7/ r197715 > releng/7.2/ r197715 > releng/7.1/ r197715 > stable/8/ r197714 > - ------------------------------------------------------------------------- Don't these usually mention HEAD/CURRENT ? and is the 197714 a typo ? -- ------------------------------------------------------------------------ 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354 Consultant - P6M7G8 Inc. http://p6m7g8.net Senior Sys Admin - RideCharge, Inc. http://ridecharge.com ASF Member - Apache Software Foundation http://apache.org FreeBSD Committer - FreeBSD Foundation http://freebsd.org Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. From owner-freebsd-stable@FreeBSD.ORG Wed Oct 7 07:45:08 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0470B106568B for ; Wed, 7 Oct 2009 07:45:08 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [195.88.108.3]) by mx1.freebsd.org (Postfix) with ESMTP id AF04E8FC12 for ; Wed, 7 Oct 2009 07:45:07 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 6BDB141C67B; Wed, 7 Oct 2009 09:45:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([195.88.108.3]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id zzF0+CRvTVxj; Wed, 7 Oct 2009 09:45:06 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id 0EC7E41C679; Wed, 7 Oct 2009 09:45:06 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id D6E61444902; Wed, 7 Oct 2009 07:40:18 +0000 (UTC) Date: Wed, 7 Oct 2009 07:40:18 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: "Philip M. Gollucci" In-Reply-To: <4ACC3315.7040704@p6m7g8.com> Message-ID: <20091007073750.K5956@maildrop.int.zabbadoz.net> References: <200910022012.n92KCtLI004038@freefall.freebsd.org> <4ACC3315.7040704@p6m7g8.com> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Errata Notices , freebsd-stable@freebsd.org Subject: Re: [FreeBSD-Announce] FreeBSD Errata Notice FreeBSD-EN-09:05.null X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2009 07:45:08 -0000 On Wed, 7 Oct 2009, Philip M. Gollucci wrote: > >> Corrected: 2009-10-02 18:09:56 UTC (RELENG_8, 8.0-RC2) >> 2009-10-02 18:09:56 UTC (RELENG_7, 7.2-STABLE) >> 2009-10-02 18:09:56 UTC (RELENG_7_2, 7.2-RELEASE-p4) >> 2009-10-02 18:09:56 UTC (RELENG_7_1, 7.1-RELEASE-p8) >> 2009-10-02 18:09:56 UTC (RELENG_6, 6.4-STABLE) >> 2009-10-02 18:09:56 UTC (RELENG_6_4, 6.4-RELEASE-p7) >> 2009-10-02 18:09:56 UTC (RELENG_6_3, 6.3-RELEASE-p13) > >> - ------------------------------------------------------------------------- >> RELENG_6 >> RELENG_6_4 >> RELENG_6_3 >> RELENG_7 >> RELENG_7_2 >> RELENG_7_1 >> RELENG_8 >> - ------------------------------------------------------------------------- > >> Branch/path Revision >> - ------------------------------------------------------------------------- >> stable/6/ r197715 >> releng/6.4/ r197715 >> releng/6.3/ r197715 >> stable/7/ r197715 >> releng/7.2/ r197715 >> releng/7.1/ r197715 >> stable/8/ r197714 >> - ------------------------------------------------------------------------- > > Don't these usually mention HEAD/CURRENT ? No. > and is the 197714 a typo ? No. That was a separate MFC from HEAD in constrast to stable/7,8 which were committed along with the 2 security advisories. The correction date in the first line is a bit off though, as the 8.0-RC2 MFC had been a few minutes earlier. /bz -- Bjoern A. Zeeb It will not break if you know what you are doing. From owner-freebsd-stable@FreeBSD.ORG Wed Oct 7 17:41:56 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98E111065696 for ; Wed, 7 Oct 2009 17:41:56 +0000 (UTC) (envelope-from mailinglist@ucwv.edu) Received: from mail.ucwv.edu (mail.ucwv.edu [216.30.201.15]) by mx1.freebsd.org (Postfix) with ESMTP id 67D168FC13 for ; Wed, 7 Oct 2009 17:41:56 +0000 (UTC) Received: from mail.ucwv.edu ([172.16.0.15]) by mail.ucwv.edu ([172.16.0.15]) with mapi; Wed, 7 Oct 2009 13:31:50 -0400 From: mailinglist To: "freebsd-stable@freebsd.org" Date: Wed, 7 Oct 2009 13:31:49 -0400 Thread-Topic: Installing Cacti from Ports Thread-Index: AQHKR3QNe+bn0pa8JE6LXsBIhOV7iA== Message-ID: <93C575B79E9B01449EBBB084032BC57011F84E7A52@mail.ucwv.edu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Installing Cacti from Ports X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2009 17:41:56 -0000 I hada VM running an older installation of FreeBSD 7.2. I recently got bac= k to it and tried to install Cacti from the ports collection. I cvsup'd in= an up-to-date ports collection, and did the usual "make, make install" for= Cacti. During the "make install" process a dependency failed to build. I= believe it was xcb-utils that failed to build because XCB was at version 1= .2 and needed to be at 1.4. I couldn't get the issue resolved no matter wh= at I tried. I ended up giving up.....later on I went through the "freebsd-= update" process and upgraded to a newer version of 7.2. After that Cacti a= nd all dependencies built and installed successfully. Was XCB upgraded whe= n I did the freebsd-update process? Or what? I'm just trying to find out = what happened..... Thanks! = From owner-freebsd-stable@FreeBSD.ORG Wed Oct 7 18:10:01 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 071941065670 for ; Wed, 7 Oct 2009 18:10:01 +0000 (UTC) (envelope-from lehmann@ans-netz.de) Received: from avocado.salatschuessel.net (avocado.salatschuessel.net [78.111.72.186]) by mx1.freebsd.org (Postfix) with SMTP id 7CD008FC15 for ; Wed, 7 Oct 2009 18:10:00 +0000 (UTC) Received: (qmail 88763 invoked by uid 89); 7 Oct 2009 18:09:58 -0000 Received: from unknown (HELO kartoffel.salatschuessel.net) (78.111.72.187) by avocado.salatschuessel.net with SMTP; 7 Oct 2009 18:09:58 -0000 Date: Wed, 7 Oct 2009 20:09:59 +0200 From: Oliver Lehmann To: "freebsd-stable@freebsd.org" Message-Id: <20091007200959.3c93904f.lehmann@ans-netz.de> X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; amd64-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: samba - SIGABRT X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2009 18:10:01 -0000 Hi, I wonder what may have caused this and how should I debug it to find the source? I Installed samba 3.3.7 on a clean 8.0-RC1 and I upgraded then my system to the latest RELENG_8. Since I've not the time searching much longer for the error I'll just go to upgrade to 3.3.8 (recompile it...) tomorrow but I'm curious what it may have caused and how I would have been able to find the cause.... root@nudel samba33> /usr/local/sbin/smbd Abort Exit 134 root@nudel samba33> gdb GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd". (gdb) exec /usr/local/sbin/smbd (gdb) run Starting program: /usr/local/sbin/smbd Program terminated with signal SIGABRT, Aborted. The program no longer exists. You can't do that without a process to debug. (gdb) q root@nudel samba33> ktrace /usr/local/sbin/smbd Abort Exit 134 root@nudel samba33> kdump 2605 ktrace RET ktrace 0 2605 ktrace CALL execve(0xbfbfed83,0xbfbfec50,0xbfbfec58) 2605 ktrace NAMI "/usr/local/sbin/smbd" root@nudel samba33> mount -t procfs /dev/null /proc root@nudel samba33> truss -fad /usr/local/sbin/smbd truss: can not get etype: No such process Exit 2 root@nudel samba33> dmesg | tail -1 fxp0: Microcode loaded, int_delay: 1000 usec bundle_max: 6 root@nudel samba33> ldd /usr/local/sbin/smbd /usr/local/sbin/smbd: libcrypt.so.5 => /lib/libcrypt.so.5 (0x281aa000) libpam.so.5 => /usr/lib/libpam.so.5 (0x281c3000) libexecinfo.so.1 => /usr/local/lib/libexecinfo.so.1 (0x281cb000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x288d2000) libpopt.so.0 => /usr/local/lib/libpopt.so.0 (0x281d6000) libc.so.7 => /lib/libc.so.7 (0x28091000) libm.so.5 => /lib/libm.so.5 (0x281df000) libintl.so.8 => /usr/local/lib/libintl.so.8 (0x289d1000) root@nudel samba33> ls -l /lib/libcrypt.so.5 /usr/lib/libpam.so.5 /usr/local/lib/libexecinfo.so.1 /usr/local/lib/libiconv.so.3 /usr/local/lib/libpopt.so.0 /lib/libc.so.7 /lib/libm.so.5 /usr/local/lib/libintl.so.8 -r--r--r-- 1 root wheel 1144500 Oct 5 16:40 /lib/libc.so.7 -r--r--r-- 1 root wheel 32060 Oct 5 16:41 /lib/libcrypt.so.5 -r--r--r-- 1 root wheel 119372 Oct 5 16:41 /lib/libm.so.5 -r--r--r-- 1 root wheel 28424 Oct 5 16:42 /usr/lib/libpam.so.5 -r--r--r-- 1 root wheel 40636 Oct 4 19:59 /usr/local/lib/libexecinfo.so.1 -r--r--r-- 1 root wheel 1050349 Oct 4 19:41 /usr/local/lib/libiconv.so.3 -r--r--r-- 1 root wheel 39876 Oct 4 19:52 /usr/local/lib/libintl.so.8 -rwxr-xr-x 1 root wheel 39623 Oct 4 20:00 /usr/local/lib/libpopt.so.0* root@nudel samba33> ls -l /usr/local/sbin/smbd -rwxr-xr-x 1 root wheel 6698391 Oct 4 20:30 /usr/local/sbin/smbd* root@nudel samba33> file /usr/local/sbin/smbd /usr/local/sbin/smbd: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 8.0 (800107), not stripped root@nudel samba33> -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/ From owner-freebsd-stable@FreeBSD.ORG Wed Oct 7 18:23:35 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3073A1065672 for ; Wed, 7 Oct 2009 18:23:35 +0000 (UTC) (envelope-from mailinglist@ucwv.edu) Received: from mail.ucwv.edu (mail.ucwv.edu [216.30.201.15]) by mx1.freebsd.org (Postfix) with ESMTP id EFDBD8FC0C for ; Wed, 7 Oct 2009 18:23:34 +0000 (UTC) Received: from mail.ucwv.edu ([172.16.0.15]) by mail.ucwv.edu ([172.16.0.15]) with mapi; Wed, 7 Oct 2009 14:23:52 -0400 From: mailinglist To: Adam Vande More Date: Wed, 7 Oct 2009 14:21:45 -0400 Thread-Topic: Installing Cacti from Ports Thread-Index: AcpHeHb/EnA22z5WSXSinw8aP6NhGwAApAUw Message-ID: <93C575B79E9B01449EBBB084032BC57011F84E7A54@mail.ucwv.edu> References: <93C575B79E9B01449EBBB084032BC57011F84E7A52@mail.ucwv.edu>, <6201873e0910071103j2eb5ee4bn1fb80c6de3370b92@mail.gmail.com> In-Reply-To: <6201873e0910071103j2eb5ee4bn1fb80c6de3370b92@mail.gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "freebsd-stable@freebsd.org" Subject: RE: Installing Cacti from Ports X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2009 18:23:35 -0000 As part of the "freebsd-update" process I did run a few portupgrade command= s. But I thought portupgrade only did whatever it does to installed ports.= Or are you saying it upgraded the xcb port which allowed Cacti to build t= o completion? Also, off topic I know, but what is the proper way to reply to this? Reply= ? Reply to all? Or reply just to the mailing list? ________________________________________ From: Adam Vande More [amvandemore@gmail.com] Sent: Wednesday, October 07, 2009 2:03 PM To: mailinglist Cc: freebsd-stable@freebsd.org Subject: Re: Installing Cacti from Ports On Wed, Oct 7, 2009 at 12:31 PM, mailinglist > wrote: I hada VM running an older installation of FreeBSD 7.2. I recently got bac= k to it and tried to install Cacti from the ports collection. I cvsup'd in= an up-to-date ports collection, and did the usual "make, make install" for= Cacti. During the "make install" process a dependency failed to build. I= believe it was xcb-utils that failed to build because XCB was at version 1= .2 and needed to be at 1.4. I couldn't get the issue resolved no matter wh= at I tried. I ended up giving up.....later on I went through the "freebsd-= update" process and upgraded to a newer version of 7.2. After that Cacti a= nd all dependencies built and installed successfully. Was XCB upgraded whe= n I did the freebsd-update process? Or what? I'm just trying to find out = what happened..... Thanks! _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" You might want to try a tool like portmaster or portupgrade to manage these= dependency and package backup process. -- Adam Vande More From owner-freebsd-stable@FreeBSD.ORG Wed Oct 7 18:29:27 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D65D31065679 for ; Wed, 7 Oct 2009 18:29:27 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yw0-f186.google.com (mail-yw0-f186.google.com [209.85.211.186]) by mx1.freebsd.org (Postfix) with ESMTP id 909758FC16 for ; Wed, 7 Oct 2009 18:29:27 +0000 (UTC) Received: by ywh16 with SMTP id 16so4601810ywh.13 for ; Wed, 07 Oct 2009 11:29:26 -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:cc:content-type; bh=p/RbRl8nvAY608ecSnoU9aNohSqDfQ2+trMlLX2PiuM=; b=Z5a0W6aATbmjMkE+/VwfDSrieZvhYoKwV9Og61VBCgpqWVcu6GoB2NLXGI2SCSde2a QhWdNL+oewytWVm9PkKiiU5NoURMGJ/vIYyqnuzQAxkNl4ZGVBjNndOsUxv8LFGu39vz APETEMmywVTMXxqo1HAsf+Rfik3F6rQdv06e0= 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 :cc:content-type; b=mpddywQBv78Luqbz4rnN+axo9PO4gZPumeTrw+/m5UNjq+DbySQHPgARvVgiGf5Ab+ cF5dXLzGcYTEhTiDuyeH8n+pnAsrNQHUApEeSYcF1Qm8oScy8pj6dO4AhuyU7oB+2uST 31e+YNGx6m0JqwzYIR+YQZQt7iuy70ESTDcsA= MIME-Version: 1.0 Received: by 10.150.213.7 with SMTP id l7mr501395ybg.220.1254938586057; Wed, 07 Oct 2009 11:03:06 -0700 (PDT) In-Reply-To: <93C575B79E9B01449EBBB084032BC57011F84E7A52@mail.ucwv.edu> References: <93C575B79E9B01449EBBB084032BC57011F84E7A52@mail.ucwv.edu> Date: Wed, 7 Oct 2009 13:03:06 -0500 Message-ID: <6201873e0910071103j2eb5ee4bn1fb80c6de3370b92@mail.gmail.com> From: Adam Vande More To: mailinglist Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-stable@freebsd.org" Subject: Re: Installing Cacti from Ports X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2009 18:29:28 -0000 On Wed, Oct 7, 2009 at 12:31 PM, mailinglist wrote: > I hada VM running an older installation of FreeBSD 7.2. I recently got > back to it and tried to install Cacti from the ports collection. I cvsup'd > in an up-to-date ports collection, and did the usual "make, make install" > for Cacti. During the "make install" process a dependency failed to build. > I believe it was xcb-utils that failed to build because XCB was at version > 1.2 and needed to be at 1.4. I couldn't get the issue resolved no matter > what I tried. I ended up giving up.....later on I went through the > "freebsd-update" process and upgraded to a newer version of 7.2. After that > Cacti and all dependencies built and installed successfully. Was XCB > upgraded when I did the freebsd-update process? Or what? I'm just trying > to find out what happened..... Thanks! > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > You might want to try a tool like portmaster or portupgrade to manage these dependency and package backup process. -- Adam Vande More From owner-freebsd-stable@FreeBSD.ORG Wed Oct 7 18:47:56 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79DC41065670 for ; Wed, 7 Oct 2009 18:47:56 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yw0-f186.google.com (mail-yw0-f186.google.com [209.85.211.186]) by mx1.freebsd.org (Postfix) with ESMTP id 32F448FC19 for ; Wed, 7 Oct 2009 18:47:55 +0000 (UTC) Received: by ywh16 with SMTP id 16so4617834ywh.13 for ; Wed, 07 Oct 2009 11:47:55 -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:cc:content-type; bh=0WBCVGwWR9iglcC5hgkSj9jcHuLY8Ep8GeEWzimJ+Rw=; b=VrsSYixsYkPd0DTS1UwgPtEpukoEDLm2hJCZgyoSaALlMBYnSc8tb2DEHF9+pBRILg 79tlRyVIQqw7yXUWt4RdLIqsyEBA+QlxC1roJEbvkOnokLsIAU6Pu7jSsSI6cnY9+SFD CQ8z4aq/oEduxecDq2kaezF8l7d1nhgvrqIcI= 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 :cc:content-type; b=Dz4baQXt+KplxIdOuaNEFd1YIE2lLSiaRbkVJ7OySDNGQiOyanu1xQp3+recGgOsR6 ptyu3fi9THByHb8oSIPKqc6JbVKlMpv+haf7GvY8dm9+ZNQor+AcvPx/PF1Hjey4mwYF 4TudKZNX/B0YwJ0pEK2A8Pz31FG1O9AiGRB4M= MIME-Version: 1.0 Received: by 10.150.243.13 with SMTP id q13mr611537ybh.167.1254941275544; Wed, 07 Oct 2009 11:47:55 -0700 (PDT) In-Reply-To: <93C575B79E9B01449EBBB084032BC57011F84E7A54@mail.ucwv.edu> References: <93C575B79E9B01449EBBB084032BC57011F84E7A52@mail.ucwv.edu> <6201873e0910071103j2eb5ee4bn1fb80c6de3370b92@mail.gmail.com> <93C575B79E9B01449EBBB084032BC57011F84E7A54@mail.ucwv.edu> Date: Wed, 7 Oct 2009 13:47:55 -0500 Message-ID: <6201873e0910071147j1cc6e3a7t87b723b1597672f8@mail.gmail.com> From: Adam Vande More To: mailinglist Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-stable@freebsd.org" Subject: Re: Installing Cacti from Ports X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2009 18:47:56 -0000 On Wed, Oct 7, 2009 at 1:21 PM, mailinglist wrote: > As part of the "freebsd-update" process I did run a few portupgrade > commands. But I thought portupgrade only did whatever it does to installed > ports. Or are you saying it upgraded the xcb port which allowed Cacti to > build to completion? > > Also, off topic I know, but what is the proper way to reply to this? > Reply? Reply to all? Or reply just to the mailing list? > ________________________________________ > > freebsd-update and portupgrade are different. freebsd-update updates core compoments, portupgrade deals with apps installed via the ports tree. xcb is part of ports. I usually do reply to all although a few don't like it but it's generally more convenient. Also please do not top post. http://catb.org/jargon/html/T/top-post.html -- Adam Vande More From owner-freebsd-stable@FreeBSD.ORG Wed Oct 7 18:53:06 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BCDC3106566B for ; Wed, 7 Oct 2009 18:53:06 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-fx0-f222.google.com (mail-fx0-f222.google.com [209.85.220.222]) by mx1.freebsd.org (Postfix) with ESMTP id 442DD8FC15 for ; Wed, 7 Oct 2009 18:53:05 +0000 (UTC) Received: by fxm22 with SMTP id 22so5072271fxm.36 for ; Wed, 07 Oct 2009 11:53:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:cc :subject:in-reply-to:message-id:references:user-agent :x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; bh=b1eCaUO4G3Rdm+aF6E3/0NYliXDXJL9RlapxUB/DTcI=; b=QasCJYC4SU4bJE02iKjVtbauPkve8AhhVuC45Ipn/DL/NtFT7vfH3LJtpJodRB8Nvp D+dTon3t5KrrHSGcDHPg2uBfqq9h9NteXEnM57evPxjQFx+3HscAkOheq7jpfwyMKtbX 2TSF8iFDFn+sZR4+kmR8zbBTYPjbpb1xaETcY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; b=qJpa6JNZ2yT0SEjRBTzEfDRhunLlHkMDn983XBLluDgXYyf3tzzqspa76ecR9JIn4g cdS04SAPRQGREEewnnhXUCMgalDbgT8iwNHlehrNUqc18T6GzWW1O3h+CG/28L2oKU2m EZjce5UGtDQqtkicoH/0XKoXfvTYjf3Tl1wmU= Received: by 10.86.12.35 with SMTP id 35mr281781fgl.20.1254941585161; Wed, 07 Oct 2009 11:53:05 -0700 (PDT) Received: from dimension.5p.local (adsl-99-19-46-114.dsl.klmzmi.sbcglobal.net [99.19.46.114]) by mx.google.com with ESMTPS id 3sm157254fge.11.2009.10.07.11.53.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 07 Oct 2009 11:53:04 -0700 (PDT) Sender: "J. Hellenthal" Date: Wed, 7 Oct 2009 14:52:54 -0400 From: jhell To: Oliver Lehmann In-Reply-To: <20091007200959.3c93904f.lehmann@ans-netz.de> Message-ID: References: <20091007200959.3c93904f.lehmann@ans-netz.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: "freebsd-stable@freebsd.org" Subject: Re: samba - SIGABRT X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2009 18:53:06 -0000 On Wed, 7 Oct 2009 20:09 +0200, lehmann@ wrote: > Hi, > > I wonder what may have caused this and how should I debug it to find the > source? I Installed samba 3.3.7 on a clean 8.0-RC1 and I upgraded then my > system to the latest RELENG_8. > Since I've not the time searching much longer for the error I'll just go > to upgrade to 3.3.8 (recompile it...) tomorrow but I'm curious what it > may have caused and how I would have been able to find the cause.... > > > root@nudel samba33> /usr/local/sbin/smbd > Abort > Exit 134 > > > root@nudel samba33> gdb > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i386-marcel-freebsd". > (gdb) exec /usr/local/sbin/smbd > (gdb) run > Starting program: /usr/local/sbin/smbd > > Program terminated with signal SIGABRT, Aborted. > The program no longer exists. > You can't do that without a process to debug. > (gdb) q > root@nudel samba33> ktrace /usr/local/sbin/smbd > Abort > Exit 134 > root@nudel samba33> kdump > 2605 ktrace RET ktrace 0 > 2605 ktrace CALL execve(0xbfbfed83,0xbfbfec50,0xbfbfec58) > 2605 ktrace NAMI "/usr/local/sbin/smbd" > root@nudel samba33> mount -t procfs /dev/null /proc > root@nudel samba33> truss -fad /usr/local/sbin/smbd > truss: can not get etype: No such process > Exit 2 > root@nudel samba33> dmesg | tail -1 > fxp0: Microcode loaded, int_delay: 1000 usec bundle_max: 6 > root@nudel samba33> ldd /usr/local/sbin/smbd > /usr/local/sbin/smbd: > libcrypt.so.5 => /lib/libcrypt.so.5 (0x281aa000) > libpam.so.5 => /usr/lib/libpam.so.5 (0x281c3000) > libexecinfo.so.1 => /usr/local/lib/libexecinfo.so.1 (0x281cb000) > libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x288d2000) > libpopt.so.0 => /usr/local/lib/libpopt.so.0 (0x281d6000) > libc.so.7 => /lib/libc.so.7 (0x28091000) > libm.so.5 => /lib/libm.so.5 (0x281df000) > libintl.so.8 => /usr/local/lib/libintl.so.8 (0x289d1000) > root@nudel samba33> ls -l /lib/libcrypt.so.5 /usr/lib/libpam.so.5 /usr/local/lib/libexecinfo.so.1 /usr/local/lib/libiconv.so.3 /usr/local/lib/libpopt.so.0 /lib/libc.so.7 /lib/libm.so.5 /usr/local/lib/libintl.so.8 > -r--r--r-- 1 root wheel 1144500 Oct 5 16:40 /lib/libc.so.7 > -r--r--r-- 1 root wheel 32060 Oct 5 16:41 /lib/libcrypt.so.5 > -r--r--r-- 1 root wheel 119372 Oct 5 16:41 /lib/libm.so.5 > -r--r--r-- 1 root wheel 28424 Oct 5 16:42 /usr/lib/libpam.so.5 > -r--r--r-- 1 root wheel 40636 Oct 4 19:59 /usr/local/lib/libexecinfo.so.1 > -r--r--r-- 1 root wheel 1050349 Oct 4 19:41 /usr/local/lib/libiconv.so.3 > -r--r--r-- 1 root wheel 39876 Oct 4 19:52 /usr/local/lib/libintl.so.8 > -rwxr-xr-x 1 root wheel 39623 Oct 4 20:00 /usr/local/lib/libpopt.so.0* > root@nudel samba33> ls -l /usr/local/sbin/smbd > -rwxr-xr-x 1 root wheel 6698391 Oct 4 20:30 /usr/local/sbin/smbd* > root@nudel samba33> file /usr/local/sbin/smbd > /usr/local/sbin/smbd: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 8.0 (800107), not stripped > root@nudel samba33> > You need to compile with the following: CONFIGURE_ARGS+= --disable-pie This was caused by your setting of the following: security.bsd.map_at_zero=0 You can reset that value to 1 and you should be alright to operate like normal otherwise you will have to compile samba over again with the above mentioned configure options. Best regards. -- ;; dataix.net!jhell 2048R/89D8547E 2009-09-30 ;; BSD since FreeBSD 4.2 Linux since Slackware 2.1 ;; 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E From owner-freebsd-stable@FreeBSD.ORG Wed Oct 7 19:14:53 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E501D106568B for ; Wed, 7 Oct 2009 19:14:52 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mx01.netsrc.de (mx01.netsrc.de [89.107.71.100]) by mx1.freebsd.org (Postfix) with ESMTP id 4E8118FC22 for ; Wed, 7 Oct 2009 19:14:52 +0000 (UTC) Received: from jessie.localnet (p54B4FDE6.dip.t-dialin.net [84.180.253.230]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.netsrc.de (Postfix) with ESMTP id 0385A192FD9; Wed, 7 Oct 2009 20:53:59 +0200 (CEST) From: Bernhard Schmidt To: freebsd-stable@freebsd.org Date: Wed, 7 Oct 2009 20:53:33 +0200 User-Agent: KMail/1.12.1 (Linux/2.6.30-2-686; KDE/4.3.1; i686; ; ) References: <20091007200959.3c93904f.lehmann@ans-netz.de> In-Reply-To: <20091007200959.3c93904f.lehmann@ans-netz.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200910072053.34044.bschmidt@techwires.net> Cc: Oliver Lehmann Subject: Re: samba - SIGABRT X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2009 19:14:53 -0000 On Wednesday 07 October 2009 20:09:59 Oliver Lehmann wrote: > Hi, > > I wonder what may have caused this and how should I debug it to find the > source? I Installed samba 3.3.7 on a clean 8.0-RC1 and I upgraded then my > system to the latest RELENG_8. > Since I've not the time searching much longer for the error I'll just go > to upgrade to 3.3.8 (recompile it...) tomorrow but I'm curious what it > may have caused and how I would have been able to find the cause.... Is by any chance security.bsd.map_at_zero set to 0? If it is http://lists.freebsd.org/pipermail/freebsd-stable/2009-October/052235.html has a solution. > > > root@nudel samba33> /usr/local/sbin/smbd > Abort > Exit 134 > > > root@nudel samba33> gdb > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you > are welcome to change it and/or distribute copies of it under certain > conditions. Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i386-marcel-freebsd". > (gdb) exec /usr/local/sbin/smbd > (gdb) run > Starting program: /usr/local/sbin/smbd > > Program terminated with signal SIGABRT, Aborted. > The program no longer exists. > You can't do that without a process to debug. > (gdb) q > root@nudel samba33> ktrace /usr/local/sbin/smbd > Abort > Exit 134 > root@nudel samba33> kdump > 2605 ktrace RET ktrace 0 > 2605 ktrace CALL execve(0xbfbfed83,0xbfbfec50,0xbfbfec58) > 2605 ktrace NAMI "/usr/local/sbin/smbd" > root@nudel samba33> mount -t procfs /dev/null /proc > root@nudel samba33> truss -fad /usr/local/sbin/smbd > truss: can not get etype: No such process > Exit 2 > root@nudel samba33> dmesg | tail -1 > fxp0: Microcode loaded, int_delay: 1000 usec bundle_max: 6 > root@nudel samba33> ldd /usr/local/sbin/smbd > /usr/local/sbin/smbd: > libcrypt.so.5 => /lib/libcrypt.so.5 (0x281aa000) > libpam.so.5 => /usr/lib/libpam.so.5 (0x281c3000) > libexecinfo.so.1 => /usr/local/lib/libexecinfo.so.1 (0x281cb000) > libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x288d2000) > libpopt.so.0 => /usr/local/lib/libpopt.so.0 (0x281d6000) > libc.so.7 => /lib/libc.so.7 (0x28091000) > libm.so.5 => /lib/libm.so.5 (0x281df000) > libintl.so.8 => /usr/local/lib/libintl.so.8 (0x289d1000) > root@nudel samba33> ls -l /lib/libcrypt.so.5 /usr/lib/libpam.so.5 > /usr/local/lib/libexecinfo.so.1 /usr/local/lib/libiconv.so.3 > /usr/local/lib/libpopt.so.0 /lib/libc.so.7 /lib/libm.so.5 > /usr/local/lib/libintl.so.8 -r--r--r-- 1 root wheel 1144500 Oct 5 > 16:40 /lib/libc.so.7 > -r--r--r-- 1 root wheel 32060 Oct 5 16:41 /lib/libcrypt.so.5 > -r--r--r-- 1 root wheel 119372 Oct 5 16:41 /lib/libm.so.5 > -r--r--r-- 1 root wheel 28424 Oct 5 16:42 /usr/lib/libpam.so.5 > -r--r--r-- 1 root wheel 40636 Oct 4 19:59 > /usr/local/lib/libexecinfo.so.1 -r--r--r-- 1 root wheel 1050349 Oct 4 > 19:41 /usr/local/lib/libiconv.so.3 -r--r--r-- 1 root wheel 39876 Oct > 4 19:52 /usr/local/lib/libintl.so.8 -rwxr-xr-x 1 root wheel 39623 Oct > 4 20:00 /usr/local/lib/libpopt.so.0* root@nudel samba33> ls -l > /usr/local/sbin/smbd > -rwxr-xr-x 1 root wheel 6698391 Oct 4 20:30 /usr/local/sbin/smbd* > root@nudel samba33> file /usr/local/sbin/smbd > /usr/local/sbin/smbd: ELF 32-bit LSB shared object, Intel 80386, version 1 > (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 8.0 > (800107), not stripped root@nudel samba33> > -- Bernhard From owner-freebsd-stable@FreeBSD.ORG Wed Oct 7 20:08:47 2009 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 646D6106568B; Wed, 7 Oct 2009 20:08:47 +0000 (UTC) (envelope-from jamie@FreeBSD.org) Received: from gritton.org (gritton.org [161.58.222.4]) by mx1.freebsd.org (Postfix) with ESMTP id 283808FC1F; Wed, 7 Oct 2009 20:08:47 +0000 (UTC) Received: from guppy.corp.verio.net (fw.oremut02.us.wh.verio.net [198.65.168.24]) (authenticated bits=0) by gritton.org (8.13.6.20060614/8.13.6) with ESMTP id n97K8juR097151; Wed, 7 Oct 2009 14:08:46 -0600 (MDT) Message-ID: <4ACCF548.2070200@FreeBSD.org> Date: Wed, 07 Oct 2009 14:08:40 -0600 From: Jamie Gritton User-Agent: Thunderbird 2.0.0.19 (X11/20090109) MIME-Version: 1.0 To: Rick Macklem References: <4ABD4BB9.1030804@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@FreeBSD.org, Marcel Moolenaar , Robert Watson , "current@freebsd.org mailing list" Subject: Re: 8.0-RC1: kernel page fault in NLM master thread (VIMAGE or ZFS related?) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2009 20:08:47 -0000 Rick Macklem wrote: > On Sun, 27 Sep 2009, Robert Watson wrote: >> On Fri, 25 Sep 2009, Jamie Gritton wrote: >> >>> It seems to be NFS related. I think the null pointer in question is >>> from the export's anonymous credential. Try the patch below and see >>> if it helps (which I guess means run it overnight and see if it >>> crashes again). I've also patched a similar missing cred prison in >>> GSS_SVC, since I'm not versed enough in NFS/RPC stuff to know if it >>> might be the problem. >> >> This is one of the reasons I really dislike "magic" credentials and >> special handling of NULL credentials -- they always get into code the >> author doesn't expect, and either there are bad pointer dereferences, >> or incorrect security decisions. It's almost always the case that a >> correct credential should have been cached or generated at some >> earlier point to represent the security context... >> > I don't really understand prisons/jails, but would creating these > credentials via: > crdup(td->td_ucred); // duplicating the daemon thread's cred > - and then replacing the > make sense as an alternative to starting with crget()? > (ie. All the other stuff except would be "inherited" from the > credential for the daemon thread.) That sounds right to me for cases when the cred is based on passed UID/GIDs. Perhaps you'd want to use the UID-changing helper functions on kern_prot.c, or perhaps a new helper or helpers just for the circumstance. - Jamie From owner-freebsd-stable@FreeBSD.ORG Wed Oct 7 20:50:21 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8B951065694 for ; Wed, 7 Oct 2009 20:50:21 +0000 (UTC) (envelope-from matthew.fleming@isilon.com) Received: from seaxch09.isilon.com (seaxch09.isilon.com [74.85.160.25]) by mx1.freebsd.org (Postfix) with ESMTP id B11A98FC16 for ; Wed, 7 Oct 2009 20:50:21 +0000 (UTC) x-mimeole: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Date: Wed, 7 Oct 2009 13:50:26 -0700 Message-ID: <06D5F9F6F655AD4C92E28B662F7F853E0321806B@seaxch09.desktop.isilon.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [SOLVED] Re: libthr and daemon() Thread-Index: AcpGFmYgHqq4lT7VQTO38LEndzavEQAiucvw From: "Matthew Fleming" To: Subject: [SOLVED] Re: libthr and daemon() X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2009 20:50:21 -0000 > 2) why would fork resolve to the one in libc (presumably, I'm not sure how > to prove this) instead of the one in libthr? Well, I'm not sure how the application plus libraries linked, but there was no explicit -lthr or -lpthread in the Makefile. So the resulting binary used the fork() in libc. When I added -lthr the app grew by about 15 bytes, and correctly used the fork() weak-referenced to the explicit _fork() in libthr. Weird. Thanks, matthew From owner-freebsd-stable@FreeBSD.ORG Wed Oct 7 23:51:41 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97AC6106568B for ; Wed, 7 Oct 2009 23:51:41 +0000 (UTC) (envelope-from jeff.dowsley@mac.com) Received: from asmtpout015.mac.com (asmtpout015.mac.com [17.148.16.90]) by mx1.freebsd.org (Postfix) with ESMTP id 83C7B8FC08 for ; Wed, 7 Oct 2009 23:51:41 +0000 (UTC) MIME-version: 1.0 Received: from [192.168.1.101] (110-175-193-74.static.tpgi.com.au [110.175.193.74]) by asmtp015.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KR6001MS4XYU470@asmtp015.mac.com> for freebsd-stable@freebsd.org; Wed, 07 Oct 2009 16:51:37 -0700 (PDT) To: freebsd-stable@freebsd.org Message-id: From: Jeff Dowsley Date: Thu, 08 Oct 2009 10:51:53 +1100 X-Mailer: Apple Mail (2.753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: NDIS broken? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2009 23:51:41 -0000 Folks Just upgraded from 7.2 to 8.0RC1 Under 7.2, I was using an ndis wrapper to provide a Windows network driver for an old Linksys PCMIA card (non-ath). Worked beautifully as per the Handbook under 7.2. Sadly, under 8.0RC1, the process to generate the wrapper appears to work OK, but when I attempt to set any of the card's parameters, ifconfig returns I/O errors. For example: ifconfig ndis0 up (back to prompt without errors, but then... ifconfig ndis0 inet 192.168.1.105 netmask 255.255.255.0 ifconfig: ioctl (SIOCAIFADDR): Invalid argument or ifconfig ndis0 ssid chcs ifconfig: SIOCS80211: Invalid argument dmesg reports that ndis0 is available as a Wireless-G Notebook Adapter after the ndis drivers are loaded. Any advice? JeffD _____________________________ M 0427565791 jeff.dowsley@mac.com From owner-freebsd-stable@FreeBSD.ORG Thu Oct 8 00:28:10 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DEC4C1065670 for ; Thu, 8 Oct 2009 00:28:10 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-fx0-f222.google.com (mail-fx0-f222.google.com [209.85.220.222]) by mx1.freebsd.org (Postfix) with ESMTP id 70C7B8FC08 for ; Thu, 8 Oct 2009 00:28:10 +0000 (UTC) Received: by fxm22 with SMTP id 22so5301459fxm.36 for ; Wed, 07 Oct 2009 17:28:09 -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:cc:content-type :content-transfer-encoding; bh=0VBq/bQ6zNgEsCr81imArjINh3WRvKFzHAZcDMPeecA=; b=UwJPkdZt0fyCRHPY0PUF1po8Fy/1r8DjYRy85UjOZykE7gQqUbOjJ3vbIv1WB32wNP Yh0puj4e0ReVn69oOqVE/lPUJt9PHEcLwRzG2aEEBFiMZU0YxYekd6azXf4/TJbdqPG3 /cuBMA/QlECz7CY4MXU2WW3jF2Dv420ojgHa8= 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 :cc:content-type:content-transfer-encoding; b=hwJAxxIr4lEfeCHTASA1siw8tE7W/pdCra0RIc3xFJuOufGP+wTTWExWGA+kY/HVlG hoPcoOBUYH/Z/x7pJGEapdsUGs3QokwzBETehFbbSswgrbBsbPk7/7Nwt2bpAtJF4YuJ kZR6GTar0Z9GZN81GPVTacHGE80dUzS52iy0s= MIME-Version: 1.0 Received: by 10.223.27.194 with SMTP id j2mr162223fac.76.1254961689312; Wed, 07 Oct 2009 17:28:09 -0700 (PDT) In-Reply-To: References: Date: Wed, 7 Oct 2009 20:28:09 -0400 Message-ID: <4ad871310910071728t78a1fa80m2e1953865fd328f7@mail.gmail.com> From: Glen Barber To: Jeff Dowsley Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org Subject: Re: NDIS broken? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2009 00:28:10 -0000 Hi On Wed, Oct 7, 2009 at 7:51 PM, Jeff Dowsley wrote: > Folks > > Just upgraded from 7.2 to 8.0RC1 > > Under 7.2, I was using an ndis wrapper to provide a Windows network drive= r > for an old Linksys PCMIA card (non-ath). Worked beautifully as per the > Handbook under 7.2. > > Sadly, under 8.0RC1, the process to generate the wrapper appears to work = OK, > but when I attempt to set any of the card's parameters, ifconfig returns = I/O > errors. > > For example: > > ifconfig ndis0 up =A0 =A0 =A0 =A0 =A0 =A0 =A0 (back to prompt without err= ors, but then... > > ifconfig ndis0 inet 192.168.1.105 netmask 255.255.255.0 > > ifconfig: ioctl (SIOCAIFADDR): Invalid argument > > or > > ifconfig ndis0 ssid chcs > > ifconfig: SIOCS80211: Invalid argument > > Have a look at the 20080420 entry in /usr/src/UPDATING for 8.X. You have to change ndis to wlan with an additional change in rc.conf. HTH. --=20 Glen Barber From owner-freebsd-stable@FreeBSD.ORG Thu Oct 8 04:59:44 2009 Return-Path: Delivered-To: FreeBSD-Stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD9FC106568F for ; Thu, 8 Oct 2009 04:59:44 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-yx0-f184.google.com (mail-yx0-f184.google.com [209.85.210.184]) by mx1.freebsd.org (Postfix) with ESMTP id 716C58FC16 for ; Thu, 8 Oct 2009 04:59:44 +0000 (UTC) Received: by yxe14 with SMTP id 14so9592792yxe.7 for ; Wed, 07 Oct 2009 21:59:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:subject :message-id:user-agent:x-openpgp-key-id:x-openpgp-key-fingerprint :mime-version:content-type; bh=AtxtfjPpAwvhil7BPB/WwDkp5AKNXUZcsbSWrcRPoVQ=; b=qFOsRB/mD5F2fSKxLDQtOtqix/Q+dXGb6pIaX3/fLrpiL9CyeujIAm68WOOuGuzrIH F0RKM/+q8FgQbkKmr2xyj8WBTgdGrqdrMIn0swQsEfjGImP6zVUwfFfmx3c1sDy032LD 8pGmBv+3gpMKeYGcrZytt0hp9DOpm3BV9AQMU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:user-agent:x-openpgp-key-id :x-openpgp-key-fingerprint:mime-version:content-type; b=v/wLUin6n5tFMyXnXZXbkKM3R08ksgfhqkUR3re7gusim7TPqcc48Ae+ia/9snU8ZY jbUiIMi3YIWzNmivDpoHAjY7AM+ce9qhYw5uxSB5+Imbh2nVv6lkQ+zmkFk+HCf0/vPj 8AirUwhrCV5sSSrs4MUgPxoLnrUixH7S4UnjI= Received: by 10.150.114.1 with SMTP id m1mr1512929ybc.182.1254977983725; Wed, 07 Oct 2009 21:59:43 -0700 (PDT) Received: from dimension.5p.local (adsl-99-19-46-114.dsl.klmzmi.sbcglobal.net [99.19.46.114]) by mx.google.com with ESMTPS id 13sm971966gxk.5.2009.10.07.21.59.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 07 Oct 2009 21:59:43 -0700 (PDT) Sender: "J. Hellenthal" Date: Thu, 8 Oct 2009 00:59:36 -0400 From: jhell To: FreeBSD Stable Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Cc: Subject: r197748 - base/stable/7/bin/sh/ 7.2-STABLE i386 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2009 04:59:44 -0000 ------------------------------------------------------------------------ r197748 | jilles | 2009-10-04 13:16:11 -0400 (Sun, 04 Oct 2009) | 7 lines MFC r197371: Mention that NUL characters are not allowed in sh(1) input. I do not consider this a bug because POSIX permits it and argument strings and environment variables cannot contain '\0' anyway. PR: bin/25542 ------------------------------------------------------------------------ Recently I have been noticing strange happenings of what I believe to be coming from the latest revision of /bin/sh. Prior to this revision it had not happened to the following examples. I am taking this as it could just be a following behavior in sudo due to fixing the first behavior in sh(1) but I am not sure and looking for feedback. How to repeat: ( Let me know if this is only me. ) # sudo rm -rf /usr/ports/*/*/work After issuing the above command the process waits for the list of (work) directories to be collected and ends by bombing out with pam timeout error. This could probably be easier seen with higher IO load but it has struck me kind of odd since I have not seen it at all till now. Also once it gets started you can not ^C the process until it has run the full directory tree. Behavior before, you could issue the command and it would ask you for your password before it would issue any IO to the disk. Is the new behavior called for adjusting your command to sh -c "rm -rf /usr/blah/bloo/bla*" ? Thanks -- ;; dataix.net!jhell 2048R/89D8547E 2009-09-30 ;; BSD since FreeBSD 4.2 Linux since Slackware 2.1 ;; 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E From owner-freebsd-stable@FreeBSD.ORG Thu Oct 8 05:29:50 2009 Return-Path: Delivered-To: FreeBSD-Stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADABD1065694 for ; Thu, 8 Oct 2009 05:29:50 +0000 (UTC) (envelope-from barney@databus.com) Received: from mail1.aceinnovative.com (mail1.aceinnovative.com [66.114.74.12]) by mx1.freebsd.org (Postfix) with ESMTP id 57B4A8FC24 for ; Thu, 8 Oct 2009 05:29:50 +0000 (UTC) Received: from pit.databus.com ([71.167.133.111]) (authenticated bits=0) by mail1.aceinnovative.com (8.13.8/8.13.8) with ESMTP id n985TkZo013497 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 8 Oct 2009 01:29:46 -0400 Received: from pit.databus.com (localhost [127.0.0.1]) by pit.databus.com (8.14.3/8.14.3) with ESMTP id n985TkCA042886; Thu, 8 Oct 2009 01:29:46 -0400 (EDT) (envelope-from barney@pit.databus.com) Received: (from barney@localhost) by pit.databus.com (8.14.3/8.14.3/Submit) id n985TkH8042885; Thu, 8 Oct 2009 01:29:46 -0400 (EDT) (envelope-from barney) Date: Thu, 8 Oct 2009 01:29:46 -0400 From: Barney Wolff To: jhell Message-ID: <20091008052946.GA42664@pit.databus.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: FreeBSD Stable Subject: Re: r197748 - base/stable/7/bin/sh/ 7.2-STABLE i386 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2009 05:29:50 -0000 I believe you are wrong about prior behavior. sudo is from a port and is in /usr/local/bin. Any shell is going to expand the list of args *before* giving control to the executable. So the system will churn for a while before sudo gets to ask for the password. On Thu, Oct 08, 2009 at 12:59:36AM -0400, jhell wrote: > > ------------------------------------------------------------------------ > r197748 | jilles | 2009-10-04 13:16:11 -0400 (Sun, 04 Oct 2009) | 7 lines > > MFC r197371: Mention that NUL characters are not allowed in sh(1) input. > > I do not consider this a bug because POSIX permits it and argument strings > and environment variables cannot contain '\0' anyway. > > PR: bin/25542 > > ------------------------------------------------------------------------ > > Recently I have been noticing strange happenings of what I believe to be > coming from the latest revision of /bin/sh. Prior to this revision it had > not happened to the following examples. I am taking this as it could just > be a following behavior in sudo due to fixing the first behavior in sh(1) > but I am not sure and looking for feedback. > > How to repeat: ( Let me know if this is only me. ) > # sudo rm -rf /usr/ports/*/*/work > > After issuing the above command the process waits for the list of (work) > directories to be collected and ends by bombing out with pam timeout > error. This could probably be easier seen with higher IO load but it has > struck me kind of odd since I have not seen it at all till now. Also once > it gets started you can not ^C the process until it has run the full > directory tree. > > Behavior before, you could issue the command and it would ask you for your > password before it would issue any IO to the disk. Is the new behavior > called for adjusting your command to sh -c "rm -rf /usr/blah/bloo/bla*" ? -- Barney Wolff I never met a computer I didn't like. From owner-freebsd-stable@FreeBSD.ORG Thu Oct 8 06:23:28 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FA3F106568D for ; Thu, 8 Oct 2009 06:23:28 +0000 (UTC) (envelope-from lehmann@ans-netz.de) Received: from avocado.salatschuessel.net (avocado.salatschuessel.net [78.111.72.186]) by mx1.freebsd.org (Postfix) with SMTP id D01CB8FC14 for ; Thu, 8 Oct 2009 06:23:27 +0000 (UTC) Received: (qmail 11721 invoked by uid 89); 8 Oct 2009 06:23:26 -0000 Message-ID: <20091008062326.11720.qmail@avocado.salatschuessel.net> References: <20091007200959.3c93904f.lehmann@ans-netz.de> In-Reply-To: From: "Oliver Lehmann" To: jhell Date: Thu, 08 Oct 2009 08:23:26 +0200 Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-stable@freebsd.org" Subject: Re: samba - SIGABRT X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2009 06:23:28 -0000 jhell writes: Hi, > This was caused by your setting of the following: > > security.bsd.map_at_zero=0 > > You can reset that value to 1 and you should be alright to operate like > normal otherwise you will have to compile samba over again with the above > mentioned configure options. Yeah this caused the problem. I wonder how I could have find this by myself (google is not counting ;)) I mean, the Abort message is not very verbose what the problem is here. From owner-freebsd-stable@FreeBSD.ORG Thu Oct 8 07:38:11 2009 Return-Path: Delivered-To: FreeBSD-Stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F01DF106566B for ; Thu, 8 Oct 2009 07:38:10 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-yw0-f186.google.com (mail-yw0-f186.google.com [209.85.211.186]) by mx1.freebsd.org (Postfix) with ESMTP id A124C8FC13 for ; Thu, 8 Oct 2009 07:38:10 +0000 (UTC) Received: by ywh16 with SMTP id 16so5119313ywh.13 for ; Thu, 08 Oct 2009 00:38:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:cc :subject:in-reply-to:message-id:references:user-agent :x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; bh=AqHLofz69gPa6+kLdTNEyJhfzdjY7ka3dK/G0SY0k7Q=; b=trIXv/bxoFgr4Rz27ptX3ySFwfDI1pNELJ2CyAOqDlQ/i9ImqD2Tr5AA64pk4qGtcc Yb9r3Bw4JwYnbVbY0WEZ0J1rSxyDBGrMJnzU8VcgLP+DPPluC7zrLRKVmqjtPlmnHbto XYRx6MP+SaJsvaBcpu4BrFEclLKlXy+lR5Mog= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; b=E37BUO2gXVUNPZFA6o8rsPmYM2C+mdBzMxlnialIr6z1mNo7gmGvPu+2LO3qoRrF4u lPok2JfqLAgBhxhfc1oIIJYK125PWAkoEZgQkY1whnFQV734SHTDR4E0PE7JMHh/mORe zEx4ljuUi2jJaIZbUXnuI8hnr839/t8PNhR88= Received: by 10.150.131.5 with SMTP id e5mr1722201ybd.262.1254987485164; Thu, 08 Oct 2009 00:38:05 -0700 (PDT) Received: from dimension.5p.local (adsl-99-19-46-114.dsl.klmzmi.sbcglobal.net [99.19.46.114]) by mx.google.com with ESMTPS id 15sm942275gxk.4.2009.10.08.00.38.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 08 Oct 2009 00:38:04 -0700 (PDT) Sender: "J. Hellenthal" Date: Thu, 8 Oct 2009 03:37:52 -0400 From: jhell To: Barney Wolff In-Reply-To: <20091008052946.GA42664@pit.databus.com> Message-ID: References: <20091008052946.GA42664@pit.databus.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: jhell , FreeBSD Stable Subject: Re: r197748 - base/stable/7/bin/sh/ 7.2-STABLE i386 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2009 07:38:11 -0000 On Thu, 8 Oct 2009 01:29 -0400, barney@ wrote: > I believe you are wrong about prior behavior. sudo is from a port and > is in /usr/local/bin. Any shell is going to expand the list of args > *before* giving control to the executable. So the system will churn > for a while before sudo gets to ask for the password. > > On Thu, Oct 08, 2009 at 12:59:36AM -0400, jhell wrote: >> >> ------------------------------------------------------------------------ >> r197748 | jilles | 2009-10-04 13:16:11 -0400 (Sun, 04 Oct 2009) | 7 lines >> >> MFC r197371: Mention that NUL characters are not allowed in sh(1) input. >> >> I do not consider this a bug because POSIX permits it and argument strings >> and environment variables cannot contain '\0' anyway. >> >> PR: bin/25542 >> >> ------------------------------------------------------------------------ >> >> Recently I have been noticing strange happenings of what I believe to be >> coming from the latest revision of /bin/sh. Prior to this revision it had >> not happened to the following examples. I am taking this as it could just >> be a following behavior in sudo due to fixing the first behavior in sh(1) >> but I am not sure and looking for feedback. >> >> How to repeat: ( Let me know if this is only me. ) >> # sudo rm -rf /usr/ports/*/*/work >> >> After issuing the above command the process waits for the list of (work) >> directories to be collected and ends by bombing out with pam timeout >> error. This could probably be easier seen with higher IO load but it has >> struck me kind of odd since I have not seen it at all till now. Also once >> it gets started you can not ^C the process until it has run the full >> directory tree. >> >> Behavior before, you could issue the command and it would ask you for your >> password before it would issue any IO to the disk. Is the new behavior >> called for adjusting your command to sh -c "rm -rf /usr/blah/bloo/bla*" ? > > Yeah, maybe. I might be just mixing up that I actually ran this as root instead of sudo from a user account. Its late and it had confused me as I had not seen a pam timeout error like that before that sh revision. My belief behind it was just that it was a subshell starting using sh but not handing it self back to sudo in time for authentication or something like that... "IDK" Ill keep investigating it later. Maybe something else is actually going on with my system that has not yielded its ugly head yet. Thanks for the feedback. -- ;; dataix.net!jhell 2048R/89D8547E 2009-09-30 ;; BSD since FreeBSD 4.2 Linux since Slackware 2.1 ;; 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E From owner-freebsd-stable@FreeBSD.ORG Thu Oct 8 12:12:46 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2199D1065676; Thu, 8 Oct 2009 12:12:46 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id C52868FC08; Thu, 8 Oct 2009 12:12:45 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.3/8.14.3) with ESMTP id n98CCjDb073107; Thu, 8 Oct 2009 08:12:45 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.3/8.14.3/Submit) id n98CCjI9073077; Thu, 8 Oct 2009 12:12:45 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 8 Oct 2009 12:12:45 GMT Message-Id: <200910081212.n98CCjI9073077@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [releng_8 tinderbox] failure on i386/pc98 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2009 12:12:46 -0000 TB --- 2009-10-08 11:23:56 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-10-08 11:23:56 - starting RELENG_8 tinderbox run for i386/pc98 TB --- 2009-10-08 11:23:56 - cleaning the object tree TB --- 2009-10-08 11:24:17 - cvsupping the source tree TB --- 2009-10-08 11:24:17 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/RELENG_8/i386/pc98/supfile TB --- 2009-10-08 11:24:44 - building world TB --- 2009-10-08 11:24:44 - MAKEOBJDIRPREFIX=/obj TB --- 2009-10-08 11:24:44 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-10-08 11:24:44 - TARGET=pc98 TB --- 2009-10-08 11:24:44 - TARGET_ARCH=i386 TB --- 2009-10-08 11:24:44 - TZ=UTC TB --- 2009-10-08 11:24:44 - __MAKE_CONF=/dev/null TB --- 2009-10-08 11:24:44 - cd /src TB --- 2009-10-08 11:24:44 - /usr/bin/make -B buildworld >>> World build started on Thu Oct 8 11:24:44 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] gzip -cn /src/sbin/ddb/ddb.8 > ddb.8.gz ===> sbin/devd (all) c++ -O2 -pipe -I. -I/src/sbin/devd -fstack-protector -c /src/sbin/devd/devd.cc /src/sbin/devd/devd.cc: In member function 'virtual bool media::do_match(config&)': /src/sbin/devd/devd.cc:223: internal compiler error: Segmentation fault: 11 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. *** Error code 1 Stop in /src/sbin/devd. *** Error code 1 Stop in /src/sbin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-10-08 12:12:45 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-10-08 12:12:45 - ERROR: failed to build world TB --- 2009-10-08 12:12:45 - 2188.95 user 463.45 system 2928.93 real http://tinderbox.des.no/tinderbox-releng_8-RELENG_8-i386-pc98.full From owner-freebsd-stable@FreeBSD.ORG Thu Oct 8 14:43:28 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C3C61065672 for ; Thu, 8 Oct 2009 14:43:28 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 5409C8FC18 for ; Thu, 8 Oct 2009 14:43:28 +0000 (UTC) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id DA1FF46B06; Thu, 8 Oct 2009 10:43:27 -0400 (EDT) Date: Thu, 8 Oct 2009 15:43:27 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Oliver Lehmann In-Reply-To: <20091008062326.11720.qmail@avocado.salatschuessel.net> Message-ID: References: <20091007200959.3c93904f.lehmann@ans-netz.de> <20091008062326.11720.qmail@avocado.salatschuessel.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: jhell , "freebsd-stable@freebsd.org" Subject: Re: samba - SIGABRT X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2009 14:43:28 -0000 On Thu, 8 Oct 2009, Oliver Lehmann wrote: >> This was caused by your setting of the following: >> security.bsd.map_at_zero=0 You can reset that value to 1 and you should be >> alright to operate like normal otherwise you will have to compile samba >> over again with the above mentioned configure options. > > Yeah this caused the problem. I wonder how I could have find this by myself > (google is not counting ;)) I mean, the Abort message is not very verbose > what the problem is here Hi Oliver-- While it's probably a bug that the Samba port compiles --pie, it's also a bug that our linking bits aren't handling PIE properly either. The goal is to fix PIE with the non-NULL mapping feature in the immediate future, so with any luck the abort message won't matter too much longer. Robert From owner-freebsd-stable@FreeBSD.ORG Thu Oct 8 14:59:47 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C625D106568D for ; Thu, 8 Oct 2009 14:59:47 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id 7FCE58FC14 for ; Thu, 8 Oct 2009 14:59:47 +0000 (UTC) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.3/8.14.3/NETPLEX) with ESMTP id n98Exg0s028253; Thu, 8 Oct 2009 10:59:42 -0400 (EDT) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.2.2 (mail.netplex.net [204.213.176.10]); Thu, 08 Oct 2009 10:59:42 -0400 (EDT) Date: Thu, 8 Oct 2009 10:59:42 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Robert Watson In-Reply-To: Message-ID: References: <20091007200959.3c93904f.lehmann@ans-netz.de> <20091008062326.11720.qmail@avocado.salatschuessel.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: jhell , "freebsd-stable@freebsd.org" , Oliver Lehmann Subject: Re: samba - SIGABRT X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2009 14:59:47 -0000 On Thu, 8 Oct 2009, Robert Watson wrote: > > On Thu, 8 Oct 2009, Oliver Lehmann wrote: > >>> This was caused by your setting of the following: >>> security.bsd.map_at_zero=0 You can reset that value to 1 and you should be >>> alright to operate like normal otherwise you will have to compile samba >>> over again with the above mentioned configure options. >> >> Yeah this caused the problem. I wonder how I could have find this by myself >> (google is not counting ;)) I mean, the Abort message is not very verbose >> what the problem is here > > Hi Oliver-- > > While it's probably a bug that the Samba port compiles --pie, it's also a bug > that our linking bits aren't handling PIE properly either. The goal is to > fix PIE with the non-NULL mapping feature in the immediate future, so with > any luck the abort message won't matter too much longer. How about reverting this change or defaulting security.bsd.map_at_zero=1 until either ports can handle this properly or our -pie is fixed, and we've had at least a release with pre-built packages that don't have the problem? -- DE From owner-freebsd-stable@FreeBSD.ORG Thu Oct 8 16:19:25 2009 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0290106568B for ; Thu, 8 Oct 2009 16:19:25 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5F9068FC3B for ; Thu, 8 Oct 2009 16:19:25 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id n98GJ3cS077317; Thu, 8 Oct 2009 18:19:19 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id n98GJ3JE077316; Thu, 8 Oct 2009 18:19:03 +0200 (CEST) (envelope-from olli) Date: Thu, 8 Oct 2009 18:19:03 +0200 (CEST) Message-Id: <200910081619.n98GJ3JE077316@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, freebsd+stable@esmtp.org In-Reply-To: <20090826154741.GA18965@zardoc.esmtp.org> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Thu, 08 Oct 2009 18:19:19 +0200 (CEST) Cc: Subject: Re: kbdcontrol: map Backspace key to '\' fails X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG, freebsd+stable@esmtp.org List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2009 16:19:26 -0000 Claus Assmann wrote: > On FreeBSD 7.2-STABLE it seems to be impossible to map the Backspace > key to '\' and '|'. Here's what I did: > > Change /usr/share/syscons/keymaps/us.unix.kbd: > [...] The diff looks good and should work fine. > and run: > kbdcontrol -k /dev/console -l /usr/share/syscons/keymaps/us.unix.kbd That -k options doesn't make sense at all. Actually I'm surprised that it doesn't give you an error message. Please use this command: kbdcontrol -l us.unix.kbd < /dev/ttyv0 Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd PI: int f[9814],b,c=9814,g,i;long a=1e4,d,e,h; main(){for(;b=c,c-=14;i=printf("%04d",e+d/a),e=d%a) while(g=--b*2)d=h*b+a*(i?f[b]:a/5),h=d/--g,f[b]=d%g;} From owner-freebsd-stable@FreeBSD.ORG Thu Oct 8 17:13:31 2009 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1714C1065672; Thu, 8 Oct 2009 17:13:31 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 722ED8FC12; Thu, 8 Oct 2009 17:13:30 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id n98HD1Sh079776; Thu, 8 Oct 2009 19:13:16 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id n98HD0kj079775; Thu, 8 Oct 2009 19:13:00 +0200 (CEST) (envelope-from olli) Date: Thu, 8 Oct 2009 19:13:00 +0200 (CEST) Message-Id: <200910081713.n98HD0kj079775@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, db@danielbond.org, dougb@FreeBSD.ORG In-Reply-To: <460A3E92-37D5-49CA-A079-EC08867B8DD4@danielbond.org> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Thu, 08 Oct 2009 19:13:16 +0200 (CEST) Cc: Subject: Re: openssh concerns X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG, db@danielbond.org, dougb@FreeBSD.ORG List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2009 17:13:31 -0000 > Doug Barton wrote: > > Daniel Bond wrote: > > > However, I'm concerned about the suggestion of using an > > > unprivileged port > > > > Please explain your reasoning, and how it's relevant in a world where > > the vast majority of Internet users have complete administrative > > control over the systems they use. There are shell machines with lots of user accounts, none of which have administrative control of the system. In fact I'm running such a machine myself. Suppose there is a security hole in sshd that enables a DoS attack, i.e. some use is able to kill the sshd daemon. Or maybe the sshd daemon dies because of some other, unrelated reason. If it was running on an unprivileged, a normal user would now be able to start up his own (probably modified) sshd daemon on the very same port. He won't have the correct host key, of course, but I can tell you that many users ignore the warning and innocently type "yes" when asked whether to accept the fingerprint. "Probably the admin reinstalled something, this happened before, don't worry." If you run the sshd daemon on a privileged port < 1024 (or one protected by mac_portacl(4)), that security problem does not exist at all. Normal users can't start up a fake daemon on such a port if the real daemon dies. Even if there are no user accounts, it's not worth taking chances. It's always possible that there will be some hole in some silly, unrelated daemon that enables remote execution ... then you have a "user account" without knowing. Successful attacks are often the result of two or more unrelated holes, so it's definitely worth to plug every sinlge hole, even small ones that seem unimportant. Running a critical daemon like sshd in an unprivileged port is such a hole, in my opinion. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd From owner-freebsd-stable@FreeBSD.ORG Thu Oct 8 17:22:17 2009 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21EDF1065672 for ; Thu, 8 Oct 2009 17:22:17 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id A908C8FC14 for ; Thu, 8 Oct 2009 17:22:16 +0000 (UTC) Received: (qmail 21431 invoked by uid 399); 8 Oct 2009 17:22:15 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 8 Oct 2009 17:22:15 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4ACE1FC5.2060409@FreeBSD.org> Date: Thu, 08 Oct 2009 10:22:13 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Thunderbird 2.0.0.23 (X11/20090822) MIME-Version: 1.0 To: freebsd-stable@FreeBSD.ORG, dougb@FreeBSD.ORG References: <200910081713.n98HD0kj079775@lurza.secnetix.de> In-Reply-To: <200910081713.n98HD0kj079775@lurza.secnetix.de> X-Enigmail-Version: 0.96.0 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: openssh concerns X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2009 17:22:17 -0000 Oliver Fromme wrote: > There are shell machines with lots of user accounts, none > of which have administrative control of the system. Sure there are, but they make up only a tiny fraction of the systems on the network today. Doug -- Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ From owner-freebsd-stable@FreeBSD.ORG Thu Oct 8 17:23:53 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 424B2106568B for ; Thu, 8 Oct 2009 17:23:53 +0000 (UTC) (envelope-from edhoprima@gmail.com) Received: from mail-pz0-f193.google.com (mail-pz0-f193.google.com [209.85.222.193]) by mx1.freebsd.org (Postfix) with ESMTP id 1AF018FC13 for ; Thu, 8 Oct 2009 17:23:52 +0000 (UTC) Received: by pzk31 with SMTP id 31so2990235pzk.28 for ; Thu, 08 Oct 2009 10:23:52 -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:cc:content-type; bh=YTLtRPzQwcxCjsGAZINvq0hgFUJ6PedLN9XThxQNof0=; b=C62lrVG3mbd045wrbn4bOs5A1o1URP/HGNPEmWWs6Skj4SYPsB11y+kiHgR+zGaKit fqbE8We1LaVqROpdHDe/h8AeHSWKaADURGwunapXLh6fA0g/JtQBV3Ym0y/cnxnNGg6l wf5W2Kieji3e7+C1V4QM1cJ4kfU4E1y+wva6c= 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 :cc:content-type; b=gPzjNZzvvR15ZTGbF0sW0+jb4/XDq/ly1QTVYNyfSqcHZDe9Fo31U4z7Y0wOSackMV 4Pg7vOPhqsyzsrwCWXuE0NjdIHvYCMhhYx0zswtvKBncpX/XOndLNNaU8SaVJHgw+1cZ wzAJU4uANwts3NmGg49nSVGY44ncvopuwqgxk= MIME-Version: 1.0 Received: by 10.142.249.7 with SMTP id w7mr128015wfh.317.1255022632637; Thu, 08 Oct 2009 10:23:52 -0700 (PDT) In-Reply-To: <4ACE1FC5.2060409@FreeBSD.org> References: <200910081713.n98HD0kj079775@lurza.secnetix.de> <4ACE1FC5.2060409@FreeBSD.org> Date: Fri, 9 Oct 2009 00:23:52 +0700 Message-ID: From: Edho P Arief To: Doug Barton Content-Type: text/plain; charset=UTF-8 Cc: freebsd-stable@freebsd.org Subject: Re: openssh concerns X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2009 17:23:53 -0000 On Fri, Oct 9, 2009 at 12:22 AM, Doug Barton wrote: > Oliver Fromme wrote: >> There are shell machines with lots of user accounts, none >> of which have administrative control of the system. > > Sure there are, but they make up only a tiny fraction of the systems > on the network today. > > shared webhost? -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.org From owner-freebsd-stable@FreeBSD.ORG Thu Oct 8 17:32:26 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E34D4106568B for ; Thu, 8 Oct 2009 17:32:26 +0000 (UTC) (envelope-from stefan@fafoe.narf.at) Received: from viefep20-int.chello.at (viefep20-int.chello.at [62.179.121.40]) by mx1.freebsd.org (Postfix) with ESMTP id 2A3DF8FC13 for ; Thu, 8 Oct 2009 17:32:25 +0000 (UTC) Received: from edge01.upc.biz ([192.168.13.236]) by viefep20-int.chello.at (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20091008173223.SOTI10558.viefep20-int.chello.at@edge01.upc.biz>; Thu, 8 Oct 2009 19:32:23 +0200 Received: from lizard.fafoe.narf.at ([213.47.85.26]) by edge01.upc.biz with edge id qHYN1c05M0a5KZh01HYPlZ; Thu, 08 Oct 2009 19:32:23 +0200 X-SourceIP: 213.47.85.26 Received: by lizard.fafoe.narf.at (Postfix, from userid 1001) id 289C0BBA3; Thu, 8 Oct 2009 19:32:21 +0200 (CEST) Date: Thu, 8 Oct 2009 19:32:21 +0200 From: Stefan Farfeleder To: Andre Albsmeier Message-ID: <20091008173221.GA1704@lizard.fafoe.narf.at> References: <20091001144946.GA75477@curry.mchp.siemens.de> <4AC4CE48.3080803@icyb.net.ua> <20091001183101.GB76820@curry.mchp.siemens.de> <20091001191219.GA77569@curry.mchp.siemens.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091001191219.GA77569@curry.mchp.siemens.de> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-stable@freebsd.org, Andriy Gapon Subject: Re: Bug in 7.2-STABLE's /bin/sh? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2009 17:32:27 -0000 On Thu, Oct 01, 2009 at 09:12:19PM +0200, Andre Albsmeier wrote: > On Thu, 01-Oct-2009 at 20:31:01 +0200, Andre Albsmeier wrote: > > On Thu, 01-Oct-2009 at 18:44:08 +0300, Andriy Gapon wrote: > > > on 01/10/2009 17:49 Andre Albsmeier said the following: > > > > Hello all, > > > > > > > > is it correct to print OK here? > > > > > > > > ------------------ snip ------------------ > > > > > > > > #!/bin/sh > > > > > > > > if false || ! echo bla | grep -q bla; then > > > > echo OK > > > > fi > > > > > > > > ------------------ snap ------------------- > > > > > > > > 7.2-STABLE (can't check others at the moment) > > > > does which I think is wrong... > > > > > > This looks like a bug and it seems to be fixed in head. > > > Forgotten MFC? > > > > Have you got a PR# handy? > > Found it myself: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/bin/sh/parser.c.diff?r1=1.60;r2=1.61 > > seems to be it. Could someone please MFC that to 7.2? > > Thanks, Done! (to stable/7, that is) From owner-freebsd-stable@FreeBSD.ORG Thu Oct 8 18:05:28 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 488BC106568D; Thu, 8 Oct 2009 18:05:28 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 1F1708FC0C; Thu, 8 Oct 2009 18:05:28 +0000 (UTC) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id 7B08C46B0C; Thu, 8 Oct 2009 14:05:27 -0400 (EDT) Date: Thu, 8 Oct 2009 19:05:27 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Daniel Eischen In-Reply-To: Message-ID: References: <20091007200959.3c93904f.lehmann@ans-netz.de> <20091008062326.11720.qmail@avocado.salatschuessel.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: jhell , "freebsd-stable@freebsd.org" , Oliver Lehmann Subject: Re: samba - SIGABRT X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2009 18:05:28 -0000 On Thu, 8 Oct 2009, Daniel Eischen wrote: >> While it's probably a bug that the Samba port compiles --pie, it's also a >> bug that our linking bits aren't handling PIE properly either. The goal is >> to fix PIE with the non-NULL mapping feature in the immediate future, so >> with any luck the abort message won't matter too much longer. > > How about reverting this change or defaulting security.bsd.map_at_zero=1 > until either ports can handle this properly or our -pie is fixed, and we've > had at least a release with pre-built packages that don't have the problem? Sorry, I should have been more clear: the problem is with run-time linking, not compile-time linking. Kostik has just posted patches for the run-time linker to current@, which should allow the existing binaries to work with map_at_zero=0. If we aren't able to get the run-time linker fixes into 8.0, we will definitely revert the default change for map_at_zero so that it is enabled. However, since there is a significant security benefit to shipping with map_at_zero disabled, I think we should try hard to ship 8.0 with a fixed rtld. Robert From owner-freebsd-stable@FreeBSD.ORG Thu Oct 8 18:23:44 2009 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 859DB1065694; Thu, 8 Oct 2009 18:23:44 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 074D98FC0A; Thu, 8 Oct 2009 18:23:43 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id n98INR2m082462; Thu, 8 Oct 2009 20:23:42 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id n98INRVZ082461; Thu, 8 Oct 2009 20:23:27 +0200 (CEST) (envelope-from olli) Date: Thu, 8 Oct 2009 20:23:27 +0200 (CEST) Message-Id: <200910081823.n98INRVZ082461@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, dougb@FreeBSD.ORG In-Reply-To: <4ACE1FC5.2060409@FreeBSD.org> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Thu, 08 Oct 2009 20:23:42 +0200 (CEST) Cc: Subject: Re: openssh concerns X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG, dougb@FreeBSD.ORG List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2009 18:23:44 -0000 Doug Barton wrote: > Oliver Fromme wrote: > > There are shell machines with lots of user accounts, none > > of which have administrative control of the system. > > Sure there are, but they make up only a tiny fraction of the systems > on the network today. Are you sure? The majority of BSD machines in my vicinity have multiple accounts. And even if there's only one account, there is no reason to be careless with potential port-takeover risks. Therefore I advise against running critical daemons on unprivileged ports, especially on machines with shell accounts. And if you need to bind to a port >= 1024, use mac_portacl(4) to protect it. It's easy to use. Alternatively you can increase the value of the sysctl net.inet.ip.portrange.reservedhigh, but this is less flexible and might have unwanted side effects. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "C++ is the only current language making COBOL look good." -- Bertrand Meyer From owner-freebsd-stable@FreeBSD.ORG Thu Oct 8 18:24:05 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E420C1065698 for ; Thu, 8 Oct 2009 18:24:05 +0000 (UTC) (envelope-from bap-fbsd-stable@a1.org.uk) Received: from mail.gwork.org (barney.gwork.org [85.234.141.70]) by mx1.freebsd.org (Postfix) with ESMTP id AAC6F8FC1E for ; Thu, 8 Oct 2009 18:24:05 +0000 (UTC) Received: by mail.gwork.org (Postfix, from userid 33) id CB5A06C20A; Thu, 8 Oct 2009 19:23:55 +0100 (BST) Received: from 5ac2883c.bb.sky.com (5ac2883c.bb.sky.com [90.194.136.60]) by mail.gwork.org (Horde Framework) with HTTP; Thu, 08 Oct 2009 19:23:55 +0100 Message-ID: <20091008192355.13355kndz7u7rtog@mail.gwork.org> X-Priority: 3 (Normal) Date: Thu, 08 Oct 2009 19:23:55 +0100 From: Bap To: freebsd-stable@freebsd.org References: <200910081713.n98HD0kj079775@lurza.secnetix.de> <4ACE1FC5.2060409@FreeBSD.org> In-Reply-To: <4ACE1FC5.2060409@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (5.0-cvs) X-Gwork-MailScanner-ID: CB5A06C20A.164D4 X-Gwork-MailScanner: Found to be clean X-Gwork-MailScanner-From: bap-fbsd-stable@a1.org.uk X-Spam-Status: No Subject: Re: openssh concerns X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2009 18:24:06 -0000 Quoting Doug Barton : > Oliver Fromme wrote: >> There are shell machines with lots of user accounts, none >> of which have administrative control of the system. > > Sure there are, but they make up only a tiny fraction of the systems > on the network today. wow > > > Doug > > -- > > Improve the effectiveness of your Internet presence with > a domain name makeover! http://SupersetSolutions.com/ > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-stable@FreeBSD.ORG Fri Oct 9 07:21:38 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C0B81065696 for ; Fri, 9 Oct 2009 07:21:38 +0000 (UTC) (envelope-from alexz@visp.ru) Received: from mail.visp.ru (srv1.visp.ru [91.215.204.2]) by mx1.freebsd.org (Postfix) with ESMTP id 189E38FC1F for ; Fri, 9 Oct 2009 07:21:37 +0000 (UTC) Received: from 91-215-205-255.static.visp.ru ([91.215.205.255] helo=zagrebin) by mail.visp.ru with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1Mw9Xi-000DIR-NS for freebsd-stable@freebsd.org; Fri, 09 Oct 2009 11:05:34 +0400 From: "Alexander Zagrebin" To: Date: Fri, 9 Oct 2009 11:05:34 +0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 Thread-Index: AcpIruUPGr1FtcZFRc2372cG6BGUYw== Subject: igmp problems on 8.0-RC1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2009 07:21:38 -0000 After upgrading from 7.2-RELEASE to 8.0-RC1 i have noticed problems with igmp. xorp sees IGMP_V2_LEAVE_GROUP, but not IGMP_V2_MEMBERSHIP_REPORT. igmpproxy has the same behavior. xorp_rtrmgr.log contains only: [ TRACE xorp_igmp MLD6IGMP ] RX IGMP_V2_LEAVE_GROUP from 192.168.0.10 to 224.0.0.2 on vif rl0 [ TRACE xorp_igmp MLD6IGMP ] RX IGMP_V2_LEAVE_GROUP from 192.168.0.10 to 224.0.0.2 on vif rl0 [ TRACE xorp_igmp MLD6IGMP ] RX IGMP_V2_LEAVE_GROUP from 192.168.0.10 to 224.0.0.2 on vif rl0 [ TRACE xorp_igmp MLD6IGMP ] RX IGMP_V2_LEAVE_GROUP from 192.168.0.10 to 224.0.0.2 on vif rl0 but /var/log/messages (KTR and KTR_VERBOSE enabled): kernel: cpu1 ip_mforward: delete mfc orig 192.168.0.10 group e0000002 ifp 0xc3e99400 kernel: cpu1 igmp_input: called w/mbuf (0xc494f900,24) kernel: cpu1 ip_mforward: delete mfc orig 192.168.0.10 group ef20013a ifp 0xc3e99400 kernel: cpu1 igmp_input: called w/mbuf (0xc4072300,24) kernel: cpu1 process v2 report 239.32.1.58 on ifp 0xc3e99400(rl0) kernel: cpu1 ip_mforward: delete mfc orig 192.168.0.10 group ef20013a ifp 0xc3e99400 kernel: cpu1 igmp_input: called w/mbuf (0xc4073500,24) kernel: cpu1 process v2 report 239.32.1.58 on ifp 0xc3e99400(rl0) kernel: cpu1 ip_mforward: delete mfc orig 192.168.0.10 group ef20013a ifp 0xc3e99400 kernel: cpu1 igmp_input: called w/mbuf (0xc429cc00,24) kernel: cpu1 process v2 report 239.32.1.58 on ifp 0xc3e99400(rl0) kernel: cpu1 ip_mforward: delete mfc orig 192.168.0.10 group e0000002 ifp 0xc3e99400 kernel: cpu1 igmp_input: called w/mbuf (0xc4926500,24) kernel: cpu1 ip_mforward: delete mfc orig 192.168.0.10 group ef200139 ifp 0xc3e99400 kernel: cpu1 igmp_input: called w/mbuf (0xc429fe00,24) kernel: cpu1 process v2 report 239.32.1.57 on ifp 0xc3e99400(rl0) kernel: cpu1 ip_mforward: delete mfc orig 192.168.0.10 group ef200139 ifp 0xc3e99400 kernel: cpu1 igmp_input: called w/mbuf (0xc4242a00,24) kernel: cpu1 process v2 report 239.32.1.57 on ifp 0xc3e99400(rl0) kernel: cpu1 ip_mforward: delete mfc orig 192.168.0.10 group e0000002 ifp 0xc3e99400 kernel: cpu1 igmp_input: called w/mbuf (0xc491f700,24) kernel: cpu1 ip_mforward: delete mfc orig 192.168.0.10 group ef200108 ifp 0xc3e99400 ... So the kernel processes igmp v2 reports, but user space daemons doesn't recieve it. Any suggestions? PS: It is not ipfw issue (when testing, the first ipfw rule is "allow ip from any to any") -- Alexander Zagrebin From owner-freebsd-stable@FreeBSD.ORG Fri Oct 9 09:55:01 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51B361065676; Fri, 9 Oct 2009 09:55:01 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello087206049004.chello.pl [87.206.49.4]) by mx1.freebsd.org (Postfix) with ESMTP id 810728FC15; Fri, 9 Oct 2009 09:54:59 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 50D8C45CBA; Fri, 9 Oct 2009 11:54:58 +0200 (CEST) Received: from localhost (pdawidek.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 6B39145C99; Fri, 9 Oct 2009 11:54:53 +0200 (CEST) Date: Fri, 9 Oct 2009 11:54:53 +0200 From: Pawel Jakub Dawidek To: Oliver Lehmann Message-ID: <20091009095453.GE1725@garage.freebsd.pl> References: <20090927170244.0980d699.lehmann@ans-netz.de> <20090927223725.5893371f.lehmann@ans-netz.de> <20090928084035.GB1659@garage.freebsd.pl> <20090928203756.ef70e0c6.lehmann@ans-netz.de> <20090928184926.GA2016@garage.freebsd.pl> <20091005193340.cd84f0ec.lehmann@ans-netz.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jCrbxBqMcLqd4mOl" Content-Disposition: inline In-Reply-To: <20091005193340.cd84f0ec.lehmann@ans-netz.de> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=4.5 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: =?iso-8859-1?Q?Sm=F8rgrav?= , freebsd-current@freebsd.org, freebsd-stable@freebsd.org, Dag-Erling@FreeBSD.ORG Subject: Re: glabel+gmirror (8.0-RC1 problem) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2009 09:55:01 -0000 --jCrbxBqMcLqd4mOl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 05, 2009 at 07:33:40PM +0200, Oliver Lehmann wrote: > gjorunal is also affected. I tried to use one partition of my gmirror > disk as journal device for my 3ware raid-5 device which works until I > reboot - the journal is then gone as well. > Is this patch likly to fix this as well? Will it be included in a future > RC? Until now I've stayed away using glabel+gmirror but I didn't knew > that gjournal is affected as well so I'm now left with warning that the > journal provider is gone wile booting - and more tragically I'm left > without journaling at all (which hurts on a 2.7TB partition when the > system was not cleanly shut down) I just committed the patch. Yes, it should fix gjournal case as well. I want to merge it before 8.0-RELEASE. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --jCrbxBqMcLqd4mOl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFKzwhtForvXbEpPzQRAq+QAKCsPQ1ZKFoQ0m+Pq6J7xiBjbojMgwCfSdSn 7hQZkkVEqBF32PQEV25MnHw= =Gdrr -----END PGP SIGNATURE----- --jCrbxBqMcLqd4mOl-- From owner-freebsd-stable@FreeBSD.ORG Fri Oct 9 13:06:18 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DC0F106566B for ; Fri, 9 Oct 2009 13:06:18 +0000 (UTC) (envelope-from mailinglist@ucwv.edu) Received: from mail.ucwv.edu (mail.ucwv.edu [216.30.201.15]) by mx1.freebsd.org (Postfix) with ESMTP id F05CE8FC16 for ; Fri, 9 Oct 2009 13:06:16 +0000 (UTC) Received: from mail.ucwv.edu ([172.16.0.15]) by mail.ucwv.edu ([172.16.0.15]) with mapi; Fri, 9 Oct 2009 09:06:33 -0400 From: mailinglist To: "freebsd-stable@freebsd.org" Date: Fri, 9 Oct 2009 09:06:33 -0400 Thread-Topic: Problems Compiling KDE4 from ports Thread-Index: AQHKSOFS85q0KcK3WkOvLvMTFkeWLg== Message-ID: <93C575B79E9B01449EBBB084032BC57011F84E7A55@mail.ucwv.edu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Problems Compiling KDE4 from ports X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2009 13:06:18 -0000 I'm trying to install the KDE4 "meta" port on an up-to-date install of Free= bsd 7.2. When it tries to build a dependency, kdebindings4-python-pykde4, = I get the following build error: /usr/ports/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/= sip/soprano/languagetag.sip:27:33 error: soprano/language.h: no such file f= or directory I'm updated my ports collection, done a "make clean" and tried it again. I= still get the same thing. Any ideas?= From owner-freebsd-stable@FreeBSD.ORG Fri Oct 9 13:38:35 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2521A1065697 for ; Fri, 9 Oct 2009 13:38:35 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id D16048FC19 for ; Fri, 9 Oct 2009 13:38:34 +0000 (UTC) Received: by yxe1 with SMTP id 1so199188yxe.3 for ; Fri, 09 Oct 2009 06:38:34 -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:cc:content-type; bh=AKnJZ4nJoS/Yy3XCPq8FiA663T7RY8q9Y6pliPnZ10U=; b=qVL4bHeC/fiPa61ahNeMFK8sJugg+LObJ0TBZTRqwNkUr/uRfWpfhLBm9vsv+u+zha oTTSoG4MfCvFnpxCAMHmKWB+Oq+KNkqHJQAjmUZcBIJ76jypPI91+A0XYw3TOYKXigTo D7MkFcd9JbQR9hARMKMee/+FCODUMg2LATEEk= 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 :cc:content-type; b=SyHFRKPv6u2VhGrhKULN4clFjiF93FfLW2sqFQECvH3IpI6dR5gG6V5CgrgmOxCTNL qRymO/r+pEMWdkclZUm/8UzWKaCCM3gswwo0OztVOur+Vo+cioBTHurlwCF/uaGAqHzh fGYrUFHOMb5mICLTR7Nbn5/3aAsQtUJx18crA= MIME-Version: 1.0 Received: by 10.150.104.2 with SMTP id b2mr4847300ybc.19.1255095514361; Fri, 09 Oct 2009 06:38:34 -0700 (PDT) In-Reply-To: <93C575B79E9B01449EBBB084032BC57011F84E7A55@mail.ucwv.edu> References: <93C575B79E9B01449EBBB084032BC57011F84E7A55@mail.ucwv.edu> Date: Fri, 9 Oct 2009 08:38:34 -0500 Message-ID: <6201873e0910090638r5564ba93sdd7b4aca530218e0@mail.gmail.com> From: Adam Vande More To: mailinglist Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-stable@freebsd.org" Subject: Re: Problems Compiling KDE4 from ports X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2009 13:38:35 -0000 On Fri, Oct 9, 2009 at 8:06 AM, mailinglist wrote: > I'm trying to install the KDE4 "meta" port on an up-to-date install of > Freebsd 7.2. When it tries to build a dependency, > kdebindings4-python-pykde4, I get the following build error: > > /usr/ports/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/soprano/languagetag.sip:27:33 > error: soprano/language.h: no such file for directory > > I'm updated my ports collection, done a "make clean" and tried it again. I > still get the same thing. Any > ideas?_______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > I hope you're continuing to use a port tool like portmaster or portupgrade. The line you posted is an invalid path. The port dir is /usr/ports/devel/kdebindings4-python-pykde4/ -- Adam Vande More From owner-freebsd-stable@FreeBSD.ORG Fri Oct 9 13:59:51 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24AA51065672 for ; Fri, 9 Oct 2009 13:59:51 +0000 (UTC) (envelope-from mailinglist@ucwv.edu) Received: from mail.ucwv.edu (mail.ucwv.edu [216.30.201.15]) by mx1.freebsd.org (Postfix) with ESMTP id E39248FC08 for ; Fri, 9 Oct 2009 13:59:50 +0000 (UTC) Received: from mail.ucwv.edu ([172.16.0.15]) by mail.ucwv.edu ([172.16.0.15]) with mapi; Fri, 9 Oct 2009 10:00:07 -0400 From: mailinglist To: Adam Vande More Date: Fri, 9 Oct 2009 09:56:59 -0400 Thread-Topic: Problems Compiling KDE4 from ports Thread-Index: AcpI5ddOe68oI5K/RNmvGjyHke29jwAAodvG Message-ID: <93C575B79E9B01449EBBB084032BC57011F84E7A56@mail.ucwv.edu> References: <93C575B79E9B01449EBBB084032BC57011F84E7A55@mail.ucwv.edu>, <6201873e0910090638r5564ba93sdd7b4aca530218e0@mail.gmail.com> In-Reply-To: <6201873e0910090638r5564ba93sdd7b4aca530218e0@mail.gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "freebsd-stable@freebsd.org" Subject: RE: Problems Compiling KDE4 from ports X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2009 13:59:51 -0000 ________________________________________ From: Adam Vande More [amvandemore@gmail.com] Sent: Friday, October 09, 2009 9:38 AM To: mailinglist Cc: freebsd-stable@freebsd.org Subject: Re: Problems Compiling KDE4 from ports On Fri, Oct 9, 2009 at 8:06 AM, mailinglist > wrote: I'm trying to install the KDE4 "meta" port on an up-to-date install of Free= bsd 7.2. When it tries to build a dependency, kdebindings4-python-pykde4, = I get the following build error: /usr/ports/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/= sip/soprano/languagetag.sip:27:33 error: soprano/language.h: no such file f= or directory I'm updated my ports collection, done a "make clean" and tried it again. I= still get the same thing. Any ideas?_____________________________________= __________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" I hope you're continuing to use a port tool like portmaster or portupgrade.= The line you posted is an invalid path. The port dir is /usr/ports/devel= /kdebindings4-python-pykde4/ -- Adam Vande More ------------------------------------------------------------------ Sorry, I couldn't get copy/paste to work. I had to type everything in by h= and, I made a mistake. The port dir you listed is correct. All I'm doing is going into the kdebindings4-python-pykde4 folder and runni= ng "make". Is that not the way I should be doing it? From owner-freebsd-stable@FreeBSD.ORG Fri Oct 9 14:26:04 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6CB9106566B for ; Fri, 9 Oct 2009 14:26:04 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id 9E0A68FC13 for ; Fri, 9 Oct 2009 14:26:04 +0000 (UTC) Received: by yxe1 with SMTP id 1so234483yxe.3 for ; Fri, 09 Oct 2009 07:26:03 -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:cc:content-type; bh=to03Qk6k4fv7Q1tagnjhthlm+MhuAudhLU0ugkGKO3g=; b=mAuBe6wMvdzehWQGJf0xMbCmVNfgM/Zo92lcRDJalduAE0R1u+gGBxdc792O+FnaF3 kytydZX3zhCBJXBhAK4g1qAKXknt8irdLX5y4t1qhZZVOttTdo6G+fnDaZCw+gjISIu1 beaZxNCd5IjPy/f7Ke1SWkZPdqDo3xzunvnIg= 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 :cc:content-type; b=qWQZIh6+zJBmdk3k+nhiNwKPXXpdji9eNHeZjVe2d0U+bq9vD8PSzmRHZoIhBxBofv j/6CHkoR0MMdx0F70Jx6hJsD4MCg8OO33glTIxefMoRT6eo6vXOHrPgsTY95BL3EJD79 XKNnJC64ZOcAQ3CC0YTOP5CDeEQmk89PeBnbA= MIME-Version: 1.0 Received: by 10.150.44.16 with SMTP id r16mr4906291ybr.65.1255098363886; Fri, 09 Oct 2009 07:26:03 -0700 (PDT) In-Reply-To: <93C575B79E9B01449EBBB084032BC57011F84E7A56@mail.ucwv.edu> References: <93C575B79E9B01449EBBB084032BC57011F84E7A55@mail.ucwv.edu> <6201873e0910090638r5564ba93sdd7b4aca530218e0@mail.gmail.com> <93C575B79E9B01449EBBB084032BC57011F84E7A56@mail.ucwv.edu> Date: Fri, 9 Oct 2009 09:26:03 -0500 Message-ID: <6201873e0910090726l70d73029pae087eddebce70cb@mail.gmail.com> From: Adam Vande More To: mailinglist Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-stable@freebsd.org" Subject: Re: Problems Compiling KDE4 from ports X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2009 14:26:05 -0000 On Fri, Oct 9, 2009 at 8:56 AM, mailinglist wrote: > > ________________________________________ > From: Adam Vande More [amvandemore@gmail.com] > Sent: Friday, October 09, 2009 9:38 AM > To: mailinglist > Cc: freebsd-stable@freebsd.org > Subject: Re: Problems Compiling KDE4 from ports > > On Fri, Oct 9, 2009 at 8:06 AM, mailinglist mailinglist@ucwv.edu>> wrote: > I'm trying to install the KDE4 "meta" port on an up-to-date install of > Freebsd 7.2. When it tries to build a dependency, > kdebindings4-python-pykde4, I get the following build error: > > /usr/ports/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/soprano/languagetag.sip:27:33 > error: soprano/language.h: no such file for directory > > I'm updated my ports collection, done a "make clean" and tried it again. I > still get the same thing. Any > ideas?_______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org > " > > I hope you're continuing to use a port tool like portmaster or portupgrade. > The line you posted is an invalid path. The port dir is > /usr/ports/devel/kdebindings4-python-pykde4/ > > -- > Adam Vande More > > ------------------------------------------------------------------ > > Sorry, I couldn't get copy/paste to work. I had to type everything in by > hand, I made a mistake. The port dir you listed is correct. > > All I'm doing is going into the kdebindings4-python-pykde4 folder and > running "make". Is that not the way I should be doing it? > That method is OK if you're doing a clean install ie only freebsd is installed no ports. However, if you're upgrading an existing system after updating your ports tree then you need to worry about dependencies. make doesn't like when old versions of dependencies are already installed. That's what tools like portmaster and portupgrade are for. Read /usr/ports/UPDATING after every ports tree update for new info. To properly upgrade kde4 you should do something like this: portmaster -D x11/kde4 -- Adam Vande More From owner-freebsd-stable@FreeBSD.ORG Fri Oct 9 14:47:14 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B3E01065676 for ; Fri, 9 Oct 2009 14:47:14 +0000 (UTC) (envelope-from mailinglist@ucwv.edu) Received: from mail.ucwv.edu (mail.ucwv.edu [216.30.201.15]) by mx1.freebsd.org (Postfix) with ESMTP id D83FC8FC15 for ; Fri, 9 Oct 2009 14:47:13 +0000 (UTC) Received: from mail.ucwv.edu ([172.16.0.15]) by mail.ucwv.edu ([172.16.0.15]) with mapi; Fri, 9 Oct 2009 10:47:30 -0400 From: mailinglist To: Adam Vande More Date: Fri, 9 Oct 2009 10:47:30 -0400 Thread-Topic: Problems Compiling KDE4 from ports Thread-Index: AcpI7HnCXciBmYLnRveH1Jhx89QPPAAAWBdg Message-ID: <93C575B79E9B01449EBBB084032BC57011F84E7A57@mail.ucwv.edu> References: <93C575B79E9B01449EBBB084032BC57011F84E7A55@mail.ucwv.edu> <6201873e0910090638r5564ba93sdd7b4aca530218e0@mail.gmail.com> <93C575B79E9B01449EBBB084032BC57011F84E7A56@mail.ucwv.edu>, <6201873e0910090726l70d73029pae087eddebce70cb@mail.gmail.com> In-Reply-To: <6201873e0910090726l70d73029pae087eddebce70cb@mail.gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "freebsd-stable@freebsd.org" Subject: RE: Problems Compiling KDE4 from ports X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2009 14:47:14 -0000 ________________________________________ From: Adam Vande More [amvandemore@gmail.com] Sent: Friday, October 09, 2009 10:26 AM To: mailinglist Cc: freebsd-stable@freebsd.org Subject: Re: Problems Compiling KDE4 from ports On Fri, Oct 9, 2009 at 8:56 AM, mailinglist > wrote: ________________________________________ From: Adam Vande More [amvandemore@gmail.com] Sent: Friday, October 09, 2009 9:38 AM To: mailinglist Cc: freebsd-stable@freebsd.org Subject: Re: Problems Compiling KDE4 from ports On Fri, Oct 9, 2009 at 8:06 AM, mailinglist >> wrote: I'm trying to install the KDE4 "meta" port on an up-to-date install of Free= bsd 7.2. When it tries to build a dependency, kdebindings4-python-pykde4, = I get the following build error: /usr/ports/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/= sip/soprano/languagetag.sip:27:33 error: soprano/language.h: no such file f= or directory I'm updated my ports collection, done a "make clean" and tried it again. I= still get the same thing. Any ideas?_____________________________________= __________ freebsd-stable@freebsd.org> mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org>" I hope you're continuing to use a port tool like portmaster or portupgrade.= The line you posted is an invalid path. The port dir is /usr/ports/devel= /kdebindings4-python-pykde4/ -- Adam Vande More ------------------------------------------------------------------ Sorry, I couldn't get copy/paste to work. I had to type everything in by h= and, I made a mistake. The port dir you listed is correct. All I'm doing is going into the kdebindings4-python-pykde4 folder and runni= ng "make". Is that not the way I should be doing it? That method is OK if you're doing a clean install ie only freebsd is instal= led no ports. However, if you're upgrading an existing system after updati= ng your ports tree then you need to worry about dependencies. make doesn't= like when old versions of dependencies are already installed. That's what= tools like portmaster and portupgrade are for. Read /usr/ports/UPDATING a= fter every ports tree update for new info. To properly upgrade kde4 you sh= ould do something like this: portmaster -D x11/kde4 -- Adam Vande More ---------------------------------------------------- I've upgraded the base system, but is a new install of KDE/X Windows. That= said, why would I be getting this "file not found error"?= From owner-freebsd-stable@FreeBSD.ORG Fri Oct 9 15:11:46 2009 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A104C106568B for ; Fri, 9 Oct 2009 15:11:46 +0000 (UTC) (envelope-from ca+envelope@esmtp.org) Received: from zardoc.esmtp.org (adsl-63-195-85-27.dsl.snfc21.pacbell.net [63.195.85.27]) by mx1.freebsd.org (Postfix) with ESMTP id 80ACE8FC14 for ; Fri, 9 Oct 2009 15:11:46 +0000 (UTC) Received: from zardoc.esmtp.org (localhost. [127.0.0.1]) by zardoc.esmtp.org (MeTA1-1.0.PreAlpha30.0) with ESMTPS (TLS=TLSv1/SSLv3, cipher=AES256-SHA, bits=256, verify=OK) id S00000000003BAD1A00; Fri, 9 Oct 2009 08:11:45 -0700 Received: (from ca@localhost) by zardoc.esmtp.org (8.13.4/8.12.10.Beta0/Submit) id n99FBjU3032365 for freebsd-stable@FreeBSD.ORG; Fri, 9 Oct 2009 08:11:45 -0700 (PDT) Date: Fri, 9 Oct 2009 08:11:45 -0700 From: Claus Assmann To: freebsd-stable@FreeBSD.ORG Message-ID: <20091009151145.GA19192@zardoc.esmtp.org> Mail-Followup-To: freebsd-stable@FreeBSD.ORG References: <20090826154741.GA18965@zardoc.esmtp.org> <200910081619.n98GJ3JE077316@lurza.secnetix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200910081619.n98GJ3JE077316@lurza.secnetix.de> User-Agent: Mutt/1.5.9i Cc: Subject: Re: kbdcontrol: map Backspace key to '\' fails X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2009 15:11:46 -0000 On Thu, Oct 08, 2009, Oliver Fromme wrote: > Claus Assmann wrote: > > On FreeBSD 7.2-STABLE it seems to be impossible to map the Backspace > > key to '\' and '|'. Here's what I did: > > Change /usr/share/syscons/keymaps/us.unix.kbd: > > [...] > The diff looks good and should work fine. > Please use this command: > kbdcontrol -l us.unix.kbd < /dev/ttyv0 Thanks, but that still doesn't give me '\' when I hit Backspace. Does it work for you? From owner-freebsd-stable@FreeBSD.ORG Fri Oct 9 15:34:11 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6513A106568F for ; Fri, 9 Oct 2009 15:34:11 +0000 (UTC) (envelope-from arnaud.houdelette@tzim.net) Received: from golanth.tzim.net (unknown [IPv6:2001:41d0:1:d91f:21c:c0ff:fe4b:cf32]) by mx1.freebsd.org (Postfix) with ESMTP id 04F6D8FC16 for ; Fri, 9 Oct 2009 15:34:11 +0000 (UTC) Received: from alarante.irisa.fr ([131.254.13.244]) by golanth.tzim.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MwHTt-0008PT-Sp; Fri, 09 Oct 2009 17:34:09 +0200 Message-ID: <4ACF57EC.5010003@tzim.net> Date: Fri, 09 Oct 2009 17:34:04 +0200 From: Arnaud Houdelette User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: Philipp Wuensche References: <4ACB2BE0.8080809@h3q.com> <4ACBC1C8.5060400@h3q.com> In-Reply-To: <4ACBC1C8.5060400@h3q.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Authenticated-User: tzim@tzim.net X-Authenticator: plain Cc: freebsd-stable@freebsd.org Subject: Re: 8.0-RC1 ZFS-root installscript X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2009 15:34:11 -0000 Philipp Wuensche a écrit : > Philipp Wuensche wrote: > >> Feel free to send bugreports to me. >> > > Thanks for the bug-reports and feature suggestions! > > There is a new version available: > http://anonsvn.h3q.com/projects/freebsd-patches/export/48/manageBE/create-zfsboot-gpt_livecd.sh > > New stuff: > - support for installing the distribution packages from a local > directory, like /dist/8.0-RC1 on the install-DVD > - untested support for raidz, I can't test this because virtualbox only > provides one BIOS disk to the bootloader and raidz needs at least two > disks for booting :-/ > - some minor fixes and tunes > > greetings, > philipp > > Tried on QEMU (with kvm) : Works OK with mirror. Fails to boot with ZFS : missing fragments ( kvm BIOS sees all 3 drives ). Should we not use the raidz patch which was proposed on the list ? And why the raidz setup got the system on root fs. is it mandatory ? greets Arnaud From owner-freebsd-stable@FreeBSD.ORG Fri Oct 9 16:11:44 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 334091065670 for ; Fri, 9 Oct 2009 16:11:44 +0000 (UTC) (envelope-from cryx-freebsd@h3q.com) Received: from mail.h3q.com (mail.h3q.com [213.73.89.199]) by mx1.freebsd.org (Postfix) with ESMTP id 73A698FC12 for ; Fri, 9 Oct 2009 16:11:43 +0000 (UTC) Received: (qmail 33806 invoked from network); 9 Oct 2009 16:11:41 -0000 Received: from mail.h3q.com (HELO mail.h3q.com) (smtpsend) by mail.h3q.com with AES256-SHA encrypted SMTP; 9 Oct 2009 16:11:41 -0000 Message-ID: <4ACF60BD.5070307@h3q.com> Date: Fri, 09 Oct 2009 18:11:41 +0200 From: Philipp Wuensche User-Agent: Postbox 1.0.1 (Macintosh/2009100516) MIME-Version: 1.0 To: Arnaud Houdelette References: <4ACB2BE0.8080809@h3q.com> <4ACBC1C8.5060400@h3q.com> <4ACF57EC.5010003@tzim.net> In-Reply-To: <4ACF57EC.5010003@tzim.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: 8.0-RC1 ZFS-root installscript X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2009 16:11:44 -0000 Arnaud Houdelette wrote: >> > > Tried on QEMU (with kvm) : Works OK with mirror. > Fails to boot with ZFS : missing fragments ( kvm BIOS sees all 3 drives > ). Should we not use the raidz patch which was proposed on the list ? Any pointer to that? I thought this patch is already integrated with 8.0-RC1. > And why the raidz setup got the system on root fs. is it mandatory ? This is what I need to test, there where some problems with having the rootfs in a seperate filesystem afair. But I'm not sure. You could edit the script and try out. Would be very interested in your findings as I have no testhardware at the moment. greetings, philipp From owner-freebsd-stable@FreeBSD.ORG Fri Oct 9 17:23:29 2009 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 784731065692 for ; Fri, 9 Oct 2009 17:23:29 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id D928B8FC14 for ; Fri, 9 Oct 2009 17:23:28 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id n99HN7N6029523; Fri, 9 Oct 2009 19:23:22 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id n99HN7q9029522; Fri, 9 Oct 2009 19:23:07 +0200 (CEST) (envelope-from olli) Date: Fri, 9 Oct 2009 19:23:07 +0200 (CEST) Message-Id: <200910091723.n99HN7q9029522@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, freebsd+stable@esmtp.org In-Reply-To: <20091009151145.GA19192@zardoc.esmtp.org> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Fri, 09 Oct 2009 19:23:23 +0200 (CEST) Cc: Subject: Re: kbdcontrol: map Backspace key to '\' fails X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG, freebsd+stable@esmtp.org List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2009 17:23:29 -0000 Claus Assmann <> wrote: > On Thu, Oct 08, 2009, Oliver Fromme wrote: > > Claus Assmann wrote: > > > On FreeBSD 7.2-STABLE it seems to be impossible to map the Backspace > > > key to '\' and '|'. Here's what I did: > > > > Change /usr/share/syscons/keymaps/us.unix.kbd: > > > [...] > > > The diff looks good and should work fine. > > > Please use this command: > > > kbdcontrol -l us.unix.kbd < /dev/ttyv0 > > Thanks, but that still doesn't give me '\' when I hit Backspace. > Does it work for you? I don't have a syscons console on a 7.2 machine in front of me right now. But I've tested in on a 8-current machine, and it does indeed work. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "If you think C++ is not overly complicated, just what is a protected abstract virtual base pure virtual private destructor, and when was the last time you needed one?" -- Tom Cargil, C++ Journal