Re: [gentoo-user] Motherboard support?

2011-09-29 Thread Adam Carter
How good is Linux support with those? If bad, what other mobos support 1075T and Linux support is awesome? most probably they will just work. I've just built a machine based on GA-880-GM-UD2H that I bought a couple of years ago, and it works well. It supports 1090T and 1100T, which you should

Re: [gentoo-user] Re: Slightly OT but interesting nonetheless...

2011-09-29 Thread Adam Carter
which is your own fucking fault. Get your drivers into the kernel. Problem solved. Does gratuitous obscenity come naturally to you, or do you have to work at it? I am naturally grumpy. Yeah we've noticed ;) I like reading your posts because you know stuff, and I like the fireworks.

Re: [gentoo-user] Re: Slightly OT but interesting nonetheless...

2011-09-29 Thread Adam Carter
Be careful though, being grumpy is dangerously seductive. It is? You could have fooled me Sorry - I meant being grumpy is seductive for the grumpy person. Its pretty much the opposite for the people they interact with, as you imply.

[gentoo-user] Blank screen in X, no errors in Xorg.log

2011-10-02 Thread Adam Carter
no process called X or anything related to X, if i ssh in from another machine and run 'pgrep -lf X' as root. When using fglrx; proxy adam # tail Xorg.0.log [ 458.503] (II) fglrx(0): Desc: ATI FireGL DRM kernel module [ 458.503] (II) fglrx(0): Kernel Module version matches driver

Re: [gentoo-user] Blank screen in X, no errors in Xorg.log

2011-10-02 Thread Adam Carter
-Kernel PAGE_SIZE: 0x1000 [ 825.350] (II) fglrx(0): [uki] register handle = 0xd000 adam@proxy ~ $

Re: [gentoo-user] Blank screen in X, no errors in Xorg.log

2011-10-02 Thread Adam Carter
By the way, you realise you also need to setup correct kernel modules and disable conflicting ones when changing from fglrx to radeon, right? Really - i thought changing the X driver was all that was required. Is that do with with KMS? Anyway, i think i'll focus on just using fglrx as its

Re: [gentoo-user] Blank screen in X, no errors in Xorg.log

2011-10-03 Thread Adam Carter
FYI, this is fixed. I ran 'strace startx startx.strace.out 21' and this showed; /usr/bin/X: symbol lookup error: /usr/lib64/xorg/modules/drivers/fglrx_drv.so: undefined symbol: GlxInitVisuals2D Which means that i forget to eselect opengl set 1, though it wasn't logged to Xorg.0.log (so it was

Re: [gentoo-user] Strange partition on USB stick

2011-10-03 Thread Adam Carter
If the data is important, I'd use ddrescue to create an image of the drive, then run testdisk over that image to see if it can untangle the partition table mess. Both are in portage.

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-03 Thread Adam Carter
By the way, is it possible to use LABELs without and initrd? I'll start using an initrd before too long, I'll also mess with decorations, but for now, I'd like to keep my setup simple, no initrd. AND what bootloaders can use LABEL/UUID? Can grub's device.map use them?

Re: [gentoo-user] Re: Hard drives not detected in repeatable order.

2011-10-03 Thread Adam Carter
You are right: for grub-legacy you need to use the old hd(x,y) thingy. Which i assume suffers from the same reassignment risk as the kernel's /dev/sdX naming that prompted this discussion. Looks I'll be moving to grub2.

Re: [gentoo-user] {OT} Computers and mental/emotional health

2011-10-10 Thread Adam Carter
Have you ever wondered why the blooming of obesity has coincided with the popularity of the low-fat diet? Correlation implies causation? Perhaps the blooming of obesity caused people to start looking for new diets to address the issue. IMO diet is the most important contributor to weight, but

Re: [gentoo-user] zram / compcache, anyone?

2011-10-13 Thread Adam Carter
In the kernel? What .config knob should I twiddle? Device Drivers - Staging Drivers - Compressed RAM block device

Re: [gentoo-user] zram / compcache, anyone?

2011-10-13 Thread Adam Carter
On Fri, Oct 14, 2011 at 12:29 PM, Adam Carter adamcart...@gmail.com wrote: In the kernel? What .config knob should I twiddle? Device Drivers - Staging Drivers - Compressed RAM block device But Dynamic Compression of swap pages underneath looks interesting too (check the help). Compressed RAM

Re: [gentoo-user] Gentoo Install Issue

2011-10-16 Thread Adam Carter
BTW, I had forgotten to run 'eselect opengl set ati' which I've always done when configuring X.  However, when I do this, it returns 'Unrecognized option:  ati' You all are probably thinking I'm nuts now, but I thought this my solve the issue as stated about.  I've checked an rechecked the

Re: [gentoo-user] Gentoo Install Issue

2011-10-16 Thread Adam Carter
The * is actually included in the output and I was too chicken to try this.  I don't understand why ati or radeon isn't listed 'cause I followed the Gentoo ATI Guide and X Configuration Guide. Do you have the opengl USE flag set? SNIP, fglrx is too much effort. fglrx is no trouble at all,

Re: [gentoo-user] Re: Which desktop antivirus?

2011-10-22 Thread Adam Carter
there aren't any Linux viruses, Except for the ones listed on the page below, which is probably incomplete. http://en.wikipedia.org/wiki/Linux_malware But yeah, on a linux desktop (especially a Gentoo one) you don't need a virus scanner. Yet.

Re: [gentoo-user] Re: Which desktop antivirus?

2011-10-22 Thread Adam Carter
Furthermore, even if there were enough Linux viruses to worry about, there isn't a good way of getting infected.  On Windows, you download random executables from the net.  On Gentoo, you install your stuff through portage.  It's nearly impossible to get infected. except when someone puts up

Re: [gentoo-user] Re: [OT] Disappointing USB3 performance

2011-10-24 Thread Adam Carter
USB does use DMA. Check the kernel source doco Documentation/usb/dma.txt

Re: [gentoo-user] problem with pam

2011-10-29 Thread Adam Carter
On Sat, Oct 29, 2011 at 8:55 PM, co cui...@gmail.com wrote: I upgrade pad to 1.1.5 ,then openrc can't work,and can't login to system. libpam.so.0 can't open shared object file. please help! I always run revdep-rebuild any time libs are updated, but in this case the lib name stays the same.

Re: [gentoo-user] Realtec 8111C LAN not detected...

2011-10-29 Thread Adam Carter
I did one more test: I simply manually configured eth0 no matter there was no such an interface. And suddenly it is up and running! Problem must be somewhere in communication with dhcp-server (my router). at the start were you running ifconfig or ifconfig -a? Without -a it will only show

Re: [gentoo-user] problem with pam

2011-10-29 Thread Adam Carter
And i try to re-emerge pam,but i can't With the old file and links there I don't understand why your system doesn't work, but re-emerging pam it definitely worth trying. What fails when you try to re-emerge? Also, what about # ldd /sbin/rc

[gentoo-user] sane cant find my scanner

2011-10-30 Thread Adam Carter
I have an HP PSC 950, hplip installed and printing works. hplip online docs show that scanning is supported and that Scan supported means that PC initiated scan using a SANE compatible software application is supported over parallel, USB, or network (depending on I/O connection).

Re: [gentoo-user] TUSB3410 on 3.0.6 kernel

2011-11-06 Thread Adam Carter
I would like to ask about the kernel 3.0.6. I can't load the ti_usb_3410_5052.ko. I mean, when I select it in the kernel menu, it makes fine, but when I type make modules_install, I get an error: make[1]: *** No rule to make target `/lib/firmware/./', needed by `/lib/firmware/ti_3410.fw'.  

Re: [gentoo-user] TUSB3410 on 3.0.6 kernel

2011-11-06 Thread Adam Carter
On Mon, Nov 7, 2011 at 9:28 AM, Érico Porto ericoporto2...@gmail.com wrote: Ok I will try it. I used: make make modules_install make install Doesn't the modules get made in the make part? Yes, you're right. I only use make modules if I'm adding a module to an existing setup.

Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-06 Thread Adam Carter
All it does it copy the kernel, system map and config to /boot and reset the symlinks to point to the new and previous kernels. You can still keep as many kernels as you want in /boot, but you can always boot the last two without modifying GRUB's config. Can you please ls -l /boot so i can

Re: [gentoo-user] Re: Another hardware thread

2011-11-15 Thread Adam Carter
Performance is one issue, another one is energy/noise ... the phenom 1090t seems to pull in a lot and need good (and maybe noisy) fans. I've just bought a 965 (a 1100T wouldn't boot despite being supported by the latest bios). The CPU fan is very quiet when the system is idling, but spins up

[gentoo-user] sed/awk question

2011-11-21 Thread Adam Carter
Hi All, I need to cut a string, which happens to be a filename, using the first dash that's followed by a numeral, so cut -f 1 -d- fails if the filename has an extra dash. How do i do this?

Re: [gentoo-user] sed/awk question

2011-11-21 Thread Adam Carter
sed -r -e 's/(.*)-[0-9].*/\1/' You know, that looks familiar... are you trying to get a package name from the list of eix-installed? :-) No - its non-gentoo. In this case it hasn't worked $ echo net-snmp-5.3.2.2-5.cp843034001.i386.rpm | sed -r -e 's/(.*)-[0-9].*/\1/' net-snmp-5.3.2.2

Re: [gentoo-user] sed/awk question

2011-11-21 Thread Adam Carter
I'd use sed and the regex -[0-9] to delimit the field foo=`echo '123--bad-2xyz-3--' | sed -r -e s/-[0-9].*//` echo $foo 123--bad Helpful? Perfect - thanks!

Re: [gentoo-user] glibc-2.14.1 upgrade

2011-11-26 Thread Adam Carter
/lib64/libc.so.6: version `GLIBC_2.14' not found (required by /lib64/libcrypt.so.1) There were no @preserved-rebuild and revdep-rebuild found nothing. I rebuilt pam and things seem to be working again. Are there any other packages I should rebuild before encountering a problem? Or some

Re: [gentoo-user] Configure xorg Failed

2011-12-05 Thread Adam Carter
What video card do you have? Did you build the drivers for it?

[gentoo-user] Comparing guest OS filesystems

2011-12-07 Thread Adam Carter
Hi All. I'm looking for some suggestions. Setup is Gentoo host running VMWare workstation 8 with two guests which are loosely based on RHEL. I'm checking to see if patch installation order in the guests has any effect. Not all the patches are rpm based, so I want to check to see if there are any

[gentoo-user] FYI: problems with 3.1.3/3.1.4 and btrfs

2011-12-08 Thread Adam Carter
On two different machines I've had fs mount failures, even though earlier mounts of the same filesystems on those kernels worked. 3.1.0 seems ok, and it mounted the fs that 3.1.3 couldn't.

Re: [gentoo-user] Re: ext4 - grow_buffers: requested out-of-range block BLOCKID

2011-12-12 Thread Adam Carter
I've looked at the kernel code that causes the error message. It verifies that this is most likely a dead disk: It would be worth running smartctl from smartmontools to see what it knows of the disks status.

Re: [gentoo-user] Who can tell me relationship among dri,glx,mesa,xorg?

2011-12-15 Thread Adam Carter
Yeah, I was wrong :) libglx and libdri are part of xorg-server. libglx can also be provided by driver packages. You can select the xorg one or others via eselect; proxy adam # eselect opengl list Available OpenGL implementations: [1] ati * [2] xorg-x11 Also, I imagine those kernel

[gentoo-user] squid 3.1.18 build failure

2011-12-26 Thread Adam Carter
System is mostly amd64, but gcc and squid are ~amd64. The error appears to be at; x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\/etc/squid/squid.conf\ -DDEFAULT_SQUID_DATA_DIR=\/usr/share/squid\ -DDEFAULT_SQUID_CONFIG_DIR=\/etc/squid\ -I.. -I../include -I../src -I../include

Re: [gentoo-user] Re: squid 3.1.18 build failure

2011-12-26 Thread Adam Carter
http://www.mail-archive.com/squid-dev@squid-cache.org/msg16870.html http://bugs.squid-cache.org/show_bug.cgi?id=3440 looks like the problem was already found and fixed. Fix seems to be a simple one-liner, so if you raise a bug we can discuss it there. Thanks Holger - i'll raise a gentoo bug

Re: [gentoo-user] Re: squid 3.1.18 build failure

2011-12-26 Thread Adam Carter
FYI its https://bugs.gentoo.org/show_bug.cgi?id=396163 in case you want to follow

Re: [gentoo-user] Sharing /home and swap

2011-12-27 Thread Adam Carter
. Is there anything in my current Gentoo /home and swap that locks them to the Gentoo install or can I share them between the two installs? No. As long as SUSE supports the file system on /home you're using in Gentoo it will work fine, and that's very likely. When you're booted into SUSE, run

Re: [gentoo-user] Kernel 3.1.6 and loss of sound

2011-12-30 Thread Adam Carter
In other news...So 3.1.6 just went stable for amd64. I wonder what's special about that one that wasn't met by 3.0.{13|14} or 3.1.[0-5]. FWIW iwlagn is still broken in 3.1.6 (it broke in 3.1.5).

Re: [gentoo-user] lost wireless network

2012-01-28 Thread Adam Carter
There were a few kernels that broke iwlagn. Iirc it was 3.1.5 and 3.1.6. So i'd suggest you stick to troubleshooting on a kernel you know has previously worked, or a very recent one.

Re: [gentoo-user] This Connection is Untrusted: WAS: Firefox-10.0.1 fails to compile on x86

2012-02-23 Thread Adam Carter
In all of those cases above, if you allowed the connection it would still be SSL encrypted. You'd be protected against packet sniffers but not against man-in-the-middle attack. And the reason someone will man-in-the-middle you, is so they can sniff your traffic and get passwords or other

Re: [gentoo-user] Re: Firefox-10.0.1 fails to compile on x86

2012-02-25 Thread Adam Carter
On Sat, Feb 25, 2012 at 5:22 PM, Walter Dnes waltd...@waltdnes.org wrote: On Fri, Feb 24, 2012 at 03:13:07AM +0200, Nikos Chantziaras wrote The speed gains of building for specific submodels of CPUs might be there, but they're minimal.  Benchmarks have shown (can't find the article, it was on

[gentoo-user] Apache upgrade to 2.4 error AH00027: Buggy authn provider failed to set user

2012-04-03 Thread Adam Carter
I've just upgraded to 2.4 and am using mod_access_compat, so I can use the existing auth config in the short term. I've fixed a few things and now the daemon loads cleanly, however, when i try to get the anonymously available front page, it returns a 500 and error.log shows; [Tue Apr 03

Re: [gentoo-user] Apache upgrade to 2.4 error AH00027: Buggy authn provider failed to set user

2012-04-03 Thread Adam Carter
Possibly related? https://issues.apache.org/bugzilla/show_bug.cgi?id=52950 Yep saw that, but i didnt help.

Re: [gentoo-user] Apache upgrade to 2.4 error AH00027: Buggy authn provider failed to set user

2012-04-03 Thread Adam Carter
https://bugs.gentoo.org/show_bug.cgi?id=410607 I already put in all the fixes mentioned in there to get the clean start.

Re: [gentoo-user] Just a heads-up, I think =sys-libs/glibc-2.14.1-r3 is a stinker.

2012-04-26 Thread Adam Carter
#expanded form of -march=native. Nothing special here. Noting this here because people keep freaking out when they see it in-line. SYS_CFLAGS_MARCH_NATIVE_EXP=-march=amdfam10 -mcx16 -msahf -mpopcnt --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512

[gentoo-user] libreoffice 3.5.2.2 paste special fails

2012-05-01 Thread Adam Carter
This issue seems to have come up with the latest update to 3.5.2.2. I cut rows from one doc then want to paste them into another and use paste special to shift rows down. Howerver, paste special doesn't appear in the context menu (it used to in the previous version), and if i choose it from the

Re: [gentoo-user] libreoffice 3.5.2.2 paste special fails

2012-05-02 Thread Adam Carter
Any idea how to troubleshoot this? Any sense in trying rm -fr ~/.libreoffice? ... always worth a try - but just rename the old directory first and then move it back if thats not the problem. mv ~/.libreoffice ~/.libreoffice-orig didnt help. Any other ideas?

Re: [gentoo-user] SCP bash script

2012-05-03 Thread Adam Carter
On Thu, May 3, 2012 at 9:44 PM, LiangYun Gong kit...@gmail.com wrote: Hi guys, I have a problem with scp bash script. I was trying to automate scp command to copy files in and out, and I was trying to avoid key in the password myself. So I attempt to use the here string feature of bash, it

Re: [gentoo-user] Are those green drives any good?

2012-05-09 Thread Adam Carter
Way back in the stone age, there was a guy that released a curve for electronics life.  The failure rate is high at the beginning, especially for the first few minutes, then falls to about nothing, then after several years it goes back up again. That concept is much more general than just

Re: [gentoo-user] I want to play movies without hangs

2012-05-09 Thread Adam Carter
. You can find out if swap is being at all using with vmstat; so= swap out, si=swap in. For example, watch the following when you view the video adam@proxy ~ $ vmstat -S M 3 procs ---memory-- ---swap-- -io -system-- cpu r b swpd free buff cache si so

Re: [gentoo-user] I want to play movies without hangs

2012-05-09 Thread Adam Carter
There's plenty of swap space available. With 16 G of RAM it should not be needed, but sometimes my load gets really really high, and when I can use the system again, there is 2-3 G of swap usage. I haven't found out yet what this is, it seems to happen when emerging things, maybe related to

Re: [gentoo-user] Best caching dns server?

2012-05-19 Thread Adam Carter
Which is the best caching dns server? I'm presently using pdns-recursor, which is quite good, but doesn't have option to set minimum ttl (doesn't make sense, but some sites like twitter have ridiculously low ttl of 30s). The load balancing technology will be slow to respond if the TTLs are

Re: [gentoo-user] ~gcc-4.7.0

2012-05-29 Thread Adam Carter
Hi, as far as I can tell it works mostly. There are some packages which seem to break: - - firefox and thunderbird, if I remember correctly looks like that's fixed, from the firefox ChangeLog 28 May 2012; anar...@gentoo.org firefox-12.0-r1.ebuild: Finish adding support for gcc-4.7, bug

Re: [gentoo-user] {OT} online documents, create/manage/display

2012-06-06 Thread Adam Carter
Thanks Bryan, DokuWiki looks great.  Do you remember any setup or maintenance hassles? Can anyone else vouch for or against DokuWiki? I've been using it for a few years without issue.

Re: [gentoo-user] Firefox 13 and blank page

2012-06-07 Thread Adam Carter
I recently upgraded to firefox 13. In the preferenced I had set When firefox starts to about:blank and Home Page to about:blank. This had worked for several versions. Now -- after visiting a site -- a thumbnail of that site is shown on the blank page now. Its a new feature of v13. When

[gentoo-user] FYI - time to mask ati-drivers above 12.4 if you're Radeon 5400

2012-06-11 Thread Adam Carter
12.4 is the last Catalyst to support Radeon HD 2000/3000/4000 series, so if you're using them you probably want to; # echo x11-drivers/ati-drivers-12.4 /etc/portage/package.mask And if you're not concerned about 3D or power saving, maybe think about using the radeon driver from xf86-video-ati.

Re: [gentoo-user] I/net server throttling

2012-07-01 Thread Adam Carter
One thing you might be able to do is pay $5/mo or so for a Linux VM at some VPS provider, install and configure Squid, and bounce your own traffic off of it. Squid will pull down the file faster than you, and won't impose a connection time limit on you. (Unless you configure it to do so...)

Re: [gentoo-user] Failed to emerge Spamassassin

2012-07-04 Thread Adam Carter
I tried to emerge Spamassassin bit it failes due to missing dependencies, which I would exspect to be resolved by emerge itsself. I wanted, I will post the referenced logfiles also. How can I fix this? Try a deep dependency check; emerge -aD spamassassin

[gentoo-user] grub2 first installation

2012-07-29 Thread Adam Carter
I've installed grub2 on a single disk system, using http://en.gentoo-wiki.com/wiki/Grub2 as a guide. However, when i start the system it drops straight to the grub2 command prompt. The system has /boot is ext2 on sda1, and / is ext4 on sda3. The grub.cfg seems ok to me assuming the --set=root is

Re: [gentoo-user] grub2 first installation

2012-07-29 Thread Adam Carter
Does it not display any errors? No - no errors, straight to the grub2 command line. This menu entry looks good to me (only difference here is kernel version, UUIDs and root partition). Sounds like it may not be installed correctly... just to confirm here are the few things you should have

Re: [gentoo-user] new machine : proposed design

2012-07-31 Thread Adam Carter
CPU : AMD Bulldozer X4 FX-4170 4-Core 4,2 GHz 8 MB: 149.99 (CAD) I don't know your use case, but the only thing that is CPU intensive for me is software compilation, and since that uses more cores nicely, i'd go an 8150 to get 8 cores. Case : Canada Computer NA-680 ATX Tower 450 W

Re: [gentoo-user] Want to seriously test a NEW hard drive

2012-08-07 Thread Adam Carter
I have seen where people use dd to do this sort of thing to. I read somewhere that if you do a dd and put in all 1's, then all 0's then back again that it is very hard to get any data back off the drive. I think if you do it like over a dozen times, it is deemed impossible to get anything

Re: [gentoo-user] Want to seriously test a NEW hard drive

2012-08-07 Thread Adam Carter
To wipe a drive use dban. - live CD which uses (US) gov approved standards of wipe methods/patterns. Or shred, which comes with coreutils. dd is only going to show sectors on a failed drive - too late! To explain, modern drives have a store of locations they can use to transparently

Re: [gentoo-user] Fast file system for cache directory with lot's of files

2012-08-13 Thread Adam Carter
I think btrfs probably is meant to provide a lot of the modern features like reiser4 or xfs Unfortunately btrfs is still generally slower than ext4 for example. Checkout http://openbenchmarking.org/, eg http://openbenchmarking.org/s/ext4%20btrfs The OS will use any spare RAM for disk caching,

Re: [gentoo-user] Re: hdparm + Western Digital Green idle3

2012-08-27 Thread Adam Carter
I've just checked out the man page for hdparm. There I noticed the new -J switch. It reads: Get/set the Western Digital (WD) Green Drive's idle3 timeout value. This timeout controls how often the drive parks its heads and enters a low power consumption state. The factory default is

Re: [gentoo-user] rc.log errors

2012-08-27 Thread Adam Carter
Does OP have /var on / or is it a separate mount point?

Re: [gentoo-user] aligning SSD partitions

2012-09-05 Thread Adam Carter
I might also add, I see no speed improvements in putting portages work directory on tmpfs. I have tested this a few times and the difference in compile times is just not there. Probably because with 16GB everything stays cached anyway. Would it still be useful to use tmpfs if you wanted to

Re: [gentoo-user] UPS and serial or USB connections

2012-09-18 Thread Adam Carter
You were lucky, it's like forgetting to look when you cross the road. Getting away with it once doesn't mean it is safe. Yes, I have blown a UART chip by hotplugging a serial cable, because I'd got away with it before. I must have hot plugged serial connections on Sun, Cisco and Intel boxes

Re: [gentoo-user] Kernel options and udisk

2012-10-06 Thread Adam Carter
I'd better hurry up and get on with it, I read that decent quality valves are becoming scarce and are generally only available from (what used to be) the USSR. There's a huge market for valves for guitar amps. I think supply is safe enough.

Re: [gentoo-user] Xorg

2012-11-18 Thread Adam Carter
I would turn on kernel option: CONFIG_DRM_RADEON_KMS and make sure you also have CONFIG_INPUT_EVDEV on. Then you want INPUT_DEVICES=evdev in /etc/make.conf and if you will probably need to emerge xf86-input-evdev as well. On Mon, Nov 19, 2012 at 9:37 AM, Silvio Siefke siefke_lis...@web.de wrote:

Re: [gentoo-user] How to save a change to radeon power profile

2012-11-18 Thread Adam Carter
man sysctl On Mon, Nov 19, 2012 at 4:06 AM, Mick michaelkintz...@gmail.com wrote: On Sunday 18 Nov 2012 14:15:39 Thanasis wrote: on 11/18/2012 04:13 PM Thanasis wrote the following: on 11/18/2012 02:37 PM Mick wrote the following: I would like to check the difference between the power

Re: [gentoo-user] How to save a change to radeon power profile

2012-11-18 Thread Adam Carter
Sorry scratch that The parameters available are those listed under /proc/sys/. On Mon, Nov 19, 2012 at 10:18 AM, Adam Carter adamcart...@gmail.com wrote: man sysctl On Mon, Nov 19, 2012 at 4:06 AM, Mick michaelkintz...@gmail.com wrote: On Sunday 18 Nov 2012 14:15:39 Thanasis wrote

[gentoo-user] Adding an extra patch to an ebuild

2012-11-21 Thread Adam Carter
It looks like i have hit this gcc 4.7 build bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53113 Theres a patch attached to the bug i'd like to apply. Unfortunately the gcc 4.7.2 ebuild doesnt have epatch_user, so i need to take the other approach listed in the handbook. It suggests i use a

Re: [gentoo-user] Adding an extra patch to an ebuild

2012-11-21 Thread Adam Carter
Can you show us the link from the handbook? http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=3chap=6

Re: [gentoo-user] Adding an extra patch to an ebuild

2012-11-21 Thread Adam Carter
Create /etc/portage/env/sys-devel/gcc-4.7.2 containing post_src_unpack() { cd ${S} epatch_user } to run epatch_user after the source has been unpacked. If you need to run epatch_user after the other patches have been applied, change the function name to post_src_prepare.

[gentoo-user] Providing virtual dependency net

2012-11-27 Thread Adam Carter
I have added rc_net_wlan0_provide=net to /etc/rc.conf, but scripts like sshd still wont start, and when executed report WARNING: sshd is scheduled to start when net.eth0 has started. Why does sshd appear to be specifically requiring net.eth0? (or is the message misleading?) How do i get

Re: [gentoo-user] Providing virtual dependency net

2012-11-27 Thread Adam Carter
I don't see how, so that probably means i'm ignorant of something i need to know. Can you please elaborate? On Wed, Nov 28, 2012 at 5:52 AM, Bruce Hill da...@happypenguincomputers.com wrote: On Tue, Nov 27, 2012 at 07:02:18PM +1100, Adam Carter wrote: I have added rc_net_wlan0_provide=net

Re: [gentoo-user] Providing virtual dependency net

2012-11-28 Thread Adam Carter
of your systems have both? It also has a bunch of vmnet interfaces. sphinx adam # rc-status | egrep '(net|sshd)' netmount [ started ] net.eth0 [ inactive ] net.wlan0

Re: [gentoo-user] Providing virtual dependency net

2012-11-28 Thread Adam Carter
What do you have for the strict setting in rc.conf? I can't remember the exact name, nowhere near a Gentoo box. -- I thought i had that set, but I must have backed it out during a previous try. With that set it now works. Thanks!

Re: [gentoo-user] Restrict certain web users by IP

2012-11-29 Thread Adam Carter
So I'm sure I understand, if I want to keep the IP address which accesses the web content the same, this means setting up a vhost for a port other than 80 and 443 which the other vhosts are already set up on? No, vhosts can use http host headers, so you just need a second dns entry pointing

Re: [gentoo-user] recovery of fstab

2012-12-11 Thread Adam Carter
mount them and see whats there? Also, check the partition table to see which one is swap, and what other partitions exist.

Re: [gentoo-user] IPTABLES syntax change?

2012-12-30 Thread Adam Carter
2) Does a -j LOG return to the chain it was called from, or does it do an implicit DROP? It returns to spot where it was called from. Yep, so you could create a new chain to drop and log; /sbin/iptables -N logdrop /sbin/iptables -A logdrop -j LOG --log-prefix 'DROP ' /sbin/iptables -A

Re: [gentoo-user] Processes hang - system dies

2013-01-07 Thread Adam Carter
On Sun, Jan 6, 2013 at 1:05 AM, Robin Atwood robin.atw...@attglobal.netwrote: ** I have a very severe problem after a recent disk replacement. After a few days running, all new processes just hang. The kernel reports: My guess is disk failing or kernel bug. Install smartmontools and see if

[gentoo-user] pgo not selected for firefox 18

2013-01-10 Thread Adam Carter
17 compiled with pgo but in the emerge output for 18 it shows as (-pgo). pgo is selected in make.conf, and in the ebuild; DEPEND=${RDEPEND} dev-python/pysqlite virtual/pkgconfig pgo? ( =dev-lang/python-2*[sqlite] =sys-devel/gcc-4.5 )

Re: [gentoo-user] pgo not selected for firefox 18

2013-01-11 Thread Adam Carter
I had noticed it a while ago, it appears to be hardmasked: # Jory A. Pratt anar...@gentoo.org (15 Dec 2012) # PGO is known to be busted with most configurations www-client/firefox pgo I never had a single problem with it, so I'm going to unmask it and see if anything breaks. I just

[gentoo-user] OT: blanking disk of linux appliance

2013-01-13 Thread Adam Carter
shred and dd available, but not srm etc I want to remove the user account info before the device is returned, but dont want to cripple the device. Filesystem is ext3 with default mount options, which implies its mounted with the default data=ordered, and according to the docs In both the

[gentoo-user] How reliable is emerge --info output?

2013-01-14 Thread Adam Carter
The first CFLAGS (or CXXFLAGS) line below appears to be taken from the environment setting, and the second is from the packagename was built with the following section of the emerge --info output. Squid looks as it should (the -flto is added to that package only) but for firefox it appears that

Re: [gentoo-user] How reliable is emerge --info output?

2013-01-14 Thread Adam Carter
# Set optimization level if [[ ${ARCH} == hppa ]]; then mozconfig_annotate more than -O0 causes a segfault on hppa --enable-optimize=-O0 elif [[ ${ARCH} == x86 ]]; then mozconfig_annotate less then -O2 causes a segfault on x86

Re: [gentoo-user] libv8 segfault

2013-01-23 Thread Adam Carter
I didn't merge anything while I was playing with overclocking. custom-cflags is enabled. Disable custom-cflags and try again. You shouldn't expect things to work when that's on. You may get lucky at times, but youre not getting lucky now.

Re: [gentoo-user] Re: multiple installs

2013-02-09 Thread Adam Carter
You could install to one of the Athlons, then copy it to the other two Athlons and one of the FX machines. Then, reconfigure the FX install for more CPUs and native -march, recompile world and copy it to the other two FX machines. Even that might not be worth it. Unless you're using

Re: [gentoo-user] {OT} LWP::UserAgent slows website

2013-02-09 Thread Adam Carter
There are several things you can do to improve the state of things. The first and foremost is to add caching in front of the server, using an accelerator proxy. (i.e. squid running in accelerator mode.) In this way, you have a program which receives the user's request, checks to see if it's a

Re: [gentoo-user] {OT} LWP::UserAgent slows website

2013-02-09 Thread Adam Carter
Sure, so long as Apache doesn't have any additional modules loaded. If it's got something like mod_php loaded (extraordinarily common), mod_perl or mod_python (less common, now) then the init time of mod_php gets added to the init time for every request handler. Interesting, so if you have

Re: [gentoo-user] Re: multiple installs

2013-02-09 Thread Adam Carter
That might even depend on the compiler version anyway. But, I agree. Building with -march=athlon (I think it's athlon?) on one FX machine and copying to the rest would be fastest. Good call, I missed that. Of course it makes much more sense to build on a fast FX box with -j8, but have

Re: [gentoo-user] {OT} LWP::UserAgent slows website

2013-02-09 Thread Adam Carter
Can't; mod_php isn't compatible with mpm_worker. You have to use a single-threaded mpm like prefork or itk. Anyway, you're starting to get the idea why you want a caching proxy in front of apache. Indeed. Thanks for your comments.

Re: [gentoo-user] Shorewall: iptables: No chain/target/match by that name.

2013-02-10 Thread Adam Carter
How can that be only captures STDOUT, not STDERR. So the file.txt should be a subset of what's displayed on the console.

Re: [gentoo-user] pam_get_uid: no such user

2013-02-14 Thread Adam Carter
This particular machine doesn't have ssh/xinetd or the like routed from outside the local LAN. Unless someone made a mistake with the config somewhere. Run tcpdump to be sure.

Re: [gentoo-user] Hardware_ECC_Recovered growing

2013-02-25 Thread Adam Carter
Does this mean my harddrive is dying? Yes - copy everything important off to another drive asap.

[gentoo-user] Static entries in /proc and /dev

2013-03-24 Thread Adam Carter
I'm doing some disk changes and would like to know; 1. Is there anything static in /proc? (does the kernel create all the entries in proc?) 2. What are the non-udev entries in /dev. IIRC its console and zero. Cheers

<    1   2   3   4   5   6   7   8   9   10   >