From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <9602061902.AA09868@brillig.amt.tay1.dec.com> Date: Tue, 06 Feb 96 14:02:22 -0500 From: Jay Estabrook - Alpha Migration Tools - LINUX Project Subject: Re: Sound v.s. Ethernet on AlphaStation 250? (fwd) In-Reply-To: <9602061824.AA05316@ives.amt.tay1.dec.com> > Date: Mon, 5 Feb 96 23:46:39 -0800 > Subject: Sound v.s. Ethernet on AlphaStation 250? > From: David Paul Zimmerman > To: "Alpha Linux @ RedHat" > > Folks, > > I'm getting this strange condition on my AlphaStation 250, which has two > de4x5 Ethernet interfaces, one PCI (eth0) and one built-in (eth1). eth1 > works peachy keen. eth0 is recognized on boot and ifconfig'ed just fine, > but I never hear boo through it. The most obvious clue that I see is that > the de4x5 driver is trying to attach eth0 to interrupt 9, where the > AlphaStation 250 sound card is apparently already squatting. In this > scenario, I don't actually have sound support compiled into the kernel > (1.3.57 + Alpha & TGA patches). > > 1st question: has anyone already dealt with this successfully? Yes, and no... :-) You're prolly right in guessing that the IRQ of the sound card may be conflicting with that of the DE435; IRQ 9 seems to be popular for sound cards in general, but it's also one of the 4 IRQ's (10,11, and 15 are the others) used for PCI devices if present, and set by the PCI BIOS init code. If you are booting LINUX from ARC via MILO, you could change the kernel's setup of the IRQ's assigned to the PCI slots in arch/alpha/kernel/bios32.c fixup code (ie in the code that inits the PIRQ registers). The PCI "slot" that the TGA is in may currently be setup in the PIRQs with IRQ 15, for example; simply switch whatever the TGA slot's IRQ for IRQ 9 in the PIRQ setup code, thus giving the DE435 the non-conflicting IRQ, as the TGA doesn't use its IRQ anyway. There's currently no interrupt sharing capability on the Alpha side of LINUX, so that can't be entertained as a solution. BTW, the AS250 is a *nice* box, quite fast from all I've heard... :-) > So, I'm thinking perhaps I need to compile in a driver for the sound > card, so that the interrupt will be allocated by it, and the PCI de4x5 > will then go squat on a different interrupt. It isn't 100% clear to me, > however, what particular incantation I should configure for the 250's > sound card. It has an OPL YMF262-M, so I'm choosing OPL 2/3 support, and > it has a Crystal CS4231A-KL, so I'm choosing Microsoft Sound System > support. However upon trying that, the system hangs during kernel boot > -- apparently upon trying to probe the sound device: > > Sound initialization started > snd24 > > and then an eerie quiet. > > 2nd question: has anyone already dealt with this successfully? >From the config file, MSS_DMA was set to 0; if this card is at all like the "card" built into the MULTIA/UDB, it will use DMA 3. And note that the MULTIA "card" is hardwired to the adress/IRQ/DMA, ie there's no registers for setting them as on a normal MSS. Now, this may be incorrect info for the card in the AS250, so your mileage may vary. If your card *has* those registers, it should be settable to avoid IRQ 9, by choosing some other IRQ that's free. Also, I know nothing about the OPL2/3 thingy, perhaps try configuring it out, ie just the MSS, for starters... Actually, from the chip names you give above, I believe what you have is a true superset of the degenerate MSS in the MULTIA/UDB, so you prolly have more flexibility than the latter. Do you have any machine and/or soundcard specs for this beastie? If not, I may know someone who is at least familiar with it enough to confirm/deny our suspicions... --Jay++ ------------------------------------------------------------------------------- American Non Sequitur Society: we don't make sense, but we do like pizza... Jay A Estabrook Alpha Migration Tools Mailstop: TAY1-2 (DTN) 227-4202 Digital Equipment Corp. (external) (508) 952-4202 151 Taylor Street enet: jestabro@amt.tay1.dec.com Littleton, MA 01460-1407 decnet: tallis::jestabro -------------------------------------------------------------------------------