From owner-freebsd-sparc64@FreeBSD.ORG Mon Jun 29 11:07:07 2009 Return-Path: Delivered-To: freebsd-sparc64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D45841065672 for ; Mon, 29 Jun 2009 11:07:07 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C124B8FC26 for ; Mon, 29 Jun 2009 11:07:07 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n5TB77JQ046500 for ; Mon, 29 Jun 2009 11:07:07 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n5TB779J046494 for freebsd-sparc64@FreeBSD.org; Mon, 29 Jun 2009 11:07:07 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 29 Jun 2009 11:07:07 GMT Message-Id: <200906291107.n5TB779J046494@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-sparc64@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-sparc64@FreeBSD.org X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2009 11:07:08 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- f sparc/127051 sparc64 [hme] hme interfaces "pause" with the message "device o sparc/119244 sparc64 X11Forwarding to X11 server on sparc crashes Xorg o sparc/119240 sparc64 top has WCPU over 100% on UP system s sparc/119239 sparc64 gdb coredumps on sparc64 o sparc/113556 sparc64 [panic] trap: memory address not aligned; Rebooting... f sparc/108732 sparc64 ping(8) reports 14 digit time on sparc64 s sparc/107087 sparc64 [hang] system is hung during boot from CD o sparc/105048 sparc64 [trm] trm(4) panics on sparc64 o sparc/104428 sparc64 [nullfs] nullfs panics on E4500 (but not E420) o sparc/80890 sparc64 [panic] kmem_malloc(73728): kmem_map too small running o sparc/80410 sparc64 [netgraph] netgraph is causing crash with mpd on sparc o sparc/71729 sparc64 printf in kernel thread causes panic on SPARC 12 problems total. From owner-freebsd-sparc64@FreeBSD.ORG Mon Jun 29 18:44:49 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B3EC1065689 for ; Mon, 29 Jun 2009 18:44:49 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id BA13E8FC1C for ; Mon, 29 Jun 2009 18:44:48 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.3/8.14.3/ALCHEMY.FRANKEN.DE) with ESMTP id n5TISh9Y027097; Mon, 29 Jun 2009 20:28:43 +0200 (CEST) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.3/8.14.3/Submit) id n5TISh3t027096; Mon, 29 Jun 2009 20:28:43 +0200 (CEST) (envelope-from marius) Date: Mon, 29 Jun 2009 20:28:43 +0200 From: Marius Strobl To: Andreas Wacknitz Message-ID: <20090629182843.GB27024@alchemy.franken.de> References: <200906251750.n5PHo3BN072475@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200906251750.n5PHo3BN072475@freefall.freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: sparc64/107087: [hang] system is hung during boot from CD 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, 29 Jun 2009 18:44:49 -0000 On Thu, Jun 25, 2009 at 05:50:03PM +0000, Andreas Wacknitz wrote: > The following reply was made to PR sparc64/107087; it has been noted by GNATS. > > From: Andreas Wacknitz > To: bug-followup@FreeBSD.org, > bazylt@gtut.internetdsl.pl > Cc: > Subject: Re: sparc64/107087: [hang] system is hung during boot from CD > Date: Thu, 25 Jun 2009 19:13:20 +0200 > > I have a similar problem with my Blade 2500 when booting 7.2, 7.2- > stable (June 2009) and 8.0-current. > The machine is equipped with an XVR-100. The only additional PCI card > is a LSI SAS3041X-R. > OpenBSD-4.5 works fine. > Last message is "Jumping to kernel entry 0xc0078000". > XVR-100 aren't supported so far. As indicate in the 7.2 hardware notes your current choices are to either plug in a card supported by either creator(4) or machfb(4) or to use a serial console. Marius From owner-freebsd-sparc64@FreeBSD.ORG Mon Jun 29 18:44:51 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFE0D1065680 for ; Mon, 29 Jun 2009 18:44:51 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id 2BC008FC26 for ; Mon, 29 Jun 2009 18:44:50 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.3/8.14.3/ALCHEMY.FRANKEN.DE) with ESMTP id n5TIMZW4027058; Mon, 29 Jun 2009 20:22:35 +0200 (CEST) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.3/8.14.3/Submit) id n5TIMYN5027057; Mon, 29 Jun 2009 20:22:34 +0200 (CEST) (envelope-from marius) Date: Mon, 29 Jun 2009 20:22:34 +0200 From: Marius Strobl To: Ari =?unknown-8bit?Q?Sovij=E4rvi?= Message-ID: <20090629182234.GA27024@alchemy.franken.de> References: <4A444374.3090008@apz.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A444374.3090008@apz.fi> User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: "cg 0: bad magic number" with umass 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, 29 Jun 2009 18:44:52 -0000 On Fri, Jun 26, 2009 at 06:41:40AM +0300, Ari Sovijrvi wrote: > Hi folks! > > I added a 1 terabyte USB harddisk to my Fire V100 for backups. I have > recently used the same device with Linux and with i386 FreeBSD. I zeroed > the disk and labeled it with sunlabel. However, newfs always dies with the > error "cg 0: bad magic number". I also tried to label it into several > smaller chunks, no luck. > > I also tried to newfs the whole device without a disklabel, but that also > ends with the same error. > > Here's an example of the outcome, with 1 gigabyte partition: > # newfs /dev/da0b > /dev/da0b: 1027.6MB (2104512 sectors) block size 16384, fragment size 2048 > using 6 cylinder groups of 183.72MB, 11758 blks, 23552 inodes. > super-block backups (for fsck -b #) at: > 160, 376416, 752672, 1128928, 1505184, 1881440 > cg 0: bad magic number > > Here's bits of the dmesg, showing the drive: > umass0: > on uhub0 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-2 device > da0: 1.000MB/s transfers > da0: 953869MB (1953525168 512 byte sectors: 255H 63S/T 121601C) > > Any ideas of what's wrong? > If this is with FreeBSD 8 you should contact Hans Petter Selasky. Marius From owner-freebsd-sparc64@FreeBSD.ORG Tue Jun 30 09:38:12 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 036E21065670 for ; Tue, 30 Jun 2009 09:38:12 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe10.swipnet.se [212.247.155.33]) by mx1.freebsd.org (Postfix) with ESMTP id 55DE48FC0C for ; Tue, 30 Jun 2009 09:38:11 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=3W9nIpSlnLoA:10 a=gg2W7PyvkLb8p4ie143lBA==:17 a=bd3dSubjuKLhHN1Of64A:9 a=KGmBr3qKyMzKW7BECO4A:7 a=ZID33FF8_twxhpauDgNQixx-x1oA:4 a=rMF7JWUDq7kA:10 a=3O3SN4BzDi2WpXVh:21 a=pEEoSdhRxZUyVQHI:21 Received: from [194.248.135.20] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe10.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1099128278; Tue, 30 Jun 2009 10:38:08 +0200 From: Hans Petter Selasky To: freebsd-sparc64@freebsd.org Date: Tue, 30 Jun 2009 10:37:38 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <4A444374.3090008@apz.fi> <4A445143.1090503@acm.poly.edu> In-Reply-To: <4A445143.1090503@acm.poly.edu> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200906301037.40138.hselasky@c2i.net> Cc: Ari =?iso-8859-1?q?Sovij=E4rvi?= Subject: Re: "cg 0: bad magic number" with umass 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, 30 Jun 2009 09:38:12 -0000 On Friday 26 June 2009 06:40:35 Boris Kochergin wrote: > Ari Sovij=E4rvi wrote: > > Hi folks! > > > > I added a 1 terabyte USB harddisk to my Fire V100 for backups. I have > > recently used the same device with Linux and with i386 FreeBSD. I > > zeroed the disk and labeled it with sunlabel. However, newfs always > > dies with the error "cg 0: bad magic number". I also tried to label it > > into several smaller chunks, no luck. > > > > I also tried to newfs the whole device without a disklabel, but that > > also ends with the same error. > > > > Here's an example of the outcome, with 1 gigabyte partition: > > # newfs /dev/da0b > > /dev/da0b: 1027.6MB (2104512 sectors) block size 16384, fragment size > > 2048 > > using 6 cylinder groups of 183.72MB, 11758 blks, 23552 inodes. > > super-block backups (for fsck -b #) at: > > 160, 376416, 752672, 1128928, 1505184, 1881440 > > cg 0: bad magic number > > > > Here's bits of the dmesg, showing the drive: > > umass0: > 2> on uhub0 > > da0 at umass-sim0 bus 0 target 0 lun 0 > > da0: Fixed Direct Access SCSI-2 device > > da0: 1.000MB/s transfers > > da0: 953869MB (1953525168 512 byte sectors: 255H 63S/T 121601C) > > > > Any ideas of what's wrong? > > I had the same problem on an i386 machine with an onboard USB 1.1 > controller some time ago, using external Seagate disks. I Googled around > and found that the error message means that newfs tried to read back > something it wrote near the beginning of the filesystem when it created > it, but the contents were not what it expected. After making sure that > it worked with my laptop's ICH6 USB controller--which it did--I > dismissed the onboard controller as faulty, bought a PCI VT6202 > controller, and it's worked great ever since. Could you show the dmesg of the USB controller? At which bus is it connecte= d?=20 Nexus? There might be bugs in the actual USB device/host hardware. You could also try enabling USB debugging for umass: sysctl hw.usb.umass.debug=3D-1 And look for any errors. Are you using 8-current ? =2D-HPS From owner-freebsd-sparc64@FreeBSD.ORG Tue Jun 30 17:57:39 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34CEB1065672 for ; Tue, 30 Jun 2009 17:57:39 +0000 (UTC) (envelope-from listat@apz.fi) Received: from basestar1.apz.fi (basestar1.apz.fi [62.237.4.40]) by mx1.freebsd.org (Postfix) with ESMTP id DF3868FC16 for ; Tue, 30 Jun 2009 17:57:38 +0000 (UTC) (envelope-from listat@apz.fi) Received: from localhost (localhost [127.0.0.1]) by basestar1.apz.fi (Postfix) with ESMTP id 4C647272C59 for ; Tue, 30 Jun 2009 20:57:36 +0300 (EEST) X-Virus-Scanned: by amavisd-new at basestar1. Got none of those nasty buggers! Received: from basestar1.apz.fi ([127.0.0.1]) by localhost (basestar1.apz.fi [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JUafLSA7KIC9 for ; Tue, 30 Jun 2009 20:57:31 +0300 (EEST) Received: from [214.1.1.1] (adsl-109-212-210.kymp.net [77.109.212.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by basestar1.apz.fi (Postfix) with ESMTPSA id A0919272C57 for ; Tue, 30 Jun 2009 20:57:31 +0300 (EEST) Message-ID: <4A4A5208.9020307@apz.fi> Date: Tue, 30 Jun 2009 20:57:28 +0300 From: =?ISO-8859-1?Q?Ari_Sovij=E4rvi?= User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: freebsd-sparc64@freebsd.org References: <4A444374.3090008@apz.fi> <4A445143.1090503@acm.poly.edu> <200906301037.40138.hselasky@c2i.net> In-Reply-To: <200906301037.40138.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: "cg 0: bad magic number" with umass 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, 30 Jun 2009 17:57:39 -0000 Hans Petter Selasky wrote: > Could you show the dmesg of the USB controller? At which bus is it connected? > Nexus? There might be bugs in the actual USB device/host hardware. Here's all I could find of the USB controller from the dmesg's output. ohci0: mem 0x1000000-0x1000fff at device 10.0 on pci0 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered If you need to see anything else from the dmesg, here's the full output: http://pastebin.ca/1479774 The USB-enclosure I used was LaCie's "design by porsche" with 1 terabyte Seagate disk. > Are you using 8-current ? No, 7.2. -- Ari Sovijärvi