From owner-freebsd-sparc64@FreeBSD.ORG Sun Oct 23 18:38:08 2005 Return-Path: X-Original-To: freebsd-sparc64@hub.freebsd.org Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEDE016A420; Sun, 23 Oct 2005 18:38:08 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 708A843D48; Sun, 23 Oct 2005 18:38:08 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9NIc8Hj002861; Sun, 23 Oct 2005 18:38:08 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9NIc87P002857; Sun, 23 Oct 2005 18:38:08 GMT (envelope-from linimon) Date: Sun, 23 Oct 2005 18:38:08 GMT From: Mark Linimon Message-Id: <200510231838.j9NIc87P002857@freefall.freebsd.org> To: bel@orel.ru, linimon@FreeBSD.org, freebsd-sparc64@FreeBSD.org Cc: Subject: Re: sparc64/80410: netgraph is causing crash with mpd on sparc64 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: Sun, 23 Oct 2005 18:38:08 -0000 Synopsis: netgraph is causing crash with mpd on sparc64 State-Changed-From-To: feedback->closed State-Changed-By: linimon State-Changed-When: Sun Oct 23 18:37:33 GMT 2005 State-Changed-Why: Feedback timeout (> 1 month). http://www.freebsd.org/cgi/query-pr.cgi?pr=80410 From owner-freebsd-sparc64@FreeBSD.ORG Mon Oct 24 08:50:15 2005 Return-Path: X-Original-To: freebsd-sparc64@hub.freebsd.org Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E739E16A41F; Mon, 24 Oct 2005 08:50:15 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A021A43D48; Mon, 24 Oct 2005 08:50:15 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9O8oF7S039174; Mon, 24 Oct 2005 08:50:15 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9O8oFvD039170; Mon, 24 Oct 2005 08:50:15 GMT (envelope-from linimon) Date: Mon, 24 Oct 2005 08:50:15 GMT From: Mark Linimon Message-Id: <200510240850.j9O8oFvD039170@freefall.freebsd.org> To: acex5@syncer.de, linimon@FreeBSD.org, freebsd-sparc64@FreeBSD.org Cc: Subject: Re: sparc64/82681: [dc] dc state messages 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, 24 Oct 2005 08:50:16 -0000 Synopsis: [dc] dc state messages State-Changed-From-To: open->suspended State-Changed-By: linimon State-Changed-When: Mon Oct 24 08:49:40 GMT 2005 State-Changed-Why: Mark suspended awaiting an interested party to investigate. jhb seems to indicate that the output is harmless. http://www.freebsd.org/cgi/query-pr.cgi?pr=82681 From owner-freebsd-sparc64@FreeBSD.ORG Mon Oct 24 09:37:45 2005 Return-Path: X-Original-To: freebsd-sparc64@FreeBSD.org 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 2505716A41F for ; Mon, 24 Oct 2005 09:37:45 +0000 (GMT) (envelope-from reko.turja@liukuma.net) Received: from mxfep02.bredband.com (mxfep02.bredband.com [195.54.107.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83AEF43D46 for ; Mon, 24 Oct 2005 09:37:43 +0000 (GMT) (envelope-from reko.turja@liukuma.net) Received: from rekon ([213.113.4.180] [213.113.4.180]) by mxfep02.bredband.com with SMTP id <20051024093742.FFXN11792.mxfep02.bredband.com@rekon> for ; Mon, 24 Oct 2005 11:37:42 +0200 Message-ID: <065301c5d87e$979b1850$b40471d5@rekon> From: "Reko Turja" To: Date: Mon, 24 Oct 2005 12:37:46 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Cc: Subject: Sbus qec network driver - in system already or possible to port? 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, 24 Oct 2005 09:37:45 -0000 I acquired some old ultrasparcs from the "junk room" of our school and to my delight found out that all three of them are capable of running FreeBSD/sparc64. I'm considering using the Ultra1 I got as a firewall at home as it has decent enough processor and memory for firewall use, but have still one stumbling block I need to solve. I have older 4 port quad-port sbus card (http://docs.sun.com/source/800-7123-11/ch1.html) readily available, but there seems to be no driver for it (both Net and Open do support the card however). So the base question is whether there already is compatible driver in the system or is it possible with very mediocre C skills to use the existing drivers from netbsd or openbsd and port those to FreeBSD? -Reko (uname -a and dmesg are as follows, I'm aware of dying battery btw ;)) FreeBSD testmachine.some.net 6.0-RC1 FreeBSD 6.0-RC1 #0: Mon Oct 10 20:37:51 UTC 2005 root@u60.samsco.home:/usr/obj/usr/src/sys/GENERIC sparc64 stray vector interrupt 2033 Copyright (c) 1992-2005 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 6.0-RC1 #0: Mon Oct 10 20:37:51 UTC 2005 root@u60.samsco.home:/usr/obj/usr/src/sys/GENERIC Timecounter "tick" frequency 167000000 Hz quality 1000 real memory = 268435456 (256 MB) avail memory = 241369088 (230 MB) cpu0: Sun Microsystems UltraSparc-I Processor (167.00 MHz CPU) nexus0: sbus0: on nexus0 sbus0: clock 25.000 MHz sbus dvma: DVMA map: 0xfc000000 to 0xffffffff sbus0: [FAST] sbus0: [FAST] initializing counter-timer Timecounter "counter-timer" frequency 1000000 Hz quality 100 auxio0: mem 0x1900000 on sbus0 sbus0: mem 0xc000000-0xc0001ff irq 2020 type unknown (no driver attached) sbus0: mem 0-0x7ffff,0x1380000-0x13fffff type unknown (no driver attached) sbus0: mem 0x1400000-0x1400007 irq 2025 type block (no driver attached) eeprom0: mem 0x1200000-0x1201fff on sbus0 eeprom0: model mk48t59 eeprom0: mk48txx_attach: battery low eeprom0: cannot attach time of day clock device_attach: eeprom0 attach returned 6 puc0: mem 0x1100000-0x1100003 irq 2024 on sbus0 uart0: on puc0 uart1: on puc0 puc1: mem 0x1000000-0x1000003 irq 2024 on sbus0 uart2: on puc1 uart2: keyboard (1200,n,8,1) kbd0 at sunkbd0 uart3: on puc1 sbus0: mem 0x1300000-0x1300007 type unknown (no driver attached) sbus0: mem 0x1304000-0x1304002 type unknown (no driver attached) esp0: mem 0x8800000-0x880000f,0x8810000-0x881003f irq 2016 on sbus0 esp0: FAS366/HME, 40MHz, SCSI ID 7 hme0: mem 0x8c00000-0x8c00107,0x8c02000-0x8c03fff,0x8c04000-0x8c05fff,0x8c06000-0x8c07fff,0x8c07000-0x8c0701f irq 2017 on sbus0 miibus0: on hme0 nsphy0: on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto hme0: Ethernet address: 08:00:20:13:de:ad sbus0: mem 0xc800000-0xc80001b irq 2018 type unknown (no driver attached) sbus0: mem 0-0x7fff,0x10000-0x17fff,0x20000-0x20fff,0x30000-0x30cff,0x40000-0x40003,0x400000-0x5fffff irq 1989 type unknown (no driver attached) sbus0: mem 0x20000-0x2ffff,0x40000-0x5ffff irq 1996 type unknown (no driver attached) creator0: on nexus0 creator0: console creator0: resolution 1152x900 syscons0: on nexus0 syscons0: Unknown <16 virtual consoles, flags=0x300> Timecounters tick every 1.000 msec Waiting 5 seconds for SCSI devices to settle cd0 at esp0 bus 0 target 6 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 4.032MB/s transfers (4.032MHz, offset 15) cd0: cd present [76760 x 512 byte records] da0 at esp0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 20.000MB/s transfers (10.000MHz, offset 15, 16bit), Tagged Queueing Enabled da0: 2049MB (4197405 512 byte sectors: 255H 63S/T 261C) Trying to mount root from ufs:/dev/da0a warning: no time-of-day clock registered, system time will not be set accurately From owner-freebsd-sparc64@FreeBSD.ORG Mon Oct 24 11:02:18 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org 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 4DA7416A41F for ; Mon, 24 Oct 2005 11:02:18 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 053BE43D46 for ; Mon, 24 Oct 2005 11:02:18 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9OB2H8S062117 for ; Mon, 24 Oct 2005 11:02:17 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9OB2HZm062111 for freebsd-sparc64@freebsd.org; Mon, 24 Oct 2005 11:02:17 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 24 Oct 2005 11:02:17 GMT Message-Id: <200510241102.j9OB2HZm062111@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-sparc64@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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, 24 Oct 2005 11:02:18 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/09/14] sparc64/71729sparc64 printf in kernel thread causes panic on S o [2004/10/21] sparc64/72962sparc64 [sysinstall] Sysinstall panics on sparc64 o [2005/02/12] sparc64/77417sparc64 [panic] with high usage of cpu when lan u o [2005/05/11] sparc64/80890sparc64 [panic] kmem_malloc(73728): kmem_map too o [2005/06/23] sparc64/82569sparc64 USB mass storage plug/unplug causes syste 5 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/10/22] sparc64/72998sparc64 [patch] set_mcontext() change syscalls pa s [2005/06/26] sparc64/82681sparc64 [dc] dc state messages 2 problems total. From owner-freebsd-sparc64@FreeBSD.ORG Tue Oct 25 08:21:16 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org 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 CFDE516A41F for ; Tue, 25 Oct 2005 08:21:16 +0000 (GMT) (envelope-from jermar@itbs.cz) Received: from lexus.itbs.cz (lexus.itbs.cz [217.11.254.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6292F43D48 for ; Tue, 25 Oct 2005 08:21:16 +0000 (GMT) (envelope-from jermar@itbs.cz) Received: from localhost (localhost [127.0.0.1]) by lexus.itbs.cz (Postfix) with ESMTP id 0D22F278982 for ; Tue, 25 Oct 2005 10:23:02 +0200 (CEST) Received: from lexus.itbs.cz ([127.0.0.1]) by localhost (lexus.itbs.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 63100-10 for ; Tue, 25 Oct 2005 10:22:57 +0200 (CEST) Received: from [62.245.89.232] (r2z232.chello.upc.cz [62.245.89.232]) by lexus.itbs.cz (Postfix) with ESMTP id C53C027897B for ; Tue, 25 Oct 2005 10:22:57 +0200 (CEST) Message-ID: <435DEAF6.8020503@itbs.cz> Date: Tue, 25 Oct 2005 10:21:10 +0200 From: Jakub Jermar User-Agent: Debian Thunderbird 1.0.2 (X11/20051002) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-sparc64@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at itbs.cz Subject: SPARC iso9660 boot loader loading alternative OS? 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, 25 Oct 2005 08:21:16 -0000 Hi, I am looking for a suitable bootloader for my school operating system kernel. I came across to FreeBSD and tried to produce a bootable CD. I downloaded 5.4-RELEASE-sparc64-bootonly.iso, replaced FreeBSD kernel with my own and produced iso9660 image like this: mkisofs -f -G root/boot/boot1 -B ... -r -o image.iso root/ When I try to boot it, I get a message like this: >> FreeBSD/sparc64 boot block Boot path: /sbus@3,0/SUNW,fas@3,8800000/sd@6,0:f Boot loader: /boot/loader Not ufs mount: can't read superblock panic: mount Program terminated ok I guess the ISO image is missing something. Can you help me and say what am I doing wrong? Best regards, Jakub From owner-freebsd-sparc64@FreeBSD.ORG Tue Oct 25 12:57:39 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org 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 7810B16A41F for ; Tue, 25 Oct 2005 12:57:39 +0000 (GMT) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (newtrinity.zeist.de [217.24.217.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AAF243D8A for ; Tue, 25 Oct 2005 12:57:21 +0000 (GMT) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (localhost [127.0.0.1]) by newtrinity.zeist.de (8.12.11/8.12.11/ZEIST.DE) with ESMTP id j9PCvHLQ002754; Tue, 25 Oct 2005 14:57:17 +0200 (CEST) (envelope-from marius@newtrinity.zeist.de) Received: (from marius@localhost) by newtrinity.zeist.de (8.12.11/8.12.10/Submit) id j9PCvCwn002753; Tue, 25 Oct 2005 14:57:12 +0200 (CEST) (envelope-from marius) Date: Tue, 25 Oct 2005 14:57:11 +0200 From: Marius Strobl To: Gheorghe Ardelean Message-ID: <20051025145711.C32605@newtrinity.zeist.de> References: <20051019120151.Q32605@newtrinity.zeist.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from ardelean@ww.uni-erlangen.de on Wed, Oct 19, 2005 at 12:33:45PM +0200 X-AntiVirus-modified: yes X-AntiVirus: checked by AntiVir Milter (version: 1.1.1-9; AVE: 6.32.0.8; VDF: 6.32.0.111; host: newtrinity.zeist.de) Cc: freebsd-sparc64@freebsd.org Subject: Re: 6.0-BETA5 and Ultra 1 !? 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, 25 Oct 2005 12:57:39 -0000 On Wed, Oct 19, 2005 at 12:33:45PM +0200, Gheorghe Ardelean wrote: > > > On Wed, 19 Oct 2005, Marius Strobl wrote: > > > > > On Wed, Oct 19, 2005 at 03:55:56AM +0200, Gheorghe Ardelean wrote: > > > > > > > > > Hi Marius, > > > > > > Thank you for your tip. It works now! > > > Booting a new loader with "make LOADER_GZIP_SUPPORT=no" solved the > > > problem. I can definitely boot from the onboard SCSI disc. > > > > > > What we need to make this work also with installation ISO? > > > > There's no simple way to modifiy an existing install ISO so it > > will boot on an U1 and install a loader that is able to boot > > from a disk attached to the on-board controller. It's proably > > easier to build a custom install ISO with gzipfs disabled or > > a patch with a proper workaround in the first place. > > If you meant what it would take to get either of it into > > the 6.0-R ISOs it's most likely too late; I don't think that > > changes allowing U1 (which are not yet properly supported > > anyway due to lack of drivers for the on-board NIC and CG6 > > cards) to boot would be accepted this late in the release > > cycle. > > I don't expect to see this in 6.0-R. Now that you provided a solution for > this problem it's ok. I am satisfied with this, but I am thinking that in > the future it would be nice to provide such an "out of the box" solution with > the ISO. > I just committed a workaround for this problem. I plan to MFC it in one month so it should be part of 6.1 and onward releases. Marius -- This mail was scanned by AntiVir Milter. This product is licensed for non-commercial use. See www.antivir.de for details. From owner-freebsd-sparc64@FreeBSD.ORG Tue Oct 25 17:31:23 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org 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 EC9A516A41F for ; Tue, 25 Oct 2005 17:31:23 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F8CB43D6B for ; Tue, 25 Oct 2005 17:31:23 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from [10.50.41.234] (Not Verified[10.50.41.234]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Tue, 25 Oct 2005 13:48:06 -0400 From: John Baldwin To: freebsd-sparc64@freebsd.org Date: Tue, 25 Oct 2005 13:32:58 -0400 User-Agent: KMail/1.8.2 References: <435DEAF6.8020503@itbs.cz> In-Reply-To: <435DEAF6.8020503@itbs.cz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510251332.59038.jhb@freebsd.org> Cc: Subject: Re: SPARC iso9660 boot loader loading alternative OS? 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, 25 Oct 2005 17:31:24 -0000 On Tuesday 25 October 2005 04:21 am, Jakub Jermar wrote: > Hi, > > I am looking for a suitable bootloader for my school > operating system kernel. I came across to FreeBSD and tried > to produce a bootable CD. > > I downloaded 5.4-RELEASE-sparc64-bootonly.iso, replaced > FreeBSD kernel with my own and produced iso9660 image like this: > > mkisofs -f -G root/boot/boot1 -B ... -r -o image.iso root/ > > When I try to boot it, I get a message like this: > >> FreeBSD/sparc64 boot block > > Boot path: /sbus@3,0/SUNW,fas@3,8800000/sd@6,0:f > Boot loader: /boot/loader > Not ufs > mount: can't read superblock > panic: mount > Program terminated > ok > > I guess the ISO image is missing something. Can you help me > and say what am I doing wrong? The cdboot doesn't actually load the /boot/loader from the CD, it loads /boot/loader out of a UFS image on the CD and the loader loads the kernel. You can look in src/release/sparc64 to find the script that creates the sparc64 ISO images. Alternatively, here's some csh shell script code that I use to build release ISOs: #!/bin/csh # # Script to build an ISO image # check for required variables if ( ! $?DISC_NUMBER ) then echo "Disc Number not specified" exit 1 endif if ( ! $?WORK_DIR ) then echo "Release work directory not set" exit 1 endif if ( ! $?RELEASE ) then echo "Release Name not set" exit 1 endif if ( ! $?CD_DIR ) then echo "Destination directory not set" exit 1 endif # set variables if ( ! $?ARCH ) set ARCH=`uname -m` setenv APPLICATION "FreeBSD ${RELEASE}" setenv CD_BOOT_FLAGS "" set VOLUME_ID="${APPLICATION} Disc ${DISC_NUMBER}" set DISC=disc${DISC_NUMBER} if ( ! $?ISO_SUFFIX ) then set ISO_SUFFIX="" endif if ( $?ISO_ARCH_NAME ) then set ISO=${CD_DIR}/${RELEASE}-${DISC}-${ARCH}${ISO_SUFFIX}.iso else set ISO=${CD_DIR}/${RELEASE}-${DISC}${ISO_SUFFIX}.iso endif if ( ! $?PUBLISHER ) then setenv PUBLISHER "John Baldwin / http://www.FreeBSD.org/~jhb" endif if ( ! $?PREPARER ) then setenv PREPARER "John Baldwin / jhb@FreeBSD.org" endif # setup boot options if ( $ARCH == i386 ) then setenv CD_BOOT_FLAGS "-b boot/cdboot -no-emul-boot" else if ( $ARCH == sparc64 ) then set BOOTFS=/tmp/bootfs_image.$$ set MNT=/tmp/bootfs_mount.$$ dd if=/dev/zero of=${BOOTFS} bs=512 count=1024 set MD=`mdconfig -a -t vnode -f ${BOOTFS}` disklabel -Brw ${MD} auto newfs /dev/${MD}c mkdir -p ${MNT} mount /dev/${MD}c ${MNT} mkdir ${MNT}/boot cp ${WORK_DIR}/R/cdrom/${DISC}/boot/loader ${MNT}/boot umount ${MNT} rmdir ${MNT} mdconfig -d -u ${MD:s/md//} setenv CD_BOOT_FLAGS "-B ,,,,${BOOTFS}" endif echo "---> Generating ISO" `basename ${ISO}` mkdir -p ${CD_DIR} mkisofs -J -p "${PREPARER}" -P "${PUBLISHER}" -r -A "${APPLICATION}" \ ${CD_BOOT_FLAGS} -V "${VOLUME_ID}" -o ${ISO} ${WORK_DIR}/R/cdrom/${DISC} $* if ( $ARCH == alpha ) then setcdboot ${ISO} boot/cdboot else if ( $ARCH == sparc64 ) then rm -f ${BOOTFS} endif -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-sparc64@FreeBSD.ORG Thu Oct 27 10:08:47 2005 Return-Path: X-Original-To: sparc64@freebsd.org 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 0F31A16A41F; Thu, 27 Oct 2005 10:08:47 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2E7743D45; Thu, 27 Oct 2005 10:08:46 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.13.4/8.13.4) with ESMTP id j9RA8jZT013447; Thu, 27 Oct 2005 06:08:45 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.13.3/8.13.3) with ESMTP id j9RA8jK4064217; Thu, 27 Oct 2005 06:08:45 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 4BA3B7302F; Thu, 27 Oct 2005 06:08:45 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20051027100845.4BA3B7302F@freebsd-current.sentex.ca> Date: Thu, 27 Oct 2005 06:08:45 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.86, clamav-milter version 0.86 on clamscanner2 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.51 on 64.7.153.18 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: Thu, 27 Oct 2005 10:08:47 -0000 TB --- 2005-10-27 09:08:17 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2005-10-27 09:08:17 - starting HEAD tinderbox run for sparc64/sparc64 TB --- 2005-10-27 09:08:17 - cleaning the object tree TB --- 2005-10-27 09:08:44 - checking out the source tree TB --- 2005-10-27 09:08:44 - cd /tinderbox/HEAD/sparc64/sparc64 TB --- 2005-10-27 09:08:44 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2005-10-27 09:16:05 - building world (CFLAGS=-O2 -pipe) TB --- 2005-10-27 09:16:05 - cd /src TB --- 2005-10-27 09:16:05 - /usr/bin/make -B buildworld >>> 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 [...] cc -fPIC -DPIC -O2 -pipe -I/src/sbin/geom/class/stripe/../.. -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c /src/sbin/geom/class/stripe/../../misc/subr.c -o subr.So building shared library geom_stripe.so gzip -cn /src/sbin/geom/class/stripe/gstripe.8 > gstripe.8.gz ===> sbin/ggate (all) ===> sbin/ggate/ggatec (all) cc -O2 -pipe -DLIBGEOM -I/src/sbin/ggate/ggatec/../shared -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c /src/sbin/ggate/ggatec/ggatec.c cc -O2 -pipe -DLIBGEOM -I/src/sbin/ggate/ggatec/../shared -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c /src/sbin/ggate/ggatec/../shared/ggate.c make: don't know how to make /obj/sparc64/src/tmp/usr/lib/libpthread.a. Stop *** Error code 2 Stop in /src/sbin/ggate. *** Error code 1 Stop in /src/sbin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2005-10-27 10:08:45 - WARNING: /usr/bin/make returned exit code 1 TB --- 2005-10-27 10:08:45 - ERROR: failed to build world TB --- 2005-10-27 10:08:45 - tinderbox aborted From owner-freebsd-sparc64@FreeBSD.ORG Fri Oct 28 20:50:02 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org 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 BC1C916A41F for ; Fri, 28 Oct 2005 20:50:02 +0000 (GMT) (envelope-from weinmann@cdc.informatik.tu-darmstadt.de) Received: from mail.cdc.informatik.tu-darmstadt.de (cdc-info.cdc.informatik.tu-darmstadt.de [130.83.167.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F6D243D48 for ; Fri, 28 Oct 2005 20:49:56 +0000 (GMT) (envelope-from weinmann@cdc.informatik.tu-darmstadt.de) Received: from [192.168.178.20] (p54A7A4F1.dip0.t-ipconnect.de [84.167.164.241]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "Ralf-Philipp Weinmann", Issuer CN "RBG CA" (verified OK)) by mail.cdc.informatik.tu-darmstadt.de (Postfix) with ESMTP id D021C2D02 for ; Fri, 28 Oct 2005 22:49:52 +0200 (MET DST) Message-ID: <43628F04.8070507@cdc.informatik.tu-darmstadt.de> Date: Fri, 28 Oct 2005 22:50:12 +0200 From: Ralf-Philipp Weinmann User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-sparc64@freebsd.org X-Enigmail-Version: 0.91.0.0 OpenPGP: id=EFCD9B06 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Firewire debugging a Sun Blade 100 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: Fri, 28 Oct 2005 20:50:02 -0000 Hi list, has anyone ever used Hidetoshi Shimokawa's Firewire kung-foo to successfully remotely debug a running FreeBSD kernel on a Sun Blade 100 (target machine)? The Blade 100 has a OHCI chipset, so in principle this should be possible. Is there anything I need to activate in the OpenBoot? Cheers, Ralf From owner-freebsd-sparc64@FreeBSD.ORG Sat Oct 29 04:51:04 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org 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 EED1216A41F for ; Sat, 29 Oct 2005 04:51:04 +0000 (GMT) (envelope-from grog@lemis.com) Received: from ext-gw.lemis.com (ext-gw.lemis.com [150.101.14.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id F402243D45 for ; Sat, 29 Oct 2005 04:51:03 +0000 (GMT) (envelope-from grog@lemis.com) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.135]) by ext-gw.lemis.com (Postfix) with ESMTP id 30AF1131BC9; Sat, 29 Oct 2005 14:21:00 +0930 (CST) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 12A7F84D73; Sat, 29 Oct 2005 14:21:00 +0930 (CST) Date: Sat, 29 Oct 2005 14:21:00 +0930 From: Greg 'groggy' Lehey To: Ralf-Philipp Weinmann Message-ID: <20051029045100.GH18677@wantadilla.lemis.com> References: <43628F04.8070507@cdc.informatik.tu-darmstadt.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NyChO5MpGs3JHJbz" Content-Disposition: inline In-Reply-To: <43628F04.8070507@cdc.informatik.tu-darmstadt.de> User-Agent: Mutt/1.4.2.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Cc: freebsd-sparc64@freebsd.org Subject: Re: Firewire debugging a Sun Blade 100 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: Sat, 29 Oct 2005 04:51:05 -0000 --NyChO5MpGs3JHJbz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline [reduced to eye-compatible width] On Friday, 28 October 2005 at 22:50:12 +0200, Ralf-Philipp Weinmann wrote: > > has anyone ever used Hidetoshi Shimokawa's Firewire kung-foo to > successfully remotely debug a running FreeBSD kernel on a Sun Blade > 100 (target machine)? Not on that machine. I have general information in gdb(4) and at http://www.lemis.com/grog/Papers/Debug-tutorial/tutorial.pdf. Greg -- See complete headers for address and phone numbers. --NyChO5MpGs3JHJbz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFDYv+0IubykFB6QiMRAr94AKCgLXgQtkMDLuXJiUGN+fQKR2pD/wCgn7KW sZsZm6JsoYJ8mA0DmBe40l0= =Hy0a -----END PGP SIGNATURE----- --NyChO5MpGs3JHJbz--