[gentoo-user] Help with Xen
Hello, people. I've been trying for the past few days to get Xen working on Gentoo, still no success. I already have a dom0 kernel working, but can't get domU guests to boot. I got installed: sys-kernel/xen-sources-2.6.18-r12 app-emulation/xen-tools-3.4.2 app-emulation/xen-3.4.2 The dom0 kernel is 2.6.18-r12 (the recommended). For the domU, I tried both the same and the latest gentoo-sources, but neither of them works. According to /var/log/xen/xend.log, there seems to be a problem with hotplug scripts. I don't know the internals of Xen, so I'm not sure if this is a udev issue, or something within /etc/xen/scripts Anyway, here's the script for the domU guest I'm trying to run: name = tidus; memory = 1024; kernel = /boot/vmlinuz-2.6.31-domU; disk = [ 'phy:machines/tidus.system,xvda1,w', 'phy:machines/tidus.swap,xvda2,w' ]; root = /dev/xvda1 ro; Pretty basic. For the disk, I've tried both phy:machines/tidus.system and phy:/dev/machines/tidus-system, they both fail exactly the same. When I try to 'xm create -c' the vm, I get these in xend.log: [2009-12-19 18:02:59 2905] DEBUG (DevController:139) Waiting for devices vif. [2009-12-19 18:02:59 2905] DEBUG (DevController:139) Waiting for devices vkbd. [2009-12-19 18:02:59 2905] DEBUG (DevController:139) Waiting for devices ioports. [2009-12-19 18:02:59 2905] DEBUG (DevController:139) Waiting for devices tap. [2009-12-19 18:02:59 2905] DEBUG (DevController:139) Waiting for devices console. [2009-12-19 18:02:59 2905] DEBUG (DevController:144) Waiting for 0. [2009-12-19 18:02:59 2905] DEBUG (DevController:139) Waiting for devices vscsi. [2009-12-19 18:02:59 2905] DEBUG (DevController:139) Waiting for devices vbd. [2009-12-19 18:02:59 2905] DEBUG (DevController:144) Waiting for 51713. [2009-12-19 18:02:59 2905] DEBUG (DevController:629) hotplugStatusCallback /local/domain/0/backend/vbd/4/51713/hotplug-status. It then stops there for some time, and finally gives up and destroys the vm. xm create gets the error: Error: Device 51713 (vbd) could not be connected. Hotplug scripts not working. The rest in xend.log is just some messages destroying and releasing resources. I can mount the lvm device without a problem (installed Gentoo on it by mounting on /mnt/gentoo). Dom0 kernel is working fine, all hardware is fine. I have the relevant sections turned on (backend stuff for dom0 and frontend stuff for domU). From the udev rules (/etc/udev/rules.d/xen-backend.rules), I see that for the vbd devices, it should be calling /etc/xen/scripts/block: SUBSYSTEM==xen-backend, KERNEL==vbd*, RUN+=/etc/xen/scripts/block $env{ACTION} However, I edited this file and put a simple echo in the beginning, and it seems udev is not calling this script. I googled a lot, searched a lot, but still can't get this to work. I'm using this list as a last resort :) This is a clean install of Gentoo, using profile hardened/linux/amd64/10.0/no-multilib, if it makes a difference. My CFLAGS: -O2 -fomit-frame-pointer -march=nocona -mno-tls-direct-seg-refs -pipe Anyone shed some light on this? Thanks! -- Bruno Lustosa br...@lustosa.net http://www.lustosa.net/
[gentoo-user] Re: Help with Xen
Just as a follow up, I got it up and running. It seems to be an issue with the old 2.6.18 kernel. I grabbed a recent ebuild from http://code.google.com/p/gentoo-xen-kernel/downloads/list (2.6.31), and it's now working like a charm. Thanks anyway! On Sat, Dec 19, 2009 at 8:11 PM, Bruno Lustosa bruno.li...@gmail.com wrote: Hello, people. I've been trying for the past few days to get Xen working on Gentoo, still no success. I already have a dom0 kernel working, but can't get domU guests to boot. I got installed: sys-kernel/xen-sources-2.6.18-r12 app-emulation/xen-tools-3.4.2 app-emulation/xen-3.4.2 The dom0 kernel is 2.6.18-r12 (the recommended). For the domU, I tried both the same and the latest gentoo-sources, but neither of them works. According to /var/log/xen/xend.log, there seems to be a problem with hotplug scripts. I don't know the internals of Xen, so I'm not sure if this is a udev issue, or something within /etc/xen/scripts Anyway, here's the script for the domU guest I'm trying to run: name = tidus; memory = 1024; kernel = /boot/vmlinuz-2.6.31-domU; disk = [ 'phy:machines/tidus.system,xvda1,w', 'phy:machines/tidus.swap,xvda2,w' ]; root = /dev/xvda1 ro; Pretty basic. For the disk, I've tried both phy:machines/tidus.system and phy:/dev/machines/tidus-system, they both fail exactly the same. When I try to 'xm create -c' the vm, I get these in xend.log: [2009-12-19 18:02:59 2905] DEBUG (DevController:139) Waiting for devices vif. [2009-12-19 18:02:59 2905] DEBUG (DevController:139) Waiting for devices vkbd. [2009-12-19 18:02:59 2905] DEBUG (DevController:139) Waiting for devices ioports. [2009-12-19 18:02:59 2905] DEBUG (DevController:139) Waiting for devices tap. [2009-12-19 18:02:59 2905] DEBUG (DevController:139) Waiting for devices console. [2009-12-19 18:02:59 2905] DEBUG (DevController:144) Waiting for 0. [2009-12-19 18:02:59 2905] DEBUG (DevController:139) Waiting for devices vscsi. [2009-12-19 18:02:59 2905] DEBUG (DevController:139) Waiting for devices vbd. [2009-12-19 18:02:59 2905] DEBUG (DevController:144) Waiting for 51713. [2009-12-19 18:02:59 2905] DEBUG (DevController:629) hotplugStatusCallback /local/domain/0/backend/vbd/4/51713/hotplug-status. It then stops there for some time, and finally gives up and destroys the vm. xm create gets the error: Error: Device 51713 (vbd) could not be connected. Hotplug scripts not working. The rest in xend.log is just some messages destroying and releasing resources. I can mount the lvm device without a problem (installed Gentoo on it by mounting on /mnt/gentoo). Dom0 kernel is working fine, all hardware is fine. I have the relevant sections turned on (backend stuff for dom0 and frontend stuff for domU). From the udev rules (/etc/udev/rules.d/xen-backend.rules), I see that for the vbd devices, it should be calling /etc/xen/scripts/block: SUBSYSTEM==xen-backend, KERNEL==vbd*, RUN+=/etc/xen/scripts/block $env{ACTION} However, I edited this file and put a simple echo in the beginning, and it seems udev is not calling this script. I googled a lot, searched a lot, but still can't get this to work. I'm using this list as a last resort :) This is a clean install of Gentoo, using profile hardened/linux/amd64/10.0/no-multilib, if it makes a difference. My CFLAGS: -O2 -fomit-frame-pointer -march=nocona -mno-tls-direct-seg-refs -pipe Anyone shed some light on this? Thanks! -- Bruno Lustosa br...@lustosa.net http://www.lustosa.net/ -- Bruno Lustosa br...@lustosa.net http://www.lustosa.net/
[gentoo-user] Stable postgresql
Hello, list. I'm setting up a pgpool-II cluster (made an ebuild, available at http://bugs.gentoo.org/show_bug.cgi?id=196300) of postgresql servers, and when I looked for the available versions on portage, I was kinda astonished to see version 8.0.13 marked as stable, and both 8.1.9 and 8.2.4 marked as unstable. The 8.0 tree is from 2004, 8.1 tree from 2005, and 8.2 was first released on 2006, almost one year ago. I exchanged a few emails with a postgresql developer, and he told me that I should go with the 8.2 tree. The developer stated clearly that there is no reason to stick to 8.0, and the benefits of 8.2 (improvements, bugfixes, etc) were way too many. So, I was asking myself how is the process of making one package going from unstable to stable on Gentoo. In fact, when I told him my distro's stable version was 8.0.13, he asked if I was running Debian :) -- Bruno Lustosa [EMAIL PROTECTED] http://www.lustosa.net/ -- [EMAIL PROTECTED] mailing list
[gentoo-user] Minefield on Gentoo
Hello, list. Is anyone here using Minefield (aka Firefox 3) on Gentoo? I'm trying to use it, but some sites have been showing nasty font problems. For example, if I try to open slashdot.org, no fonts are shown. The reason I'm asking it in this list is because I have the exact same Minefiend version on my home computer (running Ubuntu), and it doesn't show any problems at all. Also, as slashdot is a really high profile site, I wouldn't expect a problem like this to stay for over a month. I tried reinstalling my Gentoo box, but same problem happens. Tried to switch video card also (onboard geforce to an external riva - both running the nv driver), but it doesn't help a bit. Firefox 2 opens sites normally, so I don't think this is a X or font problem. In fact, if I highlight the invisible text with the mouse, sometimes it appears. It's very very weird. So.. if someone is able to run Minefield (and open slashdot), could you please just tell me what's your box configuration? Thanks -- Bruno Lustosa [EMAIL PROTECTED] http://www.lustosa.net/ -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Minefield on Gentoo
On 8/16/07, Kenneth Prugh [EMAIL PROTECTED] wrote: I run Minefield here flawlessly from the Mozilla overlay https://forums.gentoo.org/viewtopic-t-556225.html . Are you using the exact same cvs snapshot on both boxes? In either case, if your not using that overlay I definitely recommend you do. I've had no problems. Thanks, I'll try the ebuild as soon as I get subversion installed. I'm still in the middle of compiling gnome stuff. I was running Minefield directly from my home dir. I just downloaded the tar.bz2 from the nightly directory, unpacked and it was all set. From about a month back, it started with these font problems. What video card and driver are you using? Thanks!! -- Bruno Lustosa [EMAIL PROTECTED] http://www.lustosa.net/ -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Minefield on Gentoo
On 8/16/07, Kenneth Prugh [EMAIL PROTECTED] wrote: I'm using Minefield with a NVIDIA 7950GTO with x11-drivers/nvidia-drivers-100.14.11 on this machine. Damn... I just tried the same version (package downloaded from ftp.mozilla.org) on another machine with nvidia's binary driver, and still the same issues. Slashdot doesn't render, and I can't see source code (ctrl-u), all fonts are blank. As soon as I finish gnome, I'll emerge subversion and try the ebuild and post the results. This is getting very very annoying :/ Thanks again -- Bruno Lustosa [EMAIL PROTECTED] http://www.lustosa.net/ -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Nvidia and Minefield?
On 1/9/07, Hemmann, Volker Armin [EMAIL PROTECTED] wrote: since the problems also appear with nv (but not as severe), I would not blame nvidia, but minefield. Yes, I thought it might be some problem with cairo, which might affect X. I've had some problems with cairo in the past, and as Minefield's graphics display relies on cairo, perhaps it would be a problem with it. I'll have a search on gentoo bugzilla. But first, what card would you use, if you don't choose nvidia? AMD/ATI? With the latest cards not even 2D is possible anymore. And their drivers really suck. That's the problem... I don't think there is anything better :( -- Bruno Lustosa [EMAIL PROTECTED] http://www.lustosa.net/ -- gentoo-user@gentoo.org mailing list
[gentoo-user] Nvidia and Minefield?
Hello, list. I'm running Gentoo on my box, and got (almost) everything on ~x86, with the exception of gcc, glibc and binutils, as these have rendered my box completely b0rked in the past. (un?)fortunately, this machine has an nvidia graphics display, and we all know nvidia linux drivers are very far from perfect. I myself have seen all kind of strange behaviour and lockups with them on various machines. Now, I'm helping test Minefield (a.k.a. Firefox 3). And here comes the problems: - If I try Minefield with nvidia drivers, I experience X lockup (100% cpu and completely unresponsive) as soon as I try to either open a message on Gmail or try to compose a new mail. I was going to post this message when it locked. - Firefox 2 with nvidia drivers seem to be OK (I'm posting this right now on it). - X with opensource nv drivers eat 80% cpu time even when doing nothing. My box becomes very sluggish, and it looks like my old 486 dx2 :) I find it very strange that Minefield can bring X down by simply opening a message or trying to compose new mail. I have managed to reproduce this error here several times. When this happens, I have to ssh in, kill -9 X, and then wait a bit for gdm to restart it. This is very very annoying. If I could, I would leave nvidia forever, but I guess there are no better (or less worse) alternative, so I must stick to these crappy drivers. Also, this seems to have started after I had to replace nvidia-drivers with nvidia-legacy-drivers. Any ideas? Thanks! -- Bruno Lustosa [EMAIL PROTECTED] http://www.lustosa.net/ -- gentoo-user@gentoo.org mailing list
[gentoo-user] Slooooow gnome dialog
Hello. I'm using audacious as my music player, and having all sorts of trouble with it. As it's a gnome application, it uses all of its dialog windows. For example, when I press the eject to add files, it opens the gnome open dialog. And here starts the problems. As a background, I have my /home mounted via NFS. When I try to switch into my home dir, it takes a few seconds to display it all. I don't know why it takes so much to simply render my home dir. The real annoying problem is when I try to enter my 'mp3' directory by typing it. It's not a real directory, but rather a symlink to another mounted partition where my mp3 files are. If I simply type 'mp3' and press enter, audacious freezes and starts consuming 100% cpu. It seems to be ignoring that 'mp3' is not a symlink, and try adding all files inside it recursively, consuming lots of memory and all cpu. If I double click 'mp3', it shows fine. However, this is most annoying. Don't know if this is an audacious specific bug, it seems to be a problem with the gnome libraries somewhere. Anyone can reproduce this? Thanks -- Bruno Lustosa [EMAIL PROTECTED] http://www.lustosa.net/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problem with new glibc and libnss
On 9/18/06, Richard Fish [EMAIL PROTECTED] wrote: Yeah, that's the right thing to do at this point. My guess is that llibmysqlclient.so will move to /lib along with every other library that might possibly be needed at boot time, and a symlink will appear in /usr/lib for it. Tried that too :) libmysqlclient, for instance, needs libcrypto and libssl. I could make it myself, but it would make it hell to maintain the upgrades. I think the right fix would be in glibc though. Thank you -- Bruno Lustosa [EMAIL PROTECTED] http://www.lustosa.net/ -- gentoo-user@gentoo.org mailing list
[gentoo-user] Problem with new glibc and libnss
Hi folks, As soon as I upgraded my system to new gcc and glibc, I started to get a very weird problem at boot time. I'm using libnss-mysql to authenticate users, and my nsswitch.conf is set to check files first, then mysql. At boot time, /usr is not yet mounted, and as such, anything that would need to connect to mysql would fail (because libmysqlclient is in /usr/lib). However, the problem is that udevd is not starting without /usr mounted. A simple 'ls' on root dir fails as well, even though all files and dirs there are owned by root:root (and of course, root is on passwd and groups). An strace indicates that both of them are trying to access /usr/lib/libmysqlclient.so, and when they get the No such file or directory, they fail with this message: Inconsistency detected by ld.so: dl-open.c: 604: _dl_open: Assertion `_dl_debug_initialize (0, args.nsid)-r_state == RT_CONSISTENT' failed! My workaround (and a kinda ugly one) was to edit /sbin/rc (the script that calls udevd) and put there just before calling udevd: mknod /dev/hda7 b 3 7 mount /usr (my /usr is in /dev/hda7) This makes it work, but I'm sure someone might have a better idea than that, because I'll lose this as soon as the package that owns /sbin/rc is updated. This worked before the last update to glibc, I just don't know why it tries to connect to mysql now (either it didn't before, or it did try but would not fail like that). Can anyone shed some light on this? -- Bruno Lustosa [EMAIL PROTECTED] http://www.lustosa.net/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problem with new glibc and libnss
On 9/18/06, Richard Fish [EMAIL PROTECTED] wrote: Can you post your nsswitch.conf? I don't normally use nss_mysql, but I just installed it on my box to see what an strace ls would reveal, and it does not show libmysql being accessed when files appears first for passwd, shadow, and groups. Hello. I have just tried it again, and surprisingly it's working now, even though I already had it this way: $ grep -e ^passwd -e ^shadow -e ^group /etc/nsswitch.conf passwd: files mysql shadow: files mysql group: files mysql carcharias ~ # strace -f -e open -o /tmp/strace.out ls -l / /dev/null carcharias ~ # grep mysql /tmp/strace.out Same result here, no access to mysql whatsoever. carcharias ~ # strace -f -e open -o /tmp/strace.out ls -l / /dev/null carcharias ~ # grep mysql /tmp/strace.out 30644 open(/lib/libnss_mysql.so.2, O_RDONLY) = 3 It seems to be trying to find it. In my root dir, I have all files owned by root:root, don't know how it is there, but in my case, it wouldn't need to try mysql for that. Also the outputs of emerge --info and emerge -pv sys-libs/glibc might help. Well, even though mine seems to be working very very fine, a friend who had the same problem still has it. The versions of glibc, libnss-mysql and baselayout are the same as mine, although he's running om amd64 (I'm on x86). I just had a look over there, and udevd doesn't start. An strace shows it trying to open libmysqlclient on /usr, and as it's not mounted, it fails with that Inconsistency detected error. Anyway, here are my versions: [ebuild R ] sys-libs/glibc-2.4-r3 USE=nls nptl nptlonly -build -glibc-omitfp -hardened (-multilib) -profile (-selinux) 0 kB [ebuild R ] sys-auth/libnss-mysql-1.5 0 kB [ebuild R ] sys-apps/baselayout-1.12.5 USE=unicode -bootstrap -build -static 0 kB For me, this looks very very strange. I mean, I know it *should* work with files mysql at nsswitch.conf, but why mine works and my friend's doesn't is a mystery for me. At least for now. I'm pretty sure baselayout has nothing to do with it, I listed it just because it owns /sbin/rc. Problem seems to be the way nss is trying to resolve things over there. My emerge --info shows: Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r8 i686) = System uname: 2.6.17-gentoo-r8 i686 AMD Sempron(tm) 2400+ Gentoo Base System version 1.12.5 Last Sync: Fri, 15 Sep 2006 14:00:01 + ccache version 2.4 [enabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-java/java-config: 1.3.0-r2, 2.0.28-r1 dev-lang/python: 2.4.3-r3 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 dev-util/confcache: [Not Present] sys-apps/sandbox:1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17 ACCEPT_KEYWORDS=x86 ~x86 AUTOCLEAN=yes CBUILD=i686-pc-linux-gnu CFLAGS=-O2 -march=athlon-xp -pipe -fomit-frame-pointer CHOST=i686-pc-linux-gnu CONFIG_PROTECT=/etc /usr/share/X11/xkb CONFIG_PROTECT_MASK=/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo CXXFLAGS=-O2 -march=athlon-xp -pipe -fomit-frame-pointer DISTDIR=/usr/portage/distfiles FEATURES=autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict GENTOO_MIRRORS=http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo; LANG=en_US.UTF-8 LINGUAS=pt_BR ru en_US PKGDIR=/usr/portage/packages PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages' PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage PORTDIR_OVERLAY=/usr/local/portage SYNC=rsync://rsync.gentoo.org/gentoo-portage USE=x86 3dnow 3dnowext X aalib acl alsa bash-completion berkdb bitmap-fonts bluetooth cli crypt cups dga dlloader dri dvd dvdread elibc_glibc esd firefox fortran gdbm gif gnome gpm gtk input_devices_keyboard input_devices_mouse isdnlog jpeg kernel_linux libg++ linguas_en_US linguas_pt_BR linguas_ru maildir mmx mmxext mpeg ncurses nls nptl nptlonly nsplugin offensive ogg opengl pam pcre perl png ppds pppd python readline reflection sdl session spl sse sse2 ssl tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_nv video_cards_nvidia vorbis xmms xorg xv xvid zlib Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS Thanks for your answer, and if you need something more, please tell me. -- Bruno Lustosa [EMAIL PROTECTED] http://www.lustosa.net/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problem with new glibc and libnss
On 9/18/06, Richard Fish [EMAIL PROTECTED] wrote: Well there is a known issue [1] with udev and rules that contain non-local or undefined users/groups. If your friend's machine is stable only, then it probably has udev-087, and it looks like 098 should have a fix. So your friend might want to try the ~amd64 version of udev, and also make sure to upgrade to the very latest version of baselayout (1.12.5). Hello, RIchard. I just rechecked everything here, and it doesn't seem to be an udev issue, because when I have 'mysql files' at nsswitch.conf, I get an assertion error not only from udev, but also from a simple ls. So, the problem is not fixed here. I had to change my functionality to have it working (i.e. changing the way authentication info is looked). So, if I need to have mysql lookups before files, I don't have a way now unless I do an even uglier hack and make it change itself on local.start :) I don't experience timeouts, instead I just get glibc assertion errors: Inconsistency detected by ld.so: dl-open.c: 604: _dl_open: Assertion `_dl_debug_initialize (0, args.nsid)-r_state == RT_CONSISTENT' failed! In the past, glibc wouldn't complain to leave things unresolved. The problems started now that it started to give these assertion failures. Thank you for your help. -- Bruno Lustosa [EMAIL PROTECTED] http://www.lustosa.net/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problem with new glibc and libnss
On 9/18/06, Bruno Lustosa [EMAIL PROTECTED] wrote: Inconsistency detected by ld.so: dl-open.c: 604: _dl_open: Assertion `_dl_debug_initialize (0, args.nsid)-r_state == RT_CONSISTENT' failed! In the past, glibc wouldn't complain to leave things unresolved. The problems started now that it started to give these assertion failures. Richard, just to let you know, I filed but #148114. Let's see what the devs think about it. I do think this is a glibc problem. It shouldn't give an assertion failure, it should just leave the gid unresolved as it used to. http://bugs.gentoo.org/show_bug.cgi?id=148114 -- Bruno Lustosa [EMAIL PROTECTED] http://www.lustosa.net/ -- gentoo-user@gentoo.org mailing list
[gentoo-user] Weird problem with new glibc
Hi folks, As soon as I upgraded my system to new gcc and glibc, I started to get a very weird problem at boot time. I'm using libnss-mysql to authenticate users, and my nsswitch.conf is set to check files first, then mysql. At boot time, /usr is not yet mounted, and as such, anything that would need to connect to mysql would fail (because libmysqlclient is in /usr/lib). However, the problem is that udevd is not starting without /usr mounted. A simple 'ls' on root dir fails as well, even though all files and dirs there are owned by root:root (and of course, root is on passwd and groups). An strace indicates that both of them are trying to access /usr/lib/libmysqlclient.so, and when they get the No such file or directory, they fail with this message: Inconsistency detected by ld.so: dl-open.c: 604: _dl_open: Assertion `_dl_debug_initialize (0, args.nsid)-r_state == RT_CONSISTENT' failed! My workaround (and a kinda ugly one) was to edit /sbin/rc (the script that calls udevd) and put there just before calling udevd: mknod /dev/hda7 b 3 7 mount /usr (my /usr is in /dev/hda7) This makes it work, but I'm sure someone might have a better idea than that, because I'll lose this as soon as the package that owns /sbin/rc is updated. This worked before the last update to glibc, I just don't know why it tries to connect to mysql now (either it didn't before, or it did try but would not fail like that). Can anyone shed some light on this? -- Bruno Lustosa [EMAIL PROTECTED] http://www.lustosa.net/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cp: cannot stat 'arch/i386/kernel/bzImage': No such file or directory
On 9/15/06, Steven G Wagner [EMAIL PROTECTED] wrote: I'm trying to install a 2.6.16-hardened-r11 kernel and I keep getting this error: cp: cannot stat 'arch/i386/kernel/bzImage': No such file or directory Isn't bzImage supposed to be in arch/i386/boot ?? -- Bruno Lustosa [EMAIL PROTECTED] http://www.lustosa.net/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gmail + Email Client = No way
On 8/26/06, Samuel Baldwin [EMAIL PROTECTED] wrote: Unfortunately, the only time I have had any success with this was with the Windows port of Thunderbird. Otherwise, it only grabs about a hundred or so emails at a time, and will never get the latest emails. As well, the time (...) Samuel, I've had similar problems with Gmail, but I'm not using thunderbird. I was getting mail using standard fetchmail, delivering them to a local maildir and then using good old mutt to display them. I had to do this twice in the past, because my mailbox would fill and I had to empty it, so I could keep receiving mails (*yes*, that's it, I filled my 2.5gb inbox twice). The problem I had was getting the mails in some strange order, and only by the hundreds. As I had about 3 emails, I had to keep fetching and deleting until I got all mail. It's a bit weird, but I'm pretty sure this isn't an issue with thunderbird, but an issue with Google's POP server. It just doesn't show all your messages if you have lots of them. Maybe they do this to avoid trouble, as if the connection is broken before the client sends the QUIT command, the messages are not deleted. Of course, I had Gmail set to delete mail already received via POP, I haven't tried without this set. -- Bruno Lustosa [EMAIL PROTECTED] http://www.lustosa.net/ -- gentoo-user@gentoo.org mailing list
[gentoo-user] gnome-terminal
Hello. I noticed that after the last upgrade to gnome-terminal, my TERM variable is set to 'gnome'. The way it is, it causes all kind of trouble, when, for example, I ssh into another machine and get my TERM set to gnome too. Things then don't work correctly, vim doesn't highlight colors, arrow keys don't work, etc. I think that's because the remote machines do not understand this kind of terminal, and so fall back to 'dumb' or something like that. What's the problem with leaving TERM=xterm when under gnome-terminal? Isn't this a fine standard for all X terminals? Is there a gnome-terminal configuration somewhere that lets me set the TERM that I want? I'll have a look at gconf. Well, that's it. -- Bruno Lustosa [EMAIL PROTECTED] http://www.lustosa.net/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT - mozilla and seamonkey
[ebuild U ] gnome-extra/yelp-2.12.2-r1 [2.12.2] USE=debug -firefox 796 kB [ebuild N] www-client/seamonkey-1.0.2 USE=crypt debug gnome ipv6 java -ldap -mozcalendar -mozdevelop -moznocompose -moznoirc -moznomail -moznoroaming -postgres -xinerama -xprint 35,162 kB I got through it this morning. Some packages have a new firefox use flag, and when it isn't set (it wasn't here), the ebuild tries to merge seamonkey, which in turn blocks mozilla. In your case, it's the yelp that is causing this. If you enable the firefox use flag, it will try to compile against firefox instead of trying seamonkey. -- Bruno Lustosa [EMAIL PROTECTED] ZCE - Zend Certified Engineer - PHP! http://www.lustosa.net/ -- gentoo-user@gentoo.org mailing list
[gentoo-user] X.org is b0rked - BadIdChoice
Hello. After the last upgrade, X is completely broken. I can start it, but applications randomly crash. In fact, not so randomly. It's almost as if I was running xkill. If I click on the background, nautilus dies. If I click the panel, it dies. Applications that are run directly will also crash after a few seconds. I don't know how to start, but it seems to be a X.org issue, as it happens with other window managers as well, and even without a window manager (tried to start X with just a xterm). I tried to google for 'BadIdChoice', but couldn't find much. I also tried to upgrade from xorg 7 to 7.1, but this still causes the same errors. Can anyone help me with these? These are the kind of errors that show up on the console: X Window System Version 7.1.0 Release Date: 22 May 2006 X Protocol Version 11, Revision 0, Release 7.1 Build Operating System: Linux 2.6.16-gentoo-r3 i686 Current Operating System: Linux ti03 2.6.16-gentoo-r3 #5 PREEMPT Wed May 3 14:52:59 BRT 2006 i686 Build Date: 03 July 2006 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.2.log, Time: Mon Jul 3 14:13:45 2006 (==) Using config file: /etc/X11/xorg.conf (EE) AIGLX: Screen 0 is not DRI capable xkb_keycodes { include xfree86(abnt2)+aliases(qwerty) }; xkb_types{ include complete }; xkb_compatibility{ include complete }; xkb_symbols { include pc(pc104)+br }; xkb_geometry { include pc(abnt2) }; The XKEYBOARD keymap compiler (xkbcomp) reports: Warning: Type ONE_LEVEL has 1 levels, but RALT has 2 symbols Ignoring extra symbols Errors from xkbcomp are not fatal to the X server SESSION_MANAGER=local/ti03:/tmp/.ICE-unix/20880 The program 'nautilus' received an X Window System error. This probably reflects a bug in the program. The error was 'BadIDChoice (invalid resource ID chosen for this connection)'. (Details: serial 1586 error_code 14 request_code 53 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) The program 'gnome-panel' received an X Window System error. This probably reflects a bug in the program. The error was 'RenderBadPicture (invalid Picture parameter)'. (Details: serial 1708 error_code 188 request_code 154 minor_code 6) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) The application 'gnome-session' lost its connection to the display :2.0; most likely the X server was shut down or you killed/destroyed the application. Window manager warning: Lost connection to the display ':2.0'; most likely the X server was shut down or you killed/destroyed the window manager. FreeFontPath: FPE /usr/share/fonts/misc/ refcount is 2, should be 1; fixing. xinit: connection to X server lost. The application 'nautilus' lost its connection to the display :2.0; most likely the X server was shut down or you killed/destroyed the application. The application 'gnome-panel' lost its connection to the display :2.0; most likely the X server was shut down or you killed/destroyed -- Bruno Lustosa [EMAIL PROTECTED] ZCE - Zend Certified Engineer - PHP! http://www.lustosa.net/ -- gentoo-user@gentoo.org mailing list
[gentoo-user] X.org is b0rked - BadIdChoice
Hello. After the last upgrade, X is completely broken. I can start it, but applications randomly crash. In fact, not so randomly. It's almost as if I was running xkill. If I click on the background, nautilus dies. If I click the panel, it dies. Applications that are run directly will also crash after a few seconds. I don't know how to start, but it seems to be a X.org issue, as it happens with other window managers as well, and even without a window manager (tried to start X with just a xterm). I tried to google for 'BadIdChoice', but couldn't find much. I also tried to upgrade from xorg 7 to 7.1, but this still causes the same errors. Can anyone help me with these? These are the kind of errors that show up on the console: X Window System Version 7.1.0 Release Date: 22 May 2006 X Protocol Version 11, Revision 0, Release 7.1 Build Operating System: Linux 2.6.16-gentoo-r3 i686 Current Operating System: Linux ti03 2.6.16-gentoo-r3 #5 PREEMPT Wed May 3 14:52:59 BRT 2006 i686 Build Date: 03 July 2006 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.2.log, Time: Mon Jul 3 14:13:45 2006 (==) Using config file: /etc/X11/xorg.conf (EE) AIGLX: Screen 0 is not DRI capable xkb_keycodes { include xfree86(abnt2)+aliases(qwerty) }; xkb_types{ include complete }; xkb_compatibility{ include complete }; xkb_symbols { include pc(pc104)+br }; xkb_geometry { include pc(abnt2) }; The XKEYBOARD keymap compiler (xkbcomp) reports: Warning: Type ONE_LEVEL has 1 levels, but RALT has 2 symbols Ignoring extra symbols Errors from xkbcomp are not fatal to the X server SESSION_MANAGER=local/ti03:/tmp/.ICE-unix/20880 The program 'nautilus' received an X Window System error. This probably reflects a bug in the program. The error was 'BadIDChoice (invalid resource ID chosen for this connection)'. (Details: serial 1586 error_code 14 request_code 53 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) The program 'gnome-panel' received an X Window System error. This probably reflects a bug in the program. The error was 'RenderBadPicture (invalid Picture parameter)'. (Details: serial 1708 error_code 188 request_code 154 minor_code 6) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) The application 'gnome-session' lost its connection to the display :2.0; most likely the X server was shut down or you killed/destroyed the application. Window manager warning: Lost connection to the display ':2.0'; most likely the X server was shut down or you killed/destroyed the window manager. FreeFontPath: FPE /usr/share/fonts/misc/ refcount is 2, should be 1; fixing. xinit: connection to X server lost. The application 'nautilus' lost its connection to the display :2.0; most likely the X server was shut down or you killed/destroyed the application. The application 'gnome-panel' lost its connection to the display :2.0; most likely the X server was shut down or you killed/destroyed -- Bruno Lustosa [EMAIL PROTECTED] ZCE - Zend Certified Engineer - PHP! http://www.lustosa.net/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] X.org is b0rked - BadIdChoice
On 7/3/06, Donnie Berkholz [EMAIL PROTECTED] wrote: Bruno Lustosa wrote: The program 'gnome-panel' received an X Window System error. This probably reflects a bug in the program. The error was 'RenderBadPicture (invalid Picture parameter)'. Try rebuilding renderproto, libXrender, xorg-server, and whatever apps die. I *just* found out what was wrong. The bozo package was libX11. To merge the old version I had to merge the old xproto though. This was very very hard to find out. Perhaps someone ought to add libX11 to that mask list so that people who want to stick to xorg-7.0 doesn't accidentally merge newer version of libX11 without having xorg-7.1. I'm adding =libX11-1.0.3 to my packages.mask. -- Bruno Lustosa [EMAIL PROTECTED] ZCE - Zend Certified Engineer - PHP! http://www.lustosa.net/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] X.org is b0rked - BadIdChoice
On 7/3/06, Donnie Berkholz [EMAIL PROTECTED] wrote: It's ~arch, you shouldn't get it unless you're running an ~arch system or specifically added it to package.keywords. I am. My system is all ~x86, except for gcc, glibc and binutils, because I had an awful experience with those in the past, which left the system completely unusable. glibc problems aren't something we want to have to deal with (even python didn't run, so no portage to help). I don't think it should be tied into having anything else upgraded, with the exception of xproto 7.0.7, so I'm a bit surprised you're hitting these bugs. Good job tracking it down, though. Yes, perhaps instead of masking individual package versions, I should leave some of those packages tied to x86, that would still allow some updates. Anyway, I have the habit of looking at package.* and recheck if things still need to be there. For example, I still have the unmasks for gnome-2.14, which I think aren't needed anymore, so I'll remove them. -- Bruno Lustosa [EMAIL PROTECTED] ZCE - Zend Certified Engineer - PHP! http://www.lustosa.net/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] MS debug equivalent
On 7/1/06, Rodrigo Lazo [EMAIL PROTECTED] wrote: sorry for the OT. I've been using debug.exe (a little program for work with asm) at my college to learn about assembler and related concepts. Does anyone know some equivalent for linux? If you want assembly on Linux, you can use 'as' to compile and 'ld' to link. They are installed with binutils. Also, I can recommend you the book Programming from the ground up, which covers assembly programming in Linux using standard tools. Its goal is to try to teach assembly to someone without any prior knowledge in any other computer language. Great book, this one... http://savannah.nongnu.org/projects/pgubook/ -- Bruno Lustosa [EMAIL PROTECTED] ZCE - Zend Certified Engineer - PHP! http://www.lustosa.net/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Firefox and Java bringing X down
I thought X clients shouldn't bring the X server down, but this is clearly what's happening here. I can reproduce it everytime. I don't even know where to start looking. Does anyone ever had a problem similar to this? I've noticed the same thing starting last Tuesday (I'm ~x86). Hopefully we can trace this down this weekend... Just as an update. I downgraded my Xorg to 7.0-r1 so I could use the binary nvidia drivers, and the Java problem also went away. Seems to be an issue with the new Xorg. -- Bruno Lustosa [EMAIL PROTECTED] http://www.lustosa.net/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Firefox and Java bringing X down
On 6/23/06, Caster [EMAIL PROTECTED] wrote: Just wondering, why do you have -X useflag? You intend to use java in X, don't you... I have set -X globally, to not build X support to things that don't exclusively need it. In this case, things were working so far. I guess some upgrade broke it (perhaps xorg-x11). Which xorg version? That's xorg-x11-7.1. When I'm back at work, I'll try changing the sun jre to the blackdown jre and see if things are still broken. -- Bruno Lustosa [EMAIL PROTECTED] http://www.lustosa.net/ -- gentoo-user@gentoo.org mailing list
[gentoo-user] Firefox and Java bringing X down
Hello. I find this most weird. Whenever I try to open firefox and then open a tab with a local Java applet, not only does firefox die, but it causes the X server to die with signal 8. Here are the versions I'm using: [ebuild R ] www-client/mozilla-firefox-1.5.0.4 USE=java -debug -gnome -ipv6 -mozdevelop -xinerama -xprint [ebuild R ] dev-java/sun-jdk-1.4.2.10-r2 USE=alsa nsplugin -X -browserplugin -doc -examples -jce -mozilla [ebuild R ] dev-java/sun-jre-bin-1.5.0.06-r2 USE=alsa nsplugin -X -browserplugin -mozilla I thought X clients shouldn't bring the X server down, but this is clearly what's happening here. I can reproduce it everytime. I don't even know where to start looking. Does anyone ever had a problem similar to this? Thanks -- Bruno Lustosa [EMAIL PROTECTED] http://www.lustosa.net/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] where's good old inetd ?
On 6/21/06, Enrico Weigelt [EMAIL PROTECTED] wrote: I've just emerge'd inetd, and this installed xinetd. How can I get inetd installed ? inetd is a virtual package that is provided by xinetd now. anyway, why use old inetd at all? xinetd is way more powerful and secure! -- Bruno Lustosa [EMAIL PROTECTED] http://www.lustosa.net/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] where's good old inetd ?
On 6/21/06, Enrico Weigelt [EMAIL PROTECTED] wrote: well, I've already been using it for over 10 years, I never had serious problems with it, and has all I need. So why should I now switch to xinetd ? The answer to this 'why' can be found here: http://www.xinetd.org/faq.html#why Wouldn't it make more sense to let inetd be an virtual package which can be configured by some useflag to get either classic inetd or xinet in, maybe xinet as default ? inetd is way too old. I tried googling for it, and I couldn't even find source downloads for it. It's like wanting to use in.telnetd and telnet instead of ssh because the former has always served well. However, if you can find the sources to it, you can always compile and use it, can't you? -- Bruno Lustosa [EMAIL PROTECTED] http://www.lustosa.net/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] where's good old inetd ?
On 6/21/06, Bruno Lustosa [EMAIL PROTECTED] wrote: inetd is way too old. I tried googling for it, and I couldn't even find source downloads for it. Just to complement it, inetd _can_ be found in portage, in package sys-apps/netkit-base -- Bruno Lustosa [EMAIL PROTECTED] http://www.lustosa.net/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] FTP Server
On 6/6/06, Daniel da Veiga [EMAIL PROTECTED] wrote: sftp works great, its easy, simple and secure. You already checked a GUI, so, shouldn't be a problem. Frontpage produces crappy code full of MS stuff, hides you the basics of HTML and has limited CSS editing. Dreamweaver works great, has few bugs and full CSS support, snippets and PHP/ASP/Javascript editing, but I strongly advice your father-in-law not to use a GUI to start webmastering, use plain old text editing software to really learn what's going on. That's it. The worst thing you can ever come across is a webmaster who doesn't know HTML (I've worked with a few people like this). If you're into web building, you *must* know HTML and CSS. You might want a WYSIWYG editor to help you here and there, but you must know how things work behind, or else, no matter the tools, you'll end up producing crap code. -- Bruno Lustosa [EMAIL PROTECTED] http://www.lustosa.net/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] postgresql
On 5/12/06, pat [EMAIL PROTECTED] wrote: I've installed a postgres SQL and trying to connect into it. Does the installation contains a testing DB ??? Is there a super user for the it (somethink like sysdb, system etc. in oracle) and if yes what is its default passwd. The superuser for postgresql is 'postgres'. You can su to root, and then 'su postgres' to connect to the database, as the postgres user doesn't have a password by default. You can use the template1 database to connect to the server, and then create more databases. So: $ su root Password: # su postgres $ psql template1 Hope this helps -- Bruno Lustosa [EMAIL PROTECTED] http://www.lustosa.net/ -- gentoo-user@gentoo.org mailing list
[gentoo-user] How to make new windows not get focus on Gnome-2.14 ?
Hello. This is kind of irritating. All new windows on gnome get the focus automatically. So, I'm typing something and then a window appears and I have to get back to the window where I was typing to continue. I have looked on gnome-control-center and on metacity properties, but I couldn't find anything related to this. I also looked on gconf-editor, but didn't find anything. It seems the gnome usability team loves trimming useful configuration options for the sake of not confusing users (i.e. treating users as dumb beasts). So, does anyone know how to make metacity behave like this? I might have overlooked some configuration somewhere. Thanks -- Bruno Lustosa [EMAIL PROTECTED] http://www.lustosa.net/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] What on Earth is Portage doing for so long?
On 3/17/06, Thomas T. Veldhouse [EMAIL PROTECTED] wrote: I see that portage is updating its cache for about 20 minutes these days!!! This is on an Athlon 600MHz box with 384MB PC133. Updating Portage cache: 50% Just trying to do a sync Good question :) But one way to speed this up is to use CDB, so that instead of keeping cache in separate files, it's all in one, resulting in a *much* faster cache update. There are directions here: http://gentoo-wiki.com/TIP_speed_up_portage_with_cdb HTH -- Bruno Lustosa [EMAIL PROTECTED] http://www.lustosa.net/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] File-roller build bug
On 2/22/06, Darryl Wagoner [EMAIL PROTECTED] wrote: I am getting the following build error when I try to build file-roller that gnome depends on. Any clues on how to fix this? import libxml2mod ImportError: /usr/lib/python2.4/site-packages/libxml2mod.so: undefined symbol: xmlTextReaderGetParserColumnNumber Darryl, I remember getting this error some time ago. It was caused by building some of its dependencies with -xml, IIRC. Check your use flags, and its direct dependencies (libxml2? others?). -- Bruno Lustosa [EMAIL PROTECTED] http://www.lustosa.net/ -- gentoo-user@gentoo.org mailing list
[gentoo-user] Portage broken, can't load module cache_errors
Just synced and tried to update world. Portage updated itself, and then died when trying to exec itself. I updated from 2.0.53 to 2.1_pre1. The error is: !!! Failed to complete python imports. There are internal modules for !!! python and failure here indicates that you have a problem with python !!! itself and thus portage is not able to continue processing. !!! You might consider starting python with verbose flags to see what has !!! gone wrong. Here is the information we got for this exception: No module named cache.cache_errors Well, can't even run portage now to check things. I filed bug 115841 on bugzilla. Is anyone here experiencing the same thing? -- Bruno Lustosa, aka Lofofora | Email: [EMAIL PROTECTED] Network Administrator/Web Developper | ICQ: 1406477 Rio de Janeiro - Brazil | -- gentoo-user@gentoo.org mailing list
[gentoo-user] LTSP and firefox woes
Hello, folks. I sent this to the list 2 weeks ago, and I'm not sure it came through.I'm resending it now. I'd be greatly pleased if someone could help me on this issue.We have a number of old machines hanging diskless on a fairly nice LTSP box. So, this is a good server with a bunch of 6-7 machines using X remotely.No problem at all, everything working fine... ... that is, until one of them hangs.Certain old machines tend to hang a lot, and when they hang, their processes runningon the server don't die, or at least don't die immediately.When they are rebooted and log on again, certain applications won't run, either complaining about lock files (OO.org), about another running instance of itself(firefox), or mibehaving because of existing files in /tmp (gnome with orbit files).There are other applications behaving like this. Anyone here using LTSP ever done any workaround to this? I thought about makinga wrapper script to gdm so that when someone logs on, before starting anything atall (window manager et all), it would kill every running process on the server except itself, and only then pass control to the window manager.This is an ugly hack, I know, but I don't see a straightforward solution (apart frombuying loads of new expensive machines). It seems to be a problem between X client and X server. In my opinion, the client windows should die if the corresponding X serveris not there anymore, but that's not what happens.-- Bruno Lustosa, aka Lofofora| Email: [EMAIL PROTECTED]Network Administrator/Web Developper | ICQ: 1406477Rio de Janeiro - Brazil|
[gentoo-user] LTSP and firefox woes
Hello, folks.We have a number of old machines hanging diskless on a fairly nice LTSP box.So, this is a good server with a bunch of 6-7 machines using X remotely.No problem at all, everything working fine... ... that is, until one of them hangs.Certain old machines tend to hang a lot, and when they hang, their processes runningon the server don't die, or at least don't die immediately.When they are rebooted and log on again, certain applications won't run, either complaining about lock files (OO.org), about another running instance of itself(firefox), or mibehaving because of existing files in /tmp (gnome with orbit files).There are other applications behaving like this. Anyone here using LTSP ever done any workaround to this? I thought about makinga wrapper script to gdm so that when someone logs on, before starting anything atall (window manager et all), it would kill every running process on the server except itself, and only then pass control to the window manager.This is an ugly hack, I know, but I don't see a straightforward solution (apart frombuying loads of new expensive machines). It seems to be a problem between X client and X server. In my opinion, the client windows should die if the corresponding X serveris not there anymore, but that's not what happens.-- Bruno Lustosa, aka Lofofora| Email: [EMAIL PROTECTED]Network Administrator/Web Developper | ICQ: 1406477Rio de Janeiro - Brazil|
Re: [gentoo-user] Convert windows-1250 database to UTF-8
On 11/7/05, Khan [EMAIL PROTECTED] wrote: I'm trying to convert my windows-1250 database to Unicode, UTF-8. Isthere any script that can do the job?What kind of database is it? If it's something the likes of postgresql or mysql, you could dump the database to a text file, use recode or iconv to change the file encoding, and then import it into a new unicode database.-- Bruno Lustosa, aka Lofofora| Email: [EMAIL PROTECTED]Network Administrator/Web Developper | ICQ: 1406477 Rio de Janeiro - Brazil|
Re: [gentoo-user] sys-apps/kudzu-knoppix (is blocking sys-libs/libkudzu-1.1.62-r1)
On 10/28/05, Joseph [EMAIL PROTECTED] wrote: I'm getting an error:sys-apps/kudzu-knoppix (is blocking sys-libs/libkudzu-1.1.62-r1)Does anybody knows how to fix it?kudzu-knoppix - appears to be blocked.Just unmerge kudzu-knoppix, and you should be able to emerge libkudzu without a problem. I have already unmerged kudzu-knoppix, but as for the emerge, there are some big packages before libkudzu (like glibc, which it's finishing in a few minutes). Hope it works..-- Bruno Lustosa, aka Lofofora| Email: [EMAIL PROTECTED]Network Administrator/Web Developper | ICQ: 1406477Rio de Janeiro - Brazil|
Re: [gentoo-user] OpenOffice 2.0 + NFS = hang
On 10/27/05, Konstantin V. Gavrilenko [EMAIL PROTECTED] wrote: Solved the problem.Apparently you need to disable file locking by commenting out thefollowing lines:# file locking now enabled by default#SAL_ENABLE_FILE_LOCKING=1#export SAL_ENABLE_FILE_LOCKING in /usr/lib/openoffice/program/soffice I think I solved it even better. I noticed that when trying to open an OO file in nfs, I'd get these errors on syslog: Oct 27 11:01:27 ti03 lockd: cannot monitor 192.168.7.1 Oct 27 11:01:27 ti03 lockd: failed to monitor 192.168.7.1 Sure enough, rpcinfo -p (on the client) gave me this: ti03 ~ # rpcinfo -p program vers proto port 10 2 tcp 111 portmapper 10 2 udp 111 portmapper 391002 2 tcp 689 sgi_fam 100021 1 udp 36350 nlockmgr 100021 3 udp 36350 nlockmgr 100021 4 udp 36350 nlockmgr 100021 1 tcp 32792 nlockmgr 100021 3 tcp 32792 nlockmgr 100021 4 tcp 32792 nlockmgr It seems rpc.statd isn't running, because status monitor doesn't show on the list. Just starting /etc/init.d/nfs solved the problem. Now OO opens nfs files without a problem, and rpcinfo -p shows some other services started: ti03 ~ # rpcinfo -p program vers proto port 10 2 tcp 111 portmapper 10 2 udp 111 portmapper 391002 2 tcp 689 sgi_fam 100021 1 udp 36350 nlockmgr 100021 3 udp 36350 nlockmgr 100021 4 udp 36350 nlockmgr 100021 1 tcp 32792 nlockmgr 100021 3 tcp 32792 nlockmgr 100021 4 tcp 32792 nlockmgr 100024 1 udp 36351 status 100024 1 tcp 32793 status 13 2 udp 2049 nfs 13 3 udp 2049 nfs 13 2 tcp 2049 nfs 13 3 tcp 2049 nfs 15 1 udp 727 mountd 15 1 tcp 730 mountd 15 2 udp 727 mountd 15 2 tcp 730 mountd 15 3 udp 727 mountd 15 3 tcp 730 mountd -- Bruno Lustosa, aka Lofofora| Email: [EMAIL PROTECTED]Network Administrator/Web Developper | ICQ: 1406477Rio de Janeiro - Brazil|
Re: [gentoo-user] OpenOffice 2.0 + NFS = hang
On 10/25/05, Konstantin V. Gavrilenko [EMAIL PROTECTED] wrote: I have emerge OpenOffice 2.0 recently and noticed a strange problem,that whenever I try to access the file located on the nfs, the OO2hangs. The rest of the applications are working fine with nfs, and suchproblem never happened with OpenOffice 1.x I experienced the same problem while trying to migrate a network share from samba to nfs. Everything else worked fine with nfs. I could even open the OO files in file-roller, for example, with no errors at all. Thus, I was forced to go back and stick to samba. Do you get loads of 'NFS server not responding' messages in your log files as well? -- Bruno Lustosa, aka Lofofora| Email: [EMAIL PROTECTED]Network Administrator/Web Programmer | ICQ: 1406477Rio de Janeiro - Brazil|
Re: [gentoo-user] OpenOffice 2.0 + NFS = hang
On 10/26/05, John Jolet [EMAIL PROTECTED] wrote: in my experience samba works better for that sort of thing anyway. If a server serving an nfs share goes down, all the computers with that share mounted will go nuts, spending 100% cpu trying to get the share back. Samba seems to fail more gracefully under those conditions. Weird thing is, the server hasn't come down. It was still up. However, I don't know why the client was reporting those messages. Perhaps it was failing intermitently, and OO has an issue with this and other apps don't, because the second after OO failed to open the file, I was able to open it in file-roller without a problem. Isn't nfs supposed to be THE network filesystem for unix machines? Using samba between unix machines when there's no real need seems a bit controversial for me :)-- Bruno Lustosa, aka Lofofora| Email: [EMAIL PROTECTED]Network Administrator/Web Developper | ICQ: 1406477Rio de Janeiro - Brazil|
[gentoo-user] firefox is very memory hungry
Just had a look at 'top' here, and was astonished by its output: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 19199 isabel.s 15 0 511m 204m 16m S 0.0 27.2 7:49.58 firefox-bin 19263 isabel.s 16 0 511m 204m 16m S 0.0 27.2 0:00.00 firefox-bin 19264 isabel.s 16 0 511m 204m 16m S 0.0 27.2 0:02.13 firefox-bin 19328 isabel.s 15 0 511m 204m 16m S 0.0 27.2 0:02.47 firefox-bin 22668 lustosa 15 0 129m 97m 17m S 0.0 13.0 11:50.05 firefox-bin 22672 lustosa 16 0 129m 97m 17m S 0.0 13.0 0:00.03 firefox-bin (...) The first bunch of firefox is from someone else using my machine as well (wonders of LTSP). I was deeply intrigued on what that user is loading on her firefox, and went to her machine to have a look. There's nothing special there, though. It's just firefox with 4 tabs open on small and simple pages. The second bunch of firefox is mine. I have it loaded with like 15 tabs, java applets and so on. I'm also using quite a few extensions. I can't understand how firefox evolved from small and fast phoenix to this memory hungry beast that has a virtual space of half a gigabyte. I mean... even IE doesn't seem to eat all this memory. In fact, I have seen very few processes eating that much memory. Here is what I have: [ebuild R ] www-client/mozilla-firefox-1.0.7-r3 -debug +gnome +ipv6 +java -mozcalendar -mozdevelop -moznoxft -mozsvg +truetype -xinerama -xprint Can someone shed some light on this? -- Bruno Lustosa, aka Lofofora| Email: [EMAIL PROTECTED]Network Administrator/Web Programmer | ICQ: 1406477Rio de Janeiro - Brazil|
Re: [gentoo-user] Need help with eth0 on new computer
On 10/13/05, Michael Sullivan [EMAIL PROTECTED] wrote: I got a new computer yesterday.As I was installing Gentoo on it, I raninto a problem.I've got the basic install set up, but my eth0 won'tstart.It would with the liveCD.When I boot up with the live CD and run:dmesg | grep 'eth0 it gives me this output:e100: eth0: e100_probe: addr 0xff91, irq 20, MAC addr 00:13:20:2B:98:18e100: eth0: e100_watchdog: link up, 100 Mbps, full-duplexeth0: no IPv6 routers present Have you built your own kernel? If so, did you include support for this card on it? This seems to be the EtherExpressPro/100, right? The relevant configuration on the kernel is either CONFIG_EEPRO100 or CONFIG_E100.Check that you have either built it into the kernel or as a module. I have worked with the Becker drivers in the past, and they worked without a problem. -- Bruno Lustosa, aka Lofofora| Email: [EMAIL PROTECTED]Network Administrator/Web Programmer | ICQ: 1406477Rio de Janeiro - Brazil|
Re: [gentoo-user] About --depclean
On 10/13/05, Rafael Barreto [EMAIL PROTECTED] wrote: The use of --depclean would not have erase only the dependences that are not more used for any applicatory one? If yes, why do I need to reconstruct the dependent applications of those dependences that I erased with emerge -- depclean? If no, please, clarify me about the functioning of revdep-rebuild that I did not understand its funcionality. revdep-rebuild should be used when upgraded dependencies break a package. for example, you have package A that has a dependency on library B. you go and upgrade B, which happened to change its major version number. now, package A doesn't work anymore, because the dynamic linker can't find the old lib anywhere. revdep-rebuild should locate and rebuild package A to link it against the new library.-- Bruno Lustosa, aka Lofofora| Email: [EMAIL PROTECTED]Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil|
[gentoo-user] Gnucash and new GTK
Hello, list. I filed a bugreport on this, but thought I'd post it here also, to see if someone bumped into the same thing.I'm getting a problem with gnucash, and it seems to be something with GTK+. This is what I get after trying to run gnucash:$ /usr/bin/gnucashGtk-WARNING **: Unable to locate loadable module in module_path: libpixmap.so,Gtk-WARNING **: Unable to locate loadable module in module_path: libpixmap.so,(...)This message repeats lots of times. I tried to strace to see what it was tryingto open, and found this:open(/usr/lib/gtk/themes/engines/libpixmap.so, O_RDONLY) = -1 ENOENT (No such file or directory)In fact, this file doesn't exist on my system. Tried to 'locate libpixmap.so',and found it in this place:/usr/lib/gtk-2.0/2.4.0/engines/libpixmap.soJust as a blind shot, I tried to symlink one to another to see what would happen, and as I expected, errors came in:$ /usr/bin/gnucashGtk-WARNING **: GModule initialization check failed: Gtk+ version too old (majormismatch)Gtk-WARNING **: GModule initialization check failed: Gtk+ version too old (major mismatch)(...)So, it seems it's an incompatibility between gnucash and the installed gtk+version, right? I tried to re-emerge gnucash, but it didn't help much. -- Bruno Lustosa, aka Lofofora| Email: [EMAIL PROTECTED]Network Administrator/Web Programmer | ICQ: 1406477Rio de Janeiro - Brazil|
Re: [gentoo-user] Gnucash and new GTK
On 10/3/05, Jonathan Wright [EMAIL PROTECTED] wrote: You'll have to re-emerge x11-themes/gtk-engines-pixmap:* x11-themes/gtk-engines-qtpixmapAvailable versions:0.28-r1 ~0.28-r2Description: A modified version of the original GTK pixmap engine which follows the KDE color schemeIt's a theme engine on which themes for gnome/gtk are built. From thelooks of it, it's out of date compared to GTK and therefore refusing toload - but you knew that already! ;) In fact, the first thing I tried to do was a 'emerge search pixmap', and I only found the gtk-engines-qtpixmap you mentioned. As it wasn't installed, I guessed it was the wrong package. Anyway, I'm trying to install it now to see if it works. I hope it will! If it works, I'll post it back here. Thank you-- Bruno Lustosa, aka Lofofora| Email: [EMAIL PROTECTED]Network Administrator/Web Programmer | ICQ: 1406477Rio de Janeiro - Brazil|
Re: [gentoo-user] Gnucash and new GTK
On 10/3/05, Bruno Lustosa [EMAIL PROTECTED] wrote: In fact, the first thing I tried to do was a 'emerge search pixmap', and I only found the gtk-engines-qtpixmap you mentioned. As it wasn't installed, I guessed it was the wrong package. Anyway, I'm trying to install it now to see if it works. I hope it will! If it works, I'll post it back here. Thank you Well, just tried it. Still not working. Same error. It installed a file named 'libqtpixmap.so', and as gnucash is looking for libpixmap.so, it didn't find it. I tried to symlink, but then I got the old error about wrong gtk version. Thanks anyway -- Bruno Lustosa, aka Lofofora| Email: [EMAIL PROTECTED]Network Administrator/Web Programmer | ICQ: 1406477Rio de Janeiro - Brazil|
Re: [gentoo-user] Gnucash and new GTK
On 10/3/05, Jonathan Wright [EMAIL PROTECTED] wrote: Opps! :$ Didn't see that. If you want to know what package a filebelongs to, you can use equery from the gentoolkit (emerge gentoolkit):jwright on jonathan [ ~ ] -- equery belongs/usr/lib/gtk-2.0/2.4.0/engines/libpixmap.so [ Searching for file /usr/lib/gtk-2.0/2.4.0/engines/libpixmap.so in * ]x11-libs/gtk+-2.6.4-r1 (/usr/lib/gtk-2.0/2.4.0/engines/libpixmap.so)So, form that I deduce that you're running an older version of GTK - btw which one are you using?You may have to rebuild GTK+. Rebuilt gtk, and still nothing. The file it searches is not the one, I also tried the equery. However, someone enlightened me on bugzilla. It seemed that for some reason gtk-engines-0.12 was unmerged. I just had to reemerge it (it's slotted), and now gnucash works again. Thank you! -- Bruno Lustosa, aka Lofofora| Email: [EMAIL PROTECTED]Network Administrator/Web Programmer | ICQ: 1406477Rio de Janeiro - Brazil|
[gentoo-user] xorg and transparency
Hello. I have been experimenting with xcomposite in xorg, to enable transparency and other effects. I added this to xorg.conf: Section Extensions Option Composite Enable EndSection and this under the Device section: Option RenderAccel true Option AllowGLXWithComposite true Things are working fine. I can now call on xcompmgr and transset to enable transparency on windows. However, things are incredibly slow. Only effect that doesn't seem to cause a slowdown are the shadows and menu fading. All the rest, pretty slow. I'm running gnome 2.12 (with metacity), xorg-x11 6.8.2-r5, and nvidia drivers (7676). GLX seems to be working fine (I can run glxgears in composite enabled server). Also, I have experienced a few problems. Firefox window got fully transparent somehow and I couldn't get it back. If I try to log out, the dialog where it asks logout/restart/shutdown doesn't appear also. gnome-panel goes to the back, and windows appear in front of them. Kinda small bugs, but still bugs! Has anyone managed to get it working fine and fast?-- Bruno Lustosa, aka Lofofora| Email: [EMAIL PROTECTED]Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil|
Re: [gentoo-user] xorg and transparency
On 9/30/05, Norman Golisz [EMAIL PROTECTED] wrote: Yes, the transparency abilities are still buggy and experimental.Do you run Nvidia's TwinView?No, but I've read something about it not working with this. A friend is running xfce under the same configuration, and things are way faster on his machine. Seems to be a problem with gnome also. Hope they implement this into metacity soon. -- Bruno Lustosa, aka Lofofora| Email: [EMAIL PROTECTED]Network Administrator/Web Programmer | ICQ: 1406477Rio de Janeiro - Brazil|
Re: [gentoo-user] Firefox crashes over Flash
On 9/22/05, Grant [EMAIL PROTECTED] wrote: Does anyone else's Firefox crash whenever it hits a page with Flash onit?If I start a new .mozilla folder and always choose to notdownload Flash, everything is fine.As soon as I download Flash, itstarts crashing whenever it sees a Flash file. Flash is working fine here, although I use the flashblock extension to be able to choose what flash content I want to see. How are you installing the flash plugin?-- Bruno Lustosa, aka Lofofora| Email: [EMAIL PROTECTED]Network Administrator/Web Programmer | ICQ: 1406477Rio de Janeiro - Brazil|
[gentoo-user] complete mess with dev-lang/php and dev-php/php
It seems there is now a complete mess with these two packages at ~x86. I guess I should go either with one or another, but not with both. If I try to emerge PEAR-PEAR, it asks me to get dev-lang/php-5.x to install PEAR-PEAR-1.3.6. If I do so, I get back to those strange messages about blocking packages that I posted yesterday. So, I tried to mask =1.3.6. Now, a dependency of PEAR-PEAR (PEAR-Archive_Tar) seems to require dev-lang/php. What am I missing? Why dev-php and dev-lang? Which of them should I use? It's all completely broken here as of now.-- Bruno Lustosa, aka Lofofora| Email: [EMAIL PROTECTED]Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil|
Re: [gentoo-user] Blocking packages?
On 9/21/05, Rafael Fernández López [EMAIL PROTECTED] wrote: Well, dev-php is not compatible with dev-lang/php. You have to emergedev-php/php and dev-php/mod_php for apache support. If you emergedev-lang/php, you'll have both of them, and it will have support forapache too. I recommend you to emerge dev-lang/php instead of dev-php/php anddev-php/mod_php. Yes, done that. However, it seems there are some packages that depend specifically on dev-php/php, and if I try to emerge them, they complain. I have unmerged the offending packages, and everything is working now. However, to avoid all of this, I had to upgrade to php-5. No problem, everything working fine. Btw, why are there dev-php/php and dev-lang/php? Aren't they all the same old php? Or is this some kind of transition? Thanks -- Bruno Lustosa, aka Lofofora| Email: [EMAIL PROTECTED]Network Administrator/Web Programmer | ICQ: 1406477Rio de Janeiro - Brazil|
[gentoo-user] Blocking packages?
I'm a bit confused. If Itry to emerge -Dup world, it spits out this: Calculating world dependencies ...done! [blocks B ] dev-php/mod_php (is blocking dev-lang/php-5.0.5-r1) [blocks B ] dev-php/php (is blocking dev-lang/php-5.0.5-r1) [blocks B ] dev-php/mod_php (is blocking dev-php/PEAR-PEAR-1.3.6) [blocks B ] dev-php/php (is blocking dev-php/PEAR-PEAR-1.3.6) [ebuild U ] sys-apps/sandbox-1.2.13 [1.2.12] [ebuild U ] sys-devel/autoconf-wrapper-3.2 [3.1] (...) So, it seems dev-php/mod_php and dev-php/php are blocking some packages. However, I have unmerged both of them already. Why are they still blocking? # emerge -C dev-php/php dev-php/mod_php --- Couldn't find dev-php/php to unmerge. --- Couldn't find dev-php/mod_php to unmerge. unmerge: No packages selected for removal. Anyone know what might be causing this?Thanks -- Bruno Lustosa, aka Lofofora| Email: [EMAIL PROTECTED]Network Administrator/Web Programmer | ICQ: 1406477Rio de Janeiro - Brazil|
Re: [gentoo-user] applets on gnome-2.12.0
On 9/19/05, Nagatoro [EMAIL PROTECTED] wrote: Don't remember the bug number but the solution is in bugzilla (searchfor gnome 2.12 applet). If I recall correctly you need to reemerge acertain package. (btw Gnome 2.12 looks good! :) ) I did file a bug, and was marked as a duplicate of this one: http://bugs.gentoo.org/show_bug.cgi?id=104820 Quoting the bug: --- Additional Comment #3 From Simon Stelling 2005-09-05 09:47 PDT [reply] --- looks like upgrading gtk+ to 2.8.3-r1 solved this issue too... I'll upgrade gtk+ when I am at home, and will return in case it still doesn't work. I don't know why, but I never make to find a bug on bugzilla based on some keywords. For example, if I search now for 'gnome applet', this bug doesn't appear in search results. However, numerous unrelated bugs happen to be in the results. Very strange. And yes, gnome-2.12 does look good! -- Bruno Lustosa, aka Lofofora| Email: [EMAIL PROTECTED]Network Administrator/Web Programmer | ICQ: 1406477Rio de Janeiro - Brazil|
[gentoo-user] applets on gnome-2.12.0
Hello. Anyone on this list using gnome-2.12.0 already? I managed to emerge everything, and almost everything is working fine. I'm having some problems with a few applets though, that are annoying me. Important applets such as window list and workspace switcher won't load, giving panel errors. Can someone help me? Thanks-- Bruno Lustosa, aka Lofofora| Email: [EMAIL PROTECTED]Network Administrator/Web Programmer | ICQ: 1406477Rio de Janeiro - Brazil|
Re: [gentoo-user] Nagios
I had an issue with Nagios on Gentoo, and it the ebuild putting the config file in the wrong directory. Check this out: http://bugs.gentoo.org/show_bug.cgi?id=103060HTH,-- Bruno Lustosa, aka Lofofora| Email: [EMAIL PROTECTED]Network Administrator/Web Programmer | ICQ: 1406477Rio de Janeiro - Brazil|
[gentoo-user] ntp problem
Hello. I'm running ntpd as server on one of my machines, and it keeps itself in sync with 6 time servers around the globe. The synchronization works very well. The problem is when I try to get the other machines on the network to sync themselves with this one server. Most of them are running linux (kernel 2.6.x), but some are still running windows. Some machines can sync fine, and some don't. All of them can reach the server (same network), and there is no firewall at all. This is the output I get from ntpq on the machines that don't work: ntpq peers remote refid st t when poll reach delay offset jitter == timeserver 217.160.252.229 3 u 26 64 3770.214 46927.6 716.379 ntpq assoc ind assID status conf reach auth condition last_event cnt === 1 15036 9064 yes yes nonereject reachable 6 The only differences between this one and another machines where it's working fine are the status code (it varies a bit) and the condition (instead of reject, sys.peer). The ntp.conf for all machines have just: server 192.168.7.1 which is the ip address of the time server in question. I don't know the internals of ntp. What can be wrong in my configuration? Thanks -- Bruno Lustosa, aka Lofofora | Email: [EMAIL PROTECTED] Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil | -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ntp problem
On 8/23/05, kashani [EMAIL PROTECTED] wrote: That offset looks rather large. NTP really wants to make constant small changes, not a single huge change. This is why the ntpd setup allows for an immediate sync via ntpdate before starting the daemon. To fix this I'd shut down ntpd, run ntpdate 192.168.7.1, and then start ntpd again. That's what I did yesterday before leaving work. It synced with ntpdate, and I left ntpd running. Today, the offset was like that. That's what I don't understand. -- Bruno Lustosa, aka Lofofora | Email: [EMAIL PROTECTED] Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil | -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ntp problem
Just as a sidenote. My machine is running dhcpcd, and it sometimes overwrites /etc/ntp.conf for some reason, even though I have 'dhcpcd_eth0=-N' on /etc/conf.d/net. I don't know how to make dhcpcd leave /etc/ntp.conf alone OR make it write a correct ntp.conf (without a bunch of 'restrict' lines). -- Bruno Lustosa, aka Lofofora | Email: [EMAIL PROTECTED] Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil | -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ntp problem
On 8/23/05, Michael Kintzios [EMAIL PROTECTED] wrote: Have you set all the internal clients up as stratum 3, your internal server as stratum 2 and your external reference timeservers as stratum 1? No, but do I have to do this manually? It seems ntp can discover the stratum of the servers by itself. I have put all the servers I was using in my local server in one workstation, and am monitoring it now. It seems it's always picking one of them as peer, though it varies a lot. -- Bruno Lustosa, aka Lofofora | Email: [EMAIL PROTECTED] Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil | -- gentoo-user@gentoo.org mailing list
[gentoo-user] Unicode error in bugzilla
Hello, I emerged bugzilla yesterday, using postgresql as database. However, I can't enter any accented characters anywhere (bugs description, name, subject, etc). It will give me the following error: Software error: DBD::Pg::st execute failed: ERROR: invalid byte sequence for encoding UNICODE: 0xe7 [for Statement INSERT INTO bugs (version,rep_platform,bug_severity,priority,op_sys,assigned_to,bug_status,bug_file_loc,short_desc,target_milestone,everconfirmed,product_id,component_id, reporter, delta_ts, estimated_time, remaining_time, deadline) VALUES ('1','PC','normal','P2','Linux','1','NEW','','','---','1','2','2',1, '2005-07-19 10:56:40.663303-03', 0, 0, NULL)] at Bugzilla/DB.pm line 81 Bugzilla::DB::SendSQL('INSERT INTO bugs (version,rep_platform,bug_severity,priority,...') called at /var/www/localhost/htdocs/bugzilla/post_bug.cgi line 386 From what I guess, it's trying to send the raw iso-8859-1 c-cedilla directly over a unicode connection. In PHP, I'd solve this using a simple pg_set_client_encoding() call, however I don't know the right way to do it under Perl. Can someone shed some light? Perhaps change database encoding to latin1? My system is all unicode (utf-8) here. -- Bruno Lustosa, aka Lofofora | Email: [EMAIL PROTECTED] Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil | -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Howto speed up compilations
On 7/18/05, John J. Foster [EMAIL PROTECTED] wrote: A few weeks ago I read in one of the newgroups a way to greatly decrease compilation times. The author noted that this was particularly noticable when working with something like OO. The general jist of it was to create temporary file system in memory and mount your portage tmpdir there. For the life of me, I can't find that thread anymore. Does anyone do something similar to this? Are there noticable gains to be had. I have an Athlon 2800XP and 1 GB ram. I am not sure if this will give a tremendous speedup. Granted, the source files won't need to be read from disk, which is an advantage, however, the file reading time should be very small compared to the time it takes for the compiler to translate the source code into machine code. Also, there's the ammount of memory you will lose, memory that could be used by the compiler. In some cases, gcc can eat very big chunks of memory. And if you use -pipe in your cflags, the gcc output isn't really written to disk during the various stages of compilation. Instead, it's piped through the processes. Well... maybe someone will give you some accurate results. Just my 2c. -- Bruno Lustosa, aka Lofofora | Email: [EMAIL PROTECTED] Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil | -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] mplayer codecs
Just a quick question, is there a way to get win32codecs to work correctly on amd64? -- Bruno Lustosa, aka Lofofora | Email: [EMAIL PROTECTED] Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil | -- gentoo-user@gentoo.org mailing list
[gentoo-user] Preventing installation of evolution and others
How can I make sure that when I upgrade, packages like evolution and epiphany (along with mozilla) won't get installed? Is there a (clean) way to prevent them from being installed? They seem to be tied to gnome, but as I don't use them, I have no need to waste time compiling any of them. -- Bruno Lustosa, aka Lofofora | Email: [EMAIL PROTECTED] Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil | -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Preventing installation of evolution and others
On 6/29/05, Holly Bostick [EMAIL PROTECTED] wrote: I take it you emerged the gnome meta-package (emerge gnome), which requires evo, epiphany and mozilla (among others), rather than gnome-light, which does not. Yes, I have done that. Portage won't install them now. Unmerged totem and its gst-plugin* (I use mplayer/gmplayer). My processor will thank me for the idle time :) Thank you. -- Bruno Lustosa, aka Lofofora | Email: [EMAIL PROTECTED] Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil | -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] /dev/hda1 is gone!
On 6/24/05, Michael Sullivan [EMAIL PROTECTED] wrote: My /dev/hda1 block device file is gone. I know I can create the file /dev/hda1 with touch, but how do I make it a block device file? mknod /dev/hda1 b 3 1 aren't you using udev or devfs? -- Bruno Lustosa, aka Lofofora | Email: [EMAIL PROTECTED] Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil | -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] win32codecs / mplayer
On 6/22/05, Neil Bothwick [EMAIL PROTECTED] wrote: The win32codes USE flag? What does emerge mplayer -pv say? Weird... no mention of win32codecs on my use flags here (though it can play regular avi and some wmvs): [ebuild R ] media-video/mplayer-1.0_pre6-r4 -3dfx +3dnow +3dnowext +X +aalib +alsa (-altivec) +arts +avi -bidi -cdparanoia -debug -dga -directfb -divx4linux -doc -dts -dv -dvb -dvd -dvdread -edl +encode +esd -fbcon -ggi +gif +gtk -i8x0 +ipv6 -jack -joystick +jpeg -libcaca -lirc -live -lzo +mad -matroska -matrox +mmx +mmxext +mpeg -mythtv -nas +nls -nvidia +oggvorbis +opengl +oss +png -real -rtc +samba +sdl +sse +sse2 +svga -tga -theora +truetype -v4l -v4l2 -xanim -xinerama +xmms +xv -xvid -xvmc 0 kB -- Bruno Lustosa, aka Lofofora | Email: [EMAIL PROTECTED] Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil | -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] AthlonXP flags
On 6/14/05, Raphael Melo de Oliveira Bastos Sales [EMAIL PROTECTED] wrote: I think it is better to set sse on a USE flag so if a program is made to use them (i.e. X.org), it can, but it doesn't affect the other packages that weren't made with them in mind. And, directly from the X.org ebuild, we can find this: # Recently there has been a lot of stability problem in Gentoo-land. Many # things can be the cause to this, but I believe that it is due to gcc3 # still having issues with optimizations, or with it not filtering bad # combinations (protecting the user maybe from themselves) yet. # # This can clearly be seen in large builds like glibc, where too aggressive # CFLAGS cause the tests to fail miserbly. # # Quote from Nick Jones [EMAIL PROTECTED], who in my opinion # knows what he is talking about: # # People really shouldn't force code-specific options on... It's a # bad idea. The -march options aren't just to look pretty. They enable # options that are sensible (and include sse,mmx,3dnow when appropriate). # # The next command strips CFLAGS and CXXFLAGS from nearly all flags. If # you do not like it, comment it, but do not bugreport if you run into # problems. # # [EMAIL PROTECTED] (13 Oct 2002) strip-flags I think the quote from Nick Jones just reinforces my argument. Every gentoo user who likes to mess with every flag in gcc should at least read gcc's online documentation. Of course I have commented that out and compiled X.org with my normal cflags. I haven't found where strip-flags is defined to see what it really strips, but I have confidence in my cflags (-O2 -pipe -march=athlon64 -fomit-frame-pointer). -- Bruno Lustosa, aka Lofofora | Email: [EMAIL PROTECTED] Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil | -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] AthlonXP flags
On 6/13/05, Colin [EMAIL PROTECTED] wrote: You'll want the usual -O2 -pipe -fomit-frame-pointer, but also use -march=athlon-xp. If your processor supports MMX, 3DNow!, SSE or SSE2, add those flags in as well. Fine, but no need to add mmx, 3dnow!, sse or sse2, as these are implied by -march=athlon-xp. From the online documentation at http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html: athlon-4, athlon-xp, athlon-mp Improved AMD Athlon CPU with MMX, 3dNOW!, enhanced 3dNOW! and full SSE instruction set support. -- Bruno Lustosa, aka Lofofora | Email: [EMAIL PROTECTED] Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil | -- gentoo-user@gentoo.org mailing list
[gentoo-user] Good diagram app
Hello. I am in need of an application like Visio. I tried messing with dia, but it's still far from what I need, for it lacks lots of useful features. What program do the list recommend? -- Bruno Lustosa, aka Lofofora | Email: [EMAIL PROTECTED] Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil | -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Good diagram app
Take a look at Inkscape. Many very nice features, some overlap with dia, some quite different. I emerged inkscape, but it's not quite what I need. Need something to draw flowcharts and diagrams. KOffice has just expanded with a new diagram tool called kivio . It looked pretty good, almost made me wish I had some use for a diagram tool. Will emerge koffice to have a look at it. Thank you two. -- Bruno Lustosa, aka Lofofora | Email: [EMAIL PROTECTED] Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil | -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] C compiler cannot create executables
On 5/27/05, Colin [EMAIL PROTECTED] wrote: checking for C compiler default output file name... configure: error: C compiler cannot create executables See 'config.log' for more details. /var/tmp/portage/texinfo-4.7-r1/work/texinfo-4.7/config.log is available if needed. I really don't want this to be one of those annoying-long messages. CFLAGS=-O2 -mcpu=604 -mtune=604 -fsigned-char -mmultiple -mstring -fomit-frame-pointer -pipe -fstack_protector -fweb -ftracer A look in config.log might help. I guess it could be something with your CFLAGS. I had this once when I tried -march=amd64 (instead of athlon64). So, when it would try to compile something, it would give an error and fail the check, saying the compiler could not create executables. The error you want to look should be near the end of the file, I think. If you don't want to post config.log to the list, feel free to send it to me privately and I'll have a look. -- Bruno Lustosa, aka Lofofora | Email: [EMAIL PROTECTED] Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil | -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Whoops: 'rm -rf /var'
On 5/14/05, Grant [EMAIL PROTECTED] wrote: Hello, I meant to execute 'rm -rf var' but I hit 'rm -rf /var' instead. I realized my mistake after about 6 or 7 seconds when it was taking too long and I hit Ctrl+C. Everything looks OK, but something must be gone. What would you guys do in this situation? Restore from a backup? :-) As you are posting here, I guess that's not an option. You are probably missing the big directories /var/db and /var/tmp. /var/db is (at least it seems) where information about each emerged package lies. I'm not sure which trouble you will pass without those. Perhaps someone may enlighten you more than I. /var/tmp is where portage compiles packages, and can be safely deleted. I don't know about the directory structure though. Perhaps reemerging some packages like baselayout would reconstruct them. -- Bruno Lustosa, aka Lofofora | Email: [EMAIL PROTECTED] Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil | -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: new mail notification
On 5/13/05, Bruno Lustosa [EMAIL PROTECTED] wrote: There used to be an applet in GNOME to notify the user of new mail. Now I can't find it. Has it moved into a separate package? Using gnome 2.10 here. Never mind... found it: emerge -s mail-notification Searching... [ Results for search key : mail-notification ] [ Applications found : 1 ] * mail-client/mail-notification Latest version available: 1.1 Latest version installed: [ Not Installed ] Size of downloaded files: 667 kB Homepage:http://www.nongnu.org/mailnotify/ Description: A GNOME trayicon which checks for mail supporting mbox, MH, Maildir, IMAP, Sylpheed, POP3, Gmail. Authenticates via apop, ssl, sasl. License: GPL-2 -- Bruno Lustosa, aka Lofofora | Email: [EMAIL PROTECTED] Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil | -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] rlogin ebuild
On 5/6/05, Shaw Vrana [EMAIL PROTECTED] wrote: rlogin might not be right for you, but it's just fine for my needs. Please don't try to force *your* security requirements on other people. :P Hey, it's just an advice. After all, there is nothing in rlogin that ssh can't do, so why bother with rlogin? -- Bruno Lustosa, aka Lofofora | Email: [EMAIL PROTECTED] Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil | -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] what's the deal with use flags in (brackets)?
On 5/2/05, Neil Walker [EMAIL PROTECTED] wrote: So its automatic detection of the features if possible, but USE flags if otherwise. No. There is no detection. Just assumption that AMD65 will support certain extensions. In other words, -march=athlon64 implies those flags. -- Bruno Lustosa, aka Lofofora | Email: [EMAIL PROTECTED] Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil | -- gentoo-user@gentoo.org mailing list
[gentoo-user] nvidia drivers and glx
Hello. After some update, the GLX extensions stopped working. I noticed it because opengl xscreensavers would just segfault. After I quit X and tried to restart it, I would get a segfault when trying to load the glx extension. The xorg.conf hasn't been changed. Finally, I had to remove the glx module from xorg.conf to have it working again (no 3d though). I tried re-emerging nvidia-{kernel,glx}, and also opengl-update nvidia, to no avail. Also, after this, I updated the drivers to the latest version (I was locked in 7167-r1, now I'm at 7174). I'm running gentoo on an athlon64. Anyone knows what make it fail? I looked into emerge.log, and only packages I saw that could generate weird things was baselayout and glibc. -- Bruno Lustosa, aka Lofofora | Email: [EMAIL PROTECTED] Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil | -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] nvidia drivers and glx
On 4/25/05, Jason Cooper [EMAIL PROTECTED] wrote: Some packages use static library paths to libGL, libXm, etc. Try re-merging your screensaver app to pick up the new path. X.org recently shuffled around the locations of some libraries. Yes, I tried doing this as soon as I saw it was not working, however it still doesn't work. Anyway, I file a bug on bugzilla. I'm not sure if this is an nvidia issue or not, as it was working and stopped after an unrelated update. I tried reemerging xscreensaver, nvidia-kernel/glx. I'll see what else I can do. Btw, do you know of a package to make /var/log/emerge.log more readable? Thank you! -- Bruno Lustosa, aka Lofofora | Email: [EMAIL PROTECTED] Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil | -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gnome 2.10???
On 4/25/05, timothy johnson [EMAIL PROTECTED] wrote: Any idea on when this will be available? On avg how long does it take things to make it to become an ebuild? It's there already, just masked. I've been using it for some time now (almost a month I think). -- Bruno Lustosa, aka Lofofora | Email: [EMAIL PROTECTED] Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil | -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Openoffice: emerge --resume
On 4/19/05, Mrugesh Karnik [EMAIL PROTECTED] wrote: OK, I don't remember who it was, but just last week, someone mentioned using the feature keeptmp (the name could be wrong. I don't remember properly and strangly I've somehow not archived the mail :S ) in make.conf. That makes portage keep all the cache intact, but consumes a lot of hard disk space, especially if you're talking about OOo. Use this option with ccache and it'll resume the build dynamically or so have I heard! To resume an emerge, I normally do as follows: 1-go to /var/tmp/portage/package/work/package 2-make 3-after make completes, I call ebuild directly passing 'install' as argument, and then qmerge. However, I don't know why (and haven't bothered to discover), mas sometimes this works, sometimes it doesn't. I guess there's something in control files to tell portage in which stage it stopped. -- Bruno Lustosa, aka Lofofora | Email: [EMAIL PROTECTED] Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil | -- gentoo-user@gentoo.org mailing list