Re: [gentoo-user] Re: I want my Ctrl+Alt+Backspace back
On Wednesday 21 April 2010 01:44:15 Harry Putnam wrote: Mick michaelkintz...@gmail.com writes: I think you did not read the link properly. You are meant to copy the relevant .fdi file from /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi to /etc/hal/fdi/policy/10-keymap.fdi and then modify the last paragraph: Yes, I did misread apparently... it doesn't say that at all... maybe that is why. http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.6-upgrade-guide.x ml The penultimate paragraph says that you should copy _some_ file from /usr/share/hal/fdi/policy/10osvendor/ to /etc/hal/fdi/policy/ There is no mention of copying: /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi to /etc/hal/fdi/policy/10-keymap.fdi The file that I mentioned is the one relevant to key inputs, but you could have used say the 10-input.fdi or made one up yourself that ends in fdi. I'm sorry to be so dense here... but I'm missing something still. No, I was rather incomplete in my reply, which ended up confusing the matter. merge key=input.xkb.layout type=stringus/merge merge key=input.xkb.options That second line above is not present in my copy of: /usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi Mick wrote: type=stringterminate:ctrl_alt_bksp/merge merge key=input.xkb.variant type=string / by the adding the above line starting with type= ... I see (showing line numbers from:[...]10osvendor/10-x11-input.fdi [...] 17 /match 18 19 merge key=input.xkb.layout type=stringus/merge 20 merge key=input.xkb.variant type=string / 21 /match [...] So do you mean to replace 19 and 20 with: , | merge key=input.xkb.layout type=stringus/merge | merge key=input.xkb.options | type=stringterminate:ctrl_alt_bksp/merge ` Or add the two in box quote after 19... or what? This is mine: ?xml version=1.0 encoding=ISO-8859-1? !-- -*- SGML -*- -- deviceinfo version=0.2 device match key=info.capabilities contains=input.keymap append key=info.callouts.add type=strlisthal-setup-keymap/append /match match key=info.capabilities contains=input.keys merge key=input.xkb.rules type=stringbase/merge !-- If we're using Linux, we use evdev by default (falling back to keyboard otherwise). -- merge key=input.xkb.model type=stringkeyboard/merge match key=/org/freedesktop/Hal/devices/computer:system.kernel.name string=Linux merge key=input.xkb.model type=stringevdev/merge /match merge key=input.xkb.layout type=stringgb,se/merge merge key=input.xkb.options type=stringgrp:alt_shift_toggle,grp_led:scroll,compose:menu,terminate:ctrl_alt_bksp/merge merge key=input.xkb.variant type=string / /match /device /deviceinfo Now, if you are only using one language, you only need line 19 in your example and insert a new line between your 19 and 20 that says: merge key=input.xkb.options type=stringterminate:ctrl_alt_bksp/merge (all on one line) HTH and sorry for giving an incomplete answer at the start. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] gentoo-box stopping services
Am 21.04.2010 00:07, schrieb Stroller: You emphasise how old the hardware is, but this really isn't a problem. As you say, one increasingly fears the death of a system which is getting so old, but I have two systems nearly as old running for years without hardware problems. Yes, it does what it should do. It's just that it gets more probable to have some strange and hidden defects *maybe*. But it would show other symptoms then, I assume. The questions I must ask are: - How uptodate is the Gentoo software? - Do you run updates regularly? - Did you run any shortly before this started occurring? - Have you run revdep-rebuild and stuff? - Does the system have sufficient swap? swap should be OK: # free -m total used free sharedbuffers cached Mem: 501484 17 0 16241 -/+ buffers/cache:226275 Swap: 494288205 OK, a bit more RAM wouldn't hurt here. But I am compiling stuff right now. - ad updates: I was rather defensive there, I have to admit .. Just like never touch a running system ... I updated the relevant pkgs like postfix, samba, clamav ... but there are around 60 pkgs to update today. Stuff like glibc, udev, pam I will apply them now step by step ... revdep-rebuild was OK before, I had checked that after the last updates a few days ago. My first idea was to upgrade the kernel to maybe catch some relevant fixes, that was about a week ago. There was no specific update triggering this, in fact I hadn't touched that box for weeks when the responsible man called me to tell me about the new problems ... Stefan
Re: [gentoo-user] How can I control ttyS0 respawning speed?
Jarry wrote: Hi, I have set-up serial console on my server in /etc/inittab: s0:12345:respawn:/sbin/agetty 38400 ttyS0 vt100 It mostly works, with one exception: right after boot-up I get this message: INIT: ID s0 respawning too fast: disabled for 5 minutes Of course, I can see this only on attached monitor, because ttyS0 is dead. After those 5min ttyS0 is again up/running and I can finally log in. I tried lowering port speed down to 9600, but it does not make any difference... How can I control that respawn speed, or prohibit this behavior (disabling ttyS0 for 5min)? I do not like waiting 5min to log in, after I restarted server... Jarry Don't know the answer to yr question. But I'm also not sure if you're asking the right question. When I last saw respawning too fast: disabled for 5 minutes, it was actually an issue with the spawned process not being able to start. I'm therefore suggesting you'd want to consider checking why agetty cannot run, rather than working around init's behavior. Amit
Re: [gentoo-user] In which order services are started?
Am 20.04.2010 21:28, schrieb Neil Bothwick: On Tue, 20 Apr 2010 19:47:55 +0200, Jarry wrote: Is there any way to find out in which order services are started during boot-up (except for looking at boot-up screen and making notes)? You could turn on boot logging in rc.conf and look at /var/log/rc.log. How do I do this? My rc.conf doesn't contain anything that looks like a fitting parameter. There is no man-page for rc.conf, either. Thanks in advance, Florian Philipp signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] In which order services are started?
On Wed, 21 Apr 2010 09:50:07 +0200, Florian Philipp wrote: You could turn on boot logging in rc.conf and look at /var/log/rc.log. How do I do this? My rc.conf doesn't contain anything that looks like a fitting parameter. There is no man-page for rc.conf, either. rc_logger=YES in /etc/rc.conf for openrc. Baselayout1 has a similar setting somewhere. -- Neil Bothwick If Microsoft made cars: The airbag system would ask are you sure? before deploying. signature.asc Description: PGP signature
Re: [gentoo-user] In which order services are started?
On Wed, 21 Apr 2010 01:01:00 +0100, Peter Humphrey wrote: Is there any way to find out in which order services are started during boot-up (except for looking at boot-up screen and making notes)? You could turn on boot logging in rc.conf and look at /var/log/rc.log. I think Jarry wanted to know what to tweak to change the order. I wanted to know this as well not long ago, but I didn't have the energy to chase it. (I wanted gpm to be started earlier in the sequence but without putting it in the boot run level.) If he did, that's not what he asked. You change the order by adding before/after statements to the scripts in /etc/init.d. I believe with openrc you can have a similar effect by setting rc_after or rc_before in the corresponding file in /etc/conf.d. I've never tried this but it is documented in /etc/rc.conf. -- Neil Bothwick IBM: Itty Bitty Mentality signature.asc Description: PGP signature
[gentoo-user] Re: sci-physics/root slotting?
Hello, For anyone who uses the data analysis framework ROOT developed mainly at CERN (sorry, I didn't name it 'root'), I can imagine that slotting would be an extremely useful feature. It occurred to me tonight that adding slotting should be easy and very useful. Not true! The slotting isn't supported upstream, and it requires a lot of modification to all the ebuilds. As I have no experience, it's also not clear to me if I slot everything including things in etc and man pages. I can see arguments both ways. If this seems like a good feature request, I'll put a modified ebuild on bugzilla for all present root versions after I can test it (may take a few days, since root isn't a quick compile and I have physics to do). I will consider this a serious project, but progress will not be quick, since I have a lot to learn. Honestly it might make more sense to hit the upstream mailing lists first and see what they think about slotting, since the implementation is probably a lot easier from the source than doing crazy crap in the ebuilds like moving things in, say, usr/include/root to usr/include/root-${SLOT} and every other directory, not to mention recursively hitting the same thing on bin/ and setting up symlinks and a module to handle switching all them. For example, suppose a new version gives me a new binary. Now the eselect module needs to know it can't switch that symlink on the old version; I'm sure this has been done for other packages, but like I said, I need to learn about it first. Obviously, if this happens, I need to consider a bugzilla feature request on eselect as well, or make eselect-root. This will need some learning as well on my part, as above. ~daid
Re: [gentoo-user] gentoo-box stopping services
On 21 Apr 2010, at 08:28, Stefan G. Weichinger wrote: ... Does the system have sufficient swap? swap should be OK: # free -m total used free sharedbuffers cached Mem: 501484 17 0 16 241 -/+ buffers/cache:226275 Swap: 494288205 OK, a bit more RAM wouldn't hurt here. But I am compiling stuff right now. I would add more. Services mysteriously dying, surely that could be because the kernel is killing them off due to an out-of-memory condition? Maybe you have changed to a different compiler version in the past, and this creates larger binaries? That seems a bit tenuous, I don't know, but you can use a swapfile on Linux (i.e. you can add to the current swap without having to create an additional partition), and I doubt if it is hard to set up. ad updates: I was rather defensive there, I have to admit .. Just like never touch a running system ... I seem to get into more trouble when I'm cautious with updates than I do when I just let 'em rip as often as possible. More frequent updates means fewer updates. Stroller.
[gentoo-user] Login through KDM
Hi all! Lately I can't login anymore to my GENTOO pc through KDM (ssh login works). I tried to look inside the kdm.log file, but could not see any useful message. Could someone point me to where to look to find some information? Thanks a lot, Massimiliano
Re: [gentoo-user] In which order services are started?
Jarry writes: Is there any way to find out in which order services are started during boot-up (except for looking at boot-up screen and making notes)? I think the output of 'rc-status' shows the services in the right order. Wonko
Re: [gentoo-user] xorg-server upgrade
On Wednesday 21 April 2010 02:05:54 Peter Humphrey wrote: On Wednesday 21 April 2010 00:33:19 Mark Knecht wrote: Check out module-rebuild. You put a list of packages in it How and where does one do that? by running module-rebuild populate That syntax might not be correct. The man page will tell you. The man page is always your first point of reference. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: sci-physics/root slotting?
Hello Daid, daid kahl daid...@gmail.com writes: Hello, For anyone who uses the data analysis framework ROOT developed mainly at CERN (sorry, I didn't name it 'root'), I can imagine that slotting would be an extremely useful feature. It occurred to me tonight that adding slotting should be easy and very useful. I use ROOT a fair amount. I have not personally run into issues with sensitivity of macros to ROOT version, at least not that I know of. I am running 5.22-r2 on an X86_64 system and 5.25/02 on a ppc. The latter was compiled outside portage because ROOT is masked with missing keyword on that system. If there is something I can do to help out then please let me know. I am not much of a programmer, but at the very least I should be able to run tests. I have a few old machines around that could be fired up and used as test beds. I am tied up with end of term stuff for the next week or so, but then my time will be a bit more flexible. Cheers, Roger
Re: [gentoo-user] sys-kernel/ck-sources - why should I use them?
On Tuesday 20 April 2010 16:41:03 Helmut Jarausch wrote: On 20 Apr, Volker Armin Hemmann wrote: On Dienstag 20 April 2010, Helmut Jarausch wrote: Hi, has anybody experience with these new sys-kernel/ck-sources? I could only see they have additional patches (in addition to those of gentoo-sources). But I didn't find which patches and why these have only been applied to ck-sources? Thanks for your opinion, Helmut. if you have more than 2 cores, you shouldn't use them ;) Why, it's said to scale well up to 16 cores (at least)? Does ck-sources apply the bfs patches? -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] xorg-server upgrade
Alan McKinnon wrote: On Wednesday 21 April 2010 02:05:54 Peter Humphrey wrote: On Wednesday 21 April 2010 00:33:19 Mark Knecht wrote: Check out module-rebuild. You put a list of packages in it How and where does one do that? by running module-rebuild populate That syntax might not be correct. The man page will tell you. The man page is always your first point of reference. LOL. No man page for that here. r...@smoker ~ # man module-rebuild No manual entry for module-rebuild r...@smoker ~ # I don't have the man page but I also don't have that command either. Didn't that used to be part of another package? I could have sworn I used that before. I did find the package it belongs to. It's module-rebuild of course. ;-) Dale :-) :-)
Re: [gentoo-user] In which order services are started?
Alex Schuster wrote: Jarry writes: Is there any way to find out in which order services are started during boot-up (except for looking at boot-up screen and making notes)? I think the output of 'rc-status' shows the services in the right order. Wonko It may be a coincidence but mine are alphabetical. Also, mine only shows the ones in the current runlevel, default at the moment. It does not list the ones in the boot runlevel. Dale :-) :-)
[gentoo-user] Re: sys-kernel/ck-sources - why should I use them?
On 04/21/2010 12:59 PM, Alan McKinnon wrote: On Tuesday 20 April 2010 16:41:03 Helmut Jarausch wrote: On 20 Apr, Volker Armin Hemmann wrote: On Dienstag 20 April 2010, Helmut Jarausch wrote: Hi, has anybody experience with these new sys-kernel/ck-sources? I could only see they have additional patches (in addition to those of gentoo-sources). But I didn't find which patches and why these have only been applied to ck-sources? Thanks for your opinion, Helmut. if you have more than 2 cores, you shouldn't use them ;) Why, it's said to scale well up to 16 cores (at least)? Does ck-sources apply the bfs patches? Yes. Though it applies everything, not just BFS, and I'm not sure if this a good idea or not.
[gentoo-user] CUPS-1.5 (SVN) anybody/anywhere
Hi, has anybody experience with CUPS-1.5 (i.e. the svn version)? Does anybody know where to find an ebuild for net-print/cups- ? Many thanks for a hint, Helmut. -- Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany
Re: [gentoo-user] In which order services are started?
On Wed, Apr 21, 2010 at 05:05:46AM -0500, Dale wrote: Alex Schuster wrote: Jarry writes: Is there any way to find out in which order services are started during boot-up (except for looking at boot-up screen and making notes)? I think the output of 'rc-status' shows the services in the right order. Wonko It may be a coincidence but mine are alphabetical. Also, mine only shows the ones in the current runlevel, default at the moment. It does not list the ones in the boot runlevel. rc-status --all yoyo
Re: [gentoo-user] Re: [OT] Setting up a fall back ISP SMTP in sendmail
On Tuesday 20 April 2010 15:53:01 Harry Putnam wrote: I think you all are missing something... sendmail is better documented than any of the other pretenders. One has to understand what the various MTAs out there were built to do, and what their feature list is: sendmail comes from ancient days. It was written to be able to route almost any kind of mail using almost any kind of addressing scheme to and from almost any kind of network. So it is quite happy receiving SMTP mail from the internet and routing it to a FidoNet address. To do this, it has to reread it's routing table with every message, therefore .cf was designed to be machine efficient but still use only ASCII characters. Which led to m4 being developed to make it easier, and I've even seen more simple apps that are front ends to m4. After a while you start asking Wow, is this complexity actually needed? Postfix was designed to remove the sendmail complexity from a sysadmin's life while still being somewhat familiar. It's claim to fame is the ability to pump enormous amounts of mail down a pipe and keep the routing rules simple. I have two Postfix relays, both of them can deal with 3 million mails a day without breaking a sweat. Let me put that in perspective, it's about 30 mails a second, every second. Postfix is so good at this, I can run them as VMWare virtual machine. exim doesn't fare quite as well as Postfix in the raw throughput department, but it is very very good at giving the sysadmin efficient filtering/routing rules. qmail is, how shall I put this? Something that Dan wrote? Dan likes to find fault in the detail with almost all software and likes to perform experiments to prove himself right. He also likes to do all of this his own way with the result that his stuff is a square peg and you have a round hole. Most sysadmins I know consider the pain of using qmail to not offset the benefit of using qmail, therefore they don't use it. Now understand, that I am easily the dullest knife in the drawer on this list even though by unix/linux standards I'm fairly long in the tooth having started my computing skills in 1996 and broke in on redhat at that time (using sendmail). I'm sad to say, I'm still a noob in a vast number of areas. I've used sendmail all that time. If I can figure out how to use it It really must not be that hard. At least not hard to find piles of help on google. Postfix's web site has an enormous amount of documentation on everything related to Postfix. Admittedly though my usage has always been just a homeboy home lan administrator so closest I ever come to using sendmail anything like what its target usage base is, would be a home lan mailhub. Unless, I'm terribly misinformed, sendmail is still the most commonly used mta in the unix world of servers. Yes, you are misinformed. My logs show very little mail being received from sendmail MTAs. There may well be large numbers of ancient sendmail installs out there, but they do not account for a large fraction of the mail being sent. That trophy belongs to Windows zombie bots At least according to http://en.wikipedia.org/wiki/Sendmail Qmail home page says it is the second most common MTA but doesn't say who is first its sendmail... I'm pretty sure. About all the snipes concerning hacking sendmail.cf... I'm sure you are all aware that any hacking needs to happen in sendmail.mc... then let m4 sort out sendmail.cf. Even a cursory glance at sendmail shows that it was designed in a time with a different mindset and different needs to what we do these days. Sendmail will never escape this legacy because it is what it is and that is it's purpose. It's not as bad as buggy whips, but the same principle is at work. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: [OT] Setting up a fall back ISP SMTP in sendmail
On Tuesday 20 April 2010 17:51:12 Harry Putnam wrote: Grant Edwards grant.b.edwa...@gmail.com writes: On 2010-04-20, Harry Putnam rea...@newsguy.com wrote: About all the snipes concerning hacking sendmail.cf... I'm sure you are all aware that any hacking needs to happen in sendmail.mc... then let m4 sort out sendmail.cf. IOW, sendmail has a configuration file so incomprehensible that the configuration file needs a configuration file. Internet mail is quite complex, yes. This statement is the source of the confusion surrounding sendmail. Internet mail is not complex, it is stunningly simple: mail comes in, look up where it should go, send it there In between you might hand the message off to virus and spam scanners, you might look up an ACL before accepting it coming in, but those are all additives to find valid mail. Remove the additives, and you get the amazingly simple lookup table scheme described above. There isn't even an inherent difference between relays and final destination MTAs, they still send the mail somewhere. The difference is in the viewpoint of the sysadmin. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: sys-kernel/ck-sources - why should I use them?
On Wednesday 21 April 2010 12:08:47 Nikos Chantziaras wrote: On 04/21/2010 12:59 PM, Alan McKinnon wrote: On Tuesday 20 April 2010 16:41:03 Helmut Jarausch wrote: On 20 Apr, Volker Armin Hemmann wrote: On Dienstag 20 April 2010, Helmut Jarausch wrote: Hi, has anybody experience with these new sys-kernel/ck-sources? I could only see they have additional patches (in addition to those of gentoo-sources). But I didn't find which patches and why these have only been applied to ck-sources? Thanks for your opinion, Helmut. if you have more than 2 cores, you shouldn't use them ;) Why, it's said to scale well up to 16 cores (at least)? Does ck-sources apply the bfs patches? Yes. Though it applies everything, not just BFS, and I'm not sure if this a good idea or not. How is ck-sources different from zen-sources? zen-sources seems to be a gigantic mixing pot of every possible patch set ever written that might be useful to someone somewhere... -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] xorg-server upgrade
On Wednesday 21 April 2010 12:03:18 Dale wrote: Alan McKinnon wrote: On Wednesday 21 April 2010 02:05:54 Peter Humphrey wrote: On Wednesday 21 April 2010 00:33:19 Mark Knecht wrote: Check out module-rebuild. You put a list of packages in it How and where does one do that? by running module-rebuild populate That syntax might not be correct. The man page will tell you. The man page is always your first point of reference. LOL. No man page for that here. r...@smoker ~ # man module-rebuild No manual entry for module-rebuild r...@smoker ~ # I don't have the man page but I also don't have that command either. Didn't that used to be part of another package? I could have sworn I used that before. I did find the package it belongs to. It's module-rebuild of course. ;-) Treat man pages as a slang synonym for however the package is documented ;-) /usr/sbin/module-rebuild --help -- alan dot mckinnon at gmail dot com
[gentoo-user] Re: sys-kernel/ck-sources - why should I use them?
On 04/21/2010 01:26 PM, Alan McKinnon wrote: On Wednesday 21 April 2010 12:08:47 Nikos Chantziaras wrote: On 04/21/2010 12:59 PM, Alan McKinnon wrote: On Tuesday 20 April 2010 16:41:03 Helmut Jarausch wrote: On 20 Apr, Volker Armin Hemmann wrote: On Dienstag 20 April 2010, Helmut Jarausch wrote: Hi, has anybody experience with these new sys-kernel/ck-sources? I could only see they have additional patches (in addition to those of gentoo-sources). But I didn't find which patches and why these have only been applied to ck-sources? Thanks for your opinion, Helmut. if you have more than 2 cores, you shouldn't use them ;) Why, it's said to scale well up to 16 cores (at least)? Does ck-sources apply the bfs patches? Yes. Though it applies everything, not just BFS, and I'm not sure if this a good idea or not. How is ck-sources different from zen-sources? ck-sources only applies CK's patches.
Re: [gentoo-user] Re: sys-kernel/ck-sources - why should I use them?
On Wed, 21 Apr 2010 12:26:13 +0200, Alan McKinnon wrote: Yes. Though it applies everything, not just BFS, and I'm not sure if this a good idea or not. How is ck-sources different from zen-sources? zen-sources seems to be a gigantic mixing pot of every possible patch set ever written that might be useful to someone somewhere... Maybe some sort of super-sources package, with the various patches controlled by USE flags would be a good idea. Then we could have a kernel with just the patches we want, like: USE=gentoo reiser4 -bfs emerge super-sources -- Neil Bothwick What do you have when you have six lawyers buried up to their necks in sand? Not enough sand. signature.asc Description: PGP signature
Re: [gentoo-user] Re: sys-kernel/ck-sources - why should I use them?
Am 21.04.2010 13:14, schrieb Neil Bothwick: Maybe some sort of super-sources package, with the various patches controlled by USE flags would be a good idea. Then we could have a kernel with just the patches we want, like: USE=gentoo reiser4 -bfs emerge super-sources Are we too late for google summer of code 2010? kh
Re: [gentoo-user] Updates = slow firefox
ummm .. ok ? so your using the default xorg.conf .. could be why youve got bad performance. http://www.gentoo.org/doc/en/xorg-config.xml - deface But the new version of xorg (from circa 1.7) dont really need xorg.conf, moreover its discouraged to use one. (or just i think so) You only dont need xorg.conf IF it works without itand even if it does work without it, its unlikely to be the best config. grep ^\(EE /var/log/Xorg.0.log and post the result.
Re: [gentoo-user] Updates = slow firefox
On 21 April 2010 12:26, Adam a...@jaftan.com.au wrote: ummm .. ok ? so your using the default xorg.conf .. could be why youve got bad performance. http://www.gentoo.org/doc/en/xorg-config.xml - deface But the new version of xorg (from circa 1.7) dont really need xorg.conf, moreover its discouraged to use one. (or just i think so) You only dont need xorg.conf IF it works without itand even if it does work without it, its unlikely to be the best config. grep ^\(EE /var/log/Xorg.0.log and post the result. As far as I recall xulrunner/ff asked for revdep-rebuild to be run after emerging it. Have you done this plus lafixer --justfixit for good measure? -- Regards, Mick
Re: [gentoo-user] Re: xorg-server upgrade
On 4/21/2010 1:41 AM, Graham Murray wrote: walt w41...@gmail.com writes: That was true in the past, but no longer. The recent release of xorg 1.8 specifically says that hal will not be supported in any future xorg versions, so we should all start looking beyond hal. Don't spend a lot of effort now learning about hal because it's on the way out. (Not many people mourning it's impending demise, apparently.) And if you use udev then you need an (at least minimal) xorg.conf. With the new modular xorg.conf.d setup, you really don't. I have no xorg.conf and the only thing I'm missing is the mouse wheel emulation on my touchpad. The xorg-server package includes configuration segments that handle the basic input devices for you, and the server itself is pretty good as figuring out your output devices. --Mike
[gentoo-user] Re: [OT] Setting up a fall back ISP SMTP in sendmail
On 2010-04-21, Alan McKinnon alan.mckin...@gmail.com wrote: On Tuesday 20 April 2010 15:53:01 Harry Putnam wrote: I think you all are missing something... sendmail is better documented than any of the other pretenders. One has to understand what the various MTAs out there were built to do, and what their feature list is: sendmail comes from ancient days. It was written to be able to route almost any kind of mail using almost any kind of addressing scheme to and from almost any kind of network. Very true. And since nobody (that I know of) needs that capability any longer, asking modern Linux users to continue to pay for that capability everytime they try to tweak the MTA configuration seems a tad silly. So it is quite happy receiving SMTP mail from the internet and routing it to a FidoNet address. To do this, it has to reread it's routing table with every message, therefore .cf was designed to be machine efficient but still use only ASCII characters. Which led to m4 being developed Sendmail didn't lead to m4 being developed. m4 was developed by KR in the mid 70's. Sendmail didn't happen until the early 80's. According to Wikipedia, sendmail first shipped with BSD 4.1c in 1983. Unless in this context, m4 doesn't refer to the m4 macro processor and associated language? I always thought that the m4 used to encrypt sendmail configurations was the standard Unix m4 that was developed for Ratfor in the 70's. Wikipedia seems to confirm that, saying that The implementation of Rational Fortran used m4 as its macro engine from the beginning, but Wikipedia also says that m4 was developed in 77 and Ratfor in 74. Both were developed by KR, so I suppose it could be that m4 was used by Ratfor for a couple years before m4 went public as a seperate program. Even a cursory glance at sendmail shows that it was designed in a time with a different mindset and different needs to what we do these days. Sendmail will never escape this legacy because it is what it is and that is it's purpose. It's not as bad as buggy whips, but the same principle is at work. The UHH chapter on sendmail has some great examples of sendmail address parsing/transformation run amok. -- Grant Edwards grant.b.edwardsYow! My polyvinyl cowboy at wallet was made in Hong gmail.comKong by Montgomery Clift!
Re: [gentoo-user] Re: Where's my wireless AP?
# iw reg get country 00: (2402 - 2472 @ 40), (6, 20) (2457 - 2482 @ 20), (6, 20), PASSIVE-SCAN, NO-IBSS (2474 - 2494 @ 20), (6, 20), NO-OFDM, PASSIVE-SCAN, NO-IBSS (5170 - 5250 @ 40), (6, 20), PASSIVE-SCAN, NO-IBSS (5735 - 5835 @ 40), (6, 20), PASSIVE-SCAN, NO-IBSS I guess country 00 means no country code? Just try to set up ieee80211_regdom=EU for module cfg80211. ---8--- # modprobe -v cfg80211 ieee80211_regdom=EU insmod /lib/modules/2.6.32-tuxonice-r5/kernel/net/wireless/cfg80211.ko ieee80211_regdom=EU # dmesg cfg80211: Using static regulatory domain info cfg80211: Regulatory domain: EU (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) (2402000 KHz - 2482000 KHz @ 4 KHz), (600 mBi, 2000 mBm) (517 KHz - 519 KHz @ 4 KHz), (600 mBi, 2300 mBm) (519 KHz - 521 KHz @ 4 KHz), (600 mBi, 2300 mBm) (521 KHz - 523 KHz @ 4 KHz), (600 mBi, 2300 mBm) (523 KHz - 533 KHz @ 4 KHz), (600 mBi, 2000 mBm) (549 KHz - 571 KHz @ 4 KHz), (600 mBi, 3000 mBm) cfg80211: Calling CRDA for country: EU cfg80211: Calling CRDA for country: EU # iw reg get country EU: (2402 - 2482 @ 40), (6, 20) (5170 - 5190 @ 40), (6, 23), PASSIVE-SCAN (5190 - 5210 @ 40), (6, 23), PASSIVE-SCAN (5210 - 5230 @ 40), (6, 23), PASSIVE-SCAN (5230 - 5330 @ 40), (6, 20), DFS, NO-IBSS (5490 - 5710 @ 40), (6, 30), DFS, NO-IBSS ---8--- regards, Steffen
Re: [gentoo-user] 'wifi' USE flag in firefox
On Tue, Apr 20, 2010 at 5:55 PM, Stroller strol...@stellar.eclipse.co.uk wrote: On 20 Apr 2010, at 13:17, Mick wrote: ... Introduced in Gecko 1.9.1: Code with UniversalXPConnect privileges can monitor the list of available WiFi access points to obtain information about them including their SSID, MAC address, and signal strength. This capability was introduced primarily to allow WiFi-based location services to be used by geolocation services. Hmm Mozilla's netlib. I had a look at the slides and bits of the documentation on the Mozilla website, but I am still not really clear what it does, or why it is needed. I *believe* that the idea of having geolocation accessible to the browser is so that websites should be able to provide locally-relevant information. The classic browser has no idea where you are, so if you open the homepage of Starbucks / McDonalds / Burgerking / Tesco / Sainsburys / whatever and click on find my nearest store then you'll need to enter your zip code in order for the site to provide you that information. I *believe* that a geolocation-aware browser would be able to tell the site where you are. So as soon as you open the webpage, the site will query your browser, your browser will tell it where you are and an AJAXy element on the page would say Your nearest Tesco store is 13th Street... Click here for directions. There are already big sites like Twitter and Google Maps that use the geolocation API. Give it a try: http://www.google.com/maps/m If it is able to get your location, it should have a little dot in the bottom-right corner that will take you to your current location when clicked. The browser asks for your permission before giving your location away to a website, so there's no need to worry about privacy as far as I can tell. It is surprisingly accurate, I don't know what kind of magic they use but I live in a small town (1 square mile in size) and it was able to pinpoint me down to that level. Maybe from my search/browsing history? I don't know... maybe I don't want to know. :) What if the Google Street View vans, in addition to taking photographs, were also scanning for wifi signals and recording their location? That would give them an impressive database of wifi hotspots. And, of course, like you said, when I run Firefox on my phone it uses the built-in GPS receiver and can find me quite easily. If there's no GPS signal available it uses a database of cellular tower locations to triangulate where I am, which is much less accurate than GPS but still accurate enough to show within a few blocks of where I am. There are several mobile-oriented sites that use this API today for local searches and so on.
Re: [gentoo-user] 'wifi' USE flag in firefox
On Wed, Apr 21, 2010 at 10:01:20AM -0500, Paul Hartman wrote: There are already big sites like Twitter and Google Maps that use the geolocation API. Give it a try: http://www.google.com/maps/m If it is able to get your location, it should have a little dot in the bottom-right corner that will take you to your current location when clicked. The browser asks for your permission before giving your location away to a website, so there's no need to worry about privacy as far as I can tell. It is surprisingly accurate, I don't know what kind of magic they use but I live in a small town (1 square mile in size) and it was able to pinpoint me down to that level. Maybe from my search/browsing history? I don't know... maybe I don't want to know. :) I think it doesn't locate you but your dslam or its fiber or voiceband equivalent. Well, it's only a supposition and I may be all wrong but it sounds more realistic than infering your physical location based on your browsing history :D -- Éric Valérian DUNAND pgp6iLHRDCDYG.pgp Description: PGP signature
[gentoo-user] cyrus-sasl 2.1.23 remote server rejected your credentials
Hi, Using Postfix and TLS for a MTA, my password is rejected. Here the log message: saslauthd[4358]: do_auth : auth failure: [user=u...@domain.com] [service=smtp] [realm=domain.com] [mech=rimap] [reason=remote server rejected your credentials] could it be a bug from cyrus-sasl 2.1.23 ? thx Laurent
[gentoo-user] K3b does not find burning device
Hi, K3b suddenly cannot find any burning device of my system. Hald is running. vlc can acces the drive for playing dvds. kdebase-runtime-meta is installed. k3b was recompiled without problems. The Configuration dialog of k3b states for both kind of drives none. And me? I have really no idea, what is happening here. Previously it works perfectly and I dont know when its stops working, since I dont burn dvds that often. Wgat can I do? Thank you very much in advance for any help! Best regards, mcc -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.
Re: [gentoo-user] K3b does not find burning device
On Wed, Apr 21, 2010 at 12:26 PM, meino.cra...@gmx.de wrote: Hi, K3b suddenly cannot find any burning device of my system. Hald is running. vlc can acces the drive for playing dvds. kdebase-runtime-meta is installed. k3b was recompiled without problems. The Configuration dialog of k3b states for both kind of drives none. And me? I have really no idea, what is happening here. Previously it works perfectly and I dont know when its stops working, since I dont burn dvds that often. Wgat can I do? Thank you very much in advance for any help! Hi, What if you run k3b as root? Can it see it then? Maybe it's a permissions issue.
Re: [gentoo-user] K3b does not find burning device
Paul Hartman paul.hartman+gen...@gmail.com [10-04-21 20:12]: On Wed, Apr 21, 2010 at 12:26 PM, meino.cra...@gmx.de wrote: Hi, K3b suddenly cannot find any burning device of my system. Hald is running. vlc can acces the drive for playing dvds. kdebase-runtime-meta is installed. k3b was recompiled without problems. The Configuration dialog of k3b states for both kind of drives none. And me? I have really no idea, what is happening here. Previously it works perfectly and I dont know when its stops working, since I dont burn dvds that often. Wgat can I do? Thank you very much in advance for any help! Hi, What if you run k3b as root? Can it see it then? Maybe it's a permissions issue. No, that was my first idea, too, Same behaviour. Additionally vlc can acces the drive with user permissions... Does hald do something wrong ? How can I proof that (I dont like hald that much...) ? Best regards, mcc -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.
Re: [gentoo-user] K3b does not find burning device
On Wed, Apr 21, 2010 at 1:21 PM, meino.cra...@gmx.de wrote: Paul Hartman paul.hartman+gen...@gmail.com [10-04-21 20:12]: On Wed, Apr 21, 2010 at 12:26 PM, meino.cra...@gmx.de wrote: Hi, K3b suddenly cannot find any burning device of my system. Hald is running. vlc can acces the drive for playing dvds. kdebase-runtime-meta is installed. k3b was recompiled without problems. The Configuration dialog of k3b states for both kind of drives none. And me? I have really no idea, what is happening here. Previously it works perfectly and I dont know when its stops working, since I dont burn dvds that often. Wgat can I do? Thank you very much in advance for any help! Hi, What if you run k3b as root? Can it see it then? Maybe it's a permissions issue. No, that was my first idea, too, Same behaviour. Additionally vlc can acces the drive with user permissions... Does hald do something wrong ? How can I proof that (I dont like hald that much...) ? You can use the command hal-device to see which devices HAL can see. For example my CD/DVD burner shows up in the list as: 2: udi = '/org/freedesktop/Hal/devices/storage_model_DVD_RW_AD_7240S' info.category = 'storage' (string) info.capabilities = { 'storage', 'block', 'storage.cdrom' } (string list) info.addons = { 'hald-addon-storage' } (string list) storage.cdrom.cdr = true (bool) storage.cdrom.cdrw = true (bool) storage.cdrom.dvd = true (bool) storage.cdrom.dvdr = true (bool) storage.cdrom.dvdrw = true (bool) storage.cdrom.dvdrdl = true (bool) storage.cdrom.dvdram = true (bool) storage.cdrom.dvdplusr = true (bool) storage.cdrom.dvdplusrw = true (bool) storage.cdrom.dvdplusrwdl = false (bool) storage.cdrom.dvdplusrdl = true (bool) storage.cdrom.bd = false (bool) storage.cdrom.bdr = false (bool) storage.cdrom.bdre = false (bool) storage.cdrom.hddvd = false (bool) storage.cdrom.hddvdr = false (bool) storage.cdrom.hddvdrw = false (bool) storage.cdrom.mo = false (bool) storage.cdrom.mrw = true (bool) storage.cdrom.mrw_w = true (bool) storage.cdrom.support_media_changed = true (bool) storage.cdrom.support_multisession = true (bool) storage.cdrom.read_speed = 8467 (0x2113) (int) storage.cdrom.write_speed = 8467 (0x2113) (int) storage.cdrom.write_speeds = { '8467', '7056', '5645', '4234', '2822', '1411' } (string list) block.storage_device = '/org/freedesktop/Hal/devices/storage_model_DVD_RW_AD_7240S' (string) org.freedesktop.Hal.Device.Storage.method_names = { 'Eject', 'CloseTray' } (string list) org.freedesktop.Hal.Device.Storage.method_signatures = { 'as', 'as' } (string list) org.freedesktop.Hal.Device.Storage.method_argnames = { 'extra_options', 'extra_options' } (string list) org.freedesktop.Hal.Device.Storage.method_execpaths = { 'hal-storage-eject', 'hal-storage-closetray' } (string list) org.freedesktop.Hal.Device.Volume.method_names = { 'Mount', 'Unmount', 'Eject' } (string list) org.freedesktop.Hal.Device.Volume.method_signatures = { 'ssas', 'as', 'as' } (string list) org.freedesktop.Hal.Device.Volume.method_argnames = { 'mount_point fstype extra_options', 'extra_options', 'extra_options' } (string list) org.freedesktop.Hal.Device.Volume.method_execpaths = { 'hal-storage-mount', 'hal-storage-unmount', 'hal-storage-eject' } (string list) volume.mount.valid_options = { 'ro', 'sync', 'dirsync', 'noatime', 'nodiratime', 'relatime', 'noexec', 'quiet', 'remount', 'exec', 'utf8', 'shortname=', 'codepage=', 'iocharset=', 'umask=', 'uid=' } (string list) info.product = 'DVD RW AD-7240S' (string) info.udi = '/org/freedesktop/Hal/devices/storage_model_DVD_RW_AD_7240S' (string) block.device = '/dev/sr0' (string) block.major = 11 (0xb) (int) block.minor = 0 (0x0) (int) block.is_volume = false (bool) storage.bus = 'pci' (string) storage.no_partitions_hint = true (bool) storage.media_check_enabled = false (bool) storage.automount_enabled_hint = true (bool) storage.drive_type = 'cdrom' (string) storage.model = 'DVD RW AD-7240S' (string) storage.vendor = 'Optiarc' (string) storage.lun = 0 (0x0) (int) storage.originating_device = '/org/freedesktop/Hal/devices/computer' (string) storage.removable.media_available = false (bool) storage.removable = true (bool) storage.size = 0 (0x0) (uint64) storage.removable.support_async_notification = false (bool) storage.hotpluggable = false (bool) storage.requires_eject = true (bool) linux.sysfs_path = '/sys/devices/pci:00/:00:1c.1/:08:00.0/host15/target15:0:0/15:0:0:0/block/sr0' (string) info.parent = '/org/freedesktop/Hal/devices/pci_197b_2363_scsi_host_scsi_device_lun0' (string) info.interfaces = { 'org.freedesktop.Hal.Device.Volume', 'org.freedesktop.Hal.Device.Storage', 'org.freedesktop.Hal.Device.Storage', 'org.freedesktop.Hal.Device.Storage.Removable' } (string list) info.vendor = 'Optiarc' (string)
Re: [gentoo-user] Updates = slow firefox
ummm .. ok ? so your using the default xorg.conf .. could be why youve got bad performance. http://www.gentoo.org/doc/en/xorg-config.xml - deface But the new version of xorg (from circa 1.7) dont really need xorg.conf, moreover its discouraged to use one. (or just i think so) You only dont need xorg.conf IF it works without itand even if it does work without it, its unlikely to be the best config. grep ^\(EE /var/log/Xorg.0.log and post the result. Could this be the problem? # grep ^\(EE /var/log/Xorg.0.log (EE) Failed to load module vesa (module does not exist, 0) (EE) Failed to load module fbdev (module does not exist, 0) (EE) intel(0): [drm] Failed to open DRM device for : No such file or directory (EE) intel(0): Failed to become DRM master. (EE) intel(0): Failed to initialize kernel memory manager - Grant
Re: [gentoo-user] In which order services are started?
YoYo siska wrote: On Wed, Apr 21, 2010 at 05:05:46AM -0500, Dale wrote: Alex Schuster wrote: Jarry writes: Is there any way to find out in which order services are started during boot-up (except for looking at boot-up screen and making notes)? I think the output of 'rc-status' shows the services in the right order. Wonko It may be a coincidence but mine are alphabetical. Also, mine only shows the ones in the current runlevel, default at the moment. It does not list the ones in the boot runlevel. rc-status --all yoyo It shows all runlevels but they are still all in alphabetical order. Dale :-) :-)
Re: [gentoo-user] Re: Where's my wireless AP?
On Wednesday 21 April 2010 15:41:26 Steffen Loos wrote: I guess country 00 means no country code? Just try to set up ieee80211_regdom=EU for module cfg80211. ---8--- # modprobe -v cfg80211 ieee80211_regdom=EU insmod /lib/modules/2.6.32-tuxonice-r5/kernel/net/wireless/cfg80211.ko ieee80211_regdom=EU # dmesg cfg80211: Using static regulatory domain info cfg80211: Regulatory domain: EU (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) (2402000 KHz - 2482000 KHz @ 4 KHz), (600 mBi, 2000 mBm) (517 KHz - 519 KHz @ 4 KHz), (600 mBi, 2300 mBm) (519 KHz - 521 KHz @ 4 KHz), (600 mBi, 2300 mBm) (521 KHz - 523 KHz @ 4 KHz), (600 mBi, 2300 mBm) (523 KHz - 533 KHz @ 4 KHz), (600 mBi, 2000 mBm) (549 KHz - 571 KHz @ 4 KHz), (600 mBi, 3000 mBm) cfg80211: Calling CRDA for country: EU cfg80211: Calling CRDA for country: EU # iw reg get country EU: (2402 - 2482 @ 40), (6, 20) (5170 - 5190 @ 40), (6, 23), PASSIVE-SCAN (5190 - 5210 @ 40), (6, 23), PASSIVE-SCAN (5210 - 5230 @ 40), (6, 23), PASSIVE-SCAN (5230 - 5330 @ 40), (6, 20), DFS, NO-IBSS (5490 - 5710 @ 40), (6, 30), DFS, NO-IBSS ---8--- Thanks for your suggestion. It won't play I'm afraid: # modprobe -v cfg80211 ieee80211_regdom=EUinsmod /lib/modules/2.6.33-gentoo- r1/kernel/net/wireless/cfg80211.ko ieee80211_regdom=EU 20:35:58 r...@dell_xps:[/home/michael]# modprobe -v b43 insmod /lib/modules/2.6.33-gentoo-r1/kernel/net/mac80211/mac80211.ko insmod /lib/modules/2.6.33-gentoo-r1/kernel/drivers/ssb/ssb.ko insmod /lib/modules/2.6.33-gentoo-r1/kernel/drivers/net/wireless/b43/b43.ko qos=0 # iw reg get country 00: (2402 - 2472 @ 40), (6, 20) (2457 - 2482 @ 20), (6, 20), PASSIVE-SCAN, NO-IBSS (2474 - 2494 @ 20), (6, 20), NO-OFDM, PASSIVE-SCAN, NO-IBSS (5170 - 5250 @ 40), (6, 20), PASSIVE-SCAN, NO-IBSS (5735 - 5835 @ 40), (6, 20), PASSIVE-SCAN, NO-IBSS From dmesg: cfg80211: Using static regulatory domain info cfg80211: Regulatory domain: 00 (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) (2402000 KHz - 2472000 KHz @ 4 KHz), (600 mBi, 2000 mBm) (2457000 KHz - 2482000 KHz @ 2 KHz), (600 mBi, 2000 mBm) (2474000 KHz - 2494000 KHz @ 2 KHz), (600 mBi, 2000 mBm) (517 KHz - 525 KHz @ 4 KHz), (600 mBi, 2000 mBm) (5735000 KHz - 5835000 KHz @ 4 KHz), (600 mBi, 2000 mBm) cfg80211: Calling CRDA to update world regulatory domain cfg80211: Calling CRDA for country: EU Anyway, with the new kernel it now works in all channels, so that's good enough for me. :-) -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] gentoo-box stopping services
On Tuesday 20 April 2010 13:01:52 Stefan G. Weichinger wrote: greetings, gentoo-users ... One of my customers runs an old P3 as a mail-gateway and samba-server (yeah, I know ...) behind his firewall ... They simply don't want to swap hardware, they are happy ... until the following started to happen every week or so: The server goes offline, you can ping it OK but services like smbd, postfix, sshd all are not reachable anymore. I see the open ports with nmap from my machine ... but they are shown as closed. When the guy there restarts sshd on the server itself I am able to login again without a problem. There are no bad messages in dmesg and/or /var/log/messages. But this seems to be related to the fact that syslog-ng also is inactive then ... so who should log errors ... ? -- I thought maybe the NIC has a problem? Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) but as it doesn't lose its IP and config I think that is not the case here? Have you looked at dmesg in case there is something there that the kernel's spewed out? Also, you haven't run out of space? df -h -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] In which order services are started?
Dale writes: Alex Schuster wrote: Jarry writes: Is there any way to find out in which order services are started during boot-up (except for looking at boot-up screen and making notes)? I think the output of 'rc-status' shows the services in the right order. It may be a coincidence but mine are alphabetical. This may be a baselayout-2 thing then. Here the output looks like this: wo...@weird ~ $ rc-status boot|cut -d -f 2 boot hwclock modules lvm device-mapper dmcrypt fsck root mtab localmount hostname sysctl bootmisc procfs termencoding consolefont keymaps net.lo urandom swap wo...@weird ~ $ rc-status default|cut -d -f 2 default hdparm net.eth0 rsyncd metalog hald cupsd nfs nfsmount netmount gpm xdm alsasound distccd fcron lm_sensors mysql ntpd smartd sshd udev-postmount vmware local Wonko
[gentoo-user] Confusion with eix output
I am having some trouble, I think, with my nvidia video driver, and eix produces some output I cannot decipher from information in the man page: jlc64 X11 # eix nvidia-drivers [D] x11-drivers/nvidia-drivers Available versions: [M]71.86.07!s [M]~71.86.09!s 96.43.09!s ~96.43.11!s 173.14.15!s ~173.14.18!s 180.29!s ~180.60!s {acpi custom-cflags gtk kernel_FreeBSD kernel_linux multilib userland_BSD} Installed versions: 190.42-r3!s(11:04:43 AM 04/21/2010)(acpi gtk kernel_linux multilib -custom-cflags) Homepage:http://www.nvidia.com/ Description: NVIDIA X11 driver and GLX libraries The man page goes into great detail how to specify many things, but doesn't explain in simple terms the format of its default outputs. In particular, I don't understand what the [D] means, but would appreciate any clues to a more comprehensible explanation for all its output. -- Jim
Re: [gentoo-user] Updates = slow firefox
On 4/21/2010 3:07 PM, Grant wrote: Could this be the problem? # grep ^\(EE /var/log/Xorg.0.log (EE) Failed to load module vesa (module does not exist, 0) (EE) Failed to load module fbdev (module does not exist, 0) (EE) intel(0): [drm] Failed to open DRM device for : No such file or directory (EE) intel(0): Failed to become DRM master. (EE) intel(0): Failed to initialize kernel memory manager The first two errors are fine; Xorg defaults to trying vesa and fbdev as display drivers and you just don't have them. The last three are your problem. The intel video driver is unable to properly access the DRM subsystem, which will definitely cause X to slow to a crawl. The most likely cause of your errors is that the intel AGP driver (i810 or i915, depending on your hardware) isn't getting loaded. If that's the case, you should see an error such as: [drm] failed to load kernel module i915 in Xorg.0.log just before the ones from intel. If the modules are being loaded, you'll likely see some other errors around that same area. The aren't tagged with (EE), unfortunately; try: # grep -5 'Failed to open DRM' Xorg.0.log You can also check your dmesg output to see if the devices are being initialized properly: platypus log # dmesg | grep agp Linux agpgart interface v0.103 agpgart-intel :00:00.0: Intel 965GM Chipset agpgart-intel :00:00.0: detected 7676K stolen memory agpgart-intel :00:00.0: AGP aperture is 256M @ 0xe000 platypus log # dmesg | grep drm [drm] Initialized drm 1.1.0 20060810 [drm] set up 7M of stolen space [drm] initialized overlay support fb0: inteldrmfb frame buffer device [drm] Initialized i915 1.6.0 20080730 for :00:02.0 on minor 0 If everything's working, you should have the following devices that the Xorg driver needs: platypus log # ls -l /dev/dri total 0 crw-rw 1 root video 226, 0 Apr 20 13:11 card0 crw-rw 1 root video 226, 64 Apr 20 13:11 controlD64
[gentoo-user] cyrus-sasl 2.1.23 remote server rejected your credentials
ok, it's 3 days I'm tryin to fix my smtp connection, I have been through the whole configuration many times and getting the certificates also. The last thing I did is add this line again in /etc/postfix/main.cf: smtpd_sasl_path = smtpd which changed the error into a warning for postfix: warning: foo[b.a.r.x]: SASL PLAIN authentication failed: authentication failure then, same for LOGIN: postfix/smtpd[3962]: warning: foo[b.a.r.x]: SASL LOGIN authentication failed: authentication failure I used this howto at first: http://www.gentoo.org/doc/fr/virt-mail-howto.xml and it was working for a long time. I can post mor info if you need. thx Laurent
Re: [gentoo-user] In which order services are started?
Alex Schuster wrote: Dale writes: Alex Schuster wrote: Jarry writes: Is there any way to find out in which order services are started during boot-up (except for looking at boot-up screen and making notes)? I think the output of 'rc-status' shows the services in the right order. It may be a coincidence but mine are alphabetical. This may be a baselayout-2 thing then. Here the output looks like this: wo...@weird ~ $ rc-status boot|cut -d -f 2 boot hwclock modules lvm device-mapper dmcrypt fsck root mtab localmount hostname sysctl bootmisc procfs termencoding consolefont keymaps net.lo urandom swap wo...@weird ~ $ rc-status default|cut -d -f 2 default hdparm net.eth0 rsyncd metalog hald cupsd nfs nfsmount netmount gpm xdm alsasound distccd fcron lm_sensors mysql ntpd smartd sshd udev-postmount vmware local Wonko I'm still on baselayout 1 here. Your list does look different from mine tho. Every one of mine is alphabetical. Funny thing is, some geel most likely thought it would be neat to list them that way and went to the trouble of having it sort them for us. Osrt of like the world file. Mine is alphabetical there as well. Dale :-) :-)
Re: [gentoo-user] Updates = slow firefox
Could this be the problem? # grep ^\(EE /var/log/Xorg.0.log (EE) Failed to load module vesa (module does not exist, 0) (EE) Failed to load module fbdev (module does not exist, 0) (EE) intel(0): [drm] Failed to open DRM device for : No such file or directory (EE) intel(0): Failed to become DRM master. (EE) intel(0): Failed to initialize kernel memory manager The first two errors are fine; Xorg defaults to trying vesa and fbdev as display drivers and you just don't have them. The last three are your problem. The intel video driver is unable to properly access the DRM subsystem, which will definitely cause X to slow to a crawl. The most likely cause of your errors is that the intel AGP driver (i810 or i915, depending on your hardware) isn't getting loaded. If that's the case, you should see an error such as: [drm] failed to load kernel module i915 in Xorg.0.log just before the ones from intel. If the modules are being loaded, you'll likely see some other errors around that same area. The aren't tagged with (EE), unfortunately; try: # grep -5 'Failed to open DRM' Xorg.0.log You can also check your dmesg output to see if the devices are being initialized properly: platypus log # dmesg | grep agp Linux agpgart interface v0.103 agpgart-intel :00:00.0: Intel 965GM Chipset agpgart-intel :00:00.0: detected 7676K stolen memory agpgart-intel :00:00.0: AGP aperture is 256M @ 0xe000 platypus log # dmesg | grep drm [drm] Initialized drm 1.1.0 20060810 [drm] set up 7M of stolen space [drm] initialized overlay support fb0: inteldrmfb frame buffer device [drm] Initialized i915 1.6.0 20080730 for :00:02.0 on minor 0 If everything's working, you should have the following devices that the Xorg driver needs: platypus log # ls -l /dev/dri total 0 crw-rw 1 root video 226, 0 Apr 20 13:11 card0 crw-rw 1 root video 226, 64 Apr 20 13:11 controlD64 Ah, thank you so much. I needed to enable CONFIG_DRM_I915 in the kernel. - Grant
Re: [gentoo-user] Confusion with eix output
On 4/21/2010 3:48 PM, James Cunning wrote: I am having some trouble, I think, with my nvidia video driver, and eix produces some output I cannot decipher from information in the man page: jlc64 X11 # eix nvidia-drivers [D] x11-drivers/nvidia-drivers Available versions: [M]71.86.07!s [M]~71.86.09!s 96.43.09!s ~96.43.11!s 173.14.15!s ~173.14.18!s 180.29!s ~180.60!s {acpi custom-cflags gtk kernel_FreeBSD kernel_linux multilib userland_BSD} Installed versions: 190.42-r3!s(11:04:43 AM 04/21/2010)(acpi gtk kernel_linux multilib -custom-cflags) Homepage:http://www.nvidia.com/ Description: NVIDIA X11 driver and GLX libraries The man page goes into great detail how to specify many things, but doesn't explain in simple terms the format of its default outputs. In particular, I don't understand what the [D] means, but would appreciate any clues to a more comprehensible explanation for all its output. I feel your pain. The eix man page is a perfect example of why GNU made the info system (which is otherwise overkill in most cases.) At any rate: eix's output tries to mimic the emerge -v output when possible. In this case, [D] means eix thinks your installed version is higher than the latest unmasked version in the tree, and that you should 'D'owngrade. You could also see 'U', if eix thinks you need to upgrade. You probably need to eix-update after your most recent sync. Use eix-sync instead of emerge --sync if, like me, you tend to forget that step. --Mike
Re: [gentoo-user] gentoo-box stopping services
Am 21.04.2010 09:18, schrieb Mick: Have you looked at dmesg in case there is something there that the kernel's spewed out? Also, you haven't run out of space? df -h checked both before even posting here: nothing stinky in dmesg, df -h shows enough free space on the partitions. Thanks, S
Re: [gentoo-user] 'wifi' USE flag in firefox
On Wednesday 21 April 2010 16:20:57 erdun...@gmail.com wrote: On Wed, Apr 21, 2010 at 10:01:20AM -0500, Paul Hartman wrote: There are already big sites like Twitter and Google Maps that use the geolocation API. Give it a try: http://www.google.com/maps/m If it is able to get your location, it should have a little dot in the bottom-right corner that will take you to your current location when clicked. The browser asks for your permission before giving your location away to a website, so there's no need to worry about privacy as far as I can tell. It is surprisingly accurate, I don't know what kind of magic they use but I live in a small town (1 square mile in size) and it was able to pinpoint me down to that level. Maybe from my search/browsing history? I don't know... maybe I don't want to know. :) I think it doesn't locate you but your dslam or its fiber or voiceband equivalent. Well, it's only a supposition and I may be all wrong but it sounds more realistic than infering your physical location based on your browsing history :D Your currnet location is unavailable ... phew! I started to get paranoid with all this. ;-) -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] cyrus-sasl 2.1.23 remote server rejected your credentials
On 4/21/2010 12:56 PM, laur...@logiquefloue.org wrote: ok, it's 3 days I'm tryin to fix my smtp connection, I have been through the whole configuration many times and getting the certificates also. The last thing I did is add this line again in /etc/postfix/main.cf: smtpd_sasl_path = smtpd which changed the error into a warning for postfix: warning: foo[b.a.r.x]: SASL PLAIN authentication failed: authentication failure then, same for LOGIN: postfix/smtpd[3962]: warning: foo[b.a.r.x]: SASL LOGIN authentication failed: authentication failure I used this howto at first: http://www.gentoo.org/doc/fr/virt-mail-howto.xml and it was working for a long time. I can post mor info if you need. You shouldn't need to add that line because it's part of the default config. Post the output of postconf | grep smtpd_sasl so we can see if their is anything odd in your config. Also make sure that you allow mynetworks before requiring authentication like this example below. If you don't, your mail server will try to authenticate access from localhost. smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated kashani
Re: [gentoo-user] K3b does not find burning device
Paul Hartman paul.hartman+gen...@gmail.com [10-04-22 00:08]: On Wed, Apr 21, 2010 at 1:21 PM, meino.cra...@gmx.de wrote: Paul Hartman paul.hartman+gen...@gmail.com [10-04-21 20:12]: On Wed, Apr 21, 2010 at 12:26 PM, meino.cra...@gmx.de wrote: Hi, K3b suddenly cannot find any burning device of my system. Hald is running. vlc can acces the drive for playing dvds. kdebase-runtime-meta is installed. k3b was recompiled without problems. The Configuration dialog of k3b states for both kind of drives none. And me? I have really no idea, what is happening here. Previously it works perfectly and I dont know when its stops working, since I dont burn dvds that often. Wgat can I do? Thank you very much in advance for any help! Hi, What if you run k3b as root? Can it see it then? Maybe it's a permissions issue. No, that was my first idea, too, Same behaviour. Additionally vlc can acces the drive with user permissions... Does hald do something wrong ? How can I proof that (I dont like hald that much...) ? You can use the command hal-device to see which devices HAL can see. For example my CD/DVD burner shows up in the list as: 2: udi = '/org/freedesktop/Hal/devices/storage_model_DVD_RW_AD_7240S' info.category = 'storage' (string) info.capabilities = { 'storage', 'block', 'storage.cdrom' } (string list) info.addons = { 'hald-addon-storage' } (string list) storage.cdrom.cdr = true (bool) storage.cdrom.cdrw = true (bool) storage.cdrom.dvd = true (bool) storage.cdrom.dvdr = true (bool) storage.cdrom.dvdrw = true (bool) storage.cdrom.dvdrdl = true (bool) storage.cdrom.dvdram = true (bool) storage.cdrom.dvdplusr = true (bool) storage.cdrom.dvdplusrw = true (bool) storage.cdrom.dvdplusrwdl = false (bool) storage.cdrom.dvdplusrdl = true (bool) storage.cdrom.bd = false (bool) storage.cdrom.bdr = false (bool) storage.cdrom.bdre = false (bool) storage.cdrom.hddvd = false (bool) storage.cdrom.hddvdr = false (bool) storage.cdrom.hddvdrw = false (bool) storage.cdrom.mo = false (bool) storage.cdrom.mrw = true (bool) storage.cdrom.mrw_w = true (bool) storage.cdrom.support_media_changed = true (bool) storage.cdrom.support_multisession = true (bool) storage.cdrom.read_speed = 8467 (0x2113) (int) storage.cdrom.write_speed = 8467 (0x2113) (int) storage.cdrom.write_speeds = { '8467', '7056', '5645', '4234', '2822', '1411' } (string list) block.storage_device = '/org/freedesktop/Hal/devices/storage_model_DVD_RW_AD_7240S' (string) org.freedesktop.Hal.Device.Storage.method_names = { 'Eject', 'CloseTray' } (string list) org.freedesktop.Hal.Device.Storage.method_signatures = { 'as', 'as' } (string list) org.freedesktop.Hal.Device.Storage.method_argnames = { 'extra_options', 'extra_options' } (string list) org.freedesktop.Hal.Device.Storage.method_execpaths = { 'hal-storage-eject', 'hal-storage-closetray' } (string list) org.freedesktop.Hal.Device.Volume.method_names = { 'Mount', 'Unmount', 'Eject' } (string list) org.freedesktop.Hal.Device.Volume.method_signatures = { 'ssas', 'as', 'as' } (string list) org.freedesktop.Hal.Device.Volume.method_argnames = { 'mount_point fstype extra_options', 'extra_options', 'extra_options' } (string list) org.freedesktop.Hal.Device.Volume.method_execpaths = { 'hal-storage-mount', 'hal-storage-unmount', 'hal-storage-eject' } (string list) volume.mount.valid_options = { 'ro', 'sync', 'dirsync', 'noatime', 'nodiratime', 'relatime', 'noexec', 'quiet', 'remount', 'exec', 'utf8', 'shortname=', 'codepage=', 'iocharset=', 'umask=', 'uid=' } (string list) info.product = 'DVD RW AD-7240S' (string) info.udi = '/org/freedesktop/Hal/devices/storage_model_DVD_RW_AD_7240S' (string) block.device = '/dev/sr0' (string) block.major = 11 (0xb) (int) block.minor = 0 (0x0) (int) block.is_volume = false (bool) storage.bus = 'pci' (string) storage.no_partitions_hint = true (bool) storage.media_check_enabled = false (bool) storage.automount_enabled_hint = true (bool) storage.drive_type = 'cdrom' (string) storage.model = 'DVD RW AD-7240S' (string) storage.vendor = 'Optiarc' (string) storage.lun = 0 (0x0) (int) storage.originating_device = '/org/freedesktop/Hal/devices/computer' (string) storage.removable.media_available = false (bool) storage.removable = true (bool) storage.size = 0 (0x0) (uint64) storage.removable.support_async_notification = false (bool) storage.hotpluggable = false (bool) storage.requires_eject = true (bool) linux.sysfs_path = '/sys/devices/pci:00/:00:1c.1/:08:00.0/host15/target15:0:0/15:0:0:0/block/sr0' (string) info.parent = '/org/freedesktop/Hal/devices/pci_197b_2363_scsi_host_scsi_device_lun0' (string) info.interfaces = { 'org.freedesktop.Hal.Device.Volume',
Re: [gentoo-user] K3b does not find burning device
On Wed, 21 Apr 2010 20:30:01 +0200, meino.cra...@gmx.de wrote about Re: [gentoo-user] K3b does not find burning device: Paul Hartman paul.hartman+gen...@gmail.com [10-04-21 20:12]: [snip] What if you run k3b as root? Can it see it then? Maybe it's a permissions issue. No, that was my first idea, too, Same behaviour. Additionally vlc can acces the drive with user permissions... Does hald do something wrong ? How can I proof that (I dont like hald that much...) ? Could it be related to this bug? https://bugs.gentoo.org/show_bug.cgi?id=301785 If it is, there is a work-around in that bug report. -- Regards, Dave [RLU #314465] == dwn...@ntlworld.com (David W Noon) == signature.asc Description: PGP signature
Re: [gentoo-user] 'wifi' USE flag in firefox
On 21 Apr 2010, at 16:01, Paul Hartman wrote: ... I *believe* that a geolocation-aware browser would be able to tell the site where you are. So as soon as you open the webpage, the site will query your browser, your browser will tell it where you are and an AJAXy element on the page would say Your nearest Tesco store is 13th Street... Click here for directions. There are already big sites like Twitter and Google Maps that use the geolocation API. Give it a try: http://www.google.com/maps/m If it is able to get your location, it should have a little dot in the bottom-right corner that will take you to your current location when clicked. Thanks! That doesn't find my current location using my desktop Mac and Safari. I CBA to try it with my current mobile phone which, although a smart phone, is an older model. I may get a flashy new Android unit soon, so maybe I'll try it then. What if the Google Street View vans, in addition to taking photographs, were also scanning for wifi signals and recording their location? That would give them an impressive database of wifi hotspots. Indeed. I considered this when writing my previous response, but I didn't know how interested readers would be. One could write quite a lot on this subject. Google (for instance) could get quite good data from this, but it would be a lot of work. The locations of wifi access-points could be triangulated quite accurately, but it's not really very clear how long the data will stay accurate. There are probably hot-spots in town centres and at fast-food restaurants which are static in the order of 5 years. However once into residential areas, the SSIDs of APs may change quite often, as residents move house or switch broadband providers. I'm not sure about the US, but here in the UK (and I would imagine throughout Europe) the majority of wifi access-points are supplied by ADSL and cable ISPs. They like their customers to use their branded BT Homehub (BT = British Telecom), or Orange Livebox in order to reduce support overheads, and also because these are locked to their DSL networks and thus help tie-in customers. Nevertheless, customers typically change suppliers every 18 -24 months, just as soon as their contract expires and they see a new deal from another ISP. So the SSID of Homehub1234, plotted 2 years ago, may very well no longer be there. The widespread SSIDs of Linksys and Netgear must be ignored, unless it is possible to identify them by MAC address without authenticating. Thus geolocation using wifi APs becomes quite a fraught problem, and I'm not sure it's worth it, considering the how much more widespread is use of mobile phones with GPS (or a cell-tower database). Stroller.
Re: [gentoo-user] K3b does not find burning device
David W Noon dwn...@ntlworld.com [10-04-22 03:40]: On Wed, 21 Apr 2010 20:30:01 +0200, meino.cra...@gmx.de wrote about Re: [gentoo-user] K3b does not find burning device: Paul Hartman paul.hartman+gen...@gmail.com [10-04-21 20:12]: [snip] What if you run k3b as root? Can it see it then? Maybe it's a permissions issue. No, that was my first idea, too, Same behaviour. Additionally vlc can acces the drive with user permissions... Does hald do something wrong ? How can I proof that (I dont like hald that much...) ? Could it be related to this bug? https://bugs.gentoo.org/show_bug.cgi?id=301785 If it is, there is a work-around in that bug report. -- Regards, Dave [RLU #314465] == dwn...@ntlworld.com (David W Noon) == Hi Paul, YEAH! That fixed it... Fingers crossed for the next release of dbus... ;) Thanks a lot ! Best regards, mcc -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.