From owner-freebsd-sparc64@FreeBSD.ORG Mon Jan 18 00:07:22 2010 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 C98F6106566C for ; Mon, 18 Jan 2010 00:07:22 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id 782348FC18 for ; Mon, 18 Jan 2010 00:07:22 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so522972qwd.7 for ; Sun, 17 Jan 2010 16:07:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=czg5v6FjU0Pks0nrJjDiPK0nuok5Tih18VeY34ekvbQ=; b=A0Dqb+opEwvkugRvOSnVDQN1dE8yuKyTPtQPbsgqZBVjkIdE2b0XT2KVNO7V+NEqh7 jFite3lhZ5La74e4mLkXo8oLGdIgDbtiLqiVDhcYQYybde2s/0/tTddmSX00SRK2ANGi fo/19X2qIV0nOUYFSynQXagKRU60XBW3YDXjY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=n1+kpnNwkXNQV/wgYmQ9cgpAQIGt7V7QUssUE0erGivb/nt4iVVny28aYphxr356Cm XAs3BO722WLKTpbSLdmqXxguUJphvtaKIF+6TRx1ydQE4uucCKXq4LyDJiFqyz3GmwQI jMORDKis8p0Q0lnLhIBMd2o2bH7u7PtB5p+1M= Received: by 10.224.86.223 with SMTP id t31mr3985043qal.267.1263773241811; Sun, 17 Jan 2010 16:07:21 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 23sm4467147qyk.3.2010.01.17.16.07.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 17 Jan 2010 16:07:20 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Sun, 17 Jan 2010 16:06:41 -0800 From: Pyun YongHyeon Date: Sun, 17 Jan 2010 16:06:41 -0800 To: Marius Strobl Message-ID: <20100118000641.GD1132@michelle.cdnetworks.com> References: <0334FB50-D299-4723-A36A-0228EC062D34@ameri.ca> <20100110162033.GA79724@alchemy.franken.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="4Ckj6UjgE2iN1+kY" Content-Disposition: inline In-Reply-To: <20100110162033.GA79724@alchemy.franken.de> User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: smbfs X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2010 00:07:22 -0000 --4Ckj6UjgE2iN1+kY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Jan 10, 2010 at 05:20:33PM +0100, Marius Strobl wrote: > On Fri, Jan 08, 2010 at 08:49:30AM -0500, brad dreisbach wrote: > > what is the status of smbfs support in the sparc64 port? > > AFAICT it's still unchanged from last Februrary: > http://lists.freebsd.org/pipermail/freebsd-sparc64/2009-February/006189.html > It still would be interesting to know how far the kernel part > actually gets these days on sparc64. > >From my very limited testing, it seems to work. Since smbfs related libraries and kernel module are not installed by default you may have to use attached patch and rebuild all or manually build/install required files. Marius, since other strict alignment architectures like ia64 or powerpc enabled smbfs, I guess it's ok to enable smbfs on sparc64. What's your opinion? The attached patch also fixes an endian bug of smbutil(1). --4Ckj6UjgE2iN1+kY Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="smbfs.sparc64.diff" Index: contrib/smbfs/smbutil/view.c =================================================================== --- contrib/smbfs/smbutil/view.c (revision 202534) +++ contrib/smbfs/smbutil/view.c (working copy) @@ -69,6 +69,7 @@ struct smb_ctx sctx, *ctx = &sctx; struct smb_share_info_1 *rpbuf, *ep; char *cp; + u_int32_t remark; u_int16_t type; int error, opt, bufsize, i, entries, total; @@ -117,11 +118,13 @@ } for (ep = rpbuf, i = 0; i < entries; i++, ep++) { type = le16toh(ep->shi1_type); + remark = le32toh(ep->shi1_remark); + remark &= 0xFFFF; - cp = (char*)rpbuf + ep->shi1_remark; + cp = (char*)rpbuf + remark; printf("%-12s %-10s %s\n", ep->shi1_netname, shtype[min(type, sizeof shtype / sizeof(char *) - 1)], - ep->shi1_remark ? nls_str_toloc(cp, cp) : ""); + remark ? nls_str_toloc(cp, cp) : ""); } printf("\n%d shares listed from %d available\n", entries, total); free(rpbuf); Index: lib/Makefile =================================================================== --- lib/Makefile (revision 202534) +++ lib/Makefile (working copy) @@ -120,6 +120,10 @@ _libsmb= libsmb .endif +.if ${MACHINE_ARCH} == "sparc64" +_libsmb= libsmb +.endif + .if ${MK_OPENSSL} != "no" _libmp= libmp .endif Index: usr.bin/Makefile =================================================================== --- usr.bin/Makefile (revision 202534) +++ usr.bin/Makefile (working copy) @@ -386,4 +386,8 @@ _smbutil= smbutil .endif +.if ${MACHINE_ARCH} == "sparc64" +_smbutil= smbutil +.endif + .include Index: usr.sbin/Makefile =================================================================== --- usr.sbin/Makefile (revision 202534) +++ usr.sbin/Makefile (working copy) @@ -512,6 +512,7 @@ .if ${MACHINE_ARCH} == "sparc64" _eeprom= eeprom +_mount_smbfs= mount_smbfs _ofwdump= ofwdump .endif Index: sys/modules/Makefile =================================================================== --- sys/modules/Makefile (revision 202534) +++ sys/modules/Makefile (working copy) @@ -615,6 +615,7 @@ .if ${MK_CDDL} != "no" || defined(ALL_MODULES) _opensolaris= opensolaris .endif +_smbfs= smbfs _sound= sound .if ${MK_ZFS} != "no" || defined(ALL_MODULES) _zfs= zfs --4Ckj6UjgE2iN1+kY-- From owner-freebsd-sparc64@FreeBSD.ORG Mon Jan 18 11:07:06 2010 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 525B41065694 for ; Mon, 18 Jan 2010 11:07:06 +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 40B7B8FC1D for ; Mon, 18 Jan 2010 11:07:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0IB76gR047670 for ; Mon, 18 Jan 2010 11:07:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0IB75iV047668 for freebsd-sparc64@FreeBSD.org; Mon, 18 Jan 2010 11:07:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 18 Jan 2010 11:07:05 GMT Message-Id: <201001181107.o0IB75iV047668@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, 18 Jan 2010 11:07:06 -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 -------------------------------------------------------------------------------- o sparc/142102 sparc64 [nfs] [panic] FreeBSD 8.0 kernel panics on sparc64 whe s sparc/139134 sparc64 kernel output corruption f sparc/127051 sparc64 [hme] hme interfaces "pause" with the message "device o sparc/119244 sparc64 X11Forwarding to X11 server on sparc crashes Xorg o sparc/119240 sparc64 top has WCPU over 100% on UP system s sparc/119239 sparc64 gdb coredumps on sparc64 o sparc/113556 sparc64 [panic] trap: memory address not aligned; Rebooting... 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/80410 sparc64 [netgraph] netgraph is causing crash with mpd on sparc o sparc/71729 sparc64 printf in kernel thread causes panic on SPARC 14 problems total. From owner-freebsd-sparc64@FreeBSD.ORG Mon Jan 18 15:50:50 2010 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 9DDF7106568D for ; Mon, 18 Jan 2010 15:50:50 +0000 (UTC) (envelope-from craig001@lerwick.hopto.org) Received: from lerwick.hopto.org (81-178-20-70.dsl.pipex.com [81.178.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id CA2718FC1E for ; Mon, 18 Jan 2010 15:50:49 +0000 (UTC) Received: (qmail 96536 invoked by uid 98); 18 Jan 2010 15:52:06 +0000 Received: from 192.168.0.2 by polaris.lerwick.hopto.org (envelope-from , uid 82) with qmail-scanner-2.01 (clamdscan: 0.95.1/9971. hbedv: 7.9.1.53/7.1.6.174. spamassassin: 3.2.5. Clear:RC:1(192.168.0.2):. Processed in 0.048851 secs); 18 Jan 2010 15:52:06 -0000 Received: from unknown (HELO ?192.168.0.2?) (192.168.0.2) by lerwick.hopto.org with SMTP; 18 Jan 2010 15:52:06 +0000 From: Craig Butler To: freebsd-sparc64 Content-Type: text/plain Date: Mon, 18 Jan 2010 15:50:15 +0000 Message-Id: <1263829815.14794.8.camel@main.lerwick.hopto.org> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: fixit over netboot/bootp possible ?? 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, 18 Jan 2010 15:50:50 -0000 Hi Guys Is fixit available to us over netboot/bootp ? sysinstall says no... :( cdrom/floppy not available on my netra x1 boxes. I want an "if all else fails rebuild from backup environment"... need to be able to sunlabel the disk... push ufs boot partition and rebuild zfs filesystem (zfs receive from backups) Any suggestions ?? Thanks Craig Butler From owner-freebsd-sparc64@FreeBSD.ORG Mon Jan 18 16:35:25 2010 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 E2B0D10656AD for ; Mon, 18 Jan 2010 16:35:25 +0000 (UTC) (envelope-from j@uriah.heep.sax.de) Received: from uriah.heep.sax.de (uriah.heep.sax.de [213.240.137.9]) by mx1.freebsd.org (Postfix) with ESMTP id 8CAF28FC1C for ; Mon, 18 Jan 2010 16:35:25 +0000 (UTC) Received: by uriah.heep.sax.de (Postfix, from userid 107) id 47FB878; Mon, 18 Jan 2010 17:35:24 +0100 (MET) Date: Mon, 18 Jan 2010 17:35:24 +0100 From: Joerg Wunsch To: Craig Butler Message-ID: <20100118163524.GN49006@uriah.heep.sax.de> References: <1263829815.14794.8.camel@main.lerwick.hopto.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1263829815.14794.8.camel@main.lerwick.hopto.org> X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-GPG-Fingerprint: 5E84 F980 C3CA FD4B B584 1070 F48C A81B 69A8 5873 User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-sparc64 Subject: Re: fixit over netboot/bootp possible ?? X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Joerg Wunsch List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2010 16:35:26 -0000 As Craig Butler wrote: > I want an "if all else fails rebuild from backup > environment"... need to be able to sunlabel the disk... push ufs > boot partition and rebuild zfs filesystem (zfs receive from backups) IIRC, the simple shell session you can start in the fixit menu contains a command mount_nfs. That way, you should be able to mount a remote filesystem to get more commands from than are available in that bare minimum shell. (I always regretted it does not contain a "mount_ufs" command.) -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-sparc64@FreeBSD.ORG Mon Jan 18 17:21:50 2010 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 7F523106566B for ; Mon, 18 Jan 2010 17:21:50 +0000 (UTC) (envelope-from samankaya@netscape.net) Received: from imr-ma06.mx.aol.com (imr-ma06.mx.aol.com [64.12.78.142]) by mx1.freebsd.org (Postfix) with ESMTP id 3E3608FC16 for ; Mon, 18 Jan 2010 17:21:49 +0000 (UTC) Received: from imo-ma02.mx.aol.com (imo-ma02.mx.aol.com [64.12.78.137]) by imr-ma06.mx.aol.com (8.14.1/8.14.1) with ESMTP id o0IHLZf6027909; Mon, 18 Jan 2010 12:21:35 -0500 Received: from samankaya@netscape.net by imo-ma02.mx.aol.com (mail_out_v42.5.) id n.cea.6e0508ff (37106); Mon, 18 Jan 2010 12:21:29 -0500 (EST) Received: from [172.16.1.52] (mail.reformkurumsal.com [212.156.209.87]) by cia-db08.mx.aol.com (v127.7) with ESMTP id MAILCIADB084-90f24b54989735b; Mon, 18 Jan 2010 12:21:29 -0500 Message-ID: <4B549896.8090309@netscape.net> Date: Mon, 18 Jan 2010 19:21:26 +0200 From: Kaya Saman User-Agent: Thunderbird 2.0.0.21 (X11/20090323) MIME-Version: 1.0 To: freebsd-sparc64@freebsd.org X-AOL-IP: 212.156.209.87 X-Mailer: Unknown (No Version) X-Spam-Flag: NO X-AOL-SENDER: samankaya@netscape.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: marius@alchemy.franken.de Subject: Sun Fire V480 compatibility question? 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, 18 Jan 2010 17:21:50 -0000 Hi guys and Marius, (sorry for the cc but you did bring up the topic so I'm figuring that you probably know the most about this subject!) I am just in the process of figuring out which Sun bridge I will need for the Fire v480 server as a quote from Marius Strobl suggests this: [quote] FreeBSD currently crashes on older models of V480 when attempting to use an on-board NIC due to what appears to be a CPU bug which needs to be worked around. It appears to work fine on later V480 equipped with version 7 Schizo bridges (that's just an indicator and unlikely related to the problem) though, but FreeBSD 7.3 will be the first release (besides the current stable branches) to work with their changed firmware behavior. Linux doesn't seem to do any better in this regard: http://marc.info/?l=linux-sparc&m=122220796209509&w=2 http://lists.debian.org/debian-sparc/2009/12/msg00012.html Marius [quote] My supplier has given me an extract from the Sun handbook which doesn't seem to show version 7: A37 501-5819 501-6733 November 2001 <=501-5819-12: SCHIZO 2.2 >=501-5819-13: SCHIZO 2.5 August 2003 reworked 501-5819-12 SCHIZO 2.2 only available from Sun Services 501-6780 501-6790 December 2003 FAB 270-5819-06 SCHIZO 2.5 April 2004 FAB 270-5819-07 SCHIZO 2.5 or ELE 1.1+ A bit of Google'ing however got me to this: [quote] Version /Schizo/ Rev /7/ 2.5 6 2.4 5 2.3 4 2.2. Symptoms. Should the described issue occur, /Sun Fire/ 280R, /V480/, V880 and Netra 20 systems may encounter a FATAL *... *[/quote] From here: http://sunsolve.sun.com/search/document.do?assetkey=1-66-200502-1 also this: [quote] * FreeBSD has been adopted to the changed firmware of newer Sun Fire V480 (those equipped with version 7 Schizo bridges) and has been reported to now run fine on these. The necessary change will be part of 7.3-RELEASE. Unfortunately, using the on-board NICs in older models of Sun Fire V480 (at least those equipped with version 4 Schizo bridges) under FreeBSD still leads to the firmware issuing a FATAL RESET due to what appears to be a CPU bug, which needs to be worked around. [/quote] Taken from the Sparc64 part of this page: http://marc.info/?l=freebsd-hackers&m=126375029221240&w=2 What I can understand from all of this is that the version 7 is actually a revision 7.... so any of the bus versions listed above in the table will work as long as they are revision 7 or later? Is this the case, have I understood correctly?? Regards, Kaya From owner-freebsd-sparc64@FreeBSD.ORG Mon Jan 18 19:32:24 2010 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 938E91065676 for ; Mon, 18 Jan 2010 19:32:24 +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 01DBA8FC0C for ; Mon, 18 Jan 2010 19:32:23 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.3/8.14.3/ALCHEMY.FRANKEN.DE) with ESMTP id o0IJWMIf003077; Mon, 18 Jan 2010 20:32:22 +0100 (CET) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.3/8.14.3/Submit) id o0IJWMN5003076; Mon, 18 Jan 2010 20:32:22 +0100 (CET) (envelope-from marius) Date: Mon, 18 Jan 2010 20:32:22 +0100 From: Marius Strobl To: Kaya Saman Message-ID: <20100118193222.GL18141@alchemy.franken.de> References: <4B549896.8090309@netscape.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B549896.8090309@netscape.net> User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: Sun Fire V480 compatibility question? 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, 18 Jan 2010 19:32:24 -0000 On Mon, Jan 18, 2010 at 07:21:26PM +0200, Kaya Saman wrote: > Hi guys and Marius, (sorry for the cc but you did bring up the topic so > I'm figuring that you probably know the most about this subject!) > > I am just in the process of figuring out which Sun bridge I will need > for the Fire v480 server as a quote from Marius Strobl suggests this: > > [quote] > > FreeBSD currently crashes on older models of V480 when attempting > to use an on-board NIC due to what appears to be a CPU bug which > needs to be worked around. It appears to work fine on later V480 > equipped with version 7 Schizo bridges (that's just an indicator > and unlikely related to the problem) though, but FreeBSD 7.3 will > be the first release (besides the current stable branches) to work > with their changed firmware behavior. Linux doesn't seem to do any > better in this regard: > http://marc.info/?l=linux-sparc&m=122220796209509&w=2 > http://lists.debian.org/debian-sparc/2009/12/msg00012.html > > Marius > > [quote] > > My supplier has given me an extract from the Sun handbook which doesn't > seem to show version 7: > > > A37 > > 501-5819 501-6733 > November 2001 > <=501-5819-12: SCHIZO 2.2 > >=501-5819-13: SCHIZO 2.5 August 2003 > reworked 501-5819-12 > SCHIZO 2.2 > only available from > Sun Services > 501-6780 501-6790 > December 2003 > FAB 270-5819-06 > SCHIZO 2.5 April 2004 > FAB 270-5819-07 > SCHIZO 2.5 > or ELE 1.1+ > > > A bit of Google'ing however got me to this: > > [quote] > Version /Schizo/ Rev /7/ 2.5 6 2.4 5 2.3 4 2.2. Symptoms. Should the > described issue occur, /Sun Fire/ 280R, /V480/, V880 and Netra 20 > systems may encounter a FATAL *... > *[/quote] > > From here: > http://sunsolve.sun.com/search/document.do?assetkey=1-66-200502-1 > > also this: > > [quote] > > * FreeBSD has been adopted to the changed firmware of newer Sun Fire > V480 (those equipped with version 7 Schizo bridges) and has been > reported to now run fine on these. The necessary change will be > part of 7.3-RELEASE. Unfortunately, using the on-board NICs in > older models of Sun Fire V480 (at least those equipped with version > 4 Schizo bridges) under FreeBSD still leads to the firmware issuing > a FATAL RESET due to what appears to be a CPU bug, which needs to > be worked around. > > > [/quote] > > Taken from the Sparc64 part of this page: > http://marc.info/?l=freebsd-hackers&m=126375029221240&w=2 > > What I can understand from all of this is that the version 7 is actually > a revision 7.... so any of the bus versions listed above in the table > will work as long as they are revision 7 or later? > > Is this the case, have I understood correctly?? > It's the other way around, version 4 and 7 refer to the contents of the "version#" property of these bridges in the Open Firmware device tree, which can be translated into 2.x revision numbers for exampled based on the table present in the Schizo Errata [1], i.e. version 7 translates to revision 2.5 and version 4 translates to revision 2.2. The sunsolve document you refer to actuall is in line with this information. I highly suspect this problem is related to the infamous BugID 4898531, just that Solaris can work around it to some extent or that FreeBSD happens to better a triggering it (I actually have a version of cas(4) which makes it less likely but still doesn't work around it completely), so V480 equipped with 501-6780 and 501-6790 centerplanes should be fine while those with 501-5819 and 501-6733 are prone to fail. Marius 1: http://www.sun.com/processors/manuals/External_Schizo_Errata.pdf From owner-freebsd-sparc64@FreeBSD.ORG Mon Jan 18 19:45:32 2010 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 62EB81065679 for ; Mon, 18 Jan 2010 19:45:32 +0000 (UTC) (envelope-from samankaya@netscape.net) Received: from imr-db02.mx.aol.com (imr-db02.mx.aol.com [205.188.91.96]) by mx1.freebsd.org (Postfix) with ESMTP id 2416F8FC0C for ; Mon, 18 Jan 2010 19:45:31 +0000 (UTC) Received: from imo-da03.mx.aol.com (imo-da03.mx.aol.com [205.188.169.201]) by imr-db02.mx.aol.com (8.14.1/8.14.1) with ESMTP id o0IJjGLQ016246; Mon, 18 Jan 2010 14:45:16 -0500 Received: from samankaya@netscape.net by imo-da03.mx.aol.com (mail_out_v42.5.) id 3.d02.6e081590 (43913); Mon, 18 Jan 2010 14:45:10 -0500 (EST) Received: from [172.16.1.52] (mail.reformkurumsal.com [212.156.209.87]) by cia-dc08.mx.aol.com (v127.7) with ESMTP id MAILCIADC082-ab894b54ba43174; Mon, 18 Jan 2010 14:45:09 -0500 Message-ID: <4B54BA43.5080604@netscape.net> Date: Mon, 18 Jan 2010 21:45:07 +0200 From: Kaya Saman User-Agent: Thunderbird 2.0.0.21 (X11/20090323) MIME-Version: 1.0 To: Marius Strobl References: <4B549896.8090309@netscape.net> <20100118193222.GL18141@alchemy.franken.de> In-Reply-To: <20100118193222.GL18141@alchemy.franken.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AOL-IP: 212.156.209.87 X-Mailer: Unknown (No Version) X-Spam-Flag: NO X-AOL-SENDER: samankaya@netscape.net Cc: freebsd-sparc64@freebsd.org Subject: Re: Sun Fire V480 compatibility question? 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, 18 Jan 2010 19:45:32 -0000 Many thanks for the response Marius! :-) I appreciate your help so much. > > It's the other way around, version 4 and 7 refer to the contents > of the "version#" property of these bridges in the Open Firmware > device tree, which can be translated into 2.x revision numbers for > exampled based on the table present in the Schizo Errata [1], i.e. > version 7 translates to revision 2.5 and version 4 translates to > revision 2.2. The sunsolve document you refer to actuall is in > line with this information. > Ok now I get it.... > I highly suspect this problem is related to the infamous BugID > 4898531, just that Solaris can work around it to some extent or > that FreeBSD happens to better a triggering it (I actually have > a version of cas(4) which makes it less likely but still doesn't > work around it completely), so V480 equipped with 501-6780 and > 501-6790 centerplanes should be fine while those with 501-5819 > and 501-6733 are prone to fail. > > Marius > > 1: http://www.sun.com/processors/manuals/External_Schizo_Errata.pdf > Just some more quick questions if you don't mind: Can I add extra NICs to the v480 that will work with BSD - provided I have a bridge that is supported? Last question is can I virtualize on this machine?? Obviously things like Xen, Vbox, VMware, Xvm are all built for x86 machines but I have heard about LDoms although I don't know if they will work with SPARC or the v480 and most importantly BSD. According to this: http://www.sun.com/bigadmin/hcl/data/v12n/views/v12n_ldoms.page1.html it only supports Linux and Solaris? Just that I am still stuck between deciding to use OpenSolaris on the machine or BSD as the real thing pulling me towards BSD is the software: Cacti and Munin mainly. Apart from that I am more familiar and happier using Solaris zones as I will create a primary/secondary combo. As we have been through this already in my last post which got many responses I don't want to dwell on this topic and will just have to play around I guess as to see which one suites my needs overall best. Regards, Kaya From owner-freebsd-sparc64@FreeBSD.ORG Mon Jan 18 19:45:33 2010 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 16322106566C for ; Mon, 18 Jan 2010 19:45:33 +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 808C28FC18 for ; Mon, 18 Jan 2010 19:45:32 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.3/8.14.3/ALCHEMY.FRANKEN.DE) with ESMTP id o0IJjPe5003262; Mon, 18 Jan 2010 20:45:25 +0100 (CET) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.3/8.14.3/Submit) id o0IJjOrW003261; Mon, 18 Jan 2010 20:45:24 +0100 (CET) (envelope-from marius) Date: Mon, 18 Jan 2010 20:45:24 +0100 From: Marius Strobl To: Pyun YongHyeon Message-ID: <20100118194524.GN18141@alchemy.franken.de> References: <0334FB50-D299-4723-A36A-0228EC062D34@ameri.ca> <20100110162033.GA79724@alchemy.franken.de> <20100118000641.GD1132@michelle.cdnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100118000641.GD1132@michelle.cdnetworks.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: smbfs 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, 18 Jan 2010 19:45:33 -0000 On Sun, Jan 17, 2010 at 04:06:41PM -0800, Pyun YongHyeon wrote: > On Sun, Jan 10, 2010 at 05:20:33PM +0100, Marius Strobl wrote: > > On Fri, Jan 08, 2010 at 08:49:30AM -0500, brad dreisbach wrote: > > > what is the status of smbfs support in the sparc64 port? > > > > AFAICT it's still unchanged from last Februrary: > > http://lists.freebsd.org/pipermail/freebsd-sparc64/2009-February/006189.html > > It still would be interesting to know how far the kernel part > > actually gets these days on sparc64. > > > > >From my very limited testing, it seems to work. Since smbfs related > libraries and kernel module are not installed by default you may > have to use attached patch and rebuild all or manually > build/install required files. > > Marius, since other strict alignment architectures like ia64 or > powerpc enabled smbfs, I guess it's ok to enable smbfs on sparc64. > What's your opinion? > > The attached patch also fixes an endian bug of smbutil(1). The patch looks good but I'd really would prefer someone to actually test it on sparc64 before enabling it as no other architecture supported by FreeBSD is LP64 big-endian and one can create bugs that are hidden on any other combination. Marius From owner-freebsd-sparc64@FreeBSD.ORG Mon Jan 18 19:58:27 2010 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 2A143106566B for ; Mon, 18 Jan 2010 19:58:27 +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 912848FC12 for ; Mon, 18 Jan 2010 19:58:26 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.3/8.14.3/ALCHEMY.FRANKEN.DE) with ESMTP id o0IJwP1c003399; Mon, 18 Jan 2010 20:58:25 +0100 (CET) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.3/8.14.3/Submit) id o0IJwPu8003398; Mon, 18 Jan 2010 20:58:25 +0100 (CET) (envelope-from marius) Date: Mon, 18 Jan 2010 20:58:25 +0100 From: Marius Strobl To: Kaya Saman Message-ID: <20100118195825.GO18141@alchemy.franken.de> References: <4B549896.8090309@netscape.net> <20100118193222.GL18141@alchemy.franken.de> <4B54BA43.5080604@netscape.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B54BA43.5080604@netscape.net> User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: Sun Fire V480 compatibility question? 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, 18 Jan 2010 19:58:27 -0000 On Mon, Jan 18, 2010 at 09:45:07PM +0200, Kaya Saman wrote: > > Just some more quick questions if you don't mind: > > Can I add extra NICs to the v480 that will work with BSD - provided I > have a bridge that is supported? Yes, NICs driven by drivers included in GENERIC should work fine: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sparc64/conf/GENERIC V480 with version 4 Schizos also seem to work fine with Sun HME NICs (which are 32-bit) when leaving the on-board Cassini+ alone, which would be in line with the information provide for BugID 4898531. > > Last question is can I virtualize on this machine?? Obviously things > like Xen, Vbox, VMware, Xvm are all built for x86 machines but I have > heard about LDoms although I don't know if they will work with SPARC or > the v480 and most importantly BSD. With FreeBSD 8.0 it might be possible to use VIMAGE but I don't know how mature this generally is, I just know that a sparc64 kernel with options VIMAGE at least doesn't instantly blow :) Otherwise you are limited to FreeBSD jails at best. > > According to this: > http://www.sun.com/bigadmin/hcl/data/v12n/views/v12n_ldoms.page1.html > > it only supports Linux and Solaris? LDom support requires some changes to the boot loader and the kernel not present in FreeBSD so far. Marius From owner-freebsd-sparc64@FreeBSD.ORG Mon Jan 18 20:41:02 2010 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 7384D106566C for ; Mon, 18 Jan 2010 20:41:02 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id 246E08FC08 for ; Mon, 18 Jan 2010 20:41:01 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so723845qwd.7 for ; Mon, 18 Jan 2010 12:41:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=bVr8QESJ/wKQ0/Z/IajawhDxzIR6/fAcrmKayCjLgjA=; b=rGZUsl+qzXN61svxifLk0eyQD0mDD6bKSwtAgEvFaNn6an3rU4fqhVtWpK1HJL/EmF 0pCucxyeoh/PtODmoKKnQZy9GhZvDE5iLYN/z2IN7ww0xxhvQ3INf4cGyPg9N9phMGUo mU04x1sE62FpSEX4bTV2PHNzVEXWZM2X9BENM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=nPGqON+dqOVIP8hvfEB73C1Endc9ZyDXpQg4wqUK4AWV+wOIAJWcoTDjKoV8IZNL7j SLg2V5LB/O/Tr1BejTSezzlKiIjiNann/M+KTDGhqtswVZCSdHkoshi5BHJ5PyvWlwPz IdkayXj5v3dWwV0Zw34T9hM1XKAeySOGmd8og= Received: by 10.224.41.211 with SMTP id p19mr4640345qae.290.1263847261281; Mon, 18 Jan 2010 12:41:01 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 4sm7006148qwe.35.2010.01.18.12.40.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 18 Jan 2010 12:41:00 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Mon, 18 Jan 2010 12:40:56 -0800 From: Pyun YongHyeon Date: Mon, 18 Jan 2010 12:40:56 -0800 To: Marius Strobl Message-ID: <20100118204056.GD1336@michelle.cdnetworks.com> References: <0334FB50-D299-4723-A36A-0228EC062D34@ameri.ca> <20100110162033.GA79724@alchemy.franken.de> <20100118000641.GD1132@michelle.cdnetworks.com> <20100118194524.GN18141@alchemy.franken.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100118194524.GN18141@alchemy.franken.de> User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: smbfs X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2010 20:41:02 -0000 On Mon, Jan 18, 2010 at 08:45:24PM +0100, Marius Strobl wrote: > On Sun, Jan 17, 2010 at 04:06:41PM -0800, Pyun YongHyeon wrote: > > On Sun, Jan 10, 2010 at 05:20:33PM +0100, Marius Strobl wrote: > > > On Fri, Jan 08, 2010 at 08:49:30AM -0500, brad dreisbach wrote: > > > > what is the status of smbfs support in the sparc64 port? > > > > > > AFAICT it's still unchanged from last Februrary: > > > http://lists.freebsd.org/pipermail/freebsd-sparc64/2009-February/006189.html > > > It still would be interesting to know how far the kernel part > > > actually gets these days on sparc64. > > > > > > > >From my very limited testing, it seems to work. Since smbfs related > > libraries and kernel module are not installed by default you may > > have to use attached patch and rebuild all or manually > > build/install required files. > > > > Marius, since other strict alignment architectures like ia64 or > > powerpc enabled smbfs, I guess it's ok to enable smbfs on sparc64. > > What's your opinion? > > > > The attached patch also fixes an endian bug of smbutil(1). > > The patch looks good but I'd really would prefer someone to > actually test it on sparc64 before enabling it as no other > architecture supported by FreeBSD is LP64 big-endian and one > can create bugs that are hidden on any other combination. > I did test with/without authentication and can successfully copy sys directory to/from Windows box over smbfs. Of course that test may not exercise all possible code path but it seems we can request more wider testing for smbfs on sparc64. From owner-freebsd-sparc64@FreeBSD.ORG Mon Jan 18 20:44:17 2010 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 409E9106566B for ; Mon, 18 Jan 2010 20:44:17 +0000 (UTC) (envelope-from samankaya@netscape.net) Received: from imr-da01.mx.aol.com (imr-da01.mx.aol.com [205.188.105.143]) by mx1.freebsd.org (Postfix) with ESMTP id 02B838FC08 for ; Mon, 18 Jan 2010 20:44:16 +0000 (UTC) Received: from imo-da01.mx.aol.com (imo-da01.mx.aol.com [205.188.169.199]) by imr-da01.mx.aol.com (8.14.1/8.14.1) with ESMTP id o0IKhtM2011476; Mon, 18 Jan 2010 15:43:55 -0500 Received: from samankaya@netscape.net by imo-da01.mx.aol.com (mail_out_v42.5.) id 3.d64.4a1ac2c3 (34967); Mon, 18 Jan 2010 15:43:53 -0500 (EST) Received: from [172.16.1.52] (mail.reformkurumsal.com [212.156.209.87]) by cia-da07.mx.aol.com (v127.7) with ESMTP id MAILCIADA074-88974b54c807e7; Mon, 18 Jan 2010 15:43:53 -0500 Message-ID: <4B54C807.7030403@netscape.net> Date: Mon, 18 Jan 2010 22:43:51 +0200 From: Kaya Saman User-Agent: Thunderbird 2.0.0.21 (X11/20090323) MIME-Version: 1.0 To: Marius Strobl References: <4B549896.8090309@netscape.net> <20100118193222.GL18141@alchemy.franken.de> <4B54BA43.5080604@netscape.net> <20100118195825.GO18141@alchemy.franken.de> In-Reply-To: <20100118195825.GO18141@alchemy.franken.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AOL-IP: 212.156.209.87 X-Mailer: Unknown (No Version) X-Spam-Flag: NO X-AOL-SENDER: samankaya@netscape.net Cc: freebsd-sparc64@freebsd.org Subject: Re: Sun Fire V480 compatibility question? 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, 18 Jan 2010 20:44:17 -0000 Many thanks for everything Marius!!! This has helped me tremendously :-) Best regards, Kaya Marius Strobl wrote: > On Mon, Jan 18, 2010 at 09:45:07PM +0200, Kaya Saman wrote: > >> Just some more quick questions if you don't mind: >> >> Can I add extra NICs to the v480 that will work with BSD - provided I >> have a bridge that is supported? >> > > Yes, NICs driven by drivers included in GENERIC should work fine: > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sparc64/conf/GENERIC > > V480 with version 4 Schizos also seem to work fine with Sun HME > NICs (which are 32-bit) when leaving the on-board Cassini+ alone, > which would be in line with the information provide for BugID > 4898531. > > >> Last question is can I virtualize on this machine?? Obviously things >> like Xen, Vbox, VMware, Xvm are all built for x86 machines but I have >> heard about LDoms although I don't know if they will work with SPARC or >> the v480 and most importantly BSD. >> > > With FreeBSD 8.0 it might be possible to use VIMAGE but I don't > know how mature this generally is, I just know that a sparc64 > kernel with options VIMAGE at least doesn't instantly blow :) > Otherwise you are limited to FreeBSD jails at best. > > >> According to this: >> http://www.sun.com/bigadmin/hcl/data/v12n/views/v12n_ldoms.page1.html >> >> it only supports Linux and Solaris? >> > > LDom support requires some changes to the boot loader and the > kernel not present in FreeBSD so far. > > Marius > > From owner-freebsd-sparc64@FreeBSD.ORG Mon Jan 18 20:51:22 2010 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 832AF106566B for ; Mon, 18 Jan 2010 20:51:22 +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 EE2C78FC19 for ; Mon, 18 Jan 2010 20:51:21 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.3/8.14.3/ALCHEMY.FRANKEN.DE) with ESMTP id o0IKpJKw003879; Mon, 18 Jan 2010 21:51:19 +0100 (CET) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.3/8.14.3/Submit) id o0IKpJO7003878; Mon, 18 Jan 2010 21:51:19 +0100 (CET) (envelope-from marius) Date: Mon, 18 Jan 2010 21:51:19 +0100 From: Marius Strobl To: Pyun YongHyeon Message-ID: <20100118205119.GQ18141@alchemy.franken.de> References: <0334FB50-D299-4723-A36A-0228EC062D34@ameri.ca> <20100110162033.GA79724@alchemy.franken.de> <20100118000641.GD1132@michelle.cdnetworks.com> <20100118194524.GN18141@alchemy.franken.de> <20100118204056.GD1336@michelle.cdnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100118204056.GD1336@michelle.cdnetworks.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: smbfs 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, 18 Jan 2010 20:51:22 -0000 On Mon, Jan 18, 2010 at 12:40:56PM -0800, Pyun YongHyeon wrote: > On Mon, Jan 18, 2010 at 08:45:24PM +0100, Marius Strobl wrote: > > On Sun, Jan 17, 2010 at 04:06:41PM -0800, Pyun YongHyeon wrote: > > > On Sun, Jan 10, 2010 at 05:20:33PM +0100, Marius Strobl wrote: > > > > On Fri, Jan 08, 2010 at 08:49:30AM -0500, brad dreisbach wrote: > > > > > what is the status of smbfs support in the sparc64 port? > > > > > > > > AFAICT it's still unchanged from last Februrary: > > > > http://lists.freebsd.org/pipermail/freebsd-sparc64/2009-February/006189.html > > > > It still would be interesting to know how far the kernel part > > > > actually gets these days on sparc64. > > > > > > > > > > >From my very limited testing, it seems to work. Since smbfs related > > > libraries and kernel module are not installed by default you may > > > have to use attached patch and rebuild all or manually > > > build/install required files. > > > > > > Marius, since other strict alignment architectures like ia64 or > > > powerpc enabled smbfs, I guess it's ok to enable smbfs on sparc64. > > > What's your opinion? > > > > > > The attached patch also fixes an endian bug of smbutil(1). > > > > The patch looks good but I'd really would prefer someone to > > actually test it on sparc64 before enabling it as no other > > architecture supported by FreeBSD is LP64 big-endian and one > > can create bugs that are hidden on any other combination. > > > > I did test with/without authentication and can successfully copy > sys directory to/from Windows box over smbfs. Of course that test > may not exercise all possible code path but it seems we can request > more wider testing for smbfs on sparc64. Oh, sorry, I overread that you actually had tested it, so feel free to commit it when you feel confident. Marius From owner-freebsd-sparc64@FreeBSD.ORG Tue Jan 19 10:19:43 2010 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 54D8F106566C for ; Tue, 19 Jan 2010 10:19:43 +0000 (UTC) (envelope-from shurd@sasktel.net) Received: from gluon.sasknet.sk.ca (gluon.sasknet.sk.ca [142.165.20.181]) by mx1.freebsd.org (Postfix) with ESMTP id 04E318FC12 for ; Tue, 19 Jan 2010 10:19:42 +0000 (UTC) Received: from pps.filterd (gluon [127.0.0.1]) by gluon.sasknet.sk.ca (8.14.3/8.14.3) with SMTP id o0JA4UDI016031; Tue, 19 Jan 2010 04:04:56 -0600 Received: from bgmpomr2.sasknet.sk.ca (bgmpOMR2.sasknet.sk.ca [142.165.72.23]) by gluon.sasknet.sk.ca with ESMTP id kd5tvgckn-1; Tue, 19 Jan 2010 04:04:56 -0600 Received: from ace.hurd.local (outgoing.bbsdev.net [76.202.204.46]) by bgmpomr2.sasknet.sk.ca (SaskTel eMessaging Service) with ESMTPA id <0KWH00C46O077D00@bgmpomr2.sasknet.sk.ca>; Tue, 19 Jan 2010 04:04:56 -0600 (CST) Date: Tue, 19 Jan 2010 02:04:53 -0800 From: Stephen Hurd In-reply-to: <1263631300.1541.24.camel@hood.oook.cz> To: pav@FreeBSD.org Message-id: <4B5583C5.7020809@sasktel.net> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-2; format=flowed Content-transfer-encoding: 7BIT References: <200912142240.nBEMeJ1E082110@freefall.freebsd.org> <4B50ACBD.3010409@sasktel.net> <1263631300.1541.24.camel@hood.oook.cz> User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.23) Gecko/20091205 SeaMonkey/1.1.18 Mnenhy/0.7.6.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5, 1.2.40, 4.0.166 definitions=2010-01-19_07:2010-01-05, 2010-01-19, 2010-01-19 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1001190029 Cc: nork@FreeBSD.org, bug-followup@FreeBSD.org, freebsd-sparc64@FreeBSD.org Subject: Re: ports/119352: graphics/ilmbase configure tests for shared semaphores but uses non-shared sems 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, 19 Jan 2010 10:19:43 -0000 Pav Lucistnik wrote: >> This was on a sparc64 system which I no longer have access to, but since >> the threading implementation in 7.0-RC1 didn't support shared >> semaphores, I would expect that the latest 7.x doesn't either, so the >> patch is still needed. >> > > You sure about it? As I my 7.1-STABLE testbed executes that configure > mini-program all-right. > Of course, I can't be sure without access to a sparc64... adding -sparc64@ Can anyone verify if graphics/ilmbase configure fails to find working semaphores on 7.x? From owner-freebsd-sparc64@FreeBSD.ORG Tue Jan 19 10:39:11 2010 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 71D441065676 for ; Tue, 19 Jan 2010 10:39:11 +0000 (UTC) (envelope-from craig001@lerwick.hopto.org) Received: from lerwick.hopto.org (81-178-20-70.dsl.pipex.com [81.178.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id B485D8FC18 for ; Tue, 19 Jan 2010 10:39:09 +0000 (UTC) Received: (qmail 34968 invoked by uid 98); 19 Jan 2010 10:40:30 +0000 Received: from 192.168.0.2 by polaris.lerwick.hopto.org (envelope-from , uid 82) with qmail-scanner-2.01 (clamdscan: 0.95.1/9971. hbedv: 7.9.1.53/7.1.6.174. spamassassin: 3.2.5. Clear:RC:1(192.168.0.2):. Processed in 3.944023 secs); 19 Jan 2010 10:40:30 -0000 Received: from unknown (HELO ?192.168.0.2?) (192.168.0.2) by lerwick.hopto.org with SMTP; 19 Jan 2010 10:40:26 +0000 From: Craig Butler To: Stephen Hurd In-Reply-To: <4B5583C5.7020809@sasktel.net> References: <200912142240.nBEMeJ1E082110@freefall.freebsd.org> <4B50ACBD.3010409@sasktel.net> <1263631300.1541.24.camel@hood.oook.cz> <4B5583C5.7020809@sasktel.net> Content-Type: text/plain Date: Tue, 19 Jan 2010 10:38:40 +0000 Message-Id: <1263897520.16912.1.camel@main.lerwick.hopto.org> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: pav@FreeBSD.org, nork@FreeBSD.org, bug-followup@FreeBSD.org, freebsd-sparc64@FreeBSD.org Subject: Re: ports/119352: graphics/ilmbase configure tests for shared semaphores but uses non-shared sems 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, 19 Jan 2010 10:39:11 -0000 On Tue, 2010-01-19 at 02:04 -0800, Stephen Hurd wrote: > Pav Lucistnik wrote: > >> This was on a sparc64 system which I no longer have access to, but since > >> the threading implementation in 7.0-RC1 didn't support shared > >> semaphores, I would expect that the latest 7.x doesn't either, so the > >> patch is still needed. > >> > > > > You sure about it? As I my 7.1-STABLE testbed executes that configure > > mini-program all-right. > > > > Of course, I can't be sure without access to a sparc64... adding -sparc64@ > > Can anyone verify if graphics/ilmbase configure fails to find working > semaphores on 7.x? > _______________________________________________ > freebsd-sparc64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64 > To unsubscribe, send any mail to "freebsd-sparc64-unsubscribe@freebsd.org" checking semaphore.h usability... yes checking semaphore.h presence... yes checking for semaphore.h... yes checking for library containing sem_init... none required checking whether to use POSIX unnamed semaphores... Bad system call (core dumped ) no (pshared not usable) configure: multithread true, LIBS = -pthread , CC = cc, CXXFLAGS = -O2 -fno-stri ct-aliasing -pipe -D_THREAD_SAFE x1# uname -a FreeBSD x1.lerwick.hopto.org 7.2-RELEASE-p5 FreeBSD 7.2-RELEASE-p5 #2: Mon Dec 28 01:06:37 GMT 2009 root@x1.lerwick.hopto.org:/usr/obj/usr/src/sys/GENERIC_WITH_RDR sparc64 Regards Craig B From owner-freebsd-sparc64@FreeBSD.ORG Tue Jan 19 17:07:08 2010 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 08D9B106566B; Tue, 19 Jan 2010 17:07:08 +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 C99F28FC08; Tue, 19 Jan 2010 17:07:07 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 77C4546B03; Tue, 19 Jan 2010 12:07:07 -0500 (EST) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 18F748A026; Tue, 19 Jan 2010 12:07:06 -0500 (EST) From: John Baldwin To: freebsd-sparc64@freebsd.org Date: Tue, 19 Jan 2010 11:46:51 -0500 User-Agent: KMail/1.12.1 (FreeBSD/7.2-CBSD-20091231; KDE/4.3.1; amd64; ; ) References: <200912142240.nBEMeJ1E082110@freefall.freebsd.org> <4B5583C5.7020809@sasktel.net> <1263897520.16912.1.camel@main.lerwick.hopto.org> In-Reply-To: <1263897520.16912.1.camel@main.lerwick.hopto.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201001191146.51597.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Tue, 19 Jan 2010 12:07:06 -0500 (EST) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: pav@freebsd.org, nork@freebsd.org, bug-followup@freebsd.org Subject: Re: ports/119352: graphics/ilmbase configure tests for shared semaphores but uses non-shared sems 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, 19 Jan 2010 17:07:08 -0000 On Tuesday 19 January 2010 5:38:40 am Craig Butler wrote: > > On Tue, 2010-01-19 at 02:04 -0800, Stephen Hurd wrote: > > Pav Lucistnik wrote: > > >> This was on a sparc64 system which I no longer have access to, but since > > >> the threading implementation in 7.0-RC1 didn't support shared > > >> semaphores, I would expect that the latest 7.x doesn't either, so the > > >> patch is still needed. > > >> > > > > > > You sure about it? As I my 7.1-STABLE testbed executes that configure > > > mini-program all-right. > > > > > > > Of course, I can't be sure without access to a sparc64... adding -sparc64@ > > > > Can anyone verify if graphics/ilmbase configure fails to find working > > semaphores on 7.x? > > _______________________________________________ > > freebsd-sparc64@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64 > > To unsubscribe, send any mail to "freebsd-sparc64-unsubscribe@freebsd.org" > > checking semaphore.h usability... yes > checking semaphore.h presence... yes > checking for semaphore.h... yes > checking for library containing sem_init... none required > checking whether to use POSIX unnamed semaphores... Bad system call > (core dumped > ) > no (pshared not usable) > configure: multithread true, LIBS = -pthread , CC = cc, CXXFLAGS = -O2 > -fno-stri > ct-aliasing -pipe -D_THREAD_SAFE > > x1# uname -a > FreeBSD x1.lerwick.hopto.org 7.2-RELEASE-p5 FreeBSD 7.2-RELEASE-p5 #2: > Mon Dec 28 01:06:37 GMT 2009 > root@x1.lerwick.hopto.org:/usr/obj/usr/src/sys/GENERIC_WITH_RDR sparc64 > > Regards 7.x has them enabled by default in GENERIC whereas 7.2 does not. -- John Baldwin From owner-freebsd-sparc64@FreeBSD.ORG Wed Jan 20 09:30:04 2010 Return-Path: Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94FC7106566C for ; Wed, 20 Jan 2010 09:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 547668FC1D for ; Wed, 20 Jan 2010 09:30:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0K9U4hj023183 for ; Wed, 20 Jan 2010 09:30:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0K9U4ro023181; Wed, 20 Jan 2010 09:30:04 GMT (envelope-from gnats) Resent-Date: Wed, 20 Jan 2010 09:30:04 GMT Resent-Message-Id: <201001200930.o0K9U4ro023181@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-sparc64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Pakhom Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B023106566B for ; Wed, 20 Jan 2010 09:23:10 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 8AFF58FC08 for ; Wed, 20 Jan 2010 09:23:10 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o0K9NAnq041379 for ; Wed, 20 Jan 2010 09:23:10 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o0K9NAjD041369; Wed, 20 Jan 2010 09:23:10 GMT (envelope-from nobody) Message-Id: <201001200923.o0K9NAjD041369@www.freebsd.org> Date: Wed, 20 Jan 2010 09:23:10 GMT From: Pakhom To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: sparc64/143010: Panic String: trap: memory address not aligned 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, 20 Jan 2010 09:30:04 -0000 >Number: 143010 >Category: sparc64 >Synopsis: Panic String: trap: memory address not aligned >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-sparc64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 20 09:30:03 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Pakhom >Release: 8.0 and 9-CURRENT >Organization: >Environment: FreeBSD x1.tdc 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Fri Jan 15 13:11:40 MSK 2010 root@x1.tdc:/usr/obj/usr/src/sys/T1 sparc64 >Description: 'Panic String: trap: memory address not aligned' When ISO file mounted by mdconfig and exported via NFS. But I can't get backtrace :( x1# cd /usr/obj/usr/src/sys/T1/ x1# kgdb kernel.debug /var/crash/vmcore.0 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc64-marcel-freebsd"... GDB can't read core files on this machine. (kgdb) >How-To-Repeat: 1) mount -t cd9660 /dev/$(mdconfig -f dvd.iso) /export 2) share /export via NFS 3) mount_nfs 127.0.0.1:/export /mnt 4) Panic String: trap: memory address not aligned >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-sparc64@FreeBSD.ORG Wed Jan 20 21:50:08 2010 Return-Path: Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F8A0106566C for ; Wed, 20 Jan 2010 21:50:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 264508FC0C for ; Wed, 20 Jan 2010 21:50:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0KLo8r3046316 for ; Wed, 20 Jan 2010 21:50:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0KLo7Kf046307; Wed, 20 Jan 2010 21:50:08 GMT (envelope-from gnats) Date: Wed, 20 Jan 2010 21:50:08 GMT Message-Id: <201001202150.o0KLo7Kf046307@freefall.freebsd.org> To: freebsd-sparc64@FreeBSD.org From: Marius Strobl Cc: Subject: Re: sparc64/143010: Panic String: trap: memory address not aligned X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marius Strobl List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 21:50:08 -0000 The following reply was made to PR sparc64/143010; it has been noted by GNATS. From: Marius Strobl To: Pakhom Cc: freebsd-gnats-submit@freebsd.org Subject: Re: sparc64/143010: Panic String: trap: memory address not aligned Date: Wed, 20 Jan 2010 22:45:22 +0100 Could you please give a kernel compiled with the following patch a try? http://people.freebsd.org/~marius/cd9660_ifid_alignment.diff Marius From owner-freebsd-sparc64@FreeBSD.ORG Wed Jan 20 22:44:23 2010 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 09F07106566B for ; Wed, 20 Jan 2010 22:44:23 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-qy0-f190.google.com (mail-qy0-f190.google.com [209.85.221.190]) by mx1.freebsd.org (Postfix) with ESMTP id B45658FC18 for ; Wed, 20 Jan 2010 22:44:22 +0000 (UTC) Received: by qyk28 with SMTP id 28so3503708qyk.28 for ; Wed, 20 Jan 2010 14:44:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=L6EEw4Hx9mRH+V0XVg2B+zGovg12dGXUAWVbVsbofXQ=; b=DFjffmDnyh/hmCQjmZtoTpS45gHQup9x9vH7ojwXEIv3DNrHJcboV62r5lYAbceBai aC0tXUPXXvzDjbKzRF3CZN0Z/sQ4+0NyOsAsfnvpvLX7LnaNyIQeDS7b0nnQ/jJjcQuD svyckKHcQuGqCTy0KxcfvBOysWJ5fOCVuKvvk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=xfRpnOslQfBSzyqnoizebMaWfgsUEKyAmMxRAxMV3R/GvvTlzIOFAEkFK2swCuMkgy rfQPu1RvngmHzAre9e7CiNYQ/uPGr7/4vc9g0dnzbBQ413B0WkIRstqsjEZiyubEuUhz 44FFr+VQdC77y/CQ1su/Hl7Pibf3C9dILIhUs= Received: by 10.224.84.10 with SMTP id h10mr413848qal.365.1264027461672; Wed, 20 Jan 2010 14:44:21 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 7sm1347581qwb.12.2010.01.20.14.44.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 20 Jan 2010 14:44:20 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Wed, 20 Jan 2010 14:44:17 -0800 From: Pyun YongHyeon Date: Wed, 20 Jan 2010 14:44:17 -0800 To: Marius Strobl Message-ID: <20100120224417.GK6201@michelle.cdnetworks.com> References: <201001202150.o0KLo7Kf046307@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201001202150.o0KLo7Kf046307@freefall.freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: sparc64/143010: Panic String: trap: memory address not aligned X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 22:44:23 -0000 On Wed, Jan 20, 2010 at 09:50:08PM +0000, Marius Strobl wrote: > The following reply was made to PR sparc64/143010; it has been noted by GNATS. > > From: Marius Strobl > To: Pakhom > Cc: freebsd-gnats-submit@freebsd.org > Subject: Re: sparc64/143010: Panic String: trap: memory address not aligned > Date: Wed, 20 Jan 2010 22:45:22 +0100 > > Could you please give a kernel compiled with the following patch a try? > http://people.freebsd.org/~marius/cd9660_ifid_alignment.diff > This patch fixes the panic. Thanks for quick fix. :-) From owner-freebsd-sparc64@FreeBSD.ORG Thu Jan 21 02:39:47 2010 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 0B632106566C; Thu, 21 Jan 2010 02:39:47 +0000 (UTC) (envelope-from hurds@sasktel.net) Received: from proton.sasknet.sk.ca (proton.sasknet.sk.ca [142.165.20.178]) by mx1.freebsd.org (Postfix) with ESMTP id AA0F08FC0C; Thu, 21 Jan 2010 02:39:46 +0000 (UTC) Received: from pps.filterd (proton [127.0.0.1]) by proton.sasknet.sk.ca (8.14.3/8.14.3) with SMTP id o0L2IJb2005660; Wed, 20 Jan 2010 20:27:25 -0600 Received: from bgmpomr1.sasknet.sk.ca (bgmpOMR1.sasknet.sk.ca [142.165.72.22]) by proton.sasknet.sk.ca with ESMTP id kecs629ju-1; Wed, 20 Jan 2010 20:27:25 -0600 Received: from sasktel.net ([192.168.234.97]) by bgmpomr1.sasknet.sk.ca (SaskTel eMessaging Service) with ESMTP id <0KWK00GABS5PMN20@bgmpomr1.sasknet.sk.ca>; Wed, 20 Jan 2010 20:27:25 -0600 (CST) Received: from [192.168.234.24] (Forwarded-For: [216.31.211.11]) by cgmail1.sasknet.sk.ca (mshttpd); Wed, 20 Jan 2010 18:27:25 -0800 Date: Wed, 20 Jan 2010 18:27:25 -0800 From: Stephen Hurd To: John Baldwin Message-id: MIME-version: 1.0 X-Mailer: Sun Java(tm) System Messenger Express 6.1 HotFix 0.20 (built Feb 27 2006) Content-type: text/plain; charset=us-ascii Content-language: en Content-transfer-encoding: 7BIT Content-disposition: inline X-Accept-Language: en Priority: normal X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5, 1.2.40, 4.0.166 definitions=2010-01-20_11:2010-01-19, 2010-01-20, 2010-01-20 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1001200263 Cc: bug-followup@freebsd.org, nork@freebsd.org, pav@freebsd.org, freebsd-sparc64@freebsd.org Subject: Re: ports/119352: graphics/ilmbase configure tests for shared semaphores but uses non-shared sems 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, 21 Jan 2010 02:39:47 -0000 > > > Can anyone verify if graphics/ilmbase configure fails to find working > > > semaphores on 7.x? > > > > checking whether to use POSIX unnamed semaphores... Bad system call > > (core dumped > > ) > > no (pshared not usable) > > > > x1# uname -a > > FreeBSD x1.lerwick.hopto.org 7.2-RELEASE-p5 FreeBSD 7.2-RELEASE-p5 #2: > > Mon Dec 28 01:06:37 GMT 2009 > > root@x1.lerwick.hopto.org:/usr/obj/usr/src/sys/GENERIC_WITH_RDR sparc64 > > 7.x has them enabled by default in GENERIC whereas 7.2 does not. So, the patch is still needed, but not for much longer? From owner-freebsd-sparc64@FreeBSD.ORG Thu Jan 21 04:20:21 2010 Return-Path: Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28EAC1065670 for ; Thu, 21 Jan 2010 04:20:21 +0000 (UTC) (envelope-from bhoraholmvpij@mail.ru) Received: from smtp4.apollo.lv (smtp4.apollo.lv [80.232.168.199]) by mx1.freebsd.org (Postfix) with ESMTP id DBADD8FC18 for ; Thu, 21 Jan 2010 04:20:20 +0000 (UTC) Received: from Riba-PC (unknown [195.13.202.194]) by smtp4.apollo.lv (Postfix) with SMTP id 349B4268448 for ; Thu, 21 Jan 2010 05:55:24 +0200 (EET) Message-ID: From: "Sabine" To: "freebsd-sparc" Date: Thu, 21 Jan 2010 05:55:11 +0200 Organization: Nedirsies MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="koi8-r"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18000 X-Brightmail-Tracker: AAAAAQAAAUA= Cc: Subject: Izpaud sevi ;) X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Sabine List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 04:20:21 -0000 Hei freebsd-sparc! Beidzot atradu, kur visi pasuuta taas uzliimes un apliimee savus auto http://www.aplimeauto.lv Iecheko kautko arii sev! 2010.01.21.hhd5:55:11 From owner-freebsd-sparc64@FreeBSD.ORG Thu Jan 21 11:10:07 2010 Return-Path: Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF614106566C for ; Thu, 21 Jan 2010 11:10:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 853E28FC0A for ; Thu, 21 Jan 2010 11:10:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0LBA7if093384 for ; Thu, 21 Jan 2010 11:10:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0LBA73M093383; Thu, 21 Jan 2010 11:10:07 GMT (envelope-from gnats) Date: Thu, 21 Jan 2010 11:10:07 GMT Message-Id: <201001211110.o0LBA73M093383@freefall.freebsd.org> To: freebsd-sparc64@FreeBSD.org From: Pasha Pasha Cc: Subject: Re: sparc64/143010: Panic String: trap: memory address not aligned X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Pasha Pasha List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 11:10:07 -0000 The following reply was made to PR sparc64/143010; it has been noted by GNATS. From: Pasha Pasha To: Marius Strobl , bug-followup@FreeBSD.org Cc: freebsd-gnats-submit@freebsd.org Subject: Re: sparc64/143010: Panic String: trap: memory address not aligned Date: Thu, 21 Jan 2010 13:42:37 +0300 --001485f90f72906e7c047daa5c4d Content-Type: text/plain; charset=ISO-8859-1 Hi Marius, Thanks a lot for provided patch. Problem successfully resolved. On Thu, Jan 21, 2010 at 12:45 AM, Marius Strobl wrote: > > Could you please give a kernel compiled with the following patch a try? > http://people.freebsd.org/~marius/cd9660_ifid_alignment.diff > > Marius > > --001485f90f72906e7c047daa5c4d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Marius,
Thanks a lot for provided patch. Prob= lem successfully resolved.

On Thu,= Jan 21, 2010 at 12:45 AM, Marius Strobl <marius@alchemy.franken.de> w= rote:

Could you please give a kernel compiled with the following patch a try?
http://people.freebsd.org/~marius/cd9660_ifid_alignment.d= iff

Marius


--001485f90f72906e7c047daa5c4d-- From owner-freebsd-sparc64@FreeBSD.ORG Thu Jan 21 11:10:09 2010 Return-Path: Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74F8C1065670 for ; Thu, 21 Jan 2010 11:10:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4B23A8FC0C for ; Thu, 21 Jan 2010 11:10:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0LBA9f1093410 for ; Thu, 21 Jan 2010 11:10:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0LBA9Mf093409; Thu, 21 Jan 2010 11:10:09 GMT (envelope-from gnats) Date: Thu, 21 Jan 2010 11:10:09 GMT Message-Id: <201001211110.o0LBA9Mf093409@freefall.freebsd.org> To: freebsd-sparc64@FreeBSD.org From: Pasha Pasha Cc: Subject: Re: sparc64/143010: Panic String: trap: memory address not aligned X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Pasha Pasha List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 11:10:09 -0000 The following reply was made to PR sparc64/143010; it has been noted by GNATS. From: Pasha Pasha To: Marius Strobl , bug-followup@FreeBSD.org Cc: freebsd-gnats-submit@freebsd.org Subject: Re: sparc64/143010: Panic String: trap: memory address not aligned Date: Thu, 21 Jan 2010 13:42:37 +0300 --001485f90f72906e7c047daa5c4d Content-Type: text/plain; charset=ISO-8859-1 Hi Marius, Thanks a lot for provided patch. Problem successfully resolved. On Thu, Jan 21, 2010 at 12:45 AM, Marius Strobl wrote: > > Could you please give a kernel compiled with the following patch a try? > http://people.freebsd.org/~marius/cd9660_ifid_alignment.diff > > Marius > > --001485f90f72906e7c047daa5c4d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Marius,
Thanks a lot for provided patch. Prob= lem successfully resolved.

On Thu,= Jan 21, 2010 at 12:45 AM, Marius Strobl <marius@alchemy.franken.de> w= rote:

Could you please give a kernel compiled with the following patch a try?
http://people.freebsd.org/~marius/cd9660_ifid_alignment.d= iff

Marius


--001485f90f72906e7c047daa5c4d-- From owner-freebsd-sparc64@FreeBSD.ORG Thu Jan 21 13:12:54 2010 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 B56591065670; Thu, 21 Jan 2010 13:12:54 +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 866858FC1A; Thu, 21 Jan 2010 13:12:54 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 3567546B39; Thu, 21 Jan 2010 08:12:54 -0500 (EST) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 58C598A027; Thu, 21 Jan 2010 08:12:53 -0500 (EST) From: John Baldwin To: Stephen Hurd Date: Thu, 21 Jan 2010 07:50:20 -0500 User-Agent: KMail/1.12.1 (FreeBSD/7.2-CBSD-20091231; KDE/4.3.1; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201001210750.20687.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Thu, 21 Jan 2010 08:12:53 -0500 (EST) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: bug-followup@freebsd.org, nork@freebsd.org, pav@freebsd.org, freebsd-sparc64@freebsd.org Subject: Re: ports/119352: graphics/ilmbase configure tests for shared semaphores but uses non-shared sems 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, 21 Jan 2010 13:12:54 -0000 On Wednesday 20 January 2010 9:27:25 pm Stephen Hurd wrote: > > > > Can anyone verify if graphics/ilmbase configure fails to find working > > > > semaphores on 7.x? > > > > > > checking whether to use POSIX unnamed semaphores... Bad system call > > > (core dumped > > > ) > > > no (pshared not usable) > > > > > > x1# uname -a > > > FreeBSD x1.lerwick.hopto.org 7.2-RELEASE-p5 FreeBSD 7.2-RELEASE-p5 #2: > > > Mon Dec 28 01:06:37 GMT 2009 > > > root@x1.lerwick.hopto.org:/usr/obj/usr/src/sys/GENERIC_WITH_RDR sparc64 > > > > 7.x has them enabled by default in GENERIC whereas 7.2 does not. > > So, the patch is still needed, but not for much longer? Maybe the patch can be made conditional on the OS version? I think we already have that sort of behavior in other ports. -- John Baldwin From owner-freebsd-sparc64@FreeBSD.ORG Sat Jan 23 13:39:56 2010 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 BAD61106566B; Sat, 23 Jan 2010 13:39:56 +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 7A5D38FC16; Sat, 23 Jan 2010 13:39:56 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.3/8.14.3) with ESMTP id o0NDdtvG087213; Sat, 23 Jan 2010 08:39:55 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.3/8.14.3/Submit) id o0NDdtIK087198; Sat, 23 Jan 2010 13:39:55 GMT (envelope-from tinderbox@freebsd.org) Date: Sat, 23 Jan 2010 13:39:55 GMT Message-Id: <201001231339.o0NDdtIK087198@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: Sat, 23 Jan 2010 13:39:56 -0000 TB --- 2010-01-23 12:38:09 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-01-23 12:38:09 - starting HEAD tinderbox run for sparc64/sparc64 TB --- 2010-01-23 12:38:09 - cleaning the object tree TB --- 2010-01-23 12:38:25 - cvsupping the source tree TB --- 2010-01-23 12:38:25 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/sparc64/sparc64/supfile TB --- 2010-01-23 12:38:49 - building world TB --- 2010-01-23 12:38:49 - MAKEOBJDIRPREFIX=/obj TB --- 2010-01-23 12:38:49 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-01-23 12:38:49 - TARGET=sparc64 TB --- 2010-01-23 12:38:49 - TARGET_ARCH=sparc64 TB --- 2010-01-23 12:38:49 - TZ=UTC TB --- 2010-01-23 12:38:49 - __MAKE_CONF=/dev/null TB --- 2010-01-23 12:38:49 - cd /src TB --- 2010-01-23 12:38:49 - /usr/bin/make -B buildworld >>> World build started on Sat Jan 23 12:38:49 UTC 2010 >>> 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 Sat Jan 23 13:35:17 UTC 2010 TB --- 2010-01-23 13:35:17 - generating LINT kernel config TB --- 2010-01-23 13:35:17 - cd /src/sys/sparc64/conf TB --- 2010-01-23 13:35:17 - /usr/bin/make -B LINT TB --- 2010-01-23 13:35:17 - building LINT kernel TB --- 2010-01-23 13:35:17 - MAKEOBJDIRPREFIX=/obj TB --- 2010-01-23 13:35:17 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-01-23 13:35:17 - TARGET=sparc64 TB --- 2010-01-23 13:35:17 - TARGET_ARCH=sparc64 TB --- 2010-01-23 13:35:17 - TZ=UTC TB --- 2010-01-23 13:35:17 - __MAKE_CONF=/dev/null TB --- 2010-01-23 13:35:17 - cd /src TB --- 2010-01-23 13:35:17 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Jan 23 13:35:17 UTC 2010 >>> 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 -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/dev/ida/ida.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 -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/dev/ida/ida_disk.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 -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/dev/ida/ida_pci.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 -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/dev/ieee488/ibfoo.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 -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/dev/ieee488/pcii.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 -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/dev/ieee488/tnt4882.c /src/sys/dev/ieee488/tnt4882.c: In function 'tnt_attach': /src/sys/dev/ieee488/tnt4882.c:306: error: 'struct upd7210' has no member named 'reg_offset' *** Error code 1 Stop in /obj/sparc64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-01-23 13:39:55 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-01-23 13:39:55 - ERROR: failed to build lint kernel TB --- 2010-01-23 13:39:55 - 2794.66 user 600.92 system 3706.19 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-sparc64-sparc64.full From owner-freebsd-sparc64@FreeBSD.ORG Sat Jan 23 22:40:03 2010 Return-Path: Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC219106568B for ; Sat, 23 Jan 2010 22:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 81F7E8FC19 for ; Sat, 23 Jan 2010 22:40:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0NMe3qE057370 for ; Sat, 23 Jan 2010 22:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0NMe39L057364; Sat, 23 Jan 2010 22:40:03 GMT (envelope-from gnats) Date: Sat, 23 Jan 2010 22:40:03 GMT Message-Id: <201001232240.o0NMe39L057364@freefall.freebsd.org> To: freebsd-sparc64@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: sparc64/143010: commit references a PR X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 22:40:03 -0000 The following reply was made to PR sparc64/143010; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: sparc64/143010: commit references a PR Date: Sat, 23 Jan 2010 22:38:16 +0000 (UTC) Author: marius Date: Sat Jan 23 22:38:01 2010 New Revision: 202903 URL: http://svn.freebsd.org/changeset/base/202903 Log: On LP64 struct ifid is 64-bit aligned while struct fid is 32-bit aligned so on architectures with strict alignment requirements we can't just simply cast the latter to the former but need to copy it bytewise instead. PR: 143010 MFC after: 3 days Modified: head/sys/fs/cd9660/cd9660_vfsops.c head/sys/fs/cd9660/cd9660_vnops.c Modified: head/sys/fs/cd9660/cd9660_vfsops.c ============================================================================== --- head/sys/fs/cd9660/cd9660_vfsops.c Sat Jan 23 22:37:34 2010 (r202902) +++ head/sys/fs/cd9660/cd9660_vfsops.c Sat Jan 23 22:38:01 2010 (r202903) @@ -589,17 +589,19 @@ cd9660_fhtovp(mp, fhp, vpp) struct fid *fhp; struct vnode **vpp; { - struct ifid *ifhp = (struct ifid *)fhp; + struct ifid ifh; struct iso_node *ip; struct vnode *nvp; int error; + memcpy(&ifh, fhp, sizeof(ifh)); + #ifdef ISOFS_DBG printf("fhtovp: ino %d, start %ld\n", - ifhp->ifid_ino, ifhp->ifid_start); + ifh.ifid_ino, ifh.ifid_start); #endif - if ((error = VFS_VGET(mp, ifhp->ifid_ino, LK_EXCLUSIVE, &nvp)) != 0) { + if ((error = VFS_VGET(mp, ifh.ifid_ino, LK_EXCLUSIVE, &nvp)) != 0) { *vpp = NULLVP; return (error); } Modified: head/sys/fs/cd9660/cd9660_vnops.c ============================================================================== --- head/sys/fs/cd9660/cd9660_vnops.c Sat Jan 23 22:37:34 2010 (r202902) +++ head/sys/fs/cd9660/cd9660_vnops.c Sat Jan 23 22:38:01 2010 (r202903) @@ -819,20 +819,25 @@ cd9660_vptofh(ap) struct fid *a_fhp; } */ *ap; { + struct ifid ifh; struct iso_node *ip = VTOI(ap->a_vp); - struct ifid *ifhp; - ifhp = (struct ifid *)ap->a_fhp; - ifhp->ifid_len = sizeof(struct ifid); + ifh.ifid_len = sizeof(struct ifid); - ifhp->ifid_ino = ip->i_number; - ifhp->ifid_start = ip->iso_start; + ifh.ifid_ino = ip->i_number; + ifh.ifid_start = ip->iso_start; + /* + * This intentionally uses sizeof(ifh) in order to not copy stack + * garbage on ILP32. + */ + memcpy(ap->a_fhp, &ifh, sizeof(ifh)); #ifdef ISOFS_DBG printf("vptofh: ino %d, start %ld\n", - ifhp->ifid_ino,ifhp->ifid_start); + ifh.ifid_ino, ifh.ifid_start); #endif - return 0; + + return (0); } /* _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"