Subject: strange high interrupt load and other problems.
To: None <current-users@netbsd.org>
From: Eric Auge <eau@phear.org>
List: current-users
Date: 06/09/2006 20:12:00
This is a multi-part message in MIME format.
--------------010207080300070603060102
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hello,

I'm currently using my recently bought laptop.
a brand new x60 running NetBSD-current.

the ethernet card is not working out of the box, little hacking needed.
(I've ported em(4) from openbsd -> netbsd, I will post the  work when
a bit of code cleaning is done, but it works _now_)

the wifi card is not yet supported but apparently somebody has finished
some work done on wpi(4) from openbsd, so it's coming..

core duo doesn't seem supported or I don't know the trick,
so only 1 CPU is seen and available for job to be done.

the SATA drive seems awfuly slow for some (to me) unknown reasons
I keep getting a _lot_ of interrupts (systat 1, :iostat)
when doing like a cvs update -PAd on pkgsrc and the load of the box
is going up to 3 or 4, nothing is running except xorg (from pkgsrc)
using the vesa driver (since i810 doesnt seems to support i950GM)
and a very light window manager (wmii) + 3 xterms.

firewire is not supported.

SD card reader is not supported.

sound (azalia(4)) make the system go to db>

at least frame buffer works nicely, but I cant compile with MULTIPROCESSOR
and other MPACPI options when using framebuffered console.

any idea why the box is running so slowly, it is slower than
my old laptop, running netbsd 3-stable (and working perfectly) ?

x60 1.5 Go of RAM, 60Go SATA Disk (working in compatible mode and not in AHCI
mode since AHCI doesnt seems to be supported), attached a dmesg of the
currently running kernel.

tell me how I can do/help to improve this situation, since I still want my
prefered OS (guess what! :) to run on this laptop even if it require to hack,
change, debug to make it work nicely.

Thanks for the mighty NetBSD project,

Regards,
Eric.

--------------010207080300070603060102
Content-Type: text/plain;
 name="x60.dmesg"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="x60.dmesg"

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
    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 3.99.20 (KameHouse) #1: Thu Jun  8 19:05:30 CES 2006
	root@kamehouse.no.phear.org:/usr/src-em/sys/arch/i386/compile/KAMEHOUSE
total memory = 1526 MB
avail memory = 1492 MB
BIOS32 rev. 0 found at 0xfd690
PCI BIOS rev. 2.1 found at 0xfd82b
pcibios: config mechanism [1][x], special cycles [x][x], last bus 24
PCI IRQ Routing Table rev. 1.0 found at 0xfdea0, size 272 bytes (15 entries)
PCI Interrupt Router at 000:31:0 (vendor 0x8086 product 0x122e compatible)
------------------------------------------
  device vendor product pin PIRQ IRQ stage
------------------------------------------
000:02:0 0x8086 0x27a2   A  0x00  11  0    already assigned
000:27:0 0x8086 0x27d8   B  0x01  11  0    already assigned
000:28:0 0x8086 0x27d0   A  0x04  11  0    already assigned
000:28:1 0x8086 0x27d2   B  0x05  11  0    already assigned
000:28:2 0x8086 0x27d4   C  0x06  11  0    already assigned
000:28:3 0x8086 0x27d6   D  0x07  11  0    already assigned
000:29:0 0x8086 0x27c8   A  0x00  11  0    already assigned
000:29:1 0x8086 0x27c9   B  0x01  11  0    already assigned
000:29:2 0x8086 0x27ca   C  0x02  11  0    already assigned
000:29:3 0x8086 0x27cb   D  0x03  11  0    already assigned
000:29:7 0x8086 0x27cc   D  0x03  11  0    already assigned
000:31:2 0x8086 0x27c4   B  0x00  11  0    fixed up
000:31:3 0x8086 0x27da   A  0x07  11  0    already assigned
002:00:0 0x8086 0x109a   A  0x04  11  0    already assigned
003:00:0 0x8086 0x4227   A  0x05  11  0    already assigned
021:00:0 0x1180 0x0476   A  0x00  11  0    already assigned
021:00:1 0x1180 0x0552   B  0x01  11  0    already assigned
021:00:2 0x1180 0x0822   C  0x02  11  0    already assigned
------------------------------------------
mainbus0 (root)
pci_addr_fixup: 000:31:2 0x8086 0x27c4 new address 0x00005800
pci_addr_fixup: 000:31:2 0x8086 0x27c4 new address 0x00005808
pci_addr_fixup: 000:31:2 0x8086 0x27c4 new address 0x00005810
pci_addr_fixup: 000:31:2 0x8086 0x27c4 new address 0x0000580c
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium Pro, II or III (686-class), 1828.89 MHz, id 0x6e8
cpu0: features bfe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features bfe9fbff<PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX>
cpu0: features bfe9fbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu0: features2 c1a9<SSE3,MONITOR,VMX,EST,TM2,xTPR>
cpu0: "Genuine Intel(R) CPU           T2400  @ 1.83GHz"
cpu0: I-cache 32 KB 64B/line 8-way, D-cache 32 KB 64B/line 8-way
cpu0: L2 cache 2 MB 64B/line 8-way
cpu0: using thermal monitor 1
cpu0: Enhanced SpeedStep (1004 mV)  - unknown CPU or operating point.
cpu0: 64 page colors
vesabios0 at mainbus0: version 3.0, Intel Corporation Intel(r)Calistoga Graphics Controller
vesafb0 at vesabios0: VESA frame buffer
vesafb0: fb 1024x768x8 @0xd0000000
vesafb0: VBE/PM 1.0 [standby] [suspend] [off] [reduced on]
wsdisplay0 at vesafb0 kbdmux 1: console (fb, vt100 emulation)
wsmux1: connecting to wsdisplay0
acpi0 at mainbus0: Advanced Configuration and Power Interface
acpi0: using Intel ACPI CA subsystem version 20060217
acpi0: X/RSDT: OemId <LENOVO,TP-7B   ,00001030>, AslId < LTP,00000000>
acpi0: found ECDT, GPE 28
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
acpi_allocate_resources: res=1
acpi: activate failed for IBM0071
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C01 at acpi0 not configured
acpilid0 at acpi0 (PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (PNP0C0E): ACPI Sleep Button
PNP0A08 at acpi0 not configured
PNP0C02 at acpi0 not configured
PNP0000 at acpi0 not configured
attimer1 at acpi0 (PNP0100): AT Timer
attimer1: io 0x40-0x43 irq 0
PNP0103 at acpi0 not configured
PNP0200 at acpi0 not configured
pcppi1 at acpi0 (PNP0800)
pcppi1: io 0x61
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
npx1 at acpi0 (PNP0C04)
npx1: io 0xf0 irq 13
npx1: using exception 16
PNP0B00 at acpi0 not configured
pckbc1 at acpi0 (PNP0303): kbd port
pckbc1: io 0x60,0x64 irq 1
pckbc2 at acpi0 (IBM3780): aux port
pckbc2: irq 12
ATM1200 at acpi0 not configured
acpiec0 at acpi0 (PNP0C09-0): ACPI Embedded Controller
acpiec0: io 0x62,0x66
ACPI Object Type 'Power' (0x0b) at acpi0 not configured
acpibat0 at acpi0 (PNP0C0A-0): ACPI Battery (Control Method)
acpiacad0 at acpi0 (ACPI0003-0): ACPI AC Adapter
IBM0068 at acpi0 not configured
acpitz0 at acpi0: ACPI Thermal Zone
acpitz0: unable to get polling interval; using default of 30.0s
acpitz0: passive cooling mode only
acpitz0: critical 127.0C
acpitz1 at acpi0: ACPI Thermal Zone
acpitz1: unable to get polling interval; using default of 30.0s
acpitz1: critical 97.0C passive 47.0C
pcppi1: attached to attimer1
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc1 (aux slot)
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x8086 product 0x27a0 (rev. 0x03)
vendor 0x8086 product 0x27a2 (VGA display, revision 0x03) at pci0 dev 2 function 0 not configured
vendor 0x8086 product 0x27a6 (miscellaneous display, revision 0x03) at pci0 dev 2 function 1 not configured
vendor 0x8086 product 0x27d8 (multimedia subclass 0x03, revision 0x02) at pci0 dev 27 function 0 not configured
ppb0 at pci0 dev 28 function 0: vendor 0x8086 product 0x27d0 (rev. 0x02)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
em0 at pci1 dev 0 function 0em_attach: begin: irq 11, address 00:16:d3:20:ce:0e
ppb1 at pci0 dev 28 function 1: vendor 0x8086 product 0x27d2 (rev. 0x02)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
vendor 0x8086 product 0x4227 (miscellaneous network, revision 0x02) at pci2 dev 0 function 0 not configured
ppb2 at pci0 dev 28 function 2: vendor 0x8086 product 0x27d4 (rev. 0x02)
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
ppb3 at pci0 dev 28 function 3: vendor 0x8086 product 0x27d6 (rev. 0x02)
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled, rd/line, wr/inv ok
uhci0 at pci0 dev 29 function 0: vendor 0x8086 product 0x27c8 (rev. 0x02)
uhci0: interrupting at irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1: vendor 0x8086 product 0x27c9 (rev. 0x02)
uhci1: interrupting at irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2: vendor 0x8086 product 0x27ca (rev. 0x02)
uhci2: interrupting at irq 11
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3: vendor 0x8086 product 0x27cb (rev. 0x02)
uhci3: interrupting at irq 11
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7: vendor 0x8086 product 0x27cc (rev. 0x02)
ehci0: interrupting at irq 11
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ppb4 at pci0 dev 30 function 0: vendor 0x8086 product 0x2448 (rev. 0xe2)
pci5 at ppb4 bus 5
pci5: i/o space, memory space enabled
cbb0 at pci5 dev 0 function 0: vendor 0x1180 product 0x0476 (rev. 0xb4)
vendor 0x1180 product 0x0552 (Firewire serial bus, interface 0x10, revision 0x09) at pci5 dev 0 function 1 not configured
vendor 0x1180 product 0x0822 (system subclass 0x05, revision 0x18) at pci5 dev 0 function 2 not configured
cbb0: interrupting at irq 11
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 6
pcmcia0 at cardslot0
pcib0 at pci0 dev 31 function 0
pcib0: vendor 0x8086 product 0x27b9 (rev. 0x02)
pciide0 at pci0 dev 31 function 2
pciide0: vendor 0x8086 product 0x27c4 (rev. 0x02)
pciide0: bus-master DMA support present, but unused (no driver support)
pciide0: primary channel wired to compatibility mode
pciide0: primary channel interrupting at irq 14
atabus0 at pciide0 channel 0
pciide0: secondary channel wired to compatibility mode
pciide0: secondary channel ignored (not responding; disabled or no drives?)
vendor 0x8086 product 0x27da (SMBus serial bus, revision 0x02) at pci0 dev 31 function 3 not configured
isa0 at pcib0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
isapnp0: no ISA Plug 'n Play devices found
WARNING: Callback scheduled before sysmon task queue thread present.
Kernelized RAIDframe activated
ugen0 at uhub3 port 1
ugen0: Broadcom Corp BCM2045B, rev 2.00/1.00, addr 2
wd0 at atabus0 drive 0: <HTS541080G9SA00>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
ugen1 at uhub3 port 2
ugen1: STMicroelectronics Biometric Coprocessor, rev 1.00/0.01, addr 3
wsdisplay0: screen 1 added (fb, vt100 emulation)
wsdisplay0: screen 2 added (fb, vt100 emulation)
wsdisplay0: screen 3 added (fb, vt100 emulation)
wsdisplay0: screen 4 added (fb, vt100 emulation)
wsdisplay0: screen 5 added (fb, vt100 emulation)
Accounting started
acpibat0: battery info: SANYO, LION, 92P1167,  2720

--------------010207080300070603060102--