Re: [gentoo-user] Re: wine configure: error: No OpenGL library found on this system.
Apparently, though unproven, at 03:14 on Sunday 28 November 2010, Valmor de Almeida did opine thusly: [snip] One thing that may be the problem: [r...@lpt1 /usr/lib32] - ll libGLU.so* lrwxrwxrwx 1 root root 11 Nov 27 05:07 libGLU.so - libGLU.so.1* lrwxrwxrwx 1 root root 20 Nov 27 05:07 libGLU.so.1 - libGLU.so.1.3.070802* -rwxr-xr-x 1 root root 447992 Sep 13 18:28 libGLU.so.1.3.070802* Then - equery belongs libGLU.so.1.3.070802 [ Searching for file(s) libGLU.so.1.3.070802 in *... ] media-libs/mesa-7.8.2 (/usr/lib64/libGLU.so.1.3.070802) app-emulation/emul-linux-x86-opengl-20100915 (/usr/lib32/libGLU.so.1.3.070802) Two packages own the same file? Is this correct? They are not the same file. One is in lib32 the other is in lib64 -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] E17 installation
Apparently, though unproven, at 09:56 on Sunday 28 November 2010, Hung Dang did opine thusly: On 11/27/10 11:57, Mick wrote: On Saturday 27 November 2010 17:57:45 Hung Dang wrote: On 11/27/10 09:56, Mick wrote: On Saturday 27 November 2010 07:37:48 Alan McKinnon wrote: Apparently, though unproven, at 08:39 on Saturday 27 November 2010, Hung Dang did opine thusly: Hi all, I am trying to get E17 on my computer using this guide http://en.gentoo-wiki.com/wiki/E17. I have also added source /var/lib/layman/make.conf to make.conf and update PORTDIR_OVERLAY= to /var/lib/layman/make.conf. After that I try to emerge elightenment and can only get x11-wm/enlightenment-1.0.7. When I try to log in to enlightenment I can only get E16. Any idea? Thanks in advance Hung You didn't unmask/keyword anything, so you are getting the window manager in portage, which is e16. To get e17 you need to get it from an overlay. The only overlay that actually works right now is http://svn.enlightenment.org/svn/e/trunk/packaging/gentoo vapier's overlay was out of date, is now being updated and is in a state of flux, i.e. constantly breaking and changing. I've never heard of the overlay on the gentoo-wiki page. To use the e17 window manager you *must* install the - efl libs from svn. The e17 ebuild does not cater for the -beta2 versions. I'm not sure that efl overlay is still required to run E17. I just today moved from efl to the enlightenment overlay (Vapier's). I had to keyword all necessary E17 packages as - ** to be able to install stuff, or the E16 packages were being drawn in. The enlightenment overlay seems to be a couple of months behind efl judging by the bugs that I thought were already resolved. Some packages (e.g. epdf) will not build because dependencies are missing and what not, but the following packages were able to emerge without problems and give (me) a functioning desktop: === emerge -aDv dev-libs/ecore dev-libs/e_dbus dev-libs/eet dev-libs/eina dev- libs/embryo dev-libs/efreet media-libs/edje media-libs/ethumb media-libs/evas x11-wm/enlightenment media-libs/emotion dev-libs/eeze These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-libs/eina- USE=mempool-chained mempool-pass-through mmx nls sse sse2 threads (-altivec) -debug -default-mempool -doc -mempool- buddy -mempool-ememoa-fixed -mempool-ememoa-unknown -mempool-fixed-bitmap - static-libs 0 kB [1] [ebuild R ] dev-libs/embryo- USE=nls -doc -static-libs 0 kB [1] [ebuild R ] dev-libs/eet- USE=nls ssl threads -debug -doc -examples -gnutls -static-libs 0 kB [1] [ebuild R ] media-libs/evas- USE=X cache eet fontconfig gif jpeg mmx nls opengl png sse svg threads tiff xcb xpm (-altivec) -bidi -directfb -doc - fbcon -gles -sdl -static-libs 0 kB [1] [ebuild R ] dev-libs/ecore- USE=X curl evas glib inotify nls opengl ssl threads xcb xinerama xprint xscreensaver -ares -directfb -doc -fbcon - gnutls -sdl -static-libs -tslib 0 kB [1] [ebuild R ] media-libs/edje- USE=nls -cache -debug -doc -static-libs -vim-syntax 0 kB [1] [ebuild R ] dev-libs/efreet- USE=nls -doc -static-libs 0 kB [1] [ebuild R ] dev-libs/eeze-1.0.0_beta2 USE=nls -doc -static-libs 0 kB [0] [ebuild R ] media-libs/emotion- USE=gstreamer nls xine -doc -static- libs 0 kB [1] [ebuild R ] dev-libs/e_dbus- USE=bluetooth connman hal libnotify nls -doc -ofono -static-libs -ukit 0 kB [1] [ebuild R ] media-libs/ethumb- USE=dbus emotion nls -doc -epdf 0 kB [1] [ebuild R ] x11-wm/enlightenment- USE=acpi bluetooth e_modules_battery e_modules_clock e_modules_comp e_modules_conf-applications e_modules_conf-borders e_modules_conf-clientlist e_modules_conf-colors e_modules_conf-desk e_modules_conf-desklock e_modules_conf-desks e_modules_conf-dialogs e_modules_conf-display e_modules_conf-dpms e_modules_conf-edgebindings e_modules_conf-engine e_modules_conf-fonts e_modules_conf-icon-theme e_modules_conf-imc e_modules_conf-interaction e_modules_conf-intl e_modules_conf-keybindings e_modules_conf-menus e_modules_conf-mime e_modules_conf-mouse e_modules_conf-mouse-cursor e_modules_conf-mousebindings e_modules_conf-paths e_modules_conf-performance e_modules_conf-profiles e_modules_conf-scale e_modules_conf-screensaver e_modules_conf-shelves e_modules_conf-startup e_modules_conf-theme e_modules_conf-transitions e_modules_conf-wallpaper e_modules_conf-wallpaper2 e_modules_conf-window-display e_modules_conf-window-focus e_modules_conf- window-manipulation e_modules_conf-window-remembers e_modules_conf-winlist e_modules_connman e_modules_cpufreq e_modules_dropshadow e_modules_everything e_modules_everything-apps
Re: [gentoo-user] E17 installation
On Sunday 28 November 2010 08:19:13 Alan McKinnon wrote: Apparently, though unproven, at 09:56 on Sunday 28 November 2010, Hung Dang did opine thusly: On 11/27/10 11:57, Mick wrote: On Saturday 27 November 2010 17:57:45 Hung Dang wrote: On 11/27/10 09:56, Mick wrote: On Saturday 27 November 2010 07:37:48 Alan McKinnon wrote: Apparently, though unproven, at 08:39 on Saturday 27 November 2010, Hung Dang did opine thusly: Hi all, I am trying to get E17 on my computer using this guide http://en.gentoo-wiki.com/wiki/E17. I have also added source /var/lib/layman/make.conf to make.conf and update PORTDIR_OVERLAY= to /var/lib/layman/make.conf. After that I try to emerge elightenment and can only get x11-wm/enlightenment-1.0.7. When I try to log in to enlightenment I can only get E16. Any idea? Thanks in advance Hung You didn't unmask/keyword anything, so you are getting the window manager in portage, which is e16. To get e17 you need to get it from an overlay. The only overlay that actually works right now is http://svn.enlightenment.org/svn/e/trunk/packaging/gentoo vapier's overlay was out of date, is now being updated and is in a state of flux, i.e. constantly breaking and changing. I've never heard of the overlay on the gentoo-wiki page. To use the e17 window manager you *must* install the - efl libs from svn. The e17 ebuild does not cater for the -beta2 versions. I'm not sure that efl overlay is still required to run E17. I just today moved from efl to the enlightenment overlay (Vapier's). I had to keyword all necessary E17 packages as - ** to be able to install stuff, or the E16 packages were being drawn in. The enlightenment overlay seems to be a couple of months behind efl judging by the bugs that I thought were already resolved. Some packages (e.g. epdf) will not build because dependencies are missing and what not, but the following packages were able to emerge without problems and give (me) a functioning desktop: === emerge -aDv dev-libs/ecore dev-libs/e_dbus dev-libs/eet dev-libs/eina dev- libs/embryo dev-libs/efreet media-libs/edje media-libs/ethumb media-libs/evas x11-wm/enlightenment media-libs/emotion dev-libs/eeze These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-libs/eina- USE=mempool-chained mempool-pass-through mmx nls sse sse2 threads (-altivec) -debug -default-mempool -doc -mempool- buddy -mempool-ememoa-fixed -mempool-ememoa-unknown -mempool-fixed-bitmap - static-libs 0 kB [1] [ebuild R ] dev-libs/embryo- USE=nls -doc -static-libs 0 kB [1] [ebuild R ] dev-libs/eet- USE=nls ssl threads -debug -doc -examples -gnutls -static-libs 0 kB [1] [ebuild R ] media-libs/evas- USE=X cache eet fontconfig gif jpeg mmx nls opengl png sse svg threads tiff xcb xpm (-altivec) -bidi -directfb -doc - fbcon -gles -sdl -static-libs 0 kB [1] [ebuild R ] dev-libs/ecore- USE=X curl evas glib inotify nls opengl ssl threads xcb xinerama xprint xscreensaver -ares -directfb -doc -fbcon - gnutls -sdl -static-libs -tslib 0 kB [1] [ebuild R ] media-libs/edje- USE=nls -cache -debug -doc -static-libs -vim-syntax 0 kB [1] [ebuild R ] dev-libs/efreet- USE=nls -doc -static-libs 0 kB [1] [ebuild R ] dev-libs/eeze-1.0.0_beta2 USE=nls -doc -static-libs 0 kB [0] [ebuild R ] media-libs/emotion- USE=gstreamer nls xine -doc -static- libs 0 kB [1] [ebuild R ] dev-libs/e_dbus- USE=bluetooth connman hal libnotify nls -doc -ofono -static-libs -ukit 0 kB [1] [ebuild R ] media-libs/ethumb- USE=dbus emotion nls -doc -epdf 0 kB [1] [ebuild R ] x11-wm/enlightenment- USE=acpi bluetooth e_modules_battery e_modules_clock e_modules_comp e_modules_conf-applications e_modules_conf-borders e_modules_conf-clientlist e_modules_conf-colors e_modules_conf-desk e_modules_conf-desklock e_modules_conf-desks e_modules_conf-dialogs e_modules_conf-display e_modules_conf-dpms e_modules_conf-edgebindings e_modules_conf-engine e_modules_conf-fonts e_modules_conf-icon-theme e_modules_conf-imc e_modules_conf-interaction e_modules_conf-intl e_modules_conf-keybindings e_modules_conf-menus e_modules_conf-mime e_modules_conf-mouse e_modules_conf-mouse-cursor e_modules_conf-mousebindings e_modules_conf-paths e_modules_conf-performance e_modules_conf-profiles e_modules_conf-scale e_modules_conf-screensaver e_modules_conf-shelves e_modules_conf-startup e_modules_conf-theme e_modules_conf-transitions e_modules_conf-wallpaper e_modules_conf-wallpaper2 e_modules_conf-window-display e_modules_conf-window-focus e_modules_conf- window-manipulation
[gentoo-user] [OT] How to copy text from hex editor
This may be simple, but I don't know how to do it: I have opened a file I captured with tcpflow using hexdump and also tried okteta. With either applications I can select the plain text, but corresponding hexadecimal characters are also selected at the same time. Is there a way of copying and pasting the plain text portion of the file content only, or are there some clever incantations that hexdump will take to only show the plain text portion of the file? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] E17 installation
On Sun, Nov 28, 2010 at 09:56, Hung Dang hungp...@gmail.com wrote: Thanks a lot for your reply. I somehow can only get englightenment x11-wm/enlightenment-1.0.7 eventhough I could see other E17 packages. The output of emerge command is shown at the end without any warning. I have updated the make.conf, added PORTDIR_OVERLAY=/var/lib/layman/enlightenment $PORTDIR_OVERLAY, and symlinked packages.keywords/enlightenment to /var/lib/layman/enlightenment/scripts. /package.keywords.livecvs. What do I miss here? Try to emerge -pv enlightenment:0.17 and see what it tells you. If it complains about masking, then you did not do the keywording right. Make sure you run layman -s enlightenment and symlink packages.keywords/enlightenment is not broken. -- Fatih
Re: [gentoo-user] [OT] How to copy text from hex editor
Mick michaelkintz...@gmail.com [10-11-28 10:32]: This may be simple, but I don't know how to do it: I have opened a file I captured with tcpflow using hexdump and also tried okteta. With either applications I can select the plain text, but corresponding hexadecimal characters are also selected at the same time. Is there a way of copying and pasting the plain text portion of the file content only, or are there some clever incantations that hexdump will take to only show the plain text portion of the file? -- Regards, Mick Hi Mick, suppose you have a file containing everything of the capture You can cut off everything you dont want with the tool cut (- man cut) or the parts you want. Another way is to read everything with the ascii editor vim and use the visual mode for what cut was used in the previous example. Sorry for not giving examples...I dont know the exact format of the capture you are talking about... HTH Have a nice sunday! Best regards, mcc
Re: [gentoo-user] [OT] How to copy text from hex editor
On Sunday 28 November 2010 09:44:16 meino.cra...@gmx.de wrote: Mick michaelkintz...@gmail.com [10-11-28 10:32]: This may be simple, but I don't know how to do it: I have opened a file I captured with tcpflow using hexdump and also tried okteta. With either applications I can select the plain text, but corresponding hexadecimal characters are also selected at the same time. Is there a way of copying and pasting the plain text portion of the file content only, or are there some clever incantations that hexdump will take to only show the plain text portion of the file? Hi Mick, suppose you have a file containing everything of the capture You can cut off everything you dont want with the tool cut (- man cut) or the parts you want. Another way is to read everything with the ascii editor vim and use the visual mode for what cut was used in the previous example. Sorry for not giving examples...I dont know the exact format of the capture you are talking about... Doh! It seems that rview and less show just the text! I don't know why I didn't try them first. LOL! Have a nice sunday! You too, thanks! -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] wine configure: error: No OpenGL library found on this system.
On 11/27/10, Valmor de Almeida val.gen...@gmail.com wrote: The system appears clean (revdep-rebuild and emerge --depclean show nothing to be done). After a good night's sleep I realised that this part didn't explicitly state that you ran a full re-emerge of at least the @system set (if not the entire @world). So, have you successfully rebuilt your full toolchain after the change to reflect the change? Do you have lib32 and lib64 paths in your /etc/ld.so.conf? If they are missing will env-update add them there? -- Arttu V.
Re: [gentoo-user] How to exclude a directory from rsync
On Fri, 26 Nov 2010 09:02:49 +0100 Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote: On 11/25/10 22:51:36, Renat Golubchyk wrote: The man page is actually pretty clear on this issue. Quote: if the pattern starts with a / then it is anchored to a particular spot in the hierarchy of files, otherwise it is matched against the end of the pathname. This is similar to a leading ^ in regular expressions. Thus /foo would match a name of foo at either the root of the transfer (for a global rule) or in the merge-file’s directory (for a per-directory rule). An unqualified foo would match a name of foo anywhere in the tree because the algorithm is applied recursively from the top down; it behaves as if each path component gets a turn at being the end of the filename. Even the unanchored sub/foo would match at any point in the hierarchy where a foo was found within a directory named sub. Root of the transfer is the directory you want to sync. Thus, if you run e.g. rsync /var/log/ /mnt/backups/ --exclude=/portage/ then root of the transfer is /var/log, and therefore the directory /var/log/portage will be excluded. If on the other hand you write --exclude=portage/ then a directory named portage anywhere in the tree under /var/log will be excluded. Without the trailing slash, i.e. just --exclude=portage any file (regular file, directory, link, whatever) named portage anywhere in the tree gets excluded. And finally --exclude=/portage would exclude a file only at the top of the tree that is going to be synchronsed. Let me add some caveat which has trapped me recently. I had (in your terms) rsync /var/log/ /mnt/backups/ --delete --exclude=/portage/ and /var/log/portage was just a symlink to some other directory while /mnt/backups/portage was a real directory. In that case rsync deletes /mnt/backups/portage ! It looks as if the directory property is check in the source tree only. Quite an unpleasant surprise. The behavior is logical and consistent with the command you provided. If you tell rsync to synchronise two directories and delete everything in the destination that is not in the source then rsync does just that. And a symbolic link is not a directory. One might think that exclude rule applies to both source and destination, but it doesn't. That's a common pitfall. But the documentation is clear on that too. It says, This option allows you to add rules to selectively exclude certain files from the list of files to be transferred. Since destination directory is not going to be transferred it is clear that this option doesn't apply there. In order to avoid the problem of files being accidentally deleted I just never run rsync without running it with --dry-run first if I specify a --delete option. Thus I have an opportunity to review the file list before anything unpleasant is done. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] E17 installation
Apparently, though unproven, at 11:07 on Sunday 28 November 2010, Mick did opine thusly: This doesn't look right. layman has never installed overlays in that location for me. Hmm ... it does for me! o_O $ ls -la /var/lib/layman/enlightenment/ total 16 drwxr-xr-x 25 root root 25 Nov 27 10:33 . drwxr-xr-x 3 root root 8 Nov 27 10:33 .. drwxr-xr-x 4 root root 4 Nov 27 10:33 app-admin drwxr-xr-x 4 root root 4 Nov 27 10:33 app-misc Well now, that's just fscking brain dead. Putting data files into areas of the file system where executables were there first. Tut, tut, tsk, tsk. Now that I think about it, I recall layman doing something like this the first time I used it. It drives me batty, along with portage putting the tree in /usr/portage so now layman.cfg has this on all my machines storage : /var/portage/local/layman and I *always* change $PORTDIR to be /var/portage I'd forgotten *why* I always do this. Thanks for the reminder. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] wine configure: error: No OpenGL library found on this system.
On 11/28/2010 05:50 AM, Arttu V. wrote: On 11/27/10, Valmor de Almeida val.gen...@gmail.com wrote: The system appears clean (revdep-rebuild and emerge --depclean show nothing to be done). After a good night's sleep I realised that this part didn't explicitly state that you ran a full re-emerge of at least the @system set (if not the entire @world). So, have you successfully rebuilt your full toolchain after the change to reflect the change? Do you have lib32 and lib64 paths in your /etc/ld.so.conf? If they are missing will env-update add them there? I thought I would get things fixed with revdep-rebuild but you are correct the ld.so.conf file is missing lib32. Will rebuild the system now. Thanks, -- Valmor
[gentoo-user] Should mysql crash sometimes?
mysql-5.1.51 crashed recently and needed to be restarted. This doesn't happen often with mysql but does from time to time. Is this part of life with mysql or can it be prevented? I don't think I've changed the mysql config from default besides creating the necessary tables although I could be wrong. /var/log/mysql/mysqld.err doesn't contain info about the crash but here's info from the restart: [Warning] No argument was provided to --log-bin, and --log-bin-index was not used; so replication may break when this MySQL server acts as a master and has his hostname changed!! Please use '--log-bin=mysqld-bin' to avoid this problem. /usr/sbin/mysqld: Table 'mysql.plugin' doesn't exist [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. InnoDB: Started; log sequence number 0 43655 [Note] Recovering after a crash using mysqld-bin [Note] Starting crash recovery... [Note] Crash recovery finished. [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist [ERROR] Column count of mysql.db is wrong. Expected 22, found 20. Created with MySQL 50070, now running 50151. Please use mysql_upgrade to fix this error. [ERROR] mysql.user has no `Event_priv` column at position 29 [ERROR] Cannot open mysql.event [ERROR] Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler. [Note] /usr/sbin/mysqld: ready for connections. It looks like I should run mysql_upgrade for one thing. Is there a Gentoo way to do that? Will I lose data? As I went over this I realized that I hadn't enabled skip-networking, although nmap from the same system didn't show port 3306 open and I'm not running a firewall on the machine. How could that be? - Grant
Re: [gentoo-user] Problems booting my server - ext2 - e2fsck
On Thursday 29 July 2010 12:39:46 I wrote: On Wednesday 28 July 2010 19:14:05 Bill Longman wrote: In the Device Drivers section, (this is for 2.6.34!), turn OFF the deprecated ATA/ATAPI/MFM/RLL support. That corresponds to CONFIG_IDE in your .config. Then, turn ON, Serial ATA and Parallel ATA drivers which corresponds to CONFIG_ATA in your .config. Then, under Serial ATA, you'll need to turn on ATA SFF and then Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support. But bear in mind that setting these does not produce a bootable kernel on my P4 box, as I've said in another thread, so it's possible that making the suggested changes will introduce more fog rather than dispelling it. I'm not sure how likely it is though. For the record, this is now fixed. Eventually (this morning) I found a chipset option buried in the kernel config that I'd missed. The IDE disk is now /dev/sda and I can forget about /dev/hda and friends altogether. -- Rgds Peter. Linux Counter 5290, 1994-04-23.
Re: [gentoo-user] Should mysql crash sometimes?
Apparently, though unproven, at 18:10 on Sunday 28 November 2010, Grant did opine thusly: mysql-5.1.51 crashed recently and needed to be restarted. This doesn't happen often with mysql but does from time to time. Is this part of life with mysql or can it be prevented? This is not normal. None of my mysql instances crash frequently I don't think I've changed the mysql config from default besides creating the necessary tables although I could be wrong. /var/log/mysql/mysqld.err doesn't contain info about the crash but here's info from the restart: [Warning] No argument was provided to --log-bin, and --log-bin-index was not used; so replication may break when this MySQL server acts as a master and has his hostname changed!! Please use '--log-bin=mysqld-bin' to avoid this problem. /usr/sbin/mysqld: Table 'mysql.plugin' doesn't exist [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. InnoDB: Started; log sequence number 0 43655 [Note] Recovering after a crash using mysqld-bin [Note] Starting crash recovery... [Note] Crash recovery finished. [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist [ERROR] Column count of mysql.db is wrong. Expected 22, found 20. Created with MySQL 50070, now running 50151. Please use mysql_upgrade to fix this error. Did you ever run mysql_upgrade as mentioned here? With the last mysql upgrade, did you restart the service? It's quite important to always restart any service you have just upgraded. [ERROR] mysql.user has no `Event_priv` column at position 29 [ERROR] Cannot open mysql.event [ERROR] Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler. [Note] /usr/sbin/mysqld: ready for connections. It looks like I should run mysql_upgrade for one thing. Is there a Gentoo way to do that? Will I lose data? As I went over this I realized that I hadn't enabled skip-networking, although nmap from the same system didn't show port 3306 open and I'm not running a firewall on the machine. How could that be? - Grant -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] E17 installation
On Sunday 28 November 2010 15:28:01 Alan McKinnon wrote: Apparently, though unproven, at 11:07 on Sunday 28 November 2010, Mick did opine thusly: This doesn't look right. layman has never installed overlays in that location for me. Hmm ... it does for me! o_O $ ls -la /var/lib/layman/enlightenment/ total 16 drwxr-xr-x 25 root root 25 Nov 27 10:33 . drwxr-xr-x 3 root root 8 Nov 27 10:33 .. drwxr-xr-x 4 root root 4 Nov 27 10:33 app-admin drwxr-xr-x 4 root root 4 Nov 27 10:33 app-misc Well now, that's just fscking brain dead. Putting data files into areas of the file system where executables were there first. Tut, tut, tsk, tsk. Now that I think about it, I recall layman doing something like this the first time I used it. It drives me batty, along with portage putting the tree in /usr/portage so now layman.cfg has this on all my machines storage : /var/portage/local/layman and I *always* change $PORTDIR to be /var/portage I'd forgotten *why* I always do this. Thanks for the reminder. The plot thickens ... I seem to have set up: PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage DISTDIR=/usr/portage/distfiles PKGDIR=/usr/portage/packages PORT_LOGDIR=/var/log/portage PORTDIR_OVERLAY=/usr/local/portage and fair enough layman is in there: $ ls -la /usr/local/portage/ total 2 drwxr-xr-x 3 root root 3 Jun 10 16:38 . drwxr-xr-x 10 root root 13 Jun 8 22:16 .. drwxr-xr-x 2 root root 3 Jun 10 16:38 layman but it's empty, except for a make.conf file: $ cat /usr/local/portage/layman/make.conf PORTDIR_OVERLAY= I am guessing that updating/reinstalling layman shifted storage around to its default: storage : /var/lib/layman and the make.conf file in there says: $ cat /var/lib/layman/make.conf PORTDIR_OVERLAY= /var/lib/layman/enlightenment $PORTDIR_OVERLAY I recall that after some version the default layman overlays location changed and there was a post in this list too (but forget when). Perhaps if you post a bug for a more sane storage location, then the layman devs will make a more considered decision on this. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Should mysql crash sometimes?
On Sunday 28 November 2010 16:19:20 Alan McKinnon wrote: Apparently, though unproven, at 18:10 on Sunday 28 November 2010, Grant did opine thusly: mysql-5.1.51 crashed recently and needed to be restarted. This doesn't happen often with mysql but does from time to time. Is this part of life with mysql or can it be prevented? This is not normal. None of my mysql instances crash frequently I don't think I've changed the mysql config from default besides creating the necessary tables although I could be wrong. /var/log/mysql/mysqld.err doesn't contain info about the crash but here's info from the restart: [Warning] No argument was provided to --log-bin, and --log-bin-index was not used; so replication may break when this MySQL server acts as a master and has his hostname changed!! Please use '--log-bin=mysqld-bin' to avoid this problem. /usr/sbin/mysqld: Table 'mysql.plugin' doesn't exist [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. InnoDB: Started; log sequence number 0 43655 [Note] Recovering after a crash using mysqld-bin [Note] Starting crash recovery... [Note] Crash recovery finished. [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist [ERROR] Column count of mysql.db is wrong. Expected 22, found 20. Created with MySQL 50070, now running 50151. Please use mysql_upgrade to fix this error. Did you ever run mysql_upgrade as mentioned here? With the last mysql upgrade, did you restart the service? It's quite important to always restart any service you have just upgraded. [ERROR] mysql.user has no `Event_priv` column at position 29 [ERROR] Cannot open mysql.event [ERROR] Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler. [Note] /usr/sbin/mysqld: ready for connections. It looks like I should run mysql_upgrade for one thing. Is there a Gentoo way to do that? Will I lose data? As I went over this I realized that I hadn't enabled skip-networking, although nmap from the same system didn't show port 3306 open and I'm not running a firewall on the machine. How could that be? There was a recent mysql update which broke some of my mysql databases. I then discovered that I had to run: $ mysql_upgrade -u root -p for things to work normally again. There was no enotice to this effect so I raised a bug and since then the devs kindly added a message to the ebuild. So, to reiterate what Alan said, your crashes are not normal, you need to run mysql_upgrade and restart the service with your eye on the logs to see if something is amiss. BTW, if your box is Internet facing, or you do not absolutely trust your LAN devices, I would recommend that you run some rudimentary iptables rules to keep things safe(r). -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: Somewhat OT. Building a rig. Want to get opinions before spending $$$
Dale wrote: GIGABYTE GA-770T-USB3 AM3 AMD 770 USB 3.0 ATX AMD Motherboard. The only thing I don't like about this is that it doesn't have a com port for my UPS. I guess a adapter will be found somewhere. http://www.newegg.com/Product/Product.aspx?Item=N82E16819103675 I was diggin around for some more info on this mobo. I found this on the website: Due to different Linux support condition provided by chipset vendors, please download Linux driver from chipset vendors' website or 3rd party website. This chipset is supported right? From what I found, it uses the standard SATA drivers but want to make sure. Searching with google returns some old problems but I couldn't find anything recent. Is it working fine now? Thoughts? Dale :-) :-)
Re: [gentoo-user] E17 installation
Apparently, though unproven, at 18:36 on Sunday 28 November 2010, Mick did opine thusly: On Sunday 28 November 2010 15:28:01 Alan McKinnon wrote: Apparently, though unproven, at 11:07 on Sunday 28 November 2010, Mick did opine thusly: This doesn't look right. layman has never installed overlays in that location for me. Hmm ... it does for me! o_O $ ls -la /var/lib/layman/enlightenment/ total 16 drwxr-xr-x 25 root root 25 Nov 27 10:33 . drwxr-xr-x 3 root root 8 Nov 27 10:33 .. drwxr-xr-x 4 root root 4 Nov 27 10:33 app-admin drwxr-xr-x 4 root root 4 Nov 27 10:33 app-misc Well now, that's just fscking brain dead. Putting data files into areas of the file system where executables were there first. Tut, tut, tsk, tsk. Now that I think about it, I recall layman doing something like this the first time I used it. It drives me batty, along with portage putting the tree in /usr/portage so now layman.cfg has this on all my machines storage : /var/portage/local/layman and I *always* change $PORTDIR to be /var/portage I'd forgotten *why* I always do this. Thanks for the reminder. The plot thickens ... I seem to have set up: PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage DISTDIR=/usr/portage/distfiles PKGDIR=/usr/portage/packages PORT_LOGDIR=/var/log/portage PORTDIR_OVERLAY=/usr/local/portage and fair enough layman is in there: $ ls -la /usr/local/portage/ total 2 drwxr-xr-x 3 root root 3 Jun 10 16:38 . drwxr-xr-x 10 root root 13 Jun 8 22:16 .. drwxr-xr-x 2 root root 3 Jun 10 16:38 layman but it's empty, except for a make.conf file: $ cat /usr/local/portage/layman/make.conf PORTDIR_OVERLAY= I am guessing that updating/reinstalling layman shifted storage around to its default: storage : /var/lib/layman and the make.conf file in there says: $ cat /var/lib/layman/make.conf PORTDIR_OVERLAY= /var/lib/layman/enlightenment $PORTDIR_OVERLAY I recall that after some version the default layman overlays location changed and there was a post in this list too (but forget when). Perhaps if you post a bug for a more sane storage location, then the layman devs will make a more considered decision on this. I'm starting to remember more about this now. There was an elog about these changed directories a while back, I read them and realized I didn't have to do anything as my layman configs now had explicit directories and didn't rely on defaults anymore. I don't think a feature request will go anywhere. The layman dev recently changed things, and the fight about PORTDIR has been going on since there was a portage. All whinging about the location of PORTDIR thus far has led to exactly nothing. Occasionally one sees feedback on b.g.o. about how the default is just a default, feel free to change it. On more business matters, have the ebuilds in enlightenment overlay successfully installed for you? And has the category for EFL's media libs settled down? This business of media-libs vs x11-libs caused me huge amounts of grief about a year ago -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: Somewhat OT. Building a rig. Want to get opinions before spending $$$
2010/11/28 Dale rdalek1...@gmail.com: Dale wrote: GIGABYTE GA-770T-USB3 AM3 AMD 770 USB 3.0 ATX AMD Motherboard. The only thing I don't like about this is that it doesn't have a com port for my UPS. I guess a adapter will be found somewhere. http://www.newegg.com/Product/Product.aspx?Item=N82E16819103675 I was diggin around for some more info on this mobo. I found this on the website: Due to different Linux support condition provided by chipset vendors, please download Linux driver from chipset vendors' website or 3rd party website. This chipset is supported right? From what I found, it uses the standard SATA drivers but want to make sure. Searching with google returns some old problems but I couldn't find anything recent. Is it working fine now? Thoughts? Dale :-) :-) I'm not sure about that older chipset (770) but i have MSI 890GXM-G65 mobo and that works fine. Vartsu
Re: [gentoo-user] Re: Somewhat OT. Building a rig. Want to get opinions before spending $$$
Teemu Vartiainen wrote: 2010/11/28 Dalerdalek1...@gmail.com: Dale wrote: GIGABYTE GA-770T-USB3 AM3 AMD 770 USB 3.0 ATX AMD Motherboard. The only thing I don't like about this is that it doesn't have a com port for my UPS. I guess a adapter will be found somewhere. http://www.newegg.com/Product/Product.aspx?Item=N82E16819103675 I was diggin around for some more info on this mobo. I found this on the website: Due to different Linux support condition provided by chipset vendors, please download Linux driver from chipset vendors' website or 3rd party website. This chipset is supported right? From what I found, it uses the standard SATA drivers but want to make sure. Searching with google returns some old problems but I couldn't find anything recent. Is it working fine now? Thoughts? Dale :-) :-) I'm not sure about that older chipset (770) but i have MSI 890GXM-G65 mobo and that works fine. Vartsu I found some people with problems when I was googling around but most were older posts. I sort of figure things got fixed and that is why I was not finding anything recent. I would really not want to buy this stuff and then find out the chipset wasn't supported for some reason or other. I would assume then that the 770 is fine since the one you have is newer and works fine. Thanks for the info. Dale :-) :-)
Re: [gentoo-user] Accessing CVS on non-standard port
Apparently, though unproven, at 02:45 on Friday 26 November 2010, Michael Orlitzky did opine thusly: On 11/24/2010 04:35 PM, Alan McKinnon wrote: I need to get to the work CVS server from home. It's not exposed to the internet but never fear! we have ssh -L and a convenient sshd host that is on the internets. So, locally ssh -Llocalhost::cvs.example.com:22 a...@gateway.example.com and tell cvs that the server is localhost: I do this all the time for lots of other stuff. Doesn't work for CVS because there's no way to tell cvs to tell ssh what port to use. Google gives lots of hits about using the host-specific Host directive in ~/.ssh/config but that won't work for me - it assumes I can see the CVS server directly and doesn't take into account that I have port forwarding in the way. Anyone know a way to get cvs to use any port other than 22? I'm receptive to alternate cvs clients with this support, just not ones that tweak ssh to do it. Use a full-blown tunnel instead of redirection magic. [snip] Sorry for the late reply to everyone, I was having a good long hard think about this. A full-blown tunnel is attractive, except for this thing at work called The Security Forum and it has powers that the TSA in the States have wet dreams over. If I was caught running an un-sanctioned into the corporate network, there would be carnage. Seeing as I am a founding member of said Forum, and it's most vocal member, and the person who brings 3 out of 4 cases before it so that users can understand how we do stuff, I *really* don't want to invoke the ire of my peers :-) So I've gone with plan B: use the official VPN, even though it sucks. Lucky I'm on Linux so route del undoes most of it's sillyness. Thanks anyway for all the responses. -- alan dot mckinnon at gmail dot com
[gentoo-user] Re: Best way to improve interactivity with heavy disk activity?
On 11/27/2010 11:17 PM, App Deb wrote: On Sun, Nov 28, 2010 at 2:13 AM, Nikos Chantziarasrea...@arcor.de wrote: On 11/28/2010 01:03 AM, Stroller wrote: On 27/11/2010, at 10:22pm, Nikos Chantziaras wrote: The ck patch set does not support group scheduling anyway; Now I'm a little more confused. Does `ionice` need the CFQ scheduler? Nope. I/O scheduling priorities are part of the I/O scheduler, not the CPU scheduler. CFQ is the official I/O scheduler. ionice only works with CFQ. I'm confused about which of all these various mechanisms apply to single-cpu machines. AFAICT Con's BFS (e.g.) is really a CPU scheduler and doesn't affect single-cpu machines very much. What about CFQ and group scheduling? Others? Thanks for any clues.
Re: [gentoo-user] Re: Somewhat OT. Building a rig. Want to get opinions before spending $$$
On Sunday 28 November 2010, Dale wrote: Dale wrote: GIGABYTE GA-770T-USB3 AM3 AMD 770 USB 3.0 ATX AMD Motherboard. The only thing I don't like about this is that it doesn't have a com port for my UPS. I guess a adapter will be found somewhere. http://www.newegg.com/Product/Product.aspx?Item=N82E16819103675 I was diggin around for some more info on this mobo. I found this on the website: Due to different Linux support condition provided by chipset vendors, please download Linux driver from chipset vendors' website or 3rd party website. This chipset is supported right? From what I found, it uses the standard SATA drivers but want to make sure. Searching with google returns some old problems but I couldn't find anything recent. Is it working fine now? and with problems you mean hangs and timeouts with ncq enabled, ncq not enabled and usb problems, right? those problems are all solved. Just don't use an acient kernel.
Re: [gentoo-user] E17 installation
On Sunday 28 November 2010 17:01:22 Alan McKinnon wrote: On more business matters, have the ebuilds in enlightenment overlay successfully installed for you? And has the category for EFL's media libs settled down? This business of media-libs vs x11-libs caused me huge amounts of grief about a year ago Yes, I remember the media-libs change. I thought it was more recent than that - doesn't time fly! I must have been lucky because I uninstalled/reinstalled affected packages and all was fine with my E17. Bear in mind though that I have not installed all modules - I tend to emerge only what I use/need regularly. This weekend I removed efl and added the enlightenment overlay. Then checked that the following packages were keyworded as -, which were (re)installed without any problems:[1] dev-libs/ecore dev-libs/e_dbus dev-libs/eet dev-libs/eina dev-libs/embryo dev-libs/efreet media-libs/edje media-libs/ethumb media-libs/evas x11-wm/enlightenment media-libs/emotion dev-libs/eeze [1] In the process I had to uninstall some efl packages to avoid conflicts. I see that there are loads more packages in enlightenment overlay than what I have installed, but I am not sure if I need them (please let me know if you thing I'm missing out something basic). In time I will be trying more packages out no doubt. I also tried for a few days to switch away from - and into the betas offered by the portage tree - then things got terribly messy and decided to stick with svn for now. So I think that the enlightenment overlay is usable, but as with all SVN things ... YMMV. ;-) -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] [~amd64] Bug in gcc-4.5.1-r1?
My ~amd64 machine just updated to icu-4.6_rc2 and this time caused more than the normal amount of havoc (i.e. rebuilding the largest packages on the machine including openoffice.) This time the build of icu-4.6_rc2 fails with a gcc segfault :( Nothing random about this segfault, it's 100% reproducible at line 6685 of decNumber.c, and gcc-4.4.5 builds the same package perfectly. I set the graphite useflag for gcc three versions ago and have had no problems whatever until now, but I'm wondering if that may be the reason for today's segfault in gcc-4.5.1. Can anyone else out there reproduce this problem? Many thanks.
[gentoo-user] Re: Accessing CVS on non-standard port
On 11/28/2010 09:33 AM, Alan McKinnon wrote: So I've gone with plan B: use the official VPN, even though it sucks. Um, so who's the administrator for the official VPN?
Re: [gentoo-user] Re: Best way to improve interactivity with heavy disk activity?
On Sun, Nov 28, 2010 at 7:39 PM, walt w41...@gmail.com wrote: I'm confused about which of all these various mechanisms apply to single-cpu machines. AFAICT Con's BFS (e.g.) is really a CPU scheduler and doesn't affect single-cpu machines very much. What about CFQ and group scheduling? Others? Thanks for any clues. Don't mix them, CFS -- upstream official CPU scheduler (also supports cgroups, that got used in the 200line patch, which is useless imo) CFQ -- upstream official I/O (disk) scheduler (afaik the only one that supports ionice) BFS -- ck's CPU scheduler (I don't know what i/o scheduler ck's patchset uses) Anyway, the problem with the long pauses under disk usage is not related to any scheduler at all, and it is a page cache management problem that the linux kernel has (in all new versions). CK's patchset includes optimizations to page cache management. (Not related to any scheduler) so it is worth a try. That's it.
Re: [gentoo-user] wine configure: error: No OpenGL library found on this system.
On 11/28/2010 11:51 AM, Valmor de Almeida wrote: On 11/28/2010 05:50 AM, Arttu V. wrote: On 11/27/10, Valmor de Almeida val.gen...@gmail.com wrote: The system appears clean (revdep-rebuild and emerge --depclean show nothing to be done). After a good night's sleep I realised that this part didn't explicitly state that you ran a full re-emerge of at least the @system set (if not the entire @world). So, have you successfully rebuilt your full toolchain after the change to reflect the change? Do you have lib32 and lib64 paths in your /etc/ld.so.conf? If they are missing will env-update add them there? I thought I would get things fixed with revdep-rebuild but you are correct the ld.so.conf file is missing lib32. Will rebuild the system now. Thanks, -- Valmor I re-emerged the system (emerge -e system). The ld.so.conf got updated: - cat /etc/ld.so.conf # ld.so.conf autogenerated by env-update; make all changes to # contents of /etc/env.d directory /usr/local/lib include ld.so.conf.d/*.conf //usr/lib64/opengl/xorg-x11/lib /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64 /lib32 /usr/lib32 /usr/local/lib32 /usr/x86_64-pc-linux-gnu/lib /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4 /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/32 //usr/lib64/xulrunner-1.9.2 /usr/lib/qt4 /usr/lib64/qt4 /usr/lib64/fltk-1.1 /usr/lib64/octave-3.2.4 However no luck emerging wine. Will emerge the world next (this is going to take a while...) -- Valmor
Re: [gentoo-user] Re: Somewhat OT. Building a rig. Want to get opinions before spending $$$
Volker Armin Hemmann wrote: On Sunday 28 November 2010, Dale wrote: Dale wrote: GIGABYTE GA-770T-USB3 AM3 AMD 770 USB 3.0 ATX AMD Motherboard. The only thing I don't like about this is that it doesn't have a com port for my UPS. I guess a adapter will be found somewhere. http://www.newegg.com/Product/Product.aspx?Item=N82E16819103675 I was diggin around for some more info on this mobo. I found this on the website: Due to different Linux support condition provided by chipset vendors, please download Linux driver from chipset vendors' website or 3rd party website. This chipset is supported right? From what I found, it uses the standard SATA drivers but want to make sure. Searching with google returns some old problems but I couldn't find anything recent. Is it working fine now? and with problems you mean hangs and timeouts with ncq enabled, ncq not enabled and usb problems, right? those problems are all solved. Just don't use an acient kernel. Thanks for the info. Helps put my mind at ease. Dale :-) :-)
[gentoo-user] Re: Best way to improve interactivity with heavy disk activity?
On 11/28/2010 08:53 PM, App Deb wrote: On Sun, Nov 28, 2010 at 7:39 PM, waltw41...@gmail.com wrote: I'm confused about which of all these various mechanisms apply to single-cpu machines. AFAICT Con's BFS (e.g.) is really a CPU scheduler and doesn't affect single-cpu machines very much. What about CFQ and group scheduling? Others? Thanks for any clues. Don't mix them, CFS -- upstream official CPU scheduler (also supports cgroups, that got used in the 200line patch, which is useless imo) CFQ -- upstream official I/O (disk) scheduler (afaik the only one that supports ionice) BFS -- ck's CPU scheduler (I don't know what i/o scheduler ck's patchset uses) The i/o scheduler doesn't change.
[gentoo-user] Re: Best way to improve interactivity with heavy disk activity?
On 11/28/2010 07:39 PM, walt wrote: On 11/27/2010 11:17 PM, App Deb wrote: On Sun, Nov 28, 2010 at 2:13 AM, Nikos Chantziarasrea...@arcor.de wrote: On 11/28/2010 01:03 AM, Stroller wrote: On 27/11/2010, at 10:22pm, Nikos Chantziaras wrote: The ck patch set does not support group scheduling anyway; Now I'm a little more confused. Does `ionice` need the CFQ scheduler? Nope. I/O scheduling priorities are part of the I/O scheduler, not the CPU scheduler. CFQ is the official I/O scheduler. ionice only works with CFQ. I'm confused about which of all these various mechanisms apply to single-cpu machines. AFAICT Con's BFS (e.g.) is really a CPU scheduler and doesn't affect single-cpu machines very much. The scheduler affects every system. Single-CPU systems also need to schedule processes. Anyway, did the ck kernel help in some way with your problem?
Re: [gentoo-user] Should mysql crash sometimes?
mysql-5.1.51 crashed recently and needed to be restarted. This doesn't happen often with mysql but does from time to time. Is this part of life with mysql or can it be prevented? This is not normal. None of my mysql instances crash frequently Mine doesn't crash frequently. Maybe once every 6 months, but I'd prefer it didn't crash at all. I don't think I've changed the mysql config from default besides creating the necessary tables although I could be wrong. /var/log/mysql/mysqld.err doesn't contain info about the crash but here's info from the restart: [Warning] No argument was provided to --log-bin, and --log-bin-index was not used; so replication may break when this MySQL server acts as a master and has his hostname changed!! Please use '--log-bin=mysqld-bin' to avoid this problem. /usr/sbin/mysqld: Table 'mysql.plugin' doesn't exist [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. InnoDB: Started; log sequence number 0 43655 [Note] Recovering after a crash using mysqld-bin [Note] Starting crash recovery... [Note] Crash recovery finished. [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist [ERROR] Column count of mysql.db is wrong. Expected 22, found 20. Created with MySQL 50070, now running 50151. Please use mysql_upgrade to fix this error. Did you ever run mysql_upgrade as mentioned here? I'm working on that now. With the last mysql upgrade, did you restart the service? It's quite important to always restart any service you have just upgraded. I had restarted the service. [ERROR] mysql.user has no `Event_priv` column at position 29 [ERROR] Cannot open mysql.event [ERROR] Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler. [Note] /usr/sbin/mysqld: ready for connections. It looks like I should run mysql_upgrade for one thing. Is there a Gentoo way to do that? Will I lose data? As I went over this I realized that I hadn't enabled skip-networking, although nmap from the same system didn't show port 3306 open and I'm not running a firewall on the machine. How could that be? There was a recent mysql update which broke some of my mysql databases. I then discovered that I had to run: $ mysql_upgrade -u root -p for things to work normally again. There was no enotice to this effect so I raised a bug and since then the devs kindly added a message to the ebuild. So, to reiterate what Alan said, your crashes are not normal, you need to run mysql_upgrade and restart the service with your eye on the logs to see if something is amiss. BTW, if your box is Internet facing, or you do not absolutely trust your LAN devices, I would recommend that you run some rudimentary iptables rules to keep things safe(r). Thanks, will do now. - Grant
Re: [gentoo-user] Should mysql crash sometimes?
mysql-5.1.51 crashed recently and needed to be restarted. This doesn't happen often with mysql but does from time to time. Is this part of life with mysql or can it be prevented? This is not normal. None of my mysql instances crash frequently I don't think I've changed the mysql config from default besides creating the necessary tables although I could be wrong. /var/log/mysql/mysqld.err doesn't contain info about the crash but here's info from the restart: [Warning] No argument was provided to --log-bin, and --log-bin-index was not used; so replication may break when this MySQL server acts as a master and has his hostname changed!! Please use '--log-bin=mysqld-bin' to avoid this problem. /usr/sbin/mysqld: Table 'mysql.plugin' doesn't exist [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. InnoDB: Started; log sequence number 0 43655 [Note] Recovering after a crash using mysqld-bin [Note] Starting crash recovery... [Note] Crash recovery finished. [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist [ERROR] Column count of mysql.db is wrong. Expected 22, found 20. Created with MySQL 50070, now running 50151. Please use mysql_upgrade to fix this error. Did you ever run mysql_upgrade as mentioned here? I'm told I need to run mysqld with --skip-grant-tables. I'm used to using Gentoo's mysql initscript. Should 'mysqld --skip-grant-tables' work? - Grant
Re: [gentoo-user] Re: Accessing CVS on non-standard port
Apparently, though unproven, at 20:41 on Sunday 28 November 2010, walt did opine thusly: On 11/28/2010 09:33 AM, Alan McKinnon wrote: So I've gone with plan B: use the official VPN, even though it sucks. Um, so who's the administrator for the official VPN? Not me :-) We used to have a Cisco VPN. It was brilliant, used IPSec, and connections would stay alive for periods of time approaching infinity. Then Cisco decided to stop supporting it, so the company had to phase it out. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] E17 installation
Apparently, though unproven, at 19:54 on Sunday 28 November 2010, Mick did opine thusly: On Sunday 28 November 2010 17:01:22 Alan McKinnon wrote: On more business matters, have the ebuilds in enlightenment overlay successfully installed for you? And has the category for EFL's media libs settled down? This business of media-libs vs x11-libs caused me huge amounts of grief about a year ago Yes, I remember the media-libs change. I thought it was more recent than that - doesn't time fly! I must have been lucky because I uninstalled/reinstalled affected packages and all was fine with my E17. Bear in mind though that I have not installed all modules - I tend to emerge only what I use/need regularly. This weekend I removed efl and added the enlightenment overlay. Then checked that the following packages were keyworded as -, which were (re)installed without any problems:[1] dev-libs/ecore dev-libs/e_dbus dev-libs/eet dev-libs/eina dev-libs/embryo dev-libs/efreet media-libs/edje media-libs/ethumb media-libs/evas x11-wm/enlightenment media-libs/emotion dev-libs/eeze I did the same, it seems to work well, including the nice surprise of being able to use composite with an OpenGL backend, *and* to be able to configure windows so they don;t bounce all over the place when getting focus [1] In the process I had to uninstall some efl packages to avoid conflicts. I see that there are loads more packages in enlightenment overlay than what I have installed, but I am not sure if I need them (please let me know if you thing I'm missing out something basic). In time I will be trying more packages out no doubt. EFL, e17 and the modules you use seem to be all that most folk will use. I used to install everything in svn that would build successfully btu I never used most of that stuff. I do like winlist and itask. But the rest seems to have bitrot - some packages still have etk and ewl in DEPEND (like epdf). I can't think of any killer must-have apps beyond the basics. I also tried for a few days to switch away from - and into the betas offered by the portage tree - then things got terribly messy and decided to stick with svn for now. Same here. The overlay just is not ready for those yet So I think that the enlightenment overlay is usable, but as with all SVN things ... YMMV. ;-) -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: Best way to improve interactivity with heavy disk activity?
Am 28.11.2010 19:53, schrieb App Deb: On Sun, Nov 28, 2010 at 7:39 PM, walt w41...@gmail.com wrote: I'm confused about which of all these various mechanisms apply to single-cpu machines. AFAICT Con's BFS (e.g.) is really a CPU scheduler and doesn't affect single-cpu machines very much. What about CFQ and group scheduling? Others? Thanks for any clues. Don't mix them, CFS -- upstream official CPU scheduler (also supports cgroups, that got used in the 200line patch, which is useless imo) CFQ -- upstream official I/O (disk) scheduler (afaik the only one that supports ionice) CFQ also supports cgroup related I/O scheduling. Enable option CFQ_GROUP_IOSCHED. signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Should mysql crash sometimes?
On 11/28/2010 12:30 PM, Grant wrote: I'm told I need to run mysqld with --skip-grant-tables. I'm used to using Gentoo's mysql initscript. Should 'mysqld --skip-grant-tables' work? You can add it to /etc/mysql/my.cnf and restart. Remove it and restart again when you've finished. kashani
Re: [gentoo-user] E17 installation
On Sunday 28 November 2010 21:16:57 Alan McKinnon wrote: Apparently, though unproven, at 19:54 on Sunday 28 November 2010, Mick did opine thusly: This weekend I removed efl and added the enlightenment overlay. Then checked that the following packages were keyworded as -, which were (re)installed without any problems:[1] dev-libs/ecore dev-libs/e_dbus dev-libs/eet dev-libs/eina dev-libs/embryo dev-libs/efreet media-libs/edje media-libs/ethumb media-libs/evas x11-wm/enlightenment media-libs/emotion dev-libs/eeze I did the same, it seems to work well, including the nice surprise of being able to use composite with an OpenGL backend, *and* to be able to configure windows so they don;t bounce all over the place when getting focus This is interesting, because I came across two problems with composite: OpenGL caused a complete crash of e17. I had to remove ~/.e from a console to be able to launch it again. Enabling composite with software worked nicely, *but*: a) I couldn't switch it off ever again. and b) Refreshing the desktop became sluggish (as in gkrellms would regularly 'freeze' and not update). So I decided to switch it off until I try KMS with my ATI video card in case it copes better with it. Glad you got it working - please let us know of any gotchas in the future - you're bound to come across these before some of us do. :-) -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: Best way to improve interactivity with heavy disk activity?
On 28/11/2010, at 7:18pm, Nikos Chantziaras wrote: On 11/28/2010 07:39 PM, walt wrote: I'm confused about which of all these various mechanisms apply to single-cpu machines. AFAICT Con's BFS (e.g.) is really a CPU scheduler and doesn't affect single-cpu machines very much. The scheduler affects every system. Single-CPU systems also need to schedule processes. Anyway, did the ck kernel help in some way with your problem? I was the OP, not walt. I will give this my full attention tomorrow, taking time to re-read all posts and google. It might be a couple of days before I try CK's sources, to be honest. Compilation takes a couple of hours on this system, and I just know that I'm going to have to give it a little attention. Stroller.
Re: [gentoo-user] Re: Best way to improve interactivity with heavy disk activity?
On Sunday 28 November 2010 23:57:07 Stroller wrote: On 28/11/2010, at 7:18pm, Nikos Chantziaras wrote: Anyway, did the ck kernel help in some way with your problem? I will give this my full attention tomorrow, taking time to re-read all posts and google. It might be a couple of days before I try CK's sources, to be honest. Compilation takes a couple of hours on this system, and I just know that I'm going to have to give it a little attention. After reading this thread I decided to give CK sources a go. Make oldconfig offered me one option, whose help message made it pretty clear I should set it. Otherwise the config was the same as I'd been using on Gentoo sources. Compilation took 9 minutes. After rebooting into KDE 4.5.3 I set some more emerges going: open office, pywebkitgtk, chromium. Switching to another desktop took 8 seconds to finish painting the screen. Not propitious. Once the other jobs had finished and only open office was compiling, response was much faster, even when it got to a threaded section and was using all four cores. Looks like a worthwhile experiment to continue. -- Rgds Peter. Linux Counter 5290, 1994-04-23.
[gentoo-user] Re: Best way to improve interactivity with heavy disk activity?
On 11/29/2010 02:59 AM, Peter Humphrey wrote: On Sunday 28 November 2010 23:57:07 Stroller wrote: On 28/11/2010, at 7:18pm, Nikos Chantziaras wrote: Anyway, did the ck kernel help in some way with your problem? I will give this my full attention tomorrow, taking time to re-read all posts and google. It might be a couple of days before I try CK's sources, to be honest. Compilation takes a couple of hours on this system, and I just know that I'm going to have to give it a little attention. After reading this thread I decided to give CK sources a go. Make oldconfig offered me one option, whose help message made it pretty clear I should set it. Otherwise the config was the same as I'd been using on Gentoo sources. Compilation took 9 minutes. After rebooting into KDE 4.5.3 I set some more emerges going: open office, pywebkitgtk, chromium. Switching to another desktop took 8 seconds to finish painting the screen. Not propitious. Once the other jobs had finished and only open office was compiling, response was much faster, even when it got to a threaded section and was using all four cores. Looks like a worthwhile experiment to continue. Also try to set these in your make.conf: PORTAGE_NICENESS=19 PORTAGE_IONICE_COMMAND=sh -c \schedtool -D \${PID}; ionice -c 3 -p \${PID}\ This will run all emerges nice 19, idle i/o priority and SCHED_IDLEPRIO CPU scheduling. The ionice and schedtool utilities must be installed of course. I think you will love the results ;-) Given enough RAM, emerging packages will have almost no effect on the system's usability. In my case, I can for example watch 1080p HD movies without problems while building OpenOffice.
[gentoo-user] Re: Best way to improve interactivity with heavy disk activity?
On 11/29/2010 02:59 AM, Peter Humphrey wrote: [...] Once the other jobs had finished and only open office was compiling, response was much faster, even when it got to a threaded section and was using all four cores. One thing I forgot to mention is that with the ck kernel, the number of threads (like the -j option of make) must be exactly equal to the amount of CPUs or cores, and *not* the usual cores+1. So on a dual-core, -j2 is best, not -j3, and on a quad -j4, not -j5, due to the BFS scheduler not needing +1 threads to fully utilize the CPU. That means you get less overhead as a bonus (the more threads you use, the more overhead you get, making things slower.)
Re: [gentoo-user] Re: Best way to improve interactivity with heavy disk activity?
On 29/11/2010, at 1:18am, Nikos Chantziaras wrote: ... Also try to set these in your make.conf: PORTAGE_NICENESS=19 PORTAGE_IONICE_COMMAND=sh -c \schedtool -D \${PID}; ionice -c 3 -p \${PID}\ This will run all emerges nice 19, idle i/o priority and SCHED_IDLEPRIO CPU scheduling. The ionice and schedtool utilities must be installed of course. I think you will love the results ;-) Given enough RAM, emerging packages will have almost no effect on the system's usability. In my case, I can for example watch 1080p HD movies without problems while building OpenOffice. I don't think I've ever had much problem with emerges. These DVD rips cause *much* slower responsiveness than I've ever noticed before. The DVD drive is on the motherboard's EIDE controller, the hard-drive is part of a RAID5 on a 3ware PCI hardware SATA RAID controller. I'm aware that PCI is a relatively slow interface for modern hard-drives, but its adequate for everything else. When I have a DVD rip running it'll take 30 seconds to run `man man` or even exit bash - if I type `exit` in a tmux window then that window will stay around for 30 seconds. Mark Knecht's suggestion that this is related to RAM usage seems quite credible, as it seems to be worse when I come back to the machine (say after 15 minutes after initiating the rip) and seems to be alleviated somewhat after I've run a few commands (`ls` on my home directory or other common places). Checking now it seems pretty snappy - it's now on the `mkisofs` part of the rip, rather than the `dvdbackup` part. So it might be that the problem is only when the DVD-rom is reading at the same time as writing to the SATA controller. Note that these are only rips, NOT transcodes of the video. I am only running `dvdbackup mkisofs`, so there should be minimal CPU overhead (although I'll now remember to double-check that tomorrow). Stroller.
Re: [gentoo-user] gentoo-sources-2.6.35-r12 causes kernel panic
On Sat, Nov 27, 2010 at 8:50 PM, Mark Knecht markkne...@gmail.com wrote: On Sat, Nov 27, 2010 at 10:29 AM, Mick michaelkintz...@gmail.com wrote: On Saturday 27 November 2010 17:53:21 Mark Knecht wrote: On Sat, Nov 27, 2010 at 9:17 AM, Mick michaelkintz...@gmail.com wrote: On Saturday 27 November 2010 15:17:43 Mark Knecht wrote: On Sat, Nov 27, 2010 at 6:59 AM, Mick michaelkintz...@gmail.com wrote: I haven't had much luck with the 2.6.35 version of kernels - they have cause panics on two different x86 boxen. Now that 2.6.35 has gone stable so I tried it again and I'm getting a kernel panic complaining about VFS unable to mount root fs: == VFS: Cannot open root device sda3 or unknown-block(0,0) Please append a correct root= boot option; here are the available partitions: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) Pid: 1, comm: swapper Not tainted 2.6.35-gentoo-r12 #2 Call Trace: [c14b3530] ? panic+0x5f/0xc6 [c1693c68] ? mount_block_root+0x1c2/0x245 [c1002930] ? do_signal+0x766/0x7f2 [c1693d31] ? mount_root+0x46/0x5a [c1693e8b] ? prepare_namespace+0x146/0x182 [c1093203] ? sys_access+0x1f/0x23 [c16933f1] ? kernel_init+0x1a9/0x1b7 [c1693248] ? kernel_init+0x0/0x1b7 [c10030b6] ? kernel_thread_helper+0x6/0x10 panic occurred, switching back to text console == SNIP Am I missing something obvious to make the 2.6.35 series work with my boxen? OK, there's so many possibilities for what causes this. Basic confusion ensues... 1) When booting, if you look carefully, is the initial kernel seeing _any_ disks? Sometimes they fly bye and are hard to catch. If it is then is it showing sda3? The moment the monitor comes on it's already crashed - the first line under the penguins shows: Initializing USB Mass Storage driver... so I assume that any probing of drives has already happened. 2) What sort of file system did you put on sda3? I assume this is built into the kernel if this is an upgrade? reiserfs built into the kernel and unchanged for the last umpteen kernel series. 3) Post the appropriate part of grub.conf to show how you are booting. title=Gentoo Linux 2.6.35-r12 root (hd0,5) kernel /kernel-2.6.35-gentoo-r12 root=/dev/sda3 The 2.6.34-r12 uses the same stanza except for *.35 being replaced with *.34 4) Post fstab /dev/sda6 /boot ext2 noauto,noatime 1 1 /dev/sda3 / reiserfs noatime 0 1 /dev/sda2 none swap sw 0 0 [snip] I'll now build the kernel on the second x86 box and see what happens there. -- Regards, Mick Yeah, all makes sense what you've done and I can only offer one more thing for you to look at. I skipped from 2.6.33 to 2.6.36 so I cannot say anything specific about the *.35 series, but one thing I've suffered with on my 2.6.36 build is that if I have a specific USB hub hooked up my machine won't complete a boot. I have to disconnect this USB hub prior to boot and then hook it back up after the boot completes. I've not had time to look for the cause so I only hook it up to use it. After boot there are no other problems I've seen. I was assuming that maybe there's some difference in the USB stuff that I hadn't discovered yet, and since you see a crash at a USB step possibly it's similar and I never saw it at *.35 because I never used that series? Good luck and I wish I could be of more help. Thanks for trying to help me Mark, I'm surprised this problem is not more widespread. My second x86 machine also fails with the same kernel panic. :-( Because this is a slower machine I had a moment to see the initial messages before the penguin showed up. It said: ERROR: Unable to locate IOAPIC for GSI4 This is repeated a number of times and then the penguin pops up before the kernel crashes a dozen lines further down. It seems that this is a regression error, which I hope has been taken care of in later kernels: http://kerneltrap.org/mailarchive/linux-kernel/2010/7/8/4591800 -- Regards, Mick If you can then give 2.6.36 a try. Possibly it's in by now? That thread ends without (by my reading anyway) any particular conclusion about a fix. - Mark Hi Mick, You didn't show CONFIG_ATA_PIIX in your kernel config... Or atleast I didn't find it. CONFIG_ATA_PIIX=y Device Drivers ---Serial ATA and Parallel ATA drivers ---Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support Best regards Petri
[SOLVED] Re: [gentoo-user] wine configure: error: No OpenGL library found on this system.
On 11/28/2010 03:03 PM, Valmor de Almeida wrote: On 11/28/2010 11:51 AM, Valmor de Almeida wrote: On 11/28/2010 05:50 AM, Arttu V. wrote: On 11/27/10, Valmor de Almeida val.gen...@gmail.com wrote: The system appears clean (revdep-rebuild and emerge --depclean show nothing to be done). After a good night's sleep I realised that this part didn't explicitly state that you ran a full re-emerge of at least the @system set (if not the entire @world). So, have you successfully rebuilt your full toolchain after the change to reflect the change? Do you have lib32 and lib64 paths in your /etc/ld.so.conf? If they are missing will env-update add them there? I thought I would get things fixed with revdep-rebuild but you are correct the ld.so.conf file is missing lib32. Will rebuild the system now. Thanks, -- Valmor I re-emerged the system (emerge -e system). The ld.so.conf got updated: [snip] However no luck emerging wine. Will emerge the world next (this is going to take a while...) -- Valmor The emerge -e world fixed it. Was able to install wine and fire it up. I guess this means the change from no-multilib to multilib works. Phew! changing from no-multilib to multilib is compilation-intense. I wish the gentoo install instructions for amd64 had a red flag on this issue. Thanks, -- Valmor