* Re: Docs for programming FDC on Alpha
@ 1998-12-16 5:00 Peter W. Borders
1998-12-16 8:32 ` B. James Phillippe
0 siblings, 1 reply; 9+ messages in thread
From: Peter W. Borders @ 1998-12-16 5:00 UTC (permalink / raw)
To: axp-list
> It is the same as on a PC only a smaller cable.
>
> > > There are a few problems that have gone unresolved for too long on
> > > Linux/AXP (IMHO, of course :) The first are simply cosmetic with the
> > > floppy driver (2.88MB thing, "bizaare FDC" message, etc), and the second is
> > > that the ftape driver for Alpha is unmaintained.
> > > Can anyone point me at some documentation on how the FDC on an
> > > Alpha is different than that on the PC?
> >
> > I was under the impression that the floppy was a SCSI device on UDBs.
> > I don't know about boards.
It is not a scsi floppy drive, it is just a "notebook" size drive and
it uses a smaller pitch cable and connector. I would be willing to
bet that the controller is just a "standard" part as well, you should
be able to tell by looking at the floppy driver source in alpha linux
but I haven't looked recently.
Pete
Peter W. Borders
Network Support Technician
Tidewater Community College
tcbordp@vbbusnw1.tc.cc.va.us
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Docs for programming FDC on Alpha
1998-12-16 5:00 Docs for programming FDC on Alpha Peter W. Borders
@ 1998-12-16 8:32 ` B. James Phillippe
1998-12-16 16:21 ` Jay.Estabrook
0 siblings, 1 reply; 9+ messages in thread
From: B. James Phillippe @ 1998-12-16 8:32 UTC (permalink / raw)
To: Peter W. Borders; +Cc: RedHat AXP list
On Wed, 16 Dec 1998, Peter W. Borders wrote:
> > > > There are a few problems that have gone unresolved for too long
> > > > on Linux/AXP (IMHO, of course :) The first are simply cosmetic
> > > > with the floppy driver (2.88MB thing, "bizaare FDC" message, etc),
> > > > and the second is that the ftape driver for Alpha is unmaintained.
> > > > Can anyone point me at some documentation on how the FDC on an
> > > > Alpha is different than that on the PC?
...
> it uses a smaller pitch cable and connector. I would be willing to
> bet that the controller is just a "standard" part as well, you should
> be able to tell by looking at the floppy driver source in alpha linux
> but I haven't looked recently.
It differs from the PC floppy controller as far as the Linux floppy device
driver is concerned, probably due more to DMA/memory access preferences and
BIOS calls of the underlying architecture.
1.) the floppy drive is always reported as 2.88MB under Linux. Although I
have no factual information to back this, I suspect it is not the case
under NT or Digital UNIX (chime in here folks and lay down the slap of
reason if I am mistaken). We all know it works properly; it should
therefore be able to be detected (cosmetically) properly.
2.) the floppy tape driver works on intel and not on Alpha. I have taken a
quick peek at the sources to the ftape driver and I suspect this may simply
be a case of non-portable programming or apathy to support non-x86
architectures on behalf of the ftape maintainer (his personal comments to
me on the issue have lead me to this conclusion).
I have looked at the kernel sources (briefly); there is an <asm/floppy.h>
which obviously is going to contain platform-specific code to handle the
floppy driver. From the comments in it, it would appear to the novice
(like me) that proper support for deducing the floppy type from the BIOS
(console in this case) in not implemented. Perhaps it can't be. Without
some documentation I won't ever know.
I am therefore wondering if anyone can provide me with locations of useful
programming information or references [in addition to the kernel] for
writing a floppy device driver for an Alpha.
thanks,
-bp
--
B. James Phillippe . bryan@terran.org
Linux Engineer/Admin . http://www.terran.org/~bryan
Member since 1.1.59 . finger:bryan@earth.terran.org
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Docs for programming FDC on Alpha
1998-12-16 8:32 ` B. James Phillippe
@ 1998-12-16 16:21 ` Jay.Estabrook
0 siblings, 0 replies; 9+ messages in thread
From: Jay.Estabrook @ 1998-12-16 16:21 UTC (permalink / raw)
To: axp-list
>>> "B. James Phillippe" said:
>
> 1.) the floppy drive is always reported as 2.88MB under Linux. Although I
> have no factual information to back this, I suspect it is not the case
> under NT or Digital UNIX (chime in here folks and lay down the slap of
> reason if I am mistaken). We all know it works properly; it should
> therefore be able to be detected (cosmetically) properly.
I'm not sure, but believe that the floppy type is determined, on Intel, by
consulting the "CMOS"; such does not exist on Alpha, so a different technique
has been used: hardwiring... ;-}
If you look at floppy.h from 2.1.131, you'll notice the default type is set
to 6 (2.88M); this could just as easily be set to 4 (1.44M), but it could
adversely affect folks who actually *have* a 2.88M drive (some Jensens?),
*and* who actually attemp to use ED.
I think this is why it has remained set to 2.88M; anyone know different?
Anyone (else) care? ;-}
--Jay++
-------------------------------------------------------------------------------
American Non Sequitur Society: we don't make sense, but we do like pizza...
Jay A Estabrook Alpha Motherboards - LINUX Project
Compaq Computer Corporation (508) 841-3241 or (DTN) 237-3241
334 South Street, Shrewsbury, MA 01545 Jay.Estabrook@digital.com
-------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 9+ messages in thread
* Docs for programming FDC on Alpha
@ 1998-12-15 21:12 B. James Phillippe
1998-12-15 21:28 ` Oscar Levi
1998-12-16 8:08 ` Jaap Schellekens
0 siblings, 2 replies; 9+ messages in thread
From: B. James Phillippe @ 1998-12-15 21:12 UTC (permalink / raw)
To: RedHat AXP list
Hello,
There are a few problems that have gone unresolved for too long on
Linux/AXP (IMHO, of course :) The first are simply cosmetic with the
floppy driver (2.88MB thing, "bizaare FDC" message, etc), and the second is
that the ftape driver for Alpha is unmaintained.
Can anyone point me at some documentation on how the FDC on an
Alpha is different than that on the PC?
thanks,
-bp
--
B. James Phillippe . bryan@terran.org
Linux Engineer/Admin . http://www.terran.org/~bryan
Member since 1.1.59 . finger:bryan@earth.terran.org
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Docs for programming FDC on Alpha
1998-12-15 21:12 B. James Phillippe
@ 1998-12-15 21:28 ` Oscar Levi
1998-12-16 3:16 ` Kevin.Brown
1998-12-16 8:08 ` Jaap Schellekens
1 sibling, 1 reply; 9+ messages in thread
From: Oscar Levi @ 1998-12-15 21:28 UTC (permalink / raw)
To: axp-list
On Tue, Dec 15, 1998 at 01:12:33PM -0800, B. James Phillippe wrote:
> Hello,
>
> There are a few problems that have gone unresolved for too long on
> Linux/AXP (IMHO, of course :) The first are simply cosmetic with the
> floppy driver (2.88MB thing, "bizaare FDC" message, etc), and the second is
> that the ftape driver for Alpha is unmaintained.
> Can anyone point me at some documentation on how the FDC on an
> Alpha is different than that on the PC?
I was under the impression that the floppy was a SCSI device on UDBs.
I don't know about boards.
>
> thanks,
> -bp
> --
> B. James Phillippe . bryan@terran.org
> Linux Engineer/Admin . http://www.terran.org/~bryan
> Member since 1.1.59 . finger:bryan@earth.terran.org
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Docs for programming FDC on Alpha
1998-12-15 21:28 ` Oscar Levi
@ 1998-12-16 3:16 ` Kevin.Brown
0 siblings, 0 replies; 9+ messages in thread
From: Kevin.Brown @ 1998-12-16 3:16 UTC (permalink / raw)
To: axp-list
It is the same as on a PC only a smaller cable.
> > There are a few problems that have gone unresolved for too long on
> > Linux/AXP (IMHO, of course :) The first are simply cosmetic with the
> > floppy driver (2.88MB thing, "bizaare FDC" message, etc), and the second is
> > that the ftape driver for Alpha is unmaintained.
> > Can anyone point me at some documentation on how the FDC on an
> > Alpha is different than that on the PC?
>
> I was under the impression that the floppy was a SCSI device on UDBs.
> I don't know about boards.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Docs for programming FDC on Alpha
1998-12-15 21:12 B. James Phillippe
1998-12-15 21:28 ` Oscar Levi
@ 1998-12-16 8:08 ` Jaap Schellekens
1998-12-16 8:39 ` B. James Phillippe
1 sibling, 1 reply; 9+ messages in thread
From: Jaap Schellekens @ 1998-12-16 8:08 UTC (permalink / raw)
To: axp-list
B. James Phillippe writes:
> floppy driver (2.88MB thing, "bizaare FDC" message, etc), and the second is
> that the ftape driver for Alpha is unmaintained.
Are you sure? I use the latest ftape driver 4.02 in my XLT300 and it
works fine. You need the 4.xx driver, previous versions do not seem to
work on the alpha.
Jaap
--
--------------------------------------------------------------
Jaap Schellekens E-mail: schj@geo.vu.nl
Hydro(geo)logy Dept. Fax: ++31 20 6462457
Inst. of Earth Sc. Voice: ++31 20 4447287
Vrije Universiteit
De Boelelaan 1085
1081 HV Amsterdam NL See also: http://flow.geo.vu.nl
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Docs for programming FDC on Alpha
1998-12-16 8:08 ` Jaap Schellekens
@ 1998-12-16 8:39 ` B. James Phillippe
1998-12-16 11:28 ` Jaap Schellekens
0 siblings, 1 reply; 9+ messages in thread
From: B. James Phillippe @ 1998-12-16 8:39 UTC (permalink / raw)
To: axp-list
On Wed, 16 Dec 1998, Jaap Schellekens wrote:
> B. James Phillippe writes:
> > floppy driver (2.88MB thing, "bizaare FDC" message, etc), and the second is
> > that the ftape driver for Alpha is unmaintained.
>
> Are you sure? I use the latest ftape driver 4.02 in my XLT300 and it
> works fine. You need the 4.xx driver, previous versions do not seem to
> work on the alpha.
Ah, are you running 2.0? The problem I am having must be 2.1 related,
then. The first problem I had (I am using 4.02, btw [trying to use it,
anyway]) was with the inclusion of <asm/current.h> by <linux/sched.h>.
David Miller pointed out that I needed to add "-mno-fp-regs -ffixed-8" to
the MCONFIG. That got me almost all the way. The compile bombed out later
on 2.1-related timeout handling changes. Perhaps it was unwise of me to
"lay into" the ftape sources as much as I did. I think I overreacted to
the apparent unconcern by the ftape people for Alpha support, even after
offering to provide access to an Alpha for development. If you have it
working on 2.0 though, I suppose there is much hope for 2.1.
thanks,
-bp
--
B. James Phillippe . bryan@terran.org
Linux Engineer/Admin . http://www.terran.org/~bryan
Member since 1.1.59 . finger:bryan@earth.terran.org
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Docs for programming FDC on Alpha
1998-12-16 8:39 ` B. James Phillippe
@ 1998-12-16 11:28 ` Jaap Schellekens
0 siblings, 0 replies; 9+ messages in thread
From: Jaap Schellekens @ 1998-12-16 11:28 UTC (permalink / raw)
To: axp-list
B. James Phillippe writes:
> Ah, are you running 2.0? The problem I am having must be 2.1 related,
> then.
Yep, the 2.0.35 alpha kernel. I have 2.1.130 running but have never
actually tried to use the ftape driver (lucky me).
> The first problem I had (I am using 4.02, btw [trying to use it,
> anyway]) was with the inclusion of <asm/current.h> by <linux/sched.h>.
> David Miller pointed out that I needed to add "-mno-fp-regs -ffixed-8" to
> the MCONFIG. That got me almost all the way. The compile bombed out later
> on 2.1-related timeout handling changes. Perhaps it was unwise of me to
> "lay into" the ftape sources as much as I did. I think I overreacted to
> the apparent unconcern by the ftape people for Alpha support, even after
> offering to provide access to an Alpha for development. If you have it
> working on 2.0 though, I suppose there is much hope for 2.1.
I should hope/think so. I had actually given up on ftape (I have tried
almost all previous versions ;-() until I tried the 4.xx versions.
Cheers -- Jaap
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~1998-12-16 16:34 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-16 5:00 Docs for programming FDC on Alpha Peter W. Borders
1998-12-16 8:32 ` B. James Phillippe
1998-12-16 16:21 ` Jay.Estabrook
-- strict thread matches above, loose matches on Subject: below --
1998-12-15 21:12 B. James Phillippe
1998-12-15 21:28 ` Oscar Levi
1998-12-16 3:16 ` Kevin.Brown
1998-12-16 8:08 ` Jaap Schellekens
1998-12-16 8:39 ` B. James Phillippe
1998-12-16 11:28 ` Jaap Schellekens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox