Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2008 14:39:01 +0200
From:      Andrei Kolu <antik@bsd.ee>
To:        stable@freebsd.org
Subject:   strange statistics about ohci with systat and top
Message-ID:  <200803251439.01506.antik@bsd.ee>

next in thread | raw e-mail | index | archive | help
Anyone notice anything strange here? Why ohci (usb) got so huge number of=20
interrupts? Even if I have no usb devices connected to this box.

39.6%Sys =A037.9%Intr =A00.0%User =A00.0%Nice 22.5%Idle=20

# systat -vm

Interrupts
101k total
96514 ohci0 ohci
ata0 irq14
587 twa0 irq16
em1 irq25
2000 cpu0: time
2000 cpu1: time

=46reeBSD 7.0-STABLE-200803 #0: Mon Mar 10 18:53:59 UTC 2008

That irq problem was detected originally with ps/2 keyboard without any usb=
=20
device attached (dmesg info here is taken later). And I tried to use usb=20
flash drive but it was showing up like umass0 storage and was unable to mou=
nt=20
it normally (I can use it on 6.2, 6.3 and 7.0 versions just fine though).=20
Maybe something is wrong with freebsd kernel udev implementation- I got twa=
=20
device (that is 3ware sata raid controller) but my system recognizes this=20
raid as da0 disk....

How can I resolve this problem? By disabling USB in bios?=20
Board is Tyan S3870=20
http://tyan.com/support_download_bios.aspx?model=3DB.GT20B3870
Latest motherboard bios and and raid controller firmware applied.

On same motherboard FreeBSD-s version 6.2, 6.3 and 7.0 (32 and 64 bit) hang=
=20
during initial boot- only version that worked is latest stable 7.

=2D------------------------------------------------------------------------=
=2D----
# dmesg
Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
=A0 =A0 =A0 =A0 The Regents of the University of California. All rights res=
erved.
=46reeBSD is a registered trademark of The FreeBSD Foundation.
=46reeBSD 7.0-STABLE-200803 #0: Mon Mar 10 18:53:59 UTC 2008
=A0 =A0 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Dual Core AMD Opteron(tm) Processor 270 (1995.01-MHz K8-class CPU)
=A0 Origin =3D "AuthenticAMD" =A0Id =3D 0x20f12 =A0Stepping =3D 2
=A0=20
=46eatures=3D0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG=
E,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
=A0 Features2=3D0x1<SSE3>
=A0 AMD Features=3D0xe2500800<SYSCALL,NX,MMX+,FFXSR,LM,3DNow!+,3DNow!>
=A0 AMD Features2=3D0x3<LAHF,CMP>
=A0 Cores per package: 2
usable memory =3D 2134601728 (2035 MB)
avail memory =A0=3D 2059890688 (1964 MB)
ACPI APIC Table: <A M I =A0OEMAPIC >
=46reeBSD/SMP: Multiprocessor System Detected: 2 CPUs
=A0cpu0 (BSP): APIC ID: =A00
=A0cpu1 (AP): APIC ID: =A01
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 1.1> irqs 0-15 on motherboard
ioapic1 <Version 1.1> irqs 16-31 on motherboard
ioapic2 <Version 1.1> irqs 32-47 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <A M I OEMXSDT> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: Sleep Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 7ff00000 (3) failed
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0
cpu0: <ACPI CPU> on acpi0
powernow0: <Cool`n'Quiet K8> on cpu0
cpu1: <ACPI CPU> on acpi0
powernow1: <Cool`n'Quiet K8> on cpu1
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> at device 13.0 on pci1
pci2: <ACPI PCI bus> on pcib2
3ware device driver for 9000 series storage controllers, version: 3.70.05.0=
01
twa0: <3ware 9000 series Storage Controller> port 0xcc00-0xcc3f mem=20
0xf4000000-0xf5ffffff,0xff3ff000-0xff3fffff irq 16 at device 3.0 on pci2
twa0: [ITHREAD]
twa0: INFO: (0x15: 0x1300): Controller details:: Model 9550SX-4LP, 4 ports,=
=20
=46irmware FE9X 3.08.00.016, BIOS BE9X 3.08.00.004
atapci0: <ServerWorks HT1000 UDMA100 controller> port=20
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 2.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
isab0: <PCI-ISA bridge> at device 2.2 on pci0
isa0: <ISA bus> on isab0
ohci0: <OHCI (generic) USB controller> port 0xe000-0xe0ff mem=20
0xff6b8000-0xff6b8fff irq 10 at device 3.0 on pci0
ohci0: [GIANT-LOCKED]
ohci0: [ITHREAD]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: <(0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
ohci1: <OHCI (generic) USB controller> port 0xe400-0xe4ff mem=20
0xff6b9000-0xff6b9fff irq 10 at device 3.1 on pci0
ohci1: [GIANT-LOCKED]
ohci1: [ITHREAD]
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: <(0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 2 ports with 2 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> port 0xe800-0xe8ff mem=20
0xff6ba000-0xff6bafff irq 10 at device 3.2 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb2: EHCI version 1.0
usb2: companion controllers, 2 ports each: usb0 usb1
usb2: <EHCI (generic) USB 2.0 controller> on ehci0
usb2: USB revision 2.0
uhub2: <(0x1166) EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb2
uhub2: 4 ports with 4 removable, self powered
em0: <Intel(R) PRO/1000 Network Connection Version - 6.7.3> port 0xdc00-0xd=
c3f=20
mem 0xff680000-0xff69ffff,0xff660000-0xff67ffff irq 24 at device 4.0 on pci0
em0: Ethernet address: 00:e0:81:41:3e:5c
em0: [FILTER]
em1: <Intel(R) PRO/1000 Network Connection Version - 6.7.3> port 0xd880-0xd=
8bf=20
mem 0xff620000-0xff63ffff,0xff600000-0xff61ffff irq 25 at device 5.0 on pci0
em1: Ethernet address: 00:e0:81:41:3e:5d
em1: [FILTER]
vgapci0: <VGA-compatible display> port 0xec00-0xec7f mem=20
0xf8000000-0xfbffffff,0xff6c0000-0xff6fffff at device 6.0 on pci0
acpi_button0: <Power Button> on acpi0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acp=
i0
sio0: type 16550A
sio0: [FILTER]
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
sio1: [FILTER]
fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on=
=20
acpi0
fdc0: [FILTER]
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc9fff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
ppc0: cannot reserve I/O port range
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=3D0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
uhub3: <vendor 0x0557 product 0x7000, class 9/0, rev 1.10/1.00, addr 2> on=
=20
uhub0
uhub3: 4 ports with 4 removable, self powered
ukbd0: <ATEN CS-1734A V3.4.331, class 0/0, rev 1.10/1.00, addr 3> on uhub3
kbd2 at ukbd0
ums0: <ATEN CS-1734A V3.4.331, class 0/0, rev 1.10/1.00, addr 3> on uhub3
ums0: 5 buttons and Z dir.
Timecounters tick every 1.000 msec
acd0: CDROM <CD-224E-N/1.AA> at ata0-slave UDMA33
SMP: AP CPU #1 Launched!
da0 at twa0 bus 0 target 0 lun 0
da0: <AMCC 9550SX-4LP DISK 3.08> Fixed Direct Access SCSI-5 device
da0: 100.000MB/s transfers
da0: 572184MB (1171832832 512 byte sectors: 255H 63S/T 72943C)
Trying to mount root from ufs:/dev/da0s1a
=2D------------------------------------------------------------------------=
=2D----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803251439.01506.antik>