vmstat

richardpl said:
Doesnt look like disk fault.

Post top and vmstat output from singleuser mode.

It is probably because usb is Giant locked and it is sharing irq resource with ethernet card.

Disable artsd from kde if that doesnt work also disable emu10kx0 driver.

Are you using OSS from ports?

A single user mode did try before and there are 0 0 0. No, I don't using OSS from ports. I will try what you suggested. Thank you very much.
 
richardpl said:
Doesnt look like disk fault.

Post top and vmstat output from singleuser mode.

It is probably because usb is Giant locked and it is sharing irq resource with ethernet card.

Disable artsd from kde if that doesnt work also disable emu10kx0 driver.

Are you using OSS from ports?

I did and evrything is the same.
Would be better that I installe OSS from ports?
 
I doubt that OSS will change anything if disabling sound did not fixed problem.
What usb devices are connected to computer ?
Do you have interrupts storm? (Look in dmesg output)
 
richardpl said:
I doubt that OSS will change anything if disabling sound did not fixed problem.
What usb devices are connected to computer ?
Do you have interrupts storm? (Look in dmesg output)

I am building kernel now without support for multiprocessors. I don't know but...

dmesg
Copyright (c) 1992-2008 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-RELEASE-p6 #2: Tue Nov 25 16:44:17 CST 2008
root@athena.me.com:/usr/obj/usr/src/sys/LUMIWA
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.60GHz (2605.93-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf29 Stepping = 9
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0x4400<CNXT-ID,xTPR>
Logical CPUs per core: 2
real memory = 2146631680 (2047 MB)
avail memory = 2095296512 (1998 MB)
ACPI APIC Table: <A M I OEMAPIC >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <A M I OEMXSDT> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 7fef0000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
cpu1: <ACPI CPU> on acpi0
p4tcc1: <CPU Frequency Thermal Control> on cpu1
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82865 host to AGP bridge> on hostb0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xc000-0xc0ff mem 0xf4000000-0xf7ffffff,0xfe9f0000-0xfe9fffff irq 16 at device 0.0 on pci1
vgapci1: <VGA-compatible display> mem 0xf0000000-0xf3ffffff,0xfe9e0000-0xfe9effff at device 0.1 on pci1
uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xeec0-0xeedf irq 16 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: <Intel 82801EB (ICH5) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0xef00-0xef1f irq 19 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: <Intel 82801EB (ICH5) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 2 ports with 2 removable, self powered
ehci0: <Intel 82801EB/R (ICH5) USB 2.0 controller> mem 0xfebff800-0xfebffbff irq 23 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb2: EHCI version 1.0
usb2: companion controllers, 2 ports each: usb0 usb1
usb2: <Intel 82801EB/R (ICH5) USB 2.0 controller> on ehci0
usb2: USB revision 2.0
uhub2: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb2
uhub2: 4 ports with 4 removable, self powered
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
skc0: <3Com 3C940 Gigabit Ethernet> port 0xd800-0xd8ff mem 0xfeafc000-0xfeafffff irq 22 at device 5.0 on pci2
skc0: 3Com Gigabit LOM (3C940) rev. (0x1)
sk0: <Marvell Semiconductor, Inc. Yukon> on skc0
sk0: Ethernet address: 00:0e:a6:2d:db:82
miibus0: <MII bus> on sk0
e1000phy0: <Marvell 88E1011 Gigabit PHY> PHY 0 on miibus0
e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto
skc0: [ITHREAD]
emu10kx0: <Creative SBLive! [SB????]> port 0xdf80-0xdf9f irq 22 at device 10.0 on pci2
emu10kx0: [ITHREAD]
pcm0: <EMU10Kx DSP front PCM interface> on emu10kx0
pcm0: <eMicro EM28028 AC97 Codec>
pcm1: <EMU10Kx DSP rear PCM interface> on emu10kx0
pci2: <input device> at device 10.1 (no driver attached)
rl0: <D-Link DFE-530TX+ 10/100BaseTX> port 0xd400-0xd4ff mem 0xfeafbc00-0xfeafbcff irq 23 at device 11.0 on pci2
miibus1: <MII bus> on rl0
rlphy0: <RealTek internal media interface> PHY 0 on miibus1
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:40:05:39:03:de
rl0: [ITHREAD]
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH5 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_button0: <Power Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
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 acpi0
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 acpi0
fdc0: [FILTER]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xccfff pnpid ORM0000 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: <Parallel port bus> on ppc0
ppbus0: [ITHREAD]
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ppc0: [GIANT-LOCKED]
ppc0: [ITHREAD]
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ums0: <Logitech USB-PS/2 Optical Mouse, class 0/0, rev 2.00/27.00, addr 2> on uhub1
ums0: 8 buttons and Z dir.
Timecounters tick every 1.000 msec
ad0: 76319MB <WDC WD800JB-00FSA0 77.07W77> at ata0-master UDMA100
acd0: DVDR <NEC DVD RW ND-1300A/1.06> at ata1-master UDMA33
SMP: AP CPU #1 Launched!
Trying to mount root from ufs:/dev/ad0s1a
cd0 at ata1 bus 0 target 0 lun 0
cd0: <_NEC DVD_RW ND-1300A 1.06> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8
drm0: <ATI Radeon If RV250 9000> on vgapci0
info: [drm] AGP at 0xfc000000 32MB
info: [drm] Initialized radeon 1.25.0 20060524
info: [drm] Setting GART location based on new memory map
info: [drm] Loading R200 Microcode
info: [drm] writeback test succeeded in 1 usecs
drm0: [ITHREAD]
info: [drm] Loading R200 Microcode
 
It is the same:

vmstat
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr ad0 cd0 in sy cs us sy id
0 1 0 376540 1740280 667 6 8 0 408 0 0 0 1329 4599 1232 10 3 87
 
richardpl said:
I
What usb devices are connected to computer ?
Do you have interrupts storm? (Look in dmesg output)

Just Logitech Mouse.
 
richardpl said:
Try to disable fuse.

No, it doesn't help.
Maybe will help you:
rc.conf:

/etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
ifconfig_sk0="DHCP"
hostname="my.host"
syslogd_flags="-ss"
clear_tmp_enable="YES"
tcp_drop_synfin="YES"
icmp_drop_redirect="YES"
icmp_log_redirect="YES"
ntpdate_enable="YES"
ntpdate_flags="ntp1.cs.wisc.edu"
linux_enable="YES"
pf_enable="YES"
pflog_enable="YES"
# dbus_enable="YES"
# hald_enable="YES"
update_motd="NO"
saver="blank"
blanktime="600"
fusefs_enable="YES"
clamav_clamd_enable="YES"
clamav_freshclam_enable="YES"

sysctl.conf:

security.bsd.see_other_uids=0
net.inet.tcp.blackhole=2
net.inet.udp.blackhole=1
compat.linux.osrelease=2.6

pf.conf:

# Macros
ext_if="sk0"

# Optimization
set optimization normal
set block-policy drop
set loginterface $ext_if
set skip on lo0

# NOrmalization
scrub in all

# Block All
block in log all

# Open to out
pass out all keep state

# Filtering
antispoof quick for $ext_if

Thanks...
 
I'm out of ideas, try to disable everything: software and hardware as possible and than enable one by one until vmstat output in b column change.
 
richardpl said:
I'm out of ideas, try to disable everything: software and hardware as possible and than enable one by one until vmstat output in b column change.

Thank you very much for you help and time :)
 
this is from the freebsd gnome page

http://www.freebsd.org/gnome/docs/halfaq.html

i think if you want hal to run you will need procfs mounted
Code:
Step 1: All users MUST have procfs mounted on /proc. Hal uses an application called PolicyKit to authorize users to perform mount tasks, and PolicyKit relies heavily on /proc entries. If /proc is not mounted, volume mounting will not work. To mount /proc, add the following to /etc/fstab:

proc           /proc       procfs  rw  0   0
   

Then run the following command:

# mount /proc

i do not know if this is also needed in KDE but it is worth a try
 
Sylhouette said:
this is from the freebsd gnome page

http://www.freebsd.org/gnome/docs/halfaq.html

i think if you want hal to run you will need procfs mounted
Code:
Step 1: All users MUST have procfs mounted on /proc. Hal uses an application called PolicyKit to authorize users to perform mount tasks, and PolicyKit relies heavily on /proc entries. If /proc is not mounted, volume mounting will not work. To mount /proc, add the following to /etc/fstab:

proc           /proc       procfs  rw  0   0
   

Then run the following command:

# mount /proc

i do not know if this is also needed in KDE but it is worth a try

It is about one year as I have FreeBSD and I never had proc in fstab and I never ran hal. I installed hal when I tried KDE 4 (for sound).
Thank you.
 
lumiwa said:
It is the same:

vmstat
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr ad0 cd0 in sy cs us sy id
0 1 0 376540 1740280 667 6 8 0 408 0 0 0 1329 4599 1232 10 3 87

After new installed FreeBSD 7.1 and with the same settings I have the same problem but I know "who is guilty". Problem is pflog.
I have in rc.conf:
pflog_enable="YES"
Without pflog is okay. Are there any options to correct it, please?

Thanks.
 
Back
Top