Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Feb 2004 23:12:47 +0100
From:      Wilko Bulte <wkb@freebie.xs4all.nl>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        alpha@FreeBSD.org
Subject:   Re: Patch for floppies
Message-ID:  <20040205221247.GA73666@freebie.xs4all.nl>
In-Reply-To: <200402051625.38695.jhb@FreeBSD.org>
References:  <200402041106.28569.jhb@FreeBSD.org> <200402051429.37369.jhb@FreeBSD.org> <20040205194002.GA72501@freebie.xs4all.nl> <200402051625.38695.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <Enhanced floppy controller (i82077, NE72065 or clone)> 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: <Enhanced floppy controller (i82077, NE72065 or clone)> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040205221247.GA73666>