From owner-freebsd-sparc64@FreeBSD.ORG Fri Jun 26 04:00:15 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 B2D15106564A for ; Fri, 26 Jun 2009 04:00:15 +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 6E25B8FC1F for ; Fri, 26 Jun 2009 04:00:15 +0000 (UTC) (envelope-from listat@apz.fi) Received: from localhost (localhost [127.0.0.1]) by basestar1.apz.fi (Postfix) with ESMTP id 52034272C59 for ; Fri, 26 Jun 2009 06:41:47 +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 u6tJ6lH2wa1o for ; Fri, 26 Jun 2009 06:41:44 +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 964BB272C57 for ; Fri, 26 Jun 2009 06:41:44 +0300 (EEST) Message-ID: <4A444374.3090008@apz.fi> Date: Fri, 26 Jun 2009 06:41:40 +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 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: "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: Fri, 26 Jun 2009 04:00:15 -0000 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? -- Ari Sovijärvi