[gentoo-user] Re: mplayer fonts
Allan Gottlieb [EMAIL PROTECTED] writes: Cannot load bitmap font: /usr/share/fonts/corefonts/cour.ttf Help would appreciated. Maybe because that is a Truetype font not a bitmap font. -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: 500 meg / partition (including /boot) *WITHOUT USING LVM*
Neil Bothwick wrote: Why do you make such a big deal of not using LVM? It achieves everything you want to, and more, without the compromises. There's one thing that has prevented me from ever using LVM: the need to have an initrd (or initramfs). From what I remember, this has always required manually copying some utilities like the LVM tools to the initrd (or writing a script that does it), and remembering to do it every time I update one of the tools, and not to forget copying all required libraries as well, and so on. OTOH, I have stopped looking at solutions that need an initrd quite some time ago, so things might be easier nowadays. How do you manage your initrd? Do you even need one? And what happens with 500GB is no longer enough and you want to add more space. How do you resize your partitions to use space on the second disk? Even though I have used resize2fs in the past, I have always thought that this tool was kind of a hack. Doesn't the resizing operation carry some risk? And if it goes wrong (e.g. a power outage), do you loose the complete content of the partition? And from what I remember, you can't resize a mounted ext3 partition, so you have to boot to a rescue CD, hope that all your LVM tools are there (they normally are, but what version?) and perform the resize operation there. But I'd love to be proven wrong on all the points above! This would certainly motivate me to look into LVM seriously this time. It really seems to be the right solution to the various problems I have seen with static partitions. -- Remy signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Re: 500 meg / partition (including /boot) *WITHOUT USING LVM*
On Tuesday 04 September 2007, Remy Blank wrote: Neil Bothwick wrote: Why do you make such a big deal of not using LVM? It achieves everything you want to, and more, without the compromises. There's one thing that has prevented me from ever using LVM: the need to have an initrd (or initramfs). From what I remember, this has always required manually copying some utilities like the LVM tools to the initrd (or writing a script that does it), and remembering to do it every time I update one of the tools, and not to forget copying all required libraries as well, and so on. OTOH, I have stopped looking at solutions that need an initrd quite some time ago, so things might be easier nowadays. How do you manage your initrd? Do you even need one? On Gentoo it's easy to get away with not using an initramfs. Everything is built from source and you roll your own kernel so we don't need to jump through the boot time hoops that a binary distro must to be able to support everything and boot. You will always have a pretty good idea how much space / needs, it contains /bin, /sbin, /etc, /root and /lib. Unless oyu are in the habit of storing stuff in /root, 500M is plenty. So put / on a regular partition, everything else in LVM and your initramfs worries go away. The only case I can think of that *requires* initramfs right now is booting off a raid device And what happens with 500GB is no longer enough and you want to add more space. How do you resize your partitions to use space on the second disk? Even though I have used resize2fs in the past, I have always thought that this tool was kind of a hack. Doesn't the resizing operation carry some risk? And if it goes wrong (e.g. a power outage), do you loose the complete content of the partition? And from what I remember, you can't resize a mounted ext3 partition, balls. ext2online and resize2fs have been resizing ext3 partitions for ages. You can extend a mounted partition with ease and in safety. What you can't do, and to my knowledge no regular fs can do, is to *reduce* a mounted partition so you have to boot to a rescue CD, hope that all your LVM tools are there (they normally are, but what version?) and perform the resize operation there. Why would lvm not be on your rescue disk? That's just a silly excuse. What would you do with a reswcue disk that doesn't have fdisk on it? You'd throw it away and get a different one. Versions don't have much impact on lvm. True, you can't use V1 tools on V2 volumes, but V1 hasn't seen much use since the days on kernel 2.4 But I'd love to be proven wrong on all the points above! This would certainly motivate me to look into LVM seriously this time. It really seems to be the right solution to the various problems I have seen with static partitions. You are imagining problems where none exist :-) The only thing you need worry about is where are you going to get a decent howto that explains the concepts. You are dealing with three layers of stuff on top of physical partitions and some docs out there are ... confusing. Once you get the picture fully, it's as easy pie and makes perfect sense. Really, LVM is the answer to all those prayers you have been sending up to $DEITY for years :-) alan -- Optimists say the glass is half full, Pessimists say the glass is half empty, Developers say wtf is the glass twice as big as it needs to be? Alan McKinnon alan at linuxholdings dot co dot za +27 82, double three seven, one nine three five -- [EMAIL PROTECTED] mailing list
Re: mplayer fonts (was: [gentoo-user] playing mms with totem)
On Mon, 03 Sep 2007 16:55:09 -0400 Allan Gottlieb [EMAIL PROTECTED] wrote: At Tue, 04 Sep 2007 07:09:00 +1200 (NZST) Nick Rout [EMAIL PROTECTED] wrote: can't say for sure if totem does mms:// - but vlc and mplayer both do. Thanks I tried mplayer and as soon as it starts it complained that it could not load bitmap font sans-serif. So I went to preferences and pointed it to a font that is there and the complaint reappeared with this new font. I tried several and always received the same complaint with the font I chose mentioned explicitly. For example now it says Cannot load bitmap font: /usr/share/fonts/corefonts/cour.ttf Have you compiled mplayer with truetype USE flag? Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Re: 500 meg / partition (including /boot) *WITHOUT USING LVM*
On Tue, 04 Sep 2007 10:30:55 +0200, Remy Blank wrote: Why do you make such a big deal of not using LVM? It achieves everything you want to, and more, without the compromises. There's one thing that has prevented me from ever using LVM: the need to have an initrd (or initramfs). Sshh! Don't tell the systems I've been running on LVM for years that they need an initrd or they'll all want one! Just use a 300MB root partition, no separate /boot and put everything else on LVM. Then all the tools you need are in /, so no initrd needed. See Alan's reply regarding FS resizing tools. -- Neil Bothwick Top Oxymorons Number 3: Working vacation signature.asc Description: PGP signature
Re: [gentoo-user] Re: 500 meg / partition (including /boot) *WITHOUT USING LVM*
Am Dienstag, 4. September 2007 schrieb ext Remy Blank: Neil Bothwick wrote: Why do you make such a big deal of not using LVM? It achieves everything you want to, and more, without the compromises. There's one thing that has prevented me from ever using LVM: the need to have an initrd (or initramfs). There is no need to have an initramfs unless you put / on an LV. From what I remember, this has always required manually copying some utilities like the LVM tools to the initrd (or writing a script that does it), and remembering to do it every time I update one of the tools, and not to forget copying all required libraries as well, and so on. I could send you a script. And no, it doesn't harm if you forget to update the stuff in the initramfs. OTOH, I have stopped looking at solutions that need an initrd quite some time ago, so things might be easier nowadays. How do you manage your initrd? With a simple self written script that copies the needed tools to a directory used by the kernel build. Do you even need one? Yes, I do. Because I have / on a logical volume which may (in case of a laptop) also be encrypted. And from what I remember, you can't resize a mounted ext3 partition You should refresh your memory, then :-) Those times are long over. But I'd love to be proven wrong on all the points above! Done (partly) :-) This would certainly motivate me to look into LVM seriously this time. Do it right, then - use EVMS *SCNR* It really seems to be the right solution to the various problems I have seen with static partitions. It doesn't just seem so. It is. Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: [EMAIL PROTECTED] Wanheimerstraße 68 | Web: http://www.capgemini.com D-40468 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: www.keyserver.net signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: 500 meg / partition (including /boot) *WITHOUT USING LVM*
Alan McKinnon wrote: On Gentoo it's easy to get away with not using an initramfs. Everything is built from source and you roll your own kernel so we don't need to jump through the boot time hoops that a binary distro must to be able to support everything and boot. You will always have a pretty good idea how much space / needs, it contains /bin, /sbin, /etc, /root and /lib. Unless oyu are in the habit of storing stuff in /root, 500M is plenty. So put / on a regular partition, everything else in LVM and your initramfs worries go away. Ok, I was suspecting that putting / outside of LVM might be the solution. Thanks for confirming. The only case I can think of that *requires* initramfs right now is booting off a raid device Strangely enough, I am currently booting from a software raid device, so you don't need an initramfs for that either. And from what I remember, you can't resize a mounted ext3 partition, balls. ext2online and resize2fs have been resizing ext3 partitions for ages. You can extend a mounted partition with ease and in safety. Have you ever tried pulling the plug while a resize operation was in progress? I guess I'll have to test this myself, as my data is valuable enough to me that I won't just believe what I read. I wasn't aware of ext2online. Doesn't it require a kernel patch? Is it integrated in gentoo-sources? The homepage seems to indicate that it hasn't been updated since 2000. What you can't do, and to my knowledge no regular fs can do, is to *reduce* a mounted partition But who would want to do that? I always need *more* space, not less ;-) Why would lvm not be on your rescue disk? That's just a silly excuse. What would you do with a reswcue disk that doesn't have fdisk on it? You'd throw it away and get a different one. Well, I haven't spent much time looking at rescue CDs, I have always used Knoppix up to now and it has been good enough. I'll just check that recent LVM tools are on it. But I'd love to be proven wrong on all the points above! This would certainly motivate me to look into LVM seriously this time. It really seems to be the right solution to the various problems I have seen with static partitions. You are imagining problems where none exist :-) Not quite. I have a memory of problems that have existed but thankfully have been fixed since. Anything special if I put the LVM over a software raid? -- Remy signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Re: 500 meg / partition (including /boot) *WITHOUT USING LVM*
Am Dienstag, 4. September 2007 schrieb ext Remy Blank: I wasn't aware of ext2online. Then forget it again. Resizing ext2/3 is done with resize2fs nowadays. Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: [EMAIL PROTECTED] Wanheimerstraße 68 | Web: http://www.capgemini.com D-40468 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: www.keyserver.net signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: 500 meg / partition (including /boot) *WITHOUT USING LVM*
Neil Bothwick wrote: On Tue, 04 Sep 2007 10:30:55 +0200, Remy Blank wrote: There's one thing that has prevented me from ever using LVM: the need to have an initrd (or initramfs). Sshh! Don't tell the systems I've been running on LVM for years that they need an initrd or they'll all want one! Ha ha. I shouldn't have told mine, then they wouldn't have asked for one ;-) Just use a 300MB root partition, no separate /boot and put everything else on LVM. Then all the tools you need are in /, so no initrd needed. Understood. Thanks for the reply. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: 500 meg / partition (including /boot) *WITHOUT USING LVM*
Dirk Heinrichs wrote: Do you even need one? Yes, I do. Because I have / on a logical volume which may (in case of a laptop) also be encrypted. Right. I think I might have confused the necessity to have an initramfs for LVM and the need to have it for an encrypted root. OTOH, if you put /usr, /home, /var, /tmp and all the others on LVM, you could just leave the root partition unencrypted, as it wouldn't contain anything sensitive. And from what I remember, you can't resize a mounted ext3 partition You should refresh your memory, then :-) Those times are long over. I have googled a bit but I couldn't find any recent references for that except for a RedHat patch to 2.6.7. Specifically, e2fstools doesn't seem to mention online resizing at all. Could you give me a pointer? But I'd love to be proven wrong on all the points above! Done (partly) :-) Thanks! Do it right, then - use EVMS *SCNR* Any specific pros/contras? From the homepage it looks rather complicated (although I haven't spent much time on it yet). I'll look into it more in-depth. Thanks for the reply. -- Remy signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Re: 500 meg / partition (including /boot) *WITHOUT USING LVM*
On Tuesday 04 September 2007, Remy Blank wrote: Alan McKinnon wrote: [snip] The only case I can think of that *requires* initramfs right now is booting off a raid device Strangely enough, I am currently booting from a software raid device, so you don't need an initramfs for that either. You have software compiled in the kernel, not as a module the, right? I would imagine you wouldn't need an initrd for that And from what I remember, you can't resize a mounted ext3 partition, balls. ext2online and resize2fs have been resizing ext3 partitions for ages. You can extend a mounted partition with ease and in safety. Have you ever tried pulling the plug while a resize operation was in progress? I guess I'll have to test this myself, as my data is valuable enough to me that I won't just believe what I read. An enlarge operation tends to be quite safe in my experience. At worst you get some new inodes that might not be accounted for, something that fsck will handle easily. A reduce might be a different case altogether. BUT, it's not an especially different operation to a defrag on Windows, and I have yet to see a Windows admin debate whether he should defrag or not based on the possibility of losing power halfway through... I can't comment too much on problems with reducing ext2/3, but I do reduce reiser3.6 filesystems often, once when the battery died, and it wasn't a problem when powered up. There was no feedback in the logs to speak of, so I assumed that the journal did what it was designed to do. This was in the first stages of the operation - moving blocks to the start of the volume, and I honestly have never done this test in the later stages - when inodes are removed from the superblock [snip] What you can't do, and to my knowledge no regular fs can do, is to *reduce* a mounted partition But who would want to do that? I always need *more* space, not less ;-) emerged openoffice lately? :-) It pretty much always fails if you have 5G in /var/tmp/portage. On a laptop, that's 8% of my total disk space just sitting there free waiting for the day I emerge openoffice again. Umounting /var to reduce it is such a huge pita that I made /var/tmp/portage a separate volume and now reduce it at will. But true enough, especially on server, you will enlarge volumes much more often the reduce them [snip] Anything special if I put the LVM over a software raid? Not in my experience. The only difficulty I ever had was persuading RHEL4 to install / like that - anaconda either doesn't support it or the button to click to do it is hidden in one of the magic cupboards at Hogwarts. But that's not a problem because: 1. this is gentoo 2. anaconda is these days less brain dead than it used to be Performance wise, it does well. The LVM and mdamd layers do their work in a fraction of the time it takes to get the data on/off the disk platters. In fact, Linux software usually outperforms most of those stupid el-cheapo we-say-it's-hardware-raid-but-actually-isn't raid controllers in low end hardware alan -- Optimists say the glass is half full, Pessimists say the glass is half empty, Developers say wtf is the glass twice as big as it needs to be? Alan McKinnon alan at linuxholdings dot co dot za +27 82, double three seven, one nine three five -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] NIC problems after MS Windows update
Hi, Mick wrote: On Monday 20 August 2007, James Ausmus wrote: On 8/19/07, Mick [EMAIL PROTECTED] wrote: At long last I managed to find a work around to this problem, which was probably caused by Microsoft deciding to become environmentally friendly . . . [snip...] SOLUTION: Since all of this started with an update of the MS Windows drivers I thought that the problem has to do with some firmware or new setting, that the MS Windows drivers inflicted on the card. Some relevant searching brought me to this page http://www.scyld.com/modules.html and the comments under The D3-cold problem. Well, no sooner had I rebooted, after pulling the plug for a few seconds to make sure the machine powers down completely, the card was at long last recognised and an IP address obtained. It seems then that the MS Windows driver shuts down the power to the card and the Linux driver does not/cannot switch it back on. Make sure you pass this info along to the kernel-side maintainer of the 8139 driver you are using so that they can get the issue fixed. You can find the maintainer in the source file - in this case, /usr/src/linux/drivers/8139too.c - looks like it's Jeff Garzik. -James Done. Any update on this issue ? I'm using gentoo-sources-2.6.22-r5 (r2) and I'm seeing the same problem (with gentoo-sources-2.6.21-r4 the same). Regards, Ovidiu -- [EMAIL PROTECTED] mailing list
[gentoo-user] ATI driver fails
make[2]: *** [/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1 make[1]: *** [_module_/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.22-gentoo-r5' make: *** [kmod_build] Error 2 !!! ERROR: x11-drivers/ati-drivers-8.35.5 failed. Call stack: ebuild.sh, line 1638: Called dyn_compile ebuild.sh, line 985: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile ati-drivers-8.35.5.ebuild, line 170: Called linux-mod_src_compile linux-mod.eclass, line 516: Called die !!! Unable to make GCC_VER_MAJ=4 KVER=2.6.22-gentoo-r5 KDIR=/usr/src/linux kmod_build. !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/temp/build.log'. New system, just installed the stage 3 tarball and attempting to get Xorg working. Anyone have a clue? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: 500 meg / partition (including /boot) *WITHOUT USING LVM*
On Tuesday 04 September 2007, Dirk Heinrichs wrote: Am Dienstag, 4. September 2007 schrieb ext Remy Blank: I wasn't aware of ext2online. Then forget it again. Resizing ext2/3 is done with resize2fs nowadays. Oops, my bad. It comes from not using ext2/3 on my own personal machines, and many months of working with RHEL4 in my day job which shipped with ext2online alan -- Optimists say the glass is half full, Pessimists say the glass is half empty, Developers say wtf is the glass twice as big as it needs to be? Alan McKinnon alan at linuxholdings dot co dot za +27 82, double three seven, one nine three five -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: 500 meg / partition (including /boot) *WITHOUT USING LVM*
Alan McKinnon wrote: You have software compiled in the kernel, not as a module the, right? Correct. A reduce might be a different case altogether. BUT, it's not an especially different operation to a defrag on Windows, and I have yet to see a Windows admin debate whether he should defrag or not based on the possibility of losing power halfway through... I only ever defrag drives that are either on a laptop, or a server with a UPS. You can't be too careful on Windows... emerged openoffice lately? :-) Nope, only openoffice-bin. Can't see a reason to have the fan of my laptop blow like hell for 12 hours in a row, when I can have it in a few seconds :-) The /var/tmp/portage argument is still a valid one, though. Performance wise, it does well. The LVM and mdamd layers do their work in a fraction of the time it takes to get the data on/off the disk platters. In fact, Linux software usually outperforms most of those stupid el-cheapo we-say-it's-hardware-raid-but-actually-isn't raid controllers in low end hardware Thanks a lot for your feedback. I think you and Neil triggered yet another server reorganization (but it seems like this will be the last one). -- Remy signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] ATI driver fails
Daniel D Jones wrote: make[2]: *** [/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1 make[1]: *** [_module_/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.22-gentoo-r5' make: *** [kmod_build] Error 2 !!! ERROR: x11-drivers/ati-drivers-8.35.5 failed. Call stack: ebuild.sh, line 1638: Called dyn_compile ebuild.sh, line 985: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile ati-drivers-8.35.5.ebuild, line 170: Called linux-mod_src_compile linux-mod.eclass, line 516: Called die !!! Unable to make GCC_VER_MAJ=4 KVER=2.6.22-gentoo-r5 KDIR=/usr/src/linux kmod_build. !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/temp/build.log'. New system, just installed the stage 3 tarball and attempting to get Xorg working. Anyone have a clue? Need a bit more than that. Can you attach the previous 5-10 lines of the build process output? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] ATI driver fails
On 9/4/07, Daniel D Jones [EMAIL PROTECTED] wrote: make[2]: *** [/var/tmp/portage/x11-drivers/ati-drivers-8.35.5 /work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1 make[1]: *** [_module_/var/tmp/portage/x11-drivers/ati-drivers-8.35.5 /work/common/lib/modules/fglrx/build_mod/2.6.x] I think, the most interesting messages are above that. New system, just installed the stage 3 tarball and attempting to get Xorg working. Anyone have a clue? -- Vladimir Rusinov GreenMice Solutions: IT-решения на базе Linux http://greenmice.info/
Re: [gentoo-user] ATI driver fails - solved
On Tuesday 04 September 2007, Daniel D Jones wrote: make[2]: *** [/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fg lrx/build_mod/2.6.x/firegl_public.o] Error 1 make[1]: *** [_module_/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/mo dules/fglrx/build_mod/2.6.x] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.22-gentoo-r5' make: *** [kmod_build] Error 2 !!! ERROR: x11-drivers/ati-drivers-8.35.5 failed. Call stack: ebuild.sh, line 1638: Called dyn_compile ebuild.sh, line 985: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile ati-drivers-8.35.5.ebuild, line 170: Called linux-mod_src_compile linux-mod.eclass, line 516: Called die !!! Unable to make GCC_VER_MAJ=4 KVER=2.6.22-gentoo-r5 KDIR=/usr/src/linux kmod_build. !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/temp/build.log'. New system, just installed the stage 3 tarball and attempting to get Xorg working. Anyone have a clue? Spent an hour searching and found nothing. Post this email to the list and five minutes later I find the answer. This fixed the issue: ln -s /usr/src/linux/include/linux/ioctl.h /usr/src/linux/include/linux/ioctl32.h -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: 500 meg / partition (including /boot) *WITHOUT USING LVM*
Am Dienstag, 4. September 2007 schrieb ext Remy Blank: Dirk Heinrichs wrote: Do you even need one? Yes, I do. Because I have / on a logical volume which may (in case of a laptop) also be encrypted. Right. I think I might have confused the necessity to have an initramfs for LVM and the need to have it for an encrypted root. OTOH, if you put /usr, /home, /var, /tmp and all the others on LVM, you could just leave the root partition unencrypted, as it wouldn't contain anything sensitive. I know it's not the safest thing to do, but I have the key for the other volumes on the root volume, so that this is the only one for which I need a passphrase. And no I can't put them on a USB stick, because USB is (physically) defective on this Laptop :-( And from what I remember, you can't resize a mounted ext3 partition You should refresh your memory, then :-) Those times are long over. I have googled a bit but I couldn't find any recent references for that except for a RedHat patch to 2.6.7. Specifically, e2fstools doesn't seem to mention online resizing at all. Could you give me a pointer? Can't remember when e2fstools were dropped from Gentoo, but resize2fs is part of e2fsprogs. Do it right, then - use EVMS *SCNR* Any specific pros/contras? The only contra I know is that EVMS currently (still) can't handle online ext2/3 resize, but you can still do it manually as you would with pure LVM anyway. (Or use a different fs). Other than that it IMHO has only pros. Be it partitioning, sw raid, logical volumes, fs creation, resizing, even mounting :-) - everything is done in one single tool. From the homepage it looks rather complicated Not more than LVM. The terminology is a bit different though, but once you're used to it it is much simpler. I switched from LVM (1) to EVMS its early stages (kernel 2.4) and never looked back. Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: [EMAIL PROTECTED] Wanheimerstraße 68 | Web: http://www.capgemini.com D-40468 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: www.keyserver.net signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: 500 meg / partition (including /boot) *WITHOUT USING LVM*
On Tue, 4 Sep 2007 12:19:29 +0200, Alan McKinnon wrote: emerged openoffice lately? :-) It pretty much always fails if you have 5G in /var/tmp/portage. On a laptop, that's 8% of my total disk space just sitting there free waiting for the day I emerge openoffice again. Umounting /var to reduce it is such a huge pita that I made /var/tmp/portage a separate volume and now reduce it at will. Or point PORTAGE_TMPDIR to another partition. I have a partition that I use for large temporary files, be they ISO images, video files or portage build directories. That leaves /var free for important stuff. -- Neil Bothwick Never knock on Death's door. Ring the doorbell and run. He hates that. signature.asc Description: PGP signature
Re: [gentoo-user] Re: 500 meg / partition (including /boot) *WITHOUT USING LVM*
On Tue, 04 Sep 2007 12:14:12 +0200, Remy Blank wrote: OTOH, if you put /usr, /home, /var, /tmp and all the others on LVM, you could just leave the root partition unencrypted, as it wouldn't contain anything sensitive. Apart from some contents of /etc. -- Neil Bothwick DANGER! DANGER! Computer store ahead...hide wallet. signature.asc Description: PGP signature
Re: [gentoo-user] Re: 500 meg / partition (including /boot) *WITHOUT USING LVM*
On Tue, 04 Sep 2007 11:54:44 +0200, Remy Blank wrote: Anything special if I put the LVM over a software raid? No, that's what I do. / is on a RAID-1 partition, then I have an LVM physical volume on a RAID-5 partition for /usr, /home et al. -- Neil Bothwick I wonder how much deeper would the ocean be without sponges. signature.asc Description: PGP signature
[gentoo-user] Re: 500 meg / partition (including /boot) *WITHOUT USING LVM*
Dirk Heinrichs wrote: Am Dienstag, 4. September 2007 schrieb ext Remy Blank: Could you give me a pointer? Can't remember when e2fstools were dropped from Gentoo, but resize2fs is part of e2fsprogs. I actually meant e2fsprogs. Bad manual copy/paste operation. But I was just looking for the wrong word (online). Looking for mounted gives the following (yeah, I know, it's the top of the description, I should just have read on): The resize2fs program will resize ext2 or ext3 file systems. It can be used to enlarge or shrink an unmounted file system located on device. If the filesystem is mounted, it can be used to expand the size of the mounted filesystem, assuming the kernel supports on-line resizing. (As of this writing, the Linux 2.6 kernel supports on-line resize for filesystems mounted using ext3 only.). So you're totally right. -- Remy signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] MCE in kernel
On 9/3/07, Alan E. Davis [EMAIL PROTECTED] wrote: Thank you. I have solved the problem for now, but live in fear that there is something untoward going in on my hardware. Quite possible. It can also be caused by misconfiguring kernel drivers. I recently (accidently) selected the ATI agpart driver instead of the Intel driver. Most drivers correctly detect when their corresponding device isn't present, but this one gamely tried to manage the AGP bridge and fouled up memory whenever X started... So you may want to review your kernel config and make sure you have all the devices you're attempting to use. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Music Retrieval
I suspect they aren't sending the information via icmp, so just the fact that the server is pingable really doesn't provide useful information in this particular case. Have you tried if the servers they try to connect are reachable from you? Just to be sure it's not their fault. I can ping them. -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: mplayer fonts
At Tue, 04 Sep 2007 11:19:25 +0200 Renat Golubchyk [EMAIL PROTECTED] wrote: On Mon, 03 Sep 2007 16:55:09 -0400 Allan Gottlieb [EMAIL PROTECTED] wrote: Cannot load bitmap font: /usr/share/fonts/corefonts/cour.ttf Have you compiled mplayer with truetype USE flag? I have now :-). thanks, allan -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Music Retrieval
[EMAIL PROTECTED] wrote: I suspect they aren't sending the information via icmp, so just the fact that the server is pingable really doesn't provide useful information in this particular case. Have you tried if the servers they try to connect are reachable from you? Just to be sure it's not their fault. I can ping them. I installed Audacious again and it works with error, I will just stick with that. I was only trying out Amarok. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] [OT] Music Retrieval
On Tue, 04 Sep 2007 14:01:08 -0400 sean [EMAIL PROTECTED] wrote: I was only trying out Amarok. What did you think? I thought it was super cool, except it's resource utilization is so high i don't run it anymore if I can avoid. audacious seems almost completely better to me I suspect they aren't sending the information via icmp, so just the fact that the server is pingable really doesn't provide useful information in this particular case. yeah, but it is a lot more likely that the server would be down than that it's just misconfigured. servers go down all the time; they are generally seldom administered. so it seems to me a ping is a good first step in testing access to these servers. im guessing CDDB does use IP, so if icmp can get through, so can tcp (udp,or any other protocols encapsulated in ip). -- [EMAIL PROTECTED] mailing list
[gentoo-user] Updated bash crashed complete system
Hi, I have here a problem. I updated the shell bash today and the computer stalled while installing bash so I was not able to reboot my PC. I rebooted then from a rescue system and the bash was completely crashed so I copied the bash from the rescue system. Now I can boot my system again. Now I try to reinstall bash again but I get the following error message: i686-pc-linux-gnu-gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob -L./lib/tilde -L./lib/sh -rdynamic -march=i686 -O2 -pipe -o bash shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o expr.o flags.o jobs.o subst.o hashcmd.o hashlib.o mailcheck.o trap.o input.o unwind_prot.o pathexp.o sig.o test.o version.o alias.o array.o arrayfunc.o braces.o bracecomp.o bashhist.o bashline.o list.o stringlib.o locale.o findcmd.o redir.o pcomplete.o pcomplib.o syntax.o xmalloc.o -lbuiltins -lsh -lreadline -lhistory -lcurses -lglob -ltilde -ldl ./lib/readline/libhistory.a: could not read symbols: Archive has no index; run ranlib to add one collect2: ld returned 1 exit status make: *** [bash] Error 1 !!! ERROR: app-shells/bash-3.2_p17 failed. Call stack: ebuild.sh, line 1638: Called dyn_compile ebuild.sh, line 985: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile bash-3.2_p17.ebuild, line 107: Called die !!! make failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/app-shells/bash-3.2_p17/temp/build.log'. What can I do to reinstall the bash again? Thx a lot, Matthias -- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning. -- Rich Cook -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: i586 install :solved!
Neil Bothwick neil at digimed.co.uk writes: On Thu, 23 Aug 2007 17:00:26 + (UTC), James wrote: The ide disk setup is very simple: Hello Everyone, I feel, stupid. The answer was in the arcane bios settings. I has to delete the bios harddrive entries and let the bios auto discover the master boot drive. Once I did that, grub popped up like a fresh daisy Now, in the next few days, I'm going to put the HD onto a 4 gig CF card and one of those ide to CF converters and see how it goes. Thanks to everyone for suggestions. James -- [EMAIL PROTECTED] mailing list
[gentoo-user] {OT?} software audio equalizer
I'd like to adjust the sound levels coming out of my computer in a manner similar to an equalizer. I'm using a Sound Blaster Live and alsamixer only has the standard bass/treble adjustment available. Is there a way to get a more fine-grained control over the sound before it hits the sound card? - Grant -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Updated bash crashed complete system
070904 Matthias Fechner wrote: I updated Bash-3.2_p17 and the computer stalled while installing it so I was not able to reboot my PC. I rebooted from a rescue system and copied Bash from there. Now I can boot my system again. Now I try to reinstall bash again but I get the following error message: -- snip -- ./lib/readline/libhistory.a: could not read symbols: Archive has no index; run ranlib to add one -- snip -- What can I do to reinstall the bash again? The first thing to try what it says: run Ranlib. However, it's not clear which library you need to run it on: my system has no dir /lib/readline ; the Readline pkg installs /usr/lib/libhistory.a , which is present. So you could try 'ranlib /usr/lib/libhistory.a' or you could try remerging the Readline pkg, which mb damaged in some way. I emerged this version of Bash 070728 without any problem. My Readline version is 5.2_p4 (070701): do you need to upgrade yours ? Have you looked for similar problems in the Forum ? -- ,, SUPPORT ___//___, Philip Webb : [EMAIL PROTECTED] ELECTRIC /] [] [] [] [] []| Centre for Urban Community Studies TRANSIT`-O--O---' University of Toronto -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Updated bash crashed complete system
Hi Philip, Philip Webb wrote: The first thing to try what it says: run Ranlib. However, it's not clear which library you need to run it on: my system has no dir /lib/readline ; I found the directory, it's: /var/tmp/portage/app-shells/bash-3.2_p17/work/bash-3.2/lib/readline But that should emerge do for me or not? or you could try remerging the Readline pkg, which mb damaged in some way. that is the first I tried but doesn't changed anything. I also reinstall all packets which bash needs no success. I emerged this version of Bash 070728 without any problem. I reinstall now bash 3.1_p17 which works fine. So it should be a bug in the bash-package 3.2_p15-r1? My Readline version is 5.2_p4 (070701): do you need to upgrade yours ? that I have installed too: Installed versions: 5.2_p4(22:27:19 09/04/07) Have you looked for similar problems in the Forum ? yes but found nothing helpful. And google didn't help too. Best regards, Matthias -- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning. -- Rich Cook -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] MCE in kernel
Thank you. I noticed that when I ran make oldconfig on a new kernel, the configs were not what I'd expected. The wrong CPU type was configured. Alan On 9/5/07, Don Jerman [EMAIL PROTECTED] wrote: On 9/3/07, Alan E. Davis [EMAIL PROTECTED] wrote: Thank you. I have solved the problem for now, but live in fear that there is something untoward going in on my hardware. Quite possible. It can also be caused by misconfiguring kernel drivers. I recently (accidently) selected the ATI agpart driver instead of the Intel driver. Most drivers correctly detect when their corresponding device isn't present, but this one gamely tried to manage the AGP bridge and fouled up memory whenever X started... So you may want to review your kernel config and make sure you have all the devices you're attempting to use. -- [EMAIL PROTECTED] mailing list -- Alan Davis, Kagman High School, Saipan [EMAIL PROTECTED] An inviscid theory of flow renders the screw useless, but the need for one non-existent. ---Lord Raleigh (aka John William Strutt), or else his son,
Re: [gentoo-user] Updated bash crashed complete system
I reinstall now bash 3.1_p17 which works fine. So it should be a bug in the bash-package 3.2_p15-r1? Current stable version of bash is 3.2_p17! Maybe try this one. 3.2_p15-r1 is not in the tree anymore. Maybe you should sync your tree! -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Updated bash crashed complete system
I reinstall now bash 3.1_p17 which works fine. So it should be a bug in the bash-package 3.2_p15-r1? In your first message the portage output says version 3.2_p17 now you write 3.2_p15-r1, which one is bugging you? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Updated bash crashed complete system
Hello Daniel, * Daniel Pielmeier [EMAIL PROTECTED] [04-09-07 22:55]: In your first message the portage output says version 3.2_p17 now you write 3.2_p15-r1, which one is bugging you? the bugging version is 3.2_p17. I reinstalled now 3.1_p17 which works. (regarding to eix 3.2_17 and 3.1_p17 are marked green so both version should be stable or?) [U] app-shells/bash Available versions: 2.05b-r11 3.0-r12 ~3.0-r13 ~3.0-r14 3.1_p17 3.2_p17 ~3.2_p17-r1 [M]~3.2_p25 {afs bashlogger build minimal nls plugins unicode vanilla} Installed versions: 3.1_p17(22:37:52 09/04/07)(-afs -bashlogger nls -vanilla) 3.2_p17(21:23:37 09/04/07) Homepage: http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html Description: The standard GNU Bourne again shell I tried it now with a freshly updated portage dir, exactly the same problem. 3.2_p17 fails. Best regards, Matthias -- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning. -- Rich Cook -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: 500 meg / partition (including /boot) *WITHOUT USING LVM*
On Tue, Sep 04, 2007 at 10:45:15AM +0200, Alan McKinnon wrote You will always have a pretty good idea how much space / needs, it contains /bin, /sbin, /etc, /root and /lib. Unless oyu are in the habit of storing stuff in /root, 500M is plenty. So put / on a regular partition, everything else in LVM and your initramfs worries go away. s/LVM/a partition using the rest of the hard drive/ This is how I started the whole thread. The only thing you need worry about is where are you going to get a decent howto that explains the concepts. You are dealing with three layers of stuff on top of physical partitions and some docs out there are ... confusing. Once you get the picture fully, it's as easy pie and makes perfect sense. Remove the LVM layer and things become even easier. Really, LVM is the answer to all those prayers you have been sending up to $DEITY for years :-) With few exceptions, it's an answer looking for a problem. -- Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1 Q. Mr. Ghandi, what do you think of Microsoft security? A. I think it would be a good idea. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: 500 meg / partition (including /boot) *WITHOUT USING LVM*
On Tue, Sep 04, 2007 at 12:19:29PM +0200, Alan McKinnon wrote On Tuesday 04 September 2007, Remy Blank wrote: Alan McKinnon wrote: What you can't do, and to my knowledge no regular fs can do, is to *reduce* a mounted partition But who would want to do that? I always need *more* space, not less ;-) emerged openoffice lately? :-) It pretty much always fails if you have 5G in /var/tmp/portage. On a laptop, that's 8% of my total disk space just sitting there free waiting for the day I emerge openoffice again. Umounting /var to reduce it is such a huge pita that I made /var/tmp/portage a separate volume and now reduce it at will. Drifting back onto the thread topic (is that allowed hereg?) having /var use part of a common pool (what's left over after swap and a 500 meg / partition) avoids that problem altogether, rather than band-aiding it. -- Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1 Q. Mr. Ghandi, what do you think of Microsoft security? A. I think it would be a good idea. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Finally installed Gentoo on Dell Inspiron 530 desktop
On Sun, Sep 02, 2007 at 06:16:33PM +0200, b.n. wrote I use a SATA disk at home but they are not in IDE mode, AFAIK... it shows up as /dev/sda - Can you explain me the difference? Is it needed for some chipsets? There are two different ways of doing things, and they require different drivers. I don't know the internal difference myself. I was just following instructions. As long as it gets linux to boot on it, I'm happy. -- Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1 Q. Mr. Ghandi, what do you think of Microsoft security? A. I think it would be a good idea. -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: 500 meg / partition (including /boot) *WITHOUT USING LVM*
· Remy Blank [EMAIL PROTECTED]: There's one thing that has prevented me from ever using LVM: the need to have an initrd (or initramfs). You only need an initrd, if you wish to have / on LVM. But if you put / (incl. /boot) on a normal partition, there's no need at all for an initrd. Alexander Skwar -- Chuck Norris is not Politically Correct. He is just Correct. Always. -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: 500 meg / partition (including /boot) *WITHOUT USING LVM*
· Remy Blank [EMAIL PROTECTED]: Well, I haven't spent much time looking at rescue CDs, I have always used Knoppix up to now and it has been good enough. I'll just check that recent LVM tools are on it. Knoppix is *NOT* a rescue disc! It lacks some essential tools, eg. LVM stuff. I recommend GRML as a rescue disc. Alexander Skwar -- Promising costs nothing, it's the delivering that kills you. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: 500 meg / partition (including /boot) *WITHOUT USING LVM*
On Tue, 4 Sep 2007 18:08:04 -0400, Walter Dnes wrote: You will always have a pretty good idea how much space / needs, it contains /bin, /sbin, /etc, /root and /lib. Unless oyu are in the habit of storing stuff in /root, 500M is plenty. So put / on a regular partition, everything else in LVM and your initramfs worries go away. s/LVM/a partition using the rest of the hard drive/ As I asked before, what happens when you need more space and want to add another drive? With LVM, adding the space to your existing pool of space, for use by any filesystem, is trivial. -- Neil Bothwick Those are my principles. If you don't like them I have others. signature.asc Description: PGP signature
[gentoo-user] Re: Re: 500 meg / partition (including /boot) *WITHOUT USING LVM*
· Walter Dnes [EMAIL PROTECTED]: On Tue, Sep 04, 2007 at 10:45:15AM +0200, Alan McKinnon wrote You will always have a pretty good idea how much space / needs, it contains /bin, /sbin, /etc, /root and /lib. Unless oyu are in the habit of storing stuff in /root, 500M is plenty. So put / on a regular partition, everything else in LVM and your initramfs worries go away. s/LVM/a partition using the rest of the hard drive/ No way. For sure not a partition of size ~500 G. That's something you never ever do. The only thing you need worry about is where are you going to get a decent howto that explains the concepts. You are dealing with three layers of stuff on top of physical partitions and some docs out there are ... confusing. Once you get the picture fully, it's as easy pie and makes perfect sense. Remove the LVM layer and things become even easier. Does it? How do you have different filesystem types for different directories? How do you minimize the effect of a corrupted filesystem? Really, LVM is the answer to all those prayers you have been sending up to $DEITY for years :-) Exactly. I don't get why people try so hard to not use LVM. Alexander Skwar -- Reed It is important to note that the primary reason the Roman Empire fail is that they had no concept of zero... thus they could not test the success or failure of their C programs. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Music Retrieval
sean wrote: I installed Audacious again and it works with error, I will just stick with that. I was only trying out Amarok. That should have been without error. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] [OT] Music Retrieval
Dan Farrell wrote: On Tue, 04 Sep 2007 14:01:08 -0400 I was only trying out Amarok. What did you think? I thought it was super cool, except it's resource utilization is so high i don't run it anymore if I can avoid. I thought it looked interesting, but much more then I really need. Took a while for playback getting started when I put a music CD in the player. Like the capabilities of Internet radio, played with a bit, before removal. I suspect they aren't sending the information via icmp, so just the fact that the server is pingable really doesn't provide useful information in this particular case. yeah, but it is a lot more likely that the server would be down than that it's just misconfigured. servers go down all the time; they are generally seldom administered. so it seems to me a ping is a good first step in testing access to these servers. im guessing CDDB does use IP, so if icmp can get through, so can tcp (udp,or any other protocols encapsulated in ip). Audacious works fine on info retrieval, Amarok only worked a short bit, even when both installed together. Still tend to think that something was not right when the package was emerged. Anyway, I will stick with Audacious for now. -- [EMAIL PROTECTED] mailing list
[gentoo-user] Oddities in apache2 update, other init bizarrity.
Stable x86 just got a new apache server, and it's puzzling me. For one thing, /etc/conf.d/apache2 now ends with this # Environment variables to keep # All environment variables are cleared from apache # Use this to preserve some of them # NOTE!!! It's very important that this contains PATH # TODO: Phase this out in favor of /etc/conf.d/env_whitelist #KEEPENV=PATH It has said all along that it's important to have PATH, but now it's commented out without any replacement in env_whitelist. Moreover, there's no example in env_whitelist to show the syntax. I just put PATH in there on a line of its own, and hoped for the best. The bigger puzzle is this one: I can't stop apache because it can't be found, but I also can't start it because it's already running. It is in fact running and serving web pages. But I'd like the init stuff to be a lot more consistent. The confusion about cupsd and vmware is a separate issue I've been meaning to ask about for months; I don't think it has anything to do with apache2. treat ~ # cd /etc/init.d treat init.d # ./apache2 stop * Stopping apache2 ... No /usr/sbin/apache2 found running; none killed. [ !! ] treat init.d # ./apache2 start * WARNING: apache2 has already been started. treat init.d # ./apache2 status * Caching service dependencies ... * Service 'cupsd' should be AFTER service 'vmware', but one of * the services 'vmware' depends on, depends on 'cupsd'! [ ok ] * status: started treat init.d # -- Kevin O'Gorman, PhD
[gentoo-user] EMERGE USE PHP additional options problem
Hi I'm VERY new on GENTOO I'm from Argentine, my english (and my spanish too), is very poor I was using RedHat until 6.2, I allways made all configuration, compilation, etc, etc by hand I have scripts to install a complete RH 6.2 server with more than 1000 lines Now, I'm trying to understand how work the portage system, and I'm very lost I'm trying to do something that I believe is VERY stupid, but I can't make it work I want to configure PHP with ZIP and other things. The others thinhs works, but with-zip, don't I'm doing the next: USE= -X -gtk -gnome -kde -xpm -gpm -alsa -qt -java -ipv6 -berkdb -gdbm -pdo -pdo-external -posix -cgi -force-cgi-redirect cli apache2 ctype fastbuild ftp gd hash iconv mysql nls pcre pic reflection session simplexml soap sockets spl ssl sqlite tokenizer truetype xml xmlrpc xmlreader xmlwriter xsl zlib zip unicode imap snmp emerge -a php-5.1.4.ebuild All looks good, BUT, I restart apache and the new php_info don't have --enable-zip what am I doing wrong ? Thanks, in advance Pablo M. -- [EMAIL PROTECTED] mailing list