Re: [gentoo-user] mdadm and raid4
On 04.05.2011 01:49, Florian Philipp wrote: Am 03.05.2011 19:54, schrieb Evgeny Bushkov: Hi. How can I find out which is the parity disk in a RAID-4 soft array? I couldn't find that in the mdadm manual. I know that RAID-4 features a dedicated parity disk that is usually the bottleneck of the array, so that disk must be as fast as possible. It seems useful to employ a few slow disks with a relatively fast disk in such a RAID-4 array. Best regards, Bushkov E. You are seriously considering a RAID4? You know, there is a reason why it was superseded by RAID5. Given the way RAID4 operates, a first guess for finding the parity disk in a running array would be the one with the worst SMART data. It is the parity disk that dies the soonest. From looking at the source code it seems like the last specified disk is parity. Disclaimer: I'm no kernel hacker and I have only inspected the code, not tried to understand the whole MD subsystem. Regards, Florian Philipp Thank you for answering... The reason I consider RAID-4 is a few sata/150 drives and a pair of sata II drives I've got. Let's look at the problem from the other side: I can create RAID-0(from sata II drives) and then add it to RAID-4 as the parity disk. It doesn't bother me if any disk from the RAID-0 fails, that wouldn't disrupt my RAID-4 array. For example: mdadm --create /dev/md1 --level=4 -n 3 -c 128 /dev/sdb1 /dev/sdc1 missing mdadm --create /dev/md2 --level=0 -n 2 -c 128 /dev/sda1 /dev/sdd1 mdadm /dev/md1 --add /dev/md2 livecd ~ # cat /proc/mdstat Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md2 : active raid0 sdd1[1] sda1[0] 20969472 blocks super 1.2 128k chunks md1 : active raid4 md2[3] sdc1[1] sdb1[0] 20969216 blocks super 1.2 level 4, 128k chunk, algorithm 0 [3/2] [UU_] [] recovery = 43.7% (4590464/10484608) finish=1.4min speed=69615K/sec That configuration works well, but I'm not sure if md1 is the parity disk here, that's why I asked. May be I'm wrong and RAID-5 is the only worth array, I'm just trying to consider all pros and cons here. Best regards, Bushkov E.
Re: [gentoo-user] Apache is running but its log is not
On Wednesday 04 May 2011 13:48:48 Adam Carter wrote: Well, 2.2.17 is indeed my server, but I decided to stop it and start it again. Current log files showed up. Problem solved, by brute force again, and without any epiphanies of understanding. Last guess - logrotate is managing the log files but not reloading apache afterwards. Check that the entries in /etc/logrotate.d/apache2 have a line in there that runs /etc/init.d/apache2 reload. Adam, I think you got a really good guess. :) Especially as the log-files listed by lsof have status deleted: ** apache25288 root9w REG 8,44 57327591 204998 /var/log/apache2/access_log-20110204 (deleted) ** Interesting things happen when a file is deleted while a process still has access. -- Joost
Re: [gentoo-user] No system list
On Wed, 04 May 2011 08:43:17 +0800, Bill Kenworthy wrote: I have a few older systems (~6-10 years in use) that have no system list. Over the years there have been various disasters and methods of managing the software with the result that I have had to run regenworld amongst other things. @system is defined in the profile. Have you updated the profile on these machines? If not, it is possible that the profile they are set to useno longer exists. What does eselect profile list show? -- Neil Bothwick It's no use crying over spilt milk -- it only makes it salty for the cat. signature.asc Description: PGP signature
Re: [gentoo-user] No system list
On Wed, 2011-05-04 at 08:33 +0100, Neil Bothwick wrote: On Wed, 04 May 2011 08:43:17 +0800, Bill Kenworthy wrote: I have a few older systems (~6-10 years in use) that have no system list. Over the years there have been various disasters and methods of managing the software with the result that I have had to run regenworld amongst other things. @system is defined in the profile. Have you updated the profile on these machines? If not, it is possible that the profile they are set to useno longer exists. What does eselect profile list show? No, they are really blank. I tried changing it to gnome instead of just the 10.0 profile as well. myth1 ~ # eselect profile list Available profile symlink targets: [1] default/linux/x86/10.0 * [2] default/linux/x86/10.0/desktop [3] default/linux/x86/10.0/desktop/gnome [4] default/linux/x86/10.0/desktop/kde [5] default/linux/x86/10.0/developer [6] default/linux/x86/10.0/server [7] hardened/linux/x86 [8] selinux/2007.0/x86 [9] selinux/2007.0/x86/hardened [10] selinux/v2refpolicy/x86 [11] selinux/v2refpolicy/x86/desktop [12] selinux/v2refpolicy/x86/developer [13] selinux/v2refpolicy/x86/hardened [14] selinux/v2refpolicy/x86/server myth1 ~ # eselect profile set 3 myth1 ~ # emerge system -ep emerge: 'system' is an empty set emerge: no targets left after set expansion myth1 ~ # eselect profile set 1 myth1 ~ # emerge system -ep emerge: 'system' is an empty set emerge: no targets left after set expansion myth1 ~ #
Re: [gentoo-user] mdadm and raid4
On Wednesday 04 May 2011 10:07:58 Evgeny Bushkov wrote: On 04.05.2011 01:49, Florian Philipp wrote: Am 03.05.2011 19:54, schrieb Evgeny Bushkov: Hi. How can I find out which is the parity disk in a RAID-4 soft array? I couldn't find that in the mdadm manual. I know that RAID-4 features a dedicated parity disk that is usually the bottleneck of the array, so that disk must be as fast as possible. It seems useful to employ a few slow disks with a relatively fast disk in such a RAID-4 array. Best regards, Bushkov E. You are seriously considering a RAID4? You know, there is a reason why it was superseded by RAID5. Given the way RAID4 operates, a first guess for finding the parity disk in a running array would be the one with the worst SMART data. It is the parity disk that dies the soonest. From looking at the source code it seems like the last specified disk is parity. Disclaimer: I'm no kernel hacker and I have only inspected the code, not tried to understand the whole MD subsystem. Regards, Florian Philipp Thank you for answering... The reason I consider RAID-4 is a few sata/150 drives and a pair of sata II drives I've got. Let's look at the problem from the other side: I can create RAID-0(from sata II drives) and then add it to RAID-4 as the parity disk. It doesn't bother me if any disk from the RAID-0 fails, that wouldn't disrupt my RAID-4 array. For example: mdadm --create /dev/md1 --level=4 -n 3 -c 128 /dev/sdb1 /dev/sdc1 missing mdadm --create /dev/md2 --level=0 -n 2 -c 128 /dev/sda1 /dev/sdd1 mdadm /dev/md1 --add /dev/md2 livecd ~ # cat /proc/mdstat Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md2 : active raid0 sdd1[1] sda1[0] 20969472 blocks super 1.2 128k chunks md1 : active raid4 md2[3] sdc1[1] sdb1[0] 20969216 blocks super 1.2 level 4, 128k chunk, algorithm 0 [3/2] [UU_] [] recovery = 43.7% (4590464/10484608) finish=1.4min speed=69615K/sec That configuration works well, but I'm not sure if md1 is the parity disk here, that's why I asked. May be I'm wrong and RAID-5 is the only worth array, I'm just trying to consider all pros and cons here. Best regards, Bushkov E. I only use RAID-0 (when I want performance and don't care about the data), RAID-1 (for data I can't afford to loose) and RAID-5 (data I would like to keep). I have never bothered with RAID-4. What do you see in the dmesg after the mdadm commands? It might actually mention which is the parity disk in there. -- Joost
Re: [gentoo-user] mdadm and raid4
On 04.05.2011 11:54, Joost Roeleveld wrote: On Wednesday 04 May 2011 10:07:58 Evgeny Bushkov wrote: On 04.05.2011 01:49, Florian Philipp wrote: Am 03.05.2011 19:54, schrieb Evgeny Bushkov: Hi. How can I find out which is the parity disk in a RAID-4 soft array? I couldn't find that in the mdadm manual. I know that RAID-4 features a dedicated parity disk that is usually the bottleneck of the array, so that disk must be as fast as possible. It seems useful to employ a few slow disks with a relatively fast disk in such a RAID-4 array. Best regards, Bushkov E. You are seriously considering a RAID4? You know, there is a reason why it was superseded by RAID5. Given the way RAID4 operates, a first guess for finding the parity disk in a running array would be the one with the worst SMART data. It is the parity disk that dies the soonest. From looking at the source code it seems like the last specified disk is parity. Disclaimer: I'm no kernel hacker and I have only inspected the code, not tried to understand the whole MD subsystem. Regards, Florian Philipp Thank you for answering... The reason I consider RAID-4 is a few sata/150 drives and a pair of sata II drives I've got. Let's look at the problem from the other side: I can create RAID-0(from sata II drives) and then add it to RAID-4 as the parity disk. It doesn't bother me if any disk from the RAID-0 fails, that wouldn't disrupt my RAID-4 array. For example: mdadm --create /dev/md1 --level=4 -n 3 -c 128 /dev/sdb1 /dev/sdc1 missing mdadm --create /dev/md2 --level=0 -n 2 -c 128 /dev/sda1 /dev/sdd1 mdadm /dev/md1 --add /dev/md2 livecd ~ # cat /proc/mdstat Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md2 : active raid0 sdd1[1] sda1[0] 20969472 blocks super 1.2 128k chunks md1 : active raid4 md2[3] sdc1[1] sdb1[0] 20969216 blocks super 1.2 level 4, 128k chunk, algorithm 0 [3/2] [UU_] [] recovery = 43.7% (4590464/10484608) finish=1.4min speed=69615K/sec That configuration works well, but I'm not sure if md1 is the parity disk here, that's why I asked. May be I'm wrong and RAID-5 is the only worth array, I'm just trying to consider all pros and cons here. Best regards, Bushkov E. I only use RAID-0 (when I want performance and don't care about the data), RAID-1 (for data I can't afford to loose) and RAID-5 (data I would like to keep). I have never bothered with RAID-4. What do you see in the dmesg after the mdadm commands? It might actually mention which is the parity disk in there. -- Joost There's nothing special in dmesg: md: bindmd2 RAID conf printout: --- level:4 rd:3 wd:2 disk 0, o:1, dev:sdb1 disk 1, o:1, dev:sdc1 disk 2, o:1, dev:md2 md: recovery of RAID array md1 I've run some tests with different chunk sizes, the fastest was raid-10(4 disks), raid-5(3 disks) was closely after. Raid-4(4 disks) was almost as fast as raid-5 so I don't see any sense to use it. Best regards, Bushkov E.
Re: [gentoo-user] mdadm and raid4
On Wednesday 04 May 2011 13:08:34 Evgeny Bushkov wrote: On 04.05.2011 11:54, Joost Roeleveld wrote: On Wednesday 04 May 2011 10:07:58 Evgeny Bushkov wrote: On 04.05.2011 01:49, Florian Philipp wrote: Am 03.05.2011 19:54, schrieb Evgeny Bushkov: Hi. How can I find out which is the parity disk in a RAID-4 soft array? I couldn't find that in the mdadm manual. I know that RAID-4 features a dedicated parity disk that is usually the bottleneck of the array, so that disk must be as fast as possible. It seems useful to employ a few slow disks with a relatively fast disk in such a RAID-4 array. Best regards, Bushkov E. You are seriously considering a RAID4? You know, there is a reason why it was superseded by RAID5. Given the way RAID4 operates, a first guess for finding the parity disk in a running array would be the one with the worst SMART data. It is the parity disk that dies the soonest. From looking at the source code it seems like the last specified disk is parity. Disclaimer: I'm no kernel hacker and I have only inspected the code, not tried to understand the whole MD subsystem. Regards, Florian Philipp Thank you for answering... The reason I consider RAID-4 is a few sata/150 drives and a pair of sata II drives I've got. Let's look at the problem from the other side: I can create RAID-0(from sata II drives) and then add it to RAID-4 as the parity disk. It doesn't bother me if any disk from the RAID-0 fails, that wouldn't disrupt my RAID-4 array. For example: mdadm --create /dev/md1 --level=4 -n 3 -c 128 /dev/sdb1 /dev/sdc1 missing mdadm --create /dev/md2 --level=0 -n 2 -c 128 /dev/sda1 /dev/sdd1 mdadm /dev/md1 --add /dev/md2 livecd ~ # cat /proc/mdstat Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md2 : active raid0 sdd1[1] sda1[0] 20969472 blocks super 1.2 128k chunks md1 : active raid4 md2[3] sdc1[1] sdb1[0] 20969216 blocks super 1.2 level 4, 128k chunk, algorithm 0 [3/2] [UU_] [] recovery = 43.7% (4590464/10484608) finish=1.4min speed=69615K/sec That configuration works well, but I'm not sure if md1 is the parity disk here, that's why I asked. May be I'm wrong and RAID-5 is the only worth array, I'm just trying to consider all pros and cons here. Best regards, Bushkov E. I only use RAID-0 (when I want performance and don't care about the data), RAID-1 (for data I can't afford to loose) and RAID-5 (data I would like to keep). I have never bothered with RAID-4. What do you see in the dmesg after the mdadm commands? It might actually mention which is the parity disk in there. -- Joost There's nothing special in dmesg: md: bindmd2 RAID conf printout: --- level:4 rd:3 wd:2 disk 0, o:1, dev:sdb1 disk 1, o:1, dev:sdc1 disk 2, o:1, dev:md2 md: recovery of RAID array md1 I've run some tests with different chunk sizes, the fastest was raid-10(4 disks), raid-5(3 disks) was closely after. Raid-4(4 disks) was almost as fast as raid-5 so I don't see any sense to use it. Best regards, Bushkov E. What's the result of: mdadm --misc --detail /dev/md1 ? Not sure what info this command will provide with a RAID-4... -- Joost
Re: [gentoo-user] mdadm and raid4
On 04.05.2011 13:38, Joost Roeleveld wrote: On Wednesday 04 May 2011 13:08:34 Evgeny Bushkov wrote: On 04.05.2011 11:54, Joost Roeleveld wrote: On Wednesday 04 May 2011 10:07:58 Evgeny Bushkov wrote: On 04.05.2011 01:49, Florian Philipp wrote: Am 03.05.2011 19:54, schrieb Evgeny Bushkov: Hi. How can I find out which is the parity disk in a RAID-4 soft array? I couldn't find that in the mdadm manual. I know that RAID-4 features a dedicated parity disk that is usually the bottleneck of the array, so that disk must be as fast as possible. It seems useful to employ a few slow disks with a relatively fast disk in such a RAID-4 array. Best regards, Bushkov E. You are seriously considering a RAID4? You know, there is a reason why it was superseded by RAID5. Given the way RAID4 operates, a first guess for finding the parity disk in a running array would be the one with the worst SMART data. It is the parity disk that dies the soonest. From looking at the source code it seems like the last specified disk is parity. Disclaimer: I'm no kernel hacker and I have only inspected the code, not tried to understand the whole MD subsystem. Regards, Florian Philipp Thank you for answering... The reason I consider RAID-4 is a few sata/150 drives and a pair of sata II drives I've got. Let's look at the problem from the other side: I can create RAID-0(from sata II drives) and then add it to RAID-4 as the parity disk. It doesn't bother me if any disk from the RAID-0 fails, that wouldn't disrupt my RAID-4 array. For example: mdadm --create /dev/md1 --level=4 -n 3 -c 128 /dev/sdb1 /dev/sdc1 missing mdadm --create /dev/md2 --level=0 -n 2 -c 128 /dev/sda1 /dev/sdd1 mdadm /dev/md1 --add /dev/md2 livecd ~ # cat /proc/mdstat Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md2 : active raid0 sdd1[1] sda1[0] 20969472 blocks super 1.2 128k chunks md1 : active raid4 md2[3] sdc1[1] sdb1[0] 20969216 blocks super 1.2 level 4, 128k chunk, algorithm 0 [3/2] [UU_] [] recovery = 43.7% (4590464/10484608) finish=1.4min speed=69615K/sec That configuration works well, but I'm not sure if md1 is the parity disk here, that's why I asked. May be I'm wrong and RAID-5 is the only worth array, I'm just trying to consider all pros and cons here. Best regards, Bushkov E. I only use RAID-0 (when I want performance and don't care about the data), RAID-1 (for data I can't afford to loose) and RAID-5 (data I would like to keep). I have never bothered with RAID-4. What do you see in the dmesg after the mdadm commands? It might actually mention which is the parity disk in there. -- Joost There's nothing special in dmesg: md: bindmd2 RAID conf printout: --- level:4 rd:3 wd:2 disk 0, o:1, dev:sdb1 disk 1, o:1, dev:sdc1 disk 2, o:1, dev:md2 md: recovery of RAID array md1 I've run some tests with different chunk sizes, the fastest was raid-10(4 disks), raid-5(3 disks) was closely after. Raid-4(4 disks) was almost as fast as raid-5 so I don't see any sense to use it. Best regards, Bushkov E. What's the result of: mdadm --misc --detail /dev/md1 ? Not sure what info this command will provide with a RAID-4... -- Joostlivecd ~ # mdadm --misc --detail /dev/md1 livecd ~ # mdadm --misc --detail /dev/md1 /dev/md1: Version : 1.2 Creation Time : Wed May 4 13:54:33 2011 Raid Level : raid4 Array Size : 122624 (119.77 MiB 125.57 MB) Used Dev Size : 61312 (59.89 MiB 62.78 MB) Raid Devices : 3 Total Devices : 3 Persistence : Superblock is persistent Update Time : Wed May 4 13:55:14 2011 State : clean Active Devices : 3 Working Devices : 3 Failed Devices : 0 Spare Devices : 0 Chunk Size : 128K Name : livecd:1 (local to host livecd) UUID : 654218f0:9f0b88d5:d82f39bc:ae08aa1e Events : 19 Number Major Minor RaidDevice State 0 8 170 active sync /dev/sdb1 1 8 331 active sync /dev/sdc1 3 922 active sync /dev/md2 Best regards, Bushkov E.
Re: [gentoo-user] {OT} Tether a Google Nexus One?
On Wed, May 04, 2011 at 12:00:02AM +0200, Alan McKinnon wrote: Apparently, though unproven, at 23:19 on Tuesday 03 May 2011, Neil Bothwick did opine thusly: On Tue, 3 May 2011 13:21:06 -0700, Grant wrote: There is a tethering option in the Nexus One settings but I can't figure out how to get my Gentoo laptop to use the tethered cell phone's internet connection. I never tried tethering mine over USB, because the WiFi tethering is so simple to use. You just turn it on and the phone appears as an access point in Wicd (or any inferior network manager you may masochistically prefer). Hello Neil, Had some bad experiences with NetworkManager then? The CLI and wpa_supplicant have yet to let me down. Network manager and wicd were both incredibly frustrating and buggy, last I tried them (~ a year ago). -- caveat utilitor
Re: [gentoo-user] mdadm and raid4
Am 04.05.2011 11:08, schrieb Evgeny Bushkov: On 04.05.2011 11:54, Joost Roeleveld wrote: On Wednesday 04 May 2011 10:07:58 Evgeny Bushkov wrote: On 04.05.2011 01:49, Florian Philipp wrote: Am 03.05.2011 19:54, schrieb Evgeny Bushkov: Hi. How can I find out which is the parity disk in a RAID-4 soft array? I couldn't find that in the mdadm manual. I know that RAID-4 features a dedicated parity disk that is usually the bottleneck of the array, so that disk must be as fast as possible. It seems useful to employ a few slow disks with a relatively fast disk in such a RAID-4 array. Best regards, Bushkov E. You are seriously considering a RAID4? You know, there is a reason why it was superseded by RAID5. Given the way RAID4 operates, a first guess for finding the parity disk in a running array would be the one with the worst SMART data. It is the parity disk that dies the soonest. From looking at the source code it seems like the last specified disk is parity. Disclaimer: I'm no kernel hacker and I have only inspected the code, not tried to understand the whole MD subsystem. Regards, Florian Philipp Thank you for answering... The reason I consider RAID-4 is a few sata/150 drives and a pair of sata II drives I've got. Let's look at the problem from the other side: I can create RAID-0(from sata II drives) and then add it to RAID-4 as the parity disk. It doesn't bother me if any disk from the RAID-0 fails, that wouldn't disrupt my RAID-4 array. For example: mdadm --create /dev/md1 --level=4 -n 3 -c 128 /dev/sdb1 /dev/sdc1 missing mdadm --create /dev/md2 --level=0 -n 2 -c 128 /dev/sda1 /dev/sdd1 mdadm /dev/md1 --add /dev/md2 livecd ~ # cat /proc/mdstat Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md2 : active raid0 sdd1[1] sda1[0] 20969472 blocks super 1.2 128k chunks md1 : active raid4 md2[3] sdc1[1] sdb1[0] 20969216 blocks super 1.2 level 4, 128k chunk, algorithm 0 [3/2] [UU_] [] recovery = 43.7% (4590464/10484608) finish=1.4min speed=69615K/sec That configuration works well, but I'm not sure if md1 is the parity disk here, that's why I asked. May be I'm wrong and RAID-5 is the only worth array, I'm just trying to consider all pros and cons here. Best regards, Bushkov E. I only use RAID-0 (when I want performance and don't care about the data), RAID-1 (for data I can't afford to loose) and RAID-5 (data I would like to keep). I have never bothered with RAID-4. [...] I've run some tests with different chunk sizes, the fastest was raid-10(4 disks), raid-5(3 disks) was closely after. Raid-4(4 disks) was almost as fast as raid-5 so I don't see any sense to use it. Best regards, Bushkov E. When you have an array with uneven disk speeds, you might consider using the --write-mostly option of mdadm: -W, --write-mostly subsequent devices lists in a --build, --create, or --add command will be flagged as 'write-mostly'. This is valid for RAID1 only and means that the 'md' driver will avoid reading from these devices if at all possible. This can be useful if mirroring over a slow link. This should help in concurrent read and write operations because the kernel will not dispatch read requests to a disk that is already having trouble managing the write operations. On another point: Are you sure your disks have different speeds? SATA150 and 300 are no reliable indicator because most HDDs cannot saturate the SATA port anyway. dd is still the most reliable way to measure sequential throughput. Regards, Florian Philipp signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] mdadm and raid4
Am 04.05.2011 14:39, schrieb Florian Philipp: Am 04.05.2011 11:08, schrieb Evgeny Bushkov: On 04.05.2011 11:54, Joost Roeleveld wrote: On Wednesday 04 May 2011 10:07:58 Evgeny Bushkov wrote: On 04.05.2011 01:49, Florian Philipp wrote: Am 03.05.2011 19:54, schrieb Evgeny Bushkov: Hi. How can I find out which is the parity disk in a RAID-4 soft array? I couldn't find that in the mdadm manual. I know that RAID-4 features a dedicated parity disk that is usually the bottleneck of the array, so that disk must be as fast as possible. It seems useful to employ a few slow disks with a relatively fast disk in such a RAID-4 array. Best regards, Bushkov E. You are seriously considering a RAID4? You know, there is a reason why it was superseded by RAID5. Given the way RAID4 operates, a first guess for finding the parity disk in a running array would be the one with the worst SMART data. It is the parity disk that dies the soonest. From looking at the source code it seems like the last specified disk is parity. Disclaimer: I'm no kernel hacker and I have only inspected the code, not tried to understand the whole MD subsystem. Regards, Florian Philipp Thank you for answering... The reason I consider RAID-4 is a few sata/150 drives and a pair of sata II drives I've got. Let's look at the problem from the other side: I can create RAID-0(from sata II drives) and then add it to RAID-4 as the parity disk. It doesn't bother me if any disk from the RAID-0 fails, that wouldn't disrupt my RAID-4 array. For example: mdadm --create /dev/md1 --level=4 -n 3 -c 128 /dev/sdb1 /dev/sdc1 missing mdadm --create /dev/md2 --level=0 -n 2 -c 128 /dev/sda1 /dev/sdd1 mdadm /dev/md1 --add /dev/md2 livecd ~ # cat /proc/mdstat Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md2 : active raid0 sdd1[1] sda1[0] 20969472 blocks super 1.2 128k chunks md1 : active raid4 md2[3] sdc1[1] sdb1[0] 20969216 blocks super 1.2 level 4, 128k chunk, algorithm 0 [3/2] [UU_] [] recovery = 43.7% (4590464/10484608) finish=1.4min speed=69615K/sec That configuration works well, but I'm not sure if md1 is the parity disk here, that's why I asked. May be I'm wrong and RAID-5 is the only worth array, I'm just trying to consider all pros and cons here. Best regards, Bushkov E. I only use RAID-0 (when I want performance and don't care about the data), RAID-1 (for data I can't afford to loose) and RAID-5 (data I would like to keep). I have never bothered with RAID-4. [...] I've run some tests with different chunk sizes, the fastest was raid-10(4 disks), raid-5(3 disks) was closely after. Raid-4(4 disks) was almost as fast as raid-5 so I don't see any sense to use it. Best regards, Bushkov E. When you have an array with uneven disk speeds, you might consider using the --write-mostly option of mdadm: -W, --write-mostly subsequent devices lists in a --build, --create, or --add command will be flagged as 'write-mostly'. This is valid for RAID1 only and means that the 'md' driver will avoid reading from these devices if at all possible. This can be useful if mirroring over a slow link. This should help in concurrent read and write operations because the kernel will not dispatch read requests to a disk that is already having trouble managing the write operations. On another point: Are you sure your disks have different speeds? SATA150 and 300 are no reliable indicator because most HDDs cannot saturate the SATA port anyway. dd is still the most reliable way to measure sequential throughput. Regards, Florian Philipp `man 4 md` also states that the the last of the active devices in the array is the parity disk in a RAID4. Regards, Florian Philipp signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] mdadm and raid4
On 04.05.2011 16:45, Florian Philipp wrote: Am 04.05.2011 14:39, schrieb Florian Philipp: Am 04.05.2011 11:08, schrieb Evgeny Bushkov: On 04.05.2011 11:54, Joost Roeleveld wrote: On Wednesday 04 May 2011 10:07:58 Evgeny Bushkov wrote: On 04.05.2011 01:49, Florian Philipp wrote: Am 03.05.2011 19:54, schrieb Evgeny Bushkov: Hi. How can I find out which is the parity disk in a RAID-4 soft array? I couldn't find that in the mdadm manual. I know that RAID-4 features a dedicated parity disk that is usually the bottleneck of the array, so that disk must be as fast as possible. It seems useful to employ a few slow disks with a relatively fast disk in such a RAID-4 array. Best regards, Bushkov E. You are seriously considering a RAID4? You know, there is a reason why it was superseded by RAID5. Given the way RAID4 operates, a first guess for finding the parity disk in a running array would be the one with the worst SMART data. It is the parity disk that dies the soonest. From looking at the source code it seems like the last specified disk is parity. Disclaimer: I'm no kernel hacker and I have only inspected the code, not tried to understand the whole MD subsystem. Regards, Florian Philipp Thank you for answering... The reason I consider RAID-4 is a few sata/150 drives and a pair of sata II drives I've got. Let's look at the problem from the other side: I can create RAID-0(from sata II drives) and then add it to RAID-4 as the parity disk. It doesn't bother me if any disk from the RAID-0 fails, that wouldn't disrupt my RAID-4 array. For example: mdadm --create /dev/md1 --level=4 -n 3 -c 128 /dev/sdb1 /dev/sdc1 missing mdadm --create /dev/md2 --level=0 -n 2 -c 128 /dev/sda1 /dev/sdd1 mdadm /dev/md1 --add /dev/md2 livecd ~ # cat /proc/mdstat Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md2 : active raid0 sdd1[1] sda1[0] 20969472 blocks super 1.2 128k chunks md1 : active raid4 md2[3] sdc1[1] sdb1[0] 20969216 blocks super 1.2 level 4, 128k chunk, algorithm 0 [3/2] [UU_] [] recovery = 43.7% (4590464/10484608) finish=1.4min speed=69615K/sec That configuration works well, but I'm not sure if md1 is the parity disk here, that's why I asked. May be I'm wrong and RAID-5 is the only worth array, I'm just trying to consider all pros and cons here. Best regards, Bushkov E. I only use RAID-0 (when I want performance and don't care about the data), RAID-1 (for data I can't afford to loose) and RAID-5 (data I would like to keep). I have never bothered with RAID-4. [...] I've run some tests with different chunk sizes, the fastest was raid-10(4 disks), raid-5(3 disks) was closely after. Raid-4(4 disks) was almost as fast as raid-5 so I don't see any sense to use it. Best regards, Bushkov E. When you have an array with uneven disk speeds, you might consider using the --write-mostly option of mdadm: -W, --write-mostly subsequent devices lists in a --build, --create, or --add command will be flagged as 'write-mostly'. This is valid for RAID1 only and means that the 'md' driver will avoid reading from these devices if at all possible. This can be useful if mirroring over a slow link. This should help in concurrent read and write operations because the kernel will not dispatch read requests to a disk that is already having trouble managing the write operations. On another point: Are you sure your disks have different speeds? SATA150 and 300 are no reliable indicator because most HDDs cannot saturate the SATA port anyway. dd is still the most reliable way to measure sequential throughput. Regards, Florian Philipp `man 4 md` also states that the the last of the active devices in the array is the parity disk in a RAID4. Regards, Florian Philipp Thank you, that's what I was searching for. It seems I configured my RAID-4 right. Nonetheless that array wasn't better than RAID-5. Finally I created RAID-5 (two sataII drives and 1 sata/150) with lvm. From a test time dd if=/dev/zero of=/mnt/gentoo/bigfile bs=1M count=3000 I've got 163 MB/s. That in any way better than my 1-disk system(46.7 MB/s from the same test) that I've been using. As regard interfaces speeds I ran hdparm command and got: livecd src # hdparm -i /dev/sd[abd]|grep UDMA UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6 UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6 UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6 So you are right, all the drives seem to utilize the same interface speed. Best regards, Bushkov E.
Re: [gentoo-user] Apache is running but its log is not
On Tue, May 3, 2011 at 11:15 PM, Joost Roeleveld jo...@antarean.org wrote: On Wednesday 04 May 2011 13:48:48 Adam Carter wrote: Well, 2.2.17 is indeed my server, but I decided to stop it and start it again. Current log files showed up. Problem solved, by brute force again, and without any epiphanies of understanding. Last guess - logrotate is managing the log files but not reloading apache afterwards. Check that the entries in /etc/logrotate.d/apache2 have a line in there that runs /etc/init.d/apache2 reload. Adam, I think you got a really good guess. :) Especially as the log-files listed by lsof have status deleted: ** apache25288 root9w REG 8,44 57327591 204998 /var/log/apache2/access_log-20110204 (deleted) ** Interesting things happen when a file is deleted while a process still has access. -- Joost Indeed they do. I used to teach it to my students as a technique for getting a *really* temporary private file (combined with O_EXCL). I'm about to try this, and I may change it a bit because when I restarted apache, reload didn't work. I had to stop it and restart it. Maybe I'll submit a bug if I can make sense out of what happens with 'reload' and it always happens. -- Kevin O'Gorman, PhD
Re: [gentoo-user] emerge stopped working
On Tue, May 3, 2011 at 4:42 AM, Davide Carnovale francesco.davide.carnov...@gmail.com wrote: yes, the problem was that python 2.6 was unmerged and the new one wasn't selected yet. so eselecting the new python (2.7) and running python-updater restored my system. i used an usb version of the livedvd to help me in this, as wicd was among the broken things and i couldn't connect to the net to download the required packages to update python. so thanks everyone for the hints that led me to the solution and particular thanks to helmut, alan, kevin and stroller. i'll follow your suggestions and definitely pay more attention in the future while updating the system =) D 2011/5/3 Helmut Jarausch jarau...@igpm.rwth-aachen.de On 05/02/2011 06:05:08 PM, Davide Carnovale wrote: @alan, no error are printed, where and what should i look for in the logs? @helmut python just returns to the console, without error or effect of any sort, does it means python has get unmerged and that's why emerge doesn't work anymore? You have got many hints from others. To consider the problem from all sides you my try ldd /usr/bin/python2.6 ldd /usr/bin/python2.7 and see if all dynamic libraries could be loaded. And if that fails, here a hint from an earlier thread Recovering Gentoo from a broken python This may be a life saver. I noticed that I have two version of python installed on my Gentoo box. So I thought I'd try uninstalling the old one. This actually uninstalls the latest version libraries leaving me with a warning such as ImportError: no such module time. This is bad as you cannot use emerge at all not even to emerge python to fix things. To fix, as root: cd /root wget http://distfiles.gentoo.org/distfiles/Python-2.7.1.tar.bz2 tar jxvf Python-2.7.1.tar.bz2 cd Python-2.7.1 ./configure make ./python emerge python cd /root rm -rf Python-2.7.1* You are now fixed. Or replace 2.7.1 by 2.6.6 if your system has been running under Python 2.6 before the problem arose. Helmut. Thanks from me too. Lots of good ideas in this thread. I'm glad the thread was there already when I ran into exactly the same thing. I can't even take refuge in claiming to be a n00b -- I've run gentoo on my main machine since somewhere around 2002, when I finished grad school and bought it for myself as a present. (two dual-core Xeons, 2GB DDR ECC, built from parts as suggested as the machine of the year (or something like that) by Linux Journal). I wound up with Gentoo because slower-release distros did not have kernels that knew how to configure such a machine -- I never figured out if it was the Xeon stuff or just SMP. Anyway, an up-to-date kernel avoided it triggering clock slowdowns. Nothing like having a state-of-the-art machine that persists in running at 10%. I do try to get elogs by email, but its flakey for some reason. But some of those other steps mentioned above I've never heard of before. Time for a little studying (sigh). -- Kevin O'Gorman, PhD
Re: [gentoo-user] Apache is running but its log is not
Apparently, though unproven, at 08:15 on Wednesday 04 May 2011, Joost Roeleveld did opine thusly: On Wednesday 04 May 2011 13:48:48 Adam Carter wrote: Well, 2.2.17 is indeed my server, but I decided to stop it and start it again. Current log files showed up. Problem solved, by brute force again, and without any epiphanies of understanding. Last guess - logrotate is managing the log files but not reloading apache afterwards. Check that the entries in /etc/logrotate.d/apache2 have a line in there that runs /etc/init.d/apache2 reload. Adam, I think you got a really good guess. :) Especially as the log-files listed by lsof have status deleted: ** apache25288 root9w REG 8,44 57327591 204998 /var/log/apache2/access_log-20110204 (deleted) ** Interesting things happen when a file is deleted while a process still has access. You mean like as in it's name goes away and absolutely nothing else changes whatsoever? The only trouble you can run into is that new process that did not have the file open now cannot find it. -- alan dot mckinnon at gmail dot com
[gentoo-user] Tool to check PDF against PDF/X-3 ?
Hello! I am looking for a Tool to check PDF files against the PDF/X-3:2002 standard that some printing vendors seem to request in case of providing vector sources. The tool needs to 1) be free software as defined by the FSF [1], and 2) work on Linux. Has anyone seen such a thing? Thanks in advance, Sebastian [1] http://www.gnu.org/philosophy/free-sw.html
Re: [gentoo-user] Apache is running but its log is not
On 5/4/2011 7:38 AM, Alan McKinnon wrote: Apparently, though unproven, at 08:15 on Wednesday 04 May 2011, Joost Roeleveld did opine thusly: On Wednesday 04 May 2011 13:48:48 Adam Carter wrote: Well, 2.2.17 is indeed my server, but I decided to stop it and start it again. Current log files showed up. Problem solved, by brute force again, and without any epiphanies of understanding. Last guess - logrotate is managing the log files but not reloading apache afterwards. Check that the entries in /etc/logrotate.d/apache2 have a line in there that runs /etc/init.d/apache2 reload. Adam, I think you got a really good guess. :) Especially as the log-files listed by lsof have status deleted: ** apache25288 root9w REG 8,44 57327591 204998 /var/log/apache2/access_log-20110204 (deleted) ** Interesting things happen when a file is deleted while a process still has access. You mean like as in it's name goes away and absolutely nothing else changes whatsoever? The only trouble you can run into is that new process that did not have the file open now cannot find it. If you're doing it poorly enough, you can fill the filesystem with deleted files. The other fun one is having a daemon grow larger and larger because it's not letting go of files that were deleted while it had them open. kashani
Re: [gentoo-user] Tool to check PDF against PDF/X-3 ?
On 2011-05-04 18:28, Sebastian Pipping wrote: Hello! I am looking for a Tool to check PDF files against the PDF/X-3:2002 standard that some printing vendors seem to request in case of providing vector sources. The tool needs to 1) be free software as defined by the FSF [1], and 2) work on Linux. Has anyone seen such a thing? Sorry, haven't seen such a thing but can't they (the printing vendors) accept postscript as well? I know some (academic) publishers requires you to use specially formatted TeX templates which, of course, is not the same thing but I would be surprised if the printshop wouldn't accept postscript since the resulting dvi files (from the *TeX output) are usually translated to postscript (or maybe I'm behind the times...). Postscript is a vector format (all text, figures and pictures [if the picture source is in vector format] are made up of lines and bezier curves). HTH Best regards Peter K
Re: [gentoo-user] Apache is running but its log is not
On Wednesday 04 May 2011 18:14:49 kashani wrote: On 5/4/2011 7:38 AM, Alan McKinnon wrote: Apparently, though unproven, at 08:15 on Wednesday 04 May 2011, Joost Roeleveld did opine thusly: On Wednesday 04 May 2011 13:48:48 Adam Carter wrote: Well, 2.2.17 is indeed my server, but I decided to stop it and start it again. Current log files showed up. Problem solved, by brute force again, and without any epiphanies of understanding. Last guess - logrotate is managing the log files but not reloading apache afterwards. Check that the entries in /etc/logrotate.d/apache2 have a line in there that runs /etc/init.d/apache2 reload. Adam, I think you got a really good guess. :) Especially as the log-files listed by lsof have status deleted: ** apache25288 root9w REG 8,44 57327591 204998 /var/log/apache2/access_log-20110204 (deleted) ** Interesting things happen when a file is deleted while a process still has access. You mean like as in it's name goes away and absolutely nothing else changes whatsoever? The only trouble you can run into is that new process that did not have the file open now cannot find it. If you're doing it poorly enough, you can fill the filesystem with deleted files. The other fun one is having a daemon grow larger and larger because it's not letting go of files that were deleted while it had them open. Does your /etc/logrotate.d/apache2 script contain something like this: /var/log/apache2/*log { missingok notifempty sharedscripts postrotate /etc/init.d/apache2 reload /dev/null 21 || true endscript } -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] videos that won't go away.
Hi folks, I noticed something weird but I'm not sure what to even search for to get a fix. When I play a video with Seamonkey or Firefox, then close the tab or close the browser, the video is still there. If the video contains text, it is really noticeable. It's like a freeze frame of what ever was there when I closed the tab or browser. It does this in both Seamonkey and Firefox. The video affects my desktop wallpaper or background, Konsole, Kpatience, and any other program I have open. It is weird. Some programs like Konsole, which is running as root, just sort of distort in some weird way. The only way to correct this weirdness is to log out of KDE and back in. That returns everything back to normal. Closing the app I was using to play the video does not work. If I use Firefox and download helper to capture the video and save it, I can play the video with Smplayer with no ill effects. It plays and closes just fine. It's just when I use Seamonkey or Firefox that this happens. I have upgraded the kernel and had upgrades to both Seamonkey and Firefox. I have recompiled the nvidia drivers as well. The nvidia drivers, kernel and other info is here: root@fireball / # equery list seamonkey [ Searching for package 'seamonkey' in all categories among: ] * installed packages [I--] [ ] www-client/seamonkey-2.0.14 (0) root@fireball / # equery list firefox [ Searching for package 'firefox' in all categories among: ] * installed packages [I--] [ ] www-client/firefox-3.6.17 (0) root@fireball / # equery list nvidia [ Searching for package 'nvidia' in all categories among: ] * installed packages [I--] [ ] media-video/nvidia-settings-260.19.29 (0) [I--] [ ~] x11-drivers/nvidia-drivers-260.19.44 (0) root@fireball / # equery list xorg [ Searching for package 'xorg' in all categories among: ] * installed packages [I--] [ ] x11-base/xorg-drivers-1.9 (0) [I--] [ ] x11-base/xorg-server-1.9.5 (0) root@fireball / # uname -r 2.6.38-gentoo-r3 root@fireball / # I have not tried a emerge -e world yet. I may do that when KDE 4.6.3 is released. Does anyone have any clue as to what could cause this? If you need more info, let me know. Thanks. Dale :-) :-)
[gentoo-user] Cmdline image resizer understanding gamma ?
Hello! I stumbled upon the article Gamma error in picture scaling http://www.4p8.com/eric.brasseur/gamma.html#Use_a_correct_software recently. I was actually pointed to it be some tool applying the proper algortihm. I think it was command line. Especially as I don't trust ImageMagick with files that matter I would love to find (or re-find) a command line tool that properly handles Gamma when resizing images. Needs be free software. Anyone? Thanks, Sebastian
Re: [gentoo-user] {OT} Tether a Google Nexus One?
I agree with Mark. Have you received the GB update? I know not all N1s have received it yet, so I apologize if my assumption is wrong and you're still running Froyo. But I have had the same experience as Mark (and I am running gentoo) where it is almost as plug-n-play as you can get. (Assuming you're running GB): 1) Plug in usb to phone and computer 2) Enable usb tethering in Wireless network settings 3) Tethering portable hotspot 4) USB tethering (check) As root: ---snip--- ifconfig usb0 up dhcpcd usb0 ---snip--- I don't believe the tethering experience was much more difficult in Froyo, but I could be wrong about that. - Matt Thanks guys, the wifi hotspot works great but I can't get USB tethering to work. I don't seem to have the usb0 device, even after enabling USB tethering in the settings: # ifconfig /dev/usb0 up /dev/usb0: ERROR while getting interface flags: No such device Any ideas? I'm on Android 2.3.3. - Grant Does anyone know if a Google Nexus One cell phone can be USB tethered to a Gentoo system? I use wvdial to accomplish this with other cell phones but I've read that the Nexus One doesn't work that way because it doesn't appear on the host system as a tty: http://forum.nginx.org/read.php?23,146509,147989 There is a tethering option in the Nexus One settings but I can't figure out how to get my Gentoo laptop to use the tethered cell phone's internet connection. - Grant If your phone is anything like my phone (G2, Gingerbread) that has the same option, you should be able to do the following (I did this on an Arch system late last week, never tested on Gentoo but should work): ifconfig usb0 up dhcpcd usb0 That should get you online.
Re: [gentoo-user] {OT} Tether a Google Nexus One?
On Wed, May 4, 2011 at 7:23 PM, Grant emailgr...@gmail.com wrote: Any ideas? I'm on Android 2.3.3. - Grant Works fine here, this should help; http://forums.gentoo.org/viewtopic-t-843255.html
Re: [gentoo-user] {OT} Tether a Google Nexus One?
On Wed, May 4, 2011 at 6:23 PM, Grant emailgr...@gmail.com wrote: I agree with Mark. Have you received the GB update? I know not all N1s have received it yet, so I apologize if my assumption is wrong and you're still running Froyo. But I have had the same experience as Mark (and I am running gentoo) where it is almost as plug-n-play as you can get. (Assuming you're running GB): 1) Plug in usb to phone and computer 2) Enable usb tethering in Wireless network settings 3) Tethering portable hotspot 4) USB tethering (check) As root: ---snip--- ifconfig usb0 up dhcpcd usb0 ---snip--- I don't believe the tethering experience was much more difficult in Froyo, but I could be wrong about that. - Matt Thanks guys, the wifi hotspot works great but I can't get USB tethering to work. I don't seem to have the usb0 device, even after enabling USB tethering in the settings: # ifconfig /dev/usb0 up /dev/usb0: ERROR while getting interface flags: No such device Any ideas? I'm on Android 2.3.3. - Grant Does anyone know if a Google Nexus One cell phone can be USB tethered to a Gentoo system? I use wvdial to accomplish this with other cell phones but I've read that the Nexus One doesn't work that way because it doesn't appear on the host system as a tty: http://forum.nginx.org/read.php?23,146509,147989 There is a tethering option in the Nexus One settings but I can't figure out how to get my Gentoo laptop to use the tethered cell phone's internet connection. - Grant If your phone is anything like my phone (G2, Gingerbread) that has the same option, you should be able to do the following (I did this on an Arch system late last week, never tested on Gentoo but should work): ifconfig usb0 up dhcpcd usb0 That should get you online. Drop the /dev/ part of your ifconfig command. ifconfig refers to devices by their name, not their full path+name.
[gentoo-user] QA Notice: libdialog.la appears to contain PORTAGE_TMPDIR paths
Hello! I just installed a Gentoo box and i am having a bizarre problem (bizarre for me at least), i'd like to point that the only solution i have found so far (attempt to modify some eclass) is way beyond the limit of complexness that i am used to so if there is another way i would really appreciate if anyone pointed it out for me And in case it is not obvious, i am pretty much of a rookie regardind gentoo and linux in general anyway, thanks in advance!!! The thing is that emerging mirrorselect has the following outcome: * QA Notice: libdialog.la appears to contain PORTAGE_TMPDIR paths * ERROR: dev-util/dialog-1.1.20100428 failed: * soiled libtool library files found * * Call stack: * misc-functions.sh, line 979: Called install_qa_check * misc-functions.sh, line 540: Called die * The specific snippet of code: * [[ ${abort} == yes ]] die soiled libtool library files found * * If you need support, post the output of 'emerge --info =dev-util/dialog-1.1.20100428', * the complete build log and the output of 'emerge -pqv =dev-util/dialog-1.1.20100428'. * The complete build log is located at '/var/tmp/portage/dev-util/dialog-1.1.20100428/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/dialog-1.1.20100428/temp/environment'. * S: '/var/tmp/portage/dev-util/dialog-1.1.20100428/work/dialog-1.1-20100428' !!! post install failed; exiting. Failed to emerge dev-util/dialog-1.1.20100428, Log file: '/var/tmp/portage/dev-util/dialog-1.1.20100428/temp/build.log' * Messages for package dev-util/dialog-1.1.20100428: * ERROR: dev-util/dialog-1.1.20100428 failed: * soiled libtool library files found * * Call stack: * misc-functions.sh, line 979: Called install_qa_check * misc-functions.sh, line 540: Called die * The specific snippet of code: * [[ ${abort} == yes ]] die soiled libtool library files found * * If you need support, post the output of 'emerge --info =dev-util/dialog-1.1.20100428', * the complete build log and the output of 'emerge -pqv =dev-util/dialog-1.1.20100428'. * The complete build log is located at '/var/tmp/portage/dev-util/dialog-1.1.20100428/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/dialog-1.1.20100428/temp/environment'. * S: '/var/tmp/portage/dev-util/dialog-1.1.20100428/work/dialog-1.1-20100428' Following portage's advice i post the emerge --info output (i do need support after all) Portage 2.1.9.42 (default/linux/x86/10.0, gcc-4.4.5, libc-0-r0, 2.6.37-gentoo-r4 i686) = System Settings = System uname: Linux-2.6.37-gentoo-r4-i686-AMD_Athlon-tm-with-gentoo-1.12.14 Timestamp of tree: Tue, 03 May 2011 17:00:01 + app-shells/bash: 4.1_p9 dev-lang/python: 2.7.1-r1, 3.1.3-r1 sys-apps/baselayout: 1.12.14-r1 sys-apps/sandbox:2.4 sys-devel/autoconf: 2.65-r1 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.5 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 sys-kernel/linux-headers: 2.6.36.1 sys-libs/glibc: 2.11.3 virtual/os-headers: 0 ACCEPT_KEYWORDS=x86 ACCEPT_LICENSE=* -@EULA CBUILD=i686-pc-linux-gnu CFLAGS=-O2 -march=i686 -pipe CHOST=i686-pc-linux-gnu CONFIG_PROTECT=/etc CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo CXXFLAGS=-O2 -march=i686 -pipe DISTDIR=/usr/portage/distfiles FEATURES=assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch FFLAGS= GENTOO_MIRRORS=http://distfiles.gentoo.org; LDFLAGS=-Wl,-O1 -Wl,--as-needed PKGDIR=/usr/portage/packages PORTAGE_CONFIGROOT=/ PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage SYNC=rsync://rsync.gentoo.org/gentoo-portage USE=acl berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline session ssl sysfs tcpd unicode x86 xorg zlib ALSA_CARDS=ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol APACHE2_MODULES=actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav
Re: [gentoo-user] videos that won't go away.
On Thu, May 5, 2011 at 8:04 AM, Dale rdalek1...@gmail.com wrote: Hi folks, I noticed something weird but I'm not sure what to even search for to get a fix. When I play a video with Seamonkey or Firefox, then close the tab or close the browser, the video is still there. I've had a lot of trouble with flash recently, especially with it killing sound (using ~amd64 for the flash player due to the constant security issues, most of the system is amd64). Try killing flash so it restarts to see if that helps get things working. Sometimes my system needs a full reboot - even restarting X doesnt help.
Re: [gentoo-user] videos that won't go away.
Adam Carter wrote: On Thu, May 5, 2011 at 8:04 AM, Dale rdalek1...@gmail.com mailto:rdalek1...@gmail.com wrote: Hi folks, I noticed something weird but I'm not sure what to even search for to get a fix. When I play a video with Seamonkey or Firefox, then close the tab or close the browser, the video is still there. I've had a lot of trouble with flash recently, especially with it killing sound (using ~amd64 for the flash player due to the constant security issues, most of the system is amd64). Try killing flash so it restarts to see if that helps get things working. Sometimes my system needs a full reboot - even restarting X doesnt help. The one thing I didn't think of to try. How silly of me. lol One thing I just noticed, it doesn't always do this. I went back to a link that did it just before I posted and it worked fine this time. So, this appears to be a intermittent problem which opens a new can of worms. We all know how hard it is to fix those. I'll try killing flash next time it does it and see what that does. Dale :-) :-)
Re: [gentoo-user] videos that won't go away.
On Wednesday 04 May 2011 23:04:09 Dale wrote: Hi folks, I noticed something weird but I'm not sure what to even search for to get a fix. When I play a video with Seamonkey or Firefox, then close the tab or close the browser, the video is still there. Have you checked if xulrunner and the adobe flash plugin is still running *after* you shut down seamonkey/FF? I noticed on a 32bit machine that the latest stable xulrunner/FF update (or was it the nss nspr libs that caused this) has increased both CPU memory consumption, but can't say for sure. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] QA Notice: libdialog.la appears to contain PORTAGE_TMPDIR paths
On Thursday 05 May 2011 03:00:23 Rafael Barrera Oro wrote: Hello! I just installed a Gentoo box and i am having a bizarre problem (bizarre for me at least), i'd like to point that the only solution i have found so far (attempt to modify some eclass) is way beyond the limit of complexness that i am used to so if there is another way i would really appreciate if anyone pointed it out for me And in case it is not obvious, i am pretty much of a rookie regardind gentoo and linux in general anyway, thanks in advance!!! The thing is that emerging mirrorselect has the following outcome: * QA Notice: libdialog.la appears to contain PORTAGE_TMPDIR paths * ERROR: dev-util/dialog-1.1.20100428 failed: * soiled libtool library files found Hmm ... I don't know why this is caused, but I would run: emerge --oneshot -av libtool and then revdep-rebuild -v -- --ask -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] videos that won't go away.
Mick wrote: On Wednesday 04 May 2011 23:04:09 Dale wrote: Hi folks, I noticed something weird but I'm not sure what to even search for to get a fix. When I play a video with Seamonkey or Firefox, then close the tab or close the browser, the video is still there. Have you checked if xulrunner and the adobe flash plugin is still running *after* you shut down seamonkey/FF? I noticed on a 32bit machine that the latest stable xulrunner/FF update (or was it the nss nspr libs that caused this) has increased both CPU memory consumption, but can't say for sure. That I have not tried. I do think that it got worse after the upgrade of flash. I can't recall which version was the last that did it tho. I have upgraded flash stuff and browser stuff so I can't point to which is causing what. I have noticed a larger use of memory tho. I have 16Gbs here and it uses a good bit more than it used to. Maybe another upgrade will reduce it back down. Wonder why programs have to use so much now? Maybe the new html5 will change that. ;-) I'm waiting on it to do it again. It is random but I don't recall it ever doing it on youtube. I spend a lot of time there. lol Dale :-) :-)