Subject: Interrupt problem
To: None <port-i386@netbsd.org>
From: Jean-Edouard BABIN <listes@jeb.com.fr>
List: port-i386
Date: 04/20/2005 06:52:59
Hello,

I have installed NetBSD 2.0.2 on a new computer, but when i do "cp file1
file2" i have a little problem, this do a lot of interrupt so the copy is
very very slow

CPU states:  0.0% user,  0.0% nice, 12.9% system, 86.1% interrupt, 1.0% idle
 1705   1001    61    0   100K  592K RUN        0:23 96.92% 67.77% cp

There is a simple solution or is it a driver problem ?

Here is the dmesg (i have the same problem with GENERIC)

NetBSD 2.0.2 (NOVA) #1: Tue Apr 19 22:30:58 CEST 2005
        root@nova:/usr/src/sys/arch/i386/compile/NOVA
total memory = 958 MB
avail memory = 934 MB
BIOS32 rev. 0 found at 0xf0010
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel (686-class), 2394.47 MHz, id 0xf34
cpu0: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu0: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu0: I-cache 12K uOp cache 8-way
cpu0: ITLB 4K/4M: 128 entries
cpu0: DTLB 4K/4M: 64 entries
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: ATI Technologies product 0x5833 (rev. 0x02)
agp at pchb0 not configured
ppb0 at pci0 dev 1 function 0: ATI Technologies product 0x5838 (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 5 function 0: ATI Technologies product 0x5834 (rev. 0x00)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
ohci0 at pci0 dev 19 function 0: ATI Technologies product 0x4347 (rev. 0x01)
ohci0: interrupting at irq 10
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: ATI Technologie OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 19 function 1: ATI Technologies product 0x4348 (rev. 0x01)
ohci1: interrupting at irq 10
ohci1: OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: ATI Technologie OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ehci0 at pci0 dev 19 function 2: ATI Technologies product 0x4345 (rev. 0x01)
ehci0: interrupting at irq 10
ehci0: EHCI version 1.0
ehci0: companion controllers, 3 ports each: ohci0 ohci1
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: ATI Technologie EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 6 ports with 6 removable, self powered
ATI Technologies product 0x4353 (SMBus serial bus, revision 0x18) at pci0
dev 20 function 0 not configured
pciide0 at pci0 dev 20 function 1
pciide0: ATI Technologies product 0x4349 (rev. 0x00)
pciide0: bus-master DMA support present, but unused (no driver support)
pciide0: primary channel configured to compatibility mode
pciide0: primary channel interrupting at irq 14
atabus0 at pciide0 channel 0
pciide0: secondary channel configured to compatibility mode
pciide0: secondary channel interrupting at irq 15
atabus1 at pciide0 channel 1
pcib0 at pci0 dev 20 function 3
pcib0: ATI Technologies product 0x434c (rev. 0x00)
ppb1 at pci0 dev 20 function 4: ATI Technologies product 0x4342 (rev. 0x00)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
ex0 at pci2 dev 8 function 0: 3Com 3c920B-EMB-WNM Integrated Fast Ethernet
(rev. 0x40)
ex0: interrupting at irq 3
ex0: MAC address 00:11:2f:7e:26:66
ukphy0 at ex0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000004, model 0x0020, rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0 at pci2 dev 9 function 0: VIA VT6105 (Rhine III) 10/100 Ethernet
vr0: interrupting at irq 11
vr0: Ethernet address: 00:08:54:0a:d1:a7
ukphy1 at vr0 phy 1: Generic IEEE 802.3u media interface
ukphy1: OUI 0x0002c6, model 0x0034, rev. 4
ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
VIA Technologies VT3606 OHCI IEEE 1394 Controller (Firewire serial bus,
interface 0x10, revision 0x80) at pci2 dev 10 function 0 not configured
cbb0 at pci2 dev 12 function 0: ENE Technology, Inc. product 0x1411 (rev.
0x02)
cbb0: NOT USED because of unconfigured interrupt
ENE Technology, Inc. product 0x0510 (flash memory) at pci2 dev 12 function 1
not configured
vr1 at pci2 dev 14 function 0: VIA VT6105 (Rhine III) 10/100 Ethernet
vr1: interrupting at irq 5
vr1: Ethernet address: 00:08:54:0a:d1:99
ukphy2 at vr1 phy 1: Generic IEEE 802.3u media interface
ukphy2: OUI 0x0002c6, model 0x0034, rev. 4
ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ATI Technologies product 0x4341 (audio multimedia) at pci0 dev 20 function 5
not configured
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
isapnp0: no ISA Plug 'n Play devices found
Kernelized RAIDframe activated
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <SAMSUNG CD-ROM  SH-152A, , C504> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
wd0 at atabus1 drive 0: <Maxtor 7Y250M0>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 233 GB, 486344 cyl, 16 head, 63 sec, 512 bytes/sect x 490234752 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)


-- 
Jean-Edouard BABIN
Mail: Jeb@jeb.com.fr
Web : www.Jeb.com.fr
IRC : Jeb @ Undernet