Re: [gentoo-user] kde splash screen won't show up when loading kde
Thanks a lot Yohan for giving a sensible answer. :D If someone goe sinto the same issue note installing kde-base-artwork did the trick. 2012/11/12 Yohan Pereira yohan.pere...@gmail.com On Sunday 11 Nov 2012 21:39:50 Pau Peris wrote: Hi, thanks to all for your questions, this issue is also happening to me on a fresh install so i'm pretty sure a package/lib is missing. Hope someone can get out a clue. Thanks. :) Maybe you can try installing kdebase-startkde or kde-base-meta and see what additional packages portage wants to install. The one you need is probably one of them. -- - Yohan Pereira The difference between a Miracle and a Fact is exactly the difference between a mermaid and a seal. -- Mark Twain
Re: [gentoo-user] kde splash screen won't show up when loading kde
Hi, thanks to all for your questions, this issue is also happening to me on a fresh install so i'm pretty sure a package/lib is missing. Hope someone can get out a clue. Thanks. :) 2012/11/11 Chris Walters cjw20...@comcast.net On 11/11/2012 07:31 AM, Alan McKinnon wrote: On Sat, 10 Nov 2012 17:29:11 -0600 Dale rdalek1...@gmail.com wrote: John Walters wrote: On Sat, 10 Nov 2012 13:58:42 +0100 Pau Peris sibok1...@gmail.com wrote: i've just upgraded kde through a custom @set, the same i used over the last years, but this time although kde-base/ksplash is installed kde splash screen does not appear anymore while loading kde. Do someone know which single package could i missed? Thx :) Can't really say without looking at your system, but you can try: short answer: usually, you can't longer answer: you can't, because software usually can't detect the answer. revdep-rebuild does a fine job of finding what it was designed to do - reverse dependencies that are now broken. Quite right. revdep-rebuild has a singular purpose, and does that well enough, but cannot solve all problems 'emerge -e world' will solve all the same problems that revdep-rebuild will, and solve those that it can't. I do it whenever I upgrade something, just to make sure my system is up to date. Chris --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 12-0, 11/11/2012 Tested on: 11/11/2012 11:33:33 AM avast! - copyright (c) 1988-2012 AVAST Software. http://www.avast.com
[gentoo-user] kde splash screen won't show up when loading kde
Hi, i've just upgraded kde through a custom @set, the same i used over the last years, but this time although kde-base/ksplash is installed kde splash screen does not appear anymore while loading kde. Do someone know which single package could i missed? Thx :)
[gentoo-user] Error emerging kdepimlibs-4.9.3
Hi, i am on a new Gentoo installation and when trying to emerge kde4.9.3 through kde4 layman overlay i get the following error for kdepimlibs-4.9.3 -- Found Sasl2: /usr/lib64/libsasl2.so -- Looking for include file sys/select.h -- Looking for include file sys/select.h - found -- Looking for include file sys/socket.h -- Looking for include file sys/socket.h - found -- Looking for include file sys/types.h -- Looking for include file sys/types.h - found -- Found SharedMimeInfo: /usr/bin/update-mime-database (found suitable version 1.0, required is 0.30) -- Found Libical version 0.48 -- Found LIBICAL: /usr/lib64/libical.so;/usr/lib64/libicalss.so CMake Error at /usr/share/cmake/Modules/CMakeExportBuildSettings.cmake:17 (MESSAGE): The functionality of this module has been dropped as of CMake 2.8. It was deemed harmful (confusing users by changing their compiler). Please remove calls to the CMAKE_EXPORT_BUILD_SETTINGS macro and stop including this module. If this project generates any files for use by external projects, remove any use of the CMakeImportBuildSettings module from them. Call Stack (most recent call first): gpgme++/CMakeLists.txt:121 (include) -- Configuring incomplete, errors occurred! * ERROR: kde-base/kdepimlibs-4.9.3 failed (configure phase): * cmake failed * * Call stack: * ebuild.sh, line 85: Called src_configure * environment, line 3899: Called kde4-base_src_configure * environment, line 2941: Called cmake-utils_src_configure * environment, line 1064: Called _execute_optionaly 'src_configure' * environment, line 486: Called enable_cmake-utils_src_configure * environment, line 1384: Called die * The specific snippet of code: * ${CMAKE_BINARY} ${cmakeargs[@]} ${CMAKE_USE_DIR} || die cmake failed; * * If you need support, post the output of `emerge --info '=kde-base/kdepimlibs-4.9.3'`, * the complete build log and the output of `emerge -pqv '=kde-base/kdepimlibs-4.9.3'`. * This ebuild used the following eclasses from overlays: * /var/lib/layman/kde/eclass/kde4-base.eclass * /var/lib/layman/kde/eclass/kde4-functions.eclass * /var/lib/layman/kde/eclass/cmake-utils.eclass * This ebuild is from an overlay named 'kde': '/var/lib/layman/kde/' * The complete build log is located at '/var/tmp/portage/kde-base/kdepimlibs-4.9.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-base/kdepimlibs-4.9.3/temp/environment'. * Working directory: '/var/tmp/portage/kde-base/kdepimlibs-4.9.3/work/kdepimlibs-4.9.3_build' * S: '/var/tmp/portage/kde-base/kdepimlibs-4.9.3/work/kdepimlibs-4.9.3 Does any one knows how to solve it? Thx in advanced
[gentoo-user] Raid system fails to boot after moving from 2.6 kernel to 3.5
Hi, i'm running GNU/Gentoo Linux with a custom compiled kernel and i've just migrated from a 2.6 kernel to a 3.5. As my HD's are on raid 0 mode i use a custom initrd file in order to be able to boot. While kernel 2.6 is able to boot without problems the new 3.5 compiled kernel fails to boot complaining about no block devices found. After taking a look at initrd.cpio contained scripts i can see the failure message is given by mdadm tool. Does anyone has a clue about that? Thansk in advanced. :)
Re: [gentoo-user] Raid system fails to boot after moving from 2.6 kernel to 3.5
Hi, thanks a lot for both answers. I've just checked my kernel config and CONFIG_SCSI_SCAN_ASYNC is not setted so gonna take a look at it all with set -x. Thanks :) 2012/10/26 J. Roeleveld jo...@antarean.org Pau Peris sibok1...@gmail.com wrote: Hi, i'm running GNU/Gentoo Linux with a custom compiled kernel and i've just migrated from a 2.6 kernel to a 3.5. As my HD's are on raid 0 mode i use a custom initrd file in order to be able to boot. While kernel 2.6 is able to boot without problems the new 3.5 compiled kernel fails to boot complaining about no block devices found. After taking a look at initrd.cpio contained scripts i can see the failure message is given by mdadm tool. Does anyone has a clue about that? Thansk in advanced. :) Paul, I had a similar issue with a new system. There it was caused by mdadm trying to start the raid devices before all the drives were identified. Try disabling Asynchronous SCSI scanning in the kernel config. (CONFIG_SCSI_SCAN_ASYNC) Or add scsi_mod.scan=sync to the kernel commandline to see if it's the same cause. -- Joost -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- Pau Peris Rodriguez http://www.pauperis.com Aquest correu electrònic conté informació de caràcter confidencial dirigida exclusivament al seu/s destinatari/s tant mateix va dirigit exclusivament als seu/s destinatari/s primari/s present/s. Així, queda prohibida la seva divulgació, copia o distribució a tercers sense prèvia autorització escrita per part de Pau Peris Rodriguez. En cas d'haver rebut aquesta informació per error, es demana que es notifiqui immediatament d'aquesta circumstancia mitjançant la direcció electrònica de la persona del emissor.
Re: [gentoo-user] Raid system fails to boot after moving from 2.6 kernel to 3.5
Thx a lot Paul, this morning i noticed there was some kind of issue on my old initrd which works fine for 2.6 kernels, so created a new initrd which works fine and let me to boot into GNU/Gentoo Linux with same 3.5 bzImage. Gonna check if the issue came from mdadm, thx :) 2012/10/26 Paul Hartman paul.hartman+gen...@gmail.com On Fri, Oct 26, 2012 at 3:36 AM, Pau Peris sibok1...@gmail.com wrote: Hi, i'm running GNU/Gentoo Linux with a custom compiled kernel and i've just migrated from a 2.6 kernel to a 3.5. As my HD's are on raid 0 mode i use a custom initrd file in order to be able to boot. While kernel 2.6 is able to boot without problems the new 3.5 compiled kernel fails to boot complaining about no block devices found. After taking a look at initrd.cpio contained scripts i can see the failure message is given by mdadm tool. Does anyone has a clue about that? Thansk in advanced. :) There is a bug with certain versions of mdadm failing to assemble arrays, maybe you using one of the affected versions. see https://bugs.gentoo.org/show_bug.cgi?id=416081 -- Pau Peris Rodriguez http://www.pauperis.com Aquest correu electrònic conté informació de caràcter confidencial dirigida exclusivament al seu/s destinatari/s tant mateix va dirigit exclusivament als seu/s destinatari/s primari/s present/s. Així, queda prohibida la seva divulgació, copia o distribució a tercers sense prèvia autorització escrita per part de Pau Peris Rodriguez. En cas d'haver rebut aquesta informació per error, es demana que es notifiqui immediatament d'aquesta circumstancia mitjançant la direcció electrònica de la persona del emissor.
[gentoo-user] Re: Oracle 11g installer crash
Hi, i've followed that guide http://vh4x0r.wordpress.com/2010/08/17/installing-oracle-11g-on-linux-amd64/ in order to install oracle 11g but i get the following error when running: ./runInstaller: line 254: /apphome/oracle/database/install/.oui: cannot execute binary file These are the downloaded files: Linux.zseries64_11gR2_database_1of2.zip linux.zseries64_11gR2_database_2of2.zip I've also checked the following howtos without luck: http://www.fuzzy.cz/en/articles/installing-oracle-11g-r2-on-gentoo/http://www.fuzzy.cz/en/articles/installing-oracle-11g-r2-on-gentoo/%5B/url%5D http://en.gentoo-wiki.com/wiki/Oracle_10g#Introductionhttp://en.gentoo-wiki.com/wiki/Oracle_10g#Introduction[/url] Does anyoneknows who to solve it? Thx!! :)
[gentoo-user] ldd -r /usr/lib64/libdbusmenu-qt.so.2 = undefined symbol:
Hi, does anyone knows how to solve it? Reemerging did nothing ldd -r /usr/lib64/libdbusmenu-qt.so.2 linux-vdso.so.1 = (0x7fff373fd000) libQtGui.so.4 = /usr/lib64/qt4/libQtGui.so.4 (0x7f0687701000) libQtDBus.so.4 = /usr/lib64/qt4/libQtDBus.so.4 (0x7f068748) libQtCore.so.4 = /usr/lib64/qt4/libQtCore.so.4 (0x7f0686fbc000) libstdc++.so.6 = /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/libstdc++.so.6 (0x7f0686ca9000) libgcc_s.so.1 = /lib64/libgcc_s.so.1 (0x7f0686a92000) libc.so.6 = /lib64/libc.so.6 (0x7f0686737000) libglib-2.0.so.0 = /usr/lib64/libglib-2.0.so.0 (0x7f0686426000) libpthread.so.0 = /lib64/libpthread.so.0 (0x7f068620a000) libpng14.so.14 = /usr/lib64/libpng14.so.14 (0x7f0685fe) libz.so.1 = /lib64/libz.so.1 (0x7f0685dc8000) libfreetype.so.6 = /usr/lib64/libfreetype.so.6 (0x7f0685b3) libgobject-2.0.so.0 = /usr/lib64/libgobject-2.0.so.0 (0x7f06858e4000) libSM.so.6 = /usr/lib64/libSM.so.6 (0x7f06856db000) libICE.so.6 = /usr/lib64/libICE.so.6 (0x7f06854c) libXrender.so.1 = /usr/lib64/libXrender.so.1 (0x7f06852b5000) libXrandr.so.2 = /usr/lib64/libXrandr.so.2 (0x7f06850ac000) libXinerama.so.1 = /usr/lib64/libXinerama.so.1 (0x7f0684ea9000) libfontconfig.so.1 = /usr/lib64/libfontconfig.so.1 (0x7f0684c73000) libXext.so.6 = /usr/lib64/libXext.so.6 (0x7f0684a61000) libX11.so.6 = /usr/lib64/libX11.so.6 (0x7f0684725000) libm.so.6 = /lib64/libm.so.6 (0x7f06844a3000) libQtXml.so.4 = /usr/lib64/qt4/libQtXml.so.4 (0x7f0684253000) libdbus-1.so.3 = /usr/lib64/libdbus-1.so.3 (0x7f068401) libgthread-2.0.so.0 = /usr/lib64/libgthread-2.0.so.0 (0x7f0683e0a000) librt.so.1 = /lib64/librt.so.1 (0x7f0683c01000) libdl.so.2 = /lib64/libdl.so.2 (0x7f06839fd000) /lib64/ld-linux-x86-64.so.2 (0x7f06886da000) libuuid.so.1 = /lib64/libuuid.so.1 (0x7f06837f7000) libexpat.so.1 = /usr/lib64/libexpat.so.1 (0x7f06835ce000) libxcb.so.1 = /usr/lib64/libxcb.so.1 (0x7f06833b) libXau.so.6 = /usr/lib64/libXau.so.6 (0x7f06831ad000) libXdmcp.so.6 = /usr/lib64/libXdmcp.so.6 (0x7f0682fa6000) undefined symbol: _ZN5QHashIi15QHashDummyValueE13detach_helperEv (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN5QListI7QStringE6appendERKS0_ (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN4QMapIP7QActioniE11node_createEP8QMapDataPPNS3_4NodeERKS1_RKi (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN4QMapI7QString8QVariantEaSERKS2_ (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN4QMapI7QString8QVariantE4takeERKS0_ (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _Z13qvariant_castI13QDBusArgumentET_RK8QVariant (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN5QListI12DBusMenuItemEC1ERKS1_ (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZNK4QMapIiP7QActionE15mutableFindNodeEPPN8QMapData4NodeERKi (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN4QMapIiP7QActionE13detach_helperEv (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN5QListI12DBusMenuItemE6appendERKS0_ (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN5QHashIP7QAction4QMapI7QString8QVariantEE13detach_helperEv (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN4QMapIP7QActioniE8freeDataEP8QMapData (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN5QListI12DBusMenuItemEaSERKS1_ (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN4QMapIP23QDBusPendingCallWatcher4TaskE13detach_helperEv (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZrsI11QStringListERK13QDBusArgumentS3_R5QListIT_E (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN5QHashIP7QAction4QMapI7QString8QVariantEED1Ev (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN5QListI12DBusMenuItemED1Ev (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN5QListI7QStringE13detach_helperEv (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _Z17qRegisterMetaTypeI13QDBusArgumentEiPKcPT_ (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN4QMapIP23QDBusPendingCallWatcher4TaskED1Ev (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN5QListI11QStringListED2Ev (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN5QListI11QStringListE6appendERKS0_ (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN4QMapIP7QActioniED1Ev (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN4QMapIP23QDBusPendingCallWatcher4TaskE4takeERKS1_ (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN4QMapIP7QActioniE13detach_helperEv (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZNK4QMapIP23QDBusPendingCallWatcher4TaskE15mutableFindNodeEPPN8QMapData4NodeERKS1_ (/usr/lib64/libdbusmenu-qt.so.2) undefined symbol: _ZN5QHashIi15QHashDummyValueE6removeERKi (/usr/lib64/libdbusmenu-qt.so.2)
[gentoo-user] Re: Can't move Chromium windows between screens
No one knows what could be? 2010/12/15 Pau Peris sibok1...@gmail.com: Everyone here running kde+xinerama is able to drag Chromium through screens without kwin bar on top, when Chromium is maximized/full screen? Hard to believe i'm the one suffering this pain :'( PD: Issue just happens with window maximized/full screen. 2010/11/16 Pau Peris sibok1...@gmail.com: Hi, after updating Chromium to chromium-7.0.517.44 from portage i can't move it between different screens, if i go to Preferencies - Personal - Theme and enable Use borders and title bar (so it shows kwin) i can move chromium windows between screens as i normally do with any other app. Before the update i was using chromum 7.x from portage and had no issues, does any one know how can i check what's happening? Thanks in advanced! PD: I'm a kde user, xinerama enabled everywhere.
[gentoo-user] Re: Can't move Chromium windows between screens
Everyone here running kde+xinerama is able to drag Chromium through screens without kwin bar on top, when Chromium is maximized/full screen? Hard to believe i'm the one suffering this pain :'( PD: Issue just happens with window maximized/full screen. 2010/11/16 Pau Peris sibok1...@gmail.com: Hi, after updating Chromium to chromium-7.0.517.44 from portage i can't move it between different screens, if i go to Preferencies - Personal - Theme and enable Use borders and title bar (so it shows kwin) i can move chromium windows between screens as i normally do with any other app. Before the update i was using chromum 7.x from portage and had no issues, does any one know how can i check what's happening? Thanks in advanced! PD: I'm a kde user, xinerama enabled everywhere.
Re: [gentoo-user] Remove redundant entries in world - howto
The following lines creates an auditWorldFile.log log file which will show packages requires by other packages, so theones you can safely remove. #!/bin/bash n=`wc -l /var/lib/portage/world|awk '{ print $1 }'`; for i in `seq 1 $n`;do pkg=`cat /var/lib/portage/world|head -n$i|tail -n1`; echo -e Packages depending on $pkg. /tmp/auditWorldFile.log equery d $pkg /tmp/auditWorldFile.log echo -e /tmp/auditWorldFile.log done; 2010/12/8 Johannes Kimmel johannes.kim...@gmx.de: On 12/08/2010 12:23 PM, Helmut Jarausch wrote: Hi, does anybody know about an easy method to remove all entries from /var/lib/portage/world which would have been pulled in anyway even if they were not contained in world. My current attempt would be to write a script which executes emerge -vpc on each entry in world. If it wouldn't be removed it's obsolete in world. Unfortunately this has to be done in several rounds. Many thanks for a hint, Helmut. Hi, I wanted to add, that a minimal world in my opinion isn't always what you want. For example in the time I searched for a suitable window manager for me I did a lot of depclean these days and accidently removed the xserver. There was no harm done, but I figured, that my world file should contain all packages, that should never removed automatically unless I want to. This way there is a little less danger involved using depclean. So this type of work might only be done by hand. Johannes Kimmel
[gentoo-user] Fakeraid + lvm + openrc questions
Hi, i'm currently running Gentoo on a RAID0 setup on some Sata disks using a Jmicron chip from an Asus P6T board. I'm using a fakeraid due to dualboot restrictions. My whole Gentoo system is on the raid0 device so i use an initramfs to bootup. I've been running with this setup for some time, but since i migrated to baselayout2+openrc i didn't understand why i need /etc/init.d/lvm to start at boot as i have no lvm setup. Today i was doing some research and some questions appeared: * Every where says i need * RAID support - * RAID-0 (striping) mode in kernel for fakeraid to work, but my system still boots while disabling those options, are they really needed? i don't understand why it is supposed to be needed. (Is it only for mdadm usage?) * Is SCSI device support - * RAID Transport Class option needed? What is supposed to do? I think raid features are provided by jmicron driver and kernel understaands how RAID works due to Multiple devices driver support (RAID and LVM) - * Device mapper support , isn't it? * Last question is, after migrating to openrc i noticed that lvm2 package provides device-mapper tools to manage the array, but i do not want /etc/init.d/lvm to start at boot as i do not use any lvm setup, i just would like to get /dev/mapper/ correctly populated using something like dmraid -ay. I've tried removing lvm from boot and adding device-mapper instead but /dev/mapper is not populated. How should i proceed to get rid of lvm script and /dev/mapper populated, do i need /etc/dmtab to work? Then why would one want to use mdadm instead of device-mapper, which are the advatges/disadvantages on each other? i know mdadm needs an optional /etc/mdadm.conf file to work, and using mdadm one could stop/start the array, add more disks to the array etc But do mdadm need a boot up script to work? As you can see i'm a bit confused about what's best/suits best mdadm or device-mapper and why are those kernel settings needed. Thanks a lot in advanced :)
[gentoo-user] Re: Fakeraid + lvm + openrc questions
After further investigation can say, although i'm not using lvm, the following command is able to pupulate /dev/mapper/* /sbin/vgscan --mknodes --config ${config} /dev/null the command can be located at /lib64/rcscripts/addons/lvm-start.sh which is called by /etc/init.d/lvm start Really strange as i'm not usinglvm, so the command complains No volume groups found. Also noticed that lvm is able to communcate with device-mapper through /etc/lvm.conf: # Whether or not to communicate with the kernel device-mapper. # Set to 0 if you want to use the tools to manipulate LVM metadata # without activating any logical volumes. # If the device-mapper kernel driver is not present in your kernel # setting this to 0 should suppress the error messages. activation = 1 Don't know if that's why it's able to create the nodes. Any help? 2010/12/14 Pau Peris sibok1...@gmail.com: Hi, i'm currently running Gentoo on a RAID0 setup on some Sata disks using a Jmicron chip from an Asus P6T board. I'm using a fakeraid due to dualboot restrictions. My whole Gentoo system is on the raid0 device so i use an initramfs to bootup. I've been running with this setup for some time, but since i migrated to baselayout2+openrc i didn't understand why i need /etc/init.d/lvm to start at boot as i have no lvm setup. Today i was doing some research and some questions appeared: * Every where says i need * RAID support - * RAID-0 (striping) mode in kernel for fakeraid to work, but my system still boots while disabling those options, are they really needed? i don't understand why it is supposed to be needed. (Is it only for mdadm usage?) * Is SCSI device support - * RAID Transport Class option needed? What is supposed to do? I think raid features are provided by jmicron driver and kernel understaands how RAID works due to Multiple devices driver support (RAID and LVM) - * Device mapper support , isn't it? * Last question is, after migrating to openrc i noticed that lvm2 package provides device-mapper tools to manage the array, but i do not want /etc/init.d/lvm to start at boot as i do not use any lvm setup, i just would like to get /dev/mapper/ correctly populated using something like dmraid -ay. I've tried removing lvm from boot and adding device-mapper instead but /dev/mapper is not populated. How should i proceed to get rid of lvm script and /dev/mapper populated, do i need /etc/dmtab to work? Then why would one want to use mdadm instead of device-mapper, which are the advatges/disadvantages on each other? i know mdadm needs an optional /etc/mdadm.conf file to work, and using mdadm one could stop/start the array, add more disks to the array etc But do mdadm need a boot up script to work? As you can see i'm a bit confused about what's best/suits best mdadm or device-mapper and why are those kernel settings needed. Thanks a lot in advanced :)
Re: [gentoo-user] symlinks + rsync backup
Running the command you posted above gies the same result. Links on the new location are pointing to the absolute path old location. $ ls -la /mnt/rsync/vista lrwxrwxrwx 1 root root 56 mar 24 2009 Archivos de programa - /mnt/vista/Program Files 2010/11/21 Andrea Conti a...@alyf.net: rsync -aERPv --progress rsync://localhost/Windows-Vista-backup /mnt/rsync/vista/ Is there a specific reason you are using rsync in daemon mode on the sending side for a local tranfer? If the symlinks look right on the mounted windows fs, I guess that rsync -aEPv /mnt/vista/. /mnt/rsync/vista/ would give the correct result. andrea
[gentoo-user] symlinks + rsync backup
Hi, i'm doing a backup of a windows installation using rsync. Everything is working fine except for symlinks, the problem is that symlinks are taking absolute path so they're going to be broken as soon a paths get changed. look at the example: $ ls -la /mnt/rsync/vista/ wxrwxrwx 1 root root 4096 nov 11 17:41 . drwxr-xr-x 5 root root 5 nov 20 12:10 .. lrwxrwxrwx 1 root root 56 mar 24 2009 Archivos de programa - /mnt/vista/Program Files drwxrwxrwx 1 root root 4096 mar 24 2009 Boot -rwxrwxrwx 1 root root 333203 ene 21 2008 bootmgr -rwxrwxrwx 1 root root 8192 mar 24 2009 BOOTSECT.BAK lrwxrwxrwx 1 root root 40 nov 2 2006 Documents and Settings - /mnt/vista/Users -rwxrwxrwx 1 root root 171136 sep 4 2009 grldr -rwxrwxrwx 1 root root 171136 sep 2 2009 grldr.bak drwxrwxrwx 1 root root 0 jun 1 2009 Jocs -rwxrwxrwx 1 root root 904704 dic 1 2006 msdia80.dll drwxrwxrwx 1 root root 8192 oct 27 17:03 ProgramData drwxrwxrwx 1 root root 4096 sep 6 21:58 Program Files drwxrwxrwx 1 root root 8192 oct 11 16:43 Program Files (x86) drwxrwxrwx 1 root root 0 mar 24 2009 RaidTool drwxrwxrwx 1 root root 0 mar 27 2010 $Recycle.Bin drwxrwxrwx 1 root root 4096 mar 24 2009 System Volume Information drwxrwxrwx 1 root root 4096 mar 24 2009 Users drwxrwxrwx 1 root root264 nov 11 16:23 Windows The symlink Archivos de programa - /mnt/vista/Program Files is wrong, it should point to the relative path, something like Archivos de programa - Program Files. rsync is called this way: rsync -aERPv --progress rsync://localhost/Windows-Vista-backup /mnt/rsync/vista/ Do someone know which should be the correct options to create clone backup without breaking permissions neither symlinks? thanks in advanced :)
[gentoo-user] Can't move Chromium windows between screens
Hi, after updating Chromium to chromium-7.0.517.44 from portage i can't move it between different screens, if i go to Preferencies - Personal - Theme and enable Use borders and title bar (so it shows kwin) i can move chromium windows between screens as i normally do with any other app. Before the update i was using chromum 7.x from portage and had no issues, does any one know how can i check what's happening? Thanks in advanced! PD: I'm a kde user, xinerama enabled everywhere.
Re: [gentoo-user] Perl update = emerge cannot create executables
After fixinf fs errors with fsck emerge stopped working so i fixed with http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml Then downloaded a stage3, chrooted, compiled gcc, created a binpkg and emerged it on the broken system with emerge -K Now i'm rebuilding the whole system. Thanks for all :) 2010/11/8 Mick michaelkintz...@gmail.com: On Monday 08 November 2010 18:28:58 Pau Peris wrote: Please, is there any developer/geek who can help to solve the situation? Why do i get : [code]/usr/bin/x86_64-pc-linux-gnu-gcc: Exec format error [/code] I did nothing than updating the system, also /etc/make.conf (which i took a look before getting errors) seems ok. I can't say why you *suddenly* started getting problems, but it may indicate that there is some hardware problem which caused a fs corruption. So, check the obvious for errors like hard drive (smartmontools) and memory (memtest86+). If I were you I would follow the instructions in the previous link I sent you, and use that to rebuild portage and tool chain before you finish off rebuilding the packages that were giving you errors. -- Regards, Mick
[gentoo-user] Perl update = emerge cannot create executables
Hi, yesterday i was updating some trivial packages when i noticed emerge got broken after updating perl (from [b]perl-5.12.2-r1[/b] to [b]perl-5.12.2-r2[/b]). I've also took a look at /etc/make.conf but i think i did not modify it and after checking it it seems to have no errors. Right not every emerge fails, i think the problem is perl is failing to find need headers or whatever. GCC and system libraries seems ok: $gcc-config -l [1] x86_64-pc-linux-gnu-4.4.4 * $gcc-config -c x86_64-pc-linux-gnu-4.4.4 $binutils-config -l [1] x86_64-pc-linux-gnu-2.20.1 * $binutils-config -c x86_64-pc-linux-gnu-2.20.1 GCC is working fine: $cat /tmp/test.c #include stdio.h void main(){ printf(Hello world\n); } $gcc test.c -o test ./test Hello world $cat /etc/make.conf CHOST=x86_64-pc-linux-gnu LDFLAGS=${LDFLAGS} -Wl,-O1,--hash-style=gnu CFLAGS=-march=native -O2 -pipe -fomit-frame-pointer -msse4 -msse4.1 -msse4.2 CXXFLAGS=-march=native -O3 -pipe -fomit-frame-pointer -msse4 -msse4.1 -msse4.2 ACCEPT_KEYWORDS=amd64 ACCEPT_LICENSE=Nero-EULA-US dlj-1.1 sun-bcla-java-vm AdobeFlash-10.1 MAKEOPTS=-j6 USE=-acl alsa -berkdb custom-cxxflags -ipv6 -esd exceptions -gdbm -gnome -gstreamer gtkstyle -handbook icu -ldap -kdeprefix -mysql mmx mmxext opengl -pam -perl pic -python qt-copy -semantic-desktop samba sse sse2 sse3 ssse3 -ssl -tcpd v4l v4l2 webkit xinerama xcomposite PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage DISTDIR=${PORTDIR}/distfiles PKGDIR=${PORTDIR}/packages PORT_LOGDIR=/var/log/portage PORTDIR_OVERLAY= PORTDIR_OVERLAY=${PORTDIR_OVERLAY} /usr/local/portage PORTAGE_BUILDDIR=/var/tmp/portage PORTAGE_TMPFS=/dev/shm PORTAGE_ECLASS_WARNING_ENABLE=0 CFLAGS_KERNEL=-march=native -O2 -pipe -fomit-frame-pointer -msse4 -msse4.1 -msse4.2 LINGUAS=es es_ES APACHE2_MODULES=actions alias auth_basic authn _alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias filter NETBEANS_MODULES=php ide apisupport harness java nb websvccommon INPUT_DEVICES=keyboard mouse joystick penmount evdev VIDEO_CARDS=nvidia v4l source /usr/local/portage/layman/make.conf FEATURES=metadata-transfer parallel-fetch ccache WANT_MP=true $emerge --info [code] Portage 2.1.9.24 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r3, 2.6.32-reiser4-r7 x86_64) = System uname: linux-2.6.32-reiser4-r7-x86_64-intel-r-_core-tm-_i7_cpu_9...@_2.67ghz-with-gentoo-1.12.14 Timestamp of tree: Mon, 08 Nov 2010 13:00:01 + ccache version 2.4 [enabled] app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.14-r1 sys-apps/sandbox:2.3-r1 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.4-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS=amd64 ACCEPT_LICENSE=* -...@eula Nero-EULA-US dlj-1.1 sun-bcla-java-vm AdobeFlash-10.1 CBUILD=x86_64-pc-linux-gnu CFLAGS=-march=native -O2 -pipe -fomit-frame-pointer -msse4 -msse4.1 -msse4.2 CHOST=x86_64-pc-linux-gnu CONFIG_PROTECT=/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo CXXFLAGS=-march=native -O3 -pipe -fomit-frame-pointer -msse4 -msse4.1 -msse4.2 DISTDIR=/usr/portage/distfiles FEATURES=assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch GENTOO_MIRRORS=http://distfiles.gentoo.org; LANG=es...@euro LC_ALL=es...@euro LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,-O1,--hash-style=gnu LINGUAS=es es_ES MAKEOPTS=-j6 PKGDIR=/usr/portage/packages PORTAGE_CONFIGROOT=/ PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage PORTDIR_OVERLAY=/usr/local/portage/layman/java-overlay /usr/local/portage/layman/qting-edge /usr/local/portage/layman/linuxdna /usr/local/portage SYNC=rsync://rsync.gentoo.org/gentoo-portage USE=X a52 aac acpi alsa amd64 bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups custom-cxxflags cxx dbus
Re: [gentoo-user] Perl update = emerge cannot create executables
Thanks for the answers :) Yes, i've run al of the above commands except the oen with MAKEOPTS=-j1 Also re-emerge extutils-depends and extutils-pkgconfig didn't helped, but is strange that they emerged fine. One thing which took my atention but seem not to be critical was: [code] * Updating ph files. * Ignore all No such file... messages! Can't open syslimits.h: No existe el fichero o el directorio Can't open stddef.h: No existe el fichero o el directorio Can't open stdarg.h: No existe el fichero o el directorio Can't open stddef.h: No existe el fichero o el directorio Can't open stddef.h: No existe el fichero o el directorio Can't open stddef.h: No existe el fichero o el directorio Can't open stddef.h: No existe el fichero o el directorio Can't open stddef.h: No existe el fichero o el directorio [/code] Also strange the path which is returned by running: [b]perl-cleaner --leftovers[/b] [code] * Finding left over modules and header * The following files remain. These were either installed by hand * or edited. This script cannot deal with them. /usr/lib32/perl5/5.8.8/i686-linux/auto/B/B.so /usr/lib32/perl5/5.8.8/i686-linux/auto/B/C/C.so /usr/lib32/perl5/5.8.8/i686-linux/auto/ByteLoader/ByteLoader.so /usr/lib32/perl5/5.8.8/i686-linux/auto/Cwd/Cwd.so /usr/lib32/perl5/5.8.8/i686-linux/auto/DB_File/DB_File.so /usr/lib32/perl5/5.8.8/i686-linux/auto/Data/Dumper/Dumper.so /usr/lib32/perl5/5.8.8/i686-linux/auto/Devel/DProf/DProf.so /usr/lib32/perl5/5.8.8/i686-linux/auto/Devel/PPPort/PPPort.so /usr/lib32/perl5/5.8.8/i686-linux/auto/Devel/Peek/Peek.so /usr/lib32/perl5/5.8.8/i686-linux/auto/Digest/MD5/MD5.so /usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/Byte/Byte.so /usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/CN/CN.so /usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/EBCDIC/EBCDIC.so /usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/Encode.so /usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/JP/JP.so /usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/KR/KR.so /usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/Symbol/Symbol.so /usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/TW/TW.so /usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/Unicode/Unicode.so /usr/lib32/perl5/5.8.8/i686-linux/auto/Fcntl/Fcntl.so /usr/lib32/perl5/5.8.8/i686-linux/auto/File/Glob/Glob.so /usr/lib32/perl5/5.8.8/i686-linux/auto/Filter/Util/Call/Call.so /usr/lib32/perl5/5.8.8/i686-linux/auto/GDBM_File/GDBM_File.so /usr/lib32/perl5/5.8.8/i686-linux/auto/I18N/Langinfo/Langinfo.so /usr/lib32/perl5/5.8.8/i686-linux/auto/IO/IO.so /usr/lib32/perl5/5.8.8/i686-linux/auto/IPC/SysV/SysV.so /usr/lib32/perl5/5.8.8/i686-linux/auto/List/Util/Util.so /usr/lib32/perl5/5.8.8/i686-linux/auto/MIME/Base64/Base64.so /usr/lib32/perl5/5.8.8/i686-linux/auto/NDBM_File/NDBM_File.so /usr/lib32/perl5/5.8.8/i686-linux/auto/Opcode/Opcode.so /usr/lib32/perl5/5.8.8/i686-linux/auto/POSIX/POSIX.so /usr/lib32/perl5/5.8.8/i686-linux/auto/PerlIO/encoding/encoding.so /usr/lib32/perl5/5.8.8/i686-linux/auto/PerlIO/scalar/scalar.so /usr/lib32/perl5/5.8.8/i686-linux/auto/PerlIO/via/via.so /usr/lib32/perl5/5.8.8/i686-linux/auto/SDBM_File/SDBM_File.so /usr/lib32/perl5/5.8.8/i686-linux/auto/Socket/Socket.so /usr/lib32/perl5/5.8.8/i686-linux/auto/Storable/Storable.so /usr/lib32/perl5/5.8.8/i686-linux/auto/Sys/Hostname/Hostname.so /usr/lib32/perl5/5.8.8/i686-linux/auto/Sys/Syslog/Syslog.so /usr/lib32/perl5/5.8.8/i686-linux/auto/Time/HiRes/HiRes.so /usr/lib32/perl5/5.8.8/i686-linux/auto/Unicode/Normalize/Normalize.so /usr/lib32/perl5/5.8.8/i686-linux/auto/XS/APItest/APItest.so /usr/lib32/perl5/5.8.8/i686-linux/auto/XS/Typemap/Typemap.so /usr/lib32/perl5/5.8.8/i686-linux/auto/attrs/attrs.so /usr/lib32/perl5/5.8.8/i686-linux/auto/re/re.so /usr/lib32/perl5/5.8.8/i686-linux/auto/threads/shared/shared.so /usr/lib32/perl5/5.8.8/i686-linux/auto/threads/threads.so /usr/lib64/perl5/vendor_perl/5.8.8/XML/SAX/ParserDetails.ini /usr/lib64/perl5/5.8.8/x86_64-linux/Encode/ConfigLocal.pm /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/Encode/ConfigLocal.pm [/code] [b]$ls /usr/lib32/perl5/[/b] [code] 5.8.8[/code] [b]$ls /usr/lib64/perl5/[/b] [code]5.12.2 5.8.8 vendor_perl[/code] Would it be safe to remove 5.8.8 directory? what's also strange is that the system has been running fine for years... That's the error i get when trying to emerge perl and chost is set to [b]CHOST=x86_64-pc-linux-gnu[/b] at /etc/make.conf emerge perl [code]emerge -va perl * Mounting 2048M of memory to /var/tmp/portage ... [ ok ] * emerging -va perl * IMPORTANT: 2 news items need reading for repository 'gentoo'. * Use eselect news to read news items. These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-lang/perl-5.12.2-r2 USE=ithreads -berkdb -build -debug -doc -gdbm 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] Verifying ebuild manifests Emerging (1 of 1) dev-lang/perl-5.12.2-r2 * perl-5.12.2.tar.bz2
Re: [gentoo-user] Perl update = emerge cannot create executables
I've also noticed [b]/usr/bin/x86_64-pc-linux-gnu-gcc: Exec format error[/b] on some emerge error logs. i don't know any clue about the error.
Re: [gentoo-user] Perl update = emerge cannot create executables
I'm starting to think the erroris not related to perl package, so i'm totally lost as i think /etc/make.conf is ok.
Re: [gentoo-user] Perl update = emerge cannot create executables
Hi, i do not have buildpkg's of packages in @system so i don't know how to proceed. It's very strange cause i was emerging sometrivial packages without problems, last one was perl and then i was taking a look at /etc/make.conf when tried to re-emerge php and start getting errors (no reboot, no errors before, no deleting anything, really strange). At this point i'm starting to hate computers 2010/11/8 Mick michaelkintz...@gmail.com: On Monday 08 November 2010 15:20:45 Alan McKinnon wrote: Apparently, though unproven, at 17:13 on Monday 08 November 2010, Pau Peris did opine thusly: I'm starting to think the erroris not related to perl package, so i'm totally lost as i think /etc/make.conf is ok. Correct. Your configure scripts cannot find header directories - nothing to do with perl at all. I assume the directories and their contents do still exist? If not, do you have buildpkg's of packages in @system? I'd start by unpacking the entire toolchain, something is missing or corrupt. You may find this link handy: http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml -- Regards, Mick
Re: [gentoo-user] Perl update = emerge cannot create executables
Please, is there any developer/geek who can help to solve the situation? Why do i get : [code]/usr/bin/x86_64-pc-linux-gnu-gcc: Exec format error [/code] I did nothing than updating the system, also /etc/make.conf (which i took a look before getting errors) seems ok. I've tried with a simple make.conf as follows with no luck: [code]# These settings were set by the catalyst build script that automatically # built this stage. # Please consult /etc/make.conf.example for a more detailed example. CFLAGS=-march=native -O2 -pipe CXXFLAGS=-march=native -O2 -pipe # WARNING: Changing your CHOST is not something that should be done lightly. # Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing. #CHOST=ia64-unknown-linux-gnu CHOST=x86_64-pc-linux-gnu [/code] 2010/11/8 Pau Peris sibok1...@gmail.com: Hi, i do not have buildpkg's of packages in @system so i don't know how to proceed. It's very strange cause i was emerging sometrivial packages without problems, last one was perl and then i was taking a look at /etc/make.conf when tried to re-emerge php and start getting errors (no reboot, no errors before, no deleting anything, really strange). At this point i'm starting to hate computers 2010/11/8 Mick michaelkintz...@gmail.com: On Monday 08 November 2010 15:20:45 Alan McKinnon wrote: Apparently, though unproven, at 17:13 on Monday 08 November 2010, Pau Peris did opine thusly: I'm starting to think the erroris not related to perl package, so i'm totally lost as i think /etc/make.conf is ok. Correct. Your configure scripts cannot find header directories - nothing to do with perl at all. I assume the directories and their contents do still exist? If not, do you have buildpkg's of packages in @system? I'd start by unpacking the entire toolchain, something is missing or corrupt. You may find this link handy: http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml -- Regards, Mick
Re: [gentoo-user] help with Persistent hard disk device names with udev
Hi, after following your tips the code gets like the following one: SUBSYSTEM==block, ATTR{serial}==VNVB05G2RKTRZH, NAME=hda SUBSYSTEM==block, ATTR{serial}==9QK0T4WM, NAME=sda SUBSYSTEM==block, ATTR{serial}==3QD0X58D, NAME=sdb SUBSYSTEM==block, ATTR{serial}==9QK0RS9G, NAME=sdc SUBSYSTEM==block, ATTR{serial}=9VP0SBVN, NAME=sdc KERNEL==hd*, SUBSYSTEM==block, ATTR{serial}==VNVB05G2RKTRZH, NAME=hda%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}==9QK0T4WM, NAME=sda%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}==3QD0X58D, NAME=sdb%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}==9QK0RS9G, NAME=sdc%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}==9VP0SBVN, NAME=sdc%n That's not working, when i plug more devices they get named without taking care of the rules above. Do someone know why? thanks. i would like to be able to name devies using its serial number. Thanks in advanced 2010/8/30 Pau Peris sibok1...@gmail.com: Thx a lot! 2010/8/30 J. Roeleveld jo...@antarean.org: On Monday 30 August 2010 15:00:28 Pau Peris wrote: Hi, i would like to give persistent device names to the system hard drives (just renaming its original device name to the one i want using its serial number as identifier). I've created the following rules which are not currently working. I'm trying to use device serial numbers to properly set its device name. One of the main reasons for doing that is i have a RAID composed by 3 disk (let's say sda sdc sdd) and when i plug another 4 disks sda becomes sde, sdc becomes sdg and so on while new drives take old device names, that's why i would like to make it sure device names remains always the same. Here are the rules Código: SUBSYSTEM==block, ATTR{serial}=VNVB05G2RKTRZH, NAME=hda SUBSYSTEM==block, ATTR{serial}=9QK0T4WM, NAME=sda SUBSYSTEM==block, ATTR{serial}=3QD0X58D, NAME=sdb SUBSYSTEM==block, ATTR{serial}=9QK0RS9G, NAME=sdc SUBSYSTEM==block, ATTR{serial}=9VP0SBVN, NAME=sdc KERNEL==hd*, SUBSYSTEM==block, ATTR{serial}=VNVB05G2RKTRZH, NAME=hda%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}=9QK0T4WM, NAME=sda%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}=3QD0X58D, NAME=sdb%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}=9QK0RS9G, NAME=sdc%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}=9VP0SBVN, NAME=sdc%n Should this work? Do some one know how can i get it to work? thanks in advanced Hi, You need to use double = for all the fields you want to match. In other words, for sda, you need to use: SUBSYSTEM==block, ATTR{serial}==9QK0T4WM, NAME=sda instead of: SUBSYSTEM==block, ATTR{serial}=9QK0T4WM, NAME=sda Otherwise it doesn't match it correctly or will try to change the serial for the all the block-devices it finds. (I found this out when trying to rename my network-interfaces) -- Joost
Re: [gentoo-user] help with Persistent hard disk device names with udev
Hi, thanks a lot for the answers. The name of the rules file is 00_whatever.rules, as far as i know there's also an option which prevents to modifye the setted rules. Well, if no one knows how to do i will try to find a different solution. 2010/8/31 Dale rdalek1...@gmail.com: Alex Schuster wrote: Pau Peris writes: Hi, after following your tips the code gets like the following one: SUBSYSTEM==block, ATTR{serial}==VNVB05G2RKTRZH, NAME=hda SUBSYSTEM==block, ATTR{serial}==9QK0T4WM, NAME=sda SUBSYSTEM==block, ATTR{serial}==3QD0X58D, NAME=sdb SUBSYSTEM==block, ATTR{serial}==9QK0RS9G, NAME=sdc SUBSYSTEM==block, ATTR{serial}=9VP0SBVN, NAME=sdc KERNEL==hd*, SUBSYSTEM==block, ATTR{serial}==VNVB05G2RKTRZH, NAME=hda%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}==9QK0T4WM, NAME=sda%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}==3QD0X58D, NAME=sdb%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}==9QK0RS9G, NAME=sdc%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}==9VP0SBVN, NAME=sdc%n That's not working, when i plug more devices they get named without taking care of the rules above. Do someone know why? thanks. i would like to be able to name devies using its serial number. Thanks in advanced Could it be that the sd* notation is somewhere hardwired in UDEV? I'd try to give the devices different names, like NAME=myhda, and so on. Just guessing, Wonko This is a shot in the dark but just in case. What did you name the rules file? Is it possible that it is reading your file then reading another file udev generated and the last one it reads is the one that sets the names? I would look to see if there is another file in the rules.d directory that sets the naming and then see what udev reads last. Again, shot in the dark and this may not apply. Dale :-) :-)
[gentoo-user] help with Persistent hard disk device names with udev
Hi, i would like to give persistent device names to the system hard drives (just renaming its original device name to the one i want using its serial number as identifier). I've created the following rules which are not currently working. I'm trying to use device serial numbers to properly set its device name. One of the main reasons for doing that is i have a RAID composed by 3 disk (let's say sda sdc sdd) and when i plug another 4 disks sda becomes sde, sdc becomes sdg and so on while new drives take old device names, that's why i would like to make it sure device names remains always the same. Here are the rules Código: SUBSYSTEM==block, ATTR{serial}=VNVB05G2RKTRZH, NAME=hda SUBSYSTEM==block, ATTR{serial}=9QK0T4WM, NAME=sda SUBSYSTEM==block, ATTR{serial}=3QD0X58D, NAME=sdb SUBSYSTEM==block, ATTR{serial}=9QK0RS9G, NAME=sdc SUBSYSTEM==block, ATTR{serial}=9VP0SBVN, NAME=sdc KERNEL==hd*, SUBSYSTEM==block, ATTR{serial}=VNVB05G2RKTRZH, NAME=hda%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}=9QK0T4WM, NAME=sda%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}=3QD0X58D, NAME=sdb%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}=9QK0RS9G, NAME=sdc%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}=9VP0SBVN, NAME=sdc%n Should this work? Do some one know how can i get it to work? thanks in advanced
Re: [gentoo-user] help with Persistent hard disk device names with udev
Thx a lot! 2010/8/30 J. Roeleveld jo...@antarean.org: On Monday 30 August 2010 15:00:28 Pau Peris wrote: Hi, i would like to give persistent device names to the system hard drives (just renaming its original device name to the one i want using its serial number as identifier). I've created the following rules which are not currently working. I'm trying to use device serial numbers to properly set its device name. One of the main reasons for doing that is i have a RAID composed by 3 disk (let's say sda sdc sdd) and when i plug another 4 disks sda becomes sde, sdc becomes sdg and so on while new drives take old device names, that's why i would like to make it sure device names remains always the same. Here are the rules Código: SUBSYSTEM==block, ATTR{serial}=VNVB05G2RKTRZH, NAME=hda SUBSYSTEM==block, ATTR{serial}=9QK0T4WM, NAME=sda SUBSYSTEM==block, ATTR{serial}=3QD0X58D, NAME=sdb SUBSYSTEM==block, ATTR{serial}=9QK0RS9G, NAME=sdc SUBSYSTEM==block, ATTR{serial}=9VP0SBVN, NAME=sdc KERNEL==hd*, SUBSYSTEM==block, ATTR{serial}=VNVB05G2RKTRZH, NAME=hda%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}=9QK0T4WM, NAME=sda%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}=3QD0X58D, NAME=sdb%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}=9QK0RS9G, NAME=sdc%n KERNEL==sd*, SUBSYSTEM==block, ATTR{serial}=9VP0SBVN, NAME=sdc%n Should this work? Do some one know how can i get it to work? thanks in advanced Hi, You need to use double = for all the fields you want to match. In other words, for sda, you need to use: SUBSYSTEM==block, ATTR{serial}==9QK0T4WM, NAME=sda instead of: SUBSYSTEM==block, ATTR{serial}=9QK0T4WM, NAME=sda Otherwise it doesn't match it correctly or will try to change the serial for the all the block-devices it finds. (I found this out when trying to rename my network-interfaces) -- Joost
Re: [gentoo-user] ktaskbar missing on and after 2ond login
rm -fr .kde4/share/config/plasma* restores every plasma as first login but then again, after first login bar disappears. No one knows what could be? 2008/12/28 Pau Peris sibok1...@gmail.com: Hi, i've just emerged kde-4.1.3 and everything seems to be allright. The problem i'm having is related to the taskbar, after first login (so second one and on) kde taskbar won't appear anymore. It happens using the system as root and as simple system user. I'ts very strange cause on first login i can see everything, plasma on desktop, ktaskbar etc No matter if i leave kde session leaving kde desktop as it comes by default or not, taskbar always disappear on second login and so on. It's curious that if a right click on desktop and then add widget, taskbar widgets as systemtray, clock, taskmanager etc appear as added (i can see it by the - red simbol which follows every added widget). Do someone know what could it be? Right now i'm not posting any log but if you think i should please tell me and will paste any log which can help to solve the situation. Thanks a lot :) PD: If i add another taskbar it doesn't appears after logout and login :'(
[gentoo-user] ktaskbar missing on and after 2ond login
Hi, i've just emerged kde-4.1.3 and everything seems to be allright. The problem i'm having is related to the taskbar, after first login (so second one and on) kde taskbar won't appear anymore. It happens using the system as root and as simple system user. I'ts very strange cause on first login i can see everything, plasma on desktop, ktaskbar etc No matter if i leave kde session leaving kde desktop as it comes by default or not, taskbar always disappear on second login and so on. It's curious that if a right click on desktop and then add widget, taskbar widgets as systemtray, clock, taskmanager etc appear as added (i can see it by the - red simbol which follows every added widget). Do someone know what could it be? Right now i'm not posting any log but if you think i should please tell me and will paste any log which can help to solve the situation. Thanks a lot :) PD: If i add another taskbar it doesn't appears after logout and login :'(
[gentoo-user] ktaskbar missing on and after 2ond login
Hi, i've just emerged kde-4.1.3 and everything seems to be allright. The problem i'm having is related to the taskbar, after first login (so second one and on) kde taskbar won't appear anymore. It happens using the system as root and as simple system user. I'ts very strange cause on first login i can see everything, plasma on desktop, ktaskbar etc No matter if i leave kde session leaving kde desktop as it comes by default or not, taskbar always disappear on second login and so on. It's curious that if a right click on desktop and then add widget, taskbar widgets as systemtray, clock, taskmanager etc appear as added (i can see it by the - red simbol which follows every added widget). Do someone know what could it be? Right now i'm not posting any log but if you think i should please tell me and will paste any log which can help to solve the situation. Thanks a lot :) PD: If i add another taskbar it doesn't appears after logout and login :'(
[gentoo-user] Xvnc Terminal Server doesn't work
I've followed that link to creeate a Xvnc Terminal Server: http://forums.gentoo.org/viewtopic-t-72893-postdays-0-postorder-asc-start-0.html * My machines has no Diplay connected to it and mouse, but to test it i use to connect a monitor so i can check everything works fine. * Xdm works proprly but i can't acces from the localhost neither fro mthe local network. I'm always getting the can't open display error When i type vncviewer localhost:71: (in syslog doesn't appear nothing when doing it from the localhost but it does if i do it over lan or connected over ssh) # vncviewer localhost:71 Error: Can't open display: xhost gives that error: # xhost X connection to sibok:11.0 broken (explicit kill or server shutdown). xauth ist like that, it's auto created when logging from ssh That's the syslog when a try to connect from the local network cat /var/log/messages Dec 13 15:10:16 sibok xinetd[18183]: START: vnc-640x480x8 pid=18351 from=172.26.0.2 Dec 13 15:10:16 sibok xinetd[18183]: EXIT: vnc-640x480x8 status=1 pid=18351 duration=0(sec) # emerge -pv tightvnc xinetd tcp-wrappers These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-apps/tcp-wrappers-7.6-r8 USE=-ipv6* 0 kB [ebuild R ] net-misc/tightvnc-1.3.9-r1 USE=server tcpd -java 0 kB [ebuild R ] sys-apps/xinetd-2.3.14 USE=perl tcpd 0 kB # cat /etc/hosts.allow ALL:127.0.0.1 ALL:172.26. ALL:172.26.0.0/255.255.255.0 ALL:172.26.0.2 sibok ~ # cat /etc/hosts.deny ALL:ALL Don't know if it could be something related to display 1:0 or somehow. Can someone help me pease? Thanks in advanced -- Cualquier hijo de puta sabe lo que darte si tiene que dolerte, pero no cualquier hijo de puta saber lo que darte si tiene que gustarte. Yo soy sIbOk un hijo puta especial...!!
[gentoo-user] Xvnc Terminal Server doesn't work
I've followed that link to creeate a Xvnc Terminal Server: http://forums.gentoo.org/viewtopic-t-72893-postdays-0-postorder-asc-start-0.html * My machines has no Diplay connected to it and mouse, but to test it i use to connect a monitor so i can check everything works fine. * Xdm works proprly but i can't acces from the localhost neither fro mthe local network. I'm always getting the can't open display error When i type vncviewer localhost:71: (in syslog doesn't appear nothing when doing it from the localhost but it does if i do it over lan or connected over ssh) # vncviewer localhost:71 Error: Can't open display: xhost gives that error: # xhost X connection to sibok:11.0 broken (explicit kill or server shutdown). xauth ist like that, it's auto created when logging from ssh That's the syslog when a try to connect from the local network cat /var/log/messages Dec 13 15:10:16 sibok xinetd[18183]: START: vnc-640x480x8 pid=18351 from=172.26.0.2 Dec 13 15:10:16 sibok xinetd[18183]: EXIT: vnc-640x480x8 status=1 pid=18351 duration=0(sec) # emerge -pv tightvnc xinetd tcp-wrappers These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-apps/tcp-wrappers-7.6-r8 USE=-ipv6* 0 kB [ebuild R ] net-misc/tightvnc-1.3.9-r1 USE=server tcpd -java 0 kB [ebuild R ] sys-apps/xinetd-2.3.14 USE=perl tcpd 0 kB # cat /etc/hosts.allow ALL:127.0.0.1 ALL:172.26. ALL:172.26.0.0/255.255.255.0 ALL:172.26.0.2 sibok ~ # cat /etc/hosts.deny ALL:ALL Don't know if it could be something related to display 1:0 or somehow. Can someone help me pease? Thanks in advanced