From owner-freebsd-alpha@FreeBSD.ORG Thu Feb 5 14:12:53 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68C8416A4CE; Thu, 5 Feb 2004 14:12:53 -0800 (PST) Received: from smtp-out1.xs4all.nl (smtp-out1.xs4all.nl [194.109.24.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 585F043D54; Thu, 5 Feb 2004 14:12:49 -0800 (PST) (envelope-from wkb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by smtp-out1.xs4all.nl (8.12.10/8.12.10) with ESMTP id i15MClU9044688; Thu, 5 Feb 2004 23:12:47 +0100 (CET) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.12.10/8.12.9) with ESMTP id i15MClvE073740; Thu, 5 Feb 2004 23:12:47 +0100 (CET) (envelope-from wkb@freebie.xs4all.nl) Received: (from wkb@localhost) by freebie.xs4all.nl (8.12.10/8.12.9/Submit) id i15MClO9073739; Thu, 5 Feb 2004 23:12:47 +0100 (CET) (envelope-from wkb) Date: Thu, 5 Feb 2004 23:12:47 +0100 From: Wilko Bulte To: John Baldwin Message-ID: <20040205221247.GA73666@freebie.xs4all.nl> References: <200402041106.28569.jhb@FreeBSD.org> <200402051429.37369.jhb@FreeBSD.org> <20040205194002.GA72501@freebie.xs4all.nl> <200402051625.38695.jhb@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200402051625.38695.jhb@FreeBSD.org> User-Agent: Mutt/1.4.1i X-OS: FreeBSD 4.9-STABLE X-PGP: finger wilko@freebsd.org cc: alpha@FreeBSD.org Subject: Re: Patch for floppies X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2004 22:12:53 -0000 On Thu, Feb 05, 2004 at 04:25:38PM -0500, John Baldwin wrote: > On Thursday 05 February 2004 02:40 pm, Wilko Bulte wrote: > > On Thu, Feb 05, 2004 at 02:29:37PM -0500, John Baldwin wrote: > > > On Thursday 05 February 2004 01:26 pm, Wilko Bulte wrote: > > > > On Wed, Feb 04, 2004 at 02:01:41PM -0500, John Baldwin wrote: > > > > > On Wednesday 04 February 2004 01:52 pm, Wilko Bulte wrote: > > > > > > On Wed, Feb 04, 2004 at 11:06:28AM -0500, John Baldwin wrote: > > > > > > > Ok, since the cross-built floppies don't work for whatever > > > > > > > reason, someone is going to need to build a native alpha release > > > > > > > and then post those floppies for testing (or test them > > > > > > > themselves). I currently don't have an alpha setup such that I > > > > > > > can do this, so I'm posting the patch to do so. It's quite > > > > > > > simple and is at > > > > > > > http://www.FreeBSD.org/~jhb/patches/alpha.floppies.patch > > > > > > > > > > > > I will have a go at it. Be patient.. > > > > > > > > Freshly generated from HEAD: > > > > >>>boot dva0 > > > > > > > > (boot dva0.0.0.0.1 -flags a) > > > > block 0 of dva0.0.0.0.1 is not a valid boot block > > > > bootstrap failure > > > > > > > > > > > > hmm. > > > > > > Can bsdlabel generate a bootable floppy image at all on Alpha? > > > I.e., can you do something like 'fdformat fd0', 'bsdlabel /dev/fd0 > > > fd1440', > > > > Well.. no. And that is because on my DS10 the floppy does not work at > > all. > > > > ds10#fdformat fd0 > > fdformat: open(fd0): No such file or directory > > > > While: > > > > fdc0: at port > > 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0 > > fdc0: interrupting at ISA irq 6 > > > > See also alpha/30486 for an older PR. I don't recall we ever managed > > to fix it. Looks specific to EV6/Tsunami machines. > > You have to add a hint for fd.0 I think. GENERIC.hints in current should have > the hint listed that you would need to add your /boot/device.hints to bring > your fd0 back. Hm, right. Yes, floppy is now detected: fdc0: at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0 fdc0: interrupting at ISA irq 6 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 But the long standing bug is still there: ds10#fdformat fd0 Format 1440K floppy `/dev/fd0'? (y/n): y Processing EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE done. Errors encountered: Cyl Head Sect Error 0 0 1 no data (sector not found) 0 1 1 no data (sector not found) 1 0 1 no data (sector not found) 1 1 1 no data (sector not found) 2 0 1 no data (sector not found) 2 1 1 no data (sector not found) 3 0 1 no data (sector not found) 3 1 1 no data (sector not found) 4 0 1 wrong cylinder (format mismatch) 4 1 1 no data (sector not found) (Further errors not printed.) ds10# -- Wilko Bulte wilko@FreeBSD.org