Re: [gentoo-user] How to determine if a partition is formated
On Friday 10 February 2006 20:05, Iain Buchanan wrote: are you sure? At least for fdisk, (and maybe for 'file' as well) this will just show what you've told the partition it is. 'file' determines filetypes primarily by looking for 'magic numbers' within the file, so 'file' should indeed identify the proper type of filesystem. In fact, if you have a filesystem in a regular file (such as a disk image), it will still properly identify the filesystem. -- # # electronerd, the electronerdian from electronerdia # pgp9gQYFGR67f.pgp Description: PGP signature
Re: [gentoo-user] USE flags: mmx sse sse2
On Friday 13 January 2006 07:45, Francesco Riosa wrote: Tom Smith wrote: Well, if they're /not/ mutually exclusive, another question that comes up is... If a program is compiled with sse or sse2 support on a Pentium II, will the program run slower than it otherwise would? (Some of the programs I have are compiled and then distributed to servers with different CPUs--P-IIs and P-IVs, mainly.) speaking of manually added options to CFLAGS*, not of use flags The only place where mathematics count on a server is encryption ? (notice the question mark) Mayor part of server software use integer math that are not so enhanced by optimizations. The code produced is less stable, and difficult to debug, this bring to the question: why take the risk ? actually, mmx (MultiMedia eXtensions) , sse and sse2 instructions are designed primarily for multimedia and gaming type applications, which _do_ use floating-point math, and AFAIK, encryption is going to be all-integer too (floating-point math is not perfectly precise) And, like I said earlier, if you put a program with an sse or sse2 instruction on a PII, the program will most likely spontaneously abort when it tries to execute the unsupported instruction. -- # # electronerd, the electronerdian from electronerdia # pgpi1Bf5sd8ou.pgp Description: PGP signature
Re: [gentoo-user] USE flags: mmx sse sse2
On Friday 13 January 2006 14:24, Trenton Adams wrote: On 1/12/06, John Myers [EMAIL PROTECTED] wrote: On Thursday 12 January 2006 18:45, Tom Smith wrote: Well, if they're /not/ mutually exclusive, another question that comes up is... If a program is compiled with sse or sse2 support on a Pentium II, will the program run slower than it otherwise would? (Some of the programs I have are compiled and then distributed to servers with different CPUs--P-IIs and P-IVs, mainly.) If a program uses an instruction that the processor doesn't support, the program will be sent SIGILL, the default action of which is to terminate immediately. Are you absolutely positive of that? I *thought* (would have thought) compilers these days would compile in conditional use of such instructions? That way if large blocks could benefit from these new instructions, they would use them, otherwise fall back to a common set of instructions. Of course this wouldn't be very beneficial for small sections of code. I've been wondering about this for quite some time though, but never bothered to investigate. I'm not _absolutely_ positive, but to do so would likely result in _slower_ code, maybe breaking even occasionally. Using C/C++ as the language: - blocks of multiply-compiled code can be no larger than a single fuction, as the compiler does not know what other functions call that function, and given current build systems, _cannot_ know. Exceptions: inline functions count where the function is inlined, and file-scope (static) functions can be optimized together, but only if they are only called by other file-scope functions, as the compiler can generate a complete list of callers. - the code must be recalculated and duplicated not just for each technology, but for each meaningful and distinct combination of technologies, meaning more conditionals and more branches (and larger code) - code size plays a large role in program performance. Many people report that gcc -Os often gives faster executables than gcc -O3 - How far back do you want to go? Each generation (and brand) of processors adds new technologies and techniques, and the fastest code for one processor may be the slowest for another. -- # # electronerd, the electronerdian from electronerdia # pgpIiINz58oPn.pgp Description: PGP signature
Re: [gentoo-user] I can't send email anymore. O_O
On Friday 13 January 2006 19:00, Richard Fish wrote: On 1/13/06, Willie Wong [EMAIL PROTECTED] wrote: [pid 3564] open(/usr/lib/mozilla/chrome/comm.jar, O_RDONLY|O_LARGEFILE snip This is making me think there is some kind of java or plugin problem, since .jar files are essentially java libraries. Actually, in this case, probably not. Mozilla uses jars for many many things. In fact they're really just renamed Zip files. It could be anything (though this one has something to do with the UI components). -- # # electronerd, the electronerdian from electronerdia # pgpYfGKAIYJJf.pgp Description: PGP signature
Re: [gentoo-user] I can't send email anymore. O_O
On Thursday 12 January 2006 13:54, Dale Kirkley wrote: An error occurred while sending mail. The mail server responded: 5.7.1 whatever email address I am trying to send to Relaying denied. Please verify that your email address is correct in your Mail preferences and try again. Sounds like you need to check your SMTP Authentication settings. Go to Edit - Mail and Newsgroups Account Settings - Outgoing Server (SMTP) and verify that the settings are correct, especially the user name setting. -- # # electronerd, the electronerdian from electronerdia # pgpSwi24LsM6w.pgp Description: PGP signature
Re: [gentoo-user] USE flags: mmx sse sse2
On Thursday 12 January 2006 18:45, Tom Smith wrote: Well, if they're /not/ mutually exclusive, another question that comes up is... If a program is compiled with sse or sse2 support on a Pentium II, will the program run slower than it otherwise would? (Some of the programs I have are compiled and then distributed to servers with different CPUs--P-IIs and P-IVs, mainly.) If a program uses an instruction that the processor doesn't support, the program will be sent SIGILL, the default action of which is to terminate immediately. -- # # electronerd, the electronerdian from electronerdia # pgpbNYmSW7dGu.pgp Description: PGP signature
Re: [gentoo-user] No xterms after kernel upgrade.
On Sunday 08 January 2006 13:03, darren kirby wrote: Hello all, I recently upgraded the kernel on my laptop to 2.6.14-r5, as well as Xorg, and many other packages. Since this change I cannot run an xterm anymore. I seem to recall this happening to me years ago, but I do not remember the cause. When I start X, all is well, and everything runs as it should, except for term programs. Eterm hangs there, but instead of a prompt, I get press esc to exit. konsole and {a,x}term don't even show up, although I suspect they are just starting then stopping immediately. I do have psuedo terminals in my kernel, and in fact the config is exactly as it was with the old kernel. Any ideas how to troubleshoot this? If you want to see my config file or something else just ask. Thanks, -d hmm... try switching to another virtual console (e.g. ctrl+alt+F1), logging in as your user and running DISPLAY=:0 konsole (or replace 'konsole' with whatever term program) and see if you get any messages -- # # electronerd, the electronerdian from electronerdia # pgp0hWk7gLu74.pgp Description: PGP signature
Re: [gentoo-user] Re: OT - Need MythTV setup help (resend)
On Sunday 08 January 2006 13:18, Michael Sullivan wrote: On Sun, 2006-01-08 at 13:04 -0800, Bob Sanders wrote: On Sun, 8 Jan 2006 08:50:31 -0800 Bob Sanders [EMAIL PROTECTED] wrote: One other thing - if you're using a 64-bit machine, you'll need to run - mplayer-bin test.mpg to see the default capture. The format isn't recognized in the 64-bit version of mplayer because the codecs are 32-bit. Bob - I don't think I'm running a 64-bit machine. How do I know? Then you probably aren't. x86 is 32 bit. amd64 is 64 bit. -- # # electronerd, the electronerdian from electronerdia # pgp4ppqgxAWwq.pgp Description: PGP signature
Re: [gentoo-user] No xterms after kernel upgrade.
On Sunday 08 January 2006 14:05, Michael Kjorling wrote: On 2006-01-08 13:03 -0800, [EMAIL PROTECTED] wrote: I recently upgraded the kernel on my laptop to 2.6.14-r5, as well as Xorg, and many other packages. Since this change I cannot run an xterm anymore. I seem to recall this happening to me years ago, but I do not remember the cause. Did you make any changes related to pty support? He answered that in the OP. On 2006-01-08 13:03 -0800, [EMAIL PROTECTED] wrote: I do have psuedo terminals in my kernel, and in fact the config is exactly as it was with the old kernel. -- # # electronerd, the electronerdian from electronerdia # pgpwY1C9iBcJy.pgp Description: PGP signature
Re: [gentoo-user] eix - What's eix, then?
On Sunday 08 January 2006 17:49, Iain Buchanan wrote: can eix do the following (taken from esearch --help) snip Yep! -- # # electronerd, the electronerdian from electronerdia # pgp0Vwl6JMMo0.pgp Description: PGP signature
Re: [gentoo-user] eix - What's eix, then?
On Sunday 08 January 2006 18:50, Benjamin Fritzsche wrote: While were on the subject: is there something like esync for eix? (show me the differences after a emerge sync/eix-update?) eix-sync -- # # electronerd, the electronerdian from electronerdia # pgpSfs72pn0qp.pgp Description: PGP signature
Re: [gentoo-user] Irritating problem #2-- colordiff
On Saturday 07 January 2006 10:37, Holly Bostick wrote: No. I don't actually use colordiff standalone, so no reason. I did, however, have an (unnecessary) alias around etc-update, which I have now removed, allowing it to rely solely on its sudo entry. But since I don't have any updates to diff until I get my other little problem fixed, Try changing your 'pager' variable in etc-update.conf from 'less' to 'less -R'. -- # # electronerd, the electronerdian from electronerdia # pgp4vKh2Rc6ZE.pgp Description: PGP signature
Re: [gentoo-user] how to save ps file from OpenOffice writer?
On Sunday 20 November 2005 19:18, 張韡武 wrote: Hello. So far openoffice is the only application that I know that could not directly export PS format, or print to a 'generic PS printer'. I am having a lot of troubles trying to generate PS file for my documents. Usually I have to go to a Windows computer and print to the 'Adobe PS Printer', and take the file back in a usb stick to my Linux computer. The usual gnome 'generic PS printer' simply does not exist as a printer of choice in the print dialogue box. How do you guys manage to make PS files? You could try exporting as a PDF, then running pdf2ps (from app-text/ghostscript) on it pgpsqUCVqG0rQ.pgp Description: PGP signature
Re: [gentoo-user] how to find if a program is using a particular /dev device?
On Thursday 17 November 2005 23:54, [EMAIL PROTECTED] wrote: I have a custom device driver in /dev/ that can only be used by one program at a time. Since the device is /dev/ttyUSB0, I can see if anyone is using it by: ls -l /proc/*/fd/* | grep ttyUSB0 Is there a utility or other better way I can discover which process, or better, which program, is using a particular device? Thanks, Michael try lsof pgp77FskRrYfa.pgp Description: PGP signature
Re: [gentoo-user] *** glibc detected *** malloc(): memory corruption (fast): 0x081fb2c1 ***
On Friday 18 November 2005 10:37, Michael Sullivan wrote: Being fairly inexperienced with C++ I have no idea what this means. Is this a problem with my program or with my system. Is there a way to fix it? Can anyone at least explain to me what it means? Probably an error in your program. Check for the same kinds of things which could cause a segfault, i.e. pointer and array problems pgpF1ZNRkJ34N.pgp Description: PGP signature
Re: [gentoo-user] some i/o errors are making my portage useless!
On Thursday 03 November 2005 15:13, Denis wrote: Running df shows that /usr partition is at 18% use. However, running du gives more input/output errors... First, I would back up all your data immediately. You have filesystem corruption or hardware failure. And if you have hardware failure, you probably also have filesystem corruption. If you have space somewhere, boot with a livecd, and copy everything (except /usr/portage) to another place. Then, recreate the filesystem, and copy it back. If this works, and the errors cease, you're probably OK. If not, you need to buy a new disk pgpgF2cGyf7RP.pgp Description: PGP signature
Re: [gentoo-user] Re: ethereal weirdness
On Monday 31 October 2005 07:43, James wrote: unset: adns snmp and kerberos are all in blue. Does this mean they are optional? I have not found documents on this color coding with various gentoo tools. Any documental wisdom on discerning these various color coded words in a terminal session? Red means 'on' Blue means 'off' Green means 'on, and changed since last merge' And and asterisk after the flag name means 'changed since last merge' pgpt2EZnP1n2v.pgp Description: PGP signature
Re: [gentoo-user] power-down during emerge -u world causing library-issues
On Tuesday 01 November 2005 02:19, Fernando Meira wrote: So, there are some missing libraries and others causing conflicts.. don't know if that was caused by the power-down, or something while updating was running, but how can I fix this? Should I reemerge some packages? If so, which ones? try reemerging dbus and hal, in that order. pgpuKIyae8S2X.pgp Description: PGP signature
Re: [gentoo-user] BUG in glibc????
On Sunday 30 October 2005 13:54, capsel wrote: is it a bug in glibc or in my code? Probably not a bug in glibc. I'm 99% sure that there are no bugs that obvious in printf or strcmp. glibc is absolutely the most tested code in a GNU/Linux system, aside from the kernel itself, seeing as it is used by the *vast* majority of users, for every app on their system. And printf is probably one of the most-used and abused functions in glibc. so, the answer to 'did I find a bug in printf?' is almost invariably 'Most likely not.' pgpXvXZtUYBl9.pgp Description: PGP signature
Re: [gentoo-user] translucency bork
On Friday 14 October 2005 01:34, Jorge Almeida wrote: Anyone knows a workaround? (Don't tell me to file a bug, because I don't know how to do that...) Um, file a bug! You must learn! hint: http://bugs.kde.org/ pgpa5x3I12ODn.pgp Description: PGP signature
Re: [gentoo-user] keeping hosts file in sync
On Wednesday 28 September 2005 07:46, Dave Nebinger wrote: Whats the best way to keep several /etc/host files in sync ? The easiest way is not to bother. Use a local dns server to provide host lookups. I believe on the gentoo wiki you'll find a setup for a caching dns proxy where the most lookups will be forwarded to a regular dns but you can still provide local host lookups and reverse lookups. Works great for me and I don't have to worry about whatever /etc/hosts contains. Also ensures that new windows clients added to the network don't need their files updated, either. In fact, the default BIND install will do the forwarding. I don't know if it's caching, but it definately works well on my (small) home network. I use Webmin for management, and it works great. I also use ISC dhcpd to assign my systems their static internal IP addresses by their MAC address, and to give the location of the DNS server, so I don't have to do any network configuration on my clients. It really works well for me. pgpFUpLAxDUKs.pgp Description: PGP signature
Re: [gentoo-user] gcc usefalgs
On Sunday 25 September 2005 05:39, Holly Bostick wrote: Matthias Langer schreef: I'm woudering about the effect of the following useflags for sys-devel/gcc: gtk, multislot, vanilla Does anybody know what they do ? Vanilla and multislot are pretty obvious, not quite sure what gtk does in relation to gcc except for the default behaviour, but what gcc might need with gtk support specifically, I couldn't say. AFAICT, the gtk flag is only useful with the gcj flag. It enables GTK support in the Java graphics libraries used by GCJ pgpQgYxjEuhmr.pgp Description: PGP signature
Re: [gentoo-user] ntsysv equivalent (and logrotate frequency)
On Saturday 17 September 2005 20:11, C. Beamer wrote: Hi all, When I installed Gentoo, I chose syslog-ng as my system logger. It was suggested that I install logrotate to prevent my logfiles from becoming unmanagageably large. On my desktop system, my /var/log/messages starts October 19, 2004 and is only 30MB, and I shut down the machine every night. 'tail /var/log/messages' is still just about instantaneous I did this. However, my /var/log/messages file includes logging from the first day that Gentoo was running on my system and that's now about 2 weeks. Is there a default length of time before logrotate will rotate the log files? check in /etc/logrotate.conf. I believe the default is weekly. Also, if your system is not run continuously, you may want to look into anacron, as logrotate is run as a daily cron job For future reference, it is generally best to send separate messages to the list for separate topics. i.e. one message for logrotate, and one message for the service viewer. Makes it easier for potential responders to find interesting questions, and for people searching for answers to find them. Also, does Gentoo have an equivalent to ntsysv where you can set services to stop and start? I assume that when you issue the command rc-update add program name default that this essentially is telling some service to start at boot time. Correct. However, if there is something like ntsysv available where you can see the services that are running, I would appreciate being told what it is. as Daevid Vincent [EMAIL PROTECTED] said: rc-update show also rc-status pgpSqcjyryySD.pgp Description: PGP signature
Re: [gentoo-user] new gentoo installed but can't boot: Disk Boot Failure, Insert System Disk And Press Enter
On Saturday 17 September 2005 21:47, Walter Dnes wrote: Can you check the jumpers on the drive? In the old days, there were just master and slave. Now there's a 3rd option cable select, which may be abbreviated as CS. It works automagically with Windows but it does *NOT* work with linux. If the jumper is set CS, set it to master and try booting from it again. Good thinking, except that it's failing in the BIOS. Linux has nothing to do with it. I would suggest checking the jumpers (if it's a PATA disk), unplugging and replugging the signal cable (at both ends), and unplugging and replugging the power cable. If you have access to one, try with a different signal cable, and try with a different lead from your PSU Also might check for bad a bad CMOS battery, and check the BIOS settings, ensuring all your controller hasn't accidentally been turned off. You might also try wiggling the block of connectors on the drive. I happen to have a funky SATA Seagate Barracuda 7200.7 which stops my system booting if the connector block is jostled the wrong way. pgpSFhIg1IXkx.pgp Description: PGP signature
Re: [gentoo-user] Best way to build a debugging binary
On Monday 05 September 2005 15:32, Alex Bennee wrote: Hi, I keep getting crashes when exiting evolution so I thought I'd have a go at generating a decent debugging build so I can submit a bug report. I thought the best thing to do would be re-emerge evolution with debugging enabled: CFLAGS=-g3 -O0 USE=debug emerge -v evolution However this doesn't seem to be having the desired effect. For one emerge cleans up the build so there is no reference source tree. The other is the debugging symbols don't seem to be fully there. e.g: [snip] Whats the proper gentoo way to build something with symbols for getting decent backtraces from? try FEATURES=nostrip keepwork as well pgpnMaIXrgC5Z.pgp Description: PGP signature
Re: [gentoo-user] About runlevel's
On Sunday 08 May 2005 09:50, Pere Gentoo wrote: What about this way: I've seen it on http://gentoo-wiki.com/HOWTO_create_a_run_level # mkdir /etc/runlevels/noxdm # rc-update add x noxdm(add all services from the default runlevel except xdm) Modify /etc/inittab id:3:initdefault: id:3:initnoxdm: leave this change out. You just broke init. l3:3:wait:/sbin/rc default l3:3:wait:/sbin/rc noxdm This is the change you want Whit this, I have runlevel 5 as default and runlevel 3 as the new one without xdm Could this be a good idea? Thanks in advance, -- Pere ( -- Aesux -- ) pgpa4wxCJnLx7.pgp Description: PGP signature
Re: [gentoo-user] Cups + Samba weird message
On Friday 29 April 2005 06:11, Mark Knecht wrote: On 4/29/05, Chris Ong [EMAIL PROTECTED] wrote: Hi all, After I emerge samba and cups.. i got this message * Caching service dependencies... * Services 'samba' and 'cupsd' have circular * dependency of type 'iuse'; continuing... * rc-update complete. Yes, I started getting this a few days ago. (Or I first started noticing it.) I see it when I restart networking so I assumed they were telling me that cupsd and samba depend on networking which is not a surprise. The messages seem a bit ambigous though as they seem to warn me about something that's not clear what the problem or solution will be. Actually, it means that samba depends on cups, and cups depends on samba. Hence the circle. pgp17ZqIi7vqr.pgp Description: PGP signature
Re: [gentoo-user] kde kwifimanager
On Thursday 28 April 2005 22:35, LostSon wrote: Hello I seem to be having a problem with Kwifimanager when i try to run it i get error while loading shared llibraries: libiw.so.28 from my googling and looking around this lib is in wireless-tools i recompiled this package and still no luck, any ideas, thanks. Try recompiling KWifimanager. pgpBk9ZBiSpDS.pgp Description: PGP signature
Re: [gentoo-user] rp-pppoe start on boot?
On Wednesday 27 April 2005 21:15, Peet Grobler wrote: Christoph Eckert wrote: |Which would be the correct way to do this with gentoo? | | rc-update add SERVICENAME default | rc-update del SERVICENAME default Ah, I presume rc-update add net.ppp0 default would work... nope, rp-pppoe, not net.ppp0 pgpOiRf4lyZ0h.pgp Description: PGP signature