From owner-freebsd-alpha Mon May 1 15:24:33 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from sable.cc.vt.edu (sable.cc.vt.edu [128.173.16.30]) by hub.freebsd.org (Postfix) with ESMTP id AE38437B665; Mon, 1 May 2000 15:24:29 -0700 (PDT) (envelope-from nm@vt.edu) Received: from mail.vt.edu (gkar.cc.vt.edu [128.173.16.40]) by sable.cc.vt.edu (8.9.3/8.9.3) with ESMTP id SAA25786; Mon, 1 May 2000 18:24:11 -0400 (EDT) Received: from dog ([198.82.106.223]) by gkar.cc.vt.edu (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with SMTP id <0FTW00FWAJKARW@gkar.cc.vt.edu>; Mon, 1 May 2000 18:24:10 -0400 (EDT) Date: Mon, 01 May 2000 18:23:17 -0400 From: nm Subject: Re: more disk trouble X-Sender: nmanisca@mail.vt.edu To: Mike Smith Cc: freebsd-alpha@freebsd.org Message-id: <3.0.32.20000501182316.038dab70@mail.vt.edu> MIME-version: 1.0 X-Mailer: Windows Eudora Pro Version 3.0 (32) Content-type: text/plain; charset=us-ascii Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At 02:14 PM 5/1/00 -0700, Mike Smith wrote: >> Well I tried this and I get the same results as before :( > >What did you try? Exact commands and output; I can't read over your >shoulder, and I'm too busy to hack into your box to do it myself. first, I... dd if=/dev/zero of=/dev/da1 count=16 disklabel da1 This just gives me the same error message that I reported the first time: disklabel: ioctl DIOCGDINFO: Invalid argument Next, I... dd if=/dev/zero of=/dev/da1 count=160 disklabel da1 Just in case 16 sectors wasn't enough. Same results. Next I tried dd'ing a sector worth of 'hello world' to the disk and dd'd it back just to make sure that it actually got dd'd. (It did). So I booted up the NetBSD install disk and started installing... Once the hard disk was labeled and newfs was under way I canceled the install. Now it works fine and I can disklabel under FreeBSD without any problems. Maybe the install program for NetBSD automatically clears out the first few sectors before making a new label... I am wondering if when I ran disklabel after the dd, I should have used a -r to make sure that it read it from the disk rather than from memory. That may have been the problem? I don't know if this means much, but disklabel /dev/rda1c appears to work. Should it not? Nick Maniscalco To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message