Re: [gentoo-user] dhcp and re-exec of init in log file
On Sun, Jan 4, 2009 at 12:39 PM, Michael George geo...@mutualdata.com wrote: On Sun, Jan 04, 2009 at 05:02:38AM +, Stroller wrote: It might be helpful to post the EXACT error messages. I doubt if I'm able to help, but it seems to me that posting without them may be one of those people-may-tend-to-ignore-your-message mistakes. Good point, thank you. One of the message in the log file regards init: Jan 2 09:00:38 brego dhcpd: DHCPACK on 192.168.0.253 to 00:a0:c9:68:03:05 via eth0 Jan 2 09:01:07 brego init: Trying to re-exec init Jan 2 09:01:08 brego locale-gen: Generating locale-archive: forcing # of jobs to 1 Jan 2 09:10:01 brego cron[7189]: (root) CMD (test -x /usr/sbin/run-crons /usr/sbin/run-crons ) So the only thing near it is locale-gen, which doesn't appear in any cron or logrotate scripts. The other error is from DHCP: Jan 2 07:16:47 brego crontab[26016]: (root) BEGIN EDIT (root) Jan 2 07:17:05 brego dhcpd: Internet Systems Consortium DHCP Server V3.1.1-Gentoo Jan 2 07:17:05 brego dhcpd: Copyright 2004-2008 Internet Systems Consortium. Jan 2 07:17:05 brego dhcpd: All rights reserved. Jan 2 07:17:05 brego dhcpd: Usage: dhcpd [-p UDP port #] [-d] [-f] [-cf config-file] [-lf lease-file] [-user user] [-group group] [-chroot dir] [-tf trace-output-file] [-play trace-input-file] [-t] [-T] [-s server] [if0 [...ifN]] Jan 2 07:17:05 brego dhcpd: Jan 2 07:17:05 brego dhcpd: If you did not get this software from ftp.isc.org, please Jan 2 07:17:05 brego dhcpd: get the latest from ftp.isc.org and install that before Jan 2 07:17:05 brego dhcpd: requesting help. Jan 2 07:17:05 brego dhcpd: Jan 2 07:17:05 brego dhcpd: If you did get this software from ftp.isc.org and have not Jan 2 07:17:05 brego dhcpd: yet read the README, please read it before requesting help. Jan 2 07:17:05 brego dhcpd: If you intend to request help from the dhcp-ser...@isc.org Jan 2 07:17:05 brego dhcpd: mailing list, please read the section on the README about Jan 2 07:17:05 brego dhcpd: submitting bug reports and requests for help. Jan 2 07:17:05 brego dhcpd: Jan 2 07:17:05 brego dhcpd: Please do not under any circumstances send requests for Jan 2 07:17:05 brego dhcpd: help directly to the authors of this software - please Jan 2 07:17:05 brego dhcpd: send them to the appropriate mailing list as described in Jan 2 07:17:05 brego dhcpd: the README file. Jan 2 07:17:05 brego dhcpd: Jan 2 07:17:05 brego dhcpd: exiting. Jan 2 07:20:01 brego cron[7644]: (root) CMD (test -x /usr/sbin/run-crons /usr/sbin/run-crons ) And there is nothing right before or after that which seem suspicious. Stroller. On 4 Jan 2009, at 02:29, Michael George wrote: That seems to be a poor subject for my question, so I reposted with something more descriptive... On Sat, Jan 03, 2009 at 07:17:41PM -0500, Michael George wrote: About a week ago I noticed a couple entries in /var/log/messages (as reported by logwatch) that seemed odd. ... One of the entries is a Usage: message from dhcp, as though something tried to restart the DHCP server. The other is Re-execs of init: 1 times. I found some references to this on the 'net, but generally when discussing prelink. I don't have prelink installed, though. ... -- -M There are 10 kinds of people in this world: Those who can count in binary and those who cannot. Regarding the dhcp error, it looks to me like there's a cron to try and do something with dhcpd - most likely with broken syntax. Check your crontabs...
[gentoo-user] Re: Bash completion problem: can anyone confirm?
Mick wrote: 2009/1/4 Nikos Chantziaras rea...@arcor.de: Mick wrote: On Sunday 04 January 2009, Graham Murray wrote: Willie Wong ww...@princeton.edu writes: Before I file a bug, I want to see if this is reproducible by others: After I boot into the console, if I type anything and then hit tab for the bash completion, it gives an error -bash: _filedir: command not found The weird thing is that if I start X and try the same in an aterm, the tab completion works as expected. I am currently on bash-completion-20081218, does anyone else have the same problem? I only saw the problem with vim, and then only for user root as a normal user it worked fine. So I disabled bash completion for vim. Check your relevant ~/.bashrc for this: ##uncomment the following to activate bash-completion: #[ -f /etc/profile.d/bash-completion ] \ source /etc/profile.d/bash-completion There's not such entry in my .bashrc. OK, you may need to enter it manually (and uncomment it). If it doesn't work for you after you log out/login, or you don't want to do it this way, you'll have to follow Kevin's suggestion for debugging all your rc scripts. Oops, I should have been more clear. Although there's no such entry in my .bashrc, and also none in /etc/skel/.bashrc, but bash completion *works* without flaw both in login shells as well as in interactive shells, I assume there doesn't need to be such entry in there.
[gentoo-user] Searching for an audit / grsecutity like tool
Hi, im searching for an tool like grsecurity or app-armor. There is an tool 'audit' which can track the actions of an program or the system, but this tool is not able to restrict the access. Is there any easy to install tool, which can restrict the access in rule based form like audit? Regards
Re: [gentoo-user] Re: Bash completion problem: can anyone confirm?
2009/1/4 Nikos Chantziaras rea...@arcor.de: Mick wrote: On Sunday 04 January 2009, Graham Murray wrote: Willie Wong ww...@princeton.edu writes: Before I file a bug, I want to see if this is reproducible by others: After I boot into the console, if I type anything and then hit tab for the bash completion, it gives an error -bash: _filedir: command not found The weird thing is that if I start X and try the same in an aterm, the tab completion works as expected. I am currently on bash-completion-20081218, does anyone else have the same problem? I only saw the problem with vim, and then only for user root as a normal user it worked fine. So I disabled bash completion for vim. Check your relevant ~/.bashrc for this: ##uncomment the following to activate bash-completion: #[ -f /etc/profile.d/bash-completion ] \ source /etc/profile.d/bash-completion There's not such entry in my .bashrc. OK, you may need to enter it manually (and uncomment it). If it doesn't work for you after you log out/login, or you don't want to do it this way, you'll have to follow Kevin's suggestion for debugging all your rc scripts. -- Regards, Mick
[gentoo-user] Re: Motorola Razr V3i and moto4lin, not working yet.
Dale rdalek1967 at gmail.com writes: I think I'm getting the hang of the thing now tho. I am finally getting use to the space key being on the left instead of the right on my old phone. Dale I too have a razr, and have never gotten anything to work with gentoo and the basic razr phone I have. I'd be happy to just edit the phone list and be able to copy from a linux system to the razr phone, as a starting point. Ever thought about a quick/simple wiki? http://en.gentoo-wiki.com/wiki/Main_Page James
Re: [gentoo-user] weird cron mail problem
090105 Willie Wong wrote: What is Uniserve? Sorry, I assumed the context made it clear: Uniserve is my ISP. -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
Re: [gentoo-user] /tmp folder
On Mon, 5 Jan 2009 15:28:44 +0530, Kaushal Shriyan wrote: when i rebooted Gentoo Linux Server, the /tmp folders got cleaned up. Is there a way i can prevent it from cleaning it up. Edit /etc/conf.d/bootmisc Also I know that the /tmp directory should not be used for storing important files. Which begs the question, why are you storing them there? /var/tmp is the correct location for temporary files that you wish to survive a reboot. -- Neil Bothwick Scrute the inscrutable; eff the ineffable. signature.asc Description: PGP signature
Re: [gentoo-user] Re: Bash completion problem: can anyone confirm?
On Mon, Jan 05, 2009 at 07:13:18PM +0200, Penguin Lover Nikos Chantziaras squawked: Oops, I should have been more clear. Although there's no such entry in my .bashrc, and also none in /etc/skel/.bashrc, but bash completion *works* without flaw both in login shells as well as in interactive shells, I assume there doesn't need to be such entry in there. Are you talking about the normal tab completion or the smart bash completion? With the latter, for example, if you type mplayer tabtab it will only list directories and files with extensions matching multimedia files. This behaviour is provided by the app-shells/bash-completion package. W -- Hospitality is making your guests feel at home even though you wish they were. Sortir en Pantoufles: up 759 days, 16:52
Re: [gentoo-user] weird cron mail problem
On Mon, Jan 05, 2009 at 01:04:45PM -0500, Penguin Lover Philip Webb squawked: 090105 Willie Wong wrote: What is Uniserve? Sorry, I assumed the context made it clear: Uniserve is my ISP. Okay... hum, have you checked your outgoing mail logs to see if cron attempts to send mail when fetchmail is called? Actually, what is your cron recipe anyway? Also, have you updated either cron or fetchmail recently? W -- A nice box of chocolates can provide your total daily intake of calories in one place. Now, isn't that handy? Sortir en Pantoufles: up 759 days, 16:59
[gentoo-user] Re: Bash completion problem: can anyone confirm?
Willie Wong wrote: On Mon, Jan 05, 2009 at 07:13:18PM +0200, Penguin Lover Nikos Chantziaras squawked: Oops, I should have been more clear. Although there's no such entry in my .bashrc, and also none in /etc/skel/.bashrc, but bash completion *works* without flaw both in login shells as well as in interactive shells, I assume there doesn't need to be such entry in there. Are you talking about the normal tab completion or the smart bash completion? The smart one. For example typing emerge --de and hitting TAB twice shows: --debug --deep --depclean If your /etc/skel/.bashrc doesn't have an entry for bash completion but your ~/.bashrc does, then I guess it's not needed anymore but probably was needed a long time ago. AFAIK, updates won't change files in your $HOME so over time it tends to accumulate obsolete stuff.
[gentoo-user] Re: test
On Mon, 05 Jan 2009 11:09:31 +, schwido wrote: test fail.
Re: [gentoo-user] weird cron mail problem
On Mon, Jan 05, 2009 at 11:42:40AM -0500, Philip Webb wrote: Starting yesterday IIRC I've been getting one of the messages below every time my Fetchmail cron job polls my 2 ISPs for new mail. The content of the msg clearly comes from my own Fetchmail, as it refers to both ISPs, but the msg itself originates at Uniserve, as is shown by the list of routings in the full header (not shown). Perhaps Uniserve has changed its procedures with this result, but before I phone their tech folks, I'ld like to be sure that it's not caused by something in my own machine. I'm not aware of having changed anything to do with mail recently. What is Uniserve? W -- Willie W. Wong ww...@math.princeton.edu 408 Fine Hall, Department of Mathematics, Princeton University, Princeton A mathematician's reputation rests on the number of bad proofs he has given.
Re: [gentoo-user] Re: Bash completion problem: can anyone confirm?
On Mon, Jan 05, 2009 at 08:20:47PM +0200, Penguin Lover Nikos Chantziaras squawked: If your /etc/skel/.bashrc doesn't have an entry for bash completion but your ~/.bashrc does, then I guess it's not needed anymore but probably was needed a long time ago. AFAIK, updates won't change files in your $HOME so over time it tends to accumulate obsolete stuff. I am curious as to how you have bash_completion working. Which version of bash_completion are you running? On my desktop which runs bash-completion-20050121-r10, I also do not have the line to source bash-completion in /etc/skel/.bashrc On my normal user console, if I do emerge --detabtab it displays --debug --deep --depclean as you said. But if I start a bash shell without the skeleton .bashrc bash --rcfile /etc/skel/.bashrc which does not source bash-completion, typing emerge --detabtab does absolutely nothing. W -- I couldn't repair your brakes, so I made your horn louder. Sortir en Pantoufles: up 759 days, 17:20
Re: [gentoo-user] Re: Motorola Razr V3i and moto4lin, not working yet.
James wrote: Dale rdalek1967 at gmail.com writes: I think I'm getting the hang of the thing now tho. I am finally getting use to the space key being on the left instead of the right on my old phone. Dale I too have a razr, and have never gotten anything to work with gentoo and the basic razr phone I have. I'd be happy to just edit the phone list and be able to copy from a linux system to the razr phone, as a starting point. Ever thought about a quick/simple wiki? http://en.gentoo-wiki.com/wiki/Main_Page James I think the biggest thing missing for me was the acm thing in the kernel. After that, it just sort of worked. I have not been able to do anything but transfer music, pics and videos so far. I'm sort of chicken that I will permanently mess up my phone if I do anything else. If it was not for bad luck, I wouldn't have any luck at all. :/ Dale :-) :-)
[gentoo-user] /tmp folder
Hi when i rebooted Gentoo Linux Server, the /tmp folders got cleaned up. Is there a way i can prevent it from cleaning it up. Also I know that the /tmp directory should not be used for storing important files. Any ideas ? Thanks and Regards Kaushal
Re: [gentoo-user] Re: Bash completion problem: can anyone confirm?
Willie Wong wrote: Thanks. I'll try your suggestions this evening when I get home. On Mon, Jan 05, 2009 at 06:33:29AM -0800, Penguin Lover Kevin O'Gorman squawked: Since the problem does not appear under X, bash is not broken and you probably have a mis-configuration somehow. The rc scripts that are run are sensitive to the nature of the session. Your console login is a interactive login shell, while under X it's merely a interactive shell. You might want to track down the scripts that run in the two situations. My first guess would be that your ~/.bashrc sets up completion, but that file is not called from /etc/profile. If that's not it you have some debugging to do. I am pretty sure (though I am often wrong in these kinds of situations) that my .bash_profile sources my .bashrc, so that's probably not the problem (I'll double check of course). When I have to do something like that, I pepper all of the rc scripts with lines like [ -e /etc/conf.d/DEBUG ] echo ~$USER/.bashrc: \$-='$-'\ (modify according to what info you want and what script it's in) then touch or rm the file /etc/conf.d/DEBUG. Don't forget to include system scripts like /etc/profile and anything else mentioned in the man page (INVOCATION section). Actually, I wonder if it is /etc/profile that breaks stuff. My problem only occurs in the console/login shell, and the login shell, according to man bash, loads first /etc/profile, then ~/.bash_profile, which I've set to source ~/.bashrc. For the non-login shell (in aterm), bash only loads ~/.bashrc. And for the second case it works. So perhaps something is borken in /etc/profile? Also, since someone mentioned it in a reply: I realized that unwittingly I've only tested the behaviour using vim as the leading command. I have actually not tried other bash completions. So it may just be something in the vim module. But I am not sure. I'll test it tonight. On Mon, Jan 05, 2009 at 02:56:53PM +, Penguin Lover Mick squawked: If it doesn't work for you after you log out/login, or you don't want to do it this way, you'll have to follow Kevin's suggestion for debugging all your rc scripts. W I'm no guru bit I'd be glad to email you a copy of my files if you need them. Just let me know. If nothing else, you could diff them and see what is wrong that way. Dale :-) :-)
Re: [gentoo-user] Bash completion problem: can anyone confirm?
On Sun, Jan 04, 2009 at 03:27:01PM +, Penguin Lover Graham Murray squawked: Willie Wong ww...@princeton.edu writes: Before I file a bug, I want to see if this is reproducible by others: After I boot into the console, if I type anything and then hit tab for the bash completion, it gives an error -bash: _filedir: command not found The weird thing is that if I start X and try the same in an aterm, the tab completion works as expected. I am currently on bash-completion-20081218, does anyone else have the same problem? I only saw the problem with vim, and then only for user root as a normal user it worked fine. So I disabled bash completion for vim. Okay, I have a theory. But I still have to check it on my laptop to be sure. I just read the 20081218 version ebuild, and it states that for non-login shells, one should source /etc/profile.d/bash-completion.sh This is different from the previous version (20060301*) where one should source /etc/profile.d/bash-completion (note the lack of .sh in the file name). With the addition of the .sh suffix, for login shells, the bash-completion scripts will be automatically sourced (when bash loads /etc/profile it sources /etc/profile.d/*.sh by default on Gentoo). So this suggests that, though I have not checked on my laptop, that on my aterms bash-completion is actually NOT activated, since my .bashrc almost certainly included the line to source bash-completion and not bash-completion.sh, which explains the different behaviour between an aterm and a login console. The next postulate is that since Graham noticed the behaviour only manifesting itself for vim and turning off the vim completion (I remember vaguely that on my laptop 'eselect bashcomp list --global' shows vim completion as enabled) that this maybe a bug with the module relating to bash completion for vim. I'll check my hypothesis tonight and report back. W -- Inside some of us is a thin person struggling to get out, but she can usually be sedated with a few pieces of chocolate cake. Sortir en Pantoufles: up 759 days, 17:55
[gentoo-user] Re: Motorola Razr V3i and moto4lin, connected, now what?
Dale rdalek1967 at gmail.com writes: Hi, I'm not sure how this will appear as far as threading. Gmail doesn't send me a copy of my own emails so I can't reply to myself. No Gmail does not send you a copy. But, with Gmane you can reply to your posting or anyone else's posting by going to the upper right corner where is says action and pull down the option followup to reply to your posting or any other posting http://post.gmane.org/post.php?group=gmane.linux.gentoo.userfollowup=207651 You must first register with Gmane.org for this to work. Don't know about gmail, but, gmane is a very cool interface http://www.gmane.org/ hth, James
Re: [gentoo-user] Re: udept dead upstream
On Sun, Jan 04, 2009 at 10:54:04AM -0600, Penguin Lover Harry Putnam squawked: Uhhh yeah... not developed anymore... anyone know why that is? To your original question (I seem to have lost the post, so this reply is a little bit out of order in terms of threading. Sorry!) Sometimes packages that are not developed anymore are still kept in portage if they work well enough. In this case, the developers have determined that udept does not work with EAPI 0, which means it won't play well with =portage-2.1.6 http://www.mail-archive.com/gentoo-...@lists.gentoo.org/msg31927.html As to the question of why that is... I guess the author got bored? The link to the package catmur.co.uk/gentoo/udept is a dead link now (404s) I am not even sure if the original author can be reached at the e-mail address given by Dirk. And besides, I am not sure if the tool is still useful. Worldfile pruning can be accomplished with a 5 line bash script (though I strongly suggest user intervention rather than automating the process), and --depclean has gotten so smart that I don't really think udept can out-perform it. For files not maintained by portage, I can use findcruft. Whatever else functionality it includes I have never found the use of. I don't think I will miss it too much when it is gone. Best, W -- What's far more likely is that the virgin birth is a later addition to the story of Jesus. In comic book terminology, this is a retroactive alteration of the continuity, or retcon. Hm... how do we explain the origin of Jesus' amazing superpowers? How is he able to walk on water, cure leprosy, and feed multitudes using a single loaf of bread, if he's just some average Jew? It's just not plausible, our audience will never buy it. I KNOW! We have a special Origins of Jesus issue in the Bible, where we reveal that ACTUALLY, Jesus is the son of God! Now, the fact that he has these amazing superpowers makes sense! It's exactly like how Marvel went back and created a backstory to explain the origins of the super-powers of the X-men. In the case of Marvel, alien visitors altered the DNA of ancient humans which resulted in mutants like Wolverine. In the case of the Catholic Church, a super-powerful being impregnates Jesus' mom. It's a really ancient theme. If you recall many of Greek heroes, such as Hercules, had gods for parents, which explained why they were so powerful. Achilles was more like the Incredible Hulk, in that exposure to magic (the waters of the River Styx in the case of Achilles, gamma rays in the case of the Hulk) give them their powers. But Odysseus is like Batman- he doesn't have any superpowers, he's just clever. ~flyingsquid (813711) on /. cid #22838002 Sortir en Pantoufles: up 759 days, 14:49
[gentoo-user] test
test
Re: [gentoo-user] Re: Bash completion problem: can anyone confirm?
Thanks. I'll try your suggestions this evening when I get home. On Mon, Jan 05, 2009 at 06:33:29AM -0800, Penguin Lover Kevin O'Gorman squawked: Since the problem does not appear under X, bash is not broken and you probably have a mis-configuration somehow. The rc scripts that are run are sensitive to the nature of the session. Your console login is a interactive login shell, while under X it's merely a interactive shell. You might want to track down the scripts that run in the two situations. My first guess would be that your ~/.bashrc sets up completion, but that file is not called from /etc/profile. If that's not it you have some debugging to do. I am pretty sure (though I am often wrong in these kinds of situations) that my .bash_profile sources my .bashrc, so that's probably not the problem (I'll double check of course). When I have to do something like that, I pepper all of the rc scripts with lines like [ -e /etc/conf.d/DEBUG ] echo ~$USER/.bashrc: \$-='$-'\ (modify according to what info you want and what script it's in) then touch or rm the file /etc/conf.d/DEBUG. Don't forget to include system scripts like /etc/profile and anything else mentioned in the man page (INVOCATION section). Actually, I wonder if it is /etc/profile that breaks stuff. My problem only occurs in the console/login shell, and the login shell, according to man bash, loads first /etc/profile, then ~/.bash_profile, which I've set to source ~/.bashrc. For the non-login shell (in aterm), bash only loads ~/.bashrc. And for the second case it works. So perhaps something is borken in /etc/profile? Also, since someone mentioned it in a reply: I realized that unwittingly I've only tested the behaviour using vim as the leading command. I have actually not tried other bash completions. So it may just be something in the vim module. But I am not sure. I'll test it tonight. On Mon, Jan 05, 2009 at 02:56:53PM +, Penguin Lover Mick squawked: If it doesn't work for you after you log out/login, or you don't want to do it this way, you'll have to follow Kevin's suggestion for debugging all your rc scripts. W -- Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy lies a small unregarded yellow sun. Sortir en Pantoufles: up 759 days, 14:35
[gentoo-user] Re: Bash completion problem: can anyone confirm?
Willie Wong wrote: On Mon, Jan 05, 2009 at 08:20:47PM +0200, Penguin Lover Nikos Chantziaras squawked: If your /etc/skel/.bashrc doesn't have an entry for bash completion but your ~/.bashrc does, then I guess it's not needed anymore but probably was needed a long time ago. AFAIK, updates won't change files in your $HOME so over time it tends to accumulate obsolete stuff. I am curious as to how you have bash_completion working. Which version of bash_completion are you running? OK, strike that, I'm an idiot ;P I have this in /etc/bash/bashrc: [[ -f /etc/profile.d/bash-completion ]] source /etc/profile.d/bash-completion I must have put this in there myself, although I don't remember doing it :P Probably to have bash completion working with all users, not just me.
Re: [gentoo-user] Microphone not working
On Mon, 2009-01-05 at 12:17 -0800, Grant wrote: The microphone on my laptop isn't working and I'm not sure how to troubleshoot it. I've tried using it in twinkle and arecord but it doesn't work in either. The headset works fine on a different system. Can anyone help with this? - Grant * Do you get an error? * Have you unmuted the mic and set it as the input device (in alsamixer)? * My laptop has both an internal mic and an external mic port. Have you selected the correct one for the input device? -a
Re: [gentoo-user] /tmp folder
On Monday 05 January 2009 11:58:44 Kaushal Shriyan wrote: Hi when i rebooted Gentoo Linux Server, the /tmp folders got cleaned up. Is there a way i can prevent it from cleaning it up. WHY? The correct usage of /tmp per the standard is: Files in this directory must not be expected to persist past successive invocations of a command never mind persisting over reboots... Also I know that the /tmp directory should not be used for storing important files. grep is your friend: a...@nazgul ~ $ grep -r tmp /etc/conf.d/* /etc/conf.d/bootmisc:# List of /tmp directories we should clean up /etc/conf.d/bootmisc:wipe_tmp_dirs=/tmp /etc/conf.d/bootmisc:# Should we wipe the tmp paths completely or just selectively remove known /etc/conf.d/bootmisc:wipe_tmp=YES /etc/conf.d/dmcrypt:##/tmp with regular keyfile /etc/conf.d/dmcrypt:#target=crypt-tmp /etc/conf.d/dmcrypt:#key='/full/path/to/tmpkey' so it's /etc/conf.d/bootmisc -- alan dot mckinnon at gmail dot com
[gentoo-user] Re: update brings no recognition of tty hence no login
Harry Putnam rea...@newsguy.com writes: [...] Does anyone recognize this problem without further diagnostics? If not then I will be back to the problem machine later tonight and supply more information. Ideas about what info would be most useful would be appreciate What packages did you update? It sounds like a udev problem, although I'm admittedly grasping at straws. Knowing what packages you updated will really help. Gackk yes, sorry. Fortunately I got your message on my way out the door: There may be some repetition here but this appears to be the most complete list: Its quite a hefty list: Sat Jan 3 17:51:28 2009 app-admin/rsyslog-3.21.9 Sat Jan 3 17:54:24 2009 net-misc/rsync-3.0.5 [...] This problem was solved by jumping ahead a few packages in a world update. After successful installs of newest udev and openrc. (Done from an livecd chrooted to the troubled OS With that done and a reboot, all fell into place.
Re: [gentoo-user] Re: Bash completion problem: can anyone confirm?
On Sun, Jan 4, 2009 at 3:23 PM, Nikos Chantziaras rea...@arcor.de wrote: Mick wrote: On Sunday 04 January 2009, Graham Murray wrote: Willie Wong ww...@princeton.edu writes: Before I file a bug, I want to see if this is reproducible by others: After I boot into the console, if I type anything and then hit tab for the bash completion, it gives an error -bash: _filedir: command not found The weird thing is that if I start X and try the same in an aterm, the tab completion works as expected. I am currently on bash-completion-20081218, does anyone else have the same problem? I only saw the problem with vim, and then only for user root as a normal user it worked fine. So I disabled bash completion for vim. Check your relevant ~/.bashrc for this: ##uncomment the following to activate bash-completion: #[ -f /etc/profile.d/bash-completion ] \ source /etc/profile.d/bash-completion There's not such entry in my .bashrc. Since the problem does not appear under X, bash is not broken and you probably have a mis-configuration somehow. The rc scripts that are run are sensitive to the nature of the session. Your console login is a interactive login shell, while under X it's merely a interactive shell. You might want to track down the scripts that run in the two situations. My first guess would be that your ~/.bashrc sets up completion, but that file is not called from /etc/profile. If that's not it you have some debugging to do. When I have to do something like that, I pepper all of the rc scripts with lines like [ -e /etc/conf.d/DEBUG ] echo ~$USER/.bashrc: \$-='$-'\ (modify according to what info you want and what script it's in) then touch or rm the file /etc/conf.d/DEBUG. Don't forget to include system scripts like /etc/profile and anything else mentioned in the man page (INVOCATION section). HTH -- Kevin O'Gorman, PhD
[gentoo-user] Re: udept dead upstream
Willie Wong ww...@princeton.edu writes: As to the question of why that is... I guess the author got bored? The link to the package catmur.co.uk/gentoo/udept is a dead link now (404s) I am not even sure if the original author can be reached at the e-mail address given by Dirk. For the record I have written to both e...@catmur.co.uk mentioned in the dep script and Paul Varner fuzzy...@gentoo.org mentioned in /usr/portage/profiles/package.mask And besides, I am not sure if the tool is still useful. Worldfile pruning can be accomplished with a 5 line bash script (though I strongly suggest user intervention rather than automating the process), and --depclean has gotten so smart that I don't really think udept can out-perform it. For files not maintained by portage, I can use findcruft. Whatever else functionality it includes I have never found the use of. I don't think I will miss it too much when it is I don't doubt all can be done in other ways, but that one tool combines a lot of functionality... though I'll admit I mostly use it for checking dependencies and reverse dependencies (q doesn't do reverse I don't think) and just querying packages like you do with equery and q. I'd be tempted to try to bring it up to speed with latest portage but that level of shell scripting is pretty much well over my head. I'm afraid I'd cause more trouble by having to bug everybody about how to do parts of it. I do wish someone would take it on though.
[gentoo-user] Microphone not working
The microphone on my laptop isn't working and I'm not sure how to troubleshoot it. I've tried using it in twinkle and arecord but it doesn't work in either. The headset works fine on a different system. Can anyone help with this? - Grant
Re: [gentoo-user] Microphone not working
On Mon, Jan 05, 2009 at 12:17:27PM -0800, Grant wrote: The microphone on my laptop isn't working and I'm not sure how to troubleshoot it. I've tried using it in twinkle and arecord but it doesn't work in either. The headset works fine on a different system. Can anyone help with this? Missing driver? Also, I know that some of the newer laptops have these weird function keys that you need to use to unmute the microphone prior to using it. Perhaps something like that? Wait... now I am re-reading your post, and am wondering: is your microphone built-in to the laptop or on a separate headset? The previous two questions assumes the former. For latter, did you unmute the right channels in amixer/alsamixer? Just throwing up some random ideas. W -- Willie W. Wong ww...@math.princeton.edu 408 Fine Hall, Department of Mathematics, Princeton University, Princeton A mathematician's reputation rests on the number of bad proofs he has given.
Re: [gentoo-user] Re: emerge problems
Will do, thanks for your assistance! On Sun, Jan 4, 2009 at 7:57 PM, Nikos Chantziaras rea...@arcor.de wrote: Nikos Chantziaras wrote: /etc/portage/packages.use: dev-java/sun-jdk -doc Typo. It's /etc/portage/package.use. You need to emerge -N world after that.
[gentoo-user] weird cron mail problem
Starting yesterday IIRC I've been getting one of the messages below every time my Fetchmail cron job polls my 2 ISPs for new mail. The content of the msg clearly comes from my own Fetchmail, as it refers to both ISPs, but the msg itself originates at Uniserve, as is shown by the list of routings in the full header (not shown). Perhaps Uniserve has changed its procedures with this result, but before I phone their tech folks, I'ld like to be sure that it's not caused by something in my own machine. I'm not aware of having changed anything to do with mail recently. Does anyone have any suggestions based on experience ? Is there any way to tell Procmail to dump the msgs in /dev/null ? I have read the various man pages several times checked Gentoo Forum, but there's no sign of anything relevant. -- start of message -- X-Sieve: CMU Sieve 2.3 Envelope-to: purs...@ca.inter.net Delivery-date: Mon, 05 Jan 2009 07:30:08 -0800 Date: Mon, 05 Jan 2009 10:30:03 -0500 From: Cron Daemon r...@ca-inter-net.uniserve.ca To: purs...@ca-inter-net.uniserve.ca Subject: Cron purs...@localhost /usr/bin/fetchmail X-Cron-Env: SHELL=/bin/sh X-Cron-Env: HOME=/home/purslow X-Cron-Env: PATH=/usr/bin:/bin X-Cron-Env: LOGNAME=purslow X-Cron-Env: USER=purslow X-Scanner: OK. Scanned. X-Uniserve-Spam-Score: 2.2 22 (++) X-Uniserve-Spam-Report: Content analysis details: (2.2 points) pts rule name description -- -- 0.9 TO_MALFORMED To: has a malformed address 1.3 ADDRESS_IN_SUBJECT To: address appears in Subject X-Scanner: OK. Scanned. X-Uniserve-Spam-Score: 2.2 22 (++) X-Uniserve-Spam-Report: Spam detection software, running on this mail system has identified this incoming email as possible spam. An analysis of the message is below. Content analysis details: (2.2 points) pts rule name description -- -- 0.9 TO_MALFORMED To: has a malformed address 1.3 ADDRESS_IN_SUBJECT To: address appears in Subject 3 messages (3 seen) for purslow at pop.chass.utoronto.ca (22378 octets). skipping message purs...@artemis.chass.utoronto.ca:1 not flushed skipping message purs...@artemis.chass.utoronto.ca:2 not flushed skipping message purs...@artemis.chass.utoronto.ca:3 not flushed 1 message for purslow at pop.ca.inter.net (2763 octets). reading message purs...@ca-inter-net.uniserve.ca:1 of 1 (2763 octets).. flushed -- end of message -- -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
Re: [gentoo-user] Re: udept dead upstream
On Mon, Jan 05, 2009 at 02:48:29PM -0600, Harry Putnam wrote: I don't doubt all can be done in other ways, but that one tool combines a lot of functionality... though I'll admit I mostly use it for checking dependencies and reverse dependencies (q doesn't do reverse I don't think) and just querying packages like you do with equery and q. q works... to a certain extent. [04:01 PM]wwong ~ $ qdepends -Q pstoedit media-gfx/autotrace-0.31.1-r3 [04:01 PM]wwong ~ $ equery depends pstoedit [ Searching for packages depending on pstoedit... ] media-gfx/autotrace-0.31.1-r3 (pdf? media-gfx/pstoedit) media-gfx/inkscape-0.46-r5 (postscript? =media-gfx/pstoedit-3.44) So it's not perfect. equery works better, but slowly. I agree with you about the tools: it is hard to change one's habit and use new tools. I keep telling myself to learn eix but just never got around to doing it. W -- Willie W. Wong ww...@math.princeton.edu 408 Fine Hall, Department of Mathematics, Princeton University, Princeton A mathematician's reputation rests on the number of bad proofs he has given.
[gentoo-user] Xine and Mplayer Sound problems
Recently whenever I try to play a CD, or a file such as an .avi, Xine instead generates a xine-out.wav and no sound. The video portion looks perfect. If I play the xine-out.wav, it is the audio track from the file I tried to play. Trying to play that same .avi with Mplayer yields a pop-up window. It reports an error, DVB card number must be between 1 and 4. Like Xine, the video portion displays without problems. Anyone have any ideas on possible causes? Trying something like Ekiga, which has sound and video, works without problems. Thanks Sean
[gentoo-user] Re: udept dead upstream
Willie Wong ww...@princeton.edu writes: So it's not perfect. equery works better, but slowly. I agree with you about the tools: it is hard to change one's habit and use new tools. I keep telling myself to learn eix but just never got around to doing it. dep outputs several kinds of trick symbols with output that I think tells you specific things (like emerge output) I wish there was a manual about what any of it means.. the existing manual is pretty skimpy. Just skim down the list of dep options and flags... it can do a lot.
Re: [gentoo-user] Re: Motorola Razr V3i and moto4lin, connected, now what?
James wrote: Dale rdalek1967 at gmail.com writes: Hi, I'm not sure how this will appear as far as threading. Gmail doesn't send me a copy of my own emails so I can't reply to myself. No Gmail does not send you a copy. But, with Gmane you can reply to your posting or anyone else's posting by going to the upper right corner where is says action and pull down the option followup to reply to your posting or any other posting http://post.gmane.org/post.php?group=gmane.linux.gentoo.userfollowup=207651 You must first register with Gmane.org for this to work. Don't know about gmail, but, gmane is a very cool interface http://www.gmane.org/ hth, James I tried at one time to register with gmane but it just didn't like me. I couldn't get it to work so I gave up. I have searched their archives a couple times tho. I still prefer the email version. As soon as I figure out a way, I'm going to switch away from Gmail anyway. Their spam filter has really pissed me off plus I don't get the copies from here. I can't change either one of those so planning to change emails addys again. Dale :-) :-)
Re: [gentoo-user] weird cron mail problem
090105 Willie Wong wrote: On Mon, Jan 05, 2009 at 01:04:45PM -0500, Penguin Lover Philip Webb squawked: have you checked your outgoing mail logs to see if cron attempts to send mail when fetchmail is called? Thanks for the suggestion: the last few lines of /var/log/syslog are : Jan 5 17:10:01 localhost cron[4753]: (root) CMD (test -x /usr/sbin/run-crons /usr/sbin/run-crons ) Jan 5 17:10:01 localhost cron[4754]: (purslow) CMD (/usr/bin/fetchmail) Jan 5 17:10:11 localhost sSMTP[4765]: Sent mail for r...@ca.inter.net (221 smtp-relay1.uniserve.ca closing connection) uid=1000 username=purslow outbytes=1049 Jan 5 17:15:01 localhost cron[4908]: (purslow) CMD (/usr/bin/fetchmail) Jan 5 17:15:09 localhost sSMTP[4909]: Sent mail for r...@ca.inter.net (221 smtp-relay2.uniserve.ca closing connection) uid=1000 username=purslow outbytes=952 Actually, what is your cron recipe anyway? /var/log/spool/cron/crontabs/userid is : # DO NOT EDIT THIS FILE - edit the master and reinstall. # (/tmp/crontab.wsshN7 installed on Sun Nov 4 23:46:22 2007) # (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $) */5 * * * * /usr/bin/fetchmail I considered trying 'fetchmail -s', but I'm not sure how to add a flag in a cron file (perhaps by using a script). Also, have you updated either cron or fetchmail recently? The problem originated 090104 c0520 , when I edited ~/.fetchmailrc to delete the reference to a logfile. However, attempts to restore the STATVS QVO ANTE have failed: I've restored the previous version of .fetchmailrc without success I've remerged Fetchmail, rebooted then run fetchmailconf , but the crazy mails continue to appear every 5 min in my inbox. -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
[gentoo-user] init script freezes when xdm (kdm) starts
Hi, guys I've been seeing this for several months now, and I couldn't fix it. It is easy to workaround, so I didn't want to bother the list before. But when it's enough, it's enough. While booting, I can see the init scripts progress up to the time xdm (kdm) starts. Then I lo gin and start to work. Suddenly I remember that I have to issue a Ctrl-Alt-F1 to return to the boot console and only then the scripts go on, looking like they froze when X started (or some other related app). That was for several months and has come back now. During a few months interval (I suppose that those time periods were coincident to kernel updates) I got the opposite: the scripts kept going, X appeared for very few seconds and then the boot console reappeared without intervention. I always had to hit Ctrl-Alt-F7 to return to kdm. Any suggestions? Thanks a lot Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] init script freezes when xdm (kdm) starts
2009/1/6 Francisco Ares fra...@gmail.com Hi, guys I've been seeing this for several months now, and I couldn't fix it. It is easy to workaround, so I didn't want to bother the list before. But when it's enough, it's enough. While booting, I can see the init scripts progress up to the time xdm (kdm) starts. Then I lo gin and start to work. Suddenly I remember that I have to issue a Ctrl-Alt-F1 to return to the boot console and only then the scripts go on, looking like they froze when X started (or some other related app). That was for several months and has come back now. During a few months interval (I suppose that those time periods were coincident to kernel updates) I got the opposite: the scripts kept going, X appeared for very few seconds and then the boot console reappeared without intervention. I always had to hit Ctrl-Alt-F7 to return to kdm. Any suggestions? Thanks a lot Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw Have checked to make sure your init scripts are in the right place, run rc-update and it will show all your init scripts and in what order group they are in (boot, default etc). It may be that one got added to the wrong group which causes X to start too soon. Also check your running the latest versions of baselayout (and openrc if you run ~arch). For reference xdm should be the 2nd to last (or thereabouts) script to run, normally just before local. (also, are you sure this is X starting and not just a framebuffer splash?) - Nick
[gentoo-user] Re: weird cron mail problem
Philip Webb purs...@ca.inter.net writes: Also, have you updated either cron or fetchmail recently? The problem originated 090104 c0520 , when I edited ~/.fetchmailrc to delete the reference to a logfile. However, attempts to restore the STATVS QVO ANTE have failed: I've restored the previous version of .fetchmailrc without success I've remerged Fetchmail, rebooted then run fetchmailconf , but the crazy mails continue to appear every 5 min in my inbox. I think that looks like normal cron mail... Looks like you may have once had a redirect to `/dev/null' in the crontab line and inadvertently removed it. My fetchmail line in crontab: */15 * * * * /usr/bin/fetchmail -f /home/reader/.fetchmailrc /dev/null 21 Note the difference with yours: */5 * * * * /usr/bin/fetchmail Not redirect in yours but note that I dump any output to /dev/null You may first want to just say `cmd /dev/null' So that any errors are still send to you but once its working smoothly you can add 21 like `cmd /dev/null 21' so that both stderr and stdout go to dev/null I think you can also do the same thing like this `cmd /dev/null
Re: [gentoo-user] init script freezes when xdm (kdm) starts
On Mon, Jan 5, 2009 at 10:22 PM, Nick Cunningham n...@monkeydust.net wrote: 2009/1/6 Francisco Ares fra...@gmail.com Hi, guys I've been seeing this for several months now, and I couldn't fix it. It is easy to workaround, so I didn't want to bother the list before. But when it's enough, it's enough. While booting, I can see the init scripts progress up to the time xdm (kdm) starts. Then I lo gin and start to work. Suddenly I remember that I have to issue a Ctrl-Alt-F1 to return to the boot console and only then the scripts go on, looking like they froze when X started (or some other related app). That was for several months and has come back now. During a few months interval (I suppose that those time periods were coincident to kernel updates) I got the opposite: the scripts kept going, X appeared for very few seconds and then the boot console reappeared without intervention. I always had to hit Ctrl-Alt-F7 to return to kdm. Any suggestions? Thanks a lot Francisco Have checked to make sure your init scripts are in the right place, run rc-update and it will show all your init scripts and in what order group they are in (boot, default etc). It may be that one got added to the wrong group which causes X to start too soon. Also check your running the latest versions of baselayout (and openrc if you run ~arch). For reference xdm should be the 2nd to last (or thereabouts) script to run, normally just before local. (also, are you sure this is X starting and not just a framebuffer splash?) - Nick Sorry to answer a question with another one, but how do I know to which group the services should be added? That really might be the solution of my problem. And, yes, it is really X . This is the output from rc-uptate -s : acpid | default alsasound | default apcupsd | default bootmisc | boot bootsplash | default checkfs | boot checkroot | boot clock | boot consolefont | boot consolekit | default cupsd | default dbus | default ddclient | default fbcondecor | default gpm | default hald | default hdparm | default hostname | boot keymaps | boot kmyfirewall | default lm_sensors | default local | default nonetwork localmount | boot modules | boot net.eth2 | default net.lo | boot numlock | default rdate | default rmnologin | boot serial | boot smartd | default sysklogd | default urandom | boot vixie-cron | default xdm | default Thanks again Francisco
Re: [gentoo-user] init script freezes when xdm (kdm) starts
Sorry to answer a question with another one, but how do I know to which group the services should be added? That really might be the solution of my problem. And, yes, it is really X . This is the output from rc-uptate -s : acpid | default alsasound | default apcupsd | default bootmisc | boot bootsplash | default checkfs | boot checkroot | boot clock | boot consolefont | boot consolekit | default cupsd | default dbus | default ddclient | default fbcondecor | default gpm | default hald | default hdparm | default hostname | boot keymaps | boot kmyfirewall | default lm_sensors | default local | default nonetwork localmount | boot modules | boot net.eth2 | default net.lo | boot numlock | default rdate | default rmnologin | boot serial | boot smartd | default sysklogd | default urandom | boot vixie-cron | default xdm | default Thanks again Francisco Looking over those everything seems fine, i was hoping an obvious problem like xdm being in the boot group could have been a cause. Again, just to rule out the obvious, your sure your seeing xdm start up early and not the framebuffer splash? One other thing to check is whether you have parallel startup enabled, depending on whether your using openrc or not, this may be in /etc/rc.conf or /etc/conf.d/rc (or a similar location, i dont quite remember it exactly). Look for the following (or similar incase its changed): # Set to YES if you want the rc system to try and start services # in parallel for a slight speed improvement. When running in parallel we # prefix the service output with it's name as the output will get # jumbled up. # WARNING: whilst we have improved parallel, it can still potentially lock # the boot process. Don't file bugs about this unless you can supply # patches that fix it without breaking other things! rc_parallel=NO Ideally you want it set to NO to ensure everything starts when it is meant to. Hopefully one of these suggestions will help, if not the next idea is to move to openrc if your not already as that may help, although there is some risk involved in the upgrade. - Nick
[gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!
Hello and Happy New Year! I was just updating from kernel linux-2.6.24-gentoo-r7 to linux-2.6.27-gentoo-r7 using the oldconfig method, and I cannot get the new kernel to load my network. I have Intel network hardware that runs on the E1000 driver, which I generally compile right into the kernel - never had any problem. For some reason, the linux-2.6.27-gentoo-r7 kernel leaves me netless. I try to start the net.eth0, and it says 'please verify your hardware driver' or something to that extent. Has anyone else encountered this problem? I just compiled linux-2.6.25-gentoo-r9, and everything runs fine - no network problems at all! Is this a known problem, or have I run into a freak case of bad luck? Cheers, Denis
Re: [gentoo-user] init script freezes when xdm (kdm) starts
On Mon, Jan 5, 2009 at 11:21 PM, Nick Cunningham n...@monkeydust.netwrote: Sorry to answer a question with another one, but how do I know to which group the services should be added? That really might be the solution of my problem. And, yes, it is really X . This is the output from rc-uptate -s : acpid | default alsasound | default apcupsd | default bootmisc | boot bootsplash | default checkfs | boot checkroot | boot clock | boot consolefont | boot consolekit | default cupsd | default dbus | default ddclient | default fbcondecor | default gpm | default hald | default hdparm | default hostname | boot keymaps | boot kmyfirewall | default lm_sensors | default local | default nonetwork localmount | boot modules | boot net.eth2 | default net.lo | boot numlock | default rdate | default rmnologin | boot serial | boot smartd | default sysklogd | default urandom | boot vixie-cron | default xdm | default Thanks again Francisco Looking over those everything seems fine, i was hoping an obvious problem like xdm being in the boot group could have been a cause. Again, just to rule out the obvious, your sure your seeing xdm start up early and not the framebuffer splash? One other thing to check is whether you have parallel startup enabled, depending on whether your using openrc or not, this may be in /etc/rc.conf or /etc/conf.d/rc (or a similar location, i dont quite remember it exactly). Look for the following (or similar incase its changed): # Set to YES if you want the rc system to try and start services # in parallel for a slight speed improvement. When running in parallel we # prefix the service output with it's name as the output will get # jumbled up. # WARNING: whilst we have improved parallel, it can still potentially lock # the boot process. Don't file bugs about this unless you can supply # patches that fix it without breaking other things! rc_parallel=NO Ideally you want it set to NO to ensure everything starts when it is meant to. Hopefully one of these suggestions will help, if not the next idea is to move to openrc if your not already as that may help, although there is some risk involved in the upgrade. - Nick rc_parallel=NO (I have tried once, but gave up) and it is really X, I use verbose framebuffer images Gonna check that openrc, though. But, while re-emerging sysvinit: * WARNING: You have older net.* files in /etc/init.d/ * They need to be converted to symlinks to net.lo. If you haven't * made personal changes to those files, you can update with the * following command: ... Do the net.* also belong to the boot group of init scripts? This is a snippet of the end of the boot screen: * Setting framebuffer console images ... [ ok ] * Starting gpm ... [ ok ] * Setting up kdm ... [ ok ] * Loading ALSA modules ... * Loading: snd-seq-oss ... [ ok ] * Loading: snd-pcm-oss ... [ ok ] * Restoring Mixer Levels ... [ ok ] * Starting * no interface module has been loaded * Starting eth2 * Bringing up eth2 * adsl * Starting ADSL for eth2 [ ok ] * Starting APC UPS daemon ...[ ok ] * Starting cupsd ... [ ok ] * Starting ddclient ... [ ok ] Clearing iptables (created by KMyFirewall)... Done. Starting iptables (created by KMyFirewall)... Done. [ ok ] * Loading lm_sensors modules... * Loading coretemp ... [ ok ] * Initializing sensors ... [ ok ] * Enabling numlock on ttys ... [ ok ] * Setting clock via rdate ...[ ok ] * Starting S.M.A.R.T. monitoring daemon ... [ ok ] * Starting vixie-cron ...[ ok ] * Starting local ... [ ok ] This is ... Thanks a lot! Francisco
Re: [gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!
On Mon, Jan 05, 2009 at 08:56:28PM -0500, Denis wrote: Hello and Happy New Year! Happy new year to every members here. I was just updating from kernel linux-2.6.24-gentoo-r7 to linux-2.6.27-gentoo-r7 using the oldconfig method, and I cannot get the new kernel to load my network. The use of 'oldconfig' when upgrading from a previous .z kernel (as in 2.6.z) is a bad idea. There are too much changes between such upgrades. Please retry a compilation from scratch. I have Intel network hardware that runs on the E1000 driver, which I generally compile right into the kernel - never had any problem. For some reason, the linux-2.6.27-gentoo-r7 kernel leaves me netless. I try to start the net.eth0, and it says 'please verify your hardware driver' or something to that extent. Has anyone else encountered this problem? If compiled as a module, check if it is loaded. Then, check if the driver is working using the 'ifconfig -a' command (upgrade sys-apps/net-tools if avaible). If the module can't load or if it isn't working when loaded, post your 'dmesg' and 'emerge --info' outputs. I just compiled linux-2.6.25-gentoo-r9, and everything runs fine - no network problems at all! Ok. What about the 2.6.28 series ? -- Nicolas Sebrecht
Re: [gentoo-user] init script freezes when xdm (kdm) starts
On Tue, Jan 6, 2009 at 12:02 AM, Francisco Ares fra...@gmail.com wrote: On Mon, Jan 5, 2009 at 11:21 PM, Nick Cunningham n...@monkeydust.netwrote: Sorry to answer a question with another one, but how do I know to which group the services should be added? That really might be the solution of my problem. And, yes, it is really X . This is the output from rc-uptate -s : acpid | default alsasound | default apcupsd | default bootmisc | boot bootsplash | default checkfs | boot checkroot | boot clock | boot consolefont | boot consolekit | default cupsd | default dbus | default ddclient | default fbcondecor | default gpm | default hald | default hdparm | default hostname | boot keymaps | boot kmyfirewall | default lm_sensors | default local | default nonetwork localmount | boot modules | boot net.eth2 | default net.lo | boot numlock | default rdate | default rmnologin | boot serial | boot smartd | default sysklogd | default urandom | boot vixie-cron | default xdm | default Thanks again Francisco Looking over those everything seems fine, i was hoping an obvious problem like xdm being in the boot group could have been a cause. Again, just to rule out the obvious, your sure your seeing xdm start up early and not the framebuffer splash? One other thing to check is whether you have parallel startup enabled, depending on whether your using openrc or not, this may be in /etc/rc.conf or /etc/conf.d/rc (or a similar location, i dont quite remember it exactly). Look for the following (or similar incase its changed): # Set to YES if you want the rc system to try and start services # in parallel for a slight speed improvement. When running in parallel we # prefix the service output with it's name as the output will get # jumbled up. # WARNING: whilst we have improved parallel, it can still potentially lock # the boot process. Don't file bugs about this unless you can supply # patches that fix it without breaking other things! rc_parallel=NO Ideally you want it set to NO to ensure everything starts when it is meant to. Hopefully one of these suggestions will help, if not the next idea is to move to openrc if your not already as that may help, although there is some risk involved in the upgrade. - Nick rc_parallel=NO (I have tried once, but gave up) and it is really X, I use verbose framebuffer images Gonna check that openrc, though. But, while re-emerging sysvinit: * WARNING: You have older net.* files in /etc/init.d/ * They need to be converted to symlinks to net.lo. If you haven't * made personal changes to those files, you can update with the * following command: ... Do the net.* also belong to the boot group of init scripts? This is a snippet of the end of the boot screen: * Setting framebuffer console images ... [ ok ] * Starting gpm ... [ ok ] * Setting up kdm ... [ ok ] * Loading ALSA modules ... * Loading: snd-seq-oss ... [ ok ] * Loading: snd-pcm-oss ... [ ok ] * Restoring Mixer Levels ... [ ok ] * Starting * no interface module has been loaded * Starting eth2 * Bringing up eth2 * adsl * Starting ADSL for eth2 [ ok ] * Starting APC UPS daemon ...[ ok ] * Starting cupsd ... [ ok ] * Starting ddclient ... [ ok ] Clearing iptables (created by KMyFirewall)... Done. Starting iptables (created by KMyFirewall)... Done. [ ok ] * Loading lm_sensors modules... * Loading coretemp ... [ ok ] * Initializing sensors ... [ ok ] * Enabling numlock on ttys ... [ ok ] * Setting clock via rdate ...[ ok ] * Starting S.M.A.R.T. monitoring daemon ... [ ok ] * Starting vixie-cron ...[ ok ] * Starting local ... [ ok ] This is ... Thanks a lot! Francisco Tried to use net.eth2 in boot group: it works, but I still have the init scripts
Re: [gentoo-user] init script freezes when xdm (kdm) starts
rc_parallel=NO (I have tried once, but gave up) and it is really X, I use verbose framebuffer images Gonna check that openrc, though. But, while re-emerging sysvinit: * WARNING: You have older net.* files in /etc/init.d/ * They need to be converted to symlinks to net.lo. If you haven't * made personal changes to those files, you can update with the * following command: ... Do the net.* also belong to the boot group of init scripts? This is a snippet of the end of the boot screen: * Setting framebuffer console images ... [ ok ] * Starting gpm ... [ ok ] * Setting up kdm ... [ ok ] * Loading ALSA modules ... * Loading: snd-seq-oss ... [ ok ] * Loading: snd-pcm-oss ... [ ok ] * Restoring Mixer Levels ... [ ok ] * Starting * no interface module has been loaded * Starting eth2 * Bringing up eth2 * adsl * Starting ADSL for eth2 [ ok ] * Starting APC UPS daemon ...[ ok ] * Starting cupsd ... [ ok ] * Starting ddclient ... [ ok ] Clearing iptables (created by KMyFirewall)... Done. Starting iptables (created by KMyFirewall)... Done. [ ok ] * Loading lm_sensors modules... * Loading coretemp ... [ ok ] * Initializing sensors ... [ ok ] * Enabling numlock on ttys ... [ ok ] * Setting clock via rdate ...[ ok ] * Starting S.M.A.R.T. monitoring daemon ... [ ok ] * Starting vixie-cron ...[ ok ] * Starting local ... [ ok ] This is ... Thanks a lot! Francisco Ok, that net.* error may mean you have some config in the wrong place (or a really old config file). Network configs for all interfaces should go in /etc/conf.d/net and then to ensure they get started you create a symlink from /etc/init.d/net.lo to /etc/init.d/net.eth2 (in your case). Unless your creating init files for whatever reason, you should never need to edit anything in /etc/init.d/. Im interested to see what Setting up kdm ... is, do you use KDE or GNOME? If thats xdm then ive no idea why its starting so early, and if it is xdm then thats your problem im guessing. BTW, if your thinking of moving to openrc, make sure you read the migration guide and follow it to the letter otherwise you risk being left with an unbootable system: http://www.gentoo.org/doc/en/openrc-migration.xml - Nick
Re: [gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!
On Tue, Jan 6, 2009 at 12:25 AM, Nicolas Sebrecht nicolas.s-...@laposte.net wrote: On Mon, Jan 05, 2009 at 08:56:28PM -0500, Denis wrote: Hello and Happy New Year! Happy new year to every members here. I was just updating from kernel linux-2.6.24-gentoo-r7 to linux-2.6.27-gentoo-r7 using the oldconfig method, and I cannot get the new kernel to load my network. The use of 'oldconfig' when upgrading from a previous .z kernel (as in 2.6.z) is a bad idea. There are too much changes between such upgrades. Please retry a compilation from scratch. I have Intel network hardware that runs on the E1000 driver, which I generally compile right into the kernel - never had any problem. For some reason, the linux-2.6.27-gentoo-r7 kernel leaves me netless. I try to start the net.eth0, and it says 'please verify your hardware driver' or something to that extent. Has anyone else encountered this problem? If compiled as a module, check if it is loaded. Then, check if the driver is working using the 'ifconfig -a' command (upgrade sys-apps/net-tools if avaible). If the module can't load or if it isn't working when loaded, post your 'dmesg' and 'emerge --info' outputs. I just compiled linux-2.6.25-gentoo-r9, and everything runs fine - no network problems at all! Ok. What about the 2.6.28 series ? -- Nicolas Sebrecht I always do a genkernel --menuconfig (or --xconfig) --splash --install all and then wander here and there in the menu tree. lspci -k and lsmod are good companions. Have an excellent new year! Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] init script freezes when xdm (kdm) starts
On Tue, Jan 6, 2009 at 12:55 AM, Nick Cunningham n...@monkeydust.netwrote: ... Ok, that net.* error may mean you have some config in the wrong place (or a really old config file). Network configs for all interfaces should go in /etc/conf.d/net and then to ensure they get started you create a symlink from /etc/init.d/net.lo to /etc/init.d/net.eth2 (in your case). Unless your creating init files for whatever reason, you should never need to edit anything in /etc/init.d/. Im interested to see what Setting up kdm ... is, do you use KDE or GNOME? If thats xdm then ive no idea why its starting so early, and if it is xdm then thats your problem im guessing. BTW, if your thinking of moving to openrc, make sure you read the migration guide and follow it to the letter otherwise you risk being left with an unbootable system: http://www.gentoo.org/doc/en/openrc-migration.xml - Nick Thanks a lot, Nick, I'll re-emerge xdm just to make sure. But I'm also having problems compiling kdebase, where kdm sits :-( The net.eth2 (don't remember why) was made an exact copy of net.lo, so a symlink just did the same job. Config files are ok (I guess) and the init scripts are untouched. Tomorrow I'm going to check the config files, though. Thanks again Francisco
Re: [gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!
On Tue, Jan 06, 2009 at 12:59:13AM -0200, Francisco Ares wrote: snip Avoid the HTML format in your mail, please. Also, learn to quote. -- Nicolas Sebrecht
Re: [gentoo-user] init script freezes when xdm (kdm) starts
Am Dienstag, 6. Januar 2009 03:55:30 schrieb Nick Cunningham: If thats xdm then ive no idea why its starting so early, Because it's perfectly fine to do so. On my system, there are about 10 services which are started _after_ xdm (kdm). Bye... Dirk signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] init script freezes when xdm (kdm) starts
Am Dienstag, 6. Januar 2009 03:52:54 schrieb Francisco Ares: Tried to use net.eth2 in boot group: it works, There's no need to do so, they belong into default. but I still have the init scripts frozen as X starts, up until I hit Ctrl-Alt-F1 and watch them go on. What is the next service started after xdm? Maybe it's that one that has the problem. Bye... Dirk signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!
Am Dienstag, 6. Januar 2009 02:56:28 schrieb Denis: I have Intel network hardware that runs on the E1000 driver Did you try e1000e? Bye... Dirk signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!
On Tue, 6 Jan 2009 03:25:44 +0100, Nicolas Sebrecht wrote: The use of 'oldconfig' when upgrading from a previous .z kernel (as in 2.6.z) is a bad idea. There are too much changes between such upgrades. Please retry a compilation from scratch That's just FUD. oldconfig is intended to be used on minor version upgrades and is generally highly reliable. It can cause problems when configuration options move, but manual configuration each time suffers from the same thing and wastes a lot of time each time you upgrade. As long as you read the help text when working through oldconfig, you shouldn't have problems. To the OP, I'd try building the driver as a module, then you can look for messages when modprobing it with various options. -- Neil Bothwick Reality is an obstacle to hallucination. signature.asc Description: PGP signature