Re: [gentoo-user] Problem upgrading mediawiki
Enrico Weigelt wrote: Hi folks, I just tried to upgrade some wikis from 1.4.15 (to 1.5.8, 1.6.8, 1.7.1) and ran into trouble: while trying access the wiki, I get an query error - seems the database layout has changed. How can I update it ? I ran into a similar problem in one of my updates of it. I am currently running 1.68, and was running 1.4 and may have gone through the 1.5 series. There is documentation on the mediawiki site at http://www.mediawiki.org/wiki/Manual:Upgrading the key that I think you may be missing is the command: $ php update.php Though there are some things with that, such as files moving (I believe) so what looks like it should be simple there are two versions of files there, one in /var/www/ and one on /usr/share/webapps, and I can't tell you what the difference is, and which is needed for what, but I believe both are indeed needed. Please look at the mediawiki docs as I think they will give you what you need if this message hasn't. Jigme Datse -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Totem doesn't play DVDs
On Sun, 2006-12-31 at 17:25 -0800, Alan wrote: Did you compile with the dvd and xine use flags? I believe that xine is needed for DVD menus. DVD yes, xine no. I'm recompiling right now, and I did a sync and it's upgrading to a newer version as well, so we'll see what happens! Randy Barlow http://www.electronsweatshop.com Alimony is the high cost of leaving. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: anti-portage wreckage?
Mike Myers wrote: (snippage) I'm not trying to suggest that Gentoo should go to a binary distro or anything like that. I'm just wondering why there isn't some kind of update management system to like, differentiate minor updates like firefox 1.5.0.5 http://1.5.0.5 to firefox 1.5.0.7 http://1.5.0.7 and major ones like, y'know, gcc 3.4.4 to 4+? Ok - sorry, was misled by the mentioning of packages! The update system is the -only- nice thing about it over Gentoo. Debian is nowhere near Gentoo when it comes to everything else (especially docs). I don't think suggesting a single feature that another distro has and putting into Gentoo is trying to make it a clone. I'm just asking for a relief from having to constantly worry if updating something out of the 300 packages that need updated is going to break something, and not having to make sure etc-update isn't going to destroy my custom configs afterwards. If it wasn't for that, Gentoo would be perfect. I'm sure there's got to be others that would agree. Yeah, it would be good to know an update is not going to give a broken system - but to implement some sort of (extra) tagged release testing would be a significant amount of effort for the community. In addition it could be argued that there is potentially little real gain in doing this, as it is *never* possible to ensure no breakage (e.g. Microsoft updates are a case in point...). At the end of the day, regardless of whatever release engineering/quality process Gentoo (or any software product) has, you really have to follow the steps: 1/ Update (1 or more) machines in your test environment. 2/ Run your test suite. 3/ Update the rest of your machines if 2/ pases. Personally I don't see why this does not scale. Cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: anti-portage wreckage?
On Sun, 31 Dec 2006 19:01:25 -0600, Mike Myers wrote: I've recently began experimenting with Debian and noticed their updating system is exactly like what I was asking about. Basically, there's package updates, and then there's distro updates. Why is it unreasonable for Gentoo to have something like this? I think it would help Gentoo a lot in the server market, where scalability is important. Look at the gentoo-dev thread that Richard pointed out (versioning the tree). The release tree idea discussed there seems to be similar to what you are suggesting. -- Neil Bothwick Do PAL taglines take up two scanlines? signature.asc Description: PGP signature
[gentoo-user] A bash query ...
I know that /dev/null redirects standard output , and that 2 /dev/null redirects standard error Is there an expression that redirects standard output and standard error - at present I am using the ungainly /dev/null 2 /dev/null Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] network configuration problem
did you configure manually your ip for testing before starting net.eth0 ??? in this case, try ifconfig eth0 down and /etc/init.d/net.eth0 if work fine, just add it to default profile rc-update add net.eth0 default just an explanation: ifconfig do up on network card, so net.eth0 try up too and fail cause already up they don't try down before up ... so if you configure manually by typing command ifconfig eth0 MYIP netmask MYNETMASK brd MYBRD route add default gw MYGW so .. eth0 is up and net.eth0 couldn't do up again so ifconfig eth0 down shutdown the network card, and so all work fine after :) have fun 2006/12/30, Chuanwen Wu [EMAIL PROTECTED]: 2006/12/30, Dan [EMAIL PROTECTED]: On Fri, 29 Dec 2006 09:27:46 +0800 Chuanwen Wu [EMAIL PROTECTED] wrote: 2006/12/28, Oliver Schmidt [EMAIL PROTECTED]: Hello Chuanwen But everytime I do #/etc/init.d/net.eth0 start or #/etc/init.d/sshd start the error is still all the same : MYIP already taken on eth0. How can I fix the problem,now? assuming you were just doing that or have by now, mind sending /etc/conf.d/net ? I have sent my /etc/conf.d/net in my first email.Just as below: # cat /etc/conf.d/net config_eth0=( 202.114.26.194 netmask 255.255.255.0 brd 202.114.26.255 ) routes_eth0=( default gw 202.114.26.193 ) After #ifconfig eth0 MYIP #route add default gw MYGW I can connect the internet now,just like ping www.google.com. But as I said ,every time I do #/etc/init.d/net.eth0 start the error appear: MYIP already taken on eth0. And I also can't start sshd and ftp because they need to start net.eth0... -- gentoo-user@gentoo.org mailing list -- wcw -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] A bash query ...
just try /dev/null they redirect all input (standard, error, user define) to dev-null have fun 2007/1/1, Dave S [EMAIL PROTECTED]: I know that /dev/null redirects standard output , and that 2 /dev/null redirects standard error Is there an expression that redirects standard output and standard error - at present I am using the ungainly /dev/null 2 /dev/null Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] A bash query ...
Dave S [EMAIL PROTECTED] writes: Is there an expression that redirects standard output and standard error xxx /path/file -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Totem doesn't play DVDs
Just for DVD on linux I suggest to try other player xine-ui is the best for me ! so :) Totem miss lot's of option I think (like audio parameter, mplayer plugins ...) so ... try xine-ui have fun 2007/1/1, Randy Barlow [EMAIL PROTECTED]: On Sun, 2006-12-31 at 17:25 -0800, Alan wrote: Did you compile with the dvd and xine use flags? I believe that xine is needed for DVD menus. DVD yes, xine no. I'm recompiling right now, and I did a sync and it's upgrading to a newer version as well, so we'll see what happens! Randy Barlow http://www.electronsweatshop.com Alimony is the high cost of leaving. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] USB freezes the machine...
Hi Richard, Marco, if you suspect this at all, you can set RC_COLDPLUG=no in /etc/conf.d/rc to completely disable module loading by udev. actually the variable is set that way with RC_COLDPLUG=no. I've tried with similar USB drives, and the behaviour is the same. I've tried to blacklist again the module usb-uhci that was in the /etc/hotplug/blacklist (now not read anymore) in the /etc/modules/my-aliases file, but the result is the same. If it useful, this is my lsmod: Module Size Used by appletalk 35376 2 ipx26732 2 p8022 2368 1 ipx psnap 4356 2 appletalk,ipx llc 7956 2 p8022,psnap p8023 2112 1 ipx radeon120224 2 drm84888 3 radeon pcmcia 39676 6 yenta_socket 27468 8 rsrc_nonstatic 13440 1 yenta_socket pcmcia_core42064 3 pcmcia,yenta_socket,rsrc_nonstatic snd_pcm_oss45600 0 snd_mixer_oss 18176 2 snd_pcm_oss snd_seq_dummy 3780 0 snd_seq_oss34816 0 snd_seq_midi_event 7872 1 snd_seq_oss snd_seq54224 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event snd_seq_device 8396 3 snd_seq_dummy,snd_seq_oss,snd_seq rtc14004 0 shfs 55184 0 af_packet 22472 4 kqemu 107908 0 psmouse40904 0 evdev 10048 1 rfcomm 39708 0 l2cap 25156 5 rfcomm bluetooth 54564 4 rfcomm,l2cap snd_intel8x0 33564 2 snd_ac97_codec 96800 1 snd_intel8x0 snd_ac97_bus2304 1 snd_ac97_codec snd_pcm82696 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec snd_timer 24900 2 snd_seq,snd_pcm snd53796 11 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer soundcore 10528 2 snd snd_page_alloc 10312 2 snd_intel8x0,snd_pcm mousedev 11872 1 button 6544 0 video 15236 0 fan 4740 0 thermal13512 0 battery 9604 0 ac 5124 0 ipw2200 148744 0 ieee80211 34504 1 ipw2200 ieee80211_crypt_ccmp 8256 0 ieee80211_crypt_tkip11648 0 ieee80211_crypt_wep 5568 0 ieee80211_crypt 6784 4 ieee80211,ieee80211_crypt_ccmp,ieee80211_crypt_tkip,ieee80211_crypt_wep speedstep_centrino 8464 0 tg3 110468 0 ide_cd 41120 0 cdrom 38432 1 ide_cd unix 29104 379 e1000 124992 0 xfs 600692 1 nfs 241612 0 lockd 62728 1 nfs sunrpc160060 2 nfs,lockd jfs 195140 0 reiserfs 269828 0 ext2 69384 0 dm_mirror 4 0 dm_mod 58616 1 dm_mirror sbp2 23880 0 ohci1394 36464 0 ieee1394 100472 2 sbp2,ohci1394 ohci_hcd 21636 0 uhci_hcd 24648 0 usb_storage66496 0 scsi_mod 139720 2 sbp2,usb_storage usbhid 42272 0 ehci_hcd 33160 0 usbcore 132548 6 ohci_hcd,uhci_hcd,usb_storage,usbhid,ehci_hcd Regards, m -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] USB freezes the machine...
Hi, On 1/1/07, Strong Cypher [EMAIL PROTECTED] wrote: What are your kernel version ? (uname -a) What are your kernel package ? (gentoo-sources ???) So perhaps a bug with a kernel you install recently I have so hardware, that bug awfully with certain version of kernel, and do hang up after a mount ... so perhaps search in this way # uname -a Linux 2.6.18-gentoo-r4 #1 PREEMPT Tue Dec 19 12:25:55 CET 2006 i686 Intel(R) Pentium(R) M processor 1.80GHz GenuineIntel GNU/Linux and as you can see i'm using gentoo-sources. Effectively i experience the freeze after the mount of the USB device (please note that the mouse is working correcly!!) Regards, m -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] A bash query ...
just take care of something they only work on bash sh need your first solution and tsch ... I don't know but it's not this at all 2007/1/1, Dave S [EMAIL PROTECTED]: On Monday 01 January 2007 11:09, Strong Cypher wrote: just try /dev/null they redirect all input (standard, error, user define) to dev-null Ahhh I was so near - I tried ! Thanks for that Dave have fun 2007/1/1, Dave S [EMAIL PROTECTED]: I know that /dev/null redirects standard output , and that 2 /dev/null redirects standard error Is there an expression that redirects standard output and standard error - at present I am using the ungainly /dev/null 2 /dev/null Dave -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Documentation Index
On Sun, 31 Dec 2006 17:28:44 -0800, Kevin O'Gorman wrote: BTW, I like your program but its package search sure seems slow. If you only wanted to index files from portage-installed packages, you could read the CONTENTS files in /var/db/pkg instead of scanning the filesystem. Limiting it to portage would also give the opportunity to call the script in an update mode from the portage post_inst hooks. -- Neil Bothwick If at first you don't succeed, you're about normal. signature.asc Description: PGP signature
Re: [gentoo-user] nvidia-drivers vs nvidia-legacy-drivers
On Sun, 31 Dec 2006 10:04:00 + (UTC), Konstantinos Agouros wrote: is there a way von x86 that I can keep nvidia-drivers and a emerge -uDp world does not come up telling me that this is blocking the legacy-drivers package? Are you saying that you have nvidia-driver installed but not nvidia-legacy drivers, but a world update wants to pull in the legacy package? if so, please post the output of emerge -uDvt world -- Neil Bothwick If it doesn't fit, you're not using a big enough hammer. signature.asc Description: PGP signature
Re: [gentoo-user] Re: gtk+ wants to install xorg-server
On Sun, 31 Dec 2006 17:23:07 +0100, Enrico Weigelt wrote: By reading the virtualx.eclass file, I really wonder what this is necessary for. Why is an X server needed to build gtk ? Clearly it is not needed, otherwise it wouldn't be optional. -- Neil Bothwick There's more to life than sex, beer and computers. Not a lot more admittedly... signature.asc Description: PGP signature
Re: [gentoo-user] libGl.so.1 / prelinking
do you need opengl extension ? 2006/12/31, Uwe Thiem [EMAIL PROTECTED]: On 31 December 2006 11:39, Strong Cypher wrote: do you use a proprietary drivers ? like ati or nvidia ? Nope, OSS drivers. Uwe -- A fast and easy generator of fractals for KDE: http://www.SysEx.com.na/iwy-1.0.tar.bz2 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Few problems
a good command to see what free mem you have is free or free -m the second line indicate the reaminging real ram they stay ex: [EMAIL PROTECTED] ~ $ free -m total used free sharedbuffers cached Mem: 3546 2005 1540 0436939 -/+ buffers/cache:629 2917 Swap: 8191 0 8191 have fun 2006/12/31, Pavel Kouřil [EMAIL PROTECTED]: Ah, thx for explanation. I was afraid, there's someting wrong. XD Now only remains the RO problem. =/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] A bash query ...
On Mon, 2007-01-01 at 10:49 +, Dave S wrote: I know that /dev/null redirects standard output , and that 2 /dev/null redirects standard error Is there an expression that redirects standard output and standard error - at present I am using the ungainly /dev/null 2 /dev/null Dave /dev/null (or wherever) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] libGl.so.1 / prelinking
On 01 January 2007 14:04, Strong Cypher wrote: do you need opengl extension ? Yes. Well, I can live with 20 - 30 binaries not pre-linked. Just wondering because libGl hasn't given that trouble before. At leat, I didn't notice it. ;-) Uwe -- A fast and easy generator of fractals for KDE: http://www.SysEx.com.na/iwy-1.0.tar.bz2 -- gentoo-user@gentoo.org mailing list
[gentoo-user] revdep-rebuild / missing ebuild
Hi folks, revdep-rebuild produces a long list of binaries to be rebuilt. Not wuite surprising since I haven't done it on that box for a long while. Problem is it tells me that at least for one binary no ebuild exists but it doesn't tell me which binary. Bummer! How do I find out? Uwe -- A fast and easy generator of fractals for KDE: http://www.SysEx.com.na/iwy-1.0.tar.bz2 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] revdep-rebuild / missing ebuild
Hi, On Monday 01 January 2007 15:16, Uwe Thiem wrote: revdep-rebuild produces a long list of binaries to be rebuilt. Not wuite surprising since I haven't done it on that box for a long while. Problem is it tells me that at least for one binary no ebuild exists but it doesn't tell me which binary. Bummer! How do I find out? you can try `eix-test-obsolete` that will display inconsistencies all over the place, as well as installed packages which does not exist anymore. Rudmer -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] USB freezes the machine...
On 1/1/07, Marco Calviani [EMAIL PROTECTED] wrote: If it useful, this is my lsmod: ohci_hcd 21636 0 uhci_hcd 24648 0 ehci_hcd 33160 0 I seem to recall that loading multiple USB controller drivers can cause problems on some systems. You might try unloading all of these with rmmod, then loading just one, and see if your drive will work. I believe for most systems the ehci_hcd driver would be the preferred one. Posting your dmesg output might also help. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] revdep-rebuild / missing ebuild
Uwe Thiem wrote: Problem is it tells me that at least for one binary no ebuild exists but it doesn't tell me which binary. Bummer! How do I find out? Hmmm, I'd try something like this: for i in /usr/bin/*; do equery b $i /dev/null || echo $i done pgpYggHcXbK7U.pgp Description: PGP signature
Re: [gentoo-user] USB freezes the machine...
On Mon, Jan 01, 2007 at 09:01:22AM -0700, Richard Fish wrote: On 1/1/07, Marco Calviani [EMAIL PROTECTED] wrote: If it useful, this is my lsmod: ohci_hcd 21636 0 uhci_hcd 24648 0 ehci_hcd 33160 0 I seem to recall that loading multiple USB controller drivers can cause problems on some systems. You might try unloading all of these with rmmod, then loading just one, and see if your drive will work. I believe for most systems the ehci_hcd driver would be the preferred one. AFAIK ohci is for USB 1.1, uhci for 2.0 and ehci is firewire, I have them loaded all too. But I may be wrong -- There's the light at the end of the the Windows. -- Havlik Denis Michal 'vorner' Vaner pgpUkdOrKg8hV.pgp Description: PGP signature
Re: [gentoo-user] USB freezes the machine...
On Tuesday, 2 January 2007 3:13, Michal 'vorner' Vaner wrote: On Mon, Jan 01, 2007 at 09:01:22AM -0700, Richard Fish wrote: On 1/1/07, Marco Calviani [EMAIL PROTECTED] wrote: If it useful, this is my lsmod: ohci_hcd 21636 0 uhci_hcd 24648 0 ehci_hcd 33160 0 I seem to recall that loading multiple USB controller drivers can cause problems on some systems. You might try unloading all of these with rmmod, then loading just one, and see if your drive will work. I believe for most systems the ehci_hcd driver would be the preferred one. AFAIK ohci is for USB 1.1, uhci for 2.0 and ehci is firewire, I have them loaded all too. But I may be wrong Actually ohci and uhci are both for USB 1.1 (two different sorts of controllers), ehci is USB 2.0 and firewire you'll find in the IEEE1394 driver section. -- Raymond Lewis Rebbeck -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] USB freezes the machine...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ohci and uhci is for via / intel ... in kernel configuration they give info, that depends of your computer they is another section for firewire I think it's better to make a kernel with just your material configure in it, nothing more, and no module so :) except for somethink like iptables ... but I prefer this way sometime a module could make some mistake in other module and so... If you just put your computer material in kernel config, so you shouldn't have any problem I do it every time, I prefer that :) if I add somethink, I just put new think in my kernel, and do install / reboot ... so take 30 sec, nothing more so, have fun -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (MingW32) - WinPT 1.0.1 iD8DBQFFmTxpEg3iyspSWPARAt4DAJ4nZB1KGLZ3cyqFG9RuBNi2ts7s2gCcCDSU yRMj64Bi6Qg2IJCHddI2W5A= =MVM3 -END PGP SIGNATURE-
Re: [gentoo-user] revdep-rebuild / missing ebuild
On Monday 01 January 2007 08:16, Uwe Thiem [EMAIL PROTECTED] wrote about '[gentoo-user] revdep-rebuild / missing ebuild': revdep-rebuild produces a long list of binaries to be rebuilt. Not wuite surprising since I haven't done it on that box for a long while. Problem is it tells me that at least for one binary no ebuild exists but it doesn't tell me which binary. Bummer! How do I find out? ??? Are you running with the -q option? Normally in the assigning file to packages stage it will produce error text like file not owned by any package is broken. Maybe check your output again? Or run with the -v option to see if you get any extra messages? -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh pgpobKsXByWc7.pgp Description: PGP signature
Re: [gentoo-user] revdep-rebuild / missing ebuild
On Monday 01 January 2007 15:16, Uwe Thiem wrote: revdep-rebuild produces a long list of binaries to be rebuilt. Not wuite surprising since I haven't done it on that box for a long while. Problem is it tells me that at least for one binary no ebuild exists but it doesn't tell me which binary. Bummer! How do I find out? You could start by showing us the exact output of `revdep-rebuild -i -vp`. -- Bo Andresen pgpzOlb1P9hux.pgp Description: PGP signature
Re: [gentoo-user] working with overlays
On Friday 22 December 2006 20:09, Benno Schulenberg wrote: Bo once said (or was it someone else?) he had such a script. If so, Bo, please post the script. You may be referring to this post: http://thread.gmane.org/gmane.linux.gentoo.user/164432/focus=164437 -- Bo Andresen pgp0VEvG6aAi5.pgp Description: PGP signature
Re: [gentoo-user] USB freezes the machine...
On Monday 01 January 2007 10:01, Richard Fish [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] USB freezes the machine...': On 1/1/07, Marco Calviani [EMAIL PROTECTED] wrote: If it useful, this is my lsmod: ohci_hcd 21636 0 uhci_hcd 24648 0 ehci_hcd 33160 0 I seem to recall that loading multiple USB controller drivers can cause problems on some systems. I know my system (oddly enough) *requires* two different drivers, but that might just be my particular pieces of hardware. In any case, I think at least one of these is redundant. You might try unloading all of these with rmmod, then loading just one, and see if your drive will work. Agreed. I believe for most systems the ehci_hcd driver would be the preferred one. Depends on your chipset. I believe either lspci and/or lsusb should tell you which driver(s) you need. Posting your dmesg output might also help. Agreed. -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh pgp48WcGlrweu.pgp Description: PGP signature
Re: [gentoo-user] Problem upgrading mediawiki
* Jigme Datse [EMAIL PROTECTED] wrote: Hi, I ran into a similar problem in one of my updates of it. I am currently running 1.68, and was running 1.4 and may have gone through the 1.5 series. There is documentation on the mediawiki site at http://www.mediawiki.org/wiki/Manual:Upgrading the key that I think you may be missing is the command: $ php update.php Of course I tried that, but didn't help. Some further research showed up: You need to copy LocalSettings.php to AdminSettings.php and add $wgDBadminuser+$wgDBadminpassword containing your DB's root login data there. BTW: I'm a little bit confused why it needs root privileges to add / change some tables. Isn't the database already owned by the wiki's user ? ... strange ... cu -- - Enrico Weigelt== metux IT service - http://www.metux.de/ - Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ - -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] libGl.so.1 / prelinking
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Oh I remember, I had this problem few month ago ... so they is a solution You absolutly need to remove ntpl for xorg-server and mesa Try : USE=-ntpl emerge -DNupv world to see what package are concerned, so if only xorg, add it to make.conf if not, only add any xorg and opengl package to /etc/portage/packages.use have fun -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (MingW32) - WinPT 1.0.1 iD8DBQFFmUp1Eg3iyspSWPARAqLCAJ4oMxrnANqBeTLSbzSlazvH1K5c2gCfU3Du UDRrjzvAhtJsZRhN1hfXe5I= =abSn -END PGP SIGNATURE-
Re: [gentoo-user] Documentation Index
On Sunday 31 December 2006 20:28, Kevin O'Gorman wrote: On 12/31/06, Jerry McBride [EMAIL PROTECTED] wrote: On Sunday 31 December 2006 00:00, Kevin O'Gorman wrote: Hey, Jerry, wanna make a project team? I woulda done Python if I had thought it was gonna get big. It now seems like that would be a good idea. Care to: 1) share your code? 2) start a sourceforge project? 3) just tantalize us with your results? It's far, far from being finished or polished... here it is: ... snip ... As for manning a project... time hasn't allowed me the pleasure of a decent day off from work. I would, however, contribute as I can. Cheers all and enjoy Thanks very much. You don't need to man a project, only start one if you're willing. I would need you to release your code under some Open Source License. It would be most convenient if you did both at once, by starting a sourceforge project with your code and chosen license. Then authorize at least one alternate project manager, and you never need do anything about it again. Normal ettiquette would allow you as originator considerable (understatement) influence over any decisions made in the project, but you can also just ignore them. BTW, I like your program but its package search sure seems slow. That would probably be the first thing I'd try to improve. It's still running a few hours after starting. It's low alright. What it does is compare found matches to what exists in portage using equery as the lookup tool. Equery is not fast... -- Jerry McBride -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] revdep-rebuild / missing ebuild
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 you could do this emerge sync emerge -DNu world emerge -a depclean so ... revdep-rebuild -pv = liste still long ?? -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (MingW32) - WinPT 1.0.1 iD8DBQFFmWFnEg3iyspSWPARAuxQAJ9Yocx7sdwUZ7IiyrKaVutsh1dyngCeK4Xd zTfXkHk8Z97maJx+weL8p0g= =JpRJ -END PGP SIGNATURE-
Re: [gentoo-user] spamassassin + razor - learning
Graham Murray wrote: Thomas Rösner [EMAIL PROTECTED] writes: Spamassassin has an autolearn hook, but I don't know if the razor/pyzor/etc. plugins use it, or if it's only used by the bayes engine. I'd like to know, though, so why don't you ask on a Spamassassin ML and report back here? ^^ Autolearn only affects the Bayes engine. To report to Razor (and Pyzor, DCC and Spamcop if configured) you have to use 'spamassassin --report' (for spam) or 'spamassassin --revoke' (to report as Ham messages which Razor has marked as spam). These also update Bayes. Ah, that easy. For completeness, spamc has an equivalent option: -L learn type Send message to spamd for learning. The learn type can be either spam, ham or forget. Must have missed it when setting it all up. Thanks Regards, T. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: anti-portage wreckage?
I totally agree to neil's assessment. Mike certainly has point that Debian is more mature in some aspects (is has been around since '93). That being said it is lacking so much in other departments that for me it is no serious alternative to Gentoo (difficulty installing source packages not in the apt repositories, inferior security support in comparison to Gentoo to name a few). I really believe we should give Gentoo some time to evolve (Gentoo was first released in 2002) In time gentoo will become more mature and better fit to our needs. In order to achieve this however we all need to put an effort into making Gentoo the best distro available. So please stop talking and get moving. Open a thread, mobilize people, contact aforementioned Gentoo businesses. _Contribute_ in any way possible to realize the features you envision. On 12/31/06, *Neil Walker* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Mike Myers wrote: I just wanted to add something to the original post. I've recently began experimenting with Debian and noticed their updating system is exactly like what I was asking about. Basically, there's package updates, and then there's distro updates. Why is it unreasonable for Gentoo to have something like this? I think it would help Gentoo a lot in the server market, where scalability is important. If Debian does what you want then why not go with it? What would be the point in making Gentoo like Debian? Gentoo offers a different approach which many of us like. It's all about choice - if you like Debian, choose it - but don't expect Gentoo to turn into a Debian clone. It's not going to happen. -- gentoo-user@gentoo.org mailto:gentoo-user@gentoo.org mailing list The update system is the -only- nice thing about it over Gentoo. Debian is nowhere near Gentoo when it comes to everything else (especially docs). I don't think suggesting a single feature that another distro has and putting into Gentoo is trying to make it a clone. I'm just asking for a relief from having to constantly worry if updating something out of the 300 packages that need updated is going to break something, and not having to make sure etc-update isn't going to destroy my custom configs afterwards. If it wasn't for that, Gentoo would be perfect. I'm sure there's got to be others that would agree.
Re: [gentoo-user] revdep-rebuild / missing ebuild
On 01 January 2007 16:57, Rudmer van Dijk wrote: Hi, On Monday 01 January 2007 15:16, Uwe Thiem wrote: revdep-rebuild produces a long list of binaries to be rebuilt. Not wuite surprising since I haven't done it on that box for a long while. Problem is it tells me that at least for one binary no ebuild exists but it doesn't tell me which binary. Bummer! How do I find out? you can try `eix-test-obsolete` that will display inconsistencies all over the place, as well as installed packages which does not exist anymore. That revealed a lot of interesting stuff, and I will have to go through it with a fine-toothed comb. Unfortunately, there was nothing related to orphaned binaries. I eventually let revdep-rebuild build the packages in random order until it hit one it couldn't. It turned out an old faac version was the culprit. After unmerging and re-emerging faac, revdep-rebuild was able to clean up my system. So portage is happy again, my system is and I am. Not a too bad start for a new year. ;-) Thanks for all the answers. Uwe -- A fast and easy generator of fractals for KDE: http://www.SysEx.com.na/iwy-1.0.tar.bz2 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] revdep-rebuild / missing ebuild
On 01 January 2007 19:15, Boyd Stephen Smith Jr. wrote: On Monday 01 January 2007 08:16, Uwe Thiem [EMAIL PROTECTED] wrote about '[gentoo-user] revdep-rebuild / missing ebuild': revdep-rebuild produces a long list of binaries to be rebuilt. Not wuite surprising since I haven't done it on that box for a long while. Problem is it tells me that at least for one binary no ebuild exists but it doesn't tell me which binary. Bummer! How do I find out? ??? I agree. ;-) Are you running with the -q option? No -q option here. Straight revdep-rebuild. Normally in the assigning file to packages stage it will produce error text like file not owned by any package is broken. Yes, I know. Maybe check your output again? Or run with the -v option to see if you get any extra messages? I swear on a whole barrel of Windhoek Lager that it did not mention any particular file. The issue is resolved meanwhile (see my other mail), so I can not reproduce the same output and post it here anymore. Uwe -- A fast and easy generator of fractals for KDE: http://www.SysEx.com.na/iwy-1.0.tar.bz2 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] spamassassin + razor - learning
Thomas Rösner wrote: Graham Murray wrote: Thomas Rösner [EMAIL PROTECTED] writes: Spamassassin has an autolearn hook, but I don't know if the razor/pyzor/etc. plugins use it, or if it's only used by the bayes engine. I'd like to know, though, so why don't you ask on a Spamassassin ML and report back here? ^^ Autolearn only affects the Bayes engine. To report to Razor (and Pyzor, DCC and Spamcop if configured) you have to use 'spamassassin --report' (for spam) or 'spamassassin --revoke' (to report as Ham messages which Razor has marked as spam). These also update Bayes. Ah, that easy. For completeness, spamc has an equivalent option: -L learn type To correct myself: -C report type Report or revoke a message to one of the configured collaborative filtering databases. Regards, T. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] libGl.so.1 / prelinking
On 01 January 2007 19:52, Strong Cypher wrote: Oh I remember, I had this problem few month ago ... so they is a solution You absolutly need to remove ntpl for xorg-server and mesa Try : USE=-ntpl emerge -DNupv world to see what package are concerned, Interesting. Will try that tomorrow. so if only xorg, add it to make.conf if not, only add any xorg and opengl package to /etc/portage/packages.use Can not be the server but must be one of the libraries. Executables (- funny, my spellcheckers doesn't recognise the plural; it suggests Ex ecutables) don't link against the server. I'll look into it tomorrow. Uwe -- A fast and easy generator of fractals for KDE: http://www.SysEx.com.na/iwy-1.0.tar.bz2 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] working with overlays
Bo Ørsted Andresen wrote: On Friday 22 December 2006 20:09, Benno Schulenberg wrote: Bo once said (or was it someone else?) he had such a script. If so, Bo, please post the script. You may be referring to this post: http://thread.gmane.org/gmane.linux.gentoo.user/164432/focus=164437 Ah, yes. Thanks. Meanwhile my own script evolved a little further: -8-- #!/bin/bash # ovlay.sh version 0.2 OVERLAY=/usr/local/portage unset BUMP DELETE EDIT HELP NEWVERSION RENUMBER REST if [[ -z $EDITOR ]]; then EDITOR=vim fi for ARGUMENT in $*; do if [[ $BUMP == take ]]; then NEWVERSION=$ARGUMENT BUMP=yes continue fi case $ARGUMENT in -b|--bump) BUMP=take;; -d|--delete)DELETE=yes;; -e|--edit) EDIT=yes;; -h|--help) HELP=yes;; -r|--renumber) RENUMBER=yes;; *) REST=$REST $ARGUMENT;; esac done # Redefine positional arguments: set -- $REST if [[ $HELP || -z $1 ]]; then PROGRAM=${0##/[a-z]*/} echo Usage: $PROGRAM [-e|--edit] package_name [patch_name...] echo $PROGRAM -d|--delete package_name... echo $PROGRAM -b|--bump new_version_number [-r|--renumber] package_name echo echo Copies the latest ebuild of the specified package to the local overlay, echo and optionally allows you to bump it, insert patches, and edit it. exit 0 elif [[ $BUMP == take ]]; then echo Specify a new version number. exit 2 elif [[ $RENUMBER -z $BUMP ]]; then echo Renumbering is only possible with version bumping. exit 2 fi if [[ $DELETE ]]; then if [[ $BUMP || $EDIT || $RENUMBER ]]; then echo Deletion does not go together with other options. exit 2 fi while [[ $1 ]]; do if ls -d /${OVERLAY}/*/$1 /dev/null; then rm -r /${OVERLAY}/*/$1 else echo There is no overlay for '$1'. exit 2 fi shift done # Remove empty dirs (there must be a better way): ls -dl /${OVERLAY}/* | grep x 2 root | sed 's/.* //' | while read dir; do rmdir $dir; done exit 0 fi ##shopt -s -o xtrace EMERGEOUT=$(emerge -qOp $1 2/dev/null) if [[ $? != 0 ]]; then EMERGEOUT=$(emerge -qOp =$1 2/dev/null) if [[ $? != 0 ]]; then echo Package '$1' not found. exit 2 fi fi NAMENUMBER=$(echo $EMERGEOUT | sed -e 's:^[^/]*\]::' -e 's:\[.*$::' -e 's: ::g') CATPACK=${NAMENUMBER%%-[0-9]*} PACKAGE=${NAMENUMBER##[a-z]*/} FULLPATH=${OVERLAY}/${CATPACK} NAME=${PACKAGE%%-[0-9]*} VERSION=${PACKAGE##[a-z]*-} if [[ $NAME != $1 $PACKAGE != $1 ]]; then echo *Internal error*: determination of package name is wrong. exit 4 fi # When wanting to edit an already existing ebuild and not giving any further # arguments, do not first recreate the ebuild, but just allow editting it: if [[ $EDIT -f /$FULLPATH/${PACKAGE}.ebuild -z $2 ]]; then vim /$FULLPATH/${PACKAGE}.ebuild ebuild ${FULLPATH}/${PACKAGE}.ebuild digest /dev/null emerge -pqv =${PACKAGE} exit 0 fi mkdir -p /${FULLPATH} cp /usr/portage/${CATPACK}/${PACKAGE}.ebuild /${FULLPATH}/ cp -a /usr/portage/${CATPACK}/files /${FULLPATH}/ if [[ $BUMP ]]; then mv /${FULLPATH}/${PACKAGE}.ebuild /${FULLPATH}/${NAME}-${NEWVERSION}.ebuild if [[ $RENUMBER ]]; then # Renumber versioned patches: rename ${VERSION} ${NEWVERSION} /${FULLPATH}/files/*${VERSION}* fi PACKAGE=${NAME}-${NEWVERSION} fi # Insert any trailing arguments as patches: if [[ $2 ]]; then echo -e '\n\npost_src_unpack() { cd ${S}' /${FULLPATH}/${PACKAGE}.ebuild while [[ $2 ]]; do if [[ ! -f $2 ]]; then echo Patch file '$2' not found. exit 2 fi cp $2 /${FULLPATH}/files/ echo -e '\tepatch ${FILESDIR}/'$2 /${FULLPATH}/${PACKAGE}.ebuild shift done echo -e }\n /${FULLPATH}/${PACKAGE}.ebuild fi if [[ $EDIT ]]; then vim /$FULLPATH/${PACKAGE}.ebuild fi rm /$FULLPATH/files/digest-* # Strangely this does not allow a double leading slash: ebuild ${FULLPATH}/${PACKAGE}.ebuild digest /dev/null emerge -pqv =${PACKAGE} -8-- Benno -- Cetere mi opinias ke ne ĉio tradukenda estas. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] A bash query ...
Dave S wrote: Is there an expression that redirects standard output and standard error - at present I am using the ungainly /dev/null 2 /dev/null The following two commands: man bash /^REDIRECT Or more directly: man bash /two formats Benno -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] revdep-rebuild / missing ebuild
On Mon, 1 Jan 2007 22:16:46 +0200 Uwe Thiem wrote: On 01 January 2007 19:15, Boyd Stephen Smith Jr. wrote: On Monday 01 January 2007 08:16, Uwe Thiem [EMAIL PROTECTED] wrote about '[gentoo-user] revdep-rebuild / missing ebuild': revdep-rebuild produces a long list of binaries to be rebuilt. Not wuite surprising since I haven't done it on that box for a long while. Problem is it tells me that at least for one binary no ebuild exists but it doesn't tell me which binary. Bummer! How do I find out? ??? I agree. ;-) Are you running with the -q option? No -q option here. Straight revdep-rebuild. Normally in the assigning file to packages stage it will produce error text like file not owned by any package is broken. Yes, I know. Maybe check your output again? Or run with the -v option to see if you get any extra messages? I swear on a whole barrel of Windhoek Lager that it did not mention any particular file. The issue is resolved meanwhile (see my other mail), so I can not reproduce the same output and post it here anymore. Uwe One can list binaries known to portage with: cat /var/db/pkg/*/*/CONTENTS | grep /usr/bin/ If that's compared to /usr/bin/*, orphaned binaries can be identified. -- gentoo-user@gentoo.org mailing list
[gentoo-user] DieHard ? ( hardens against memory errors)
Anyone using this on a hardened box (e.g. to augment a precompiled, non-ssp binary, such as OOffice)? http://www.diehard-software.org/ (Emery Berger, UMass) DieHard completely prevents particular memory management errors from having any effect (these are double frees and invalid frees). It dramatically reduces the likelihood of another kind of error known as dangling pointer errors, and lowers the odds that moderate buffer overflows will have any effect. It prevents certain library-based heap overflows (e.g., through strcpy), and all but eliminates another problem known as heap corruption. How does DieHard differ from Vista's and OpenBSD's address space randomization? Address space randomization places large chunks of memory (obtained via mmap / VirtualAlloc) at different places in memory, but leaves unchanged the relative position of heap objects. OpenBSD adds quasi-random shuffling of allocated objects around on a page. DieHard not only completely randomizes the placement of objects across the entire heap, but also adds protection from a wide variety of errors. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: which mirror does emerge --sync chose? and why?
I do not understand/know how the choice of mirrors work either. I noticed that when I rsync from home I always hit the same mirror (first time). When I rsync from work (using the same laptop) I always hit a different specific mirror (again first time). it's not portage! it's rsync!!! execute rsync rsync.gentoo.org:: for a few times. I always see the banner message of owl.gentoo.org, and no other. That is STRANGE! i think it's not strange at all. i'm sure rsync uses mechanisms to find the closest server, and it's no surprise that this would be the same all the time, and different from the point of view of different networks. Then, rsync behaves kind of stupid, because if rsync always uses the same server, and the server doesn't work, then the sync will not work. But rsync could chose a different server, well, the second-best server, if the best server has failed. But it didn't do that :-( Well, but any discussion about that would be off-topic. signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] revdep-rebuild / missing ebuild
On Mon, 1 Jan 2007 22:13:27 +0200, Uwe Thiem wrote: I eventually let revdep-rebuild build the packages in random order until it hit one it couldn't. It turned out an old faac version was the culprit. After unmerging and re-emerging faac, revdep-rebuild was able to clean up my system. The --package-names option usually helps here, letting revdep-rebuild merge the most suitable version instead of the exact version already installed. -- Neil Bothwick This universe is sold by mass, not by volume. Some expansion may have occurred during shipment signature.asc Description: PGP signature
[gentoo-user] Announcement: Two Projects
Hi, I happened to write two small tools in Ruby: HwAdapt -- A hardware profile manager for your laptop http://opensource.bertram-scharpf.de/sites/hwadapt/ Cropmail -- Mail delivery agent; sort and filter mail http://opensource.bertram-scharpf.de/sites/cropmail/ May they be useful. A Happy New Year, Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] revdep-rebuild / missing ebuild
On Monday 01 January 2007 15:24, David Relson [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] revdep-rebuild / missing ebuild': One can list binaries known to portage with: cat /var/db/pkg/*/*/CONTENTS | grep /usr/bin/ If that's compared to /usr/bin/*, orphaned binaries can be identified. What about stuff installed to /bin, /sbin, and /usr/sbin? Or even rarer places like somewhere under the /opt tree. -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh pgpsszHvoSFIe.pgp Description: PGP signature
Re: [gentoo-user] Re: anti-portage wreckage?
On Sun, 31 Dec 2006, Mike Myers wrote: On 12/31/06, Mark Kirkwood [EMAIL PROTECTED] wrote:Mike Myers wrote: I just wanted to add something to the original post. I've recently began experimenting with Debian and noticed their updating system is exactly like what I was asking about. Basically, there's package updates, and then there's distro updates. Why is it unreasonable for Gentoo to have something like this? I think it would help Gentoo a lot in the server market, where scalability is important. While this is true, one of the differentiating points of Gentoo is precisely the build-from-source idea (there are plenty of binary update distros out there). I'm not trying to suggest that Gentoo should go to a binary distro or anything like that. Besides, it's easy enough to just use a binary package server if that's what one needs. I'm just wondering why there isn't some kind of update management system to like, differentiate minor updates like firefox 1.5.0.5 to firefox 1.5.0.7 and major ones like, y'know, gcc 3.4.4 to 4+? The way it is now, they're all lumped together like one big update. The lack of such a system might make it easier for the devs.. but this is a pain in the ass for the users when they run into a problem like this unexpectedly. It's even worse when that user is managing several Gentoo machines. This kind of thing does not scale at all. The problem is that the chance of something breaking gets higher the more you do at once, and the chance of something you need to be able to recover also breaking goes up sharply. I've been watching people use Debian for quite a while now, and I've rarely if ever seen a system upgrade without major problems. People have problems like: the new release has a version of Apache that has a different config file arrangement, and it's hard to make a new config file that handles the web app the system is supposed to be running; the old Apache worked fine, but the new release doesn't use it, and the old binary requires a ton of libraries that the new release doesn't have, either. And there's no easy way to downgrade to the old release until you have time to mess with config files. With Gentoo, you find that the new apache doesn't work with your config files, so you mask it until you have time to deal with it. I'm just asking for a relief from having to constantly worry if updating something out of the 300 packages that need updated is going to break something, and not having to make sure etc-update isn't going to destroy my custom configs afterwards. If it wasn't for that, Gentoo would be perfect. I'm sure there's got to be others that would agree. Well, there are two goals here: make it so you can do all the safe updates without any of the ones which will require manual fixing, and make it so your custom configs are protected. I think it would be useful to have an ebuild thing for upgrading to this package from version {expression} requires the following steps, such that the message will be displayed only if you're doing that, and such that the upgrade will be masked if you're being conservative in upgrading. I also think that emerge should keep track of the config files installed by packages, so that etc-update knows if you've got local modifications, and give you a big warning when you might lose a change you made. -Daniel *This .sig left intentionally blank* -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] revdep-rebuild / missing ebuild
On 02 January 2007 08:22, Boyd Stephen Smith Jr. wrote: On Monday 01 January 2007 15:24, David Relson [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] revdep-rebuild / missing ebuild': One can list binaries known to portage with: cat /var/db/pkg/*/*/CONTENTS | grep /usr/bin/ If that's compared to /usr/bin/*, orphaned binaries can be identified. What about stuff installed to /bin, /sbin, and /usr/sbin? Or even rarer places like somewhere under the /opt tree. ... and libraries can also be linked against other libraries. So it's also /lib, /usr/lib (and its sub-directories),... Uwe -- A fast and easy generator of fractals for KDE: http://www.SysEx.com.na/iwy-1.0.tar.bz2 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] When could XGL support my video card ATI Radeon M300??
On Sunday 31 December 2006 07:27, [EMAIL PROTECTED] wrote: I was interested in 3D desktop of XGL, but my video has not been supported till now... This is the info of my card: 01:00.0 VGA compatible controller: ATI Technologies Inc M22 [Radeon Mobility M300] So, is there a hope for me to use XGL in future??? It works on that video card on Ubuntu using the radeon driver, so it can be done. It is unlikely to work with the fglrx driver as of 8.30.x - on my machine this driver completely freaks out when I use the xorg composite extension. Be patient, wait, it will eventually be supported. alan -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Once again - Can't build Blender
On Sunday 31 December 2006 04:09, frank wrote: Hi, I've posted this former After the start of the blender bulid (after the sources are unpacked) I have to (from another shell): cp /var/tmp/portage/blender-2.41-r1/work/blender/extern/bFTGL/include/* /var/tmp/portage/blender-2.41-r1/work/build/linux2/source/blender/ftf ont/intern The build goes well but then: /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bi n/ld: warning: libdirectfb-0.9.so.24, needed by /usr/lib/libSDL.so, not found (try using -rpath or -rpath-link) With your last emerge world, did you notice this message when DirectFB was emerged? * Each DirectFB update in the 0.9.xx series * breaks DirectFB related applications. * Please run revdep-rebuild which can be * found by emerging the package 'gentoolkit'. revdep-rebuild usually finds these breakages, in your case Blender depends on libsdl which is looking for libraries that aren't there. I'd suspect that a remerge of libsdl will fix it all. Incidentally, have you considered why you have DirectFB at all? It's a layer on top of a frame buffer and has no use in X at all. It's also causing endless trouble for me with emerges, but in my case I need it. If you have no use for it, remove 'directfb' from your USE followed by 'emerge -N world' then 'emerge --depclean' and revdep-rebuild. alan -- gentoo-user@gentoo.org mailing list
[gentoo-user] acpi battery events, Sony FS740
I'm nearly a complete newbie to power management. I've been reading and tinkering for the past three days. I'm not sure I know enough to explain my problem clearly, but I'll be glad to try to clarify or post more info if you can steer me a bit. I have a Sony Vaio FS740 laptop, and I have power management set up mostly to my liking, but with one problem. ACPI receives battery events when the AC is connect and when it is unconnected, but also at other times, and I don't know how to distinguish. If there are no actions for acpid to take when they happen, the script /etc/acpi/default.sh sends this to the syslog: logger: ACPI event unhandled: battery BAT0 0080 0001 logger: ACPI event unhandled: battery BAT0 0080 0001 They come in pairs, and the string is the same whether the cord has just been attached or removed or neither. I have an acpid event/action which catches these and then sets the brightness level depending on whether or not the cord is plugged in. This works fine when I switch between AC and battery power. The problem is that if I want to set some other brightness level manually, it does no good, because one of the I-don't-know-why-they-happen battery events will trigger a change in brightness within a couple of minutes. Here's the event file for acpid, /etc/acpi/events/pmg_brightness : - event=battery.* action=/etc/acpi/actions/pmg_change_brightness.sh %e - And here's /etc/acpi/actions/pmg_change_brightness.sh : - #!/bin/bash # this line was added in hopes of debugging, # but I see no help from it. logger brightness script caught: ${*} BRIGHTNESS_AC=4 BRIGHTNESS_BATTERY=1 if on_ac_power then logger Setting LCD to brightness ${BRIGHTNESS_AC} echo $BRIGHTNESS_AC /proc/acpi/sony/brightness else logger Setting LCD to brightness ${BRIGHTNESS_BATTERY} echo $BRIGHTNESS_BATTERY /proc/acpi/sony/brightness fi - Whether it's triggered by unplugging or by I-don't-know-what, I get this in the syslog: logger: brightness script caught: battery BAT0 0080 0001 logger: Setting LCD to brightness 1 Same thing for plugging in or I-don't-know-what, except the brightness is set to 4 as expected. I'd appreciate any insight or help you can give me. -- »Q« -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] network configuration problem
2007/1/1, Strong Cypher [EMAIL PROTECTED]: did you configure manually your ip for testing before starting net.eth0 ??? Thank you!Believe me,I have tried your advice.But the problem is still there. Now ,I have find out the cause.It's still the problem of configuration of the kernel. I find a article in gentoo-wiki called HARDWARE_Intel_945G.And I followed it ,then my network problem disappeared,although my ethernet configuration is the same with this article. the addr of this article:http://gentoo-wiki.com/HARDWARE_Intel_945G Still thank Oliver Schmidt,Mike,Dan and Strong Cypher,you taught me a lot about how to config the network. -- Happy New Year! wcw -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] USE flags information resource
On Monday 01 January 2007 05:52, Alan E. Davis wrote: On 12/31/06, Aniruddha [EMAIL PROTECTED] wrote: I think this is an excellent idea! For starters you can use euse: # euse -i useflagname I already use euse. It is really helpful. The short descriptions of the USE flags are often helpful. Just as often, they are not informative enough to enable me, at least, to make an informed decision. A little more information would often have helped. Do you have any ideas about a next step? Alan AFAIK the only references to what the flags mean is /usr/portage/profiles/use.desc. To find out more, read the ebuild to see/divine what the developer has in mind with that flag. For instance, kdebase-3.5.5-r3 has amongst others the following: DEPEND=arts? ( ~kde-base/arts-${PV} ) =media-libs/freetype-2 media-libs/fontconfig pam? ( kde-base/kdebase-pam ) =dev-libs/cyrus-sasl-2 ldap? ( =net-nds/openldap-2 ) cups? ( net-print/cups ) ... So you would have to look into those various optional packages, find out what they are, then look into kdebase a bit deeper and find what it does with those optional packages. For example, the 'ldap' flag causes kdebase to be built against net-nds/openldap. The point is that it's simply not possible to give detailed info about USE flags most of the time, and some intense RTFCing and research is involved alan -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] install CD of Hewlett-Packard server
Here is the hardware of my machine which I got it from Windows: CPU: Intel(R) Xeon (TM)CPU 3.0GHz Intel(R) Xeon (TM)CPU 3.0GHz(双核) Disk driver: HP LOGICAL VOLUME SCSI DISK DEVICE Ethernet: HP NC7782 Gigabit server Adapter Video card: RAGE XL PCI Family 2007/1/1, Rod [EMAIL PROTECTED]: Chuanwen Wu wrote: 2006/12/31, Boyd Stephen Smith Jr. [EMAIL PROTECTED]: On Sunday 31 December 2006 05:38, Chuanwen Wu [EMAIL PROTECTED] wrote about '[gentoo-user] install CD of Hewlett-Packard server': I want to install gentoo in my Hewlett-Packard server.It's my first time to install linux in a server.I want to know that which *.iso I should download and burn into the CD? HP has sold (at least) 2 different architectures in their server lines. What CPU does the system have, or if you don't know, what's the model number? The cpu is Intel 3.0G,Dual core. You will want the Live ISO image for a x86 install. I have tried to install with livecd-i686-installer-2006.1.iso.First time,my machine can enter gnome,but in the way of the installing the error occure(when installing grub): BootloadError:FATAL:__map_device_to_grub_device:ERROR, could not map /dev/cciss/c0d0 to anything in the device map Then I couldn't enter the livecd anymore.Everytime I boot from the livecd,my machine would stop at : coldpluging pci devices even after I switched another CD-ROM. Now ,what should I do? Burn another liveCD?Or. The HPPA won't run on x86, but it will run on he PA8000 cpu arch, the same CPU as the HP Visualize C180 I have sitting here. The Intel 3.0G Dual Core? Hmmm, that would be the 3.0G -D processor, as I don't know of any Duo Core hitting or exceeding 3GHz, I have a E6600 Duo core, and it will run the x86-32 and x86-64 arch's -- gentoo-user@gentoo.org mailing list Expert your advices! -- Happy New Year! wcw -- gentoo-user@gentoo.org mailing list