From owner-freebsd-sparc64@FreeBSD.ORG Mon Aug 15 11:07:11 2011 Return-Path: Delivered-To: freebsd-sparc64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38CE31065673 for ; Mon, 15 Aug 2011 11:07:11 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 274338FC0C for ; Mon, 15 Aug 2011 11:07:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p7FB7Bjk014857 for ; Mon, 15 Aug 2011 11:07:11 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7FB7AEG014855 for freebsd-sparc64@FreeBSD.org; Mon, 15 Aug 2011 11:07:10 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 15 Aug 2011 11:07:10 GMT Message-Id: <201108151107.p7FB7AEG014855@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-sparc64@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-sparc64@FreeBSD.org X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2011 11:07:11 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- f sparc/145211 sparc64 [panic] Memory modified after free o sparc/142102 sparc64 [nfs] [panic] FreeBSD 8.0 kernel panics on sparc64 whe o sparc/141918 sparc64 [ehci] ehci_interrupt: unrecoverable error, controller s sparc/139134 sparc64 kernel output corruption f sparc/108732 sparc64 ping(8) reports 14 digit time on sparc64 s sparc/107087 sparc64 [hang] system is hung during boot from CD o sparc/105048 sparc64 [trm] trm(4) panics on sparc64 o sparc/104428 sparc64 [nullfs] nullfs panics on E4500 (but not E420) o sparc/80890 sparc64 [panic] kmem_malloc(73728): kmem_map too small running o sparc/71729 sparc64 printf in kernel thread causes panic on SPARC 10 problems total. From owner-freebsd-sparc64@FreeBSD.ORG Mon Aug 15 21:03:54 2011 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03191106564A for ; Mon, 15 Aug 2011 21:03:54 +0000 (UTC) (envelope-from peterjeremy@acm.org) Received: from mail15.syd.optusnet.com.au (mail15.syd.optusnet.com.au [211.29.132.196]) by mx1.freebsd.org (Postfix) with ESMTP id 871998FC12 for ; Mon, 15 Aug 2011 21:03:53 +0000 (UTC) Received: from server.vk2pj.dyndns.org (c220-239-116-103.belrs4.nsw.optusnet.com.au [220.239.116.103]) by mail15.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id p7FL3oi4017153 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 16 Aug 2011 07:03:51 +1000 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.4/8.14.4) with ESMTP id p7FL3oWK059295; Tue, 16 Aug 2011 07:03:50 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.4/8.14.4/Submit) id p7FL3nnQ059294; Tue, 16 Aug 2011 07:03:49 +1000 (EST) (envelope-from peter) Date: Tue, 16 Aug 2011 07:03:49 +1000 From: Peter Jeremy To: Riccardo Veraldi Message-ID: <20110815210349.GB59127@server.vk2pj.dyndns.org> References: <4E4542C0.6010905@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DBIVS5p969aUjpLe" Content-Disposition: inline In-Reply-To: <4E4542C0.6010905@gmail.com> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-sparc64@freebsd.org Subject: Re: problem installing 8.2 on Sun Blade 1000 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2011 21:03:54 -0000 --DBIVS5p969aUjpLe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2011-Aug-12 17:12:00 +0200, Riccardo Veraldi wrote: >I have a Sun Blade 1000. >I tried to install FreeBSD 8.2 from CDROM and installation goes straight. >Installation exits and I got back to {0} OK prompt If you have serial access, it might simplify debugging if you use the serial port (with logging) and post exact errors and the steps leading up to them. >is there a way to fix this ? > >The installation goes fine but the system won't boot I haven't needed to try this on sparc but at least on i386, you can go into sysinstall "expert mode" and rewrite the bootblocks at the disk partition step without needing to repeat the complete installation - "expert mode" enables a "commit now" button. In order to rule out hardware issues, did the Sun Blade 1000 work before you tried to install FreeBSD? Have you tried running the diagnostics (this will need a serial console)? --=20 Peter Jeremy --DBIVS5p969aUjpLe Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk5JibUACgkQ/opHv/APuIcj8QCeIBK18wZkFQMv7BwDMETZESSW M6gAn05zj5r2w3BVd5BjvN4+ZcZ+7YYD =r1wS -----END PGP SIGNATURE----- --DBIVS5p969aUjpLe-- From owner-freebsd-sparc64@FreeBSD.ORG Mon Aug 15 21:49:59 2011 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8281C106566C for ; Mon, 15 Aug 2011 21:49:59 +0000 (UTC) (envelope-from riccardo.veraldi@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 108AB8FC12 for ; Mon, 15 Aug 2011 21:49:58 +0000 (UTC) Received: by fxe4 with SMTP id 4so4986108fxe.13 for ; Mon, 15 Aug 2011 14:49:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=h7MnMcvAqTdrYSCvNtVTX7mXI4i/jv+xALt0iyoZ7Ww=; b=eScSGUGCJHwNVXANYBFCZYxt4gmZlff0Zxyh9KcODBmooP3TCYiSe9aGL6/b1VPaxH YXSF41JHk3VVSMpGC7xzgXH9nMJ0Gr9Ezcl52jtyQLFRbJ8U3C+M/3Snrp93X0+lvzmX k3foep5h0VlwZhQa/oPzhvsRib9+0kgljLHhs= Received: by 10.223.61.199 with SMTP id u7mr6090195fah.98.1313444960477; Mon, 15 Aug 2011 14:49:20 -0700 (PDT) Received: from [172.16.29.232] ([31.177.41.8]) by mx.google.com with ESMTPS id d1sm5355771fai.28.2011.08.15.14.49.18 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 15 Aug 2011 14:49:19 -0700 (PDT) Message-ID: <4E499459.9060909@gmail.com> Date: Mon, 15 Aug 2011 23:49:13 +0200 From: Riccardo Veraldi User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: Peter Jeremy References: <4E4542C0.6010905@gmail.com> <20110815210349.GB59127@server.vk2pj.dyndns.org> In-Reply-To: <20110815210349.GB59127@server.vk2pj.dyndns.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-sparc64@freebsd.org Subject: Re: problem installing 8.2 on Sun Blade 1000 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2011 21:49:59 -0000 On 8/15/11 11:03 PM, Peter Jeremy wrote: > On 2011-Aug-12 17:12:00 +0200, Riccardo Veraldi wrote: >> I have a Sun Blade 1000. >> I tried to install FreeBSD 8.2 from CDROM and installation goes straight. >> Installation exits and I got back to {0} OK prompt > If you have serial access, it might simplify debugging if you use > the serial port (with logging) and post exact errors and the steps > leading up to them. > >> is there a way to fix this ? >> >> The installation goes fine but the system won't boot > I haven't needed to try this on sparc but at least on i386, you can go > into sysinstall "expert mode" and rewrite the bootblocks at the disk > partition step without needing to repeat the complete installation - > "expert mode" enables a "commit now" button. > > In order to rule out hardware issues, did the Sun Blade 1000 work > before you tried to install FreeBSD? Have you tried running the > diagnostics (this will need a serial console)? > yes it was working with Solaris 10 and there were no POST problems, everything is ok with that machine. I will try to manually write the boot blocks. thank you Rick From owner-freebsd-sparc64@FreeBSD.ORG Tue Aug 16 08:24:29 2011 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13D83106564A for ; Tue, 16 Aug 2011 08:24:29 +0000 (UTC) (envelope-from riccardo.veraldi@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9E33D8FC0A for ; Tue, 16 Aug 2011 08:24:28 +0000 (UTC) Received: by wyh15 with SMTP id 15so2509738wyh.13 for ; Tue, 16 Aug 2011 01:24:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=oC6T3M6Z59ljFHLH1MZJYvvuwf76YPcbz6/9uemsYwM=; b=ZiHDl8Lph9tUxYaR0PkcokMeHVm9gvRRNyMzEhd+zhAjtinR89QZrUqVLfBZ/iqxxJ on/2pV7wPBwbGMyfu6hWlApvAuMpSMjmfeLe4dhAf/OHdnhyTFtJpKiyO8ijXU5oe9ix SN6OGGc9IQ3HPYwjnNFhshBDBTzieXqh3MtjQ= Received: by 10.227.61.10 with SMTP id r10mr4227077wbh.74.1313483067629; Tue, 16 Aug 2011 01:24:27 -0700 (PDT) Received: from [131.154.3.242] (darwin.cnaf.infn.it [131.154.3.242]) by mx.google.com with ESMTPS id eq21sm4929035wbb.52.2011.08.16.01.24.26 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 16 Aug 2011 01:24:26 -0700 (PDT) Message-ID: <4E4A2934.5040004@gmail.com> Date: Tue, 16 Aug 2011 10:24:20 +0200 From: Riccardo Veraldi User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: Peter Jeremy References: <4E4542C0.6010905@gmail.com> <20110815210349.GB59127@server.vk2pj.dyndns.org> In-Reply-To: <20110815210349.GB59127@server.vk2pj.dyndns.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-sparc64@freebsd.org Subject: Re: problem installing 8.2 on Sun Blade 1000 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2011 08:24:29 -0000 I am sorry but it is not working. no errors on serial console. rebooting after installation lead to this: File /boot/loader not found Program terminated {0} OK whatever I boot from disk1:a or disk0:a So I do not really know how FreeBSD can boot. On 8/15/11 11:03 PM, Peter Jeremy wrote: > On 2011-Aug-12 17:12:00 +0200, Riccardo Veraldi wrote: >> I have a Sun Blade 1000. >> I tried to install FreeBSD 8.2 from CDROM and installation goes straight. >> Installation exits and I got back to {0} OK prompt > If you have serial access, it might simplify debugging if you use > the serial port (with logging) and post exact errors and the steps > leading up to them. > >> is there a way to fix this ? >> >> The installation goes fine but the system won't boot > I haven't needed to try this on sparc but at least on i386, you can go > into sysinstall "expert mode" and rewrite the bootblocks at the disk > partition step without needing to repeat the complete installation - > "expert mode" enables a "commit now" button. > > In order to rule out hardware issues, did the Sun Blade 1000 work > before you tried to install FreeBSD? Have you tried running the > diagnostics (this will need a serial console)? > From owner-freebsd-sparc64@FreeBSD.ORG Tue Aug 16 08:46:39 2011 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A12CC106564A for ; Tue, 16 Aug 2011 08:46:39 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 5FC968FC0A for ; Tue, 16 Aug 2011 08:46:39 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1QtF20-0004mZ-4s; Tue, 16 Aug 2011 09:30:02 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1QtF1U-000357-L6; Tue, 16 Aug 2011 09:29:20 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4) with ESMTP id p7G8THk8053036; Tue, 16 Aug 2011 09:29:17 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4/Submit) id p7G8THoB053035; Tue, 16 Aug 2011 09:29:17 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Tue, 16 Aug 2011 09:29:17 +0100 From: Anton Shterenlikht To: Riccardo Veraldi Message-ID: <20110816082917.GA53028@mech-cluster241.men.bris.ac.uk> References: <4E4542C0.6010905@gmail.com> <20110815210349.GB59127@server.vk2pj.dyndns.org> <4E4A2934.5040004@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E4A2934.5040004@gmail.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: problem installing 8.2 on Sun Blade 1000 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2011 08:46:39 -0000 On Tue, Aug 16, 2011 at 10:24:20AM +0200, Riccardo Veraldi wrote: > > I am sorry but it is not working. Probably not related, but what's the firmware version? I couldn't install fbsd on blade1500, until I updated to OpenBoot 4.30.3: http://seis.bris.ac.uk/~mexas/freebsd/sparc64/blade1500-red/dmesg-9.0 http://seis.bris.ac.uk/~mexas/freebsd/sparc64/firmware-update -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-sparc64@FreeBSD.ORG Tue Aug 16 08:56:34 2011 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66BD7106566C for ; Tue, 16 Aug 2011 08:56:34 +0000 (UTC) (envelope-from riccardo.veraldi@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 ECDA18FC08 for ; Tue, 16 Aug 2011 08:56:33 +0000 (UTC) Received: by wwi36 with SMTP id 36so5897029wwi.31 for ; Tue, 16 Aug 2011 01:56:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=KBMYO49VQ6kwlnn8ZTrNLFoyWj/HPcx5pZGIRQriMAk=; b=FrbkC7ZlUlnWXpYSEOycpeiR5iDy+Cnr9iE13mLro3tVLgNqm4MFD5x00a9mx/v2rs HNAlMTBxilOJF8uH9Tpklu2xSwvlMCEFVDaD1SSrfiMrUcj16sT+TkgjQ9eauv8tk0i4 TFWWxV99DAfuBnvJo32svqLDLuqm4oXwLWyS0= Received: by 10.227.201.129 with SMTP id fa1mr1034633wbb.75.1313484992790; Tue, 16 Aug 2011 01:56:32 -0700 (PDT) Received: from [131.154.3.242] (darwin.cnaf.infn.it [131.154.3.242]) by mx.google.com with ESMTPS id fg5sm5215935wbb.6.2011.08.16.01.56.31 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 16 Aug 2011 01:56:31 -0700 (PDT) Message-ID: <4E4A30BE.8050302@gmail.com> Date: Tue, 16 Aug 2011 10:56:30 +0200 From: Riccardo Veraldi User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: Anton Shterenlikht References: <4E4542C0.6010905@gmail.com> <20110815210349.GB59127@server.vk2pj.dyndns.org> <4E4A2934.5040004@gmail.com> <20110816082917.GA53028@mech-cluster241.men.bris.ac.uk> In-Reply-To: <20110816082917.GA53028@mech-cluster241.men.bris.ac.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-sparc64@freebsd.org Subject: Re: problem installing 8.2 on Sun Blade 1000 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2011 08:56:34 -0000 the OBP version is 4.16.4 but now with the new Oracle site I am unable to find anything for my blade 1000 :( is it too old version ? On 8/16/11 10:29 AM, Anton Shterenlikht wrote: > On Tue, Aug 16, 2011 at 10:24:20AM +0200, Riccardo Veraldi wrote: >> I am sorry but it is not working. > Probably not related, but > what's the firmware version? > > I couldn't install fbsd on blade1500, until > I updated to OpenBoot 4.30.3: > > http://seis.bris.ac.uk/~mexas/freebsd/sparc64/blade1500-red/dmesg-9.0 > http://seis.bris.ac.uk/~mexas/freebsd/sparc64/firmware-update > > > From owner-freebsd-sparc64@FreeBSD.ORG Tue Aug 16 09:00:35 2011 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DEF41065702 for ; Tue, 16 Aug 2011 09:00:35 +0000 (UTC) (envelope-from riccardo.veraldi@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 CCE708FC19 for ; Tue, 16 Aug 2011 09:00:34 +0000 (UTC) Received: by wwi36 with SMTP id 36so5900279wwi.31 for ; Tue, 16 Aug 2011 02:00:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=9bduH7a+/5bm6PrrfDgoIbklUJsvDXnM46Phxtvzji4=; b=MQlXam/voCXlpwXrvxiFO+vkzanbedmmxEKfqarYjyRD0ziEJDImt4jg6Shoii6gIC cDLGCXiF+/En7fwDnrMj1resThoZesYFd1k83lFhbetTSSS81ThFAtE3O1bc5+nqnCMb MJTG8h8K4kg6l5M4h+oBWzoh6z7AfRECd/Y5Y= Received: by 10.216.90.8 with SMTP id d8mr2944987wef.25.1313485233313; Tue, 16 Aug 2011 02:00:33 -0700 (PDT) Received: from [131.154.3.242] (darwin.cnaf.infn.it [131.154.3.242]) by mx.google.com with ESMTPS id fy12sm204377wbb.32.2011.08.16.02.00.32 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 16 Aug 2011 02:00:32 -0700 (PDT) Message-ID: <4E4A31AF.4000005@gmail.com> Date: Tue, 16 Aug 2011 11:00:31 +0200 From: Riccardo Veraldi User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: Anton Shterenlikht References: <4E4542C0.6010905@gmail.com> <20110815210349.GB59127@server.vk2pj.dyndns.org> <4E4A2934.5040004@gmail.com> <20110816082917.GA53028@mech-cluster241.men.bris.ac.uk> In-Reply-To: <20110816082917.GA53028@mech-cluster241.men.bris.ac.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-sparc64@freebsd.org Subject: Re: problem installing 8.2 on Sun Blade 1000 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2011 09:00:35 -0000 On 8/16/11 10:29 AM, Anton Shterenlikht wrote: > On Tue, Aug 16, 2011 at 10:24:20AM +0200, Riccardo Veraldi wrote: >> I am sorry but it is not working. > Probably not related, but > what's the firmware version? > > I couldn't install fbsd on blade1500, until > I updated to OpenBoot 4.30.3: > > http://seis.bris.ac.uk/~mexas/freebsd/sparc64/blade1500-red/dmesg-9.0 > http://seis.bris.ac.uk/~mexas/freebsd/sparc64/firmware-update > > > I upgraded last time on July 2009 to OBP version 4.16.4 so it should not be too old. I upgraded to have support for 900MHz CPUs. From owner-freebsd-sparc64@FreeBSD.ORG Tue Aug 16 13:31:56 2011 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2ABE1106564A for ; Tue, 16 Aug 2011 13:31:56 +0000 (UTC) (envelope-from riccardo.veraldi@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id B08748FC12 for ; Tue, 16 Aug 2011 13:31:55 +0000 (UTC) Received: by wyh15 with SMTP id 15so96665wyh.13 for ; Tue, 16 Aug 2011 06:31:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=QAKIvzlvn6ZFUurLQUYPwwNTN2bge3i37Wl9sU3/X4A=; b=sWPzqHNCb6sDQVzcwZhf/RdLaA+WTwlhMO7DBXsVlbJrv/LLMIrLRjA4C1vSWhv/am izZLSgsHCA6BYXVu/sg405J2DR2K4tM0x+0ARg3tikv9YpRwNksCFdRcCWSOb3Co/QYS qtqj1NuGLPXd8MU8ZOD6j+U21uk3nXvde2Wpo= Received: by 10.227.205.139 with SMTP id fq11mr4601323wbb.25.1313501514550; Tue, 16 Aug 2011 06:31:54 -0700 (PDT) Received: from [131.154.3.242] (darwin.cnaf.infn.it [131.154.3.242]) by mx.google.com with ESMTPS id fm9sm36853wbb.27.2011.08.16.06.31.53 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 16 Aug 2011 06:31:54 -0700 (PDT) Message-ID: <4E4A7148.2030003@gmail.com> Date: Tue, 16 Aug 2011 15:31:52 +0200 From: Riccardo Veraldi User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: Peter Jeremy References: <4E4542C0.6010905@gmail.com> <20110815210349.GB59127@server.vk2pj.dyndns.org> In-Reply-To: <20110815210349.GB59127@server.vk2pj.dyndns.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-sparc64@freebsd.org Subject: Re: problem installing 8.2 on Sun Blade 1000 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2011 13:31:56 -0000 Hello, I focused closer to the problem. I have 2 internal 18GB SCSI Segate disks and 2 external SCSI HITACHI 140GB disks. now if I Remove the external disk cabinet, everything works and FreeBSD install and boot from the internal disks. After installation if I add the external cabinet with 2 SCSI-III disks at boot the system goes kernel panic since it cannot find root on /dev/da0a it is like if GEOM confuses the disk and the internal da0 and da1 disks are confused with the external disks which are called the same da0 and da1 like the internal disks, this is the problem. I checked the SCSI IDs and they are all ok, I renumbered the external SCSI ID disk in the cabinet. I Can see disk correctly with probe-scsi-all but on boot external disks are recognized as da0 and da1 like the internal disks and system is messed. anyone got this problem before ? thank you Rick On 8/15/11 11:03 PM, Peter Jeremy wrote: > On 2011-Aug-12 17:12:00 +0200, Riccardo Veraldi wrote: >> I have a Sun Blade 1000. >> I tried to install FreeBSD 8.2 from CDROM and installation goes straight. >> Installation exits and I got back to {0} OK prompt > If you have serial access, it might simplify debugging if you use > the serial port (with logging) and post exact errors and the steps > leading up to them. > >> is there a way to fix this ? >> >> The installation goes fine but the system won't boot > I haven't needed to try this on sparc but at least on i386, you can go > into sysinstall "expert mode" and rewrite the bootblocks at the disk > partition step without needing to repeat the complete installation - > "expert mode" enables a "commit now" button. > > In order to rule out hardware issues, did the Sun Blade 1000 work > before you tried to install FreeBSD? Have you tried running the > diagnostics (this will need a serial console)? > From owner-freebsd-sparc64@FreeBSD.ORG Tue Aug 16 18:58:00 2011 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1BED8106566B for ; Tue, 16 Aug 2011 18:58:00 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id AA1058FC12 for ; Tue, 16 Aug 2011 18:57:59 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.4/8.14.4/ALCHEMY.FRANKEN.DE) with ESMTP id p7GIvrAG022654; Tue, 16 Aug 2011 20:57:54 +0200 (CEST) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.4/8.14.4/Submit) id p7GIvrYt022653; Tue, 16 Aug 2011 20:57:53 +0200 (CEST) (envelope-from marius) Date: Tue, 16 Aug 2011 20:57:53 +0200 From: Marius Strobl To: Riccardo Veraldi Message-ID: <20110816185753.GA22605@alchemy.franken.de> References: <4E4542C0.6010905@gmail.com> <20110815210349.GB59127@server.vk2pj.dyndns.org> <4E4A7148.2030003@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E4A7148.2030003@gmail.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: problem installing 8.2 on Sun Blade 1000 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2011 18:58:00 -0000 On Tue, Aug 16, 2011 at 03:31:52PM +0200, Riccardo Veraldi wrote: > Hello, > I focused closer to the problem. > I have 2 internal 18GB SCSI Segate disks and 2 external SCSI HITACHI > 140GB disks. > now if I Remove the external disk cabinet, everything works and FreeBSD > install and boot > from the internal disks. > > After installation if I add the external cabinet with 2 SCSI-III disks > at boot the system > goes kernel panic since it cannot find root on /dev/da0a > > it is like if GEOM confuses the disk and the internal da0 and da1 disks > are confused with the external disks which are called the same da0 and > da1 like the internal disks, this is the problem. > I checked the SCSI IDs and they are all ok, I renumbered the external > SCSI ID disk in the cabinet. > I Can see disk correctly with probe-scsi-all > > but on boot external disks are recognized as da0 and da1 like the > internal disks and system is messed. > > anyone got this problem before ? > If the external and internal disks hang off of different HBAs then which disk becomes da0 then is not only determined by the ID but also depends on what HBA is probed first, which FreeBSD does based on the order provided via the device tree provided by the firmware. If that's the case you should be able to influence the probe order by changing the slot order in pcia-probe-list and pcib-probe-list respectively as appropriate in the PROM boot monitor or using eeprom(8). Apart from just living with the root filesystem just not being on da0 (besides having a matching /etc/fstab you might also need to set vfs.root.mountform as appropriate) you should be also do solve this by wiring da(4) devices to certain IDs on certain busses via hints (see SCSI DEVICE CONFIGURATION in the MI NOTES) and probably also by using glabel(8) in order to set labels which then can be used instead of da(4) devices names. Marius From owner-freebsd-sparc64@FreeBSD.ORG Tue Aug 16 21:48:30 2011 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EA6F106564A for ; Tue, 16 Aug 2011 21:48:30 +0000 (UTC) (envelope-from peterjeremy@acm.org) Received: from mail28.syd.optusnet.com.au (mail28.syd.optusnet.com.au [211.29.133.169]) by mx1.freebsd.org (Postfix) with ESMTP id AE9AF8FC16 for ; Tue, 16 Aug 2011 21:48:29 +0000 (UTC) Received: from server.vk2pj.dyndns.org (c220-239-116-103.belrs4.nsw.optusnet.com.au [220.239.116.103]) by mail28.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id p7GLmLsZ012074 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 17 Aug 2011 07:48:22 +1000 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.4/8.14.4) with ESMTP id p7GLmK7R035082; Wed, 17 Aug 2011 07:48:20 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.4/8.14.4/Submit) id p7GLmKPa035081; Wed, 17 Aug 2011 07:48:20 +1000 (EST) (envelope-from peter) Date: Wed, 17 Aug 2011 07:48:20 +1000 From: Peter Jeremy To: Marius Strobl Message-ID: <20110816214820.GA35017@server.vk2pj.dyndns.org> References: <20110526234728.GA69750@server.vk2pj.dyndns.org> <20110527120659.GA78000@alchemy.franken.de> <20110601231237.GA5267@server.vk2pj.dyndns.org> <20110608224801.GB35494@alchemy.franken.de> <20110613235144.GA12470@server.vk2pj.dyndns.org> <20110813143807.GY48988@alchemy.franken.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4Ckj6UjgE2iN1+kY" Content-Disposition: inline In-Reply-To: <20110813143807.GY48988@alchemy.franken.de> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-sparc64@freebsd.org Subject: Re: 'make -j16 universe' gives SIReset X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2011 21:48:30 -0000 --4Ckj6UjgE2iN1+kY Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2011-Aug-13 16:38:07 +0200, Marius Strobl wr= ote: >Could you please give the following patch with SCHED_4BSD (cpu_switch() >still is missing support for SCHED_ULE) with something like -j128 >buildworlds a try on your V890? >http://people.freebsd.org/~marius/sparc64_replace_sched_lock_w_atomic.diff Getting better but still not perfect. It survived a couple of -j128 buildworlds with another six -j16 buildworlds running in parallel. But it still has the same issue pho's stress test - a thr1 process is blocked in urdlck. The improvement is that there's only one stuck process and it took 7=BC hrs at INCARNATIONS=3D150 instead of 1-2 hours. (And it runs out of witness locks). --=20 Peter Jeremy --4Ckj6UjgE2iN1+kY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk5K5aQACgkQ/opHv/APuIfogwCeKFv+2grFALrzUCSnX4SjDoEQ 0QQAn2WTP6oysM7W9KzkPPwjHTV04E6T =PTlB -----END PGP SIGNATURE----- --4Ckj6UjgE2iN1+kY-- From owner-freebsd-sparc64@FreeBSD.ORG Wed Aug 17 09:45:46 2011 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6B101065670 for ; Wed, 17 Aug 2011 09:45:46 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id 61D1E8FC19 for ; Wed, 17 Aug 2011 09:45:45 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.4/8.14.4/ALCHEMY.FRANKEN.DE) with ESMTP id p7H9jfPw025725; Wed, 17 Aug 2011 11:45:41 +0200 (CEST) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.4/8.14.4/Submit) id p7H9jfr6025724; Wed, 17 Aug 2011 11:45:41 +0200 (CEST) (envelope-from marius) Date: Wed, 17 Aug 2011 11:45:41 +0200 From: Marius Strobl To: Peter Jeremy Message-ID: <20110817094541.GJ48988@alchemy.franken.de> References: <20110526234728.GA69750@server.vk2pj.dyndns.org> <20110527120659.GA78000@alchemy.franken.de> <20110601231237.GA5267@server.vk2pj.dyndns.org> <20110608224801.GB35494@alchemy.franken.de> <20110613235144.GA12470@server.vk2pj.dyndns.org> <20110813143807.GY48988@alchemy.franken.de> <20110816214820.GA35017@server.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110816214820.GA35017@server.vk2pj.dyndns.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: 'make -j16 universe' gives SIReset X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2011 09:45:47 -0000 On Wed, Aug 17, 2011 at 07:48:20AM +1000, Peter Jeremy wrote: > On 2011-Aug-13 16:38:07 +0200, Marius Strobl wrote: > >Could you please give the following patch with SCHED_4BSD (cpu_switch() > >still is missing support for SCHED_ULE) with something like -j128 > >buildworlds a try on your V890? > >http://people.freebsd.org/~marius/sparc64_replace_sched_lock_w_atomic.diff > > Getting better but still not perfect. It survived a couple of -j128 > buildworlds with another six -j16 buildworlds running in parallel. Thanks! > > But it still has the same issue pho's stress test - a thr1 process is > blocked in urdlck. The improvement is that there's only one stuck > process and it took 7? hrs at INCARNATIONS=150 instead of 1-2 hours. > (And it runs out of witness locks). > Well, the sole purpose of that patch is to get rid of the MD sched_lock usage in order to be able to add support for SCHED_ULE in a next step. It's not obvious why this should have an impact on the problem with userland mutex code. In fact using sched_lock provided more protection than solving this via atomic operations, which should still be sufficient for what we need to guarantee though. If at all I'd expect the patch to create problems in case I've overlooked something, not to solve any :) If it indeed has a positive impact on the the userland mutex problem then my best guess is that this is a side-effect of the memory barriers the patch adds to the context switching. That would indicate that the cause of the problem in fact are missing memory barriers in the userland mutex code, which IMO is one of the suspicious things regarding that code. Marius From owner-freebsd-sparc64@FreeBSD.ORG Wed Aug 17 09:52:59 2011 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55A5610656D6 for ; Wed, 17 Aug 2011 09:52:59 +0000 (UTC) (envelope-from riccardo.veraldi@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id DC9EC8FC13 for ; Wed, 17 Aug 2011 09:52:58 +0000 (UTC) Received: by wyh15 with SMTP id 15so678709wyh.13 for ; Wed, 17 Aug 2011 02:52:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=Ogm4sBBSO4q49y4AELyBsBH+u0Tl6aM5Wo5tKqqt8OI=; b=xQ0CN5Qi0Iin3BE2DmKQqGk+IXmWQeiwUO9WmY1sUOhYvp7XEFb7oa1ENxpniFpLC3 wXtgyQQWnYK+9GjUaQIsDBYAJ2aqQWoXp2Kvl6zM9Wp63St6LaW/ob0ThHNzG5cflmJr 5/xGxlQtppJBOb0X+bbxcTFo+kh6hjVPbvuyY= Received: by 10.227.55.137 with SMTP id u9mr669665wbg.43.1313574777807; Wed, 17 Aug 2011 02:52:57 -0700 (PDT) Received: from [131.154.3.242] (darwin.cnaf.infn.it [131.154.3.242]) by mx.google.com with ESMTPS id fm9sm760544wbb.44.2011.08.17.02.52.55 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 17 Aug 2011 02:52:56 -0700 (PDT) Message-ID: <4E4B8F76.2030309@gmail.com> Date: Wed, 17 Aug 2011 11:52:54 +0200 From: Riccardo Veraldi User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: Marius Strobl References: <4E4542C0.6010905@gmail.com> <20110815210349.GB59127@server.vk2pj.dyndns.org> <4E4A7148.2030003@gmail.com> <20110816185753.GA22605@alchemy.franken.de> In-Reply-To: <20110816185753.GA22605@alchemy.franken.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-sparc64@freebsd.org Subject: Re: problem installing 8.2 on Sun Blade 1000 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2011 09:52:59 -0000 I could not find many documentation on sun blade 100 show-pci-devs-all the command does not work on sun blade 1000 so I do not know how to re-order the pcia-probe-list and pcib-probe-list anyway with glabel I could fix my problems. labelling the root partition, /usr and /var solves all my troubles since the da* devices are re-numbered if i insert new disks in my external cabinet, but the root partition is searched by label so re-numbering of da* device is not an issue anymore. thanks you very much for the very useful Hint! I did not know about glabel, it is a few years I am not using FreeBSD :) thanks again Rick On 8/16/11 8:57 PM, Marius Strobl wrote: > On Tue, Aug 16, 2011 at 03:31:52PM +0200, Riccardo Veraldi wrote: >> Hello, >> I focused closer to the problem. >> I have 2 internal 18GB SCSI Segate disks and 2 external SCSI HITACHI >> 140GB disks. >> now if I Remove the external disk cabinet, everything works and FreeBSD >> install and boot >> from the internal disks. >> >> After installation if I add the external cabinet with 2 SCSI-III disks >> at boot the system >> goes kernel panic since it cannot find root on /dev/da0a >> >> it is like if GEOM confuses the disk and the internal da0 and da1 disks >> are confused with the external disks which are called the same da0 and >> da1 like the internal disks, this is the problem. >> I checked the SCSI IDs and they are all ok, I renumbered the external >> SCSI ID disk in the cabinet. >> I Can see disk correctly with probe-scsi-all >> >> but on boot external disks are recognized as da0 and da1 like the >> internal disks and system is messed. >> >> anyone got this problem before ? >> > If the external and internal disks hang off of different HBAs then which > disk becomes da0 then is not only determined by the ID but also depends on > what HBA is probed first, which FreeBSD does based on the order provided > via the device tree provided by the firmware. If that's the case you > should be able to influence the probe order by changing the slot order in > pcia-probe-list and pcib-probe-list respectively as appropriate in the > PROM boot monitor or using eeprom(8). > Apart from just living with the root filesystem just not being on da0 > (besides having a matching /etc/fstab you might also need to set > vfs.root.mountform as appropriate) you should be also do solve this > by wiring da(4) devices to certain IDs on certain busses via hints > (see SCSI DEVICE CONFIGURATION in the MI NOTES) and probably also by > using glabel(8) in order to set labels which then can be used instead > of da(4) devices names. > > Marius > From owner-freebsd-sparc64@FreeBSD.ORG Wed Aug 17 10:26:48 2011 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E5CD106566B for ; Wed, 17 Aug 2011 10:26:48 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 134C28FC13 for ; Wed, 17 Aug 2011 10:26:47 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p7H9t5lW020135 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 17 Aug 2011 12:55:05 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id p7H9t416063152; Wed, 17 Aug 2011 12:55:04 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id p7H9t4Rx063151; Wed, 17 Aug 2011 12:55:04 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 17 Aug 2011 12:55:04 +0300 From: Kostik Belousov To: Marius Strobl Message-ID: <20110817095504.GR17489@deviant.kiev.zoral.com.ua> References: <20110526234728.GA69750@server.vk2pj.dyndns.org> <20110527120659.GA78000@alchemy.franken.de> <20110601231237.GA5267@server.vk2pj.dyndns.org> <20110608224801.GB35494@alchemy.franken.de> <20110613235144.GA12470@server.vk2pj.dyndns.org> <20110813143807.GY48988@alchemy.franken.de> <20110816214820.GA35017@server.vk2pj.dyndns.org> <20110817094541.GJ48988@alchemy.franken.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pihXrOw7EPqBjyC1" Content-Disposition: inline In-Reply-To: <20110817094541.GJ48988@alchemy.franken.de> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-sparc64@freebsd.org Subject: Re: 'make -j16 universe' gives SIReset X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2011 10:26:48 -0000 --pihXrOw7EPqBjyC1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 17, 2011 at 11:45:41AM +0200, Marius Strobl wrote: > On Wed, Aug 17, 2011 at 07:48:20AM +1000, Peter Jeremy wrote: > > On 2011-Aug-13 16:38:07 +0200, Marius Strobl wrote: > > >Could you please give the following patch with SCHED_4BSD (cpu_switch() > > >still is missing support for SCHED_ULE) with something like -j128 > > >buildworlds a try on your V890? > > >http://people.freebsd.org/~marius/sparc64_replace_sched_lock_w_atomic.= diff > >=20 > > Getting better but still not perfect. It survived a couple of -j128 > > buildworlds with another six -j16 buildworlds running in parallel. >=20 > Thanks! >=20 > >=20 > > But it still has the same issue pho's stress test - a thr1 process is > > blocked in urdlck. The improvement is that there's only one stuck > > process and it took 7? hrs at INCARNATIONS=3D150 instead of 1-2 hours. > > (And it runs out of witness locks). > >=20 >=20 > Well, the sole purpose of that patch is to get rid of the MD sched_lock > usage in order to be able to add support for SCHED_ULE in a next step. > It's not obvious why this should have an impact on the problem with > userland mutex code. In fact using sched_lock provided more protection > than solving this via atomic operations, which should still be sufficient > for what we need to guarantee though. If at all I'd expect the patch to > create problems in case I've overlooked something, not to solve any :) > If it indeed has a positive impact on the the userland mutex problem then > my best guess is that this is a side-effect of the memory barriers the > patch adds to the context switching. That would indicate that the cause > of the problem in fact are missing memory barriers in the userland mutex > code, which IMO is one of the suspicious things regarding that code. I am sorry for not answering your direct mail about the issue. As an experiment, you might add an explicit full barriers into the end of the user-mode lock/unlock routines and see what happens next. --pihXrOw7EPqBjyC1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk5Lj/gACgkQC3+MBN1Mb4ijJgCgpNHiMJyI1LfyO167MMyW3uzv MPAAoMzfaqW8UAwrOHHRAl77zbY0Y7ML =jV5q -----END PGP SIGNATURE----- --pihXrOw7EPqBjyC1-- From owner-freebsd-sparc64@FreeBSD.ORG Wed Aug 17 14:14:33 2011 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C008D1065672 for ; Wed, 17 Aug 2011 14:14:33 +0000 (UTC) (envelope-from riccardo.veraldi@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 5925E8FC13 for ; Wed, 17 Aug 2011 14:14:32 +0000 (UTC) Received: by wwi36 with SMTP id 36so1013819wwi.31 for ; Wed, 17 Aug 2011 07:14:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=eWeeGpNcQf8cEJGRVC2viJmjz0vxnKbSeDhSyFj5RhQ=; b=FzEYVAgM9jMPbqVDORbFJvtguOVMNZQWyXYmuWS1PheaGeI7/N3sfMIWjqodL5T0V+ iVy0TBoR/kgjh3DRboYxvxGV/ZpdGmAz9IwvB9PFDGpRASOtXdWMH87sC4JEzaZUF+uv 5t3N+r4WZIfUvx4VThUvcoLF3dVJ19rkrDfUY= Received: by 10.227.198.130 with SMTP id eo2mr923960wbb.50.1313590472276; Wed, 17 Aug 2011 07:14:32 -0700 (PDT) Received: from [131.154.3.242] (darwin.cnaf.infn.it [131.154.3.242]) by mx.google.com with ESMTPS id et16sm952576wbb.2.2011.08.17.07.14.31 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 17 Aug 2011 07:14:31 -0700 (PDT) Message-ID: <4E4BCCC6.1040904@gmail.com> Date: Wed, 17 Aug 2011 16:14:30 +0200 From: Riccardo Veraldi User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: freebsd-sparc64@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: SCSI Errors on Sun Blade 1000 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2011 14:14:33 -0000 FreeBSD 8.2-RELEASe I have these errors on dmesg (da2:sym1:0:3:0): WRITE(10). CDB: 2a 0 1 9d 6e e0 0 0 20 0 (da2:sym1:0:3:0): CAM status: SCSI Status Error (da2:sym1:0:3:0): SCSI status: Check Condition (da2:sym1:0:3:0): SCSI sense: UNIT ATTENTION asc:29,4 (Device internal reset) (da2:sym1:0:3:0): WRITE(10). CDB: 2a 0 1 9d 6e e0 0 0 20 0 (da2:sym1:0:3:0): CAM status: SCSI Status Error (da2:sym1:0:3:0): SCSI status: Check Condition (da2:sym1:0:3:0): SCSI sense: HARDWARE FAILURE info:a050 asc:40,82 ((null)) the drive is still workign fine, is it dieing ? thanks Rick From owner-freebsd-sparc64@FreeBSD.ORG Thu Aug 18 09:21:30 2011 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0AE881065724 for ; Thu, 18 Aug 2011 09:21:30 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id 998848FC2B for ; Thu, 18 Aug 2011 09:21:28 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.4/8.14.4/ALCHEMY.FRANKEN.DE) with ESMTP id p7I9LRfM030634; Thu, 18 Aug 2011 11:21:28 +0200 (CEST) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.4/8.14.4/Submit) id p7I9LRII030633; Thu, 18 Aug 2011 11:21:27 +0200 (CEST) (envelope-from marius) Date: Thu, 18 Aug 2011 11:21:27 +0200 From: Marius Strobl To: Riccardo Veraldi Message-ID: <20110818092127.GA30543@alchemy.franken.de> References: <4E4BCCC6.1040904@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E4BCCC6.1040904@gmail.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: SCSI Errors on Sun Blade 1000 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Aug 2011 09:21:30 -0000 On Wed, Aug 17, 2011 at 04:14:30PM +0200, Riccardo Veraldi wrote: > FreeBSD 8.2-RELEASe > > I have these errors on dmesg > > (da2:sym1:0:3:0): WRITE(10). CDB: 2a 0 1 9d 6e e0 0 0 20 0 > (da2:sym1:0:3:0): CAM status: SCSI Status Error > (da2:sym1:0:3:0): SCSI status: Check Condition > (da2:sym1:0:3:0): SCSI sense: UNIT ATTENTION asc:29,4 (Device internal > reset) > (da2:sym1:0:3:0): WRITE(10). CDB: 2a 0 1 9d 6e e0 0 0 20 0 > (da2:sym1:0:3:0): CAM status: SCSI Status Error > (da2:sym1:0:3:0): SCSI status: Check Condition > (da2:sym1:0:3:0): SCSI sense: HARDWARE FAILURE info:a050 asc:40,82 ((null)) > > > the drive is still workign fine, is it dieing ? > AFAICT ASC 0x40 ASCQ 0x82 means diagnostic failure on NVRAM. Marius From owner-freebsd-sparc64@FreeBSD.ORG Fri Aug 19 01:33:13 2011 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03A5B106566C; Fri, 19 Aug 2011 01:33:13 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id CCD068FC0A; Fri, 19 Aug 2011 01:33:12 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.4) with ESMTP id p7J1XBL3088020; Thu, 18 Aug 2011 21:33:11 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.4/Submit) id p7J1XBUd088009; Fri, 19 Aug 2011 01:33:11 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 19 Aug 2011 01:33:11 GMT Message-Id: <201108190133.p7J1XBUd088009@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2011 01:33:13 -0000 TB --- 2011-08-19 00:22:14 - tinderbox 2.7 running on freebsd-current.sentex.ca TB --- 2011-08-19 00:22:14 - starting HEAD tinderbox run for sparc64/sparc64 TB --- 2011-08-19 00:22:14 - cleaning the object tree TB --- 2011-08-19 00:22:30 - cvsupping the source tree TB --- 2011-08-19 00:22:30 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/sparc64/sparc64/supfile TB --- 2011-08-19 00:22:44 - building world TB --- 2011-08-19 00:22:44 - MAKEOBJDIRPREFIX=/obj TB --- 2011-08-19 00:22:44 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-08-19 00:22:44 - TARGET=sparc64 TB --- 2011-08-19 00:22:44 - TARGET_ARCH=sparc64 TB --- 2011-08-19 00:22:44 - TZ=UTC TB --- 2011-08-19 00:22:44 - __MAKE_CONF=/dev/null TB --- 2011-08-19 00:22:44 - cd /src TB --- 2011-08-19 00:22:44 - /usr/bin/make -B buildworld >>> World build started on Fri Aug 19 00:22:45 UTC 2011 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Fri Aug 19 01:23:46 UTC 2011 TB --- 2011-08-19 01:23:46 - generating LINT kernel config TB --- 2011-08-19 01:23:46 - cd /src/sys/sparc64/conf TB --- 2011-08-19 01:23:46 - /usr/bin/make -B LINT TB --- 2011-08-19 01:23:47 - building LINT kernel TB --- 2011-08-19 01:23:47 - MAKEOBJDIRPREFIX=/obj TB --- 2011-08-19 01:23:47 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-08-19 01:23:47 - TARGET=sparc64 TB --- 2011-08-19 01:23:47 - TARGET_ARCH=sparc64 TB --- 2011-08-19 01:23:47 - TZ=UTC TB --- 2011-08-19 01:23:47 - __MAKE_CONF=/dev/null TB --- 2011-08-19 01:23:47 - cd /src TB --- 2011-08-19 01:23:47 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Fri Aug 19 01:23:47 UTC 2011 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/kern/kern_exit.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/kern/kern_fail.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/kern/kern_fork.c cc1: warnings being treated as errors /src/sys/kern/kern_fork.c:121: warning: function declaration isn't a prototype [-Wstrict-prototypes] /src/sys/kern/kern_fork.c: In function 'pdfork': /src/sys/kern/kern_fork.c:134: error: dereferencing pointer to incomplete type /src/sys/kern/kern_fork.c:138: error: dereferencing pointer to incomplete type *** Error code 1 Stop in /obj/sparc64.sparc64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-08-19 01:33:11 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-08-19 01:33:11 - ERROR: failed to build lint kernel TB --- 2011-08-19 01:33:11 - 3252.51 user 771.09 system 4256.91 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-sparc64-sparc64.full