Re: [gentoo-user] terrible performance with btrfs on LVM2 using a WD 2TB green drive
My problem is that LVM2 is not supported in parted which is the recommended tool to deal with this. I suspect I only need to map the individual PE to a particular start sector on each drive, not btrfs, but then there is stripe/block sizes to consider as well ... WD also are recommending 1mb sector boundaries for best performance - I can see a reinstall coming up :) I have on my workstation: 2 WD 2TB Black Drives 5 WD 2TB RE4 Drives Some notes: - The black drives have horrible reliability, poor sector remapping, and have certain standard drive features to make them unusable in raid. I would not buy them again. I'm not sure how similar the green drives are. - Many of the recent WD drives have a tendency to power down/up frequently which can reduce drive lifetime (research it and ensure it is set appropriately for your needs). - Due to reliability concerns, you'll may need to run smartd to give adequate pre-failure warnings Anyhow, in my config I have: 1 RE4 Drive as Server Boot Disk 4 RE4 Drives in SW RAID10 (extremely good performance and reliability) 2 Black Drives in LVM RAID0 for disk-to-disk backups (thats about all I trust them with). When I setup the LVM RAID0, I used the following commands to get good performance: fdisk (remove all partitions, you don't need them for lvm) pvcreate --dataalignmentoffset 7s /dev/sdd pvcreate --dataalignmentoffset 7s /dev/sdf vgcreate -s 64M -M 2 vgArchive /dev/sdd /dev/sdf lvcreate -i 2 -l 100%FREE -I 256 -n lvArchive -r auto vgArchive mkfs.ext4 -c -b 4096 -E stride=64,stripe_width=128 -j -i 1048576 -L /archive /dev/vgArchive/lvArchive I may have the ext4 stride/stripe settings wrong above, I didn't have my normal notes when I selected them - but the rest of the config I scrounged from other blogs and seemed to make sense (the --dataalignmentoffset 7s) seems to be the key. My RAID10 drives are configured slightly different w/ 1 partition that starts on sector 2048 if I remember and extends to the end of the drive. The 4 Disk SW RAID10 array gives me 255MB/s reads, 135MB/s block writes, and 98MB/s rewrites (old test, may need to rerun for latest changes/etc). LVM 2 Disk RAID0 gives 303MB/s reads, 190MB/s block writes, and 102MB/s rewrites (test ran last week). Regards, Matt -- Matthew Marlowe/ 858-400-7430 /DeployLinux Consulting, Inc Professional Linux Hosting and Systems Administration Services www.deploylinux.net * m...@deploylinux.net 'MattM' @ irc.freenode.net
[gentoo-user] emerge dev-lang/perl-5.12.3 failed
Hello, I've try to emerge my world target new, but the dev-lang/perl-5.12.3 failes. I've found on the gentoo pages the hint to sync the portage tree again, but that does not solve the problem. The messages during emerge are: IO.xs: In function 'XS_IO__File_new_tmpfile': IO.xs:229: warning: value computed is not used IO.xs: In function 'XS_IO__Poll__poll': IO.xs:249: error: invalid application of 'sizeof' to incomplete type 'struct pollfd' IO.xs:253: error: invalid use of undefined type 'struct pollfd' IO.xs:253: error: dereferencing pointer to incomplete type IO.xs:255: error: invalid use of undefined type 'struct pollfd' IO.xs:255: error: dereferencing pointer to incomplete type IO.xs:257: error: invalid use of undefined type 'struct pollfd' IO.xs:257: error: dereferencing pointer to incomplete type IO.xs:259: warning: implicit declaration of function 'poll' IO.xs:261: error: invalid use of undefined type 'struct pollfd' IO.xs:261: error: dereferencing pointer to incomplete type IO.xs:262: error: invalid use of undefined type 'struct pollfd' IO.xs:262: error: dereferencing pointer to incomplete type make[1]: *** [IO.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.12.3/work/ perl-5.12.3/dist/IO' Unsuccessful make(dist/IO): code=512 at make_ext.pl line 449. make: *** [lib/auto/IO/IO.so] Error 25 I've try to mask the 5.12.3 package to a previous version, but the same problemes are shown. Now I've have a hanging portage. Perl is needed for my eg. LDAP... Does anyone have any idea to solve the error? Thanks Phil
Re: [gentoo-user] terrible performance with btrfs on LVM2 using a WD 2TB green drive
On Mon, 2011-03-14 at 23:50 -0700, Matthew Marlowe wrote: My problem is that LVM2 is not supported in parted which is the recommended tool to deal with this. I suspect I only need to map the individual PE to a particular start sector on each drive, not btrfs, but then there is stripe/block sizes to consider as well ... WD also are recommending 1mb sector boundaries for best performance - I can see a reinstall coming up :) I have on my workstation: 2 WD 2TB Black Drives 5 WD 2TB RE4 Drives Some notes: - The black drives have horrible reliability, poor sector remapping, and have certain standard drive features to make them unusable in raid. I would not buy them again. I'm not sure how similar the green drives are. - Many of the recent WD drives have a tendency to power down/up frequently which can reduce drive lifetime (research it and ensure it is set appropriately for your needs). - Due to reliability concerns, you'll may need to run smartd to give adequate pre-failure warnings Anyhow, in my config I have: 1 RE4 Drive as Server Boot Disk 4 RE4 Drives in SW RAID10 (extremely good performance and reliability) 2 Black Drives in LVM RAID0 for disk-to-disk backups (thats about all I trust them with). When I setup the LVM RAID0, I used the following commands to get good performance: fdisk (remove all partitions, you don't need them for lvm) pvcreate --dataalignmentoffset 7s /dev/sdd pvcreate --dataalignmentoffset 7s /dev/sdf vgcreate -s 64M -M 2 vgArchive /dev/sdd /dev/sdf lvcreate -i 2 -l 100%FREE -I 256 -n lvArchive -r auto vgArchive mkfs.ext4 -c -b 4096 -E stride=64,stripe_width=128 -j -i 1048576 -L /archive /dev/vgArchive/lvArchive I may have the ext4 stride/stripe settings wrong above, I didn't have my normal notes when I selected them - but the rest of the config I scrounged from other blogs and seemed to make sense (the --dataalignmentoffset 7s) seems to be the key. My RAID10 drives are configured slightly different w/ 1 partition that starts on sector 2048 if I remember and extends to the end of the drive. The 4 Disk SW RAID10 array gives me 255MB/s reads, 135MB/s block writes, and 98MB/s rewrites (old test, may need to rerun for latest changes/etc). LVM 2 Disk RAID0 gives 303MB/s reads, 190MB/s block writes, and 102MB/s rewrites (test ran last week). Regards, Matt Thanks Matthew, some good ideas here. I have other partitions on the disks such as swap and rescue so LVM doesnt get all the space. I have steered away from striping as I have lost an occasional disk over the years and worry that a stripe will take out a larger block of data than a linear BOD but your performance numbers look ... great! As the stripe size is hard to change after creation it looks like I'll have to migrate the data and recreate from scratch to get the best out of the hardware. In the short term, I'll just do some shuffling and delete then readd the LVM partition on the green drive to the volume group which should improve the performance a lot. If I am reading it right, I have to get the disk partitioning right first, them make sure the PV is also created at the right boundaries on the LVM. Then I will see how to tune btrfs which I am becoming quite sold on - solid, and online fsck is better than reiserfs which is just as solid, but you have to take offline to check - not that either corrupt often. BillK
Re: [gentoo-user] Re: ALSA - Still No Sound
On 03/07/2011 11:15 AM, Mick wrote: On 7 March 2011 12:41, dhk dhk...@optonline.net wrote: Here's an update. Yesterday morning I recompiled the kernel, but I took most everything out that didn't look like one of the three audio cards I've been trying to get working. I rebooted and tested the audio with the new kernel and it didn't work. Then I rebooted again before I went out for the day, the machine ran all day and all night without any activity before I logged in this morning. Now I have audio again. Now I think I have to pay attention as to whether audio begins working after a period of computer uptime. Does this sound plausible? I wouldn't think so. /etc/init.d/alsasound should run at default level, load modules and restore settings. Assuming that you have run the alsaconf command to unmute your channels, then you should have sound straight off the peg. However, I have an old laptop which always starts with the Master volume control muted. I have to press the special sound control buttons on the keyboard to unmute sound every time I reboot. I guess this is a hardware quirk of this MoBo and it is the only PC that I have come across something like this. Here's an update. The sound comes and goes. I've been leaving the sound on all the time now and not just when I need it. I test it frequently just to see if it works. I haven't found any pattern other than when I do a reboot or shutdown when the box powers up again sometimes I have the audio and sometimes I don't. However, even when there's no audio it looks like the modules load and alsasound starts.
Re: [gentoo-user] /usr/src/linux gone
On Sun, Mar 13, 2011 at 8:46 AM, sean tech.j...@myfairpoint.net wrote: On 03/12/2011 01:28 PM, Matthew Finkel wrote: But if this was a pre-existing build, he should have had numerous kernels configured, unless he removed/moved the config each time he upgraded. Sean, Two questions. I don't think you ever replied as to whether /usr/src is a mounted partition, is it? Also, did you have multiple kernels emerged into different slots before this happened? if so, does portage still think they're installed? It was not a mounted partition. No multiple kernels. I try to clean up after myself. Is it possible you ran depclean prior to compiling the newest kernel that you emerged?
Re: [gentoo-user] /usr/src/linux gone
On Tue, Mar 15, 2011 at 10:13 AM, Matthew Finkel matthew.fin...@gmail.comwrote: On Sun, Mar 13, 2011 at 8:46 AM, sean tech.j...@myfairpoint.net wrote: On 03/12/2011 01:28 PM, Matthew Finkel wrote: But if this was a pre-existing build, he should have had numerous kernels configured, unless he removed/moved the config each time he upgraded. Sean, Two questions. I don't think you ever replied as to whether /usr/src is a mounted partition, is it? Also, did you have multiple kernels emerged into different slots before this happened? if so, does portage still think they're installed? It was not a mounted partition. No multiple kernels. I try to clean up after myself. Is it possible you ran depclean prior to compiling the newest kernel that you emerged? Actually, scratch that though. Do you have any emerged packages that depend directly on gentoo-sources?
[gentoo-user] Re: emerge dev-lang/perl-5.12.3 failed
On 03/15/2011 03:14 AM, Kraus Philipp wrote: Hello, I've try to emerge my world target new, but the dev-lang/perl-5.12.3 failes. I've found on the gentoo pages the hint to sync the portage tree again, but that does not solve the problem. The messages during emerge are: IO.xs: In function 'XS_IO__File_new_tmpfile': IO.xs:229: warning: value computed is not used IO.xs: In function 'XS_IO__Poll__poll': IO.xs:249: error: invalid application of 'sizeof' to incomplete type 'struct pollfd' IO.xs:253: error: invalid use of undefined type 'struct pollfd' IO.xs:253: error: dereferencing pointer to incomplete type IO.xs:255: error: invalid use of undefined type 'struct pollfd' IO.xs:255: error: dereferencing pointer to incomplete type IO.xs:257: error: invalid use of undefined type 'struct pollfd' IO.xs:257: error: dereferencing pointer to incomplete type IO.xs:259: warning: implicit declaration of function 'poll' IO.xs:261: error: invalid use of undefined type 'struct pollfd' IO.xs:261: error: dereferencing pointer to incomplete type IO.xs:262: error: invalid use of undefined type 'struct pollfd' IO.xs:262: error: dereferencing pointer to incomplete type make[1]: *** [IO.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.12.3/work/perl-5.12.3/dist/IO' Unsuccessful make(dist/IO): code=512 at make_ext.pl line 449. make: *** [lib/auto/IO/IO.so] Error 25 I've try to mask the 5.12.3 package to a previous version, but the same problemes are shown. Now I've have a hanging portage. Perl is needed for my eg. LDAP... Does anyone have any idea to solve the error? You might try running perl-cleaner --modules (sys-apps/perl-cleaner) in case your existing perl environment is broken.
[gentoo-user] Re: Gentoo Live 11.0
Mark Knecht markknecht at gmail.com writes: Hybrid runs on either 32-bit or 64-bit hardware. MultilLib requires 64-bit hardware. Thanks Mark, Yep, got that. There is no hybrid profile? Not that I can find. Is what about all those 32 bit goodies like plugins window-compatibility-software etc etc? So the only real question is does my amd64 machines need hybrid in some circumstances, like depending of the software that I run? If so, is there a listing of software that needs the 32 bit support? eselect profile list: [1] default/linux/amd64/10.0 [2] default/linux/amd64/10.0/desktop [3] default/linux/amd64/10.0/desktop/gnome [4] default/linux/amd64/10.0/desktop/kde * [5] default/linux/amd64/10.0/developer [6] default/linux/amd64/10.0/no-multilib [7] default/linux/amd64/10.0/server [8] hardened/linux/amd64 [9] hardened/linux/amd64/no-multilib [10] selinux/2007.0/amd64 [11] selinux/2007.0/amd64/hardened [12] selinux/v2refpolicy/amd64 [13] selinux/v2refpolicy/amd64/desktop [14] selinux/v2refpolicy/amd64/developer [15] selinux/v2refpolicy/amd64/hardened [16] selinux/v2refpolicy/amd64/server Is this the profile [6] or [9] the hybrid, indicating that hybrid means no-multilib, strictly ? Are servers affected (profile choice) by this hybrid-mulitlib issue, or just work-stations? Are AMD64 systems set up to be multilib by defaut; say for example if I set the profile to [1] ? Where do I read up on this issue of multilib versus hybrid? I find tidbits, but no discussion, overview or focus on the choices and when a user should select one over the other, beyond support for 32 bit software. If I recall correctly there are a plethora of software issues related to browsers, video(media) and things like flash that may depend on 32 bit software plugins or support? I'm not really up on this choice and the implications of decision. When will we see new profile choices (no sync in a week or so)? James
[gentoo-user] Re: devfs is obsolete?
On 03/14/11 20:48, walt wrote: On 03/14/2011 10:57 AM, 7v5w7go9ub0o wrote: .. FWICT, devfs mounts /dev/pts , so how do we mount /dev/pts in a post devfs world? I just deleted several paragraphs of fatherly advice from this reply after I noticed /lib/rc/init.d/started/devfs on my machine :-/ Heh! That's actually how I got into this; I was tracking down a different issue and came across devfs. I soon discovered that /etc/init.d/devfs belongs to the sys-apps/openrc package, Ah!! Thank you! Guess that's how it got back in there. which is not obsolete the way devfs is obsolete. This is what I have: #eselect rc list sysinit Init scripts to be started by runlevel sysinit devfs dmesg udev Thank you - same as mine. And I'll presume that your box will also break if you shut down devfs. Guess my next move is to Bugzilla and suggest they update the information on the two pages referenced above. Thanks again!
[gentoo-user] Re: emerge dev-lang/perl-5.12.3 failed
On 2011-03-15 15:50:44 +0100, walt said: On 03/15/2011 03:14 AM, Kraus Philipp wrote: Hello, I've try to emerge my world target new, but the dev-lang/perl-5.12.3 failes. I've found on the gentoo pages the hint to sync the portage tree again, but that does not solve the problem. The messages during emerge are: IO.xs: In function 'XS_IO__File_new_tmpfile': IO.xs:229: warning: value computed is not used IO.xs: In function 'XS_IO__Poll__poll': IO.xs:249: error: invalid application of 'sizeof' to incomplete type 'struct pollfd' IO.xs:253: error: invalid use of undefined type 'struct pollfd' IO.xs:253: error: dereferencing pointer to incomplete type IO.xs:255: error: invalid use of undefined type 'struct pollfd' IO.xs:255: error: dereferencing pointer to incomplete type IO.xs:257: error: invalid use of undefined type 'struct pollfd' IO.xs:257: error: dereferencing pointer to incomplete type IO.xs:259: warning: implicit declaration of function 'poll' IO.xs:261: error: invalid use of undefined type 'struct pollfd' IO.xs:261: error: dereferencing pointer to incomplete type IO.xs:262: error: invalid use of undefined type 'struct pollfd' IO.xs:262: error: dereferencing pointer to incomplete type make[1]: *** [IO.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.12.3/work/perl-5.12.3/dist/IO' Unsuccessful make(dist/IO): code=512 at make_ext.pl line 449. make: *** [lib/auto/IO/IO.so] Error 25 I've try to mask the 5.12.3 package to a previous version, but the same problemes are shown. Now I've have a hanging portage. Perl is needed for my eg. LDAP... Does anyone have any idea to solve the error? You might try running perl-cleaner --modules (sys-apps/perl-cleaner) in case your existing perl environment is broken. perl-cleaner shows: NO PERL INSTALLED! (at least not in your path) Phil
Re: [gentoo-user] Re: Gentoo Live 11.0
On Tue, Mar 15, 2011 at 7:55 AM, James wirel...@tampabay.rr.com wrote: Mark Knecht markknecht at gmail.com writes: Hybrid runs on either 32-bit or 64-bit hardware. MultilLib requires 64-bit hardware. Thanks Mark, Yep, got that. There is no hybrid profile? Not that I can find. Is what about all those 32 bit goodies like plugins window-compatibility-software etc etc? Generally yes, or that's my understanding. So the only real question is does my amd64 machines need hybrid in some circumstances, like depending of the software that I run? If so, is there a listing of software that needs the 32 bit support? Yes, it's based on the software_ you_ choose to install. I may be wrong but I think a default Gentoo 64-bit install to the level of @system booting the machine and little at all in /var/lib/portage/world won't install the 32-bit emulation libraries. Run eix -I emul-linux-x86 to see which ones you have installed and equery depends to see what packages depend on each one you do have installed. (If any) Hope this helps, Mark
[gentoo-user] Re: terrible performance with btrfs on LVM2 using a WD 2TB green drive
Bill Kenworthy billk at iinet.net.au writes: I have recently added a WD 2TB green drive to two systems and am finding terrible performance with btrfs on an LVM using these drives. H, I've been contemplating btrfs on some new installs with the eventual goal of a CEPH network file system, on top of ext4 and/or btrfs. Is this issue just with the drivers, or related to btrfs too? How is btrfs , from the driver's seat? Does this aberration you detail, extend to the Green Seagate 2T drives? I just saw on the mythtv list about the sector size problem these drives Can you give a precise link to this list or can I follow it (read only) via net news? (if so what is the news group name)? I'd like to read up on this issue, as I have several gentoo installs (very soon) that will have RAID1 using (2) ST 2T green drives. Alternative RAID configs and performance/reliability results is also of keen interest to many; so thanks for posting about these issues. James
Re: [gentoo-user] Re: Gentoo Live 11.0
On Tue, 15 Mar 2011 14:55:57 + (UTC), James wrote: Yep, got that. There is no hybrid profile? Not that I can find. It's not a hybrid in that sense, it's a dual boot DVD with 32 bit and 64 bit software. You choose whether to boot a 32 bit or 64 bit system each time. -- Neil Bothwick Found my .sig, it was in behind the cushion on the settee. signature.asc Description: PGP signature
Re: [gentoo-user] Re: terrible performance with btrfs on LVM2 using a WD 2TB green drive
On Tuesday 15 March 2011 15:26:44 James wrote: Bill Kenworthy billk at iinet.net.au writes: I have recently added a WD 2TB green drive to two systems and am finding terrible performance with btrfs on an LVM using these drives. H, I've been contemplating btrfs on some new installs with the eventual goal of a CEPH network file system, on top of ext4 and/or btrfs. Is this issue just with the drivers, or related to btrfs too? How is btrfs , from the driver's seat? Does this aberration you detail, extend to the Green Seagate 2T drives? I just saw on the mythtv list about the sector size problem these drives Can you give a precise link to this list or can I follow it (read only) via net news? (if so what is the news group name)? I'd like to read up on this issue, as I have several gentoo installs (very soon) that will have RAID1 using (2) ST 2T green drives. Alternative RAID configs and performance/reliability results is also of keen interest to many; so thanks for posting about these issues. just google for 4k sectors and or adf drives. There is plenty of material out there. And you don't need parted. You can do the correct alignment with good old fdisk.
Re: [gentoo-user] terrible performance with btrfs on LVM2 using a WD 2TB green drive
On Tuesday 15 March 2011 13:37:46 Bill Kenworthy wrote: I have recently added a WD 2TB green drive to two systems and am finding terrible performance with btrfs on an LVM using these drives. I just saw on the mythtv list about the sector size problem these drives have where they have poor performance unless you can map the partitions onto certain sector boundaries. My problem is that LVM2 is not supported in parted which is the recommended tool to deal with this. use google. fdisk is fine.
Re: [gentoo-user] /usr/src/linux gone
On Mar 15, 2011, at 10:13 AM, Matthew Finkel wrote: Is it possible you ran depclean prior to compiling the newest kernel that you emerged? Do not think so. I keep things up to date and there were no warnings flags such as the nvidia-drivers that notified me of the missing .config in usr/src/linux.
[gentoo-user] Re: emerge dev-lang/perl-5.12.3 failed
On 03/15/2011 08:05 AM, Philipp Kraus wrote: On 2011-03-15 15:50:44 +0100, walt said: On 03/15/2011 03:14 AM, Kraus Philipp wrote: Hello, I've try to emerge my world target new, but the dev-lang/perl-5.12.3 failes. I've found on the gentoo pages the hint to sync the portage tree again, but that does not solve the problem. The messages during emerge are: IO.xs: In function 'XS_IO__File_new_tmpfile': IO.xs:229: warning: value computed is not used IO.xs: In function 'XS_IO__Poll__poll': IO.xs:249: error: invalid application of 'sizeof' to incomplete type 'struct pollfd' IO.xs:253: error: invalid use of undefined type 'struct pollfd' IO.xs:253: error: dereferencing pointer to incomplete type IO.xs:255: error: invalid use of undefined type 'struct pollfd' IO.xs:255: error: dereferencing pointer to incomplete type IO.xs:257: error: invalid use of undefined type 'struct pollfd' IO.xs:257: error: dereferencing pointer to incomplete type IO.xs:259: warning: implicit declaration of function 'poll' IO.xs:261: error: invalid use of undefined type 'struct pollfd' IO.xs:261: error: dereferencing pointer to incomplete type IO.xs:262: error: invalid use of undefined type 'struct pollfd' IO.xs:262: error: dereferencing pointer to incomplete type make[1]: *** [IO.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.12.3/work/perl-5.12.3/dist/IO' Unsuccessful make(dist/IO): code=512 at make_ext.pl line 449. make: *** [lib/auto/IO/IO.so] Error 25 I've try to mask the 5.12.3 package to a previous version, but the same problemes are shown. Now I've have a hanging portage. Perl is needed for my eg. LDAP... Does anyone have any idea to solve the error? You might try running perl-cleaner --modules (sys-apps/perl-cleaner) in case your existing perl environment is broken. perl-cleaner shows: NO PERL INSTALLED! (at least not in your path) I assumed you're trying to upgrade perl from an older version, but you are not, I guess. (I've never known anyone who didn't have perl already ;) I just finished re-installing perl-5.12.3 on two machines with no trouble, so there is something broken on your machine, but what? I'm wondering if the real error occurs somewhere before the errors you showed us, maybe dozens or even hundreds of lines earlier. Do you have sys-libs/libperl-5.10.1? Maybe try reemerging that package first.
[gentoo-user] Re: emerge dev-lang/perl-5.12.3 failed
On 2011-03-15 18:25:31 +0100, walt said: On 03/15/2011 08:05 AM, Philipp Kraus wrote: On 2011-03-15 15:50:44 +0100, walt said: On 03/15/2011 03:14 AM, Kraus Philipp wrote: Hello, I've try to emerge my world target new, but the dev-lang/perl-5.12.3 failes. I've found on the gentoo pages the hint to sync the portage tree again, but that does not solve the problem. The messages during emerge are: IO.xs: In function 'XS_IO__File_new_tmpfile': IO.xs:229: warning: value computed is not used IO.xs: In function 'XS_IO__Poll__poll': IO.xs:249: error: invalid application of 'sizeof' to incomplete type 'struct pollfd' IO.xs:253: error: invalid use of undefined type 'struct pollfd' IO.xs:253: error: dereferencing pointer to incomplete type IO.xs:255: error: invalid use of undefined type 'struct pollfd' IO.xs:255: error: dereferencing pointer to incomplete type IO.xs:257: error: invalid use of undefined type 'struct pollfd' IO.xs:257: error: dereferencing pointer to incomplete type IO.xs:259: warning: implicit declaration of function 'poll' IO.xs:261: error: invalid use of undefined type 'struct pollfd' IO.xs:261: error: dereferencing pointer to incomplete type IO.xs:262: error: invalid use of undefined type 'struct pollfd' IO.xs:262: error: dereferencing pointer to incomplete type make[1]: *** [IO.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.12.3/work/perl-5.12.3/dist/IO' Unsuccessful make(dist/IO): code=512 at make_ext.pl line 449. make: *** [lib/auto/IO/IO.so] Error 25 I've try to mask the 5.12.3 package to a previous version, but the same problemes are shown. Now I've have a hanging portage. Perl is needed for my eg. LDAP... Does anyone have any idea to solve the error? You might try running perl-cleaner --modules (sys-apps/perl-cleaner) in case your existing perl environment is broken. perl-cleaner shows: NO PERL INSTALLED! (at least not in your path) I assumed you're trying to upgrade perl from an older version, but you are not, I guess. (I've never known anyone who didn't have perl already ;) I just finished re-installing perl-5.12.3 on two machines with no trouble, so there is something broken on your machine, but what? I'm wondering if the real error occurs somewhere before the errors you showed us, maybe dozens or even hundreds of lines earlier. Do you have sys-libs/libperl-5.10.1? Maybe try reemerging that package first. The emerging of the libperl crashs also with the same message. Phil
[gentoo-user] mpfr won't compile anymore
Before I investigate any further, is there any known problem with the ebuild of mpfr last update ? Here's what I get: !!! Please attach the following file when seeking support: !!! /var/tmp/portage/dev-libs/mpfr-2.4.2_p3/work/mpfr-2.4.2/config.log * ERROR: dev-libs/mpfr-2.4.2_p3 failed (compile phase): * econf failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2364: Called _eapi0_src_compile * ebuild.sh, line 623: Called econf * ebuild.sh, line 557: Called die * The specific snippet of code: * die econf failed * * If you need support, post the output of 'emerge --info =dev-libs/mpfr-2.4.2_p3', * the complete build log and the output of 'emerge -pqv =dev-libs/mpfr-2.4.2_p3'. * The complete build log is located at '/var/tmp/portage/dev-libs/mpfr-2.4.2_p3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/mpfr-2.4.2_p3/temp/environment'. * S: '/var/tmp/portage/dev-libs/mpfr-2.4.2_p3/work/mpfr-2.4.2' Failed to emerge dev-libs/mpfr-2.4.2_p3, Log file: '/var/tmp/portage/dev-libs/mpfr-2.4.2_p3/temp/build.log'
[gentoo-user] Switching to a hardened profile and back again
A dev is asking me to switch to a hardened profile in order to test a fix. I'm happy to go through the process, but is there a chance my laptop could be unusable after the switch? If that happens I'll be in real trouble. Will I be able to switch back to a non-hardened profile afterward? I plan to follow this guide: http://www.gentoo.org/proj/en/hardened/hardenedfaq.xml#hardenedprofile BTW, are emerge -e world and emerge -e system both necessary? I thought emerge -e world would rebuild everything. - Grant
Re: [gentoo-user] Switching to a hardened profile and back again
On 03/15/2011 02:05 PM, Grant wrote: A dev is asking me to switch to a hardened profile in order to test a fix. I'm happy to go through the process, but is there a chance my laptop could be unusable after the switch? If that happens I'll be in real trouble. Will I be able to switch back to a non-hardened profile afterward? I plan to follow this guide: http://www.gentoo.org/proj/en/hardened/hardenedfaq.xml#hardenedprofile BTW, are emerge -e world and emerge -e system both necessary? I thought emerge -e world would rebuild everything. Switching to hardened is safe. The switch back should be, too, although I haven't personally tried it. (Why would you switch back?) You emerge system first, and then world so that your world is built by a hardened toolchain. When you compile gcc/glibc with USE=hardened, it gives them super powers.
[gentoo-user] dev-libs/efreet-9999 revision 57773 fails to emerge
..: -Wl,-O1 -Wl,--as-needed Installation...: make install (as root if needed, with 'su' or 'sudo') prefix...: /usr Source configured. Compiling source in /var/tmp/portage/dev-libs/efreet-/work/efreet ... make -j9 make all-recursive make[1]: Entering directory `/var/tmp/portage/dev- libs/efreet-/work/efreet' Making all in src make[2]: Entering directory `/var/tmp/portage/dev- libs/efreet-/work/efreet/src' Making all in lib make[3]: Entering directory `/var/tmp/portage/dev- libs/efreet-/work/efreet/src/lib' CC libefreet_la-efreet.lo CC libefreet_la-efreet_base.lo CC libefreet_la-efreet_icon.lo CC libefreet_la-efreet_xml.lo CC libefreet_la-efreet_ini.lo CC libefreet_la-efreet_desktop.lo CC libefreet_la-efreet_desktop_command.lo CC libefreet_la-efreet_menu.lo CC libefreet_la-efreet_utils.lo efreet_desktop.c: In function 'efreet_desktop_changes_cb': efreet_desktop.c:1207: error: 'ECORE_FILE_EVENT_CLOSED' undeclared (first use in this function) efreet_desktop.c:1207: error: (Each undeclared identifier is reported only once efreet_desktop.c:1207: error: for each function it appears in.) make[3]: *** [libefreet_la-efreet_desktop.lo] Error 1 make[3]: *** Waiting for unfinished jobs efreet_icon.c: In function 'efreet_icon_changes_cb': efreet_icon.c:967: error: 'ECORE_FILE_EVENT_CLOSED' undeclared (first use in this function) efreet_icon.c:967: error: (Each undeclared identifier is reported only once efreet_icon.c:967: error: for each function it appears in.) make[3]: *** [libefreet_la-efreet_icon.lo] Error 1 efreet.c: In function 'efreet_fsetowner': efreet.c:323: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result make[3]: Leaving directory `/var/tmp/portage/dev- libs/efreet-/work/efreet/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev- libs/efreet-/work/efreet/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-libs/efreet-/work/efreet' make: *** [all] Error 2 emake failed * ERROR: dev-libs/efreet- failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2998: Called enlightenment_src_compile * environment, line 1626: Called die * The specific snippet of code: * emake || die; * * If you need support, post the output of 'emerge --info =dev- libs/efreet-', * the complete build log and the output of 'emerge -pqv =dev- libs/efreet-'. * This ebuild is from an overlay named 'enlightenment': '/var/lib/layman/enlightenment/' * The complete build log is located at '/var/log/portage/dev- libs:efreet-:20110315-190856.log'. * The ebuild environment file is located at '/var/tmp/portage/dev- libs/efreet-/temp/environment'. * S: '/var/tmp/portage/dev-libs/efreet-/work/efreet' = Any ideas? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] emerge dev-lang/perl-5.12.3 failed
On 3/15/11, Kraus Philipp philipp.kr...@flashpixx.de wrote: Hello, I've try to emerge my world target new, but the dev-lang/perl-5.12.3 failes. I've found on the gentoo pages the hint to sync the portage tree again, but that does not solve the problem. The messages during emerge are: IO.xs: In function 'XS_IO__File_new_tmpfile': IO.xs:229: warning: value computed is not used IO.xs: In function 'XS_IO__Poll__poll': IO.xs:249: error: invalid application of 'sizeof' to incomplete type 'struct pollfd' IO.xs:253: error: invalid use of undefined type 'struct pollfd' IO.xs:253: error: dereferencing pointer to incomplete type IO.xs:255: error: invalid use of undefined type 'struct pollfd' IO.xs:255: error: dereferencing pointer to incomplete type IO.xs:257: error: invalid use of undefined type 'struct pollfd' IO.xs:257: error: dereferencing pointer to incomplete type IO.xs:259: warning: implicit declaration of function 'poll' IO.xs:261: error: invalid use of undefined type 'struct pollfd' IO.xs:261: error: dereferencing pointer to incomplete type IO.xs:262: error: invalid use of undefined type 'struct pollfd' IO.xs:262: error: dereferencing pointer to incomplete type make[1]: *** [IO.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.12.3/work/ perl-5.12.3/dist/IO' Unsuccessful make(dist/IO): code=512 at make_ext.pl line 449. make: *** [lib/auto/IO/IO.so] Error 25 I've try to mask the 5.12.3 package to a previous version, but the same problemes are shown. Now I've have a hanging portage. Perl is needed for my eg. LDAP... Does anyone have any idea to solve the error? Maybe the following is helpful: http://forums.gentoo.org/viewtopic-t-430269.html -- Arttu V.
Re: [gentoo-user] Switching to a hardened profile and back again
A dev is asking me to switch to a hardened profile in order to test a fix. I'm happy to go through the process, but is there a chance my laptop could be unusable after the switch? If that happens I'll be in real trouble. Will I be able to switch back to a non-hardened profile afterward? I plan to follow this guide: http://www.gentoo.org/proj/en/hardened/hardenedfaq.xml#hardenedprofile BTW, are emerge -e world and emerge -e system both necessary? I thought emerge -e world would rebuild everything. Switching to hardened is safe. The switch back should be, too, although I haven't personally tried it. (Why would you switch back?) I originally had my laptop on a hardened profile (I think it was a couple laptops back) but there were so many problems I eventually gave up. I remember doing a lot of system reinstalling as I switched profiles around. I don't have time to reinstall my system right now so I'm trying to be sure I can switch to hardened (and from hardened if necessary) without reinstalling. You emerge system first, and then world so that your world is built by a hardened toolchain. When you compile gcc/glibc with USE=hardened, it gives them super powers. Would 'emerge gcc glibc emerge -e world' have the same affect? - Grant
Re: [gentoo-user] Switching to a hardened profile and back again
On 03/15/2011 03:20 PM, Grant wrote: A dev is asking me to switch to a hardened profile in order to test a fix. I'm happy to go through the process, but is there a chance my laptop could be unusable after the switch? If that happens I'll be in real trouble. Will I be able to switch back to a non-hardened profile afterward? I plan to follow this guide: http://www.gentoo.org/proj/en/hardened/hardenedfaq.xml#hardenedprofile BTW, are emerge -e world and emerge -e system both necessary? I thought emerge -e world would rebuild everything. Switching to hardened is safe. The switch back should be, too, although I haven't personally tried it. (Why would you switch back?) I originally had my laptop on a hardened profile (I think it was a couple laptops back) but there were so many problems I eventually gave up. I remember doing a lot of system reinstalling as I switched profiles around. I don't have time to reinstall my system right now so I'm trying to be sure I can switch to hardened (and from hardened if necessary) without reinstalling. If you don't run a hardened kernel, sudo gcc-config 5 (assuming 5 is the vanilla gcc on your machine...) will switch you back to the vanilla gcc. No need to switch profiles or recompile anything. You emerge system first, and then world so that your world is built by a hardened toolchain. When you compile gcc/glibc with USE=hardened, it gives them super powers. Would 'emerge gcc glibc emerge -e world' have the same affect? There are a couple of other packages you're supposed to re-emerge along with gcc and glibc. Binutils was one, but I don't remember the whole list. Just suck it up and spend the extra hour to re-emerge system; that way, you're sure you haven't missed anything.
Re: [gentoo-user] Switching to a hardened profile and back again
On 15/03/11 20:05, Grant wrote: A dev is asking me to switch to a hardened profile in order to test a fix. I'm happy to go through the process, but is there a chance my laptop could be unusable after the switch? If that happens I'll be in real trouble. Will I be able to switch back to a non-hardened profile afterward? I plan to follow this guide: http://www.gentoo.org/proj/en/hardened/hardenedfaq.xml#hardenedprofile BTW, are emerge -e world and emerge -e system both necessary? I thought emerge -e world would rebuild everything. emerge -e world does remerge everything, but not in the order you'd expect. try it with -p, you'll see that glibc and gcc are near the end. You want them at the beginning, so that the hardened system is built by a compiler and libc that is hardened as well as the rest of the toolchain. Now whereas a compiler can in theory be told to generate any kind of code for anything, including hard code when it itself is not hard, can you really be sure it actually will do that? Plus the rest of the toolchain too. The only certain way is to build a hardened toolchain then rebuild the entire system with it. emerge -e system ; emerge -e world is not the fastest route of minimal compilation effort, but it sure is the easiest for the human in charge: one line in bash, press enter, walk away. -- alan dot mckinnon at gmail dot com
[gentoo-user] Re: emerge dev-lang/perl-5.12.3 failed
On 2011-03-15 20:06:52 +0100, Arttu V. said: On 3/15/11, Kraus Philipp philipp.kr...@flashpixx.de wrote: Hello, I've try to emerge my world target new, but the dev-lang/perl-5.12.3 failes. I've found on the gentoo pages the hint to sync the portage tree again, but that does not solve the problem. The messages during emerge are: IO.xs: In function 'XS_IO__File_new_tmpfile': IO.xs:229: warning: value computed is not used IO.xs: In function 'XS_IO__Poll__poll': IO.xs:249: error: invalid application of 'sizeof' to incomplete type 'struct pollfd' IO.xs:253: error: invalid use of undefined type 'struct pollfd' IO.xs:253: error: dereferencing pointer to incomplete type IO.xs:255: error: invalid use of undefined type 'struct pollfd' IO.xs:255: error: dereferencing pointer to incomplete type IO.xs:257: error: invalid use of undefined type 'struct pollfd' IO.xs:257: error: dereferencing pointer to incomplete type IO.xs:259: warning: implicit declaration of function 'poll' IO.xs:261: error: invalid use of undefined type 'struct pollfd' IO.xs:261: error: dereferencing pointer to incomplete type IO.xs:262: error: invalid use of undefined type 'struct pollfd' IO.xs:262: error: dereferencing pointer to incomplete type make[1]: *** [IO.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.12.3/work/ perl-5.12.3/dist/IO' Unsuccessful make(dist/IO): code=512 at make_ext.pl line 449. make: *** [lib/auto/IO/IO.so] Error 25 I've try to mask the 5.12.3 package to a previous version, but the same problemes are shown. Now I've have a hanging portage. Perl is needed for my eg. LDAP... Does anyone have any idea to solve the error? Maybe the following is helpful: http://forums.gentoo.org/viewtopic-t-430269.html Nice :-P I have rebooted the system and removed all environmental variables and now I can compile with ermeg
Re: [gentoo-user] Switching to a hardened profile and back again
A dev is asking me to switch to a hardened profile in order to test a fix. I'm happy to go through the process, but is there a chance my laptop could be unusable after the switch? If that happens I'll be in real trouble. Will I be able to switch back to a non-hardened profile afterward? I plan to follow this guide: http://www.gentoo.org/proj/en/hardened/hardenedfaq.xml#hardenedprofile BTW, are emerge -e world and emerge -e system both necessary? I thought emerge -e world would rebuild everything. Switching to hardened is safe. The switch back should be, too, although I haven't personally tried it. (Why would you switch back?) I originally had my laptop on a hardened profile (I think it was a couple laptops back) but there were so many problems I eventually gave up. I remember doing a lot of system reinstalling as I switched profiles around. I don't have time to reinstall my system right now so I'm trying to be sure I can switch to hardened (and from hardened if necessary) without reinstalling. If you don't run a hardened kernel, sudo gcc-config 5 (assuming 5 is the vanilla gcc on your machine...) will switch you back to the vanilla gcc. No need to switch profiles or recompile anything. I do run a hardened kernel, but you're saying if I switch to gcc-5 I should be able to test for a crash that was previously exhibited under a hardened profile? You emerge system first, and then world so that your world is built by a hardened toolchain. When you compile gcc/glibc with USE=hardened, it gives them super powers. Would 'emerge gcc glibc emerge -e world' have the same affect? There are a couple of other packages you're supposed to re-emerge along with gcc and glibc. Binutils was one, but I don't remember the whole list. Just suck it up and spend the extra hour to re-emerge system; that way, you're sure you haven't missed anything. OK I'll emerge system first if it comes to that. - Grant
Re: [gentoo-user] dev-libs/efreet-9999 revision 57773 fails to emerge
Tests: no Coverage.: no Documentation: no Compilation: make (or gmake) CPPFLAGS.: CFLAGS...: -march=core2 -msse4 -mcx16 -msahf -O2 -pipe -Wshadow LDFLAGS..: -Wl,-O1 -Wl,--as-needed Installation...: make install (as root if needed, with 'su' or 'sudo') prefix...: /usr Source configured. Compiling source in /var/tmp/portage/dev-libs/efreet-/work/efreet ... make -j9 make all-recursive make[1]: Entering directory `/var/tmp/portage/dev- libs/efreet-/work/efreet' Making all in src make[2]: Entering directory `/var/tmp/portage/dev- libs/efreet-/work/efreet/src' Making all in lib make[3]: Entering directory `/var/tmp/portage/dev- libs/efreet-/work/efreet/src/lib' CC libefreet_la-efreet.lo CC libefreet_la-efreet_base.lo CC libefreet_la-efreet_icon.lo CC libefreet_la-efreet_xml.lo CC libefreet_la-efreet_ini.lo CC libefreet_la-efreet_desktop.lo CC libefreet_la-efreet_desktop_command.lo CC libefreet_la-efreet_menu.lo CC libefreet_la-efreet_utils.lo efreet_desktop.c: In function 'efreet_desktop_changes_cb': efreet_desktop.c:1207: error: 'ECORE_FILE_EVENT_CLOSED' undeclared (first use in this function) efreet_desktop.c:1207: error: (Each undeclared identifier is reported only once efreet_desktop.c:1207: error: for each function it appears in.) make[3]: *** [libefreet_la-efreet_desktop.lo] Error 1 make[3]: *** Waiting for unfinished jobs efreet_icon.c: In function 'efreet_icon_changes_cb': efreet_icon.c:967: error: 'ECORE_FILE_EVENT_CLOSED' undeclared (first use in this function) efreet_icon.c:967: error: (Each undeclared identifier is reported only once efreet_icon.c:967: error: for each function it appears in.) make[3]: *** [libefreet_la-efreet_icon.lo] Error 1 efreet.c: In function 'efreet_fsetowner': efreet.c:323: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result make[3]: Leaving directory `/var/tmp/portage/dev- libs/efreet-/work/efreet/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev- libs/efreet-/work/efreet/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-libs/efreet-/work/efreet' make: *** [all] Error 2 emake failed * ERROR: dev-libs/efreet- failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2998: Called enlightenment_src_compile * environment, line 1626: Called die * The specific snippet of code: * emake || die; * * If you need support, post the output of 'emerge --info =dev- libs/efreet-', * the complete build log and the output of 'emerge -pqv =dev- libs/efreet-'. * This ebuild is from an overlay named 'enlightenment': '/var/lib/layman/enlightenment/' * The complete build log is located at '/var/log/portage/dev- libs:efreet-:20110315-190856.log'. * The ebuild environment file is located at '/var/tmp/portage/dev- libs/efreet-/temp/environment'. * S: '/var/tmp/portage/dev-libs/efreet-/work/efreet' = Any ideas? Update Ecore.
Re: [gentoo-user] Switching to a hardened profile and back again
On 03/15/2011 04:28 PM, Grant wrote: A dev is asking me to switch to a hardened profile in order to test a fix. I'm happy to go through the process, but is there a chance my laptop could be unusable after the switch? If that happens I'll be in real trouble. Will I be able to switch back to a non-hardened profile afterward? I plan to follow this guide: http://www.gentoo.org/proj/en/hardened/hardenedfaq.xml#hardenedprofile BTW, are emerge -e world and emerge -e system both necessary? I thought emerge -e world would rebuild everything. Switching to hardened is safe. The switch back should be, too, although I haven't personally tried it. (Why would you switch back?) I originally had my laptop on a hardened profile (I think it was a couple laptops back) but there were so many problems I eventually gave up. I remember doing a lot of system reinstalling as I switched profiles around. I don't have time to reinstall my system right now so I'm trying to be sure I can switch to hardened (and from hardened if necessary) without reinstalling. If you don't run a hardened kernel, sudo gcc-config 5 (assuming 5 is the vanilla gcc on your machine...) will switch you back to the vanilla gcc. No need to switch profiles or recompile anything. I do run a hardened kernel, but you're saying if I switch to gcc-5 I should be able to test for a crash that was previously exhibited under a hardened profile? I think (completely unscientifically) that most of the day-to-day problems are caused by the hardening features in the kernel rather than by GCC's hardening features. When you compile a hardened GCC, you also get the vanilla, unhardened GCC installed. So if you see e.g. a compile failure using hardened GCC, you can just switch to the vanilla GCC to see if that fixes it. On my machine, $ sudo gcc-config -l [1] x86_64-pc-linux-gnu-4.4.5 * [2] x86_64-pc-linux-gnu-4.4.5-hardenednopie [3] x86_64-pc-linux-gnu-4.4.5-hardenednopiessp [4] x86_64-pc-linux-gnu-4.4.5-hardenednossp [5] x86_64-pc-linux-gnu-4.4.5-vanilla it's the fifth option. Summary: if you have problems on hardened, you can always switch to vanilla GCC and reboot to a non-hardened kernel. You don't have to recompile anything or switch profiles again.
Re: [gentoo-user] dev-libs/efreet-9999 revision 57773 fails to emerge
On 15/03/11 22:54, Ian Lee wrote: On 15/03/11 19:15, Mick wrote: I'm trying to emerge the latest dev-libs/efreet-, but it fails as shown below: = Emerging (1 of 2) dev-libs/efreet- from enlightenment [snip] efreet_desktop.c: In function 'efreet_desktop_changes_cb': efreet_desktop.c:1207: error: 'ECORE_FILE_EVENT_CLOSED' undeclared (first use in this function) efreet_desktop.c:1207: error: (Each undeclared identifier is reported only once efreet_desktop.c:1207: error: for each function it appears in.) make[3]: *** [libefreet_la-efreet_desktop.lo] Error 1 make[3]: *** Waiting for unfinished jobs efreet_icon.c: In function 'efreet_icon_changes_cb': efreet_icon.c:967: error: 'ECORE_FILE_EVENT_CLOSED' undeclared (first use in this function) efreet_icon.c:967: error: (Each undeclared identifier is reported only once efreet_icon.c:967: error: for each function it appears in.) make[3]: *** [libefreet_la-efreet_icon.lo] Error 1 efreet.c: In function 'efreet_fsetowner': efreet.c:323: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result make[3]: Leaving directory `/var/tmp/portage/dev- libs/efreet-/work/efreet/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev- libs/efreet-/work/efreet/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-libs/efreet-/work/efreet' make: *** [all] Error 2 emake failed * ERROR: dev-libs/efreet- failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2998: Called enlightenment_src_compile * environment, line 1626: Called die * The specific snippet of code: * emake || die; * * If you need support, post the output of 'emerge --info =dev- libs/efreet-', * the complete build log and the output of 'emerge -pqv =dev- libs/efreet-'. * This ebuild is from an overlay named 'enlightenment': '/var/lib/layman/enlightenment/' * The complete build log is located at '/var/log/portage/dev- libs:efreet-:20110315-190856.log'. * The ebuild environment file is located at '/var/tmp/portage/dev- libs/efreet-/temp/environment'. * S: '/var/tmp/portage/dev-libs/efreet-/work/efreet' = Any ideas? Update Ecore. Further to that, efl- is not stable and changes to the code are not reflected in version number bumps. It's all in svn so who knows what you'll get on any given day. From long bitter hard experience: Just write a little script that rebuilds ALL of efl anytime you want to rebuild any part of it. Do not be tempted to short cut this process, too often it ends in tears. Just bite the bullet and let it run. Creating a portage set with all efl e17 ebuilds in it also works. Then you can emerge @e17 and get the same result as a wrapper script. -- alan dot mckinnon at gmail dot com
[gentoo-user] Re: Gentoo Live 11.0
Neil Bothwick neil at digimed.co.uk writes: It's not a hybrid in that sense, it's a dual boot DVD with 32 bit and 64 bit software. You choose whether to boot a 32 bit or 64 bit system each time. OK Mark and Neil. I got the picture. I'll flush this out as I do seem to still have some 32bit apps on the 64bit AMD systems. Most likely I can get rid of these. I'll post a new thread if I have questions. thanks, James
Re: [gentoo-user] Re: terrible performance with btrfs on LVM2 using a WD 2TB green drive
On Tue, 2011-03-15 at 15:26 +, James wrote: Bill Kenworthy billk at iinet.net.au writes: I have recently added a WD 2TB green drive to two systems and am finding terrible performance with btrfs on an LVM using these drives. H, I've been contemplating btrfs on some new installs with the eventual goal of a CEPH network file system, on top of ext4 and/or btrfs. Is this issue just with the drivers, or related to btrfs too? same plan as mine :) How is btrfs , from the driver's seat? Some early corruption that was due to a failing (old/ancient) HD - easily fixed using online fsck until I realised it was caused by the hardware and removed the drive (actually it finally died!). I have had one instance of a more serious corruption caused by some bug in btrfs that needed the latest btrfsck from git to fix offline - later kernels do not suffer from this apparently. Otherwise I have been hammering it as a dirvish backup server and except for speed its fine - and I wont be able to confirm that the speed issue is btrfs's fault until I get the partitioning correct - and dirvish is somewhat unique in what it does so it could be a special case. Does this aberration you detail, extend to the Green Seagate 2T drives? No idea :) I just saw on the mythtv list about the sector size problem these drives Can you give a precise link to this list or can I follow it (read only) via net news? (if so what is the news group name)? google for adf and 4k sectors I'd like to read up on this issue, as I have several gentoo installs (very soon) that will have RAID1 using (2) ST 2T green drives. Alternative RAID configs and performance/reliability results is also of keen interest to many; so thanks for posting about these issues. James Read up about raid and the model of green drive you are contemplating - not all are compatible from what I have read. Billk
Re: [gentoo-user] Switching to a hardened profile and back again
Alan McKinnon wrote: emerge -e world does remerge everything, but not in the order you'd expect. try it with -p, you'll see that glibc and gcc are near the end. You want them at the beginning, so that the hardened system is built by a compiler and libc that is hardened as well as the rest of the toolchain. Now whereas a compiler can in theory be told to generate any kind of code for anything, including hard code when it itself is not hard, can you really be sure it actually will do that? Plus the rest of the toolchain too. The only certain way is to build a hardened toolchain then rebuild the entire system with it. emerge -e system ; emerge -e world is not the fastest route of minimal compilation effort, but it sure is the easiest for the human in charge: one line in bash, press enter, walk away. This may be a good time to use the script off the forums. I used it a few weeks or so ago and it worked great. It certainly does things in a different order than portage. Dale :-) :-)