[gentoo-user] what does this mean:rcu_sched detected stalls on CPUs/tasks
My pc have a random boot problem.I can hardly make it clear when will occur. The kern.log shows INFO: rcu_sched detected stalls on CPUs/tasks: { 0} (detected by 1, t=10002 jiffies, g=18446744073709551325, c=18446744073709551324, q=13). When this happen on boot,the kernel seems hung and will take about one or two minuts,then continue booting as normal.Does anyone know the reason?
Re: [gentoo-user] what does this mean:rcu_sched detected stalls on CPUs/tasks
Yes,I have search some webpages.But not sure if this question can be solved and how to be solved. 2013/9/25 Alan McKinnon alan.mckin...@gmail.com On 25/09/2013 12:56, 东方巽雷 wrote: My pc have a random boot problem.I can hardly make it clear when will occur. The kern.log shows INFO: rcu_sched detected stalls on CPUs/tasks: { 0} (detected by 1, t=10002 jiffies, g=18446744073709551325, c=18446744073709551324, q=13). When this happen on boot,the kernel seems hung and will take about one or two minuts,then continue booting as normal.Does anyone know the reason? Google search string: INFO: rcu_sched detected stalls on CPUs/tasks: First hit: https://www.kernel.org/doc/Documentation/RCU/stallwarn.txt That's the kernel doc that describes the relevant system. -- Alan McKinnon alan.mckin...@gmail.com
[gentoo-user] which filesystem is more suitable for /var/tmp/portage?
ext4?btrfs or reiserfs?
Re: [gentoo-user] udev doesn't turn off touchpad on boot.
Never work when remove them. 2013/9/16 jo...@antarean.org 东方巽雷 dongfangxun...@gmail.com wrote: No,I only seperate /home and /usr/portage. And now I don't use initramfs to boot. 2013/9/16 jo...@antarean.org 东方巽雷 dongfangxun...@gmail.com wrote: I have /etc/udev/rules.d/touchpad.rules,content as below: ACTION==add, SUBSYSTEM==input, KERNEL==mouse[0-9], ENV{DISPLAY}=:0, ENV{XAUTHORITY}=/home/gentoo/.Xauthority, ENV{ID_CLASS}=mouse, ENV{REMOVE_CMD}=/usr/bin/synclient TouchpadOff=0, RUN+=/usr/bin/synclient TouchpadOff=1 My user name is gentoo.I notice that this rules not work when boot into desktop.In orderv to disable touchpad,I must restart udev service or remove usb mouse and connect again. Can it be solved? Do you have /usr on a seperate partition? If yes, do you use an initramfs to mount it at boot? -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity. Please do not top-post. I just noticed you are checking for display and xauthority in the environment. Udev processes events when they come in. I doubt you are logged in when the mouse is detected during boot. Try removing those checks from the rule. -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
[gentoo-user] gcc specs file change multilib_defaults no effect.
Hello,everyone. I found that the gcc specs file has such contents: // *multilib: . !m64 !m32 !mx32;64:../lib64 m64 !m32 !mx32;32:../lib32 !m64 m32 !mx32;x32:../libx32 !m64 !m32 mx32; *multilib_defaults: mx32 // I change it to: // *multilib: . !m64 !m32 !mx32;64:../lib64 m64 !m32 !mx32;32:../lib32 !m64 m32 !mx32;x32:../libx32 !m64 !m32 mx32; *multilib_defaults: m64 // expect to change gcc default target.But failed. If I don't add -m64 flag,I will still get a x32 abi target. So,is it possible to change the default target of gcc?
[gentoo-user] udev doesn't turn off touchpad on boot.
I have /etc/udev/rules.d/touchpad.rules,content as below: ACTION==add, SUBSYSTEM==input, KERNEL==mouse[0-9], ENV{DISPLAY}=:0, ENV{XAUTHORITY}=/home/gentoo/.Xauthority, ENV{ID_CLASS}=mouse, ENV{REMOVE_CMD}=/usr/bin/synclient TouchpadOff=0, RUN+=/usr/bin/synclient TouchpadOff=1 My user name is gentoo.I notice that this rules not work when boot into desktop.In orderv to disable touchpad,I must restart udev service or remove usb mouse and connect again. Can it be solved?
Re: [gentoo-user] udev doesn't turn off touchpad on boot.
No,I only seperate /home and /usr/portage. And now I don't use initramfs to boot. 2013/9/16 jo...@antarean.org 东方巽雷 dongfangxun...@gmail.com wrote: I have /etc/udev/rules.d/touchpad.rules,content as below: ACTION==add, SUBSYSTEM==input, KERNEL==mouse[0-9], ENV{DISPLAY}=:0, ENV{XAUTHORITY}=/home/gentoo/.Xauthority, ENV{ID_CLASS}=mouse, ENV{REMOVE_CMD}=/usr/bin/synclient TouchpadOff=0, RUN+=/usr/bin/synclient TouchpadOff=1 My user name is gentoo.I notice that this rules not work when boot into desktop.In orderv to disable touchpad,I must restart udev service or remove usb mouse and connect again. Can it be solved? Do you have /usr on a seperate partition? If yes, do you use an initramfs to mount it at boot? -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
[gentoo-user] bios+gpt+grub2 boot windows
I format my hard disk to gpt.Then create a 1M partition at the header of hard disk ,add bios_grub flag.I can install and boot gentoo,debain and archlinux,but have no idea how to boot windows7 and 8.When I boot win7 or win8 from usb,it always complain the gpt partition and cannot install.What should I do?
Re: [gentoo-user] bios+gpt+grub2 boot windows
I have solved my problem by using uefi shell.My pc bios can load uefi shell from usb fat32 partition. Thank you. 2013/9/11 Wang Xuerui idontknw.w...@gmail.com 2013/9/11 Yuri K. Shatroff yks-...@yandex.ru: Well, actually it *is* possible using hybrid MBR+GPT partitioning. http://www.rodsbooks.com/gdisk/hybrid.html Also google for 'hybrid mbr'. I am using this setup for multibooting several OS incl. Win 7 without problems for a couple of years. I almost forgot about hybrid MBRs... also it's fragile indeed, so I probably won't recommend it even if I thought about it in the first place. In this case, you must either revert to an msdos partition table (can be done w/o data loss IIRC), or trick Windows into believing it's running on EFI, i.e. set up UEFI DUET. Google that and you'll find an excellent HOWTO on this. Happy hacking~ An interesting idea, yet, probably, a little more complicated than hybrid MBR for the sole purpose of multibooting. I've tried that on a VirtualBox VM last year, and I'd like to point out that describing the process as a little more complicated is serious underestimation. :D
[gentoo-user] Where is the file which masks glibc-2.18?
I cannot find glibc-2.18 in /usr/portage/profile/package.mask,but glibc-2.18 is being masked.I would like to know which file masks glibc-2.18.
[gentoo-user] Repository 'x-portage' is missing masters attribute in '/usr/local/portage/metadata/layout.conf'
What does the title mean?I always seem it when running emerge,but the file /usr/local/portage/metadata/layout.conf does not exist.
[gentoo-user] Can I build a ipv6 access point by hostapd and dnsmasq?
I have sucessfully build a ipv4 access point , 1)edit /etc/dnsmasq.conf and add interface=wlan0 except-interface=lo dhcp-range=10.0.0.2,10.0.0.9,12h 2)create a file name hostapd.conf: interface=wlan0 driver=nl80211 ssid=pqy hw_mode=g channel=8 wpa=3 wpa_passphrase=pqy5 3)create a file name ap.sh: #!/bin/bash pkill hostapd pkill dnsmasq sleep 1 ifconfig wlan0 10.0.0.1 netmask 255.255.255.240 iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE echo 1 /proc/sys/net/ipv4/ip_forward hostapd -B hostapd.conf /etc/init.d/dnsmasq restart then sudo sh ap.sh I can connect to this ipv4 network.But I have no idea how to deal with ipv6. Is it possible to create ipv6 local network?
Re: [gentoo-user] how can I pause emerge after it finish running configure or cmake and before it do any compilation?
good! Thank you. 2013/8/19 Alexey Mishustin shum...@shumkar.ru 2013/8/19 东方巽雷 dongfangxun...@gmail.com: I need to change some arguments in Makefile. You might want to use a low-level interface to the Portage system 'ebuild': ebuild path/to/package.ebuild fetch ebuild path/to/package.ebuild unpack ===make you changes here (where unpacked, in /tmp)=== ebuild path/to/package.ebuild compile ebuild path/to/package.ebuild install ebuild path/to/package.ebuild qmerge -- Regards, Alex
[gentoo-user] what is /usr/bin/{gcc,cc,g++,c++}?
I have noticed that these files md5 are the same,and none of them belongs to the gcc package.How and when does the system make them?
[gentoo-user] grub2 generate wrong uuid for other system
I noticed that when grub2 generate boot menu for other linux system,the line linux /boot/vmlinux-3.10.7 root=/dev/sda6 ro is error,sda6 is root of current system,and sda8 is the right one of another system.Is it a bug? gentoo amd64 testing.kernel 3.10.7,grub-2.00_p5107,os-prober-1.62
[gentoo-user] libreoffice cannot use oxygen theme
I download LibreOffice_4.1.0_Linux_x86-64_deb.tar.gz from https://www.libreoffice.org/download/ and extract all the deb files.My desktop is KDE,but libreoffice only uses gtk+ theme. How should I find out the problem?
Re: [gentoo-user] libreoffice cannot use oxygen theme
libreoffice-bin needs older icu version,libreoffice need so much time to compile 2013/8/18 Alan McKinnon alan.mckin...@gmail.com On 18/08/2013 17:16, 东方巽雷 wrote: I download LibreOffice_4.1.0_Linux_x86-64_deb.tar.gz from https://www.libreoffice.org/download/ and extract all the deb files.My desktop is KDE,but libreoffice only uses gtk+ theme. How should I find out the problem? Why are you downloading LibreOffice and extracting it manually? There are 2 ebuilds for it in the tree: libreoffice and libreoffice-bin. Use those instead, they work properly. -- Alan McKinnon alan.mckin...@gmail.com
[gentoo-user] how can I pause emerge after it finish running configure or cmake and before it do any compilation?
I need to change some arguments in Makefile.
Re: [gentoo-user] plasma-desktop crash on boot
2013/8/16 microcai micro...@fedoraproject.org 在 2013-8-16 上午9:48,东方巽雷 dongfangxun...@gmail.com写道: gentoo testing,kernel3.10.6,qt4.8.5,kde4.11,32bit system,plasma-desktop segmentation fault on every boot time.But when I run it in konsole,it didn't crash any more,just show X Error: BadWindow (invalid Window parameter) 3.Is there someone having the same problem? you should use amd64. i had upgraded, everything work fine Application: Plasma 桌面外壳 (plasma-desktop), signal: Segmentation fault Using host libthread_db library /lib/libthread_db.so.1. [Current thread is 1 (Thread 0xb5414740 (LWP 10856))] Thread 5 (Thread 0xad8e5b40 (LWP 10876)): #0 0xe424 in __kernel_vsyscall () #1 0xb6b5cdbc in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187 #2 0xb12f658d in ?? () from /usr/lib/qt4/libQtScript.so.4 #3 0xb12f65cf in ?? () from /usr/lib/qt4/libQtScript.so.4 #4 0xb6b58ef4 in start_thread (arg=0xad8e5b40) at pthread_create.c:308 #5 0xb5ed9fbe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131 Thread 4 (Thread 0xa6454b40 (LWP 10878)): #0 0xb58ac3d7 in g_mutex_get_impl (mutex=0xa5b004e0) at /var/tmp/portage/dev-libs/glib-2.36.3-r2/work/glib-2.36.3/glib/gthread-posix.c:121 #1 0xb58ac678 in g_mutex_lock (mutex=0xa5b004e0) at /var/tmp/portage/dev-libs/glib-2.36.3-r2/work/glib-2.36.3/glib/gthread-posix.c:210 #2 0xb58684d5 in g_main_context_iterate (context=context@entry=0xa5b004e0, block=block@entry=1, dispatch=dispatch@entry=1, self=optimized out) at /var/tmp/portage/dev-libs/glib-2.36.3-r2/work/glib-2.36.3/glib/gmain.c:3668 #3 0xb5868757 in g_main_context_iteration (context=0xa5b004e0, may_block=1) at /var/tmp/portage/dev-libs/glib-2.36.3-r2/work/glib-2.36.3/glib/gmain.c:3762 #4 0xb6d1dfcf in QEventDispatcherGlib::processEvents (this=0xa5b00468, flags=...) at kernel/qeventdispatcher_glib.cpp:427 #5 0xb6ceb683 in QEventLoop::processEvents (this=this@entry=0xa6454258, flags=...) at kernel/qeventloop.cpp:149 #6 0xb6ceb9a1 in QEventLoop::exec (this=this@entry=0xa6454258, flags=...) at kernel/qeventloop.cpp:204 #7 0xb6bd8e8c in QThread::exec (this=this@entry=0x93512b8) at thread/qthread.cpp:536 #8 0xb6ccb904 in QInotifyFileSystemWatcherEngine::run (this=0x93512b8) at io/qfilesystemwatcher_inotify.cpp:256 #9 0xb6bdb918 in QThreadPrivate::start (arg=0x93512b8) at thread/qthread_unix.cpp:338 #10 0xb6b58ef4 in start_thread (arg=0xa6454b40) at pthread_create.c:308 #11 0xb5ed9fbe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131 Thread 3 (Thread 0xa49ffb40 (LWP 10883)): #0 g_private_get_impl (key=0xb5953618 g_thread_specific_private) at /var/tmp/portage/dev-libs/glib-2.36.3-r2/work/glib-2.36.3/glib/gthread-posix.c:978 #1 0xb58acc98 in g_private_get (key=key@entry=0xb5953618 g_thread_specific_private) at /var/tmp/portage/dev-libs/glib-2.36.3-r2/work/glib-2.36.3/glib/gthread-posix.c:1007 #2 0xb588ea3e in g_thread_self () at /var/tmp/portage/dev-libs/glib-2.36.3-r2/work/glib-2.36.3/glib/gthread.c:993 #3 0xb586761a in g_main_context_acquire (context=0xa40004e0) at /var/tmp/portage/dev-libs/glib-2.36.3-r2/work/glib-2.36.3/glib/gmain.c:3110 #4 0xb58684a8 in g_main_context_iterate (context=context@entry=0xa40004e0, block=block@entry=1, dispatch=dispatch@entry=1, self=optimized out) at /var/tmp/portage/dev-libs/glib-2.36.3-r2/work/glib-2.36.3/glib/gmain.c:3651 #5 0xb5868757 in g_main_context_iteration (context=0xa40004e0, may_block=1) at /var/tmp/portage/dev-libs/glib-2.36.3-r2/work/glib-2.36.3/glib/gmain.c:3762 #6 0xb6d1dfcf in QEventDispatcherGlib::processEvents (this=0xa4000468, flags=...) at kernel/qeventdispatcher_glib.cpp:427 #7 0xb6ceb683 in QEventLoop::processEvents (this=this@entry=0xa49ff258, flags=...) at kernel/qeventloop.cpp:149 #8 0xb6ceb9a1 in QEventLoop::exec (this=this@entry=0xa49ff258, flags=...) at kernel/qeventloop.cpp:204 #9 0xb6bd8e8c in QThread::exec (this=this@entry=0x9559f20) at thread/qthread.cpp:536 #10 0xb6ccb904 in QInotifyFileSystemWatcherEngine::run (this=0x9559f20) at io/qfilesystemwatcher_inotify.cpp:256 #11 0xb6bdb918 in QThreadPrivate::start (arg=0x9559f20) at thread/qthread_unix.cpp:338 #12 0xb6b58ef4 in start_thread (arg=0xa49ffb40) at pthread_create.c:308 #13 0xb5ed9fbe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131 Thread 2 (Thread 0xa2eceb40 (LWP 10911)): #0 0xe424 in __kernel_vsyscall () #1 0xb6b5d1a4 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:250 #2 0xb6bdbe9c in wait (time=3, this=0x8e5f4f8) at thread/qwaitcondition_unix.cpp:84 #3 QWaitCondition::wait (this=0x94e1958, mutex=0x94e1954, time=3) at thread/qwaitcondition_unix.cpp:158 #4 0xb6bced7b in QThreadPoolThread::run (this=0x9a81ac8) at concurrent/qthreadpool.cpp:141 #5 0xb6bdb918 in QThreadPrivate::start (arg=0x9a81ac8) at thread/qthread_unix.cpp:338 #6 0xb6b58ef4 in start_thread
[gentoo-user] plasma-desktop crash on boot
gentoo testing,kernel3.10.6,qt4.8.5,kde4.11,32bit system,plasma-desktop segmentation fault on every boot time.But when I run it in konsole,it didn't crash any more,just show X Error: BadWindow (invalid Window parameter) 3.Is there someone having the same problem?
Re: [gentoo-user] Optional /usr merge in Gentoo
more information? 2013/8/13 Alessio Ababilov ilovegnuli...@gmail.com Hi! I wrote a script that allows /usr merge in Gentoo without changes to ebuilds. I described it in an article http://aababilov.wordpress.com/2013/07/17/usr-merge-in-gentoo/ Are there any volunteers to test it? I use it on my computers for two months. Alessio Ababilov Senior Software Engineer Grid Dynamics
[gentoo-user] hostapd2.0 not work
Hello everyone!hostapd1.1 work well in my system,but when I upgrade to 2.0,it doesn't work any more.And I have found that 1.1 is no longer in the gentoo portage.What should I do?
Re: [gentoo-user] about LIBRARY_PATH
I think the gcc version with x32 abi is faster.So I install a x32 version on amd64.Now I have solved my problem by creating a new gcc specs file.Thank you all the same. 2013/8/12 Samuli Suominen ssuomi...@gentoo.org On 12/08/13 05:49, 东方巽雷 wrote: It seems that this variable is hard-code by gcc.I cannot change it any more.When I use gcc -m32 to compile a 32bit program,gcc is looking for /usr/lib rather than /usr/lib32.But in my system,/usr/lib is a symlink to /usr/lib64.The real 32bit librarys is in /usr/lib32.The linker is always complaining about i386:x86-64 architecture of input file `/usr/lib/gcc/x86_64-pc-linux-**gnux32/4.7.3/../../../../lib/**crt1.o' is You have a x32 system? incompatible with i386 output..Why does it not search /usr/lib32?
[gentoo-user] about LIBRARY_PATH
It seems that this variable is hard-code by gcc.I cannot change it any more.When I use gcc -m32 to compile a 32bit program,gcc is looking for /usr/lib rather than /usr/lib32.But in my system,/usr/lib is a symlink to /usr/lib64.The real 32bit librarys is in /usr/lib32.The linker is always complaining about i386:x86-64 architecture of input file `/usr/lib/gcc/x86_64-pc-linux-gnux32/4.7.3/../../../../lib/crt1.o' is incompatible with i386 output..Why does it not search /usr/lib32?
Re: [gentoo-user] about LIBRARY_PATH
LIBRARY_PATH is not LD_LIBRARY_PATH. 2013/8/12 Adam Carter adamcart...@gmail.com I thought LD_LIBRARY_PATH was old skool and now ppl use ldconfig, so man ldconfig.
[gentoo-user] Is it possible to use the x32 abi gcc version to build a amd64 system?
x32 abi is a new abi which is different from x86_64 and x86.Some softwares cannot compile on x32 system,but glibc,gcc,binutils,works well on x32 abi with faster speed than x86_64.So I would to make such a gcc version,its abi is x32,but its default target is x86_64,similar to cross compiler.Then I can build a x86_64 system with faster speed.The question is how to make such a gcc version?