From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,b0b52e7257065099 X-Google-Attributes: gid111c93,public From: robert@physiol.med.tu-muenchen.de (Robert Wilhelm) Subject: Re: Linux on alpha boards? Date: 1998/07/28 Message-ID: <6plepm$6ch$1@snoopy.physiol.med.tu-muenchen.de>#1/1 X-Deja-AN: 375775235 Distribution: world References: <6pl8ai$4n6$1@sunsystem5.informatik.tu-muenchen.de> Organization: Physiologisches Institut TU Muenchen Newsgroups: comp.os.linux.alpha Christian Stieber 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