Re: [gentoo-user] dhcpd and routes
On Wednesday 07 February 2007 01:20, Dave Oxley wrote: I have a Gentoo server that is running Cisco VPN software to connect to my companies VPN. I have setup the server as a NAT for the specific subnet required for the VPN and the rest of my traffic goes through my router (192.168.1.1). I currently have to manually run the following command to setup the route: route add -net 10.4.0.0 netmask 255.255.255.0 gw 192.168.1.200 On my Gentoo server I run dhcpd to allocate IP addresses for machines on my LAN. The current configuration is: subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.100 192.168.1.199; option routers 192.168.1.1; } So the question is how can I setup dhcpd to automatically setup the route command for all clients using the dhcpd? Cheers, Dave. You are suggesting that each client needs the route command. Not so, set it on the gateway. that way each client accessing the VPN will be routed via the gateway back to 192.168.1.200 and thnce to the VPN. -- gentoo-user@gentoo.org mailing list
[gentoo-user] x1300 and radeon opensource driver
Hi, i would like to use an x1300 video card with the radeon opensource video driver. Is it supported (at least for the 2d part)? Regards, m -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Very bad system response
Hi, Am Mittwoch, 7. Februar 2007 04:49 schrieb Norberto Bensa: Hemmann, Volker Armin wrote: On Dienstag, 6. Februar 2007, Michael Schreckenbauer wrote: I don't think, swap is the cause of this. This system has 1,5GB Ram, swap is nearly never touched :) swap was only an example. Things that kill performance: big tar, big copy around, and everything that touches a lot of files Check your DMA settings DMA is ok. As I wrote in my original report, the hang lasts max 30s, then everything is ok again regardless of io activity. The io-scheduler thingy another member suggested in another thread works so far :) Regards, Norberto Thanks, Michael -- gentoo-user@gentoo.org mailing list
[gentoo-user] Acecad tablet on gentoo
Hello, I have a tablet which is supposed to work with acecad driver. To be specific - it is Pentagram Quadpen tablet which seems to be simply rebranded acecad tablet (windows drivers come from acecad directly). I was able to (sort of) run the tablet but when I move the stylus over the tablet the cursor goes berserk and jumps all over the window, pushing random buttons. I know I should post here my X11 config but I am not currently in front of my gentoo box, I just thought somebody had similar problem and can help me. I can send more details in the afternoon. Thanks, Radek. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Network start delay?
Hi all, I have a quick question about my init scripts. I start my wireless network with the script /etc/init.d/net.eth2 which is started by init in the default runlevel. I also have /etc/init.d/netmount to mount some samba shares, and which is also started my init in the default runlevel, but depends on net from the line: local myneed=net So, as I understand it, this makes sure that init starts net.eth* before starting netmount. That's good. However, eth2 is on a DHCP-enabled connection and takes a few seconds to come up after starting the script. By the time netmount is started, net.eth2 has not finished coming up, so netmount fails and the samba shares are never mounted automatically. Is there a way to make the netmount script wait for a route to exist before attempting to connect? Thanks! Pete. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Very bad system response
Hemmann, Volker Armin wrote: hdparm /dev/hda /dev/hda: multcount= 16 (on) IO_support = 1 (32-bit) unmaskirq= 1 (on) using_dma= 1 (on) keepsettings = 0 (off) readonly = 0 (off) readahead= 256 (on) geometry = 16383/255/63, sectors = 234493056, start = 0 Maybe set readahead to a smaller value? Something like 8 or 16? At least that's what http://linuxgazette.net/issue79/punk.html advises. If you have specific reasons for the higher value, then please elaborate. Benno -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Very bad system response
Hi, Am Mittwoch, 7. Februar 2007 12:35 schrieb Benno Schulenberg: Hemmann, Volker Armin wrote: hdparm /dev/hda /dev/hda: multcount= 16 (on) IO_support = 1 (32-bit) unmaskirq= 1 (on) using_dma= 1 (on) keepsettings = 0 (off) readonly = 0 (off) readahead= 256 (on) geometry = 16383/255/63, sectors = 234493056, start = 0 Maybe set readahead to a smaller value? Something like 8 or 16? At least that's what http://linuxgazette.net/issue79/punk.html advises. If you have specific reasons for the higher value, then please elaborate. I believe there is a misunderstanding here. I am the one with the problem not Volker :) Unfortunately I'm not in front of the affected machine right now, but I'm quite shure I use the defaults as I never tuned the discs with hdparm Benno Thanks, Michael -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Performance problem at writing big files and Multitasking
What I/O scheduler are you using? Did you try to experiment with the deadline or the cfq I/O schedulers? If you have them enabled in your kernel config, read Documentation/block/switching-sched.txt and see if things get better after changing the I/O scheduler for your hard disk. Of course, your problem might be caused by something else altogether. No other suggestions? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Performance problem at writing big files and Multitasking
Daniel Pielmeier wrote: What I/O scheduler are you using? Did you try to experiment with the deadline or the cfq I/O schedulers? If you have them enabled in your kernel config, read Documentation/block/switching-sched.txt and see if things get better after changing the I/O scheduler for your hard disk. Of course, your problem might be caused by something else altogether. No other suggestions? The hdparm optimizations, the CFQ scheduler and maybe low latency desktop in the kernel are the best way to make your desktop useable under heavy disk usage.These are my hdparm settings: /dev/hda: multcount= 16 (on) IO_support = 1 (32-bit) unmaskirq= 1 (on) using_dma= 1 (on) keepsettings = 0 (off) readonly = 0 (off) readahead= 256 (on) geometry = 26310/16/63, sectors = 26520480, start = 0 cat /sys/block/hda/queue/scheduler noop [cfq] Linux c-68-85-77-239 2.6.20-gentoo #4 PREEMPT Tue Feb 6 17:03:56 EST 2007 i686 AMD Athlon(tm) XP 2000+ AuthenticAMD GNU/Linux -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Performance problem at writing big files and Multitasking
The hdparm optimizations, the CFQ scheduler and maybe low latency desktop in the kernel are the best way to make your desktop useable under heavy disk usage.These are my hdparm settings: [snip] Thanks for your suggestions. As i have an SATA harddisk, can i use hdparm with it , i thought it could only be used with PATA devices and for SATA there is sdparm. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Sylpheed-Claws / Claws-Mail / Postfix -- the gentoo way
Hello, list -- I've been a happy claws user for a few years. I use postfix, because I like overkill, I suppose. I've barely touched the postfix config, so here's to the developers. ;-) Anyway, what I don't understand is the maildir, MH, mbox, qmail delivery thing. I followed a wiki[1] which suggests I need to use rcvstore command in a .forward file, etc. and to set up my delivery using nmh if I'm a sylpheed user. This has worked for a while and is working for me again. My question is, does anyone know if this is still needed? Somehow it looks as if claws should handle its own delivery now, or be able to use maildir? Does anyone know what the gentoo-preferred method is? Cheers, -- Michael Higgins [1]http://gentoo-wiki.com/TIP_Postfix_Setup_for_Local_Mail_Only -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Acecad tablet on gentoo
Radosław Grzanka napisał(a): Hello, I have a tablet which is supposed to work with acecad driver. To be specific - it is Pentagram Quadpen tablet which seems to be simply rebranded acecad tablet (windows drivers come from acecad directly). I was able to (sort of) run the tablet but when I move the stylus over the tablet the cursor goes berserk and jumps all over the window, pushing random buttons. I know I should post here my X11 config but I am not currently in front of my gentoo box, I just thought somebody had similar problem and can help me. I can send more details in the afternoon. Hi, here are some details from my xorg.conf: --- Section InputDevice Identifier MyTablet Driver acecad Option Device /dev/input/event2 # Option Device auto-dev Option Mode Absolute Option Model Flair EndSection Section ServerLayout Identifier Simple Layout Screen Screen 1 InputDevice Keyboard1 CoreKeyboard InputDevice Mouse1 CorePointer InputDevice MyTablet SendCoreEvents EndSection And from X logs: - (II) Acecad Tablet xinput driver v4.00 (**) Acecad Tablet is in absolute mode (**) MyTablet Tablet is using standard button map (**) MyTablet Tablet model is Flair (**) Acecad Tablet reports 85 points/s (**) Option SendCoreEvents (**) MyTablet: always reports core events (II) XINPUT: Adding extended input device MyTablet (type: TABLET) (II) XINPUT: Adding extended input device Mouse1 (type: MOUSE) (II) XINPUT: Adding extended input device Keyboard1 (type: KEYBOARD) xkb_keycodes { include xfree86+aliases(qwerty) }; xkb_types{ include complete }; xkb_compatibility{ include complete }; xkb_symbols { include pc(pc105)+pl }; xkb_geometry { include pc(pc105) }; (**) Acecad Tablet Increment: 1 (II) Mouse1: ps2EnableDataReporting: succeeded (**) Option Device /dev/input/event2 (EE) Unable to query/initialize Acecad hardware. (**) RADEON(0): RADEONSaveScreen(2) (--) Acecad Tablet MaxX:25869 MaxY:69 ProcXCloseDevice to close or not ? Any help would be appreciated. Thanks, Radek. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Performance problem at writing big files and Multitasking
Mike wrote: Daniel Pielmeier wrote: No other suggestions? The hdparm optimizations, the CFQ scheduler and maybe low latency desktop in the kernel are the best way to make your desktop useable under heavy disk usage. And check you have HZ set to 1000. $ grep HZ /usr/src/linux/.config # CONFIG_HZ_100 is not set # CONFIG_HZ_250 is not set CONFIG_HZ_1000=y CONFIG_HZ=1000 Benno -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Sylpheed-Claws / Claws-Mail / Postfix -- the gentoo way
On Wed, 7 Feb 2007 09:40:59 -0800, Michael Higgins wrote: Anyway, what I don't understand is the maildir, MH, mbox, qmail delivery thing. I followed a wiki[1] which suggests I need to use rcvstore command in a .forward file, etc. and to set up my delivery using nmh if I'm a sylpheed user. This has worked for a while and is working for me again. My question is, does anyone know if this is still needed? Somehow it looks as if claws should handle its own delivery now, or be able to use maildir? maildir is mail storage, not delivery. I use claws-mail with postfix and it's just a matter of setting the SMTP server to localhost, or wherever your postfix server lives. How do you collect mail? It's probably easiest to let postfix store incoming mail in a local maildir store and run a local IMAP/POP server - I use dovecot for this. -- Neil Bothwick Bother, said Pooh, as his 'B' sample tested positive. signature.asc Description: PGP signature
Re: [gentoo-user] Performance problem at writing big files and Multitasking
On 2/7/07, Daniel Pielmeier [EMAIL PROTECTED] wrote: No other suggestions? -- gentoo-user@gentoo.org mailing list Could your problem be similar to this: http://marc.theaimsgroup.com/?l=gentoo-userm=114252338111258w=2 Tom
Re: [gentoo-user] Very bad system response
On Mittwoch, 7. Februar 2007, Michael Schreckenbauer wrote: Hi, Am Mittwoch, 7. Februar 2007 12:35 schrieb Benno Schulenberg: Hemmann, Volker Armin wrote: hdparm /dev/hda /dev/hda: multcount= 16 (on) IO_support = 1 (32-bit) unmaskirq= 1 (on) using_dma= 1 (on) keepsettings = 0 (off) readonly = 0 (off) readahead= 256 (on) geometry = 16383/255/63, sectors = 234493056, start = 0 Maybe set readahead to a smaller value? Something like 8 or 16? At least that's what http://linuxgazette.net/issue79/punk.html advises. If you have specific reasons for the higher value, then please elaborate. it is a default setting I never touched? Aside from 'IO_support' everything is default. Oh, and I tried different io-scheds without any success. I believe there is a misunderstanding here. I am the one with the problem not Volker :) we have both similar problems ;) -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] Sylpheed-Claws / Claws-Mail / Postfix -- the gentoo way
-Original Message- From: Neil Bothwick [mailto:[EMAIL PROTECTED] On Wed, 7 Feb 2007 09:40:59 -0800, Michael Higgins wrote: Anyway, what I don't understand is the maildir, MH, mbox, qmail delivery thing. I followed a wiki[1] which suggests I need to use rcvstore command in a .forward file, etc. and to set up my delivery using nmh if I'm a sylpheed user. This has worked for a while and is working for me again. My question is, does anyone know if this is still needed? Somehow it looks as if claws should handle its own delivery now, or be able to use maildir? maildir is mail storage, not delivery. I use claws-mail with postfix and it's just a matter of setting the SMTP server to localhost, or wherever your postfix server lives. Well, I use the sendmail option instead of smtp. Either one works for me. How do you collect mail? It's probably easiest to let postfix store incoming mail in a local maildir I can't see how one makes that happen. FEX, mutt creates a maildir '.maildir', but postfix config template lists 'Maildir/' as option. IDK what the defaults are, nor what they should be. It _seemed_ like leaving home_maildir [or whatever related option] unset in the config delivers to ~/.maildir. Like it's a gentoo-provided default, or something. This is what I'm questioning... is there a gentoo-dev preference for not using MH (or for using .maildir not Maildir specifically) that's going to catch me up in the future. Now, I'm collecting it to the right place by having to set up nmh and a .forward file in ~/. store and run a local IMAP/POP server - I use dovecot for this. Well, this is a fix for the difficulty I had. I guess claws has options only for pop or imap or local mbox. Not maildir, maybe that's what the extra '-maildir' ebuild is supposed to remedy. (IDK. It didn't seem to make a difference.) The instructions from the wiki for postfix regarding sylpheed is to use nmh and ~/.forward. I know MH is a storage thing, but the messages delivered to postfix have magically 'just shown up' in the [MH] mail folder used by claws, I suppose as a function of the files created by install-mh and .forward, as indicated in the wiki. I guess that's just the way to go as it works, or... running dovecot... which would moot the problem I have now... and give me mail access via a client not on my home machine. So, has anyone found a shell mailreader that would use MH folders? I thought I'd found a way in the past for mutt to do so, but it escapes me now. Maybe this will teach me to backup /etc before the disk craps out next time. ;-) Thanks for your reply. Cheers, -- Michael Higgins -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Performance problem at writing big files and Multitasking
The hdparm optimizations, the CFQ scheduler and maybe low latency desktop in the kernel are the best way to make your desktop useable under heavy disk usage.These are my hdparm settings: /dev/hda: multcount= 16 (on) IO_support = 1 (32-bit) unmaskirq= 1 (on) using_dma= 1 (on) keepsettings = 0 (off) readonly = 0 (off) readahead= 256 (on) geometry = 26310/16/63, sectors = 26520480, start = 0 cat /sys/block/hda/queue/scheduler noop [cfq] Linux c-68-85-77-239 2.6.20-gentoo #4 PREEMPT Tue Feb 6 17:03:56 EST 2007 i686 AMD Athlon(tm) XP 2000+ AuthenticAMD GNU/Linux Now i am in front of my PC. I already use the cfq scheduler and have low latency desktop enabled. I looked at the output of hdparm -I /dev/sda and all seems to be ok by default. And check you have HZ set to 1000. $ grep HZ /usr/src/linux/.config # CONFIG_HZ_100 is not set # CONFIG_HZ_250 is not set CONFIG_HZ_1000=y CONFIG_HZ=1000 Thanks i will check if this helps, i have just set 250 HZ for timer frequency. Could your problem be similar to this: http://marc.theaimsgroup.com/?l=gentoo-userm=114252338111258w=2 Tom Maybe, today the gentoo-sources-2.6.19-r5 become stable so i will try the new kernel. I am also waiting for kernel 2.6.20 as it has a setting for the core 2 duo in processor settings. Maybe i try the testing version of it. Also the new gcc compilers will support the core 2 duo directly, but i think it will take some time till 4.2 or even 4.3 will become stable. I show up here again and tell you if something improves the performance of my system. Regards Daniel -- gentoo-user@gentoo.org mailing list
[gentoo-user] vmware broken?
Hi, my vmware doesn't work anymore :-( I have no clue about the cause - maybe my update to 2.6.20 or perhaps bus? # vmware /opt/vmware/workstation/lib/bin/vmware: /opt/vmware/workstation/lib/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2) process 12397: Attempt to remove filter function 0xb6b46c20 user data 0x8802b90, but no such filter has been added D-Bus not built with -rdynamic so unable to print a backtrace /opt/vmware/workstation/lib/bin/vmware: /opt/vmware/workstation/lib/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2) /opt/vmware/workstation/lib/bin/vmware: /opt/vmware/workstation/lib/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2) process 12408: Attempt to remove filter function 0xb6effc20 user data 0x88041f0, but no such filter has been added D-Bus not built with -rdynamic so unable to print a backtrace So what might be wrong here? signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] vmware broken?
Sven Köhler schrieb: Hi, my vmware doesn't work anymore :-( I have no clue about the cause - maybe my update to 2.6.20 or perhaps bus? # vmware /opt/vmware/workstation/lib/bin/vmware: /opt/vmware/workstation/lib/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2) process 12397: Attempt to remove filter function 0xb6b46c20 user data 0x8802b90, but no such filter has been added D-Bus not built with -rdynamic so unable to print a backtrace /opt/vmware/workstation/lib/bin/vmware: /opt/vmware/workstation/lib/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2) /opt/vmware/workstation/lib/bin/vmware: /opt/vmware/workstation/lib/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2) process 12408: Attempt to remove filter function 0xb6effc20 user data 0x88041f0, but no such filter has been added D-Bus not built with -rdynamic so unable to print a backtrace So what might be wrong here? Google has the answer! Take a look here: http://bugs.gentoo.org/show_bug.cgi?id=155450 http://www.vmware.com/community/thread.jspa?messageID=484981 http://www.vmware.com/community/message.jspa?messageID=390870 http://bugs.gentoo.org/show_bug.cgi?id=50002 Regards Daniel -- gentoo-user@gentoo.org mailing list
[gentoo-user] Error while compiling splashutils-1.1.9.10-r1
Hi, When I try to compile latest splashutils, I have folowing error: = [ebuild N]media-gfx/splashutils-1.1.9.10-r1 USE=png truetype -hardened -kdgraphics ... ... Source unpacked. Compiling source in ... In file included from /usr/lib/klibc/include/stddef.h:12, from /usr/lib/klibc/include/stdio.h:10, from render.c:21: /usr/lib/klibc/include/bits32/bitsize/stddef.h:12: error: redefinition of typedef ‘size_t’ /usr/lib/klibc/include/linux/types.h:67: error: previous declaration of ‘size_t’ was here /usr/lib/klibc/include/bits32/bitsize/stddef.h:16: error: redefinition of typedef ‘ptrdiff_t’ /usr/lib/klibc/include/linux/types.h:77: error: previous declaration of ‘ptrdiff_t’ was here In file included from /usr/lib/klibc/include/stdint.h:8, from /usr/lib/klibc/include/sys/types.h:10, from /usr/lib/klibc/include/unistd.h:11, from /usr/lib/klibc/include/stdio.h:11, from render.c:21: /usr/lib/klibc/include/bits32/bitsize/stdint.h:8: error: redefinition of typedef ‘int8_t’ .. etc ... !!! ERROR: media-gfx/splashutils-1.1.9.10-r1 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile splashutils-1.1.9.10-r1.ebuild, line 142: Called die Does anybody have idea, how to fix it? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Error while compiling splashutils-1.1.9.10-r1
Konstantin S. Budylov schrieb: Hi, When I try to compile latest splashutils, I have folowing error: = [ebuild N]media-gfx/splashutils-1.1.9.10-r1 USE=png truetype -hardened -kdgraphics ... ... Source unpacked. Compiling source in ... In file included from /usr/lib/klibc/include/stddef.h:12, from /usr/lib/klibc/include/stdio.h:10, from render.c:21: /usr/lib/klibc/include/bits32/bitsize/stddef.h:12: error: redefinition of typedef ‘size_t’ /usr/lib/klibc/include/linux/types.h:67: error: previous declaration of ‘size_t’ was here /usr/lib/klibc/include/bits32/bitsize/stddef.h:16: error: redefinition of typedef ‘ptrdiff_t’ /usr/lib/klibc/include/linux/types.h:77: error: previous declaration of ‘ptrdiff_t’ was here In file included from /usr/lib/klibc/include/stdint.h:8, from /usr/lib/klibc/include/sys/types.h:10, from /usr/lib/klibc/include/unistd.h:11, from /usr/lib/klibc/include/stdio.h:11, from render.c:21: /usr/lib/klibc/include/bits32/bitsize/stdint.h:8: error: redefinition of typedef ‘int8_t’ .. etc ... !!! ERROR: media-gfx/splashutils-1.1.9.10-r1 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile splashutils-1.1.9.10-r1.ebuild, line 142: Called die Does anybody have idea, how to fix it? Seems to be a bug! http://bugs.gentoo.org/show_bug.cgi?id=164806 -- gentoo-user@gentoo.org mailing list
[gentoo-user] Can someone please explain to me why these bugs are duplicates?
Honestly, I really don't see how they're even remotely related. So either I'm just dense, or the maintainer is not understanding my request... It's extremely frustrating. [Bug 165709] When viewing emerge -avu world show which packages are stable (or ~x86) http://bugs.gentoo.org/show_bug.cgi?id=165709 is my original one http://bugs.gentoo.org/show_bug.cgi?id=157361 is what they claim is a duplicate And http://bugs.gentoo.org/show_bug.cgi?id=1343 DÆVID -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Can someone please explain to me why these bugs are duplicates?
Daevid Vincent wrote: Honestly, I really don't see how they're even remotely related. So either I'm just dense, or the maintainer is not understanding my request... It's extremely frustrating. Yes, the bug wrangler looks a bit overworked sometimes. :| Those bugs don't seem duplicates to me either. But what you're asking is simple: in your .unmask and .keywords files don't unmask a package name but a specific package version (use the = or ~ operators). Then you'll only be using that specific unstable version, and go back to using stable versions when they become available. Benno -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Network start delay?
On Wed, 2007-02-07 at 10:37 +, Peter Lewis wrote: Hi all, I have a quick question about my init scripts. I start my wireless network with the script /etc/init.d/net.eth2 which is started by init in the default runlevel. I also have /etc/init.d/netmount to mount some samba shares, and which is also started my init in the default runlevel, but depends on net from the line: local myneed=net So, as I understand it, this makes sure that init starts net.eth* before starting netmount. That's good. However, eth2 is on a DHCP-enabled connection and takes a few seconds to come up after starting the script. By the time netmount is started, net.eth2 has not finished coming up, so netmount fails and the samba shares are never mounted automatically. Is there a way to make the netmount script wait for a route to exist before attempting to connect? net.eth2 shouldn't return (by default) until it has a dhcp address, which means all other scripts starting after it will wait until you have an address. Things you might have done to change the default behaviour include RC_PARALLEL_STARTUP, and RC_NET_STRICT_CHECKING in /etc/conf.d/rc. You can set them to no, and yes respectively and see if the following scripts wait... HTH, -- Iain Buchanan iaindb at netspace dot net dot au When you're in command, command. -- Admiral Nimitz -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] XFCE4 Panel missing
No body knows how to fix this problem? This same problem happen with Gnome and weather Monitor Applet. Some one an help please? Sigfrido [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Sigfrido V. Ortiz C. a gentiment tapote: Hi folks, Due to I have read here nice comment about XFCE4 desktop windows manager, I'm testing it In my old box, so everything is fine until I add de Weather Applet (kfce4-weather). I can setup it [weather applet], nice it works, but once I closed the session and after back, The XFCE panel disappears and I can not recover it any more. I deleted .config and .cache to back to default, so if I install any application like browsers, mail client and so on, everything is OK, but If I add the weather monitor, the XFCE Panel disappears after close the session again. Some now how ti fix it? For your reference I' m using: Firefox 2. , Opera 9.x , OOo 2.1 , Netscape Mail 7.2 fro this account, Kmail for my job, Claws-mail for Gmail account, Kernel 2.6.18-gentoo-r2 Also I use KDE 3.5.5 and is weather applet works fine, but KDE is to heavy for my old box, everything take a long time to work. XFCE is more fast and light, so I would like to fix this problem. Thaks in advance Sigfrido Hi, Did you try xfrun4 ( Alt + F2), then xfce4-panel ? -- Jacques I did. But XFCE4 panel attemp to appear just a few second and GOODBY. I have configured the task bar to show all aplication and task from all windows desk to see all that I lose after XFCE4-Panel desappear. I'm sure that it just happen if I add the Weather Update, I'm using the default setting and it dead just if I include Weather Update Applet, so nothing happen if I add Netload, and another applications. Any way to fix it?
Re: [gentoo-user] Can someone please explain to me why these bugs are duplicates?
On Wednesday 07 February 2007 23:19:53 Daevid Vincent wrote: Honestly, I really don't see how they're even remotely related. So either I'm just dense, or the maintainer is not understanding my request... It's extremely frustrating. [Bug 165709] When viewing emerge -avu world show which packages are stable (or ~x86) http://bugs.gentoo.org/show_bug.cgi?id=165709 is my original one http://bugs.gentoo.org/show_bug.cgi?id=157361 is what they claim is a duplicate And http://bugs.gentoo.org/show_bug.cgi?id=1343 Bug #157361 clearly is a dupe of bug #1343. There's no question about that. If you upgrade to Portage 2.1.2 (which will go stable soon) you'll find that it will detect that two versions of mozilla-firefox within the same slot (firefox only has one slot) are being pulled in and hence it will die up front while telling you about the problem. It still won't be able to solve it without your help though. So... it will be a lot easier for me to tell you what your options are wrt. working around this bug if you post the output of: # emerge -Dup world --tree --verbose Wrt. bug #165709 I'd probably have pointed you towards app-portage/eix and resolved it as WONTFIX or even INVALID as I really don't see the point in that feature request. There are a lot of tools including eix that are a lot more suitable for queries about what is stable and what isn't. I do understand jakubs reasoning for thinking it's triggered by bug #157361 and hence marking it a dupe of that though. I think reopening the same bug 3 times is a terrible idea. It clearly doesn't help anyone. The most obvious options after the first time are to CC the [EMAIL PROTECTED] alias on the bug to make the portage devs aware of it (while commenting about why you do that), or to post a mail here, on the gentoo-dev-portage@ mailing list (this is a feature request for portage after all) or log onto irc and talk to the portage devs in #gentoo-portage on freenode. -- Bo Andresen pgp0G8aJCzB9v.pgp Description: PGP signature
RE: [gentoo-user] Can someone please explain to me why these bugs are duplicates?
On Wednesday 07 February 2007 23:19:53 Daevid Vincent wrote: Honestly, I really don't see how they're even remotely related. So either I'm just dense, or the maintainer is not understanding my request... It's extremely frustrating. [Bug 165709] When viewing emerge -avu world show which packages are stable (or ~x86) http://bugs.gentoo.org/show_bug.cgi?id=165709 is my original one So... it will be a lot easier for me to tell you what your options are wrt. working around this bug if you post the output of: # emerge -Dup world --tree --verbose Thanks, but I don't have a bug to solve here. Just the feature request. Wrt. bug #165709 I'd probably have pointed you towards app-portage/eix and resolved it as WONTFIX or even INVALID as I really don't see the point in that feature request. There are a lot of tools including eix that are a lot more suitable for queries about what is stable and what isn't. I do understand jakubs reasoning for thinking it's triggered by bug #157361 and hence marking it a dupe of that though. Yes, but then I have to manually, one at a time search eix and compare to the output of 'emerge world'. I use eix. That's actually why I suspect that the feature could be implemented fairly easily. Portage has all the info it needs. I think reopening the same bug 3 times is a terrible idea. It clearly doesn't help anyone. Nor does just blindly closing it without really comprehending what the request is for. The most obvious options after the first time are to CC the [EMAIL PROTECTED] alias on the bug to make the portage devs aware of it (while commenting about why you do that), or to post a mail here, on the gentoo-dev-portage@ mailing list (this is a feature request for portage after all) or log onto irc and talk to the portage devs in #gentoo-portage on freenode. Actually, I'll just concede defeat. :( Obviously the maintainer has either a closed mind and is unwilling to consider my request, or he just doesn't get it and wants to lump two disjointed bugs together. I get the feeling that even after all the work to get it into an official bug/request. I'll either be greeted with learn python and code it yourself as a patch, or it will sit there forever amongst the thousands of other bugs... Mostly by posting here, I just wanted to know if I was missing something obvious and being a retard or if the maintainer was... *sigh* ...also that maybe someone else would say, oh yeah, I like that idea and perhaps could articulate it better than I... DÆVID -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Can someone please explain to me why these bugs are duplicates?
On Thursday 08 February 2007 00:59:49 Daevid Vincent wrote: So... it will be a lot easier for me to tell you what your options are wrt. working around this bug if you post the output of: # emerge -Dup world --tree --verbose Thanks, but I don't have a bug to solve here. Just the feature request. It would make it easier to explain why bug #157361 is a dupe of #1343 though. Assuming that still isn't clear to you? Wrt. bug #165709 I'd probably have pointed you towards app-portage/eix and resolved it as WONTFIX or even INVALID as I really don't see the point in that feature request. There are a lot of tools including eix that are a lot more suitable for queries about what is stable and what isn't. I do understand jakubs reasoning for thinking it's triggered by bug #157361 and hence marking it a dupe of that though. Yes, but then I have to manually, one at a time search eix and compare to the output of 'emerge world'. I use eix. That's actually why I suspect that the feature could be implemented fairly easily. Portage has all the info it needs. You do know that eix is not related to portage in any way? Anyway, can you explain to me how this feature would help you at all. I really don't understand the use case for it. I think reopening the same bug 3 times is a terrible idea. It clearly doesn't help anyone. Nor does just blindly closing it without really comprehending what the request is for. Jakub is handling a lot of bugs so obviously he does make mistakes occasionally. I don't think he makes that many of them but arguably he should have reassigned #165709 to dev-portage@ and let them handle it. Do note that Jakub is a bug-wrangler not a maintainer. The most obvious options after the first time are to CC the [EMAIL PROTECTED] alias on the bug to make the portage devs aware of it (while commenting about why you do that), [...]. [SNIP] Actually, I'll just concede defeat. :( That's your decision then. -- Bo Andresen pgpTjSEr9HKpr.pgp Description: PGP signature
[gentoo-user] _syscallX isn't in linux-headers-2.6.20 ??
Hi all, I'm trying to use: _syscall3(int, ioprio_set, int, which, int, who, int, ioprio); _syscall2(int, ioprio_get, int, which, int, who); and supposedly I just #include linux/unistd.h but I'm getting these error from gcc: error: syntax error before ioprio_set warning: data definition has no type or storage class error: syntax error before ioprio_get warning: data definition has no type or storage class so I had a look in /usr/include/linux/unistd.h and it doesn't even have _syscall in there!! It's in /usr/src/linux though... Am I doing something wrong? I'm following http://www.die.net/doc/linux/man/man2/ioprio_set.2.html I know this is a C-ish question, only loosely related to gentoo but I'd really appreciate any help!! TIA, -- Iain Buchanan iaindb at netspace dot net dot au The groundhog is like most other prophets; it delivers its message and then disappears. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Notices from portage
I used to (briefly) get notices from ebuilds when I emerged them. Somewhere along the line that stopped, and I have forgotten where it was configured. Anybody got a quick hint? -- Kevin O'Gorman, PhD -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] Can someone please explain to me why these bugs are duplicates?
Yes, but then I have to manually, one at a time search eix and compare to the output of 'emerge world'. I use eix. That's actually why I suspect that the feature could be implemented fairly easily. Portage has all the info it needs. You do know that eix is not related to portage in any way? Not to argue semantics, but I'm guessing, and I could be wrong, but 'esearch' or whatever other database (used generically) that portage uses has at least what versions there are of each package and if they're ~x86 or not. That's all that's required for this request. Anyway, can you explain to me how this feature would help you at all. I really don't understand the use case for it. Only because you asked... And the short answer is mostly for stability and book-keeping. I run a mixed environment of stable and testing -- as do most people. Often I run a testing (~x86) package b/c I need a feature that isn't available in the stable version. I would prefer to be all stable, but life is not so kind in the land of Gentoo. And marking packages stable with any regularity seems to be an exercise in patience and nagging and bug requests and waiting and ... So then when I do an emerge world, there are sometimes hundreds of packages. All nickel and diming me to death. Like a -r1 -r2 -r3... Or a v1.0.1 v1.0.2 etc. All these little incremental ones that are mostly due to them being in testing. I really don't give a rat's ass about them and don't want to spend days compiling things just for one tiny little bug fix, or an ebuild fix or whatever else causes a version bump. Therefore, if I could easily look and see a flag saying, Hey! This package is now stable and is equal to or newer than the testing version you've got installed. I would be more inclined to upgrade to it, and simultaneously remove the /etc/portage/package.mask entry so I can therefore continue to be stable until the next must have feature in some package. That's it. It's quite simple really. I could go on in more depth here, but I feel like I'm just wasting everyone's time. To me, it feels like an obvious and very useful additional information to show, but maybe I'm weird. ÐÆ5ÏÐ Some people, when confronted with a problem, think 'I know, I'll use XML.' Now they have two problems. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Notices from portage
On Thursday 08 February 2007 01:58:57 Kevin O'Gorman wrote: I used to (briefly) get notices from ebuilds when I emerged them. Somewhere along the line that stopped, and I have forgotten where it was configured. Anybody got a quick hint? http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3chap=1#doc_chap4 -- Bo Andresen pgpgiFU3AJ8Lu.pgp Description: PGP signature
Re: [gentoo-user] Can someone please explain to me why these bugs are duplicates?
On Thursday 08 February 2007 02:13:10 Daevid Vincent wrote: Anyway, can you explain to me how this feature would help you at all. I really don't understand the use case for it. Only because you asked... And the short answer is [...] [SNIP] Hmm.. I guess that does make sense then. As you've noticed it's been reassigned now so the devs who would be doing the work can decide if they'll do anything about it... If anything like this happens again just CC them on the bug. -- Bo Andresen pgpx4bCVF3U15.pgp Description: PGP signature
Re: [gentoo-user] Can someone please explain to me why these bugs are duplicates?
This makes (at least) two of us (me and the OP) who don't understand the relation between the request for indication if portage wants to install a stable or testing package and the bug where in some cases portage misses that some dependencies are already provided. The feature the OP requests would be helpful in a situation like this: The user wants a stable system. The user wants a package with features available only in the testing/masked ...newer version. In order to get those features the user un-keywords the package in question. After some time portage wants to upgrade that package. Now. The user doesn't want to upgrade the testing version with another testing version but prefers to revert back to a stable version providing the features (s)he needs. Here would come the use of this feature which would indicate what kind of package (stable or not) portage wants to install as an upgrade. As already mentioned in this thread the workaround is to un-keyword a concrete version, not the whole package. Btw the bug is reopened by another developer who also thinks it is not a duplicate. Lets see if such a feature would appear after some time. ;-) -- Best regards, Daniel -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Can someone please explain to me why these bugs are duplicates?
On Thursday 08 February 2007, Daevid Vincent wrote: I run a mixed environment of stable and testing -- as do most people. Often I run a testing (~x86) package b/c I need a feature that isn't available in the stable version. I would prefer to be all stable, but life is not so kind in the land of Gentoo. And marking packages stable with any regularity seems to be an exercise in patience and nagging and bug requests and waiting and ... So then when I do an emerge world, there are sometimes hundreds of packages. All nickel and diming me to death. Like a -r1 -r2 -r3... Or a v1.0.1 v1.0.2 etc. All these little incremental ones that are mostly due to them being in testing. I really don't give a rat's ass about them and don't want to spend days compiling things just for one tiny little bug fix, or an ebuild fix or whatever else causes a version bump. Therefore, if I could easily look and see a flag saying, Hey! This package is now stable and is equal to or newer than the testing version you've got installed. I would be more inclined to upgrade to it, and simultaneously remove the /etc/portage/package.mask entry so I can therefore continue to be stable until the next must have feature in some package. Instead of keywording a package you should keyword a specific version (including a revision if you will) This way there will be no upgrades unless that package goes stable. The tools are there, you just haven't used them correctly :) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Open Office 2.0.4 and fonts
Adrian wrote: Greetings; I just upgraded Open Office from 2.0.3 to 2.0.4 (yes, I'm behind). Now, I can't use any of the fonts other than the ones which come with Open Office. All my existing fonts which I added were being substituted with other fonts. Have you tried deleting ~/ooo-2.0/user/psprint/pspfontcache and then restarting OOO? It's been a while since I fooled around with OOO fonts, so my memory is fuzzy. I seem to have convinced OOO to pick up 2745 fonts, judging from the length of pspfontcache. (More than ~3000 fonts and the startup times become unbearably long.) I converted all my OpenType fonts to TrueType with the following script: #! /bin/env fontforge # Quick and dirty hack: converts a font to truetype (.ttf), works only # with one font. # Use in a bash loop like this: #for font in *.otf ; do # fontforge -script otf2ttf $font #done # Print(Opening +$1); Open($1); Print(Saving +$1:r+.ttf); Generate($1:r+.ttf); Quit(0); I believe that this script works with Type 1 (PostScript) fonts as well, despite what the comments say. (You'll have to change bash loop, though to pick up *.pfb or *.pfa??? files.) Hope this helps... --- Vladimir media-gfx/fontforge Available versions: 20050502 (~)20050624 (~)20060406 (~)20060408 (~)20060703 20060703-r1 (~)20060822 (~)20061014 (~)20061014-r1 (~)20061025 (~)20061220 Installed versions: Version: 20061220 Date:01:16:42 12/26/06 USE: X gif jpeg png svg -tiff truetype unicode Best versions/slot: (~)20061220 Homepage:http://fontforge.sourceforge.net/ Description: postscript font editor and converter License: BSD -- Vladimir G. Ivanovic +1 650 678 8014 -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: _syscallX isn't in linux-headers-2.6.20 ??
On Thu, Feb 08, 2007 at 10:23:09AM +0930, Iain Buchanan wrote: Hi all, I'm trying to use: _syscall3(int, ioprio_set, int, which, int, who, int, ioprio); _syscall2(int, ioprio_get, int, which, int, who); and supposedly I just #include linux/unistd.h but I'm getting these error from gcc: error: syntax error before ioprio_set warning: data definition has no type or storage class error: syntax error before ioprio_get warning: data definition has no type or storage class Hi, It would be helpful to provide us with the failing code as we have no clue what you could be doing wrong. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: _syscallX isn't in linux-headers-2.6.20 ??
On Thu, 2007-02-08 at 16:10 +1100, Christian Marie wrote: On Thu, Feb 08, 2007 at 10:23:09AM +0930, Iain Buchanan wrote: Hi all, I'm trying to use: _syscall3(int, ioprio_set, int, which, int, who, int, ioprio); _syscall2(int, ioprio_get, int, which, int, who); and supposedly I just #include linux/unistd.h but I'm getting these error from gcc: error: syntax error before ioprio_set warning: data definition has no type or storage class error: syntax error before ioprio_get warning: data definition has no type or storage class Hi, It would be helpful to provide us with the failing code as we have no clue what you could be doing wrong. sure - my question was more where has the define for _syscall2 gone?, but here is the code. It comes from /usr/src/linux/Documentation/block/ioprio.txt. I compile it with: $ gcc -o ionice ionice.c ionice.c:36: error: syntax error before ioprio_set ionice.c:36: warning: data definition has no type or storage class ionice.c:37: error: syntax error before ioprio_get ionice.c:37: warning: data definition has no type or storage class --begin ionice.c-- // // Sample ionice utility copied from // /usr/src/linux/Documentation/block/ioprio.txt from gentoo kernel version // 2.6.19-suspend2-r1. Probably (C) Jens Axboe [EMAIL PROTECTED] and GPL'd? // #include stdio.h #include stdlib.h #include errno.h #include getopt.h #include unistd.h #include sys/ptrace.h extern int sys_ioprio_set(int, int, int); extern int sys_ioprio_get(int, int); #if defined(__i386__) #define __NR_ioprio_set 289 #define __NR_ioprio_get 290 #elif defined(__ppc__) #define __NR_ioprio_set 273 #define __NR_ioprio_get 274 #elif defined(__x86_64__) #define __NR_ioprio_set 251 #define __NR_ioprio_get 252 #elif defined(__ia64__) #define __NR_ioprio_set 1274 #define __NR_ioprio_get 1275 #else #error Unsupported arch #endif int ioprio_get(int which, int who); int ioprio_set(int which, int who, int ioprio); _syscall3(int, ioprio_set, int, which, int, who, int, ioprio); _syscall2(int, ioprio_get, int, which, int, who); enum { IOPRIO_CLASS_NONE, IOPRIO_CLASS_RT, IOPRIO_CLASS_BE, IOPRIO_CLASS_IDLE, }; enum { IOPRIO_WHO_PROCESS = 1, IOPRIO_WHO_PGRP, IOPRIO_WHO_USER, }; #define IOPRIO_CLASS_SHIFT 13 const char *to_prio[] = { none, realtime, best-effort, idle, }; int main(int argc, char *argv[]) { int ioprio = 4, set = 0, ioprio_class = IOPRIO_CLASS_BE; int c, pid = 0; while ((c = getopt(argc, argv, +n:c:p:)) != EOF) { switch (c) { case 'n': ioprio = strtol(optarg, NULL, 10); set = 1; break; case 'c': ioprio_class = strtol(optarg, NULL, 10); set = 1; break; case 'p': pid = strtol(optarg, NULL, 10); break; } } switch (ioprio_class) { case IOPRIO_CLASS_NONE: ioprio_class = IOPRIO_CLASS_BE; break; case IOPRIO_CLASS_RT: case IOPRIO_CLASS_BE: break; case IOPRIO_CLASS_IDLE: ioprio = 7; break; default: printf(bad prio class %d\n, ioprio_class); return 1; } if (!set) { if (!pid argv[optind]) pid = strtol(argv[optind], NULL, 10); ioprio = ioprio_get(IOPRIO_WHO_PROCESS, pid); printf(pid=%d, %d\n, pid, ioprio); if (ioprio == -1) perror(ioprio_get); else { ioprio_class = ioprio IOPRIO_CLASS_SHIFT; ioprio = ioprio 0xff; printf(%s: prio %d\n, to_prio[ioprio_class], ioprio); } } else { if (ioprio_set(IOPRIO_WHO_PROCESS, pid, ioprio | ioprio_class IOPRIO_CLASS_SHIFT) == -1) { perror(ioprio_set); return 1; } if (argv[optind]) execvp(argv[optind], argv[optind]); } return 0; } --end ionice.c-- thanks, -- Iain Buchanan iaindb at netspace dot net dot au Progress might have been all right once, but it's gone on too long. -- Ogden Nash -- gentoo-user@gentoo.org mailing list