* Re: Linux on alpha boards?
1998-07-28 4:00 Linux on alpha boards? Christian Stieber
@ 1998-07-28 4:00 ` Robert Wilhelm
1998-07-29 4:00 ` Christian Stieber
1998-08-03 4:00 ` Linux on " Danny ter Haar
1998-07-29 4:00 ` Christian Lefevre
1 sibling, 2 replies; 8+ messages in thread
From: Robert Wilhelm @ 1998-07-28 4:00 UTC (permalink / raw)
Christian Stieber <stieber@Informatik.TU-Muenchen.DE> writes:
>Hi,
>first of all: I have read (most of) http://www.azstarnet.com/~axplinux/ :-)
fine :-)
>- SCSI: the current Digital boards (164SX, 164LX (which I like most, not
> knowing how much I'll have to pay for it...) and 164) don't have onboard
> SCSI. Does the EIDE port use DMA? Can Linux _boot_ from a SCSI disk
> via some PCI card? Which boards are supported?
AFAIK DMA is (was?) not supported and EIDE disks are very slow with these
boards. Better buy SCSI. Supported are at least Adaptec 2940 and the
Symbios boards.
>- Installing in general: I don't really want to buy Digital Unix or WindowsNT,
> so can I _install_ Linux without these? As far as I can see, MILO
> can boot Linux right away, but I need to install MILO and some basic
> Linux kernel and software first...
No need to buy DU or WNT. You can install MILO directly from
the ALPHA Bios.
>- PCI: I assume that most of the PCI boards that are around are 32 bit
> boards. Can I use these boards in a 64 bit slot?
Yes.
>- PCI, again: assuming I have an x86 Linux driver for soe board,
> how "compatible" are these to the Alpha Linux/hardware? Well, rather:
> would making an Alpha driver involve a complete rewrite, or can x86
> drivers generally be used without "too many" changes?
In theory this should work rather painless, but there are
quite a few pitfalls:
- if the card has its own bios which is executed during boot,
you might run into problems. There is an x86 emulator
in the alpha bios which works with most usual boards,
but the emulation in probably not 100% bullet-proof,
so there might be problem with an exotic board.
- On alpha int is 32 bit, but pointers and longs are 64bit.
On x86 everything is 32bit. These can cause lot off
problems, if the driver author "mixes" all these types.
- page size on alpha is twice as big as on x86.
- after mapping onboard memory and i/o ports with vremap or ioremap,
you have to access the memory directly and must not use
e.g. the readl() and writel() functions.
Robert
^ permalink raw reply [flat|nested] 8+ messages in thread
* Linux on alpha boards?
@ 1998-07-28 4:00 Christian Stieber
1998-07-28 4:00 ` Robert Wilhelm
1998-07-29 4:00 ` Christian Lefevre
0 siblings, 2 replies; 8+ messages in thread
From: Christian Stieber @ 1998-07-28 4:00 UTC (permalink / raw)
Hi,
first of all: I have read (most of) http://www.azstarnet.com/~axplinux/ :-)
However, since this is the first time I even consider buying an Alpha
board (basically because I don't like the x86 chaos, and because
Motorola doesn't seem to be intrested to sell PowerPC boards, or get
some CHRP/PREP marketing going...), I'm not very familiar with
Alphas. Right now I seem to have a couple of simple questions (aside
from prices, which I hope to get from some distributors...):
- SCSI: the current Digital boards (164SX, 164LX (which I like most, not
knowing how much I'll have to pay for it...) and 164) don't have onboard
SCSI. Does the EIDE port use DMA? Can Linux _boot_ from a SCSI disk
via some PCI card? Which boards are supported?
- Installing in general: I don't really want to buy Digital Unix or WindowsNT,
so can I _install_ Linux without these? As far as I can see, MILO
can boot Linux right away, but I need to install MILO and some basic
Linux kernel and software first...
- PCI: I assume that most of the PCI boards that are around are 32 bit
boards. Can I use these boards in a 64 bit slot?
- PCI, again: assuming I have an x86 Linux driver for soe board,
how "compatible" are these to the Alpha Linux/hardware? Well, rather:
would making an Alpha driver involve a complete rewrite, or can x86
drivers generally be used without "too many" changes?
- ... [ the questions I forgot ] :-)
Thanks for any feedback,
Christian
--
Christian Stieber http://www.informatik.tu-muenchen.de/~stieber
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Linux on alpha boards?
1998-07-28 4:00 Linux on alpha boards? Christian Stieber
1998-07-28 4:00 ` Robert Wilhelm
@ 1998-07-29 4:00 ` Christian Lefevre
1998-07-29 4:00 ` Christian Stieber
1 sibling, 1 reply; 8+ messages in thread
From: Christian Lefevre @ 1998-07-29 4:00 UTC (permalink / raw)
In article <6pl8ai$4n6$1@sunsystem5.informatik.tu-muenchen.de>,
Christian Stieber <stieber@Informatik.TU-Muenchen.DE> writes:
|> - SCSI: the current Digital boards (164SX, 164LX (which I like most, not
|> knowing how much I'll have to pay for it...) and 164) don't have onboard
|> SCSI. Does the EIDE port use DMA? Can Linux _boot_ from a SCSI disk
|> via some PCI card? Which boards are supported?
I don t know exactly about IDE DMA support, but it seems to be recommended to
use scsi on alpha (at least for the hard drives), since the IDE performances are
no good (mainly under Linux, because of real weak drivers for the chipset from
what I heard).
Yes it can boot from a scsi HD, lots of people have scsi only boxes. The only
thing is that you ve to have a recognized controller. As for myself I boot
MILO from a floppy, since the alphabios has difficulties detecting the disks on
my Tekram UW card, but once I put a 2940 with external drive and it was
detected. There s a list of supported controllers on www.dcginc.com for
instance. Mainly, you can go for the adaptec, but the support under Linux isn t
that great (things are changing I think), or the Intraserver. As for other cards
I don t know. The tekram seems to have pb with alphabios but works great under
linux.
|> - Installing in general: I don't really want to buy Digital Unix or WindowsNT,
|> so can I _install_ Linux without these? As far as I can see, MILO
|> can boot Linux right away, but I need to install MILO and some basic
|> Linux kernel and software first...
The alphabios allow you to launch milo from either a disk partition, a floppy or
a cdrom, so the first you can launch it from floppy or cdrom, then install Linux
and copy it on a disk partition for the next time. You don t need any extra OS
for that. I ve only installed Linux on mine.
|> - PCI: I assume that most of the PCI boards that are around are 32 bit
|> boards. Can I use these boards in a 64 bit slot?
Yes it works (hopefully, since I ve already 5 pci boards to plug in those only 4
slots... If it didn t work, I ll have to throw away 3 of them!).
|> - PCI, again: assuming I have an x86 Linux driver for soe board,
|> how "compatible" are these to the Alpha Linux/hardware? Well, rather:
|> would making an Alpha driver involve a complete rewrite, or can x86
|> drivers generally be used without "too many" change?
I think there aren t too many changes since the PCI specification should remain
the same. Mainly the problems could stem from the 64bits long pointers vs 32bits
long on Intel. But I m not a device driver expert yet. :o)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Linux on alpha boards?
1998-07-28 4:00 ` Robert Wilhelm
@ 1998-07-29 4:00 ` Christian Stieber
1998-07-29 4:00 ` EIDE on LX " Joachim Wesner
1998-08-03 4:00 ` Linux on " Danny ter Haar
1 sibling, 1 reply; 8+ messages in thread
From: Christian Stieber @ 1998-07-29 4:00 UTC (permalink / raw)
Robert Wilhelm <robert@physiol.med.tu-muenchen.de> wrote:
> Christian Stieber <stieber@Informatik.TU-Muenchen.DE> writes:
>>first of all: I have read (most of) http://www.azstarnet.com/~axplinux/ :-)
> fine :-)
Thanks :-) I'm trying to avoid FAQs, but obviously I can't :-(
>>- SCSI: the current Digital boards (164SX, 164LX (which I like most, not
>> knowing how much I'll have to pay for it...) and 164) don't have onboard
>> SCSI. Does the EIDE port use DMA? Can Linux _boot_ from a SCSI disk
>> via some PCI card? Which boards are supported?
> AFAIK DMA is (was?) not supported and EIDE disks are very slow with these
> boards. Better buy SCSI. Supported are at least Adaptec 2940 and the
> Symbios boards.
Well, I start to believe this. Everybody has advised against EIDE (I
have used SCSI for the last 100 years or so, but I was actually
considering buying an EIDE harddisk to save the money for the extra
USCSI hostadapter... and the slot (for some reason I have not (yet?)
found a board with both an USCSI (for the internal drives, i.e. HD)
and a SCSI-2/FastSCSI hostadapter (for external drives: CDROM, MOD,
Streamer)...).
>> would making an Alpha driver involve a complete rewrite, or can x86
>> drivers generally be used without "too many" changes?
> In theory this should work rather painless, but there are
> quite a few pitfalls:
> ...
Doesn't seem _that_ serious :-) Besides, I'm not even sure whether I
need to use another PCI-board --- Gfx and SCSI should be supported already;
I'm not sure about sound (ISA soundblaster, maybe?) --- but sound
is something that I have time to work on, since the system should
come up and work fine without sound :-). Seems I don't need any
additional PCI boards anyway :-)
Thanks,
Christian
--
Christian Stieber http://www.informatik.tu-muenchen.de/~stieber
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Linux on alpha boards?
1998-07-29 4:00 ` Christian Lefevre
@ 1998-07-29 4:00 ` Christian Stieber
1998-08-16 4:00 ` cekim
0 siblings, 1 reply; 8+ messages in thread
From: Christian Stieber @ 1998-07-29 4:00 UTC (permalink / raw)
Christian Lefevre <clefevre@sophia.inria.fr> wrote:
> |> SCSI. Does the EIDE port use DMA? Can Linux _boot_ from a SCSI disk
> |> via some PCI card? Which boards are supported?
> I don t know exactly about IDE DMA support, but it seems to be recommended to
> use scsi on alpha (at least for the hard drives), since the IDE performances are
> no good
Well, that's what everybody else has told me, too :-)
> Yes it can boot from a scsi HD, lots of people have scsi only boxes. The only
> thing is that you ve to have a recognized controller. As for myself I boot
> MILO from a floppy, since the alphabios has difficulties detecting the disks on
> my Tekram UW card, but once I put a 2940 with external drive and it was
> detected.
Well, if one can boot from floppy, I think I can risk it :-) If there
are problems (I'm planning to put in some probably-Symbios USCSI and
some I-don't-know-yet SCSI-2/FastSCSI hostadapters) I hope to be able
to fix them, provided I can boot Linux...
> instance. Mainly, you can go for the adaptec, but the support under Linux isn t
> that great (things are changing I think),
Hm... other people seemed less concerned :-)
> |> - PCI: I assume that most of the PCI boards that are around are 32 bit
> |> boards. Can I use these boards in a 64 bit slot?
> Yes it works (hopefully, since I ve already 5 pci boards to plug in those only 4
> slots... If it didn t work, I ll have to throw away 3 of them!).
:-) Same here, sort of. Two SCSI adapters (nobody seems to make adapters
with an USCSI and an SCSI2 channel on the same board) and a gfx board
use 3 slots :-(
Thanks,
Christian
--
Christian Stieber http://www.informatik.tu-muenchen.de/~stieber
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: EIDE on LX alpha boards?
1998-07-29 4:00 ` Christian Stieber
@ 1998-07-29 4:00 ` Joachim Wesner
0 siblings, 0 replies; 8+ messages in thread
From: Joachim Wesner @ 1998-07-29 4:00 UTC (permalink / raw)
Christian Stieber wrote:
>
> Robert Wilhelm <robert@physiol.med.tu-muenchen.de> wrote:
> > Christian Stieber <stieber@Informatik.TU-Muenchen.DE> writes:
>
> >>- SCSI: the current Digital boards (164SX, 164LX (which I like most, not
> >> knowing how much I'll have to pay for it...) and 164) don't have onboard
> >> SCSI. Does the EIDE port use DMA? Can Linux _boot_ from a SCSI disk
> >> via some PCI card? Which boards are supported?
>
> > AFAIK DMA is (was?) not supported and EIDE disks are very slow with these
> > boards. Better buy SCSI. Supported are at least Adaptec 2940 and the
> > Symbios boards.
>
> Well, I start to believe this. Everybody has advised against EIDE (I
> have used SCSI for the last 100 years or so, but I was actually
> considering buying an EIDE harddisk to save the money for the extra
>
Don't do it, if you do not really need to. I "parked" a brand new 6.4 Gb
EIDE disk I bought for my home Intel box, that however, I do not yet
need there, in my company PC164 LX 533 Alpha (which has a 4 GB SCSI disk
via 2940 UW) and did some tests. You get max. 1.5 M/s transfer rate and
if you do heavy accesses, system performance really becomes VERY
sluggish. If you do not even enable interrupts during hd access (hdparm
-u 1), the system clock even looses badly. (BTW, this can cause that you
seem to see pretty good transfer rates with hdparm -tT, but it's only
the clock going as slow as the disk !! This seems to explain the
apparently better rates somebody posted last year). I played around with
all kinds of hdparm options (many don't work, as setting PIO modes), no
real improvement.
I really would hope somebody could fix the CMD64x driver, it doesn't
seem that the hardware itself is so bad. Couldn't there be a BSD driver
or the like where one could "steal" some ideas ?? If I only had more
time, I would try it myself.... .... maybe.... ???
Joachim
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Linux on alpha boards?
1998-07-28 4:00 ` Robert Wilhelm
1998-07-29 4:00 ` Christian Stieber
@ 1998-08-03 4:00 ` Danny ter Haar
1 sibling, 0 replies; 8+ messages in thread
From: Danny ter Haar @ 1998-08-03 4:00 UTC (permalink / raw)
Robert Wilhelm <robert@physiol.med.tu-muenchen.de> wrote:
>Christian Stieber <stieber@Informatik.TU-Muenchen.DE> writes:
>> Does the EIDE port use DMA?
Nope
>> Can Linux _boot_ from a SCSI disk via some PCI card?
yes !
>AFAIK DMA is (was?) not supported and EIDE disks are very slow with these
>boards.
right!
LX Motherboard (533Mhz cpu) with maxtor 8.4 GB harddisk
is where i am typing from (running experimental Debian Linux)
shows:
hdparm -t /dev/hda
/dev/hda:
Timing buffered disk reads: 32 MB in 23.64 seconds = 1.35 MB/sec
Same harddisk on a amd-k6-2_300Mhz achieves 14.7Mb/s !!
> Better buy SCSI. Supported are at least Adaptec 2940 and the
> Symbios boards.
I was able to boot from symbios UWscsi controller/harddisk just
fine !
>No need to buy DU or WNT. You can install MILO directly from
>the ALPHA Bios.
Correct. In case of RedHat get a bootable CD and a cdrom.
With debian you will need addional steps (for now ;-)
>> Can I use these boards in a 64 bit slot?
>Yes.
On the LX motherboard 2 are in stalled
Nice toy ;-)
Danny
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Linux on alpha boards?
1998-07-29 4:00 ` Christian Stieber
@ 1998-08-16 4:00 ` cekim
0 siblings, 0 replies; 8+ messages in thread
From: cekim @ 1998-08-16 4:00 UTC (permalink / raw)
A little stale, but what the heck, I will share my pain...
Linux on ALpha works with both IDE and SCSI, but I found the IDE to be both
slow and EXTREMELY unstable.
Did I mention is was EXTREMELY unstable?
I compiled the "bugfix" for the "broken CMD640 IDE controller. That helped
somewhat, but occaisionally it would just reboot once in X.
I would hope this has improved in recent versions (this was way back with the
2.0.32 kernel :))
I have noticed with my current setup (2.0.35) that the addition of an IDE
device(CDROM) results in periodic errors relating to unexpected interupts.
These are handled gracefully it seems -no hang-, but the errors appear
nonetheless.
I only used IDE drives until I would free up some SCSI hardware from another
system and I would strongly reccomend to anyone that IDE is not the way to go
for the time being.
Not to mention that the bump from 32-64 bits can easily increase the BW
to/from the HDD. We need all we can get!
/Mike
In article <6pmvnc$a7s$2@sunsystem5.informatik.tu-muenchen.de>,
Christian Stieber <stieber@Informatik.TU-Muenchen.DE> wrote:
> Christian Lefevre <clefevre@sophia.inria.fr> wrote:
>
> > |> SCSI. Does the EIDE port use DMA? Can Linux _boot_ from a SCSI disk
> > |> via some PCI card? Which boards are supported?
>
> > I don t know exactly about IDE DMA support, but it seems to be recommended
to
> > use scsi on alpha (at least for the hard drives), since the IDE performances
are
> > no good
>
> Well, that's what everybody else has told me, too :-)
>
> > Yes it can boot from a scsi HD, lots of people have scsi only boxes. The
only
> > thing is that you ve to have a recognized controller. As for myself I boot
> > MILO from a floppy, since the alphabios has difficulties detecting the disks
on
> > my Tekram UW card, but once I put a 2940 with external drive and it was
> > detected.
>
> Well, if one can boot from floppy, I think I can risk it :-) If there
> are problems (I'm planning to put in some probably-Symbios USCSI and
> some I-don't-know-yet SCSI-2/FastSCSI hostadapters) I hope to be able
> to fix them, provided I can boot Linux...
>
> > instance. Mainly, you can go for the adaptec, but the support under Linux
isn t
> > that great (things are changing I think),
>
> Hm... other people seemed less concerned :-)
>
> > |> - PCI: I assume that most of the PCI boards that are around are 32 bit
> > |> boards. Can I use these boards in a 64 bit slot?
>
> > Yes it works (hopefully, since I ve already 5 pci boards to plug in those
only 4
> > slots... If it didn t work, I ll have to throw away 3 of them!).
>
> :-) Same here, sort of. Two SCSI adapters (nobody seems to make adapters
> with an USCSI and an SCSI2 channel on the same board) and a gfx board
> use 3 slots :-(
>
> Thanks,
>
> Christian
>
> --
> Christian Stieber http://www.informatik.tu-muenchen.de/~stieber
>
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~1998-08-16 4:00 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-28 4:00 Linux on alpha boards? Christian Stieber
1998-07-28 4:00 ` Robert Wilhelm
1998-07-29 4:00 ` Christian Stieber
1998-07-29 4:00 ` EIDE on LX " Joachim Wesner
1998-08-03 4:00 ` Linux on " Danny ter Haar
1998-07-29 4:00 ` Christian Lefevre
1998-07-29 4:00 ` Christian Stieber
1998-08-16 4:00 ` cekim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox