Re: [gentoo-user] Thanks and bye for now
Dale wrote: Alan McKinnon wrote: On Saturday 27 December 2008 01:19:11 Mark Kirkwood wrote: Due to a new work situation where extensive use is made of Debian, I feel the need to have a Debian-based play server. This unfortunately means my trusty Gentoo box is to be sacrificed :-( Thanks for the help I have received over the last few years (think I joined in 2005). I have enjoyed being part of the Gentoo community, and hope to be back alter sometime. Good luck with the new job. But don't feel like you have to leave here just because you now use Debian more :-) This is one of the most knowledgeable and helpful user groups around, and apart from portage, baselayout and a few other odd things, pretty much every question you could ask here can be applicable everywhere else. Watch him slowly convert them over to Gentoo. o_O Then he'll be back and asking who has a server like theirs. lol Good luck dude!! LOL, thanks for the nice thoughts guys - much appreciated! Mark
[gentoo-user] Thanks and bye for now
Due to a new work situation where extensive use is made of Debian, I feel the need to have a Debian-based play server. This unfortunately means my trusty Gentoo box is to be sacrificed :-( Thanks for the help I have received over the last few years (think I joined in 2005). I have enjoyed being part of the Gentoo community, and hope to be back alter sometime. Best wishes Mark
Re: [gentoo-user] Hard to find netiquette, enculturation bug. (Was: Re: [gentoo-user] GNOME: Cant logout and Lock Screen is showing different background from GNOME screensaver)
Mark David Dumlao wrote: (snippage) Half the fun of Gentoo is knowing that you're kinda on your own. Hmm - I think the point of this community is that you are anything but on your own. The (many) other posters have been trying to help you realize that you are much more likely to discover this (i.e get timely help) if you take the time to work out how the community works. This is a very helpful community. However sometimes (rarely in my experience) noone knows how to help your specific problem. Often asking again, mentioning (despite it being obvious) that you have had no replies, can encourage someone to specially look at it. regards Mark
Re: [gentoo-user] Migrating hard drives
Dale wrote: D I thought gcp was the command, so I stand corrected on that part at least. I even thought maybe it was a GUI cp or something. I was curious as to how that would work. scratches head LOL - Joerg was just making a point that GNU variant of cp is a little different from the 'standard' UNIX (hmm - is there really such a thing?) version of cp. Err, on this list the point is a little oblique to say the least - since all Linux userland is GNU. regards Mark P.s : As a Freebsd desktop user myself, I can get what Joerg is saying, but for the majority of purely Linux users on this list, the point is probably lost.
Re: [gentoo-user] How to stop mouse motion
Jorge Peixoto de Morais Neto wrote: Hi. I have a crappy mouse made in China. One of its problems is that the mouse pointer sometimes moves even while the mouse is not moving. If the mouse not brand new, then it may be full of dust and dirt - assuming it has moving parts at all (i.e it's not a laser or led model) dismantling it and cleaning may help. Another solution would be to buy another mouse, but this would cost money and would not teach me the solution (this problem can manifest again in the future, with this or another computer). Unless the problem is dirt as above, I serious doubt you are going to learn anything (technical) - simply replacing the mouse will be the best solution. I guess the thing to learn is that some computer hardware is so poorly made that it is useless! Cheers Mark
Re: [gentoo-user] F'ing Idiots on IRC Re: A plea for calm
Neil Bothwick wrote: On Sat, 20 Sep 2008 16:55:21 +1200, Mark Kirkwood wrote: Winner on what grounds? From the tone of the vast majority of his posts it would seem to be he who posts in most vitriolic manner. Not commendable. I think you need to re-emerge life-humour/sarcasm LOL - I was meaning to agree with Davi Vidal's sentiments (yep - my sarcasm is installed ok!), but clearly didn't get that across clearly :-)
Re: [gentoo-user] F'ing Idiots on IRC Re: A plea for calm
Davi Vidal wrote: Em Wednesday 17 September 2008, David Leverton escreveu: 2008/9/17 Zhang Le [EMAIL PROTECTED]: Actually I still don't think --resume --skipfirst can do big harm to my system. After all, my system have been running well for several years. If you get so many build failures that you feel the need to systematically ignore them, then your system is not running well. OK, David. You're right and all the people on this list recognizes your (and Paludis) superiority. You _can_ stop now. :-) Here is your trophy for being the winner of this thread: http://www.tempetrophy.com/images/trophy.GIF Congratulations. Winner on what grounds? From the tone of the vast majority of his posts it would seem to be he who posts in most vitriolic manner. Not commendable. Mark
Re: [gentoo-user] emerge -avC cdrkit emerge -av cdrtools
Joerg Schilling wrote: Mark Kirkwood [EMAIL PROTECTED] wrote: Joerg, you have a certain opinion... and that is all it is! Other people, some of them Debian maintainers have a different one. This is a common situation, and it is allowed - in fact desirable in many situations. If said opinions are believed to effect someones livelihood, then there can be a court case where one set of opinions becomes the one that everyone within the jurisdiction of that court must (at least in public) agree to. That has *not* happened with respect your cdrtools license change, hence (many) differing opinions about it. You missunderstand things - sorry. Some issues are _so_ obvious that all lawyers have the same opinion without the need for a court case. The GPL may not be written in a way that allows it to be understood from the first attempt you read it, but if you carefully read it 20+x, you will finally see where things are obvious and whatintention is behind the GPL. (snippage) Sorry Joerg, but again - just your opinion! If it was so obvious there would not *be* numerous discussions keeping you busy about this! Note that I may actually agree with your opinion about the intent of the GPL, but that would be just *my* opinion! I believe that once you understand this, you will be able to disagree less antagonistically, and cease alienating folk (which I would like to see, as you have much of value to contribute - but currently your presentation of ideas does not help anyone to listen!). regards Mark -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] emerge -avC cdrkit emerge -av cdrtools
Daniel Iliev wrote: On Mon, 07 Jul 2008 11:16:33 +0200 [EMAIL PROTECTED] (Joerg Schilling) wrote: I am the author and I tell you that there is no problem. I am the only person who could sue you and I can't if I did tell you before that there is no problem. You may tell whatever you want but... You are not the ONLY author. There is other people's copyrighted work in cdrtools. Are you authorized to speak on their behalf? Exactly - Joerg, you have a certain opinion... and that is all it is! Other people, some of them Debian maintainers have a different one. This is a common situation, and it is allowed - in fact desirable in many situations. If said opinions are believed to effect someones livelihood, then there can be a court case where one set of opinions becomes the one that everyone within the jurisdiction of that court must (at least in public) agree to. That has *not* happened with respect your cdrtools license change, hence (many) differing opinions about it. regards Mark -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] emerge -avC cdrkit emerge -av cdrtools
Joerg Schilling wrote: Alan McKinnon [EMAIL PROTECTED] wrote: Easy. In the abstract: person X performed action Y with regard to cdrtools for reason Z. I felt it important to understand Z in order to fully understand Y. Do you know what defamation and slander is? If people did not believe in unproven and untrue claims, there was no problem. It therefore seems to be important to prevent underlying messages... Do you understand opinion? This is the heart of the matter. Your mention of lawyers does not change this - as legal opinion is merely an opinion that costs some money! (if your lawyer says !Z it does not stop another one saying Z)... regards Mark -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] CD ROM does not play audio CD's
b.n. wrote: Joerg Schilling ha scritto: b.n. [EMAIL PROTECTED] wrote: Joerg Schilling ha scritto: Stroller [EMAIL PROTECTED] wrote: Why do you continue to attack me? Do you really believe that this helps? Repeat with me, Joerg. No one is attacking me. Just because you did not read it to it's end does not meanthat he did not attack me. He write that I am pissing him off. That's no attack Joerg. That's a statement about himself, not you. If he said something like Joerg is a moron that would be a personal attack. No one is saying that (at least, not me, nor him). He is simply stating, instead, that your behaviour makes him feel nervous, which is something different from attack. Please, please, please: stop *always* assuming bad faith from anyone that is not immediately agreeing with you. We asked this before and we ask this again, and we will ask it until it happens. Please. That's the *main* block to be surpassed if we want this to be a reasonable thread (The other is your admittedly elusive attitude to release fully details on what happened, both on your webpages and this thread -for example, we still have *no* link about the supposed attacks you received *before* the relicensing, despite repeated requests for that). m. I think it is in here: http://cdrecord.berlios.de/private/linux-dist.html specifically (quote): In fact, this happened around y2004. I received a patch that was intended to add UTF-8 support to mkisofs. Unfortunately, the code quality of this patch was lousy. It tried to incorrectly initialize a structure and it handled only a few obvious cases. Many important issues with UTF-8 support have been completely ignored. As a result, I rejected this patch because I do care about code quality (I still need to be able to maintain the code in a few years). The people in the Linux distribution could have fixed the problems and created a useful solution but they did not do this. Now these people have been in trouble and needed an excuse for their behavior. They created the fairy tale that there is a license problem in cdrtools. They created a network of cooperation and supported some people which created a fork of cdrtools based on the fairy tale. (end quote) regards Mark -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] CD ROM does not play audio CD's
John covici wrote: Can you recomend a console player with some features like rewind, fast forward, pause and title lookup, etc -- I don't mind changing if I need to change. Not a console player, but totem plays cds and movies with minimum of fuss, and if you have the complete Gnome install then it is just there. Cheers Mark -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] CD ROM does not play audio CD's
I wrote: Not a console player, but totem plays cds and movies with minimum of fuss, and if you have the complete Gnome install then it is just there. Actually, I am completely mistaken...it's sound-juicer that is playing the cd I'm listening to right now (I usually listen to streaming mp3s that *are* played by totem)... sorry for the confusion! best wishes Mark -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] CD ROM does not play audio CD's
Joerg Schilling wrote: sound-juicer has several problems: - it depends on gstreamer/libcdio which is not a logal code combination. - It uses libmusicbrainz to extract the TOC and gets wrong TOC information for CD-extra, then tries to play data tracks. No doubt true (as you clearly know about this stuff), however: - Irrelevant to me as it plays the cds as required (thats *all* it need to do). - An enhanced cd with data tracks etc is not actually a cd according the Phillip spec... While it may be that your player will be superior when it comes out, I'm happy listening to music now... Best wishes Mark -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] CD ROM does not play audio CD's
Joerg Schilling wrote: Mark Kirkwood [EMAIL PROTECTED] wrote: - An enhanced cd with data tracks etc is not actually a cd according the Phillip spec... Well, it is on the Philips specs and is called CD+ or CDextra. Thanks Joerg - you are correct, I was not aware of the addition to the spec that allowed this (Blue Book vs Red Book spec I think?). Also I suspect I'd confused this with the copy protection additions and other stuff that really does break (either) spec... Cheers Mark -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Re: Ati or Nvida
Grant Edwards wrote: On 2008-06-17, Nicolas Sebrecht [EMAIL PROTECTED] wrote: But now, it's not the same context. ATI specs are known and open source drivers coming. I'll believe it when I see it. It's definitely different of the past few years. I doubt it. Well, looks like there is good progress on the radeonhd and radeon drivers in Xorg [1] - so I think there is reason to be positive. I suspect that the significant changing fact is AMD now owning ATI... before then I'd be inclined to agree with you! Cheers Mark [1] see urls in pk's post. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Is the mailing list working?
Alan McKinnon wrote: Personally, I just use a gmail account for all my mailing list needs. I got fed up having to change my subscribed address every so often so started using my gmail account instead. You always know exactly how it's going to want authentication, you can read mail in a browser if you want, or pop it if you want, and best of all: NO SPAM! Yeah, now that you can do pop or imap, gmail is pretty convenient. With respect to spam - I've got 993 messages in my gmail spam folder... which I think is quite a lot, are you not being deluged in this way? Cheers Mark -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Very old machine blocking/update questions
The machine I'm typing this on has 2 of these (Barracuda 7200.7's)- they are absolutely silent...so that machine's one might be ready to throw its bearings! Cheers Mark Alan McKinnon wrote: Today I worked on a machine with a 40G 7200rpm Barracuda (the office sounded like it had a Boeing in it taking off!) and I thought they were old. Now it looks like a young spring chicken in comparison... -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] local caching DNS?
I just use bind - setup to lookup from my ISP's nameservers and cache only. The main reason for this was my ISP's ones are very slow (sometime 0.5 s to resolve!) - turning on the cache made an enormous difference to the perceived performance. Cheers Mark Ralf Stephan wrote: Hello, I'm fed up with waiting for ever the same name requests from my browser (and open servers don't cut it either): which DNS cache or caching DNS for simple local installation would you recommend? Regards, ralf -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Ghosting a Ext3 partition
Jonathan Haws wrote: On Sunday March 2 2008 16:43, Mark Kirkwood wrote: Right - what you intend the backup to protect against drives all this sort of stuff. The thing that is driving my backups is a hard disk failure. Hence I was using Ghost instead of something else so I can backup the entire drive and not just a single partition. That enables the quickest recovery of the entire system in the event of a failure. I have looked everywhere I can think of to find a tool that is similar to Ghost that will backup the entire hard drive to an image that I can put to DVD, without including free blocks on the disk (I don't want an 80GB image of an 80GB drive when only 5GB are in use at the time). Does anyone know of a tool capable of this that runs on Linux and has FULL Linux fs support? I actually think that 'dump' will do what you want... provided you can choose a time when the machine is not busy (should be easy if it's your desktop!). You have to do 1 dump per filesystem, but many desktop installations only consist of / (+ maybe /boot) anyway. Also dump of a 80Gb system that only uses 5Gb will produce a 5Gb image Also it can do incremental an cumulative backups. Some friends of mine use Amanda to backup their (Redhat/Centos) servers, that may worth looking at too. Cheers Mark -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Ghosting a Ext3 partition
Rasmus Andersen wrote: If you do backup live filesystems/data then dump is on par with dd; both read from the underlying device and might bypass the kernel's page cache. Ie., there might be unwritten data cached thats not on disk yet. Tar/rdiff-backup/etc reads through the pagecache and avoids this problem. The dump people talk a bit about this themselves on http://dump.sourceforge.net/isdumpdeprecated.html Note I dont want to dis dump, backing up live filesystems is just tricky (depending on your consistency requirements :) and dump adds another level to that. Understood - I have seen that article too. I must say, I've mainly had experience with 'dump' on Freebsd and 'xfsdump' on Linux, and never had restore issues with *either* of these. Now I'm not sure whether these are supposed to be better than 'dump' on Linux aimed at ext2|3 filesystems - certainly Freebsd's 'dump' has an option to tell it that it is dumping a 'live' filesystem, and the man pages for xfsrestore have notes concerning what happens when restoring an (xfs)dump from a 'live' filesystem - so they may well be! On the other hand I've certainly routinely seen cases of people using dd (rsync, cpio, tar etc) and coming to grief at restore time. I am reluctant to suggest that folks use xfs and hence get access to xfsdump, as one of the nice things about Linux is the choice of a variety of filesystems - but it is pretty important to get able to backup of (for instance ) / ... and you usually don't have much option other than doing it live! regards Mark -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Ghosting a Ext3 partition
Rasmus Andersen wrote: FreeBSD's softupdates should make filesystem state always consistent, metadatawise. Or so I think I remember, its been a while. That might aleviate some of the problems noted on the dump page I referenced. Freebsd's dump -L (live option) uses ufs2 snapshot capability to ensure consistency, so its dump is reasonably smart. (FWIW / on Freebsd usually does not have softupdates specified, so usually won't help here). So yeah, it looks like some care is needed with plain old 'dump' on Linux - which is a bit of a pest! I use rdiff-backup for my backups but then again I have low requirements wrt. consistency outside file-level. I have considered LVM snapshots since I use LVM already but havent bothered so far. Right - what you intend the backup to protect against drives all this sort of stuff. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Ghosting a Ext3 partition
Dan Farrell wrote: On Sat, 1 Mar 2008 02:04:31 -0500 Ritesh Kumar [EMAIL PROTECTED] wrote: On Fri, Feb 29, 2008 at 8:23 PM, maxim wexler [EMAIL PROTECTED] wrote: Doesn't Ghost work with Ext3? What can I do to recover my system without reinstalling from scratch? I've had success with #dd if=partition-to-be-copied of=partition-to-be-copied-to bs=varies Is there a reason why you backup the filesystem along with the data on it? I do only minor backups... but even for anything major I would use a tool like tar or rsync and drop the filesystem metadata entirely. Also directly reading from the block device is hazardous unless you umount (or mount as readonly) the filesystem in question. This is because, the filesystem may not keep all the data synced to the disk at all points in time. not that i'd recommend it for production systems, but you could mount with the 'sync' option to help with this. Even mounting sync is not safe, if you want to use dd for a backup then boot from the live cd to backup everything. Otherwise using these methods is risking a backup that once restored, does not work - not good for the blood pressure... If you want to back the system up while it is running (in particular /), then you need to use a tool that understands how to create a backup image that is valid (i.e will boot) - something like xfsdump, dumpe2fs etc or smart tar/dump based tools like Amanda. I would recommend using one of the dump tools for /boot, /, /usr, /var *at least*. I've had the misfortune of helping many people restore their broken Linux and Freebsd systems... and the only backups I've never had issues with have been the *dump variety. They are a little unfriendly at first, but they work. regards Mark -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Ghosting a Ext3 partition
I wrote: If you want to back the system up while it is running (in particular /), then you need to use a tool that understands how to create a backup image that is valid (i.e will boot) - something like xfsdump, *dumpe2fs* etc or smart tar/dump based tools like Amanda. Hmm - dunno what I was thinking there - 'dumpe2fs' is completely wrong, should have written 'dump', sorry! regards Mark -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Ghosting a Ext3 partition
Jonathan Haws wrote: I regularly make backups of my system using Norton Ghost 2003 to DVD. However, my laptop crashed and I tried to restore my backup that I had made and it restores just find but when I try and boot it tells me that my Ext3 filesystem is corrupt and had errors and I would have to run fsck manually. When I ran fsck it told be that about every inode was invalid and that Group X had all sorts of other problems (I can't remember every little detail). Doesn't Ghost work with Ext3? What can I do to recover my system without reinstalling from scratch? Hmm - I would have thought it would... but for future reference I would recommend using a more Linux friendly (and reliable) tool like dumpe2fs ... Mark -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Looking for PCI-X external SATA controller
Volker Armin Hemmann wrote: PCI = 133mb/sec theoretical. 100mb with a good chipset (ie not nforce). PCIE = 250mb/sec theoretical I think 64-bit 66Mhz PCI will actually do 526Mb/s theoretical maximum ... I can achieve 220Mb/s real I/O bandwidth (4 disk array) on my gear here. (old Supermicro P4TDER). Cheers Mark -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Looking for PCI-X external SATA controller
I wrote: I think 64-bit 66Mhz PCI will actually do 526Mb/s theoretical maximum ... I can achieve 220Mb/s real I/O bandwidth (4 disk array) on my gear here. (old Supermicro P4TDER). Actually, doing the calculation properly gets 508 MB/s (532 MB/s is often quoted, but that is using 1000 instead of 1024 bytes to the Mbyte). For the interested: 32-bit 33.33 Mhz PCI bus can transfer 32*33.33*100/(8*1024*1024) = 127 MB/s 32-bit 66.66 MHz PCI bus can transfer 32*66.66*100/(8*1024*1024) = 254 MB/s 64-bit 66.66 MHz PCI bus can transfer (skip obvious calc now) 508 MB/s Clearly PCI-X with its 100, 133.33 and 266.66 MHz variants will get you 763, 1017 and 2034 MB/s. Cheers Mark P.S : also typo'ed the machine - is a P3TDER... -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Gcc problem
James wrote: Hello, Every seen this error? # gcc-config -l * gcc-config: Active gcc profile is invalid! [1] i586-pc-linux-gnu-4.1.2 the system will not compile anything? Ideas on fixing? James Try: $ gcc-config 1 This will tell the system that 4.1.2 is the guy to use (I guess your update removed an older version that was the default?) -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Lost /sbin/rc
Alex Schuster wrote: Of course I did that. emerge --depclean showed me (along many other things) two installed baselayouts, one to remove, the current one to keep. And most of the things were kept, like man pages, but some essential files were not. Looking at emerge.log, I see that I had the old 1.7.8-r1 in parallel for quite a while. For about three weeks, I had masked 1.12.10-r5, because I wanted to stay with 1.12.9-r2 until I had physical access to the system. I removed the mask, upgraded world, and did the depclean then. It might be worth trying revdep-rebuild and seeing if it brings any of the missing stuff back... (assuming you are able to boot the machine somehow - install cd + chroot etc). Cheers Mark -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Lost /sbin/rc
Alex Schuster wrote: Um, system is up and running - as I wrote, I had a backup and just copied the missing files back, so the system came up again. I re-emerged baselayout then to make sure all is back in place. I just wondered how this could have gone wrong and thought I'd post what happened. Ah - right! That'll teach me not to reply to a thread before reading the original message properly :-) -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Re: Daniel Robbins' come back ?
James wrote: In my mind I'm an accomplished person. In her mind I'm just another stupid EE, Hey James - Interesting post - this eludes me tho, what is an EE? Cheers Mark P.s: a beer should cure all women problems -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Mounting Question...
Benjamen R. Meyer wrote: I set up a server system a little while ago, and in performing updates to portage it ran out of disk space as I didn't quite allow enough space on the root partition (3.8 GB). As a result, I took a partition that I had cleaned up (this was from a rebuild of a system that was a different distro in the past) and moved over /usr/portage to it. It's a 47 GB partition (as reported by df -h) and the system works fine. I do realize that if the mount command got screwed up, I'd probably have issues recovering the system, but that is that system. I am now thinking of converting my desktop over to Gentoo as well, and was wondering whether what I did above on the server was wise or not. I will be using the server as the portage provider for my desktop too. Otherwise, what is the recommended space to have available for the portage tree in /usr/portage so I can have root as an appropriately sized partition? I'd recommend having a read of: http://www.freebsd-howto.com/HOWTO/Filesystem-Layout-HOWTO Now, although its a Freebsd resource, the ideas apply equally well to Linux (or UNIX for that matter - though you can skip where it discusses Freebsd partition and slice naming). In particular it discusses why separating /, /usr, /var, /tmp, /home is well worth doing - even tho it wasts a bit of space! I used build systems with / including /usr and /var but these days I do not make these part of / (for reasons covered in the article). The downside is you end up with a lot of partitions and filesystems to figure out how to size - but you can use LVM make it a bit more forgiving if you need to resize them. Cheers Mark -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] FS for laptop
Mick wrote: Hmm, this article suggests that XFS is the best thing since sliced bread . . . especially for files greater than 500MB. Not sure I've got many of these. Has anyone got a particularly good experience with XFS vs e.g. Reiserfs? What about JFS? I have used xfs on 2 Gentoo servers for the last year of so - several power outages, no problems: $ df -m Filesystem 1M-blocks Used Available Use% Mounted on /dev/md/2 52994 435 18% / /dev/md/0 12916 114 13% /boot /dev/md/3 3911 2060 1852 53% /tmp /dev/md/4 3911 473 3439 13% /var /dev/md/519537 5710 13828 30% /usr /dev/md/619537 5852 13686 30% /home /dev/md/7 104841 41208 63634 40% /data0 Previous to that I used xfs on Mandake... before 'seeing the light' and moving to Gentoo... :-) . Conversly my experience with reiserfs has been consistent data corruption... so I avoid using it (mind you it's probably fine *now*, this was a few years ago). Cheers Mark -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] FS for laptop
I wrote: I have used xfs on 2 Gentoo servers for the last year of so - several power outages, no problems: $ df -m Doh! meant to type 'mount' not 'df': $ mount /dev/md/2 on / type xfs (rw,noatime) /dev/md/0 on /boot type xfs (rw,noatime) /dev/md/3 on /tmp type xfs (rw,noatime) /dev/md/4 on /var type xfs (rw,noatime) /dev/md/5 on /usr type xfs (rw,noatime) /dev/md/6 on /home type xfs (rw,noatime) /dev/md/7 on /data0 type xfs (rw,noatime) -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Audacious Madness???
Jerry McBride wrote: Anyone here noticed how badly Audacious 1.4.2 is? I get random crashes and a host of other problems... something never experienced with XMMS. I traded a few emails over Audacious and it seems as though it sports a new (improved) thread model. Once I humbly suggested the new model has some warts... the email trade stopped. How do you report problems to the authors, if they won't listen? Not the best is it? I had quite a collection of fiddly problems with Audacious a while back after XMMS was retired from FreeBSD[1], and switched to using (g)mplayer instead. It is not as flexible as XMMS... but its sound quality is better I think! [1] I use Gentoo on a server, FreeBSD as workstation -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Gentoo on the server side
Rafael Barrera Oro wrote: The issue is, as you should already must have guessed, if its a good idea to deploy Gentoo in a server. For the first time, i have the opportunity to install Gentoo on a properly set (almost pimped out) server and i wanted to be sure i know what i am doing before getting on with it. Where i work at, the tradition is to go with FreeBSD (which is, without a doubt, very stable) but since our FreeBSD guru parted i've been juggling the idea of starting to use Gentoo on servers instead of using it only on desktops. I have always found very useful stuff in www.gentoo.org http://www.gentoo.org, however, i have not found a specific server side faq. Does anyone know where i could get such documentation? Any pointers, opinions, faqs, insights, etc will be greatly appreciated I use 2 Gentoo servers for my work activities (I need at least 2 Linux deploy hosts for the database cluster product I participate in building). Since using Gentoo early in 2006, I haven't had any stability issues, and I'm fairly aggressive with updates - every month. Cheers Mark P.s: Funny - I use FreeBSD as my workstation os... -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] VERY OFF TOPIC - change sparse data to daily data
I'd use something like perl[1] to read (2 lines initially) and then each line of the original file, generate the intermediate lines by comparing each line to the one before... printing the new generated lines to stdout (or a specified file if desired). Cheers Mark [1], perl, php, python, awk etc ... probably a bit tricky for bash (tho there's probably someone out there who would try it...) Mark Knecht wrote: Hi, I know this is EXTREMELY off topic but I don't know of another better list to ask on. I'm hoping maybe there is a Linux command line method for doing this. Thanks in advance. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: about the 2007.1
Neil Bothwick wrote: All that would do is increase the number of disaffected users. You need to read the documentation and use the command line to use Gentoo effectively, hiding that behind a pretty pointy-clicky installer until the system is installed and then hitting the user with the truth can leave them feeling conned. What is wrong with being honest about the situation and telling people up front if you are not prepared for some reading and typing, Gentoo is not for you. The Gentoo Installer Project has some good goals, but attracting people for whom Gentoo is not the right choice should not be one of them. +1 My 2c - the live cd is great - providing a nice environment for installation, and what sort of installation you may ask?... well a character based installation of course - following the fine instructions in the handbook! I think we need to realize that Gentoo is a 'mildly expert required' type of distribution - and thats a good thing! For those who want graphical-point-click there is Ubuntu et al (I used Yellow Dog for a while for this very reason when starting out with Linux). regards Mark -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: Remerge the system with gcc-4.1?
Daevid Vincent wrote: I've held off on doing this gcc update as I'm on an old P4 2Ghz notebook with 1G RAM (Dell i8200). Things are generally working okay (as well as any linux/gentoo system can be I guess). (Chuckles) you have a relatively modern system then :-) ... I run Gentoo on two of these each has 2xPIII 1.26 Ghz: http://www.supermicro.com/products/motherboard/P3/HE-SL/P3TDER.cfm Cheers Mark P.s : If you do a lot of development work, gcc 4.1 is a much better compiler than gcc 3.4.6... -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] LVM : pros cons
Alan McKinnon wrote: On Sunday 07 October 2007, Florian Philipp wrote: - You loose bit performance, but not much, you won't feel it without benchmarks. I very much doubt this. LVM is one extra layer between the filesystem and the physical disk and it basically consists of a mapping between the extents in the VG and exactly where they are on the volume. This is nothing more than an elementary lookup table; on a 500G VG using 32M extents this consists of precisely 15,625 entries, it can all be stored in RAM and can consist of one pointer plus precisely one calculation to determine the offset from the start of the table where the desired extent lies. Considering that RAM runs at many orders of magnitude faster than the disk you are trying to get the data off of, the extra fraction of a % overhead is not even worth trying to measure, let alone benchmark it. Moving the heads just once more because of file fragmentation probably takes longer than the entire LVM lookup A year or two ago it was possible to measure a performance hit - for instance we had some Supermicro PCI-X based machines with 3Ware RAID cards where we could get (quoting from memory here as it was a while ago) uncached sequential scan rates of about 1Gb/s without LVM and somewhere in the region of 800Mb/s with it. However that was then, and this is now - LVM and hardware have no doubt improved , so it would be interesting to do the test again (if we do I'll let you know). I would think that for the OP's use case (i.e 1 disk on a desktop box) there will be no measurable difference at all. Cheers Mark -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: Backups
Francesco Talamona wrote: First of all, thanks for sharing. I used to think xfs was overkill for /boot, but the procedure described is quite straightforward. There are two things I don't understand: 1) why do you delete xfsdump and xfsrestore in /xfsrestore/usr/bin/ just extracted to link them to /xfsrestore/sbin 2) the use of df.out isn't clear to me, isn't the dump file name enough to know what is in there? 1) The symlinks are broken if the package is extracted anywhere other than /. I recreated 'em to point where they should (I recall they were needed, as some of the ancillary programs break if they are missing or broken). 2) The df.out is so you know that (say) usr.0.dmp should be restored to a device called (say) /dev/sda6. This will avoid the need to edit restored /etc/fstab (or the need to boot into single user mode and fix it). the other point is if you are reusing the same disk setup (assuming a software issue is requiring the restore), then checking df.out ensures that you recover the system using the same partitions for the filesystems as you had pre-restore. Cheers Mark P.s: You are quite correct that xfs is overkill for /boot. However I just found it easier to xfs everything (otherwise I'd have to use different dump programs depending on what I was backing up etc... ). To me this is more important than the fact that it wastes disk space a bit (my /boot uses a 128M partition but only gets 93M to actually use...and it uses 11M of that! - but disks are quite big now...) -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: Backups
Francesco Talamona wrote: Yes, please. I'm not completely new to dump, but I'd like to read about a complete dump-backup solution. Ciao Francesco Well - its not complete by any stretch of the imagination... but the attached (hopefully not striped off by the mailing list software) is a very brief discussion of how to do a minimal backup/restore using xfsdump. Note that user data is *not* explicitly covered - even tho there is no reason it cannot be backed up this way too! In addition it does not cover incremental or cumulative backup variations - again no reason why this cannot be used, but for a quick and simple *system* restore, I find using only full (i.e level 0) dumps helps avoid admin (i.e me making) mistakes. It's worth noting that the essential logic is simply: - dump system filesystems - save xfsrestore binaries as a package - boot livecd - install xfsrestore binaries somewhere - restore dumps Backup and Restore System = This is a quick guide for backing up and restoring xfs dilesystems using xfsdump/xfsrestore. It should be relatively simple to apply the ideas for other filesystems dump tools (e.g. dumpe2fs for ext2/3). Backup -- 1. Dump filesystems: $ cd /data0/backup $ xfsdump -L boot-0 -M backup1 -l0 -f boot-0.dmp /boot $ xfsdump -L root-0 -M backup1 -l0 -f .root.0.dmp / $ xfsdump -L var-0 -M backup1 -l0 -f var-0.dmp /var $ xfsdump -L usr-0 -M backup1 -l0 -f usr-0.dmp /usr 2. Package dump program $ quickpkg xfsdump $ cp /usr/portage/packages/All/xfsdump-2.2.45.tbz2 /data0/backup 3. Record filesystem layout $ df -m df.out 4. Save the dumps and packages Copy to DVD or another machine... Restore --- 1. Boot from the live cd We are assuming that we are completely rebuilding the system, or are making another one (initially) identical to the backed-up one. 2. Partition drives and create empty filesystems etc if required $ mkfs.xfs /dev/sda1 $ mkswap /dev/sda2 $ mkfs.xfs /dev/sda3 $ mkfs.xfs /dev/sda4 $ mkfs.xfs /dev/sda6 3. Retrieve backup dump and package files from DVD or other machine May require 2 DVDROMS (or 1 DVDROM and 1 CDROM) - one for live cd, one for backup data. 4. Install dump program if it is not already on the live cd Xfsdump is *not* on the live cd. You need to choose a partition you are not using yet and create a filesystem on it, install xfsrestore there and amend the system path to see it. (or add another tmpfs filesystem). $ mkfs.xfs /dev/sda9 $ mkdir /xfsrestore $ mount /dev/sda9 /xfsrestore $ cd /xfsrestore $ tar -jxvf xfsdump-2.2.45.tbz2 $ cd usr/bin $ rm xfsdump xfsrestore $ ln -s /xfsrestore/sbin/xfsdump xfsdump $ ln -s /xfsrestore/sbin/xfsrestore xfsrestore $ export PATH=$PATH:/xfsrestore/sbin:/xfsrestore/usr/bin 5. Restore dumps Use the contents of df.out to figure out which dump should be restored on which device! then temporily mount each filesystem and restore it. $ mount /dev/sda3 /mnt2 $ xfsrestore -f /mnt/cdrom/root.0.dump /mnt2 Now root is restored we can mount the other empty filesystems and restore them. $ mount /dev/sda1 /mnt2/boot $ xfsrestore -f /mnt/cdrom/boot.0.dump /mnt2/boot $ mount /dev/sda4 /mnt2/var $ xfsrestore -f /mnt/cdrom/var.0.dump /mnt2/var $ mount /dev/sda6 /mnt2/usr $ xfsrestore -f /mnt/cdrom/usr.0.dump /mnt2/usr 6. Chroot, (re)install bootloader and reboot 7. Notes Obviously you can backup user data this may too (i.e /home), altho other methods might be simpler (mind you most dump tools let you do incremental and cumulative relatively simply).
Re: [gentoo-user] Backups
Dan Farrell wrote: On Sat, 29 Sep 2007 15:26:07 -0700 Grant [EMAIL PROTECTED] wrote: Do you back up anything other than /etc and /home on a standard system? - Grant Don't forget to back up stuff that can help you rebuild the system quickly. Like /proc/config.gz, or better yet just the kernel and modules you need so you don't have to rebuild at all or generate the sources. Another thing that I think is highly valuable to back up, and very often ignored, is the output of 'fdisk -l'. If your drive dies it's very nice to have a reminder of how it was formatted. In order to be able to restore a system (relatively) quickly, I use the appropriate fs dump tool (xfsdump in my case) to make level 0 backups of /boot, / , /usr, /var after a major configuration change (e.g emerge --sync;emerge -u world), along with output from df -m. This does not take too long (/usr does take a while), but really speeds up a restore (I have sufficient packages installed to make an emerge world take 10 hours). For a modern server with minimal software actually installed, the time aspect for this method may not be too different from an install from scratch, but it also guarantees that the restored system is the same as it was before (modulo last backup obviously), which can save a lot of time! Cheers Mark P.s : Actually rebuilding from these saved dumps requires a little thought - I'll post the steps if anyone new to dumps is interested in using this method for themselves. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] genkernel vs kernel manual compilation
Personally, I find genkernel really nice (and yes I've got a raided setup)... but even if I didn't I'd still use it. As for those folks that don't like it, well ... it's optional! I guess if I were building kernels for Gentoo and (say) Centos systems, then I might want to use a method that works for all distros... 2c Mark Volker Armin Hemmann wrote: On Freitag, 31. August 2007, Norberto Bensa wrote: Quoting Volker Armin Hemmann [EMAIL PROTECTED]: and no problems - and one app less that does strange things - or needs to get installed. again... you seem to not know what an initrd is good for besides people using raid? if you don't have a strange setup (like raid), an initrd is good for nothing. oh, and you don't even need genkernel to have an initrd (gasp!). -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Trying to mount a bad disk
sean wrote: I have a Windows XP driver here that belongs to a friend that just crashed. I am trying to figure out if there is some way I can force the drive to mount on my system so that I can get some data off it for her. Not having much luck, would anyone have any tips as to how I might be able to make this happen? What happened when you tried to mount it (and is it formatted NTFS or FATXX)? If the disk has real errors (i.e bad sectors as opposed to software/windows problems), then app-forensics/autopsy might get the important user data off. Cheers Mark -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Managing my kernel
Dan Farrell wrote: On Tue, 15 May 2007 12:33:22 +1200 Mark Kirkwood [EMAIL PROTECTED] wrote: A friend of mine does this for his production servers: 1/ builds the known needed things into the kernel 2/ disables loadable modules completely This is probably not suitable for some use cases...(new raid card ...ooops... redo kernel), but if you are deploying to known hardware it is ok. Cheers Mark But Why? What's the benefit? If the code isn't being used, it isn't going to slow down the kernel is it? And the size of the kernel is irrelevant in my opinion -- the kernel is far from the predominant memory consumer on even a slow system. I think it's more likely that you'll have a problem with your kernel configuration than your kernel performance, and modules are the only way to add kernel support without rebooting. Furthermore, kernel modules have their own benefits -- increased run-time configuration, for example (as opposed to a boot parameter). No, I agree with volker: everything needed for booting: in kernel everything needed all the time: in kernel everything that needs a good kicking once in a while (usb, sound): modules everything that needs parameters: modules everything that is not needed all the time: module that way, you can also build modules on-the-fly to suit your needs and then compile them into the kernel, if desired, the next time you rebuild it. FWIW for my own Gentoo systems I've just used genkernel, as its so convenient - so I've probably ended up effectively doing volker's recipe too Cheers Mark -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Managing my kernel
Grant wrote: I've been puzzling a bit lately over the best way to manage my kernel. I've always tried to keep it as minimal as possible, and I only enable things as I need them. I also don't build modules from the kernel at all. Is there a better way to go? I'm starting to think it might be better to build every single module and let the system load them as it needs A friend of mine does this for his production servers: 1/ builds the known needed things into the kernel 2/ disables loadable modules completely This is probably not suitable for some use cases...(new raid card ...ooops... redo kernel), but if you are deploying to known hardware it is ok. Cheers Mark -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Problems starting X
Johannes Skov Frandsen wrote: Hi This is my first attempt on installing X so bare with me if my question is somewhat trivial. So...I emerge gnome... tried to start x and got the following error message: [EMAIL PROTECTED] ~ $ startx xauth: creating new authority file /home/joe/.serverauth.3857 X Window System Version 7.2.0 Release Date: 22 January 2007 X Protocol Version 11, Revision 0, Release 7.2 Build Operating System: Linux 2.6.20-gentoo-r7 i686 Current Operating System: Linux localhost 2.6.20-gentoo-r7 #3 SMP Tue May 8 19:5 0:52 GMT 2007 i686 Build Date: 05 May 2007 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Tue May 8 20:33:09 2007 (EE) Unable to locate/open config file New driver is ati (==) Using default built-in configuration (55 lines) (EE) Failed to load module ati (module does not exist, 0) (EE) Failed to load module fbdev (module does not exist, 0) (EE) Failed to load module vesa (module does not exist, 0) (EE) Failed to load module vga (module does not exist, 0) (EE) Failed to load module mouse (module does not exist, 0) (EE) Failed to load module kbd (module does not exist, 0) (EE) No drivers available. Fatal server error: no screens found XIO: fatal IO error 104 (Connection reset by peer) on X server :0.0 after 0 requests (0 known processed) with 0 events remaining. Couldnt get a file descriptor referring to the console [EMAIL PROTECTED] ~ $ Johannes, it might be worth taking a look at the following: Info about setting up Xorg's open or ATI closed source drivers: http://www.gentoo.org/doc/en/ati-faq.xml Setting up ATI closed source drivers: http://gentoo-wiki.com/HOWTO_ATI_Drivers Also, what model is your ATI card? Cheers Mark -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Problem install Gentoo on New Laptop
Colleen Beamer wrote: Following all the steps in the Handbook, I got no error messages. When I get to the part where I install the bootloader, it installs okay. I have 4 partitions sda1 is boot, sda2 is swap sda3 is / and sda4 is home. My /boot/grub/device.map file shows as: (hd0) /dev/sda. When I boot to the hard drive, the boot process gets to the point where it says: Determining root device ... Then it says: /dev/sda3 is not a valid root device Maybe post your grub.conf so we can see if there is a gotcha there somewhere, but I'd guess that your kernel has not got support for your SATA chipset. What does 'lscpi' or 'scanpci' say from the livecd? Cheers Mark -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] OT im more just curious
[EMAIL PROTECTED] wrote: What is the average age of the gentoo user here? Sent via BlackBerry® from Vodafone �é⋬z¸žÚ(¢¸j)bž bst== I'm 44, started using UNIX in 1990 (Dynix and SunOS). Discovered Linux in 1997 or 1998 (Redhat 5.1). Moved to using FreeBSD as well as Linux in 2001 or so. Only started with Gentoo in 2006 (moved from Redhat/Fedora after getting fed up with 'rpm hell'). Mark -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: Why are gentoo people so in love with colorizedoutput?!?
[EMAIL PROTECTED] wrote: I have found that people are fine, it is groups of people who cause the problems in the world. This is a interesting observation that I concur with in general - unfortunately you own attitude displayed in your previous messages pretty much provides a counter example!...(blast - hate it when nice theories get invalidated). Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] TERM=Eterm unknown now?
Uwe Klosa wrote: You have to run emerge -av1 ncurses. This fixes the problem. Cheers Uwe Mark Kirkwood wrote: I've just run into this after an emerge: Using Eterm 0.9.4 from a remote host to my Gentoo box: $ clear 'Eterm': unknown terminal type. I can work around this by amending .bash_profile to set TERM to 'xterm' if it is currently 'Eterm' - but I'm curious as to why or what has removed 'Eterm' from the termcap database (or similar). Thanks - performed the emerge and indeed it is fixed. Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] lilo and SW-RAID-boot-partition
Stefan G. Weichinger wrote: Greets, gentoo-users. I have a lilo-related problem and can't find a solution on the net, so I ask you for ideas. This box should boot from SW-RAID-1, and it has also already done that. After editing a label inside lilo.conf I issued lilo and got this: # /etc/lilo.conf menu-scheme=Wb:kw:Wb:Wb lba32 boot=/dev/md1 raid-extra-boot=/dev/hda,/dev/hdc change-rules reset read-only default=Gentoo timeout=5 #image=/boot/kernel-genkernel-x86-2.6.18-gentoo-r6 #label=2.6.18-r6 #vga=0x314 #initrd=/boot/initramfs-genkernel-x86-2.6.18-gentoo-r6 image=/boot/kernel-genkernel-x86-2.6.19-gentoo-r5 label=Gentoo vga=0x314 initrd=/boot/initramfs-genkernel-x86-2.6.19-gentoo-r5 # cat /etc/fstab /dev/md1/boot ext2noauto,noatime 1 2 /dev/md3/ ext3noatime 0 1 /dev/md2noneswapsw 0 0 /dev/md4/mnt/data ext3noatime 0 1 /dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0 proc/proc procdefaults0 0 shm /dev/shmtmpfs nodev,nosuid,noexec 0 0 I think you might need a root=/dev/md3 inside the specification for 'Gentoo': image=/boot/kernel-genkernel-x86-2.6.19-gentoo-r5 label=Gentoo vga=0x314 initrd=/boot/initramfs-genkernel-x86-2.6.19-gentoo-r5 root=/dev/md3 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Serial modem and permissions problem.
Dale wrote: Here is my question. What are the permissions supposed to be? I have it set to root:users right now. It was set to root:uucp which was not working. If someone has a modem and uses dial-up, can you reply with the output of ls -al /dev/ttyS* if you would. If anybody else knows the answer, that would be cool too. This machine *has* been used for dial-up (but is connected to DSL router now) $ ls -al /dev/ttyS* crw-rw 1 root tty 4, 64 Mar 3 19:42 /dev/ttyS0 crw-rw 1 root tty 4, 65 Mar 3 19:42 /dev/ttyS1 crw-rw 1 root tty 4, 66 Mar 3 19:42 /dev/ttyS2 crw-rw 1 root tty 4, 67 Mar 3 19:42 /dev/ttyS3 Oh, It had been a couple months since I rebooted, anybody know when this happened? How do you get udev to update after changing the rules, other than rebooting that is. :/ No sure on that (maybe look at udevcontrol)... Here's the relevant bit of my 50-udev.rules FWIW (which is default I think): $ grep ttyS /etc/udev/rules.d/50-udev.rules KERNEL==ttyS[0-9]*, NAME=%k, SYMLINK=tts/%n, GROUP=tty -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Serial modem and permissions problem.
Dale wrote: Mick wrote: Hmm, this is what I am getting on a x86 build. # ls -al /dev/ttyS* crw-rw 1 root uucp 4, 64 Mar 3 22:09 /dev/ttyS0 crw-rw 1 root uucp 4, 65 Mar 3 22:09 /dev/ttyS1 crw-rw 1 root uucp 4, 66 Mar 3 22:09 /dev/ttyS2 crw-rw 1 root uucp 4, 67 Mar 3 22:09 /dev/ttyS3 BTW, I am a member of the uucp group, but can't remember if I ever added myself to it manually: uucp:x:14:uucp,michael There have been a lot of changes lately. I'm updating today, so will let you know if my /dev/ttyS* change group ownership thereafter. Cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Serial modem and permissions problem.
Dale wrote: Mark Kirkwood wrote: Dale wrote: Mick wrote: Hmm, this is what I am getting on a x86 build. # ls -al /dev/ttyS* crw-rw 1 root uucp 4, 64 Mar 3 22:09 /dev/ttyS0 crw-rw 1 root uucp 4, 65 Mar 3 22:09 /dev/ttyS1 crw-rw 1 root uucp 4, 66 Mar 3 22:09 /dev/ttyS2 crw-rw 1 root uucp 4, 67 Mar 3 22:09 /dev/ttyS3 BTW, I am a member of the uucp group, but can't remember if I ever added myself to it manually: uucp:x:14:uucp,michael There have been a lot of changes lately. I'm updating today, so will let you know if my /dev/ttyS* change group ownership thereafter. If you can, check to see if udev was upgraded and there was a notice that there are group changes. I would think udev would be what was changed. I'm curious to see your reply though. Ok - here is the state after the emerge (recall group *was* tty): $ ls -l /dev/ttyS* crw-rw 1 root uucp 4, 64 Mar 4 15:53 /dev/ttyS0 crw-rw 1 root uucp 4, 65 Mar 4 15:53 /dev/ttyS1 crw-rw 1 root uucp 4, 66 Mar 4 15:53 /dev/ttyS2 crw-rw 1 root uucp 4, 67 Mar 4 15:53 /dev/ttyS3 and /etc/udev/rules.d/50-udev.rules has been updated in the emerge to make this ownership change: $ grep ttyS 50-udev.rules KERNEL==ttyS[0-9]*, NAME=%k, SYMLINK=tts/%n, GROUP=uucp, MODE=0660 I didn't see any notice, it just gets processed when doing etc-update. Probably worth eyeballing any changes to 50-udev.rules! So looks like you need to be in the uucp group to dial-up now. Cheers Mark -- gentoo-user@gentoo.org mailing list
[gentoo-user] TERM=Eterm unknown now?
I've just run into this after an emerge: Using Eterm 0.9.4 from a remote host to my Gentoo box: $ clear 'Eterm': unknown terminal type. I can work around this by amending .bash_profile to set TERM to 'xterm' if it is currently 'Eterm' - but I'm curious as to why or what has removed 'Eterm' from the termcap database (or similar). Cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] what causes HAVE_CONFIG_H not found?
Denis wrote: Here's the output when I run make: CC=gcc mcc -O3 -fomit-frame-pointer -ffast-math -DHAVE_CONFIG_H -I./src/common -I. -I. -o Vegas ./src/vegas/Vegas.tm /usr/bin/mcc: line 1: exec: HAVE_CONFIG_H: not found make: *** [Vegas] Error 127 Looks like the mcc compiler does not understand that -Dfoo means define foo and instead thinks that a file foo is being linked - is mcc supposed to invoke gcc on that line? that 'CC=gcc mcc' construction is a little odd. looks like the Makefile is broken - have you chosen unusual options are configure time? Best bet might be to post on the mailing list for the 3rd party package as well as here! Cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] what causes HAVE_CONFIG_H not found?
Denis wrote: Boy this one was messy, but I figured it out. It turns out that there's another mcc compiler from MatLab, and it was installed on my system in /usr/bin. Mathematica's mcc compiler/linker, which I needed to use with the Monte Carlo integration package, was linked to my PATH also, but for some reason, the wrong mcc (from MatLab) was getting invoked first and thus messing up the compile process completely. I deleted the MatLab mcc from /usr/bin, and after that the make script worked like a charm and built all executables just like it was supposed to! Well done - messy indeed! Cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] off topic : Dolphin massacre in Japan
Agg wrote: All those that replied wouldn't reply if it were an actual spam. An off-topic is not necessarily spam. And that's exactly the specific case. Spam with a valid reply-to address is still spam. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] off topic : Dolphin massacre in Japan
Agg wrote: on 02/25/2007 11:14 PM Mark Kirkwood wrote the following: Agg wrote: All those that replied wouldn't reply if it were an actual spam. An off-topic is not necessarily spam. And that's exactly the specific case. Spam with a valid reply-to address is still spam. You mean an *off-topic* with a valid reply-to address is still *off-topic*. No - I meant spam... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] off topic : Dolphin massacre in Japan
Agg wrote: on 02/26/2007 12:58 AM Mark Kirkwood wrote the following: No - I meant spam... off-topic in this particular case At last we agree - your spam is off-topic :-). On a more serious note, I've added both your email addresses to my delete immediately filter. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Bon Echo (why?)
Grant Edwards wrote: If you want it to call itself Firefox add mozbranding to your USE flags. Thanks for bringing this up! My mother has been a little confused about this Bon Echo thing - and (re) emerging with USE=mozbranding got Firefox back for her, along with its expected icon. Cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Simple Linux Router on a live CD?
James wrote: Besides, Gentoo's greatest strength is the help the community provides to one another. +1 I think the friendly, helpful attitude of the list is exactly as it should be - given that it's list aimed at providing help to all users. It would be ok to be a bit rougher on a 'gentoo-experts' or 'gentoo-grouches' list :-). Cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Simple Linux Router on a live CD?
Mark Kirkwood wrote: given that it's list aimed at providing help to all users. Sorry - should read: given that it's *a* list aimed at providing help to all users. (I'm hoping for a grammar checker in Thunderbird) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Help - system reboots while compiling
Alan McKinnon wrote: On Sunday 11 February 2007, Jeff Rollin wrote: On 11/02/07, Kent Fredric [EMAIL PROTECTED] wrote: I would go with Hammann with Make sure, that it is overheating and not a weak/dying PSU. Many people neglect to realise how important a decent PSU is, and how major an effect it can have on systems. A dodgy PSU in my experience can do everything from -CAUSING- overheating, to random shutoffs, and MURDERING hard drives. I had one which killed 3 Hard Drives before I realised thats what the problem was, and the last hard drive was so cooked it didn't even spin up. -- Joy. I should certainly hope it is NOT the PSU as it is new, and replaced a dead one. (New as in bought sometime in the summer) fwiw, I've given up on the consumer electronics industry being able to consistently build high quality power supplies for ANYTHING that plugs into the mains. The normal build quality is terrible, and the ability of the designer to do the job leaves much to be desired. It almost looks like the things are deisnged to be good enough to just make it past a years warranty Saying you might have a dodgy and new psu surprises me about as much as saying that the sky is blue and water is wet While I generally agree, not *all* manufacturers provide rubbish for us... e.g in the current context Zalman PSUs are very good quality (robust and quiet), and if you hunt around a bit even some of the less spectacular brands have their moments (e.g I have a couple of Thermaltake 560W PSUs that are very good). Cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Help - system reboots while compiling
Alan McKinnon wrote: On Monday 12 February 2007, Mark Kirkwood wrote: While I generally agree, not *all* manufacturers provide rubbish for us... e.g in the current context Zalman PSUs are very good quality (robust and quiet), and if you hunt around a bit even some of the less spectacular brands have their moments (e.g I have a couple of Thermaltake 560W PSUs that are very good). True enough, but I was careful to qualify what I said :-) I said consumer electronics, that's the bargain / reasonably priced stuff that you find in your local electronics/pc store. You do get decent stuff out there but it's in a different class and consumer grade isn't a good descriptor Right - sorry, misunderstood what you meant by consumer electronics. Cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Easy dialup for unprivileged user
Mark Kirkwood wrote: I'm looking at setting up a Gentoo box for my mother to use. One thing I'd like some input on is the business of dialing up. The constraints are that she must be able to dial up as an unprivileged user, and it must be easy (She will be migrating from an old imac running osx, so I want to make it as painless as possible!) I'm currently favoring the method outlined in: http://gentoo-wiki.com/HOWTO_Setup_a_Dialup_Connection#The_best_way:_Gentoo.27s_Network_Configuration specifically using Gentoo's /etc/conf.d/net with pppd configured for *on-demand* dialing, so it 'just happens' when needed. Now it pretty much does - but to trigger the ppp interface 'up' state I find myself doing stuff like: $ ping ip of ISP nameserver or similar, because hostname access will just return host not found immediately without trying to bring the link up. So while this workaround is ok for me, I would like to get it so that the ppp interface comes up more intuitively (or am I missing something obvious?... that would be nice!). For the archives... this was happening because I had an empty /etc/resolv.conf. I needed to add some (initial) nameservers to make everything work as expected (i.e ping some-internet-hostname brings up the network). Of course once the dialup has happened, ppp can overwrite these nameservers with the ISP's ones... My mother is using the machine now, and she likes the way the connect to internet just happens when she starts Firefox or Thunderbird... and Gnome's look and feel are not too vastly different from OSX... so the level of confusion is not too high :-). Probably the biggest thing to adjust to is the 3 button mouse - after the single button apple one! Cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Symlinking /usr/portage/distfiles
Boyd Stephen Smith Jr. wrote: On Wednesday 31 January 2007 09:58, Alan McKinnon [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] Symlinking /usr/portage/distfiles': On Wednesday 31 January 2007, Bo Ørsted Andresen wrote: Furthermore Pentium 4 is a joke (it performs horribly). A 2 GHz (Dothan I presume) Pentium-M should be faster than a 2,8 GHz Pentium 4. My timing is for an 1,6 GHz (Banias) Pentium-M btw. This sounds odd, but I'm not a cpu expert so can't really comment. Care to elaborate on why the P4 performs so horribly? The instruction pipeline is very long, the CPU - RAM bandwith is quite small, and the pipeline has to be emptied any time the branch predictor is wrong. While the pipeline fills, the CPU works but no results are visible. Hz has never been a complete trump of other issues affecting CPU performance, but is always a factor to consider. (Among CPUs that are otherwise identical, higher Hz wins.) Also Pentium-M has a lower latency L2 cache than P-4. With respect to pipeline lengths I was curious to see what they actually were: P-4 has 20 stages, P-M has.. err... 20 stages (Intel won't say exactly!). I found this an interesting read for those of you interested in this: http://www.anandtech.com/cpuchipsets/showdoc.aspx?i=2342p=1 Cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Portage Error
Patrick Holthaus wrote: KeyError: 'net-wireless/ipw3945d-1.7.22-r4' And nothing has been merged. ANY help on this would be appreciated, as i am using my laptop quite often and wireless is a must have for me. I also started a thread in the gentoo forums where more information about my system and tries i have made to compensate the file system errors can be found. You may want to have a look at it here: http://forums.gentoo.org/viewtopic-t-535125-highlight-.html I notice in the forum you say you had a hard drive crash. The first thing to do is check the status of the drive itself (smartmontools or similar), and if it is ok, then poke around in dmesg and /var/log/messsages for ext3 filesystem problems. regards Mark P.s : is it hard drive crash month or something? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Hard Drive Crash - Please Help
Grant wrote: and the vi command always seg faults. Does that mean the /dev/hda3 image is done-for and I should just start the laptop over from scratch and import my /etc/ and /home/ directories when it's re-installed? I would try putting it all back and re-emerge everything (emerge -vaD --emptytree world). It would fix if anything bad happened to the compiled things and you could start using the things which survived sooner. I tried re-emerging vim from within the chroot and I got: /usr/portage/eclass/vim.eclass: line 342: make: command not found What do you think? Have you checked the laptop drive? If it is faulty then re-installing is just wasting your time. I would recommend checking the drive with smartmontools before going any further. Given the problems outlined above, I would make a package for it on your desktop and do a binary install of the result on the laptop. Good luck Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Hard Drive Crash - Please Help
Grant wrote: and the vi command always seg faults. Does that mean the /dev/hda3 image is done-for and I should just start the laptop over from scratch and import my /etc/ and /home/ directories when it's re-installed? I would try putting it all back and re-emerge everything (emerge -vaD --emptytree world). It would fix if anything bad happened to the compiled things and you could start using the things which survived sooner. I tried re-emerging vim from within the chroot and I got: /usr/portage/eclass/vim.eclass: line 342: make: command not found What do you think? Have you checked the laptop drive? If it is faulty then re-installing is just wasting your time. I would recommend checking the drive with smartmontools before going any further. Given the problems outlined above, I would make a package for it on your desktop and do a binary install of the result on the laptop. I haven't checked the laptop drive yet. Can I make a smartmontools package for the x86 laptop on the amd64 desktop? How can I do that? Actually, I just noticed that smartmontools is installed on the livecd, so just use that! Post the output of '/usr/sbin/smartctl -d ata -a /dev/hda' - (assuming that your hard drive *is* /dev/hda of course...) Cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Hard Drive Crash - Please Help
Grant wrote: and the vi command always seg faults. Does that mean the /dev/hda3 image is done-for and I should just start the laptop over from scratch and import my /etc/ and /home/ directories when it's re-installed? I would try putting it all back and re-emerge everything (emerge -vaD --emptytree world). It would fix if anything bad happened to the compiled things and you could start using the things which survived sooner. I tried re-emerging vim from within the chroot and I got: /usr/portage/eclass/vim.eclass: line 342: make: command not found What do you think? Have you checked the laptop drive? If it is faulty then re-installing is just wasting your time. I would recommend checking the drive with smartmontools before going any further. Given the problems outlined above, I would make a package for it on your desktop and do a binary install of the result on the laptop. I haven't checked the laptop drive yet. Can I make a smartmontools package for the x86 laptop on the amd64 desktop? How can I do that? Actually, I just noticed that smartmontools is installed on the livecd, so just use that! Post the output of '/usr/sbin/smartctl -d ata -a /dev/hda' - (assuming that your hard drive *is* /dev/hda of course...) That command takes less than a second to complete and there is a lot of output. One thing that jumps out at me is: ATA Error Count: 868 Is there anything else I should post? Hmmm - sounds like its seen 868 read/write errors. However to advise you better we need to see the output. I suspect it is huge because there are error details for each of the 868 errors. How about post the first 200 lines of the smartctl output to the list? Cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Hard Drive Crash - Please Help
Grant wrote: === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED Well - although says its passed - if you run any of the self-tests I would expect to see a change to 'failed'. You might want to run the 'short' or 'long' tests (-t short or -t long) and see what happens but given the state indicated below... I'd conclude 'She's dead Jim' at this point and start looking for another disk (also check the warranty for your laptop). 7 Seek_Error_Rate 0x000f 100 100 047Pre-fail Always - 3006 196 Reallocated_Event_Count 0x0032 100 100 000Old_age Always - 124838871047 197 Current_Pending_Sector 0x0012 091 091 000Old_age Always - 10 198 Offline_Uncorrectable 0x0010 092 092 000Old_age Offline - 16 199 UDMA_CRC_Error_Count0x003e 200 196 000Old_age Always - 143 200 Multi_Zone_Error_Rate 0x000f 100 100 060Pre-fail Always - 28028 These indicate things are not well. Error 868 occurred at disk power-on lifetime: 12653 hours (527 days + 5 hours) Well yes - 868 actual errors ... not good. The last disk I got replaced under warranty did not have a SMART report as bad as this (4 offline uncorrectable and 10 read errors) regards Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] My harddisk doesn't want to spin down permanently
Jakob Buchgraber wrote: The drive is mounted (contains the / partition). If no program access the harddisk, this actually shouldn't matter as otherwise the whole concept of laptop-mode etc. is nuts (or I completely misunderstood it :-) ). Some more guesses that are not solutions :-) : Other factors might be journal write (if / is a journaled file system), or swap activity (if your laptop is short on ram) - basically the kernel needs to do housekeeping stuff - possibly for a little while after you have stopped doing anything. However I'd expect that after a *while* (i.e few minutes) it should settle down - no more activity should mean no more file buffer cache flushes, swaps or journal writes. have you tried leaving the machine for a few minutes (i.e going and making a coffee), *then* stopping the drive? Cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Good arguments to use Gentoo Linux?
Dale wrote: As someone who started out using Mandrake, I have to say that using Gentoo has been a LOT easier. Yea, I had to learn how to use Gentoo and it is different from Mandrake by far but it is a whole lot easier to manage. I have been using Gentoo for about 2 or 3 years for my desktop and I would not consider switching to any other distro. I spend a lot less time messing with my Gentoo install that I did Mandrake. The upgrade process with Mandrake was . . . . a disaster. From what I understand Redhat and Mandrake are pretty close. I certainly wouldn't switch to Redhat then. As for security, I have had several times that my internet connection was messed up and the md5 sums didn't match. Portage didn't hesitate to delete those puppies and let me know that something was changed. It would seem to me that it would be difficult for someone to change the source code on one server then change the other files on the rsync server so they both match up. Well, that my $0.02 worth. Some of what is being said just doesn't make sense to me at all. Gentoo is a lot better than some distros. It certainly beats windoze. Gotta second that - I have used Mandrake and Redhat, and Gentoo is such a better way - *once* you spend the time to understand why it is like it is! As for comments about portage sync etc producing destroyed|mangled|buggy systems - well *any* update system can do that from time to time (ask windows update users after xp sp2 came out...) A sane test-before-deploy plan is essential for any large scale environment - ISTM that this is just as straightforard in Gentoo as any other Linux distro So, I see no reason why ya can't use Gentoo in a corporate environment! Cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ATI Radeon 9550
Mark Kirkwood wrote: # echo INPUT_DEVICES=\keyboard mouse\ /etc/make.conf # echo VIDEO_CARDS=\radeon vesa\ /etc/make.conf # VIDEO_CARDS=radeon emerge x11-drm # emerge xorg-x11 # env-update # source /etc/profile # Xorg -configure # fails mouse detect # sed 's/\/dev\/mouse/\/dev\/input\/mice/' xorg.conf.new xorg.conf.newer # Xorg -config `pwd`/xorg.conf.newer # cp xorg.conf.newer /etc/X11/xorg.conf # only if prev works! Note that Xorg -configure seems to fail to detect the mouse device, but gives an otherwise good file. Purely for completeness (since Sean is switched to a Nvidea card now)... Xorg -configure does not enable non-root users to have DRI enabled, so I needed to append to xorg.conf: Section DRI Mode 0666 EndSection Best wishes Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ATI Radeon 9550
Mark Kirkwood wrote: I'm very interested as I've been using a 9550 with HW accel enabled + Xorg (6.9) with the radeon driver in FreeBSD 6 without any problems at all. This encourages me to think they should work in Gentoo as well...(crosses fingers) as I'm in the process of building my mother a machine running Gentoo and have one of these (a 9200) lying around and am intending to use it I temporarily made my box with the Radeon 9550 run Gentoo (installed on a space disk) to try this out. It seems hardware acceleration works and is stable, 'tho not terribly fast for 3D (2200 FPS with glxgears), but very snappy for 2D (which is all I really use...). Cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ATI Radeon 9550
sean wrote: I tried the xf86-video-ati driver as you suggested. Xorg just starts up, is blank or black for a few moments then just ends. Cannot find out a reason why at this point. Hmmm - I notice from another email that you have lost your .so for radeon, so that might be an issue, so after reinstalling xf86-video-ati maybe try the steps I followed. I didn't select direct rendering support in-kernel (not sure if doing that and *not* emerging x11-drm is better, but anyway): # echo INPUT_DEVICES=\keyboard mouse\ /etc/make.conf # echo VIDEO_CARDS=\radeon vesa\ /etc/make.conf # VIDEO_CARDS=radeon emerge x11-drm # emerge xorg-x11 # env-update # source /etc/profile # Xorg -configure # fails mouse detect # sed 's/\/dev\/mouse/\/dev\/input\/mice/' xorg.conf.new xorg.conf.newer # Xorg -config `pwd`/xorg.conf.newer # cp xorg.conf.newer /etc/X11/xorg.conf # only if prev works! Note that Xorg -configure seems to fail to detect the mouse device, but gives an otherwise good file. The 2nd to last last step should give a working X server (default background with a mouse cross). If it doesn't then there is an issue! Cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] gcc slots
Neil Bothwick wrote: On Tue, 9 Jan 2007 17:46:21 -0600, Dan wrote: Whether the reply text goes before or after the message to which it replies depends entirely on personal preferance. writer! the not reader, the of preference personal the on depends it but Yes, Top-post even Yoda wouldn't. What is really evil is when some folks have top posted and other's bottom posted in the same message... Hard read to it makes it That's why most mailing lists encourage folks to follow one *or* the other exclusively. Cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ATI Radeon 9550
Sean wrote: I picked up one of these cards today. Normally I prefer nvidia based but I let price make my choice right now. Anyway, have had nothing but problems trying to get this thing working. Found many bugs listed against the ati-drivers, and not having much more success using the open source drivers also listed in the Gentoo ATI faq. Did you try the Xorg radeon driver? (think its part of xf86-video-ati). You want to unmerge ati-drivers if they have proved unstable (no surprise there...) I'm very interested as I've been using a 9550 with HW accel enabled + Xorg (6.9) with the radeon driver in FreeBSD 6 without any problems at all. This encourages me to think they should work in Gentoo as well...(crosses fingers) as I'm in the process of building my mother a machine running Gentoo and have one of these (a 9200) lying around and am intending to use it Cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: anti-portage wreckage?
Mike Myers wrote: (snippage) I'm not trying to suggest that Gentoo should go to a binary distro or anything like that. I'm just wondering why there isn't some kind of update management system to like, differentiate minor updates like firefox 1.5.0.5 http://1.5.0.5 to firefox 1.5.0.7 http://1.5.0.7 and major ones like, y'know, gcc 3.4.4 to 4+? Ok - sorry, was misled by the mentioning of packages! The update system is the -only- nice thing about it over Gentoo. Debian is nowhere near Gentoo when it comes to everything else (especially docs). I don't think suggesting a single feature that another distro has and putting into Gentoo is trying to make it a clone. I'm just asking for a relief from having to constantly worry if updating something out of the 300 packages that need updated is going to break something, and not having to make sure etc-update isn't going to destroy my custom configs afterwards. If it wasn't for that, Gentoo would be perfect. I'm sure there's got to be others that would agree. Yeah, it would be good to know an update is not going to give a broken system - but to implement some sort of (extra) tagged release testing would be a significant amount of effort for the community. In addition it could be argued that there is potentially little real gain in doing this, as it is *never* possible to ensure no breakage (e.g. Microsoft updates are a case in point...). At the end of the day, regardless of whatever release engineering/quality process Gentoo (or any software product) has, you really have to follow the steps: 1/ Update (1 or more) machines in your test environment. 2/ Run your test suite. 3/ Update the rest of your machines if 2/ pases. Personally I don't see why this does not scale. Cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Easy dialup for unprivileged user
Boyd Stephen Smith Jr. wrote: On Saturday 30 December 2006 22:00, Mark Kirkwood [EMAIL PROTECTED] wrote about '[gentoo-user] Easy dialup for unprivileged user': Now it pretty much does - but to trigger the ppp interface 'up' state I find myself doing stuff like: $ ping ip of ISP nameserver or similar, because hostname access will just return host not found immediately without trying to bring the link up. So while this workaround is ok for me, I would like to get it so that the ppp interface comes up more intuitively (or am I missing something obvious?... that would be nice!). You might try running a local, caching-only nameserver. That may bring up ppp as needed by changing how your hostname resolution works. In particular, I'm betting that your hostname resolution is currently programmed specifically NOT to bring up an interface, while bind or dnscache oe w/e (when queried by your resolver) will not be as smart an send a DNS request to an IP, as needed. [If not needed, it will resolve the hostname to an IP address and your other application (browser, email, w/e) will use that IP (and wake up your ppp device).] (Just shooting from the hip here, though so, no guarantees.) In any case, a local, caching-only nameserver will still speed up your dial-up connection for DNS intensive tasks -- like web browsing. So, you work setting one up (which should be minimal) will not be for naught. Yeah - thanks, great suggestion. I've give that a try. I run a caching only nameserver for my own desktop system for exactly the performance reasons you mentioned above, so setup is not problem. Cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: anti-portage wreckage?
Mike Myers wrote: I just wanted to add something to the original post. I've recently began experimenting with Debian and noticed their updating system is exactly like what I was asking about. Basically, there's package updates, and then there's distro updates. Why is it unreasonable for Gentoo to have something like this? I think it would help Gentoo a lot in the server market, where scalability is important. While this is true, one of the differentiating points of Gentoo is precisely the build-from-source idea (there are plenty of binary update distros out there). One other thing - to actually do what you are suggesting requires a fair number of extra volunteers to maintain these package updates. Now I'm not saying its not possible, or even a bad idea mind - just wore work... and maybe that effort might be better spent on keeping the current momentum and quality of Gentoo as it is (or improving it)... Cheers Mark -- gentoo-user@gentoo.org mailing list
[gentoo-user] Easy dialup for unprivileged user
I'm looking at setting up a Gentoo box for my mother to use. One thing I'd like some input on is the business of dialing up. The constraints are that she must be able to dial up as an unprivileged user, and it must be easy (She will be migrating from an old imac running osx, so I want to make it as painless as possible!) I'm currently favoring the method outlined in: http://gentoo-wiki.com/HOWTO_Setup_a_Dialup_Connection#The_best_way:_Gentoo.27s_Network_Configuration specifically using Gentoo's /etc/conf.d/net with pppd configured for *on-demand* dialing, so it 'just happens' when needed. Now it pretty much does - but to trigger the ppp interface 'up' state I find myself doing stuff like: $ ping ip of ISP nameserver or similar, because hostname access will just return host not found immediately without trying to bring the link up. So while this workaround is ok for me, I would like to get it so that the ppp interface comes up more intuitively (or am I missing something obvious?... that would be nice!). regards Mark -- gentoo-user@gentoo.org mailing list
[gentoo-user] sysctl/_sysctl breakage with 2.6.19
After upgrading my kernel from 2.6.18 - 2.6.19 I notice that sysctl(2) seems to be - err - returning different (incorrect) data. for instance consider the simple test program to read kernel.shmmax (see end of mail): 2.6.18 -- $ cat /proc/sys/kernel/shmmax 536870912 $ ./sysctltest sysctl retrieved shmmax=536870912 2.6.19 -- $ cat /proc/sys/kernel/shmmax 536870912 $ ./sysctltest sysctl retrieved shmmax=3086684148 ^^ Doing some diffing between 2.6.18 and 2.6.19 sources reveals: *** linux-2.6.18-gentoo-r3/kernel/sysctl.c Tue Nov 28 19:04:35 2006 --- linux-2.6.19-gentoo-r2/kernel/sysctl.c Tue Dec 26 20:04:30 2006 *** 455,... { .ctl_name = KERN_SHMMAX, .procname = shmmax, ! .data = shm_ctlmax, .maxlen = sizeof (size_t), .mode = 0644, ! .proc_handler = proc_doulongvec_minmax, }, --- 504,... { .ctl_name = KERN_SHMMAX, .procname = shmmax, ! .data = NULL, .maxlen = sizeof (size_t), .mode = 0644, ! .proc_handler = proc_do_ipc_string, }, However this is all in the implementation, so I'm thinking it should be transparent to userland programs... the various .h headers seem the same with respect to shmmax (particularly numbers for CTL_KERN and KERN_SHMMAX are unchanged!). Any ideas? (Should this be raised as a bug?). FWIW my linux headers are 2.6.17-r2. Cheers Mark -test-program--- /* * sysctltest.c : sample to test sysctl call behaviour change 2.6.18-2.6.19 */ #include stdio.h #include linux/unistd.h #include linux/types.h #include sys/sysctl.h #define SIZE(x) sizeof(x)/sizeof(x[0]) /* number of elements */ int main(int argc, char **argv) { size_t len; unsigned long shmmax; int sysctlvect[] = { CTL_KERN, KERN_SHMMAX }; len = sizeof(shmmax); if (sysctl(sysctlvect, SIZE(sysctlvect), (shmmax), len, 0, 0)) { printf(sysctl failed getting shmmax\n); return 1; } else { printf(sysctl retrieved shmmax=%lu\n, shmmax); return 0; } } ---emerge-info- Gentoo Base System version 1.12.6 Portage 2.1.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r4, 2.6.19-gentoo-r2 i686) = System uname: 2.6.19-gentoo-r2 i686 Intel(R) Pentium(R) III CPU family 1266MHz Last Sync: Tue, 26 Dec 2006 06:30:02 + app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox:1.2.17 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS=x86 AUTOCLEAN=yes CBUILD=i686-pc-linux-gnu CFLAGS=-O2 -march=i686 -pipe CHOST=i686-pc-linux-gnu CONFIG_PROTECT=/etc /usr/share/X11/xkb CONFIG_PROTECT_MASK=/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c CXXFLAGS=-O2 -march=i686 -pipe DISTDIR=/usr/portage/distfiles FEATURES=autoconfig distlocks metadata-transfer sandbox sfperms strict GENTOO_MIRRORS=http://public.planetmirror.com/pub/gentoo/ ftp://ftp.planetmirror.com/pub/gentoo/ http://mirror.pacific.net.au/linux/Gentoo ftp://mirror.pacific.net.au/linux/Gentoo PKGDIR=/usr/portage/packages PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages' PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage SYNC=rsync://rsync.gentoo.org/gentoo-portage USE=x86 X alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route
Re: [gentoo-user] udev_run_{hotplugd,devd} failed
Michael Gorden wrote: I think you should run etc-update once... I'm seeing this as well (udev-103 and have run etc-update). I notice that 50-udev.rules has references to /sbin/udev_run_devd|hotplug These files do not exist - however /lib/udev/udev_run_devd|hotplug do - is this just a set of typos in the rules files? regards Mark emerge-info Portage 2.1.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r3 i686) = System uname: 2.6.18-gentoo-r3 i686 Intel(R) Pentium(R) III CPU family 1266MHz Gentoo Base System version 1.12.6 Last Sync: Tue, 05 Dec 2006 11:00:01 + app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox:1.2.17 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS=x86 AUTOCLEAN=yes CBUILD=i686-pc-linux-gnu CFLAGS=-O2 -march=i686 -pipe CHOST=i686-pc-linux-gnu CONFIG_PROTECT=/etc /usr/share/X11/xkb CONFIG_PROTECT_MASK=/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c CXXFLAGS=-O2 -march=i686 -pipe DISTDIR=/usr/portage/distfiles FEATURES=autoconfig distlocks metadata-transfer sandbox sfperms strict GENTOO_MIRRORS=http://public.planetmirror.com/pub/gentoo/ ftp://ftp.planetmirror.com/pub/gentoo/ http://mirror.pacific.net.au/linux/Gentoo ftp://mirror.pacific.net.au/linux/Gentoo PKGDIR=/usr/portage/packages PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages' PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage SYNC=rsync://rsync.gentoo.org/gentoo-portage USE=x86 X alsa apache2 apm arts berkdb bitmap-fonts cdr cli cracklib crypt cups dlloader dri dvd eds elibc_glibc emboss encode esd foomaticdb fortran gdbm gif gpm gstreamer gtk2 iconv imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo vorbis xml xorg xv zlib Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Installation of openoffice in 4 hours or more?! :s
Neil Bothwick wrote: On Wed, 06 Dec 2006 14:13:01 +1300, Mark Kirkwood wrote: An alternative is 'nohup' - if you know that you are gonna run a long task and wish to be able to shutdown your terminal window. e.g: $ nohup emerge kdelibs $ exit Shouldn't that be nohup emerge kdelibs ? I've not use nohup for a few years, not since I discovered screen, but ISTR you need to run in in the background. Yeah - good point, the is in theory optional, but it makes sense to use it, since all output is redirected to nohup.out and your terminal session is tied up! However, if the is forgotten, you can just do the usual to background the task: ^Z $ bg cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] udev_run_{hotplugd,devd} failed
Richard Fish wrote: On 12/6/06, Mark Kirkwood [EMAIL PROTECTED] wrote: I notice that 50-udev.rules has references to /sbin/udev_run_devd|hotplug Nope, the helper programs moved to /lib/udev/ in udev-103. etc-update should take care of the files that udev currently supplies (like 50-udev.rules). You might have some orphaned files though in /etc/udev/rules.d. Use equery belongs to identify these. Well, equery reckons udev.rules is unowned (so I've moved that away). It thinks 50-udev.rules is owned by udev-103, but 50-udev.rules has the incorrect paths. If I edit it and change /sbin/xxx to /lib/udev/xxx then the errors vanish and all is good (there is a warning about using hard paths in these files, so I've been bad I guess, should have put just xxx). Anyway, what do you suggest - re-emerging udev again? (The archive in the portage dist directory looks ok and the gentoo specific udev.rules file looks correct - i.e has xxx not /sbin/xxx in it... so I've no idea why the sbin is in the installed ones). Cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] udev_run_{hotplugd,devd} failed
Neil Bothwick wrote: On Wed, 06 Dec 2006 23:53:59 +1300, Mark Kirkwood wrote: It thinks 50-udev.rules is owned by udev-103, but 50-udev.rules has the incorrect paths. If I edit it and change /sbin/xxx to /lib/udev/xxx then the errors vanish and all is good (there is a warning about using hard paths in these files, so I've been bad I guess, should have put just xxx). You shouldn't be editing this file at all, because your changes will be overwritten by an update. Put your own settings in 10-local.rules to keep them safe. Thanks, while this is good advice - in this case I'm not wanting my own rules at all, just trying to locate the source of the error messages, and from there figure out what went wrong... I think I have it: The file /etc/udev/rules.d/udev.rules is the same as the one in the udev-103 archive - whereas the 50-udev.rules is different (i.e guess older). So somehow in the udev-103 update the old file got left there... So I've renamed udev.rules to 50-udev.rules and everything looks good (no warnings, everything coming up ok). So somewhere along the way, either I forgot to run etc-update when needed or there was a bug in the udev update process at some point... cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Installation of openoffice in 4 hours or more?! :s
b.n. wrote: And screen is your second best friend ever (Google is the first). It's so useful you might consider putting it in your shell profile so you can't forget to use it Why is using screen so recommended? I never used it, but I'd like to know about. An alternative is 'nohup' - if you know that you are gonna run a long task and wish to be able to shutdown your terminal window. e.g: $ nohup emerge kdelibs $ exit Cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Installation of openoffice in 4 hours or more?! :s
Dale wrote: But can you go back to it like you can with screen? I mean if it fails or something how do you know what happened? I have never used nohup so maybe I need more info, hence the questions. It writes a file 'nohup.out' in your working directory with what you would have seen on the screen if you had stayed logged in, so yeah. Typically what I would do (to keep using the emerge example) is to log back in and: $ tail nohup.out which would show where the emerge of kdelibs was up to (so you would know if, for instance it had failed!). What you cannot do is go back and interact with the running program (other than sending it signals via kill), so it is only useful for things that are not going to ask you stuff (or for things where you can supply the answers in a file and redirect stdin to...). Cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Hard Disk going a lot slower now...
Ken Gypen wrote: I would assume that the two benchmark programs I am using to measure the drive performance under windows go through windows, and thus the NTFS interface. They are Dr. Hardware and FreshDiagnose. The second one showed a write speed as quoted above, and a read speed of about 280 MB per second... Though the same one reported a read speed of about 900+ MB per second for my USB drive (not really possible, since the maximum speed for USB 2.0 is about 480 MB / second). Hi Chris, A more realistic speed for a HD is about 60-90MB/second... It's hardware limited. So your values are quite off, regardless of the OS and the filesystem. Yeah - when doing this sort of thing ensure you are using files at least 2x(size of RAM) - otherwise you can end up just measuring memory access speed. Cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] BIG reiserfs problem
Joshua Schmidlkofer wrote: Daniels advice is actually the best that you can get. It will give you the smallest chance of corruption due out of order journal commits that caching can cause. While this is true, it also may dramatically lower the mean time to failure for your disk, due to increased ware and tear - consumer ATA drives are designed to operate with the write cache on. If you cannot afford to lose data due to poweroff corruption, then the only viable solution is a RAID card that includes battery backup (e.g. 3Ware and Areca sell these). regards mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] BIG reiserfs problem
CapSel wrote: It's now more than five times when reiserfs has sucked my data into /dev/null. At the begining I thout that was a hardware problem - disk, ram... but now I am almost 100% sure that reiserfs IS NOT stable file system. It doesn't matter if I have gentoo-sources or hardened-sources, if I compile for my arch or for i386... heavy load or just one rsync process, gentoo or slackware (I thought that I gave bad CFLAGS, USE...). ...it lacked support for SEcurity labels some time ago... But it is still fastest fs. Am I the only one who have this problem? So my question is - how can I help to eliminate this bug(s)? I've used Linux for many years - the *only* times I have ever lost data has been due to reiserfs file corruption and both times I had / and /usr mounted as reiserfs, so I'd recommend avoiding it on these two filesystems anyway! I'd recommend changing to ext3 or xfs, as I've found both to be solid (I prefer xfs but that just my personal opinion). Cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] BIG reiserfs problem
Dale wrote: If you use XFS, make sure you have good power. XFS does not like power failures at all. I have had to reinstall on a second rig because of this very problem. If you have a UPS, that may be OK. Interesting - I'm running an xfs system that has been through several power failures without problems - could have more to do with the specifics of ones harddrives than the type of file system (e.g. ATA/IDE write caching being the most common reason for power loss corruption, and some types seem more susceptible than others). Cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] BIG reiserfs problem
Hemmann, Volker Armin wrote: On Saturday 28 October 2006 13:31, Mark Kirkwood wrote: I'd recommend changing to ext3 or xfs, as I've found both to be solid (I prefer xfs but that just my personal opinion). if you use XFS don't use 2.6.17 kernels. ... A good link that briefly discusses power failures, write caching, kernels and write barriers is: http://oss.sgi.com/projects/xfs/faq.html#nulls -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] xmms alternative
Daniel Barkalow wrote: xine == almost as bloated as Windows Media Player. I want a simple *AUDIO PLAYER* dammit, not some honking big multi-media package that takes forever to build. I've had problems building xine, and swear by mplayer. I'd sooner use mplayer than xine. amarok == Even worse than xine. It's a Windows Media Player wannabee bloated frontend that ends up launching xine. In addition to building xinelib, it also builds kde-base, ruby, and a bunch of other junk. I think you want audacious, which seems to be xmms painted white and actively maintained. I would second that. I have not tried xine, but dislike the size of amarok. Audacious builds quickly and plays mp3s - and thats all I need! Incidentally xmms and audacious both seem to sound cleaner than amarok too. Cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] C programming use of isascii(), ispunct() and isblank() fails
Kevin O'Gorman wrote: On 10/5/06, Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote: On Thursday 05 October 2006 16:10, Kevin O'Gorman [EMAIL PROTECTED] wrote about '[gentoo-user] C programming use of isascii(), ispunct() and isblank() fails': Why is it that using some of the macros from ctype.h fails to compile? You code compiles fine for me. I'm using... hrm, an invalid profile... well, gcc --version reports 'gcc (GCC) 4.1.1 (Gentoo 4.1.1-r1)' if (ispunct(i)) punctf( punct); I did get a link error, because you haven't defined punctf; I'll bet you meant printf. FWIW - I get implicit declaration of function 'isblank' as well - system is: Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686) If I add '-D_GNU_SOURCE' to the compile line then it goes away. Not sure if this is the intended behavior tho... regards Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: JMicron confusion
Ryan Sims wrote: On 9/29/06, Richard Fish [EMAIL PROTECTED] wrote: On 9/29/06, Ryan Sims [EMAIL PROTECTED] wrote: Let me rephrase my question: If I only use SATA drives, non RAID, they only run through the P975 southbridge, and I should be ok, right? Well I don't own one of these things, but it looks like the SATA stuff goes through the JMicron chip, while the RAID is provided by the 975. I thought it was the other way around? Southbridge - 4 x SATA 3.0 Gb/s ports JMicron(r) JMB363 PATA and SATA controller - 1 x UltraDMA 133/100/66 for up to 2 PATA devices - 1 x Internal SATA 3.0 Gb/s port - 1 x External SATA 3.0 Gb/s port (SATA On-the-Go) - Support SATA RAID 0, 1 and JBOD (from http://usa.asus.com/products4.aspx?modelmenu=2model=1178l1=3l2=11l3=307) That seems to say that 4 SATA drives can go through the Southbridge (P965, typo earlier, sorry) Yeah - looks like it is for that board - as it uses ICH8 for plain old SATA and JMicron for RAID, other similar boards seem to use ICH8R for RAID and JMicron for plain old SATA... just to add to the confusion :-) Cheers Mark -- gentoo-user@gentoo.org mailing list