Re: [gentoo-user] cyrus-imapd: DBERROR db4: Database handles still open at env
On Wed, 10 Oct 2007 17:52:40 +0200 Alexander Reitzel wrote: Hi, http://forums.gentoo.org/viewtopic-t-499634-highlight-db4.html does that help? no, it doens't! [...] Oct 11 11:59:22 afrodita cyr_expire[4377]: expunged 0 out of 0 messages from 0 mailboxes Oct 11 11:59:22 afrodita ctl_cyrusdb[4378]: checkpointing cyrus databases Oct 11 11:59:22 afrodita tls_prune[4376]: tls_prune: purged 0 out of 0 entries Oct 11 11:59:22 afrodita ctl_cyrusdb[4378]: done checkpointing cyrus databases Oct 11 11:59:37 afrodita pop3[4383]: DBERROR db4: Database handles still open at environment close Oct 11 11:59:37 afrodita pop3[4383]: DBERROR db4: Open database handle: /var/imap/tls_sessions.db [...] I use the STARTTLS option in my MUA... but I always get the error... # imtest -a arnau -w XX -m login localhost S: * OK afrodita Cyrus IMAP4 v2.2.13-Gentoo server ready C: C01 CAPABILITY S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE STARTTLS LISTEXT LIST-SUBSCRIBED X-NETSCAPE S: C01 OK Completed C: L01 LOGIN arnau {8} S: + go ahead C: omitted S: L01 OK User logged in Authenticated. Security strength factor: 0 Cheers, -- Arnau Bria http://blog.emergetux.net Bombing for peace is like fucking for virginity -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] OT: how do I kick a MAC address off my hostapd WiFi network?
Hello Albert Hopkins, Search Google for if someone uses your property to commit a crime and, somewhat surprisingly, the first hit you get is this: http://www.techdirt.com/articles/20060320/1636238.shtml As it says, you could be arrested. you may not be charged, but your arrest would be on record. that wouldn't be so bad if someone had used your network to download music, but what about kiddie porn, or visiting al-Quaeda related web sites? Once you get into that area, all pretense of presumption of innocence and reasonable doubt goes out of the window. If you can't prove conclusively that it wasn't you, you will end up on a watch list. Maybe you still end up on it if you can prove it wasn't you. -- Neil Bothwick One-seventh of your life is spent on Monday. signature.asc Description: PGP signature
Re: [gentoo-laptop] Re: [gentoo-user] Problem with CPU temperature (Santa Rosa CPU)
Hi Beso, i've tried with your trip_points modification but it gives this error: bash: echo: write error: Invalid argument like i'm not able to write on that file. And of course acpitool gives me a random ACPI temperature: Battery #1 : charged AC adapter : on-line Thermal zone 1 : ok, 40 C PS: i followed all your suggestions concerning the microcode and fan option in the kernel. Could this be a problem of DSDT? regards, m On 10/10/07, Beso [EMAIL PROTECTED] wrote: 2007/10/10, Marco Calviani [EMAIL PROTECTED]: Hi Beso, sorry i misunderstood your suggestion. I did what you suggest and this is the result of the trip_points: critical (S5): 100C wow you don't have anything that says to the cpu to slow down when it reaches some point now, to add some other trip points you have to copy these in a konsole with root priviledges: echo passive: 78 C: tc1=3 tc2=1 tsp=150 devices=CPU0 \ active[0]: 68 C: devices= FN1 \ active[1]: 58 C: devices= FN2 /proc/acpi/thermal_zone/TZ01/trip_points then do a cat on the thermal_zone/TZ0/trip_points to see if you've added the lines for passive and active lines. that means that when your thermal reaches 78 degrees it will slow down the processor. from 58 to 68 it will turn on the fan but don't turn down the speed of the processor, below 58 it will turn off the fan. which i suppose is the reason why at that temperature the laptop switch off. So, nothing except for the critical state. Should i have to add there something? if the pc turns down then it can read from somewhere the actual thermal point. you try to see after actually setting the things i've just said, if your pc is behaving as it should. remember to also turn on the polling frequency. without it it will not look for thermal changes. and remember to actually compile the mce and speedstep features in the kernel and not as module and reboot and then set the things i've mentioned. after that type acpitool (it should be installed by default with the acpi package) and see what it says. it should give something like this: Battery #1 : charging, 46.00%, 01:17:04 AC adapter : on-line Thermal zone 1 : activ, 58 C it indicates, as you can see not only the battery and ac status but also the current processor mode (active) and the current thermal temperature if you don't have acpitool try acpi -t (you'll surely have either one or the other) and it should indicate the thermal state and temperature. if this command don't give you these infos then you'll have to be very careful using your pc since acpi probably don't support santarosa well. you should then unmask newer acpi in portage (adding acpi in /etc/package.keywords) and try with the new acpi ( 1.0.6). you may need some additional acpi modules, like ibm_acpi for example, but that depends on your's pc brand. i'm looking around to see if there were someone that had problems with santarosa and linux acpi, but for the moment i couldn't find something useful. try what i've said and see if the things work. if they work then append the tweak in some script that starts at boot like the top of xdm script and you'll have a functional system. let me know if you were succesful on that. An additional problem is this: doing a $ cat /proc/acpi/thermal_zone/TZ01/temperature it gives only a: temperature: 0C My question is: even if i change the polling frequency, how the fan can start if the temperature gives 0?? Do you know if it's possible to link the fan start with the core temperature instead of the ACPI thermal zone? probably the fan don't start since you have it as a module. i've curently had the same problem which solved by compiling it integrated in the kernel. the fan in your case should always be on, not always be off Regards, m thats why i told you to do this commanda: echo 2 seconds /proc/acpi/thermal_zone/TZ01/polling:frequency this enables the polling of your thermal every 2 seconds. this should be enough. do you have the other file that i mentioned: /proc/acpi/thermal_zone/TZ01/trip_points ?! this sets the trip points for your processor. whitout it you governor cannot understand what to do even if it polls right. as for the kernel thigs, set these options: select processor type: intel core2 instead of normal x86 CONFIG_X86_SPEEDSTEP_CENTRINO=y instead of m CONFIG_ACPI_FAN=y instead of m CONFIG_MICROCODE=y instead of m (for what i know cpu micocode is needed on intels) CONFIG_K8_NUMA=n instead of y (this should be the amdk8 numa, that you should not need. if it's not then let him be) CONFIG_X86_MCE_AMD=n instead of y (you don't need amd mce features since they are not included into intel cpus) CONFIG_NR_CPUS=32 -- this leaves me a little dazzled: do you really have 32 cpus in your core?!
[gentoo-user] Is this normal?
At the end of the emerge process... * IMPORTANT: 10 config files in '/etc' need updating. * See the CONFIGURATION FILES section of the emerge * man page to learn how to update config files. piggy ~ # etc-update Scanning Configuration files... Automerging trivial changes in: /etc/conf.d/crypto-loop Automerging trivial changes in: /etc/modprobe.d/pnp-aliases The following is the list of files which need updating, each configuration file is followed by a list of possible replacement files. 1) /etc/init.d/crypto-loop (1) 2) /etc/udev/udev.conf (1) Please select a file to edit by entering the corresponding number. Where are the other 6 files that need updating? Thanks -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] cyrus-imapd: DBERROR db4: Database handles still open at env
Im sorry I cant help :/ Am Donnerstag, 11. Oktober 2007 09:54:54 schrieb Arnau Bria: On Wed, 10 Oct 2007 17:52:40 +0200 Alexander Reitzel wrote: Hi, http://forums.gentoo.org/viewtopic-t-499634-highlight-db4.html does that help? no, it doens't! [...] Oct 11 11:59:22 afrodita cyr_expire[4377]: expunged 0 out of 0 messages from 0 mailboxes Oct 11 11:59:22 afrodita ctl_cyrusdb[4378]: checkpointing cyrus databases Oct 11 11:59:22 afrodita tls_prune[4376]: tls_prune: purged 0 out of 0 entries Oct 11 11:59:22 afrodita ctl_cyrusdb[4378]: done checkpointing cyrus databases Oct 11 11:59:37 afrodita pop3[4383]: DBERROR db4: Database handles still open at environment close Oct 11 11:59:37 afrodita pop3[4383]: DBERROR db4: Open database handle: /var/imap/tls_sessions.db [...] I use the STARTTLS option in my MUA... but I always get the error... # imtest -a arnau -w XX -m login localhost S: * OK afrodita Cyrus IMAP4 v2.2.13-Gentoo server ready C: C01 CAPABILITY S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE STARTTLS LISTEXT LIST-SUBSCRIBED X-NETSCAPE S: C01 OK Completed C: L01 LOGIN arnau {8} S: + go ahead C: omitted S: L01 OK User logged in Authenticated. Security strength factor: 0 Cheers, -- Arnau Bria http://blog.emergetux.net Bombing for peace is like fucking for virginity -- [EMAIL PROTECTED] mailing list
Re: [gentoo-laptop] Re: [gentoo-user] Problem with CPU temperature (Santa Rosa CPU)
Hi Beso, i have an Acer Aspire 5720. I've tried with the acer_acpi, it compiles well but when it comes to loading it fails, saying No or unsupported WMI interface, unable to load. However as far as i can understood, this module deals with issues of buttons and hotkey not with ACPI issues. Yes, my DSDT failed during recompiling, but i have managed to solve the issues, and now it compiled well (with warning but i'm not caring). I'll try to recompile the new DSDT in the kernel, maybe it could help (but i'm not sure). Regards, m On 10/11/07, Beso [EMAIL PROTECTED] wrote: yep you're right i cannot modify my trippoints so this file cannot be modified i don't think that it's random, since it is 40 c try doing some compiling or so and see if it goes up and then stop compiling and do nothing and see if it goes down this will tell you if thermal is working for dsdt problem you have follow this guide: http://gentoo-wiki.com/HOWTO_Fix_Common_ACPI_Problems if it gives you errors when recompiling dsdt then it may be a dsdt problem, but if it gives you no problem recompiling it then it may be that you need some additional modules like asus_acpi or ibm or toshiba ones based on your pc model. i don't know what you're using (i've managed to see some lenovo, asus toshiba and acer models around and for what i know every one of then needs an additional acpi module to have it work correctly). that was why i've asked you for your brand and model name. 2007/10/11, Marco Calviani [EMAIL PROTECTED]: Hi Beso, i've tried with your trip_points modification but it gives this error: bash: echo: write error: Invalid argument like i'm not able to write on that file. And of course acpitool gives me a random ACPI temperature: Battery #1 : charged AC adapter : on-line Thermal zone 1 : ok, 40 C PS: i followed all your suggestions concerning the microcode and fan option in the kernel. Could this be a problem of DSDT? regards, m On 10/10/07, Beso [EMAIL PROTECTED] wrote: 2007/10/10, Marco Calviani [EMAIL PROTECTED]: Hi Beso, sorry i misunderstood your suggestion. I did what you suggest and this is the result of the trip_points: critical (S5): 100C wow you don't have anything that says to the cpu to slow down when it reaches some point now, to add some other trip points you have to copy these in a konsole with root priviledges: echo passive: 78 C: tc1=3 tc2=1 tsp=150 devices=CPU0 \ active[0]: 68 C: devices= FN1 \ active[1]: 58 C: devices= FN2 /proc/acpi/thermal_zone/TZ01/trip_points then do a cat on the thermal_zone/TZ0/trip_points to see if you've added the lines for passive and active lines. that means that when your thermal reaches 78 degrees it will slow down the processor. from 58 to 68 it will turn on the fan but don't turn down the speed of the processor, below 58 it will turn off the fan. which i suppose is the reason why at that temperature the laptop switch off. So, nothing except for the critical state. Should i have to add there something? if the pc turns down then it can read from somewhere the actual thermal point. you try to see after actually setting the things i've just said, if your pc is behaving as it should. remember to also turn on the polling frequency. without it it will not look for thermal changes. and remember to actually compile the mce and speedstep features in the kernel and not as module and reboot and then set the things i've mentioned. after that type acpitool (it should be installed by default with the acpi package) and see what it says. it should give something like this: Battery #1 : charging, 46.00%, 01:17:04 AC adapter : on-line Thermal zone 1 : activ, 58 C it indicates, as you can see not only the battery and ac status but also the current processor mode (active) and the current thermal temperature if you don't have acpitool try acpi -t (you'll surely have either one or the other) and it should indicate the thermal state and temperature. if this command don't give you these infos then you'll have to be very careful using your pc since acpi probably don't support santarosa well. you should then unmask newer acpi in portage (adding acpi in /etc/package.keywords) and try with the new acpi ( 1.0.6). you may need some additional acpi modules, like ibm_acpi for example, but that depends on your's pc brand. i'm looking around to see if there were someone that had problems with santarosa and linux acpi, but for the moment i couldn't find something useful. try what i've said and see if the things work. if they work then append the tweak in some script that starts at boot like the top of xdm script and you'll have a functional system.
[gentoo-user] Emerging java with gcj
Hi! I've noticed that the gcj use flag is not enabled by default and therefore all java code is compiled to byte code instead of native binaries, am I correct? I wonder how I can change that. Just re-emerge gcc with USE=gcj and all packages containing java code? Is it even a good idea? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Is this normal?
On Thursday 11 October 2007, Etaoin Shrdlu wrote: Where are the other 6 files that need updating? Thanks Ok, I found bug #194043. Is the one I'm seeing? Thanks -- [EMAIL PROTECTED] mailing list
[gentoo-user] Easy way to know its public IP address
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello everybody, I would like to know how is it possible to quickly know its public IP address behind a NAT from the console... I'm using links + a My IP search but it sucks Thanks, Best Regards PS: And an easy way to test the type of NAT?? -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHDhpjqjpLE0HiOBYRAua2AJ9JBXfEo+iC45Br2dGjjFtCcXrsUgCgmJob nDlNKWRLdg9LEfeVTD4Erek= =vCPv -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Easy way to know its public IP address
Deat Marc, You may try to do something like this: lynx -dump http://www.whatismyip.org/ Sounds nice, huh?! Regards, Saffi -- *Ricardo Saffi Marques* Laboratório de Administração e Segurança de Sistemas (LAS/IC) Universidade Estadual de Campinas (UNICAMP) *Cell:* +55 (19) 8128-0435 *Skype:* ricardo_saffi_marques *Website:* *http://www.rsaffi.com* On 10/11/07, Marc LEURENT [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello everybody, I would like to know how is it possible to quickly know its public IP address behind a NAT from the console... I'm using links + a My IP search but it sucks Thanks, Best Regards PS: And an easy way to test the type of NAT?? -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHDhpjqjpLE0HiOBYRAua2AJ9JBXfEo+iC45Br2dGjjFtCcXrsUgCgmJob nDlNKWRLdg9LEfeVTD4Erek= =vCPv -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Easy way to know its public IP address
On Thursday 11 October 2007, Marc LEURENT wrote: Hello everybody, I would like to know how is it possible to quickly know its public IP address behind a NAT from the console... I'm using links + a My IP search but it sucks wget -q -O - http://whatismyip.org Other similar services might exist. Of course, do not abuse them. PS: And an easy way to test the type of NAT?? What do you mean? Looking at your router/firewall's config is not enough? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Easy way to know its public IP address
Hi, On Thu, 11 Oct 2007 14:43:15 +0200 Marc LEURENT [EMAIL PROTECTED] wrote: I would like to know how is it possible to quickly know its public IP address behind a NAT from the console... I'm using links + a My IP search but it sucks You can craft a similar service that just reports the querying IP. You can e.g. do without the HTTP protocol and just setup a simple server, e.g. using ucspi-tcp, which sets the TCPREMOTEIP environment variable. Then you can just use netcat. Of course, for all this you'll need a server on the net. OTOH, you could just ask your gateway, if there are means to that (you didn't tell us anything about it). And what different methods of NAT are you talking about in this context? -hwh -- [EMAIL PROTECTED] mailing list
[gentoo-user] apache wont start when there is no network available
Yesterday I installed Apache2 Mysql 5 and php 5 along with tikiwiki 1.9.8 on my laptop (localhost). The idea is to play with and learn how to use tikiwiki before I install it on my webhost and revamp my website. Everything was working fine and is working fine here in the office where I have online access. But when I got home last night with the intention of playing with tikiwiki I couldn't because apache wouldn't start. I wouldn't start because net.eth1 couldn't connect to anything. net.eth1 is my wireless connection, net.eth0 is my wired connection. Neither will start at home because I don't have internet at home. Question, why does apache2 need net.eth1 to be running? How can I get apache2 going without a network connection? Surely everything it needs is on the laptop (localhost) I've looked at the httpd.conf but I can't see anything relevant I'm clearly new to this apache stuff, any help would be appreciated Matt -- %%% Dr. Matthew R. Lee CASEB ECIM Departamento de Ecologia, P. Universidad Catolica de Chile, Alameda 340, Santiago. CP 6513677 CHILE [EMAIL PROTECTED] [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- [EMAIL PROTECTED] mailing list
Re: [gentoo-laptop] Re: [gentoo-user] Problem with CPU temperature (Santa Rosa CPU)
As far as i know unfortunately the Travelmate 5720 exists, together with the entry level Aspire 5720... I've tried also the new version and the load error appears at the same level. I've mailed Carlos of acer-acpi, let's see what comes out. Thanks again for your help, i'll let you know about the improvement of this situation, m On 10/11/07, Beso [EMAIL PROTECTED] wrote: normally all acer have dsdt problems and don't work unless you load acer_acpi. now, in the portage tree there's only the 0.8.2 version, so you have to go here: http://code.google.com/p/aceracpi/ download the latest version and install it. there's a 5720 product listed (under travelmate and not aspire, but it may have been an error). simply search for acer_acpi in the /lib/modules/2.6.22-gentoo-r8 and delete it then do a depmod -a and update the modules installed and retry loading the newly compiled driver. if you manage to get it working in this way ok, if not try contacting the guy maintaing the aceracpi module and tell him about you problems. he may be of help. 2007/10/11, Marco Calviani [EMAIL PROTECTED]: Hi Beso, i have an Acer Aspire 5720. I've tried with the acer_acpi, it compiles well but when it comes to loading it fails, saying No or unsupported WMI interface, unable to load. However as far as i can understood, this module deals with issues of buttons and hotkey not with ACPI issues. Yes, my DSDT failed during recompiling, but i have managed to solve the issues, and now it compiled well (with warning but i'm not caring). I'll try to recompile the new DSDT in the kernel, maybe it could help (but i'm not sure). Regards, m On 10/11/07, Beso [EMAIL PROTECTED] wrote: yep you're right i cannot modify my trippoints so this file cannot be modified i don't think that it's random, since it is 40 c try doing some compiling or so and see if it goes up and then stop compiling and do nothing and see if it goes down this will tell you if thermal is working for dsdt problem you have follow this guide: http://gentoo-wiki.com/HOWTO_Fix_Common_ACPI_Problems if it gives you errors when recompiling dsdt then it may be a dsdt problem, but if it gives you no problem recompiling it then it may be that you need some additional modules like asus_acpi or ibm or toshiba ones based on your pc model. i don't know what you're using (i've managed to see some lenovo, asus toshiba and acer models around and for what i know every one of then needs an additional acpi module to have it work correctly). that was why i've asked you for your brand and model name. 2007/10/11, Marco Calviani [EMAIL PROTECTED]: Hi Beso, i've tried with your trip_points modification but it gives this error: bash: echo: write error: Invalid argument like i'm not able to write on that file. And of course acpitool gives me a random ACPI temperature: Battery #1 : charged AC adapter : on-line Thermal zone 1 : ok, 40 C PS: i followed all your suggestions concerning the microcode and fan option in the kernel. Could this be a problem of DSDT? regards, m On 10/10/07, Beso [EMAIL PROTECTED] wrote: 2007/10/10, Marco Calviani [EMAIL PROTECTED]: Hi Beso, sorry i misunderstood your suggestion. I did what you suggest and this is the result of the trip_points: critical (S5): 100C wow you don't have anything that says to the cpu to slow down when it reaches some point now, to add some other trip points you have to copy these in a konsole with root priviledges: echo passive: 78 C: tc1=3 tc2=1 tsp=150 devices=CPU0 \ active[0]: 68 C: devices= FN1 \ active[1]: 58 C: devices= FN2 /proc/acpi/thermal_zone/TZ01/trip_points then do a cat on the thermal_zone/TZ0/trip_points to see if you've added the lines for passive and active lines. that means that when your thermal reaches 78 degrees it will slow down the processor. from 58 to 68 it will turn on the fan but don't turn down the speed of the processor, below 58 it will turn off the fan. which i suppose is the reason why at that temperature the laptop switch off. So, nothing except for the critical state. Should i have to add there something? if the pc turns down then it can read from somewhere the actual thermal point. you try to see after actually setting the things i've just said, if your pc is behaving as it should. remember to also turn on the polling frequency. without it it will not look for thermal changes. and remember to actually compile the mce and speedstep features in the kernel and not as module and reboot and then set the things i've
Re: [gentoo-user] Is this normal?
Files with trivial changes will be updated automatically as indicated. On 10/11/07, Etaoin Shrdlu [EMAIL PROTECTED] wrote: On Thursday 11 October 2007, Etaoin Shrdlu wrote: Where are the other 6 files that need updating? Thanks Ok, I found bug #194043. Is the one I'm seeing? Thanks -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Problems after long-due emerge -uDN world
First, my alt key seems not to work properly. It works fine in regular programs (e.g. alt-f in firefox pulls down the file menu properly), but not for wm or X-related things. For example, I can no longer use ctrl-alt-fx to change to a VT from with X. Control-alt-backspace _does_ work, and I can switch to a VT if I do it quick before before it finishes restarting, at which point the shortcut works fine until I get back into the X display. With my wm (xfwm), the keyboard shortcut settings program will detect the alt key fine when I'm setting shortcuts, but any shortcut involving alt will not work when I actually try to use it. The normal alt-drag to move windows and such doesn't work either. This is caused by the new xkeyboard-config. Downgrading should help. The bug has been already filed through both Gentoo and freedesktop.org bugzillas. Regards -Roman Zilka -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Is this normal?
On Thursday 11 October 2007, Marco Antônio da Veiga wrote: Files with trivial changes will be updated automatically as indicated. Yes, but it shows only two of them. Add the two it explicitly requires to update, and you still see that, of the initial 10, only four files are updated. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Is this normal?
On 10/11/07, Etaoin Shrdlu [EMAIL PROTECTED] wrote: * man page to learn how to update config files. The http://gentoo-wiki.com/HOWTO_Maintain_Gentoo_-_%22Best_Practices%22#dispatch-conf suggests the use of dispatch-conf over etc-update. Regards, Liviu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Is this normal?
On Thursday 11 October 2007, Liviu Andronic wrote: On 10/11/07, Etaoin Shrdlu [EMAIL PROTECTED] wrote: * man page to learn how to update config files. The http://gentoo-wiki.com/HOWTO_Maintain_Gentoo_-_%22Best_Practices%22#di spatch-conf suggests the use of dispatch-conf over etc-update. But the most important thing is, that it keeps record of which configuration files you edited and auto-updates those that you haven't touched. After it has collected the necessary information it will most often only prompt you for intervention where it is really necessary. Thus, it seems that my etc-update is behaving like dispatch-conf, updating some files (the missing six) without notice. This sound strange. Shouldn't etc-update automerge them together with the other ones that require only trivial changes? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] apache wont start when there is no network available
On Thu, 11 Oct 2007 09:17:40 -0400, Matthew R. Lee wrote: Question, why does apache2 need net.eth1 to be running? How can I get apache2 going without a network connection? Surely everything it needs is on the laptop (localhost) Set RC_NET_STRICT_CHECKING=lo in /etc/conf.d/rc -- Neil Bothwick This fortune soaks up 47 times its own weight in excess memory. signature.asc Description: PGP signature
[gentoo-user] Stund ebuild
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Does someone know why we don't have an ebuild of the stun server/client... Is it because of the Vovida license? or because something else... I have never made and ebuild, but it could be useful... See http://sourceforge.net/projects/stun/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHDjqkqjpLE0HiOBYRAs8tAKClN/9tKyz3QBfK2YoURJJxRN2DrwCgnW9N c8oFWVq/48xcZ1hDUM6WpvI= =fU6o -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Easy way to know its public IP address
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ok, the stun client command seems to be my answer!! I get my external IP address, and the type of NAT I'm using: Indepndent Mapping, Port Dependent Filter, preserves ports, no hairpin Have a nice day example: [EMAIL PROTECTED]:[~/../stund]$ ./client stunserver.org -v STUN client version 0.96 Opened port 18804 with fd 3 Opened port 18805 with fd 4 Encoding stun message: Encoding ChangeRequest: 0 ... . About to send msg of len 28 to 62.210.194.120:18804 test I = 1 test II = 0 test III = 0 test I(2) = 1 is nat = 1 mapped IP same = 1 hairpin = 0 preserver port = 1 Primary: Indepndent Mapping, Port Dependent Filter, preserves ports, no hairpin Return value is 0x17 Hans-Werner Hilse a écrit : Hi, On Thu, 11 Oct 2007 14:43:15 +0200 Marc LEURENT [EMAIL PROTECTED] wrote: I would like to know how is it possible to quickly know its public IP address behind a NAT from the console... I'm using links + a My IP search but it sucks You can craft a similar service that just reports the querying IP. You can e.g. do without the HTTP protocol and just setup a simple server, e.g. using ucspi-tcp, which sets the TCPREMOTEIP environment variable. Then you can just use netcat. Of course, for all this you'll need a server on the net. OTOH, you could just ask your gateway, if there are means to that (you didn't tell us anything about it). And what different methods of NAT are you talking about in this context? -hwh -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHDjjxqjpLE0HiOBYRAvRdAJ98IJlBz8TsZO1MBKuQ7VT6pCdwbwCfXmhD hFFo/xuB34F3Ml3rEsp0hoM= =uB/h -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] alsa problem
2007/10/11, Hans-Werner Hilse [EMAIL PROTECTED]: Hi, On Wed, 10 Oct 2007 11:04:11 +0800 Chuanwen Wu [EMAIL PROTECTED] wrote: I just setup a gentoo in my dell1400 laptop,and until now,the sound problem is not solved yet. Here is the problem: $ aplay 01.mp3 ALSA lib pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave aplay: main:545: audio open error: No such file or directory This indicates that the dmix module (NOT kernel, but alsa-lib!) might be missing. I ran into some similar problems, I think they modified the way alsa-lib is configured and made it more fine-grained. Missing an ALSA_PCM_PLUGINS setting in my /etc/make.conf, I had no plugins at all. So I suggest to check your /etc/make.conf, and if not present and you want minimum hassle, append that line to /etc/make.conf: ---snip ALSA_PCM_PLUGINS=adpcm alaw copy dshare dsnoop extplug file hooks ladspa lfloat linear meter mulaw multi null rate route share shm ---snip (works for me) then re-emerge alsa-lib. Thanks for your tips! I have tried, but the result is all the same. Here is my ALSA_PCM_PLUGINS: (I have also tried your choose too) ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol Here is my in-kernel alsa options: M Advanced Linux Sound Architecture │ │ │ │ M Sequencer support │ │ │ │ Sequencer dummy client │ │ │ │ M OSS Mixer API │ │ │ │ M OSS PCM (digital audio) API │ │ │ │ [*] OSS PCM (digital audio) API - Include plugin system │ │ │ │ [ ] OSS Sequencer API │ │ │ │ M RTC Timer support │ │ │ │ [*] Use RTC as default sequencer timer │ │ │ │ [ ] Dynamic device file minor numbers │ │ │ │ [*] Support old ALSA API │ │ │ │ [*] Verbose procfs contents Here is my /etc/modules.d/alsa: $ cat /etc/modules.d/alsa alias char-major-116 snd alias char-major-14 soundcore alias /dev/mixer snd-mixer-oss alias /dev/dsp snd-pcm-oss alias /dev/midi snd-seq-oss option snd cards_limit=1 alias sound-service-0-0 snd-mixer-oss alias sound-service-0-1 snd-seq-oss alias sound-service-0-3 snd-pcm-oss alias sound-service-0-8 snd-seq-oss alias sound-service-0-12 snd-pcm-oss # Set this to the correct number of cards. # --- BEGIN: Generated by ALSACONF, do not edit. --- # --- ALSACONF version 1.0.14 --- alias snd-card-0 snd-hda-intel alias sound-slot-0 snd-hda-intel # --- END: Generated by ALSACONF, do not edit. --- I can't find the /dev/dsp : # ls /dev/dsp ls: cannot access /dev/dsp: No such file or directory My os is a 64bit gentoo, so may it be the problem? And here is my hardware: [...] looks OK. -hwh -- [EMAIL PROTECTED] mailing list -- wcw
Re: [gentoo-user] alsa problem
Hi, On Thu, 11 Oct 2007 23:53:42 +0800 Chuanwen Wu [EMAIL PROTECTED] wrote: I can't find the /dev/dsp : # ls /dev/dsp ls: cannot access /dev/dsp: No such file or directory My os is a 64bit gentoo, so may it be the problem? No, /dev/dsp is OSS stuff. Aplay shouldn't use that. But it makes me wonder whether snd_pcm_oss is loaded? Anyway, that shouldn't bother us here, that's not used by aplay. (BTW: For me, aplay will play noise when trying to play an MP3, but at least it *does* play something) Do you by chance have some older /etc/asound.* files around? Did you try re-running alsaconf? If all this doesn't work, try running strace on the aplay process (call strace aplay) and post back some output. Also, the contents of /proc/asound/cards and /proc/asound/devices might be interesting. -hwh -- [EMAIL PROTECTED] mailing list
[gentoo-user] pam errors in update world - how to trackdown
I'm getting an error when update world tries to install sys-libs/pam that tell me this: Merging sys-libs/pam-0.99.8.1-r1 to / * * Your current setup is using one or more of the following modules, * that are not built or supported anymore: * pam_pwdb, pam_radius, pam_timestamp * If you are in real need for these modules, please contact the maintainers * of PAM through http://bugs.gentoo.org/ providing information about its * use cases. * * ERROR: sys-libs/pam-0.99.8.1-r1 failed. * Call stack: *ebuild.sh, line 1703: Called dyn_preinst *ebuild.sh, line 1142: Called pkg_preinst * pam-0.99.8.1-r1.ebuild, line 162: Called die * The specific snippet of code: * check_old_modules || die deprecated PAM modules still used * The die message: * deprecated PAM modules still used Apparently I need to remove one or more of those listed but having a time finding them. equery files pam turns up nothing with those names equery list|grep shows no promising hits on pwdb, radius or timestamp I did find a pwdb package but it shows no hits on those names either. How might I track this down? Or is the error really about something else? -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: What things wont run without hal being started?
Rumen Yotov [EMAIL PROTECTED] writes: euse -i hal Thanks, but it doesn't show anything interesting here: euse -i hal global use flags (searching: hal) [+ CD ] hal - Enable Hardware Abstraction Layer (HAL) support local use flags (searching: hal) no matching entries found === It was installed with these USE flags: acpi crypt kernel_linux -debug -dell -disk-partition -doc -kernel_FreeBSD -pcmcia -selinux Apparently none are global? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: What things wont run without hal being started?
On (11/10/07 11:30) [EMAIL PROTECTED] wrote: Rumen Yotov [EMAIL PROTECTED] writes: euse -i hal Thanks, but it doesn't show anything interesting here: euse -i hal global use flags (searching: hal) [+ CD ] hal - Enable Hardware Abstraction Layer (HAL) support local use flags (searching: hal) no matching entries found === It was installed with these USE flags: acpi crypt kernel_linux -debug -dell -disk-partition -doc -kernel_FreeBSD -pcmcia -selinux Apparently none are global? -- [EMAIL PROTECTED] mailing list Hi, $quse hal - gives you all packages with 'hal' flag support. To check for all installed apps currently not using hal: 1.put hal in USE= (/etc/make.conf) 2.run #emerge -N world -p HTH. Rumen -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Easy way to know its public IP address
Etaoin Shrdlu ha scritto: What do you mean? Looking at your router/firewall's config is not enough? Not always possible if you have an ISP (like mine) that treats all its computers as behind a LAN and has routers unreachable by the user with mostly unknown settings... m. -- [EMAIL PROTECTED] mailing list
[gentoo-user] Which Partition type does iPod Nano use
I've not had my iPod Nano connected to my Gentoo box in a while and today when I connected it I dmesg shows the following: 8-- scsi 2:0:0:0: Direct-Access AppleiPod 2.70 PQ: 0 ANSI: 2 sd 2:0:0:0: [sdc] 495616 2048-byte hardware sectors (1015 MB) sd 2:0:0:0: [sdc] Write Protect is off sd 2:0:0:0: [sdc] Mode Sense: 64 00 00 08 sd 2:0:0:0: [sdc] Assuming drive cache: write through sd 2:0:0:0: [sdc] 495616 2048-byte hardware sectors (1015 MB) sd 2:0:0:0: [sdc] Write Protect is off sd 2:0:0:0: [sdc] Mode Sense: 64 00 00 08 sd 2:0:0:0: [sdc] Assuming drive cache: write through sdc: unknown partition table sd 2:0:0:0: [sdc] Attached SCSI removable disk sd 2:0:0:0: Attached scsi generic sg3 type 0 usb-storage: device scan complete 8-- The Nano get recognized but not it's Partition type (it works OK on a Wintendo box). Someone know which partition type an iPod Nano uses? Regards, -- Dan Johansson, http://www.dmj.nu *** This message is printed on 100% recycled electrons! *** signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] gcc-4.2.2 + nvidia-driver = death ?
Hi Helmut, I don't have the latest kernel or gcc-4.2.2 but I get that error every time I recompile nvidia-drivers. Try running: # FEATURES=-sandbox emerge nvidia-drivers That will bypass the sandbox which is what's causing you problems there. Mat On 10/11/07, Helmut Jarausch [EMAIL PROTECTED] wrote: Hi, having installed gcc-4.2.2 (and making it the default with the new gcc-config - hurrah) I tried to (reinstall) x11-drivers/nvidia-drivers-1.0.9639 for my new 2.6.23 kernel. But it fails - see the attachment. At the moment I cannot use a more recent version of the nvidia-drivers since these don't support my old video card anymore. Has anybody had more success with more recent nvidia-drivers and gcc-4.2.2 (and perhaps kernel 2.6.23) ? Many thanks for any hint, Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany
[gentoo-user] gcc-4.2.2 + nvidia-driver = death ?
Hi, having installed gcc-4.2.2 (and making it the default with the new gcc-config - hurrah) I tried to (reinstall) x11-drivers/nvidia-drivers-1.0.9639 for my new 2.6.23 kernel. But it fails - see the attachment. At the moment I cannot use a more recent version of the nvidia-drivers since these don't support my old video card anymore. Has anybody had more success with more recent nvidia-drivers and gcc-4.2.2 (and perhaps kernel 2.6.23) ? Many thanks for any hint, Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany * The die message: * Unable to make IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.23-gentoo/build clean module. * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9639/temp/build.log'. * --- ACCESS VIOLATION SUMMARY --- LOG FILE = /var/log/sandbox/sandbox-x11-drivers_-_nvidia-drivers-1.0.9639-32643.log open_wr: /usr/src/linux-2.6.23-gentoo/null.gcda open_wr: /usr/src/linux-2.6.23-gentoo/null.gcda open_wr: /usr/src/linux-2.6.23-gentoo/null.gcda open_wr: /usr/src/linux-2.6.23-gentoo/null.gcda Determining the location of the kernel source code Found kernel source directory: /usr/src/linux Found kernel object directory: /lib/modules/2.6.23-gentoo/build Found sources for kernel version: 2.6.23-gentoo Checking for MTRR support ... Unpacking source... Creating directory NVIDIA-Linux-x86-1.0-9639-pkg0 Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 1.0-9639.. Applying NVIDIA_glx-defines.patch ... Applying NVIDIA_glx-glheader.patch ... Applying NVIDIA_i2c-hwmon.patch ... Converting Makefile.kbuild to use M= instead of SUBDIRS= ... Source unpacked. Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9639/work/NVIDIA-Linux-x86-1.0-9639-pkg0/usr/src/nv ... Preparing nvidia module NVIDIA: calling KBUILD... make CC=i686-pc-linux-gnu-gcc KBUILD_OUTPUT=/lib/modules/2.6.23-gentoo/build KBUILD_VERBOSE=1 -C /usr/src/linux M=/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9639/work/NVIDIA-Linux-x86-1.0-9639-pkg0/usr/src/nv modules make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. make -C /lib/modules/2.6.23-gentoo/build \ KBUILD_SRC=/usr/src/linux-2.6.23-gentoo \ KBUILD_EXTMOD=/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9639/work/NVIDIA-Linux-x86-1.0-9639-pkg0/usr/src/nv -f /usr/src/linux-2.6.23-gentoo/Makefile modules test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \ echo; \ echo ERROR: Kernel configuration is invalid.; \ echo include/linux/autoconf.h or include/config/auto.conf are missing.; \ echo Run 'make oldconfig make prepare' on kernel src to fix it.; \ echo; \ /bin/false) mkdir -p /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9639/work/NVIDIA-Linux-x86-1.0-9639-pkg0/usr/src/nv/.tmp_versions rm -f /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9639/work/NVIDIA-Linux-x86-1.0-9639-pkg0/usr/src/nv/.tmp_versions/* make -f /usr/src/linux-2.6.23-gentoo/scripts/Makefile.build obj=/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9639/work/NVIDIA-Linux-x86-1.0-9639-pkg0/usr/src/nv echo \#define NV_COMPILER \`i686-pc-linux-gnu-gcc -v 21 | tail -n 1`\ /var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9639/work/NVIDIA-Linux-x86-1.0-9639-pkg0/usr/src/nv/nv_compiler.h i686-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9639/ work/NVIDIA-Linux-x86-1.0-9639-pkg0/usr/src/nv/.nv.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.2.2/include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.23-gentoo/include -include include/linux/autoconf.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.9639/work/NVIDIA-Linux-x86-1.0-9639-pkg0/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=pentium3 -mtune=generic -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -I/usr/src/linux-2.6.23-gentoo/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign
Re: [gentoo-user] gcc-4.2.2 + nvidia-driver = death ?
On Thu, 11 Oct 2007 20:28:16 +0200 (CEST), Helmut Jarausch wrote: Has anybody had more success with more recent nvidia-drivers and gcc-4.2.2 (and perhaps kernel 2.6.23) ? It's the later kernel that is triggering this bug, although it is a fairly old one. FEATURES=-sandbox works round the problem, but it's not a fix. http://bugs.gentoo.org/show_bug.cgi?id=135745 -- Neil Bothwick Never use a preposition to end a sentence with. signature.asc Description: PGP signature
Re: [gentoo-user] Problems after long-due emerge -uDN world
On 11/10/2007, Roman Zilka [EMAIL PROTECTED] wrote: This is caused by the new xkeyboard-config. Downgrading should help. The bug has been already filed through both Gentoo and freedesktop.org bugzillas. Thanks! Downgrading to version 0.8 fixed the alt key problem. I had tried googling for the problem before asking here, but the results were pretty much all noise, since it seems that many people have miscellaneous problems related to the alt/meta keys. Now all I have to worry about is the fonts =). Henk Boom -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Problems after long-due emerge -uDN world
On Thursday 11 October 2007, Henk Boom wrote: First, my alt key seems not to work properly. It works fine in regular programs (e.g. alt-f in firefox pulls down the file menu properly), but not for wm or X-related things. For example, I can no longer use ctrl-alt-fx to change to a VT from with X. Just FYI, I had the same problem. For inexplicable reasons, it disappeared when I configured the keyboard layout ONLY through xorg.conf, disabling all keyboard layout functionality in KDE Control Center. For some reason, CTRL+ALT+Fn only displayed the letter V when I pressed them in Konsole. -- /PA -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] gcc-4.2.2 + nvidia-driver = death ?
On Thu, 11 Oct 2007 20:28:16 +0200 (CEST) Helmut Jarausch [EMAIL PROTECTED] wrote: Hi, having installed gcc-4.2.2 (and making it the default with the new gcc-config - hurrah) You have a gcc-config that works??? What version is that, please? -- Jerry McBride -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Audio/Mpeg
On 10/11/07, sean [EMAIL PROTECTED] wrote: Firefox is complaining that a plugin is not available for audio/mpeg support. Any recommendations on getting support? Not sure if it helps: emerge mplayerplug-in and recently (by the same author(s)) emerge gnome-mplayer gecko-mediaplayer Regards, Liviu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: What things wont run without hal being started?
On 11/10/2007, Rumen Yotov [EMAIL PROTECTED] wrote: $quse hal - gives you all packages with 'hal' flag support. To check for all installed apps currently not using hal: 1.put hal in USE= (/etc/make.conf) 2.run #emerge -N world -p What if a package requires HAL, and not optionally? For example, I know from experience that gnome-power-manager will not start without hal running, but it doesn't have the hal use flag. Henk Boom -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: What things wont run without hal being started?
On 11/10/2007, Rumen Yotov [EMAIL PROTECTED] wrote: $quse hal - gives you all packages with 'hal' flag support. To check for all installed apps currently not using hal: 1.put hal in USE= (/etc/make.conf) 2.run #emerge -N world -p What if a package requires HAL, and not optionally? For example, I know from experience that gnome-power-manager will not start without hal running, but it doesn't have the hal use flag. Henk Boom -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: What things wont run without hal being started?
On (11/10/07 18:01) Henk Boom wrote: On 11/10/2007, Rumen Yotov [EMAIL PROTECTED] wrote: $quse hal - gives you all packages with 'hal' flag support. To check for all installed apps currently not using hal: 1.put hal in USE= (/etc/make.conf) 2.run #emerge -N world -p What if a package requires HAL, and not optionally? For example, I know from experience that gnome-power-manager will not start without hal running, but it doesn't have the hal use flag. Henk Boom -- [EMAIL PROTECTED] mailing list Hi, If 'hal' is a required dependency emerge will require to install it before the app in question. If correctly written the start-up scripts will check/require 'hal' to be running. Or at least post a message (elog) about it. HTH. Rumen -- [EMAIL PROTECTED] mailing list