[solved]Delay mySQL startup by 30 secs in /etc/rc.conf
Basically I use wpa_supplicant and it takes a a bit to connect, by the time /etc/rc.conf gets to the mysql startup service, mySQL cannot bind to my servers address,
This is because wpa_supplicant probably hasn't got an IP address yet, so mySQL fails to start at bootup every time, however right after the boot I can log in and manually boot it just fine.
Any Ideas? Maybe delay the mysql by 30-40 seconds at boot? Anyone know how?
Last edited by kr1zmo (2010-07-05 23:57:10)
itsbrad212 wrote:
You could put:
/etc/rc.d/mysqld start
in /etc/rc.local
Thanks for the reply but I solved this by removing the @ before netprofiles, so that wpa_supplicant doesnt startup in the background, therefor everything else waits until wpa_supplicant is connected before it boots.
Last edited by kr1zmo (2010-07-05 23:59:58)
Similar Messages
-
[SOLVED] How to restore kernel image after wrong /etc/mkinitcpio.conf
I wanted to learn a bit more about the kernel and boot, and I'm afraid I cannot start up my ArchLinux anymore.
I updated the /etc/mkinitcpio.conf to make the boot faster (with this reference: http://kmandla.wordpress.com/2007/01/30 … initcpio/) and executed #mkinitcpio -p kernel26
I thought that if there was any problem, I could start up with the "fallback image". Certainly, there was a problem (probably I didn´t loaded all the modules required) and when I tried the fallback image, I experimented the same problem:
Root device '/dev/disk/by-uuid/...' doesn´t exist
ramfs$
In fact, both images are the same (or at least they have the same size)
I tried the ArchLinux liveCD to recover my system. There's no recovery service, so I started up the CD-ROM, mounted my ArchLinux partitions, generated the images and copied into the /boot of my Archlinux partitions. But the same problem is still there.
What could I do to fix it?
Thank you in advance
Last edited by jjjaime (2009-05-10 15:45:45)Thank you. I follow your instructions and it worked (perhaps it would be simpler with a "#pacman -Sy kernel26"). I didn't know the command chroot and it's really interesting.
red_erik wrote:
I have a similar problem, (read more in this thread), and I solve it by booting off the Live CD, and doing the following:
(replace sda1 with your / partition)
cd /
mount -t ext3 /dev/sda1 /mnt
mount -t proc proc /mnt/proc
mount -t sysfs sys /mnt/sys
mount -o bind /dev /mnt/dev
chroot /mnt /bin/bash
mkinitcpio -p kernel26
after that, I exit chroot, unmount all of my partitions and reboot...:
cd /
umount -a
exit
cd /
umount -a
reboot
hope this helps... -
[SOLVED]Where exactly do I add modules in `/etc/rc.conf`
I know you add modules somewhere in the "Hardware" section, but I'm not sure whether to add them inside of the parentheses here...
MODULES=(some-module-here)
... or just to list them below that.
This should probably be obvious, but I can't find any examples anywhere.
Last edited by ninjaaron (2012-07-26 22:29:41)man rc.conf wrote:
HARDWARE
MODULES=
Modules to load at boot-up. To blacklist modules, see modprobe.d(5).
Configuration files in /etc/modules-load.d/ are recommended instead (see
modules-load.d(5)).
MODULES=('kvm')
I found an example ;P -
How to setup a delay on startup?
Well, i have a Macbook Pro 15" late 2011, and when it's cold it sometimes freezes (i'm not sure why, and i don't have apple service in my country).
But when it warm, everything is ok, so i wanted to ask, if there is possobility to setup a delay (for about 30-40 sec) in startup, before
this string
kernel[0]: [AGPM Controller] build GPUDict by Vendor1002Device6741
after loading gpu it can freeze.
For example inter in single user mode for 30 seconds and then exit to normal mode, but without my help, some kind of script maybe?
Please help. And sorry for my english, i'm not a native speaker.Isn't it under system preferences/security "disable automatic login"? I'm running 10.4 on the Mac I'm at right now so I can't verify my statement.
-
Delay the startup of certain applications
I am having a problem in that when I start my G4 PowerBook, iChat AV starts BEFORE the Airport connection is completed (I have an old, old, old, did I mention it was old, Graphite Airport). I have iChat set to start up automatically so it tries to start before the computer connects with the Airport. Is there a way to delay the startup of Applications until the Airport connection is made? Is there another way I can have iChat start automatically when booting, but start AFTER it's found the Airport connection? Yes, I know I need to buy a new Airport, but I spent all my money on the G4 PowerBook!
Thanks in advance for any advice.
G4 Powerbook 17" Mac OS X (10.4.6) Beige G3, Wallstreet, ClamshellDelete the apps from Login items and simply click on their Dock icons to launch. That will speed up the boot process. Yes, you could probably write a script, but manually launching is the simple way.
-
[SOLVED] Dhcpcd on startup, how?
What's the best way to run dhcpcd on startup? I've made a script with the following content and placed it in the rc.d directory and added it to the daemons in rc.conf.
#!/bin/bash
wpa_supplicant -i ra0 -c /etc/wpa_supplicant.conf &
It doesn't seem to work when I add dhcpcd ra0 to the script (wpa_supplicant works fine, but the dhcpcd command doesn't), which means that I'll have to root up (or use sudo) and run it manually after login.
Suggestions? Adding it to /etc/.xinitrc doesn't seem to do the trick either.
Last edited by sensei (2011-10-15 12:38:52)Sensei, you might like this script (drop it in /etc/rc.d/wireless) which I use for my wireless setup (with dhcpcd):
#Starts and stops the wireless as if it were just another network...
. /etc/rc.d/functions
WIRELESS_INTERFACE=wlan0
usage(){
echo "Usage: $0 {start|stop|restart}"
exit 1
if [ $# != 1 ];then
usage
fi
case $1 in
start)
stat_busy "Connecting to router"
wpa_supplicant -B -i $WIRELESS_INTERFACE -c /etc/wpa_supplicant.conf
if [ $? != 0 ];then
stat_fail
exit
fi
while ! iwconfig $WIRELESS_INTERFACE | grep -q 'Signal level';do
sleep 0.5s
done
stat_busy "Getting IP address"
if dhcpcd $WIRELESS_INTERFACE;then
stat_done
else
stat_fail
fi
stop)
stat_busy "Disconnecting from router"
killall dhcpcd
killall wpa_supplicant
while iwconfig $WIRELESS_INTERFACE | grep -q 'Signal level';do
sleep 0.5s
done
stat_done
restart)
$0 stop
$0 start
usage
esac -
[SOLVED] Changed an option in /etc/updatedb.conf
Hello all,
I started using locate to search my files. However, it never showed files in my /home directory which is, obviously, the directory I search most. Running updatedb --debug-pruning I found out that it didn't add /home to the database because it's an "autofs" filetype:
┌─[jente @ lappy ~] 23:54:27
└─■ sudo updatedb --debug-pruning
`/home' (32 on 18) is `/' of `systemd-1' (0:27), type `autofs'
Skipping `/home': in prunefs
So, I edited /etc/updatedb.conf and removed autofs from the PRUNEFS line. I never found any documentation on this and thus, I don't know if this is the correct way of solving this. Hence this post; I would just like to get some feedback on whether or not I fixed this the right way.
Thanks in advance, guys!
Last edited by Unia (2012-12-15 13:45:36)Unia wrote:
Mr.Elendig wrote:Another way would be to add your /home to fstab instead.
Hey! Thanks for your input. My /home is actually already there:
# /etc/fstab: static file system information
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0
# /dev/sda1
UUID=60eb73f7-635c-4b3e-9d6a-8bb49aee739a / ext4 rw,relatime 0 1
# /dev/sda2 LABEL=home
UUID=4470b151-db99-4586-a652-398e0e8995cb /home ext4 rw,relatime,noauto,x-systemd.automount 0 2
If your /home is on an internal disk, why use automount? -
Settings in /etc/sysctl.conf overwritten [SOLVED]
I added a new line to /etc/sysctl.conf setting the vm.dirty_ratio to 3 (line is simply `vm.dirty_ratio = 3`). I can invoke it by running `sysctl -p` so I know the syntax is correct. This setting is however not loaded upon a reboot. The systemd-sysctl.service is however kicked off just fine and completes without errors. I have also tried removing the line from /etc/sysctl.conf and placing it in /etc/sysctl.d/dirty.conf but again, it is not honored at boot. What am I doing wrong?
EDIT: The solution is in post #31 - acknowledgement to chp for pointing me to it. Note that I also changed to topic to a more relevant one.
Last edited by graysky (2013-08-10 12:27:41)Guess I'm stumped. I just spun up an Arch VM, pasted in the /etc/sysctl.conf below and reboot it. All the settings in the file in the VM are applied. If Leonid's guess that something is overriding these values on my workstation, I would like to figure out what it is and shut it down. To keep things simple, I booted into the stock ARCH kernel; here are the services I have active:
UNIT LOAD ACTIVE SUB DESCRIPTION
proc-sys-fs-binfmt_misc.automount loaded active waiting Arbitrary Executable File Formats File System Automo
sys-devices-pci0000:00-0000:00:19.0-net-eno1.device loaded active plugged P8P67 Deluxe Motherboard
sys-devices-pci0...-0000:00:1b.0-sound-card0.device loaded active plugged 7 Series/C210 Series Chipset Family High Definition
sys-devices-pci0...6-0000:07:00.0-net-wlp7s0.device loaded active plugged AR9485 Wireless Network Adapter
sys-devices-pci0...:0-0:0:0:0-block-sda-sda1.device loaded active plugged OCZ-VERTEX4
sys-devices-pci0...:0-0:0:0:0-block-sda-sda2.device loaded active plugged OCZ-VERTEX4
sys-devices-pci0...:0-0:0:0:0-block-sda-sda3.device loaded active plugged OCZ-VERTEX4
sys-devices-pci0...et0:0:0-0:0:0:0-block-sda.device loaded active plugged OCZ-VERTEX4
sys-devices-pci0...:0-1:0:0:0-block-sdb-sdb1.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...:0-1:0:0:0-block-sdb-sdb2.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...:0-1:0:0:0-block-sdb-sdb3.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...:0-1:0:0:0-block-sdb-sdb4.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...:0-1:0:0:0-block-sdb-sdb5.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...:0-1:0:0:0-block-sdb-sdb6.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...:0-1:0:0:0-block-sdb-sdb7.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...et1:0:0-1:0:0:0-block-sdb.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...et3:0:0-3:0:0:0-block-sr0.device loaded active plugged ATAPI_iHAS424_B
sys-devices-platform-serial8250-tty-ttyS0.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS0
sys-devices-platform-serial8250-tty-ttyS1.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS1
sys-devices-platform-serial8250-tty-ttyS2.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS2
sys-devices-platform-serial8250-tty-ttyS3.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS3
sys-module-configfs.device loaded active plugged /sys/module/configfs
sys-module-fuse.device loaded active plugged /sys/module/fuse
sys-subsystem-net-devices-eno1.device loaded active plugged P8P67 Deluxe Motherboard
sys-subsystem-net-devices-wlp7s0.device loaded active plugged AR9485 Wireless Network Adapter
-.mount loaded active mounted /
boot.mount loaded active mounted /boot
dev-hugepages.mount loaded active mounted Huge Pages File System
dev-mqueue.mount loaded active mounted POSIX Message Queue File System
home-facade-.cache.mount loaded active mounted /home/facade/.cache
mnt-data.mount loaded active mounted /mnt/data
run-user-1000-gvfs.mount loaded active mounted /run/user/1000/gvfs
scratch.mount loaded active mounted /scratch
sys-fs-fuse-connections.mount loaded active mounted FUSE Control File System
sys-kernel-config.mount loaded active mounted Configuration File System
sys-kernel-debug.mount loaded active mounted Debug File System
tmp.mount loaded active mounted Temporary Directory
var-cache.mount loaded active mounted /var/cache
systemd-ask-password-console.path loaded active waiting Dispatch Password Requests to Console Directory Watc
systemd-ask-password-wall.path loaded active waiting Forward Password Requests to Wall Directory Watch
cronie.service loaded active running Periodic Command Scheduler
dbus.service loaded active running D-Bus System Message Bus
fancontrol.service loaded active running Fan control daemon
[email protected] loaded active running Getty on tty1
gpm.service loaded active running Virtual console mouse server
lxdm.service loaded active running LXDE Display Manager
[email protected] loaded active exited A basic static ethernet connection using iproute
ntpd.service loaded active running Network Time Service
polkit.service loaded active running Authorization Manager
psd.service loaded active exited Profile-sync-daemon
rtkit-daemon.service loaded active running RealtimeKit Scheduling Policy Service
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-modules-load.service loaded active exited Load Kernel Modules
systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-tmpfiles-setup.service loaded active exited Recreate Volatile Files and Directories
systemd-udev-trigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
systemd-update-utmp.service loaded active exited Update UTMP about System Reboot/Shutdown
systemd-user-sessions.service loaded active exited Permit User Sessions
systemd-vconsole-setup.service loaded active exited Setup Virtual Console
udisks2.service loaded active running Disk Manager
ufw.service loaded active exited CLI Netfilter Manager
upower.service loaded active running Daemon for power management
cups.socket loaded active listening CUPS Printing Service Sockets
dbus.socket loaded active running D-Bus System Message Bus Socket
dmeventd.socket loaded active listening Device-mapper event daemon FIFOs
sshd.socket loaded active listening sshd.socket
systemd-initctl.socket loaded active listening /dev/initctl Compatibility Named Pipe
systemd-journald.socket loaded active running Journal Socket
systemd-shutdownd.socket loaded active listening Delayed Shutdown Socket
systemd-udevd-control.socket loaded active listening udev Control Socket
systemd-update-utmp.service loaded active exited Update UTMP about System Reboot/Shutdown
systemd-user-sessions.service loaded active exited Permit User Sessions
systemd-vconsole-setup.service loaded active exited Setup Virtual Console
udisks2.service loaded active running Disk Manager
ufw.service loaded active exited CLI Netfilter Manager
upower.service loaded active running Daemon for power management
cups.socket loaded active listening CUPS Printing Service Sockets
dbus.socket loaded active running D-Bus System Message Bus Socket
dmeventd.socket loaded active listening Device-mapper event daemon FIFOs
sshd.socket loaded active listening sshd.socket
systemd-initctl.socket loaded active listening /dev/initctl Compatibility Named Pipe
systemd-journald.socket loaded active running Journal Socket
systemd-shutdownd.socket loaded active listening Delayed Shutdown Socket
systemd-udevd-control.socket loaded active listening udev Control Socket
systemd-udevd-kernel.socket loaded active running udev Kernel Socket
basic.target loaded active active Basic System
cryptsetup.target loaded active active Encrypted Volumes
getty.target loaded active active Login Prompts
graphical.target loaded active active Graphical Interface
local-fs-pre.target loaded active active Local File Systems (Pre)
local-fs.target loaded active active Local File Systems
multi-user.target loaded active active Multi-User System
network.target loaded active active Network
paths.target loaded active active Paths
remote-fs.target loaded active active Remote File Systems
sockets.target loaded active active Sockets
sound.target loaded active active Sound Card
swap.target loaded active active Swap
sysinit.target loaded active active System Initialization
timers.target loaded active active Timers
psd-resync.timer loaded active waiting Timer for Profile-sync-daemon - 1Hour
systemd-tmpfiles-clean.timer loaded active waiting Daily Cleanup of Temporary Directories
And...
% systemctl list-unit-files
UNIT FILE STATE
proc-sys-fs-binfmt_misc.automount static
dev-hugepages.mount static
dev-mqueue.mount static
proc-fs-nfsd.mount static
proc-sys-fs-binfmt_misc.mount static
sys-fs-fuse-connections.mount static
sys-kernel-config.mount static
sys-kernel-debug.mount static
tmp.mount static
var-lib-nfs-rpc_pipefs.mount static
cups.path disabled
systemd-ask-password-console.path static
systemd-ask-password-wall.path static
alsa-restore.service static
alsa-state.service static
alsa-store.service static
arch32.service disabled
[email protected] disabled
avahi-daemon.service disabled
avahi-dnsconfd.service disabled
binfmt-support.service disabled
blkmapd.service disabled
canberra-system-bootup.service disabled
canberra-system-shutdown-reboot.service disabled
canberra-system-shutdown.service disabled
colord.service static
console-getty.service disabled
console-shell.service disabled
cronie.service enabled
cups-browsed.service disabled
cups.service disabled
cupsd.service disabled
dbus-org.freedesktop.hostname1.service static
dbus-org.freedesktop.locale1.service static
dbus-org.freedesktop.login1.service static
dbus-org.freedesktop.timedate1.service static
dbus.service static
debug-shell.service disabled
dhcpcd.service disabled
[email protected] disabled
display-manager.service enabled
distccd.service disabled
dkms.service disabled
dmeventd.service static
emergency.service static
fancontrol.service enabled
ftpd.service disabled
[email protected] enabled
[email protected] static
gpm.service enabled
hddtemp.service disabled
healthd.service disabled
initrd-cleanup.service static
initrd-parse-etc.service static
initrd-switch-root.service static
initrd-udevadm-cleanup-db.service static
ip6tables.service disabled
iptables.service disabled
irexec.service disabled
krb5-kadmind.service disabled
krb5-kdc.service disabled
krb5-kpropd.service disabled
[email protected] static
lirc.service disabled
lircm.service disabled
lm_sensors.service disabled
lxdm.service enabled
mcelog.service disabled
mpd.service disabled
[email protected] disabled
[email protected] disabled
netctl-sleep.service disabled
netctl.service disabled
[email protected] static
[email protected] static
[email protected] enabled
nfsd.service disabled
nmbd.service disabled
nscd.service disabled
ntpd.service enabled
ntpdate.service disabled
polkit.service static
psd-resync.service enabled
psd.service enabled
quotaon.service static
rescue.service static
rpc-gssd.service disabled
rpc-idmapd.service disabled
rpc-mountd.service disabled
rpc-statd.service disabled
rpc-svcgssd.service disabled
rpcbind.service disabled
rsyncd.service disabled
[email protected] static
rtkit-daemon.service disabled
samba.service disabled
sensord.service disabled
[email protected] static
smartd.service disabled
smbd.service disabled
[email protected] static
snmpd.service disabled
snmptrapd.service disabled
speech-dispatcherd.service disabled
sshd.service disabled
[email protected] static
sshdgenkeys.service static
svnserve.service disabled
[email protected] static
systemd-ask-password-console.service static
systemd-ask-password-wall.service static
systemd-binfmt.service static
systemd-fsck-root.service static
[email protected] static
systemd-halt.service static
systemd-hibernate.service static
systemd-hostnamed.service static
systemd-hybrid-sleep.service static
systemd-initctl.service static
systemd-journal-flush.service static
systemd-journal-gatewayd.service static
systemd-journald.service static
systemd-kexec.service static
systemd-localed.service static
systemd-logind.service static
systemd-modules-load.service static
[email protected] static
systemd-poweroff.service static
systemd-quotacheck.service static
systemd-random-seed-load.service static
systemd-random-seed-save.service static
systemd-readahead-collect.service disabled
systemd-readahead-done.service static
systemd-readahead-drop.service disabled
systemd-readahead-replay.service disabled
systemd-reboot.service static
systemd-remount-fs.service static
systemd-shutdownd.service static
systemd-suspend.service static
systemd-sysctl.service static
systemd-timedated.service static
systemd-tmpfiles-clean.service static
systemd-tmpfiles-setup-dev.service static
systemd-tmpfiles-setup.service static
systemd-udev-settle.service static
systemd-udev-trigger.service static
systemd-udevd.service static
systemd-update-utmp-runlevel.service static
systemd-update-utmp.service static
systemd-user-sessions.service static
systemd-vconsole-setup.service static
udisks.service disabled
udisks2.service static
ufw.service enabled
upower.service disabled
usbmuxd.service static
[email protected] disabled
uuidd.service static
vboxweb.service disabled
vncserver.service disabled
winbindd.service disabled
[email protected] disabled
[email protected] disabled
wpa_supplicant.service disabled
[email protected] disabled
avahi-daemon.socket disabled
cups.socket enabled
dbus.socket static
dmeventd.socket static
git-daemon.socket disabled
krb5-kpropd.socket disabled
rsyncd.socket disabled
smbd.socket disabled
sshd.socket enabled
swat.socket disabled
syslog.socket static
systemd-initctl.socket static
systemd-journal-gatewayd.socket disabled
systemd-journald.socket static
systemd-shutdownd.socket static
systemd-udevd-control.socket static
systemd-udevd-kernel.socket static
uuidd.socket disabled
basic.target static
bluetooth.target static
cryptsetup.target static
ctrl-alt-del.target disabled
default.target disabled
emergency.target static
final.target static
getty.target static
graphical.target disabled
halt.target disabled
hibernate.target static
hybrid-sleep.target static
initrd-fs.target static
initrd-root-fs.target static
initrd-switch-root.target static
initrd.target static
kexec.target disabled
local-fs-pre.target static
local-fs.target static
multi-user.target disabled
network-online.target static
network.target static
nss-lookup.target static
nss-user-lookup.target static
paths.target static
poweroff.target disabled
printer.target static
reboot.target disabled
remote-fs-pre.target static
remote-fs.target enabled
rescue.target disabled
rpcbind.target static
shutdown.target static
sigpwr.target static
sleep.target static
smartcard.target static
sockets.target static
sound.target static
suspend.target static
swap.target static
sysinit.target static
system-update.target static
time-sync.target static
timers.target static
umount.target static
psd-resync.timer static
systemd-readahead-done.timer static
systemd-tmpfiles-clean.timer static
231 unit files listed.
Last edited by graysky (2014-11-03 08:39:54) -
Arch's fonts was too small in firefox and sites was difficult to read and with layout wrong because of font, then I switch the fonts config of ubuntu to my arch to fix this problem and I solve, otherwise now I receive errors in terminal when I perform a program like this: Fontconfig warning: "/etc/fonts/conf.d/53-monospace-lcd-filter.conf", line 17: invalid constant used : legacy".
somebody can help me?
sorry by bad english.
Last edited by solanoalves (2008-01-23 04:08:29)A good idea would be to post that file.
An alternative would be to remove the contents of /etc/fonts/conf.d and reinstall the fontconfig package. Then follow the instructions in the wiki to get a better font rendering.
Good luck -
[solved] lxdm, slim: startup delay
I'm trying to switch from lightdm to lxdm in order to work around the awesome keymap bug.
When I start lxdm using systemctl start lxdm.service I get a black screen and nothing happens for about 70 seconds. Then the lxdm greeter finally shows up, everything works fine and there are no errors or hints in the logs.
Any idea what could cause the delay? I tried lxdm-git from AUR, but no difference.
Thanks in advance,
lynix
Last edited by lynix (2013-01-28 21:40:59)Okay, solved my own problem (another episode of strace-to-the-rescue)
The login managers in question seem to open a connection to '::1' (the IPv6 loopback) on startup. My ip6tables lacked a rule for accepting all loopback traffic, and as my default target for INPUT is DROP, the connection attempt was dropped and startup therefore delayed until the timeout for connection establishment is reached.
Damn this was weird... -
[SOLVED]systemd-analyze startup delay problem
Hello,
i have a problem that my systemd-analyze shows me "Bootup is not yet finished. Please try again later." when im up in my fully functional desktop, because it wants to wait 1min and 30 before it finishes the "boot"
systemd-analyze
Startup finished in 3.482s (kernel) + 1min 30.058s (userspace) = 1min 33.541s
the userspace always takes that amount of time. while it actually takes ~12 sec to load with all set up. working network and stuff like that.
systemd-analyze blame
1.426s dkms.service
215ms ModemManager.service
207ms NetworkManager.service
193ms systemd-fsck@dev-disk-by\x2duuid-c9582b14\x2de7f5\x2d4496\x2dbc09\x2d7be584a182f4.s
148ms systemd-fsck@dev-disk-by\x2duuid-37962c3c\x2dcb8c\x2d4bb4\x2da27a\x2d58e852dcb643.s
85ms systemd-logind.service
78ms mnt-stuff.mount
77ms upower.service
68ms systemd-tmpfiles-clean.service
54ms systemd-modules-load.service
52ms polkit.service
52ms systemd-udev-trigger.service
47ms systemd-binfmt.service
47ms kmod-static-nodes.service
44ms mnt-downloads.mount
44ms dev-hugepages.mount
44ms dev-mqueue.mount
44ms systemd-vconsole-setup.service
43ms systemd-sysctl.service
43ms sys-kernel-debug.mount
41ms udisks2.service
25ms [email protected]
24ms lm_sensors.service
15ms cpupower.service
14ms alsa-restore.service
10ms systemd-journal-flush.service
8ms systemd-remount-fs.service
6ms systemd-user-sessions.service
6ms systemd-tmpfiles-setup.service
5ms systemd-tmpfiles-setup-dev.service
5ms rtkit-daemon.service
4ms systemd-update-utmp.service
4ms sys-fs-fuse-connections.mount
3ms proc-sys-fs-binfmt_misc.mount
3ms tmp.mount
1ms sys-kernel-config.mount
1ms systemd-udevd.service
1ms systemd-random-seed.service
nothing weird here(i think)?
systemd-analyze critical-chain
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.
graphical.target @1min 30.058s
└─multi-user.target @1min 30.058s
└─dkms.service @875ms +1.426s
└─basic.target @869ms
└─timers.target @627ms
└─systemd-tmpfiles-clean.timer @627ms
└─sysinit.target @626ms
└─sys-fs-fuse-connections.mount @8.291s +4ms
└─systemd-modules-load.service @61ms +54ms
└─systemd-journald.socket @58ms
└─-.mount @57ms
└─system.slice @101ms
└─-.slice @101ms
as you can see multi-user.target and graphical.target starting at 1.30 only... allthough i dont even understand why they start at that time..cause my graphical interface is long time up already as well as my user account.
here svg of systemd-analyze plot: https://dl.dropboxusercontent.com/u/28788188/boot.svg
if anybody has some idea what might cause this i would really appriciate the help.
its just seems a cosmetical issue though. since my actual boot is around 13 sec from grub to fully functional desktop.
Last edited by xpander (2013-09-27 14:45:30)WonderWoofy wrote:
These kinds of delays can happen when a service is bound to a particular piece of hardware.
So as an example the [email protected] uses "BindsTo=sys-subsystem-net-devices-%i.device". So when you enable [email protected], the part between the '@' and '.service' is what it will use in place of the '%i' of the BindsTo parameter.
This was a common problem when there was the change from the old kernel namespace used for network devices to the persistent udev naming scheme. During installation (or any time one was in the live media), it would use dhcpcd@eth0, so it would make sense that enabling dhcpcd@eth0 would set you all up for a nice ethernet connection when you launch the system for the first time. But then the 80-net-slot-names.rules udev file would change the interface name, making the BindsTo parameter time out after a while, since it would not be named something like enp2s0.
See if there are any failed units in the output of systemctl. Of course you will have to do this after systemd claims to have "finished" booting.
thanks, will digg into that. i do have some renaming policy there.. cause i have eth0 shown in ifconfig for example
i remember i did something about it in the past, because i never got used with the new naming scheme.
anyway systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
fluidsynth.service loaded failed failed FluidSynth Daemon
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
1 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
and that fluidsynth is no issue. cause with this installed, it still does same. i have fluidynth uninstalled because my pulseadio doesnt work when that is enabled -
[SOLVED] drm:radeon delays xorg start for 30 secs
Does anyone knows about a reason why starting the X.org server could take over 30 seconds?
Jun 19 15:15:59 Arch kernel: [drm] Initialized drm 1.1.0 20060810
Jun 19 15:15:59 Arch kernel: [drm] radeon kernel modesetting enabled.
Jun 19 15:15:59 Arch kernel: radeon 0000:01:00.0: enabling device (0006 -> 0007)
Jun 19 15:15:59 Arch kernel: [drm] initializing kernel modesetting (OLAND 0x1002:0x6600 0x17AA:0x3801).
Jun 19 15:15:59 Arch kernel: [drm] register mmio base: 0xB8000000
Jun 19 15:15:59 Arch kernel: [drm] register mmio size: 262144
Jun 19 15:15:59 Arch kernel: radeon 0000:01:00.0: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF (2048M used)
Jun 19 15:15:59 Arch kernel: radeon 0000:01:00.0: GTT: 1024M 0x0000000080000000 - 0x00000000BFFFFFFF
Jun 19 15:15:59 Arch kernel: [drm] Detected VRAM RAM=2048M, BAR=128M
Jun 19 15:15:59 Arch kernel: [drm] RAM width 128bits DDR
Jun 19 15:15:59 Arch kernel: [drm] radeon: 2048M of VRAM memory ready
Jun 19 15:15:59 Arch kernel: [drm] radeon: 1024M of GTT memory ready.
Jun 19 15:15:59 Arch kernel: [drm] Loading OLAND Microcode
Jun 19 15:15:59 Arch kernel: [drm] radeon/OLAND_mc2.bin: 31452 bytes
Jun 19 15:15:59 Arch kernel: [drm] Internal thermal controller without fan control
Jun 19 15:15:59 Arch kernel: [drm] probing gen 2 caps for device 8086:c01 = 261ad03/e
Jun 19 15:15:59 Arch kernel: [drm] radeon: dpm initialized
Jun 19 15:15:59 Arch kernel: [drm] GART: num cpu pages 262144, num gpu pages 262144
Jun 19 15:15:59 Arch kernel: [drm] probing gen 2 caps for device 8086:c01 = 261ad03/e
Jun 19 15:15:59 Arch kernel: [drm] PCIE gen 3 link speeds already enabled
Jun 19 15:15:59 Arch kernel: [drm] PCIE GART of 1024M enabled (table at 0x0000000000276000).
Jun 19 15:15:59 Arch kernel: radeon 0000:01:00.0: WB enabled
Jun 19 15:15:59 Arch kernel: radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00 and cpu addr 0xffff880157a34c00
Jun 19 15:15:59 Arch kernel: radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000080000c04 and cpu addr 0xffff880157a34c04
Jun 19 15:15:59 Arch kernel: radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000080000c08 and cpu addr 0xffff880157a34c08
Jun 19 15:15:59 Arch kernel: radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000080000c0c and cpu addr 0xffff880157a34c0c
Jun 19 15:15:59 Arch kernel: radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000080000c10 and cpu addr 0xffff880157a34c10
Jun 19 15:15:59 Arch kernel: radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xffffc900111b5a18
Jun 19 15:15:59 Arch kernel: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
Jun 19 15:15:59 Arch kernel: [drm] Driver supports precise vblank timestamp query.
Jun 19 15:15:59 Arch kernel: radeon 0000:01:00.0: irq 41 for MSI/MSI-X
Jun 19 15:15:59 Arch kernel: radeon 0000:01:00.0: radeon: using MSI.
Jun 19 15:15:59 Arch kernel: [drm] radeon: irq initialized.
Jun 19 15:15:59 Arch kernel: [drm] ring test on 0 succeeded in 1 usecs
Jun 19 15:15:59 Arch kernel: [drm] ring test on 1 succeeded in 1 usecs
Jun 19 15:15:59 Arch kernel: [drm] ring test on 2 succeeded in 1 usecs
Jun 19 15:15:59 Arch kernel: [drm] ring test on 3 succeeded in 2 usecs
Jun 19 15:15:59 Arch kernel: [drm] ring test on 4 succeeded in 1 usecs
Jun 19 15:15:59 Arch kernel: [drm] ring test on 5 succeeded in 2 usecs
Jun 19 15:15:59 Arch kernel: [drm] UVD initialized successfully.
Jun 19 15:15:59 Arch kernel: [drm] ib test on ring 0 succeeded in 0 usecs
Jun 19 15:15:59 Arch kernel: [drm] ib test on ring 1 succeeded in 0 usecs
Jun 19 15:15:59 Arch kernel: [drm] ib test on ring 2 succeeded in 0 usecs
Jun 19 15:15:59 Arch kernel: [drm] ib test on ring 3 succeeded in 0 usecs
Jun 19 15:15:59 Arch kernel: [drm] ib test on ring 4 succeeded in 1 usecs
Jun 19 15:15:59 Arch kernel: [drm] ib test on ring 5 succeeded
Jun 19 15:15:59 Arch kernel: [drm] Radeon Display Connectors
Jun 19 15:15:59 Arch kernel: radeon 0000:01:00.0: No connectors reported connected with modes
Jun 19 15:15:59 Arch kernel: [drm] Cannot find any crtc or sizes - going 1024x768
Jun 19 15:15:59 Arch kernel: [drm] fb mappable at 0xB047A000
Jun 19 15:15:59 Arch kernel: [drm] vram apper at 0xB0000000
Jun 19 15:15:59 Arch kernel: [drm] size 3145728
Jun 19 15:15:59 Arch kernel: [drm] fb depth is 24
Jun 19 15:15:59 Arch kernel: [drm] pitch is 4096
Jun 19 15:15:59 Arch kernel: radeon 0000:01:00.0: fb1: radeondrmfb frame buffer device
Jun 19 15:15:59 Arch kernel: radeon 0000:01:00.0: registered panic notifier
Jun 19 15:15:59 Arch kernel: [drm] Initialized radeon 2.38.0 20080528 for 0000:01:00.0 on minor 0
Jun 19 15:15:59 Arch kernel: [drm] Memory usable by graphics device = 2048M
Jun 19 15:15:59 Arch kernel: fb: switching to inteldrmfb from VESA VGA
Jun 19 15:16:00 Arch kernel: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
Jun 19 15:16:00 Arch kernel: [drm] Driver supports precise vblank timestamp query.
Jun 19 15:16:01 Arch kernel: fbcon: inteldrmfb (fb0) is primary device
Jun 19 15:16:01 Arch kernel: i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
Jun 19 15:16:01 Arch kernel: [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 1
Jun 19 15:16:02 Arch kernel: [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
Jun 19 15:16:01 Arch slim[818]: (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jun 19 15:16:01 2014
Jun 19 15:16:01 Arch slim[818]: (==) Using config directory: "/etc/X11/xorg.conf.d"
Jun 19 15:16:01 Arch slim[818]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
Jun 19 15:16:30 Arch kernel: ACPI: \_SB_.PCI0.PEG0: ACPI_NOTIFY_BUS_CHECK event
Jun 19 15:16:30 Arch kernel: ACPI: \_SB_.PCI0.PEG0: Bus check in hotplug_event()
Jun 19 15:16:30 Arch kernel: radeon 0000:01:00.0: Refused to change power state, currently in D3
Jun 19 15:16:30 Arch kernel: radeon 0000:01:00.0: Refused to change power state, currently in D3
Jun 19 15:16:30 Arch kernel: radeon 0000:01:00.0: Refused to change power state, currently in D3
Jun 19 15:16:31 Arch systemd[1]: Started CUPS Printing Service.
Jun 19 15:16:35 Arch kernel: [drm:atom_op_jump] *ERROR* atombios stuck in loop for more than 5secs aborting
Jun 19 15:16:35 Arch kernel: [drm:atom_execute_table_locked] *ERROR* atombios stuck executing CB7E (len 62, WS 0, PS 0) @ 0xCB9A
Jun 19 15:16:35 Arch kernel: [drm:atom_execute_table_locked] *ERROR* atombios stuck executing B73E (len 236, WS 4, PS 0) @ 0xB80B
Jun 19 15:16:35 Arch kernel: [drm:atom_execute_table_locked] *ERROR* atombios stuck executing B698 (len 78, WS 12, PS 8) @ 0xB6A0
Jun 19 15:16:35 Arch kernel: [drm:si_dpm_enable] *ERROR* si_init_smc_table failed
Jun 19 15:16:35 Arch kernel: [drm:radeon_pm_resume_dpm] *ERROR* radeon: dpm resume failed
Jun 19 15:16:35 Arch kernel: [drm] probing gen 2 caps for device 8086:c01 = 2618d03/e
Jun 19 15:16:35 Arch kernel: [drm] enabling PCIE gen 3 link speeds, disable with radeon.pcie_gen2=0
Jun 19 15:16:36 Arch kernel: radeon 0000:01:00.0: Wait for MC idle timedout !
Jun 19 15:16:36 Arch kernel: radeon 0000:01:00.0: Wait for MC idle timedout !
Jun 19 15:16:36 Arch kernel: [drm] PCIE GART of 1024M enabled (table at 0x0000000000276000).
Jun 19 15:16:36 Arch kernel: radeon 0000:01:00.0: WB enabled
Jun 19 15:16:36 Arch kernel: radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00 and cpu addr 0xffff880157a34c00
Jun 19 15:16:36 Arch kernel: radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000080000c04 and cpu addr 0xffff880157a34c04
Jun 19 15:16:36 Arch kernel: radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000080000c08 and cpu addr 0xffff880157a34c08
Jun 19 15:16:36 Arch kernel: radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000080000c0c and cpu addr 0xffff880157a34c0c
Jun 19 15:16:36 Arch kernel: radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000080000c10 and cpu addr 0xffff880157a34c10
Jun 19 15:16:36 Arch kernel: radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xffffc900111b5a18
Jun 19 15:16:38 Arch kernel: [drm:r600_ring_test] *ERROR* radeon: ring 0 test failed (scratch(0x850C)=0xFFFFFFFF)
Jun 19 15:16:38 Arch kernel: [drm:si_resume] *ERROR* si startup failed on resume
Jun 19 15:16:38 Arch kernel: [drm:si_dpm_enable] *ERROR* si_init_smc_table failed
Jun 19 15:16:38 Arch kernel: [drm:radeon_pm_resume_dpm] *ERROR* radeon: dpm resume failed
Jun 19 15:16:38 Arch slim[818]: Initializing built-in extension Generic Event Extension
Jun 19 15:16:38 Arch slim[818]: Initializing built-in extension SHAPE
Jun 19 15:16:38 Arch slim[818]: Initializing built-in extension XFree86-DGA
Jun 19 15:16:38 Arch slim[818]: Initializing built-in extension XFree86-DRI
Jun 19 15:16:38 Arch slim[818]: Initializing built-in extension DRI2
Jun 19 15:16:38 Arch kernel: radeon 0000:01:00.0: couldn't schedule ib
Jun 19 15:16:38 Arch slim[818]: Loading extension GLX
Jun 19 15:16:38 Arch acpid[524]: client connected from 833[0:0]
Jun 19 15:16:38 Arch acpid[524]: 1 client rule loaded
Jun 19 15:16:38 Arch kernel: radeon 0000:01:00.0: couldn't schedule ib
Jun 19 15:16:38 Arch kernel: radeon 0000:01:00.0: couldn't schedule ib
Last edited by hazardousagreement (2014-06-19 21:12:23)Hi slacknatcher,
thanks for your help :-)
I looked at this logfile and there xorg just stops for thirty seconds.
[ 35.404] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 55.110] (II) xfree86: Adding drm device (/dev/dri/card1)
So I figured out that for mysterious reasons the radeon kernel module was loaded twice.
I removed it from the kernel modules (mkinitcpi.conf) and the thirty second lag vanished -
[SOLVED] nvidia-settings startup delay
Does anyone happen to know why nvidia-settings takes a good 3-4 minutes to open after open it from the menu or the terminal, sudo or as user? I'm on xfce and didn't have this problem on Cinnamon or Ubuntu Gnome-Shell.
I have to use this settings panel to turn "on" my secondary display when I plug it up also for some reason, this is new too, but I suppose not relevant to the original question. Bonus points if you know why this is too!
Last edited by Somnus (2013-07-29 12:54:00)Actually, chalk this up to not looking hard enough again. The suggestion to add
127.0.0.1 myhostname
to /etc/hosts seems to have solved the issue.
Reference:
https://bbs.archlinux.org/viewtopic.php?id=161837 -
[SOLVED] XFCE - slow startup
Hello
1 month ago I installed XFCE on my laptop, and it was fast.
But today I noticed really delay in XFCE loading process.
Today there was 3 updates concerning XFCE:
libxfce4ui
libxfce4util
libxfcegui4
Is there anyone with the similar problem?
I use GDM.
Here is my Xorg.0.log:
[ 6.923]
X.Org X Server 1.10.1
Release Date: 2011-04-15
[ 6.923] X Protocol Version 11, Revision 0
[ 6.923] Build Operating System: Linux 2.6.38-ARCH i686
[ 6.923] Current Operating System: Linux mobile3g 2.6.38-ARCH #1 SMP PREEMPT Fri May 13 07:54:18 UTC 2011 i686
[ 6.923] Kernel command line: root=/dev/sda3 ro vga=792
[ 6.923] Build Date: 16 April 2011 12:05:35PM
[ 6.923]
[ 6.924] Current version of pixman: 0.20.2
[ 6.924] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 6.924] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 6.924] (==) Log file: "/var/log/Xorg.0.log", Time: Thu May 19 20:54:33 2011
[ 6.928] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 6.931] (==) No Layout section. Using the first Screen section.
[ 6.931] (==) No screen section available. Using defaults.
[ 6.931] (**) |-->Screen "Default Screen Section" (0)
[ 6.931] (**) | |-->Monitor "<default monitor>"
[ 6.931] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 6.931] (==) Automatically adding devices
[ 6.931] (==) Automatically enabling devices
[ 6.933] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 6.933] Entry deleted from font path.
[ 6.933] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 6.933] Entry deleted from font path.
[ 6.937] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
[ 6.937] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 6.937] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 6.937] (II) Loader magic: 0x81f4ee0
[ 6.937] (II) Module ABI versions:
[ 6.937] X.Org ANSI C Emulation: 0.4
[ 6.937] X.Org Video Driver: 10.0
[ 6.937] X.Org XInput driver : 12.2
[ 6.937] X.Org Server Extension : 5.0
[ 6.938] (--) PCI:*(0:0:2:0) 8086:27a2:107b:0366 rev 3, Mem @ 0xd8100000/524288, 0xc0000000/268435456, 0xd8200000/262144, I/O @ 0x00001800/8
[ 6.938] (--) PCI: (0:0:2:1) 8086:27a6:107b:0366 rev 3, Mem @ 0xd8180000/524288
[ 6.938] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 6.938] (II) LoadModule: "extmod"
[ 6.941] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[ 6.942] (II) Module extmod: vendor="X.Org Foundation"
[ 6.942] compiled for 1.10.1, module version = 1.0.0
[ 6.942] Module class: X.Org Server Extension
[ 6.942] ABI class: X.Org Server Extension, version 5.0
[ 6.942] (II) Loading extension MIT-SCREEN-SAVER
[ 6.942] (II) Loading extension XFree86-VidModeExtension
[ 6.942] (II) Loading extension XFree86-DGA
[ 6.942] (II) Loading extension DPMS
[ 6.942] (II) Loading extension XVideo
[ 6.942] (II) Loading extension XVideo-MotionCompensation
[ 6.942] (II) Loading extension X-Resource
[ 6.942] (II) LoadModule: "dbe"
[ 6.943] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[ 6.943] (II) Module dbe: vendor="X.Org Foundation"
[ 6.943] compiled for 1.10.1, module version = 1.0.0
[ 6.943] Module class: X.Org Server Extension
[ 6.944] ABI class: X.Org Server Extension, version 5.0
[ 6.944] (II) Loading extension DOUBLE-BUFFER
[ 6.944] (II) LoadModule: "glx"
[ 6.944] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 6.946] (II) Module glx: vendor="X.Org Foundation"
[ 6.946] compiled for 1.10.1, module version = 1.0.0
[ 6.946] ABI class: X.Org Server Extension, version 5.0
[ 6.947] (==) AIGLX enabled
[ 6.947] (II) Loading extension GLX
[ 6.947] (II) LoadModule: "record"
[ 6.948] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[ 6.949] (II) Module record: vendor="X.Org Foundation"
[ 6.949] compiled for 1.10.1, module version = 1.13.0
[ 6.949] Module class: X.Org Server Extension
[ 6.949] ABI class: X.Org Server Extension, version 5.0
[ 6.949] (II) Loading extension RECORD
[ 6.949] (II) LoadModule: "dri"
[ 6.949] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[ 6.951] (II) Module dri: vendor="X.Org Foundation"
[ 6.951] compiled for 1.10.1, module version = 1.0.0
[ 6.951] ABI class: X.Org Server Extension, version 5.0
[ 6.951] (II) Loading extension XFree86-DRI
[ 6.951] (II) LoadModule: "dri2"
[ 6.951] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 6.952] (II) Module dri2: vendor="X.Org Foundation"
[ 6.952] compiled for 1.10.1, module version = 1.2.0
[ 6.952] ABI class: X.Org Server Extension, version 5.0
[ 6.952] (II) Loading extension DRI2
[ 6.952] (==) Matched intel as autoconfigured driver 0
[ 6.952] (==) Matched vesa as autoconfigured driver 1
[ 6.952] (==) Matched fbdev as autoconfigured driver 2
[ 6.952] (==) Assigned the driver to the xf86ConfigLayout
[ 6.952] (II) LoadModule: "intel"
[ 6.953] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 6.956] (II) Module intel: vendor="X.Org Foundation"
[ 6.956] compiled for 1.10.0.902, module version = 2.15.0
[ 6.956] Module class: X.Org Video Driver
[ 6.956] ABI class: X.Org Video Driver, version 10.0
[ 6.956] (II) LoadModule: "vesa"
[ 6.956] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 6.960] (II) Module vesa: vendor="X.Org Foundation"
[ 6.960] compiled for 1.10.0, module version = 2.3.0
[ 6.960] Module class: X.Org Video Driver
[ 6.960] ABI class: X.Org Video Driver, version 10.0
[ 6.960] (II) LoadModule: "fbdev"
[ 6.960] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 6.961] (II) Module fbdev: vendor="X.Org Foundation"
[ 6.961] compiled for 1.10.0, module version = 0.4.2
[ 6.961] ABI class: X.Org Video Driver, version 10.0
[ 6.961] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
Sandybridge, Sandybridge, Sandybridge, Sandybridge, Sandybridge,
Sandybridge, Sandybridge
[ 6.962] (II) VESA: driver for VESA chipsets: vesa
[ 6.962] (II) FBDEV: driver for framebuffer: fbdev
[ 6.962] (++) using VT number 7
[ 6.970] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 6.970] (WW) Falling back to old probe method for vesa
[ 6.970] (WW) Falling back to old probe method for fbdev
[ 6.970] (II) Loading sub module "fbdevhw"
[ 6.970] (II) LoadModule: "fbdevhw"
[ 6.970] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 6.971] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 6.971] compiled for 1.10.1, module version = 0.0.2
[ 6.971] ABI class: X.Org Video Driver, version 10.0
[ 6.971] drmOpenDevice: node name is /dev/dri/card0
[ 6.971] drmOpenDevice: open result is 8, (OK)
[ 6.971] drmOpenByBusid: Searching for BusID pci:0000:00:02.0
[ 6.971] drmOpenDevice: node name is /dev/dri/card0
[ 6.971] drmOpenDevice: open result is 8, (OK)
[ 6.971] drmOpenByBusid: drmOpenMinor returns 8
[ 6.971] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
[ 6.971] (II) intel(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 6.971] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[ 6.971] (==) intel(0): RGB weight 888
[ 6.971] (==) intel(0): Default visual is TrueColor
[ 6.971] (II) intel(0): Integrated Graphics Chipset: Intel(R) 945GM
[ 6.971] (--) intel(0): Chipset: "945GM"
[ 6.971] (**) intel(0): Relaxed fencing disabled
[ 6.972] (**) intel(0): Framebuffer tiled
[ 6.972] (**) intel(0): Pixmaps tiled
[ 6.972] (**) intel(0): 3D buffers tiled
[ 6.972] (**) intel(0): SwapBuffers wait enabled
[ 6.972] (==) intel(0): video overlay key set to 0x101fe
[ 6.972] (II) intel(0): Output LVDS1 has no monitor section
[ 6.996] (II) intel(0): Output VGA1 has no monitor section
[ 7.233] (II) intel(0): Output TV1 has no monitor section
[ 7.233] (II) intel(0): EDID for output LVDS1
[ 7.233] (II) intel(0): Manufacturer: SEC Model: 3445 Serial#: 0
[ 7.233] (II) intel(0): Year: 2005 Week: 0
[ 7.233] (II) intel(0): EDID Version: 1.3
[ 7.233] (II) intel(0): Digital Display Input
[ 7.233] (II) intel(0): Max Image Size [cm]: horiz.: 33 vert.: 21
[ 7.233] (II) intel(0): Gamma: 2.20
[ 7.233] (II) intel(0): No DPMS capabilities specified
[ 7.233] (II) intel(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[ 7.233] (II) intel(0): First detailed timing is preferred mode
[ 7.233] (II) intel(0): redX: 0.580 redY: 0.340 greenX: 0.310 greenY: 0.550
[ 7.233] (II) intel(0): blueX: 0.155 blueY: 0.155 whiteX: 0.313 whiteY: 0.329
[ 7.234] (II) intel(0): Manufacturer's mask: 0
[ 7.234] (II) intel(0): Supported detailed timing:
[ 7.234] (II) intel(0): clock: 68.9 MHz Image Size: 331 x 207 mm
[ 7.234] (II) intel(0): h_active: 1280 h_sync: 1296 h_sync_end 1344 h_blank_end 1408 h_border: 0
[ 7.234] (II) intel(0): v_active: 800 v_sync: 801 v_sync_end 804 v_blanking: 816 v_border: 0
[ 7.234] (II) intel(0): Unknown vendor-specific block f
[ 7.234] (II) intel(0): SAMSUNG
[ 7.234] (II) intel(0): LTN154X3-L03
[ 7.234] (II) intel(0): EDID (in hex):
[ 7.234] (II) intel(0): 00ffffffffffff004ca3453400000000
[ 7.234] (II) intel(0): 000f0103802115780a87f594574f8c27
[ 7.234] (II) intel(0): 27505400000001010101010101010101
[ 7.234] (II) intel(0): 010101010101ee1a0080502010301030
[ 7.234] (II) intel(0): 13004bcf100000190000000f00000000
[ 7.234] (II) intel(0): 00000000002387026400000000fe0053
[ 7.234] (II) intel(0): 414d53554e470a2020202020000000fe
[ 7.234] (II) intel(0): 004c544e31353458332d4c30330a0065
[ 7.234] (II) intel(0): EDID vendor "SEC", prod id 13381
[ 7.234] (II) intel(0): Printing DDC gathered Modelines:
[ 7.234] (II) intel(0): Modeline "1280x800"x0.0 68.94 1280 1296 1344 1408 800 801 804 816 -hsync -vsync (49.0 kHz)
[ 7.234] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported)
[ 7.234] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
[ 7.234] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
[ 7.234] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
[ 7.234] (II) intel(0): Not using default mode "640x480" (doublescan mode not supported)
[ 7.234] (II) intel(0): Not using default mode "640x512" (doublescan mode not supported)
[ 7.234] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
[ 7.234] (II) intel(0): Not using default mode "896x672" (doublescan mode not supported)
[ 7.234] (II) intel(0): Not using default mode "928x696" (doublescan mode not supported)
[ 7.234] (II) intel(0): Not using default mode "960x720" (doublescan mode not supported)
[ 7.234] (II) intel(0): Not using default mode "700x525" (doublescan mode not supported)
[ 7.234] (II) intel(0): Not using default mode "1024x768" (doublescan mode not supported)
[ 7.234] (II) intel(0): Printing probed modes for output LVDS1
[ 7.234] (II) intel(0): Modeline "1280x800"x60.0 68.94 1280 1296 1344 1408 800 801 804 816 -hsync -vsync (49.0 kHz)
[ 7.234] (II) intel(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz)
[ 7.234] (II) intel(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz)
[ 7.234] (II) intel(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz)
[ 7.234] (II) intel(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz)
[ 7.260] (II) intel(0): EDID for output VGA1
[ 7.503] (II) intel(0): EDID for output TV1
[ 7.503] (II) intel(0): Output LVDS1 connected
[ 7.503] (II) intel(0): Output VGA1 disconnected
[ 7.503] (II) intel(0): Output TV1 disconnected
[ 7.503] (II) intel(0): Using exact sizes for initial modes
[ 7.503] (II) intel(0): Output LVDS1 using initial mode 1280x800
[ 7.503] (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[ 7.503] (II) intel(0): Kernel page flipping support detected, enabling
[ 7.503] (**) intel(0): Display dimensions: (330, 210) mm
[ 7.503] (**) intel(0): DPI set to (98, 96)
[ 7.503] (II) Loading sub module "fb"
[ 7.503] (II) LoadModule: "fb"
[ 7.504] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 7.506] (II) Module fb: vendor="X.Org Foundation"
[ 7.506] compiled for 1.10.1, module version = 1.0.0
[ 7.506] ABI class: X.Org ANSI C Emulation, version 0.4
[ 7.506] (II) Loading sub module "dri2"
[ 7.506] (II) LoadModule: "dri2"
[ 7.506] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 7.506] (II) Module dri2: vendor="X.Org Foundation"
[ 7.506] compiled for 1.10.1, module version = 1.2.0
[ 7.506] ABI class: X.Org Server Extension, version 5.0
[ 7.506] (II) UnloadModule: "vesa"
[ 7.506] (II) Unloading vesa
[ 7.506] (II) UnloadModule: "fbdev"
[ 7.506] (II) Unloading fbdev
[ 7.506] (II) UnloadModule: "fbdevhw"
[ 7.506] (II) Unloading fbdevhw
[ 7.507] (==) Depth 24 pixmap format is 32 bpp
[ 7.507] (II) intel(0): [DRI2] Setup complete
[ 7.507] (II) intel(0): [DRI2] DRI driver: i915
[ 7.507] (II) intel(0): Allocated new frame buffer 1280x800 stride 8192, tiled
[ 7.510] (II) UXA(0): Driver registered support for the following operations:
[ 7.510] (II) solid
[ 7.510] (II) copy
[ 7.510] (II) composite (RENDER acceleration)
[ 7.510] (II) put_image
[ 7.510] (II) get_image
[ 7.510] (==) intel(0): Backing store disabled
[ 7.510] (==) intel(0): Silken mouse enabled
[ 7.511] (II) intel(0): Initializing HW Cursor
[ 7.543] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 7.543] (==) intel(0): DPMS enabled
[ 7.544] (==) intel(0): Intel XvMC decoder disabled
[ 7.544] (II) intel(0): Set up textured video
[ 7.544] (II) intel(0): Set up overlay video
[ 7.544] (II) intel(0): direct rendering: DRI2 Enabled
[ 7.544] (==) intel(0): hotplug detection: "enabled"
[ 7.544] (--) RandR disabled
[ 7.544] (II) Initializing built-in extension Generic Event Extension
[ 7.544] (II) Initializing built-in extension SHAPE
[ 7.544] (II) Initializing built-in extension MIT-SHM
[ 7.544] (II) Initializing built-in extension XInputExtension
[ 7.544] (II) Initializing built-in extension XTEST
[ 7.544] (II) Initializing built-in extension BIG-REQUESTS
[ 7.544] (II) Initializing built-in extension SYNC
[ 7.544] (II) Initializing built-in extension XKEYBOARD
[ 7.544] (II) Initializing built-in extension XC-MISC
[ 7.544] (II) Initializing built-in extension SECURITY
[ 7.544] (II) Initializing built-in extension XINERAMA
[ 7.544] (II) Initializing built-in extension XFIXES
[ 7.544] (II) Initializing built-in extension RENDER
[ 7.544] (II) Initializing built-in extension RANDR
[ 7.544] (II) Initializing built-in extension COMPOSITE
[ 7.544] (II) Initializing built-in extension DAMAGE
[ 7.581] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[ 7.581] (II) AIGLX: enabled GLX_INTEL_swap_event
[ 7.581] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[ 7.581] (II) AIGLX: enabled GLX_SGI_make_current_read
[ 7.581] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[ 7.582] (II) AIGLX: Loaded and initialized /usr/lib/xorg/modules/dri/i915_dri.so
[ 7.582] (II) GLX: Initialized DRI2 GL provider for screen 0
[ 7.583] (II) intel(0): Setting screen physical size to 338 x 211
[ 7.794] (II) config/udev: Adding input device Power Button (/dev/input/event5)
[ 7.794] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 7.794] (II) LoadModule: "evdev"
[ 7.794] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 7.795] (II) Module evdev: vendor="X.Org Foundation"
[ 7.795] compiled for 1.10.0, module version = 2.6.0
[ 7.795] Module class: X.Org XInput Driver
[ 7.795] ABI class: X.Org XInput driver, version 12.2
[ 7.795] (II) Using input driver 'evdev' for 'Power Button'
[ 7.795] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 7.795] (**) Power Button: always reports core events
[ 7.796] (**) Power Button: Device: "/dev/input/event5"
[ 7.803] (--) Power Button: Found keys
[ 7.803] (II) Power Button: Configuring as keyboard
[ 7.803] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input5/event5"
[ 7.803] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
[ 7.803] (**) Option "xkb_rules" "evdev"
[ 7.803] (**) Option "xkb_model" "evdev"
[ 7.803] (**) Option "xkb_layout" "us"
[ 7.803] (**) Option "xkb_options" "grp:alt_shift_toggle"
[ 7.844] (II) config/udev: Adding input device Video Bus (/dev/input/event4)
[ 7.844] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[ 7.844] (II) Using input driver 'evdev' for 'Video Bus'
[ 7.844] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 7.844] (**) Video Bus: always reports core events
[ 7.844] (**) Video Bus: Device: "/dev/input/event4"
[ 7.853] (--) Video Bus: Found keys
[ 7.853] (II) Video Bus: Configuring as keyboard
[ 7.853] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:01/input/input4/event4"
[ 7.853] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD)
[ 7.853] (**) Option "xkb_rules" "evdev"
[ 7.853] (**) Option "xkb_model" "evdev"
[ 7.853] (**) Option "xkb_layout" "us"
[ 7.853] (**) Option "xkb_options" "grp:alt_shift_toggle"
[ 7.864] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[ 7.864] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 7.864] (II) Using input driver 'evdev' for 'Power Button'
[ 7.864] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 7.864] (**) Power Button: always reports core events
[ 7.864] (**) Power Button: Device: "/dev/input/event1"
[ 7.883] (--) Power Button: Found keys
[ 7.883] (II) Power Button: Configuring as keyboard
[ 7.883] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input1/event1"
[ 7.883] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
[ 7.883] (**) Option "xkb_rules" "evdev"
[ 7.883] (**) Option "xkb_model" "evdev"
[ 7.883] (**) Option "xkb_layout" "us"
[ 7.883] (**) Option "xkb_options" "grp:alt_shift_toggle"
[ 7.884] (II) config/udev: Adding input device Lid Switch (/dev/input/event3)
[ 7.884] (II) No input driver/identifier specified (ignoring)
[ 7.885] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[ 7.885] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[ 7.885] (II) Using input driver 'evdev' for 'Sleep Button'
[ 7.885] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 7.885] (**) Sleep Button: always reports core events
[ 7.885] (**) Sleep Button: Device: "/dev/input/event2"
[ 7.910] (--) Sleep Button: Found keys
[ 7.910] (II) Sleep Button: Configuring as keyboard
[ 7.910] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input2/event2"
[ 7.910] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD)
[ 7.910] (**) Option "xkb_rules" "evdev"
[ 7.910] (**) Option "xkb_model" "evdev"
[ 7.910] (**) Option "xkb_layout" "us"
[ 7.910] (**) Option "xkb_options" "grp:alt_shift_toggle"
[ 7.913] (II) config/udev: Adding input device HDA Intel Mic at Ext Front Jack (/dev/input/event6)
[ 7.913] (II) No input driver/identifier specified (ignoring)
[ 7.922] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[ 7.922] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[ 7.922] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[ 7.922] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 7.922] (**) AT Translated Set 2 keyboard: always reports core events
[ 7.922] (**) AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[ 7.936] (--) AT Translated Set 2 keyboard: Found keys
[ 7.937] (II) AT Translated Set 2 keyboard: Configuring as keyboard
[ 7.937] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[ 7.937] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
[ 7.937] (**) Option "xkb_rules" "evdev"
[ 7.937] (**) Option "xkb_model" "evdev"
[ 7.937] (**) Option "xkb_layout" "us"
[ 7.937] (**) Option "xkb_options" "grp:alt_shift_toggle"
[ 7.938] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event7)
[ 7.938] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[ 7.938] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[ 7.938] (II) LoadModule: "synaptics"
[ 7.938] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[ 7.939] (II) Module synaptics: vendor="X.Org Foundation"
[ 7.939] compiled for 1.10.0, module version = 1.4.0
[ 7.939] Module class: X.Org XInput Driver
[ 7.939] ABI class: X.Org XInput driver, version 12.2
[ 7.939] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[ 7.939] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[ 7.939] (**) SynPS/2 Synaptics TouchPad: always reports core events
[ 7.939] (**) Option "Device" "/dev/input/event7"
[ 8.070] (--) SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5472
[ 8.070] (--) SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4448
[ 8.070] (--) SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[ 8.070] (--) SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[ 8.070] (--) SynPS/2 Synaptics TouchPad: buttons: left right double triple
[ 8.070] (**) Option "VertEdgeScroll" "on"
[ 8.070] (**) Option "TapButton1" "1"
[ 8.070] (**) Option "TapButton2" "2"
[ 8.070] (**) Option "TapButton3" "3"
[ 8.176] (--) SynPS/2 Synaptics TouchPad: touchpad found
[ 8.176] (**) SynPS/2 Synaptics TouchPad: always reports core events
[ 8.230] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input7/event7"
[ 8.230] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD)
[ 8.230] (**) SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[ 8.230] (**) SynPS/2 Synaptics TouchPad: MaxSpeed is now 1.75
[ 8.230] (**) SynPS/2 Synaptics TouchPad: AccelFactor is now 0.040
[ 8.230] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[ 8.230] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[ 8.230] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[ 8.230] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[ 8.310] (--) SynPS/2 Synaptics TouchPad: touchpad found
[ 8.310] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[ 8.310] (II) No input driver/identifier specified (ignoring)
[ 8.332] (II) intel(0): EDID vendor "SEC", prod id 13381
[ 8.332] (II) intel(0): Printing DDC gathered Modelines:
[ 8.332] (II) intel(0): Modeline "1280x800"x0.0 68.94 1280 1296 1344 1408 800 801 804 816 -hsync -vsync (49.0 kHz)
[ 39.848] (II) intel(0): EDID vendor "SEC", prod id 13381
[ 39.848] (II) intel(0): Printing DDC gathered Modelines:
[ 39.848] (II) intel(0): Modeline "1280x800"x0.0 68.94 1280 1296 1344 1408 800 801 804 816 -hsync -vsync (49.0 kHz)
I can't see any errors, but last 3 entries are repeated and there is a big delay in time consuming (from 8.332 to 39.848).
Last edited by clovenhoof (2011-05-19 20:33:32)It's OK now.
I don't know how it was solved.
May be because, firefox tried to run on every reboot -
How to solve delay in a program with data aquisition and processing
Hello, I am a starter in Labview programing. I am working on a system which contains a roller, a piston and a A/D cart which is from Data Translation Inc (DT304). I am using labview to get speed data of the roller (which is voltage first then be converted into speed) from Analog Input Channels, and then using Analog Output Channels to control the friction force being appylied to the roller by using a piston.
I am using a Waveform Chart to show the speed of roller. However, as I am adding more components to the program, I always get delay in the speed display and also the output control of the piston. Also, as I spent more time using the program eg. from morning to night, it became slower too.
My question is, how does labview store data and how are the data been stored and released in the buffer.Is it because I am loading too much data in the buffer so that it became slower? And also how to solve these delays?
I am using the "save to file" function to write data to a ".lvm" file, but I did some changes to the saving by using a button to enable and disable saving. So I don't think the problem is because I am always saving the data into a file.
Thank you very much.
JessieI'm betting it's two things:
1. Program Architecture
and 2. Dynamically resizing arrays.
With the program architecture... if you have one do-while loop that acquires data from teh DAQ, processes it, opens/indexes/writes/closes a file, then comes back around... as your arrays and files increase in size, the loop is going to take longer to execute. A Producer-Consumer loop (a good tutorial on them can be found here) has one loop that acquires data and stuffs the data into a queue. This will buffer the data while it's in transition between acquisition and processing. A second loop in parallel takes data in from the queue, processes it, then comes back around. The two loops operate independently of each other, so even if the consumer loop takes longer as the files or math gets more complex, the producer loop continues to run full speed.
Second is the arrays. Every time you append data into an array, LabVIEW has to make a copy of the data that's in the array. If you append small amounts of data to an array over and over and over again, eventually LabVIEW is going to be copying very large amounts of data over and over and over again. The producer-consumer architecture can alleviate this problem.
Maybe you are looking for
-
I have an I-Pod Mini that I'm connecting to a laptop running Windows XP. I'm connecting through a 4 pin firewire connection. More often than not, I can't get the I-Pod to eject even using the hardware remove function. I get a message that says the I-
-
hi is there any function module to calculate wear and tear for particular asset?
-
Need to add navigational attribute in query level
Hi, Im new to bi . in dso i have a navigational attribute 0CRM_MKTELM _ 0BPARTNER . 0CRM_MKTELM is a master data and 0BPARTNER also a master data that dso is used in infoset , 0country is the attribute of 0bpartner. i need to bring the 0countr
-
Load balancing UDP application in ACE
Hi all, What's the proper way to load balance a UDP application (NTP protocol) using ACE? We used to do it in our CSS using a content to load-balance and a source group to source-NAT the UDP replies from the servers to the VIP. I guess this should be
-
Idocs in Users Inbox? Table or Function Module
Hi, We have around 9000+ error Idocs (status 51) for which we had configured the workflow, so that they are directly transffered to the users SAP Inbox. Now we would like to see whether they are still in the Users inbox or the users have acted on the