From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 26 08:23:38 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80CE51065672 for ; Sun, 26 Feb 2012 08:23:38 +0000 (UTC) (envelope-from shrikanth07@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 123418FC24 for ; Sun, 26 Feb 2012 08:23:37 +0000 (UTC) Received: by wibhn6 with SMTP id hn6so459772wib.13 for ; Sun, 26 Feb 2012 00:23:37 -0800 (PST) Received-SPF: pass (google.com: domain of shrikanth07@gmail.com designates 10.216.134.74 as permitted sender) client-ip=10.216.134.74; Authentication-Results: mr.google.com; spf=pass (google.com: domain of shrikanth07@gmail.com designates 10.216.134.74 as permitted sender) smtp.mail=shrikanth07@gmail.com; dkim=pass header.i=shrikanth07@gmail.com Received: from mr.google.com ([10.216.134.74]) by 10.216.134.74 with SMTP id r52mr4537524wei.19.1330244617217 (num_hops = 1); Sun, 26 Feb 2012 00:23:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=UHsLeW0lzIp2+ep1ev0nS62BlVip1YfiH20GEe7be+w=; b=VXq4Lqkm85xCmtpW1ZbnJ0rldC/UAjrnq1lr/cYG7PkjnMVtSM4Es0jHKOjwh7/ftE iWVUICf4S3krVp7gafrgyRwy+kfWG4OtlBxxZWgus3e6P/VXzKJOpejpGV19SZ8JmWxL cce5iFQ1WFM0jyrtXYR2dK70J2Dmp/ZPBGZeE= MIME-Version: 1.0 Received: by 10.216.134.74 with SMTP id r52mr3600452wei.19.1330242859903; Sat, 25 Feb 2012 23:54:19 -0800 (PST) Received: by 10.223.88.80 with HTTP; Sat, 25 Feb 2012 23:54:19 -0800 (PST) Date: Sun, 26 Feb 2012 13:24:19 +0530 Message-ID: From: Shrikanth Kamath To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: DTrace: Where do we run CTFCONVERT for kernel modules X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Feb 2012 08:23:38 -0000 ...meaning, I see the following line in "sys/conf/kmod.mk", but that is a CTFMERGE command. .if defined(MK_CTF) && ${MK_CTF} != "no" ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${OBJS} .endif Where do we run the CTFCONVERT on kernel modules? -- Shrikanth R K From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 26 13:56:36 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 280E51065679 for ; Sun, 26 Feb 2012 13:56:36 +0000 (UTC) (envelope-from rb@gid.co.uk) Received: from mx0.gid.co.uk (mx0.gid.co.uk [194.32.164.250]) by mx1.freebsd.org (Postfix) with ESMTP id A11C98FC14 for ; Sun, 26 Feb 2012 13:56:35 +0000 (UTC) Received: from rbpbp.gid.co.uk (80-46-130-69.static.dsl.as9105.com [80.46.130.69]) by mx0.gid.co.uk (8.14.2/8.14.2) with ESMTP id q1QDYT2R012964 for ; Sun, 26 Feb 2012 13:34:29 GMT (envelope-from rb@gid.co.uk) From: Bob Bishop Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Sun, 26 Feb 2012 13:34:23 +0000 Message-Id: To: hackers@freebsd.org Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) Cc: Subject: Blackhole routes vs firewall drop rules X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Feb 2012 13:56:36 -0000 Hi, I'd like to hear from somebody who understands this stuff on the = relative merits of blackhole routes vs firewall drop rules for dealing = with packets from unwanted sources. I'm particularly interested in = efficiency and scalability. Thanks -- Bob Bishop rb@gid.co.uk From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 26 21:05:12 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB68E1065672 for ; Sun, 26 Feb 2012 21:05:12 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) by mx1.freebsd.org (Postfix) with ESMTP id 8C42F8FC0A for ; Sun, 26 Feb 2012 21:05:12 +0000 (UTC) Received: from julian-mac.elischer.org (c-67-180-24-15.hsd1.ca.comcast.net [67.180.24.15]) (authenticated bits=0) by vps1.elischer.org (8.14.4/8.14.4) with ESMTP id q1QL59Ov090140 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 26 Feb 2012 13:05:11 -0800 (PST) (envelope-from julian@freebsd.org) Message-ID: <4F4A9E87.4080807@freebsd.org> Date: Sun, 26 Feb 2012 13:05:11 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.2.27) Gecko/20120216 Thunderbird/3.1.19 MIME-Version: 1.0 To: Bob Bishop References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: hackers@freebsd.org Subject: o X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Feb 2012 21:05:12 -0000 On 2/26/12 5:34 AM, Bob Bishop wrote: > Hi, > > I'd like to hear from somebody who understands this stuff on the relative merits of blackhole routes vs firewall drop rules for dealing with packets from unwanted sources. I'm particularly interested in efficiency and scalability. Thanks the key is the word "from". routes can only be selected on 'TO' (destination) where firewalls can select on any combination of header fields. > -- > Bob Bishop > rb@gid.co.uk > > > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > > From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 26 21:07:29 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00D04106564A for ; Sun, 26 Feb 2012 21:07:29 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) by mx1.freebsd.org (Postfix) with ESMTP id C3C2A8FC0A for ; Sun, 26 Feb 2012 21:07:28 +0000 (UTC) Received: from julian-mac.elischer.org (c-67-180-24-15.hsd1.ca.comcast.net [67.180.24.15]) (authenticated bits=0) by vps1.elischer.org (8.14.4/8.14.4) with ESMTP id q1QL7Rd1090148 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 26 Feb 2012 13:07:28 -0800 (PST) (envelope-from julian@freebsd.org) Message-ID: <4F4A9F11.9050804@freebsd.org> Date: Sun, 26 Feb 2012 13:07:29 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.2.27) Gecko/20120216 Thunderbird/3.1.19 MIME-Version: 1.0 To: Bob Bishop References: <4F4A9E87.4080807@freebsd.org> In-Reply-To: <4F4A9E87.4080807@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: hackers@freebsd.org Subject: Re: Blackhole routes vs firewall drop rules X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Feb 2012 21:07:29 -0000 let's try that again with the right Subject: line On 2/26/12 1:05 PM, Julian Elischer wrote: > On 2/26/12 5:34 AM, Bob Bishop wrote: >> Hi, >> >> I'd like to hear from somebody who understands this stuff on the >> relative merits of blackhole routes vs firewall drop rules for >> dealing with packets from unwanted sources. I'm particularly >> interested in efficiency and scalability. Thanks > > the key is the word "from". routes can only be selected on 'TO' > (destination) where > firewalls can select on any combination of header fields. > > > >> -- >> Bob Bishop >> rb@gid.co.uk >> >> >> >> >> _______________________________________________ >> freebsd-hackers@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> To unsubscribe, send any mail to >> "freebsd-hackers-unsubscribe@freebsd.org" >> >> > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org" > From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 26 21:45:38 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF3F1106568B; Sun, 26 Feb 2012 21:45:38 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 891CE8FC1F; Sun, 26 Feb 2012 21:45:38 +0000 (UTC) Received: from [82.113.106.201] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1S1lQL-0005rb-8y; Sun, 26 Feb 2012 22:14:30 +0100 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id q1QLEQBd001554; Sun, 26 Feb 2012 22:14:26 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id q1QLEPvw001553; Sun, 26 Feb 2012 22:14:25 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Sun, 26 Feb 2012 22:14:25 +0100 From: Matthias Apitz To: Julian Elischer Message-ID: <20120226211424.GA1534@tiny> References: <4F4A9E87.4080807@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4F4A9E87.4080807@freebsd.org> X-Operating-System: FreeBSD 10.0-CURRENT r226986 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 82.113.106.201 Cc: hackers@freebsd.org Subject: Re: o X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Feb 2012 21:45:38 -0000 El día Sunday, February 26, 2012 a las 01:05:11PM -0800, Julian Elischer escribió: > On 2/26/12 5:34 AM, Bob Bishop wrote: > > Hi, > > > > I'd like to hear from somebody who understands this stuff on the relative merits of blackhole routes vs firewall drop rules for dealing with packets from unwanted sources. I'm particularly interested in efficiency and scalability. Thanks > > the key is the word "from". routes can only be selected on 'TO' > (destination) where > firewalls can select on any combination of header fields. I understand the idea of the OP as, based on the source IP addr, he wants to install routes that the resulting IP pkg to the source IP goes to "nowhere", i.e. not back to the origin IP and the 1st SYN is not answered back to the source IP; matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 26 22:25:17 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 583091065672 for ; Sun, 26 Feb 2012 22:25:17 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) by mx1.freebsd.org (Postfix) with ESMTP id 27F008FC14 for ; Sun, 26 Feb 2012 22:25:16 +0000 (UTC) Received: from julian-mac.elischer.org (c-67-180-24-15.hsd1.ca.comcast.net [67.180.24.15]) (authenticated bits=0) by vps1.elischer.org (8.14.4/8.14.4) with ESMTP id q1QMPEtw090445 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 26 Feb 2012 14:25:16 -0800 (PST) (envelope-from julian@freebsd.org) Message-ID: <4F4AB14B.5000601@freebsd.org> Date: Sun, 26 Feb 2012 14:25:15 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.2.27) Gecko/20120216 Thunderbird/3.1.19 MIME-Version: 1.0 To: Matthias Apitz References: <4F4A9E87.4080807@freebsd.org> <20120226211424.GA1534@tiny> In-Reply-To: <20120226211424.GA1534@tiny> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: hackers@freebsd.org Subject: Re: o X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Feb 2012 22:25:17 -0000 On 2/26/12 1:14 PM, Matthias Apitz wrote: > El día Sunday, February 26, 2012 a las 01:05:11PM -0800, Julian Elischer escribió: > >> On 2/26/12 5:34 AM, Bob Bishop wrote: >>> Hi, >>> >>> I'd like to hear from somebody who understands this stuff on the relative merits of blackhole routes vs firewall drop rules for dealing with packets from unwanted sources. I'm particularly interested in efficiency and scalability. Thanks >> the key is the word "from". routes can only be selected on 'TO' >> (destination) where >> firewalls can select on any combination of header fields. > I understand the idea of the OP as, based on the source IP addr, he > wants to install routes that the resulting IP pkg to the source IP goes > to "nowhere", i.e. not back to the origin IP and the 1st SYN is not > answered back to the source IP; yes but that is wasteful because you have used resources answering the incoming packet. it would be better to have blocked it in the first place. > matthias From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 26 22:45:25 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09134106564A for ; Sun, 26 Feb 2012 22:45:25 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 859728FC1B for ; Sun, 26 Feb 2012 22:45:24 +0000 (UTC) Received: by wibhn6 with SMTP id hn6so753977wib.13 for ; Sun, 26 Feb 2012 14:45:23 -0800 (PST) Received-SPF: pass (google.com: domain of ml@my.gd designates 10.180.86.230 as permitted sender) client-ip=10.180.86.230; Authentication-Results: mr.google.com; spf=pass (google.com: domain of ml@my.gd designates 10.180.86.230 as permitted sender) smtp.mail=ml@my.gd Received: from mr.google.com ([10.180.86.230]) by 10.180.86.230 with SMTP id s6mr13301511wiz.16.1330296323509 (num_hops = 1); Sun, 26 Feb 2012 14:45:23 -0800 (PST) Received: by 10.180.86.230 with SMTP id s6mr10410852wiz.16.1330294577041; Sun, 26 Feb 2012 14:16:17 -0800 (PST) Received: from [192.168.0.12] (did75-17-88-165-130-96.fbx.proxad.net. [88.165.130.96]) by mx.google.com with ESMTPS id d7sm45402025wiz.6.2012.02.26.14.16.15 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 26 Feb 2012 14:16:15 -0800 (PST) References: In-Reply-To: Mime-Version: 1.0 (iPhone Mail 8J2) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <92380FD0-F7E8-42B1-88C6-717DD9316A46@my.gd> X-Mailer: iPhone Mail (8J2) From: Damien Fleuriot Date: Sun, 26 Feb 2012 23:15:30 +0100 To: Bob Bishop X-Gm-Message-State: ALoCoQk7PLOGOQa+2L46t+H0jcTT9syOnE19O+20nuWwl6+UdRE7oW0Y+2G2BAixF6KSJ7xREV1u Cc: "hackers@freebsd.org" Subject: Re: Blackhole routes vs firewall drop rules X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Feb 2012 22:45:25 -0000 On 26 Feb 2012, at 14:34, Bob Bishop wrote: > Hi, >=20 > I'd like to hear from somebody who understands this stuff on the relative m= erits of blackhole routes vs firewall drop rules for dealing with packets fr= om unwanted sources. I'm particularly interested in efficiency and scalabili= ty. Thanks >=20 First, there is no definitive answer to your question because they both addr= ess different issues. With a null (or blackhole) route, you effectively suppress ALL the traffic f= rom an unwanted destination. Note however that, unless you perform reverse path checks on your routers (g= oogle urpf and DFZ), ALL the packets from the source IP will still reach you= r servers and be processed, in the case of protocols without sessions (UDP c= omes to mind, ICMP as well). This means your server might still work for no reason while processing the p= ackets which will be dropped later. Firewalling OTOH doesn't exhibit this drawback. It also has the huge advantage of being able to filter on more aspects than s= imply the source IP: protocol, ports, rate limiting, automatic blacklisting.= .. to name but a few of PF's capabilities. You may want to be more accurate about your *needs* before asking us to disc= uss the *means* to attain them, though. Hope that helps.= From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 26 23:06:58 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71A44106566B for ; Sun, 26 Feb 2012 23:06:58 +0000 (UTC) (envelope-from rb@gid.co.uk) Received: from mx0.gid.co.uk (mx0.gid.co.uk [194.32.164.250]) by mx1.freebsd.org (Postfix) with ESMTP id 0AA4F8FC17 for ; Sun, 26 Feb 2012 23:06:56 +0000 (UTC) Received: from rbpbp.gid.co.uk (80-46-130-69.static.dsl.as9105.com [80.46.130.69]) by mx0.gid.co.uk (8.14.2/8.14.2) with ESMTP id q1QN6s19026055; Sun, 26 Feb 2012 23:06:55 GMT (envelope-from rb@gid.co.uk) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=iso-8859-1 From: Bob Bishop In-Reply-To: <20120226211424.GA1534@tiny> Date: Sun, 26 Feb 2012 23:06:49 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <6CD56DF5-2976-45F6-8BFE-946BA96F5902@gid.co.uk> References: <4F4A9E87.4080807@freebsd.org> <20120226211424.GA1534@tiny> To: Matthias Apitz X-Mailer: Apple Mail (2.1084) Cc: hackers@freebsd.org Subject: Re: Blackhole routes vs firewall drop rules X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Feb 2012 23:06:58 -0000 On 26 Feb 2012, at 21:14, Matthias Apitz wrote: > El d=EDa Sunday, February 26, 2012 a las 01:05:11PM -0800, Julian = Elischer escribi=F3: >=20 >> On 2/26/12 5:34 AM, Bob Bishop wrote: >>> Hi, >>>=20 >>> I'd like to hear from somebody who understands this stuff on the = relative merits of blackhole routes vs firewall drop rules for dealing = with packets from unwanted sources. I'm particularly interested in = efficiency and scalability. Thanks >>=20 >> the key is the word "from". routes can only be selected on 'TO'=20 >> (destination) where >> firewalls can select on any combination of header fields. >=20 > I understand the idea of the OP as, based on the source IP addr, he > wants to install routes that the resulting IP pkg to the source IP = goes > to "nowhere", i.e. not back to the origin IP and the 1st SYN is not > answered back to the source IP; Exactly. But would firewall drop rules be a better (more efficient) way = to do that? > matthias > --=20 > Matthias Apitz > e - w http://www.unixarea.de/ > UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) > UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 >=20 -- Bob Bishop rb@gid.co.uk From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 27 00:32:52 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 475EC106566B for ; Mon, 27 Feb 2012 00:32:52 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from mailhost.m5p.com (ip-2-2-0-2.r20.asbnva02.us.ce.gin.ntt.net [IPv6:2001:418:0:5000::16]) by mx1.freebsd.org (Postfix) with ESMTP id EBD028FC0C for ; Mon, 27 Feb 2012 00:32:51 +0000 (UTC) Received: from wonderland.m5p.com (wonderland.m5p.com [IPv6:2001:418:3fd::19]) by mailhost.m5p.com (8.14.4/8.14.4) with ESMTP id q1R0Wigr062556 for ; Sun, 26 Feb 2012 19:32:49 -0500 (EST) (envelope-from george+freebsd@m5p.com) Message-ID: <4F4ACF2C.50300@m5p.com> Date: Sun, 26 Feb 2012 19:32:44 -0500 From: George Mitchell User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120122 Thunderbird/9.0 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <4F2F7B7F.40508@FreeBSD.org> <4F366E8F.9060207@FreeBSD.org> <4F367965.6000602@FreeBSD.org> <4F396B24.5090602@FreeBSD.org> <4F3978BC.6090608@FreeBSD.org> <4F3990EA.1080002@FreeBSD.org> <4F3C0BB9.6050101@FreeBSD.org> <4F3E807A.60103@FreeBSD.org> <4F3E8858.4000001@FreeBSD.org> In-Reply-To: <4F3E8858.4000001@FreeBSD.org> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (mailhost.m5p.com [IPv6:2001:418:3fd::f7]); Sun, 26 Feb 2012 19:32:49 -0500 (EST) X-Scanned-By: MIMEDefang 2.72 on IPv6:2001:418:3fd::f7 Subject: Re: [RFT][patch] Scheduling for HTT and not only X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2012 00:32:52 -0000 On 02/17/12 12:03, Alexander Motin wrote: > On 17.02.2012 18:53, Arnaud Lacombe wrote: >> On Fri, Feb 17, 2012 at 11:29 AM, Alexander Motin wrote: >>> [...]So I believe this code works as it should. >>> >>> Here is the patch: http://people.freebsd.org/~mav/sched.htt40.patch >>> >>> I plan this to be a final patch of this series (more to come :)) and if >>> there will be no problems or objections, I am going to commit it (except >>> some debugging KTRs) in about ten days. So now it's a good time for >>> reviews >>> and testing. :) >>>[...] I finally got around to trying this on a 9.0-STABLE GENERIC kernel, in the forlorn hope that it would fix SCHED_ULE's poor performance for interactive processes with a full load on interactive processes. It doesn't help. -- George Mitchell From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 27 00:38:27 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54B86106566B for ; Mon, 27 Feb 2012 00:38:27 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from mailhost.m5p.com (ip-2-2-0-2.r20.asbnva02.us.ce.gin.ntt.net [IPv6:2001:418:0:5000::16]) by mx1.freebsd.org (Postfix) with ESMTP id 00ECC8FC0C for ; Mon, 27 Feb 2012 00:38:26 +0000 (UTC) Received: from wonderland.m5p.com (wonderland.m5p.com [IPv6:2001:418:3fd::19]) by mailhost.m5p.com (8.14.4/8.14.4) with ESMTP id q1R0cLS7062610 for ; Sun, 26 Feb 2012 19:38:26 -0500 (EST) (envelope-from george+freebsd@m5p.com) Message-ID: <4F4AD07D.50704@m5p.com> Date: Sun, 26 Feb 2012 19:38:21 -0500 From: George Mitchell User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120122 Thunderbird/9.0 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <4F2F7B7F.40508@FreeBSD.org> <4F366E8F.9060207@FreeBSD.org> <4F367965.6000602@FreeBSD.org> <4F396B24.5090602@FreeBSD.org> <4F3978BC.6090608@FreeBSD.org> <4F3990EA.1080002@FreeBSD.org> <4F3C0BB9.6050101@FreeBSD.org> <4F3E807A.60103@FreeBSD.org> <4F3E8858.4000001@FreeBSD.org> <4F4ACF2C.50300@m5p.com> In-Reply-To: <4F4ACF2C.50300@m5p.com> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (mailhost.m5p.com [IPv6:2001:418:3fd::f7]); Sun, 26 Feb 2012 19:38:26 -0500 (EST) X-Scanned-By: MIMEDefang 2.72 on IPv6:2001:418:3fd::f7 Subject: Re: [RFT][patch] Scheduling for HTT and not only X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2012 00:38:27 -0000 On 02/26/12 19:32, George Mitchell wrote: > [...] SCHED_ULE's poor performance for > interactive processes with a full load on interactive processes. It ^^^^^^^^^^^^^^ Should be "of compute-bound". > doesn't help. -- George Mitchell > From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 27 04:07:56 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDDE6106564A for ; Mon, 27 Feb 2012 04:07:56 +0000 (UTC) (envelope-from bryan@shatow.net) Received: from secure.xzibition.com (secure.xzibition.com [173.160.118.92]) by mx1.freebsd.org (Postfix) with ESMTP id 735CE8FC13 for ; Mon, 27 Feb 2012 04:07:56 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=shatow.net; h=message-id :date:from:mime-version:to:subject:references:content-type; q= dns; s=sweb; b=C2OW1shOacmnVui0qerR8SRbkfp5kgWGmx/jDj4KbqZlxSld0 AreATulanK06ZD3vcXxsxsBQta2pIQEMr094oE8UIqSLr7XsI+e3iwxO2In+D7n+ c0LQoDYGrOfSL64b/9f3X5j+eGPPiXU9MfjQY3L9OsI2JqKhei5egHn4AI= DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=shatow.net; h=message-id :date:from:mime-version:to:subject:references:content-type; s= sweb; bh=WG5TBAJl9KLrkjveRqjQ4yAL0fVcGJh0cCmEu1KEniM=; b=vsjBmQt 8l/ZhxdYeHinQd9xSgiP+GQq1NYM1T/LOR/EI9zOwCbGpwVt1qrS9NplHxmwpjzn M+0H2NQiS//OGNtj9M7aMcPCKSXZ8VXv70gRXehS02JfUfCDC2JG8FA3P3qnCIye JE2OJpnJCEL2MpCPYnUDLYybMBGhBEMbUU1s= Received: (qmail 25793 invoked from network); 26 Feb 2012 21:41:13 -0600 Received: from unknown (HELO ?10.10.1.87?) (bryan@shatow.net@10.10.1.87) by sweb.xzibition.com with ESMTPA; 26 Feb 2012 21:41:13 -0600 Message-ID: <4F4AFB53.8020503@shatow.net> Date: Sun, 26 Feb 2012 21:41:07 -0600 From: Bryan Drewery User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: jeremie@le-hen.org, freebsd-hackers@freebsd.org References: 20101106194702.GN2392@deviant.kiev.zoral.com.ua X-Enigmail-Version: 1.3.5 OpenPGP: id=A4EB5085; url=http://www.shatow.net/bryan/bryan.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigAFA83EECC5FEBA40AED1D184" Cc: Subject: re: compiling ports with SSP (was: [PATCH] Add -lssp_nonshared to GCC's LIB_SPEC unconditionally)= X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2012 04:07:57 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigAFA83EECC5FEBA40AED1D184 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Jeremie, Thanks for this patch [1]! I've been building my ports tree with -fstack-protector on FreeBSD 6, 7 and 8. Once I upgraded to 8, I started running into the issue [2] this patch is fixing. I have a situation where non-ports applications are compiling statically, which ran into this. Specifically, the application is linking in security/openssl statically, which of course was compiled with -fstack-protector. Adding the /usr/lib/libc.ld fixed it without needing to hack at the failing non-port application. Would be nice if this, and PR 138228 were finally committed. Bryan Drewery [1] http://lists.freebsd.org/pipermail/freebsd-hackers/2011-June/035538.h= tml [2] http://gcc.gnu.org/ml/gcc-help/2006-05/msg00092.html --------------enigAFA83EECC5FEBA40AED1D184 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPSvtXAAoJEF8gbo+k61CFzuwIAIbQXu2Tb7fwkNYnIYFtlOgz Js2dqtiqexdGu9AFJjxIsxkQAnOtPoNSI2yME3935AJ5war3UwDhK4fyAmoaxqKe s3QEYiW+tCwIsl+kxXk2wpTakCOQVGl9TCVBhTgk5UJY6vP7/8mGz2Lk7y+6PH6j Mmdo/AXat8Uuhy8f4SvLRUQ3o9BuKtP5L09Hrlm/2uQm09XNfyINuRfaTjHD6iuS 4ZG2u4FtHrhUCsEwFh4vkWeS7Tla8hdcyNKAs4qH+O/OPNzqjEJkopopX8DOC6EQ bC8XakXs99BSj6k0eaGmpStWT2/0eacQDZnKQ3znq74epfFDxSYst2KyfBPjFwc= =3P3S -----END PGP SIGNATURE----- --------------enigAFA83EECC5FEBA40AED1D184-- From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 27 10:22:29 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6FCA1065677 for ; Mon, 27 Feb 2012 10:22:27 +0000 (UTC) (envelope-from egoitz@ramattack.net) Received: from proxypop04.sare.net (proxypop04.sare.net [194.30.0.65]) by mx1.freebsd.org (Postfix) with ESMTP id 4842C8FC0C for ; Mon, 27 Feb 2012 10:22:27 +0000 (UTC) Received: from www.saremail.com (unknown [194.30.0.100]) by proxypop04.sare.net (Postfix) with ESMTPSA id D23309DC4FE; Mon, 27 Feb 2012 11:22:25 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 27 Feb 2012 11:22:25 +0100 From: egoitz@ramattack.net To: Message-ID: X-Sender: egoitz@ramattack.net User-Agent: Saremail/0.6-svn Subject: About building release for using sysinstall X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2012 10:22:29 -0000 Good morning, I have launched : cd /usr/src make -j3 buildworld (I'm in testing env, I say because -j3) cd /usr/src/release make -f Makefile.sysinstall release CHROOTDIR=/expert/RELENG90RELEASE CVSROOT=/expert/ncvs RELEASETAG=RELENG_9_0 MAKE_ISOS=1 does not work out of the box directly. It gives some errors in the iso generation part, and some warning because the own Makefile.sysinstall does not find install.cfg. Using the mkisoimages.sh file from RELENG_9_0 have seen that (unless using Makefile.sysinstall with make) make release crashes because mkisoimages.sh script tries to create an fstab file inside an /etc dir which should be inside {$CHROOTDIR}/R/cdrom/discX/ but which is not out of the box (as a consequence of the make release I mean unless with as I said Makefile.sysinstall)... so in a previous instance... I modified this script (mkisoimages.sh) for generating this etc dir in required location and before generating fstab by this script. Release finished this way building but CD Disc1 was not able to boot because crashed (can't see exactly the error, it's pretty fast when appears although I know it's in mounting root phase, and I'm not using kernel debugging config, and the machine reboots instantly) but was solved removing this /etc dir from {$CHROOTDIR}/R/cdrom/discX/ and regenerating the iso file again... and makes lots of sense... because in loader.conf you are telling to boot and use as root an mfsroot not the own cd9660 image which is what you're specifying in /etc/fstab in the iso image. So finally this is what has worked to me for generating the iso images of the new release : I have no need of packages cd... so I removed it... and same for DVD 1... because I just need Disc1 and livefs (althought I have created too the bootonly image...)... have seen too that doc distribution is copied now to cd1 and dvd1... Like have a local copy of FreeBSD cvs have made a couple of commits which have allowed me building the release and ISOS to work properly for later being able to use for our unattended installation system. I paste out here the cvs diffs : generarelease90# cvs diff -r 1.5.2.1.2.2 -r 1.5.2.1.2.5 Makefile.sysinstall Index: Makefile.sysinstall =================================================================== RCS file: /expert/ncvs/src/release/Attic/Makefile.sysinstall,v retrieving revision 1.5.2.1.2.2 retrieving revision 1.5.2.1.2.5 diff -r1.5.2.1.2.2 -r1.5.2.1.2.5 1c1 < # $FreeBSD: src/release/Makefile.sysinstall,v 1.5.2.1.2.2 2012/01/02 04:11:22 kensmith Exp $ --- > # $FreeBSD: src/release/Makefile.sysinstall,v 1.5.2.1.2.5 2012/02/26 > 11:51:25 portero Exp $ 525c525 < -test -f install.cfg && cp install.cfg ${CHROOTDIR}/usr/src/release --- > -test -f /usr/src/usr.sbin/sysinstall/install.cfg && cp > /usr/src/usr.sbin/sysinstall/install.cfg ${CHROOTDIR}/usr/src/release 838,839c838,839 < -test -f ${.CURDIR}/install.cfg \ < && cp ${.CURDIR}/install.cfg ${RD}/mfsfd --- > -test -f /usr/src/usr.sbin/sysinstall/install.cfg \ > && /usr/src/usr.sbin/sysinstall/install.cfg ${RD}/mfsfd 1152,1155d1151 < @sh ${.CURDIR}/${TARGET}/mkisoimages.sh \ < FreeBSD_Packages \ < ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-disc2.iso ${CD_DISC2} \ < ${CD_DISC2_PKGS} 1157,1160c1153 < @sh ${.CURDIR}/${TARGET}/mkisoimages.sh ${BOOTABLE} \ < FreeBSD_Install \ < ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-dvd1.iso ${CD_DVD1} \ < ${CD_DVD1_PKGS} --- > @echo "Do not need DVD fine with cd1 and livefs..." 1163,1166c1156 < @sh ${.CURDIR}/${TARGET}/mkisoimages.sh \ < FreeBSD_Documentation \ < ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-disc3.iso ${CD_DOCS} \ < ${CD_DOCS_PKGS} --- > @echo "Docs are now copied to cd1 and DVD" generarelease90# generarelease90# cvs diff -r 1.14.2.1.2.1 -r 1.14.2.1.2.3 mkisoimages.sh Index: mkisoimages.sh =================================================================== RCS file: /expert/ncvs/src/release/amd64/mkisoimages.sh,v retrieving revision 1.14.2.1.2.1 retrieving revision 1.14.2.1.2.3 diff -r1.14.2.1.2.1 -r1.14.2.1.2.3 7c7 < # $FreeBSD: src/release/amd64/mkisoimages.sh,v 1.14.2.1.2.1 2011/11/11 04:20:22 kensmith Exp $ --- > # $FreeBSD: src/release/amd64/mkisoimages.sh,v 1.14.2.1.2.3 > 2012/02/27 07:58:26 portero Exp $ 42d41 < echo "/dev/iso9660/`echo $LABEL | tr '[:lower:]' '[:upper:]'` / cd9660 ro 0 0" > $1/etc/fstab 44d42 < rm $1/etc/fstab If you see no problems on this changes... perhaps would be nice to apply something like this to RELENG_9_0 in some way it does not break make release with bsdinstall (so default Makefile) but in the way it works for generating release and iso images for being able to use with sysinstall (unless for having some time to change machine provisioning systems).... What do you think about all this?. Thanks a lot for you're time, Best regards. From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 27 10:35:07 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68481106564A for ; Mon, 27 Feb 2012 10:35:07 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id D946D8FC18 for ; Mon, 27 Feb 2012 10:35:06 +0000 (UTC) Received: by lagz14 with SMTP id z14so7414723lag.13 for ; Mon, 27 Feb 2012 02:35:05 -0800 (PST) Received-SPF: pass (google.com: domain of olivier@gid0.org designates 10.152.125.41 as permitted sender) client-ip=10.152.125.41; Authentication-Results: mr.google.com; spf=pass (google.com: domain of olivier@gid0.org designates 10.152.125.41 as permitted sender) smtp.mail=olivier@gid0.org Received: from mr.google.com ([10.152.125.41]) by 10.152.125.41 with SMTP id mn9mr9947990lab.30.1330338905620 (num_hops = 1); Mon, 27 Feb 2012 02:35:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.152.125.41 with SMTP id mn9mr8309680lab.30.1330338905543; Mon, 27 Feb 2012 02:35:05 -0800 (PST) Received: by 10.152.13.4 with HTTP; Mon, 27 Feb 2012 02:35:05 -0800 (PST) In-Reply-To: <4F4ACF2C.50300@m5p.com> References: <4F2F7B7F.40508@FreeBSD.org> <4F366E8F.9060207@FreeBSD.org> <4F367965.6000602@FreeBSD.org> <4F396B24.5090602@FreeBSD.org> <4F3978BC.6090608@FreeBSD.org> <4F3990EA.1080002@FreeBSD.org> <4F3C0BB9.6050101@FreeBSD.org> <4F3E807A.60103@FreeBSD.org> <4F3E8858.4000001@FreeBSD.org> <4F4ACF2C.50300@m5p.com> Date: Mon, 27 Feb 2012 11:35:05 +0100 Message-ID: From: Olivier Smedts To: George Mitchell Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQn8WoVoUpp5/EIODbcYgdKZ5Gfh4bi2Sooep0AZwctwpsPjpzJ1M6BzlfUOau6XHbRb5AIJ Cc: freebsd-hackers@freebsd.org Subject: Re: [RFT][patch] Scheduling for HTT and not only X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2012 10:35:07 -0000 2012/2/27 George Mitchell : > I finally got around to trying this on a 9.0-STABLE GENERIC kernel, in > the forlorn hope that it would fix SCHED_ULE's poor performance for > interactive processes with a full load on interactive processes. =A0It > doesn't help. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 -- George Mitchell Are you using sysmouse (moused) for the xorg pointer ? --=20 Olivier Smedts=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0 _ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 ASCII ribbon campaign ( ) e-mail: olivier@gid0.org=A0 =A0 =A0 =A0 - against HTML email & vCards=A0 X www: http://www.gid0.org=A0 =A0 - against proprietary attachments / \ =A0 "Il y a seulement 10 sortes de gens dans le monde : =A0 ceux qui comprennent le binaire, =A0 et ceux qui ne le comprennent pas." From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 27 11:23:29 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9FC3106566C for ; Mon, 27 Feb 2012 11:23:29 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from mailhost.m5p.com (ip-2-2-0-2.r20.asbnva02.us.ce.gin.ntt.net [IPv6:2001:418:0:5000::16]) by mx1.freebsd.org (Postfix) with ESMTP id 5AE298FC16 for ; Mon, 27 Feb 2012 11:23:29 +0000 (UTC) Received: from wonderland.m5p.com (wonderland.m5p.com [IPv6:2001:418:3fd::19]) by mailhost.m5p.com (8.14.4/8.14.4) with ESMTP id q1RBNNPY067944; Mon, 27 Feb 2012 06:23:28 -0500 (EST) (envelope-from george+freebsd@m5p.com) Message-ID: <4F4B67AB.40907@m5p.com> Date: Mon, 27 Feb 2012 06:23:23 -0500 From: George Mitchell User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120122 Thunderbird/9.0 MIME-Version: 1.0 To: Olivier Smedts References: <4F2F7B7F.40508@FreeBSD.org> <4F366E8F.9060207@FreeBSD.org> <4F367965.6000602@FreeBSD.org> <4F396B24.5090602@FreeBSD.org> <4F3978BC.6090608@FreeBSD.org> <4F3990EA.1080002@FreeBSD.org> <4F3C0BB9.6050101@FreeBSD.org> <4F3E807A.60103@FreeBSD.org> <4F3E8858.4000001@FreeBSD.org> <4F4ACF2C.50300@m5p.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (mailhost.m5p.com [IPv6:2001:418:3fd::f7]); Mon, 27 Feb 2012 06:23:28 -0500 (EST) X-Scanned-By: MIMEDefang 2.72 on IPv6:2001:418:3fd::f7 Cc: freebsd-hackers@freebsd.org Subject: Re: [RFT][patch] Scheduling for HTT and not only X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2012 11:23:29 -0000 On 02/27/12 05:35, Olivier Smedts wrote: > 2012/2/27 George Mitchell: >> I finally got around to trying this on a 9.0-STABLE GENERIC kernel, in >> the forlorn hope that it would fix SCHED_ULE's poor performance for >> interactive processes with a full load on interactive processes. It >> doesn't help. -- George Mitchell > > Are you using sysmouse (moused) for the xorg pointer ? > Yes. -- George Mitchell From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 27 11:28:16 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 771AE106564A for ; Mon, 27 Feb 2012 11:28:16 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id E470F8FC14 for ; Mon, 27 Feb 2012 11:28:15 +0000 (UTC) Received: by lagz14 with SMTP id z14so7493949lag.13 for ; Mon, 27 Feb 2012 03:28:14 -0800 (PST) Received-SPF: pass (google.com: domain of olivier@gid0.org designates 10.112.40.101 as permitted sender) client-ip=10.112.40.101; Authentication-Results: mr.google.com; spf=pass (google.com: domain of olivier@gid0.org designates 10.112.40.101 as permitted sender) smtp.mail=olivier@gid0.org Received: from mr.google.com ([10.112.40.101]) by 10.112.40.101 with SMTP id w5mr5395940lbk.97.1330342094631 (num_hops = 1); Mon, 27 Feb 2012 03:28:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.40.101 with SMTP id w5mr4529650lbk.97.1330342094509; Mon, 27 Feb 2012 03:28:14 -0800 (PST) Received: by 10.152.13.4 with HTTP; Mon, 27 Feb 2012 03:28:14 -0800 (PST) In-Reply-To: <4F4B67AB.40907@m5p.com> References: <4F2F7B7F.40508@FreeBSD.org> <4F366E8F.9060207@FreeBSD.org> <4F367965.6000602@FreeBSD.org> <4F396B24.5090602@FreeBSD.org> <4F3978BC.6090608@FreeBSD.org> <4F3990EA.1080002@FreeBSD.org> <4F3C0BB9.6050101@FreeBSD.org> <4F3E807A.60103@FreeBSD.org> <4F3E8858.4000001@FreeBSD.org> <4F4ACF2C.50300@m5p.com> <4F4B67AB.40907@m5p.com> Date: Mon, 27 Feb 2012 12:28:14 +0100 Message-ID: From: Olivier Smedts To: George Mitchell Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQlxauEupGC5IbTNsWlnA4OwpCZItMyMN2v28KBPZFAWxPiE/Q9SGC8gANHZldaBLwKYui38 Cc: freebsd-hackers@freebsd.org Subject: Re: [RFT][patch] Scheduling for HTT and not only X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2012 11:28:16 -0000 2012/2/27 George Mitchell : > On 02/27/12 05:35, Olivier Smedts wrote: >> >> 2012/2/27 George Mitchell: >>> >>> I finally got around to trying this on a 9.0-STABLE GENERIC kernel, in >>> the forlorn hope that it would fix SCHED_ULE's poor performance for >>> interactive processes with a full load on interactive processes. =A0It >>> doesn't help. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 -- George Mitchell >> >> >> Are you using sysmouse (moused) for the xorg pointer ? >> > > Yes. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0-- George Mitchell Can you try with hald, or directly with the mouse device, without using moused ? Others reported they had better interactivity without sysmouse/moused. Really better (no mouse lag or freeze when under high load). --=20 Olivier Smedts=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0 _ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 ASCII ribbon campaign ( ) e-mail: olivier@gid0.org=A0 =A0 =A0 =A0 - against HTML email & vCards=A0 X www: http://www.gid0.org=A0 =A0 - against proprietary attachments / \ =A0 "Il y a seulement 10 sortes de gens dans le monde : =A0 ceux qui comprennent le binaire, =A0 et ceux qui ne le comprennent pas." From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 27 12:16:13 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A30271065689 for ; Mon, 27 Feb 2012 12:16:13 +0000 (UTC) (envelope-from kpielorz_lst@tdx.co.uk) Received: from mail.tdx.com (mail.tdx.com [62.13.128.18]) by mx1.freebsd.org (Postfix) with ESMTP id 251138FC16 for ; Mon, 27 Feb 2012 12:16:12 +0000 (UTC) Received: from OctaHexa64-MkII (HPQuadro64.dmpriest.net.uk [62.13.130.30]) (authenticated bits=0) by mail.tdx.com (8.14.3/8.14.3) with ESMTP id q1RC9Ndm069226 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Mon, 27 Feb 2012 12:09:24 GMT Date: Mon, 27 Feb 2012 12:09:23 +0000 From: Karl Pielorz To: freebsd-hackers@freebsd.org Message-ID: <21EB76F692ED4215A70037FC@OctaHexa64-MkII> In-Reply-To: References: X-Mailer: Mulberry/4.0.8 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: SuperMicro IPMI keyboard - fails for 'mountroot>' prompt under FreeBSD 9-R... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2012 12:16:13 -0000 --On 27 February 2012 12:04 +0000 Karl Pielorz wrote: > Once the kernel is loading you see: Sorry - that should be, once the O/S is booting, not kernel loading - you see: ... > " > ugen1.2: at usbus1 > ums0: 1.10/0.01, addr 2> on usbus1 > ums0: 3 buttons and [Z] coordinates ID=0 > ukbd0: rev 1.10/0.01, addr 2?> on usbus1 > kbd2 at ukbd0 > " -Karl From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 27 12:16:15 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2108A106568C for ; Mon, 27 Feb 2012 12:16:15 +0000 (UTC) (envelope-from kpielorz_lst@tdx.co.uk) Received: from mail.tdx.com (mail.tdx.com [62.13.128.18]) by mx1.freebsd.org (Postfix) with ESMTP id AF5D78FC19 for ; Mon, 27 Feb 2012 12:16:14 +0000 (UTC) Received: from OctaHexa64-MkII (HPQuadro64.dmpriest.net.uk [62.13.130.30]) (authenticated bits=0) by mail.tdx.com (8.14.3/8.14.3) with ESMTP id q1RC4Pnn069138 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Mon, 27 Feb 2012 12:04:26 GMT Date: Mon, 27 Feb 2012 12:04:25 +0000 From: Karl Pielorz To: freebsd-hackers@freebsd.org Message-ID: X-Mailer: Mulberry/4.0.8 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: SuperMicro IPMI keyboard - fails for 'mountroot>' prompt under FreeBSD 9-R... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2012 12:16:15 -0000 Hi, We have a number of SuperMicro based systems (e.g. an X8DTL-IF) - this is running the latest BIOS (2.1a) - and the latest (supplied by SuperMicro) IPMI firmware - 2.44. We're using FreeBSD 9.0-R amd64. When using the LAN KVM keyboard (IPMI) - it works for the BIOS (as you'd expect) - it works for the Beastie boot menu prompt, and it works for when the O/S is booted. However, it doesn't work if the boot fails, e.g. if you get stuck at: mountroot> I've tried changing a few things in the BIOS (such as EHCI handoff, legacy port 60/64 support, legacy USB support) - but nothing I change in there makes any difference. Once the kernel is loading you see: " ugen1.2: at usbus1 ums0: on usbus1 ums0: 3 buttons and [Z] coordinates ID=0 ukbd0: on usbus1 kbd2 at ukbd0 " I've tried with a PS2 keyboard attached, and removed from the physical server - but it doesn't change anything. We have notes here for FreeBSD 8 to recompile the kernel with: nodevice ums To fix a previous KVM issue with SuperMicro - but this doesn't fix the above issue. Any clues on how I can fix / troubleshoot this further? The keyboard does work at the Beastie boot menu, and again once the O/S is loaded - but obviously having it work when the kernel has failed to load, would be handy :) Thanks, -Karl From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 27 12:42:33 2012 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01EE9106564A for ; Mon, 27 Feb 2012 12:42:33 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 45BBB8FC0C for ; Mon, 27 Feb 2012 12:42:31 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id OAA07607; Mon, 27 Feb 2012 14:42:21 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1S1zuG-000289-Ky; Mon, 27 Feb 2012 14:42:20 +0200 Message-ID: <4F4B7A2A.7080202@FreeBSD.org> Date: Mon, 27 Feb 2012 14:42:18 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120218 Thunderbird/10.0.2 MIME-Version: 1.0 To: Olivier Smedts References: <4F2F7B7F.40508@FreeBSD.org> <4F366E8F.9060207@FreeBSD.org> <4F367965.6000602@FreeBSD.org> <4F396B24.5090602@FreeBSD.org> <4F3978BC.6090608@FreeBSD.org> <4F3990EA.1080002@FreeBSD.org> <4F3C0BB9.6050101@FreeBSD.org> <4F3E807A.60103@FreeBSD.org> <4F3E8858.4000001@FreeBSD.org> <4F4ACF2C.50300@m5p.com> <4F4B67AB.40907@m5p.com> In-Reply-To: X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.org, George Mitchell Subject: Re: [RFT][patch] Scheduling for HTT and not only X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2012 12:42:33 -0000 on 27/02/2012 13:28 Olivier Smedts said the following: > Can you try with hald, or directly with the mouse device, without > using moused ? Others reported they had better interactivity without > sysmouse/moused. Really better (no mouse lag or freeze when under high > load). > I wonder if re-nice-ing moused to a higher priority would help as well... -- Andriy Gapon From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 27 18:10:24 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D8EB106566C for ; Mon, 27 Feb 2012 18:10:24 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 0461E8FC08 for ; Mon, 27 Feb 2012 18:10:24 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id B1E6746B17; Mon, 27 Feb 2012 13:10:23 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 17C70B99B; Mon, 27 Feb 2012 13:10:23 -0500 (EST) From: John Baldwin To: freebsd-hackers@freebsd.org Date: Mon, 27 Feb 2012 10:51:38 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201202271051.38798.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 27 Feb 2012 13:10:23 -0500 (EST) Cc: Will McCutcheon Subject: Re: Kernel stalling at "pci0: on pcib0" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2012 18:10:24 -0000 On Friday, February 24, 2012 5:42:08 pm Will McCutcheon wrote: > Hello everybody, > > I originally posted this at freebsd-questions and was referred over here. > > I recently got a HP t5700 thin client that I wanted to turn into a > firewall using pfSense. For reference, this system uses a Transmeta Crusoe > TM5800 CPU with a VIA chipset that I'm having difficulty identifying. My > issue is that about half of the time the kernel will stall during startup > after the following: > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 UTC 2012 > root at obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/CENERIC i386 > CPU: Transmeta(tm) Crusoe(tm) Processor TM5800 (997.69-MHz 586-class CPU) > Origin = "CenuineTMx86" Id = 0x543 Family = 5 Model = 4 Stepping = 3 > Features= 0x84893f > real memory = 270532608 (258 MB) > avail memory = 226930688 (216 MB) > kbd1 at kbdmux0 > acpi0: on motherboard > acpi0: Power Button (fixed) > acpi0: Sleep Button (fixed) > acpi0: reservation of 0, a0000 (3) failed > acpi0: reservation of 100000, eef0000 (3) failed > acpi_timer0: couldn't allocate resource (port 0x4008) > cpu0: on acpi0 > acpi_button0: on acpi0 > pcib0: port > Oxcf8-0xcff,0x4000-0x407f,0x4080-0x40ff,0x500 > 0-0x500f on acpi0 > pcib0: Length mismatch for 4 range: f00 vs eff > pcib0: Length mismatch for 4 range: aff0 vs afef > pciO: on pcib0 > > If I power the system off and on again there's about a 50/50 chance it > will start up properly, whereupon it will run for days without issue. It's > just during startup that I see any problems. I've tried two separate > systems of the same model but they both exhibit the same issue, thus > suggesting it's not a one-off hardware defect. I tried both pfSense 2.0.1 > (which is FreeBSD 8.1-based) and FreeBSD 9.0-RELEASE from a USB stick, but > they exhibited the same issue. > > I do see some acpi0 and pcib0 messages in there that seem possibly > problematic, but I'm a bit out of my depth here. Could anyone spare a > moment to suggest any further troubleshooting steps I might try? Thanks so > much for your time! Hmm, the 'Length mismatch' messages are interesting. Can you do a 'boot -v'? Also, try setting 'debug.acpi.disable=hostres' at the loader prompt. -- John Baldwin From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 27 18:10:25 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46B45106564A; Mon, 27 Feb 2012 18:10:25 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 1E9898FC0A; Mon, 27 Feb 2012 18:10:25 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id CA09546B0A; Mon, 27 Feb 2012 13:10:24 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 239EEB99E; Mon, 27 Feb 2012 13:10:24 -0500 (EST) From: John Baldwin To: rank1seeker@gmail.com Date: Mon, 27 Feb 2012 11:23:59 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: <20120217.074355.853.1@DOMY-PC> <201202241531.11281.jhb@freebsd.org> <20120225.144148.466.1@DOMY-PC> In-Reply-To: <20120225.144148.466.1@DOMY-PC> MIME-Version: 1.0 Content-Type: Text/Plain; charset="windows-1250" Content-Transfer-Encoding: 7bit Message-Id: <201202271123.59244.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 27 Feb 2012 13:10:24 -0500 (EST) Cc: Roman Divacky , hackers@freebsd.org Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2012 18:10:25 -0000 On Saturday, February 25, 2012 9:41:48 am rank1seeker@gmail.com wrote: > > Do you only see the "No " message? Do you see the '/boot.config: /loader' > > message? (Do you have RBX_QUIET enabled perhaps? (-q)) Do you get the actual > > boot2 prompt at all? > > I don't have RBX_QUIET enabled nor any other flags > > Let the pic tell a story: > http://www.starforce.biz/stage2boot.jpg Ahh, this is helpful. You do see the '/boot.config: /loader' message. > It is also valid for your latest patch > > > > Hmm, I think the problem is that 'opts' has garbage instead of being > > initialized to zero. > > > > Try this (also at www.freebsd.org/~jhb/patches/boot2_opts.patch): > > > Patch eliminates possible error, of manual "intervention" > That is, a perfectly valid patch being classified as invalid. I have no idea what you mean here. However, it seems you don't have junk in your 'opts' variable anyway. Hmm, you could try adding some more debugging to boot2.c to see exactly what is failing. For example, does the first call to 'parse()' fail and clear autoboot? Oh, garbage in cmd[] could be bad. We might read beyond the end of the file. Try http://www.FreeBSD.org/~jhb/patches/boot2_cmd.patch -- John Baldwin From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 27 22:43:56 2012 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1EC121065675 for ; Mon, 27 Feb 2012 22:43:56 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 668BA8FC13 for ; Mon, 27 Feb 2012 22:43:54 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id AAA14615; Tue, 28 Feb 2012 00:43:51 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1S29IN-0002aH-AN; Tue, 28 Feb 2012 00:43:51 +0200 Message-ID: <4F4C0726.6010804@FreeBSD.org> Date: Tue, 28 Feb 2012 00:43:50 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120218 Thunderbird/10.0.2 MIME-Version: 1.0 To: Wojciech Puchar References: In-Reply-To: X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.org, Grzegorz Kulewski Subject: Re: improving VM - questions X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2012 22:43:56 -0000 on 25/02/2012 17:45 Wojciech Puchar said the following: [snip] > i tried that patch > > --- swap_pager.c.orig 2012-02-25 16:22:25.000000000 +0100 > +++ swap_pager.c 2012-02-25 13:19:51.000000000 +0100 > @@ -119,7 +119,7 @@ > * The 32-page limit is due to the radix code (kern/subr_blist.c). > */ > #ifndef MAX_PAGEOUT_CLUSTER > -#define MAX_PAGEOUT_CLUSTER 16 > +#define MAX_PAGEOUT_CLUSTER 256 > #endif [snip] > but swap_pager.c patch seems not to work. i observe 64kB pageouts, no more. > > what is wrong in it? Could there be a problem because of what the MAX_PAGEOUT_CLUSTER comment says? -- Andriy Gapon From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 27 23:55:21 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0456106564A for ; Mon, 27 Feb 2012 23:55:21 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from mailhost.m5p.com (ip-2-2-0-2.r20.asbnva02.us.ce.gin.ntt.net [IPv6:2001:418:0:5000::16]) by mx1.freebsd.org (Postfix) with ESMTP id 4EB348FC08 for ; Mon, 27 Feb 2012 23:55:21 +0000 (UTC) Received: from wonderland.m5p.com (wonderland.m5p.com [IPv6:2001:418:3fd::19]) by mailhost.m5p.com (8.14.4/8.14.4) with ESMTP id q1RNtEJ5075868; Mon, 27 Feb 2012 18:55:20 -0500 (EST) (envelope-from george+freebsd@m5p.com) Message-ID: <4F4C17E2.2040101@m5p.com> Date: Mon, 27 Feb 2012 18:55:14 -0500 From: George Mitchell User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120122 Thunderbird/9.0 MIME-Version: 1.0 To: Olivier Smedts References: <4F2F7B7F.40508@FreeBSD.org> <4F366E8F.9060207@FreeBSD.org> <4F367965.6000602@FreeBSD.org> <4F396B24.5090602@FreeBSD.org> <4F3978BC.6090608@FreeBSD.org> <4F3990EA.1080002@FreeBSD.org> <4F3C0BB9.6050101@FreeBSD.org> <4F3E807A.60103@FreeBSD.org> <4F3E8858.4000001@FreeBSD.org> <4F4ACF2C.50300@m5p.com> <4F4B67AB.40907@m5p.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (mailhost.m5p.com [IPv6:2001:418:3fd::f7]); Mon, 27 Feb 2012 18:55:20 -0500 (EST) X-Scanned-By: MIMEDefang 2.72 on IPv6:2001:418:3fd::f7 Cc: freebsd-hackers@freebsd.org Subject: Re: [RFT][patch] Scheduling for HTT and not only X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2012 23:55:21 -0000 On 02/27/12 06:28, Olivier Smedts wrote: > 2012/2/27 George Mitchell: >> On 02/27/12 05:35, Olivier Smedts wrote: >>> >>> 2012/2/27 George Mitchell: >>>> >>>> I finally got around to trying this on a 9.0-STABLE GENERIC kernel, in >>>> the forlorn hope that it would fix SCHED_ULE's poor performance for >>>> interactive processes with a full load on interactive processes. It >>>> doesn't help. -- George Mitchell >>> >>> >>> Are you using sysmouse (moused) for the xorg pointer ? >>> >> >> Yes. -- George Mitchell > > Can you try with hald, or directly with the mouse device, without > using moused ? Others reported they had better interactivity without > sysmouse/moused. Really better (no mouse lag or freeze when under high > load). > This seems to be harder than you would expect with a USB mouse -- moused starts up even with 'moused_enable="NO"' in my /etc/rc.conf. And in any case, I'm not talking about poor mouse response: I'm talking about over a minute and a half for thunderbird to start up with the mouse standing still, and "make buildkernel" not completing even after eight hours. -- George Mitchell From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 28 09:05:06 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26185106566B for ; Tue, 28 Feb 2012 09:05:06 +0000 (UTC) (envelope-from rea@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id ABC858FC16 for ; Tue, 28 Feb 2012 09:05:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=codelabs.ru; s=two; h=Sender:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=/nATdW0hmTVs+rf9f0JqiKr2UG9wla55kUj0gRQsY0g=; b=dwck7lSx/q09WIFGdfgb68VLqwrWuMXSJvxYDEt0ZEy2jyLnCHVLK+cGpL1ZlPLG2nfG/IUq0EQIe5tcZLf643GJCBqtbjropmYmsvhkgqldifTxLMz2dA7USqsBGgs5Orp/NYpm4l/ONoBmMb8/AZdcBcYBfquns8vmqWLpYWyyFt44ApSKs6Hnfmqs+LDPN5GBqo8idiXjLOkg98YOhMOxXYPCWX1EycAM89pTRCAanNhutNyV8DgpUxyMgWlnRPCcKw6VFNR8sY0TJ07lCXEcgqQXU9DmeKB+GRjn0/c+9ryKPiMMHJuL7lZJ+cHFDPDx8yOHNVmJLqvYsjsyww==; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1S2IgT-0001nn-Pb; Tue, 28 Feb 2012 12:45:21 +0400 Date: Tue, 28 Feb 2012 12:45:17 +0400 From: Eygene Ryabinkin To: Bob Bishop Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="foM9DbudB2CcldhH" Content-Disposition: inline In-Reply-To: Sender: rea@codelabs.ru Cc: hackers@freebsd.org Subject: Re: Blackhole routes vs firewall drop rules X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2012 09:05:06 -0000 --foM9DbudB2CcldhH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Sun, Feb 26, 2012 at 01:34:23PM +0000, Bob Bishop wrote: > I'd like to hear from somebody who understands this stuff on the > relative merits of blackhole routes vs firewall drop rules for > dealing with packets from unwanted sources. I'm particularly > interested in efficiency and scalability. Thanks Are you trying to null-route (seems like its what you call blackhole routes) or firewall on the same machine that is the destination of the packets, on the same machine that is an intermediate router or you're evaluating the null-routing on the intermediate machine vs firewall on the target machine? By the way, with null-routing you'll be able only to blackhole the packets that are going only _to_ some particular IP address or netblock. Routing is almost entirely about the destination IPs (though in some cases you can differentiate on the incoming interface or you can use URPF, if it is supported by your device, but that's not the routing in the strict sense, nevertheless, many routing devices have something that looks like URPF). For FreeBSD the closest analog of URPF is ipfw's verrevpath and pf's urpf-failed. You can do source-based null-routing by injecting null route to the unwanted source, so the packet will be dropped. The neat thing here is that you can use some routing protocol to distribute your blackhole routes to multiple FreeBSD servers and ipfw/pf will do the rest. But if you can sync the blackholing firewall tables (both ipfw and pf support tables that can be updated independently of the firewall rules) across multiple hosts (if you're going to do the distributed blackholing) without handing this work to the routing protocols, this might be faster -- you'll save routing table lookup (though the firewall should inspect the source address, but that should be slightly quicker than to do routing table lookup). At the large scale, null routing nowadays is mostly used for tearing down distributed DDoS. You, probably want to read this thread on NANOG list, http://www.gossamer-threads.com/lists/nanog/users/138153 The typical usage is that some IP or netblock that are under the attack are null-routed on the provider's edges (if the provider hosts this IP/netblock) and internal leafs to tear down the packets before they can flood the infrastructure. If multiple providers (better if they contain the sources for the attack) can do that, the attacking traffic won't even exit their networks and that's a good thing when you're fighting DDoS. But, in general, it will be much better to know your situation to answer such question in a more appropriate manner. --=20 Eygene Ryabinkin ,,,^..^,,, [ Life's unfair - but root password helps! | codelabs.ru ] [ 82FE 06BC D497 C0DE 49EC 4FF0 16AF 9EAE 8152 ECFB | freebsd.org ] --foM9DbudB2CcldhH Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iF4EABEIAAYFAk9MlB0ACgkQFq+eroFS7Pts4gD9E9UCMUh5s/Vq7NxFrONY/1xS Lfnv6puV3VdWNBROLc4A/Ag3Sx0dchRqfHCLTRPQFNXcjJhZelPpqqHxlsmzuBFy =nSWc -----END PGP SIGNATURE----- --foM9DbudB2CcldhH-- From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 28 09:50:41 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8456C106564A for ; Tue, 28 Feb 2012 09:50:41 +0000 (UTC) (envelope-from wojtek@tensor.gdynia.pl) Received: from tensor.gdynia.pl (tensor.gdynia.pl [89.206.35.72]) by mx1.freebsd.org (Postfix) with ESMTP id DC9118FC13 for ; Tue, 28 Feb 2012 09:50:40 +0000 (UTC) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by tensor.gdynia.pl (8.14.4/8.14.5) with ESMTP id q1S9oc3r093285; Tue, 28 Feb 2012 10:50:38 +0100 (CET) (envelope-from wojtek@tensor.gdynia.pl) Received: (from wojtek@localhost) by tensor.gdynia.pl (8.14.5/8.14.5/Submit) id q1S9obQw093283; Tue, 28 Feb 2012 10:50:37 +0100 (CET) (envelope-from wojtek) Newsgroups: Date: Tue, 28 Feb 2012 10:43:46 +0100 (CET) From: Wojciech Puchar To: Andriy Gapon Fcc: sent-mail In-Reply-To: <4F4C0726.6010804@FreeBSD.org> Message-ID: References: <4F4C0726.6010804@FreeBSD.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-Reply-UID: (2 > )(1 1330422177 46)/home/wojtek/Maildir/FreeBSD-hackers X-Reply-Mbox: #md/Maildir/FreeBSD-hackers X-Cursor-Pos: : 546 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8 Status: X-Status: X-Keywords: X-UID: 10 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.6 (tensor.gdynia.pl [89.206.35.72]); Tue, 28 Feb 2012 10:50:38 +0100 (CET) Cc: freebsd-hackers@freebsd.org, Grzegorz Kulewski Subject: Re: improving VM - questions X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2012 09:50:41 -0000 >> +++ swap_pager.c 2012-02-25 13:19:51.000000000 +0100 >> @@ -119,7 +119,7 @@ >> * The 32-page limit is due to the radix code (kern/subr_blist.c). >> */ >> #ifndef MAX_PAGEOUT_CLUSTER >> -#define MAX_PAGEOUT_CLUSTER 16 >> +#define MAX_PAGEOUT_CLUSTER 256 >> #endif > [snip] >> but swap_pager.c patch seems not to work. i observe 64kB pageouts, no more. >> >> what is wrong in it? > > Could there be a problem because of what the MAX_PAGEOUT_CLUSTER comment says? right. but still 32 pages is 128kB, but i see 64kB I/Os in systat/vmstat > > -- > Andriy Gapon > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > > From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 28 10:21:52 2012 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65418106564A for ; Tue, 28 Feb 2012 10:21:52 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id A7B878FC12 for ; Tue, 28 Feb 2012 10:21:51 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id MAA24625; Tue, 28 Feb 2012 12:21:47 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1S2KBn-0005Rc-0V; Tue, 28 Feb 2012 12:21:47 +0200 Message-ID: <4F4CAAC1.9060908@FreeBSD.org> Date: Tue, 28 Feb 2012 12:21:53 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120218 Thunderbird/10.0.2 MIME-Version: 1.0 To: Wojciech Puchar References: <4F4C0726.6010804@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.org, Grzegorz Kulewski Subject: Re: improving VM - questions X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2012 10:21:52 -0000 on 28/02/2012 11:43 Wojciech Puchar said the following: >>> +++ swap_pager.c 2012-02-25 13:19:51.000000000 +0100 >>> @@ -119,7 +119,7 @@ >>> * The 32-page limit is due to the radix code (kern/subr_blist.c). >>> */ >>> #ifndef MAX_PAGEOUT_CLUSTER >>> -#define MAX_PAGEOUT_CLUSTER 16 >>> +#define MAX_PAGEOUT_CLUSTER 256 >>> #endif >> [snip] >>> but swap_pager.c patch seems not to work. i observe 64kB pageouts, no more. >>> >>> what is wrong in it? >> >> Could there be a problem because of what the MAX_PAGEOUT_CLUSTER comment says? > > right. but still 32 pages is 128kB, but i see 64kB I/Os in systat/vmstat Right, but the comment says to not define MAX_PAGEOUT_CLUSTER to a value greater than 32, but you did that. So all bets could be off unless you examined the code and know exactly what should happen in this case. -- Andriy Gapon From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 28 15:55:19 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB7E8106566C; Tue, 28 Feb 2012 15:55:19 +0000 (UTC) (envelope-from dmk.sbor@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id E13498FC0C; Tue, 28 Feb 2012 15:55:12 +0000 (UTC) Received: by ghrr20 with SMTP id r20so1952691ghr.13 for ; Tue, 28 Feb 2012 07:55:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=qwDbbc8fRksUurHBg9m2nK6NAjeR6efMjSD4INUmx/E=; b=rpHIvPUSuCf0GlnJ45t3TUizqyK5LVycElqfaMZ//HKHm0jryOHbCCNepp16VO1M2p xDvTR9zFBuTtBUlo1b6INwVAYXe+H9czuB3Xc+oxVPFQXBYfFhr7NW4MnZzacuLqsi+n tc9Kqguto1jBsYJtPTQUaULVlVUUas0hTC6YY= MIME-Version: 1.0 Received: by 10.236.173.202 with SMTP id v50mr21995090yhl.102.1330443212282; Tue, 28 Feb 2012 07:33:32 -0800 (PST) Received: by 10.146.204.2 with HTTP; Tue, 28 Feb 2012 07:33:32 -0800 (PST) In-Reply-To: References: Date: Tue, 28 Feb 2012 18:33:32 +0300 Message-ID: From: "Dmitry S. Kasterin" To: freebsd-hackers@freebsd.org, freebsd-hardware@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: Subject: Recurring "rescan already queued" message X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2012 15:55:19 -0000 Hello! I am trying to install 9.0-RELEASE from standard amd64 memstick image. During the install huge amount of "rescan already queued" messages breaks installer interface. (noperiph:ata1:0:-1:-1): rescan already queued (noperiph:ata1:0:-1:-1): rescan already queued (noperiph:ata1:0:-1:-1): rescan already queued (noperiph:ata1:0:-1:-1): rescan already queued So, I have 2 questions: 1) Are these messages harmless? 2) Messages are a little bit annoying. So, is there any way to suppress them? Some remarks: 1) I am trying to install FreeBSD on HP ProBook 4730s, which seems to be affected by a recent Intel bug: http://ixbtlabs.com/articles3/cpu/intel-6x-chipset-bug-p1.html 2) HDD is ada0 on ata0. 3) The messages are genetared constantly: # dmesg | grep "rescan already queued" | wc -l 98 # uptime ... 14 mins ... 4) I've tried to suppress messages by setting "hint.ata.1.disabled=1", but this had no effect (may be due to my mistake?) 5) Verbose kernel log has the following part: (aprobe0:ata1:0:0:0): SOFT_RESET. ACB: 00 00 00 00 00 00 00 00 00 00 00 00 (aprobe0:ata1:0:0:0): CAM status: Selection Timeout (aprobe0:ata1:0:1:0): SOFT_RESET. ACB: 00 00 00 00 00 00 00 00 00 00 00 00 (aprobe0:ata1:0:1:0): CAM status: Selection Timeout ata1: SATA reset: ports status=0x00 ata1: p0: SATA connect timeout status=00000004 ata1: p1: SATA connect timeout status=00000000 ata1: DISCONNECT requested ata1: SATA reset: ports status=0x00 ata1: p0: SATA connect timeout status=00000004 ata1: p1: SATA connect timeout status=00000000 ata1: DISCONNECT requested ata1: SATA reset: ports status=0x00 ata1: p0: SATA connect timeout status=00000004 ata1: p1: SATA connect timeout status=00000000 (noperiph:ata1:0:-1:-1): rescan already queued ata1: DISCONNECT requested 6) vmstat -i gives the following: interrupt total rate irq1: atkbd0 653 4 irq9: acpi0 417 2 irq14: ata0 164 1 irq16: ehci0 ehci1 12335 81 cpu0:timer 75201 498 irq256: hdac0 12 0 cpu1:timer 92952 615 cpu2:timer 74159 491 cpu3:timer 97503 645 Total 353396 2340 From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 28 18:06:53 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8967F106566C; Tue, 28 Feb 2012 18:06:53 +0000 (UTC) (envelope-from artemb@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 322C58FC13; Tue, 28 Feb 2012 18:06:52 +0000 (UTC) Received: by ghrr20 with SMTP id r20so2076938ghr.13 for ; Tue, 28 Feb 2012 10:06:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; 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 :content-transfer-encoding; bh=Ym8FTAH5K7bxniaVHT3V7mtmzf5owGcrdxmVhZVNNZg=; b=X+D5uMcDYfy0vzYqciGpm6bolzm//beEDN9bLm8jZqO+yrTPtcB/4MAkgzA2vZw1TS 9BPHi66QP07DWGF3/WRuqMOFmIuwKF3UqaukHmGshV6rnWWk7zcbND57hP3gdJDKBnn1 Fd94TkPRos4Md6HRL94Cdz6ey5j87Xc0rSExo= MIME-Version: 1.0 Received: by 10.236.184.129 with SMTP id s1mr23032317yhm.21.1330452412567; Tue, 28 Feb 2012 10:06:52 -0800 (PST) Sender: artemb@gmail.com Received: by 10.146.159.40 with HTTP; Tue, 28 Feb 2012 10:06:52 -0800 (PST) In-Reply-To: <4F4CAAC1.9060908@FreeBSD.org> References: <4F4C0726.6010804@FreeBSD.org> <4F4CAAC1.9060908@FreeBSD.org> Date: Tue, 28 Feb 2012 10:06:52 -0800 X-Google-Sender-Auth: 3U7KWeb7nPACvs5LkOwsFWwfNfM Message-ID: From: Artem Belevich To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Wojciech Puchar , Grzegorz Kulewski , freebsd-hackers@freebsd.org Subject: Re: improving VM - questions X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2012 18:06:53 -0000 On Tue, Feb 28, 2012 at 2:21 AM, Andriy Gapon wrote: > on 28/02/2012 11:43 Wojciech Puchar said the following: >>>> +++ swap_pager.c =A0 =A0 =A0 =A02012-02-25 13:19:51.000000000 +0100 >>>> @@ -119,7 +119,7 @@ >>>> =A0* The 32-page limit is due to the radix code (kern/subr_blist.c). >>>> =A0*/ >>>> #ifndef MAX_PAGEOUT_CLUSTER >>>> -#define MAX_PAGEOUT_CLUSTER 16 >>>> +#define MAX_PAGEOUT_CLUSTER 256 >>>> #endif >>> [snip] >>>> but swap_pager.c patch seems not to work. i observe 64kB pageouts, no = more. >>>> >>>> what is wrong in it? >>> >>> Could there be a problem because of what the MAX_PAGEOUT_CLUSTER commen= t says? >> >> right. but still 32 pages is 128kB, but i see 64kB I/Os in systat/vmstat > > Right, but the comment says to not define MAX_PAGEOUT_CLUSTER to a value = greater > than 32, but you did that. =A0So all bets could be off unless you examine= d the > code and know exactly what should happen in this case. I suspect it might be DFLTPHYS that splits disk i/o into 64K blocks on the driver level. --Artem > > > -- > Andriy Gapon > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= " From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 28 18:13:58 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5F081065670 for ; Tue, 28 Feb 2012 18:13:58 +0000 (UTC) (envelope-from egoitz@ramattack.net) Received: from proxypop04.sare.net (proxypop04.sare.net [194.30.0.65]) by mx1.freebsd.org (Postfix) with ESMTP id 87CD08FC0C for ; Tue, 28 Feb 2012 18:13:58 +0000 (UTC) Received: from www.saremail.com (unknown [194.30.0.100]) by proxypop04.sare.net (Postfix) with ESMTPSA id B591F9DC5A0 for ; Tue, 28 Feb 2012 19:13:56 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 28 Feb 2012 19:13:56 +0100 From: egoitz@ramattack.net To: In-Reply-To: References: Message-ID: <75239b58c09e170e7063f170f7a1a3d4@ramattack.net> X-Sender: egoitz@ramattack.net User-Agent: Saremail/0.6-svn Subject: Re: About building release for using sysinstall X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2012 18:13:58 -0000 Sorry but, perhaps should I write this another FreeBSD mailing list?... perhaps this one, it's not it's place... if this can be the situation, please tell me which mailing list to send to this suggestion. Thanks a lot for you're time, Best regards. On Mon, 27 Feb 2012 11:22:25 +0100, egoitz@ramattack.net wrote: > Good morning, > > I have launched : > From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 28 18:57:43 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C0941065678 for ; Tue, 28 Feb 2012 18:57:43 +0000 (UTC) (envelope-from seanbru@yahoo-inc.com) Received: from mrout2-b.corp.bf1.yahoo.com (mrout2-b.corp.bf1.yahoo.com [98.139.253.105]) by mx1.freebsd.org (Postfix) with ESMTP id 2EC5B8FC0A for ; Tue, 28 Feb 2012 18:57:42 +0000 (UTC) Received: from [IPv6:::1] (rideseveral.corp.yahoo.com [10.73.160.231]) by mrout2-b.corp.bf1.yahoo.com (8.14.4/8.14.4/y.out) with ESMTP id q1SIlFcl054365; Tue, 28 Feb 2012 10:47:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yahoo-inc.com; s=cobra; t=1330454835; bh=ctnkMpTOUSpDz3fXuuOKStKoFLGN/tlMH8hraKsI8oM=; h=Subject:From:To:Cc:In-Reply-To:References:Content-Type:Date: Message-ID:Mime-Version:Content-Transfer-Encoding; b=YdUBVdDx3TimOkvAu6VO+l4+4qQzJYvlbKKNOKKDNhjlBH30XmhFBV4PdfGLgipN9 tp7oS0eFqZa/yyB1QY9VT6X+owDq7MGRmP4umlY86UuSx2q673SW0/vTXN9OciJcP+ MvqZm1Y5x3+KyewLvvztv6rvXvYD1PNOJKpT6wfM= From: Sean Bruno To: Karl Pielorz In-Reply-To: <21EB76F692ED4215A70037FC@OctaHexa64-MkII> References: <21EB76F692ED4215A70037FC@OctaHexa64-MkII> Content-Type: text/plain; charset="UTF-8" Date: Tue, 28 Feb 2012 10:47:14 -0800 Message-ID: <1330454834.3092.7.camel@powernoodle-l7.corp.yahoo.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: "freebsd-hackers@freebsd.org" Subject: Re: SuperMicro IPMI keyboard - fails for 'mountroot>' prompt under FreeBSD 9-R... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2012 18:57:43 -0000 On Mon, 2012-02-27 at 04:09 -0800, Karl Pielorz wrote: > > --On 27 February 2012 12:04 +0000 Karl Pielorz > wrote: > > > Once the kernel is loading you see: > > Sorry - that should be, once the O/S is booting, not kernel loading - you > see: ... > > > " > > ugen1.2: at usbus1 > > ums0: > 1.10/0.01, addr 2> on usbus1 > > ums0: 3 buttons and [Z] coordinates ID=0 > > ukbd0: > rev 1.10/0.01, addr 2?> on usbus1 > > kbd2 at ukbd0 > > " > > -Karl > > _________________ Can you dump the full dmesg on boot? I've noted that shared ethernet devices and IPMI seem to conflict. Expecially if the kernel is explicity turning off the ethernet device becuase its not configured. Sean From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 28 18:58:57 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2277106566C; Tue, 28 Feb 2012 18:58:57 +0000 (UTC) (envelope-from seanbru@yahoo-inc.com) Received: from mrout2-b.corp.bf1.yahoo.com (mrout2-b.corp.bf1.yahoo.com [98.139.253.105]) by mx1.freebsd.org (Postfix) with ESMTP id B77538FC1C; Tue, 28 Feb 2012 18:58:57 +0000 (UTC) Received: from [IPv6:::1] (rideseveral.corp.yahoo.com [10.73.160.231]) by mrout2-b.corp.bf1.yahoo.com (8.14.4/8.14.4/y.out) with ESMTP id q1SImWI6055431; Tue, 28 Feb 2012 10:48:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yahoo-inc.com; s=cobra; t=1330454913; bh=5kI78cqY+b9NtB/BUGqLLLZLHFxfMWPXWAujuK4bur4=; h=Subject:From:To:Cc:In-Reply-To:References:Content-Type:Date: Message-ID:Mime-Version:Content-Transfer-Encoding; b=fQHxU7T56r2mQMtu++1XinzPrRt4aEzRcyUMZbmnwUhvDKZx2okBJR4j6zJzD81vk zvFPkQJbzbLoW4sG+4me145WX5ScIM2UmygviDkQIZERyhBELkyN0L5RnADslAVDaA kBVNSVYh46J5MAJR8CjTO7AmkQ+Qs9g6xcWoG8H4= From: Sean Bruno To: "Dmitry S. Kasterin" In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Tue, 28 Feb 2012 10:48:32 -0800 Message-ID: <1330454912.3092.8.camel@powernoodle-l7.corp.yahoo.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: "freebsd-hackers@freebsd.org" , "freebsd-hardware@freebsd.org" Subject: Re: Recurring "rescan already queued" message X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2012 18:58:58 -0000 On Tue, 2012-02-28 at 07:33 -0800, Dmitry S. Kasterin wrote: > Hello! > > I am trying to install 9.0-RELEASE from standard amd64 memstick image. > During the install huge amount of "rescan already queued" messages > breaks installer interface. > > (noperiph:ata1:0:-1:-1): rescan already queued > (noperiph:ata1:0:-1:-1): rescan already queued > (noperiph:ata1:0:-1:-1): rescan already queued > (noperiph:ata1:0:-1:-1): rescan already queued > > So, I have 2 questions: > > 1) Are these messages harmless? > 2) Messages are a little bit annoying. So, is there any way to suppress them? I had the same issue on my laptop with an eSATA port. I disabled the eSATA port and that made the messages go away. According to mav@ these were harmless, but annoying. Sean From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 28 19:00:37 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79D2E106564A for ; Tue, 28 Feb 2012 19:00:37 +0000 (UTC) (envelope-from seanbru@yahoo-inc.com) Received: from mrout1-b.corp.bf1.yahoo.com (mrout1-b.corp.bf1.yahoo.com [98.139.253.104]) by mx1.freebsd.org (Postfix) with ESMTP id 34CC68FC15 for ; Tue, 28 Feb 2012 19:00:36 +0000 (UTC) Received: from [IPv6:::1] (rideseveral.corp.yahoo.com [10.73.160.231]) by mrout1-b.corp.bf1.yahoo.com (8.14.4/8.14.4/y.out) with ESMTP id q1SJ0JtK036789 for ; Tue, 28 Feb 2012 11:00:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yahoo-inc.com; s=cobra; t=1330455619; bh=d9Y9nBIgvReiLHIM1Y9Nulv8YDSLsXwlkfWgWZjEJaE=; h=Subject:From:Reply-To:To:Content-Type:Date:Message-ID: Mime-Version:Content-Transfer-Encoding; b=EvnMsg40l9q6Y8ToEsGZO9yOWURzIlI/PLnsl9vZRgYXOdktEwGLzF2FScJckgjeM TJe8I6HFRXtU8fcCR2fbpL08a52dBPE0CULHOcQ/M9DjLfHviZ7DuQi8Me3WIUPlLV SFlbYCIv654MlcZbWPACKpudI+NUrIdHRnVqrz0g= From: Sean Bruno To: "freebsd-hackers@freebsd.org" Content-Type: text/plain; charset="UTF-8" Date: Tue, 28 Feb 2012 11:00:19 -0800 Message-ID: <1330455619.3092.10.camel@powernoodle-l7.corp.yahoo.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: [sudo] configure --host=i386 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: sbruno@freebsd.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2012 19:00:37 -0000 I was trying to cross compile sudo for i386 on an amd64 host and was befuddled by the following ./configure error output. checking for library containing crypt... -lcrypt checking for library containing getspnam... no checking for library containing getprpwnam... no configure: error: "dlopen present but libtool doesn't appear to support your platform." I've tried this on 7,8,9 and head with the same result. Thoughts? Sean From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 28 20:09:09 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26BB210656D0; Tue, 28 Feb 2012 20:09:09 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5D52E8FC0C; Tue, 28 Feb 2012 20:09:08 +0000 (UTC) Received: by eekd17 with SMTP id d17so2042130eek.13 for ; Tue, 28 Feb 2012 12:09:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:from:to:subject:date:content-type :content-transfer-encoding:in-reply-to:references:x-mailer; bh=1js5GPqOD8Ros3W1MDi7+mxpQYjYcgzeBcawdD9Qoj8=; b=ohVJIzClmIQFKkanXM5n3EspGALMoFJ/nO2VUtZH6E2e5QUyk4rCQbcL8MB8tHat6G bIXSr58fcEd6AtUJ6syfJWH0XBh3hIhaU/sdVYWSiM7MfFKGFonfvfzGfSVb+3xngl3H JfJp6k9hGdDhEzdNpB4R5fVme9cQ5EnFYqYyI= Received: by 10.14.27.142 with SMTP id e14mr9119237eea.70.1330459746974; Tue, 28 Feb 2012 12:09:06 -0800 (PST) Received: from DOMYPC ([82.193.208.173]) by mx.google.com with ESMTPS id u9sm73833445eem.11.2012.02.28.12.08.55 (version=SSLv3 cipher=OTHER); Tue, 28 Feb 2012 12:09:05 -0800 (PST) Message-ID: <20120228.200906.958.1@DOMY-PC> From: rank1seeker@gmail.com To: hackers@freebsd.org, "John Baldwin" , "Roman Divacky" Date: Tue, 28 Feb 2012 21:09:06 +0100 Content-Type: text/plain; charset="Windows-1250" Content-Transfer-Encoding: quoted-printable In-Reply-To: <201202271123.59244.jhb@freebsd.org> References: <20120217.074355.853.1@DOMY-PC> <201202241531.11281.jhb@freebsd.org> <20120225.144148.466.1@DOMY-PC> <201202271123.59244.jhb@freebsd.org> X-Mailer: POP Peeper (3.8.1.0) Cc: Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2012 20:09:09 -0000 ----- Original Message -----=0D=0AFrom: John Baldwin = =0D=0ATo: rank1seeker@gmail.com=0D=0ACc: = hackers@freebsd.org, "Roman Divacky" =0D=0ADate: = Mon, 27 Feb 2012 11:23:59 -0500=0D=0ASubject: Re: BUG: 9.0 stage 2 boot = (/boot/boot)=0D=0A=0D=0A> On Saturday, February 25, 2012 9:41:48 am = rank1seeker@gmail.com wrote:=0D=0A> > > Do you only see the "No " = message? Do you see the '/boot.config: /loader'=0D=0A> > > message? (Do = you have RBX_QUIET enabled perhaps? (-q)) Do you get the actual=0D=0A> > = > boot2 prompt at all?=0D=0A> > =0D=0A> > I don't have RBX_QUIET enabled = nor any other flags=0D=0A> > =0D=0A> > Let the pic tell a story:=0D=0A> > = http://www.starforce.biz/stage2boot.jpg=0D=0A> =0D=0A> Ahh, this is = helpful. You do see the '/boot.config: /loader' message.=0D=0A=0D=0AI've = already explained that, numerous times (RE-typing ...)=0D=0AImage is = STILL valid for this latest patch.=0D=0A=0D=0A> > It is also valid for = your latest patch=0D=0A> > =0D=0A> > =0D=0A> > > Hmm, I think the problem = is that 'opts' has garbage instead of being=0D=0A> > > initialized to = zero.=0D=0A> > > =0D=0A> > > Try this (also at = www.freebsd.org/~jhb/patches/boot2_opts.patch):=0D=0A> > =0D=0A> > = =0D=0A> > Patch eliminates possible error, of manual = "intervention"=0D=0A> > That is, a perfectly valid patch being classified = as invalid.=0D=0A> =0D=0A> I have no idea what you mean here. However, = it seems you don't have junk in=0D=0A> your 'opts' variable = anyway.=0D=0A=0D=0AWhat I meant was that I won't manually(edit file) = apply patch, but via 'patch' tool/bin.=0D=0A=0D=0A> Hmm, you could try = adding some more debugging to boot2.c to see exactly what=0D=0A> is = failing. For example, does the first call to 'parse()' fail and = clear=0D=0A> autoboot?=0D=0A=0D=0AI don't do nor understand c = code.=0D=0A=0D=0A> Oh, garbage in cmd[] could be bad. We might read = beyond the end of the file.=0D=0A> Try = http://www.FreeBSD.org/~jhb/patches/boot2_cmd.patch=0D=0A> =0D=0A> -- = =0D=0A> John Baldwin=0D=0A> =0D=0A=0D=0A> ... Ah, 9.0 doesn't have the = =0D=0A> /boot/config support. Try = www.freebsd.org/~jhb/patches/boot2_cmd_9.0.patch=0D=0A> =0D=0A> -- = =0D=0A> John Baldwin=0D=0A=0D=0AHow could it silently loose documented = functionality?=0D=0AIt still doesn't work,=0D=0A=0D=0A=0D=0ADomagoj = Smol=E8i=E6 From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 28 22:03:13 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1517106566B; Tue, 28 Feb 2012 22:03:13 +0000 (UTC) (envelope-from root@tensor.gdynia.pl) Received: from tensor.gdynia.pl (tensor.gdynia.pl [89.206.35.72]) by mx1.freebsd.org (Postfix) with ESMTP id EEE198FC18; Tue, 28 Feb 2012 22:03:12 +0000 (UTC) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by tensor.gdynia.pl (8.14.4/8.14.5) with ESMTP id q1SLR5Vl035871; Tue, 28 Feb 2012 22:27:05 +0100 (CET) (envelope-from root@tensor.gdynia.pl) Received: (from root@localhost) by tensor.gdynia.pl (8.14.5/8.14.5/Submit) id q1SLR54V035870; Tue, 28 Feb 2012 22:27:05 +0100 (CET) (envelope-from root) Newsgroups: Date: Tue, 28 Feb 2012 22:06:12 +0100 (CET) From: Wojciech Puchar To: Artem Belevich Fcc: sent-mail In-Reply-To: Message-ID: References: <4F4C0726.6010804@FreeBSD.org> <4F4CAAC1.9060908@FreeBSD.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-Reply-UID: (2 > )(1 1330463121 54)/home/wojtek/Maildir/FreeBSD-hackers X-Reply-Mbox: #md/Maildir/FreeBSD-hackers X-Cursor-Pos: : 397 MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="2456600518-547007317-1330463172=:32088" Status: X-Status: X-Keywords: X-UID: 1 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.6 (tensor.gdynia.pl [89.206.35.72]); Tue, 28 Feb 2012 22:27:06 +0100 (CET) Cc: freebsd-hackers@freebsd.org, Grzegorz Kulewski , Andriy Gapon Subject: Re: improving VM - questions X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2012 22:03:13 -0000 --2456600518-547007317-1330463172=:32088 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE >>> right. but still 32 pages is 128kB, but i see 64kB I/Os in systat/vmsta= t >> >> Right, but the comment says to not define MAX_PAGEOUT_CLUSTER to a value= greater >> than 32, but you did that. =C2=A0So all bets could be off unless you exa= mined the >> code and know exactly what should happen in this case. > > I suspect it might be DFLTPHYS that splits disk i/o into 64K blocks on > the driver level. can i increase DFLTPHYS as well as i did with MAXPHYS without problems? --2456600518-547007317-1330463172=:32088-- From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 28 23:01:01 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B764106564A; Tue, 28 Feb 2012 23:01:01 +0000 (UTC) (envelope-from artemb@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 21F3A8FC12; Tue, 28 Feb 2012 23:01:01 +0000 (UTC) Received: by yhgm50 with SMTP id m50so1913921yhg.13 for ; Tue, 28 Feb 2012 15:01:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; 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 :content-transfer-encoding; bh=yHflomQUR2m5u6DsIUUCp9eGGZAJ6ZnZfz7PTmFCI3g=; b=Or8H64Hp19vh26wy9O8pLATYl84Q+yBMAOiSq9VmwWyKuZyn+tb9r7jdNUyZ/Ic00q paN9B4craR6BvSqH4eADfdyyk4bYhXD+kdoId3W02bw8bPL4IKEWJVh5wHE9CEXrNQAC TgIgfJABGTE+bxoaCj655D3kuMV/lehnuTGAo= MIME-Version: 1.0 Received: by 10.236.186.1 with SMTP id v1mr24618210yhm.4.1330470060627; Tue, 28 Feb 2012 15:01:00 -0800 (PST) Sender: artemb@gmail.com Received: by 10.146.159.40 with HTTP; Tue, 28 Feb 2012 15:01:00 -0800 (PST) In-Reply-To: References: <4F4C0726.6010804@FreeBSD.org> <4F4CAAC1.9060908@FreeBSD.org> Date: Tue, 28 Feb 2012 15:01:00 -0800 X-Google-Sender-Auth: tzeHgHzfzLf7HomtdMA5YJHo9U4 Message-ID: From: Artem Belevich To: Wojciech Puchar Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org, Grzegorz Kulewski , Andriy Gapon Subject: Re: improving VM - questions X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2012 23:01:01 -0000 On Tue, Feb 28, 2012 at 1:06 PM, Wojciech Puchar wrote: >>>> right. but still 32 pages is 128kB, but i see 64kB I/Os in systat/vmst= at >>> >>> Right, but the comment says to not define MAX_PAGEOUT_CLUSTER to a valu= e greater >>> than 32, but you did that. =A0So all bets could be off unless you exami= ned the >>> code and know exactly what should happen in this case. >> >> I suspect it might be DFLTPHYS that splits disk i/o into 64K blocks on >> the driver level. > can i increase DFLTPHYS as well as i did with MAXPHYS without problems? Sorry, I don't have definitive answer to that. This old post has some related info: http://lists.freebsd.org/pipermail/freebsd-performance/2008-February/003311= .html Even older thread on freebsd-arch also described some concerns: http://lists.freebsd.org/pipermail/freebsd-arch/2004-January/001590.html I don't know whether the stuff above still applies to FreeBSD as it is now: --Artem From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 29 04:27:22 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7738D106566C for ; Wed, 29 Feb 2012 04:27:22 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2DD038FC0A for ; Wed, 29 Feb 2012 04:27:21 +0000 (UTC) Received: by iahk25 with SMTP id k25so1565852iah.13 for ; Tue, 28 Feb 2012 20:27:21 -0800 (PST) Received-SPF: pass (google.com: domain of jhellenthal@dataix.net designates 10.50.100.202 as permitted sender) client-ip=10.50.100.202; Authentication-Results: mr.google.com; spf=pass (google.com: domain of jhellenthal@dataix.net designates 10.50.100.202 as permitted sender) smtp.mail=jhellenthal@dataix.net; dkim=pass header.i=jhellenthal@dataix.net Received: from mr.google.com ([10.50.100.202]) by 10.50.100.202 with SMTP id fa10mr25439634igb.10.1330489641743 (num_hops = 1); Tue, 28 Feb 2012 20:27:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dataix.net; s=rsa; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; bh=nAQTeDhX5hEz1b4G+JTko6LbnaHh4Tc5YJuK+0KXRzs=; b=d/22DQBUInn59h50XoB6ZFd+GM521h2ShAnlj1TD9H1B3AeWi6afNOl943gPQP2sGi hJ++xW9+LuN+DxvFCZCBg8xtLpo8rrJGlGBOg2WFGlyDdZSudy1F6gYz6EVnuwja/6V5 Ube56DfhOtzm+k7kdxp8camqLZ8zlQRHk5nc8= Received: by 10.50.100.202 with SMTP id fa10mr20609972igb.10.1330486537545; Tue, 28 Feb 2012 19:35:37 -0800 (PST) Received: from DataIX.net (adsl-99-181-159-39.dsl.klmzmi.sbcglobal.net. [99.181.159.39]) by mx.google.com with ESMTPS id em2sm15521194igc.0.2012.02.28.19.35.36 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 28 Feb 2012 19:35:36 -0800 (PST) Received: from DataIX.net (localhost [127.0.0.1]) by DataIX.net (8.14.5/8.14.5) with ESMTP id q1T3ZXOV014876 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 28 Feb 2012 22:35:33 -0500 (EST) (envelope-from jhellenthal@DataIX.net) Received: (from jhellenthal@localhost) by DataIX.net (8.14.5/8.14.5/Submit) id q1T3ZXS1014602; Tue, 28 Feb 2012 22:35:33 -0500 (EST) (envelope-from jhellenthal@DataIX.net) Date: Tue, 28 Feb 2012 22:35:33 -0500 From: Jason Hellenthal To: sbruno@freebsd.org Message-ID: <20120229033533.GA84100@DataIX.net> References: <1330455619.3092.10.camel@powernoodle-l7.corp.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1330455619.3092.10.camel@powernoodle-l7.corp.yahoo.com> X-Gm-Message-State: ALoCoQmeqNO7d6KSNaa5PbfNsDBNND3qj1WgqskRKwKMZ27brbOhjLMw//I0tkcLk4xi0yy0Xb8K Cc: "freebsd-hackers@freebsd.org" Subject: Re: [sudo] configure --host=i386 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Feb 2012 04:27:22 -0000 Try i486 instead. There is a setting in the compiler code that was changed a long while back to where it will only compile to i486 and above. I would think that this is probably what you are seeing. This is what I have on 8-STABLE for GCC but for clang I have no clue. contrib/gcc/config/i386/i386.c On Tue, Feb 28, 2012 at 11:00:19AM -0800, Sean Bruno wrote: > I was trying to cross compile sudo for i386 on an amd64 host and was > befuddled by the following ./configure error output. > > checking for library containing crypt... -lcrypt > checking for library containing getspnam... no > checking for library containing getprpwnam... no > configure: error: "dlopen present but libtool doesn't appear to support > your platform." > > > I've tried this on 7,8,9 and head with the same result. Thoughts? > > Sean > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" -- ;s =; From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 29 05:35:00 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5EB86106564A; Wed, 29 Feb 2012 05:35:00 +0000 (UTC) (envelope-from rea@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 035A08FC12; Wed, 29 Feb 2012 05:34:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=codelabs.ru; s=two; h=Sender:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=Zpr3mvCev5QFcgJk4omkveSmJTW/SdcoOlJLhZqy5fQ=; b=MAxskRTw40UY3M+pt26ikGLZ4KzWCtWpuVZxFBKMFZ/nCZ+bkVeHrjdC3T0Idk8wNpUhpqDqfbPwQkwiofUKB1751K0LGR/RXFlVVi08EdUxYYDjoyfi+QshtcJUcodrCPW0MeFTkuf0WaMQ4/WAFjbBWof75B7kJH1vOANLKhAVwQWZA0Jhs1zJO/S5Pgb84Ogek343/bnq/Pd/+PkfwPTEeirHFyQANxN7fb5JDz1cGsEirodOtFhNVPf198vSLQSzNaI/NAxz8wZ+n/RPJQJu00BaGo+0ll2RmHYGb6ldKB3uATrSYt2OpnAtiYRljtLk/X2tyrRMTBuFRErVkA==; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1S2bsc-000Gsa-I8; Wed, 29 Feb 2012 09:15:10 +0400 Date: Wed, 29 Feb 2012 09:15:08 +0400 From: Eygene Ryabinkin To: sbruno@freebsd.org Message-ID: <9y6w9S97G5oWpi49RI4ujaOX/ro@Y368QdixR6jasnEYsVVjrkTA7mk> References: <1330455619.3092.10.camel@powernoodle-l7.corp.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="buDNgeHiu+HCsDEc" Content-Disposition: inline In-Reply-To: <1330455619.3092.10.camel@powernoodle-l7.corp.yahoo.com> Sender: rea@codelabs.ru Cc: "freebsd-hackers@freebsd.org" Subject: Re: [sudo] configure --host=i386 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Feb 2012 05:35:00 -0000 --buDNgeHiu+HCsDEc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Sean, good day. Tue, Feb 28, 2012 at 11:00:19AM -0800, Sean Bruno wrote: > I was trying to cross compile sudo for i386 on an amd64 host and was > befuddled by the following ./configure error output. >=20 > checking for library containing crypt... -lcrypt > checking for library containing getspnam... no > checking for library containing getprpwnam... no > configure: error: "dlopen present but libtool doesn't appear to support > your platform." What were the commands for cross-compilation? Was it done using the ports tree or just the official tarball? --=20 Eygene Ryabinkin ,,,^..^,,, [ Life's unfair - but root password helps! | codelabs.ru ] [ 82FE 06BC D497 C0DE 49EC 4FF0 16AF 9EAE 8152 ECFB | freebsd.org ] --buDNgeHiu+HCsDEc Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iF4EABEIAAYFAk9NtFwACgkQFq+eroFS7PuNCQD9HeewuC4wS8jk7uKjd6vKWiKQ SaFQ64zMcJgy1fAlwRkA/3lk4WgzW9+aYzrckG/Yxqz9AihpGplmTSW+MTeR/bbV =iXvj -----END PGP SIGNATURE----- --buDNgeHiu+HCsDEc-- From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 29 07:54:09 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1ED5106564A; Wed, 29 Feb 2012 07:54:09 +0000 (UTC) (envelope-from dmk.sbor@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 79E3A8FC14; Wed, 29 Feb 2012 07:54:09 +0000 (UTC) Received: by yhgm50 with SMTP id m50so2021196yhg.13 for ; Tue, 28 Feb 2012 23:54:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Abf+v8ZETxfZHObpgJ4jEbH2M4IJaGeEUoOZxLqA5ms=; b=DlaFjX6O+nVTYIzGTPbK6YM283UFbI68Bp6Q4FKI+KZV1LyEa0QKGIAZ/6brgS3F5v H0kV1keRrULA/H7/dQ4MsEeQTYdy1zGXvPxPwTkrAdH/HzNCR2QxeBBdFhiOcCArNJEx EqnaeIEv9HHZWkAk4I3wZb7reRvYXDl9y9b/8= MIME-Version: 1.0 Received: by 10.236.156.34 with SMTP id l22mr25069763yhk.118.1330502048957; Tue, 28 Feb 2012 23:54:08 -0800 (PST) Received: by 10.146.168.1 with HTTP; Tue, 28 Feb 2012 23:54:08 -0800 (PST) In-Reply-To: <1330454912.3092.8.camel@powernoodle-l7.corp.yahoo.com> References: <1330454912.3092.8.camel@powernoodle-l7.corp.yahoo.com> Date: Wed, 29 Feb 2012 10:54:08 +0300 Message-ID: From: "Dmitry S. Kasterin" To: Sean Bruno Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-hackers@freebsd.org" , "freebsd-hardware@freebsd.org" Subject: Re: Recurring "rescan already queued" message X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Feb 2012 07:54:09 -0000 Hi Sean! 2012/2/28, Sean Bruno : > I had the same issue on my laptop with an eSATA port. I disabled the > eSATA port and that made the messages go away. According to mav@ these > were harmless, but annoying. The problem is that my laptop has no eSATA port. I've thoroughly examined the case and BIOS options, but in vain. The only option I had to switch was "SATA mode" (from AHCI to IDE). PS Some raw data: * http://pastebin.com/FVb4ENvf - plain dmesg * http://pastebin.com/wqSyQSYb - verbose log From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 29 09:47:25 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 70321106566C for ; Wed, 29 Feb 2012 09:47:25 +0000 (UTC) (envelope-from kpielorz_lst@tdx.co.uk) Received: from mail.tdx.com (mail.tdx.com [62.13.128.18]) by mx1.freebsd.org (Postfix) with ESMTP id 056E88FC19 for ; Wed, 29 Feb 2012 09:47:24 +0000 (UTC) Received: from OctaHexa64-MkII (HPQuadro64.dmpriest.net.uk [62.13.130.30]) (authenticated bits=0) by mail.tdx.com (8.14.3/8.14.3) with ESMTP id q1T9lMdg005694 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Wed, 29 Feb 2012 09:47:23 GMT Date: Wed, 29 Feb 2012 09:47:24 +0000 From: Karl Pielorz To: Sean Bruno Message-ID: <7A0E0A12E1F9691864D4607C@OctaHexa64-MkII> In-Reply-To: <1330454834.3092.7.camel@powernoodle-l7.corp.yahoo.com> References: <21EB76F692ED4215A70037FC@OctaHexa64-MkII> <1330454834.3092.7.camel@powernoodle-l7.corp.yahoo.com> X-Mailer: Mulberry/4.0.8 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-hackers@freebsd.org Subject: Re: SuperMicro IPMI keyboard - fails for 'mountroot>' prompt under FreeBSD 9-R... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Feb 2012 09:47:25 -0000 --On 28 February 2012 10:47 -0800 Sean Bruno wrote: > Can you dump the full dmesg on boot? I've noted that shared ethernet > devices and IPMI seem to conflict. Expecially if the kernel is > explicity turning off the ethernet device becuase its not configured. > > Sean Sure - rather than clutter the list with wrapped / unwrapped lines, you can find it here: If you need me to try anything / further info, let me know. This machine is in our staging area at the moment - it's not in production yet. The RAID shows as degraded during boot as it'd only just been setup (and the machine hadn't been idle for long enough when booted yet to finish rebuilding - think it finished at the bottom of the dmesg output, just incase you were wondering :) Regards, -Karl From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 29 10:44:45 2012 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 75242106564A for ; Wed, 29 Feb 2012 10:44:45 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id B9CD68FC13 for ; Wed, 29 Feb 2012 10:44:44 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id MAA16927; Wed, 29 Feb 2012 12:44:37 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1S2h1R-0008tz-6Q; Wed, 29 Feb 2012 12:44:37 +0200 Message-ID: <4F4E019B.5050408@FreeBSD.org> Date: Wed, 29 Feb 2012 12:44:43 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120218 Thunderbird/10.0.2 MIME-Version: 1.0 To: Karl Pielorz References: <21EB76F692ED4215A70037FC@OctaHexa64-MkII> <1330454834.3092.7.camel@powernoodle-l7.corp.yahoo.com> <7A0E0A12E1F9691864D4607C@OctaHexa64-MkII> In-Reply-To: <7A0E0A12E1F9691864D4607C@OctaHexa64-MkII> X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.org, Sean Bruno , freebsd-usb@FreeBSD.org Subject: Re: SuperMicro IPMI keyboard - fails for 'mountroot>' prompt under FreeBSD 9-R... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Feb 2012 10:44:45 -0000 on 29/02/2012 11:47 Karl Pielorz said the following: > So the cause is that ukbd driver tries to attach after the mountroot stage. The symptom is obvious, a fix is not. -- Andriy Gapon From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 29 11:40:47 2012 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B4148106566B for ; Wed, 29 Feb 2012 11:40:47 +0000 (UTC) (envelope-from kpielorz_lst@tdx.co.uk) Received: from mail.tdx.com (mail.tdx.com [62.13.128.18]) by mx1.freebsd.org (Postfix) with ESMTP id 482598FC18 for ; Wed, 29 Feb 2012 11:40:46 +0000 (UTC) Received: from OctaHexa64-MkII (HPQuadro64.dmpriest.net.uk [62.13.130.30]) (authenticated bits=0) by mail.tdx.com (8.14.3/8.14.3) with ESMTP id q1TBeiVJ015374 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Wed, 29 Feb 2012 11:40:45 GMT Date: Wed, 29 Feb 2012 11:40:45 +0000 From: Karl Pielorz To: Andriy Gapon Message-ID: <4564EA0623F4CAA92EDC137B@OctaHexa64-MkII> In-Reply-To: <4F4E019B.5050408@FreeBSD.org> References: <21EB76F692ED4215A70037FC@OctaHexa64-MkII> <1330454834.3092.7.camel@powernoodle-l7.corp.yahoo.com> <7A0E0A12E1F9691864D4607C@OctaHexa64-MkII> <4F4E019B.5050408@FreeBSD.org> X-Mailer: Mulberry/4.0.8 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-hackers@FreeBSD.org, Sean Bruno , freebsd-usb@FreeBSD.org Subject: Re: SuperMicro IPMI keyboard - fails for 'mountroot>' prompt under FreeBSD 9-R... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Feb 2012 11:40:47 -0000 --On 29 February 2012 12:44 +0200 Andriy Gapon wrote: > on 29/02/2012 11:47 Karl Pielorz said the following: >> > > So the cause is that ukbd driver tries to attach after the mountroot > stage. The symptom is obvious, a fix is not. The BIOS has an option for port 60/64 emulation - I've tried enabling it (didn't seem to make any difference with nothing changed on the FreeBSD side) - is there any way to coax the system to prefer / use what would appear to be a PS/2 keyboard at that stage? -Karl From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 29 15:50:57 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2540110656A9 for ; Wed, 29 Feb 2012 15:50:57 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id C98F28FC18 for ; Wed, 29 Feb 2012 15:50:56 +0000 (UTC) Received: by obbwc7 with SMTP id wc7so4134367obb.13 for ; Wed, 29 Feb 2012 07:50:56 -0800 (PST) Received-SPF: pass (google.com: domain of yanegomi@gmail.com designates 10.182.202.69 as permitted sender) client-ip=10.182.202.69; Authentication-Results: mr.google.com; spf=pass (google.com: domain of yanegomi@gmail.com designates 10.182.202.69 as permitted sender) smtp.mail=yanegomi@gmail.com; dkim=pass header.i=yanegomi@gmail.com Received: from mr.google.com ([10.182.202.69]) by 10.182.202.69 with SMTP id kg5mr341049obc.35.1330530656204 (num_hops = 1); Wed, 29 Feb 2012 07:50:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=fvVKVWJOQqBsJtoYPhri4b5D0eUHQQTH6C4VC+6F6Fc=; b=jPpfu5BhYFU7pnHd1L4oK7TjULQnhlwCSpsIFu7bP+mUICX1vsvGmbjuut6aIJuMBH OFwBUReGldmpCPDb6KlAL6aCy8+GFss0ker6EF3PXC4acIc74njalCTjesvEdqR7NCPu zfDey0Tx+vhFWS53UDEbTkp0FvHEGcPDsn5H4= MIME-Version: 1.0 Received: by 10.182.202.69 with SMTP id kg5mr289674obc.35.1330530656142; Wed, 29 Feb 2012 07:50:56 -0800 (PST) Received: by 10.182.61.195 with HTTP; Wed, 29 Feb 2012 07:50:55 -0800 (PST) In-Reply-To: <4564EA0623F4CAA92EDC137B@OctaHexa64-MkII> References: <21EB76F692ED4215A70037FC@OctaHexa64-MkII> <1330454834.3092.7.camel@powernoodle-l7.corp.yahoo.com> <7A0E0A12E1F9691864D4607C@OctaHexa64-MkII> <4F4E019B.5050408@FreeBSD.org> <4564EA0623F4CAA92EDC137B@OctaHexa64-MkII> Date: Wed, 29 Feb 2012 07:50:55 -0800 Message-ID: From: Garrett Cooper To: Karl Pielorz Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-usb@freebsd.org, freebsd-hackers@freebsd.org, Sean Bruno , Andriy Gapon Subject: Re: SuperMicro IPMI keyboard - fails for 'mountroot>' prompt under FreeBSD 9-R... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Feb 2012 15:50:57 -0000 On Wed, Feb 29, 2012 at 3:40 AM, Karl Pielorz wrot= e: > > > --On 29 February 2012 12:44 +0200 Andriy Gapon wrote: > >> on 29/02/2012 11:47 Karl Pielorz said the following: >>> >>> =A0 >> >> >> So the cause is that ukbd driver tries to attach after the mountroot >> stage. The symptom is obvious, a fix is not. > > > The BIOS has an option for port 60/64 emulation - I've tried enabling it > (didn't seem to make any difference with nothing changed on the FreeBSD > side) - is there any way to coax the system to prefer / use what would > appear to be a PS/2 keyboard at that stage? Have you tried kbdmux(4) yet? Thanks, -Garrett From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 29 16:27:02 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B645F106564A; Wed, 29 Feb 2012 16:27:02 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 75C118FC18; Wed, 29 Feb 2012 16:27:02 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id 1329846B39; Wed, 29 Feb 2012 11:27:02 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 75422B926; Wed, 29 Feb 2012 11:27:01 -0500 (EST) From: John Baldwin To: rank1seeker@gmail.com Date: Wed, 29 Feb 2012 11:26:59 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: <20120217.074355.853.1@DOMY-PC> <201202271123.59244.jhb@freebsd.org> <20120228.200906.958.1@DOMY-PC> In-Reply-To: <20120228.200906.958.1@DOMY-PC> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_UHlTP57llgl4TNw" Message-Id: <201202291127.00209.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Wed, 29 Feb 2012 11:27:01 -0500 (EST) Cc: Roman Divacky , hackers@freebsd.org Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Feb 2012 16:27:02 -0000 --Boundary-00=_UHlTP57llgl4TNw Content-Type: Text/Plain; charset="windows-1250" Content-Transfer-Encoding: 7bit On Tuesday, February 28, 2012 3:09:06 pm rank1seeker@gmail.com wrote: > ----- Original Message ----- > From: John Baldwin > To: rank1seeker@gmail.com > Cc: hackers@freebsd.org, "Roman Divacky" > Date: Mon, 27 Feb 2012 11:23:59 -0500 > Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) > > > On Saturday, February 25, 2012 9:41:48 am rank1seeker@gmail.com wrote: > > > > Do you only see the "No " message? Do you see the '/boot.config: /loader' > > > > message? (Do you have RBX_QUIET enabled perhaps? (-q)) Do you get the actual > > > > boot2 prompt at all? > > > > > > I don't have RBX_QUIET enabled nor any other flags > > > > > > Let the pic tell a story: > > > http://www.starforce.biz/stage2boot.jpg > > > > Ahh, this is helpful. You do see the '/boot.config: /loader' message. > > I've already explained that, numerous times (RE-typing ...) It was not as obvious before, and you are seeing a failure that no one else has reported, so you need to be patient. > > > Patch eliminates possible error, of manual "intervention" > > > That is, a perfectly valid patch being classified as invalid. > > > > I have no idea what you mean here. However, it seems you don't have junk in > > your 'opts' variable anyway. > > What I meant was that I won't manually(edit file) apply patch, but via 'patch' tool/bin. Ok. > > Hmm, you could try adding some more debugging to boot2.c to see exactly what > > is failing. For example, does the first call to 'parse()' fail and clear > > autoboot? > > I don't do nor understand c code. Ok. That will take a bit longer to fix, but that is ok. I've attached a new patch with some debugging output. It shouldn't fix the problem yet, but I want to see if any of the new messages are output, and when they are output. > How could it silently loose documented functionality? Several changes were made to boot2 to make it smaller so it could be compiled with clang, and it seems that at least one of those changes must have had a bug. -- John Baldwin --Boundary-00=_UHlTP57llgl4TNw Content-Type: text/x-patch; charset="ISO-8859-1"; name="boot2_test.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="boot2_test.patch" Index: boot/i386/boot2/boot2.c =================================================================== --- boot/i386/boot2/boot2.c (revision 232297) +++ boot/i386/boot2/boot2.c (working copy) @@ -225,6 +225,7 @@ { uint8_t autoboot; ino_t ino; + size_t nbyte; kname = NULL; dmadat = (void *)(roundup2(__base + (int32_t)&_end, 0x10000) - __base); @@ -241,13 +242,17 @@ autoboot = 1; - if ((ino = lookup(PATH_CONFIG))) - fsread(ino, cmd, sizeof(cmd)); + if ((ino = lookup(PATH_CONFIG))) { + nbyte = fsread(ino, cmd, sizeof(cmd) - 1); + cmd[nbyte] = '\0'; + } if (*cmd) { memcpy(cmddup, cmd, sizeof(cmd)); - if (parse()) + if (parse()) { autoboot = 0; + printf("parse() failed\n"); + } if (!OPT_CHECK(RBX_QUIET)) printf("%s: %s", PATH_CONFIG, cmddup); /* Do not process this command twice */ @@ -260,6 +265,7 @@ */ if (autoboot && !kname) { + printf("default loader\n"); kname = PATH_BOOT3; if (!keyhit(3*SECOND)) { load(); --Boundary-00=_UHlTP57llgl4TNw-- From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 29 20:08:36 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBD0E106566B; Wed, 29 Feb 2012 20:08:36 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1AEE58FC15; Wed, 29 Feb 2012 20:08:35 +0000 (UTC) Received: by eekd17 with SMTP id d17so2511593eek.13 for ; Wed, 29 Feb 2012 12:08:35 -0800 (PST) Received-SPF: pass (google.com: domain of rank1seeker@gmail.com designates 10.14.95.201 as permitted sender) client-ip=10.14.95.201; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rank1seeker@gmail.com designates 10.14.95.201 as permitted sender) smtp.mail=rank1seeker@gmail.com; dkim=pass header.i=rank1seeker@gmail.com Received: from mr.google.com ([10.14.95.201]) by 10.14.95.201 with SMTP id p49mr1032721eef.53.1330546115138 (num_hops = 1); Wed, 29 Feb 2012 12:08:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:from:to:subject:date:content-type :content-transfer-encoding:in-reply-to:references:x-mailer; bh=9JLoqHTMipVRmOBo03OJSSgTK48rLHrzFn+fs8lVjM0=; b=G8p7EHSiPMRbUhUC9swfPnLAiHo31Blv3qCpd81yCo17/cS++kNesMqjoQw2u0UHhR HTtaJ6e8lLZ4BNtWJax8YKmZwKodT9pPxn6VosEP7RoznO7BZIcnaX88j25zjukYZbBd FqU2+PYtkJiH/wtnmIK7Nqm6ZySOrduW3ai7s= Received: by 10.14.95.201 with SMTP id p49mr804581eef.53.1330546114890; Wed, 29 Feb 2012 12:08:34 -0800 (PST) Received: from DOMYPC ([82.193.208.173]) by mx.google.com with ESMTPS id n17sm86477895eei.3.2012.02.29.12.07.58 (version=SSLv3 cipher=OTHER); Wed, 29 Feb 2012 12:08:33 -0800 (PST) Message-ID: <20120229.200836.168.1@DOMY-PC> From: rank1seeker@gmail.com To: hackers@freebsd.org, "John Baldwin" , "Roman Divacky" Date: Wed, 29 Feb 2012 21:08:36 +0100 Content-Type: text/plain; charset="Windows-1250" Content-Transfer-Encoding: quoted-printable In-Reply-To: <201202291127.00209.jhb@freebsd.org> References: <20120217.074355.853.1@DOMY-PC> <201202271123.59244.jhb@freebsd.org> <20120228.200906.958.1@DOMY-PC> <201202291127.00209.jhb@freebsd.org> X-Mailer: POP Peeper (3.8.1.0) Cc: Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Feb 2012 20:08:36 -0000 ----- Original Message -----=0D=0AFrom: John Baldwin = =0D=0ATo: rank1seeker@gmail.com=0D=0ACc: = hackers@freebsd.org, "Roman Divacky" =0D=0ADate: = Wed, 29 Feb 2012 11:26:59 -0500=0D=0ASubject: Re: BUG: 9.0 stage 2 boot = (/boot/boot)=0D=0A=0D=0A> On Tuesday, February 28, 2012 3:09:06 pm = rank1seeker@gmail.com wrote:=0D=0A> > ----- Original Message -----=0D=0A> = > From: John Baldwin =0D=0A> > To: = rank1seeker@gmail.com=0D=0A> > Cc: hackers@freebsd.org, "Roman Divacky" = =0D=0A> > Date: Mon, 27 Feb 2012 11:23:59 = -0500=0D=0A> > Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot)=0D=0A> > = =0D=0A> > > On Saturday, February 25, 2012 9:41:48 am = rank1seeker@gmail.com wrote:=0D=0A> > > > > Do you only see the "No " = message? Do you see the '/boot.config: /loader'=0D=0A> > > > > message? = (Do you have RBX_QUIET enabled perhaps? (-q)) Do you get the = actual=0D=0A> > > > > boot2 prompt at all?=0D=0A> > > > =0D=0A> > > > I = don't have RBX_QUIET enabled nor any other flags=0D=0A> > > > =0D=0A> > > = > Let the pic tell a story:=0D=0A> > > > = http://www.starforce.biz/stage2boot.jpg=0D=0A> > > =0D=0A> > > Ahh, this = is helpful. You do see the '/boot.config: /loader' message.=0D=0A> > = =0D=0A> > I've already explained that, numerous times (RE-typing = ...)=0D=0A> =0D=0A> It was not as obvious before, and you are seeing a = failure that no one else=0D=0A> has reported, so you need to be = patient.=0D=0A> =0D=0A> > > > Patch eliminates possible error, of manual = "intervention"=0D=0A> > > > That is, a perfectly valid patch being = classified as invalid.=0D=0A> > > =0D=0A> > > I have no idea what you = mean here. However, it seems you don't have junk in=0D=0A> > > your = 'opts' variable anyway.=0D=0A> > =0D=0A> > What I meant was that I won't = manually(edit file) apply patch, but via 'patch' tool/bin.=0D=0A> =0D=0A> = Ok.=0D=0A> =0D=0A> > > Hmm, you could try adding some more debugging to = boot2.c to see exactly what=0D=0A> > > is failing. For example, does the = first call to 'parse()' fail and clear=0D=0A> > > autoboot?=0D=0A> > = =0D=0A> > I don't do nor understand c code.=0D=0A> =0D=0A> Ok. That will = take a bit longer to fix, but that is ok. I've attached a new=0D=0A> = patch with some debugging output. It shouldn't fix the problem yet, but = I want=0D=0A> to see if any of the new messages are output, and when they = are output.=0D=0A> =0D=0A> > How could it silently loose documented = functionality?=0D=0A> =0D=0A> Several changes were made to boot2 to make = it smaller so it could be compiled with=0D=0A> clang, and it seems that = at least one of those changes must have had a bug.=0D=0A> =0D=0A> -- = =0D=0A> John Baldwin=0D=0A>=0D=0A=0D=0A=0D=0APatch fails at 9.0 RELEASE: = (Is this for 9 STABLE?)=0D=0A----=0D=0AHmm... Looks like a unified diff = to me...=0D=0AThe text leading up to this = was:=0D=0A--------------------------=0D=0A|Index: = boot/i386/boot2/boot2.c=0D=0A|=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D=0A|--- = boot/i386/boot2/boot2.c (revision 232297)=0D=0A|+++ = boot/i386/boot2/boot2.c (working = copy)=0D=0A--------------------------=0D=0APatching file = /sys/boot/i386/boot2/boot2.c using Plan A...=0D=0AHunk #1 failed at = 225.=0D=0AHunk #2 failed at 242.=0D=0AHunk #3 failed at 265.=0D=0A3 out = of 3 hunks failed--saving rejects to = /sys/boot/i386/boot2/boot2.c.rej=0D=0AHmm... Ignoring the trailing = garbage.=0D=0Adone=0D=0A----=0D=0A=0D=0A=0D=0AI'll give you a hint (which = I've mentioned at start)=0D=0A=0D=0AIn order to expose bug, 2 conditions = have to be met:=0D=0A 1) boot.config in use=0D=0A 2) daX device (i.e; = USB stick)=0D=0A=0D=0AThat is ...=0D=0AI've created vnode image. Then, = ... when I 'dd' it to HDD's slice, it boots.=0D=0ABUT when I 'dd' it to = USB's slice it hangs.=0D=0A=0D=0A=0D=0ADomagoj Smol=E8i=E6 From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 29 21:05:13 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 297D41065675; Wed, 29 Feb 2012 21:05:13 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id DC3A58FC1A; Wed, 29 Feb 2012 21:05:12 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id 7922646B23; Wed, 29 Feb 2012 16:05:12 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id D9C7AB940; Wed, 29 Feb 2012 16:05:11 -0500 (EST) From: John Baldwin To: rank1seeker@gmail.com Date: Wed, 29 Feb 2012 16:05:08 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: <20120217.074355.853.1@DOMY-PC> <201202291127.00209.jhb@freebsd.org> <20120229.200836.168.1@DOMY-PC> In-Reply-To: <20120229.200836.168.1@DOMY-PC> MIME-Version: 1.0 Content-Type: Text/Plain; charset="windows-1250" Content-Transfer-Encoding: 7bit Message-Id: <201202291605.08267.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Wed, 29 Feb 2012 16:05:11 -0500 (EST) Cc: Roman Divacky , hackers@freebsd.org Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Feb 2012 21:05:13 -0000 On Wednesday, February 29, 2012 3:08:36 pm rank1seeker@gmail.com wrote: > ----- Original Message ----- > From: John Baldwin > To: rank1seeker@gmail.com > Cc: hackers@freebsd.org, "Roman Divacky" > Date: Wed, 29 Feb 2012 11:26:59 -0500 > Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) > > > On Tuesday, February 28, 2012 3:09:06 pm rank1seeker@gmail.com wrote: > > > ----- Original Message ----- > > > From: John Baldwin > > > To: rank1seeker@gmail.com > > > Cc: hackers@freebsd.org, "Roman Divacky" > > > Date: Mon, 27 Feb 2012 11:23:59 -0500 > > > Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) > > > > > > > On Saturday, February 25, 2012 9:41:48 am rank1seeker@gmail.com wrote: > > > > > > Do you only see the "No " message? Do you see the '/boot.config: /loader' > > > > > > message? (Do you have RBX_QUIET enabled perhaps? (-q)) Do you get the actual > > > > > > boot2 prompt at all? > > > > > > > > > > I don't have RBX_QUIET enabled nor any other flags > > > > > > > > > > Let the pic tell a story: > > > > > http://www.starforce.biz/stage2boot.jpg > > > > > > > > Ahh, this is helpful. You do see the '/boot.config: /loader' message. > > > > > > I've already explained that, numerous times (RE-typing ...) > > > > It was not as obvious before, and you are seeing a failure that no one else > > has reported, so you need to be patient. > > > > > > > Patch eliminates possible error, of manual "intervention" > > > > > That is, a perfectly valid patch being classified as invalid. > > > > > > > > I have no idea what you mean here. However, it seems you don't have junk in > > > > your 'opts' variable anyway. > > > > > > What I meant was that I won't manually(edit file) apply patch, but via 'patch' tool/bin. > > > > Ok. > > > > > > Hmm, you could try adding some more debugging to boot2.c to see exactly what > > > > is failing. For example, does the first call to 'parse()' fail and clear > > > > autoboot? > > > > > > I don't do nor understand c code. > > > > Ok. That will take a bit longer to fix, but that is ok. I've attached a new > > patch with some debugging output. It shouldn't fix the problem yet, but I want > > to see if any of the new messages are output, and when they are output. > > > > > How could it silently loose documented functionality? > > > > Several changes were made to boot2 to make it smaller so it could be compiled with > > clang, and it seems that at least one of those changes must have had a bug. > > > > -- > > John Baldwin > > > > > Patch fails at 9.0 RELEASE: (Is this for 9 STABLE?) Nope, patch was made against a 9.0 tree: % svn info . Path: . URL: svn+ssh://svn.freebsd.org/base/releng/9.0/sys Repository Root: svn+ssh://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 232297 Node Kind: directory Schedule: normal Last Changed Author: kensmith Last Changed Rev: 229283 Last Changed Date: 2012-01-02 09:45:30 -0500 (Mon, 02 Jan 2012) % svn stat boot/i386/boot2 M boot/i386/boot2/boot2.c % svn diff boot/i386/boot2 | md5 888f90f32bd20d1bf7e2d3277d9b697b And the file I sent to you before: % md5 ~/work/patches/boot2_test.patch MD5 (/home/jhb/work/patches/boot2_test.patch) = 888f90f32bd20d1bf7e2d3277d9b697b > I'll give you a hint (which I've mentioned at start) > > In order to expose bug, 2 conditions have to be met: > 1) boot.config in use > 2) daX device (i.e; USB stick) > > That is ... > I've created vnode image. Then, ... when I 'dd' it to HDD's slice, it boots. > BUT when I 'dd' it to USB's slice it hangs. USB booting uses a different chunk of BIOS code, and it may be doing different things which result in uninitialized memory having different values (e.g. the cmd[] array). -- John Baldwin From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 10:51:36 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CB3DA106566B; Thu, 1 Mar 2012 10:51:36 +0000 (UTC) (envelope-from dmk.sbor@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 697B88FC12; Thu, 1 Mar 2012 10:51:36 +0000 (UTC) Received: by yhgm50 with SMTP id m50so133291yhg.13 for ; Thu, 01 Mar 2012 02:51:35 -0800 (PST) Received-SPF: pass (google.com: domain of dmk.sbor@gmail.com designates 10.236.135.45 as permitted sender) client-ip=10.236.135.45; Authentication-Results: mr.google.com; spf=pass (google.com: domain of dmk.sbor@gmail.com designates 10.236.135.45 as permitted sender) smtp.mail=dmk.sbor@gmail.com; dkim=pass header.i=dmk.sbor@gmail.com Received: from mr.google.com ([10.236.135.45]) by 10.236.135.45 with SMTP id t33mr5886198yhi.84.1330599095816 (num_hops = 1); Thu, 01 Mar 2012 02:51:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=JpzQO0H0okRb6WOzjgikGtYeswaE3BnM4zo7z9WZJqQ=; b=EwIVHNd6LQgfyP1d/MyvtyJywkN0ZotQAxsk7XHdpwAIJ6fNbt8YyxBcpa1LFT3CRY rkFtf+cusaJW6A0u0iv2Vf0zzqZ1Aq+S83Q6ipVhHxncfnwuJq+EIrcXADVz8eZdTaRH DVM5g4O7Rf4Cq6gT836O6cT9ViIHM+dqyRQt4= MIME-Version: 1.0 Received: by 10.236.135.45 with SMTP id t33mr4568231yhi.84.1330599095779; Thu, 01 Mar 2012 02:51:35 -0800 (PST) Received: by 10.146.168.1 with HTTP; Thu, 1 Mar 2012 02:51:35 -0800 (PST) In-Reply-To: <1330454912.3092.8.camel@powernoodle-l7.corp.yahoo.com> References: <1330454912.3092.8.camel@powernoodle-l7.corp.yahoo.com> Date: Thu, 1 Mar 2012 13:51:35 +0300 Message-ID: From: "Dmitry S. Kasterin" To: Sean Bruno Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-hackers@freebsd.org" , "freebsd-hardware@freebsd.org" Subject: Re: Recurring "rescan already queued" message X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2012 10:51:36 -0000 > I had the same issue on my laptop with an eSATA port. I disabled the > eSATA port and that made the messages go away. According to mav@ these > were harmless, but annoying. I've found the topic here: http://forums.pcbsd.org/showthread.php?t=16055 The problem has been solved by setting "hint.ata.1.pm_level" to "1". Now the messages are gone and I'm pretty happy. My thanks to Sean and Alexander. From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 11:07:58 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D7C21065672; Thu, 1 Mar 2012 11:07:58 +0000 (UTC) (envelope-from kpielorz_lst@tdx.co.uk) Received: from mail.tdx.com (mail.tdx.com [62.13.128.18]) by mx1.freebsd.org (Postfix) with ESMTP id C00438FC0C; Thu, 1 Mar 2012 11:07:57 +0000 (UTC) Received: from OctaHexa64-MkII (HPQuadro64.dmpriest.net.uk [62.13.130.30]) (authenticated bits=0) by mail.tdx.com (8.14.3/8.14.3) with ESMTP id q21B7ugZ036290 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Thu, 1 Mar 2012 11:07:56 GMT Date: Thu, 01 Mar 2012 11:07:58 +0000 From: Karl Pielorz To: Garrett Cooper Message-ID: <324297D7C526FFB64CFD2C0B@OctaHexa64-MkII> In-Reply-To: References: <21EB76F692ED4215A70037FC@OctaHexa64-MkII> <1330454834.3092.7.camel@powernoodle-l7.corp.yahoo.com> <7A0E0A12E1F9691864D4607C@OctaHexa64-MkII> <4F4E019B.5050408@FreeBSD.org> <4564EA0623F4CAA92EDC137B@OctaHexa64-MkII> X-Mailer: Mulberry/4.0.8 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Andriy Gapon , freebsd-hackers@freebsd.org, Sean Bruno , freebsd-usb@freebsd.org Subject: Re: SuperMicro IPMI keyboard - fails for 'mountroot>' prompt under FreeBSD 9-R... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2012 11:07:58 -0000 --On 29 February 2012 07:50 -0800 Garrett Cooper wrote: >> The BIOS has an option for port 60/64 emulation - I've tried enabling it >> (didn't seem to make any difference with nothing changed on the FreeBSD >> side) - is there any way to coax the system to prefer / use what would >> appear to be a PS/2 keyboard at that stage? > > Have you tried kbdmux(4) yet? Do you mean (looking at the man page) just setting: hint.kbdmux.0.disabled="1" In device.hints? That didn't make any difference - nor, (just in case) did setting it to '0'. -Karl From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 15:42:28 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6E5B8106566B; Thu, 1 Mar 2012 15:42:28 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9E6C68FC0A; Thu, 1 Mar 2012 15:42:27 +0000 (UTC) Received: by eekd17 with SMTP id d17so273795eek.13 for ; Thu, 01 Mar 2012 07:42:26 -0800 (PST) Received-SPF: pass (google.com: domain of rank1seeker@gmail.com designates 10.14.97.131 as permitted sender) client-ip=10.14.97.131; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rank1seeker@gmail.com designates 10.14.97.131 as permitted sender) smtp.mail=rank1seeker@gmail.com; dkim=pass header.i=rank1seeker@gmail.com Received: from mr.google.com ([10.14.97.131]) by 10.14.97.131 with SMTP id t3mr3495674eef.3.1330616546763 (num_hops = 1); Thu, 01 Mar 2012 07:42:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:from:to:subject:date:content-type :content-transfer-encoding:in-reply-to:references:x-mailer; bh=AePEEzrjyueu4Fu/zWhnL1GJbvgcvcxv04f8UDN5PzQ=; b=FaaHueMI7FZLpot7WDgcLGaq2UibqbeF/OqKh+a2DD4Wm39vXM05egBbLVJbJ3WabR /6jYefa6OWhZFnvWN7MUhVTjmQ8SBwKav8b1bh3FLjdHUpiMalytkV13sLJOIOst7XR1 wgBkivPmjKudKJDTBqAlW8fxXmnbiXHSf9cWM= Received: by 10.14.97.131 with SMTP id t3mr2683376eef.3.1330616546655; Thu, 01 Mar 2012 07:42:26 -0800 (PST) Received: from DOMYPC ([82.193.208.173]) by mx.google.com with ESMTPS id n52sm8529459eea.5.2012.03.01.07.42.22 (version=SSLv3 cipher=OTHER); Thu, 01 Mar 2012 07:42:24 -0800 (PST) Message-ID: <20120301.154227.197.1@DOMY-PC> From: rank1seeker@gmail.com To: hackers@freebsd.org, "John Baldwin" , "Roman Divacky" Date: Thu, 01 Mar 2012 16:42:27 +0100 Content-Type: text/plain; charset="Windows-1250" Content-Transfer-Encoding: quoted-printable In-Reply-To: <201202291605.08267.jhb@freebsd.org> References: <20120217.074355.853.1@DOMY-PC> <201202291127.00209.jhb@freebsd.org> <20120229.200836.168.1@DOMY-PC> <201202291605.08267.jhb@freebsd.org> X-Mailer: POP Peeper (3.8.1.0) Cc: Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2012 15:42:28 -0000 > > Patch fails at 9.0 RELEASE: (Is this for 9 STABLE?)=0D=0A> =0D=0A> = Nope, patch was made against a 9.0 tree:=0D=0A> =0D=0A> % svn info = .=0D=0A> Path: .=0D=0A> URL: = svn+ssh://svn.freebsd.org/base/releng/9.0/sys=0D=0A> Repository Root: = svn+ssh://svn.freebsd.org/base=0D=0A> Repository UUID: = ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f=0D=0A> Revision: 232297=0D=0A> Node = Kind: directory=0D=0A> Schedule: normal=0D=0A> Last Changed Author: = kensmith=0D=0A> Last Changed Rev: 229283=0D=0A> Last Changed Date: = 2012-01-02 09:45:30 -0500 (Mon, 02 Jan 2012)=0D=0A> =0D=0A> % svn stat = boot/i386/boot2=0D=0A> M boot/i386/boot2/boot2.c=0D=0A> =0D=0A> % = svn diff boot/i386/boot2 | md5=0D=0A> = 888f90f32bd20d1bf7e2d3277d9b697b=0D=0A> =0D=0A> And the file I sent to = you before:=0D=0A> =0D=0A> % md5 ~/work/patches/boot2_test.patch =0D=0A> = MD5 (/home/jhb/work/patches/boot2_test.patch) =3D = 888f90f32bd20d1bf7e2d3277d9b697b=0D=0A=0D=0A=0D=0AFile being = patched:=0D=0AMD5 (/sys/boot/i386/boot2/boot2.c) =3D = 2c3fe29ced282a6fccf84e9061bb3d68=0D=0A=0D=0AYour patch received via = attachment:=0D=0AMD5 (boot2_test.patch) =3D = f750c1275f45aeded970c3014a50f333=0D=0A=0D=0AAnd on your side it is: = '888f90f32bd20d1bf7e2d3277d9b697b', which is a PATCH = MISMATCH.=0D=0A=0D=0AIt is best to give me patches, as you did up to now, = via url.=0D=0A=0D=0A=0D=0ADomagoj Smol=E8i=E6 From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 15:56:31 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D76C51065670 for ; Thu, 1 Mar 2012 15:56:31 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 602B08FC08 for ; Thu, 1 Mar 2012 15:56:31 +0000 (UTC) Received: by bkcjc3 with SMTP id jc3so847048bkc.13 for ; Thu, 01 Mar 2012 07:56:30 -0800 (PST) Received-SPF: pass (google.com: domain of rank1seeker@gmail.com designates 10.204.136.197 as permitted sender) client-ip=10.204.136.197; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rank1seeker@gmail.com designates 10.204.136.197 as permitted sender) smtp.mail=rank1seeker@gmail.com; dkim=pass header.i=rank1seeker@gmail.com Received: from mr.google.com ([10.204.136.197]) by 10.204.136.197 with SMTP id s5mr3095461bkt.9.1330617390515 (num_hops = 1); Thu, 01 Mar 2012 07:56:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:from:to:subject:date:content-type :content-transfer-encoding:x-mailer; bh=K+lVykjbAL3/0KU4xYPxQV8W3CgybVPjo1o/gsSE7RU=; b=kh1GV4N3yt3njC7Ds2D7bYg/IJJQucxZf5E5TJ3MoOHtE45uJShStOMjcKwjUJLpoZ 6fgNzNk6y9Q+0s0ExfC5fd/RYrLqRMOghQ7Q4d57kuc2KiFqDgx6icUv+rIJhkP4QcBV dJbIZYCJ8WSe37s3c1LNCs9xPieFVHegpVQmA= Received: by 10.204.136.197 with SMTP id s5mr2489764bkt.9.1330617390352; Thu, 01 Mar 2012 07:56:30 -0800 (PST) Received: from DOMYPC ([82.193.208.173]) by mx.google.com with ESMTPS id jc4sm4387093bkc.7.2012.03.01.07.56.27 (version=SSLv3 cipher=OTHER); Thu, 01 Mar 2012 07:56:29 -0800 (PST) Message-ID: <20120301.155632.137.2@DOMY-PC> From: rank1seeker@gmail.com To: hackers@freebsd.org Date: Thu, 01 Mar 2012 16:56:32 +0100 Content-Type: text/plain; charset="Windows-1250" Content-Transfer-Encoding: quoted-printable X-Mailer: POP Peeper (3.8.1.0) Cc: Subject: src builds and STDERR X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2012 15:56:31 -0000 When building world and kernel, I was pissed off with endless amount of = output, as it also makes my eyes into rolling, thus decided to care only = for errors.=0D=0ASo I've redirected STDOUT to /dev/null.=0D=0AUpon error, = there is JUST 1 single line of output. Something like:=0D=0A----=0D=0A* 1 = error=0D=0A----=0D=0AAnd that is. Nothing else. No way to figure out, = what went wrong!.=0D=0A=0D=0AWhy this hasn't been properly = implemented?=0D=0A=0D=0A=0D=0ADomagoj Smol=E8i=E6 From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 15:59:22 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA72B1065670; Thu, 1 Mar 2012 15:59:22 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4668E8FC14; Thu, 1 Mar 2012 15:59:22 +0000 (UTC) Received: by obbwc7 with SMTP id wc7so1181058obb.13 for ; Thu, 01 Mar 2012 07:59:21 -0800 (PST) Received-SPF: pass (google.com: domain of yanegomi@gmail.com designates 10.182.202.69 as permitted sender) client-ip=10.182.202.69; Authentication-Results: mr.google.com; spf=pass (google.com: domain of yanegomi@gmail.com designates 10.182.202.69 as permitted sender) smtp.mail=yanegomi@gmail.com; dkim=pass header.i=yanegomi@gmail.com Received: from mr.google.com ([10.182.202.69]) by 10.182.202.69 with SMTP id kg5mr2275299obc.35.1330617561810 (num_hops = 1); Thu, 01 Mar 2012 07:59:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=1yGMMEgWJEqq20UWwZky9gLxJXAObQtNI/BVgr1johM=; b=Z5RqqB9bqfOguUnxbIHZLVxSGpcapkmuCyHuEIw3JqbLJ4hsAUhZjL4Kl5qf7dzFul mm8OXZGn/Q5+YcdbWjYYC632IuNY+kSmycV7JEqegeEfjoIhTUIrrgqyrEZVqR+8AGUe VzfIkYVKz8mW3lIqrG3w4GvgtZdCDHbGtTikU= MIME-Version: 1.0 Received: by 10.182.202.69 with SMTP id kg5mr1936865obc.35.1330617561768; Thu, 01 Mar 2012 07:59:21 -0800 (PST) Received: by 10.182.61.195 with HTTP; Thu, 1 Mar 2012 07:59:21 -0800 (PST) In-Reply-To: <324297D7C526FFB64CFD2C0B@OctaHexa64-MkII> References: <21EB76F692ED4215A70037FC@OctaHexa64-MkII> <1330454834.3092.7.camel@powernoodle-l7.corp.yahoo.com> <7A0E0A12E1F9691864D4607C@OctaHexa64-MkII> <4F4E019B.5050408@FreeBSD.org> <4564EA0623F4CAA92EDC137B@OctaHexa64-MkII> <324297D7C526FFB64CFD2C0B@OctaHexa64-MkII> Date: Thu, 1 Mar 2012 07:59:21 -0800 Message-ID: From: Garrett Cooper To: Karl Pielorz Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Andriy Gapon , freebsd-hackers@freebsd.org, Sean Bruno , freebsd-usb@freebsd.org Subject: Re: SuperMicro IPMI keyboard - fails for 'mountroot>' prompt under FreeBSD 9-R... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2012 15:59:22 -0000 On Thu, Mar 1, 2012 at 3:07 AM, Karl Pielorz wrote= : > > > --On 29 February 2012 07:50 -0800 Garrett Cooper wro= te: > >>> The BIOS has an option for port 60/64 emulation - I've tried enabling i= t >>> (didn't seem to make any difference with nothing changed on the FreeBSD >>> side) - is there any way to coax the system to prefer / use what would >>> appear to be a PS/2 keyboard at that stage? >> >> >> =A0 =A0Have you tried kbdmux(4) yet? > > > Do you mean (looking at the man page) just setting: > > =A0hint.kbdmux.0.disabled=3D"1" > > In device.hints? > > That didn't make any difference - nor, (just in case) did setting it to '= 0'. Are you sure it's compiled into the kernel? It's in GENERIC, but I'm not sure what you're running... -Garrett From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 16:31:18 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F293106566C for ; Thu, 1 Mar 2012 16:31:18 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 563608FC14 for ; Thu, 1 Mar 2012 16:31:18 +0000 (UTC) Received: by yhgm50 with SMTP id m50so364804yhg.13 for ; Thu, 01 Mar 2012 08:31:17 -0800 (PST) Received-SPF: pass (google.com: domain of yanegomi@gmail.com designates 10.60.26.8 as permitted sender) client-ip=10.60.26.8; Authentication-Results: mr.google.com; spf=pass (google.com: domain of yanegomi@gmail.com designates 10.60.26.8 as permitted sender) smtp.mail=yanegomi@gmail.com; dkim=pass header.i=yanegomi@gmail.com Received: from mr.google.com ([10.60.26.8]) by 10.60.26.8 with SMTP id h8mr2213456oeg.15.1330619477706 (num_hops = 1); Thu, 01 Mar 2012 08:31:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ymS+XDcFZJmQmj4QPzrG4d+6KFWFEY850s9GG/uDw0M=; b=jm0cpsHX2cP1gShw5fuiD+gSWvRZ0sFSSvIZBOGgR2ZYmE8PFfb+bzCQRLphDqYZsJ CmSKItLL36EuhpuD43Ou4lJEsAbPmh4L/RXw9C9rgPrQ38UeVfdDQ6wJ4Uj71QuhUkzx 7VTb8iimtjxxauO5AlYbIin0ni/ydRV6c98Ss= MIME-Version: 1.0 Received: by 10.60.26.8 with SMTP id h8mr1853206oeg.15.1330617812843; Thu, 01 Mar 2012 08:03:32 -0800 (PST) Received: by 10.182.61.195 with HTTP; Thu, 1 Mar 2012 08:03:32 -0800 (PST) In-Reply-To: <20120301.155632.137.2@DOMY-PC> References: <20120301.155632.137.2@DOMY-PC> Date: Thu, 1 Mar 2012 08:03:32 -0800 Message-ID: From: Garrett Cooper To: rank1seeker@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Cc: hackers@freebsd.org Subject: Re: src builds and STDERR X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2012 16:31:18 -0000 2012/3/1 : > When building world and kernel, I was pissed off with endless amount of output, as it also makes my eyes into rolling, thus decided to care only for errors. > So I've redirected STDOUT to /dev/null. > Upon error, there is JUST 1 single line of output. Something like: > ---- > * 1 error > ---- > And that is. Nothing else. No way to figure out, what went wrong!. > > Why this hasn't been properly implemented? See: http://lists.freebsd.org/pipermail/freebsd-current/2011-December/029852.html . Why this patch is still not in FreeBSD proper, I do not know. Thanks, -Garrett From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 16:53:07 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 16D19106566C; Thu, 1 Mar 2012 16:53:07 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id DEA758FC1A; Thu, 1 Mar 2012 16:53:06 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id 92F3846B23; Thu, 1 Mar 2012 11:53:06 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id EFF79B94D; Thu, 1 Mar 2012 11:53:05 -0500 (EST) From: John Baldwin To: rank1seeker@gmail.com Date: Thu, 1 Mar 2012 11:03:01 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: <20120217.074355.853.1@DOMY-PC> <201202291605.08267.jhb@freebsd.org> <20120301.154227.197.1@DOMY-PC> In-Reply-To: <20120301.154227.197.1@DOMY-PC> MIME-Version: 1.0 Content-Type: Text/Plain; charset="windows-1250" Content-Transfer-Encoding: 7bit Message-Id: <201203011103.01939.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Thu, 01 Mar 2012 11:53:06 -0500 (EST) Cc: Roman Divacky , hackers@freebsd.org Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2012 16:53:07 -0000 On Thursday, March 01, 2012 10:42:27 am rank1seeker@gmail.com wrote: > > > Patch fails at 9.0 RELEASE: (Is this for 9 STABLE?) > > > > Nope, patch was made against a 9.0 tree: > > > > % svn info . > > Path: . > > URL: svn+ssh://svn.freebsd.org/base/releng/9.0/sys > > Repository Root: svn+ssh://svn.freebsd.org/base > > Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f > > Revision: 232297 > > Node Kind: directory > > Schedule: normal > > Last Changed Author: kensmith > > Last Changed Rev: 229283 > > Last Changed Date: 2012-01-02 09:45:30 -0500 (Mon, 02 Jan 2012) > > > > % svn stat boot/i386/boot2 > > M boot/i386/boot2/boot2.c > > > > % svn diff boot/i386/boot2 | md5 > > 888f90f32bd20d1bf7e2d3277d9b697b > > > > And the file I sent to you before: > > > > % md5 ~/work/patches/boot2_test.patch > > MD5 (/home/jhb/work/patches/boot2_test.patch) = 888f90f32bd20d1bf7e2d3277d9b697b > > > File being patched: > MD5 (/sys/boot/i386/boot2/boot2.c) = 2c3fe29ced282a6fccf84e9061bb3d68 > > Your patch received via attachment: > MD5 (boot2_test.patch) = f750c1275f45aeded970c3014a50f333 > > And on your side it is: '888f90f32bd20d1bf7e2d3277d9b697b', which is a PATCH MISMATCH. > > It is best to give me patches, as you did up to now, via url. Hmm, I thought you asked for it to be an attachment previously. I just saved the attachment out of my saved copy of the e-mail and it MD5'd correctly here, so I've no idea why it didn't show up correct on your end. Perhaps something mangled it in the middle. I will only send you URLs for the future. http://www.FreeBSD.org/~jhb/patches/boot2_test.patch -- John Baldwin From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 17:24:28 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7FC81065672 for ; Thu, 1 Mar 2012 17:24:28 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5A0598FC19 for ; Thu, 1 Mar 2012 17:24:28 +0000 (UTC) Received: by yhgm50 with SMTP id m50so415705yhg.13 for ; Thu, 01 Mar 2012 09:24:27 -0800 (PST) Received-SPF: pass (google.com: domain of utisoft@gmail.com designates 10.50.207.42 as permitted sender) client-ip=10.50.207.42; Authentication-Results: mr.google.com; spf=pass (google.com: domain of utisoft@gmail.com designates 10.50.207.42 as permitted sender) smtp.mail=utisoft@gmail.com; dkim=pass header.i=utisoft@gmail.com Received: from mr.google.com ([10.50.207.42]) by 10.50.207.42 with SMTP id lt10mr5690560igc.1.1330622667557 (num_hops = 1); Thu, 01 Mar 2012 09:24:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Ydy8w+L28OPY/eWzE+ARE4cX1I+pGG3Vs76ATCOFgqs=; b=o5ZNPE3rW2pdfUJdkV84ZnlHHIr9Ziwki1EmFOtoflnob4RuyEsJFLFIp8q+tHQRXF bwvZ9DEKd86Vbh44r/Aurg9/MGTXKt+vO/9Fgh1WZ/qCsUCS1/qzjrOihM47SdQf8yQ1 AKNZBskdv2MNGT0UeJTmpi8cnTBlmxOhw1d8I= MIME-Version: 1.0 Received: by 10.50.207.42 with SMTP id lt10mr4563757igc.1.1330621279846; Thu, 01 Mar 2012 09:01:19 -0800 (PST) Received: by 10.231.155.20 with HTTP; Thu, 1 Mar 2012 09:01:19 -0800 (PST) Received: by 10.231.155.20 with HTTP; Thu, 1 Mar 2012 09:01:19 -0800 (PST) In-Reply-To: References: <20120301.155632.137.2@DOMY-PC> Date: Thu, 1 Mar 2012 17:01:19 +0000 Message-ID: From: Chris Rees To: Garrett Cooper Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: rank1seeker@gmail.com, hackers@freebsd.org Subject: Re: src builds and STDERR X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2012 17:24:28 -0000 On 1 Mar 2012 16:31, "Garrett Cooper" wrote: > > 2012/3/1 : > > When building world and kernel, I was pissed off with endless amount of output, as it also makes my eyes into rolling, thus decided to care only for errors. > > So I've redirected STDOUT to /dev/null. > > Upon error, there is JUST 1 single line of output. Something like: > > ---- > > * 1 error > > ---- > > And that is. Nothing else. No way to figure out, what went wrong!. > > > > Why this hasn't been properly implemented? > > See: http://lists.freebsd.org/pipermail/freebsd-current/2011-December/029852.html > . Why this patch is still not in FreeBSD proper, I do not know. If you send a PR, I'll do what I can to get it in-- you know things sometimes get lost in mailing lists! Chris From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 17:38:07 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 705A2106564A for ; Thu, 1 Mar 2012 17:38:07 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 235148FC0C for ; Thu, 1 Mar 2012 17:38:06 +0000 (UTC) Received: by yhgm50 with SMTP id m50so428124yhg.13 for ; Thu, 01 Mar 2012 09:38:06 -0800 (PST) Received-SPF: pass (google.com: domain of yanegomi@gmail.com designates 10.60.20.101 as permitted sender) client-ip=10.60.20.101; Authentication-Results: mr.google.com; spf=pass (google.com: domain of yanegomi@gmail.com designates 10.60.20.101 as permitted sender) smtp.mail=yanegomi@gmail.com; dkim=pass header.i=yanegomi@gmail.com Received: from mr.google.com ([10.60.20.101]) by 10.60.20.101 with SMTP id m5mr2329638oee.5.1330623486630 (num_hops = 1); Thu, 01 Mar 2012 09:38:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=pEHtghP78a5/5BvbfBRvDsjqKvgyN5KQIUtJipjdEd8=; b=RedejMlw58sPoVxa3LFp4rr84Z28CVh+kZNjIFrQmqQMXt5UFsAflgrHZ35Y9+xK7/ m013GQDd13mgIZD0yl0toQKXib6FV+998yiIksYdhCdHrQsGvY8Aw6ml0UTYgBYgwDJS G5+y13uIIC3NDIpd+zz/6qQJsA720KwU97SsY= MIME-Version: 1.0 Received: by 10.60.20.101 with SMTP id m5mr1983465oee.5.1330623486518; Thu, 01 Mar 2012 09:38:06 -0800 (PST) Received: by 10.182.61.195 with HTTP; Thu, 1 Mar 2012 09:38:06 -0800 (PST) In-Reply-To: References: <20120301.155632.137.2@DOMY-PC> Date: Thu, 1 Mar 2012 09:38:06 -0800 Message-ID: From: Garrett Cooper To: Chris Rees Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: rank1seeker@gmail.com, hackers@freebsd.org Subject: Re: src builds and STDERR X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2012 17:38:07 -0000 On Thu, Mar 1, 2012 at 9:01 AM, Chris Rees wrote: > > On 1 Mar 2012 16:31, "Garrett Cooper" wrote: >> >> 2012/3/1 =A0: >> > When building world and kernel, I was pissed off with endless amount o= f >> > output, as it also makes my eyes into rolling, thus decided to care on= ly for >> > errors. >> > So I've redirected STDOUT to /dev/null. >> > Upon error, there is JUST 1 single line of output. Something like: >> > ---- >> > * 1 error >> > ---- >> > And that is. Nothing else. No way to figure out, what went wrong!. >> > >> > Why this hasn't been properly implemented? >> >> =A0 =A0See: >> http://lists.freebsd.org/pipermail/freebsd-current/2011-December/029852.= html >> . Why this patch is still not in FreeBSD proper, I do not know. > > If you send a PR, I'll do what I can to get it in-- you know things > sometimes get lost in mailing lists! bin/165589 -- thanks! -Garrett From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 18:27:03 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09C92106566C for ; Thu, 1 Mar 2012 18:27:03 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 7F2A48FC24 for ; Thu, 1 Mar 2012 18:27:02 +0000 (UTC) Received: by wgbds12 with SMTP id ds12so782948wgb.31 for ; Thu, 01 Mar 2012 10:27:01 -0800 (PST) Received-SPF: pass (google.com: domain of rank1seeker@gmail.com designates 10.180.107.169 as permitted sender) client-ip=10.180.107.169; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rank1seeker@gmail.com designates 10.180.107.169 as permitted sender) smtp.mail=rank1seeker@gmail.com; dkim=pass header.i=rank1seeker@gmail.com Received: from mr.google.com ([10.180.107.169]) by 10.180.107.169 with SMTP id hd9mr13403348wib.0.1330626421553 (num_hops = 1); Thu, 01 Mar 2012 10:27:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:from:to:subject:date:content-type :content-transfer-encoding:in-reply-to:references:x-mailer; bh=g23pbvcu/mSq9jhzP54wwMl/ampMu3JvYPb/dypCcGA=; b=V3QzqVTGeXFUopiaqrrDM4U2g1yFv6XuDT8X5m6pGbNk+ABH1amjNaSWdZ7G2DBkgB Ri8C3HVYHUGe/0Qsg8jAX/7H/tOHSm+GGRXHlkPHFhhHq1/wFGelE9QgMK/3xThE37qT phQ5ULEpOWk8M+8iqFDSCsUVpTs47ZK+DokPY= Received: by 10.180.107.169 with SMTP id hd9mr10734937wib.0.1330626421471; Thu, 01 Mar 2012 10:27:01 -0800 (PST) Received: from DOMYPC ([82.193.208.173]) by mx.google.com with ESMTPS id m16sm13465126wie.9.2012.03.01.10.26.55 (version=SSLv3 cipher=OTHER); Thu, 01 Mar 2012 10:27:00 -0800 (PST) Message-ID: <20120301.182704.002.2@DOMY-PC> From: rank1seeker@gmail.com To: "Chris Rees" , "Garrett Cooper" , hackers@freebsd.org Date: Thu, 01 Mar 2012 19:27:04 +0100 Content-Type: text/plain; charset="Windows-1250" Content-Transfer-Encoding: quoted-printable In-Reply-To: References: <20120301.155632.137.2@DOMY-PC> X-Mailer: POP Peeper (3.8.1.0) Cc: Subject: Re: src builds and STDERR X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2012 18:27:03 -0000 ----- Original Message -----=0D=0AFrom: Garrett Cooper = =0D=0ATo: Chris Rees =0D=0ACc: = hackers@freebsd.org, rank1seeker@gmail.com=0D=0ADate: Thu, 1 Mar 2012 = 09:38:06 -0800=0D=0ASubject: Re: src builds and STDERR=0D=0A=0D=0A> On = Thu, Mar 1, 2012 at 9:01 AM, Chris Rees wrote:=0D=0A> = >=0D=0A> > On 1 Mar 2012 16:31, "Garrett Cooper" = wrote:=0D=0A> >>=0D=0A> >> 2012/3/1 =A0:=0D=0A> >> = > When building world and kernel, I was pissed off with endless amount = of=0D=0A> >> > output, as it also makes my eyes into rolling, thus = decided to care only for=0D=0A> >> > errors.=0D=0A> >> > So I've = redirected STDOUT to /dev/null.=0D=0A> >> > Upon error, there is JUST 1 = single line of output. Something like:=0D=0A> >> > ----=0D=0A> >> > * 1 = error=0D=0A> >> > ----=0D=0A> >> > And that is. Nothing else. No way to = figure out, what went wrong!.=0D=0A> >> >=0D=0A> >> > Why this hasn't = been properly implemented?=0D=0A> >>=0D=0A> >> =A0 =A0See:=0D=0A> >> = http://lists.freebsd.org/pipermail/freebsd-current/2011-December/029852.html=0D=0A> = >> . Why this patch is still not in FreeBSD proper, I do not know.=0D=0A> = >=0D=0A> > If you send a PR, I'll do what I can to get it in-- you know = things=0D=0A> > sometimes get lost in mailing lists!=0D=0A> =0D=0A> = bin/165589 -- thanks!=0D=0A> -Garrett=0D=0A=0D=0A=0D=0AI've applied your = patch to REL 9.0 and rebuild make binary.=0D=0ALet's see it in action = ...=0D=0AThanks!=0D=0A=0D=0A=0D=0ADomagoj Smol=E8i=E6 From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 18:46:35 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA27D106564A for ; Thu, 1 Mar 2012 18:46:35 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 318D18FC0A for ; Thu, 1 Mar 2012 18:46:34 +0000 (UTC) Received: by wibhn6 with SMTP id hn6so171634wib.13 for ; Thu, 01 Mar 2012 10:46:34 -0800 (PST) Received-SPF: pass (google.com: domain of rank1seeker@gmail.com designates 10.180.103.35 as permitted sender) client-ip=10.180.103.35; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rank1seeker@gmail.com designates 10.180.103.35 as permitted sender) smtp.mail=rank1seeker@gmail.com; dkim=pass header.i=rank1seeker@gmail.com Received: from mr.google.com ([10.180.103.35]) by 10.180.103.35 with SMTP id ft3mr13529127wib.0.1330627594238 (num_hops = 1); Thu, 01 Mar 2012 10:46:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:from:to:subject:date:content-type :content-transfer-encoding:in-reply-to:references:x-mailer; bh=wE2kg4SvHggVKbGBWyqFFcWJeZ5PBiQMv347ddFNvis=; b=woxcuj0JnAOepubjg86mG8ikZW38tx2HBpYMO9FgvGzxC5S39qKx9ebXu7H0NLLeQs B0L9w73vWkTD00ffOPMVUP/EKGTGCrxs1+shKtGN7sa1C3dJO+XQM+SOt+81K4MH9qpL isyxY2OGTx85Zyn4B+uCVqiA+sd3kxId2NwBY= Received: by 10.180.103.35 with SMTP id ft3mr10836435wib.0.1330627594021; Thu, 01 Mar 2012 10:46:34 -0800 (PST) Received: from DOMYPC ([82.193.208.173]) by mx.google.com with ESMTPS id hn8sm8162039wib.11.2012.03.01.10.46.15 (version=SSLv3 cipher=OTHER); Thu, 01 Mar 2012 10:46:32 -0800 (PST) Message-ID: <20120301.184635.924.3@DOMY-PC> From: rank1seeker@gmail.com To: "Garrett Cooper" , "Chris Rees" , hackers@freebsd.org Date: Thu, 01 Mar 2012 19:46:35 +0100 Content-Type: text/plain; charset="Windows-1250" Content-Transfer-Encoding: quoted-printable In-Reply-To: References: <20120301.155632.137.2@DOMY-PC> X-Mailer: POP Peeper (3.8.1.0) Cc: Subject: Re: src builds and STDERR X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2012 18:46:35 -0000 ----- Original Message -----=0D=0AFrom: Garrett Cooper = =0D=0ATo: Chris Rees =0D=0ACc: = hackers@freebsd.org, rank1seeker@gmail.com=0D=0ADate: Thu, 1 Mar 2012 = 09:38:06 -0800=0D=0ASubject: Re: src builds and STDERR=0D=0A=0D=0A> On = Thu, Mar 1, 2012 at 9:01 AM, Chris Rees wrote:=0D=0A> = >=0D=0A> > On 1 Mar 2012 16:31, "Garrett Cooper" = wrote:=0D=0A> >>=0D=0A> >> 2012/3/1 =A0:=0D=0A> >> = > When building world and kernel, I was pissed off with endless amount = of=0D=0A> >> > output, as it also makes my eyes into rolling, thus = decided to care only for=0D=0A> >> > errors.=0D=0A> >> > So I've = redirected STDOUT to /dev/null.=0D=0A> >> > Upon error, there is JUST 1 = single line of output. Something like:=0D=0A> >> > ----=0D=0A> >> > * 1 = error=0D=0A> >> > ----=0D=0A> >> > And that is. Nothing else. No way to = figure out, what went wrong!.=0D=0A> >> >=0D=0A> >> > Why this hasn't = been properly implemented?=0D=0A> >>=0D=0A> >> =A0 =A0See:=0D=0A> >> = http://lists.freebsd.org/pipermail/freebsd-current/2011-December/029852.html=0D=0A> = >> . Why this patch is still not in FreeBSD proper, I do not know.=0D=0A> = >=0D=0A> > If you send a PR, I'll do what I can to get it in-- you know = things=0D=0A> > sometimes get lost in mailing lists!=0D=0A> =0D=0A> = bin/165589 -- thanks!=0D=0A> -Garrett=0D=0A> =0D=0A=0D=0AHm ...=0D=0AI've = just attempted to crosscompile 9.0 kernel (i386 -> amd64).=0D=0AIt = failed! The only output to STDERR was: (STDOUT to = /dev/null)=0D=0A----=0D=0A1 error=0D=0A----=0D=0AEverything same ... Am I = missing something or what?=0D=0A=0D=0A=0D=0ADomagoj Smol=E8i=E6 From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 20:02:35 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4A362106564A; Thu, 1 Mar 2012 20:02:35 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7E4DE8FC08; Thu, 1 Mar 2012 20:02:34 +0000 (UTC) Received: by wibhn6 with SMTP id hn6so227067wib.13 for ; Thu, 01 Mar 2012 12:02:33 -0800 (PST) Received-SPF: pass (google.com: domain of rank1seeker@gmail.com designates 10.180.7.231 as permitted sender) client-ip=10.180.7.231; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rank1seeker@gmail.com designates 10.180.7.231 as permitted sender) smtp.mail=rank1seeker@gmail.com; dkim=pass header.i=rank1seeker@gmail.com Received: from mr.google.com ([10.180.7.231]) by 10.180.7.231 with SMTP id m7mr6851812wia.3.1330632153601 (num_hops = 1); Thu, 01 Mar 2012 12:02:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:from:to:subject:date:content-type :content-transfer-encoding:in-reply-to:references:x-mailer; bh=Z8+U2vhukTqUWujKP2mJzcBX5VH/q3r4v8i0+7sjDzA=; b=lu4Odze87Euk9YoPpz1dGDhF55/7aH4AH9DAeYWTRjFO0yDn9A92bFfuib3WO2jDJ8 SrsCyDfgWo4KZsEm63sl7S/jvw+ZpWf4wcQxB22VX7khzIMblGUI/WJP1/wewxGWuzG5 5wjgXFKoUHawhoJd2gmgFV3YSDWjY7BXI27NA/Eou7kSDbZoHtHNjKOhUkgFjQRxXNov 0gJhBWfarMCseFoHrj7le6EweHNMt/TO1u2d78engA5NOdoHK9wVZGMkD6V336fIvKaQ YJwn/SvqY3lXXselCYDXzExM9+meGTW6AEkbtNOtL5w0wBjSoRr5av4FPwPpun4uTYDn gGKg== Received: by 10.180.7.231 with SMTP id m7mr5528437wia.3.1330632153454; Thu, 01 Mar 2012 12:02:33 -0800 (PST) Received: from DOMYPC ([82.193.208.173]) by mx.google.com with ESMTPS id bg3sm43981962wib.10.2012.03.01.12.02.23 (version=SSLv3 cipher=OTHER); Thu, 01 Mar 2012 12:02:32 -0800 (PST) Message-ID: <20120301.200235.040.1@DOMY-PC> From: rank1seeker@gmail.com To: hackers@freebsd.org, "John Baldwin" , "Roman Divacky" Date: Thu, 01 Mar 2012 21:02:35 +0100 Content-Type: text/plain; charset="Windows-1250" Content-Transfer-Encoding: quoted-printable In-Reply-To: <201202291605.08267.jhb@freebsd.org> References: <20120217.074355.853.1@DOMY-PC> <201202291127.00209.jhb@freebsd.org> <20120229.200836.168.1@DOMY-PC> <201202291605.08267.jhb@freebsd.org> X-Mailer: POP Peeper (3.8.1.0) Cc: Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2012 20:02:35 -0000 ----- Original Message -----=0D=0AFrom: John Baldwin = =0D=0ATo: rank1seeker@gmail.com=0D=0ACc: = hackers@freebsd.org, "Roman Divacky" =0D=0ADate: = Wed, 29 Feb 2012 16:05:08 -0500=0D=0ASubject: Re: BUG: 9.0 stage 2 boot = (/boot/boot)=0D=0A=0D=0A> On Wednesday, February 29, 2012 3:08:36 pm = rank1seeker@gmail.com wrote:=0D=0A> > ----- Original Message -----=0D=0A> = > From: John Baldwin =0D=0A> > To: = rank1seeker@gmail.com=0D=0A> > Cc: hackers@freebsd.org, "Roman Divacky" = =0D=0A> > Date: Wed, 29 Feb 2012 11:26:59 = -0500=0D=0A> > Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot)=0D=0A> > = =0D=0A> > > On Tuesday, February 28, 2012 3:09:06 pm = rank1seeker@gmail.com wrote:=0D=0A> > > > ----- Original Message = -----=0D=0A> > > > From: John Baldwin =0D=0A> > > > To: = rank1seeker@gmail.com=0D=0A> > > > Cc: hackers@freebsd.org, "Roman = Divacky" =0D=0A> > > > Date: Mon, 27 Feb 2012 = 11:23:59 -0500=0D=0A> > > > Subject: Re: BUG: 9.0 stage 2 boot = (/boot/boot)=0D=0A> > > > =0D=0A> > > > > On Saturday, February 25, 2012 = 9:41:48 am rank1seeker@gmail.com wrote:=0D=0A> > > > > > > Do you only = see the "No " message? Do you see the '/boot.config: /loader'=0D=0A> > > = > > > > message? (Do you have RBX_QUIET enabled perhaps? (-q)) Do you = get the actual=0D=0A> > > > > > > boot2 prompt at all?=0D=0A> > > > > > = =0D=0A> > > > > > I don't have RBX_QUIET enabled nor any other = flags=0D=0A> > > > > > =0D=0A> > > > > > Let the pic tell a story:=0D=0A> = > > > > > http://www.starforce.biz/stage2boot.jpg=0D=0A> > > > > =0D=0A> = > > > > Ahh, this is helpful. You do see the '/boot.config: /loader' = message.=0D=0A> > > > =0D=0A> > > > I've already explained that, numerous = times (RE-typing ...)=0D=0A> > > =0D=0A> > > It was not as obvious = before, and you are seeing a failure that no one else=0D=0A> > > has = reported, so you need to be patient.=0D=0A> > > =0D=0A> > > > > > Patch = eliminates possible error, of manual "intervention"=0D=0A> > > > > > That = is, a perfectly valid patch being classified as invalid.=0D=0A> > > > > = =0D=0A> > > > > I have no idea what you mean here. However, it seems you = don't have junk in=0D=0A> > > > > your 'opts' variable anyway.=0D=0A> > > = > =0D=0A> > > > What I meant was that I won't manually(edit file) apply = patch, but via 'patch' tool/bin.=0D=0A> > > =0D=0A> > > Ok.=0D=0A> > > = =0D=0A> > > > > Hmm, you could try adding some more debugging to boot2.c = to see exactly what=0D=0A> > > > > is failing. For example, does the = first call to 'parse()' fail and clear=0D=0A> > > > > autoboot?=0D=0A> > = > > =0D=0A> > > > I don't do nor understand c code.=0D=0A> > > =0D=0A> > = > Ok. That will take a bit longer to fix, but that is ok. I've attached = a new=0D=0A> > > patch with some debugging output. It shouldn't fix the = problem yet, but I want=0D=0A> > > to see if any of the new messages are = output, and when they are output.=0D=0A> > > =0D=0A> > > > How could it = silently loose documented functionality?=0D=0A> > > =0D=0A> > > Several = changes were made to boot2 to make it smaller so it could be compiled = with=0D=0A> > > clang, and it seems that at least one of those changes = must have had a bug.=0D=0A> > > =0D=0A> > > -- =0D=0A> > > John = Baldwin=0D=0A> > >=0D=0A> > =0D=0A> > =0D=0A> > Patch fails at 9.0 = RELEASE: (Is this for 9 STABLE?)=0D=0A> =0D=0A> Nope, patch was made = against a 9.0 tree:=0D=0A> =0D=0A> % svn info .=0D=0A> Path: .=0D=0A> = URL: svn+ssh://svn.freebsd.org/base/releng/9.0/sys=0D=0A> Repository = Root: svn+ssh://svn.freebsd.org/base=0D=0A> Repository UUID: = ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f=0D=0A> Revision: 232297=0D=0A> Node = Kind: directory=0D=0A> Schedule: normal=0D=0A> Last Changed Author: = kensmith=0D=0A> Last Changed Rev: 229283=0D=0A> Last Changed Date: = 2012-01-02 09:45:30 -0500 (Mon, 02 Jan 2012)=0D=0A> =0D=0A> % svn stat = boot/i386/boot2=0D=0A> M boot/i386/boot2/boot2.c=0D=0A> =0D=0A> % = svn diff boot/i386/boot2 | md5=0D=0A> = 888f90f32bd20d1bf7e2d3277d9b697b=0D=0A> =0D=0A> And the file I sent to = you before:=0D=0A> =0D=0A> % md5 ~/work/patches/boot2_test.patch =0D=0A> = MD5 (/home/jhb/work/patches/boot2_test.patch) =3D = 888f90f32bd20d1bf7e2d3277d9b697b=0D=0A> =0D=0A> > I'll give you a hint = (which I've mentioned at start)=0D=0A> > =0D=0A> > In order to expose = bug, 2 conditions have to be met:=0D=0A> > 1) boot.config in = use=0D=0A> > 2) daX device (i.e; USB stick)=0D=0A> > =0D=0A> > That is = ...=0D=0A> > I've created vnode image. Then, ... when I 'dd' it to HDD's = slice, it boots.=0D=0A> > BUT when I 'dd' it to USB's slice it = hangs.=0D=0A> =0D=0A> USB booting uses a different chunk of BIOS code, = and it may be doing different=0D=0A> things which result in uninitialized = memory having different values (e.g. the=0D=0A> cmd[] array).=0D=0A> = =0D=0A> -- =0D=0A> John Baldwin=0D=0A> =0D=0A=0D=0AUsing new:=0D=0AMD5 = (boot2_test.patch) =3D 01cc3a9dda1f1ecbd5125092ebccc476=0D=0A=0D=0AResult = is:=0D=0Ahttp://www.starforce.biz/stage2boot.jpg=0D=0A=0D=0A=0D=0ADomagoj = Smol=E8i=E6=0D=0A From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 20:31:03 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B90B106564A for ; Thu, 1 Mar 2012 20:31:03 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0472E8FC23 for ; Thu, 1 Mar 2012 20:31:02 +0000 (UTC) Received: by pbcwy7 with SMTP id wy7so1386328pbc.13 for ; Thu, 01 Mar 2012 12:31:02 -0800 (PST) Received-SPF: pass (google.com: domain of yanegomi@gmail.com designates 10.68.227.228 as permitted sender) client-ip=10.68.227.228; Authentication-Results: mr.google.com; spf=pass (google.com: domain of yanegomi@gmail.com designates 10.68.227.228 as permitted sender) smtp.mail=yanegomi@gmail.com; dkim=pass header.i=yanegomi@gmail.com Received: from mr.google.com ([10.68.227.228]) by 10.68.227.228 with SMTP id sd4mr6507871pbc.33.1330633862819 (num_hops = 1); Thu, 01 Mar 2012 12:31:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=rwL4mJx72r8dPitDCAftwIfbtyz6len7ppPdzUE3GeM=; b=F6BTkpyhGtnSlg6LaylLDNNZRTB8SBkPJNWCoRHUxQsp+1OjYP6vh/RAI0GbcNmUdh /N3aFzQPmyw87S4vznwdLSxnhrM1xYy/9LLgytbOOj6Hia3VBx7KW5Imu9l5YD+47ETs b/zji7Z4ouSR6Ijt6UNWEhQl2PW3ktkyDxKIW7u7YEa5BNBrJ6sM+8coKIZPlu9A9wGv d7vxAzjhCDHq6qIewyM8Dz0ClGQPvEjLfDGNgxYYtHzK2vrBC/wGbcp6QA94L52KWdmq WufGUayIHNevwKzRXlscJs2CgEYwNlO9vNPBhYs6iip7uS3X/RV6qqa7EZc/yy+4DJn5 DC9A== Received: by 10.68.227.228 with SMTP id sd4mr5345144pbc.33.1330633862586; Thu, 01 Mar 2012 12:31:02 -0800 (PST) Received: from kruse-95.1.ixsystems.com (drawbridge.ixsystems.com. [206.40.55.65]) by mx.google.com with ESMTPS id kx17sm2928057pbb.19.2012.03.01.12.31.01 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 01 Mar 2012 12:31:01 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=windows-1250 From: Garrett Cooper In-Reply-To: <20120301.184635.924.3@DOMY-PC> Date: Thu, 1 Mar 2012 12:30:57 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20120301.155632.137.2@DOMY-PC> <20120301.184635.924.3@DOMY-PC> To: rank1seeker@gmail.com X-Mailer: Apple Mail (2.1257) Cc: hackers@freebsd.org, Chris Rees Subject: Re: src builds and STDERR X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2012 20:31:03 -0000 On Mar 1, 2012, at 10:46 AM, rank1seeker@gmail.com wrote: > ----- Original Message ----- > From: Garrett Cooper > To: Chris Rees > Cc: hackers@freebsd.org, rank1seeker@gmail.com > Date: Thu, 1 Mar 2012 09:38:06 -0800 > Subject: Re: src builds and STDERR >=20 >> On Thu, Mar 1, 2012 at 9:01 AM, Chris Rees wrote: >>>=20 >>> On 1 Mar 2012 16:31, "Garrett Cooper" wrote: >>>>=20 >>>> 2012/3/1 : >>>>> When building world and kernel, I was pissed off with endless = amount of >>>>> output, as it also makes my eyes into rolling, thus decided to = care only for >>>>> errors. >>>>> So I've redirected STDOUT to /dev/null. >>>>> Upon error, there is JUST 1 single line of output. Something like: >>>>> ---- >>>>> * 1 error >>>>> ---- >>>>> And that is. Nothing else. No way to figure out, what went wrong!. >>>>>=20 >>>>> Why this hasn't been properly implemented? >>>>=20 >>>> See: >>>> = http://lists.freebsd.org/pipermail/freebsd-current/2011-December/029852.ht= ml >>>> . Why this patch is still not in FreeBSD proper, I do not know. >>>=20 >>> If you send a PR, I'll do what I can to get it in-- you know things >>> sometimes get lost in mailing lists! >>=20 >> bin/165589 -- thanks! >> -Garrett >>=20 >=20 > Hm ... > I've just attempted to crosscompile 9.0 kernel (i386 -> amd64). > It failed! The only output to STDERR was: (STDOUT to /dev/null) > ---- > 1 error > ---- > Everything same ... Am I missing something or what? When all else fails, cat it all out to a file and grep for = "Error code", and pray that you have enough useful context to find the = actual problem that you need to resolve in order to make things work. Otherwise, you'll need to apply the patch for the PR noted to = your source tree, (cd usr.bin/make; make clean depend all install), and = then rerun your crossbuild. Cheers, -Garrett= From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 20:43:42 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A56411065670; Thu, 1 Mar 2012 20:43:42 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 6B0908FC14; Thu, 1 Mar 2012 20:43:42 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id 229AC46B17; Thu, 1 Mar 2012 15:43:42 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 2D152B991; Thu, 1 Mar 2012 15:43:41 -0500 (EST) From: John Baldwin To: rank1seeker@gmail.com Date: Thu, 1 Mar 2012 15:43:25 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: <20120217.074355.853.1@DOMY-PC> <201202291605.08267.jhb@freebsd.org> <20120301.200235.040.1@DOMY-PC> In-Reply-To: <20120301.200235.040.1@DOMY-PC> MIME-Version: 1.0 Content-Type: Text/Plain; charset="windows-1250" Content-Transfer-Encoding: 7bit Message-Id: <201203011543.25446.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Thu, 01 Mar 2012 15:43:41 -0500 (EST) Cc: Roman Divacky , hackers@freebsd.org Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2012 20:43:42 -0000 On Thursday, March 01, 2012 3:02:35 pm rank1seeker@gmail.com wrote: > ----- Original Message ----- > From: John Baldwin > To: rank1seeker@gmail.com > Cc: hackers@freebsd.org, "Roman Divacky" > Date: Wed, 29 Feb 2012 16:05:08 -0500 > Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) > > > On Wednesday, February 29, 2012 3:08:36 pm rank1seeker@gmail.com wrote: > > > ----- Original Message ----- > > > From: John Baldwin > > > To: rank1seeker@gmail.com > > > Cc: hackers@freebsd.org, "Roman Divacky" > > > Date: Wed, 29 Feb 2012 11:26:59 -0500 > > > Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) > > > > > > > On Tuesday, February 28, 2012 3:09:06 pm rank1seeker@gmail.com wrote: > > > > > ----- Original Message ----- > > > > > From: John Baldwin > > > > > To: rank1seeker@gmail.com > > > > > Cc: hackers@freebsd.org, "Roman Divacky" > > > > > Date: Mon, 27 Feb 2012 11:23:59 -0500 > > > > > Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) > > > > > > > > > > > On Saturday, February 25, 2012 9:41:48 am rank1seeker@gmail.com wrote: > > > > > > > > Do you only see the "No " message? Do you see the '/boot.config: /loader' > > > > > > > > message? (Do you have RBX_QUIET enabled perhaps? (-q)) Do you get the actual > > > > > > > > boot2 prompt at all? > > > > > > > > > > > > > > I don't have RBX_QUIET enabled nor any other flags > > > > > > > > > > > > > > Let the pic tell a story: > > > > > > > http://www.starforce.biz/stage2boot.jpg > > > > > > > > > > > > Ahh, this is helpful. You do see the '/boot.config: /loader' message. > > > > > > > > > > I've already explained that, numerous times (RE-typing ...) > > > > > > > > It was not as obvious before, and you are seeing a failure that no one else > > > > has reported, so you need to be patient. > > > > > > > > > > > Patch eliminates possible error, of manual "intervention" > > > > > > > That is, a perfectly valid patch being classified as invalid. > > > > > > > > > > > > I have no idea what you mean here. However, it seems you don't have junk in > > > > > > your 'opts' variable anyway. > > > > > > > > > > What I meant was that I won't manually(edit file) apply patch, but via 'patch' tool/bin. > > > > > > > > Ok. > > > > > > > > > > Hmm, you could try adding some more debugging to boot2.c to see exactly what > > > > > > is failing. For example, does the first call to 'parse()' fail and clear > > > > > > autoboot? > > > > > > > > > > I don't do nor understand c code. > > > > > > > > Ok. That will take a bit longer to fix, but that is ok. I've attached a new > > > > patch with some debugging output. It shouldn't fix the problem yet, but I want > > > > to see if any of the new messages are output, and when they are output. > > > > > > > > > How could it silently loose documented functionality? > > > > > > > > Several changes were made to boot2 to make it smaller so it could be compiled with > > > > clang, and it seems that at least one of those changes must have had a bug. > > > > > > > > -- > > > > John Baldwin > > > > > > > > > > > > > Patch fails at 9.0 RELEASE: (Is this for 9 STABLE?) > > > > Nope, patch was made against a 9.0 tree: > > > > % svn info . > > Path: . > > URL: svn+ssh://svn.freebsd.org/base/releng/9.0/sys > > Repository Root: svn+ssh://svn.freebsd.org/base > > Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f > > Revision: 232297 > > Node Kind: directory > > Schedule: normal > > Last Changed Author: kensmith > > Last Changed Rev: 229283 > > Last Changed Date: 2012-01-02 09:45:30 -0500 (Mon, 02 Jan 2012) > > > > % svn stat boot/i386/boot2 > > M boot/i386/boot2/boot2.c > > > > % svn diff boot/i386/boot2 | md5 > > 888f90f32bd20d1bf7e2d3277d9b697b > > > > And the file I sent to you before: > > > > % md5 ~/work/patches/boot2_test.patch > > MD5 (/home/jhb/work/patches/boot2_test.patch) = 888f90f32bd20d1bf7e2d3277d9b697b > > > > > I'll give you a hint (which I've mentioned at start) > > > > > > In order to expose bug, 2 conditions have to be met: > > > 1) boot.config in use > > > 2) daX device (i.e; USB stick) > > > > > > That is ... > > > I've created vnode image. Then, ... when I 'dd' it to HDD's slice, it boots. > > > BUT when I 'dd' it to USB's slice it hangs. > > > > USB booting uses a different chunk of BIOS code, and it may be doing different > > things which result in uninitialized memory having different values (e.g. the > > cmd[] array). > > > > -- > > John Baldwin > > > > Using new: > MD5 (boot2_test.patch) = 01cc3a9dda1f1ecbd5125092ebccc476 Hmmm, it seems you have autoboot == 0, but kname set (but you didn't get the printf where autoboot is set to 0, and you didn't get the printf where kname is set to a non-NULL value). I'll update the patch again (same URL), but if you don't get any new messages, then I suspect you aren't actually using the new boot2. You do realize you have to use gpart to install the new boot code on the USB stick after you have built it, yes? -- John Baldwin From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 20:44:22 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11A341065677 for ; Thu, 1 Mar 2012 20:44:22 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 71D478FC18 for ; Thu, 1 Mar 2012 20:44:21 +0000 (UTC) Received: by wgbds12 with SMTP id ds12so890171wgb.31 for ; Thu, 01 Mar 2012 12:44:20 -0800 (PST) Received-SPF: pass (google.com: domain of rank1seeker@gmail.com designates 10.180.80.8 as permitted sender) client-ip=10.180.80.8; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rank1seeker@gmail.com designates 10.180.80.8 as permitted sender) smtp.mail=rank1seeker@gmail.com; dkim=pass header.i=rank1seeker@gmail.com Received: from mr.google.com ([10.180.80.8]) by 10.180.80.8 with SMTP id n8mr14352625wix.14.1330634660479 (num_hops = 1); Thu, 01 Mar 2012 12:44:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:from:to:subject:date:content-type :content-transfer-encoding:in-reply-to:references:x-mailer; bh=KMOcnAAiI1JpDRd1hIraBXpwfpwxPmtz4jjYDsLgRX4=; b=BuV1IAp5yz+7av4sVdjIRUAAFJOzWxfbjEoB8GhuaXwiTod5yGYmu4F+EWbBgaY4Qp C+uTYsFB1vwVBMVLlgBKpvDXoa1mCTWpdG8aWGIdP6I1nX+moF2M530JH5WZ+vX78Tuw /XMfcYxTs/4Bt1jnhnDNhyvxjmElVVQR7WrHCOBrhE+EEGbNy+29ALNlfIJZK7MKAFZM PmGCpbcFsim0XcoUQ8Aaqts2cfkXkZJnArev0aL9+LcC+9x6X873n7evCuuAS8nQasqp xKiJt8y9doDlRKEd5XmgqOGKTJv+VNiR0EN6zC3Dnh9XrccF5cnyBf0H0iKaMk5Uauj+ ZrHQ== Received: by 10.180.80.8 with SMTP id n8mr11507438wix.14.1330634660347; Thu, 01 Mar 2012 12:44:20 -0800 (PST) Received: from DOMYPC ([82.193.208.173]) by mx.google.com with ESMTPS id gf3sm44196598wib.6.2012.03.01.12.44.17 (version=SSLv3 cipher=OTHER); Thu, 01 Mar 2012 12:44:19 -0800 (PST) Message-ID: <20120301.204422.210.2@DOMY-PC> From: rank1seeker@gmail.com To: "Garrett Cooper" , "Chris Rees" , hackers@freebsd.org Date: Thu, 01 Mar 2012 21:44:22 +0100 Content-Type: text/plain; charset="Windows-1250" Content-Transfer-Encoding: quoted-printable In-Reply-To: References: <20120301.155632.137.2@DOMY-PC> <20120301.184635.924.3@DOMY-PC> X-Mailer: POP Peeper (3.8.1.0) Cc: Subject: Re: src builds and STDERR X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2012 20:44:22 -0000 ----- Original Message -----=0D=0AFrom: Garrett Cooper = =0D=0ATo: rank1seeker@gmail.com=0D=0ACc: "Chris Rees" = , hackers@freebsd.org=0D=0ADate: Thu, 1 Mar 2012 = 12:30:57 -0800=0D=0ASubject: Re: src builds and STDERR=0D=0A=0D=0A> On = Mar 1, 2012, at 10:46 AM, rank1seeker@gmail.com wrote:=0D=0A> =0D=0A> > = ----- Original Message -----=0D=0A> > From: Garrett Cooper = =0D=0A> > To: Chris Rees =0D=0A> > = Cc: hackers@freebsd.org, rank1seeker@gmail.com=0D=0A> > Date: Thu, 1 Mar = 2012 09:38:06 -0800=0D=0A> > Subject: Re: src builds and STDERR=0D=0A> > = =0D=0A> >> On Thu, Mar 1, 2012 at 9:01 AM, Chris Rees = wrote:=0D=0A> >>> =0D=0A> >>> On 1 Mar 2012 16:31, "Garrett Cooper" = wrote:=0D=0A> >>>> =0D=0A> >>>> 2012/3/1 = :=0D=0A> >>>>> When building world and kernel, I = was pissed off with endless amount of=0D=0A> >>>>> output, as it also = makes my eyes into rolling, thus decided to care only for=0D=0A> >>>>> = errors.=0D=0A> >>>>> So I've redirected STDOUT to /dev/null.=0D=0A> >>>>> = Upon error, there is JUST 1 single line of output. Something like:=0D=0A> = >>>>> ----=0D=0A> >>>>> * 1 error=0D=0A> >>>>> ----=0D=0A> >>>>> And that = is. Nothing else. No way to figure out, what went wrong!.=0D=0A> >>>>> = =0D=0A> >>>>> Why this hasn't been properly implemented?=0D=0A> >>>> = =0D=0A> >>>> See:=0D=0A> >>>> = http://lists.freebsd.org/pipermail/freebsd-current/2011-December/029852.html=0D=0A> = >>>> . Why this patch is still not in FreeBSD proper, I do not = know.=0D=0A> >>> =0D=0A> >>> If you send a PR, I'll do what I can to get = it in-- you know things=0D=0A> >>> sometimes get lost in mailing = lists!=0D=0A> >> =0D=0A> >> bin/165589 -- thanks!=0D=0A> >> = -Garrett=0D=0A> >> =0D=0A> > =0D=0A> > Hm ...=0D=0A> > I've just = attempted to crosscompile 9.0 kernel (i386 -> amd64).=0D=0A> > It failed! = The only output to STDERR was: (STDOUT to /dev/null)=0D=0A> > ----=0D=0A> = > 1 error=0D=0A> > ----=0D=0A> > Everything same ... Am I missing = something or what?=0D=0A> =0D=0A> When all else fails, cat it all out to = a file and grep for "Error code", and pray that you have enough useful = context to find the actual problem that you need to resolve in order to = make things work.=0D=0A> Otherwise, you'll need to apply the patch for = the PR noted to your source tree, (cd usr.bin/make; make clean depend all = install), and then rerun your crossbuild.=0D=0A> Cheers,=0D=0A> = -Garrett=0D=0A=0D=0A=0D=0AAll this has been done with 'make' binary = build, AFTER yours patch has been applied.=0D=0AThat is ..., I've been = using your patched 'make' binary!=0D=0A=0D=0ABefore this patch really = gets commited, create new patch which will additionally SEPARATE output = into STDOUT & STDERR.=0D=0A=0D=0A=0D=0A=0D=0ADomagoj Smol=E8i=E6 From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 20:58:02 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 582BC106566C; Thu, 1 Mar 2012 20:58:02 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 803D78FC15; Thu, 1 Mar 2012 20:58:01 +0000 (UTC) Received: by eekd17 with SMTP id d17so414111eek.13 for ; Thu, 01 Mar 2012 12:58:00 -0800 (PST) Received-SPF: pass (google.com: domain of rank1seeker@gmail.com designates 10.14.97.131 as permitted sender) client-ip=10.14.97.131; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rank1seeker@gmail.com designates 10.14.97.131 as permitted sender) smtp.mail=rank1seeker@gmail.com; dkim=pass header.i=rank1seeker@gmail.com Received: from mr.google.com ([10.14.97.131]) by 10.14.97.131 with SMTP id t3mr4165034eef.3.1330635480558 (num_hops = 1); Thu, 01 Mar 2012 12:58:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:from:to:subject:date:content-type :content-transfer-encoding:in-reply-to:references:x-mailer; bh=BClSrFua8LGuMGXK4jQnWgcHr2rI5ETh8bVdPDbrhBc=; b=g9k43/ydFf5ic0vQhK25LVJ9LNoTzbDGThm7nuj8Ih3B/6BfhpWGuTvWrzFSqExjio hng5fgeI7Bx0xWWW6lPFqsljvpffk3CxsNgekPOzW86UvIPbcIuQ3Dl/xQ7uDMt+Tsrc WH2MTfBZoT7wtU4wawe1y3p8KPEune2/hY92C45Ki/ZK4GrtYSXqM/4bGm6VHrvKSedv byoEi6SqxbqYuNZ83/7r/jRAmuJuFkBgns4+E+EVrgN8LzUJw08bLX+GK6N8gaSM2+9+ xTOwYeiR2Tw8c1O1BxKxyAfk7gVKLdFryQYCwaa8/K8a+mivyucPk0OKxuVstD1bgKtw uDjQ== Received: by 10.14.97.131 with SMTP id t3mr3204149eef.3.1330635480319; Thu, 01 Mar 2012 12:58:00 -0800 (PST) Received: from DOMYPC ([82.193.208.173]) by mx.google.com with ESMTPS id i10sm11419711eea.8.2012.03.01.12.57.56 (version=SSLv3 cipher=OTHER); Thu, 01 Mar 2012 12:57:59 -0800 (PST) Message-ID: <20120301.205802.182.3@DOMY-PC> From: rank1seeker@gmail.com To: hackers@freebsd.org, "John Baldwin" , "Roman Divacky" Date: Thu, 01 Mar 2012 21:58:02 +0100 Content-Type: text/plain; charset="Windows-1250" Content-Transfer-Encoding: quoted-printable In-Reply-To: <201203011543.25446.jhb@freebsd.org> References: <20120217.074355.853.1@DOMY-PC> <201202291605.08267.jhb@freebsd.org> <20120301.200235.040.1@DOMY-PC> <201203011543.25446.jhb@freebsd.org> X-Mailer: POP Peeper (3.8.1.0) Cc: Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2012 20:58:02 -0000 ----- Original Message -----=0D=0AFrom: John Baldwin = =0D=0ATo: rank1seeker@gmail.com=0D=0ACc: = hackers@freebsd.org, "Roman Divacky" =0D=0ADate: = Thu, 1 Mar 2012 15:43:25 -0500=0D=0ASubject: Re: BUG: 9.0 stage 2 boot = (/boot/boot)=0D=0A=0D=0A> On Thursday, March 01, 2012 3:02:35 pm = rank1seeker@gmail.com wrote:=0D=0A> > ----- Original Message -----=0D=0A> = > From: John Baldwin =0D=0A> > To: = rank1seeker@gmail.com=0D=0A> > Cc: hackers@freebsd.org, "Roman Divacky" = =0D=0A> > Date: Wed, 29 Feb 2012 16:05:08 = -0500=0D=0A> > Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot)=0D=0A> > = =0D=0A> > > On Wednesday, February 29, 2012 3:08:36 pm = rank1seeker@gmail.com wrote:=0D=0A> > > > ----- Original Message = -----=0D=0A> > > > From: John Baldwin =0D=0A> > > > To: = rank1seeker@gmail.com=0D=0A> > > > Cc: hackers@freebsd.org, "Roman = Divacky" =0D=0A> > > > Date: Wed, 29 Feb 2012 = 11:26:59 -0500=0D=0A> > > > Subject: Re: BUG: 9.0 stage 2 boot = (/boot/boot)=0D=0A> > > > =0D=0A> > > > > On Tuesday, February 28, 2012 = 3:09:06 pm rank1seeker@gmail.com wrote:=0D=0A> > > > > > ----- Original = Message -----=0D=0A> > > > > > From: John Baldwin = =0D=0A> > > > > > To: rank1seeker@gmail.com=0D=0A> > > > = > > Cc: hackers@freebsd.org, "Roman Divacky" = =0D=0A> > > > > > Date: Mon, 27 Feb 2012 11:23:59 = -0500=0D=0A> > > > > > Subject: Re: BUG: 9.0 stage 2 boot = (/boot/boot)=0D=0A> > > > > > =0D=0A> > > > > > > On Saturday, February = 25, 2012 9:41:48 am rank1seeker@gmail.com wrote:=0D=0A> > > > > > > > > = Do you only see the "No " message? Do you see the '/boot.config: = /loader'=0D=0A> > > > > > > > > message? (Do you have RBX_QUIET enabled = perhaps? (-q)) Do you get the actual=0D=0A> > > > > > > > > boot2 prompt = at all?=0D=0A> > > > > > > > =0D=0A> > > > > > > > I don't have RBX_QUIET = enabled nor any other flags=0D=0A> > > > > > > > =0D=0A> > > > > > > > = Let the pic tell a story:=0D=0A> > > > > > > > = http://www.starforce.biz/stage2boot.jpg=0D=0A> > > > > > > =0D=0A> > > > = > > > Ahh, this is helpful. You do see the '/boot.config: /loader' = message.=0D=0A> > > > > > =0D=0A> > > > > > I've already explained that, = numerous times (RE-typing ...)=0D=0A> > > > > =0D=0A> > > > > It was not = as obvious before, and you are seeing a failure that no one else=0D=0A> > = > > > has reported, so you need to be patient.=0D=0A> > > > > =0D=0A> > > = > > > > > Patch eliminates possible error, of manual = "intervention"=0D=0A> > > > > > > > That is, a perfectly valid patch = being classified as invalid.=0D=0A> > > > > > > =0D=0A> > > > > > > I = have no idea what you mean here. However, it seems you don't have junk = in=0D=0A> > > > > > > your 'opts' variable anyway.=0D=0A> > > > > > = =0D=0A> > > > > > What I meant was that I won't manually(edit file) apply = patch, but via 'patch' tool/bin.=0D=0A> > > > > =0D=0A> > > > > = Ok.=0D=0A> > > > > =0D=0A> > > > > > > Hmm, you could try adding some = more debugging to boot2.c to see exactly what=0D=0A> > > > > > > is = failing. For example, does the first call to 'parse()' fail and = clear=0D=0A> > > > > > > autoboot?=0D=0A> > > > > > =0D=0A> > > > > > I = don't do nor understand c code.=0D=0A> > > > > =0D=0A> > > > > Ok. That = will take a bit longer to fix, but that is ok. I've attached a = new=0D=0A> > > > > patch with some debugging output. It shouldn't fix = the problem yet, but I want=0D=0A> > > > > to see if any of the new = messages are output, and when they are output.=0D=0A> > > > > =0D=0A> > > = > > > How could it silently loose documented functionality?=0D=0A> > > > = > =0D=0A> > > > > Several changes were made to boot2 to make it smaller = so it could be compiled with=0D=0A> > > > > clang, and it seems that at = least one of those changes must have had a bug.=0D=0A> > > > > =0D=0A> > = > > > -- =0D=0A> > > > > John Baldwin=0D=0A> > > > >=0D=0A> > > > =0D=0A> = > > > =0D=0A> > > > Patch fails at 9.0 RELEASE: (Is this for 9 = STABLE?)=0D=0A> > > =0D=0A> > > Nope, patch was made against a 9.0 = tree:=0D=0A> > > =0D=0A> > > % svn info .=0D=0A> > > Path: .=0D=0A> > > = URL: svn+ssh://svn.freebsd.org/base/releng/9.0/sys=0D=0A> > > Repository = Root: svn+ssh://svn.freebsd.org/base=0D=0A> > > Repository UUID: = ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f=0D=0A> > > Revision: 232297=0D=0A> > = > Node Kind: directory=0D=0A> > > Schedule: normal=0D=0A> > > Last = Changed Author: kensmith=0D=0A> > > Last Changed Rev: 229283=0D=0A> > > = Last Changed Date: 2012-01-02 09:45:30 -0500 (Mon, 02 Jan 2012)=0D=0A> > = > =0D=0A> > > % svn stat boot/i386/boot2=0D=0A> > > M = boot/i386/boot2/boot2.c=0D=0A> > > =0D=0A> > > % svn diff boot/i386/boot2 = | md5=0D=0A> > > 888f90f32bd20d1bf7e2d3277d9b697b=0D=0A> > > =0D=0A> > > = And the file I sent to you before:=0D=0A> > > =0D=0A> > > % md5 = ~/work/patches/boot2_test.patch =0D=0A> > > MD5 = (/home/jhb/work/patches/boot2_test.patch) =3D = 888f90f32bd20d1bf7e2d3277d9b697b=0D=0A> > > =0D=0A> > > > I'll give you a = hint (which I've mentioned at start)=0D=0A> > > > =0D=0A> > > > In order = to expose bug, 2 conditions have to be met:=0D=0A> > > > 1) = boot.config in use=0D=0A> > > > 2) daX device (i.e; USB stick)=0D=0A> = > > > =0D=0A> > > > That is ...=0D=0A> > > > I've created vnode image. = Then, ... when I 'dd' it to HDD's slice, it boots.=0D=0A> > > > BUT when = I 'dd' it to USB's slice it hangs.=0D=0A> > > =0D=0A> > > USB booting = uses a different chunk of BIOS code, and it may be doing different=0D=0A> = > > things which result in uninitialized memory having different values = (e.g. the=0D=0A> > > cmd[] array).=0D=0A> > > =0D=0A> > > -- =0D=0A> > > = John Baldwin=0D=0A> > > =0D=0A> > =0D=0A> > Using new:=0D=0A> > MD5 = (boot2_test.patch) =3D 01cc3a9dda1f1ecbd5125092ebccc476=0D=0A> =0D=0A> = Hmmm, it seems you have autoboot =3D=3D 0, but kname set (but you didn't = get the=0D=0A> printf where autoboot is set to 0, and you didn't get the = printf where kname=0D=0A> is set to a non-NULL value). I'll update the = patch again (same URL), but if=0D=0A> you don't get any new messages, = then I suspect you aren't actually using the=0D=0A> new = boot2.=0D=0A=0D=0A> You do realize you have to use gpart to install the = new boot code=0D=0A> on the USB stick after you have built it, = yes?=0D=0A=0D=0AYou are kidding me, right?=0D=0AIf I haven't used gpart = to install PATCHED AND BUILT boot2, THEN on picture taken and given here, = as url, WOULDN'T be very custom output!=0D=0ANo RELEASE boot2 would = output what is displayed = on:=0D=0A=0D=0Ahttp://www.starforce.biz/stage2boot.jpg=0D=0A=0D=0ACUSTOM = output is an ultimate proof of patched version in use.=0D=0AOr do you = think otherwise ... ?=0D=0A=0D=0A=0D=0A=0D=0ADomagoj Smol=E8i=E6 From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 21:10:26 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8C4491065673; Thu, 1 Mar 2012 21:10:26 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 51B378FC16; Thu, 1 Mar 2012 21:10:26 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id 0307C46B2E; Thu, 1 Mar 2012 16:10:26 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 817B6B914; Thu, 1 Mar 2012 16:10:25 -0500 (EST) From: John Baldwin To: rank1seeker@gmail.com Date: Thu, 1 Mar 2012 16:09:58 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: <20120217.074355.853.1@DOMY-PC> <201203011543.25446.jhb@freebsd.org> <20120301.205802.182.3@DOMY-PC> In-Reply-To: <20120301.205802.182.3@DOMY-PC> MIME-Version: 1.0 Content-Type: Text/Plain; charset="windows-1250" Content-Transfer-Encoding: 7bit Message-Id: <201203011609.59121.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Thu, 01 Mar 2012 16:10:25 -0500 (EST) Cc: Roman Divacky , hackers@freebsd.org, Andriy Gapon Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2012 21:10:26 -0000 On Thursday, March 01, 2012 3:58:02 pm rank1seeker@gmail.com wrote: > ----- Original Message ----- > From: John Baldwin > To: rank1seeker@gmail.com > Cc: hackers@freebsd.org, "Roman Divacky" > Date: Thu, 1 Mar 2012 15:43:25 -0500 > Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) > > > On Thursday, March 01, 2012 3:02:35 pm rank1seeker@gmail.com wrote: > > > ----- Original Message ----- > > > From: John Baldwin > > > To: rank1seeker@gmail.com > > > Cc: hackers@freebsd.org, "Roman Divacky" > > > Date: Wed, 29 Feb 2012 16:05:08 -0500 > > > Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) > > > > > > > On Wednesday, February 29, 2012 3:08:36 pm rank1seeker@gmail.com wrote: > > > > > ----- Original Message ----- > > > > > From: John Baldwin > > > > > To: rank1seeker@gmail.com > > > > > Cc: hackers@freebsd.org, "Roman Divacky" > > > > > Date: Wed, 29 Feb 2012 11:26:59 -0500 > > > > > Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) > > > > > > > > > > > On Tuesday, February 28, 2012 3:09:06 pm rank1seeker@gmail.com wrote: > > > > > > > ----- Original Message ----- > > > > > > > From: John Baldwin > > > > > > > To: rank1seeker@gmail.com > > > > > > > Cc: hackers@freebsd.org, "Roman Divacky" > > > > > > > Date: Mon, 27 Feb 2012 11:23:59 -0500 > > > > > > > Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) > > > > > > > > > > > > > > > On Saturday, February 25, 2012 9:41:48 am rank1seeker@gmail.com wrote: > > > > > > > > > > Do you only see the "No " message? Do you see the '/boot.config: /loader' > > > > > > > > > > message? (Do you have RBX_QUIET enabled perhaps? (-q)) Do you get the actual > > > > > > > > > > boot2 prompt at all? > > > > > > > > > > > > > > > > > > I don't have RBX_QUIET enabled nor any other flags > > > > > > > > > > > > > > > > > > Let the pic tell a story: > > > > > > > > > http://www.starforce.biz/stage2boot.jpg > > > > > > > > > > > > > > > > Ahh, this is helpful. You do see the '/boot.config: /loader' message. > > > > > > > > > > > > > > I've already explained that, numerous times (RE-typing ...) > > > > > > > > > > > > It was not as obvious before, and you are seeing a failure that no one else > > > > > > has reported, so you need to be patient. > > > > > > > > > > > > > > > Patch eliminates possible error, of manual "intervention" > > > > > > > > > That is, a perfectly valid patch being classified as invalid. > > > > > > > > > > > > > > > > I have no idea what you mean here. However, it seems you don't have junk in > > > > > > > > your 'opts' variable anyway. > > > > > > > > > > > > > > What I meant was that I won't manually(edit file) apply patch, but via 'patch' tool/bin. > > > > > > > > > > > > Ok. > > > > > > > > > > > > > > Hmm, you could try adding some more debugging to boot2.c to see exactly what > > > > > > > > is failing. For example, does the first call to 'parse()' fail and clear > > > > > > > > autoboot? > > > > > > > > > > > > > > I don't do nor understand c code. > > > > > > > > > > > > Ok. That will take a bit longer to fix, but that is ok. I've attached a new > > > > > > patch with some debugging output. It shouldn't fix the problem yet, but I want > > > > > > to see if any of the new messages are output, and when they are output. > > > > > > > > > > > > > How could it silently loose documented functionality? > > > > > > > > > > > > Several changes were made to boot2 to make it smaller so it could be compiled with > > > > > > clang, and it seems that at least one of those changes must have had a bug. > > > > > > > > > > > > -- > > > > > > John Baldwin > > > > > > > > > > > > > > > > > > > > > Patch fails at 9.0 RELEASE: (Is this for 9 STABLE?) > > > > > > > > Nope, patch was made against a 9.0 tree: > > > > > > > > % svn info . > > > > Path: . > > > > URL: svn+ssh://svn.freebsd.org/base/releng/9.0/sys > > > > Repository Root: svn+ssh://svn.freebsd.org/base > > > > Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f > > > > Revision: 232297 > > > > Node Kind: directory > > > > Schedule: normal > > > > Last Changed Author: kensmith > > > > Last Changed Rev: 229283 > > > > Last Changed Date: 2012-01-02 09:45:30 -0500 (Mon, 02 Jan 2012) > > > > > > > > % svn stat boot/i386/boot2 > > > > M boot/i386/boot2/boot2.c > > > > > > > > % svn diff boot/i386/boot2 | md5 > > > > 888f90f32bd20d1bf7e2d3277d9b697b > > > > > > > > And the file I sent to you before: > > > > > > > > % md5 ~/work/patches/boot2_test.patch > > > > MD5 (/home/jhb/work/patches/boot2_test.patch) = 888f90f32bd20d1bf7e2d3277d9b697b > > > > > > > > > I'll give you a hint (which I've mentioned at start) > > > > > > > > > > In order to expose bug, 2 conditions have to be met: > > > > > 1) boot.config in use > > > > > 2) daX device (i.e; USB stick) > > > > > > > > > > That is ... > > > > > I've created vnode image. Then, ... when I 'dd' it to HDD's slice, it boots. > > > > > BUT when I 'dd' it to USB's slice it hangs. > > > > > > > > USB booting uses a different chunk of BIOS code, and it may be doing different > > > > things which result in uninitialized memory having different values (e.g. the > > > > cmd[] array). > > > > > > > > -- > > > > John Baldwin > > > > > > > > > > Using new: > > > MD5 (boot2_test.patch) = 01cc3a9dda1f1ecbd5125092ebccc476 > > > > Hmmm, it seems you have autoboot == 0, but kname set (but you didn't get the > > printf where autoboot is set to 0, and you didn't get the printf where kname > > is set to a non-NULL value). I'll update the patch again (same URL), but if > > you don't get any new messages, then I suspect you aren't actually using the > > new boot2. > > > You do realize you have to use gpart to install the new boot code > > on the USB stick after you have built it, yes? > > You are kidding me, right? > If I haven't used gpart to install PATCHED AND BUILT boot2, THEN on picture taken and given here, as url, WOULDN'T be very custom output! > No RELEASE boot2 would output what is displayed on: > > http://www.starforce.biz/stage2boot.jpg Huh? Sure it would. That is the same output you have had the entire time. However, avg@ might have found the actual cause of the bug. And Roman did indeed break this earlier. Try the updated boot2_test.patch again. -- John Baldwin From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 21:14:58 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4A6CA106566C; Thu, 1 Mar 2012 21:14:58 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 0F55C8FC15; Thu, 1 Mar 2012 21:14:58 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id B6D1E46B17; Thu, 1 Mar 2012 16:14:57 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 4CDBFB914; Thu, 1 Mar 2012 16:14:57 -0500 (EST) From: John Baldwin To: rank1seeker@gmail.com Date: Thu, 1 Mar 2012 16:14:43 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: <20120217.074355.853.1@DOMY-PC> <20120301.205802.182.3@DOMY-PC> <201203011609.59121.jhb@freebsd.org> In-Reply-To: <201203011609.59121.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="windows-1250" Content-Transfer-Encoding: 7bit Message-Id: <201203011614.44106.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Thu, 01 Mar 2012 16:14:57 -0500 (EST) Cc: Roman Divacky , hackers@freebsd.org, Andriy Gapon Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2012 21:14:58 -0000 On Thursday, March 01, 2012 4:09:58 pm John Baldwin wrote: > On Thursday, March 01, 2012 3:58:02 pm rank1seeker@gmail.com wrote: > > ----- Original Message ----- > > From: John Baldwin > > To: rank1seeker@gmail.com > > Cc: hackers@freebsd.org, "Roman Divacky" > > Date: Thu, 1 Mar 2012 15:43:25 -0500 > > Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) > > > > > On Thursday, March 01, 2012 3:02:35 pm rank1seeker@gmail.com wrote: > > > > ----- Original Message ----- > > > > From: John Baldwin > > > > To: rank1seeker@gmail.com > > > > Cc: hackers@freebsd.org, "Roman Divacky" > > > > Date: Wed, 29 Feb 2012 16:05:08 -0500 > > > > Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) > > > > > > > > > On Wednesday, February 29, 2012 3:08:36 pm rank1seeker@gmail.com wrote: > > > > > > ----- Original Message ----- > > > > > > From: John Baldwin > > > > > > To: rank1seeker@gmail.com > > > > > > Cc: hackers@freebsd.org, "Roman Divacky" > > > > > > Date: Wed, 29 Feb 2012 11:26:59 -0500 > > > > > > Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) > > > > > > > > > > > > > On Tuesday, February 28, 2012 3:09:06 pm rank1seeker@gmail.com wrote: > > > > > > > > ----- Original Message ----- > > > > > > > > From: John Baldwin > > > > > > > > To: rank1seeker@gmail.com > > > > > > > > Cc: hackers@freebsd.org, "Roman Divacky" > > > > > > > > Date: Mon, 27 Feb 2012 11:23:59 -0500 > > > > > > > > Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) > > > > > > > > > > > > > > > > > On Saturday, February 25, 2012 9:41:48 am rank1seeker@gmail.com wrote: > > > > > > > > > > > Do you only see the "No " message? Do you see the '/boot.config: /loader' > > > > > > > > > > > message? (Do you have RBX_QUIET enabled perhaps? (-q)) Do you get the actual > > > > > > > > > > > boot2 prompt at all? > > > > > > > > > > > > > > > > > > > > I don't have RBX_QUIET enabled nor any other flags > > > > > > > > > > > > > > > > > > > > Let the pic tell a story: > > > > > > > > > > http://www.starforce.biz/stage2boot.jpg > > > > > > > > > > > > > > > > > > Ahh, this is helpful. You do see the '/boot.config: /loader' message. > > > > > > > > > > > > > > > > I've already explained that, numerous times (RE-typing ...) > > > > > > > > > > > > > > It was not as obvious before, and you are seeing a failure that no one else > > > > > > > has reported, so you need to be patient. > > > > > > > > > > > > > > > > > Patch eliminates possible error, of manual "intervention" > > > > > > > > > > That is, a perfectly valid patch being classified as invalid. > > > > > > > > > > > > > > > > > > I have no idea what you mean here. However, it seems you don't have junk in > > > > > > > > > your 'opts' variable anyway. > > > > > > > > > > > > > > > > What I meant was that I won't manually(edit file) apply patch, but via 'patch' tool/bin. > > > > > > > > > > > > > > Ok. > > > > > > > > > > > > > > > > Hmm, you could try adding some more debugging to boot2.c to see exactly what > > > > > > > > > is failing. For example, does the first call to 'parse()' fail and clear > > > > > > > > > autoboot? > > > > > > > > > > > > > > > > I don't do nor understand c code. > > > > > > > > > > > > > > Ok. That will take a bit longer to fix, but that is ok. I've attached a new > > > > > > > patch with some debugging output. It shouldn't fix the problem yet, but I want > > > > > > > to see if any of the new messages are output, and when they are output. > > > > > > > > > > > > > > > How could it silently loose documented functionality? > > > > > > > > > > > > > > Several changes were made to boot2 to make it smaller so it could be compiled with > > > > > > > clang, and it seems that at least one of those changes must have had a bug. > > > > > > > > > > > > > > -- > > > > > > > John Baldwin > > > > > > > > > > > > > > > > > > > > > > > > > Patch fails at 9.0 RELEASE: (Is this for 9 STABLE?) > > > > > > > > > > Nope, patch was made against a 9.0 tree: > > > > > > > > > > % svn info . > > > > > Path: . > > > > > URL: svn+ssh://svn.freebsd.org/base/releng/9.0/sys > > > > > Repository Root: svn+ssh://svn.freebsd.org/base > > > > > Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f > > > > > Revision: 232297 > > > > > Node Kind: directory > > > > > Schedule: normal > > > > > Last Changed Author: kensmith > > > > > Last Changed Rev: 229283 > > > > > Last Changed Date: 2012-01-02 09:45:30 -0500 (Mon, 02 Jan 2012) > > > > > > > > > > % svn stat boot/i386/boot2 > > > > > M boot/i386/boot2/boot2.c > > > > > > > > > > % svn diff boot/i386/boot2 | md5 > > > > > 888f90f32bd20d1bf7e2d3277d9b697b > > > > > > > > > > And the file I sent to you before: > > > > > > > > > > % md5 ~/work/patches/boot2_test.patch > > > > > MD5 (/home/jhb/work/patches/boot2_test.patch) = 888f90f32bd20d1bf7e2d3277d9b697b > > > > > > > > > > > I'll give you a hint (which I've mentioned at start) > > > > > > > > > > > > In order to expose bug, 2 conditions have to be met: > > > > > > 1) boot.config in use > > > > > > 2) daX device (i.e; USB stick) > > > > > > > > > > > > That is ... > > > > > > I've created vnode image. Then, ... when I 'dd' it to HDD's slice, it boots. > > > > > > BUT when I 'dd' it to USB's slice it hangs. > > > > > > > > > > USB booting uses a different chunk of BIOS code, and it may be doing different > > > > > things which result in uninitialized memory having different values (e.g. the > > > > > cmd[] array). > > > > > > > > > > -- > > > > > John Baldwin > > > > > > > > > > > > > Using new: > > > > MD5 (boot2_test.patch) = 01cc3a9dda1f1ecbd5125092ebccc476 > > > > > > Hmmm, it seems you have autoboot == 0, but kname set (but you didn't get the > > > printf where autoboot is set to 0, and you didn't get the printf where kname > > > is set to a non-NULL value). I'll update the patch again (same URL), but if > > > you don't get any new messages, then I suspect you aren't actually using the > > > new boot2. > > > > > You do realize you have to use gpart to install the new boot code > > > on the USB stick after you have built it, yes? > > > > You are kidding me, right? > > If I haven't used gpart to install PATCHED AND BUILT boot2, THEN on picture taken and given here, as url, WOULDN'T be very custom output! > > No RELEASE boot2 would output what is displayed on: > > > > http://www.starforce.biz/stage2boot.jpg > > Huh? Sure it would. That is the same output you have had the entire time. Lordy, lordy. My firefox on my BSD desktop was caching the image. I just checked it on another machine and it is indeed different now, so a comedy of errors all around it seems. > However, avg@ might have found the actual cause of the bug. And Roman did > indeed break this earlier. Try the updated boot2_test.patch again. You should still try this. -- John Baldwin From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 22:23:20 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by hub.freebsd.org (Postfix) with ESMTP id 74921106564A; Thu, 1 Mar 2012 22:23:20 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from [127.0.0.1] (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id EE1A814F1FA; Thu, 1 Mar 2012 22:23:14 +0000 (UTC) Message-ID: <4F4FF6CF.8030806@FreeBSD.org> Date: Thu, 01 Mar 2012 14:23:11 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: John Baldwin References: <20120217.074355.853.1@DOMY-PC> <20120301.205802.182.3@DOMY-PC> <201203011609.59121.jhb@freebsd.org> <201203011614.44106.jhb@freebsd.org> In-Reply-To: <201203011614.44106.jhb@freebsd.org> X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: rank1seeker@gmail.com, Roman Divacky , hackers@freebsd.org, Andriy Gapon Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2012 22:23:20 -0000 On 3/1/2012 1:14 PM, John Baldwin wrote: > My firefox on my BSD desktop was caching the image. Holding down Shift when clicking reload usually handles this. hth, Doug -- It's always a long day; 86400 doesn't fit into a short. Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 23:38:22 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id BDF401065676; Thu, 1 Mar 2012 23:38:22 +0000 (UTC) Date: Thu, 1 Mar 2012 23:38:22 +0000 From: Alexander Best To: freebsd-hackers@freebsd.org Message-ID: <20120301233822.GA19709@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="BXVAT5kNtrzKuDFl" Content-Disposition: inline Subject: small change to du, so it will accepts unit suffixes for negative thresholds X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2012 23:38:22 -0000 --BXVAT5kNtrzKuDFl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline hi there, i just noticed that du will not accepts something like the following: du -t-500M whereas du -t500M will work. i've attached a patch, which makes unit suffixes in connection with negative thresholds possible. cheers. alex --BXVAT5kNtrzKuDFl Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="du.diff.txt" diff --git a/usr.bin/du/du.1 b/usr.bin/du/du.1 index 3db1367..01d2ec1 100644 --- a/usr.bin/du/du.1 +++ b/usr.bin/du/du.1 @@ -137,6 +137,10 @@ If is negative, display only entries for which size is less than the absolute value of .Ar threshold . +For both positive and negative values, +.Ar threshold +accepts unit suffixes +.Po see Fl h Li option Pc . .It Fl x File system mount points are not traversed. .El diff --git a/usr.bin/du/du.c b/usr.bin/du/du.c index 7b47b71..51bfd07 100644 --- a/usr.bin/du/du.c +++ b/usr.bin/du/du.c @@ -175,13 +175,18 @@ main(int argc, char *argv[]) break; case 'r': /* Compatibility. */ break; - case 't' : + case 't': + if (strncmp(optarg, "-", 1) == 0) { + optarg++; + threshold_sign = -1; + } if (expand_number(optarg, &threshold) != 0 || threshold == 0) { warnx("invalid threshold: %s", optarg); usage(); - } else if (threshold < 0) - threshold_sign = -1; + } + if (threshold_sign == -1) + threshold = -threshold; break; case 'x': ftsoptions |= FTS_XDEV; --BXVAT5kNtrzKuDFl-- From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 06:25:23 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 991541065670; Fri, 2 Mar 2012 06:25:23 +0000 (UTC) (envelope-from rea@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 3EE4A8FC13; Fri, 2 Mar 2012 06:25:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=codelabs.ru; s=two; h=Sender:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=eY2cqcEr0dv4Vtk0rk6IrO9c2bTf98HqDWCXBJdbtiE=; b=FeXaEZgBILFsXkKBg/KxaPUW9w3Mp1BbS6c5xqkY7po7CGJV0yXHKDrpEVrxiQAk6LOIBYuaCsZNqiP5HrLWzSILg+wd34rp1pCCmVfCiWBETmxrnLwuopKPy63zuWxVZW9zH9MQEzZyfSSnyqFKINtV95vgZ/ydNB5cQfAKEfY6CqZDlHN/fihRhOv/HwE4GqoMdbltf1HtbJSKx0sl7bm/Wke/too+nMXwpbeC/yQv1rMJAE0t6e/j4shjkk6K55axSDGAJR2bHhWJoAQ5/8FqVkOtHz+uc7WkPJ2JHjcXTDatNbcWpzp+rvtejL+79vAiAadRM5C5kkpAV9dzzw==; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1S3LvJ-000H04-QL; Fri, 02 Mar 2012 10:25:01 +0400 Date: Fri, 2 Mar 2012 10:24:59 +0400 From: Eygene Ryabinkin To: Garrett Cooper Message-ID: References: <20120301.155632.137.2@DOMY-PC> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mlvFMpb4NrD3AMcD" Content-Disposition: inline In-Reply-To: Sender: rea@codelabs.ru Cc: rank1seeker@gmail.com, fjoe@freebsd.org, hackers@freebsd.org, Chris Rees Subject: Re: src builds and STDERR X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2012 06:25:23 -0000 --mlvFMpb4NrD3AMcD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Thu, Mar 01, 2012 at 09:38:06AM -0800, Garrett Cooper wrote: > On Thu, Mar 1, 2012 at 9:01 AM, Chris Rees wrote: > > On 1 Mar 2012 16:31, "Garrett Cooper" wrote: > >> See: > >> http://lists.freebsd.org/pipermail/freebsd-current/2011-December/02985= 2.html > >> . Why this patch is still not in FreeBSD proper, I do not know. [...] > bin/165589 -- thanks! The patch from mailing list was already committed to HEAD more than 2 weeks ago, http://svnweb.freebsd.org/base?view=3Drevision&revision=3D231544 Don't see the MFC timeline, though. Max, any plans for MFC? On the other hand, the error diagnostics from make goes to stdout -- not very good, because more logical place is stderr. The following patch should help a bit, http://codelabs.ru/fbsd/patches/make/make-redirect-own-error-messages-to-= stderr.patch but I should review it once more and modify the regression suite to handle the change in the make behaviour. Any thoughts? --=20 Eygene Ryabinkin ,,,^..^,,, [ Life's unfair - but root password helps! | codelabs.ru ] [ 82FE 06BC D497 C0DE 49EC 4FF0 16AF 9EAE 8152 ECFB | freebsd.org ] --mlvFMpb4NrD3AMcD Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iF4EABEIAAYFAk9QZ7sACgkQFq+eroFS7Pu/5AD/VpHPCI29rx1/r85gzMblt1/b rfxQVE5Eq/EbG1XgueYA/R+Zq0Gny0HJ1zM72QwqnJUYQyGOOse6Yy9QIPOumHiG =WNoD -----END PGP SIGNATURE----- --mlvFMpb4NrD3AMcD-- From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 06:37:03 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4866B106566B for ; Fri, 2 Mar 2012 06:37:03 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0C4288FC0C for ; Fri, 2 Mar 2012 06:37:02 +0000 (UTC) Received: by iahk25 with SMTP id k25so2412307iah.13 for ; Thu, 01 Mar 2012 22:37:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dataix.net; s=rsa; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; bh=Z56JCdi4jNVdVC8DVl5lb8wJ3M3Y/6v6qr5SfF9ZBHQ=; b=X+Qw1j8tMQCLlnkcsIwccIGwTYYw3vwCVY227QOEstZ0lYo2ftIgdRifTcKkGoh+Bz k5/P5/abbnlz8uLkEKgkaPXX6gLJ0IbadK9jYuOmGzyZ5srzZ6Fazldd62k9rHEEJxn0 cdomCDWgHrmn/vc5eoufqZO2Zywqpqjwj9NFA= Received: by 10.50.190.167 with SMTP id gr7mr561682igc.53.1330670222476; Thu, 01 Mar 2012 22:37:02 -0800 (PST) Received: from DataIX.net (adsl-99-181-142-81.dsl.klmzmi.sbcglobal.net. [99.181.142.81]) by mx.google.com with ESMTPS id b6sm994015igj.7.2012.03.01.22.37.01 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 01 Mar 2012 22:37:01 -0800 (PST) Received: from DataIX.net (localhost [127.0.0.1]) by DataIX.net (8.14.5/8.14.5) with ESMTP id q226axNJ035838 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Mar 2012 01:36:59 -0500 (EST) (envelope-from jhellenthal@DataIX.net) Received: (from jhellenthal@localhost) by DataIX.net (8.14.5/8.14.5/Submit) id q226axe3035547; Fri, 2 Mar 2012 01:36:59 -0500 (EST) (envelope-from jhellenthal@DataIX.net) Date: Fri, 2 Mar 2012 01:36:59 -0500 From: Jason Hellenthal To: Alexander Best Message-ID: <20120302063659.GB31588@DataIX.net> References: <20120301233822.GA19709@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120301233822.GA19709@freebsd.org> X-Gm-Message-State: ALoCoQn9gcJYdkzEGYPKTUW9+WI6USdrxpRfoqptARVy9VE41oUZDYTGDLmlokJBUE7vEUj7IjV5 Cc: freebsd-hackers@freebsd.org Subject: Re: small change to du, so it will accepts unit suffixes for negative thresholds X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2012 06:37:03 -0000 On Thu, Mar 01, 2012 at 11:38:22PM +0000, Alexander Best wrote: > hi there, > > i just noticed that du will not accepts something like the following: > > du -t-500M > > whereas > > du -t500M > > will work. i've attached a patch, which makes unit suffixes in connection with > negative thresholds possible. > I don't get it. I just ran both instances of what you have above without your patch on 8-STABLE i386 and both work as intended. Are you seeing something I am not ? -- ;s =; From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 07:20:01 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4F197106564A for ; Fri, 2 Mar 2012 07:20:01 +0000 (UTC) (envelope-from maninya@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 01F138FC08 for ; Fri, 2 Mar 2012 07:20:00 +0000 (UTC) Received: by ghrr20 with SMTP id r20so744530ghr.13 for ; Thu, 01 Mar 2012 23:20:00 -0800 (PST) Received-SPF: pass (google.com: domain of maninya@gmail.com designates 10.236.76.234 as permitted sender) client-ip=10.236.76.234; Authentication-Results: mr.google.com; spf=pass (google.com: domain of maninya@gmail.com designates 10.236.76.234 as permitted sender) smtp.mail=maninya@gmail.com; dkim=pass header.i=maninya@gmail.com Received: from mr.google.com ([10.236.76.234]) by 10.236.76.234 with SMTP id b70mr11456599yhe.125.1330672800458 (num_hops = 1); Thu, 01 Mar 2012 23:20:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=khfpokl72GtE8cU5kRk5ZbW8r70P+pVAsm6qozNbj+A=; b=w1V1UwWOXHOM8sZwbrAe+WSNAJ7WprmRFElweLCCpPknoV+kPbSEhzkClJFhvHMSxp +TeD5DrU1tRfPCVP5S8YyvV3CqGRKYMUq6ZOdJ7jPdI4gjI7y41g0M1Y8DQb7RoijKhF VCIyqthcduO11ZKGmjgcnza1byDcDQdM3k/X1Q/MdCsQYCt2LqrUyoEDuQbKKq8qZVUe F3zvGMkd5QE7V0ua3JzoWvE44j5wgHH21c9B7jX6uinE0+rqu8fyizM7aj6Kvp4JJggP NjCtGe3SghLMM7qIpWaS+iYeWcURjIxv5jsvsODhnXyNYsq5lX7zhZAxQctjB4kj/usW aqsw== MIME-Version: 1.0 Received: by 10.236.76.234 with SMTP id b70mr9072085yhe.125.1330672800415; Thu, 01 Mar 2012 23:20:00 -0800 (PST) Received: by 10.146.240.5 with HTTP; Thu, 1 Mar 2012 23:20:00 -0800 (PST) Date: Fri, 2 Mar 2012 12:50:00 +0530 Message-ID: From: Maninya M To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: CPUID and CPU STATE X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2012 07:20:01 -0000 I was unable to get this information about the cpuid variable in the scheduler source code. How does cpuid get its value from the hardware? How is the CPUSTATES value obtained/changed with hardware in the source code? Which system commands for the above? -- Maninya From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 08:48:49 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DBC8D106564A; Fri, 2 Mar 2012 08:48:49 +0000 (UTC) (envelope-from kpielorz_lst@tdx.co.uk) Received: from mail.tdx.com (mail.tdx.com [62.13.128.18]) by mx1.freebsd.org (Postfix) with ESMTP id 66DDC8FC16; Fri, 2 Mar 2012 08:48:49 +0000 (UTC) Received: from OctaHexa64-MkII (HPQuadro64.dmpriest.net.uk [62.13.130.30]) (authenticated bits=0) by mail.tdx.com (8.14.3/8.14.3) with ESMTP id q228mlSW045687 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Fri, 2 Mar 2012 08:48:48 GMT Date: Fri, 02 Mar 2012 08:48:50 +0000 From: Karl Pielorz To: Garrett Cooper Message-ID: In-Reply-To: References: <21EB76F692ED4215A70037FC@OctaHexa64-MkII> <1330454834.3092.7.camel@powernoodle-l7.corp.yahoo.com> <7A0E0A12E1F9691864D4607C@OctaHexa64-MkII> <4F4E019B.5050408@FreeBSD.org> <4564EA0623F4CAA92EDC137B@OctaHexa64-MkII> <324297D7C526FFB64CFD2C0B@OctaHexa64-MkII> X-Mailer: Mulberry/4.0.8 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: Andriy Gapon , freebsd-hackers@freebsd.org, Sean Bruno , freebsd-usb@freebsd.org Subject: Re: SuperMicro IPMI keyboard - fails for 'mountroot>' prompt under FreeBSD 9-R... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2012 08:48:50 -0000 --On 01 March 2012 07:59 -0800 Garrett Cooper wrote: >> Do you mean (looking at the man page) just setting: >> >> =C2=A0hint.kbdmux.0.disabled=3D"1" >> >> In device.hints? >> >> That didn't make any difference - nor, (just in case) did setting it to >> '0'. > > Are you sure it's compiled into the kernel? It's in GENERIC, but I'm > not sure what you're running... > -Garrett Sorry, yes - it's running GENERIC (i.e. stock 9.0-R GENERIC). -Karl From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 10:33:33 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id A2C96106566C; Fri, 2 Mar 2012 10:33:33 +0000 (UTC) Date: Fri, 2 Mar 2012 10:33:33 +0000 From: Alexander Best To: Jason Hellenthal Message-ID: <20120302103333.GA88008@freebsd.org> References: <20120301233822.GA19709@freebsd.org> <20120302063659.GB31588@DataIX.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120302063659.GB31588@DataIX.net> Cc: freebsd-hackers@freebsd.org Subject: Re: small change to du, so it will accepts unit suffixes for negative thresholds X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2012 10:33:33 -0000 On Fri Mar 2 12, Jason Hellenthal wrote: > > > On Thu, Mar 01, 2012 at 11:38:22PM +0000, Alexander Best wrote: > > hi there, > > > > i just noticed that du will not accepts something like the following: > > > > du -t-500M > > > > whereas > > > > du -t500M > > > > will work. i've attached a patch, which makes unit suffixes in connection with > > negative thresholds possible. > > > > I don't get it. I just ran both instances of what you have above without > your patch on 8-STABLE i386 and both work as intended. Are you seeing > something I am not ? you are right. there seems to have been a du change between 8-STABLE and HEAD, or maybe even in expand_number(). when i run 'du -t-500M /' on HEAD i get: du: invalid threshold: -500M usage: du [-Aclnx] [-H | -L | -P] [-h | -k | -m ] [-a | -s | -d depth] [-B blocksize] [-I mask] [-t threshold] [file ...] ... i'll investigate some more. i also found that on 8-STABLE du isn't working properly in all cases. try the following: mkdir empty ; cd empty ; mkdir empty2 running 'du -t-1M' should report empty2, but it doesn't. running 'du -t-2M' does. according to 'ls -la' an empty directory is 4096 byte. so 'du -t-4097' should report the empty dir; however it doesn't. du seems to quite broken when it comes to the -t option. have a look at the following: mkdir empty3; cd empty3; du -h -t1M reports 2,0k . that's completely wrong, since i instructed du to only display entries > 1 megabyte. cheers. alex > > -- > ;s =; From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 10:44:45 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 14F6B106566B for ; Fri, 2 Mar 2012 10:44:45 +0000 (UTC) (envelope-from gleb.kurtsou@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7F0338FC13 for ; Fri, 2 Mar 2012 10:44:44 +0000 (UTC) Received: by lagv3 with SMTP id v3so2625224lag.13 for ; Fri, 02 Mar 2012 02:44:43 -0800 (PST) Received-SPF: pass (google.com: domain of gleb.kurtsou@gmail.com designates 10.112.102.68 as permitted sender) client-ip=10.112.102.68; Authentication-Results: mr.google.com; spf=pass (google.com: domain of gleb.kurtsou@gmail.com designates 10.112.102.68 as permitted sender) smtp.mail=gleb.kurtsou@gmail.com; dkim=pass header.i=gleb.kurtsou@gmail.com Received: from mr.google.com ([10.112.102.68]) by 10.112.102.68 with SMTP id fm4mr4262448lbb.7.1330685083316 (num_hops = 1); Fri, 02 Mar 2012 02:44:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=upr9QyFvpZr81chdPpYiWvj4rnJLCfKydbjF6tqHlWI=; b=WKxZpjM8p9pKfk/jyRVyVJVy0yeYZ+yM8VRt674agRfysXNqwmEXL36r1nFdAxXd6R qpFno9T2eMEtuHWbJeERqw2ubnRx1CPXAmEBFM0Grvvh/KM+hKBtgtlVlSo1PREoaNBa M/PHsHsJQlY3k2CWRefK57Sk62Myd6ZFhVJ4dgbjBEt5kyKwX5fVtkXqJn4VjoTxP46N I5CxCmIerm2hpIH+QAwmBJSplfv0ZBeOWH+xG1CxS5by/+KG9kB+EqAKpdl9nj/fa6XU IPr845WS2rKU1lUnWvCy6JE6OllzaKTnLxYa9CyPORpZ4/uTpgxphOwi1x+a2dEmxqXt bmZQ== Received: by 10.112.102.68 with SMTP id fm4mr3486367lbb.7.1330685083197; Fri, 02 Mar 2012 02:44:43 -0800 (PST) Received: from localhost ([78.157.92.5]) by mx.google.com with ESMTPS id w10sm7433971lbe.14.2012.03.02.02.44.41 (version=SSLv3 cipher=OTHER); Fri, 02 Mar 2012 02:44:42 -0800 (PST) Date: Fri, 2 Mar 2012 12:44:44 +0200 From: Gleb Kurtsou To: Alexander Best Message-ID: <20120302104444.GA19811@reks> References: <20120301233822.GA19709@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20120301233822.GA19709@freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-hackers@freebsd.org Subject: Re: small change to du, so it will accepts unit suffixes for negative thresholds X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2012 10:44:45 -0000 On (01/03/2012 23:38), Alexander Best wrote: > hi there, > > i just noticed that du will not accepts something like the following: > > du -t-500M > > whereas > > du -t500M > > will work. i've attached a patch, which makes unit suffixes in connection with > negative thresholds possible. Good catch, thanks. A few minor comments below. > > cheers. > alex > diff --git a/usr.bin/du/du.1 b/usr.bin/du/du.1 > index 3db1367..01d2ec1 100644 > --- a/usr.bin/du/du.1 > +++ b/usr.bin/du/du.1 > @@ -137,6 +137,10 @@ If > is negative, display only entries for which size is less than the absolute > value of > .Ar threshold . > +For both positive and negative values, > +.Ar threshold > +accepts unit suffixes > +.Po see Fl h Li option Pc . > .It Fl x > File system mount points are not traversed. > .El > diff --git a/usr.bin/du/du.c b/usr.bin/du/du.c > index 7b47b71..51bfd07 100644 > --- a/usr.bin/du/du.c > +++ b/usr.bin/du/du.c > @@ -175,13 +175,18 @@ main(int argc, char *argv[]) > break; > case 'r': /* Compatibility. */ > break; > - case 't' : > + case 't': > + if (strncmp(optarg, "-", 1) == 0) { Why not optarg[0] == '-', it makes intent more clear. I think we should support "+500M" as well. Perhaps we'd better use temporal variable for string value instead of changing optarg. Or initialize threshold_sign with 0, set it either to 1 or -1 if optarg starts with '+' or '-' accordingly, and do expand_number(optarg + (threshold_sign != 0 ? 1 : 0), &threshold) > + optarg++; > + threshold_sign = -1; > + } > if (expand_number(optarg, &threshold) != 0 || > threshold == 0) { > warnx("invalid threshold: %s", optarg); optarg can differ from original value because of optarg++ above. > usage(); > - } else if (threshold < 0) > - threshold_sign = -1; > + } > + if (threshold_sign == -1) > + threshold = -threshold; > break; > case 'x': > ftsoptions |= FTS_XDEV; > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 10:06:58 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E7B97106566C for ; Fri, 2 Mar 2012 10:06:58 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 8E5228FC0C for ; Fri, 2 Mar 2012 10:06:58 +0000 (UTC) Received: from outgoing.leidinger.net (p5796C459.dip.t-dialin.net [87.150.196.89]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id D9E0A844752; Fri, 2 Mar 2012 10:49:08 +0100 (CET) Received: from webmail.leidinger.net (webmail.Leidinger.net [IPv6:fd73:10c7:2053:1::3:102]) by outgoing.leidinger.net (Postfix) with ESMTPS id 3501F149C; Fri, 2 Mar 2012 10:49:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1330681746; bh=wz3J5EYTmYhmJ5ofkf4nfW0TEjDW4rHgYS+/mgLQlS8=; h=Date:Message-ID:From:To:Cc:Subject:References:In-Reply-To: Content-Type:MIME-Version; b=2AgwNU5Djwgw+KepLuur8J/fe/REvS5T0DBLs0DM6VIroCNJ2wPIO3uIxIqxknISU pPUnuDH1+PzPCMQG9A3kNIjr9rhnRL+9vYOBYF+wsQjHN8aMwXLvAUe14Hc5fu1EBW 6SZj4JjASDw+OQcTgYGQEQ7XTuWi2RrSGLHZ6rxH1IaBteJKSLFxj2eeDV7KxLQO35 fK0AnvJyroSuzf9UxIQ1//LWkXsD48lLqVoWWlxhG2rUCrUkNl+CTrs2HSxtcGnV8P Xu6jBbhlBo7K6FMrhCi+wJDYCQYOmCpAcD5ct4RUfgVRm+YaYb8sY+JGePcIktngSb kl2/8FpMH8KPw== Received: (from www@localhost) by webmail.leidinger.net (8.14.5/8.14.4/Submit) id q229n5jV031935; Fri, 2 Mar 2012 10:49:05 +0100 (CET) (envelope-from Alexander@Leidinger.net) X-Authentication-Warning: webmail.leidinger.net: www set sender to Alexander@Leidinger.net using -f Received: from 85.94.224.19 ([85.94.224.19]) by webmail.leidinger.net (Horde Framework) with HTTP; Fri, 02 Mar 2012 10:49:05 +0100 Date: Fri, 02 Mar 2012 10:49:05 +0100 Message-ID: <20120302104905.Horde.nZo8FZjmRSRPUJeRjhXXxkA@webmail.leidinger.net> From: Alexander Leidinger To: Shrikanth Kamath References: In-Reply-To: User-Agent: Internet Messaging Program (IMP) H4 (5.0.18) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: D9E0A844752.A30BF X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-0.659, required 6, autolearn=disabled, AWL -0.55, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, T_RP_MATCHES_RCVD -0.01) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1331286549.41425@9vu/JqZswZIcVys5wpphJQ X-EBL-Spam-Status: No X-Mailman-Approved-At: Fri, 02 Mar 2012 11:58:37 +0000 Cc: freebsd-hackers@freebsd.org Subject: Re: DTrace: Where do we run CTFCONVERT for kernel modules X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2012 10:06:59 -0000 Quoting Shrikanth Kamath (from Sun, 26 Feb 2012 13:24:19 +0530): > ...meaning, I see the following line in "sys/conf/kmod.mk", but that > is a CTFMERGE command. > > .if defined(MK_CTF) && ${MK_CTF} != "no" > ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${OBJS} > .endif > > Where do we run the CTFCONVERT on kernel modules? It is run from the Makefile of the kernel which is generated by the config(8) program. Bye, Alexander. -- Whenever I feel like exercise, I lie down until the feeling passes. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 15:17:03 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C014A1065676; Fri, 2 Mar 2012 15:17:03 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id B61F18FC15; Fri, 2 Mar 2012 15:17:02 +0000 (UTC) Received: by wibhn6 with SMTP id hn6so882911wib.13 for ; Fri, 02 Mar 2012 07:17:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:from:to:subject:date:content-type :content-transfer-encoding:x-mailer; bh=CWz4qQXQf4PfYRjkIQGM/ulzsGpsAYXQDCXiQt9Y4PI=; b=TbmmFRLFMJFuDR7DdmWVJoeYfHm58Yfo8pAWbj2MUsJfZpoJenBNXNrOnD7Rva/SQI GAoRKN3k5eMJSUq5HumtgZ7IweFdRexfK1DWIPAZfDM8pF4nwMLFh2Fmj2Nu6fDQyh4c B8aMwuuRd1noswmUIyOdFAE0D8Wy/oqI05WpHzBcbzsc45Fp2KQQ+wloW4VY93LlRJSi kxNcVpPgI3yTtfcojyqdb42kMzLDnJe85YYpooEloM//PqCMxh/59r4Z4MgQHu5dh87a FR/gh8gUWFLGbxMyq9bkgst9eS/U/3z/11yF2wokDtyv7Yq4Zj6TxAhvEFO/g+mJlhVj UXDg== Received: by 10.180.19.227 with SMTP id i3mr5048867wie.17.1330701421715; Fri, 02 Mar 2012 07:17:01 -0800 (PST) Received: from DOMYPC ([82.193.208.173]) by mx.google.com with ESMTPS id d7sm11300056wiz.6.2012.03.02.07.16.48 (version=SSLv3 cipher=OTHER); Fri, 02 Mar 2012 07:16:59 -0800 (PST) Message-ID: <20120302.151703.536.2@DOMY-PC> From: rank1seeker@gmail.com To: hackers@freebsd.org, "John Baldwin" , "Roman Divacky" , "Andriy Gapon" Date: Fri, 02 Mar 2012 16:17:03 +0100 Content-Type: text/plain; charset="Windows-1250" Content-Transfer-Encoding: quoted-printable X-Mailer: POP Peeper (3.8.1.0) Cc: Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2012 15:17:03 -0000 ----- Original Message -----=0D=0AFrom: John Baldwin = =0D=0ATo: rank1seeker@gmail.com=0D=0ACc: = hackers@freebsd.org, "Roman Divacky" , Andriy Gapon = =0D=0ADate: Thu, 1 Mar 2012 16:14:43 -0500=0D=0ASubject: = Re: BUG: 9.0 stage 2 boot (/boot/boot)=0D=0A=0D=0A=0D=0A> > However, avg@ = might have found the actual cause of the bug. And Roman did=0D=0A> > = indeed break this earlier. Try the updated boot2_test.patch = again.=0D=0A> =0D=0A> You should still try this.=0D=0A> =0D=0A> -- = =0D=0A> John Baldwin=0D=0A> =0D=0A=0D=0A=0D=0AUsing patch: MD5 = (boot2_test.patch) =3D = 72412f9b47b114302268561f12c1b46b=0D=0A=0D=0Ahttp://www.starforce.biz/stage2boot_1.jpg=0D=0A=0D=0AThis = is the worst patch as even RE-typing doesn't work.=0D=0AThat is, it is = completely unable to boot.=0D=0A=0D=0AThrow me another = patch!=0D=0A=0D=0A=0D=0A> Please don't treat John this way. He has put = in a lot of time for=0D=0A> you, and many others, and is one of THE = experts.=0D=0A> =0D=0A> Chris=0D=0A=0D=0A=0D=0AHe didn't got a bad = treatment, nor any side is angry.=0D=0ARelax! ;)=0D=0A=0D=0A=0D=0ADomagoj = Smol=E8i=E6=0D=0A=0D=0A From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 16:39:44 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 17D38106566B for ; Fri, 2 Mar 2012 16:39:44 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id C08DF8FC08 for ; Fri, 2 Mar 2012 16:39:43 +0000 (UTC) Received: by iahk25 with SMTP id k25so3265913iah.13 for ; Fri, 02 Mar 2012 08:39:43 -0800 (PST) Received-SPF: pass (google.com: domain of jhellenthal@dataix.net designates 10.42.177.133 as permitted sender) client-ip=10.42.177.133; Authentication-Results: mr.google.com; spf=pass (google.com: domain of jhellenthal@dataix.net designates 10.42.177.133 as permitted sender) smtp.mail=jhellenthal@dataix.net; dkim=pass header.i=jhellenthal@dataix.net Received: from mr.google.com ([10.42.177.133]) by 10.42.177.133 with SMTP id bi5mr8395586icb.40.1330706383367 (num_hops = 1); Fri, 02 Mar 2012 08:39:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dataix.net; s=rsa; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; bh=AvsIpWHhAd0vDPyTDXfVepKhZoaOED0cCDWvPGsUicg=; b=AmAGm3qDZhaHTpqeBoLpJNXdXqlX+5J2U4NY8px8eF2sHT87FaqSZ+GPKIwdutRB2W j4BjClxBzin2jn4slARFtxzR8w/FQZ4VPbFqtwYTq6pEAdy7omKMz18iwQ031q7RyG62 lw7dR8bAsYQuDhPX+WHDjuF/m9vNFv9budkeE= Received: by 10.42.177.133 with SMTP id bi5mr6902941icb.40.1330706383314; Fri, 02 Mar 2012 08:39:43 -0800 (PST) Received: from DataIX.net ([99.181.142.81]) by mx.google.com with ESMTPS id cv10sm2270713igc.13.2012.03.02.08.39.42 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 02 Mar 2012 08:39:42 -0800 (PST) Received: from DataIX.net (localhost [127.0.0.1]) by DataIX.net (8.14.5/8.14.5) with ESMTP id q22GddIr041962 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Mar 2012 11:39:39 -0500 (EST) (envelope-from jhellenthal@DataIX.net) Received: (from jhellenthal@localhost) by DataIX.net (8.14.5/8.14.5/Submit) id q22Gddm0041520; Fri, 2 Mar 2012 11:39:39 -0500 (EST) (envelope-from jhellenthal@DataIX.net) Date: Fri, 2 Mar 2012 11:39:39 -0500 From: Jason Hellenthal To: Alexander Best Message-ID: <20120302163939.GA284@DataIX.net> References: <20120301233822.GA19709@freebsd.org> <20120302063659.GB31588@DataIX.net> <20120302103333.GA88008@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120302103333.GA88008@freebsd.org> X-Gm-Message-State: ALoCoQl/ausd/9j+rrSKqwy9DlAoRf1WDRdNSO0egsRoNMc2kdUVl8Dy1hgBWK56hsm+Y5am83f+ Cc: freebsd-hackers@freebsd.org Subject: Re: small change to du, so it will accepts unit suffixes for negative thresholds X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2012 16:39:44 -0000 On Fri, Mar 02, 2012 at 10:33:33AM +0000, Alexander Best wrote: > On Fri Mar 2 12, Jason Hellenthal wrote: > > > > > > On Thu, Mar 01, 2012 at 11:38:22PM +0000, Alexander Best wrote: > > > hi there, > > > > > > i just noticed that du will not accepts something like the following: > > > > > > du -t-500M > > > > > > whereas > > > > > > du -t500M > > > > > > will work. i've attached a patch, which makes unit suffixes in connection with > > > negative thresholds possible. > > > > > > > I don't get it. I just ran both instances of what you have above without > > your patch on 8-STABLE i386 and both work as intended. Are you seeing > > something I am not ? > > you are right. there seems to have been a du change between 8-STABLE and HEAD, > or maybe even in expand_number(). > > when i run 'du -t-500M /' on HEAD i get: > > du: invalid threshold: -500M > usage: du [-Aclnx] [-H | -L | -P] [-h | -k | -m ] [-a | -s | -d depth] [-B blocksize] [-I mask] [-t threshold] [file ...] > > ... i'll investigate some more. i also found that on 8-STABLE du isn't working > properly in all cases. try the following: > > mkdir empty ; cd empty ; mkdir empty2 > > running 'du -t-1M' should report empty2, but it doesn't. running 'du -t-2M' > does. according to 'ls -la' an empty directory is 4096 byte. so 'du -t-4097' > should report the empty dir; however it doesn't. du seems to quite broken when > it comes to the -t option. have a look at the following: > > mkdir empty3; cd empty3; du -h -t1M > > reports > > 2,0k . > > that's completely wrong, since i instructed du to only display entries > 1 megabyte. > with locale being that of UTF-8 in an xterm I get the expected result from this. I would expect that locale of C would do the same. It seems that du(1) is not locale aware enough for calculating the sums and comparing them. I see 2,0k in your output where in mine it is 2.0 disbatch$ mkdir empty ; cd empty ; mkdir empty2 disbatch$ du -ht-1M 2.0k ./empty2 4.0k . disbatch$ du -t-1M 2 ./empty2 4 . disbatch$ locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_COLLATE=C LC_TIME="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_ALL= This was done under /bin/sh 8-STABLE i386 as of the date of this message. -- ;s =; From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 18:06:24 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 56ADE106564A; Fri, 2 Mar 2012 18:06:24 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 755118FC0C; Fri, 2 Mar 2012 18:06:23 +0000 (UTC) Received: by eekd17 with SMTP id d17so741352eek.13 for ; Fri, 02 Mar 2012 10:06:22 -0800 (PST) Received-SPF: pass (google.com: domain of rank1seeker@gmail.com designates 10.213.103.204 as permitted sender) client-ip=10.213.103.204; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rank1seeker@gmail.com designates 10.213.103.204 as permitted sender) smtp.mail=rank1seeker@gmail.com; dkim=pass header.i=rank1seeker@gmail.com Received: from mr.google.com ([10.213.103.204]) by 10.213.103.204 with SMTP id l12mr1077968ebo.101.1330711582561 (num_hops = 1); Fri, 02 Mar 2012 10:06:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:from:to:subject:date:content-type :content-transfer-encoding:in-reply-to:references:x-mailer; bh=oJT3upQc4+BMJ/NXAj2RESqIikL9Ej8CPfpksokV8ac=; b=R75hBwD89OWBPilcdaagNj4xypi9nOZBLknEoHFLoTK9Ah829KViQVS7AKhI+3kpI2 bX0XlwK6zXRXzLj4OrBQ/CrPJxSHjecEU/RXIgTKHsifOIgi1JXSMzwQSb7B41qvCMp6 QMz38vUw2nYD/vw2XqyX78hQQEo4W3bVFFurr5zEnCYilbe+2+HaGbBB1sWKEUaugLKT 3LNqprw5jhsM9csuEQBjL+HsiMTmt3M2OMXzd41op8uAmKDnOnOHOmzGRGNX6pt3jgvC koXFddkuj7uhBNIxfPVIPZZ3UEvlBeKgLt1Coblcn4O4uWnso3kzKXnaxxvZNGZRA042 ukDw== Received: by 10.213.103.204 with SMTP id l12mr837545ebo.101.1330711582449; Fri, 02 Mar 2012 10:06:22 -0800 (PST) Received: from DOMYPC ([82.193.208.173]) by mx.google.com with ESMTPS id u11sm22944402eeb.1.2012.03.02.10.05.02 (version=SSLv3 cipher=OTHER); Fri, 02 Mar 2012 10:06:21 -0800 (PST) Message-ID: <20120302.180625.051.3@DOMY-PC> From: rank1seeker@gmail.com To: "Chris Rees" , "Garrett Cooper" , hackers@freebsd.org, fjoe@freebsd.org, "Eygene Ryabinkin" Date: Fri, 02 Mar 2012 19:06:25 +0100 Content-Type: text/plain; charset="Windows-1250" Content-Transfer-Encoding: quoted-printable In-Reply-To: References: <20120301.155632.137.2@DOMY-PC> X-Mailer: POP Peeper (3.8.1.0) Cc: Subject: Re: src builds and STDERR X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2012 18:06:24 -0000 ----- Original Message -----=0D=0AFrom: Eygene Ryabinkin = =0D=0ATo: Garrett Cooper =0D=0ACc: = Chris Rees , rank1seeker@gmail.com, = hackers@freebsd.org, fjoe@freebsd.org=0D=0ADate: Fri, 2 Mar 2012 10:24:59 = +0400=0D=0ASubject: Re: src builds and STDERR=0D=0A=0D=0A> Thu, Mar 01, = 2012 at 09:38:06AM -0800, Garrett Cooper wrote:=0D=0A> > On Thu, Mar 1, = 2012 at 9:01 AM, Chris Rees wrote:=0D=0A> > > On 1 = Mar 2012 16:31, "Garrett Cooper" wrote:=0D=0A> > >> = See:=0D=0A> > >> = http://lists.freebsd.org/pipermail/freebsd-current/2011-December/029852.html=0D=0A> = > >> . Why this patch is still not in FreeBSD proper, I do not = know.=0D=0A> [...]=0D=0A> > bin/165589 -- thanks!=0D=0A> =0D=0A> The = patch from mailing list was already committed to HEAD more than=0D=0A> 2 = weeks ago,=0D=0A> = http://svnweb.freebsd.org/base?view=3Drevision&revision=3D231544=0D=0A> = Don't see the MFC timeline, though. Max, any plans for MFC?=0D=0A> = =0D=0A> On the other hand, the error diagnostics from make goes to stdout = --=0D=0A> not very good, because more logical place is stderr. The = following patch=0D=0A> should help a bit,=0D=0A> = http://codelabs.ru/fbsd/patches/make/make-redirect-own-error-messages-to-stderr.patch=0D=0A> = but I should review it once more and modify the regression suite = to=0D=0A> handle the change in the make behaviour.=0D=0A> =0D=0A> Any = thoughts?=0D=0A> -- =0D=0A> Eygene Ryabinkin = ,,,^..^,,,=0D=0A=0D=0A=0D=0AExcellent! Yours patch(separating = stdout & stderr) on top of Garrett's patch, should make it work as it = should!=0D=0AWhen you review and test it, throw an url of unified = patch.=0D=0AAnd also make sure this gets MFC-ed to 8.3 and = 9.1=0D=0A=0D=0A=0D=0ADomagoj Smol=E8i=E6 From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 18:19:38 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B00D4106566C; Fri, 2 Mar 2012 18:19:38 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 823D88FC17; Fri, 2 Mar 2012 18:19:38 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id 3146846B2A; Fri, 2 Mar 2012 13:19:38 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id A5F1DB975; Fri, 2 Mar 2012 13:19:37 -0500 (EST) From: John Baldwin To: Doug Barton Date: Fri, 2 Mar 2012 11:52:07 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: <20120217.074355.853.1@DOMY-PC> <201203011614.44106.jhb@freebsd.org> <4F4FF6CF.8030806@FreeBSD.org> In-Reply-To: <4F4FF6CF.8030806@FreeBSD.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201203021152.08111.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Fri, 02 Mar 2012 13:19:37 -0500 (EST) Cc: rank1seeker@gmail.com, Roman Divacky , hackers@freebsd.org, Andriy Gapon Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2012 18:19:38 -0000 On Thursday, March 01, 2012 5:23:11 pm Doug Barton wrote: > On 3/1/2012 1:14 PM, John Baldwin wrote: > > My firefox on my BSD desktop was caching the image. > > Holding down Shift when clicking reload usually handles this. Only if you already know that FF is incorrectly caching the image. :( -- John Baldwin From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 18:19:39 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DDC851065675; Fri, 2 Mar 2012 18:19:39 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id B0E8C8FC08; Fri, 2 Mar 2012 18:19:39 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id 6630A46B32; Fri, 2 Mar 2012 13:19:39 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id E6FB1B948; Fri, 2 Mar 2012 13:19:38 -0500 (EST) From: John Baldwin To: rank1seeker@gmail.com Date: Fri, 2 Mar 2012 12:24:24 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: <20120302.151703.536.2@DOMY-PC> In-Reply-To: <20120302.151703.536.2@DOMY-PC> MIME-Version: 1.0 Content-Type: Text/Plain; charset="windows-1250" Content-Transfer-Encoding: 7bit Message-Id: <201203021224.24735.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Fri, 02 Mar 2012 13:19:39 -0500 (EST) Cc: Roman Divacky , hackers@freebsd.org, Andriy Gapon Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2012 18:19:39 -0000 On Friday, March 02, 2012 10:17:03 am rank1seeker@gmail.com wrote: > ----- Original Message ----- > From: John Baldwin > To: rank1seeker@gmail.com > Cc: hackers@freebsd.org, "Roman Divacky" , Andriy Gapon > Date: Thu, 1 Mar 2012 16:14:43 -0500 > Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) > > > > > However, avg@ might have found the actual cause of the bug. And Roman did > > > indeed break this earlier. Try the updated boot2_test.patch again. > > > > You should still try this. > > > > -- > > John Baldwin > > > > > Using patch: MD5 (boot2_test.patch) = 72412f9b47b114302268561f12c1b46b > > http://www.starforce.biz/stage2boot_1.jpg > > This is the worst patch as even RE-typing doesn't work. > That is, it is completely unable to boot. > > Throw me another patch! Ah, was using sizeof() on the wrong thing, and I have a fix for the garbage you saw for kname as well. Patch is updated at the normal URL. > > Please don't treat John this way. He has put in a lot of time for > > you, and many others, and is one of THE experts. > > > > Chris > > > He didn't got a bad treatment, nor any side is angry. > Relax! ;) Actually, you've been rather rude for the entire thread, I am just doing my best to ignore it in the interest of getting the bug fixed. -- John Baldwin From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 18:25:31 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by hub.freebsd.org (Postfix) with ESMTP id DA2C4106564A; Fri, 2 Mar 2012 18:25:31 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from opti.dougb.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 209F117793C; Fri, 2 Mar 2012 18:23:54 +0000 (UTC) Message-ID: <4F511039.8050307@FreeBSD.org> Date: Fri, 02 Mar 2012 10:23:53 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120224 Thunderbird/10.0.2 MIME-Version: 1.0 To: John Baldwin References: <20120217.074355.853.1@DOMY-PC> <201203011614.44106.jhb@freebsd.org> <4F4FF6CF.8030806@FreeBSD.org> <201203021152.08111.jhb@freebsd.org> In-Reply-To: <201203021152.08111.jhb@freebsd.org> X-Enigmail-Version: 1.3.5 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: rank1seeker@gmail.com, Roman Divacky , hackers@freebsd.org, Andriy Gapon Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2012 18:25:31 -0000 On 03/02/2012 08:52, John Baldwin wrote: > On Thursday, March 01, 2012 5:23:11 pm Doug Barton wrote: >> On 3/1/2012 1:14 PM, John Baldwin wrote: >>> My firefox on my BSD desktop was caching the image. >> >> Holding down Shift when clicking reload usually handles this. > > Only if you already know that FF is incorrectly caching the image. :( True'ish (since "incorrectly" depends on a lot of details that are outside the scope of this thread) but isn't it always a safe assumption that browsers are doing something other than what we want in order to "help" us? :) -- This .signature sanitized for your protection From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 18:46:36 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4AE21065674; Fri, 2 Mar 2012 18:46:36 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id B89F18FC0A; Fri, 2 Mar 2012 18:46:35 +0000 (UTC) Received: by eekd17 with SMTP id d17so752116eek.13 for ; Fri, 02 Mar 2012 10:46:34 -0800 (PST) Received-SPF: pass (google.com: domain of rank1seeker@gmail.com designates 10.14.37.69 as permitted sender) client-ip=10.14.37.69; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rank1seeker@gmail.com designates 10.14.37.69 as permitted sender) smtp.mail=rank1seeker@gmail.com; dkim=pass header.i=rank1seeker@gmail.com Received: from mr.google.com ([10.14.37.69]) by 10.14.37.69 with SMTP id x45mr6562088eea.43.1330713994872 (num_hops = 1); Fri, 02 Mar 2012 10:46:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:from:to:subject:date:content-type :content-transfer-encoding:in-reply-to:references:x-mailer; bh=c2E8YqhfEjD1eBpGEzXVRn0GGC1ti7oFS9qusfpY/1w=; b=eKbmlx5NFLf3XT8CF5BaOVr3NHFqjhJQvdooobG+7/qskGKIqJixMR7WEgFv6mmdEw ocrrLXIHQ4x2RoRbo1whonInImlQtIgTujLcX3xtnFU/i50vp6PdeQOz+wAJPkLKwSuq LoKZnzbF5D+C/LeX/mmOwTH4d29Yg+v1zcvJ4e1olftlKuEPN6DByk8oGdjBupPw4b/p zmaEyBA5Rh+zH/oI8bDZp2HwGM+jk4CU5CIUkCaDyVzA7mljkG9AfOcutQ7v/zNfR5nS vdjRHGo1he6ZSE+TTS06wlOrKvwbS1b4wnMQElone5dLousDe8diDazK1SCB1xG0OguX TTpw== Received: by 10.14.37.69 with SMTP id x45mr5057747eea.43.1330713994558; Fri, 02 Mar 2012 10:46:34 -0800 (PST) Received: from DOMYPC ([82.193.208.173]) by mx.google.com with ESMTPS id u11sm23354971eeb.1.2012.03.02.10.45.57 (version=SSLv3 cipher=OTHER); Fri, 02 Mar 2012 10:46:33 -0800 (PST) Message-ID: <20120302.184637.320.4@DOMY-PC> From: rank1seeker@gmail.com To: hackers@freebsd.org, "John Baldwin" , "Roman Divacky" , "Andriy Gapon" Date: Fri, 02 Mar 2012 19:46:37 +0100 Content-Type: text/plain; charset="Windows-1250" Content-Transfer-Encoding: quoted-printable In-Reply-To: <201203021224.24735.jhb@freebsd.org> References: <20120302.151703.536.2@DOMY-PC> <201203021224.24735.jhb@freebsd.org> X-Mailer: POP Peeper (3.8.1.0) Cc: Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2012 18:46:36 -0000 ----- Original Message -----=0D=0AFrom: John Baldwin = =0D=0ATo: rank1seeker@gmail.com=0D=0ACc: = hackers@freebsd.org, "Roman Divacky" , "Andriy = Gapon" =0D=0ADate: Fri, 2 Mar 2012 12:24:24 = -0500=0D=0ASubject: Re: BUG: 9.0 stage 2 boot (/boot/boot)=0D=0A=0D=0A> = On Friday, March 02, 2012 10:17:03 am rank1seeker@gmail.com wrote:=0D=0A> = > ----- Original Message -----=0D=0A> > From: John Baldwin = =0D=0A> > To: rank1seeker@gmail.com=0D=0A> > Cc: = hackers@freebsd.org, "Roman Divacky" , Andriy Gapon = =0D=0A> > Date: Thu, 1 Mar 2012 16:14:43 -0500=0D=0A> > = Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot)=0D=0A> > =0D=0A> > = =0D=0A> > > > However, avg@ might have found the actual cause of the bug. = And Roman did=0D=0A> > > > indeed break this earlier. Try the updated = boot2_test.patch again.=0D=0A> > > =0D=0A> > > You should still try = this.=0D=0A> > > =0D=0A> > > -- =0D=0A> > > John Baldwin=0D=0A> > > = =0D=0A> > =0D=0A> > =0D=0A> > Using patch: MD5 (boot2_test.patch) =3D = 72412f9b47b114302268561f12c1b46b=0D=0A> > =0D=0A> > = http://www.starforce.biz/stage2boot_1.jpg=0D=0A> > =0D=0A> > This is the = worst patch as even RE-typing doesn't work.=0D=0A> > That is, it is = completely unable to boot.=0D=0A> > =0D=0A> > Throw me another = patch!=0D=0A> =0D=0A> Ah, was using sizeof() on the wrong thing, and I = have a fix for the garbage=0D=0A> you saw for kname as well. Patch is = updated at the normal URL.=0D=0A> =0D=0A> > > Please don't treat John = this way. He has put in a lot of time for=0D=0A> > > you, and many = others, and is one of THE experts.=0D=0A> > > =0D=0A> > > Chris=0D=0A> > = =0D=0A> > =0D=0A> > He didn't got a bad treatment, nor any side is = angry.=0D=0A> > Relax! ;)=0D=0A> =0D=0A> Actually, you've been rather = rude for the entire thread, I am just doing my=0D=0A> best to ignore it = in the interest of getting the bug fixed.=0D=0A> =0D=0A> -- =0D=0A> John = Baldwin=0D=0A> =0D=0A=0D=0AI'm sorry if you think so, especially part = where I am rude through the entire thread. That I can hardly = believe.=0D=0AI am also actively testing and am persistant in solving = issue.=0D=0AOr is problem in my perception?=0D=0A=0D=0AAnyway, yours = latest patch has a same md5 hash as a previous one and also built binary = /boot/boot had same md5 hash.=0D=0ASo I've simply skipped installing boot = code.=0D=0A=0D=0A=0D=0ADomagoj Smol=E8i=E6 From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 19:47:15 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BDCC1065675; Fri, 2 Mar 2012 19:47:15 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 5E3B68FC0C; Fri, 2 Mar 2012 19:47:15 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id 168C746B17; Fri, 2 Mar 2012 14:47:15 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 75231B975; Fri, 2 Mar 2012 14:47:14 -0500 (EST) From: John Baldwin To: rank1seeker@gmail.com Date: Fri, 2 Mar 2012 14:46:59 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: <20120302.151703.536.2@DOMY-PC> <201203021224.24735.jhb@freebsd.org> <20120302.184637.320.4@DOMY-PC> In-Reply-To: <20120302.184637.320.4@DOMY-PC> MIME-Version: 1.0 Content-Type: Text/Plain; charset="windows-1250" Content-Transfer-Encoding: 7bit Message-Id: <201203021446.59663.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Fri, 02 Mar 2012 14:47:14 -0500 (EST) Cc: Roman Divacky , hackers@freebsd.org, Andriy Gapon Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2012 19:47:15 -0000 On Friday, March 02, 2012 1:46:37 pm rank1seeker@gmail.com wrote: > ----- Original Message ----- > From: John Baldwin > To: rank1seeker@gmail.com > Cc: hackers@freebsd.org, "Roman Divacky" , "Andriy Gapon" > Date: Fri, 2 Mar 2012 12:24:24 -0500 > Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) > > > On Friday, March 02, 2012 10:17:03 am rank1seeker@gmail.com wrote: > > > ----- Original Message ----- > > > From: John Baldwin > > > To: rank1seeker@gmail.com > > > Cc: hackers@freebsd.org, "Roman Divacky" , Andriy Gapon > > > Date: Thu, 1 Mar 2012 16:14:43 -0500 > > > Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) > > > > > > > > > > > However, avg@ might have found the actual cause of the bug. And Roman did > > > > > indeed break this earlier. Try the updated boot2_test.patch again. > > > > > > > > You should still try this. > > > > > > > > -- > > > > John Baldwin > > > > > > > > > > > > > Using patch: MD5 (boot2_test.patch) = 72412f9b47b114302268561f12c1b46b > > > > > > http://www.starforce.biz/stage2boot_1.jpg > > > > > > This is the worst patch as even RE-typing doesn't work. > > > That is, it is completely unable to boot. > > > > > > Throw me another patch! > > > > Ah, was using sizeof() on the wrong thing, and I have a fix for the garbage > > you saw for kname as well. Patch is updated at the normal URL. > > > > > > Please don't treat John this way. He has put in a lot of time for > > > > you, and many others, and is one of THE experts. > > > > > > > > Chris > > > > > > > > > He didn't got a bad treatment, nor any side is angry. > > > Relax! ;) > > > > Actually, you've been rather rude for the entire thread, I am just doing my > > best to ignore it in the interest of getting the bug fixed. > > > > -- > > John Baldwin > > > > I'm sorry if you think so, especially part where I am rude through the entire thread. That I can hardly believe. > I am also actively testing and am persistant in solving issue. > Or is problem in my perception? I think it may just be that your language comes off as being a bit demanding, plus a fair bit of all caps, etc. If English is not your native language then that may also be a factor. If you are not intending to be rude then that is plenty good enough for me. :) > Anyway, yours latest patch has a same md5 hash as a previous one and also built binary /boot/boot had same md5 hash. > So I've simply skipped installing boot code. Yes, my bad, I updated it locally but forgot to upload it to the URL. It should really be updated now. -- John Baldwin From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 19:58:16 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A6C8C1065670; Fri, 2 Mar 2012 19:58:16 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id B13418FC14; Fri, 2 Mar 2012 19:58:15 +0000 (UTC) Received: by eekd17 with SMTP id d17so769396eek.13 for ; Fri, 02 Mar 2012 11:58:14 -0800 (PST) Received-SPF: pass (google.com: domain of rank1seeker@gmail.com designates 10.213.108.147 as permitted sender) client-ip=10.213.108.147; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rank1seeker@gmail.com designates 10.213.108.147 as permitted sender) smtp.mail=rank1seeker@gmail.com; dkim=pass header.i=rank1seeker@gmail.com Received: from mr.google.com ([10.213.108.147]) by 10.213.108.147 with SMTP id f19mr33784ebp.162.1330718294932 (num_hops = 1); Fri, 02 Mar 2012 11:58:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:from:to:subject:date:content-type :content-transfer-encoding:in-reply-to:references:x-mailer; bh=09rlflsSSW7EaOUvZ28OjJHSd+4KoTeeT+Z1ztjDcP0=; b=adL/zYSRfm1N+baJ2GF/wjXeU73IRujPIj4Hg8CTIiaUOazOvFYnYNNX+xROI7TZRf 4yUzsY4tvwe6rNhpH3ug+xon+waru/2ZnJH+BF0DNazrisz+1zcnLbjsE6NDmxD5dgqk DVgXiIj/cEMD0ThQimhJcDmM5FGnMl3BgufZN8sJfZ1uCC/Zh55cjdFm296NahIhLpPC dAD7PtljAYK4toOhNnrUO6G2wvThTbdCxTp+Kl3y7qgBnlPmguhIetLXboBEcxIPwvP0 +VsCUaVsO8LhuCP9CJ12tUv3yk5ca6CpmLb+u/FEjWhjGe80jw3gQR/HV2H0Yq5BPGU1 Tp7g== Received: by 10.213.108.147 with SMTP id f19mr28301ebp.162.1330718294769; Fri, 02 Mar 2012 11:58:14 -0800 (PST) Received: from DOMYPC ([82.193.208.173]) by mx.google.com with ESMTPS id r5sm24046953eef.6.2012.03.02.11.58.07 (version=SSLv3 cipher=OTHER); Fri, 02 Mar 2012 11:58:13 -0800 (PST) Message-ID: <20120302.195816.794.5@DOMY-PC> From: rank1seeker@gmail.com To: hackers@freebsd.org, "John Baldwin" , "Roman Divacky" , "Andriy Gapon" Date: Fri, 02 Mar 2012 20:58:16 +0100 Content-Type: text/plain; charset="Windows-1250" Content-Transfer-Encoding: quoted-printable In-Reply-To: <201203021446.59663.jhb@freebsd.org> References: <20120302.151703.536.2@DOMY-PC> <201203021224.24735.jhb@freebsd.org> <20120302.184637.320.4@DOMY-PC> <201203021446.59663.jhb@freebsd.org> X-Mailer: POP Peeper (3.8.1.0) Cc: Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2012 19:58:16 -0000 ----- Original Message -----=0D=0AFrom: John Baldwin = =0D=0ATo: rank1seeker@gmail.com=0D=0ACc: = hackers@freebsd.org, "Roman Divacky" , "Andriy = Gapon" =0D=0ADate: Fri, 2 Mar 2012 14:46:59 = -0500=0D=0ASubject: Re: BUG: 9.0 stage 2 boot (/boot/boot)=0D=0A=0D=0A> = On Friday, March 02, 2012 1:46:37 pm rank1seeker@gmail.com wrote:=0D=0A> = > ----- Original Message -----=0D=0A> > From: John Baldwin = =0D=0A> > To: rank1seeker@gmail.com=0D=0A> > Cc: = hackers@freebsd.org, "Roman Divacky" , "Andriy = Gapon" =0D=0A> > Date: Fri, 2 Mar 2012 12:24:24 = -0500=0D=0A> > Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot)=0D=0A> > = =0D=0A> > > On Friday, March 02, 2012 10:17:03 am rank1seeker@gmail.com = wrote:=0D=0A> > > > ----- Original Message -----=0D=0A> > > > From: John = Baldwin =0D=0A> > > > To: rank1seeker@gmail.com=0D=0A> > = > > Cc: hackers@freebsd.org, "Roman Divacky" , = Andriy Gapon =0D=0A> > > > Date: Thu, 1 Mar 2012 = 16:14:43 -0500=0D=0A> > > > Subject: Re: BUG: 9.0 stage 2 boot = (/boot/boot)=0D=0A> > > > =0D=0A> > > > =0D=0A> > > > > > However, avg@ = might have found the actual cause of the bug. And Roman did=0D=0A> > > > = > > indeed break this earlier. Try the updated boot2_test.patch = again.=0D=0A> > > > > =0D=0A> > > > > You should still try this.=0D=0A> > = > > > =0D=0A> > > > > -- =0D=0A> > > > > John Baldwin=0D=0A> > > > > = =0D=0A> > > > =0D=0A> > > > =0D=0A> > > > Using patch: MD5 = (boot2_test.patch) =3D 72412f9b47b114302268561f12c1b46b=0D=0A> > > > = =0D=0A> > > > http://www.starforce.biz/stage2boot_1.jpg=0D=0A> > > > = =0D=0A> > > > This is the worst patch as even RE-typing doesn't = work.=0D=0A> > > > That is, it is completely unable to boot.=0D=0A> > > > = =0D=0A> > > > Throw me another patch!=0D=0A> > > =0D=0A> > > Ah, was = using sizeof() on the wrong thing, and I have a fix for the = garbage=0D=0A> > > you saw for kname as well. Patch is updated at the = normal URL.=0D=0A> > > =0D=0A> > > > > Please don't treat John this way. = He has put in a lot of time for=0D=0A> > > > > you, and many others, and = is one of THE experts.=0D=0A> > > > > =0D=0A> > > > > Chris=0D=0A> > > > = =0D=0A> > > > =0D=0A> > > > He didn't got a bad treatment, nor any side = is angry.=0D=0A> > > > Relax! ;)=0D=0A> > > =0D=0A> > > Actually, you've = been rather rude for the entire thread, I am just doing my=0D=0A> > > = best to ignore it in the interest of getting the bug fixed.=0D=0A> > > = =0D=0A> > > -- =0D=0A> > > John Baldwin=0D=0A> > > =0D=0A> > =0D=0A> > = I'm sorry if you think so, especially part where I am rude through the = entire thread. That I can hardly believe.=0D=0A> > I am also actively = testing and am persistant in solving issue.=0D=0A> > Or is problem in my = perception?=0D=0A> =0D=0A> I think it may just be that your language = comes off as being a bit demanding,=0D=0A> plus a fair bit of all caps, = etc. If English is not your native language=0D=0A> then that may also be = a factor. If you are not intending to be rude then that=0D=0A> is plenty = good enough for me. :)=0D=0A> =0D=0A> > Anyway, yours latest patch has a = same md5 hash as a previous one and also built binary /boot/boot had same = md5 hash.=0D=0A> > So I've simply skipped installing boot code.=0D=0A> = =0D=0A> Yes, my bad, I updated it locally but forgot to upload it to the = URL.=0D=0A> It should really be updated now.=0D=0A> =0D=0A> -- =0D=0A> = John Baldwin=0D=0A> =0D=0A=0D=0A=0D=0AUsing MD5 (boot2_test.patch) =3D = 05c46840163f789d362b46bf51b6c79f=0D=0A=0D=0AI can't build = it.=0D=0A=0D=0A# cd /sys/boot=0D=0A# make clean && make obj && make = depend && make && make install && make = clean=0D=0A=0D=0A------=0D=0A=3D=3D=3D> i386/boot2 (all)=0D=0Aobjcopy -S = -O binary boot1.out boot1=0D=0Add if=3D/dev/zero of=3Dboot2.ldr bs=3D512 = count=3D1=0D=0A1+0 records in=0D=0A1+0 records out=0D=0A512 bytes = transferred in 0.000116 secs (4409617 bytes/sec)=0D=0Acc -Os = -fno-guess-branch-probability -fomit-frame-pointer -fno-unit-at-a-time = -mno-align-long-strings -mrtd -mregparm=3D3 -DUSE_XREAD = -DUFS1_AND_UFS2 -DFLAGS=3D0x80 -DSIOPRT=3D0x3f8 -DSIOFMT=3D0x3 = -DSIOSPD=3D9600 -I/usr/src/sys/boot/i386/boot2/../../common = -I/usr/src/sys/boot/i386/boot2/../btx/lib -I. -Wall -Waggregate-return = -Wbad-function-cast -Wcast-align -Wmissing-declarations = -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow = -Wstrict-prototypes -Wwrite-strings -Winline --param = max-inline-insns-single=3D100 -ffreestanding = -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 = -mno-sse3 -msoft-float -std=3Dgnu99 -S -o boot2.s.tmp = /usr/src/sys/boot/i386/boot2/boot2.c=0D=0A/usr/src/sys/boot/i386/boot2/boot2.c: = In function 'main':=0D=0A/usr/src/sys/boot/i386/boot2/boot2.c:282: error: = expected ':' before ')' token=0D=0A/usr/src/sys/boot/i386/boot2/boot2.c: = In function 'parse':=0D=0A/usr/src/sys/boot/i386/boot2/boot2.c:468: = warning: passing argument 1 of 'memcpy' discards qualifiers from pointer = target type=0D=0A*** [boot2.s] Error code 1=0D=0A=0D=0AStop in = /usr/src/sys/boot/i386/boot2.=0D=0A*** [all] Error code 1=0D=0A=0D=0AStop = in /usr/src/sys/boot/i386.=0D=0A*** [all] Error code 1=0D=0A=0D=0AStop in = /usr/src/sys/boot.=0D=0A------=0D=0A=0D=0A=0D=0ADomagoj = Smol=E8i=E6=0D=0A=0D=0A From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 20:49:08 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F33821065670 for ; Fri, 2 Mar 2012 20:49:08 +0000 (UTC) (envelope-from seanbru@yahoo-inc.com) Received: from mrout1-b.corp.bf1.yahoo.com (mrout1-b.corp.bf1.yahoo.com [98.139.253.104]) by mx1.freebsd.org (Postfix) with ESMTP id A93EC8FC18 for ; Fri, 2 Mar 2012 20:49:08 +0000 (UTC) Received: from [IPv6:::1] (rideseveral.corp.yahoo.com [10.73.160.231]) by mrout1-b.corp.bf1.yahoo.com (8.14.4/8.14.4/y.out) with ESMTP id q22KcjZa035380; Fri, 2 Mar 2012 12:38:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yahoo-inc.com; s=cobra; t=1330720725; bh=2isr3s+fR949bOka5k1HPg6yEYzMbJVQpmC6P+yxW1Q=; h=Subject:From:Reply-To:To:Content-Type:Date:Message-ID: Mime-Version; b=r/gr74pcTJYXGk0PIfdo7Kcmpz+cKn4msPdbakw4MUgKmc3x1R24uCUsCr+KqXU71 /PliEg9iMi0rb1fki9/RxrgPA0cwQFj7KVgIvoO42pCYGgH0jXHRS0pCu1J27nBcXA pWDxu0zXpXdnWC3Tk2GQFU5YJfjfTjsFYhm2zEsw= From: Sean Bruno To: hackers@freebsd.org Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-fBr89LSh/s3j85QKJKm1" Date: Fri, 02 Mar 2012 12:38:44 -0800 Message-ID: <1330720724.5391.2.camel@powernoodle-l7.corp.yahoo.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Cc: Subject: [patch] Disable bios probe if acpi is enabled X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: sbruno@freebsd.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2012 20:49:09 -0000 --=-fBr89LSh/s3j85QKJKm1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I'm noting that newer machines are completely hosed if we attempt to probe for bios values. I'm proposing this change. -bash-4.2$ p4 diff -du //depot/yahoo/ybsd_7/src/sys/i386/i386/bios.c --- //depot/yahoo/ybsd_7/src/sys/i386/i386/bios.c 2011-09-16 22:47:30.000000000 0000 +++ /home/seanbru/ybsd_7/src/sys/i386/i386/bios.c 2011-09-16 22:47:30.000000000 0000 @@ -84,6 +84,12 @@ char *p; =20 /* + * Don't do bios probing if acpi is enabled, its + * pointless and breaks on newer systems + */ + if (!resource_disabled("acpi", 0)) + return; + /* * BIOS32 Service Directory, PCI BIOS */ --=-fBr89LSh/s3j85QKJKm1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iQEcBAABAgAGBQJPUS/UAAoJEL2UHwafTLtO5iYH/1C0Rpfo1UHFHnhn0G7qHscl WJGeScyGo3UaMuqUIHYJV/HEYirzUxCfzG6xYC6ple1OMAb6zfGqCapB2NnIQSgn JcnQKImsfdyrw6y/iyO+0vPm3GghI4qC5zokT1khvdGjf1hK1TOIEshJ5+jg08bn wxQEvM9js6aunEq1POpYd0fgpa+H3UTv2/uYTi/5lk4pCth8c22ZGb1I644RkOj+ /7wP2LPLCpWOw6g7jqQ50o3CyQgaeo3cMh8LUVFvkd0L4txjyeuOd/ErRZf12u9x DMVErsYcGGAhhEPdS2MQCMZXjxgnpdCIiz24tqsqHMjXTeviD6YkZM7aMEeVTkc= =N1u9 -----END PGP SIGNATURE----- --=-fBr89LSh/s3j85QKJKm1-- From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 20:44:20 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3BEC1065670 for ; Fri, 2 Mar 2012 20:44:20 +0000 (UTC) (envelope-from lgj@usenix.org) Received: from lonestar.usenix.org (lonestar.usenix.org [131.106.3.102]) by mx1.freebsd.org (Postfix) with ESMTP id AEE358FC18 for ; Fri, 2 Mar 2012 20:44:20 +0000 (UTC) Received: from 131-106-3-0-90.usenix.org (vpn90.usenix.org [131.106.3.90]) (authenticated bits=0) by lonestar.usenix.org (8.14.2/8.14.2) with ESMTP id q22KXDJ6003986 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Fri, 2 Mar 2012 12:34:10 -0800 (PST) From: Lionel Garth Jones Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 2 Mar 2012 12:34:10 -0800 Message-Id: To: freebsd-hackers@freebsd.org Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-DCC-USENIX-Metrics: lonestar; whitelist X-Spam-Status: No, score=0.7 required=6.0 tests=ALL_TRUSTED, FH_DATE_PAST_20XX autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on lonestar X-Mailman-Approved-At: Fri, 02 Mar 2012 20:49:17 +0000 Subject: USENIX/ACM NSDR '12 Call For Papers Now Available X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2012 20:44:21 -0000 On behalf of the 6th USENIX/ACM Workshop on Networked Systems for Developing Regions (NSDR '12) program committee, we invite you to submit papers that propose and discuss ideas concerning the design, implementation, and evaluation of new computing and communications technologies to support the sustainable development of developing regions. Please submit all paper titles and abstracts by March 27, 2012, 11:59 p.m. PDT. NSDR focuses on the technical networking and systems research challenges that arise in the design, implementation, and deployment of new computing solutions appropriate for developing regions. We encourage the submission of position papers or the results of preliminary work describing interesting, original, previously unpublished ideas or results pertaining to the design, implementation, and/or evaluation of networks and systems for developing regions. Areas of interest include, but are not limited to: * Low-cost wireless connectivity * Intermittent and delay-tolerant systems * Rural network planning * Spectrum management protocols and techniques * Mechanisms for emergency and urgent communications * Location-aware systems * Power-efficient systems * Low-cost computing devices * Mobile systems and applications * Middleware and mechanisms for minimizing energy, latency, and storage (caching, etc.) * Adapting content and applications for local languages * User interfaces for low-literacy populations * Shared access devices and infrastructure, including personalization and privacy concerns * Design and evaluation of applications and in-depth case studies in the areas of public health, microfinance, agriculture, e-governance, education, monitoring, disaster management, etc. Paper submissions are due Tuesday, March 27, 2012, 11:59 p.m. PDT. For more details on the submission process, please see the complete Call for Papers at: http://usenix.org/conference/nsdr12/ We look forward to receiving your submissions! Kameswari Chebrolu, Indian Institute of Technology, Bombay Brian Noble, University of Michigan USENIX NSDR '12 Program Co-Chairs nsdr12chairs@usenix.org --------------------------------- Call for Papers 6th USENIX/ACM Workshop on Networked Systems for Developing Regions June 15, 2012 Boston, MA http://usenix.org/conference/nsdr12 Submissions due: March 27, 2012, 11:59 p.m. PDT. Notification to authors: April 26, 2012 Electronic files of final papers due: May 14, 2012 --------------------------------- From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 21:14:17 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E1175106566C for ; Fri, 2 Mar 2012 21:14:17 +0000 (UTC) (envelope-from aram_baghomian@hushmail.com) Received: from smtp11.hushmail.com (smtp1.hushmail.com [65.39.178.133]) by mx1.freebsd.org (Postfix) with ESMTP id BBF518FC08 for ; Fri, 2 Mar 2012 21:14:17 +0000 (UTC) Received: from smtp11.hushmail.com (localhost.localdomain [127.0.0.1]) by smtp11.hushmail.com (Postfix) with SMTP id EE1161C8E56 for ; Fri, 2 Mar 2012 20:43:53 +0000 (UTC) Received: from smtp.hushmail.com (w5.hushmail.com [65.39.178.80]) by smtp11.hushmail.com (Postfix) with ESMTP for ; Fri, 2 Mar 2012 20:43:53 +0000 (UTC) Received: by smtp.hushmail.com (Postfix, from userid 99) id 9F1A8E6739; Fri, 2 Mar 2012 20:43:53 +0000 (UTC) MIME-Version: 1.0 Date: Sat, 03 Mar 2012 00:43:53 +0400 To: freebsd-hackers@freebsd.org From: aram_baghomian@hushmail.com Message-Id: <20120302204353.9F1A8E6739@smtp.hushmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: openssl makeing error X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2012 21:14:18 -0000 Hi, I add some customized encryption algorithm to openssl when i want to compile my openssl package it send me this error.i send this error to openssl developer mailing list but they didn't any answer and i send to your's group and i hope to help me. ... shlib_target=; if [ -n "" ]; then shlib_target="dlfcn"; fi; LIBRARIES="-L.. -lssl -L.. -lcrypto" ; make -f ../Makefile.shared -e APPNAME=openssl OBJECTS="openssl.o verify.o asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o ec.o ecparam.o x509.o genrsa.o gendsa.o genpkey.o s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o pkey.o pkeyparam.o pkeyutl.o spkac.o smime.o cms.o rand.o engine.o ocsp.o prime.o ts.o" LIBDEPS=" $LIBRARIES " link_app.${shlib_target} ( :; LIBDEPS="${LIBDEPS:--L.. -lssl -L.. -lcrypto }"; LDCMD="${LDCMD:-gcc}"; LDFLAGS="${LDFLAGS:--DOPENSSL_THREADS -pthread -D_THREAD_SAFE -D_REENTRANT -DDSO_ELF -Wa,--noexecstack -DL_ENDIAN -DTERMIOS -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_BN_ASM_MONT -DMD5_ASM -DRMD160_ASM -DAES_ASM -DWHIRLPOOL_ASM}"; LIBPATH=`for x in $LIBDEPS; do echo $x; done | sed -e 's/^ *-L//;t' -e d | uniq`; LIBPATH=`echo $LIBPATH | sed -e 's/ /:/g'`; LD_LIBRARY_PATH=$LIBPATH:$LD_LIBRARY_PATH ${LDCMD} ${LDFLAGS} -o ${APPNAME:=openssl} openssl.o verify.o asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o ec.o ecparam.o x509.o genrsa.o gendsa.o genpkey.o s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o pkey.o pkeyparam.o pkeyutl.o spkac.o smime.o cms.o rand.o engine.o ocsp.o prime.o ts.o ${LIBDEPS} ) passwd.o(.text+0x69c): In function `do_passwd': : undefined reference to `DES_crypt' speed.o(.text+0xdbc): In function `speed_main': : undefined reference to `DES_set_key_unchecked' speed.o(.text+0xdd3): In function `speed_main': : undefined reference to `DES_set_key_unchecked' speed.o(.text+0xdea): In function `speed_main': : undefined reference to `DES_set_key_unchecked' speed.o(.text+0x540b): In function `speed_main': : undefined reference to `DES_options' version.o(.text+0x23e): In function `version_main': : undefined reference to `DES_options' ../libcrypto.a(wp_block.o)(.text+0xe64): In function `whirlpool_block': : undefined reference to `whirlpool_block_mmx' ../libcrypto.a(aes_ige.o)(.text+0x180): In function `AES_bi_ige_encrypt': : undefined reference to `AES_decrypt' ../libcrypto.a(aes_ige.o)(.text+0x307): In function `AES_bi_ige_encrypt': : undefined reference to `AES_decrypt' ../libcrypto.a(aes_ige.o)(.text+0x4d5): In function `AES_bi_ige_encrypt': : undefined reference to `AES_encrypt' ../libcrypto.a(aes_ige.o)(.text+0x630): In function `AES_bi_ige_encrypt': : undefined reference to `AES_encrypt' ../libcrypto.a(aes_ige.o)(.text+0x803): In function `AES_ige_encrypt': ... what's wrong? thanks. From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 22:21:56 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3270E1065674; Fri, 2 Mar 2012 22:21:56 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id E36CA8FC12; Fri, 2 Mar 2012 22:21:55 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id 96EE846B49; Fri, 2 Mar 2012 17:21:55 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 01B4EB926; Fri, 2 Mar 2012 17:21:55 -0500 (EST) From: John Baldwin To: rank1seeker@gmail.com Date: Fri, 2 Mar 2012 17:20:11 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: <20120302.151703.536.2@DOMY-PC> <201203021446.59663.jhb@freebsd.org> <20120302.195816.794.5@DOMY-PC> In-Reply-To: <20120302.195816.794.5@DOMY-PC> MIME-Version: 1.0 Content-Type: Text/Plain; charset="windows-1250" Content-Transfer-Encoding: 7bit Message-Id: <201203021720.11756.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Fri, 02 Mar 2012 17:21:55 -0500 (EST) Cc: Roman Divacky , hackers@freebsd.org, Andriy Gapon Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2012 22:21:56 -0000 On Friday, March 02, 2012 2:58:16 pm rank1seeker@gmail.com wrote: > ----- Original Message ----- > From: John Baldwin > To: rank1seeker@gmail.com > Cc: hackers@freebsd.org, "Roman Divacky" , "Andriy Gapon" > Date: Fri, 2 Mar 2012 14:46:59 -0500 > Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) > > > On Friday, March 02, 2012 1:46:37 pm rank1seeker@gmail.com wrote: > > > ----- Original Message ----- > > > From: John Baldwin > > > To: rank1seeker@gmail.com > > > Cc: hackers@freebsd.org, "Roman Divacky" , "Andriy Gapon" > > > Date: Fri, 2 Mar 2012 12:24:24 -0500 > > > Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) > > > > > > > On Friday, March 02, 2012 10:17:03 am rank1seeker@gmail.com wrote: > > > > > ----- Original Message ----- > > > > > From: John Baldwin > > > > > To: rank1seeker@gmail.com > > > > > Cc: hackers@freebsd.org, "Roman Divacky" , Andriy Gapon > > > > > Date: Thu, 1 Mar 2012 16:14:43 -0500 > > > > > Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) > > > > > > > > > > > > > > > > > However, avg@ might have found the actual cause of the bug. And Roman did > > > > > > > indeed break this earlier. Try the updated boot2_test.patch again. > > > > > > > > > > > > You should still try this. > > > > > > > > > > > > -- > > > > > > John Baldwin > > > > > > > > > > > > > > > > > > > > > Using patch: MD5 (boot2_test.patch) = 72412f9b47b114302268561f12c1b46b > > > > > > > > > > http://www.starforce.biz/stage2boot_1.jpg > > > > > > > > > > This is the worst patch as even RE-typing doesn't work. > > > > > That is, it is completely unable to boot. > > > > > > > > > > Throw me another patch! > > > > > > > > Ah, was using sizeof() on the wrong thing, and I have a fix for the garbage > > > > you saw for kname as well. Patch is updated at the normal URL. > > > > > > > > > > Please don't treat John this way. He has put in a lot of time for > > > > > > you, and many others, and is one of THE experts. > > > > > > > > > > > > Chris > > > > > > > > > > > > > > > He didn't got a bad treatment, nor any side is angry. > > > > > Relax! ;) > > > > > > > > Actually, you've been rather rude for the entire thread, I am just doing my > > > > best to ignore it in the interest of getting the bug fixed. > > > > > > > > -- > > > > John Baldwin > > > > > > > > > > I'm sorry if you think so, especially part where I am rude through the entire thread. That I can hardly believe. > > > I am also actively testing and am persistant in solving issue. > > > Or is problem in my perception? > > > > I think it may just be that your language comes off as being a bit demanding, > > plus a fair bit of all caps, etc. If English is not your native language > > then that may also be a factor. If you are not intending to be rude then that > > is plenty good enough for me. :) > > > > > Anyway, yours latest patch has a same md5 hash as a previous one and also built binary /boot/boot had same md5 hash. > > > So I've simply skipped installing boot code. > > > > Yes, my bad, I updated it locally but forgot to upload it to the URL. > > It should really be updated now. > > > > -- > > John Baldwin > > > > > Using MD5 (boot2_test.patch) = 05c46840163f789d362b46bf51b6c79f > > I can't build it. > > # cd /sys/boot > # make clean && make obj && make depend && make && make install && make clean > > ------ > ===> i386/boot2 (all) > objcopy -S -O binary boot1.out boot1 > dd if=/dev/zero of=boot2.ldr bs=512 count=1 > 1+0 records in > 1+0 records out > 512 bytes transferred in 0.000116 secs (4409617 bytes/sec) > cc -Os -fno-guess-branch-probability -fomit-frame-pointer -fno-unit-at-a-time -mno-align-long-strings -mrtd -mregparm=3 -DUSE_XREAD - DUFS1_AND_UFS2 -DFLAGS=0x80 -DSIOPRT=0x3f8 -DSIOFMT=0x3 -DSIOSPD=9600 -I/usr/src/sys/boot/i386/boot2/../../common - I/usr/src/sys/boot/i386/boot2/../btx/lib -I. -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wmissing-declarations -Wmissing- prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -Winline --param max-inline-insns-single=100 - ffreestanding -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float -std=gnu99 -S -o boot2.s.tmp /usr/src/sys/boot/i386/boot2/boot2.c > /usr/src/sys/boot/i386/boot2/boot2.c: In function 'main': > /usr/src/sys/boot/i386/boot2/boot2.c:282: error: expected ':' before ')' token > /usr/src/sys/boot/i386/boot2/boot2.c: In function 'parse': > /usr/src/sys/boot/i386/boot2/boot2.c:468: warning: passing argument 1 of 'memcpy' discards qualifiers from pointer target type Oops, should be fixed now. -- John Baldwin From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 22:31:40 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D098106566B for ; Fri, 2 Mar 2012 22:31:40 +0000 (UTC) (envelope-from ambrisko@ambrisko.com) Received: from mail.ambrisko.com (mail.ambrisko.com [70.91.206.90]) by mx1.freebsd.org (Postfix) with ESMTP id DC5428FC0A for ; Fri, 2 Mar 2012 22:31:39 +0000 (UTC) X-Ambrisko-Me: Yes Received: from server2.ambrisko.com (HELO internal.ambrisko.com) ([192.168.1.2]) by ironport.ambrisko.com with ESMTP; 02 Mar 2012 14:03:05 -0800 Received: from ambrisko.com (localhost [127.0.0.1]) by internal.ambrisko.com (8.14.4/8.14.4) with ESMTP id q22M30L7071372; Fri, 2 Mar 2012 14:03:00 -0800 (PST) (envelope-from ambrisko@ambrisko.com) Received: (from ambrisko@localhost) by ambrisko.com (8.14.4/8.14.4/Submit) id q22M30eI071370; Fri, 2 Mar 2012 14:03:00 -0800 (PST) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <201203022203.q22M30eI071370@ambrisko.com> In-Reply-To: <1330720724.5391.2.camel@powernoodle-l7.corp.yahoo.com> To: sbruno@freebsd.org Date: Fri, 2 Mar 2012 14:03:00 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL124d (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" Cc: hackers@freebsd.org Subject: Re: [patch] Disable bios probe if acpi is enabled X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2012 22:31:40 -0000 Sean Bruno writes: | I'm noting that newer machines are completely hosed if we attempt to | probe for bios values. I'm proposing this change. | | -bash-4.2$ p4 diff -du //depot/yahoo/ybsd_7/src/sys/i386/i386/bios.c | --- //depot/yahoo/ybsd_7/src/sys/i386/i386/bios.c 2011-09-16 | 22:47:30.000000000 0000 | +++ /home/seanbru/ybsd_7/src/sys/i386/i386/bios.c 2011-09-16 | 22:47:30.000000000 0000 | @@ -84,6 +84,12 @@ | char *p; | | /* | + * Don't do bios probing if acpi is enabled, its | + * pointless and breaks on newer systems | + */ | + if (!resource_disabled("acpi", 0)) | + return; | + /* | * BIOS32 Service Directory, PCI BIOS | */ | That seems reasonable to me. Doug A. From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 23:06:06 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ECD001065705 for ; Fri, 2 Mar 2012 23:06:06 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 67A558FC08 for ; Fri, 2 Mar 2012 23:06:06 +0000 (UTC) Received: by werl4 with SMTP id l4so1745550wer.13 for ; Fri, 02 Mar 2012 15:06:05 -0800 (PST) Received-SPF: pass (google.com: domain of adrian.chadd@gmail.com designates 10.216.131.2 as permitted sender) client-ip=10.216.131.2; Authentication-Results: mr.google.com; spf=pass (google.com: domain of adrian.chadd@gmail.com designates 10.216.131.2 as permitted sender) smtp.mail=adrian.chadd@gmail.com; dkim=pass header.i=adrian.chadd@gmail.com Received: from mr.google.com ([10.216.131.2]) by 10.216.131.2 with SMTP id l2mr401449wei.3.1330729565419 (num_hops = 1); Fri, 02 Mar 2012 15:06:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=HH2Ee9CQx49GIPpePXTOMphpAkrqgJGQ8BMwPLCnMrs=; b=Qp5pnqKm+xT0+LxabPzgTNl5bRwI8bvH7RWTiEznicJSzrd6/9Vj0EVjh4dNc6umUn 34PUQJjKS0bc/LfLmF5HB9yY8WEmltxBOLH6FOPUw2Plr545Fdj+/k293yRcIAfPwTUL NrNHdzgcorcxImnGZ8gZ9MtLOp2NNSU09pELNzwMuyXdoF0pdBGrx8l2H75/NkJ9n45u zkKB5upOkNIkCSd2eUJQCv+JaKcyDHbbE3QWlq1a4Vh73y9uw8otXQxjdbZ/omaOQhjq 1L47PzA/hH62LxzC3EzYktDfiNl2EpgmSo/j5+LdU851tegF/YVYf195YhA4NScFTp4i zS5A== MIME-Version: 1.0 Received: by 10.216.131.2 with SMTP id l2mr318096wei.3.1330729565368; Fri, 02 Mar 2012 15:06:05 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.198.81 with HTTP; Fri, 2 Mar 2012 15:06:05 -0800 (PST) In-Reply-To: <4F4C17E2.2040101@m5p.com> References: <4F2F7B7F.40508@FreeBSD.org> <4F366E8F.9060207@FreeBSD.org> <4F367965.6000602@FreeBSD.org> <4F396B24.5090602@FreeBSD.org> <4F3978BC.6090608@FreeBSD.org> <4F3990EA.1080002@FreeBSD.org> <4F3C0BB9.6050101@FreeBSD.org> <4F3E807A.60103@FreeBSD.org> <4F3E8858.4000001@FreeBSD.org> <4F4ACF2C.50300@m5p.com> <4F4B67AB.40907@m5p.com> <4F4C17E2.2040101@m5p.com> Date: Fri, 2 Mar 2012 15:06:05 -0800 X-Google-Sender-Auth: c-uHXYgNrsSQDPgjzeCcMC4v0fE Message-ID: From: Adrian Chadd To: George Mitchell Content-Type: text/plain; charset=ISO-8859-1 Cc: Olivier Smedts , freebsd-hackers@freebsd.org Subject: Re: [RFT][patch] Scheduling for HTT and not only X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2012 23:06:07 -0000 Hi George, Have you thought about providing schedgraph traces with your particular workload? I'm sure that'll help out the scheduler hackers quite a bit. THanks, Adrian From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 3 00:15:04 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B157106564A; Sat, 3 Mar 2012 00:15:04 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from mailhost.m5p.com (ip-2-2-0-2.r20.asbnva02.us.ce.gin.ntt.net [IPv6:2001:418:0:5000::16]) by mx1.freebsd.org (Postfix) with ESMTP id E6D288FC08; Sat, 3 Mar 2012 00:15:03 +0000 (UTC) Received: from wonderland.m5p.com (wonderland.m5p.com [IPv6:2001:418:3fd::19]) by mailhost.m5p.com (8.14.4/8.14.4) with ESMTP id q230EvDb037158; Fri, 2 Mar 2012 19:15:02 -0500 (EST) (envelope-from george+freebsd@m5p.com) Message-ID: <4F516281.30603@m5p.com> Date: Fri, 02 Mar 2012 19:14:57 -0500 From: George Mitchell User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120122 Thunderbird/9.0 MIME-Version: 1.0 To: Adrian Chadd References: <4F2F7B7F.40508@FreeBSD.org> <4F366E8F.9060207@FreeBSD.org> <4F367965.6000602@FreeBSD.org> <4F396B24.5090602@FreeBSD.org> <4F3978BC.6090608@FreeBSD.org> <4F3990EA.1080002@FreeBSD.org> <4F3C0BB9.6050101@FreeBSD.org> <4F3E807A.60103@FreeBSD.org> <4F3E8858.4000001@FreeBSD.org> <4F4ACF2C.50300@m5p.com> <4F4B67AB.40907@m5p.com> <4F4C17E2.2040101@m5p.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (mailhost.m5p.com [IPv6:2001:418:3fd::f7]); Fri, 02 Mar 2012 19:15:03 -0500 (EST) X-Scanned-By: MIMEDefang 2.72 on IPv6:2001:418:3fd::f7 Cc: Olivier Smedts , freebsd-hackers@freebsd.org Subject: Re: [RFT][patch] Scheduling for HTT and not only X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 00:15:04 -0000 On 03/02/12 18:06, Adrian Chadd wrote: > Hi George, > > Have you thought about providing schedgraph traces with your > particular workload? > > I'm sure that'll help out the scheduler hackers quite a bit. > > THanks, > > > Adrian > I posted a couple back in December but I haven't created any more recently: http://www.m5p.com/~george/ktr-ule-problem.out http://www.m5p.com/~george/ktr-ule-interact.out To the best of my knowledge, no one ever examined them. -- George From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 3 00:49:45 2012 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0803C106566B for ; Sat, 3 Mar 2012 00:49:45 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id D0DA48FC13 for ; Sat, 3 Mar 2012 00:49:44 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id q230niPJ047175 for ; Fri, 2 Mar 2012 16:49:44 -0800 (PST) (envelope-from yuri@rawbw.com) Message-ID: <4F516AA7.8060606@rawbw.com> Date: Fri, 02 Mar 2012 16:49:43 -0800 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120218 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Can I take a snapshot of the current stack for every thread in some process from outside? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 00:49:45 -0000 I have the multithreaded process, each thread has some stack state at each point of time. For example during the timer tick when processes are switched? Is there a way to take a snapshot without disrupting a process? I was thinking gdb, but it requires the process to exit the system call to attach (?). DTrace is only activated particular sensors are crossed. So is there such a tool/command? Yuri From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 3 01:16:25 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 85C1A106564A for ; Sat, 3 Mar 2012 01:16:25 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 0BAE28FC08 for ; Sat, 3 Mar 2012 01:16:24 +0000 (UTC) Received: from ur.dons.net.au (ppp121-45-45-100.lns20.adl2.internode.on.net [121.45.45.100]) (authenticated bits=0) by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id q230uYmH056959 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sat, 3 Mar 2012 11:26:40 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=iso-8859-1 From: "Daniel O'Connor" In-Reply-To: <4F516AA7.8060606@rawbw.com> Date: Sat, 3 Mar 2012 11:26:33 +1030 Content-Transfer-Encoding: quoted-printable Message-Id: <48E3F3E0-6DE1-46F7-A732-A44DE2C9D147@gsoft.com.au> References: <4F516AA7.8060606@rawbw.com> To: Yuri X-Mailer: Apple Mail (2.1257) X-Spam-Score: 2.162 (**) BAYES_00,KHOP_DYNAMIC,RDNS_DYNAMIC X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10 Cc: freebsd-hackers@freebsd.org Subject: Re: Can I take a snapshot of the current stack for every thread in some process from outside? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 01:16:25 -0000 On 03/03/2012, at 11:19, Yuri wrote: > I have the multithreaded process, each thread has some stack state at = each point of time. For example during the timer tick when processes are = switched? > Is there a way to take a snapshot without disrupting a process? >=20 > I was thinking gdb, but it requires the process to exit the system = call to attach (?). > DTrace is only activated particular sensors are crossed. >=20 > So is there such a tool/command? Will gcore do what you want? -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 3 01:23:31 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 430B4106564A for ; Sat, 3 Mar 2012 01:23:31 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0DA058FC08 for ; Sat, 3 Mar 2012 01:23:30 +0000 (UTC) Received: by daec6 with SMTP id c6so2785076dae.13 for ; Fri, 02 Mar 2012 17:23:30 -0800 (PST) Received-SPF: pass (google.com: domain of maksim.yevmenkin@gmail.com designates 10.68.223.161 as permitted sender) client-ip=10.68.223.161; Authentication-Results: mr.google.com; spf=pass (google.com: domain of maksim.yevmenkin@gmail.com designates 10.68.223.161 as permitted sender) smtp.mail=maksim.yevmenkin@gmail.com; dkim=pass header.i=maksim.yevmenkin@gmail.com Received: from mr.google.com ([10.68.223.161]) by 10.68.223.161 with SMTP id qv1mr22559483pbc.2.1330737810694 (num_hops = 1); Fri, 02 Mar 2012 17:23:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to; bh=XfXZWvkbyMprarQynKrOFT+3rJS7fwepQR6leuUoYu4=; b=UYnlJMTw2HHCQeATyLjs20PLwzzqCNJdMdUEl4IeTbbmsDQ9BwTrXSAmhx2MC4ZKnT c+NAGPwEbemyMZrx6lq/gsblCrTszjekZvh/oqnUgocFi6b0Mp2UHkVfmlLfoGnC8CZZ +7n2n77iEusr+sN2vWflLa5saZ9JO0KmDzWpXQo9yXnMrnx3q/vXlb5KU6X66cCNuud7 nr4gIKTK83TaAwHxG0HcpDpSYecBjcYZl7ZO5NW4luBm/i+kZrK5kMoYfl3OxYhvpLxX Dm0gbx1G57mdTEKbChfVtdOMXE0PoWmw+2LK3subZu03AcTen/3AHFWhEu2F6xipXt51 SK9Q== Received: by 10.68.223.161 with SMTP id qv1mr18727603pbc.2.1330736214209; Fri, 02 Mar 2012 16:56:54 -0800 (PST) Received: from [10.42.123.8] (mobile-166-205-136-112.mycingular.net. [166.205.136.112]) by mx.google.com with ESMTPS id y1sm6326311pbg.73.2012.03.02.16.56.52 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 02 Mar 2012 16:56:53 -0800 (PST) References: <4F516AA7.8060606@rawbw.com> In-Reply-To: <4F516AA7.8060606@rawbw.com> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <0380ADFC-CD78-4D41-894C-591D24EF9B35@gmail.com> X-Mailer: iPhone Mail (9A405) From: maksim yevmenkin Date: Fri, 2 Mar 2012 16:56:45 -0800 To: Yuri Cc: "freebsd-hackers@FreeBSD.org" Subject: Re: Can I take a snapshot of the current stack for every thread in some process from outside? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 01:23:31 -0000 Gdb. Thread apply all bt.=20 Thanks, Max On Mar 2, 2012, at 4:49 PM, Yuri wrote: > I have the multithreaded process, each thread has some stack state at each= point of time. For example during the timer tick when processes are switche= d? > Is there a way to take a snapshot without disrupting a process? >=20 > I was thinking gdb, but it requires the process to exit the system call to= attach (?). > DTrace is only activated particular sensors are crossed. >=20 > So is there such a tool/command? >=20 > Yuri > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"= From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 3 01:35:26 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5D478106564A for ; Sat, 3 Mar 2012 01:35:26 +0000 (UTC) (envelope-from gavin.mu@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1ED738FC16 for ; Sat, 3 Mar 2012 01:35:25 +0000 (UTC) Received: by obbwc7 with SMTP id wc7so3650986obb.13 for ; Fri, 02 Mar 2012 17:35:25 -0800 (PST) Received-SPF: pass (google.com: domain of gavin.mu@gmail.com designates 10.60.20.6 as permitted sender) client-ip=10.60.20.6; Authentication-Results: mr.google.com; spf=pass (google.com: domain of gavin.mu@gmail.com designates 10.60.20.6 as permitted sender) smtp.mail=gavin.mu@gmail.com; dkim=pass header.i=gavin.mu@gmail.com Received: from mr.google.com ([10.60.20.6]) by 10.60.20.6 with SMTP id j6mr4759508oee.17.1330738525734 (num_hops = 1); Fri, 02 Mar 2012 17:35:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=oE0uvaSTvyUc0d+h2BUmuX1lUIarjV6tYFME3t4+aRw=; b=M+pNU7e43g87ivvqHrGpQDK8LinNFvvhXxfbit619ThUHlxm0/XWTQmiyRMxbDNJCC Dvc9mjnkvCcYBinADZIiLnMnCUj6rQ2Lcdj77UE5tOFTH7FjQrRungtoXES3GCvOsmgP WReMumC8E0PyMrC6eWP5injPIAe7b057jHIv307lOq+rO15fQf8p3cn/qO9nbkDMdJWJ GvapVTq83mV1jlj923WIJT5Dw98HeUCCEaFxli1zAV8Nbwz1SFqBlX7FpaniWhb1m6QH FuxyeaEN5bzClBkF0V3Ge5O0s/J3Q5+9cL9UW4zOJh2WUH41dKlJv0kBeCUHUc+EAPGA ovUw== MIME-Version: 1.0 Received: by 10.60.20.6 with SMTP id j6mr4088966oee.17.1330736866863; Fri, 02 Mar 2012 17:07:46 -0800 (PST) Received: by 10.60.67.161 with HTTP; Fri, 2 Mar 2012 17:07:46 -0800 (PST) In-Reply-To: <4F516AA7.8060606@rawbw.com> References: <4F516AA7.8060606@rawbw.com> Date: Sat, 3 Mar 2012 09:07:46 +0800 Message-ID: From: Gavin Mu To: Yuri Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers@freebsd.org Subject: Re: Can I take a snapshot of the current stack for every thread in some process from outside? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 01:35:26 -0000 ports/sysutils/pstack can do this if you use x86 machine. On Sat, Mar 3, 2012 at 8:49 AM, Yuri wrote: > I have the multithreaded process, each thread has some stack state at each > point of time. For example during the timer tick when processes are > switched? > Is there a way to take a snapshot without disrupting a process? > > I was thinking gdb, but it requires the process to exit the system call to > attach (?). > DTrace is only activated particular sensors are crossed. > > So is there such a tool/command? > > Yuri > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 3 03:24:44 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C56C3106564A; Sat, 3 Mar 2012 03:24:44 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1BBA88FC19; Sat, 3 Mar 2012 03:24:43 +0000 (UTC) Received: by werl4 with SMTP id l4so1826156wer.13 for ; Fri, 02 Mar 2012 19:24:43 -0800 (PST) Received-SPF: pass (google.com: domain of adrian.chadd@gmail.com designates 10.180.85.69 as permitted sender) client-ip=10.180.85.69; Authentication-Results: mr.google.com; spf=pass (google.com: domain of adrian.chadd@gmail.com designates 10.180.85.69 as permitted sender) smtp.mail=adrian.chadd@gmail.com; dkim=pass header.i=adrian.chadd@gmail.com Received: from mr.google.com ([10.180.85.69]) by 10.180.85.69 with SMTP id f5mr1476360wiz.18.1330745083101 (num_hops = 1); Fri, 02 Mar 2012 19:24:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=E7bx2bjKMS+yn47FVutVLyIvNKjkOhMg2oBXWLybimw=; b=R51JUCvUDS+lCDvTIKo4vH3PpIJXeJ1dh38gzs2k+ebHXEO8tH5ljblIAvfgsKoXP6 gy/IArnHz+hYuQNFXoVWKI3UPJpfkf/u5mWTyt8Cyg6h9pvJjXXOuHJkvPzUojwFwWo3 BoCkXM3MzXpgE83d3QTf4R+9/5isiverRvFcm1qGyvCRLHJZf49GVUiGNnKdoBr16kkX UFfY+LwSba7xPHjyCx6J14BPlabC6+rtzuv/dZ11ZD8Tl4/ODNGOXkXb0Ly1AlJwNOHP Ey5vyo9/QWHCpWgTrXLGf8MuuIIKl+2iP6ocdJjNDxSZ2pfpOHQSPNszmXYWboEy0pI5 VnUw== MIME-Version: 1.0 Received: by 10.180.85.69 with SMTP id f5mr1152566wiz.18.1330745082985; Fri, 02 Mar 2012 19:24:42 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.198.81 with HTTP; Fri, 2 Mar 2012 19:24:42 -0800 (PST) In-Reply-To: <4F516281.30603@m5p.com> References: <4F2F7B7F.40508@FreeBSD.org> <4F366E8F.9060207@FreeBSD.org> <4F367965.6000602@FreeBSD.org> <4F396B24.5090602@FreeBSD.org> <4F3978BC.6090608@FreeBSD.org> <4F3990EA.1080002@FreeBSD.org> <4F3C0BB9.6050101@FreeBSD.org> <4F3E807A.60103@FreeBSD.org> <4F3E8858.4000001@FreeBSD.org> <4F4ACF2C.50300@m5p.com> <4F4B67AB.40907@m5p.com> <4F4C17E2.2040101@m5p.com> <4F516281.30603@m5p.com> Date: Fri, 2 Mar 2012 19:24:42 -0800 X-Google-Sender-Auth: Ego_UwXYCbx6gmsj3IFhFdeILhE Message-ID: From: Adrian Chadd To: George Mitchell Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org, Alexander Motin Subject: Re: [RFT][patch] Scheduling for HTT and not only X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 03:24:44 -0000 Hi, CC'ing mav@, who started this thread. mav@, can you please take a look at George's traces and see if there's anything obviously silly going on? He's reporting that your ULE work hasn't improved his (very) degenerate cas= e. Thanks! Adrian On 2 March 2012 16:14, George Mitchell wrote: > On 03/02/12 18:06, Adrian Chadd wrote: >> >> Hi George, >> >> Have you thought about providing schedgraph traces with your >> particular workload? >> >> I'm sure that'll help out the scheduler hackers quite a bit. >> >> THanks, >> >> >> Adrian >> > > I posted a couple back in December but I haven't created any more > recently: > > http://www.m5p.com/~george/ktr-ule-problem.out > http://www.m5p.com/~george/ktr-ule-interact.out > > To the best of my knowledge, no one ever examined them. =A0 -- George From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 3 07:40:31 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55D381065672; Sat, 3 Mar 2012 07:40:31 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 90E7A8FC0C; Sat, 3 Mar 2012 07:40:30 +0000 (UTC) Received: by bkcjc3 with SMTP id jc3so2789617bkc.13 for ; Fri, 02 Mar 2012 23:40:29 -0800 (PST) Received-SPF: pass (google.com: domain of mavbsd@gmail.com designates 10.204.133.220 as permitted sender) client-ip=10.204.133.220; Authentication-Results: mr.google.com; spf=pass (google.com: domain of mavbsd@gmail.com designates 10.204.133.220 as permitted sender) smtp.mail=mavbsd@gmail.com; dkim=pass header.i=mavbsd@gmail.com Received: from mr.google.com ([10.204.133.220]) by 10.204.133.220 with SMTP id g28mr6959241bkt.16.1330760429435 (num_hops = 1); Fri, 02 Mar 2012 23:40:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=/yX6nf4sL8posMq+kQ5BjfpdNhnYLTJBDqV5mPL2gIk=; b=QQh4ggJr/itm51fP3Q7neW4wxH0qcPKrz+d3+hwdOo4s2T9NQXKQ6oULKzsIH4PaYT 2NBmljy3FoSv0TcHGF7ukj0LmKOFfDovWX2lKK7xoLJu4upf6AGe7iecvi5FGQzFSwlY BEpmEGB4EBiFHKNeFyOqi7zMOkIgeGO7YZElHiTZvcwbmCvHwOnSWsEsMgHFtPYgiJyi 44rvcegUlWkZDDRlpYz84V0QOsCcWGUqAPXaqrlJ8jObH5VhzuHA4kqdzCFUTSA9lcht wFmcii1Y4pzYGMnS3JQrL8HuW0OAmaqI25yIU8+hPP6rVVXa2tt2npXVcscmz1MMjsLv GDhg== Received: by 10.204.133.220 with SMTP id g28mr5584876bkt.16.1330760427889; Fri, 02 Mar 2012 23:40:27 -0800 (PST) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua. [212.86.226.226]) by mx.google.com with ESMTPS id jd17sm13440420bkb.4.2012.03.02.23.40.26 (version=SSLv3 cipher=OTHER); Fri, 02 Mar 2012 23:40:27 -0800 (PST) Sender: Alexander Motin Message-ID: <4F51CAE9.20905@FreeBSD.org> Date: Sat, 03 Mar 2012 09:40:25 +0200 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120226 Thunderbird/10.0.2 MIME-Version: 1.0 To: Adrian Chadd References: <4F2F7B7F.40508@FreeBSD.org> <4F366E8F.9060207@FreeBSD.org> <4F367965.6000602@FreeBSD.org> <4F396B24.5090602@FreeBSD.org> <4F3978BC.6090608@FreeBSD.org> <4F3990EA.1080002@FreeBSD.org> <4F3C0BB9.6050101@FreeBSD.org> <4F3E807A.60103@FreeBSD.org> <4F3E8858.4000001@FreeBSD.org> <4F4ACF2C.50300@m5p.com> <4F4B67AB.40907@m5p.com> <4F4C17E2.2040101@m5p.com> <4F516281.30603@m5p.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, George Mitchell Subject: Re: [RFT][patch] Scheduling for HTT and not only X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 07:40:31 -0000 Hi. On 03/03/12 05:24, Adrian Chadd wrote: > mav@, can you please take a look at George's traces and see if there's > anything obviously silly going on? > He's reporting that your ULE work hasn't improved his (very) degenerate case. As I can see, my patch has nothing to do with the problem. My patch improves SMP load balancing, while in this case problem is different. In some cases, when not all CPUs are busy, my patch could mask the problem by using more CPUs, but not in this case when dnets consumes all available CPUs. I still not feel very comfortable with ULE math, but as I understand, in both illustrated cases there is a conflict between clearly CPU-bound dnets threads, that consume all available CPU and never do voluntary context switches, and more or less interactive other threads. If other threads detected to be "interactive" in ULE terms, they should preempt dnets threads and everything will be fine. But "batch" (in ULE terms) threads never preempt each other, switching context only about 10 times per second, as hardcoded in sched_slice variable. Kernel build by definition consumes too much CPU time to be marked "interactive". exo-helper-1 thread in interact.out could potentially be marked "interactive", but possibly once it consumed some CPU to become "batch", it is difficult for it to get back, as waiting in a runq is not counted as sleep and each time it is getting running, it has some new work to do, so it remains "batch". May be if CPU time accounting was more precise it would work better (by accounting those short periods when threads really sleeps voluntary), but not with present sampled logic with 1ms granularity. As result, while dnets threads each time consume full 100ms time slices, other threads are starving, getting running only 10 times per second to voluntary switch out in just a few milliseconds. > On 2 March 2012 16:14, George Mitchell wrote: >> On 03/02/12 18:06, Adrian Chadd wrote: >>> >>> Hi George, >>> >>> Have you thought about providing schedgraph traces with your >>> particular workload? >>> >>> I'm sure that'll help out the scheduler hackers quite a bit. >>> >>> THanks, >>> >>> >>> Adrian >>> >> >> I posted a couple back in December but I haven't created any more >> recently: >> >> http://www.m5p.com/~george/ktr-ule-problem.out >> http://www.m5p.com/~george/ktr-ule-interact.out >> >> To the best of my knowledge, no one ever examined them. -- George -- Alexander Motin From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 3 08:18:56 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C304106564A; Sat, 3 Mar 2012 08:18:56 +0000 (UTC) (envelope-from fidaj@ukr.net) Received: from fsm2.ukr.net (fsm2.ukr.net [195.214.192.121]) by mx1.freebsd.org (Postfix) with ESMTP id D5AF38FC08; Sat, 3 Mar 2012 08:18:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=fsm; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=fCnhv2tgbnYjbXBoxA9Qdi70UEG3obBHGJYvD7XUcYA=; b=cEWR+ZADJ57bUke343iI2SG9d6bGUkbxUc+ePnTbAotljZp+hSNh7mutT575JjkiAu2pxGBlGaPXV/qt2LQrS5wAoikmCvb5g+UhxNs0YBmA+4lHK3kp48I97NGZ0FHtA8N6GYDW3tG0JQUDxpTHTy0UYjlPkbYoxnI6xpz7vPk=; Received: from [178.137.138.140] (helo=nonamehost.) by fsm2.ukr.net with esmtpsa ID 1S3kAq-0007zg-6T ; Sat, 03 Mar 2012 10:18:40 +0200 Date: Sat, 3 Mar 2012 10:18:39 +0200 From: Ivan Klymenko To: Adrian Chadd Message-ID: <20120303101839.4bf20493@nonamehost.> In-Reply-To: References: <4F2F7B7F.40508@FreeBSD.org> <4F366E8F.9060207@FreeBSD.org> <4F367965.6000602@FreeBSD.org> <4F396B24.5090602@FreeBSD.org> <4F3978BC.6090608@FreeBSD.org> <4F3990EA.1080002@FreeBSD.org> <4F3C0BB9.6050101@FreeBSD.org> <4F3E807A.60103@FreeBSD.org> <4F3E8858.4000001@FreeBSD.org> <4F4ACF2C.50300@m5p.com> <4F4B67AB.40907@m5p.com> <4F4C17E2.2040101@m5p.com> <4F516281.30603@m5p.com> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org, George Mitchell , Alexander Motin Subject: Re: [RFT][patch] Scheduling for HTT and not only X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 08:18:56 -0000 =D0=92 Fri, 2 Mar 2012 19:24:42 -0800 Adrian Chadd =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > He's reporting that your ULE work hasn't improved his (very) > degenerate case. That's not true! Thanks! >=20 > Thanks! >=20 >=20 > Adrian From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 3 08:59:18 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 469A1106566B; Sat, 3 Mar 2012 08:59:18 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3AE9B8FC0C; Sat, 3 Mar 2012 08:59:16 +0000 (UTC) Received: by eaaf13 with SMTP id f13so858639eaa.13 for ; Sat, 03 Mar 2012 00:59:16 -0800 (PST) Received-SPF: pass (google.com: domain of rank1seeker@gmail.com designates 10.213.105.147 as permitted sender) client-ip=10.213.105.147; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rank1seeker@gmail.com designates 10.213.105.147 as permitted sender) smtp.mail=rank1seeker@gmail.com; dkim=pass header.i=rank1seeker@gmail.com Received: from mr.google.com ([10.213.105.147]) by 10.213.105.147 with SMTP id t19mr480891ebo.199.1330765156206 (num_hops = 1); Sat, 03 Mar 2012 00:59:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:from:to:subject:date:content-type :content-transfer-encoding:in-reply-to:references:x-mailer; bh=liSNFU6ZWQA4m+pnk8xnhdrErm5pVk4vQD2VdrHC7LM=; b=0CD6MBfmbK9/aTcgjM60r4oiH7PzlQaQqmcHJ37E3eeBAdvcQ9X3xD2TAt+hMtTAFV zj+FsvPH6bbXEqJOHtF/tCsRPUbqt6wVPsCTp8DGYKpa+MSvYshDXsjCMa5Jvy2UpS9C lHXcgeyUXW3KFhYtmhv5d4dFLPkl6tOWDmKsUL8Y0im8qCf4dMxtwmD8v4uBcW/gHGBe zzPi/s+2q6XRkFyQC6j4Aq36CIi/4y59Mzv6KFSTPqwz2ZTYmvHDBfgqjpO8lkn93fH0 6stBojhMuKATpRiAGkcbj34AAtRwRRxAq0/cNhZWnlR/H8KQeG3UHAIohqrvWCwP3EKG hLpQ== Received: by 10.213.105.147 with SMTP id t19mr382272ebo.199.1330765155783; Sat, 03 Mar 2012 00:59:15 -0800 (PST) Received: from DOMYPC ([82.193.208.173]) by mx.google.com with ESMTPS id y14sm31202585eef.10.2012.03.03.00.59.01 (version=SSLv3 cipher=OTHER); Sat, 03 Mar 2012 00:59:14 -0800 (PST) Message-ID: <20120303.085919.077.6@DOMY-PC> From: rank1seeker@gmail.com To: hackers@freebsd.org, "John Baldwin" , "Roman Divacky" , "Andriy Gapon" Date: Sat, 03 Mar 2012 09:59:19 +0100 Content-Type: text/plain; charset="Windows-1250" Content-Transfer-Encoding: quoted-printable In-Reply-To: <201203021720.11756.jhb@freebsd.org> References: <20120302.151703.536.2@DOMY-PC> <201203021446.59663.jhb@freebsd.org> <20120302.195816.794.5@DOMY-PC> <201203021720.11756.jhb@freebsd.org> X-Mailer: POP Peeper (3.8.1.0) Cc: Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 08:59:18 -0000 ----- Original Message -----=0D=0AFrom: John Baldwin = =0D=0ATo: rank1seeker@gmail.com=0D=0ACc: = hackers@freebsd.org, "Roman Divacky" , "Andriy = Gapon" =0D=0ADate: Fri, 2 Mar 2012 17:20:11 = -0500=0D=0ASubject: Re: BUG: 9.0 stage 2 boot (/boot/boot)=0D=0A=0D=0A> = On Friday, March 02, 2012 2:58:16 pm rank1seeker@gmail.com wrote:=0D=0A> = > ----- Original Message -----=0D=0A> > From: John Baldwin = =0D=0A> > To: rank1seeker@gmail.com=0D=0A> > Cc: = hackers@freebsd.org, "Roman Divacky" , "Andriy = Gapon" =0D=0A> > Date: Fri, 2 Mar 2012 14:46:59 = -0500=0D=0A> > Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot)=0D=0A> > = =0D=0A> > > On Friday, March 02, 2012 1:46:37 pm rank1seeker@gmail.com = wrote:=0D=0A> > > > ----- Original Message -----=0D=0A> > > > From: John = Baldwin =0D=0A> > > > To: rank1seeker@gmail.com=0D=0A> > = > > Cc: hackers@freebsd.org, "Roman Divacky" , = "Andriy Gapon" =0D=0A> > > > Date: Fri, 2 Mar 2012 = 12:24:24 -0500=0D=0A> > > > Subject: Re: BUG: 9.0 stage 2 boot = (/boot/boot)=0D=0A> > > > =0D=0A> > > > > On Friday, March 02, 2012 = 10:17:03 am rank1seeker@gmail.com wrote:=0D=0A> > > > > > ----- Original = Message -----=0D=0A> > > > > > From: John Baldwin = =0D=0A> > > > > > To: rank1seeker@gmail.com=0D=0A> > > > = > > Cc: hackers@freebsd.org, "Roman Divacky" , = Andriy Gapon =0D=0A> > > > > > Date: Thu, 1 Mar 2012 = 16:14:43 -0500=0D=0A> > > > > > Subject: Re: BUG: 9.0 stage 2 boot = (/boot/boot)=0D=0A> > > > > > =0D=0A> > > > > > =0D=0A> > > > > > > > = However, avg@ might have found the actual cause of the bug. And Roman = did=0D=0A> > > > > > > > indeed break this earlier. Try the updated = boot2_test.patch again.=0D=0A> > > > > > > =0D=0A> > > > > > > You should = still try this.=0D=0A> > > > > > > =0D=0A> > > > > > > -- =0D=0A> > > > > = > > John Baldwin=0D=0A> > > > > > > =0D=0A> > > > > > =0D=0A> > > > > > = =0D=0A> > > > > > Using patch: MD5 (boot2_test.patch) =3D = 72412f9b47b114302268561f12c1b46b=0D=0A> > > > > > =0D=0A> > > > > > = http://www.starforce.biz/stage2boot_1.jpg=0D=0A> > > > > > =0D=0A> > > > = > > This is the worst patch as even RE-typing doesn't work.=0D=0A> > > > = > > That is, it is completely unable to boot.=0D=0A> > > > > > =0D=0A> > = > > > > Throw me another patch!=0D=0A> > > > > =0D=0A> > > > > Ah, was = using sizeof() on the wrong thing, and I have a fix for the = garbage=0D=0A> > > > > you saw for kname as well. Patch is updated at = the normal URL.=0D=0A> > > > > =0D=0A> > > > > > > Please don't treat = John this way. He has put in a lot of time for=0D=0A> > > > > > > you, = and many others, and is one of THE experts.=0D=0A> > > > > > > =0D=0A> > = > > > > > Chris=0D=0A> > > > > > =0D=0A> > > > > > =0D=0A> > > > > > He = didn't got a bad treatment, nor any side is angry.=0D=0A> > > > > > = Relax! ;)=0D=0A> > > > > =0D=0A> > > > > Actually, you've been rather = rude for the entire thread, I am just doing my=0D=0A> > > > > best to = ignore it in the interest of getting the bug fixed.=0D=0A> > > > > = =0D=0A> > > > > -- =0D=0A> > > > > John Baldwin=0D=0A> > > > > =0D=0A> > = > > =0D=0A> > > > I'm sorry if you think so, especially part where I am = rude through the entire thread. That I can hardly believe.=0D=0A> > > > I = am also actively testing and am persistant in solving issue.=0D=0A> > > > = Or is problem in my perception?=0D=0A> > > =0D=0A> > > I think it may = just be that your language comes off as being a bit demanding,=0D=0A> > > = plus a fair bit of all caps, etc. If English is not your native = language=0D=0A> > > then that may also be a factor. If you are not = intending to be rude then that=0D=0A> > > is plenty good enough for me. = :)=0D=0A> > > =0D=0A> > > > Anyway, yours latest patch has a same md5 = hash as a previous one and also built binary /boot/boot had same md5 = hash.=0D=0A> > > > So I've simply skipped installing boot code.=0D=0A> > = > =0D=0A> > > Yes, my bad, I updated it locally but forgot to upload it = to the URL.=0D=0A> > > It should really be updated now.=0D=0A> > > = =0D=0A> > > -- =0D=0A> > > John Baldwin=0D=0A> > > =0D=0A> > =0D=0A> > = =0D=0A> > Using MD5 (boot2_test.patch) =3D = 05c46840163f789d362b46bf51b6c79f=0D=0A> > =0D=0A> > I can't build = it.=0D=0A> > =0D=0A> > # cd /sys/boot=0D=0A> > # make clean && make obj = && make depend && make && make install && make clean=0D=0A> > =0D=0A> > = ------=0D=0A> > =3D=3D=3D> i386/boot2 (all)=0D=0A> > objcopy -S -O binary = boot1.out boot1=0D=0A> > dd if=3D/dev/zero of=3Dboot2.ldr bs=3D512 = count=3D1=0D=0A> > 1+0 records in=0D=0A> > 1+0 records out=0D=0A> > 512 = bytes transferred in 0.000116 secs (4409617 bytes/sec)=0D=0A> > cc -Os = -fno-guess-branch-probability -fomit-frame-pointer -fno-unit-at-a-time = -mno-align-long-strings -mrtd -mregparm=3D3 -DUSE_XREAD -=0D=0A> = DUFS1_AND_UFS2 -DFLAGS=3D0x80 -DSIOPRT=3D0x3f8 -DSIOFMT=3D0x3 = -DSIOSPD=3D9600 -I/usr/src/sys/boot/i386/boot2/../../common -=0D=0A> = I/usr/src/sys/boot/i386/boot2/../btx/lib -I. -Wall -Waggregate-return = -Wbad-function-cast -Wcast-align -Wmissing-declarations = -Wmissing-=0D=0A> prototypes -Wnested-externs -Wpointer-arith -Wshadow = -Wstrict-prototypes -Wwrite-strings -Winline --param = max-inline-insns-single=3D100 -=0D=0A> ffreestanding = -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 = -mno-sse3 -msoft-float -std=3Dgnu99 -S -o boot2.s.tmp =0D=0A> = /usr/src/sys/boot/i386/boot2/boot2.c=0D=0A> > = /usr/src/sys/boot/i386/boot2/boot2.c: In function 'main':=0D=0A> > = /usr/src/sys/boot/i386/boot2/boot2.c:282: error: expected ':' before ')' = token=0D=0A> > /usr/src/sys/boot/i386/boot2/boot2.c: In function = 'parse':=0D=0A> > /usr/src/sys/boot/i386/boot2/boot2.c:468: warning: = passing argument 1 of 'memcpy' discards qualifiers from pointer target = type=0D=0A> =0D=0A> Oops, should be fixed now.=0D=0A> =0D=0A> -- =0D=0A> = John Baldwin=0D=0A> =0D=0A=0D=0A=0D=0AUsing: MD5 (boot2_test.patch) =3D = c2d6d2c9806df5915419987f200c05af=0D=0A=0D=0AStill fails to = build.=0D=0A=0D=0A----=0D=0A=3D=3D=3D> i386/boot2 (all)=0D=0Aobjcopy -S = -O binary boot1.out boot1=0D=0Add if=3D/dev/zero of=3Dboot2.ldr bs=3D512 = count=3D1=0D=0A1+0 records in=0D=0A1+0 records out=0D=0A512 bytes = transferred in 0.000117 secs (4382620 bytes/sec)=0D=0Acc -Os = -fno-guess-branch-probability -fomit-frame-pointer -fno-unit-at-a-time = -mno-align-long-strings -mrtd -mregparm=3D3 -DUSE_XREAD = -DUFS1_AND_UFS2 -DFLAGS=3D0x80 -DSIOPRT=3D0x3f8 -DSIOFMT=3D0x3 = -DSIOSPD=3D9600 -I/usr/src/sys/boot/i386/boot2/../../common = -I/usr/src/sys/boot/i386/boot2/../btx/lib -I. -Wall -Waggregate-return = -Wbad-function-cast -Wcast-align -Wmissing-declarations = -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow = -Wstrict-prototypes -Wwrite-strings -Winline --param = max-inline-insns-single=3D100 -ffreestanding = -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 = -mno-sse3 -msoft-float -std=3Dgnu99 -S -o boot2.s.tmp = /usr/src/sys/boot/i386/boot2/boot2.c=0D=0A/usr/src/sys/boot/i386/boot2/boot2.c: = In function 'main':=0D=0A/usr/src/sys/boot/i386/boot2/boot2.c:282: error: = expected ':' before ')' token=0D=0A*** [boot2.s] Error code = 1=0D=0A=0D=0AStop in /usr/src/sys/boot/i386/boot2.=0D=0A*** [all] Error = code 1=0D=0A=0D=0AStop in /usr/src/sys/boot/i386.=0D=0A*** [all] Error = code 1=0D=0A=0D=0AStop in = /usr/src/sys/boot.=0D=0A----=0D=0A=0D=0A=0D=0ADomagoj Smol=E8i=E6 From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 3 09:00:00 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B7A01065670; Sat, 3 Mar 2012 09:00:00 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 686A58FC0A; Sat, 3 Mar 2012 08:59:59 +0000 (UTC) Received: by wgbds12 with SMTP id ds12so2073948wgb.31 for ; Sat, 03 Mar 2012 00:59:58 -0800 (PST) Received-SPF: pass (google.com: domain of adrian.chadd@gmail.com designates 10.180.85.69 as permitted sender) client-ip=10.180.85.69; Authentication-Results: mr.google.com; spf=pass (google.com: domain of adrian.chadd@gmail.com designates 10.180.85.69 as permitted sender) smtp.mail=adrian.chadd@gmail.com; dkim=pass header.i=adrian.chadd@gmail.com Received: from mr.google.com ([10.180.85.69]) by 10.180.85.69 with SMTP id f5mr2765339wiz.18.1330765198443 (num_hops = 1); Sat, 03 Mar 2012 00:59:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=tElgKNE4o+3HQs3XpRLZv7AxtTOcqdDJdoJx5ZvOklo=; b=riQkKegIiW5eibchPWLUPb2qs0UhVqpdc1J19cbKWcvROX7jF8L960y3CeRGNBoke5 GO/FQNB9FmUkBH+HVMmbfjw8WrTJY+5+vUN+4Fx0byLmWVdCMua23PK1197FuJOUlwNd HTiLKV9V68budI1F/EuOWaMkasJywl5mzQxWKp7d7hGeK3daJ52juJvqTgCApiDcSOrO XIkxmqHxWr9pnC9KEZn7ieL6dDF2acAv1M6fM7R2a+rkK1zo2KCQ/j8ZepJNzHi5xt6G OCC+yuffJi4QPXPleIP6Ipth01qry57eKo62y/ZTjMaUvVdlb5ZtWV9Ll3Op8sXRBHg3 4CCQ== MIME-Version: 1.0 Received: by 10.180.85.69 with SMTP id f5mr2181360wiz.18.1330765198157; Sat, 03 Mar 2012 00:59:58 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.198.81 with HTTP; Sat, 3 Mar 2012 00:59:58 -0800 (PST) In-Reply-To: <4F51CAE9.20905@FreeBSD.org> References: <4F2F7B7F.40508@FreeBSD.org> <4F366E8F.9060207@FreeBSD.org> <4F367965.6000602@FreeBSD.org> <4F396B24.5090602@FreeBSD.org> <4F3978BC.6090608@FreeBSD.org> <4F3990EA.1080002@FreeBSD.org> <4F3C0BB9.6050101@FreeBSD.org> <4F3E807A.60103@FreeBSD.org> <4F3E8858.4000001@FreeBSD.org> <4F4ACF2C.50300@m5p.com> <4F4B67AB.40907@m5p.com> <4F4C17E2.2040101@m5p.com> <4F516281.30603@m5p.com> <4F51CAE9.20905@FreeBSD.org> Date: Sat, 3 Mar 2012 00:59:58 -0800 X-Google-Sender-Auth: 0VON1pvO_7jcguG-de_fuybxamU Message-ID: From: Adrian Chadd To: Alexander Motin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org, George Mitchell Subject: Re: [RFT][patch] Scheduling for HTT and not only X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 09:00:00 -0000 Right. Is this written up in a PR somewhere explaining the problem in as much depth has you just have? And thanks for this, it's great to see some further explanation of the current issues the scheduler faces. Adrian On 2 March 2012 23:40, Alexander Motin wrote: > Hi. > > > On 03/03/12 05:24, Adrian Chadd wrote: >> >> mav@, can you please take a look at George's traces and see if there's >> anything obviously silly going on? >> He's reporting that your ULE work hasn't improved his (very) degenerate >> case. > > > As I can see, my patch has nothing to do with the problem. My patch impro= ves > SMP load balancing, while in this case problem is different. In some case= s, > when not all CPUs are busy, my patch could mask the problem by using more > CPUs, but not in this case when dnets consumes all available CPUs. > > I still not feel very comfortable with ULE math, but as I understand, in > both illustrated cases there is a conflict between clearly CPU-bound dnet= s > threads, that consume all available CPU and never do voluntary context > switches, and more or less interactive other threads. If other threads > detected to be "interactive" in ULE terms, they should preempt dnets thre= ads > and everything will be fine. But "batch" (in ULE terms) threads never > preempt each other, switching context only about 10 times per second, as > hardcoded in sched_slice variable. Kernel build by definition consumes to= o > much CPU time to be marked "interactive". exo-helper-1 thread in > interact.out could potentially be marked "interactive", but possibly once= it > consumed some CPU to become "batch", it is difficult for it to get back, = as > waiting in a runq is not counted as sleep and each time it is getting > running, it has some new work to do, so it remains "batch". May be if CPU > time accounting was more precise it would work better (by accounting thos= e > short periods when threads really sleeps voluntary), but not with present > sampled logic with 1ms granularity. As result, while dnets threads each t= ime > consume full 100ms time slices, other threads are starving, getting runni= ng > only 10 times per second to voluntary switch out in just a few millisecon= ds. > > >> On 2 March 2012 16:14, George Mitchell =A0wrote: >>> >>> On 03/02/12 18:06, Adrian Chadd wrote: >>>> >>>> >>>> Hi George, >>>> >>>> Have you thought about providing schedgraph traces with your >>>> particular workload? >>>> >>>> I'm sure that'll help out the scheduler hackers quite a bit. >>>> >>>> THanks, >>>> >>>> >>>> Adrian >>>> >>> >>> I posted a couple back in December but I haven't created any more >>> recently: >>> >>> http://www.m5p.com/~george/ktr-ule-problem.out >>> http://www.m5p.com/~george/ktr-ule-interact.out >>> >>> To the best of my knowledge, no one ever examined them. =A0 -- George > > > > -- > Alexander Motin > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= " From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 3 09:12:33 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C2371065670; Sat, 3 Mar 2012 09:12:33 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id D47EF8FC08; Sat, 3 Mar 2012 09:12:32 +0000 (UTC) Received: by bkcjc3 with SMTP id jc3so2822934bkc.13 for ; Sat, 03 Mar 2012 01:12:31 -0800 (PST) Received-SPF: pass (google.com: domain of mavbsd@gmail.com designates 10.205.137.14 as permitted sender) client-ip=10.205.137.14; Authentication-Results: mr.google.com; spf=pass (google.com: domain of mavbsd@gmail.com designates 10.205.137.14 as permitted sender) smtp.mail=mavbsd@gmail.com; dkim=pass header.i=mavbsd@gmail.com Received: from mr.google.com ([10.205.137.14]) by 10.205.137.14 with SMTP id im14mr6984109bkc.137.1330765951773 (num_hops = 1); Sat, 03 Mar 2012 01:12:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=7INbNAJqjvMeOrXa/mcKQVZRkTJ7JduxqxgPGzlP1BE=; b=Nl+P90vXTOIO7Y69O0lWvWIyh5JJaFZthN+H6KsimBofBJIxA40ZmYLUZrSNd7HQ8R ji1DWrTqUiCHYZmO5RAlJcdPrl8JAg8OhkIESDSbikM2N5NzJwwYl5S/u8mr/U2MGY+V Rvauq7zfPOQNpYEgB2T6mafpCvgSqDrFXfOsYxFlMHU5HNH9KHOEhd8JTf8oIvWSXPNv w23IR8A9sl9esVV7tI8/j7A2gf/BTzHMO00bJDvCOCxE0eukGotLcx7kmgJn7hEyEXC8 AFR3pKXK1uU7N+lcmZTKSpTtUyCPkToAypTJHthSK3oyRamS4lbxRsdmBr1FPtQh4FLu QTGQ== Received: by 10.205.137.14 with SMTP id im14mr5577412bkc.137.1330765951649; Sat, 03 Mar 2012 01:12:31 -0800 (PST) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua. [212.86.226.226]) by mx.google.com with ESMTPS id y9sm13758658bkw.5.2012.03.03.01.12.29 (version=SSLv3 cipher=OTHER); Sat, 03 Mar 2012 01:12:30 -0800 (PST) Sender: Alexander Motin Message-ID: <4F51E07C.4020706@FreeBSD.org> Date: Sat, 03 Mar 2012 11:12:28 +0200 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120226 Thunderbird/10.0.2 MIME-Version: 1.0 To: Adrian Chadd References: <4F2F7B7F.40508@FreeBSD.org> <4F366E8F.9060207@FreeBSD.org> <4F367965.6000602@FreeBSD.org> <4F396B24.5090602@FreeBSD.org> <4F3978BC.6090608@FreeBSD.org> <4F3990EA.1080002@FreeBSD.org> <4F3C0BB9.6050101@FreeBSD.org> <4F3E807A.60103@FreeBSD.org> <4F3E8858.4000001@FreeBSD.org> <4F4ACF2C.50300@m5p.com> <4F4B67AB.40907@m5p.com> <4F4C17E2.2040101@m5p.com> <4F516281.30603@m5p.com> <4F51CAE9.20905@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, George Mitchell Subject: Re: [RFT][patch] Scheduling for HTT and not only X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 09:12:33 -0000 On 03/03/12 10:59, Adrian Chadd wrote: > Right. Is this written up in a PR somewhere explaining the problem in > as much depth has you just have? Have no idea. I am new at this area and haven't looked on PRs yet. > And thanks for this, it's great to see some further explanation of the > current issues the scheduler faces. By the way I've just reproduced the problem with compilation. On dual-core system net/mpd5 compilation in one stream takes 17 seconds. But with two low-priority non-interactive CPU-burning threads running it takes 127 seconds. I'll try to analyze it more now. I have feeling that there could be more factors causing priority violation than I've described below. > On 2 March 2012 23:40, Alexander Motin wrote: >> On 03/03/12 05:24, Adrian Chadd wrote: >>> >>> mav@, can you please take a look at George's traces and see if there's >>> anything obviously silly going on? >>> He's reporting that your ULE work hasn't improved his (very) degenerate >>> case. >> >> >> As I can see, my patch has nothing to do with the problem. My patch improves >> SMP load balancing, while in this case problem is different. In some cases, >> when not all CPUs are busy, my patch could mask the problem by using more >> CPUs, but not in this case when dnets consumes all available CPUs. >> >> I still not feel very comfortable with ULE math, but as I understand, in >> both illustrated cases there is a conflict between clearly CPU-bound dnets >> threads, that consume all available CPU and never do voluntary context >> switches, and more or less interactive other threads. If other threads >> detected to be "interactive" in ULE terms, they should preempt dnets threads >> and everything will be fine. But "batch" (in ULE terms) threads never >> preempt each other, switching context only about 10 times per second, as >> hardcoded in sched_slice variable. Kernel build by definition consumes too >> much CPU time to be marked "interactive". exo-helper-1 thread in >> interact.out could potentially be marked "interactive", but possibly once it >> consumed some CPU to become "batch", it is difficult for it to get back, as >> waiting in a runq is not counted as sleep and each time it is getting >> running, it has some new work to do, so it remains "batch". May be if CPU >> time accounting was more precise it would work better (by accounting those >> short periods when threads really sleeps voluntary), but not with present >> sampled logic with 1ms granularity. As result, while dnets threads each time >> consume full 100ms time slices, other threads are starving, getting running >> only 10 times per second to voluntary switch out in just a few milliseconds. >> >> >>> On 2 March 2012 16:14, George Mitchell wrote: >>>> >>>> On 03/02/12 18:06, Adrian Chadd wrote: >>>>> >>>>> >>>>> Hi George, >>>>> >>>>> Have you thought about providing schedgraph traces with your >>>>> particular workload? >>>>> >>>>> I'm sure that'll help out the scheduler hackers quite a bit. >>>>> >>>>> THanks, >>>>> >>>>> >>>>> Adrian >>>>> >>>> >>>> I posted a couple back in December but I haven't created any more >>>> recently: >>>> >>>> http://www.m5p.com/~george/ktr-ule-problem.out >>>> http://www.m5p.com/~george/ktr-ule-interact.out >>>> >>>> To the best of my knowledge, no one ever examined them. -- George >> >> >> >> -- >> Alexander Motin >> >> _______________________________________________ >> freebsd-hackers@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" -- Alexander Motin From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 3 09:16:20 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AD459106564A for ; Sat, 3 Mar 2012 09:16:20 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2FD218FC0C for ; Sat, 3 Mar 2012 09:16:19 +0000 (UTC) Received: by bkcjc3 with SMTP id jc3so2824427bkc.13 for ; Sat, 03 Mar 2012 01:16:19 -0800 (PST) Received-SPF: pass (google.com: domain of hiren.panchasara@gmail.com designates 10.204.150.86 as permitted sender) client-ip=10.204.150.86; Authentication-Results: mr.google.com; spf=pass (google.com: domain of hiren.panchasara@gmail.com designates 10.204.150.86 as permitted sender) smtp.mail=hiren.panchasara@gmail.com; dkim=pass header.i=hiren.panchasara@gmail.com Received: from mr.google.com ([10.204.150.86]) by 10.204.150.86 with SMTP id x22mr6977538bkv.136.1330766179073 (num_hops = 1); Sat, 03 Mar 2012 01:16:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=WDw95OdqmKxW0w4oyMS+842H9nSkLgzxt6ilg13H6FA=; b=xegz/CAE/jPajo4J8A3WEr+Mup0gl8VDaaXq859gAR9r7UyUk6TeoQNpQXWqBCTVh1 lL5ptPFra0YOVuhnVt5QbYezHyppzhO8RFztrWt1HhpLMYCS+kxjHtrUEJ+8xysGbBGH 6K46IgbpHXft9boj5d59Pfwc/fRNYKYoIz9uEoGUm2hqMf/Q2duZdUX3zemySMiIvg21 D2QtqhL3Q+mkVj+jpd/DebK84f7dY9r9+kfatsy1blptfJbkNj5Yj3qQsbuL8Aw2t5U5 e28Sz1n2hERWLk0PB7a8gJO1d6Y/xYlHWow6dJEUabWPQ1pACXsFBFuIGY0xSRZSqioH xXXQ== MIME-Version: 1.0 Received: by 10.204.150.86 with SMTP id x22mr5558985bkv.136.1330764472146; Sat, 03 Mar 2012 00:47:52 -0800 (PST) Received: by 10.204.230.5 with HTTP; Sat, 3 Mar 2012 00:47:52 -0800 (PST) Date: Sat, 3 Mar 2012 00:47:52 -0800 Message-ID: From: hiren panchasara To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: bridge interface type X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 09:16:20 -0000 I created bridge1 this way: $ sudo ifconfig bridge create Password: bridge1 $ ifconfig bridge1 bridge1: flags=8802 metric 0 mtu 1500 ether 02:32:c8:92:b6:01 nd6 options=29 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 0 ifcost 0 port 0 but when I try to look at the interface via "struct sockaddr_dl", sdl = (struct sockaddr_dl *) ifa->ifa_addr; sdl->sdl_type is "IFT_ETHER" for that interface. Shouldn't it be "IFT_BRIDGE"? What am I missing here? Thanks in advance, Hiren From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 3 09:38:29 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 18A9B1065673; Sat, 3 Mar 2012 09:38:29 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id A2FF28FC17; Sat, 3 Mar 2012 09:38:28 +0000 (UTC) Received: by iahk25 with SMTP id k25so4426093iah.13 for ; Sat, 03 Mar 2012 01:38:28 -0800 (PST) Received-SPF: pass (google.com: domain of utisoft@gmail.com designates 10.50.207.42 as permitted sender) client-ip=10.50.207.42; Authentication-Results: mr.google.com; spf=pass (google.com: domain of utisoft@gmail.com designates 10.50.207.42 as permitted sender) smtp.mail=utisoft@gmail.com; dkim=pass header.i=utisoft@gmail.com Received: from mr.google.com ([10.50.207.42]) by 10.50.207.42 with SMTP id lt10mr1351171igc.1.1330767508348 (num_hops = 1); Sat, 03 Mar 2012 01:38:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=zYGhiGgpBYMmHmYvo2d7RAo9dDZ9KI4zGGWXGAvEBQ0=; b=xMmzLD+v1jghTd/kxekvSDILaj95l8YQbkRF9STdYsWdgB8V//rVDnmf8kN9V9aoId SRosyCfokx+ZwZL+IRHTpUSN/4cL6ks1VOXnL2u5wLzaUOdiNCRzovdzwwBIIaIcS42Z WGGYlWwHKC8P6hjYWv+Nyu/Bks3W1LYGB7FtlBufP2jMH/BmDHW/3vmT+UEkuXj40WnC 6hzpf+wd1Lj9jWNwNXjoHDDiY4RwbzA8sz0OcoSHfRuPxmF2jc+e0meVnxUU9Jtyr6Y7 rZwvRDtLZmA94lNROp/DwifJS2yyNmfzEJQbsq6MWZsl/b2cAuuwJC8hHnZVOZPhc0sT vNHA== MIME-Version: 1.0 Received: by 10.50.207.42 with SMTP id lt10mr1111996igc.1.1330767508263; Sat, 03 Mar 2012 01:38:28 -0800 (PST) Received: by 10.231.53.67 with HTTP; Sat, 3 Mar 2012 01:38:26 -0800 (PST) Received: by 10.231.53.67 with HTTP; Sat, 3 Mar 2012 01:38:26 -0800 (PST) In-Reply-To: <20120302.151703.536.2@DOMY-PC> References: <20120302.151703.536.2@DOMY-PC> Date: Sat, 3 Mar 2012 09:38:26 +0000 Message-ID: From: Chris Rees To: rank1seeker@gmail.com Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Roman Divacky , hackers@freebsd.org, Andriy Gapon Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 09:38:29 -0000 On 2 Mar 2012 15:17, wrote: > > ----- Original Message ----- > From: John Baldwin > To: rank1seeker@gmail.com > Cc: hackers@freebsd.org, "Roman Divacky" , Andriy Gapon > Date: Thu, 1 Mar 2012 16:14:43 -0500 > Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) > > > > > However, avg@ might have found the actual cause of the bug. And Roman did > > > indeed break this earlier. Try the updated boot2_test.patch again. > > > > You should still try this. > > > > -- > > John Baldwin > > > > > Using patch: MD5 (boot2_test.patch) = 72412f9b47b114302268561f12c1b46b > > http://www.starforce.biz/stage2boot_1.jpg > > This is the worst patch as even RE-typing doesn't work. > That is, it is completely unable to boot. > > Throw me another patch! > > > > Please don't treat John this way. He has put in a lot of time for > > you, and many others, and is one of THE experts. > > > > Chris > > > He didn't got a bad treatment, nor any side is angry. > Relax! ;) .... That was sent privately for a reason. Please respect that in future. Chris From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 3 09:53:06 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DE8D2106564A; Sat, 3 Mar 2012 09:53:05 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id E82198FC14; Sat, 3 Mar 2012 09:53:04 +0000 (UTC) Received: by eekd17 with SMTP id d17so898189eek.13 for ; Sat, 03 Mar 2012 01:53:04 -0800 (PST) Received-SPF: pass (google.com: domain of rank1seeker@gmail.com designates 10.213.3.72 as permitted sender) client-ip=10.213.3.72; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rank1seeker@gmail.com designates 10.213.3.72 as permitted sender) smtp.mail=rank1seeker@gmail.com; dkim=pass header.i=rank1seeker@gmail.com Received: from mr.google.com ([10.213.3.72]) by 10.213.3.72 with SMTP id 8mr510880ebm.173.1330768384109 (num_hops = 1); Sat, 03 Mar 2012 01:53:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:from:to:subject:date:in-reply-to:references:x-mailer; bh=1ayTfTJnFL1Glt4De0VrRlOnP9W1FxwMGQrBEAwMTYs=; b=KpTl9SftCkWmRQZrkS0PxKy7mdAMsxYBmjUbqRsFI8DWyCt7FnObPTP9GQRKL+4LQS GLqLVypdJUnGcE4K1XunaK9fKv/dB+VKtDeDqqwcR73A62RVyJ8DfJrzB0vKeMuZ9ia7 aGMU1lTOWarfMsrnUOaZgKnwgP3xiO6K6ol9fJ/ZL205kP7uQ9mhxW6zQdtUX8pPXf91 KDu77YbkSFtnOTbvFJ4TqNoJSkMUKs8KznVcflngpBgA02b3cN7OhWmWUZ/SYZTBePEL 1y2Wgd7ZD5ESiW1/q2ckFo2KWfqbjllU8s73lR/aYaQRsi95GpQOq43sohs2qsIP+NTf I6KQ== Received: by 10.213.3.72 with SMTP id 8mr403765ebm.173.1330768383992; Sat, 03 Mar 2012 01:53:03 -0800 (PST) Received: from DOMYPC ([82.193.208.173]) by mx.google.com with ESMTPS id u9sm31753048eem.11.2012.03.03.01.52.56 (version=SSLv3 cipher=OTHER); Sat, 03 Mar 2012 01:53:02 -0800 (PST) Message-ID: <20120303.095304.183.7@DOMY-PC> From: rank1seeker@gmail.com To: hackers@freebsd.org, "John Baldwin" , "Roman Divacky" , "Andriy Gapon" Date: Sat, 03 Mar 2012 10:53:04 +0100 In-Reply-To: References: <20120302.151703.536.2@DOMY-PC> X-Mailer: POP Peeper (3.8.1.0) Cc: Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 09:53:06 -0000 ----- Original Message ----- From: Chris Rees To: rank1seeker@gmail.com Cc: Andriy Gapon , hackers@freebsd.org, Roman Divacky , John Baldwin Date: Sat, 3 Mar 2012 09:38:26 +0000 Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) > On 2 Mar 2012 15:17, wrote: > > > > ----- Original Message ----- > > From: John Baldwin > > To: rank1seeker@gmail.com > > Cc: hackers@freebsd.org, "Roman Divacky" , Andriy > Gapon > > Date: Thu, 1 Mar 2012 16:14:43 -0500 > > Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) > > > > > > > > However, avg@ might have found the actual cause of the bug. And > Roman did > > > > indeed break this earlier. Try the updated boot2_test.patch again. > > > > > > You should still try this. > > > > > > -- > > > John Baldwin > > > > > > > > > Using patch: MD5 (boot2_test.patch) = 72412f9b47b114302268561f12c1b46b > > > > http://www.starforce.biz/stage2boot_1.jpg > > > > This is the worst patch as even RE-typing doesn't work. > > That is, it is completely unable to boot. > > > > Throw me another patch! > > > > > > > Please don't treat John this way. He has put in a lot of time for > > > you, and many others, and is one of THE experts. > > > > > > Chris > > > > > > He didn't got a bad treatment, nor any side is angry. > > Relax! ;) > > .... > > That was sent privately for a reason. Please respect that in future. > > Chris > Sorry. I really didn't notice. I've simply started to reply to his message, which was destined to all. Then I've cut your mail with same subject and answered, to put it all in 1 email. This spared me of sending 3 emails. From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 3 12:54:22 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A631C1065825; Sat, 3 Mar 2012 12:54:22 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id AABD58FC12; Sat, 3 Mar 2012 12:54:21 +0000 (UTC) Received: by bkcjc3 with SMTP id jc3so2911666bkc.13 for ; Sat, 03 Mar 2012 04:54:20 -0800 (PST) Received-SPF: pass (google.com: domain of mavbsd@gmail.com designates 10.204.157.5 as permitted sender) client-ip=10.204.157.5; Authentication-Results: mr.google.com; spf=pass (google.com: domain of mavbsd@gmail.com designates 10.204.157.5 as permitted sender) smtp.mail=mavbsd@gmail.com; dkim=pass header.i=mavbsd@gmail.com Received: from mr.google.com ([10.204.157.5]) by 10.204.157.5 with SMTP id z5mr7330951bkw.95.1330779260533 (num_hops = 1); Sat, 03 Mar 2012 04:54:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=IMWkPfHr/At3sSN6ziOxHEEvRk3HqZvUTwAQIdiCiuA=; b=dWcRt07pZbpuUVZ0D8RAS6/dILRGK6+cu+qZ2iSVDKWQPB0vHtgm9s3iGpuiZIAiPO B2GCREa79C3zZplFi/P/1svs5dIBgODT39gA4hD4QG+RH2TQbzm75Rk9ek1aLAxa2iqm ZhsoQNwRtJsQOUeJzVGKU3++I0yYuv0ffjgMLvO6t+CKjMKGmGosJGW5YSAgNh4JfmXI OQw/Jl7HKfGtMBekIjN/jNHU4In/A09ZJjCK4qnZVObpDpmaDrf7FLCkssFe7hdT0ymz hP8CjYfKm6HmuNkGU57t2m3KUBpdWWiYm2Pun1AqSQAZAB4K4xAhjFqKwUro/czSoXcS 933Q== Received: by 10.204.157.5 with SMTP id z5mr5868060bkw.95.1330779260422; Sat, 03 Mar 2012 04:54:20 -0800 (PST) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua. [212.86.226.226]) by mx.google.com with ESMTPS id x22sm14523117bkw.11.2012.03.03.04.54.18 (version=SSLv3 cipher=OTHER); Sat, 03 Mar 2012 04:54:19 -0800 (PST) Sender: Alexander Motin Message-ID: <4F521479.30704@FreeBSD.org> Date: Sat, 03 Mar 2012 14:54:17 +0200 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120226 Thunderbird/10.0.2 MIME-Version: 1.0 To: Adrian Chadd References: <4F2F7B7F.40508@FreeBSD.org> <4F366E8F.9060207@FreeBSD.org> <4F367965.6000602@FreeBSD.org> <4F396B24.5090602@FreeBSD.org> <4F3978BC.6090608@FreeBSD.org> <4F3990EA.1080002@FreeBSD.org> <4F3C0BB9.6050101@FreeBSD.org> <4F3E807A.60103@FreeBSD.org> <4F3E8858.4000001@FreeBSD.org> <4F4ACF2C.50300@m5p.com> <4F4B67AB.40907@m5p.com> <4F4C17E2.2040101@m5p.com> <4F516281.30603@m5p.com> <4F51CAE9.20905@FreeBSD.org> <4F51E07C.4020706@FreeBSD.org> In-Reply-To: <4F51E07C.4020706@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, George Mitchell Subject: Re: [RFT][patch] Scheduling for HTT and not only X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 12:54:22 -0000 On 03/03/12 11:12, Alexander Motin wrote: > On 03/03/12 10:59, Adrian Chadd wrote: >> Right. Is this written up in a PR somewhere explaining the problem in >> as much depth has you just have? > > Have no idea. I am new at this area and haven't looked on PRs yet. > >> And thanks for this, it's great to see some further explanation of the >> current issues the scheduler faces. > > By the way I've just reproduced the problem with compilation. On > dual-core system net/mpd5 compilation in one stream takes 17 seconds. > But with two low-priority non-interactive CPU-burning threads running it > takes 127 seconds. I'll try to analyze it more now. I have feeling that > there could be more factors causing priority violation than I've > described below. On closer look my test appeared not so clean, but instead much more interesting. Because of NFS use, there is not just context switches between make, cc and as, that are possibly optimized a bit now, but many short sleeps when background process gets running. As result, in some moments I see such wonderful traces for cc: wait on runq for 81ms, run for 37us, wait NFS for 202us, wait on runq for 92ms, run for 30us, wait NFS for 245us, wait on runq for 53ms, run for 142us, About 0.05% CPU time use for process that supposed to be CPU-bound. And while for small run/sleep times ratio process could be nominated on interactivity, with so small absolute sleep times it will need ages to compensate 5 seconds of "batch" run history, recorded before. >> On 2 March 2012 23:40, Alexander Motin wrote: >>> On 03/03/12 05:24, Adrian Chadd wrote: >>>> >>>> mav@, can you please take a look at George's traces and see if there's >>>> anything obviously silly going on? >>>> He's reporting that your ULE work hasn't improved his (very) degenerate >>>> case. >>> >>> >>> As I can see, my patch has nothing to do with the problem. My patch >>> improves >>> SMP load balancing, while in this case problem is different. In some >>> cases, >>> when not all CPUs are busy, my patch could mask the problem by using >>> more >>> CPUs, but not in this case when dnets consumes all available CPUs. >>> >>> I still not feel very comfortable with ULE math, but as I understand, in >>> both illustrated cases there is a conflict between clearly CPU-bound >>> dnets >>> threads, that consume all available CPU and never do voluntary context >>> switches, and more or less interactive other threads. If other threads >>> detected to be "interactive" in ULE terms, they should preempt dnets >>> threads >>> and everything will be fine. But "batch" (in ULE terms) threads never >>> preempt each other, switching context only about 10 times per second, as >>> hardcoded in sched_slice variable. Kernel build by definition >>> consumes too >>> much CPU time to be marked "interactive". exo-helper-1 thread in >>> interact.out could potentially be marked "interactive", but possibly >>> once it >>> consumed some CPU to become "batch", it is difficult for it to get >>> back, as >>> waiting in a runq is not counted as sleep and each time it is getting >>> running, it has some new work to do, so it remains "batch". May be if >>> CPU >>> time accounting was more precise it would work better (by accounting >>> those >>> short periods when threads really sleeps voluntary), but not with >>> present >>> sampled logic with 1ms granularity. As result, while dnets threads >>> each time >>> consume full 100ms time slices, other threads are starving, getting >>> running >>> only 10 times per second to voluntary switch out in just a few >>> milliseconds. >>> >>> >>>> On 2 March 2012 16:14, George Mitchell wrote: >>>>> >>>>> On 03/02/12 18:06, Adrian Chadd wrote: >>>>>> >>>>>> >>>>>> Hi George, >>>>>> >>>>>> Have you thought about providing schedgraph traces with your >>>>>> particular workload? >>>>>> >>>>>> I'm sure that'll help out the scheduler hackers quite a bit. >>>>>> >>>>>> THanks, >>>>>> >>>>>> >>>>>> Adrian >>>>>> >>>>> >>>>> I posted a couple back in December but I haven't created any more >>>>> recently: >>>>> >>>>> http://www.m5p.com/~george/ktr-ule-problem.out >>>>> http://www.m5p.com/~george/ktr-ule-interact.out >>>>> >>>>> To the best of my knowledge, no one ever examined them. -- George >>> >>> -- >>> Alexander Motin -- Alexander Motin From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 3 15:26:15 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DB212106566C; Sat, 3 Mar 2012 15:26:15 +0000 (UTC) (envelope-from fidaj@ukr.net) Received: from fsm1.ukr.net (fsm1.ukr.net [195.214.192.120]) by mx1.freebsd.org (Postfix) with ESMTP id 24CA18FC0C; Sat, 3 Mar 2012 15:26:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=fsm; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=2CCnc1hHLF/Eb76THkuwMndvkpwyuH0VuMsVmIUl59E=; b=h3YlGYRz80WqT1IV1e7Rdy0DaL6d1U2lM7rf0s+DvQs3Dltl+72AQ6uDFT8p7UbS9OWBuzUGBbsW7tyK/eL0OcK7o6Hj6Gp3ZbKME+/vx/eXZuQz4XPgq0NqKYM/2cZv9LP30vOS3ixWb2Y3XIBqUbMEfBrwtxohdkZi/EaXPM8=; Received: from [178.137.138.140] (helo=nonamehost.) by fsm1.ukr.net with esmtpsa ID 1S3qqQ-000IeR-B1 ; Sat, 03 Mar 2012 17:26:02 +0200 Date: Sat, 3 Mar 2012 17:26:01 +0200 From: Ivan Klymenko To: Alexander Motin Message-ID: <20120303172601.07c9c2b5@nonamehost.> In-Reply-To: <4F521479.30704@FreeBSD.org> References: <4F2F7B7F.40508@FreeBSD.org> <4F396B24.5090602@FreeBSD.org> <4F3978BC.6090608@FreeBSD.org> <4F3990EA.1080002@FreeBSD.org> <4F3C0BB9.6050101@FreeBSD.org> <4F3E807A.60103@FreeBSD.org> <4F3E8858.4000001@FreeBSD.org> <4F4ACF2C.50300@m5p.com> <4F4B67AB.40907@m5p.com> <4F4C17E2.2040101@m5p.com> <4F516281.30603@m5p.com> <4F51CAE9.20905@FreeBSD.org> <4F51E07C.4020706@FreeBSD.org> <4F521479.30704@FreeBSD.org> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org, Adrian Chadd , George, Mitchell Subject: Re: [RFT][patch] Scheduling for HTT and not only X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 15:26:15 -0000 =D0=92 Sat, 03 Mar 2012 14:54:17 +0200 Alexander Motin =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > On 03/03/12 11:12, Alexander Motin wrote: > > On 03/03/12 10:59, Adrian Chadd wrote: > >> Right. Is this written up in a PR somewhere explaining the problem > >> in as much depth has you just have? > > > > Have no idea. I am new at this area and haven't looked on PRs yet. > > > >> And thanks for this, it's great to see some further explanation of > >> the current issues the scheduler faces. > > > > By the way I've just reproduced the problem with compilation. On > > dual-core system net/mpd5 compilation in one stream takes 17 > > seconds. But with two low-priority non-interactive CPU-burning > > threads running it takes 127 seconds. I'll try to analyze it more > > now. I have feeling that there could be more factors causing > > priority violation than I've described below. >=20 > On closer look my test appeared not so clean, but instead much more=20 > interesting. Because of NFS use, there is not just context switches=20 > between make, cc and as, that are possibly optimized a bit now, but > many short sleeps when background process gets running. As result, in > some moments I see such wonderful traces for cc: >=20 > wait on runq for 81ms, > run for 37us, > wait NFS for 202us, > wait on runq for 92ms, > run for 30us, > wait NFS for 245us, > wait on runq for 53ms, > run for 142us, >=20 > About 0.05% CPU time use for process that supposed to be CPU-bound. > And while for small run/sleep times ratio process could be nominated > on interactivity, with so small absolute sleep times it will need > ages to compensate 5 seconds of "batch" run history, recorded before. >=20 > >> On 2 March 2012 23:40, Alexander Motin wrote: > >>> On 03/03/12 05:24, Adrian Chadd wrote: > >>>> > >>>> mav@, can you please take a look at George's traces and see if > >>>> there's anything obviously silly going on? > >>>> He's reporting that your ULE work hasn't improved his (very) > >>>> degenerate case. > >>> > >>> > >>> As I can see, my patch has nothing to do with the problem. My > >>> patch improves > >>> SMP load balancing, while in this case problem is different. In > >>> some cases, > >>> when not all CPUs are busy, my patch could mask the problem by > >>> using more > >>> CPUs, but not in this case when dnets consumes all available CPUs. > >>> > >>> I still not feel very comfortable with ULE math, but as I > >>> understand, in both illustrated cases there is a conflict between > >>> clearly CPU-bound dnets > >>> threads, that consume all available CPU and never do voluntary > >>> context switches, and more or less interactive other threads. If > >>> other threads detected to be "interactive" in ULE terms, they > >>> should preempt dnets threads > >>> and everything will be fine. But "batch" (in ULE terms) threads > >>> never preempt each other, switching context only about 10 times > >>> per second, as hardcoded in sched_slice variable. Kernel build by > >>> definition consumes too > >>> much CPU time to be marked "interactive". exo-helper-1 thread in > >>> interact.out could potentially be marked "interactive", but > >>> possibly once it > >>> consumed some CPU to become "batch", it is difficult for it to get > >>> back, as > >>> waiting in a runq is not counted as sleep and each time it is > >>> getting running, it has some new work to do, so it remains > >>> "batch". May be if CPU > >>> time accounting was more precise it would work better (by > >>> accounting those > >>> short periods when threads really sleeps voluntary), but not with > >>> present > >>> sampled logic with 1ms granularity. As result, while dnets threads > >>> each time > >>> consume full 100ms time slices, other threads are starving, > >>> getting running > >>> only 10 times per second to voluntary switch out in just a few > >>> milliseconds. > >>> > >>> > >>>> On 2 March 2012 16:14, George Mitchell > >>>> wrote: > >>>>> > >>>>> On 03/02/12 18:06, Adrian Chadd wrote: > >>>>>> > >>>>>> > >>>>>> Hi George, > >>>>>> > >>>>>> Have you thought about providing schedgraph traces with your > >>>>>> particular workload? > >>>>>> > >>>>>> I'm sure that'll help out the scheduler hackers quite a bit. > >>>>>> > >>>>>> THanks, > >>>>>> > >>>>>> > >>>>>> Adrian > >>>>>> > >>>>> > >>>>> I posted a couple back in December but I haven't created any > >>>>> more recently: > >>>>> > >>>>> http://www.m5p.com/~george/ktr-ule-problem.out > >>>>> http://www.m5p.com/~george/ktr-ule-interact.out > >>>>> > >>>>> To the best of my knowledge, no one ever examined them. -- > >>>>> George > >>> > >>> -- > >>> Alexander Motin >=20 >=20 I have FreeBSD 10.0-CURRENT #0 r232253M Patch in r232454 broken my DRM My system patched http://people.freebsd.org/~kib/drm/all.13.5.patch After build kernel with only r232454 patch Xorg log contains: ... [ 504.865] [drm] failed to load kernel module "i915" [ 504.865] (EE) intel(0): [drm] Failed to open DRM device for pci:0000:00= :02.0: File exists [ 504.865] (EE) intel(0): Failed to become DRM master. [ 504.865] (**) intel(0): Depth 24, (--) framebuffer bpp 32 [ 504.865] (=3D=3D) intel(0): RGB weight 888 [ 504.865] (=3D=3D) intel(0): Default visual is TrueColor [ 504.865] (**) intel(0): Option "DRI" "True" [ 504.865] (**) intel(0): Option "TripleBuffer" "True" [ 504.865] (II) intel(0): Integrated Graphics Chipset: Intel(R) Sandybrid= ge Mobile (GT2) [ 504.865] (--) intel(0): Chipset: "Sandybridge Mobile (GT2)" and black screen... do not even know why it happened ... :( From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 3 16:31:03 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D94411065673 for ; Sat, 3 Mar 2012 16:31:03 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 47A908FC15 for ; Sat, 3 Mar 2012 16:31:02 +0000 (UTC) Received: by bkcjc3 with SMTP id jc3so3005094bkc.13 for ; Sat, 03 Mar 2012 08:31:02 -0800 (PST) Received-SPF: pass (google.com: domain of mavbsd@gmail.com designates 10.204.150.72 as permitted sender) client-ip=10.204.150.72; Authentication-Results: mr.google.com; spf=pass (google.com: domain of mavbsd@gmail.com designates 10.204.150.72 as permitted sender) smtp.mail=mavbsd@gmail.com; dkim=pass header.i=mavbsd@gmail.com Received: from mr.google.com ([10.204.150.72]) by 10.204.150.72 with SMTP id x8mr7540380bkv.60.1330792262316 (num_hops = 1); Sat, 03 Mar 2012 08:31:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=b1NhxBrWQd5UKJFC41VHDQij+dOSVo74zbS4N0NVEPY=; b=hZUucNYQos7h8PXwsf1Pp0ZzYFvDYvBooIcIRVLIQ0Ctx6BiD+tDN5kuLkVk8VGY29 EML6R6G/6ZALz/pw/LhpOtiuVZnpjM4t+/ty7hHDtVQNzOv0sWnTWQG7ORDatvODIliL om73xydJU4Rh2h/5hLLt6n9J3rXlMFosShB0LF3p5KSn3Z8gXIklXb0QT9+mr5aaCX0y jHxZt91MCYwXtca/68XM5S1PvMlVezBxQ+/9zteEVTiG6CVV69Yo4Qkg7YPc+oMufLVq rrEhQUtQzD93pORnLRPoKT74z14jePHNWq0nrhEQ04aYbjtEiHjXHfrI7Q6rv5YEoaw7 kDRA== Received: by 10.204.150.72 with SMTP id x8mr6016320bkv.60.1330792262213; Sat, 03 Mar 2012 08:31:02 -0800 (PST) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua. [212.86.226.226]) by mx.google.com with ESMTPS id o7sm15274466bkw.16.2012.03.03.08.31.00 (version=SSLv3 cipher=OTHER); Sat, 03 Mar 2012 08:31:01 -0800 (PST) Sender: Alexander Motin Message-ID: <4F52473A.3080101@FreeBSD.org> Date: Sat, 03 Mar 2012 18:30:50 +0200 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120116 Thunderbird/9.0 MIME-Version: 1.0 To: Ivan Klymenko References: <4F2F7B7F.40508@FreeBSD.org> <4F3978BC.6090608@FreeBSD.org> <4F3990EA.1080002@FreeBSD.org> <4F3C0BB9.6050101@FreeBSD.org> <4F3E807A.60103@FreeBSD.org> <4F3E8858.4000001@FreeBSD.org> <4F4ACF2C.50300@m5p.com> <4F4B67AB.40907@m5p.com> <4F4C17E2.2040101@m5p.com> <4F516281.30603@m5p.com> <4F51CAE9.20905@FreeBSD.org> <4F51E07C.4020706@FreeBSD.org> <4F521479.30704@FreeBSD.org> <4f523818.c70c440a.3d54.202dSMTPIN_ADDED@mx.google.com> In-Reply-To: <4f523818.c70c440a.3d54.202dSMTPIN_ADDED@mx.google.com> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: [RFT][patch] Scheduling for HTT and not only X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 16:31:04 -0000 On 03.03.2012 17:26, Ivan Klymenko wrote: > I have FreeBSD 10.0-CURRENT #0 r232253M > Patch in r232454 broken my DRM > My system patched http://people.freebsd.org/~kib/drm/all.13.5.patch > After build kernel with only r232454 patch Xorg log contains: > ... > [ 504.865] [drm] failed to load kernel module "i915" > [ 504.865] (EE) intel(0): [drm] Failed to open DRM device for pci:0000:00:02.0: File exists > [ 504.865] (EE) intel(0): Failed to become DRM master. > [ 504.865] (**) intel(0): Depth 24, (--) framebuffer bpp 32 > [ 504.865] (==) intel(0): RGB weight 888 > [ 504.865] (==) intel(0): Default visual is TrueColor > [ 504.865] (**) intel(0): Option "DRI" "True" > [ 504.865] (**) intel(0): Option "TripleBuffer" "True" > [ 504.865] (II) intel(0): Integrated Graphics Chipset: Intel(R) Sandybridge Mobile (GT2) > [ 504.865] (--) intel(0): Chipset: "Sandybridge Mobile (GT2)" > and black screen... > > do not even know why it happened ... :( I've just rebuilt my Core2Duo laptop with r232454 and have no any problem with Xorg and (at least old) Intel video driver. Now writing this mail from it. Now started rebuilding of my home server. I am not sure how this change can cause such specific effect. Are you sure you haven't changed anything else unexpectedly? -- Alexander Motin From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 3 17:23:56 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5ACFF1065670 for ; Sat, 3 Mar 2012 17:23:56 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0F9F98FC0C for ; Sat, 3 Mar 2012 17:23:55 +0000 (UTC) Received: by yenl9 with SMTP id l9so1123314yen.13 for ; Sat, 03 Mar 2012 09:23:55 -0800 (PST) Received-SPF: pass (google.com: domain of lobo@bsd.com.br designates 10.100.246.4 as permitted sender) client-ip=10.100.246.4; Authentication-Results: mr.google.com; spf=pass (google.com: domain of lobo@bsd.com.br designates 10.100.246.4 as permitted sender) smtp.mail=lobo@bsd.com.br Received: from mr.google.com ([10.100.246.4]) by 10.100.246.4 with SMTP id t4mr6139625anh.43.1330795435483 (num_hops = 1); Sat, 03 Mar 2012 09:23:55 -0800 (PST) Received: by 10.100.246.4 with SMTP id t4mr4851873anh.43.1330793839961; Sat, 03 Mar 2012 08:57:19 -0800 (PST) Received: from papi.localnet ([187.59.247.170]) by mx.google.com with ESMTPS id m30sm23943868yhe.15.2012.03.03.08.57.17 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 03 Mar 2012 08:57:19 -0800 (PST) From: Mario Lobo To: freebsd-hackers@freebsd.org Date: Sat, 3 Mar 2012 13:57:21 -0300 User-Agent: KMail/1.13.7 (FreeBSD/8.2-STABLE; KDE/4.6.2; amd64; ; ) References: <4F2F7B7F.40508@FreeBSD.org> <4f523818.c70c440a.3d54.202dSMTPIN_ADDED@mx.google.com> <4F52473A.3080101@FreeBSD.org> In-Reply-To: <4F52473A.3080101@FreeBSD.org> X-KMail-Markup: true MIME-Version: 1.0 Message-Id: <201203031357.21628.lobo@bsd.com.br> X-Gm-Message-State: ALoCoQmB1YmMg8WMjxgedHGEI8AqqhManrEaWuU9bSVQzqCwzIT5e14QrCnzvjRbT0jc9dmYD3XC Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: [RFT][patch] Scheduling for HTT and not only X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 17:23:56 -0000 On Saturday 03 March 2012 13:30:50 Alexander Motin wrote: > On 03.03.2012 17:26, Ivan Klymenko wrote: > > I have FreeBSD 10.0-CURRENT #0 r232253M > > Patch in r232454 broken my DRM > > My system patched http://people.freebsd.org/~kib/drm/all.13.5.patch > > After build kernel with only r232454 patch Xorg log contains: > > ... > > [ 504.865] [drm] failed to load kernel module "i915" > > [ 504.865] (EE) intel(0): [drm] Failed to open DRM device for > > pci:0000:00:02.0: File exists [ 504.865] (EE) intel(0): Failed to > > become DRM master. > > [ 504.865] (**) intel(0): Depth 24, (--) framebuffer bpp 32 > > [ 504.865] (==) intel(0): RGB weight 888 > > [ 504.865] (==) intel(0): Default visual is TrueColor > > [ 504.865] (**) intel(0): Option "DRI" "True" > > [ 504.865] (**) intel(0): Option "TripleBuffer" "True" > > [ 504.865] (II) intel(0): Integrated Graphics Chipset: Intel(R) > > Sandybridge Mobile (GT2) [ 504.865] (--) intel(0): Chipset: > > "Sandybridge Mobile (GT2)" > > and black screen... > > > > do not even know why it happened ... :( > > I've just rebuilt my Core2Duo laptop with r232454 and have no any > problem with Xorg and (at least old) Intel video driver. Now writing > this mail from it. Now started rebuilding of my home server. I am not > sure how this change can cause such specific effect. Are you sure you > haven't changed anything else unexpectedly? I'd like to test the patch on my 8.2-STABLE desktop. Phenom II quad / 16 GRam I have sched.htt40.patch here. Is this the latest? Will it apply cleanly on it? Any "gotchas"? Thanks, -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] (99% winblows FREE) From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 3 17:57:01 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 903A61065675 for ; Sat, 3 Mar 2012 17:57:01 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0B0A58FC18 for ; Sat, 3 Mar 2012 17:57:00 +0000 (UTC) Received: by bkcjc3 with SMTP id jc3so3040253bkc.13 for ; Sat, 03 Mar 2012 09:56:59 -0800 (PST) Received-SPF: pass (google.com: domain of mavbsd@gmail.com designates 10.204.154.209 as permitted sender) client-ip=10.204.154.209; Authentication-Results: mr.google.com; spf=pass (google.com: domain of mavbsd@gmail.com designates 10.204.154.209 as permitted sender) smtp.mail=mavbsd@gmail.com; dkim=pass header.i=mavbsd@gmail.com Received: from mr.google.com ([10.204.154.209]) by 10.204.154.209 with SMTP id p17mr1630075bkw.6.1330797419943 (num_hops = 1); Sat, 03 Mar 2012 09:56:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=YrsM4ScIwKG/wC/XUM1bMhQrRcPxfPs5iq6wx1BcdIU=; b=faN5Thg1fAZ5AuU9wJ1UGCylnEOVCvwhR1YaL+eZNXhJoiD4lY0oGmetn42XTsjZn6 +WKu1rLApanqvR+h4lfzMIP/QrP33IFVthoI1O3kcHFuyFGqwm7jLuHjRCDrjRwLxkUp z7lodEiJ02Uqat16XazykQYBAXGX2fDIJskRbI/nzzHj+e0grwK8qnd86LB3SV/iSSxU 5zL7ZE5qkTK1621qW8XnbKp5glu5ZTV5boHCVlSjMeu6wby3XkzalZ0unt0LcFp/0JtP T0ZDIg8MgOvusikh8C0nxkQhYn2ejvokz1rqARSCGIk6dwA4q6Qz/pYm4gkFi6IeN/ZR FVRQ== Received: by 10.204.154.209 with SMTP id p17mr1282951bkw.6.1330797419861; Sat, 03 Mar 2012 09:56:59 -0800 (PST) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua. [212.86.226.226]) by mx.google.com with ESMTPS id 20sm15592318bky.13.2012.03.03.09.56.57 (version=SSLv3 cipher=OTHER); Sat, 03 Mar 2012 09:56:58 -0800 (PST) Sender: Alexander Motin Message-ID: <4F525B5E.2010402@FreeBSD.org> Date: Sat, 03 Mar 2012 19:56:46 +0200 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120116 Thunderbird/9.0 MIME-Version: 1.0 To: Mario Lobo References: <4F52473A.3080101@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: [RFT][patch] Scheduling for HTT and not only X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 17:57:01 -0000 On 03.03.2012 18:57, Mario Lobo wrote: > On Saturday 03 March 2012 13:30:50 Alexander Motin wrote: >> On 03.03.2012 17:26, Ivan Klymenko wrote: >>> I have FreeBSD 10.0-CURRENT #0 r232253M >>> Patch in r232454 broken my DRM >>> My system patched http://people.freebsd.org/~kib/drm/all.13.5.patch >>> After build kernel with only r232454 patch Xorg log contains: >>> ... >>> [ 504.865] [drm] failed to load kernel module "i915" >>> [ 504.865] (EE) intel(0): [drm] Failed to open DRM device for >>> pci:0000:00:02.0: File exists [ 504.865] (EE) intel(0): Failed to >>> become DRM master. >>> [ 504.865] (**) intel(0): Depth 24, (--) framebuffer bpp 32 >>> [ 504.865] (==) intel(0): RGB weight 888 >>> [ 504.865] (==) intel(0): Default visual is TrueColor >>> [ 504.865] (**) intel(0): Option "DRI" "True" >>> [ 504.865] (**) intel(0): Option "TripleBuffer" "True" >>> [ 504.865] (II) intel(0): Integrated Graphics Chipset: Intel(R) >>> Sandybridge Mobile (GT2) [ 504.865] (--) intel(0): Chipset: >>> "Sandybridge Mobile (GT2)" >>> and black screen... >>> >>> do not even know why it happened ... :( >> >> I've just rebuilt my Core2Duo laptop with r232454 and have no any >> problem with Xorg and (at least old) Intel video driver. Now writing >> this mail from it. Now started rebuilding of my home server. I am not >> sure how this change can cause such specific effect. Are you sure you >> haven't changed anything else unexpectedly? > > I'd like to test the patch on my 8.2-STABLE desktop. > Phenom II quad / 16 GRam > > I have sched.htt40.patch here. Is this the latest? It is, mostly. Code committed to the HEAD was slightly modified. Here is the patch as it is in SVN: http://svnweb.freebsd.org/base/head/sys/kern/sched_ule.c?r1=229429&r2=232207&view=patch And today I've fixed one found bug: http://svnweb.freebsd.org/base/head/sys/kern/sched_ule.c?r1=232207&r2=232454&view=patch > Will it apply cleanly on it? > Any "gotchas"? Sorry, I have no idea about difference from 8-STABLE. You may try. -- Alexander Motin From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 3 19:15:43 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3448C106566C; Sat, 3 Mar 2012 19:15:43 +0000 (UTC) (envelope-from fidaj@ukr.net) Received: from fsm2.ukr.net (fsm2.ukr.net [195.214.192.121]) by mx1.freebsd.org (Postfix) with ESMTP id 89C6F8FC08; Sat, 3 Mar 2012 19:15:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=fsm; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=8VwH2TNTw99uIlyKItueJ4eqHZ/6RpOTHhEhVcjEr0U=; b=VTNfnoWz7q1HTYcF+YcDSD+44HtKeN0oS25jQwI9FyUzl/OD6R7b0Fn3h5Cuxho8yfBT1ilYPwSGSA9e/ZI49ruGjULnLnbj9fsHxupBuX/1ptDU2bYqYWU5bi07yDJYkz8Qb7zW8LPjluZtZYAPWKhHnHN7zSsNyk0jpSrmoYg=; Received: from [178.137.138.140] (helo=nonamehost.) by fsm2.ukr.net with esmtpsa ID 1S3uQa-000GZv-Es ; Sat, 03 Mar 2012 21:15:36 +0200 Date: Sat, 3 Mar 2012 21:15:35 +0200 From: Ivan Klymenko To: Alexander Motin Message-ID: <20120303211535.0e8395b1@nonamehost.> In-Reply-To: <4F52473A.3080101@FreeBSD.org> References: <4F2F7B7F.40508@FreeBSD.org> <4F3990EA.1080002@FreeBSD.org> <4F3C0BB9.6050101@FreeBSD.org> <4F3E807A.60103@FreeBSD.org> <4F3E8858.4000001@FreeBSD.org> <4F4ACF2C.50300@m5p.com> <4F4B67AB.40907@m5p.com> <4F4C17E2.2040101@m5p.com> <4F516281.30603@m5p.com> <4F51CAE9.20905@FreeBSD.org> <4F51E07C.4020706@FreeBSD.org> <4F521479.30704@FreeBSD.org> <4f523818.c70c440a.3d54.202dSMTPIN_ADDED@mx.google.com> <4F52473A.3080101@FreeBSD.org> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Garrett Cooper , freebsd-hackers@freebsd.org Subject: Re: [RFT][patch] Scheduling for HTT and not only X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 19:15:43 -0000 =D0=92 Sat, 03 Mar 2012 18:30:50 +0200 Alexander Motin =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > On 03.03.2012 17:26, Ivan Klymenko wrote: > > I have FreeBSD 10.0-CURRENT #0 r232253M > > Patch in r232454 broken my DRM > > My system patched http://people.freebsd.org/~kib/drm/all.13.5.patch > > After build kernel with only r232454 patch Xorg log contains: > > ... > > [ 504.865] [drm] failed to load kernel module "i915" > > [ 504.865] (EE) intel(0): [drm] Failed to open DRM device for > > pci:0000:00:02.0: File exists [ 504.865] (EE) intel(0): Failed to > > become DRM master. [ 504.865] (**) intel(0): Depth 24, (--) > > framebuffer bpp 32 [ 504.865] (=3D=3D) intel(0): RGB weight 888 > > [ 504.865] (=3D=3D) intel(0): Default visual is TrueColor > > [ 504.865] (**) intel(0): Option "DRI" "True" > > [ 504.865] (**) intel(0): Option "TripleBuffer" "True" > > [ 504.865] (II) intel(0): Integrated Graphics Chipset: Intel(R) > > Sandybridge Mobile (GT2) [ 504.865] (--) intel(0): Chipset: > > "Sandybridge Mobile (GT2)" and black screen... > > > > do not even know why it happened ... :( >=20 > I've just rebuilt my Core2Duo laptop with r232454 and have no any=20 > problem with Xorg and (at least old) Intel video driver. Now writing=20 > this mail from it. Now started rebuilding of my home server. I am not=20 > sure how this change can cause such specific effect. Are you sure you=20 > haven't changed anything else unexpectedly? >=20 Sorry for the noise. :( I did manage to run the system with the new patch ULE only the fifth attempt... Diagnose the cause I have not succeeded :( This is probably a consequence of the experimental drivers for GPU builtin in Sandy Bridge... Thanks! From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 3 21:35:02 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56FD5106566B for ; Sat, 3 Mar 2012 21:35:02 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 203388FC13 for ; Sat, 3 Mar 2012 21:35:02 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id q23LZ10D012609; Sat, 3 Mar 2012 13:35:01 -0800 (PST) (envelope-from yuri@rawbw.com) Message-ID: <4F528E83.8030103@rawbw.com> Date: Sat, 03 Mar 2012 13:34:59 -0800 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120218 Thunderbird/10.0.2 MIME-Version: 1.0 To: Gavin Mu References: <4F516AA7.8060606@rawbw.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Can I take a snapshot of the current stack for every thread in some process from outside? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 21:35:02 -0000 On 03/02/2012 17:07, Gavin Mu wrote: > ports/sysutils/pstack can do this if you use x86 machine. After fixing obvious compile issues on amd64, symbol "_thread_list" can't be found. Looks like hash algorithm is correct and finds other symbols, just not "_thread_list". I don't know where to go from here. Yuri From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 3 23:33:18 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5FAB0106566B for ; Sat, 3 Mar 2012 23:33:18 +0000 (UTC) (envelope-from falkman@gamozo.org) Received: from fireblade.netcore2k.net (fireblade.netcore2k.net [92.48.127.72]) by mx1.freebsd.org (Postfix) with ESMTP id F2F5B8FC12 for ; Sat, 3 Mar 2012 23:33:17 +0000 (UTC) Received: by fireblade.netcore2k.net with ESMTP id q23NXAfm010902 for ; Sat, 3 Mar 2012 23:33:11 GMT Message-ID: <4F52AA30.2030600@gamozo.org> Date: Sat, 03 Mar 2012 18:33:04 -0500 From: Brandon Falk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [clang] Build error on r232474 (and a few before, don't know exactly which) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 23:33:18 -0000 I'm trying to build r232474 with clang (build environment is 10.0-CURRENT r231589 amd64 with clang), and I fail on `make -j16 buildworld`. I've tried with and without threads. I've built so many builds of clang that I can't even count, so I'm confident my environment is set up properly. I'm building under a virtual machine, although I've never had issues with that before. ---- error ---- ===> gnu/usr.bin/texinfo/doc (all) makeinfo --no-split -I /root/src/gnu/usr.bin/texinfo/doc -I /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc/info.texi -o info.info makeinfo --no-split -I /root/src/gnu/usr.bin/texinfo/doc -I /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc/info-stnd.texi -o info-stnd.info ln -fs /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc/texinfo.txi texinfo.texi makeinfo --no-split -I /root/src/gnu/usr.bin/texinfo/doc -I /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc texinfo.texi -o texinfo.info gzip -cn info.info> info.info.gz gzip -cn info-stnd.info> info-stnd.info.gz gzip -cn texinfo.info> texinfo.info.gz 1 error *** [everything] Error code 2 1 error *** [buildworld] Error code 2 1 error ---- END error ---- ---- Make.conf ---- .if !defined(CC) || ${CC} == "cc" CC=clang .endif .if !defined(CXX) || ${CXX} == "c++" CXX=clang++ .endif .if !defined(CPP) || ${CPP} == "cpp" CPP=clang-cpp .endif NO_WERROR= WERROR= NO_FSCHG= # added by use.perl 2012-03-03 16:12:59 PERL_VERSION=5.12.4 ---- END Make.conf ---- -Brandon From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 3 23:49:16 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D11F7106564A for ; Sat, 3 Mar 2012 23:49:16 +0000 (UTC) (envelope-from falkman@gamozo.org) Received: from fireblade.netcore2k.net (fireblade.netcore2k.net [92.48.127.72]) by mx1.freebsd.org (Postfix) with ESMTP id 513C68FC08 for ; Sat, 3 Mar 2012 23:49:15 +0000 (UTC) Received: by fireblade.netcore2k.net with ESMTP id q23NnBm4010948 ; Sat, 3 Mar 2012 23:49:12 GMT Message-ID: <4F52ADF1.7010606@gamozo.org> Date: Sat, 03 Mar 2012 18:49:05 -0500 From: Brandon Falk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: Dan Nelson References: <4F52AA30.2030600@gamozo.org> <20120303234051.GA42750@dan.emsphone.com> In-Reply-To: <20120303234051.GA42750@dan.emsphone.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: [clang] Build error on r232474 (and a few before, don't know exactly which) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 23:49:16 -0000 On 3/3/2012 6:40 PM, Dan Nelson wrote: > In the last episode (Mar 03), Brandon Falk said: >> I'm trying to build r232474 with clang (build environment is 10.0-CURRENT >> r231589 amd64 with clang), and I fail on `make -j16 buildworld`. I've >> tried with and without threads. I've built so many builds of clang that I >> can't even count, so I'm confident my environment is set up properly. I'm >> building under a virtual machine, although I've never had issues with that >> before. > You didn't actually paste an error at all below, but the fact that the > top-level make reported an error from one of the sub-makes. You'll need to > either capture the entire build log and scroll through it from the bottom up > to find the error message, or build without -j16 so the error is at the > bottom of the output. > >> ---- error ---- >> >> ===> gnu/usr.bin/texinfo/doc (all) >> makeinfo --no-split -I /root/src/gnu/usr.bin/texinfo/doc -I /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc/info.texi -o info.info >> makeinfo --no-split -I /root/src/gnu/usr.bin/texinfo/doc -I /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc/info-stnd.texi -o info-stnd.info >> ln -fs /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc/texinfo.txi texinfo.texi >> makeinfo --no-split -I /root/src/gnu/usr.bin/texinfo/doc -I /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc texinfo.texi -o texinfo.info >> gzip -cn info.info> info.info.gz >> gzip -cn info-stnd.info> info-stnd.info.gz >> gzip -cn texinfo.info> texinfo.info.gz >> 1 error >> *** [everything] Error code 2 >> 1 error >> *** [buildworld] Error code 2 >> 1 error >> >> ---- END error ---- >> >> ---- Make.conf ---- >> >> .if !defined(CC) || ${CC} == "cc" >> CC=clang >> .endif >> .if !defined(CXX) || ${CXX} == "c++" >> CXX=clang++ >> .endif >> .if !defined(CPP) || ${CPP} == "cpp" >> CPP=clang-cpp >> .endif >> >> NO_WERROR= >> WERROR= >> NO_FSCHG= >> >> # added by use.perl 2012-03-03 16:12:59 >> PERL_VERSION=5.12.4 >> >> ---- END Make.conf ---- >> >> -Brandon >> >> >> _______________________________________________ >> freebsd-hackers@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" Oops, I meant to paste the URL for the entire log. You can find it here: http://www.brandonfa.lk/freebsd-clang/log.gz I'll start a build without threads right now. -Brandon From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 3 23:52:27 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12339106564A for ; Sat, 3 Mar 2012 23:52:27 +0000 (UTC) (envelope-from falkman@gamozo.org) Received: from fireblade.netcore2k.net (fireblade.netcore2k.net [92.48.127.72]) by mx1.freebsd.org (Postfix) with ESMTP id 8644C8FC16 for ; Sat, 3 Mar 2012 23:52:26 +0000 (UTC) Received: by fireblade.netcore2k.net with ESMTP id q23NqOCm010962 for ; Sat, 3 Mar 2012 23:52:25 GMT Message-ID: <4F52AEB3.4090907@gamozo.org> Date: Sat, 03 Mar 2012 18:52:19 -0500 From: Brandon Falk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <4F52AA30.2030600@gamozo.org> <20120303234051.GA42750@dan.emsphone.com> <4F52ADF1.7010606@gamozo.org> In-Reply-To: <4F52ADF1.7010606@gamozo.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [clang] Build error on r232474 (and a few before, don't know exactly which) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 23:52:27 -0000 On 3/3/2012 6:49 PM, Brandon Falk wrote: > On 3/3/2012 6:40 PM, Dan Nelson wrote: >> In the last episode (Mar 03), Brandon Falk said: >>> I'm trying to build r232474 with clang (build environment is >>> 10.0-CURRENT >>> r231589 amd64 with clang), and I fail on `make -j16 buildworld`. I've >>> tried with and without threads. I've built so many builds of clang >>> that I >>> can't even count, so I'm confident my environment is set up >>> properly. I'm >>> building under a virtual machine, although I've never had issues >>> with that >>> before. >> You didn't actually paste an error at all below, but the fact that the >> top-level make reported an error from one of the sub-makes. You'll >> need to >> either capture the entire build log and scroll through it from the >> bottom up >> to find the error message, or build without -j16 so the error is at the >> bottom of the output. >> >>> ---- error ---- >>> >>> ===> gnu/usr.bin/texinfo/doc (all) >>> makeinfo --no-split -I /root/src/gnu/usr.bin/texinfo/doc -I >>> /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc >>> /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc/info.texi >>> -o info.info >>> makeinfo --no-split -I /root/src/gnu/usr.bin/texinfo/doc -I >>> /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc >>> /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc/info-stnd.texi >>> -o info-stnd.info >>> ln -fs >>> /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc/texinfo.txi >>> texinfo.texi >>> makeinfo --no-split -I /root/src/gnu/usr.bin/texinfo/doc -I >>> /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc >>> texinfo.texi -o texinfo.info >>> gzip -cn info.info> info.info.gz >>> gzip -cn info-stnd.info> info-stnd.info.gz >>> gzip -cn texinfo.info> texinfo.info.gz >>> 1 error >>> *** [everything] Error code 2 >>> 1 error >>> *** [buildworld] Error code 2 >>> 1 error >>> >>> ---- END error ---- >>> >>> ---- Make.conf ---- >>> >>> .if !defined(CC) || ${CC} == "cc" >>> CC=clang >>> .endif >>> .if !defined(CXX) || ${CXX} == "c++" >>> CXX=clang++ >>> .endif >>> .if !defined(CPP) || ${CPP} == "cpp" >>> CPP=clang-cpp >>> .endif >>> >>> NO_WERROR= >>> WERROR= >>> NO_FSCHG= >>> >>> # added by use.perl 2012-03-03 16:12:59 >>> PERL_VERSION=5.12.4 >>> >>> ---- END Make.conf ---- >>> >>> -Brandon >>> > > Oops, I meant to paste the URL for the entire log. You can find it > here: http://www.brandonfa.lk/freebsd-clang/log.gz > > I'll start a build without threads right now. > > -Brandon > I was trying to navigate the log in `edit`. Now that I'm in vim I quickly found the error. lint: cannot exec /usr/obj/root/src/tmp/usr/bin/cc: No such file or directory *** [llib-lposix.ln] Error code 1 This error is repeated in a few places. -Brandon From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 3 23:59:54 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 28421106564A for ; Sat, 3 Mar 2012 23:59:54 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id E11578FC0C for ; Sat, 3 Mar 2012 23:59:53 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id q23Nepf9046027 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 3 Mar 2012 17:40:51 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.5/8.14.5) with ESMTP id q23Nep2k097111 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 3 Mar 2012 17:40:51 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.5/8.14.5/Submit) id q23Nepuw097107; Sat, 3 Mar 2012 17:40:51 -0600 (CST) (envelope-from dan) Date: Sat, 3 Mar 2012 17:40:51 -0600 From: Dan Nelson To: Brandon Falk Message-ID: <20120303234051.GA42750@dan.emsphone.com> References: <4F52AA30.2030600@gamozo.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4F52AA30.2030600@gamozo.org> X-OS: FreeBSD 8.2-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.2 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (email2.allantgroup.com [199.67.51.78]); Sat, 03 Mar 2012 17:41:37 -0600 (CST) X-Scanned-By: MIMEDefang 2.68 on 199.67.51.78 Cc: freebsd-hackers@freebsd.org Subject: Re: [clang] Build error on r232474 (and a few before, don't know exactly which) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 23:59:54 -0000 In the last episode (Mar 03), Brandon Falk said: > I'm trying to build r232474 with clang (build environment is 10.0-CURRENT > r231589 amd64 with clang), and I fail on `make -j16 buildworld`. I've > tried with and without threads. I've built so many builds of clang that I > can't even count, so I'm confident my environment is set up properly. I'm > building under a virtual machine, although I've never had issues with that > before. You didn't actually paste an error at all below, but the fact that the top-level make reported an error from one of the sub-makes. You'll need to either capture the entire build log and scroll through it from the bottom up to find the error message, or build without -j16 so the error is at the bottom of the output. > ---- error ---- > > ===> gnu/usr.bin/texinfo/doc (all) > makeinfo --no-split -I /root/src/gnu/usr.bin/texinfo/doc -I /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc/info.texi -o info.info > makeinfo --no-split -I /root/src/gnu/usr.bin/texinfo/doc -I /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc/info-stnd.texi -o info-stnd.info > ln -fs /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc/texinfo.txi texinfo.texi > makeinfo --no-split -I /root/src/gnu/usr.bin/texinfo/doc -I /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc texinfo.texi -o texinfo.info > gzip -cn info.info> info.info.gz > gzip -cn info-stnd.info> info-stnd.info.gz > gzip -cn texinfo.info> texinfo.info.gz > 1 error > *** [everything] Error code 2 > 1 error > *** [buildworld] Error code 2 > 1 error > > ---- END error ---- > > ---- Make.conf ---- > > .if !defined(CC) || ${CC} == "cc" > CC=clang > .endif > .if !defined(CXX) || ${CXX} == "c++" > CXX=clang++ > .endif > .if !defined(CPP) || ${CPP} == "cpp" > CPP=clang-cpp > .endif > > NO_WERROR= > WERROR= > NO_FSCHG= > > # added by use.perl 2012-03-03 16:12:59 > PERL_VERSION=5.12.4 > > ---- END Make.conf ---- > > -Brandon > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" -- Dan Nelson dnelson@allantgroup.com