From owner-freebsd-questions Wed Jul 2 09:40:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA13518 for questions-outgoing; Wed, 2 Jul 1997 09:40:19 -0700 (PDT) Received: from gatekeeper.barcode.co.il (gatekeeper.barcode.co.il [192.116.93.17]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA13513 for ; Wed, 2 Jul 1997 09:40:14 -0700 (PDT) Received: (from nadav@localhost) by gatekeeper.barcode.co.il (8.8.5/8.6.12) id TAA14940; Wed, 2 Jul 1997 19:39:20 +0300 (IDT) Date: Wed, 2 Jul 1997 19:39:20 +0300 (IDT) From: Nadav Eiron To: Ralph Rye cc: freebsd-questions@FreeBSD.ORG Subject: Re: New Kernel Build Questions In-Reply-To: <33BA7B60.248B57F9@sparknet.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, 2 Jul 1997, Ralph Rye wrote: > Hi, > > I am new to UNIX in the pc arena ( experienced with sparc stations & > hp900 systems), and I am attempting to build a custom kernel for FreeBSD > 2.2.2 and I have some question regarding IRQ settings and and how pci > devices get assigned IRQ. > > System layout > Motherboard: TYAN TITAN III > Bios settings: > LPT: IRQ 5 (Connected to Espon > Stylus Color) > Serial Port1: Com 1 IRQ 4 > (Connected to MS serial mouse) > Serial Port2: Com 2 IRQ 3 > (Connected to Epson line printer) > SCSI Controller: Adaptec 2940 UW > SCSI Devices: Seagate Barcoda 2.1 GB HD > Exabyte 4200 4MM tape drive > Video Card : PCI : STB Nitro 3D > Modem Internel : Sporter X2 : Setting Com4 IRQ 2 > Sound Card : AWE32 Not currently pluged in because I do not know > the settings > CDROM : Creative IDE CDROM : connected to primary ide > Floppy Drive : Generic 1.44 mb floppy > > Question 1: > In dmesg I see that lpt0 is at 0x278 IRQ 7 but my bois is set to > IRQ 5, should I change the IRQ setting in my kernel config to IRQ 5 or > change my bois. Also dmesg reports that vga0 is on IRQ 7 ( problems > here?). Either should do. My lpt0 is on IRQ7, but if IRQ5 is free, it should work. > > Question 2: > Does the pci devices automatically get assigned IRQ and > addresses that have not been used yet? I.E. will the bios first look at > all of my devices that use IRQ and reserve those IRQ's and then assign > the remaining to the pci devices? Sort of. Some motherboards will let you control that to some extent, but basically PCI IRQs and addresses are automatically assigned. > > Question 3: > What are the reserved IRQ's. It looks like the floppy is assigned > "6" and the IDE controller's get "14 & 15" and the system console is > assigned "1". Also I thought I read somewhere that IRQ 2 =9? ( My modem > is assigned IRQ "2") 2 and 9 are indeed the same. The PC has two cascaded interrupt controllers and IRQ2 is used to cascade them. This might be the reason your vga0 shows up on 7 (mine shows up on 9). 12 is generaly used by the PS/2 style mice, so if you have a serial mouse, it will probably be free. > > Question 4: > For my Creative Labs AWE32 sound which is plug & play how can I > find out the settings? Don't know. > > Thanks in advance. > > -Ralph Rye > > Nadav