Re: [PATCH] Tweak re-routing of PCI interrupts

From: Jens Rehsack <rehsack_at_liwing.de>
Date: Sat, 07 Jun 2003 13:08:12 +0200
On 6/6/2003 9:29 PM, Bernd Walter wrote:
> On Fri, Jun 06, 2003 at 01:17:43PM -0600, M. Warner Losh wrote:
>> In message: <20030606190745.GA1290_at_cicely12.cicely.de>
>>             Bernd Walter <ticso_at_cicely12.cicely.de> writes:
>> : I already wondered how you could route interrupts without ACPI until I
>> : booted my printserver with a recent kernel.
>> 
>> PCIBIOS!
> 
> Well - I'm not very familar with what i386 offer here.
> Specs are available here, so I could read.
> But in any case Johns patch revived my printserver (old HX
> socket7 board).
> Either my BIOS is broken or FreeBSD doesn't use it correctly.
> Whatever - I can run tests on that machine if required.

I agree to Bernd. I don't know the problem Warner have with the patch,
because it removes a big problem on non-acpi machines. Maybe a look to
kern/53010 (http://www.freebsd.org/cgi/query-pr.cgi?pr=53010) change
Warner's mind.

If required, I will test further patches according this problem, too.

Jens

-- 
dmesg of machine which now runs with the fix:
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.1-CURRENT #3: Sat Jun  7 12:06:31 GMT 2003
    root_at_winnie.helpers.liwing.de:/usr/obj/usr/src/sys/WINNIE
Preloaded elf kernel "/boot/kernel/kernel" at 0xc03a2000.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 199433685 Hz
CPU: Pentium Pro (199.43-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x619  Stepping = 9
  Features=0xf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV>
real memory  = 134217728 (128 MB)
avail memory = 126369792 (120 MB)
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <mass storage, ATA> at device 1.1 (no driver attached)
pci0: <unknown> at device 2.0 (no driver attached)
pci0: <unknown> at device 2.1 (no driver attached)
pci0: <display, VGA> at device 3.0 (no driver attached)
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0xf800-0xf8ff mem
0xfedfe000-0xfedfefff irq 11 at device 18.0 on pci0
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
ahc1: <Adaptec 2940 Ultra SCSI adapter> port 0xf400-0xf4ff mem
0xfedff000-0xfedfffff irq 9 at device 19.0 on pci0
aic7880: Ultra Wide Channel A, SCSI Id=5, 16/253 SCBs
orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ed1: <Plug & Play Ethernet Card> at port 0x220-0x23f iomem
0xc8000-0xcbfff irq 3 on isa0
ed1: address 00:c0:26:30:3a:68, type NE2000 (16 bit)
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
Timecounters tick every 10.000 msec
Waiting 15 seconds for SCSI devices to settle
da1 at ahc1 bus 0 target 0 lun 0
da1: <IBM DCAS-32160 S65A> Fixed Direct Access SCSI-2 device
da1: 10.000MB/s transfers (10.000MHz, offset 15)
da1: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C)
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DORS-32160    !# WA3E> Fixed Direct Access SCSI-2 device
da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
da0: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C)
Mounting root from ufs:/dev/da0s1a
Received on Sat Jun 07 2003 - 02:08:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:11 UTC