Re: [gentoo-user] USB mobile phone connection..
On Tue, 1 Nov 2005 20:55:09 -0500, James Hiscock wrote: When my phone's initially plugged in, the USB View list shows it as 22b8:4902. If I click the Switch to P2K button, I see a message in the main window that says that my phone's unplugged. If I update the USB View again, the phone shows up as 22b8:4901. If I click the Switch to P2K button yet _again_, I see [info] Phone pluged as P2K (the typo's in the program shrug) -- this is the magic message. ;) I've just tried to use moto4lin with a Motorola Razr. It starts as with yours, but when I click Switch to P2K, /dev/ttyACM0 disappears! nothing works after that until I disconnect and reconnect the phone, at which point I am back in AT mode and it all starts again. -- Neil Bothwick OPERATOR ERROR: Nyah, Nyah, Nyah, Nyah, Nyah! signature.asc Description: PGP signature
Re: [gentoo-user] USB mobile phone connection..
I've just tried to use moto4lin with a Motorola Razr. It starts as with yours, but when I click Switch to P2K, /dev/ttyACM0 disappears! nothing works after that until I disconnect and reconnect the phone, at which point I am back in AT mode and it all starts again. That's what was happening for me for several hours until it magically started working... I honestly don't know what the heck changed. But once it decided to work, it works consistently. There's a note in the moto4lin wiki specifically for Razr phones (http://moto4lin.sourceforge.net/wiki/Razr_V3) that says that it's inconsistent, and you may need to run echo AT+MODE=8 /dev/ttyACM0 When I was doing that last night on my laptop, the first time would work, and the second time it removed the device... I honestly don't know what the heck is going on with this program, but it _is_ a pretty early release... shrug There isn't much info for the C380 in the wiki, other than the settings that should be used (which are the defaults)... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] -mtune for P4M (dothan)
WRONG! dothan is not a P4M, it is a Pentium-M, like the previous, 1mb 2nd level cache version. So you should apply the pentium3 + sse options for gcc 3.3, or -march=pentium-m for gcc 3.4 and upper. The pentium4m is just a cut-down version of pentium4. Alle Tuesday 1 November 2005 16:09, Qian Qiao ha scritto: Hi, Trying to install gentoo on a notebook with a P4M (dothan), wondering what -mtune should I go for, the GCC manual says: pentium-m Low power version of Intel Pentium3 CPU with MMX, SSE and SSE2 instruction set support. Used by Centrino notebooks. pentium4, pentium4m Intel Pentium4 CPU with MMX, SSE and SSE2 instruction set support. So shall I choose pentium-m? or pentium4m? TIA -- Joe -- There are 3 kinds of people in the world: Those who can count, and those who can't. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] USB mobile phone connection..
On Wed, 2 Nov 2005 06:40:11 -0500, James Hiscock wrote: That's what was happening for me for several hours until it magically started working... I honestly don't know what the heck changed. But once it decided to work, it works consistently. The only thing more annoying than that happening to you, it when it happens for someone else and doesn't work at all for you :( There's a note in the moto4lin wiki specifically for Razr phones (http://moto4lin.sourceforge.net/wiki/Razr_V3) that says that it's inconsistent, and you may need to run echo AT+MODE=8 /dev/ttyACM0 When I was doing that last night on my laptop, the first time would work, and the second time it removed the device... I tried that, but it removed the device every time. I also tried running kmobiletools as it said in the wiki. kmobiletools works fine, but makes no difference to moto4lin. I'll try to get some more information on this problem and post it on the moto4lin site. -- Neil Bothwick Why isn't phonetically spelled that way? signature.asc Description: PGP signature
Re: [gentoo-user] what made portage go fast again?
Hello everyone! Benno Schulenberg wrote: Today the updating of the portage cache was real quick -- something like a minute, instead of the ten minutes it used to take during the past month or so. What has changed? Okay. I'm not sure what you people are talking about here. My box (portage-2.0.53_rc7) takes forever to update cache. What version are you running? -- Norberto Bensa 4544-9692 Ciudad de Buenos Aires, Argentina -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge --sync
I just done another sync and the error is gone. If you have not re-synced yet, you should be able to do so and clear up that error. Dale -- To err is human, I'm most certainly human. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] what made portage go fast again?
Norberto Bensa wrote: Hello everyone! Okay. I'm not sure what you people are talking about here. My box (portage-2.0.53_rc7) takes forever to update cache. What version are you running? I'm running version 2.0.51.22-r3. It has something to do with a file that it gets when it syncs I think. I have not seen a update to portage, the program itself, since it started slowing down. If you sync up it should correct itself. I may be wrong in that though. I'm just a lowly user here. You can use that du -s command I listed earlier, it helps a lot. Since you are a ways off, you may want to try a US rsync and see if that helps. I don't know how long it takes to filter it around the world. Dale -- To err is human, I'm most certainly human. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] USB mobile phone connection..
Hi James, Thanks for going to all the trouble of testing out the phone operation on your SuSE machine. I havn't had any breakthrough yet, but your help has given me the confidence to persevere.. On Wed, Nov 02, 2005 at 06:40:11AM -0500, James Hiscock wrote: I've just tried to use moto4lin with a Motorola Razr. It starts as with yours, but when I click Switch to P2K, /dev/ttyACM0 disappears! nothing works after that until I disconnect and reconnect the phone, at which point I am back in AT mode and it all starts again. That's what was happening for me for several hours until it magically started working... I honestly don't know what the heck changed. But once it decided to work, it works consistently. It also sounds very much like what I am seeing. My /dev/usb/acm/0 disappears the first time it is accessed (either by moto4lin or by just echoing anything to it), followed by a message along the lines of usb 1-1: USB disconnect, address 17 in /var/log/messages So far I havn't managed to get it into a mode where it works more sucessfully. I have noticed that on connection I sometimes get: usb 1-1: new full speed USB device using uhci_hcd and address 5 usb 1-1: device descriptor read/64, error -71 usb 1-1: device descriptor read/64, error -71 usb 1-1: new full speed USB device using uhci_hcd and address 6 cdc_acm 1-1:1.0: ttyACM0: USB ACM device whereas on other occasions I get: usb 1-1: new full speed USB device using uhci_hcd and address 16 usb 1-1: device descriptor read/64, error -71 usb 1-1: device descriptor read/64, error -71 usb 1-1: new full speed USB device using uhci_hcd and address 17 usb 1-1: device descriptor read/64, error -71 cdc_acm 1-1:1.0: ttyACM0: USB ACM device ie sometimes 2 descriptor read failures, sometimes 3. so perhaps there is something a bit flakey in there that at some point might just start working. Anyone else seen these sort of error messages on plug-in? I'm really not sure what they are telling me. I can't even find the error message in the source. The closest I have found is in linux/drivers/usb/core/hub.c: dev_err(udev-dev, device descriptor read/%s, error %d\n, all, retval); but the '%s' seems hard wired to produce the string all rather than 64, unless dev_err is doing something funny with its 3rd arg. There's a note in the moto4lin wiki specifically for Razr phones (http://moto4lin.sourceforge.net/wiki/Razr_V3) that says that it's inconsistent, and you may need to run echo AT+MODE=8 /dev/ttyACM0 When I was doing that last night on my laptop, the first time would work, and the second time it removed the device... I honestly don't know what the heck is going on with this program, but it _is_ a pretty early release... shrug I get the device disappearing every time I attempt this. My gut feeling is that the problem has nothing to do with moto4lin. After all, when I am using echo it isn't even running. I suspect it is more a compatability issue between the Linux USB/ACM code and the Motorola gadget code. There isn't much info for the C380 in the wiki, other than the settings that should be used (which are the defaults)... Yes, although it is listed as one of the models that work, so I assume somebody must have managed to get it to go. I still have to try tweaking the kernel USB related config parameters, but if that doesn't help, I suspect I am going to have to bite the bullet and try and find my way around the USB driver code. Anybody know of any good references on USB protocols and drivers? Regards, DigbyT -- Digby R. S. Tarvin [EMAIL PROTECTED] http://www.digbyt.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge xmlto ERROR: app-text/xmlto-0.0.18 failed.
Dale wrote: If it is not there, what is trying to pull it in? This is weird. That k3d thing is not installed either. Dale :-) Well, I had a brain storm, it happens sometimes LOL, and I found this little thing: [EMAIL PROTECTED] / # equery -C depends xmlto [ Searching for packages depending on xmlto... ] sys-kernel/gentoo-sources-2.6.12-r10 [EMAIL PROTECTED] / # Why does the kernel need xmlto? It seems to work without it. Anyway around this? I do need to hang onto my kernel stuff though. LOL It sort of needs that when I boot up. O_O I may have to make a new one some day. Sorry if I buggered that command a bit, but it did work OK. I'm learning. Hang in there with me. ;) Dale -- To err is human, I'm most certainly human. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge --sync
I find that temporarily putting a line: FEATURES=-strict in your make.conf usually gets around this problem. hi, got this error not the first time, shouldnt there be a sync option to sync part of portage not the whole thingy? 002617 !!! Digest verification Failed: 002618 !!!/usr/portage/dev-python/pyrex/pyrex-0.9.3.1.ebuild 002619 !!! Reason: Filesize does not match recorded size 002620 002621 Please ensure you have sync'd properly. Please try 'emerge sync' and 002622 optionally examine the file(s) for corruption. A sync will fix most cases. martins -- Linux 2.6.13 AMD Athlon(tm) 64 Processor 3200+ 09:08:42 up 23 min, 4 users, load average: 0.18, 0.31, 0.57 -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge xmlto ERROR: app-text/xmlto-0.0.18 failed.
Hi, On Wed, 02 Nov 2005 06:47:10 -0600 Dale [EMAIL PROTECTED] wrote: Why does the kernel need xmlto? It seems to work without it. in order to build documentation. Remove the doc USE flag if you don't want it to. -hwh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge --sync
On 11/2/05, Martins Steinbergs [EMAIL PROTECTED] wrote: hi, got this error not the first time, shouldnt there be a sync option to sync part of portage not the whole thingy? 002617 !!! Digest verification Failed: 002618 !!!/usr/portage/dev-python/pyrex/pyrex-0.9.3.1.ebuild 002619 !!! Reason: Filesize does not match recorded size 002620 002621 Please ensure you have sync'd properly. Please try 'emerge sync' and 002622 optionally examine the file(s) for corruption. A sync will fix most cases. You can either wait for a re-sync, or do a:- # ebuild /path/to/the/ebuild digest -- Joe -- There are 3 kinds of people in the world: Those who can count, and those who can't. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge xmlto ERROR: app-text/xmlto-0.0.18 failed.
Hans-Werner Hilse wrote: Hi, in order to build documentation. Remove the doc USE flag if you don't want it to. -hwh So the Kernel has documentation or is this the little help screen in menuconfig? I need that help screen. I don't know what half that stuff is even with the help. Don't they have a new thing that we can override the USE for specific packages in /etc/portage? This would be a good time to use it if it is not the help screen. Maybe that was a future feature I was reading about. Dale -- To err is human, I'm most certainly human. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge xmlto ERROR: app-text/xmlto-0.0.18 failed.
Dale wrote: So the Kernel has documentation Yes. or is this the little help screen in menuconfig? No, that's not affected by USE=doc. Don't they have a new thing that we can override the USE for specific packages in /etc/portage? Yes. /etc/portage/package.use Syntax: category/pkgflags eg. net-ftp/lftpgnutls nls -socks5 ssl Alexander Skwar -- Men of quality are not afraid of women for equality. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge --sync
Qian Qiao schreef: On 11/2/05, Martins Steinbergs [EMAIL PROTECTED] wrote: 002617 !!! Digest verification Failed: 002618 !!! /usr/portage/dev-python/pyrex/pyrex-0.9.3.1.ebuild 002619 !!! Reason: Filesize does not match recorded size 002620 002621 Please ensure you have sync'd properly. Please try 'emerge sync' and 002622 optionally examine the file(s) for corruption. A sync will fix most cases. You can either wait for a re-sync, or do a:- # ebuild /path/to/the/ebuild digest That's true, but redigesting official Portage files manually is a *very* bad habit to get into, and I would strongly recommend against it. The whole point of Portage's digesting and digest verification is to ensure/verify that the files you have received have not been tampered with/contain no errors. If the official digest doesn't match the file, *something is wrong*, and unless you (generic 'you') happen to be in a position to know what that is, and because you know, you can safely override Portage (which is what a manual digest does), you in fact cannot safely override Portage, and should not do so. Patience is a virtue. Wait, and sync again, for official files. Overlay files are a different story. For all you know, the 'problem' is that the mirrors have not finished syncing yet, and you only have half the distfile/the wrong distfile. So when you attempt to emerge, the emerge will fail because there's actually something wrong with the tarball, and then you've screwed your digest and have to sync again anyway to fix it, and you didn't get any result anyway (the app has not emerged). Just wait. Portage fixes itself pretty quick. Holly -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] -mtune for P4M (dothan)
In other words: pentium4m is for the mobile version of the Pentium 4; see http://www.intel.com/products/processor/mobilepentium4/ Pentium-m is for the Pentium M series, a completely different processor from the Pentium 4 series. See http://www.intel.com/products/processor/pentiumm/index.htm -Original Message- From: Luca Botti [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 02, 2005 7:45 AM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] -mtune for P4M (dothan) WRONG! dothan is not a P4M, it is a Pentium-M, like the previous, 1mb 2nd level cache version. So you should apply the pentium3 + sse options for gcc 3.3, or -march=pentium-m for gcc 3.4 and upper. The pentium4m is just a cut-down version of pentium4. Alle Tuesday 1 November 2005 16:09, Qian Qiao ha scritto: Hi, Trying to install gentoo on a notebook with a P4M (dothan), wondering what -mtune should I go for, the GCC manual says: pentium-m Low power version of Intel Pentium3 CPU with MMX, SSE and SSE2 instruction set support. Used by Centrino notebooks. pentium4, pentium4m Intel Pentium4 CPU with MMX, SSE and SSE2 instruction set support. So shall I choose pentium-m? or pentium4m? TIA -- Joe -- There are 3 kinds of people in the world: Those who can count, and those who can't. -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
[gentoo-user] Old devfs files in /etc
Hi, I switched to udev a while back and have some old devfs files left in /etc. Here is a list: /etc/devfs.d /etc/devfs.d/.keep /etc/modules.devfs.256 /etc/config-archive/etc/udev/scripts/ide-devfs.sh /etc/config-archive/etc/udev/scripts/ide-devfs.sh.dist /etc/modprobe.devfs /etc/modprobe.devfs.256 /etc/modprobe.devfs.old /etc/modules.devfs /etc/devfsd.conf Can I get rid of these files and not kill anything? I already unmerged devfsd though. It just doesn't get rid of the config files. It would be nice of there was a option to tell it too. Thanks, Dale -- To err is human, I'm most certainly human. -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] -mtune for P4M (dothan)
Just noticed: it seems that Intel has two pages for their mobile version of the Pentium 4. shrug This is the second one, and (guessing by the name) is probably what the flag is really for: http://www.intel.com/products/processor/pentium4-m/index.htm -Original Message- From: Patrick Watson [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 02, 2005 8:36 AM To: gentoo-user@lists.gentoo.org Subject: RE: [gentoo-user] -mtune for P4M (dothan) In other words: pentium4m is for the mobile version of the Pentium 4; see http://www.intel.com/products/processor/mobilepentium4/ Pentium-m is for the Pentium M series, a completely different processor from the Pentium 4 series. See http://www.intel.com/products/processor/pentiumm/index.htm -Original Message- From: Luca Botti [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 02, 2005 7:45 AM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] -mtune for P4M (dothan) WRONG! dothan is not a P4M, it is a Pentium-M, like the previous, 1mb 2nd level cache version. So you should apply the pentium3 + sse options for gcc 3.3, or -march=pentium-m for gcc 3.4 and upper. The pentium4m is just a cut-down version of pentium4. Alle Tuesday 1 November 2005 16:09, Qian Qiao ha scritto: Hi, Trying to install gentoo on a notebook with a P4M (dothan), wondering what -mtune should I go for, the GCC manual says: pentium-m Low power version of Intel Pentium3 CPU with MMX, SSE and SSE2 instruction set support. Used by Centrino notebooks. pentium4, pentium4m Intel Pentium4 CPU with MMX, SSE and SSE2 instruction set support. So shall I choose pentium-m? or pentium4m? TIA -- Joe -- There are 3 kinds of people in the world: Those who can count, and those who can't. -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge xmlto ERROR: app-text/xmlto-0.0.18 failed.
Dale schreef: Hans-Werner Hilse wrote: in order to build documentation. Remove the doc USE flag if you don't want it to. So the Kernel has documentation or is this the little help screen in menuconfig? I need that help screen. I don't know what half that stuff is even with the help. Don't they have a new thing that we can override the USE for specific packages in /etc/portage? This would be a good time to use it if it is not the help screen. Maybe that was a future feature I was reading about. No, the doc USE flag is extra documentation, useflag doc /usr/portage/profiles/use.desc:doc - Adds extra documentation (API, Javadoc, etc) the 'help' screen you're talking about is part of the kernel. Removing it doesn't remove internal help, like the kernel help, or man and info pages-- those are *required*, and options subject to USE flags are *optional*. But if it will help, I don't use the doc flag either: [ebuild NS ] sys-kernel/gentoo-sources-2.6.14 -build -doc +symlink (-ultra1) 38,399 kB And my kernel help works fine. And what you're talking about w.r.t the overriding of USE flags is not 'a new thing' (though it may be new to you :-) ), it's a Portage feature. You can create a file, called /etc/portage/package.use, which contains such overrides; here's a snippet of mine: sys-libs/glibc userlocales erandom glibc-compat20 glibc-omitfp linuxthreads-tls www-client/kazehakase-cvs estraier firefox thumbnail www-client/mozilla-firefox mozsvg mozxmlterm www-client/mozilla moznocompose moznoirc moznomail mozp3p mozplaintext mozsvg mozxmlterm www-client/galeon firefox mail-client/mozilla-thunderbird mozplaintext mail-client/sylpheed-claws clamav dillo media-video/gxine -mozilla dev-libs/gmime mono dev-python/gnome-python-extras mozilla net-libs/gecko-sdk mozsvg mozdevelop dev-java/blackdown-jre mozilla dev-java/blackdown-jdk mozilla dev-java/sun-jre-bin mozilla Read man portage for more details. In any case, this feature allows you to override the USE flags for specific packages, while leaving the flag active for the rest of the packages that may use it. So if I was someone who actually used the mozilla USE flag generally (it was + in /etc/make.conf), gxine would build without it, but other programs that use it would still build with it, because I only overrode /etc/make.conf with respect to gxine, not all other programs-- and in fact all my java installs and gnome-python extras will be built with the flag active (because I specified that, too). Keeps one from clogging up /etc/make.conf with anything but the essentials (truly global settings). Read man portage for more details; it's a wealth of information. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Old devfs files in /etc
Dale schreef: Hi, I switched to udev a while back and have some old devfs files left in /etc. Here is a list: /etc/devfs.d /etc/devfs.d/.keep /etc/modules.devfs.256 /etc/config-archive/etc/udev/scripts/ide-devfs.sh /etc/config-archive/etc/udev/scripts/ide-devfs.sh.dist /etc/modprobe.devfs /etc/modprobe.devfs.256 /etc/modprobe.devfs.old /etc/modules.devfs /etc/devfsd.conf Can I get rid of these files and not kill anything? I already unmerged devfsd though. It just doesn't get rid of the config files. It would be nice of there was a option to tell it too. There is, of course, an option to tell it to; you just don't know about it :-) . You might want to have a closer look at the Gentoo Documentation pages, most specifically Gentoo Linux Documentation -- Environment Variables at http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2chap=5 . In any case, the deal is configuration files are protected by default. That means that when you unmerge a program (or merge a new version of the same program), the configuration files will not be automatically overwritten (or deleted, for that matter). This saves you trouble, because it doesn't screw up your config, if you later reinstall the program, or when you update a program that had a complex configuration. However, it also means that things such as what happened to you can happen (config files that you want deleted don't get deleted automatically). But the thing is, such files are important enough that they shouldn't be just deleted like it's nothing. That's the Gentoo design and the Gentoo way; an action like deleting /etc/devfsd can have sweeping consequences if the system is not prepared to pick up the ball with udev-- forcing you to delete it manually is both a way of making sure that you know you did it, and also making sure you know what you're doing before you do it (90% of the users ask the list before taking any action, which is fine-- we *want* people to know what they're doing and have a healthy respect for their own power to bork their system, so good you ask first!) In any case, yes you can override the setting (of *course*, this is Gentoo!) to delete certain (or all) protected files after an unmerge of various programs; but now you have to look up how to do that, and that means you have to read a bit about the consequences of your proposed action before taking it (since you don't know how to take it before you read a bit), and then you have a much better chance of not doing something that's going to come back and bite you in the butt later, but will instead make your system more effective for your usage pattern for the future. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] -mtune for P4M (dothan)
On 11/2/05, Patrick Watson [EMAIL PROTECTED] wrote: Just noticed: it seems that Intel has two pages for their mobile version of the Pentium 4. shrug This is the second one, and (guessing by the name) is probably what the flag is really for: http://www.intel.com/products/processor/pentium4-m/index.htm Hmmm, it looks like dothan should be a pentium-m. Thanks to everybody replied. -- Joe -- There are 3 kinds of people in the world: Those who can count, and those who can't. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge xmlto ERROR: app-text/xmlto-0.0.18 failed.
Holly Bostick wrote: the 'help' screen you're talking about is part of the kernel. Removing it doesn't remove internal help, like the kernel help, or man and info pages-- those are *required*, and options subject to USE flags are *optional*. But if it will help, I don't use the doc flag either: [ebuild NS ] sys-kernel/gentoo-sources-2.6.14 -build -doc +symlink (-ultra1) 38,399 kB And my kernel help works fine. And what you're talking about w.r.t the overriding of USE flags is not 'a new thing' (though it may be new to you :-) ), it's a Portage feature. It is new to me, I had to create it. You can create a file, called /etc/portage/package.use, which contains such overrides; here's a snippet of mine: snip dev-java/blackdown-jdk mozilla dev-java/sun-jre-bin mozilla Thanks for the examples. *That* helps me a lot. Reading man pages without examples does very little if anything at all for me. I learn by doing or seeing examples and understanding how they work and what they mean. For those that need to see it in use like me, I added this to my /etc/portage/package.use file: sys-kernel/gentoo-sources -doc I then emerged gentoo-sources which was trying to pull in xmlto in the first place. It installed with no errors and xmlto is no longer needed. Thanks for the help guys, and Holly. I assume Holly is the only lady in the house. o_O Dale -- To err is human, I'm most certainly human. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] -mtune for P4M (dothan)
After going through the GCC docs, i've decided to use: -march=pentium3 -mmmx -msse -msse2. -- Joe -- There are 3 kinds of people in the world: Those who can count, and those who can't. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge xmlto ERROR: app-text/xmlto-0.0.18 failed.
Dale wrote: For those that need to see it in use like me, I added this to my /etc/portage/package.use file: sys-kernel/gentoo-sources -doc In your file, do you also have those in front of the sys-kernel? If so - you shouldn't have them there. Thanks for the help guys, and Holly. I assume Holly is the only lady in the house. o_O :) Alexander Skwar -- Men of quality are not afraid of women for equality. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Old devfs files in /etc
Holly Bostick wrote: There is, of course, an option to tell it to; you just don't know about it :-) . You're kidding right. Something that I don't know about, yea right. LOL LOL Treat me like a sponge, I'm absorbing your knowledge, I hope anyway. I have been using Gentoo a while and have a little understanding of how it works but not much. I just know it is better than winders. You might want to have a closer look at the Gentoo Documentation pages, most specifically Gentoo Linux Documentation -- Environment Variables at http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2chap=5 . That link didn't make sense. That the right chapter? May just be me. LOL In any case, the deal is configuration files are protected by default. That means that when you unmerge a program (or merge a new version of the same program), the configuration files will not be automatically overwritten (or deleted, for that matter). This saves you trouble, because it doesn't screw up your config, if you later reinstall the program, or when you update a program that had a complex configuration. However, it also means that things such as what happened to you can happen (config files that you want deleted don't get deleted automatically). It is no suprise that I didn't know about it, yet. I did a man emerge and didn't see it. Is it a newer version that I don't have yet? I run stable packages. But the thing is, such files are important enough that they shouldn't be just deleted like it's nothing. That's the Gentoo design and the Gentoo way; an action like deleting /etc/devfsd can have sweeping consequences if the system is not prepared to pick up the ball with udev-- forcing you to delete it manually is both a way of making sure that you know you did it, and also making sure you know what you're doing before you do it (90% of the users ask the list before taking any action, which is fine-- we *want* people to know what they're doing and have a healthy respect for their own power to bork their system, so good you ask first!) I have been running udev for a while and it seems to be working fine. Time for devfs to go. In any case, yes you can override the setting (of *course*, this is Gentoo!) to delete certain (or all) protected files after an unmerge of various programs; but now you have to look up how to do that, and that means you have to read a bit about the consequences of your proposed action before taking it (since you don't know how to take it before you read a bit), and then you have a much better chance of not doing something that's going to come back and bite you in the butt later, but will instead make your system more effective for your usage pattern for the future. Holly I cheat. When I know I am about to delete some config files that I worry about, I back-up my /etc directory. I save it until I reboot a few times just to make sure. Smart huh? Thanks for the help. Dale -- To err is human, I'm most certainly human. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge xmlto ERROR: app-text/xmlto-0.0.18 failed.
On Wed, 02 Nov 2005 08:32:50 -0600, Dale wrote: Thanks for the examples. *That* helps me a lot. Reading man pages without examples does very little if anything at all for me. I learn by doing or seeing examples and understanding how they work and what they mean. man portage is full of examples, such as: package.use Per-package USE flags. Useful for tracking local USE flags or for enabling USE flags for certain packages only. Perhaps you develop GTK and thus you want documentation for it, but you don't want docu- mentation for QT. Easy as pie my friend! Format: - comments begin with # - one DEPEND atom per line with space-delimited USE flags Example: # turn on docs for GTK 2.x =x11-libs/gtk+-2* doc # disable mysql support for QT x11-libs/qt -mysql -- Neil Bothwick Run with scissors. Remove mattress tags. Top post. Be a rebel. signature.asc Description: PGP signature
Re: [gentoo-user] -mtune for P4M (dothan)
i would suggest the move to gcc3.4. Apart from architecture support, you will get an ABI C++ compatibility with gcc4. Alle Wednesday 2 November 2005 14:35, Qian Qiao ha scritto: After going through the GCC docs, i've decided to use: -march=pentium3 -mmmx -msse -msse2. -- Joe -- There are 3 kinds of people in the world: Those who can count, and those who can't. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] MySQL Upgrade
On Tuesday 01 November 2005 04:58 pm, C. Beamer wrote: A better description would have been that the restore worked. However, the only database that was restored was the test database. The database that I had created by creating a directory that was named after the database that I had created when using FC4 and then copying my database related files into it, did not back up. Hence my assumption that because the database was *not* created in MySQL under Gentoo, perhaps this was the reason that the backup did not pick up (for lack of a better description) this database. How were you backing/restoring it from, if you were not using mysqldump then? I have done the above several times, and its always backed it up. Trying to figure out what went wrong here.. Jeff pgpkOmlu9v1bI.pgp Description: PGP signature
Re: [gentoo-user] emerge xmlto ERROR: app-text/xmlto-0.0.18 failed.
Alexander Skwar wrote: Dale wrote: sys-kernel/gentoo-sources-doc In your file, do you also have those in front of the sys-kernel? If so - you shouldn't have them there. There is no , or = in there. I copy and paste all I can because my typing sucks. I type slow and it still sucks. :( Alexander Skwar At least now anybody reading this will not make the mistake though. Thanks again. Dale -- To err is human, I'm most certainly human. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] -mtune for P4M (dothan)
Qian Qiao wrote: After going through the GCC docs, i've decided to use: -march=pentium3 -mmmx -msse -msse2. I don't really recommend that. A few things may have compile errors if you globally use -mmmx, -msse, and -msse2. Instead, I suggest you set the mmx and sse USE flags, and let portage add those CFLAGS for those packages where it actually makes a difference and is supported. Also, don't forget -fomit-frame-pointer and -pipe. -Richard -- gentoo-user@gentoo.org mailing list
[gentoo-user] KDE GUI for network settings
I have a KDE desktop on one of my machines, and noticed I couldn't find any GUI interface to manage the IP address and related configurations for the 2 ethernet cards on the box. I have installed kdenetworks, but still don't see anything. What do I need to install/enable/locate on my system to manage eth0 and eth1 from the GUI? Thanks! -- Mark[unwieldy legal disclaimer would go here - feel free to type your own]
[gentoo-user] file with IP?
Anyone knows whether the current (dynamical) IP is stored in some text file? I know I can find the IP with ifconfig, but if the value were stored in some file I could setup a service to monitor the file for changes and take appropriate actions on change of IP. -- Jorge Almeida -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Old devfs files in /etc
Dale schreef: Holly Bostick wrote: There is, of course, an option to tell it to; you just don't know about it :-) . You're kidding right. Something that I don't know about, yea right. LOL LOL Treat me like a sponge, I'm absorbing your knowledge, I hope anyway. I have been using Gentoo a while and have a little understanding of how it works but not much. I just know it is better than winders. You might want to have a closer look at the Gentoo Documentation pages, most specifically Gentoo Linux Documentation -- Environment Variables at http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2chap=5 . That link didn't make sense. That the right chapter? May just be me. LOL From the link; under Important Examples CONFIG_PROTECT This variable contains a space-delimited list of directories which should be protected by Portage during updates . CONFIG_PROTECT_MASK This variable contains a space-delimited list of directories which should not be protected by Portage during updates. From man make.conf, under variables: CONFIG_PROTECT = [space delimited list of dirs] All directories that are defined here will have config file protection enabled for them. For more information, please see `emerge --help config`. CONFIG_PROTECT_MASK = [space delimited list of dirs] All directories that are defined here will have config file protection disabled for them. For more information, please see `emerge --help config`. In any case, the deal is configuration files are protected by default. And the CONFIG_PROTECT and CONFIG_PROTECT_MASK variables are how it's done. snip It is no suprise that I didn't know about it, yet. I did a man emerge and didn't see it. Is it a newer version that I don't have yet? I run stable packages. Did I say man emerge? I meant man portage... oops, wrong again, should be man make.conf. But the thing is, such files are important enough that they shouldn't be just deleted like it's nothing. That's the Gentoo design and the Gentoo way; an action like deleting /etc/devfsd can have sweeping consequences if the system is not prepared to pick up the ball with udev-- forcing you to delete it manually is both a way of making sure that you know you did it, and also making sure you know what you're doing before you do it (90% of the users ask the list before taking any action, which is fine-- we *want* people to know what they're doing and have a healthy respect for their own power to bork their system, so good you ask first!) I have been running udev for a while and it seems to be working fine. Time for devfs to go. Indeed. It's continued presence is shortly going to start causing you problems if it hasn't already. There was a 'grace period' where they were allowed to co-exist; that grace period has ended for unstable users not long ago, and stable users with both systems installed will be seeing issued as devfs finally goes definitively from 'deprecated' to 'obsolete'. So yes, it's time for it to go. In any case, yes you can override the setting (of *course*, this is Gentoo!) to delete certain (or all) protected files after an unmerge of various programs; but now you have to look up how to do that, and that means you have to read a bit about the consequences of your proposed action before taking it (since you don't know how to take it before you read a bit) I cheat. When I know I am about to delete some config files that I worry about, I back-up my /etc directory. I save it until I reboot a few times just to make sure. Smart huh? You're one of the few I mean, it's extra work for you, and not really necessary, but better that you should do a little unneccessary extra work than bork everything. Better safe than sorry, as it were. But I'm sure you know how many computer users don't take any precautions whatsoever to protect themselves from system error, or human error. Doing so is not 'cheating', it's just good common sense. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge xmlto ERROR: app-text/xmlto-0.0.18 failed.
Neil Bothwick wrote: man portage is full of examples, such as: package.use Per-package USE flags. Useful for tracking local USE flags or for enabling USE flags for certain packages only. Perhaps you develop GTK and thus you want documentation for it, but you don't want docu- mentation for QT. Easy as pie my friend! Format: - comments begin with # - one DEPEND atom per line with space-delimited USE flags Example: # turn on docs for GTK 2.x =x11-libs/gtk+-2* doc # disable mysql support for QT x11-libs/qt -mysql Is man:emerge in Konqueror the same as man emerge in a command line? I usually do my man pages in Konqueror is why I ask. I assume they are the same. I didn't see a lot of examples like they gave in that man page. Maybe I'm getting blind. o_o I know my eyes take me a while when I first get out of bed. When I read the man in Konqueror, this was the only mention of package.use: USE variables may be specified on the command line to override those specified in the default locations, letting you avoid using some dependencies you may not want to have. USE flags specified on the command line are NOT remembered. For example, USE=-X -gnome emerge mc will emerge mc with those USE settings. If you want those USE settings to be more permanent, you can put them in /etc/portage/package.use instead. I found that with the ctrl + f find thingy. It was the only one. Am I out of date maybe or should I use the Konsole man pages? I like the sig. Top posting got me in a mess when I first came here though. Some don't like rebels I guess. ;) Dale -- To err is human, I'm most certainly human. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] file with IP?
On Wednesday 02 November 2005 09:04, Jorge Almeida wrote: Anyone knows whether the current (dynamical) IP is stored in some text file? I know I can find the IP with ifconfig, but if the value were stored in some file I could setup a service to monitor the file for changes and take appropriate actions on change of IP. man dhcpcd. there's a .cache file and a .info file...I think in /var/lib/dhcpc -- Jorge Almeida -- John Jolet Your On-Demand IT Department 512-762-0729 www.jolet.net [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge xmlto ERROR: app-text/xmlto-0.0.18 failed.
Dale schreef: There is no , or = in there. I copy and paste all I can because my typing sucks. I type slow and it still sucks. :( emerge gtypist emerge tuxtype emerge tuxtype2 emerge dvorak7min (if you happen to have a dvorak keyboard) emerge dvorakng (ditto) emerge typespeed emerge ktouch Naturally you don't need all of these, but I thought I'd list what's in Portage. I have gtypist and tuxtype2 installed, but haven't got around to scheduling them yet :-( . Isn't it nice to know you can use your computer to help you in your life? :-) Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Old devfs files in /etc
051102 Dale wrote: I switched to udev a while back and have some old devfs files left in /etc : YES/etc/devfs.d YES/etc/devfs.d/.keep N/A/etc/modules.devfs.256 N/A/etc/config-archive/etc/udev/scripts/ide-devfs.sh N/A/etc/config-archive/etc/udev/scripts/ide-devfs.sh.dist YES/etc/modprobe.devfs N/A/etc/modprobe.devfs.256 YES/etc/modprobe.devfs.old YES/etc/modules.devfs YES/etc/devfsd.conf Can I get rid of these files and not kill anything? I already unmerged devfsd. I found similar stuff lying around after going over to Udev some time ago have removed the items marked 'YES' rebooted successfully; the others (N/A) are not present in my machine. /etc/devfs.d contained svgalib , which I hadn't remerged for a while, but after merging a newer version, it didn't restore that file (and tried to remove /etc/devfs.d/svgalib , which wasn't there); I tested Mplayer (which uses Svgalib) it runs ok. As always for safety in such cases, I created a dir /etc/devfs-old , into which I moved the items I have dropped, so that I could easily restore them if there were a problem: after a few days, I'll probably remember to delete it. Holly's comments are sensible, as always, but it's a good idea to tidy things up every so often as part of understanding what's going on in your box, which is the real point of using Gentoo in the first place (smile). -- ,, SUPPORT ___//___, Philip Webb : [EMAIL PROTECTED] ELECTRIC /] [] [] [] [] []| Centre for Urban Community Studies TRANSIT`-O--O---' University of Toronto -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] file with IP?
Jorge Almeida wrote: Anyone knows whether the current (dynamical) IP is stored in some text file? I know I can find the IP with ifconfig, but if the value were stored in some file I could setup a service to monitor the file for changes and take appropriate actions on change of IP. A simple solution might be to write something in the postup() and postdown() functions in /etc/conf.d/net. For something more complicated, if you use the dhclient program from the dhcp package as your DHCP client, you can modify /etc/dhcp/dhclient-exit-hooks script to do whatever you would like whenever the DHCP client changes something (due to a release, renew, etc). I use it to dynamically setup WINS servers and DNS forwarders for whatever network I am plugged into. In this script you will have access to all DHCP options provided by the DHCP server. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] file with IP?
John Jolet wrote: On Wednesday 02 November 2005 09:04, Jorge Almeida wrote: Anyone knows whether the current (dynamical) IP is stored in some text file? I know I can find the IP with ifconfig, but if the value were stored in some file I could setup a service to monitor the file for changes and take appropriate actions on change of IP. man dhcpcd. there's a .cache file and a .info file...I think in /var/lib/dhcpc -- Jorge Almeida cat /var/lib/dhcpc/.cache /path/to/output/file -- theres another idea good lookin out -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge xmlto ERROR: app-text/xmlto-0.0.18 failed.
On Wed, 02 Nov 2005 09:12:45 -0600, Dale wrote: Neil Bothwick wrote: man portage is full of examples, such as: ~~~ [snip] Is man:emerge in Konqueror the same as man emerge in a command line? Yes. it's also the same as #man in the Alt-F2 Run command box, which is the one I usually use. I usually do my man pages in Konqueror is why I ask. I assume they are the same. I didn't see a lot of examples like they gave in that man page. that's because while man emerge, man:emerge and #emerge are all equivalent, none of them give the information in the *portage* man page :) -- Neil Bothwick He who laughs last thinks slowest! signature.asc Description: PGP signature
Re: [gentoo-user] file with IP?
You can also poll the ip by doing an ifconfig and parsing its output inside your application. I think the overhead on the system would be barely recognizable if you do a reasonable (no more than every 5 seconds, let's say) poll. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] -mtune for P4M (dothan)
On 11/2/05, Richard Fish [EMAIL PROTECTED] wrote: Qian Qiao wrote: After going through the GCC docs, i've decided to use: -march=pentium3 -mmmx -msse -msse2. I don't really recommend that. A few things may have compile errors if you globally use -mmmx, -msse, and -msse2. Instead, I suggest you set the mmx and sse USE flags, and let portage add those CFLAGS for those packages where it actually makes a difference and is supported. Thx for the tip, i've taken them out, and added use flags accordingly. Also, don't forget -fomit-frame-pointer and -pipe. I've got those 2 flags already. :) -- Joe -- There are 3 kinds of people in the world: Those who can count, and those who can't. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Old devfs files in /etc
Philip Webb wrote: 051102 Dale wrote: I switched to udev a while back and have some old devfs files left in /etc : YES/etc/devfs.d YES/etc/devfs.d/.keep N/A/etc/modules.devfs.256 N/A/etc/config-archive/etc/udev/scripts/ide-devfs.sh N/A/etc/config-archive/etc/udev/scripts/ide-devfs.sh.dist YES/etc/modprobe.devfs N/A/etc/modprobe.devfs.256 YES/etc/modprobe.devfs.old YES/etc/modules.devfs YES/etc/devfsd.conf Can I get rid of these files and not kill anything? I already unmerged devfsd. Holly's comments are sensible, as always, but it's a good idea to tidy things up every so often as part of understanding what's going on in your box, which is the real point of using Gentoo in the first place (smile). That is what I have been doing the last couple weeks, cleaning up a bit. If it was not for all the compiling and all, I would just start from scratch. I have a current snapshot and all the distfiles anyway. I just hate to do it. It sounds to much like winders to me. I usually back up the whole /etc directory. That saved me when my inittab files got blanked somehow. It wouldn't boot without it for some reason. No clue why. LOL That was my humor OK. I'll make a back-up after the current merge gets done and slide them out the door. The ones in config-archive are from using dispatch-conf thing. I generally use etc-update though. To old for new tricks. O_O Dale -- To err is human, I'm most certainly human. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge xmlto ERROR: app-text/xmlto-0.0.18 failed.
Neil Bothwick wrote: that's because while man emerge, man:emerge and #emerge are all equivalent, none of them give the information in the *portage* man page :) Holy smoke, I didn't know that was there. Parden me while I go read this new man page. I'm sure I'll have new questions then. ;) LOL That is different from man emerge though. Dale :-) -- To err is human, I'm most certainly human. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] file with IP?
On Wed, 2 Nov 2005, brullo nulla wrote: You can also poll the ip by doing an ifconfig and parsing its output inside your application. I think the overhead on the system would be barely recognizable if you do a reasonable (no more than every 5 seconds, let's say) poll. May be a good idea. Will give it a try next weekend. Until then, I'm on a computer with static IP, and I can't really check the other suggestions. Thanks to everyone who replied. -- Jorge Almeida -- gentoo-user@gentoo.org mailing list
[gentoo-user] UC-33 problem
Hi, I have recently upgraded to a newer kernel-version (from 2.6.12.r6 to 2.6.13-gentoo-r5) and just realized the USB MIDI interface, which was working before, isn't recognized anymore. Looking up dmesg spits this out: Unable to handle kernel NULL pointer dereference at virtual address 0018 printing eip: c03e83cd *pde = Oops: 0002 [#1] PREEMPT SMP Modules linked in: snd_pcm_oss snd_mixer_oss snd_seq_dummy snd_seq_oss snd_seq_mid vent snd_seq snd_usb_audio snd_usb_lib snd_rawmidi snd_seq_device snd_hwdep snd_in 8x0 snd_ac97_codec snd_pcm snd_timer snd snd_page_alloc usbhid psmouse evdev nvidi ealtime usb_midi audio adi gameport CPU: 0 EIP: 0060:[c03e83cd] Tainted: P VLI EFLAGS: 00010046 (2.6.13-gentoo-r5) EIP is at _spin_lock_irqsave+0x1d/0x90 eax: ebx: 0018 ecx: 0001 edx: 0202 esi: dfce8000 edi: 0001 ebp: dfce9e10 esp: dfce9ddc ds: 007b es: 007b ss: 0068 Process khubd (pid: 117, threadinfo=dfce8000 task=c1577530) Stack: 0018 c011b54e d9ca4b18 0003 0001 0202 0003 dfdd6800 dfdb0780 dfdb078c d987b920 e092ca8b df24f200 e092f620 e092f640 c0327a46 df24f200 df24f200 df24f214 df24f294 Call Trace: [c011b54e] __wake_up+0x1e/0x60 [e092ca8b] usb_midi_disconnect+0xab/0xf8 [usb_midi] [c0327a46] usb_unbind_interface+0x86/0x90 [c02bf93f] __device_release_driver+0x8f/0xb0 [c02bf980] device_release_driver+0x20/0x40 [c02bf089] bus_remove_device+0x79/0x90 [c02be082] device_del+0x32/0x90 [c0331aca] usb_disable_device+0x16a/0x1a0 [c032a806] usb_disconnect+0xa6/0x190 [c032cd07] hub_port_connect_change+0x4c7/0x500 [c032d226] hub_events+0x4e6/0x620 [c032d385] hub_thread+0x25/0x130 [c0135970] autoremove_wake_function+0x0/0x60 [c0135970] autoremove_wake_function+0x0/0x60 [c032d360] hub_thread+0x0/0x130 [c01354ba] kthread+0xba/0xc0 [c0135400] kthread+0x0/0xc0 [c0101215] kernel_thread_helper+0x5/0x10 Code: e8 59 ef ff ff eb c3 8d b4 26 00 00 00 00 83 ec 08 89 1c 24 89 c3 b8 00 e0 f f 89 74 24 04 21 e0 ff 40 14 89 c6 9c 5a fa 31 c0 86 03 84 c0 7e 14 c7 43 04 00 00 00 8b 74 24 04 89 d0 8b 1c 6note: khubd[117] exited with preempt_count 1 uhci_hcd :00:1d.1: suspend_rh (auto-stop) This was what appeared most strange to me. I've checked /etc/hotplug/blacklist and it seems all right(a usb-midi entry) and /etc/modules.autoload/kernel-2.6 for both, snd-usb-audio and usb-midi entries. After restarting alsasound it shows me that it sets two sound card devices (one for built-in audio and snd-usb-audio). This is the content of /etc/modules.d/alsa: alias snd-card-0 snd-intel8x0 alias sound-slot-0 snd-intel8x0 alias snd-card-1 snd-usb-audio alias sound-slot-1 snd-usb-audio Another double check on the kernel config revealed that all was in its place, i.e. building snd-usb-audio as a module etc. What could this be?? Karsten
[gentoo-user] UC-33 problem
I have just rebooted to check what exactly comes out dmesg. See the file attached. Also, the contents of my /etc/hotplug/blacklist: # # Listing a module here prevents the hotplug scripts from loading it. # Usually that'd be so that some other driver will bind it instead, # no matter which driver happens to get probed first. Sometimes user # mode tools can also control driver binding. # # Syntax: driver name alone (without any spaces) on a line. Other # lines are ignored. # # uhci ... usb-uhci handles the same pci class usb-uhci # usbcore ... module is loaded implicitly, ignore it otherwise usbcore # tulip ... de4x5, xircom_tulip_cb, dmfe (...) handle same devices de4x5 # At least 2.4.3 and later xircom_tulip doesn't have that conflict # xircom_tulip_cb dmfe #evbug is a debug tool and should be loaded explicitly evbug usb-midi audio usb-audio I can't make any sense of it at this point. Any clues?? KArstne
[gentoo-user] what's a good on-demand anti-virus program?
Does anybody have a recommendation as to which anti-virus program in portage would be best for occasional on-demand scanning? The main use would be to screen windows programs before installing them in wine. Many thanks Robert -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
Re: [OT?] Re: [gentoo-user] ext3: 10% non-contiguous
Peter Gordon wrote: On Mon, 2005-10-31 at 20:34 -0800, Joshua Schmidlkofer wrote: For a more sustainable situation, switch to XFS [It involved a backup/format/restore by whatever means you want] In any case, xfs has a tool called 'xfs_fsr' Which means 'file system reorganizer'. It does defragmentation, and balances some other stuff too. I run it weekly on my production servers, and nightly on most of my workstations. Thus why it is broken by design in my view. A good filesystem should not need to be defragmented. All filesystems will become fragmented over time, but a filesystem which is well-behaved should take minimal, if any, performance loss from it. The performance impact of fragmentation is unavoidable. It is a simple physical fact that seeking the heads on a disk drive and waiting for the platter to spin around to a fragment is a time-consuming operation, taking between 6ms (on very fast SCSI hard drives) and 20ms (on very slow laptop hard drives). The average 7200rpm desktop drive has an access time of around 12ms. At that speed, anything smaller than about one megabyte can actually take longer to access than it takes to read. The only way to avoid the performance impact of fragmentation is to not fragment to begin with, which is what most linux filesystems try to do, and where Microsoft fails miserably. The way xfs defends against fragmentation is a bit smarter than ext2/3 at this point, because it delays the allocation step until the data is actually written to disk. This means that it can wait until the last possible moment before deciding where on the disk the file (or fragment of a file) should live, and thus should create fewer fragments overall. This is assuming that whatever is creating or appending to the file doesn't flush after every write of course... Ext2/3 tackles fragmentation by pre-allocating blocks when a file is growing. It is effective, but would be even more effective with delayed allocation. Note that this pre-allocation is not preserved when the file is closed, it is only active for files that are open and growing. Based on what the developers presented at the 2005 OLS, delayed allocation, and an extents-based format (ext4?) are coming: http://www.linuxsymposium.org/2005/linuxsymposium_procv1.pdf -Richard -- gentoo-user@gentoo.org mailing list
[gentoo-user] a few Mysql upgrade questions
I was planning on updating a client from Mysql 3.23 to Mysql 4.0, but since 4.1 has stabilized I figured I'd give it a shot. And I'd also be able to move another client off their crappy db server on the new shared server if it had 4.1. However my setup has a few quirks. The 3.23 install is acting for the replication master for the 4.0 install on the new server. The client is testing with 4.0 and everything looks good. Ideally I'd like to stop replication, dump the db, upgrade to 4.1, import the db, and start replication again. 4.1 can replicate from 3.23, but I'm unsure if it can pick up where 4.0 left off. Has anyone tried this? It's not the end of the world if it explodes in my face, but I would keep up with my sleep by skipping another late night maintenance to do a fresh dump from the master to restart replication correctly. The other question is about libs. I'm looking at a project that will likely use Mysql 5.0 on the server side. At what point do I need to update the client libs... or can I just use Mysql 4.0 libs in PHP and whatnot till Redhat updates their builds? Some sort of checklist, Google has been not helped so far, explaining when a client build would need to be updated would be keen. Again not the end of the world, but I'd rather not be building a bunch of custom packages if I can help it. kashani -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] what's a good on-demand anti-virus program?
Robert Persson wrote: Does anybody have a recommendation as to which anti-virus program in portage would be best for occasional on-demand scanning? The main use would be to screen windows programs before installing them in wine. Many thanks Robert My fave would ClamAV, which I've been using on my mail server and hasn't let anything nasty past yet. Ever. HTH, Chris -- Chris Boot [EMAIL PROTECTED] http://www.bootc.net/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] what's a good on-demand anti-virus program?
Robert Persson wrote: Does anybody have a recommendation as to which anti-virus program in portage would be best for occasional on-demand scanning? The main use would be to screen windows programs before installing them in wine. Many thanks Robert I use f-prot. www.f-prot.com . It works pretty well. I don't use it anymore though. No windoze here so I'm not worried about them to much. LOL Dale :-) -- To err is human, I'm most certainly human. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] what's a good on-demand anti-virus program?
On Wed, 2005-11-02 at 09:38 -0800, Robert Persson wrote: Does anybody have a recommendation as to which anti-virus program in portage would be best for occasional on-demand scanning? The main use would be to screen windows programs before installing them in wine. Many thanks Robert -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) clamav. Rumen signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] Glibc, userlocales, and ENV Variables
Hi, On Wed, 02 Nov 2005 15:53:11 +0100 Holly Bostick [EMAIL PROTECTED] wrote: [...] /etc/locales.build which says # This file names the list of locales to be built when glibc is installed. # The format is locale/charmap, where locale is a locale from the # /usr/share/i18n/locales directory, and charmap is name of one of the files # in /usr/share/i18n/charmaps/. All blank lines and lines starting with # are # ignored. Here is an example: # en_US/ISO-8859-1 [...] Glibc built fine (afaict), but my problem is that I now don't know what to export with a LANG variable. For example, if I want [EMAIL PROTECTED]/UTF-8, how do I export that as opposed to [EMAIL PROTECTED]/ISO-8859-15 (or worse, ISO-8859-1)? Note the comment you've cited: The format is locale/charmap. This generates the locale data for a certain language (it's a little bit more than just language, though) for the specified charmap. In LANG/LC_* you only set the locale. The charmap is (semi-) automatically chosen, which makes sense, since it's terminal dependant which charset is used. Was I supposed to give the locales individual names as the Localization Guide implies? locales.build doesn't indicate that you can do that (and in fact, I thought perhaps the reason why language exports were mildly borked might be because I had done so). [EMAIL PROTECTED]/ISO-8859-1 didn't make much sense to me (and maybe causes some failures when building?), but other from that it seemed OK. Should I just get rid of the 'extra' locales (ISO-8859-15 and ISO-8859-1)? Since I guess I'm going to try to stick to UTF-8, maybe I don't really need them (I was mostly covering my butt, concerned that my current and future network connections might not support UTF-8, since they're mostly to Windows machines). All the terminals you're using support UTF-8? I guess I've made a mistake, but I'm not quite sure what to do about it. Since fixing it will most almost certainly require a recompile of glibc, and since compiling glibc takes nine-tenths of forever, I'd like to get it on with it as soon as possible (sigh). So any hints would be appreciated. How does the borkism of your locales manifest? -hwh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] what's a good on-demand anti-virus program?
On Wednesday 02 November 2005 11:38, Robert Persson wrote: Does anybody have a recommendation as to which anti-virus program in portage would be best for occasional on-demand scanning? The main use would be to screen windows programs before installing them in wine. I suspect you've entered the realm of religious viewpoints. I prefer clamav. Many thanks Robert -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- John Jolet Your On-Demand IT Department 512-762-0729 www.jolet.net [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
[gentoo-user] revert reiserfsck --rebuild-tree --scan-whole-partition
Hi, I've done a really stupid thing. I deleted 2 files by accident and I wanted to get them back from my reiserfs partition, after some googling, http://www.antrix.net/journal/techtalk/reiserfs_data_recovery_howto.comments gave an answer. Without reading the whole page, I went right away and I did a # reiserfsck --rebuild-tree --scan-whole-partition /dev/hda7 (I know, I know, I should have read the whole thing --I usually do that-- but somehow I though a fsck would hurt my partition, o boy, how wrong was I...). So this completely fucked up my partition (old files got merged with existing files, so this pretty much makes most files useless). So is it possible to revert the partition back, somehow? I really need this, I don't quitte have the time for a reinstall *from scratch* (beside that most programs and libraries are corrupted now and I'm guessing that most comfig files will be too, which makes them pretty much useless). So any thought here, I'd very much appreciate it? TIA, Ties -- gentoo-user@gentoo.org mailing list
[gentoo-user] GCC error
Last night, I emerged some ATI drivers, emerged a new kernel (didn't compile it though) and emerged eselect. Today when I compile a C++ program I get the following error: /usr/include/asm/errno.h:4:31: asm-generic/errno.h: No such file or directory Any ideas? Thanks, Hareesh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] what's a good on-demand anti-virus program?
On November 2, 2005 09:49 am John Jolet was like: I suspect you've entered the realm of religious viewpoints. Thank you to everyone who replied. I myself had a decent experience with AVG when I was running windows, so I am sure both it and clamav are up to the job. What tips the balance is the recent announcement by AVG that Linux is about to be brought to its knees by a devastating plague of viruses. This sounds like FUD to me and I don't like it. Clamav it is then. Best Robert -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] MySQL Upgrade
Jeff Smelser wrote: On Tuesday 01 November 2005 04:58 pm, C. Beamer wrote: The database that I had created by creating a directory that was named after the database that I had created when using FC4 and then copying my database related files into it, did not back up. Hence my assumption that because the database was *not* created in MySQL under Gentoo, perhaps this was the reason that the backup did not pick up (for lack of a better description) this database. How were you backing/restoring it from, if you were not using mysqldump then? I have done the above several times, and its always backed it up. This is probably more of an explanation than you require, but I'm going to give it anyway. :-) Back a couple of years ago, I was looking for a database program that I could use in Linux. The database that I'm speaking about in this thread was originally created in Microsoft Access. At that time, it was the last hurdle that kept me regularly going into Windows on my home computer. I read a bit about MySQL and since I had taken a basic DB2 course a number of years ago, I figured that I could get the database into MySQL by exporting it as a text file and then using that to create the MySQL database. So, that tells you that I am not a database guru by any means. Up until now, what I needed to do in MySQL, I could do just fine and never even knew about mysqldump until recently. As I previously stated, I've only been using Gentoo since September. When I used to use FC4, all I ever did was make a copy of the database files that had the extensions of .MYI, .MYD and .frm and then when I needed to because of an upgrade where I wiped my system, I would just create a directory in the appropriate place that was named after the database and then copy these files back into the directory. Then, all I would have to do was set up the appropriate permissions for access and I could use the database. This is how I did it to get the database into Gentoo originally as well. This works and is not a big deal. As I said, I'm just curious if there is a way to fix things so that my database will be backed up properly with the mysqldump process that is run when upgrading. As I also stated, I haven't had the chance to try dumping the existing database alone using mysqldump. Regards, Colleen -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] file with IP?
On Wed, 2 Nov 2005 16:53:11 +0100, brullo nulla wrote: You can also poll the ip by doing an ifconfig and parsing its output inside your application. I think the overhead on the system would be barely recognizable if you do a reasonable (no more than every 5 seconds, let's say) poll. Wouldn't it be easier to use the output from hostname -i? It needs no parsing. -- Neil Bothwick Open the disk drive door, Hal. signature.asc Description: PGP signature
Re: [gentoo-user] file with IP?
Wouldn't it be easier to use the output from hostname -i? It needs no parsing. But it doesn't give the IP of my box... m. -- gentoo-user@gentoo.org mailing list
[gentoo-user] ERROR: gnome-base/bonobo-1.0.22 failed.
Well, I hope this is the right list this time. Just to recap a bit. I'm working through a revdep-rebuild and having fun with it at that. This is what I got while trying to emerge bonobo: /usr/include/gnome-1.0/libgnomeui/gnome-druid-page-standard.h:23:23: gdk_imlib.h: No such file or directory In file included from /usr/include/gnome-1.0/libgnomeui/libgnomeui.h:107, from /usr/include/gnome-1.0/gnome.h:17, from ../bonobo/bonobo-generic-factory.h:17, from bonobo-generic-factory.c:22: /usr/include/gnome-1.0/libgnomeui/gnome-druid-page-standard.h:47: error: syntax error before GdkImlibImage /usr/include/gnome-1.0/libgnomeui/gnome-druid-page-standard.h:47: warning: no semicolon at end of struct or union /usr/include/gnome-1.0/libgnomeui/gnome-druid-page-standard.h:60: error: syntax error before '}' token /usr/include/gnome-1.0/libgnomeui/gnome-druid-page-standard.h:69: error: syntax error before GdkImlibImage /usr/include/gnome-1.0/libgnomeui/gnome-druid-page-standard.h:79: error: syntax error before GdkImlibImage In file included from /usr/include/gnome-1.0/libgnomeui/libgnomeui.h:108, from /usr/include/gnome-1.0/gnome.h:17, from ../bonobo/bonobo-generic-factory.h:17, from bonobo-generic-factory.c:22: /usr/include/gnome-1.0/libgnomeui/gnome-druid-page-finish.h:23:23: gdk_imlib.h: No such file or directory In file included from /usr/include/gnome-1.0/libgnomeui/libgnomeui.h:108, from /usr/include/gnome-1.0/gnome.h:17, from ../bonobo/bonobo-generic-factory.h:17, from bonobo-generic-factory.c:22: /usr/include/gnome-1.0/libgnomeui/gnome-druid-page-finish.h:51: error: syntax error before GdkImlibImage /usr/include/gnome-1.0/libgnomeui/gnome-druid-page-finish.h:51: warning: no semicolon at end of struct or union /usr/include/gnome-1.0/libgnomeui/gnome-druid-page-finish.h:52: warning: type defaults to `int' in declaration of `watermark_image' /usr/include/gnome-1.0/libgnomeui/gnome-druid-page-finish.h:52: warning: data definition has no type or storage class /usr/include/gnome-1.0/libgnomeui/gnome-druid-page-finish.h:63: error: syntax error before '}' token /usr/include/gnome-1.0/libgnomeui/gnome-druid-page-finish.h:74: error: syntax error before GdkImlibImage /usr/include/gnome-1.0/libgnomeui/gnome-druid-page-finish.h:91: error: syntax error before GdkImlibImage /usr/include/gnome-1.0/libgnomeui/gnome-druid-page-finish.h:93: error: syntax error before GdkImlibImage make[2]: *** [bonobo-generic-factory.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/bonobo-1.0.22/work/bonobo-1.0.22/bonobo' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/bonobo-1.0.22/work/bonobo-1.0.22' make: *** [all-recursive-am] Error 2 !!! ERROR: gnome-base/bonobo-1.0.22 failed. !!! Function src_compile, Line 42, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. [EMAIL PROTECTED] / # The only thing with gdk in it that I have installed is media-libs/gdk-pixbuf version 0.22.0-r3. I'll re-emrge it right quick. Rumen, qpkg does not exist it says. I found it though. It gave me this: x11-libs/gtk+-1.2.10-r11 x11-libs/gtk+-2.6.10 Looks like both are installed. I hope you are here too. I got lost last time. Dale :-) I double checked the list this time. gentoo-user, check. LOL -- To err is human, I'm most certainly human. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] MySQL Upgrade
C. Beamer wrote: This works and is not a big deal. As I said, I'm just curious if there is a way to fix things so that my database will be backed up properly with the mysqldump process that is run when upgrading. As I also stated, I haven't had the chance to try dumping the existing database alone using mysqldump. If the data is available within Mysql, then it can be dumped. I'd start looking at which options you used on the dump and even at the dump itself as the source of your problems. How you got the data into Mysql in the first place should not matter. If you look at the dump itself I'd pay special attention to the create lines. The usual mistake is not to have specified the create statements which means everything gets created as a table in a single database assuming you don't have any name space collisions. Normally I do the following for a new install. on the old server or install mysqldump -u root -p --opt -Q mysql-20051102.txt Not a super fancy dump, but if you're all text this should work fine. on the new server or install emerge mysql /usr/bin/mysql_install_db /etc/init.d/mysql start /usr/bin/mysqladmin -u root password 'temppass' mysql -u root -p drop database test; drop database mysql; exit mysql -u root -p mysql-20051102.txt mysql -u root -p flush privileges; exit kashani -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: UC-33 problem
additional info: cat /proc/bus/usb/devices T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 D: Ver= 1.00 Cls=00(ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=0a4d ProdID=00f5 Rev= 1.01 S: Manufacturer=Evolution Electronics Ltd. S: Product=UC-33 USB MIDI Controller C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr=250mA I: If#= 0 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=(none) I: If#= 1 Alt= 0 #EPs= 2 Cls=01(audio) Sub=03 Prot=00 Driver=midi E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms lsusb Bus 005 Device 001: ID : Bus 004 Device 001: ID : Bus 003 Device 002: ID 0a4d:00f5 Evolution Electronics, Ltd Bus 003 Device 001: ID : Bus 002 Device 003: ID 1241:1177 Belkin (?) Bus 002 Device 001: ID : Bus 001 Device 001: ID : I also just now tried to recompile alsa, qith no immediate effect on this problem. Please please, any help is very much appreciated ( I need this for practising performance)!! KArsten
Re: [gentoo-user] MySQL Upgrade
On Wednesday 02 November 2005 12:52 pm, C. Beamer wrote: Up until now, what I needed to do in MySQL, I could do just fine and never even knew about mysqldump until recently. As I previously stated, I've only been using Gentoo since September. When I used to use FC4, all I ever did was make a copy of the database files that had the extensions of .MYI, .MYD and .frm and then when I needed to because of an upgrade where I wiped my system, I would just create a directory in the appropriate place that was named after the database and then copy these files back into the directory. Then, all I would have to do was set up the appropriate permissions for access and I could use the database. This is how I did it to get the database into Gentoo originally as well. Well, this works for myisam, and few other, but not innodb.. Obviously you dont have it then.. This works and is not a big deal. As I said, I'm just curious if there is a way to fix things so that my database will be backed up properly with the mysqldump process that is run when upgrading. As I also stated, I haven't had the chance to try dumping the existing database alone using mysqldump. Well, then you would be more interested in mysqlhotcopy.. That pretty much does what your doing.. Mysql INC has yet to make a real backup/restore procedure for mysql. So mysqldump or mysqlhotcopy is pretty much it. If you use innodb, I would go after ibbackup. (not free). I have been on a few developers about it, just doesnt seem high priority to them. (or I am not talking to the right ones). Jeff pgpF373NhEI4Y.pgp Description: PGP signature
Re: [gentoo-user] ERROR: gnome-base/bonobo-1.0.22 failed.
On Wed, 2005-11-02 at 13:08 -0600, Dale wrote: Well, I hope this is the right list this time. Just to recap a bit. I'm working through a revdep-rebuild and having fun with it at that. This is what I got while trying to emerge bonobo: /usr/include/gnome-1.0/libgnomeui/gnome-druid-page-standard.h:23:23: gdk_imlib.h: No such file or directory In file included from /usr/include/gnome-1.0/libgnomeui/libgnomeui.h:107, from /usr/include/gnome-1.0/gnome.h:17, from ../bonobo/bonobo-generic-factory.h:17, from bonobo-generic-factory.c:22: /usr/include/gnome-1.0/libgnomeui/gnome-druid-page-standard.h:47: error: syntax error before GdkImlibImage /usr/include/gnome-1.0/libgnomeui/gnome-druid-page-standard.h:47: warning: no semicolon at end of struct or union /usr/include/gnome-1.0/libgnomeui/gnome-druid-page-standard.h:60: error: syntax error before '}' token /usr/include/gnome-1.0/libgnomeui/gnome-druid-page-standard.h:69: error: syntax error before GdkImlibImage /usr/include/gnome-1.0/libgnomeui/gnome-druid-page-standard.h:79: error: syntax error before GdkImlibImage In file included from /usr/include/gnome-1.0/libgnomeui/libgnomeui.h:108, from /usr/include/gnome-1.0/gnome.h:17, from ../bonobo/bonobo-generic-factory.h:17, from bonobo-generic-factory.c:22: /usr/include/gnome-1.0/libgnomeui/gnome-druid-page-finish.h:23:23: gdk_imlib.h: No such file or directory In file included from /usr/include/gnome-1.0/libgnomeui/libgnomeui.h:108, from /usr/include/gnome-1.0/gnome.h:17, from ../bonobo/bonobo-generic-factory.h:17, from bonobo-generic-factory.c:22: /usr/include/gnome-1.0/libgnomeui/gnome-druid-page-finish.h:51: error: syntax error before GdkImlibImage /usr/include/gnome-1.0/libgnomeui/gnome-druid-page-finish.h:51: warning: no semicolon at end of struct or union /usr/include/gnome-1.0/libgnomeui/gnome-druid-page-finish.h:52: warning: type defaults to `int' in declaration of `watermark_image' /usr/include/gnome-1.0/libgnomeui/gnome-druid-page-finish.h:52: warning: data definition has no type or storage class /usr/include/gnome-1.0/libgnomeui/gnome-druid-page-finish.h:63: error: syntax error before '}' token /usr/include/gnome-1.0/libgnomeui/gnome-druid-page-finish.h:74: error: syntax error before GdkImlibImage /usr/include/gnome-1.0/libgnomeui/gnome-druid-page-finish.h:91: error: syntax error before GdkImlibImage /usr/include/gnome-1.0/libgnomeui/gnome-druid-page-finish.h:93: error: syntax error before GdkImlibImage make[2]: *** [bonobo-generic-factory.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/bonobo-1.0.22/work/bonobo-1.0.22/bonobo' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/bonobo-1.0.22/work/bonobo-1.0.22' make: *** [all-recursive-am] Error 2 !!! ERROR: gnome-base/bonobo-1.0.22 failed. !!! Function src_compile, Line 42, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. [EMAIL PROTECTED] / # The only thing with gdk in it that I have installed is media-libs/gdk-pixbuf version 0.22.0-r3. I'll re-emrge it right quick. Rumen, qpkg does not exist it says. I found it though. It gave me this: x11-libs/gtk+-1.2.10-r11 x11-libs/gtk+-2.6.10 Looks like both are installed. I hope you are here too. I got lost last time. Dale :-) I double checked the list this time. gentoo-user, check. LOL -- To err is human, I'm most certainly human. Hi, Think that rebuilding gtk+-1.2.10-rX will fix things,next emerge bonobo. It must find that gtk+-1.2.X is installed and build correctly. If not then eventually there's a configuration error somewhere. PS: watch for the order in which you rebuild the packages, it must be bottom-up, so that second level uses the new ones from level one. HTH.Rumen signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] KDE GUI for network settings
I have a KDE desktop on one of my machines, and noticed I couldn't find any GUI interface to manage the IP address and related configurations for the 2 ethernet cards on the box. I have installed kdenetworks, but still don't see anything. What do I need to install/enable/locate on my system to manage eth0 and eth1 from the GUI? Thanks! In the control center you should find a tool to do so; it formerly was a standalone tool called knetworkconf. Best regards ce -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ERROR: gnome-base/bonobo-1.0.22 failed.
Rumen Yotov wrote: Hi, Think that rebuilding gtk+-1.2.10-rX will fix things,next emerge bonobo. It must find that gtk+-1.2.X is installed and build correctly. If not then eventually there's a configuration error somewhere. PS: watch for the order in which you rebuild the packages, it must be bottom-up, so that second level uses the new ones from level one. HTH.Rumen Well, I'm on dial-up so I had to disconnect for a while. I backed up a bit and that emerge failed to so I backed up a bit more until I got it to work. I'll put in what it was in a bit. I was about to do a emerge -e world and call it a night here. Figured that may correct it. shrugs [off topic] Is there a way to make it keep a longer bash history? Right now I have 8 Konsoles open and I want it to save more history. Sometimes I need to go back a long ways by just opening the file and searching though it manually. Thanks for the help, we're making progress. Dale :-) -- To err is human, I'm most certainly human. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] KDE GUI for network settings
Well, that's where I would expect to find it also, but it's not there. Anyone know what might be missing from my installed packages for this?On 11/2/05, Christoph Eckert [EMAIL PROTECTED] wrote: I have a KDE desktop on one of my machines, and noticed I couldn't find any GUI interface to manage the IP address and related configurations for the 2 ethernet cards on the box. I have installed kdenetworks, but still don't see anything. What do I need to install/enable/locate on my system to manage eth0 and eth1 from the GUI? Thanks!In the control center you should find a tool to do so; it formerly was astandalone tool called knetworkconf.Best regardsce-- gentoo-user@gentoo.org mailing list-- Mark[unwieldy legal disclaimer would go here - feel free to type your own]
Re: [gentoo-user] Glibc, userlocales, and ENV Variables
Hans-Werner Hilse schreef: Hi, On Wed, 02 Nov 2005 15:53:11 +0100 Holly Bostick [EMAIL PROTECTED] wrote: [...] /etc/locales.build which says # This file names the list of locales to be built when glibc is installed. # The format is locale/charmap, where locale is a locale from the # /usr/share/i18n/locales directory, and charmap is name of one of the files # in /usr/share/i18n/charmaps/. All blank lines and lines starting with # are # ignored. Here is an example: # en_US/ISO-8859-1 [...] Glibc built fine (afaict), but my problem is that I now don't know what to export with a LANG variable. For example, if I want [EMAIL PROTECTED]/UTF-8, how do I export that as opposed to [EMAIL PROTECTED]/ISO-8859-15 (or worse, ISO-8859-1)? Note the comment you've cited: The format is locale/charmap. This generates the locale data for a certain language (it's a little bit more than just language, though) for the specified charmap. In LANG/LC_* you only set the locale. The charmap is (semi-) automatically chosen, which makes sense, since it's terminal dependant which charset is used. OK, I kinda get that and dmesg says during boot that the terminal (agetty) is being configured to use UTF-8 (which is what I told it to do when I built the kernel, so that's OK). So does that mean that when I log in to my DE/WM, and start X, the charmap will be automatically UTF-8, because that's what the getty was? I want the full ISO-8859-15 charset and the Euro symbol. UTF-8 gets me the charset, but afaik I need some attachment to @euro to get the Euro symbol (for those fonts that even have the character(s), which is another horror show that I won't get into, since once you've found a reasonably attractive font with all the characters, half the time it doesn't have bold or italic or bold italic, so it's not very useful on the desktop a horror show). It's not clear to me whether the Euro symbol is included in UTF-8 encodings, or only as a special variant of ISO-8859-15 (the @euro variant), which is one of the reasons I try to encode both. Was I supposed to give the locales individual names as the Localization Guide implies? locales.build doesn't indicate that you can do that (and in fact, I thought perhaps the reason why language exports were mildly borked might be because I had done so). [EMAIL PROTECTED]/ISO-8859-1 didn't make much sense to me (and maybe causes some failures when building?), but other from that it seemed OK. Well, of course I know less about this than you do, but my native Dutch boyfriend runs a English Windows machine, I run Windows programs with Wine, and about the only thing I think I know about the whole issue is that Windows pretty much only knows ISO-8859-1 (unless you had a multi-lingual version, which neither of us did). So I wanted support for ISO-8859-1 to be available (with support for the Euro symbol for those MS fonts that support it, which I think that the core MS fonts now do by default, though I'm not sure about that either). In any case, if such an application called for ISO-8859-1 , I wanted it to be there, though as you can tell, I don't get how this is all supposed to work well enough to be sure that was the way to accomplish the goal. Should I just get rid of the 'extra' locales (ISO-8859-15 and ISO-8859-1)? Since I guess I'm going to try to stick to UTF-8, maybe I don't really need them (I was mostly covering my butt, concerned that my current and future network connections might not support UTF-8, since they're mostly to Windows machines). All the terminals you're using support UTF-8? Well, I thought so, but maybe I was wrong. I use mostly multi-gnome-terminal (which does appear to have unicode support by default), but when I switched window managers to fvwm-crystal, I started using mrxvt and aterm a bit more (because fvwm-crystal likes them, and xterm-- which crystal also likes-- takes forever to open for some reason, likely unrelated but very annoying). This may well be when I started noticing this as a problem rather than an annoyance, because I was suddenly seeing it so much. Previously, the issue had only raised its ugly head in some X programs, but not X programs I use that often, so it was easy to ignore. None of the terms I use have a unicode USE flag, but I have been by the homepages. Now I see that support for CJK does not mean that UTF is automatically supported; it seems that mrvxt does not support unicode, nor do aterm/multi-aterm/rvxt. OK, that answers that, I guess, but what did you Europeans do when these terminals were all you had, for Pete's sake? Your output would have been half-gibberish, and I don't see how people would have stood for that. I guess I've made a mistake, but I'm not quite sure what to do about it. Since fixing it will most almost certainly require a recompile of glibc, and since compiling glibc takes nine-tenths of forever, I'd like to get it on
Re: [gentoo-user] ERROR: gnome-base/bonobo-1.0.22 failed.
On Wed, 2005-11-02 at 13:53 -0600, Dale wrote: Rumen Yotov wrote: Hi, Think that rebuilding gtk+-1.2.10-rX will fix things,next emerge bonobo. It must find that gtk+-1.2.X is installed and build correctly. If not then eventually there's a configuration error somewhere. PS: watch for the order in which you rebuild the packages, it must be bottom-up, so that second level uses the new ones from level one. HTH.Rumen Well, I'm on dial-up so I had to disconnect for a while. I backed up a bit and that emerge failed to so I backed up a bit more until I got it to work. I'll put in what it was in a bit. I was about to do a emerge -e world and call it a night here. Figured that may correct it. shrugs [off topic] Is there a way to make it keep a longer bash history? Right now I have 8 Konsoles open and I want it to save more history. Sometimes I need to go back a long ways by just opening the file and searching though it manually. Thanks for the help, we're making progress. Dale :-) -- To err is human, I'm most certainly human. Hi, Yes about bash history - run man bash check HISTFILE HISTFILESIZE vars (change the second as appropriate). Don't go to -e option try to fix things before that, it takes much time and not always works (but works quite always ;) Will you do this on every error out there. i'll be off soon, so good luck. Rumen signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] MySQL Upgrade
Jeff Smelser wrote: Well, then you would be more interested in mysqlhotcopy.. That pretty much does what your doing.. Mysql INC has yet to make a real backup/restore procedure for mysql. So mysqldump or mysqlhotcopy is pretty much it. If you use innodb, I would go after ibbackup. (not free). I have been on a few developers about it, just doesnt seem high priority to them. (or I am not talking to the right ones). Because once you start caring about your db that much it's usually easier to setup a crap box that replicates off your master. Then you can lock the whole db on your slave and do a mysqldump without causing issues on your main db regardless of which table type you're using. You also get the added benefit of a hot backup and no I/O hits on the main db. I'm managing five fairly busy Mysql servers so my tactics might not be those of the average user making the above a bit of overkill. I was very excited about Mysql's instance manager. However if your database has known periods of time when it isn't being used, ie you're using it as an Access replacement. Lock the tables, do the dump, free the tables, and save your cash for flaming Tiki drinks. kashani -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] file with IP?
b.n. wrote: Wouldn't it be easier to use the output from hostname -i? It needs no parsing. But it doesn't give the IP of my box... Indeed, there are likely several. Tom Veldhouse -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: what's a good on-demand anti-virus program?
Robert Persson ireneshusband at yahoo.co.uk writes: Does anybody have a recommendation as to which anti-virus program in portage would be best for occasional on-demand scanning? The main use would be to screen windows programs before installing them in wine. * net-proxy/dansguardian Available versions: 2.8.0.4 2.8.0.6 Installed: none Homepage:http://dansguardian.org Description: Web content filtering via proxy * net-proxy/dansguardian-dgav Available versions: ~6.4.2a ~6.4.3 Installed: none Homepage:http://sourceforge.net/projects/dgav/ Description: DansGuardian with Anti-Virus plugin It's in portage and was recommended previously as a pretty good filter-proxy with optional anti-virus capabilities. The latest version has looks really cool. I have not installed it (yet) but it's on the list of software to evaluate. hth, James -- gentoo-user@gentoo.org mailing list
[gentoo-user] Emerge difficulty.
Hello all... I am having a perplexing problem, and I have no idea where to look for an answer. I ahve a server that has been running well for aver a year. I decided to upgrade the SVN server on it, so ran emerge -pv subversion got back: These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] net-www/apache-2.0.54-r31 [2.0.54-r12] +apache2* - debug -doc -ldap -mpm-leader -mpm-peruser -mpm-prefork -mpm- threadpool -mpm-worker -no-suexec (-selinux) +ssl -static-modules - threads 51 kB [ebuild U ] sys-devel/libperl-5.8.6-r1 [5.8.2] +berkdb -debug +gdbm* -ithreads 0 kB [ebuild U ] sys-libs/gdbm-1.8.3-r2 [1.8.0-r5] +berkdb 0 kB [ebuild U ] dev-lang/perl-5.8.6-r6 [5.8.2-r1] +berkdb -build - debug -doc +gdbm* -ithreads -minimal -perlsuid 0 kB [ebuild U ] dev-util/subversion-1.2.3-r2 [1.2.1] +apache2 -bash- completion +berkdb -emacs +java +nls -nowebdav +perl +python +zlib 7,068 kB [ebuild N] app-admin/perl-cleaner-1.01 0 kB Total size of downloads: 7,120 kB then I run emerge -v subversion and get Calculating dependencies ...done! emerge (1 of 6) net-www/apache-2.0.54-r31 to / and then nothing... for ever... let this sit over night, and still nothing... wtf!?!?!? this was working. look in the log shows: 1130962657: Started emerge on: Nov 02, 2005 15:17:37 1130962657: *** emerge --verbose subversion 1130962657: emerge (1 of 6) net-www/apache-2.0.54-r31 to / 1130962657: === (1 of 6) Cleaning (net-www/apache-2.0.54-r31::/usr/ portage/net-www/apache/apache-2.0.54-r31.ebuild) 1130962659: === (1 of 6) Compiling/Merging (net-www/apache-2.0.54- r31::/usr/portage/net-www/apache/apache-2.0.54-r31.ebuild) 1130962682: *** terminating. this was after I terminated the process with a ctl-c. what now? Michael -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] KDE GUI for network settings
Well, that's where I would expect to find it also, but it's not there. Anyone know what might be missing from my installed packages for this? it depends on your KDE version. It is in KDE 3.5 per default; for earlier versions it needs to get installed separately. From an original message of the author in March 2005: »As from this past sunday, KNetworkConf lives now in the official KDE CVS and probably will be part of KDE 3.5 :) You can find it under kdereview/knetworkconf module for now. Later in some point in time it will be moved to kdenetwork or kdeadmin core packages.« Best regards ce -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] LTSP vs. Diskless Nodes
What would you guys suggest in terms of specs for a server, serving say 50 odd thin clients? Probably 2P Opteron with 2 GB to 8 GB main memory. Cpus around 2 GHz. You'll have to calculate the memory needs of each client plus the server's running overhead, and get enough memory to avoid swapping. Is the server meant as a terminal server (where the clients work *on* the server), or as a boot from lan server, only serving the system via nfs or such (the clients are working locally)? The terminal server would really require a powerful server with multiple CPUs and RAM, depending on the load. But a boot from LAN server, which only serves files, doesn't need so much CPU power, since the bottleneck is most probably the network. It would need good storage speed and RAM, for caching. But the thin clients would need to be decent to run the apps, but without harddrives. Sascha signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] MySQL Upgrade
On Wednesday 02 November 2005 02:23 pm, kashani wrote: Because once you start caring about your db that much it's usually easier to setup a crap box that replicates off your master. Then you can lock the whole db on your slave and do a mysqldump without causing issues on your main db regardless of which table type you're using. You also get the added benefit of a hot backup and no I/O hits on the main db. No, thats unfeasable.. Your talking about little DB's.. I have a 300+ gig dbs's here and replication isnt the answer. Specially considering it is statement level over row level. I'm managing five fairly busy Mysql servers so my tactics might not be those of the average user making the above a bit of overkill. I was very excited about Mysql's instance manager. However if your database has known periods of time when it isn't being used, ie you're using it as an Access replacement. Lock the tables, do the dump, free the tables, and save your cash for flaming Tiki drinks. Heh, my server is never NOT being used.. Its really idiotic to have to do full's all the time, instead of being able to just do an incremental.. Like I said, your talking about these small db's.. doing a mysqldump takes over 3-5 hours.. I am not locking all my tables for up to 5 hours.. Jeff pgpmNqm9RDTwG.pgp Description: PGP signature
Re: [gentoo-user] Emerge difficulty.
On Wednesday 02 November 2005 20:39, Michael A Rowley, MD wrote: Calculating dependencies ...done! emerge (1 of 6) net-www/apache-2.0.54-r31 to / and then nothing... for ever... let this sit over night, and still nothing... wtf!?!?!? this was working. I've had similar happen to me on a few occasions. The first time when it didn't do anything in quite a while (minute or two) I re-ran the same command with debug (and possible under strace). Emerge would do its stuff then print set +x and hang. I think I eventually tracked it down to waiting on random data. Try copying some data in or out of the machine, preferable over a non-encrypted medium, or some fairly heavy disk i/o (emerge sync, emerge metadata, du -s), if you're logged in locally to the machine bash the keyboard and move the mouse a lot, to generate some entropy while waiting for emerge to do something. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] what's a good on-demand anti-virus program?
On November 2, 2005 10:49 am Robert Persson was like: Clamav it is then. Just installed clamav and the klamav front end. Utterly painless and easy to set up for a single-user desktop system like mine. -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: UC-33 problem
the problem has been solved, and I must admit the reasons for it were 1st very simple (which makes me think I should maybe stick to something for my kind of bad ShortTermMemory) and thus 2nd VERY frustrating. Nevertheless, excuse the excessive posting KArsten
Re: [gentoo-user] Glibc, userlocales, and ENV Variables
Hi, On Wed, 02 Nov 2005 21:16:49 +0100 Holly Bostick [EMAIL PROTECTED] wrote: OK, I kinda get that and dmesg says during boot that the terminal (agetty) is being configured to use UTF-8 (which is what I told it to do when I built the kernel, so that's OK). The kernel is configured by the gentoo rc system using unicode_start. This sets console charmap font. So does that mean that when I log in to my DE/WM, and start X, the charmap will be automatically UTF-8, because that's what the getty was? No, that's independent. Your X terminal program talks to X and uses its font subsystem. That also uses charset information for finding correct fonts. On the other hand there are other means to use fonts now and some solutions do an intermediate mapping to unicode. It's not clear to me whether the Euro symbol is included in UTF-8 encodings, or only as a special variant of ISO-8859-15 (the @euro variant), which is one of the reasons I try to encode both. it's both in UTF-8 (which includes every sign under the sun - almost) and ISO-8859-15 which is the same as latin9 (hint: look for this when searching console fonts!) which is a slightly modified ISO-8859-1 a.k.a. latin1. [EMAIL PROTECTED]/ISO-8859-1 didn't make much sense to me (and maybe causes some failures when building?), but other from that it seemed OK. Well, of course I know less about this than you do [... oooh, I know this what I am writing here since only a few minutes, not longer. In fact, the whole locale setup is terribly bad documented. ...] , but my native Dutch boyfriend runs a English Windows machine, I run Windows programs with Wine, and about the only thing I think I know about the whole issue is that Windows pretty much only knows ISO-8859-1 (unless you had a multi-lingual version, which neither of us did). So I wanted support for ISO-8859-1 to be available (with support for the Euro symbol for those MS fonts that support it, which I think that the core MS fonts now do by default, though I'm not sure about that either). Windows uses Unicode since 2000 (or even NT?). However, that doesn't mean it's shipping fonts with the full Unicode charset available. In any case, if such an application called for ISO-8859-1 , I wanted it to be there, though as you can tell, I don't get how this is all supposed to work well enough to be sure that was the way to accomplish the goal. Very interesting this whole stuff. Actually, I'm just reading my way through the glibc sources as I'd always been interested in this. And it is _very_ bad documented. I've mentioned this In fact, there's no difference between the nl_NL and the [EMAIL PROTECTED] locale. I think probably all of the @euro locales are more or less obsolete now. I think they're a remainder from the time when the new currency was introduced and the user had to choose. Now, the @euro locales de facto just import there [EMAIL PROTECTED] counterparts. This is written in the relevant changelog: * locales/br_FR: Eliminate old national currencies of countries participating in Euro. Make @euro files pure copies. (continues for all @euro) A .UTF-8 locale doesn't exist in glibc's locale database so it must get stripped when the locale is generated. To give you a hint, the default locales generated for language tag nl, subtag NL are nl_NL [EMAIL PROTECTED] nl_NL.UTF8 in your locales.build, this should read nl_NL/ISO-8859-1 [EMAIL PROTECTED]/ISO-8859-15 nl_NL.UTF-8/UTF-8 to have the proper locale for each encoding you/your terminal may come across. Although @euro is a copy, it is needed to identify and distinguish each of the generated locales. After all, nl_NL... is just a name, could have been another name, too. But the LANG setting is also used by gettext (which has nothing to do with this all, but has the same author), AFAIK, and thus shouldn't be totally arbitrary chosen. Your LANG setting should be [EMAIL PROTECTED] for non-unicode environments (given that you're using latin9/ISO-8859-15 fonts) and nl_NL.UTF-8 in unicode environments. How does the borkism of your locales manifest? Most of the time, when Dutch characters are meant to be used, they are, as in the following example: [EMAIL PROTECTED] - killall -9 conky conky: geen proces beëindigd but sometimes I get this: killall -9 MPlayer MPlayer: geen proces beëindigd . now *that's* interesting... I copied and pasted the second from a terminal (mrvxt, whereas the first was from multi-gnome-terminal), where what appeared was killall -9 MPlayer MPlayer: geen proces beA(with the ~ over it) (but tiny ones)indigd in place of the ë . But when I pasted it into this compose window, it came out right! But it isn't in the term. This is probably due to different clipboard implementations. GTK has its own clipboard which imports things from the X clipboard facility that mrxvt is using. Probably GTK applies some logic like recognizing multibyte sequences and decides that
Re: [gentoo-user] file with IP?
Hi, On Wed, 2 Nov 2005 18:54:06 + Neil Bothwick [EMAIL PROTECTED] wrote: On Wed, 2 Nov 2005 16:53:11 +0100, brullo nulla wrote: You can also poll the ip by doing an ifconfig and parsing its output inside your application. I think the overhead on the system would be barely recognizable if you do a reasonable (no more than every 5 seconds, let's say) poll. Wouldn't it be easier to use the output from hostname -i? It needs no parsing. But it depends on proper reverse-resolution of the hostname. This isn't usually the case for dialup-connections... -hwh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] KDE GUI for network settings
I'm sorry - this is probably noob stuff. I'm unable to find it, doing emerge --search knetworkconfHow do I find and install the kdereview/knetworkconf module? (I have KDE 3.4.1) On 11/2/05, Christoph Eckert [EMAIL PROTECTED] wrote: Well, that's where I would expect to find it also, but it's not there. Anyone know what might be missing from my installed packages for this?it depends on your KDE version. It is in KDE 3.5 per default; forearlier versions it needs to get installed separately.From an original message of the author in March 2005:»As from this past sunday, KNetworkConf lives now in the official KDE CVS and probably will be part of KDE 3.5 :)You can find it under kdereview/knetworkconf module for now. Later insome point in time it will be moved to kdenetwork or kdeadmin corepackages.«Best regards ce--gentoo-user@gentoo.org mailing list-- Mark[unwieldy legal disclaimer would go here - feel free to type your own]
Re: [gentoo-user] Re: UC-33 problem
the problem has been solved, and I must admit the reasons for it were 1st very simple (which makes me think I should maybe stick to something for my kind of bad ShortTermMemory) and thus 2nd VERY frustrating. Nevertheless, excuse the excessive posting additionally I recommend to post such topics of special interest to the linux audio user list; the chance to get help there on this special kind of hardware is much better IMHO. Best regards ce -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] KDE GUI for network settings
Hi, I'm sorry - this is probably noob stuff. Ah, OK. I'm unable to find it, doing emerge --search knetworkconf The application is not yet official enough, so you'll not find it in the portage tree. Instead... How do I find and install the kdereview/knetworkconf module? (I have KDE 3.4.1) you need it to check out from CVS or to build it manually from sources which can be found on http://knetworkconf.sf.net: http://prdownloads.sourceforge.net/knetworkconf/knetworkconf-0.6.1.tar.bz2?download If you're a real noobie to Linux building packages from source isn't really the easiest thing on earth, OTOH if you have luck it will build just fine: * After downloading unpack the source * Open a shell window in the directory where the (unpacked) source resides * run the following commands: ./configure make If no error occured do su (enter root passphrase) make install Best regards ce -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] KDE GUI for network settings
On Wednesday 02 November 2005 09:02 am, Mark wrote: I have a KDE desktop on one of my machines, and noticed I couldn't find any GUI interface to manage the IP address and related configurations for the 2 ethernet cards on the box. I have installed kdenetworks, but still don't see anything. What do I need to install/enable/locate on my system to manage eth0 and eth1 from the GUI? Thanks! You are referring to knetworkconf. This is currently not available in kde under Gentoo. It is available in kde under Knoppix. In fact I don't think it exist in kde - by default - under any other distro but Knoppix. The official link is http://knetworkconf.sourceforge.net/ Don't expect to find it with emerge knetworkconf. Just wait for kde-3.5 -- gentoo-user@gentoo.org mailing list
[gentoo-user] java_config
I'm trying to emerge dev-php/php on my wife's computer (catherine) and it gives me this error message: Traceback (most recent call last): File /usr/bin/java-config, line 14, in ? from java_config import jc_options ImportError: No module named java_config * You need to use java-config to set your JVM to a JDK! catherine ~ # java-config Traceback (most recent call last): File /usr/bin/java-config, line 14, in ? from java_config import jc_options ImportError: No module named java_config I emerged dev-php/php just fine on my PC (camille). What is causing this error and is there a way to fix it? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Problem emerging realplayer-10.0.6
On Tue, Nov 01, 2005 at 01:56:03PM +0100, Tim Kruse wrote * On 01.11.2005 Alan E. Davis wrote: TOFU corrected You must emerge wget after setting the ssl flag, and then wget can access https URLs. I didn't understand how to set the ssl flag. He means the USE flag I meant add the string ssl to the USE variable in /etc/make.conf. -- Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1 My musings on technology and security at http://tech_sec.blog.ca -- gentoo-user@gentoo.org mailing list
[gentoo-user] Replacement for qpkg... please!?!?
world suddenly seems to want a bunch of additional stuff... [m3000][root][~] emerge --pretend --update --world These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild N] sys-apps/hwdata-knoppix-0.107-r1 [ebuild U ] sys-libs/libkudzu-1.1.62-r1 [1.1.62] [m3000][root][~] emerge --deep --pretend --update --world These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild N] sys-apps/ed-0.2-r6 [ebuild N] net-libs/libwww-5.4.0-r4 [ebuild N] app-text/tetex-2.0.2-r5 [ebuild N] sys-apps/hwdata-knoppix-0.107-r1 [ebuild U ] sys-libs/libkudzu-1.1.62-r1 [1.1.62] The tetex tarball is 85 megs alone. I've managed to emerge and update everything else after last night's sync, so these aren't dependencies of those packages. With qpkg, I could find out what depends on this stuff. Help!. -- Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1 My musings on technology and security at http://tech_sec.blog.ca -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] about c mail-list
On Sun, Oct 30, 2005 at 09:32:20PM +0800, wrote i want to get some good mail-list about c ,who can tell me, thx Not a mailing list, but a newsgroup, comp.lang.c -- Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1 My musings on technology and security at http://tech_sec.blog.ca -- gentoo-user@gentoo.org mailing list
[gentoo-user] usermod broken?
I decided to create a one-user group, as used to be the default with RedHat. So, I issued root $ groupadd jorge Then: root $ usermod -g jorge jorge (I want this to be my default group.) /etc/passwd reflects the changes: jorge $ cat /etc/passwd|grep jorge jorge:x:1000:409::/home/jorge:/bin/bash (409 is the number of the new group) However: jorge $ cat /etc/group|grep jorge wheel:x:10:root,jorge audio:x:18:jorge video:x:27:root,jorge users:x:100:games,jorge portage:x:250:portage,jorge And: jorge $ groups wheel audio video users portage jorge $ id uid=1000(jorge) gid=100(users) groups=10(wheel),18(audio),27(video),100(users),250(portage) I edited /etc/group with vigr to add user jorge to group jorge. Still, id and groups give outdated output... Wasn't usermod supposed to deal with this? I env-update'd (as root) and sourced /etc/profile (as jorge), for good measure. (When I login to a vt, the new group is recognized as the default group, so I'm guessing the id and groups issue has to do with the login or no login shell matter, something I never really understood; but what about the need to edit /etc/group?) -- Jorge Almeida -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Replacement for qpkg... please!?!?
Walter Dnes wrote: The tetex tarball is 85 megs alone. I've managed to emerge and update everything else after last night's sync, so these aren't dependencies of those packages. With qpkg, I could find out what depends on this stuff. Help!. Try equery. It works pretty good, once I figured out how to use it, a little. I'm new to this stuff too, sort of. equery depends package name Example, I like them too. [EMAIL PROTECTED] / # equery depends tetex [ Searching for packages depending on tetex... ] app-doc/doxygen-1.4.4 app-text/noweb-2.9-r3 dev-tex/chktex-1.6.2 dev-tex/latex2html-2002.2.1_pre20041025 kde-base/kdegraphics-3.4.1-r1 net-dialup/mgetty-1.1.30-r2 [EMAIL PROTECTED] / # Now you know what needs tetex anyway. Hope that helps. Dale :-) -- To err is human, I'm most certainly human. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Replacement for qpkg... please!?!?
On 17:28 Wed 02 Nov , Dale wrote: Walter Dnes wrote: The tetex tarball is 85 megs alone. I've managed to emerge and update everything else after last night's sync, so these aren't dependencies of those packages. With qpkg, I could find out what depends on this stuff. Help!. Try equery. It works pretty good, once I figured out how to use it, a little. I'm new to this stuff too, sort of. equery depends package name Using emerge --tree does the job too. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] USB mobile phone connection..
Thanks for going to all the trouble of testing out the phone operation on your SuSE machine. I havn't had any breakthrough yet, but your help has given me the confidence to persevere.. No problem -- I'm a software tester in Real Life (tm), so stuff like this bugs the crap out of me. I have a tendency to get a hold of a problem, and beat it into the ground sometimes, and this is one of those things that drives me absolutely crazy: inconsistent behaviour of software is _extremely_ annoying and frustrating - especially when _I'm_ the one with the works for me response, but I can't figure out what I did (if anything) to solve the problem. sigh Anyway... I'm not convinced that the problem's in the kernel. If it was, then anybody with the same kernel would run into the same problem(s)... ...and, following that logic, I started digging through the code for moto4lin, trying to see if there was anything spectacularly obvious that _might_ be causing the behaviour we're seeing. In so doing, I _think_ I _might_ have found a typo in moto_ui/p2kproc.cpp, on line 729... here's the function where that line appears: snip // Connect to phone. int P2kProc::drv_connect() { FUNC(drv_connect); int ph=drv_findPhone(); if (ph==PHONE_NONE) RAISE(no phone) if (ph==PHONE_AT) drv_switchP2K(); int t; t=time(NULL); while ((time(NULL)-t5) (ph!=PHONE_P2K)) { usb_find_devices(); ph=drv_findPhone(); usleep(1); } if (ph!=PHONE_P2K) return(-1); return(drv_openPhone()); } /snip What's got me thinking there's a typo are the following two lines: if (ph==PHONE_NONE) RAISE(no phone) if (ph==PHONE_AT) drv_switchP2K(); This looks to me like if there's no phone, an error is spit out (to the terminal, if you started moto4lin from there), then it checks to see if the phone's in AT mode, and then it tries to switch it to P2K mode. The problem here is that the switch to P2K will never be reached, because there's a missing semi-colon at the end of the first line, which means that if there's no phone _and_ it's in AT mode, then it'll do the switch... which makes little to no sense to me, if I'm reading this correctly... ...it might be worth trying out, though, to see if adding a semi-colon here would help, so that it looks like this instead: if (ph==PHONE_NONE) RAISE(no phone); if (ph==PHONE_AT) drv_switchP2K(); I checked out the current CVS version, using the instructions on the moto4lin website, and it looks as though this entire function's been rewritten (and moved to line 857-ish), and would work the way I'm thinking it should: if it doesn't find a phone, it prints an error; then it checks to see if it's an AT phone, and switches to P2K mode if it is... ...but - as I said before - I'm a software tester, not a developer... so it's entirely possible that I'm just jumping at shadows... shrug -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] MySQL Upgrade
Jeff Smelser wrote: On Wednesday 02 November 2005 02:23 pm, kashani wrote: Because once you start caring about your db that much it's usually easier to setup a crap box that replicates off your master. Then you can lock the whole db on your slave and do a mysqldump without causing issues on your main db regardless of which table type you're using. You also get the added benefit of a hot backup and no I/O hits on the main db. No, thats unfeasable.. Your talking about little DB's.. I have a 300+ gig dbs's here and replication isnt the answer. Specially considering it is statement level over row level. Don't think you could have brought up the fact that you're complaining about the shortcomings of Mysql in an entirely different class than I and likely the original poster were talking about? I'd have wanted to know a bit more about the setup before attempting to needlessly complicating everything. So yes, if your db is 20 GB or less, what I mentioned will probably work without too much trouble. If your db is 100 GB or larger, you're likely spending enough on hardware and software to solve your issues that some vendor will offer to buy you flaming Tiki drinks so it's not all bad. kashani -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Replacement for qpkg... please!?!?
On Wed, 2 Nov 2005 18:14:56 -0500 Walter Dnes [EMAIL PROTECTED] wrote: world suddenly seems to want a bunch of additional stuff... [m3000][root][~] emerge --pretend --update --world These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild N] sys-apps/hwdata-knoppix-0.107-r1 [ebuild U ] sys-libs/libkudzu-1.1.62-r1 [1.1.62] [m3000][root][~] emerge --deep --pretend --update --world These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild N] sys-apps/ed-0.2-r6 [ebuild N] net-libs/libwww-5.4.0-r4 [ebuild N] app-text/tetex-2.0.2-r5 [ebuild N] sys-apps/hwdata-knoppix-0.107-r1 [ebuild U ] sys-libs/libkudzu-1.1.62-r1 [1.1.62] The tetex tarball is 85 megs alone. I've managed to emerge and update everything else after last night's sync, so these aren't dependencies of those packages. With qpkg, I could find out what depends on this stuff. Help!. When you run emerge add -v (--verbose) to the options. It will show you what USE-flags are enabled for those particular packages. As to qpkg's replacement, it's called equery. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) pgpan2utWGSeG.pgp Description: PGP signature
Re: [gentoo-user] file with IP?
doesnt work well. In my case only gives one lan IP, misses the other Lan and the dhcp ADSL IP. Not a lot of use :( On another box it misses the bluetooth LAN BillK On Wed, 2005-11-02 at 18:54 +, Neil Bothwick wrote: On Wed, 2 Nov 2005 16:53:11 +0100, brullo nulla wrote: You can also poll the ip by doing an ifconfig and parsing its output inside your application. I think the overhead on the system would be barely recognizable if you do a reasonable (no more than every 5 seconds, let's say) poll. Wouldn't it be easier to use the output from hostname -i? It needs no parsing. -- William Kenworthy [EMAIL PROTECTED] Home! -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] java_config
On Wed, 2005-11-02 at 17:10 -0600, Michael Sullivan wrote: I'm trying to emerge dev-php/php on my wife's computer (catherine) and it gives me this error message: Traceback (most recent call last): File /usr/bin/java-config, line 14, in ? from java_config import jc_options ImportError: No module named java_config * You need to use java-config to set your JVM to a JDK! catherine ~ # java-config Traceback (most recent call last): File /usr/bin/java-config, line 14, in ? from java_config import jc_options ImportError: No module named java_config I emerged dev-php/php just fine on my PC (camille). What is causing this error and is there a way to fix it? Try running 'python-updater' and re-emerging 'java-config'. -- gentoo-user@gentoo.org mailing list
[gentoo-user] revdep-rebuild is giving me fits
Well, here it is again but this is weird. I did a little cleaning over the past week or so and may have done a little to much cleaning. I *may* have screwed up a bit here. This is what revdep-rebuild gives me: [EMAIL PROTECTED] ~ # revdep-rebuild Checking reverse dependencies... Packages containing binaries and libraries broken by any package update, will be recompiled. Collecting system binaries and libraries... done. (/root/.revdep-rebuild.1_files) Collecting complete LD_LIBRARY_PATH... done. (/root/.revdep-rebuild.2_ldpath) Checking dynamic linking consistency... broken /usr/lib/gaim/tcl.so (requires libtcl8.3.so libtk8.3.so) broken /usr/lib/libgtkmm-2.0.so.1.5.9 (requires libsigc-1.2.so.5) broken /usr/lib/libgdkmm-2.0.so.1.5.9 (requires libsigc-1.2.so.5) broken /usr/lib/libpangomm-1.0.so.1.5.9 (requires libsigc-1.2.so.5) broken /usr/lib/libglibmm-2.0.so.1.5.9 (requires libsigc-1.2.so.5) broken /usr/lib/libatkmm-1.0.so.1.5.9 (requires libsigc-1.2.so.5) broken /usr/lib/python2.2/lib-dynload/_tkinter.so (requires libtk8.3.so libtcl8.3.so) broken /usr/lib/python2.2/site-packages/gtk-2.0/gtk/gl.so (requires libgtkgl-2.0.so.1) broken /usr/lib/libgtkmm_generate_extra_defs-2.0.so.1.5.9 (requires libsigc-1.2.so.5) broken /usr/bin/gnome-panel-properties-capplet (requires libcapplet.so.0) broken /usr/sbin/ab2 (requires libdb-4.1.so) broken /usr/sbin/htdbm (requires libdb-4.1.so) broken /usr/sbin/logresolve2 (requires libdb-4.1.so) broken /usr/sbin/htpasswd2 (requires libdb-4.1.so) broken /usr/sbin/ab2-ssl (requires libdb-4.1.so) broken /usr/sbin/rotatelogs2 (requires libdb-4.1.so) broken /usr/sbin/checkgid2 (requires libdb-4.1.so) broken /usr/sbin/htdigest2 (requires libdb-4.1.so) broken /usr/sbin/apache2 (requires libdb-4.1.so) broken /usr/X11R6/lib/gaim/tcl.so (requires libtcl8.3.so libtk8.3.so) broken /usr/X11R6/lib/libgtkmm-2.0.so.1.5.9 (requires libsigc-1.2.so.5) broken /usr/X11R6/lib/libgdkmm-2.0.so.1.5.9 (requires libsigc-1.2.so.5) broken /usr/X11R6/lib/libpangomm-1.0.so.1.5.9 (requires libsigc-1.2.so.5) broken /usr/X11R6/lib/libglibmm-2.0.so.1.5.9 (requires libsigc-1.2.so.5) broken /usr/X11R6/lib/libatkmm-1.0.so.1.5.9 (requires libsigc-1.2.so.5) broken /usr/X11R6/lib/python2.2/lib-dynload/_tkinter.so (requires libtk8.3.so libtcl8.3.so) broken /usr/X11R6/lib/python2.2/site-packages/gtk-2.0/gtk/gl.so (requires libgtkgl-2.0.so.1) broken /usr/X11R6/lib/libgtkmm_generate_extra_defs-2.0.so.1.5.9 (requires libsigc-1.2.so.5) broken /usr/X11R6/bin/gnome-panel-properties-capplet (requires libcapplet.so.0) broken /usr/X11R6/sbin/ab2 (requires libdb-4.1.so) broken /usr/X11R6/sbin/htdbm (requires libdb-4.1.so) broken /usr/X11R6/sbin/logresolve2 (requires libdb-4.1.so) broken /usr/X11R6/sbin/htpasswd2 (requires libdb-4.1.so) broken /usr/X11R6/sbin/ab2-ssl (requires libdb-4.1.so) broken /usr/X11R6/sbin/rotatelogs2 (requires libdb-4.1.so) broken /usr/X11R6/sbin/checkgid2 (requires libdb-4.1.so) broken /usr/X11R6/sbin/htdigest2 (requires libdb-4.1.so) broken /usr/X11R6/sbin/apache2 (requires libdb-4.1.so) done. (/root/.revdep-rebuild.3_rebuild) Assigning files to ebuilds... done. (/root/.revdep-rebuild.4_ebuilds) Evaluating package order... Warning: Failed to resolve package order. Will merge in random order! Possible reasons: - Some ebuilds are no more in portage tree. - Some ebuilds are masked, try to change ACCEPT_KEYWORDS=~your platform and/or use /etc/portage/package.unmask . done. (/root/.revdep-rebuild.5_order) All prepared. Starting rebuild... emerge --oneshot --nodeps =net-www/apache-2.0.52-r1 .. Calculating dependencies emerge: there are no ebuilds to satisfy =net-www/apache-2.0.52-r1. Result is not OK, you have following choices: - if emerge failed during build, fix the problems and re-run revdep-rebuild or - use -X or --package-names as first argument (try to rebuild package, not exact ebuild - ignores SLOT!) or - set ACCEPT_KEYWORDS=~your platform and/or /etc/portage/package.unmask (and remove /root/.revdep-rebuild.5_order to be evaluated again) or - modify the above emerge command and run it manually or - compile or unmerge unsatisfied packages manually, remove temporary files and try again (you can edit package/ebuild list first) To remove temporary files, please run: rm /root/.revdep-rebuild*.?_* [EMAIL PROTECTED] ~ # As you can see I have a few broken thingys. It says I need to re-emerge apache and I have never used apache in my life. What the heck does it need that for? This is my desktop rig not some fancy server. Should I just do a emerge -ev world and be done with it or does someone have a better solution to this thing? It was also a little upset about something called faad2 but for some reason it decided it didn't need it anymore. This was the original list of