From owner-freebsd-sparc64@FreeBSD.ORG Sun Jun 29 14:34:10 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EA0D37B401; Sun, 29 Jun 2003 14:34:10 -0700 (PDT) Received: from cueball.rtp.FreeBSD.org (cueball.rtp.FreeBSD.org [192.58.184.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E77544008; Sun, 29 Jun 2003 14:34:09 -0700 (PDT) (envelope-from des+tinderbox@freebsd.org) Received: from cueball.rtp.FreeBSD.org (localhost [127.0.0.1]) h5TLY5va021513; Sun, 29 Jun 2003 17:34:05 -0400 (EDT) (envelope-from des+tinderbox@freebsd.org) Received: (from des@localhost) by cueball.rtp.FreeBSD.org (8.12.9/8.12.9/Submit) id h5TLY59m021512; Sun, 29 Jun 2003 21:34:05 GMT Date: Sun, 29 Jun 2003 21:34:05 GMT Message-Id: <200306292134.h5TLY59m021512@cueball.rtp.FreeBSD.org> X-Authentication-Warning: cueball.rtp.FreeBSD.org: des set sender to Tinderbox using -f Sender: Tinderbox From: Tinderbox To: current@freebsd.org, sparc64@freebsd.org Precedence: bulk Subject: [-CURRENT tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jun 2003 21:34:10 -0000 TB --- 2003-06-29 20:56:43 - starting CURRENT tinderbox run for sparc64/sparc64 TB --- 2003-06-29 20:56:43 - checking out the source tree TB --- cd /home/des/tinderbox/CURRENT/sparc64/sparc64 TB --- /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2003-06-29 20:59:01 - building world TB --- cd /home/des/tinderbox/CURRENT/sparc64/sparc64/src TB --- /usr/bin/make -B buildworld >>> Rebuilding the temporary build tree >>> stage 1: legacy release compatibility shims >>> stage 1: bootstrap tools >>> stage 2: cleaning up the object tree >>> stage 2: rebuilding the object tree >>> stage 2: build tools >>> stage 3: cross tools >>> stage 4: populating /home/des/tinderbox/CURRENT/sparc64/sparc64/obj/sparc64/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/i386/usr/include >>> stage 4: building libraries >>> stage 4: make dependencies [...] rm -f .depend mkdep -f .depend -a /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sbin/mdconfig/mdconfig.c echo mdconfig: /home/des/tinderbox/CURRENT/sparc64/sparc64/obj/sparc64/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/i386/usr/lib/libc.a >> .depend ===> sbin/mdmfs rm -f .depend mkdep -f .depend -a /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sbin/mdmfs/mdmfs.c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sbin/mdmfs/mdmfs.c:53:23: pathnames.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sbin/mdmfs. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sbin. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src. TB --- 2003-06-29 21:34:05 - /usr/bin/make returned exit code 1 TB --- 2003-06-29 21:34:05 - ERROR: failed to build world TB --- 2003-06-29 21:34:05 - tinderbox aborted From owner-freebsd-sparc64@FreeBSD.ORG Mon Jun 30 15:01:34 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D3ED37B401; Mon, 30 Jun 2003 15:01:33 -0700 (PDT) Received: from cueball.rtp.FreeBSD.org (cueball.rtp.FreeBSD.org [192.58.184.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6B3B43FE0; Mon, 30 Jun 2003 15:01:32 -0700 (PDT) (envelope-from des+tinderbox@freebsd.org) Received: from cueball.rtp.FreeBSD.org (localhost [127.0.0.1]) h5UM1Ss8051599; Mon, 30 Jun 2003 18:01:29 -0400 (EDT) (envelope-from des+tinderbox@freebsd.org) Received: (from des@localhost) by cueball.rtp.FreeBSD.org (8.12.9/8.12.9/Submit) id h5UM1P2a051598; Mon, 30 Jun 2003 22:01:25 GMT Date: Mon, 30 Jun 2003 22:01:25 GMT Message-Id: <200306302201.h5UM1P2a051598@cueball.rtp.FreeBSD.org> X-Authentication-Warning: cueball.rtp.FreeBSD.org: des set sender to Tinderbox using -f Sender: Tinderbox From: Tinderbox To: current@freebsd.org, sparc64@freebsd.org Precedence: bulk Subject: [-CURRENT tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2003 22:01:34 -0000 TB --- 2003-06-30 21:19:57 - starting CURRENT tinderbox run for sparc64/sparc64 TB --- 2003-06-30 21:19:57 - checking out the source tree TB --- cd /home/des/tinderbox/CURRENT/sparc64/sparc64 TB --- /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2003-06-30 21:23:24 - building world TB --- cd /home/des/tinderbox/CURRENT/sparc64/sparc64/src TB --- /usr/bin/make -B buildworld >>> Rebuilding the temporary build tree >>> stage 1: legacy release compatibility shims >>> stage 1: bootstrap tools >>> stage 2: cleaning up the object tree >>> stage 2: rebuilding the object tree >>> stage 2: build tools >>> stage 3: cross tools >>> stage 4: populating /home/des/tinderbox/CURRENT/sparc64/sparc64/obj/sparc64/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/i386/usr/include >>> stage 4: building libraries >>> stage 4: make dependencies >>> stage 4: building everything.. [...] yacc -d /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/arith.y cp y.tab.c arith.c lex -t -8 /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/arith_lex.l > arith_lex.c cd /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh; sh mkbuiltins /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/obj/sparc64/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/rescue/rescue/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh cc -O -pipe -DSHELL -I. -I/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh -DRESCUE -c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/mkinit.c cc -O -pipe -DSHELL -I. -I/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh -DRESCUE -static mkinit.o -o mkinit ./mkinit /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/alias.c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/eval.c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/exec.c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/input.c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/jobs.c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/options.c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/parser.c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/redir.c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/trap.c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/var.c ./mkinit: 1: Syntax error: end of file unexpected *** Error code 2 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/obj/sparc64/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/rescue/rescue. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/rescue/rescue. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/rescue. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src. TB --- 2003-06-30 22:01:25 - /usr/bin/make returned exit code 1 TB --- 2003-06-30 22:01:25 - ERROR: failed to build world TB --- 2003-06-30 22:01:25 - tinderbox aborted From owner-freebsd-sparc64@FreeBSD.ORG Mon Jun 30 15:52:37 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C1EC537B401; Mon, 30 Jun 2003 15:52:37 -0700 (PDT) Received: from totem.fix.no (totem.fix.no [80.91.36.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id D293543FBF; Mon, 30 Jun 2003 15:52:36 -0700 (PDT) (envelope-from anders@FreeBSD.org) Received: by totem.fix.no (Postfix, from userid 1000) id 24BFC20243; Tue, 1 Jul 2003 00:53:06 +0200 (CEST) Date: Tue, 1 Jul 2003 00:53:06 +0200 From: Anders Nordby To: freebsd-sparc64@freebsd.org Message-ID: <20030630225305.GA28861@totem.fix.no> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="NzB8fVQJ5HfG6fxh" Content-Disposition: inline X-PGP-Key: http://anders.fix.no/pgp/ X-PGP-Key-FingerPrint: 1E0F C53C D8DF 6A8F EAAD 19C5 D12A BC9F 0083 5956 User-Agent: Mutt/1.5.1i cc: freebsd-ports@FreeBSD.org Subject: Making VNC work on FreeBSD/Sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2003 22:52:38 -0000 --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, Attached is a minimal diff to make the vnc port successfully build + run (Xvnc starts!) on FreeBSD/Sparc64. It doesn't work well yet, however I thought I'd share my results so far in case someone wanted to help out. When trying to connect to Xvnc running in 5.1-RELEASE on my Blade 100 from 4.7-STABLE on i386, vncviewer dumps core. Truss log of vncviewer running on my i386 system when this happens: (..) break(0x80de000) = 0 (0x0) socket(0x2,0x1,0x0) = 4 (0x4) connect(0x4,{ AF_INET 0.0.0.0:0 },16) = 0 (0x0) setsockopt(0x4,0x6,0x1,0xbfbff718,0x4) = 0 (0x0) getpeername(0x4,{ AF_INET 192.168.78.3:5901 },0xbfbff664) = 0 (0x0) getsockname(0x4,{ AF_INET 192.168.78.1:2781 },0xbfbff664) = 0 (0x0) select(0x5,0xbfbff270,0x0,0x0,0xbfbff268) = 0 (0x0) poll(0x80cd1e0,0x1,0x0) = 0 (0x0) ioctl(3,FIONREAD,0xbfbfe9fc) = 0 (0x0) ioctl(3,FIONREAD,0xbfbfe9fc) = 0 (0x0) gettimeofday(0xbfbff1ec,0x0) = 0 (0x0) poll(0x80cd1e0,0x2,0xffffffff) = 1 (0x1) ioctl(3,FIONREAD,0xbfbfea4c) = 0 (0x0) ioctl(3,FIONREAD,0xbfbfea4c) = 0 (0x0) poll(0x80cd1e0,0x1,0x0) = 0 (0x0) read(0x4,0x80ce000,0x2000) = 12 (0xc) VNC server supports protocol version 3.3 (viewer 3.3) write(2,0xbfbfeff8,54) = 54 (0x36) write(4,0x80d0000,12) = 12 (0xc) select(0x5,0xbfbff270,0x0,0x0,0xbfbff268) = 0 (0x0) poll(0x80cd1e0,0x1,0x0) = 0 (0x0) ioctl(3,FIONREAD,0xbfbfe9fc) = 0 (0x0) ioctl(3,FIONREAD,0xbfbfe9fc) = 0 (0x0) gettimeofday(0xbfbff1ec,0x0) = 0 (0x0) poll(0x80cd1e0,0x2,0xffffffff) = 1 (0x1) ioctl(3,FIONREAD,0xbfbfea4c) = 0 (0x0) ioctl(3,FIONREAD,0xbfbfea4c) = 0 (0x0) poll(0x80cd1e0,0x1,0x0) = 0 (0x0) read(0x4,0x80ce000,0x2000) = 20 (0x14) break(0xc542d000) ERR#12 'Cannot allocate memory' SIGNAL 11 SIGNAL 11 Process stopped because of: 16 process exit, rval = 139 Segmentation fault (core dumped) Trussing Xvnc on the sparc64 system shows this: (null)() = 1 (0x1) select(0x4,0x7fdfffff500,0x0,0x0,0x7fdfffff4f0) = 1 (0x1) accept(0x3,{ AF_INET 192.168.78.1:2781 },0x7fdfffff4dc) = 5 (0x5) fcntl(0x5,0x4,0x4) = 0 (0x0) setsockopt(0x5,0x6,0x1,0x7fdfffff4d8,0x4) = 0 (0x0) write(2,0x40a7803f,1) = 1 (0x1) gettimeofday(0x7fdfffff230,0x0) = 0 (0x0) write(2,0x7fdffffe870,18) = 18 (0x12) write(2,0x7fdffffe930,40) = 40 (0x28) gettimeofday(0x7fdfffff200,0x0) = 0 (0x0) getpeername(0x5,{ AF_INET 192.168.78.1:2781 },0x7fdfffff3dc) = 0 (0x0) write(5,0x7fdfffff400,12) = 12 (0xc) select(0x5,0x7fdfffff500,0x0,0x0,0x7fdfffff4f0) = 0 (0x0) gettimeofday(0x7fdfffff3d0,0x0) = 0 (0x0) select(0x3f,0x35a8a0,0x0,0x0,0x7fdfffff630) = 1 (0x1) select(0x6,0x7fdfffff500,0x0,0x0,0x7fdfffff4f0) = 1 (0x1) read(0x5,0x7fdfffff400,0xc) = 12 (0xc) gettimeofday(0x7fdfffff050,0x0) = 0 (0x0) write(2,0x7fdffffe690,18) = 18 (0x12) write(2,0x7fdffffe750,21) = 21 (0x15) gettimeofday(0x7fdfffff080,0x0) = 0 (0x0) getpid() = 37935 (0x942f) write(5,0x7fdfffff210,20) = 20 (0x14) select(0x5,0x7fdfffff500,0x0,0x0,0x7fdfffff4f0) = 0 (0x0) gettimeofday(0x7fdfffff3d0,0x0) = 0 (0x0) select(0x3f,0x35a8a0,0x0,0x0,0x7fdfffff630) = 1 (0x1) select(0x6,0x7fdfffff500,0x0,0x0,0x7fdfffff4f0) = 1 (0x1) read(0x5,0x7fdfffff400,0x10) = 0 (0x0) gettimeofday(0x7fdfffff150,0x0) = 0 (0x0) write(2,0x7fdffffe790,18) = 18 (0x12) write(2,0x7fdffffe850,41) = 41 (0x29) close(5) = 0 (0x0) gettimeofday(0x7fdffffefd0,0x0) = 0 (0x0) write(2,0x7fdffffe610,18) = 18 (0x12) write(2,0x7fdffffe6d0,25) = 25 (0x19) gettimeofday(0x7fdffffef00,0x0) = 0 (0x0) write(2,0x7fdffffe540,18) = 18 (0x12) write(2,0x7fdffffe600,12) = 12 (0xc) gettimeofday(0x7fdffffef00,0x0) = 0 (0x0) write(2,0x7fdffffe540,18) = 18 (0x12) write(2,0x7fdffffe600,47) = 47 (0x2f) select(0x5,0x7fdfffff500,0x0,0x0,0x7fdfffff4f0) = 0 (0x0) gettimeofday(0x7fdfffff3d0,0x0) = 0 (0x0) ^C IMO, running VNC off headless UltraSPARC systems is a practical way to run and test GUI stuff without connecing a monitor and keyboard. Oh, BTW, NetBSD has some useful patches in their pkgsrc patches for vnc, see http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/net/vnc/. Cheers, -- Anders. --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="vnc.mindiff" Binary files vnc.old/Xvnc.core and vnc/Xvnc.core differ diff -Nur vnc.old/files/patch-FreeBSD.cf vnc/files/patch-FreeBSD.cf --- vnc.old/files/patch-FreeBSD.cf Thu Jan 1 01:00:00 1970 +++ vnc/files/patch-FreeBSD.cf Mon Jun 30 23:17:45 2003 @@ -0,0 +1,51 @@ +--- Xvnc/config/cf/FreeBSD.cf.orig Sat May 11 12:57:05 2002 ++++ Xvnc/config/cf/FreeBSD.cf Mon Jun 30 22:50:52 2003 +@@ -26,6 +26,7 @@ + #define UseGas YES + #define GnuCpp YES + #define HasNdbm YES ++#define DBMLibrary /**/ + #define HasPutenv YES + #define HasSnprintf YES + #define HasBSD44Sockets YES +@@ -40,6 +41,7 @@ + #define AvoidNullMakeCommand YES + #define StripInstalledPrograms YES + #define CompressAllFonts YES ++#define GzipFontCompression YES + #define Malloc0ReturnsNull YES + #define NeedConstPrototypes YES + #define NeedFunctionPrototypes YES +@@ -50,7 +52,7 @@ + #define MkdirHierCmd mkdir -p + + #define CcCmd cc +-#define CppCmd /usr/libexec/cpp ++#define CppCmd cpp + #define PreProcessCmd CppCmd + #define StandardCppDefines -traditional + #if defined(UseInstalled) && (!defined(XF86LinkKit) || !XF86LinkKit) +@@ -223,12 +225,22 @@ + # define GccGasOption /**/ + #endif + ++#ifndef XFree86ServerDefines ++#define XFree86ServerDefines ++#endif ++#if defined(SparcArchitecture) ++#define ServerExtraDefines GccGasOption ++#else + #define ServerExtraDefines GccGasOption XFree86ServerDefines +- ++#endif + #define StandardDefines -DCSRG_BASED + + #if OSMajorVersion > 1 ++#ifdef SparcArchitecture ++#define ServerOSDefines -DDDXOSINIT ++#else + #define ServerOSDefines XFree86ServerOSDefines -DDDXTIME ++#endif + #define XawI18nDefines -DUSE_XWCHAR_STRING + #define HasMakefileSafeInclude YES + #define IncludeMakefile(file) @@# dependencies are in .depend diff -Nur vnc.old/files/patch-cf-Imake.cf vnc/files/patch-cf-Imake.cf --- vnc.old/files/patch-cf-Imake.cf Thu Jan 1 01:00:00 1970 +++ vnc/files/patch-cf-Imake.cf Wed Jun 25 23:17:36 2003 @@ -0,0 +1,13 @@ +--- Xvnc/config/cf/Imake.cf.orig Sat May 11 10:57:05 2002 ++++ Xvnc/config/cf/Imake.cf Fri Jun 6 05:33:03 2003 +@@ -154,6 +154,10 @@ + # define i386Architecture + # undef i386 + # endif ++# ifdef __sparc__ ++# define SparcArchitecture ++# undef sparc ++# endif + #endif /* __FreeBSD__ */ + + #ifdef AMOEBA diff -Nur vnc.old/files/patch-cfb-stipsparc.s vnc/files/patch-cfb-stipsparc.s --- vnc.old/files/patch-cfb-stipsparc.s Thu Jan 1 01:00:00 1970 +++ vnc/files/patch-cfb-stipsparc.s Tue Jun 24 23:19:21 2003 @@ -0,0 +1,11 @@ +--- Xvnc/programs/Xserver/cfb/stipsparc.s.orig Fri Jun 6 08:31:12 2003 ++++ Xvnc/programs/Xserver/cfb/stipsparc.s Fri Jun 6 08:31:53 2003 +@@ -85,7 +85,7 @@ + #define ForEachBits LY4 + #define NextBits LY5 + +-#ifdef SVR4 ++#if defined(SVR4) || defined(__ELF__) + #ifdef TETEXT + #define _cfbStippleStack cfbStippleStackTE + #else diff -Nur vnc.old/files/patch-cfb-stipsprc32.s vnc/files/patch-cfb-stipsprc32.s --- vnc.old/files/patch-cfb-stipsprc32.s Thu Jan 1 01:00:00 1970 +++ vnc/files/patch-cfb-stipsprc32.s Tue Jun 24 23:19:21 2003 @@ -0,0 +1,11 @@ +--- Xvnc/programs/Xserver/cfb/stipsprc32.s.orig Fri Jun 6 08:41:42 2003 ++++ Xvnc/programs/Xserver/cfb/stipsprc32.s Fri Jun 6 08:42:09 2003 +@@ -81,7 +81,7 @@ + #define ForEachBits LY4 + #define NextBits LY5 + +-#ifdef SVR4 ++#if defined(SVR4) || defined(__ELF__) + #ifdef TETEXT + #define _cfb32StippleStack cfb32StippleStackTE + #else --NzB8fVQJ5HfG6fxh-- From owner-freebsd-sparc64@FreeBSD.ORG Tue Jul 1 02:56:41 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CFF537B407; Tue, 1 Jul 2003 02:56:41 -0700 (PDT) Received: from cueball.rtp.FreeBSD.org (cueball.rtp.FreeBSD.org [192.58.184.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE02343FF9; Tue, 1 Jul 2003 02:56:29 -0700 (PDT) (envelope-from des+tinderbox@freebsd.org) Received: from cueball.rtp.FreeBSD.org (localhost [127.0.0.1]) h619uNs8095832; Tue, 1 Jul 2003 05:56:23 -0400 (EDT) (envelope-from des+tinderbox@freebsd.org) Received: (from des@localhost) by cueball.rtp.FreeBSD.org (8.12.9/8.12.9/Submit) id h619uNXp095831; Tue, 1 Jul 2003 09:56:23 GMT Date: Tue, 1 Jul 2003 09:56:23 GMT Message-Id: <200307010956.h619uNXp095831@cueball.rtp.FreeBSD.org> X-Authentication-Warning: cueball.rtp.FreeBSD.org: des set sender to Tinderbox using -f Sender: Tinderbox From: Tinderbox To: current@freebsd.org, sparc64@freebsd.org Precedence: bulk Subject: [-CURRENT tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jul 2003 09:56:41 -0000 TB --- 2003-07-01 09:16:40 - starting CURRENT tinderbox run for sparc64/sparc64 TB --- 2003-07-01 09:16:40 - checking out the source tree TB --- cd /home/des/tinderbox/CURRENT/sparc64/sparc64 TB --- /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2003-07-01 09:18:45 - building world TB --- cd /home/des/tinderbox/CURRENT/sparc64/sparc64/src TB --- /usr/bin/make -B buildworld >>> Rebuilding the temporary build tree >>> stage 1: legacy release compatibility shims >>> stage 1: bootstrap tools >>> stage 2: cleaning up the object tree >>> stage 2: rebuilding the object tree >>> stage 2: build tools >>> stage 3: cross tools >>> stage 4: populating /home/des/tinderbox/CURRENT/sparc64/sparc64/obj/sparc64/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/i386/usr/include >>> stage 4: building libraries >>> stage 4: make dependencies >>> stage 4: building everything.. [...] yacc -d /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/arith.y cp y.tab.c arith.c lex -t -8 /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/arith_lex.l > arith_lex.c cd /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh; sh mkbuiltins /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/obj/sparc64/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/rescue/rescue/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh cc -O -pipe -DSHELL -I. -I/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh -DRESCUE -c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/mkinit.c cc -O -pipe -DSHELL -I. -I/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh -DRESCUE -static mkinit.o -o mkinit ./mkinit /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/alias.c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/eval.c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/exec.c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/input.c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/jobs.c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/options.c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/parser.c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/redir.c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/trap.c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/var.c ./mkinit: 1: Syntax error: end of file unexpected *** Error code 2 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/obj/sparc64/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/rescue/rescue. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/rescue/rescue. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/rescue. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src. TB --- 2003-07-01 09:56:23 - /usr/bin/make returned exit code 1 TB --- 2003-07-01 09:56:23 - ERROR: failed to build world TB --- 2003-07-01 09:56:23 - tinderbox aborted From owner-freebsd-sparc64@FreeBSD.ORG Tue Jul 1 15:23:25 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A55D37B401; Tue, 1 Jul 2003 15:23:25 -0700 (PDT) Received: from cueball.rtp.FreeBSD.org (cueball.rtp.FreeBSD.org [192.58.184.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D2AD44008; Tue, 1 Jul 2003 15:23:24 -0700 (PDT) (envelope-from des+tinderbox@freebsd.org) Received: from cueball.rtp.FreeBSD.org (localhost [127.0.0.1]) h61MNFs8067219; Tue, 1 Jul 2003 18:23:15 -0400 (EDT) (envelope-from des+tinderbox@freebsd.org) Received: (from des@localhost) by cueball.rtp.FreeBSD.org (8.12.9/8.12.9/Submit) id h61MNFac067218; Tue, 1 Jul 2003 22:23:15 GMT Date: Tue, 1 Jul 2003 22:23:15 GMT Message-Id: <200307012223.h61MNFac067218@cueball.rtp.FreeBSD.org> X-Authentication-Warning: cueball.rtp.FreeBSD.org: des set sender to Tinderbox using -f Sender: Tinderbox From: Tinderbox To: current@freebsd.org, sparc64@freebsd.org Precedence: bulk Subject: [-CURRENT tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jul 2003 22:23:25 -0000 TB --- 2003-07-01 21:35:40 - starting CURRENT tinderbox run for sparc64/sparc64 TB --- 2003-07-01 21:35:40 - checking out the source tree TB --- cd /home/des/tinderbox/CURRENT/sparc64/sparc64 TB --- /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2003-07-01 21:38:04 - building world TB --- cd /home/des/tinderbox/CURRENT/sparc64/sparc64/src TB --- /usr/bin/make -B buildworld >>> Rebuilding the temporary build tree >>> stage 1: legacy release compatibility shims >>> stage 1: bootstrap tools >>> stage 2: cleaning up the object tree >>> stage 2: rebuilding the object tree >>> stage 2: build tools >>> stage 3: cross tools >>> stage 4: populating /home/des/tinderbox/CURRENT/sparc64/sparc64/obj/sparc64/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/i386/usr/include >>> stage 4: building libraries >>> stage 4: make dependencies >>> stage 4: building everything.. [...] yacc -d /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/arith.y cp y.tab.c arith.c lex -t -8 /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/arith_lex.l > arith_lex.c cd /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh; sh mkbuiltins /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/obj/sparc64/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/rescue/rescue/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh cc -O -pipe -DSHELL -I. -I/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh -DRESCUE -c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/mkinit.c cc -O -pipe -DSHELL -I. -I/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh -DRESCUE -static mkinit.o -o mkinit ./mkinit /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/alias.c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/eval.c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/exec.c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/input.c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/jobs.c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/options.c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/parser.c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/redir.c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/trap.c /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh/var.c ./mkinit: 1: Syntax error: end of file unexpected *** Error code 2 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/bin/sh. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/obj/sparc64/vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/rescue/rescue. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/rescue/rescue. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src/rescue. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/CURRENT/sparc64/sparc64/src. TB --- 2003-07-01 22:23:15 - /usr/bin/make returned exit code 1 TB --- 2003-07-01 22:23:15 - ERROR: failed to build world TB --- 2003-07-01 22:23:15 - tinderbox aborted From owner-freebsd-sparc64@FreeBSD.ORG Tue Jul 1 20:43:22 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8383B37B401 for ; Tue, 1 Jul 2003 20:43:22 -0700 (PDT) Received: from safer.optus.com.au (happy.optus.com.au [203.13.126.17]) by mx1.FreeBSD.org (Postfix) with SMTP id CF1B743FE0 for ; Tue, 1 Jul 2003 20:43:18 -0700 (PDT) (envelope-from Malcolm.Heathfield@optus.com.au) Received: by safer.optus.com.au; id NAA01132; Wed, 2 Jul 2003 13:46:56 +1000 Received: from gerbil.optus.com.au(203.13.126.13) by safer.optus.com.au via smap (V1.0) id xma000013; Wed, 2 Jul 03 13:46:20 +1000 Received: from chonte008.optus.com.au ([161.43.32.100]) by Gerbil with InterScan Messaging Security Suite; Wed, 02 Jul 2003 13:42:39 +1000 Received: by cnt5973.optus.com.au with Internet Mail Service (5.5.2653.19) id ; Wed, 2 Jul 2003 13:42:31 +1000 Message-ID: From: Malcolm Heathfield To: freebsd-sparc64@freebsd.org Date: Wed, 2 Jul 2003 13:42:26 +1000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: 2nd hme interface on a T1-105 not detected. X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2003 03:43:22 -0000 Hi, I have a Netra T1-105 that BSD can't recognise the 2nd hme interface (hme1). Hme0 is detected and works fine, but hme1 does not exist. Just wondering if anyone has any clues. I am running 5.0-RELEASE. Cheers, Mal From owner-freebsd-sparc64@FreeBSD.ORG Tue Jul 1 20:53:58 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE12037B401 for ; Tue, 1 Jul 2003 20:53:58 -0700 (PDT) Received: from mail.cyberonic.com (mail.cyberonic.com [4.17.179.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id B809D44001 for ; Tue, 1 Jul 2003 20:53:57 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (node-40244c0a.sfo.onnet.us.uu.net [64.36.76.10]) by mail.cyberonic.com (8.12.8/8.12.5) with ESMTP id h624KGMu013290; Wed, 2 Jul 2003 00:20:16 -0400 Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.9/8.11.6) id h623sAo5063985; Tue, 1 Jul 2003 20:54:10 -0700 (PDT) (envelope-from jmg) Date: Tue, 1 Jul 2003 20:54:10 -0700 From: John-Mark Gurney To: Malcolm Heathfield Message-ID: <20030702035410.GB58048@funkthat.com> Mail-Followup-To: Malcolm Heathfield , freebsd-sparc64@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html cc: freebsd-sparc64@freebsd.org Subject: Re: 2nd hme interface on a T1-105 not detected. X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2003 03:53:59 -0000 Malcolm Heathfield wrote this message on Wed, Jul 02, 2003 at 13:42 +1000: > I have a Netra T1-105 that BSD can't recognise the 2nd hme interface > (hme1). Hme0 is detected and works fine, but hme1 does not exist. Just > wondering if anyone has any clues. > > I am running 5.0-RELEASE. This has been fixed in -current and will be in 5.2-R when it is released. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-sparc64@FreeBSD.ORG Tue Jul 1 21:01:41 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B33AA37B401 for ; Tue, 1 Jul 2003 21:01:41 -0700 (PDT) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DAE443FE0 for ; Tue, 1 Jul 2003 21:01:40 -0700 (PDT) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by ns1.xcllnt.net (8.12.9/8.12.9) with ESMTP id h6241dDZ071143 for ; Tue, 1 Jul 2003 21:01:39 -0700 (PDT) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.9/8.12.9) with ESMTP id h6241dgd011242 for ; Tue, 1 Jul 2003 21:01:39 -0700 (PDT) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.9/8.12.9/Submit) id h6241dgK011241 for sparc64@FreeBSD.org; Tue, 1 Jul 2003 21:01:39 -0700 (PDT) (envelope-from marcel) Date: Tue, 1 Jul 2003 21:01:39 -0700 From: Marcel Moolenaar To: sparc64@FreeBSD.org Message-ID: <20030702040139.GA11199@dhcp01.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="X1bOJ3K7DJ5YkBrT" Content-Disposition: inline User-Agent: Mutt/1.5.4i Subject: OFW_NEWPCI dmesg diffs X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2003 04:01:42 -0000 --X1bOJ3K7DJ5YkBrT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Ok, I tried the OFW_NEWPCI option and I'm missing the irq info in the dmesg output. Everything works ok. The diff is attached. BTW: vmstat -i doesn't work: sparc% vmstat -i interrupt total rate Total 0 0 sparc% FYI, -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net --X1bOJ3K7DJ5YkBrT Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dmesg.diff" --- dmesg.sparc Tue Jul 1 20:53:09 2003 +++ dmesg.sparc.new Tue Jul 1 20:53:02 2003 @@ -1,9 +1,9 @@ Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. -FreeBSD 5.1-CURRENT #0: Sun Jun 29 14:18:51 PDT 2003 - marcel@sparc.pn.xcllnt.net:/usr/obj/nfs/freebsd/5.x/src/sys/SPARC -Preloaded elf kernel "/boot/kernel/kernel" at 0xc0302000. +FreeBSD 5.1-CURRENT #6: Tue Jul 1 19:08:10 PDT 2003 + marcel@sparc.pn.xcllnt.net:/nfs/freebsd/5.x/src/sys/sparc64/compile/SPARC +Preloaded elf kernel "/boot/kernel/kernel" at 0xc0304000. Timecounter "tick" frequency 400000000 Hz real memory = 268435456 (256 MB) avail memory = 252256256 (240 MB) @@ -12,12 +12,9 @@ pcib0: on nexus0 pcib0: Sabre, impl 0, version 0, ign 0x7c0, bus A DVMA map: 0xc0000000 to 0xc3ffffff -pci0: on pcib0 -pci0: at device 0.0 (no driver attached) -pcib1: at device 1.0 on pci0 -pci2: on pcib1 -pcib2: at device 1.1 on pci0 -pci1: on pcib2 +pci0: on pcib0 +pcib1: at device 1.1 on pci0 +pci1: on pcib1 ebus0: revision 0x01 ebus0: mem 0xf1000000-0xf17fffff,0xf0000000-0xf0ffffff at device 1.0 on pci1 ebus0: addr 0x140072f000-0x140072f003,0x140072c000-0x140072c003,0x140072a000-0x140072a003,0x1400728000-0x1400728003,0x1400726000-0x1400726003 (no driver attached) @@ -36,15 +33,17 @@ eeprom0: hostid 80f102c2 ebus0: addr 0x1000000000-0x10000fffff (no driver attached) ebus0: addr 0x1400722000-0x1400722003,0x1400704000-0x140070400f,0x1400702000-0x140070200f,0x1400200000-0x14002000ff irq 36,35 (no driver attached) -hme0: mem 0xe0000000-0xe0007fff irq 33 at device 1.1 on pci1 +hme0: mem 0xe0000000-0xe0007fff at device 1.1 on pci1 hme0: Ethernet address: 08:00:20:f1:02:c2 miibus0: on hme0 nsphy0: on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci1: at device 2.0 (no driver attached) -atapci0: port 0xc00020-0xc0002f,0xc00018-0xc0001b,0xc00010-0xc00017,0xc00008-0xc0000b,0xc00000-0xc00007 irq 32 at device 3.0 on pci1 +atapci0: port 0xc00020-0xc0002f,0xc00018-0xc0001b,0xc00010-0xc00017,0xc00008-0xc0000b,0xc00000-0xc00007 at device 3.0 on pci1 ata2: at 0xc00000 on atapci0 ata3: at 0xc00010 on atapci0 +pcib2: at device 1.0 on pci0 +pci2: on pcib2 Timecounters tick every 10.000 msec ad0: 8693MB [17662/16/63] at ata3-master WDMA2 acd0: CDROM at ata2-master PIO4 --X1bOJ3K7DJ5YkBrT-- From owner-freebsd-sparc64@FreeBSD.ORG Tue Jul 1 21:09:09 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3461B37B401 for ; Tue, 1 Jul 2003 21:09:09 -0700 (PDT) Received: from mail.cyberonic.com (mail.cyberonic.com [4.17.179.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5878543F3F for ; Tue, 1 Jul 2003 21:09:08 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (node-40244c0a.sfo.onnet.us.uu.net [64.36.76.10]) by mail.cyberonic.com (8.12.8/8.12.5) with ESMTP id h624ZRMu015272; Wed, 2 Jul 2003 00:35:28 -0400 Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.9/8.11.6) id h6249Shm064199; Tue, 1 Jul 2003 21:09:28 -0700 (PDT) (envelope-from jmg) Date: Tue, 1 Jul 2003 21:09:28 -0700 From: John-Mark Gurney To: Marcel Moolenaar Message-ID: <20030702040928.GC58048@funkthat.com> Mail-Followup-To: Marcel Moolenaar , sparc64@freebsd.org References: <20030702040139.GA11199@dhcp01.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030702040139.GA11199@dhcp01.pn.xcllnt.net> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html cc: sparc64@freebsd.org Subject: Re: OFW_NEWPCI dmesg diffs X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2003 04:09:09 -0000 Marcel Moolenaar wrote this message on Tue, Jul 01, 2003 at 21:01 -0700: > BTW: vmstat -i doesn't work: > > sparc% vmstat -i > interrupt total rate > Total 0 0 > sparc% I have patches to fix this. But, I the problem is that both soft interrupts and vector interrupts are useful to know. All vector interrupts are dispatched via soft interrupts, so if we count both, the interrupt count is double. We need soft interrupts if we want to see the clock ticking. bash-2.05b$ vmstat -i interrupt total rate stray 1 0 pil 1 0 ithrd pil2 69163 16 gem0 vec2012 27748 6 gem1 vec1990 70 0 atapci0 vec1996 41345 9 tick pil14 421278 99 Total 559606 132 notice that ithrd is equal to gem0 + gem1 + atapci0. pil is the priority interrupt level (aka soft interrupts). Comments? Do we count both? or not include soft interrupts? or not include the ithrd pil? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-sparc64@FreeBSD.ORG Tue Jul 1 22:08:14 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF71337B401 for ; Tue, 1 Jul 2003 22:08:14 -0700 (PDT) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D8D843FF3 for ; Tue, 1 Jul 2003 22:08:14 -0700 (PDT) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by ns1.xcllnt.net (8.12.9/8.12.9) with ESMTP id h6258DDZ071351 for ; Tue, 1 Jul 2003 22:08:13 -0700 (PDT) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.9/8.12.9) with ESMTP id h6258Dgd011508 for ; Tue, 1 Jul 2003 22:08:13 -0700 (PDT) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.9/8.12.9/Submit) id h6258DlO011507 for sparc64@freebsd.org; Tue, 1 Jul 2003 22:08:13 -0700 (PDT) (envelope-from marcel) Date: Tue, 1 Jul 2003 22:08:13 -0700 From: Marcel Moolenaar To: sparc64@freebsd.org Message-ID: <20030702050813.GA11423@dhcp01.pn.xcllnt.net> References: <20030702040139.GA11199@dhcp01.pn.xcllnt.net> <20030702040928.GC58048@funkthat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030702040928.GC58048@funkthat.com> User-Agent: Mutt/1.5.4i Subject: Re: OFW_NEWPCI dmesg diffs X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2003 05:08:15 -0000 On Tue, Jul 01, 2003 at 09:09:28PM -0700, John-Mark Gurney wrote: > > But, I the problem is that both soft interrupts and vector interrupts > are useful to know. All vector interrupts are dispatched via soft > interrupts, so if we count both, the interrupt count is double. We > need soft interrupts if we want to see the clock ticking. *snip* > notice that ithrd is equal to gem0 + gem1 + atapci0. pil is the > priority interrupt level (aka soft interrupts). > > Comments? Do we count both? or not include soft interrupts? or not > include the ithrd pil? I don't know enough about sparc, but can't you count clock interrupts in tick_hardclock() and not count soft interrupts at all? -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net From owner-freebsd-sparc64@FreeBSD.ORG Wed Jul 2 08:12:06 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5003D37B401 for ; Wed, 2 Jul 2003 08:12:06 -0700 (PDT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id B9FC043FB1 for ; Wed, 2 Jul 2003 08:12:04 -0700 (PDT) (envelope-from tmoestl@gmx.net) Received: (qmail 26721 invoked by uid 65534); 2 Jul 2003 15:12:03 -0000 Received: from p508E51F0.dip.t-dialin.net (EHLO galatea.local) (80.142.81.240) by mail.gmx.net (mp026) with SMTP; 02 Jul 2003 17:12:03 +0200 Received: from tmm by galatea.local with local (Exim 4.20 #1) id 19XjIN-0000Io-IZ; Wed, 02 Jul 2003 17:13:19 +0200 Date: Wed, 2 Jul 2003 17:13:19 +0200 From: Thomas Moestl To: Marcel Moolenaar Message-ID: <20030702151318.GA665@crow.dom2ip.de> Mail-Followup-To: Marcel Moolenaar , sparc64@freebsd.org References: <20030702040139.GA11199@dhcp01.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030702040139.GA11199@dhcp01.pn.xcllnt.net> User-Agent: Mutt/1.4.1i Sender: Thomas Moestl cc: sparc64@freebsd.org Subject: Re: OFW_NEWPCI dmesg diffs X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2003 15:12:06 -0000 On Tue, 2003/07/01 at 21:01:39 -0700, Marcel Moolenaar wrote: > Ok, > > I tried the OFW_NEWPCI option and I'm missing the irq info in the > dmesg output. This is because the contents of the intline registers on boot are mostly bogus, and we just set them to 255 (instead of preinitializing them) on boot. That causes the interrupts to not turn up in the resource list until they are actually allocated. This is just a cosmetic issue. > Everything works ok. The diff is attached. Great! - Thomas -- Thomas Moestl http://www.tu-bs.de/~y0015675/ http://people.FreeBSD.org/~tmm/ PGP fingerprint: 1C97 A604 2BD0 E492 51D0 9C0F 1FE6 4F1D 419C 776C From owner-freebsd-sparc64@FreeBSD.ORG Wed Jul 2 08:40:24 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1DDC37B401 for ; Wed, 2 Jul 2003 08:40:24 -0700 (PDT) Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDC2A43F85 for ; Wed, 2 Jul 2003 08:40:23 -0700 (PDT) (envelope-from jake@locore.ca) Received: by k6.locore.ca (Postfix, from userid 1000) id 2B04414F86; Wed, 2 Jul 2003 11:40:02 -0400 (EDT) Date: Wed, 2 Jul 2003 11:40:02 -0400 From: Jake Burkholder To: Marcel Moolenaar , sparc64@freebsd.org Message-ID: <20030702154002.GA40152@k6.locore.ca> References: <20030702040139.GA11199@dhcp01.pn.xcllnt.net> <20030702040928.GC58048@funkthat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030702040928.GC58048@funkthat.com> User-Agent: Mutt/1.4.1i Subject: Re: OFW_NEWPCI dmesg diffs X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2003 15:40:25 -0000 Apparently, On Tue, Jul 01, 2003 at 09:09:28PM -0700, John-Mark Gurney said words to the effect of; > Marcel Moolenaar wrote this message on Tue, Jul 01, 2003 at 21:01 -0700: > > BTW: vmstat -i doesn't work: > > > > sparc% vmstat -i > > interrupt total rate > > Total 0 0 > > sparc% > > I have patches to fix this. > > But, I the problem is that both soft interrupts and vector interrupts > are useful to know. All vector interrupts are dispatched via soft > interrupts, so if we count both, the interrupt count is double. We > need soft interrupts if we want to see the clock ticking. > > bash-2.05b$ vmstat -i > interrupt total rate > stray 1 0 > pil 1 0 > ithrd pil2 69163 16 > gem0 vec2012 27748 6 > gem1 vec1990 70 0 > atapci0 vec1996 41345 9 > tick pil14 421278 99 > Total 559606 132 > > notice that ithrd is equal to gem0 + gem1 + atapci0. pil is the > priority interrupt level (aka soft interrupts). > > Comments? Do we count both? or not include soft interrupts? or not > include the ithrd pil? I think counting both is fine for now. Eventually what I intend to do is change tick handling so that it looks more like a vectored interrupt. The pil14 handler would queue and reprioritize the tick interrupts so that tick can be re-armed independent of the handler actually running. The soft interrupt that drives hardclock would have a vector number (outside of the normal 11 bits for hardware interrupts), and be counted uniformly. Jake From owner-freebsd-sparc64@FreeBSD.ORG Thu Jul 3 05:25:35 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6AAB837B401 for ; Thu, 3 Jul 2003 05:25:35 -0700 (PDT) Received: from main.onix.ro (main.onix.ro [194.102.104.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EEF043FFB for ; Thu, 3 Jul 2003 05:25:33 -0700 (PDT) (envelope-from mari@onix.ro) Received: from onix.ro (mari.work.onix.ro [194.102.104.20]) by main.onix.ro (8.11.6/8.11.6) with ESMTP id h63CV5j13765 for ; Thu, 3 Jul 2003 15:31:06 +0300 Message-ID: <3F042098.4030201@onix.ro> Date: Thu, 03 Jul 2003 15:24:56 +0300 From: Marian Dobre User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: sparc64@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-RAVMilter-Version: 8.4.2(snapshot 20021217) (main) Subject: Cooling fans X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2003 12:25:35 -0000 Hi guys, I emailed to the list a while back asking if there's a way to stop the cooling fans on the E450 after the system is brought up. If I run Solaris on the box most of the case coolers stop once the box is up and running but in FreeBSD all the coolers run all the time making a terrible noise. Is there a way to control the coolers ? I'm not sure if I'm making any sense :) Thanks, Marian From owner-freebsd-sparc64@FreeBSD.ORG Thu Jul 3 06:51:53 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8ABC237B401 for ; Thu, 3 Jul 2003 06:51:53 -0700 (PDT) Received: from ida.interface-business.de (ida.interface-business.de [193.101.57.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id A08A943FE9 for ; Thu, 3 Jul 2003 06:51:51 -0700 (PDT) (envelope-from j@ida.interface-business.de) Received: from ida.interface-business.de (localhost [127.0.0.1]) h63DphtB008197 for ; Thu, 3 Jul 2003 15:51:43 +0200 (MET DST) (envelope-from j@ida.interface-business.de) Received: (from j@localhost) by ida.interface-business.de (8.12.9/8.12.9/Submit) id h63Dpg8i008196 for freebsd-sparc@freebsd.org; Thu, 3 Jul 2003 15:51:42 +0200 (MET DST) Date: Thu, 3 Jul 2003 15:51:42 +0200 From: Joerg Wunsch To: freebsd-sparc@freebsd.org Message-ID: <20030703155142.C6172@ida.interface-business.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Phone: +49-351-31809-14 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Organization: interface systems GmbH, Dresden X-Spam-Status: No, hits=-6.4 required=5.0 tests=USER_AGENT_MUTT version=2.50 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Subject: SunFire 280R: no boot X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 03 Jul 2003 13:51:53 -0000 Since i've just got a SunFire 280R in preparation for a customer's site, i thought i'd give it a try to test the FreeBSD 5.1R boot cdrom: no go. In case someone is interested, here are the messages: {0} ok boot cdrom Resetting ... p screen not found. keyboard not found. Keyboard not present. Using ttya for input and output. Sun Fire 280R (2 X UltraSPARC-III+) , No Keyboard Copyright 1998-2002 Sun Microsystems, Inc. All rights reserved. OpenBoot 4.5, 8192 MB memory installed, Serial #53710314. Ethernet address 0:3:ba:33:8d:ea, Host ID: 83338dea. Rebooting with command: boot cdrom Boot device: /pci@8,700000/scsi@6/disk@6,0:f File and args: >> FreeBSD/sparc64 boot block Boot path: /pci@8,700000/scsi@6/disk@6,0:f Boot loader: /boot/loader Console: OpenFirmware console Boot path set to /pci@8,700000/scsi@6/disk@6,0:a FreeBSD/sparc64 bootstrap loader, Revision 1.0 (fenner@sparkle.attlabs.net, Tue May 6 15:11:35 PDT 2003) bootpath="/pci@8,700000/scsi@6/disk@6,0:a" Fast Data Access MMU Miss I can perhaps add another test tomorrow if someone wants me to do that, but then the machine will eventually be shipped to the customer. -- J"org Wunsch Unix support engineer joerg_wunsch@interface-systems.de http://www.interface-systems.de/~j/ From owner-freebsd-sparc64@FreeBSD.ORG Thu Jul 3 06:55:56 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D4D2A37B401 for ; Thu, 3 Jul 2003 06:55:56 -0700 (PDT) Received: from ida.interface-business.de (ida.interface-business.de [193.101.57.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id A38D843FEA for ; Thu, 3 Jul 2003 06:55:55 -0700 (PDT) (envelope-from j@ida.interface-business.de) Received: from ida.interface-business.de (localhost [127.0.0.1]) h63DtqtB008229 for ; Thu, 3 Jul 2003 15:55:52 +0200 (MET DST) (envelope-from j@ida.interface-business.de) Received: (from j@localhost) by ida.interface-business.de (8.12.9/8.12.9/Submit) id h63DtqwR008228 for freebsd-sparc@freebsd.org; Thu, 3 Jul 2003 15:55:52 +0200 (MET DST) Date: Thu, 3 Jul 2003 15:55:51 +0200 From: Joerg Wunsch To: freebsd-sparc@freebsd.org Message-ID: <20030703155551.A8212@ida.interface-business.de> References: <20030703155142.C6172@ida.interface-business.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030703155142.C6172@ida.interface-business.de>; from j@ida.interface-business.de on Thu, Jul 03, 2003 at 03:51:42PM +0200 X-Phone: +49-351-31809-14 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Organization: interface systems GmbH, Dresden X-Spam-Status: No, hits=-32.5 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT version=2.50 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Subject: Re: SunFire 280R: no boot X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 03 Jul 2003 13:55:57 -0000 As Joerg Wunsch wrote: > Since i've just got a SunFire 280R in preparation for a customer's > site, i thought i'd give it a try to test the FreeBSD 5.1R boot cdrom: > no go. Ah, OK, now that Solaris has been booted again and the CD is mounted, i see that the UltraSPARC III CPU is unsupported. Nevermind. -- J"org Wunsch Unix support engineer joerg_wunsch@interface-systems.de http://www.interface-systems.de/~j/ From owner-freebsd-sparc64@FreeBSD.ORG Thu Jul 3 06:56:59 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4158837B401 for ; Thu, 3 Jul 2003 06:56:59 -0700 (PDT) Received: from geddar.km.ua (geddar.km.ua [62.149.0.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22DDA43FBF for ; Thu, 3 Jul 2003 06:56:56 -0700 (PDT) (envelope-from maxim@geddar.km.ua) Received: from geddar.km.ua (localhost [127.0.0.1]) by geddar.km.ua (8.12.9/8.12.9) with ESMTP id h63DuoCf051785; Thu, 3 Jul 2003 16:56:50 +0300 (EEST) (envelope-from maxim@geddar.km.ua) Received: (from maxim@localhost) by geddar.km.ua (8.12.9/8.12.9/Submit) id h63DuoYm051784; Thu, 3 Jul 2003 16:56:50 +0300 (EEST) Date: Thu, 3 Jul 2003 16:56:50 +0300 From: Maxim Mazurok To: Joerg Wunsch Message-ID: <20030703135650.GO32648@km.ua> References: <20030703155142.C6172@ida.interface-business.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030703155142.C6172@ida.interface-business.de> User-Agent: Mutt/1.5.4i cc: freebsd-sparc@freebsd.org Subject: Re: SunFire 280R: no boot X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2003 13:56:59 -0000 On Thu, Jul 03, 2003 at 03:51:42PM +0200, Joerg Wunsch wrote: hmmm. FreeBSD/sparc64 worked on UltraSPARC-III+? >Since i've just got a SunFire 280R in preparation for a customer's >site, i thought i'd give it a try to test the FreeBSD 5.1R boot cdrom: >no go. In case someone is interested, here are the messages: > >{0} ok boot cdrom >Resetting ... > >p >screen not found. >keyboard not found. >Keyboard not present. Using ttya for input and output. > > >Sun Fire 280R (2 X UltraSPARC-III+) , No Keyboard >Copyright 1998-2002 Sun Microsystems, Inc. All rights reserved. >OpenBoot 4.5, 8192 MB memory installed, Serial #53710314. >Ethernet address 0:3:ba:33:8d:ea, Host ID: 83338dea. > > > >Rebooting with command: boot cdrom >Boot device: /pci@8,700000/scsi@6/disk@6,0:f File and args: > >>> FreeBSD/sparc64 boot block > Boot path: /pci@8,700000/scsi@6/disk@6,0:f > Boot loader: /boot/loader >Console: OpenFirmware console >Boot path set to /pci@8,700000/scsi@6/disk@6,0:a > >FreeBSD/sparc64 bootstrap loader, Revision 1.0 >(fenner@sparkle.attlabs.net, Tue May 6 15:11:35 PDT 2003) >bootpath="/pci@8,700000/scsi@6/disk@6,0:a" >Fast Data Access MMU Miss > >I can perhaps add another test tomorrow if someone wants me to do >that, but then the machine will eventually be shipped to the customer. >-- >J"org Wunsch Unix support engineer >joerg_wunsch@interface-systems.de http://www.interface-systems.de/~j/ >_______________________________________________ >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" -- Maxim Mazurok (MMP2-RIPE) From owner-freebsd-sparc64@FreeBSD.ORG Thu Jul 3 13:26:40 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6584637B401 for ; Thu, 3 Jul 2003 13:26:40 -0700 (PDT) Received: from mail26c.sbc-webhosting.com (mail26c.sbc-webhosting.com [216.173.237.166]) by mx1.FreeBSD.org (Postfix) with SMTP id 985C343FE9 for ; Thu, 3 Jul 2003 13:26:39 -0700 (PDT) (envelope-from alc@imimic.com) Received: from www.imimic.com (64.143.12.21)1-0157213981 for ; Thu, 3 Jul 2003 16:26:21 -0400 (EDT) Sender: alc@FreeBSD.ORG Message-ID: <3F04916F.12364D33@imimic.com> Date: Thu, 03 Jul 2003 15:26:23 -0500 From: "Alan L. Cox" Organization: iMimic Networking, Inc. X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: sparc64@freebsd.org Content-Type: multipart/mixed; boundary="------------CA6FDDBB2E9F8FFBE2C8C758" X-Loop-Detect: 1 Subject: [Fwd: cvs commit: src/sys/alpha/alpha pmap.c src/sys/amd64/amd64 pmap.csrc/sys/i386/i386 pmap.c src/sys/ia64/ia64 pmap.csrc/sys/powerpc/powerpc pmap.c src/sys/sparc] X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2003 20:26:40 -0000 This is a multi-part message in MIME format. --------------CA6FDDBB2E9F8FFBE2C8C758 Content-Type: text/plain; charset=x-user-defined Content-Transfer-Encoding: 7bit This should improve the performance of apps using memory-mapped files on sparc64. If, however, you see anything "weird" happening, you can effectively disable this change on sparc64 by #if 0'ing the body of sparc64's one-line pmap_enter_quick(). Regards, Alan --------------CA6FDDBB2E9F8FFBE2C8C758 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline Received: from mx2.freebsd.org (216.136.204.119)0-0613713490 for ; Thu, 3 Jul 2003 16:18:10 -0400 (EDT) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 81946564C7 for ; Thu, 3 Jul 2003 13:18:09 -0700 (PDT) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id 5679737B408; Thu, 3 Jul 2003 13:18:09 -0700 (PDT) Delivered-To: alc@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 538) id 35D9137B404; Thu, 3 Jul 2003 13:18:09 -0700 (PDT) Delivered-To: src-committers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 51A9B37B401; Thu, 3 Jul 2003 13:18:03 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1F354403B; Thu, 3 Jul 2003 13:18:02 -0700 (PDT) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h63KI20U097242; Thu, 3 Jul 2003 13:18:02 -0700 (PDT) (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h63KI2TL097241; Thu, 3 Jul 2003 13:18:02 -0700 (PDT) Message-Id: <200307032018.h63KI2TL097241@repoman.freebsd.org> From: Alan Cox Date: Thu, 3 Jul 2003 13:18:02 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha pmap.c src/sys/amd64/amd64 pmap.c src/sys/i386/i386 pmap.c src/sys/ia64/ia64 pmap.c src/sys/powerpc/powerpc pmap.c src/sys/sparc64/sparc64 pmap.c src/sys/vm pmap.h vm_map.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-Loop-Detect: 1 X-Mozilla-Status2: 00000000 alc 2003/07/03 13:18:02 PDT FreeBSD src repository Modified files: sys/alpha/alpha pmap.c sys/amd64/amd64 pmap.c sys/i386/i386 pmap.c sys/ia64/ia64 pmap.c sys/powerpc/powerpc pmap.c sys/sparc64/sparc64 pmap.c sys/vm pmap.h vm_map.c Log: Background: pmap_object_init_pt() premaps the pages of a object in order to avoid the overhead of later page faults. In general, it implements two cases: one for vnode-backed objects and one for device-backed objects. Only the device-backed case is really machine-dependent, belonging in the pmap. This commit moves the vnode-backed case into the (relatively) new function vm_map_pmap_enter(). On amd64 and i386, this commit only amounts to code rearrangement. On alpha and ia64, the new machine independent (MI) implementation of the vnode case is smaller and more efficient than their pmap-based implementations. (The MI implementation takes advantage of the fact that objects in -CURRENT are ordered collections of pages.) On sparc64, pmap_object_init_pt() hadn't (yet) been implemented. Revision Changes Path 1.129 +4 -105 src/sys/alpha/alpha/pmap.c 1.419 +15 -83 src/sys/amd64/amd64/pmap.c 1.415 +15 -84 src/sys/i386/i386/pmap.c 1.114 +4 -106 src/sys/ia64/ia64/pmap.c 1.59 +5 -3 src/sys/powerpc/powerpc/pmap.c 1.117 +5 -2 src/sys/sparc64/sparc64/pmap.c 1.61 +1 -2 src/sys/vm/pmap.h 1.303 +74 -1 src/sys/vm/vm_map.c --------------CA6FDDBB2E9F8FFBE2C8C758-- From owner-freebsd-sparc64@FreeBSD.ORG Thu Jul 3 21:33:09 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19D3C37B401 for ; Thu, 3 Jul 2003 21:33:09 -0700 (PDT) Received: from sabre.velocet.net (sabre.velocet.net [216.138.209.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EE6244014 for ; Thu, 3 Jul 2003 21:33:08 -0700 (PDT) (envelope-from dgilbert@velocet.ca) Received: from trooper.velocet.ca (trooper.velocet.net [216.138.242.2]) by sabre.velocet.net (Postfix) with ESMTP id 9FA8213936E for ; Fri, 4 Jul 2003 00:32:59 -0400 (EDT) Received: by trooper.velocet.ca (Postfix, from userid 66) id 5C7B174D7D; Fri, 4 Jul 2003 00:32:59 -0400 (EDT) Received: by canoe.velocet.net (Postfix, from userid 101) id 6F4F0488C; Fri, 4 Jul 2003 00:32:55 -0400 (EDT) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16133.887.419909.577728@canoe.velocet.net> Date: Fri, 4 Jul 2003 00:32:55 -0400 To: freebsd-sparc@freebsd.org X-Mailer: VM 7.14 under 21.4 (patch 12) "Portable Code" XEmacs Lucid Subject: Ultra 5 ethernet not pushing packets. X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jul 2003 04:33:09 -0000 I have an Ultra 5 with an hme0 on the motherboard and an hme1 on the same PCI card as a SCSI controller. I just loaded FreeBSD on it to see it everything's working. When I try to ifconfig either hme, they don't ping other machines on the net... but the switch shows 100megabit full duplex link. Here are the dmesg probes: hme0: mem 0x2800000-0x2807fff irq 17 at device 0.1 on pci3 hme0: Ethernet address: 08:00:20:a0:6f:0f miibus0: on hme0 nsphy0: on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isp0: port 0x1000-0x10ff mem 0x2808000-0x2808fff irq 16 at device 4.0 on pci3 isp0: invalid NVRAM header pcib3: at device 1.1 on pci0 pci2: on pcib3 ebus0: revision 0x01 ebus0: mem 0xf1000000-0xf17fffff,0xf0000000-0xf0ffffff at device 1.0 on pci2 ebus0: addr 0x1400504000-0x1400504002 (no driver attached) sab0: addr 0x1400400000-0x140040007f irq 43 on ebus0 sabtty0: on sab0 sabtty0: console 9600,8,n,1,- sabtty1: on sab0 ebus0: addr 0x14003083f8-0x14003083ff irq 41 (no driver attached) ebus0: addr 0x14003062f8-0x14003062ff irq 42 (no driver attached) ebus0: addr 0x1400700000-0x140070000f,0x140030015c-0x140030015d,0x14003043bc-0x14003043cb irq 34 (no driver attached) ebus0: addr 0x1400720000-0x1400720003,0x1400706000-0x140070600f,0x14003023f0-0x14003023f7 irq 39 (no driver attached) eeprom0: addr 0x1400000000-0x1400001fff on ebus0 eeprom0: model mk48t59 eeprom0: hostid 80a06f0f ebus0: addr 0x1000000000-0x10000fffff (no driver attached) ebus0: addr 0x1400722000-0x1400722003,0x1400704000-0x140070400f,0x1400702000-0x140070200f,0x1400200000-0x14002000ff irq 36,35 (no driver attached) hme1: mem 0xe0000000-0xe0007fff irq 33 at device 1.1 on pci2 hme1: Ethernet address: 08:00:20:a0:6f:0f miibus1: on hme1 nsphy1: on miibus1 nsphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Dave. -- ============================================================================ |David Gilbert, Velocet Communications. | Two things can only be | |Mail: dgilbert@velocet.net | equal if and only if they | |http://daveg.ca | are precisely opposite. | =========================================================GLO================