Re: [gentoo-user] lvm problem(s)
On Tuesday 16 June 2009 02:33:22 Maxim Wexler wrote: With baselayout2 and openrc, you need to explicitly put lvm into the boot Wow! I didn't even realize lvm was in init.d. There's nothing in the doc about it. So I went ahead and added to the boot-level and rebooted. Same as before with (looks like) one addition: ... *The lvm init-script is written for baselayout-2! [!!] *Please do not use it with baselayout-1! So I removed lvm from boot level and just did a static /etc/init.d/lvm start and got the exact msg as above. ... How did I only get baselayout-1? I used the latest tarballs. And what init-script should I use? FWIW only one device, the SD card, can't be found and it is listed about 20 times in the boot console before the LVM gives up. Hold on, here's /etc/conf.d/lvm: #LVM should normally only be started after mdraid is available #this is because LVM physical volumes are very often MD devices RC_AFTER=mdraid #vim: ft=gentoo-conf-d Well, I don't have mdraid, as far as I know. I'll just comment out that line and see where it leads. Here's something to check: By the time lvm wants to start during boot on that machine, is the SD card actually available yet? It needs drivers and such to be loaded and initialized first. dmesg should list if that step has been completed first. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] lvm problem(s)
On Mon, 15 Jun 2009 18:33:22 -0600, Maxim Wexler wrote: How did I only get baselayout-1? I used the latest tarballs. And what init-script should I use? Because the tarballs use stable packages and baselayout-2 is still in testing. FWIW only one device, the SD card, can't be found and it is listed about 20 times in the boot console before the LVM gives up. Is everything needed to use the SD card compiled into the kernel? As it works after everything is loaded, I suspect not. Look for anything relevant in the output of lsmod after the system loads and the card is working, then either add those modules to the autoload file, or build them into the kernel. -- Neil Bothwick Save energy: Drive a smaller shell. signature.asc Description: PGP signature
[gentoo-user] [OT] RAID 1 over network
Hi all! Short: What is the best way to setup something similar to RAID 1 over a WAN? Background: Two LAMP servers are located in geographically different locations connected through a load balancer to the net: LAMP ALAMP B \ / \ / \ / \ / \ / \ / V load balancer LB | | WAN One purpose of the setup is to have data redundancy. Thus we have to ensure that the data is replicated in a timely manner. Replicating MySQL data is not difficult. The problem is the file system data like uploaded documents and pictures. We can monitor changes in the file system and initiate rsync to copy files over the network, but I think it's not a good solution. What we are after is a network equivalent of RAID 1. Are there any viable solutions that could work over a WAN? Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein)
[gentoo-user] Re: [OT] RAID 1 over network
Renat Golubchyk ragermany at gmx.net writes: What is the best way to setup something similar to RAID 1 over a WAN? CFengine might be of use. I just popped over to the site, it seems to be offering Open Source and Commercial support now... just a thought, not a verified solution for you. hth, James
Re: [gentoo-user] [OT] RAID 1 over network
On Tue, 2009-06-16 at 12:40 +0200, Renat Golubchyk wrote: Are there any viable solutions that could work over a WAN? Look into DRBD, http://www.drbd.org/. It is open source but not yet in the kernel, I think. Philipp
Re: [gentoo-user] Pentium D Temperature and Frequency Scaling
Thank you for the suggestions, Dale and Stroller. I have an Athlon64 machine, and in order to access the CPU temperature on that, I simply built the 'k8temp' module. The option to build the 'coretemp' module is on the same page of menuconfig. However, coretemp isn't applicable to my Pentium D 3GHz. I would like to know if there is any way - other than by using lm_sensors - that I can get at the temperature of my CPU. k8temp works for AMD Athlon64 CPUs, coretemp is for Intel Core CPUs, is there a similar solution for Intel Pentium D CPUs? Also, can anyone enlighten me as to whether it is correct that my Pentium D 3GHz can only drop to 2.4GHz at the lowest, rather than anything lower, while doing frequency scaling? Thanks again, Richard 2009/6/15 Dale rdalek1...@gmail.com: Stroller wrote: On 15 Jun 2009, at 11:57, Richard McCombie wrote: ... I'm trying to monitor the temperature of my CPU in Gentoo. I have a Pentium D 3.00GHz. I tried compiling my kernel with the coretemp module but this won't modprobe (which, I imagine, is because the module is exclusively for Core chips). sys-apps/lm_sensors ?? Or is this only for measureing tempertaures on the motherboard? Stroller. It may be that the drivers are in the kernel options but he just needs to know which one out of the dozens that are available is the correct one. I monitor my CPU and mobo and I don't have lm_sensors at all. I do agree that lm_sensors may be a a start since it has a detection tool. Then he could take that info and dig around in the kernel config. Dale :-) :-)
Re: [gentoo-user] Web application for contact management...
Mick wrote: Ah, may have missed it in the original post that you want multi-client access. Probably my fault... my post was mainly wild hand-waving hoping that someone would guess what I meant. :) http://www.simplecustomer.com/ No idea if it's any good, though. This is definitely looking as if it is heading in the right direction. Features I hoped I would find, but seem to be missing are: * Tagging of contacts - something a bit like a taxonomy in Drupal So, for example, I could tag Fred Bloggs as having UK residency; Occupation: Plumber - etc. and so that I could, at a later date search my contacts for a UK resident Plumber. (OK, it's a contrived example, but, hopefully, it illustrates the idea.) * Flexible search for contacts... perhaps by name, perhaps by email address; perhaps just search notes. * Good support for multiple communications technologies... including non-US addresses; skype - etc. :) * Good support for ageing data on a field-by-field basis... by this I mean that it is relevant, for example, when addresses were established, because people move home... Many thanks for the suggestions so far - they've, at the very least, helped me refine my ideas about what I want... Have you looked at egroupware/phpgroupware and even open-exchange products? As long as you are happy to run a server at home and store your social/professional networking contacts into either mysql or LDAP, one of these front ends should do what you want. No, I hadn't looked that these. I've messed about with Outlook on a corporate exchange server - and it definitely wasn't what I want... it's got a working address book - and it integrates (sort-of) with email - but falls far short of what I require as an aide memoir about people I've met... many of whom will have been introduced in person - not online, by phone or email. I think I'm going to dismiss open-exchange as pursuing the same objectives as MS exchange (that's my current perception of it...) leaving the other two systems - neither of which I'd discovered previously. Both E-Groupware and PHPgroupware look like fantastic tools - and E-Groupware looks especially slick. On the down-side, they both seem to have relatively steep learning curves relative to my primary objective... i.e. keeping notes about communications with infrequent contracts... so, for example, if I were about to meet someone from Acme Corp next week, and I remembered having met an Acme Corp director last year (but had forgotten the date; where we met; and his name...) then I'd want to be able to find this information from my contracts management system. SimpleCustomer is heading in the right direction - but I think its interface falls short of my requirements. I suspect I need to play with those groupware systems... perhaps read a book about them - if one has been written. I'm very happy to run my own server at home - in fact, I'd be worried about doing it any other way... I wouldn't want to risk contributing to a massive centralised database of personal information... :) Thanks, and - of course - I'm still interested in anecdotal hints/tips from anyone who has attempted something similar. Steve
Re: [gentoo-user] Can I get a tip for reading eix output?
Alan McKinnon ha scritto: What do the `!t' entries following the versions available mean? RESTRICT=test You can find a clue in sub-section Slots under main heading OUTPUT Which in turn, means? m.
Re: [gentoo-user] [OT] RAID 1 over network
On Tue, 16 Jun 2009 12:40:46 +0200 Renat Golubchyk ragerm...@gmx.net wrote: Hi all! Short: What is the best way to setup something similar to RAID 1 over a WAN? ... One purpose of the setup is to have data redundancy. Thus we have to ensure that the data is replicated in a timely manner. Replicating MySQL data is not difficult. The problem is the file system data like uploaded documents and pictures. We can monitor changes in the file system and initiate rsync to copy files over the network, but I think it's not a good solution. What we are after is a network equivalent of RAID 1. Are there any viable solutions that could work over a WAN? If replication after file is completely hit the disk is not acceptable either because files are quite large or have to be really synchronous then I'll second DRBD-with-HA-cluster-fs suggestion. Otherwise, if it's acceptable to have each file replicated as soon as it's fully stored on one node and link between nodes isn't good enough clustered fs High-Availability features might play against you, but I don't think rsync (via some sort of cron) is a good idea here, anyway. You'd be better off using in-kernel dnotify / inotify reactors and a simple script to track IN_MODIFY and IN_CREATE events, replicating path in question (possibly via some sort of delta-transfer) as soon as it hits the fs. I even remember seeing inotify-tracking binary to use with common shell scripts, although I believe any dedicated non-bash-hack implementation should be better suited for such task. -- Mike Kazantsev // fraggod.net signature.asc Description: PGP signature
Re: [gentoo-user] Web application for contact management...
Steve wrote: On the down-side, they both seem to have relatively steep learning curves relative to my primary objective... i.e. keeping notes about communications with infrequent contracts... so, for example, if I were about to meet someone from Acme Corp next week, and I remembered having met an Acme Corp director last year (but had forgotten the date; where we met; and his name...) then I'd want to be able to find this information from my contracts management system. SimpleCustomer is heading in the right direction - but I think its interface falls short of my requirements. Erm - freaky, I meant contacts, I think, even though I typed contracts - and that still made sense. Weird... I was definitely thinking contacts - but I guess this would be useful for establishing business contracts... :-\ So far I've not got far with either Groupware suite... they're both close - I wonder how hard it would be to tailor them... Hmmm.
Re: [gentoo-user] [OT] RAID 1 over network
On Tue, 16 Jun 2009 18:58:56 +0600 Mike Kazantsev mk.frag...@gmail.com wrote: On Tue, 16 Jun 2009 12:40:46 +0200 Renat Golubchyk ragerm...@gmx.net wrote: Hi all! Short: What is the best way to setup something similar to RAID 1 over a WAN? ... One purpose of the setup is to have data redundancy. Thus we have to ensure that the data is replicated in a timely manner. Replicating MySQL data is not difficult. The problem is the file system data like uploaded documents and pictures. We can monitor changes in the file system and initiate rsync to copy files over the network, but I think it's not a good solution. What we are after is a network equivalent of RAID 1. Are there any viable solutions that could work over a WAN? If replication after file is completely hit the disk is not acceptable either because files are quite large or have to be really synchronous then I'll second DRBD-with-HA-cluster-fs suggestion. DRBD is HA solution which is achieved by switching the role of the nodes in case the active node goes offline. I think DRBD is not meant for the schema OP has described, because only the active node is accessible via FS. DRBD works between the FS and block device layers. It catches the FS writes from the active node and sends them over the network. DRBD on the backup node receives those and replicates them directly to the disk driver. Thus you can't have mounted FS on the backup node. If the active node goes offline, the backup node takes over which means DRBD switches roles and the FS has to be mounted afterwards. -- Best regards, Daniel
Re: [gentoo-user] [OT] RAID 1 over network
On Tue, 2009-06-16 at 16:45 +0300, Daniel Iliev wrote: DRBD is HA solution which is achieved by switching the role of the nodes in case the active node goes offline. I think DRBD is not meant for the schema OP has described, because only the active node is accessible via FS. DRBD works between the FS and block device layers. It catches the FS writes from the active node and sends them over the network. DRBD on the backup node receives those and replicates them directly to the disk driver. Thus you can't have mounted FS on the backup node. If the active node goes offline, the backup node takes over which means DRBD switches roles and the FS has to be mounted afterwards. But that might be a good solution with 2.6.30, NFS and FSCACHE. Another solution would be to use ndb (network block devices), dm-raid and a cluster filesystem. Philipp
Re: [gentoo-user] Re: SVG plugin
On Mon, Jun 15, 2009 at 7:57 AM, Paul Hartmanpaul.hartman+gen...@gmail.com wrote: On Mon, Jun 15, 2009 at 9:31 AM, Kevin O'Gormankogor...@gmail.com wrote: I tried that Adobe site in FF on gentoo and ubuntu with the same non-result. On Vista, I tried FF, Opera, Safari and IE 8, with varied forms of failure. Interestingly, Opera at least offered to start inkscape to view the image, which succeeded. The text on that image suggested it's specific to an adobe plugin -- which it plugs of course. Does somebody have a web page with SVGs that normal browsers with non-proprietary plugins/viewers _can_ view? http://www.w3schools.com/svg/svg_inhtml.asp This page has examples of 3 ways to do it (you should see blue rectangles if SVG is rendering). All 3 examples work for me in Firefox 3.0.11, Seamonkey 1.1.16, Opera 9.64, Konqueror 4.2.3 and Safari 4 (all on Windows). Internet Explorer 8, naturally, requires a plug-in to view SVG. On Linux, my FF showed only the embed version, and that only after I got NoScript to stop blocking it. I wonder what's different on my system. Oh, and svg was enabled all along. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Re: SVG plugin
On Tue, Jun 16, 2009 at 9:13 AM, Kevin O'Gormankogor...@gmail.com wrote: On Mon, Jun 15, 2009 at 7:57 AM, Paul Hartmanpaul.hartman+gen...@gmail.com wrote: On Mon, Jun 15, 2009 at 9:31 AM, Kevin O'Gormankogor...@gmail.com wrote: I tried that Adobe site in FF on gentoo and ubuntu with the same non-result. On Vista, I tried FF, Opera, Safari and IE 8, with varied forms of failure. Interestingly, Opera at least offered to start inkscape to view the image, which succeeded. The text on that image suggested it's specific to an adobe plugin -- which it plugs of course. Does somebody have a web page with SVGs that normal browsers with non-proprietary plugins/viewers _can_ view? http://www.w3schools.com/svg/svg_inhtml.asp This page has examples of 3 ways to do it (you should see blue rectangles if SVG is rendering). All 3 examples work for me in Firefox 3.0.11, Seamonkey 1.1.16, Opera 9.64, Konqueror 4.2.3 and Safari 4 (all on Windows). Internet Explorer 8, naturally, requires a plug-in to view SVG. On Linux, my FF showed only the embed version, and that only after I got NoScript to stop blocking it. I wonder what's different on my system. Oh, and svg was enabled all along. After having success with every browser (but IE) on Windows, here's my test results with the same browsers on Linux: SeaMonkey 1.1.16 - all 3 worked Firefox - Embed and Iframe work, but Object does not Konqueror 4.2.4 - all 3 worked Opera 10 beta - Embed and Iframe work, but Object does not. I think the reason why Opera and FF do not work in Object mode is because the example on the w3schools website is wrong. They use the codebase attribute as the download location for the plug-in but the HTML specs say This attribute specifies the base path used to resolve relative URIs specified by the classid, data, and archive attributes. So, in other words, FF and Opera are trying to load http://www.adobe.com/svg/viewer/install/rect1.svg; which does not exist, resulting in no blue rectangle. I'd be willing to bet both of these browsers would work with an Object-tag-embed SVG given a properly-formed example.
Re: [gentoo-user] Re: SVG plugin
On Tue, Jun 16, 2009 at 9:13 AM, Kevin O'Gormankogor...@gmail.com wrote: On Linux, my FF showed only the embed version, and that only after I got NoScript to stop blocking it. I wonder what's different on my system. Oh, and svg was enabled all along. Do you guys have cairo built with the svg USE flag enabled? I think FF depends on that. I have svg in my global USE flags, FWIW.
[gentoo-user] Re: antlr compile error
I'm getting the following when trying to compile antlr. I'm not sure exactly where the error is. Should I file a bug on this? make -C lib/python all make[2]: Entering directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/python' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/python' make -C lib/csharp all make[2]: Entering directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/csharp' make -C lib/csharp/antlr.astframe all make[3]: Entering directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/csharp/antlr.astframe' make[4]: Entering directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/csharp/antlr.runtime' /usr/bin/mcs -nologo -t:library -out:/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/antlr.runtime.dll -r:System.Windows.Forms.dll -r:System.Drawing.dll -r:System.dll -d:APTC /var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/scripts/csc.sh: line 253: 14662 Killed $cmd ${ARGV} E R R O R /usr/bin/mcs -nologo -t:library -out:/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/antlr.runtime.dll -r:System.Windows.Forms.dll -r:System.Drawing.dll -r:System.dll -d:APTC [ file(s) skipped] - Grant Sorry to bother you all again over this. Should I file a bug? - Grant
Re: [gentoo-user] Re: SVG plugin
On Tue, Jun 16, 2009 at 9:51 AM, Paul Hartmanpaul.hartman+gen...@gmail.com wrote: On Tue, Jun 16, 2009 at 9:13 AM, Kevin O'Gormankogor...@gmail.com wrote: On Linux, my FF showed only the embed version, and that only after I got NoScript to stop blocking it. I wonder what's different on my system. Oh, and svg was enabled all along. Do you guys have cairo built with the svg USE flag enabled? I think FF depends on that. I have svg in my global USE flags, FWIW. also check for svg USE flag on gegl
Re: [gentoo-user] Can I get a tip for reading eix output?
On Tuesday 16 June 2009 14:46:53 bn wrote: Alan McKinnon ha scritto: What do the `!t' entries following the versions available mean? RESTRICT=test You can find a clue in sub-section Slots under main heading OUTPUT Which in turn, means? m. Before I answer, did you look for the section in the man page at all? It seems pretty straightforward to me: OUTPUT Slots In contrast to usual output of versions in emerge, eix can also print slot names if they are nonempty and different from 0. Whether this happens is determined by the PRINT_SLOTS variable and by the content of the FORMATSTRING. If slots are printed, the slot name is separated from the version num- ber either with a colon, or the slot names are written in braces. You can choose the preferred modes with the COLON_SLOTS variable. Some Examples: [snip] 1.0+i+l+v+s!f!m!p!b!s!t!u!i!d This is version 1.0 which is subject to PROPERTIES=interactive live virtual set as well as RESTRICT=fetch mirror primaryuri binchecks strip test userpriv installsources bindist It should be immediately obvious from reading the first two screens of text in that man page that the author is utterly completely clueless about authoring user documentation. It's about as helpful and communicative if he'd just done a code dump. With that in mind, it becomes apparent that the listed flags are all the initial letter of the words in the PROPERTIES and RESTRICT lists. It's confusing as hell, that's why I said you'd find a clue (and not a definitive answer). Anyways, those items in the lists are all settings/variables applicable to make.conf, fully described in the relevant man page. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] lvm problem(s)
FWIW only one device, the SD card, can't be found and it is listed about 20 times in the boot console before the LVM gives up. Is everything needed to use the SD card compiled into the kernel? As it works after everything is loaded, I suspect not. Look for anything relevant in the output of lsmod after the system loads and the card is working, then either add those modules to the autoload file, or build them into the kernel. One step forward, two steps back. The missing module is mmc_block which I added to the file /etc/conf.d/modules(I upgraded to baselayout-2 thinking this would help). Did no good. I see dm-mod and mmc_block getting loaded alright and then just after 'Setting up the Logical Volume Manager': Locking type 1 initialisation failed Couldn't find devices with uuid etc... mw
Re: [gentoo-user] [OT] RAID 1 over network
Am Dienstag 16 Juni 2009 15:58:37 schrieb Philipp Riegger: On Tue, 2009-06-16 at 16:45 +0300, Daniel Iliev wrote: DRBD is HA solution which is achieved by switching the role of the nodes in case the active node goes offline. I think DRBD is not meant for the schema OP has described, because only the active node is accessible via FS. DRBD works between the FS and block device layers. It catches the FS writes from the active node and sends them over the network. DRBD on the backup node receives those and replicates them directly to the disk driver. Thus you can't have mounted FS on the backup node. If the active node goes offline, the backup node takes over which means DRBD switches roles and the FS has to be mounted afterwards. But that might be a good solution with 2.6.30, NFS and FSCACHE. Another solution would be to use ndb (network block devices), dm-raid and a cluster filesystem. And finally, there's OpenAFS. Not really RAID, but maybe sufficient. Bye... Dirk signature.asc Description: This is a digitally signed message part.
[gentoo-user] openoffice-3.1.0: nsplugin USE flag does nothing?
I enabled the nsplugin USE flag in OOo 3.1.0 and re-emerged. Curiously, nothing changed. There's no plugin listed in Firefox (3.0.11). Am I missing something obvious? I'm on AMD64. OOo has been emerged with following USE flags: bash-completion dbus gtk linguas_en linguas_en_US nsplugin
Re: [gentoo-user] [OT] RAID 1 over network
On Tue, 16 Jun 2009 15:58:37 +0200 Philipp Riegger li...@anderedomain.de wrote: On Tue, 2009-06-16 at 16:45 +0300, Daniel Iliev wrote: DRBD is HA solution which is achieved by switching the role of the nodes in case the active node goes offline. I think DRBD is not meant for the schema OP has described, because only the active node is accessible via FS. DRBD works between the FS and block device layers. It catches the FS writes from the active node and sends them over the network. DRBD on the backup node receives those and replicates them directly to the disk driver. Thus you can't have mounted FS on the backup node. If the active node goes offline, the backup node takes over which means DRBD switches roles and the FS has to be mounted afterwards. But that might be a good solution with 2.6.30, NFS and FSCACHE. Sorry, perhaps I'm missing something, but I couldn't understand the solution you had in mind. I'm just saying that the only scenario I have some experience with is DRBD + ext3 and it won't work for load balancing. If LAMP A and LAMP B as shown on the OP's schema were connected via DRBD + a conventional FS (ext/xfs/reiser/etc.), then only one of those systems would be able to serve client requests at a given moment. -- Best regards, Daniel
Re: [gentoo-user] [OT] RAID 1 over network
On Tue, 16 Jun 2009 17:54:34 +0200 Dirk Heinrichs dirk.heinri...@online.de wrote: Am Dienstag 16 Juni 2009 15:58:37 schrieb Philipp Riegger: [-snip-] Another solution would be to use ndb (network block devices), dm-raid and a cluster filesystem. And finally, there's OpenAFS. Not really RAID, but maybe sufficient. Bye... Dirk Perhaps. The unfortunate thing is that the answers can't be more accurate than the question itself, but many times the OPs liberty to reveal details is limited by some kind of NDA. In this particular case a key detail is missing: which is more important - the traffic costs or the hardware costs. -- Best regards, Daniel
Re: [gentoo-user] openoffice-3.1.0: nsplugin USE flag does nothing?
On Tuesday 16 June 2009 18:23:59 Nikos Chantziaras wrote: I enabled the nsplugin USE flag in OOo 3.1.0 and re-emerged. Curiously, nothing changed. There's no plugin listed in Firefox (3.0.11). Am I missing something obvious? I'm on AMD64. OOo has been emerged with following USE flags: bash-completion dbus gtk linguas_en linguas_en_US nsplugin I also don't know what it does, but I do know I had to remove the flag to get OOo to build since about 4 months ago. More info at bug 256773. Perhaps you can make sense of it and even get your question answered, it's all a bit over my head. I would assume that USE=nsplugin gives you browser plugins to view OOo files. It's a major hassle but have you looked in the emerge log for clues? Perhaps the plugins couldn't be built and th reason is buried deep in that massive build log. You might even need to MAKEOPTS=-j1 to get a sane order in the log ... :-) -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] lvm problem(s)
On 6/16/09, Maxim Wexler maxim.wex...@gmail.com wrote: FWIW only one device, the SD card, can't be found and it is listed about 20 times in the boot console before the LVM gives up. Is everything needed to use the SD card compiled into the kernel? As it works after everything is loaded, I suspect not. Look for anything relevant in the output of lsmod after the system loads and the card is working, then either add those modules to the autoload file, or build them into the kernel. One step forward, two steps back. The missing module is mmc_block which I added to the file /etc/conf.d/modules(I upgraded to baselayout-2 thinking this would help). Did no good. I see dm-mod and mmc_block getting loaded alright and then just after 'Setting up the Logical Volume Manager': Locking type 1 initialisation failed Couldn't find devices with uuid etc... mw Come to think of it, it couldn't have been the module. Old udev loaded it automatically, it was there all the time, I could still mount the volumes by hand. Now that i've 'migrated' have to specify the module in the new modules file or modprobe it manually. But I can still mount the volumes and execute commands. mw
Re: [gentoo-user] lvm problem(s)
On Tue, 16 Jun 2009 09:52:28 -0600, Maxim Wexler wrote: Locking type 1 initialisation failed Couldn't find devices with uuid etc... Just a guess, but it could be that it takes a while for the card reader to recognise the card after the module is loaded. I wouldn't put part of an LVM on an SD card though, they are too unreliable. I do have an SD card mounted from /etc/fstab though, and it doesn't have any problems, although there was a time when it wouldn't mount that early in the boot sequence. -- Neil Bothwick The people who are wrapped up in themselves are overdressed. signature.asc Description: PGP signature
Re: [gentoo-user] lvm problem(s)
On Tuesday 16 June 2009 17:52:28 Maxim Wexler wrote: FWIW only one device, the SD card, can't be found and it is listed about 20 times in the boot console before the LVM gives up. Is everything needed to use the SD card compiled into the kernel? As it works after everything is loaded, I suspect not. Look for anything relevant in the output of lsmod after the system loads and the card is working, then either add those modules to the autoload file, or build them into the kernel. One step forward, two steps back. The missing module is mmc_block which I added to the file /etc/conf.d/modules(I upgraded to baselayout-2 thinking this would help). Did no good. I see dm-mod and mmc_block getting loaded alright and then just after 'Setting up the Logical Volume Manager': Locking type 1 initialisation failed Couldn't find devices with uuid etc... My unorthodox but highly effective way to resolve issues like this: If google or menuconfig's help function doesn't give me an answer in 10 minutes, I boot off Ubuntu Netbook Remix on a usb stick (it's a 1G download), and note which modules it loads and settings it uses for stuff. Boot back into gentoo, configure and build accordingly ... sorted -- alan dot mckinnon at gmail dot com
[gentoo-user] g-cpan not pulling in the correct depencies
I'm trying to use g-cpan to pull in Bundle-InterchangeKitchenSink: http://search.cpan.org/~MIKEH/Bundle-InterchangeKitchenSink/InterchangeKitchenSink.pm but the list of dependencies is way off. Is g-cpan just broken? [ebuild N] perl-gcpan/OLE-Storage-Lite-0.18 [ebuild N] perl-gcpan/IO-Stty-0.02 [ebuild N] perl-gcpan/Set-Crontab-1.02 [ebuild N] x11-misc/util-macros-1.2.1 [ebuild N] dev-perl/OLE-StorageLite-0.14 [ebuild N] perl-core/Text-Balanced-2.0.0 [ebuild N] perl-gcpan/Image-Size-3.2 [ebuild N] dev-perl/IO-Tty-1.07 [ebuild N] dev-perl/TermReadKey-2.30 [ebuild N] dev-perl/Term-ReadLine-Perl-1.03.02 [ebuild N] dev-lang/tcl-8.4.18 USE=-debug -threads [ebuild N] dev-perl/Unicode-Map-0.112 [ebuild N] x11-proto/xproto-7.0.14 [ebuild N] x11-libs/xtrans-1.2.3 USE=-debug [ebuild N] x11-proto/kbproto-1.0.3 [ebuild N] x11-proto/inputproto-1.5.0 [ebuild N] dev-perl/Spreadsheet-ParseExcel-0.32 USE=unicode -cjk -test [ebuild N] x11-proto/xf86bigfontproto-1.1.2 [ebuild N] x11-proto/bigreqsproto-1.0.2 [ebuild N] x11-proto/xcmiscproto-1.1.2 [ebuild N] virtual/perl-Text-Balanced-2.0.0 [ebuild N] dev-perl/Parse-RecDescent-1.94 [ebuild N] x11-libs/libICE-1.0.4 USE=-debug -ipv6 [ebuild N] x11-proto/xextproto-7.0.4 [ebuild N] x11-libs/libXau-1.0.4 USE=-debug [ebuild N] x11-libs/libXdmcp-1.0.2 USE=-debug [ebuild N] x11-libs/libX11-1.1.5 USE=-debug -ipv6 -xcb [ebuild N] dev-perl/Spreadsheet-WriteExcel-2.20 [ebuild N] x11-libs/libSM-1.1.0 USE=-debug -ipv6 [ebuild N] x11-libs/libXt-1.0.5 USE=-debug [ebuild N] dev-lang/tk-8.4.18-r1 USE=-debug -threads [ebuild N] perl-gcpan/Bundle-InterchangeKitchenSink-1.06 - Grant
Re: [gentoo-user] Web application for contact management...
On Tuesday 16 June 2009, Steve wrote: So far I've not got far with either Groupware suite... they're both close - I wonder how hard it would be to tailor them... Hmmm. Have a quick look at InfoLog of eGroupware. I think that either on its own, or as it integrates with AddressBook/ProjectManager/Calendar will do more than what you want. I'll be surprised if you need to customise it at all. I have not installed this application, but from a little reading I did, it seems simply a matter of running apache/MySQL/PHP and unpacking the filesystem of egroupware under your /var/www/htdocs/egroupware or what have you. The process is similar to drupal, or any other php based website/CMS that I have come across. Gentoo helps you do this by emerging egroupware and I suspect you will then run webapp-config to configure it. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] lvm problem(s)
If google or menuconfig's help function doesn't give me an answer in 10 minutes, I boot off Ubuntu Netbook Remix on a usb stick (it's a 1G download), and note which modules it loads and settings it uses for stuff. Boot back into gentoo, configure and build accordingly ... sorted Does it provide more info than sysrescuecd-1.2? mw
Re: [gentoo-user] Can I get a tip for reading eix output?
On Tuesday 16 June 2009 14:46:53 bn wrote: Alan McKinnon ha scritto: What do the `!t' entries following the versions available mean? RESTRICT=test You can find a clue in sub-section Slots under main heading OUTPUT Which in turn, means? m. If you're asking what the meaning of the RESTRICT= options are, they're listed in the man page for ebuild(5), including: test do not run src_test even if user has FEATURES=test. which likely means that the package in question has a test suite that is known to be broken, on Gentoo or in general. (Side note: the man page only has one entry for PROPERTIES although eix knows of at least 4. Is there somewhere else this kind of portage information is documented?) --Mike
Re: [gentoo-user] Can I get a tip for reading eix output?
Mike Edenfield ha scritto: Which in turn, means? m. If you're asking what the meaning of the RESTRICT= options are, they're listed in the man page for ebuild(5), including: Oh, ok, thanks, I was having a cursory look at eix man page but it's written in Martian, as many people are remarking here. m.
Re: [gentoo-user] Re: SVG plugin
On Tuesday 16 June 2009, Paul Hartman wrote: On Tue, Jun 16, 2009 at 9:51 AM, Paul Hartmanpaul.hartman+gen...@gmail.com wrote: On Tue, Jun 16, 2009 at 9:13 AM, Kevin O'Gormankogor...@gmail.com wrote: On Linux, my FF showed only the embed version, and that only after I got NoScript to stop blocking it. I wonder what's different on my system. Oh, and svg was enabled all along. Do you guys have cairo built with the svg USE flag enabled? Yes. I think FF depends on that. I have svg in my global USE flags, FWIW. also check for svg USE flag on gegl Hmm, I don't have gegl emerged. Is it needed? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] openoffice-3.1.0: nsplugin USE flag does nothing?
On Tue, Jun 16, 2009 at 11:23 AM, Nikos Chantziarasrea...@arcor.de wrote: I enabled the nsplugin USE flag in OOo 3.1.0 and re-emerged. Curiously, nothing changed. There's no plugin listed in Firefox (3.0.11). Am I missing something obvious? I'm on AMD64. OOo has been emerged with following USE flags: bash-completion dbus gtk linguas_en linguas_en_US nsplugin I seem to recall some issue where OOo was building the plugin against a different xulrunner when you have both 1.8 and 1.9 installed. In other words maybe it build the FF2 plug-in instead of FF3? If that is even possible. I could be totally wrong. :)
Re: [gentoo-user] Re: SVG plugin
On Tue, Jun 16, 2009 at 3:02 PM, Mickmichaelkintz...@gmail.com wrote: On Tuesday 16 June 2009, Paul Hartman wrote: On Tue, Jun 16, 2009 at 9:51 AM, Paul Hartmanpaul.hartman+gen...@gmail.com wrote: On Tue, Jun 16, 2009 at 9:13 AM, Kevin O'Gormankogor...@gmail.com wrote: On Linux, my FF showed only the embed version, and that only after I got NoScript to stop blocking it. I wonder what's different on my system. Oh, and svg was enabled all along. Do you guys have cairo built with the svg USE flag enabled? Yes. I think FF depends on that. I have svg in my global USE flags, FWIW. also check for svg USE flag on gegl Hmm, I don't have gegl emerged. Is it needed? I guess not :) I thought it was in the firefox dep tree but now I'm not seeing it. I must have been looking at the wrong thing.
Re: [gentoo-user] g-cpan not pulling in the correct depencies
On Tue, 16 Jun 2009 10:03:38 -0700 Grant emailgr...@gmail.com wrote: I'm trying to use g-cpan to pull in Bundle-InterchangeKitchenSink: http://search.cpan.org/~MIKEH/Bundle-InterchangeKitchenSink/InterchangeKitchenSink.pm but the list of dependencies is way off. Is g-cpan just broken? That's about it, yes. (I think the way perl is handled in Gentoo is in serious need of review.) Of course, what you are trying to install, to be fair, isn't exactly trivial and g-cpan does trivial well enough... usually. So, perhaps you could just install the pieces you need? I don't think portage will ever be able to handle CPAN 'bundles'. Just gcpan -g for each item in the package from a shell script. Maybe it will work once you have an ebuild for each needed module, or you can see which one is just way off... and edit to work. You do have the (perl-experimental) overlay? Good luck. Cheers, -- |\ /|| | ~ ~ | \/ ||---| `|` ? ||ichael | |iggins\^ / michael.higgins[at]evolone[dot]org
Re: [gentoo-user] lvm problem(s)
On Tuesday 16 June 2009 21:12:06 Maxim Wexler wrote: If google or menuconfig's help function doesn't give me an answer in 10 minutes, I boot off Ubuntu Netbook Remix on a usb stick (it's a 1G download), and note which modules it loads and settings it uses for stuff. Boot back into gentoo, configure and build accordingly ... sorted Does it provide more info than sysrescuecd-1.2? I don't know that product so I have to say I don't know :-) I suppose any full fledged desktop LiveCD distro is good enough for this, I prefer Ubuntu Remix as it's written for netbooks with all the odd peculiar things that put in the hardware. I also find in general that rescue systems are not very good at these desktopy things, and automagic SD card hotplugging is very much something driven by desktop usage. Try by all means, I just think YMMV. -- alan dot mckinnon at gmail dot com
[gentoo-user] Sysloggers
Hi, Does anyone have decent experience with sysloggers other than syslog-ng, and be willing to share experiences? I'm especially interested in some of the advanced features of syslog-ng Premium from Balabit.com (based on and extending their open source version): SSL-encrypted traffic over the network Disk-based buffering on the client Windows agents Timezone aware (which syslog doesn't do and syslog-ng only partially) Encrypted disk files Filter, parse and rewrite incoming logs (vital if you need the auth log over here and the password field stored over there, without jumping through hoops first) High scalability - 2000 Cisco devices and 200+ servers to start, distributed country wide -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] lvm problem(s)
On Tue, 16 Jun 2009 22:39:56 +0200, Alan McKinnon wrote: I also find in general that rescue systems are not very good at these desktopy things, and automagic SD card hotplugging is very much something driven by desktop usage. Try by all means, I just think YMMV. Except Maxim doesn't want automatic hotplugging, he wants to mount the LV from init scripts. -- Neil Bothwick But I thought YOU did the backups... signature.asc Description: PGP signature
[gentoo-user] Re: Keyboard handling weird... in 2.6.30?
On Fri, Jun 12, 2009 at 10:26 PM, Paul Hartmanpaul.hartman+gen...@gmail.com wrote: I don't know if it is from kernel 2.6.30 or if something else changed, but my keyboard does not behave as normal. It seems like the key up signal from the previous key is causing the repeat of the current key to get interrupted. This happens everywhere, not only in X, but in console as well. For example, try this: Type some text, like X and then hold left arrow. Your cursor will move to the left until you release the key. Now try to hold the right arrow after you've already been holding the left arrow. It will start to move to the right. Previously, it would continue moving to the right after you released the left arrow. Now, the keyboard repeat STOPS once you release the PREVIOUS key. So, in other words, the repeating of the right arrow is stopped when I release the left arrow... which causes the cursor to stop, and causes me to become aggravated. :P Has anyone else noticed this? I hope it's not a new feature :) Maybe later tonight I'll try to go back to 2.6.29 and see if this truly was the thing that brought on this change. Today's xorg update (and subsequent rebuilding of x11-driver/*) has fixed the problem. So it looks like it wasn't kernel-related at all, but a result of some xorg update in the 2 months since my previous reboot. :)
Re: [gentoo-user] lvm problem(s)FIXED
On 6/16/09, Neil Bothwick n...@digimed.co.uk wrote: On Tue, 16 Jun 2009 22:39:56 +0200, Alan McKinnon wrote: I also find in general that rescue systems are not very good at these desktopy things, and automagic SD card hotplugging is very much something driven by desktop usage. Try by all means, I just think YMMV. Except Maxim doesn't want automatic hotplugging, he wants to mount the LV from init scripts. In /etc/rc.conf I uncommented the line rc_hotplug=* on a hunch and it did the trick! mw
Re: [gentoo-user] lvm problem(s)NOT-FIXED
On 6/16/09, Neil Bothwick n...@digimed.co.uk wrote: On Tue, 16 Jun 2009 22:39:56 +0200, Alan McKinnon wrote: I also find in general that rescue systems are not very good at these desktopy things, and automagic SD card hotplugging is very much something driven by desktop usage. Try by all means, I just think YMMV. Except Maxim doesn't want automatic hotplugging, he wants to mount the LV from init scripts. Going cuckoo here @!#. I said it was fixed. I uncommented the rc_hotplug line in rc.conf and rebooted and it worked! The volumes were found and mounted. Fantasia! Now I rebooted again having tried to shut of dhcpcd, using rc-update del net.lo because I'd rather do that manually, but not only do the volumes not mount, dhcpcd is still running and taking its own sweet time finding out there is no net service available at this location unless it involves a phone line. Guess you're right, I don't want hotplugging. Another strangeness: under init.d the two links depscan.sh and runscript.sh came up as broken(flashing red) when the volumes WERE mounted and now that they ARE NOT mounted the links are intact. Defies logic :-(