*BSD News Article 79479


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!newsfeed.dacom.co.kr!arclight.uoregon.edu!news.uoregon.edu!hunter.premier.net!news1.erols.com!news
From: Ken Bigelow <kbigelow@www.play-hookey.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: network card crash with sb.
Date: Sun, 29 Sep 1996 14:23:59 +0000
Organization: Erol's Internet Services
Lines: 45
Message-ID: <324E867F.5C61@www.play-hookey.com>
References: <52imoa$rfp@ustsu10.ust.hk> <324D7334.23D8@www.play-hookey.com> <52lhuj$g44@ustsu10.ust.hk>
Reply-To: kbigelow@www.play-hookey.com
NNTP-Posting-Host: kenjb05.play-hookey.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (Win16; U)

Chiu Wai Pun, m^_^m (ykmpm) wrote:
> 
> Ken Bigelow (kbigelow@www.play-hookey.com) wrote:
> 8) Chiu Wai Pun, m^_^m (ykmpm) wrote:
> 8) > Hi all,
> 8) >         In short, my FreeBSD system have 3c503 and sb. They can work
> 8) >         individually by the same kernel. It mean I can either play audio
> 8) >         or make network travel. However, they cannot work at the same
> 8) >         time. What I mean is, if I start ping to remove host and play
> 8) >         audio. The system will hang. I already set the IRQ and DRQ so
> 8) >         they should not crash.
> 8) >         Thx.
> 
> 8) What IRQs, I/O ports, etc are you using for both cards? Did you set the
> 8) SB as described in LINT, or else change the indicated info in the header
> 8) file?
> 
>         ed0 port 0x300 irq 5 drq 3 iomem 0xc800
>         sb irq 10 drq 1
>         sbmidi port 0x330
>         sbvi drq 5
>         I hadn't change the header file but with options to declare the
>         Variable as the header is stated as ifndef.
> 
> 8) And: is your SB a Plug'n'Pray card?
> 
>         yes PnP , very trouble, I plug the card and the machine play me.
>         8~~
> 
> Pun

This would seem to identify your problem, then. As it says in LINT, the
sound ports and IRQs are hard-coded in i386/isa/sound/sound_config.h .
Also from LINT, it expects sb0 at 0x220, IRQ 7, drq 1.

The other half of the problem is PnP behavior on the ISA buss -- you
need to disable the PnP behavior and force fixed addresses for the
various sb functions. Otherwise it will screw with all IRQs that it
*might* be using.
-- 
Ken

Are you interested in   |
byte-sized education    |   http://www.play-hookey.com
over the Internet?      |