Port-amd64 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ACPI call for testing (take two)
On 1/7/2011 10:56 AM, Jukka Ruohonen wrote:
> Hello.
>
> Please try the attached patch on as many x86 systems as is possible.
>
> This follows the same ideas presented earlier by Joerg, but with some
> additional important changes.[1] Like with the earlier patch, it has been
> already verified that this fixes numerous problems related to the acpi(4)
> subsystem initialization and the x86 interrupt routing. (Thanks to all who
> pretested this.) The earlier discussion however indicated that some systems
> experienced problems. Thus, please at least report all regressions.
>
> I am currently working with the x86 interrupt management and this (or
> comparable) change must be made before more substantial changes can be
> tested.
>
> - Jukka.
>
> [1] http://mail-index.netbsd.org/port-amd64/2009/11/09/msg000991.html
Hi Jukka,
My AMD sys with your patch included, seems to run but it has a very high
interrupt load
(systat vmstat says 99k )
cheers thilo
1 user Load 0.00 0.02 0.00 Sat Jan 8 21:29:38
Proc:r d s Csw Trp Sys Int Sof Flt PAGING
SWAPPING
13 29 16 99058 44 in out
in out
ops
0.1% Sy 0.0% Us 0.0% Ni 42.3% In 57.6% Id pages
| | | | | | | | | | |
%%%%%%%%%%%%%%%%%%%%% forks
fkppw
memory totals (in kB) 99158
Interrupts fksvm
real virtual free 100 cpu0
timer pwait
Active 53336 53336 1893536 global TLB
IPI relck
All 89564 89564 2025548 99049 ioapic0 pin
9 rlkok
ioapic0 pin
19 noram
Namei Sys-cache Proc-cache ioapic0 pin
20 ndcpy
Calls hits % hits % 6 ioapic0 pin
14 fltcp
6 6 100 3 ioapic0 pin
15 zfod
ioapic0 pin
21 cow
Disks: wd0 cd0 wd1 wd2 ioapic0 pin 4
512 fmin
seeks
682 ftarg
xfers 6
2 itarg
bytes 72K 16K
1498 wired
%busy
1.2 pdfre
Below are the boot msgs
>> NetBSD/x86 BIOS Boot, Revision 5.3 (from NetBSD 5.99.13)
>> Memory: 636/2029440 k
10069004+545888+428700 [510480+497314]=0xb804e4
Loading ffs
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 5.99.43 (GENERIC) #1: Sat Jan 8 02:43:11 CET 2011
thilo@rescue:/mnt/obj.51head/sys/arch/i386/compile/GENERIC
total memory = 1982 MB
avail memory = 1936 MB
mainbus0 (root)
cpu0 at mainbus0 apid 0: AMD 686-class, 2099MHz, id 0x60fb1
cpu0: AMD PowerNow! Technology 2100 MHz
cpu0: available frequencies (MHz): 1000 1800 2000 2100
cpu1 at mainbus0 apid 1: AMD 686-class, 2099MHz, id 0x60fb1
ioapic0 at mainbus0 apid 2
ioapic1 at mainbus0 apid 3
acpi0 at mainbus0: Intel ACPICA 20100528
CPU0 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
CPU1 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
PMIO (PNP0C02) at acpi0 not configured
SYSR (PNP0C02) at acpi0 not configured
attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
npx1 at acpi0 (COPR, PNP0C04): io 0xf0-0xff irq 13
UAR1 (PNP0501) at acpi0 not configured
UAR2 (PNP0501) at acpi0 not configured
LPT1 (PNP0400) at acpi0 not configured
EXPL (PNP0C02) at acpi0 not configured
MEM (PNP0C01) at acpi0 not configured
FAN (PNP0C0B) at acpi0 not configured
acpitz0 at acpi0 (THRM): ACPI Thermal Zone
acpitz0: active cooling level 0: 73.0C
apm0 at acpi0: Power Management spec V1.2
attimer1: attached to pcppi1
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0: vendor 0x1106 product 0x0336 (rev. 0x00)
agp0 at pchb0 (v3): aperture at 0xd0000000, size 0x10000000
pchb1 at pci0 dev 0 function 1: vendor 0x1106 product 0x1336 (rev. 0x00)
pchb2 at pci0 dev 0 function 2: vendor 0x1106 product 0x2336 (rev. 0x00)
pchb3 at pci0 dev 0 function 3: vendor 0x1106 product 0x3336 (rev. 0x00)
pchb4 at pci0 dev 0 function 4: vendor 0x1106 product 0x4336 (rev. 0x00)
vendor 0x1106 product 0x5336 (interrupt system, interface 0x20) at pci0
dev 0 function 5 not configured
pchb5 at pci0 dev 0 function 7: vendor 0x1106 product 0x7336 (rev. 0x00)
ppb0 at pci0 dev 1 function 0: vendor 0x1106 product 0xb188 (rev. 0x00)
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0: vendor 0x1106 product 0x3230 (rev. 0x11)
wsdisplay0 at vga1 kbdmux 1
viadrm0 at vga1: VIA K8M890
viadrm0: AGP at 0xd0000000 128MB
viadrm0: Initialized via 2.11.1 20070202
ppb1 at pci0 dev 2 function 0: vendor 0x1106 product 0xa238 (rev. 0x00)
pci2 at ppb1 bus 2
ppb2 at pci0 dev 3 function 0: vendor 0x1106 product 0xc238 (rev. 0x00)
pci3 at ppb2 bus 3
bktr0 at pci0 dev 5 function 0
bktr0: interrupting at ioapic0 pin 16
bktr0: Leadtek WinFast TV2000/VC100, Philips FR1236 NTSC FM tuner.
radio0 at bktr0
vendor 0x109e product 0x0878 (miscellaneous multimedia, revision 0x11)
at pci0 dev 5 function 1 not configured
rtk0 at pci0 dev 9 function 0: Realtek 8139 10/100BaseTX (rev. 0x10)
rtk0: interrupting at ioapic0 pin 19
rtk0: Ethernet address 00:15:58:6d:63:81
rlphy0 at rtk0 phy 7: Realtek internal PHY
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
viaide0 at pci0 dev 15 function 0: VIA Technologies VT8237 SATA
Controller (rev. 0x80)
viaide0: using ioapic0 pin 20 for native-PCI interrupt
atabus0 at viaide0 channel 0
atabus1 at viaide0 channel 1
viaide1 at pci0 dev 15 function 1
viaide1: VIA Technologies VT8237 ATA133 controller
viaide1: primary channel interrupting at ioapic0 pin 14
atabus2 at viaide1 channel 0
viaide1: secondary channel interrupting at ioapic0 pin 15
atabus3 at viaide1 channel 1
uhci0 at pci0 dev 16 function 0: vendor 0x1106 product 0x3038 (rev. 0x81)
uhci0: interrupting at ioapic0 pin 21
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 16 function 1: vendor 0x1106 product 0x3038 (rev. 0x81)
uhci1: interrupting at ioapic0 pin 21
usb1 at uhci1: USB revision 1.0
uhci2 at pci0 dev 16 function 2: vendor 0x1106 product 0x3038 (rev. 0x81)
uhci2: interrupting at ioapic0 pin 21
usb2 at uhci2: USB revision 1.0
uhci3 at pci0 dev 16 function 3: vendor 0x1106 product 0x3038 (rev. 0x81)
uhci3: interrupting at ioapic0 pin 21
usb3 at uhci3: USB revision 1.0
ehci0 at pci0 dev 16 function 4: vendor 0x1106 product 0x3104 (rev. 0x86)
ehci0: interrupting at ioapic0 pin 21
ehci0: dropped intr workaround enabled
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3
usb4 at ehci0: USB revision 2.0
viapcib0 at pci0 dev 17 function 0: vendor 0x1106 product 0x3227 (rev. 0x00)
viapcib0: SMBus found at 0x500 (revision 0x0)
iic0 at viapcib0: I2C bus
auvia0 at pci0 dev 17 function 5: VIA Technologies VT8237 AC'97 Audio
(rev 0x60)
auvia0: interrupting at ioapic0 pin 22
auvia0: ac97: Avance Logic ALC655 codec; no 3D stereo
auvia0: ac97: ext id 0x9c4<AC97_23,LDAC,SDAC,CDAC,SPDIF>
audio0 at auvia0: full duplex, playback, capture, independent
pchb6 at pci0 dev 24 function 0: vendor 0x1022 product 0x1100 (rev. 0x00)
pchb7 at pci0 dev 24 function 1: vendor 0x1022 product 0x1101 (rev. 0x00)
pchb8 at pci0 dev 24 function 2: vendor 0x1022 product 0x1102 (rev. 0x00)
amdtemp0 at pci0 dev 24 function 3: AMD CPU Temperature Sensors (K8:
core rev BH-G1, socket AM2)
isa0 at viapcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
uhub0 at usb0: vendor 0x1106 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1 at usb1: vendor 0x1106 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2 at usb2: vendor 0x1106 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3 at usb3: vendor 0x1106 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub4 at usb4: vendor 0x1106 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
viaide0 port 1: device present, speed: 1.5Gb/s
wd0 at atabus1 drive 0: <ST31000333AS>
wd0: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168
sectors
atapibus0 at atabus2: 2 targets
cd0 at atapibus0 drive 0: <PIONEER DVD-RW DVR-109, EADL078870WL, 1.58>
cdrom removable
wd1 at atabus2 drive 1: <FUJITSU MPF3102AT>
wd1: 9773 MB, 19857 cyl, 16 head, 63 sec, 512 bytes/sect x 20015856 sectors
uhidev0 at uhub4 port 4 configuration 1 interface 1
uhidev0: Afatech DVB-T, rev 2.00/2.00, addr 2, iclass 3/0
ukbd0 at uhidev0
wskbd0 at ukbd0 mux 1
uhidev1 at uhub0 port 1 configuration 1 interface 0
wd2 at atabus3 drive 0: <WDC WD3200JB-00KFA0>
wd2: 298 GB, 620181 cyl, 16 head, 63 sec, 512 bytes/sect x 625142448 sectors
uhidev1: PATEN USB/PS2 Combo Receiver, rev 1.10/1.04, addr 2, iclass 3/1
ums0 at uhidev1: 3 buttons and Z dir
wsmouse0 at ums0 mux 0
boot device: wd1
root on wd1a dumps on wd1b
root file system type: ffs
Sat Jan 8 21:20:38 CET 2011
Starting root file system check:
/dev/rwd1a: file system is clean; not checking
.....
Home |
Main Index |
Thread Index |
Old Index