Date: Wed, 2 Jul 1997 19:39:20 +0300 (IDT) From: Nadav Eiron <nadav@barcode.co.il> To: Ralph Rye <rrye@sparknet.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: New Kernel Build Questions Message-ID: <Pine.BSF.3.91.970702193557.14905A-100000@gatekeeper.barcode.co.il> In-Reply-To: <33BA7B60.248B57F9@sparknet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970702193557.14905A-100000>