Re: [gentoo-user] Failed to emerge sys-devel/gcc-4.4.5
On Tue, Apr 5, 2011 at 21:42, Mike Edenfield kut...@kutulu.org wrote: On 4/5/2011 3:03 AM, Pandu Poluan wrote: On Mon, Apr 4, 2011 at 19:34, Mike Edenfield kut...@kutulu.org wrote: On 4/4/2011 8:07 AM, Pandu Poluan wrote: MAKEOPTS=-j3 {standard input}: Assembler messages: {standard input}:146362: Error: open CFI at the end of file; missing .cfi_endproc directive xgcc: Internal error: Killed (program cc1) This kind of error is often caused by the parallel make not quite working. Try running the build like: MAKEOPTS=-j1 emerge =sys-devel/gcc-4.4.5 In general, whenever you get strange build errors (i.e. that have no immediately obvious cause) you should try again with MAKEOPTS=-j1. Often it will fix the problem, but even when it doesn't you will usually get a much more useful error. Thanks for the tip. Now it's 'partially successful': * QA Notice: Package has poor programming practices which may compile * fine but exhibit random runtime failures. These aren't anything to worry about. Thanks for the explanation :-) Installing (1 of 1) sys-devel/gcc-4.4.5 * gcc-config: Could not locate 'x86_64-pc-linux-gnu-4.4.4' in '/etc/env.d/gcc/' ! * Running 'fix_libtool_files.sh 4.4.4' * Scanning libtool files for hardcoded gcc library paths... cat: ld.so.conf.d/*.conf: No such file or directory gcc-config: error: could not run/locate 'gcc' :0: assertion failed: (gcc -dumpversion) | getline NEWVER) * Switching native-compiler to x86_64-pc-linux-gnu-4.4.5 ... * Your gcc has a bug with GCC_SPECS. * Please re-emerge gcc. * http://bugs.gentoo.org/68395 All of this is caused by your previous gcc profile being invalid, that is, pointing to a non-existent gcc version (one that had already been uninstalled). You *don't* have to re-emerge gcc as it says -- the bug is not in your GCC_SPECS but in gcc-config. You should first run gcc-config again to make sure your newly installed compiler it set as the default, then run `fix_libtool_files.sh 4.4.4` as the ebuild was trying to do. And you had to reply *after* gcc is re-emerged . Oh well, good to know, anyways... prevent more griefs in the future :-) Rgds, -- Pandu E Poluan ~ IT Optimizer ~ Visit my Blog: http://pepoluan.posterous.com
Re: [gentoo-user] Re: RAID on new install
On Monday 04 April 2011 14:16:45 James wrote: Mark Shields laebshade at gmail.com writes: The last guide recommends using raid0 on some partitions; everytime I use LVM2, I use nothing but raid1 partitions. I'd rather have the full raid1 than partial raid 1 + speed of raid0. Well Raid 1 only would be keen. Even swap as raid 1 ? There are actually 2 docs that cross reference each other. See my post to Mark's input... thx James On my server, I use RAID-1 for swap as well. Why risk the system crashing because half the swap dissappears suddenly because of a drive failure? There actually is only 1 system that I use regularly with a RAID-0 partition. And that machine is only used for virtual machines I use for testing. If that one dies, worst that happens is I need to recreate the images. Not a big loss for me. -- Joost Roeleveld
Re: [gentoo-user] xorg crashes
On Wednesday 06 Apr 2011 01:45:10 AM Mike Bean wrote: When you say, rebuild are you referring to basically the same process as emerge? yes he is. but when I think of building something I always think of configure/make/make install, portage does all that for you when you call emerge. -- - Yohan Pereira A man can do as he will, but not will as he will - Schopenhauer
Re: [gentoo-user] issues with apache config
I knew I forgot to reply to someone... On Tue, Apr 5, 2011 at 00:58, James j...@nc.rr.com wrote: Hi Pandu, Thanks for the response. What kind of permissions / privileges issues would cause this sort of behavior. ~ % ps aux | grep -i apache root 2421 1.1 0.3 224928 12312 ? Ss 09:53 0:00 /usr/sbin/apache2 -D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST -D LANGUAGE -D PHP5 -d /usr/lib64/apache2 -f /etc/apache2/httpd.conf -k start apache 2423 0.0 0.1 209904 3884 ? S 09:53 0:00 /usr/sbin/apache2 -D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST -D LANGUAGE -D PHP5 -d /usr/lib64/apache2 -f /etc/apache2/httpd.conf -k start apache 2428 0.0 0.2 438024 8152 ? Sl 09:53 0:00 /usr/sbin/apache2 -D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST -D LANGUAGE -D PHP5 -d /usr/lib64/apache2 -f /etc/apache2/httpd.conf -k start apache 2429 0.0 0.2 438024 8148 ? Sl 09:53 0:00 /usr/sbin/apache2 -D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST -D LANGUAGE -D PHP5 -d /usr/lib64/apache2 -f /etc/apache2/httpd.conf -k start Looks like there's one process running as root, and the rest are running as Apache. /stuff/web/app is also apache:apache. Hmmm... is root member of apache group? Cherokee has a bug that creeps up on you when you're using SSL. PHP pages will half-load, sometimes completely load. The developers have NO idea what causes the problem. They've got a bug open but apparently they can't find root cause. While I love Cherokee, until this is fixed simple things like a wiki page loading will present the issue when there are graphics involved. -james Sounds sucky. What do you think of Hiawatha? Rgds, -- Pandu E Poluan ~ IT Optimizer ~ Visit my Blog: http://pepoluan.posterous.com
Re: [gentoo-user] non-Twinview dual screen setup?
On Wednesday 06 Apr 2011 05:00:37 AM Jacob Todd wrote: I have no idea if kde supports xinerama still. yes it more or less does. enable the xinerama flag on kwin, plasma-workspacce et al. no composting tho. -- - Yohan Pereira A man can do as he will, but not will as he will - Schopenhauer
Re: [gentoo-user] qemu-kvm black screen and infinite loop on startup
On Wed, Apr 6, 2011 at 1:42 AM, Albert Hopkins mar...@letterboxes.orgwrote: On Tue, 2011-04-05 at 18:06 +0300, Kfir Lavi wrote: Hi, After updating qemu-kvm to 0.13.0-r2 I get an infinite loop when running qemu. You can spot the loop with strace. This problem shows on Redhat https://bugzilla.redhat.com/show_bug.cgi?id=553689#c5 and they say that it is related to the seabios. Does anyone have this problem too? I'm compiling qemu-kvm with hardend flag. I've been using app-emulation/qemu-kvm-0.13.0-r2 since early March. I have not had that problem, but I do not use the hardened flag. Thanks for your replay, I have tried to compile qemu without hardened, but it doesn't work: USE=-alsa -aio -curl -jpeg -png -sdl -ssl -hardened emerge -av app-emulation/qemu-kvm More inputs? Tnx, Kfir
Re: [gentoo-user] qemu-kvm black screen and infinite loop on startup
On Wed, Apr 6, 2011 at 1:42 AM, Albert Hopkins mar...@letterboxes.orgwrote: On Tue, 2011-04-05 at 18:06 +0300, Kfir Lavi wrote: Hi, After updating qemu-kvm to 0.13.0-r2 I get an infinite loop when running qemu. You can spot the loop with strace. This problem shows on Redhat https://bugzilla.redhat.com/show_bug.cgi?id=553689#c5 and they say that it is related to the seabios. Does anyone have this problem too? I'm compiling qemu-kvm with hardend flag. I've been using app-emulation/qemu-kvm-0.13.0-r2 since early March. I have not had that problem, but I do not use the hardened flag. Hi Albert, Can you paste your USE flags for qemu? Thanks, Kfir
[gentoo-user] Re: qemu-kvm black screen and infinite loop on startup
On Tue, Apr 5, 2011 at 6:06 PM, Kfir Lavi lavi.k...@gmail.com wrote: Hi, After updating qemu-kvm to 0.13.0-r2 I get an infinite loop when running qemu. You can spot the loop with strace. This problem shows on Redhat https://bugzilla.redhat.com/show_bug.cgi?id=553689#c5 and they say that it is related to the seabios. Does anyone have this problem too? I'm compiling qemu-kvm with hardend flag. Regards, Kfir when running 'strace qemu' I get this line: read(11, 0xbf10ae5c, 128) = -1 EAGAIN (Resource temporarily unavailable) This seems related to hardened. paxctl shows for all qemu binaries: - PaX flags: -m-x-e-- [/usr/bin/qemu] MPROTECT is disabled RANDEXEC is disabled EMUTRAMP is disabled - PaX flags: -m-x-e-- [/usr/bin/qemu-i386] MPROTECT is disabled RANDEXEC is disabled EMUTRAMP is disabled - PaX flags: -m-x-e-- [/usr/bin/qemu-img] MPROTECT is disabled RANDEXEC is disabled EMUTRAMP is disabled - PaX flags: -m-x-e-- [/usr/bin/qemu-io] MPROTECT is disabled RANDEXEC is disabled EMUTRAMP is disabled - PaX flags: -m-x-e-- [/usr/bin/qemu-nbd] MPROTECT is disabled RANDEXEC is disabled EMUTRAMP is disabled Does someone have the solution for this? Regards, Kfir
Re: [gentoo-user] qemu-kvm black screen and infinite loop on startup
On Wed, 2011-04-06 at 12:00 +0300, Kfir Lavi wrote: Hi Albert, Can you paste your USE flags for qemu? Thanks, Kfir USE=aio sdl vde -alsa -bluetooth -brltty -curl -esd -fdt -hardened -jpeg -ncurses -png -pulseaudio -qemu-ifup -sasl -ssl -static
Re: [gentoo-user] how to match kernel and udev/lvm2 ?
On Wednesday 06 April 2011 01:36:14 Indi wrote: I laughed so hard... I didn't. Not even the first time I saw it. -- Rgds Peter
Re: [gentoo-user] non-Twinview dual screen setup?
On Wednesday 06 April 2011 01:00:04 Neil Bothwick wrote: What Aussies lack in Humour they make up for in Beer! But not in Ale. -- Rgds Peter
Re: [gentoo-user] http-replicator permissions
On Tuesday 05 April 2011 22:38:56 Neil Bothwick wrote: On Tue, 05 Apr 2011 13:26:22 -0500, Dale wrote: You may do if you put $PORTDIR on NFS, but I am only sharing $DISTDIR. I cheated and just shared /usrportage, distfiles and all. I wasn't to clear on what I was doing in my reply up there. Even $PKGDIR? That's not a good idea unless you have identical hardware and USE flags. But didn't you say the other day that you do nfs-mount the target's $PKGDIR on the host? -- Rgds Peter
[gentoo-user] Re: qemu-kvm black screen and infinite loop on startup
On Tue, Apr 5, 2011 at 6:06 PM, Kfir Lavi lavi.k...@gmail.com wrote: Hi, After updating qemu-kvm to 0.13.0-r2 I get an infinite loop when running qemu. You can spot the loop with strace. This problem shows on Redhat https://bugzilla.redhat.com/show_bug.cgi?id=553689#c5 and they say that it is related to the seabios. Does anyone have this problem too? I'm compiling qemu-kvm with hardend flag. Regards, Kfir When I run qemu -no-kvm things work as expected under hardened kernel. Using regular kernel (none hardened) qemu works ok. So, the problem is running qemu under hardened kernel. If someone have some input, I'll be happy to hear it. Regards, Kfir
[gentoo-user] how ati close source driver works with console framebuffer?
hi all, I use ati-drivers started from 10.11, and replace my radeon driver from xorg-drivers, the documents already mentioned my previous working radeonfb drivers will no longer work, but no any solutions for user who is willing to use framebuffer console as before. I googled but no luck, some says vesa works, but seems not working for me. any advices pls. thanks fei
Re: [gentoo-user] how ati close source driver works with console framebuffer?
On Apr 6, 2011 7:12 AM, fei huang daniel.huang...@gmail.com wrote: hi all, I use ati-drivers started from 10.11, and replace my radeon driver from xorg-drivers, the documents already mentioned my previous working radeonfb drivers will no longer work, but no any solutions for user who is willing to use framebuffer console as before. I googled but no luck, some says vesa works, but seems not working for me. any advices pls. thanks fei To use vesa you need to add a vga=795 on the kernel command line for 1280 x 1024 screen resolution. For more options put vga=ask on the kernel command line to see what resolutions available in hexadecimal. For example 0x31B equals 795 in decimal. Hope that helps. James Wall
Re: [gentoo-user] non-Twinview dual screen setup?
On Tue, Apr 5, 2011 at 5:00 PM, Neil Bothwick n...@digimed.co.uk wrote: On Tue, 5 Apr 2011 15:25:16 -0700, Mark Knecht wrote: I hooked up second monitor to my Nvidia GTX465 card yesterday and wanted to get dual screen running. Unfortunately, except for using Twinview which works fine, I've been unable to do it without Twinview. Twinview itself isn't bad, but I don't like how ever KDE decision I have to take (logout, settings, etc.) always starts spanned across my two monitors. That doesn't happen on my dual screen Intel system. You can change that in the Display Monitors section of KDE's System Settings. -- Neil Bothwick Hi Neil, The problem is that after I'm in KDE it seems the damage is done. Settings-Display thing shows only a single 1920x1080 monitor hooked to 'default'. The second monitor isn't found at all. I suspect that what I need to do next is go back and boot the 2 screen version and see what the X log file actually says. I'm currently using Twinview where Settings-Display shows both monitors. While it's working well there is evidence that X doesn't like the monitor settings in the config file I got using nvidia-settings. Possibly the EDID values are causing X to not enable the second monitor at all in the 2 screen version? Cheers, Mark mark@c2stable ~ $ cat /var/log/Xorg.0.log [ 665.512] X.Org X Server 1.9.4 Release Date: 2011-02-04 [ 665.512] X Protocol Version 11, Revision 0 [ 665.512] Build Operating System: Linux 2.6.36-gentoo-r6 x86_64 Gentoo [ 665.512] Current Operating System: Linux c2stable 2.6.38-gentoo-r1 #1 SMP PREEMPT Wed Mar 30 12:24:58 PDT 2011 x86_64 [ 665.512] Kernel command line: root=/dev/md126 [ 665.512] Build Date: 13 February 2011 06:29:22AM [ 665.512] [ 665.512] Current version of pixman: 0.20.2 [ 665.512]Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 665.512] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 665.512] (==) Log file: /var/log/Xorg.0.log, Time: Wed Apr 6 05:22:43 2011 [ 665.512] (==) Using config file: /etc/X11/xorg.conf [ 665.512] (==) Using config directory: /etc/X11/xorg.conf.d [ 665.512] (==) Using system config directory /usr/share/X11/xorg.conf.d [ 665.512] (==) ServerLayout Layout0 [ 665.512] (**) |--Screen Screen0 (0) [ 665.512] (**) | |--Monitor Monitor0 [ 665.512] (**) | |--Device Device0 [ 665.512] (**) |--Input Device Keyboard0 [ 665.512] (**) |--Input Device Mouse0 [ 665.512] (==) Automatically adding devices [ 665.512] (==) Automatically enabling devices [ 665.512] (WW) The directory /usr/share/fonts/TTF/ does not exist. [ 665.512]Entry deleted from font path. [ 665.512] (WW) The directory /usr/share/fonts/OTF/ does not exist. [ 665.512]Entry deleted from font path. [ 665.512] (==) FontPath set to: /usr/share/fonts/misc/, /usr/share/fonts/Type1/, /usr/share/fonts/100dpi/, /usr/share/fonts/75dpi/ [ 665.512] (==) ModulePath set to /usr/lib64/xorg/modules [ 665.512] (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled. [ 665.512] (WW) Disabling Keyboard0 [ 665.512] (WW) Disabling Mouse0 [ 665.512] (II) Loader magic: 0x7ca080 [ 665.512] (II) Module ABI versions: [ 665.512]X.Org ANSI C Emulation: 0.4 [ 665.512]X.Org Video Driver: 8.0 [ 665.512]X.Org XInput driver : 11.0 [ 665.512]X.Org Server Extension : 4.0 [ 665.513] (--) PCI:*(0:2:0:0) 10de:06c4:3842:1467 rev 163, Mem @ 0xf800/33554432, 0xd800/134217728, 0xd400/67108864, I/O @ 0xac00/128, BIOS @ 0x/524288 [ 665.513] (II) Open ACPI successful (/var/run/acpid.socket) [ 665.513] (II) LoadModule: extmod [ 665.513] (II) Loading /usr/lib64/xorg/modules/extensions/libextmod.so [ 665.513] (II) Module extmod: vendor=X.Org Foundation [ 665.513]compiled for 1.9.4, module version = 1.0.0 [ 665.513]Module class: X.Org Server Extension [ 665.513]ABI class: X.Org Server Extension, version 4.0 [ 665.513] (II) Loading extension MIT-SCREEN-SAVER [ 665.513] (II) Loading extension XFree86-VidModeExtension [ 665.513] (II) Loading extension XFree86-DGA [ 665.513] (II) Loading extension DPMS [ 665.513] (II) Loading extension XVideo [ 665.513] (II) Loading extension XVideo-MotionCompensation [ 665.513] (II) Loading extension X-Resource [ 665.513] (II) LoadModule: dbe [ 665.513] (II) Loading /usr/lib64/xorg/modules/extensions/libdbe.so [ 665.513] (II) Module dbe: vendor=X.Org Foundation [ 665.513]compiled for 1.9.4, module version = 1.0.0 [ 665.513]Module class: X.Org Server Extension [ 665.513]ABI class: X.Org Server Extension, version 4.0 [ 665.513] (II) Loading extension DOUBLE-BUFFER [ 665.513] (II)
Re: [gentoo-user] non-Twinview dual screen setup?
want to leave this list but I can not, can someone erase me from this list? On Wed, Apr 6, 2011 at 12:06, Mark Knecht markkne...@gmail.com wrote: On Tue, Apr 5, 2011 at 5:00 PM, Neil Bothwick n...@digimed.co.uk wrote: On Tue, 5 Apr 2011 15:25:16 -0700, Mark Knecht wrote: I hooked up second monitor to my Nvidia GTX465 card yesterday and wanted to get dual screen running. Unfortunately, except for using Twinview which works fine, I've been unable to do it without Twinview. Twinview itself isn't bad, but I don't like how ever KDE decision I have to take (logout, settings, etc.) always starts spanned across my two monitors. That doesn't happen on my dual screen Intel system. You can change that in the Display Monitors section of KDE's System Settings. -- Neil Bothwick Hi Neil, The problem is that after I'm in KDE it seems the damage is done. Settings-Display thing shows only a single 1920x1080 monitor hooked to 'default'. The second monitor isn't found at all. I suspect that what I need to do next is go back and boot the 2 screen version and see what the X log file actually says. I'm currently using Twinview where Settings-Display shows both monitors. While it's working well there is evidence that X doesn't like the monitor settings in the config file I got using nvidia-settings. Possibly the EDID values are causing X to not enable the second monitor at all in the 2 screen version? Cheers, Mark mark@c2stable ~ $ cat /var/log/Xorg.0.log [ 665.512] X.Org X Server 1.9.4 Release Date: 2011-02-04 [ 665.512] X Protocol Version 11, Revision 0 [ 665.512] Build Operating System: Linux 2.6.36-gentoo-r6 x86_64 Gentoo [ 665.512] Current Operating System: Linux c2stable 2.6.38-gentoo-r1 #1 SMP PREEMPT Wed Mar 30 12:24:58 PDT 2011 x86_64 [ 665.512] Kernel command line: root=/dev/md126 [ 665.512] Build Date: 13 February 2011 06:29:22AM [ 665.512] [ 665.512] Current version of pixman: 0.20.2 [ 665.512]Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 665.512] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 665.512] (==) Log file: /var/log/Xorg.0.log, Time: Wed Apr 6 05:22:43 2011 [ 665.512] (==) Using config file: /etc/X11/xorg.conf [ 665.512] (==) Using config directory: /etc/X11/xorg.conf.d [ 665.512] (==) Using system config directory /usr/share/X11/xorg.conf.d [ 665.512] (==) ServerLayout Layout0 [ 665.512] (**) |--Screen Screen0 (0) [ 665.512] (**) | |--Monitor Monitor0 [ 665.512] (**) | |--Device Device0 [ 665.512] (**) |--Input Device Keyboard0 [ 665.512] (**) |--Input Device Mouse0 [ 665.512] (==) Automatically adding devices [ 665.512] (==) Automatically enabling devices [ 665.512] (WW) The directory /usr/share/fonts/TTF/ does not exist. [ 665.512]Entry deleted from font path. [ 665.512] (WW) The directory /usr/share/fonts/OTF/ does not exist. [ 665.512]Entry deleted from font path. [ 665.512] (==) FontPath set to: /usr/share/fonts/misc/, /usr/share/fonts/Type1/, /usr/share/fonts/100dpi/, /usr/share/fonts/75dpi/ [ 665.512] (==) ModulePath set to /usr/lib64/xorg/modules [ 665.512] (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled. [ 665.512] (WW) Disabling Keyboard0 [ 665.512] (WW) Disabling Mouse0 [ 665.512] (II) Loader magic: 0x7ca080 [ 665.512] (II) Module ABI versions: [ 665.512]X.Org ANSI C Emulation: 0.4 [ 665.512]X.Org Video Driver: 8.0 [ 665.512]X.Org XInput driver : 11.0 [ 665.512]X.Org Server Extension : 4.0 [ 665.513] (--) PCI:*(0:2:0:0) 10de:06c4:3842:1467 rev 163, Mem @ 0xf800/33554432, 0xd800/134217728, 0xd400/67108864, I/O @ 0xac00/128, BIOS @ 0x/524288 [ 665.513] (II) Open ACPI successful (/var/run/acpid.socket) [ 665.513] (II) LoadModule: extmod [ 665.513] (II) Loading /usr/lib64/xorg/modules/extensions/libextmod.so [ 665.513] (II) Module extmod: vendor=X.Org Foundation [ 665.513]compiled for 1.9.4, module version = 1.0.0 [ 665.513]Module class: X.Org Server Extension [ 665.513]ABI class: X.Org Server Extension, version 4.0 [ 665.513] (II) Loading extension MIT-SCREEN-SAVER [ 665.513] (II) Loading extension XFree86-VidModeExtension [ 665.513] (II) Loading extension XFree86-DGA [ 665.513] (II) Loading extension DPMS [ 665.513] (II) Loading extension XVideo [ 665.513] (II) Loading extension XVideo-MotionCompensation [ 665.513] (II) Loading extension X-Resource [ 665.513] (II) LoadModule: dbe [ 665.513] (II) Loading /usr/lib64/xorg/modules/extensions/libdbe.so [ 665.513] (II) Module dbe: vendor=X.Org Foundation [
Re: [gentoo-user] how ati close source driver works with console framebuffer?
want to leave this list but I can not, can someone erase me from this list? On Wed, Apr 6, 2011 at 10:23, James Wall wallservi...@gmail.com wrote: On Apr 6, 2011 7:12 AM, fei huang daniel.huang...@gmail.com wrote: hi all, I use ati-drivers started from 10.11, and replace my radeon driver from xorg-drivers, the documents already mentioned my previous working radeonfb drivers will no longer work, but no any solutions for user who is willing to use framebuffer console as before. I googled but no luck, some says vesa works, but seems not working for me. any advices pls. thanks fei To use vesa you need to add a vga=795 on the kernel command line for 1280 x 1024 screen resolution. For more options put vga=ask on the kernel command line to see what resolutions available in hexadecimal. For example 0x31B equals 795 in decimal. Hope that helps. James Wall -- Atenciosamente, Gregory Fontenele
Re: [gentoo-user] putting mysql databases from one system to another
want to leave this list but I can not, can someone erase me from this list? On Tue, Apr 5, 2011 at 23:08, Mark Shields laebsh...@gmail.com wrote: On Tue, Apr 5, 2011 at 2:37 PM, cov...@ccs.covici.com wrote: Josh korth...@gmail.com wrote: On Tue, Apr 5, 2011 at 11:59 AM, cov...@ccs.covici.com wrote: I am trying to copy my databases from one system to another and since one is 32-bit and the other is 64-bit, I was told that I could not copy the binary databases directly, but I had to do mysqldump and then put that source file into the new system. What I am getting is that the passwords seem not to have gotten through -- the user names seem to be there, but I cannot login with the passwords the user had in the old system. Can anyone tell me why this is so and what I can do to fix? Thanks in advance for any ideas. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com Which two MySQL versions are in use here? Older versions of mysql used a different format for the passwords and there is a flag you need to pass to mysqld to get it to use old passwords (I believe) What is the connection string you are using? Specifically are you connecting via the mysql socket, using a hostname etc? Say the old server was called foo.stuff.net and the connection was made via the external interface e.g. mysql -h foo.stuff.net, the user may have been setup to allow connections from foo.stuff.net only, as where now you may be connectin from bar.stuff.net or localhost. SELECT user,host FROM mysql.user ORDER BY user; May shed some light on the situation for you. It should be localhost in all cases. The mysql versions are 5.1.53 in both cases. I am trying to login with the mysql client and I can do it on the old box, but not the new one --same host name, etc. Now I can login with the root password on the new box, maybe that is stored somewher else. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com I hate to ask the obvious, but are you passing -u username and -p to mysqldump? the -p by itself will prompt for a password, which you will then enter. The format should be mysqldump databasename -u username -p file, then enter the password at the Password: prompt. -- Atenciosamente, Gregory Fontenele
Re: [gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X?
want to leave this list but I can not, can someone erase me from this list? On Wed, Apr 6, 2011 at 00:37, Bill Longman bill.long...@gmail.com wrote: Maybe switch it to just a shift key? And I really *do* like the idea of language switch, Kfir! -- Atenciosamente, Gregory Fontenele
Re: [gentoo-user] Gentoo + NetworkManager Applet + Modem ZTE MF180
want to leave this list but I can not, can someone erase me from this list? On Wed, Apr 6, 2011 at 00:43, Carlos Sura carlos.su...@googlemail.comwrote: On 18 December 2010 10:46, Gary Golden m...@garygolden.me wrote: I'm not sure about Fedora, but since /dev/ttyUSB* doesn't exist then option driver isn't loaded. I have a ZTE device and did make it work with this driver. Try lsmod | grep option to make sure. It's there: Device Drivers - USB support (USB_SUPPORT [=y])│ - USB Serial Converter support (USB_SERIAL [=m] -- Gary Golden On 12/18/2010 08:10 PM, Carlos Sura wrote: On 17 December 2010 10:54, Gary Golden m...@garygolden.me mailto:m...@garygolden.me wrote: Try option kernel driver. Can you see it with lsusb? Is there any /dev/ttyUSB* ? --- Gary Golden On 12/14/2010 11:03 PM, Carlos Sura wrote: Hello mates, I'm on a Gentoo Box (my laptop) and I have a usb modem (ZTE MF180), but it just don't work with my Gentoo Box, I've been searching in Google and I found this: http://christian.amsuess.com/tutorials/zte_mf180/ I tried, but, I ejected my cdrom and even my usb modem (eject /dev/sr1) and none of this worked for me. Does anyone have this Modem working on Gentoo Linux? if so, please let me know how! However, I tried this modem with a livecd (Fedora) and it worked with the networkmanager, easy as pie!!... Is there any way to get that config (or drivers) to make it work in my gentoo box? Regards, Carlos Sura. -- Carlos Sura.- Hello Gary Golden, Thank you for answer me. Yes I can see it with: *lusb *and no there is nothing in*/dev/ttyUSB** * * The link above explains how to make it works, but I've been following those instructions and isn't working for me. Do I need to install *usbswitchmode*? by the way: Is there anyway to know what drivers and configuration is using Fedora 14, to make it easier and just take it from Fedora 14 and use it in my Gentoo ? Regards, -- Carlos Sura.- Hi, I've already found a way to make it work. Here: We need to configure the kernel of our gentoo b0x, we give support to ip and ppp Networking --- Networking options --- * Unix domain sockets[*] TCP/IP networking Device Drivers --- Network device support ---[*] Network device support * PPP (point-to-point protocol) support * PPP support for async serial ports * PPP support for sync tty ports * PPP Deflate compression * PPP BSD-Compress compression then we make active: Device Drivers --- SCSI device support --- * SCSI CDROM support USB support --- * Support for Host-side USB * UHCI HCD (most Intel and VIA) support * USB Mass Storage support USB Serial Converter support --- * USB Serial Converter support * USB driver for GSM and CDMA modems finally we compile our kernel and reboot the system, and then we add our modem with our Network Manager (gnome) and it will work fine By the way, after reboot, as root : eject /dev/sr0 (to make it work) Regards -- Carlos Sura.- -- Atenciosamente, Gregory Fontenele
Re: [gentoo-user] Failed to emerge sys-devel/gcc-4.4.5
want to leave this list but I can not, can someone erase me from this list? On Wed, Apr 6, 2011 at 02:55, Pandu Poluan pa...@poluan.info wrote: On Tue, Apr 5, 2011 at 21:42, Mike Edenfield kut...@kutulu.org wrote: On 4/5/2011 3:03 AM, Pandu Poluan wrote: On Mon, Apr 4, 2011 at 19:34, Mike Edenfield kut...@kutulu.org wrote: On 4/4/2011 8:07 AM, Pandu Poluan wrote: MAKEOPTS=-j3 {standard input}: Assembler messages: {standard input}:146362: Error: open CFI at the end of file; missing .cfi_endproc directive xgcc: Internal error: Killed (program cc1) This kind of error is often caused by the parallel make not quite working. Try running the build like: MAKEOPTS=-j1 emerge =sys-devel/gcc-4.4.5 In general, whenever you get strange build errors (i.e. that have no immediately obvious cause) you should try again with MAKEOPTS=-j1. Often it will fix the problem, but even when it doesn't you will usually get a much more useful error. Thanks for the tip. Now it's 'partially successful': * QA Notice: Package has poor programming practices which may compile *fine but exhibit random runtime failures. These aren't anything to worry about. Thanks for the explanation :-) Installing (1 of 1) sys-devel/gcc-4.4.5 * gcc-config: Could not locate 'x86_64-pc-linux-gnu-4.4.4' in '/etc/env.d/gcc/' ! * Running 'fix_libtool_files.sh 4.4.4' * Scanning libtool files for hardcoded gcc library paths... cat: ld.so.conf.d/*.conf: No such file or directory gcc-config: error: could not run/locate 'gcc' :0: assertion failed: (gcc -dumpversion) | getline NEWVER) * Switching native-compiler to x86_64-pc-linux-gnu-4.4.5 ... * Your gcc has a bug with GCC_SPECS. * Please re-emerge gcc. * http://bugs.gentoo.org/68395 All of this is caused by your previous gcc profile being invalid, that is, pointing to a non-existent gcc version (one that had already been uninstalled). You *don't* have to re-emerge gcc as it says -- the bug is not in your GCC_SPECS but in gcc-config. You should first run gcc-config again to make sure your newly installed compiler it set as the default, then run `fix_libtool_files.sh 4.4.4` as the ebuild was trying to do. And you had to reply *after* gcc is re-emerged . Oh well, good to know, anyways... prevent more griefs in the future :-) Rgds, -- Pandu E Poluan ~ IT Optimizer ~ Visit my Blog: http://pepoluan.posterous.com -- Atenciosamente, Gregory Fontenele
Re: [gentoo-user] Re: RAID on new install
want to leave this list but I can not, can someone erase me from this list? On Wed, Apr 6, 2011 at 03:21, Joost Roeleveld jo...@antarean.org wrote: On Monday 04 April 2011 14:16:45 James wrote: Mark Shields laebshade at gmail.com writes: The last guide recommends using raid0 on some partitions; everytime I use LVM2, I use nothing but raid1 partitions. I'd rather have the full raid1 than partial raid 1 + speed of raid0. Well Raid 1 only would be keen. Even swap as raid 1 ? There are actually 2 docs that cross reference each other. See my post to Mark's input... thx James On my server, I use RAID-1 for swap as well. Why risk the system crashing because half the swap dissappears suddenly because of a drive failure? There actually is only 1 system that I use regularly with a RAID-0 partition. And that machine is only used for virtual machines I use for testing. If that one dies, worst that happens is I need to recreate the images. Not a big loss for me. -- Joost Roeleveld -- Atenciosamente, Gregory Fontenele
Re: [gentoo-user] Re: qemu-kvm black screen and infinite loop on startup
want to leave this list but I can not, can someone erase me from this list? On Wed, Apr 6, 2011 at 08:45, Kfir Lavi lavi.k...@gmail.com wrote: On Tue, Apr 5, 2011 at 6:06 PM, Kfir Lavi lavi.k...@gmail.com wrote: Hi, After updating qemu-kvm to 0.13.0-r2 I get an infinite loop when running qemu. You can spot the loop with strace. This problem shows on Redhat https://bugzilla.redhat.com/show_bug.cgi?id=553689#c5 and they say that it is related to the seabios. Does anyone have this problem too? I'm compiling qemu-kvm with hardend flag. Regards, Kfir When I run qemu -no-kvm things work as expected under hardened kernel. Using regular kernel (none hardened) qemu works ok. So, the problem is running qemu under hardened kernel. If someone have some input, I'll be happy to hear it. Regards, Kfir -- Atenciosamente, Gregory Fontenele
Re: [gentoo-user] non-Twinview dual screen setup?
Gregory Fontenele wrote: want to leave this list but I can not, can someone erase me from this list? We can't unsubscribe you from the list. You have to do that yourself. Here is the link telling how to do that or you can check the email headers. It's in there too. http://www.gentoo.org/main/en/lists.xml Hope that helps. Dale :-) :-)
Re: [gentoo-user] http-replicator permissions
On Wed, 6 Apr 2011 12:38:21 +0100, Peter Humphrey wrote: I cheated and just shared /usrportage, distfiles and all. I wasn't to clear on what I was doing in my reply up there. Even $PKGDIR? That's not a good idea unless you have identical hardware and USE flags. But didn't you say the other day that you do nfs-mount the target's $PKGDIR on the host? Yes, but a separate PGKDIR for each host. I don't just export $PORTDIR and leave PKGDIR in there. -- Neil Bothwick without C people would code in Basi, Pasal and Obol signature.asc Description: PGP signature
Re: [gentoo-user] http-replicator permissions
Neil Bothwick wrote: On Wed, 6 Apr 2011 12:38:21 +0100, Peter Humphrey wrote: I cheated and just shared /usrportage, distfiles and all. I wasn't to clear on what I was doing in my reply up there. Even $PKGDIR? That's not a good idea unless you have identical hardware and USE flags. But didn't you say the other day that you do nfs-mount the target's $PKGDIR on the host? Yes, but a separate PGKDIR for each host. I don't just export $PORTDIR and leave PKGDIR in there. If I recall correctly, you can just change the PKGDIR setting in make.conf to another location and then share /usr/portage the way I used to. I was wanting to hit the tab key to let it fill in portage. lol I'm used to tab completion but it don't work in emails. ;-) Since http-replicator and rsync can be used and is so easy to set up, I would just use that if possible. There may be exceptions to that tho. Dale :-) :-)
Re: [gentoo-user] putting mysql databases from one system to another
On 4/5/2011 11:59 AM, cov...@ccs.covici.com wrote: I am trying to copy my databases from one system to another and since one is 32-bit and the other is 64-bit, I was told that I could not copy the binary databases directly, but I had to do mysqldump and then put that source file into the new system. What I am getting is that the passwords seem not to have gotten through -- the user names seem to be there, but I cannot login with the passwords the user had in the old system. Can anyone tell me why this is so and what I can do to fix? Thanks in advance for any ideas. On Linux there is no difference between the on disk format so rsync away assuming you're keeping roughly the same Mysql version. You can have issues on Windows for some reason. However mysqldump is always considered safer for a number of other reasons. After you imported your fresh new mysqldump you ran flush privileges; for the mysql.user table to take effect? kashani
[gentoo-user] Mutliboot USB + Gentoo LiveDVD 11?
I am trying to make a multiboot USB stick that includes the Gentoo 11.0 LiveDVD. I am using http://www.pendrivelinux.com/boot-multiple-iso-from-usb-via-grub2-using-linux/as a general guide, and have a menuentry {} that *almost* works. However, gentoo can't find the squashfs, because it doesn't know to mount the iso and look there. Other distros, like ubuntu or the systemrescuecd, have facilities like iso-scan/filename, isoloop, isofrom, and findiso; however I have tried all of those as arguments to the gentoo kernel to no avail. I may just put the squashfs image in the usb drive directly and work from there, but I'd rather keep everything within the iso if at all possible. Does anyone here know if there's a simple way to tell the gentoo livedvd kernel to look at an iso file to find its squashfs image? Thanks, -Andy
[gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X?
meino.cra...@gmx.de wrote: Is it possible to map the CAPSLOCK to simply nothing? I use the following: Option XkbOptions terminate:ctrl_alt_bksp,caps:none -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X?
meino.cra...@gmx.de wrote: Thank you for all the nice ideas -- for some reason I like the xorg.conf method best :) And while you're at it, add the following lines to your /etc/conf.d/local.start, so that caps lock is disabled on the console, too: # Disable caps lock loadkeys EOF $(dumpkeys | head -n 1) keycode 58 = EOF -- Remy signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Re: qemu-kvm black screen and infinite loop on startup
On 04/06/2011 07:45 AM, Kfir Lavi wrote: When I run qemu -no-kvm things work as expected under hardened kernel. Using regular kernel (none hardened) qemu works ok. So, the problem is running qemu under hardened kernel. If someone have some input, I'll be happy to hear it. I am a long-time user of qemu/kvm under hardened. It works off and on. I don't have any scientific advice for you, only this: if you ever find a combination of kernel/qemu that works, *don't change anything*.
Re: [gentoo-user] putting mysql databases from one system to another
kashani writes: On 4/5/2011 11:59 AM, cov...@ccs.covici.com wrote: I am trying to copy my databases from one system to another and since one is 32-bit and the other is 64-bit, I was told that I could not copy the binary databases directly, but I had to do mysqldump and then put that source file into the new system. What I am getting is that the passwords seem not to have gotten through -- the user names seem to be there, but I cannot login with the passwords the user had in the old system. Can anyone tell me why this is so and what I can do to fix? I can't. On Linux there is no difference between the on disk format so rsync away assuming you're keeping roughly the same Mysql version. Um, but only when the architecture is identical. I'm pretty sure binary data is stored in different format on 32bit and 64bit systems. Wonko
Re: [gentoo-user] putting mysql databases from one system to another
On 4/6/2011 3:47 PM, Alex Schuster wrote: On Linux there is no difference between the on disk format so rsync away assuming you're keeping roughly the same Mysql version. Um, but only when the architecture is identical. I'm pretty sure binary data is stored in different format on 32bit and 64bit systems. Wonko I had done it myself in the past a number of times without issue, but here's the documentation to back it up. kashani http://wikis.sun.com/display/WebStack/MySQL64bitARC It should be noted that, when switching between 32bit and 64bit server using the same data-files, all the current major storage engines (with one exception) are architecture neutral, both in endian-ness and bit size. You should be able to copy a 64-bit or 32-bit DB either way, and even between platforms without problems for MyISAM, InnoDB and NDB. For other engines it doesn't matter (CSV, MEMORY, MERGE, BLACKHOLE and FEDERATED) either the engine doesn't have a disk storage format or the format they use is text based (CSV) or based on MyISAM (MERGE; and therefore not an issue). The only exception is Falcon, which is only available in MySQL 6.0. It is generally recommended from MySQL that a dump and reload of data for absolute compatibility for any engine and major migration.
[gentoo-user] Re: how to match kernel and udev/lvm2 ?
On 04/06/2011 04:26 AM, Peter Humphrey wrote: On Wednesday 06 April 2011 01:36:14 Indi wrote: I laughed so hard... I didn't. Not even the first time I saw it. I didn't either. I thought the instructions were very clear and easy to follow.
Re: [gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X?
Remy Blank remy.bl...@pobox.com [11-04-07 03:48]: meino.cra...@gmx.de wrote: Thank you for all the nice ideas -- for some reason I like the xorg.conf method best :) And while you're at it, add the following lines to your /etc/conf.d/local.start, so that caps lock is disabled on the console, too: # Disable caps lock loadkeys EOF $(dumpkeys | head -n 1) keycode 58 = EOF -- Remy Thanks a lot for all your help ! :) It is so much better without this CAPSLOCK... Best regards mcc
[gentoo-user] screen just saved my day!
Someone really should mention 'screen' in the handbook; that venerable tool just saved my day :) I was in the midst of 'emerge --update --newuse world' over SSH when my office had a 'temporary power failure'. Luckily, I had started a 'screen' session. When the power is restored 5 minutes later, I just re-attach the screen session, and all's well :) Rgds, -- -- Pandu E Poluan - IT Optimizer My website: http://pandu.poluan.info/