[gentoo-user] Beryl: white square
Hi, I tried to install beryl on my unstable gentoo (so I've the version 0.2.1) but when I launch it, I've got the famous white square. I've tried a lot of things which I've read from forums but with no results. I've a ATI Radeon Mobility U1 (Radeon IGP 320 M) and I'm using the free driver: radeon (from the package xf86-video-ati) because fglrx doesn't works with my card. here is the output of beryl when I launch it: ** * Beryl system compatiblity check* ** Detected xserver: AIGLX Checking Display :0.0 ... Checking for XComposite extension : passed (v0.3) Checking for XDamage extension : passed Checking for RandR extension: passed Checking for XSync extension: passed Checking Screen 0 ... libGL warning: 3D driver claims to not support visual 0x4b Checking for GLX_SGIX_fbconfig : passed Checking for GLX_EXT_texture_from_pixmap: passed Checking for non power of two texture support : passed Checking maximum texture size : passed (2048x2048) libGL warning: 3D driver claims to not support visual 0x4b beryl: No GLXFBConfig for default depth, falling back on visinfo. Reloading options Do you have any idea to resolve my problem? Thanks a lot Sylvain Chouleur _ Windows Live Messenger sur i-mode : dialoguez avec vos amis depuis votre mobile comme sur PC ! http://mobile.live.fr/messenger/bouygues/ -- gentoo-user@gentoo.org mailing list
[gentoo-user] postgres postinstall problem
Hello! I try to install postgresql and according to the gentoo howto after the emerge I execute the followning command and get this error: # emerge --config =postgresql-8.0.12 Configuring pkg... * Creating the data directory ... * Initializing the database ... QA Notice: USE Flag 'kernel_linux' not in IUSE for dev-db/postgresql-8.0.12 The files belonging to this database system will be owned by user postgres. This user must also own the server process. The database cluster will be initialized with locale hu_HU.iso88592. The default database encoding has accordingly been set to LATIN2. fixing permissions on existing directory /var/lib/postgresql/data ... ok creating directory /var/lib/postgresql/data/global ... ok creating directory /var/lib/postgresql/data/pg_xlog ... ok creating directory /var/lib/postgresql/data/pg_xlog/archive_status ... ok creating directory /var/lib/postgresql/data/pg_clog ... ok creating directory /var/lib/postgresql/data/pg_subtrans ... ok creating directory /var/lib/postgresql/data/base ... ok creating directory /var/lib/postgresql/data/base/1 ... ok creating directory /var/lib/postgresql/data/pg_tblspc ... ok selecting default max_connections ... 10 selecting default shared_buffers ... 50 creating configuration files ... ok creating template1 database in /var/lib/postgresql/data/base/1 ... FATAL: XX000: failed to initialize lc_messages to LOCATION: InitializeGUCOptions, guc.c:2403 child process exited with exit code 1 initdb: removing contents of data directory /var/lib/postgresql/data * * You can use the '//etc/init.d/postgresql' script to run PostgreSQL instead of 'pg_ctl'. * If I see what the locale setting are, I see that LC_MESSAGE is set: # locale LANG=hu LC_CTYPE=hu_HU.iso88592 LC_NUMERIC=hu_HU.iso88592 LC_TIME=hu_HU.iso88592 LC_COLLATE=hu_HU.iso88592 LC_MONETARY=hu_HU.iso88592 LC_MESSAGES=hu_HU.iso88592 LC_PAPER=hu_HU.iso88592 LC_NAME=hu_HU.iso88592 LC_ADDRESS=hu_HU.iso88592 LC_TELEPHONE=hu_HU.iso88592 LC_MEASUREMENT=hu_HU.iso88592 LC_IDENTIFICATION=hu_HU.iso88592 LC_ALL=hu_HU.iso88592 Can somebody tell me what do I wrong? Thanks, István -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] postgres postinstall problem
Try to use UTF-8 instead of iso-8859-2. [EMAIL PROTECTED] ~ $ locale LANG=hu_HU.UTF-8 LC_CTYPE=hu_HU.UTF-8 LC_NUMERIC=hu_HU.UTF-8 LC_TIME=hu_HU.UTF-8 LC_COLLATE=hu_HU.UTF-8 LC_MONETARY=hu_HU.UTF-8 LC_MESSAGES=hu_HU.UTF-8 LC_PAPER=hu_HU.UTF-8 LC_NAME=hu_HU.UTF-8 LC_ADDRESS=hu_HU.UTF-8 LC_TELEPHONE=hu_HU.UTF-8 LC_MEASUREMENT=hu_HU.UTF-8 LC_IDENTIFICATION=hu_HU.UTF-8 LC_ALL= REgards, IStván -- Nyílt forráskód azokra az igazán nehéz napokra. BSA Open source for those really hard days. BSA http://www.osbusiness.hu -- gentoo-user@gentoo.org mailing list
[gentoo-user] hp dat 72 compression problem
Hello! I have problem using our hp dat 72 in our fileserver. I'm not able to put 72 GB of data on the cartridge, though I set the compression to 1 in the stinit.def file. Here is the contents of the config file: # cat /etc/stinit.def manufacturer=HP model=C7438A { scsi2logical=1 mode1 blocksize=512 compression=1 } Strange that the writing stops at block 90669441 and because one block means 512 bytes, it seems that I can write 90669441*512=46 422 753 792 bytes (~46.5GB) on the tape, and I thougth that the capacitiy of the tape is either 36 or 72 GB. Maybe I should play with the density code parameter instead of the compression, but I don't know what value I sould set. Currently I'm using the density code 0x47 (TR-5) (this is the default value). Does anybody know how to set up the drive to be able to write 72GB of data onto it? Thanks for the help in advance, Istvan -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Beryl: white square
Hello On Tue, Apr 10, 2007 at 11:48:13AM +0200, Sylvain Chouleur wrote: Hi, I tried to install beryl on my unstable gentoo (so I've the version 0.2.1) but when I launch it, I've got the famous white square. I've tried a lot of things which I've read from forums but with no results. I've a ATI Radeon Mobility U1 (Radeon IGP 320 M) and I'm using the free driver: radeon (from the package xf86-video-ati) because fglrx doesn't works with my card. I have Intel card, but I had this problem too. I do not know if it is the same or not, try running dmesg, it complained about old drm module. Newest kernel helped, but I'm not sure if it will for you... Have a nice day -- Anyone seen smoking will be considered on fire and will be put out immediately. Michal 'vorner' Vaner pgpFrrNPiKIxZ.pgp Description: PGP signature
Re: [gentoo-user] hp dat 72 compression problem
StefĂĄn IstvĂĄn wrote: Does anybody know how to set up the drive to be able to write 72GB of data onto it? 72GB capacity assumes 2:1 compression. Be lucky, Neil -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Mounting /dev from udev ... [oops]
Hi, On Sat, 7 Apr 2007 10:46:40 -0700 (PDT) maxim wexler [EMAIL PROTECTED] wrote: Got the above error on first reboot of fresh system. Was udev compiled running the kernel in question? (Most probably not needed, though) Is kernel-headers matching that kernel version? That would probably be an absolute requirement... It may be a lower version than the running kernel, but things will fail miserably if it's a higher version. Only link to this particular error in google is from a German site which I can't read. Well, Googling for the email's subject as a phrase did reveal ... nothing. At least I could have translated the message if I was able to get there... hmmm, just noticed I can't use ctl-alt-del. Does nothing. #reboot and #shutdown result in: /dev/initctl: No such file or directory init: /dev/initctl: No such file or directory That's because you're in the emergency console and there is no init running. In order to halt/restart you need to add the -f flag. Beware that you should unmount/remount r/o your partitions before resetting. I.e.: # umount /some/manually/mounted/partition # mount -o ro,remount /dev/device-in-use /mounted/partition/in/use # sync # reboot -f -hwh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] hp dat 72 compression problem
kedd 10 április 2007 15.52 dátummal Neil Walker ezt írta: StefĂĄn IstvĂĄn wrote: Does anybody know how to set up the drive to be able to write 72GB of data onto it? 72GB capacity assumes 2:1 compression. Ok, I know that, but how can I set 2:1 compression? István -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] hp dat 72 compression problem
On Dienstag, 10. April 2007, Stefán István wrote: kedd 10 április 2007 15.52 dátummal Neil Walker ezt írta: StefĂĄn IstvĂĄn wrote: Does anybody know how to set up the drive to be able to write 72GB of data onto it? 72GB capacity assumes 2:1 compression. Ok, I know that, but how can I set 2:1 compression? you CAN NOT! The drive does some compression - but there are lots and lots of files and filtetypes that simply can not packed anymore. Pictures, movies, music files, everything already compressed. This stuff may even take up more space after packing. So 46gb on a 36/72gb tape is not bad for mixed data. You can only get better results, if everything you backup are text files. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: CFLAGS ...-O3 -pipe vs ...O2 no pipe
--- Francisco Rivas [EMAIL PROTECTED] wrote: Hi all :D I think what -march=your_arch -O2 it's enough, because -O3 it's highest but have some details (http://gentoo-wiki.com/CFLAGS#-O2_or_-O3.3F). My guess is -march=your_arch -O2. I was compiled my entire system with those flags and my applications no matter which have a very good functionality... I hope give you some help to make your decision... Interesting. Just completed emerge -uvDN world using the -03 -pipe cflags in make.conf for the PIII arch. I noticed as the output scrolled by that the flags I set were being used for all packages *except* gcc which used -02 -pipe. -mw Get your own web address. Have a HUGE year through Yahoo! Small Business. http://smallbusiness.yahoo.com/domains/?p=BESTDEAL -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: CFLAGS ...-O3 -pipe vs ...O2 no pipe
On 10 April 2007, maxim wexler wrote: Interesting. Just completed emerge -uvDN world using the -03 -pipe cflags in make.conf for the PIII arch. I noticed as the output scrolled by that the flags I set were being used for all packages *except* gcc which used -02 -pipe. Some packages (ebuilds) set a maximum optimisation. Gcc is one of them, OpenOffice another one. Uwe -- A fast and easy generator of fractals for KDE: http://www.SysEx.com.na/iwy-1.0.tar.bz2 Proof of concept of a TSP solver for KDE: http://www.SysEx.com.na/epat-0.1.tar.bz2 -- gentoo-user@gentoo.org mailing list
[gentoo-user] ipw3945 and wpa_supplicant issues
Hi all! I own a Toshiba laptop P100-400 with a Intel PRO/Wireless 3945ABG wireless adapter. I've managed to get it working with normal WEP authentication, but no success with wpa_supplicant (and I really need it for WPA auth). # /etc/init.d/net.eth1 restart * Stopping eth1 * Bringing down eth1 * Stopping dhcpcd on eth1 ... [ ok ] * Shutting down eth1 ... [ ok ] * Stopping wpa_cli on eth1 ... [ ok ] * Stopping wpa_supplicant on eth1 ... [ ok ] * Starting eth1 * Starting wpa_supplicant on eth1 ... ioctl[SIOCSIWMODE]: Resource temporarily unavailable Could not configure driver to use managed mode ioctl[SIOCGIWRANGE]: Resource temporarily unavailable ioctl[SIOCSIWAUTH]: Resource temporarily unavailable WEXT auth param 7 value 0x1 - ioctl[SIOCSIWENCODEEXT]: Resource temporarily unavailable ioctl[SIOCSIWENCODEEXT]: Resource temporarily unavailable ioctl[SIOCSIWENCODEEXT]: Resource temporarily unavailable ioctl[SIOCSIWENCODEEXT]: Resource temporarily unavailable ioctl[SIOCSIWAUTH]: Resource temporarily unavailable WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Resource temporarily unavailable [ ok ]th param 5 value 0x1 - * Starting wpa_cli on eth1 ... [ ok ] * Failed to configure eth1 in the background Ugly, uh? :/ dmesg output: ipw3945: Error sending LEDS_CMD: time out after 500ms. ipw3945: Error sending LEDS_CMD: time out after 500ms. ipw3945: Error sending LEDS_CMD: time out after 500ms. ipw3945: request scan called when driver not ready. ipw3945: Detected geography ABG (13 802.11bg channels, 23 802.11a channels) ipw3945: Error sending SCAN_ABORT_CMD: time out after 500ms. ipw3945: Error sending LEDS_CMD: time out after 500ms. ipw3945: Detected geography ABG (13 802.11bg channels, 23 802.11a channels) Some extra info: I'm using the internal ieee8021x stack with gentoo-sources-2.6.19-r5 * net-wireless/ipw3945 Latest version available: 1.2.0 Latest version installed: 1.2.0 * net-wireless/ipw3945-ucode Latest version available: 1.14.2 Latest version installed: 1.14.2 * net-wireless/ipw3945d Latest version available: 1.7.22-r4 Latest version installed: 1.7.22-r4 * net-wireless/wpa_supplicant Latest version available: 0.5.7 Latest version installed: 0.5.7 # lspci | grep Wireless 03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02) # pcitweak -l 21 | grep 03.00.0: PCI: 03:00:0: chip 8086,4222 card 8086,1041 rev 02 class 02,80,00 hdr 00 # iwconfig eth1 eth1 unassociated ESSID:off/any Mode:Managed Frequency=2.462 GHz Access Point: Not-Associated Bit Rate:0 kb/s Tx-Power:16 dBm Retry limit:15 RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality:0 Signal level:0 Noise level:0 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:179 Missed beacon:0 /etc/conf.d/net extract: modules_eth1=( !plug wpa_supplicant ) wpa_supplicant_eth1=-Dwext associate_timeout_eth1=60 /etc/wpa_supplicant/wpa_supplicant.conf extract (the problem isn't here though, it fails with all types of configurations): ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 update_config=0 eapol_version=1 ap_scan=0 fast_reauth=1 network={ ssid=XX priority=1 key_mgmt=NONE auth_alg=SHARED wep_key0=XXX wep_tx_keyidx=0 } Sorry for the length. Any help would be greatly appreciated . Best regards, José Pedro
Re: [gentoo-user] Re: CFLAGS ...-O3 -pipe vs ...O2 no pipe
On Tuesday 10 April 2007 16:58:47 Uwe Thiem wrote: On 10 April 2007, maxim wexler wrote: Interesting. Just completed emerge -uvDN world using the -03 -pipe cflags in make.conf for the PIII arch. I noticed as the output scrolled by that the flags I set were being used for all packages *except* gcc which used -02 -pipe. Some packages (ebuilds) set a maximum optimisation. Gcc is one of them, OpenOffice another one. It's done with `replace-flags -O? -O2` so it's not a maximum. -O0 or -O1 would be replaced too... -- Bo Andresen pgpSmiiv6JNuZ.pgp Description: PGP signature
Re: [gentoo-user] Re: CFLAGS ...-O3 -pipe vs ...O2 no pipe
Hi all.. Certainly some package have a maximun optimisation. I really believe, the optimisation level is a very interesting thing bucause all depend of what you need and you have all power of your system, only gentoo can give you that. it's very good to see a server compiling most of the applications, and people with few resources in thier pc's can run a very good operating system and no die trying... :P Looking for more information on the web, I see http://www.linuxjournal.com/article/7269. In that article: ...The simplest way to achieve good performance is to rely on the -O2 optimization level; if you're not interested in portability, specify the target architecture using -march=. For space-constrained applications, the -Os optimization level should be considered first.. All is your decision based in what you need... On 4/10/07, Uwe Thiem [EMAIL PROTECTED] wrote: On 10 April 2007, maxim wexler wrote: Interesting. Just completed emerge -uvDN world using the -03 -pipe cflags in make.conf for the PIII arch. I noticed as the output scrolled by that the flags I set were being used for all packages *except* gcc which used -02 -pipe. Some packages (ebuilds) set a maximum optimisation. Gcc is one of them, OpenOffice another one. Uwe -- A fast and easy generator of fractals for KDE: http://www.SysEx.com.na/iwy-1.0.tar.bz2 Proof of concept of a TSP solver for KDE: http://www.SysEx.com.na/epat-0.1.tar.bz2 -- gentoo-user@gentoo.org mailing list -- ['Cause without love I won't survive, I love you]. I Francisco Rivas 2.6.19-gentoo-r5 x86 udev v087 gnome 2.16.2 xorg-x11-7.1 hotplug v20040923-r2 e-mail : [EMAIL PROTECTED] msn : [EMAIL PROTECTED] -BEGIN GEEK CODE BLOCK- Version: 3.1 GCS/E/IT/MU d-(+)@ s++: a-- C ULSC*()+++ P+(++)+++ L++(+++) !E--- W+++ !N* !o-(--)-- K--? !w--- !O !M !V PS@ !PE@ Y PGP t 5 X R++ tv- b DI D G e+ h- r+ y- --END GEEK CODE BLOCK--
Re: [gentoo-user] Re: CFLAGS ...-O3 -pipe vs ...O2 no pipe
El Tue, 10 Apr 2007 07:29:26 -0700 (PDT) maxim wexler [EMAIL PROTECTED] escribió: --- Francisco Rivas [EMAIL PROTECTED] wrote: Hi all :D I think what -march=your_arch -O2 it's enough, because -O3 it's highest but have some details (http://gentoo-wiki.com/CFLAGS#-O2_or_-O3.3F). My guess is -march=your_arch -O2. I was compiled my entire system with those flags and my applications no matter which have a very good functionality... I hope give you some help to make your decision... Interesting. Just completed emerge -uvDN world using the -03 -pipe cflags in make.conf for the PIII arch. I noticed as the output scrolled by that the flags I set were being used for all packages *except* gcc which used -02 -pipe. Hello, If the ebuilds were that smart to let people mess up cflags on such packages, people would need to reinstall Gentoo as much as they need to reinstall Windows. Of course the reason would be a broken toolchain, instead of a OS that gradually degrades whit the age. That is specially true when you even make typos writing cflags. See -O2 vs. -02. -- Jesús Guerrero -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: CFLAGS ...-O3 -pipe vs ...O2 no pipe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Francisco Rivas said the following on 2007-04-10 17:29: | ... | Certainly some package have a maximun optimisation. I really believe, | the optimisation level is a very interesting thing bucause all depend of | what you need and you have all power of your system, only gentoo can | give you that. | That's not entirely true. Take SuSE for instance. Using SRPMs and setting your preferred compiler and linker flags, You can pretty much do the same as in Gentoo, the difference being that Gentoo makes it a lot easier :) since it - as opposed to the majority of Linux dists - is a true source code distribution. (Phew! That was a long sentence). | ... | | All is your decision based in what you need... | Agreed :) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (MingW32) iD8DBQFGG7NzJDzv6DN+QUkRApF/AKDtbF/dtwC8d5ownAp+XZkRA30ruwCgqLp6 iZxCFrRl1HPohc5yj+lapug= =qUW9 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Install Stage feature request and bug report.
On Sunday 08 April 2007 20:05:50 Jerry McBride wrote: Just a small request of the gentoo stage developers... Would it be at all possible to include rsync in the next round of development? ??? rsync is already on the stages.. -- Bo Andresen pgpXS1wydVs1w.pgp Description: PGP signature
Re: [gentoo-user] Re: CFLAGS ...-O3 -pipe vs ...O2 no pipe
don't use -O3 unless you need _extreme_ performance -O2 -finline-functions is close to -O3 but doesn't use -fno-home-register For toolchain, I just stick to -O2. For power-hungry apps, I use -O2 -finline-functions glibc developer said that inlining with gcc 4.2 screws up code, so on the safe side, just use -O2 for toolchain, -O2 -finline-functions for everything else - Andrey Vul -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: CFLAGS ...-O3 -pipe vs ...O2 no pipe
--- Andrey Vul [EMAIL PROTECTED] wrote: don't use -O3 unless you need _extreme_ performance -O2 -finline-functions is close to -O3 but doesn't use -fno-home-register For toolchain, I just stick to -O2. For power-hungry apps, I use -O2 -finline-functions glibc developer said that inlining with gcc 4.2 screws up code, so on the safe side, just use -O2 for toolchain, -O2 -finline-functions for everything else - Andrey Vul Too late. Damage done. I decided to go with the example make.conf which call the O3 level decent. -- gentoo-user@gentoo.org mailing list Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/features_spam.html -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: CFLAGS ...-O3 -pipe vs ...O2 no pipe
Hi all.. Oh god.. well damage done, but you learn the lesson rigth?.. I believe yes. Actually all the people in the forum learn the lesson... For the nex time remember use O2 :D I hope the damage was not horrible.. and you can recover all losted. On 4/10/07, maxim wexler [EMAIL PROTECTED] wrote: --- Andrey Vul [EMAIL PROTECTED] wrote: don't use -O3 unless you need _extreme_ performance -O2 -finline-functions is close to -O3 but doesn't use -fno-home-register For toolchain, I just stick to -O2. For power-hungry apps, I use -O2 -finline-functions glibc developer said that inlining with gcc 4.2 screws up code, so on the safe side, just use -O2 for toolchain, -O2 -finline-functions for everything else - Andrey Vul Too late. Damage done. I decided to go with the example make.conf which call the O3 level decent. -- gentoo-user@gentoo.org mailing list Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/features_spam.html -- gentoo-user@gentoo.org mailing list -- ['Cause without love I won't survive, I love you]. I Francisco Rivas 2.6.19-gentoo-r5 x86 udev v087 gnome 2.16.2 xorg-x11-7.1 hotplug v20040923-r2 e-mail : [EMAIL PROTECTED] msn : [EMAIL PROTECTED] -BEGIN GEEK CODE BLOCK- Version: 3.1 GCS/E/IT/MU d-(+)@ s++: a-- C ULSC*()+++ P+(++)+++ L++(+++) !E--- W+++ !N* !o-(--)-- K--? !w--- !O !M !V PS@ !PE@ Y PGP t 5 X R++ tv- b DI D G e+ h- r+ y- --END GEEK CODE BLOCK--
[gentoo-user] after major upgrade questions remain
Hi group, I did an emerge -uD world on a box with the 2.6.12 kernel on it via the 2005.1 livecd. 1)From the logs or perhaps an online doc I read that I must manage a static /dev or ensure udev starts on boot. But how? There's no udev in init.d or conf.d. 2)The emerge process terminated with the message 'slocate' renamed 'locate'. and to run #groupmod -n locate slocate. Which I did and was able to resume the process. Now in the new system both man locate and man slocate go to the same file, slocate(1). So what was that all about? It seemed important enough to shut the whole process down. 3)Another message state with regard to glibc upgrade /etc/locales.build to /etc/local.gen then run /etc/locals.build. Words to that effect. How the heck do I do that? -mw Don't be flakey. Get Yahoo! Mail for Mobile and always stay connected to friends.http://mobile.yahoo.com/mail -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: CFLAGS ...-O3 -pipe vs ...O2 no pipe
Em Terça 10 Abril 2007 16:01, Francisco Rivas escreveu: Hi all.. Oh god.. well damage done, but you learn the lesson rigth?.. I believe yes. Actually all the people in the forum learn the lesson... For the nex time remember use O2 :D I hope the damage was not horrible.. and you can recover all losted. How can I rebuild my system with O2?? =P I've configured my system with O3 and the HD space is going out... =P TIA -- Davi Vidal [EMAIL PROTECTED] [EMAIL PROTECTED] -- Agora com fortune: Students? barked the Archchancellor. Yes, Master. You know? They're the thinner ones with the pale faces? Because we're a *university*? They come with the whole thing, like rats -- -- (Terry Pratchett, Moving Pictures) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: CFLAGS ...-O3 -pipe vs ...O2 no pipe
On 10 April 2007, maxim wexler wrote: --- Andrey Vul [EMAIL PROTECTED] wrote: don't use -O3 unless you need _extreme_ performance -O2 -finline-functions is close to -O3 but doesn't use -fno-home-register For toolchain, I just stick to -O2. For power-hungry apps, I use -O2 -finline-functions glibc developer said that inlining with gcc 4.2 screws up code, so on the safe side, just use -O2 for toolchain, -O2 -finline-functions for everything else - Andrey Vul Too late. Damage done. I decided to go with the example make.conf which call the O3 level decent. No real damage. Your system will work - and quite well, especially if you prelink the whole thing to overcome longer load times of O3 binaries. Uwe -- A fast and easy generator of fractals for KDE: http://www.SysEx.com.na/iwy-1.0.tar.bz2 Proof of concept of a TSP solver for KDE: http://www.SysEx.com.na/epat-0.1.tar.bz2 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: CFLAGS ...-O3 -pipe vs ...O2 no pipe
On 10 April 2007, Davi wrote: Em Terça 10 Abril 2007 16:01, Francisco Rivas escreveu: Hi all.. Oh god.. well damage done, but you learn the lesson rigth?.. I believe yes. Actually all the people in the forum learn the lesson... For the nex time remember use O2 :D I hope the damage was not horrible.. and you can recover all losted. How can I rebuild my system with O2?? =P I've configured my system with O3 and the HD space is going out... =P O3 binaries are larger than O2 binaries but not that much. So if you are about to be out of HD space with O3 binaries you will soon be out of it with O2 binaries as well. You will need more HD space either way. That said, you can rebuild your system to be O2 by editing /etc/make.conf (O3 - O2) and the --newuse option for emerge. I don't think it's worth it. ;-) Uwe -- A fast and easy generator of fractals for KDE: http://www.SysEx.com.na/iwy-1.0.tar.bz2 Proof of concept of a TSP solver for KDE: http://www.SysEx.com.na/epat-0.1.tar.bz2 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: CFLAGS ...-O3 -pipe vs ...O2 no pipe
On Tuesday 10 April 2007 21:45:04 Uwe Thiem wrote: That said, you can rebuild your system to be O2 by editing /etc/make.conf (O3 - O2) and the --newuse option for emerge. I don't think it's worth it. ;-) You mean --emptytree. -- Bo Andresen pgpe55VrkhfAo.pgp Description: PGP signature
Re: [gentoo-user] Re: CFLAGS ...-O3 -pipe vs ...O2 no pipe
On Tue, 10 Apr 2007 16:10:40 -0300 Davi [EMAIL PROTECTED] wrote: How can I rebuild my system with O2?? =P I've configured my system with O3 and the HD space is going out... =P Change your CFLAGS to have -O2 instead of -O3 and then run emerge -e world. If you don't have enough space then unmerge some unneeded stuff before reemerging world. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Re: CFLAGS ...-O3 -pipe vs ...O2 no pipe
El Tue, 10 Apr 2007 20:45:04 +0100 Uwe Thiem [EMAIL PROTECTED] escribió: How can I rebuild my system with O2?? =P I've configured my system with O3 and the HD space is going out... =P O3 binaries are larger than O2 binaries but not that much. So if you are about to be out of HD space with O3 binaries you will soon be out of it with O2 binaries as well. You will need more HD space either way. Yes. No way around that. That said, you can rebuild your system to be O2 by editing /etc/make.conf (O3 - O2) and the --newuse option for emerge. I don't think it's worth it. ;-) No, --newuse is for use flags. He need to rebuild ALL the packages. So, emerge --emptytree world would do. -- Jesús Guerrero -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: CFLAGS ...-O3 -pipe vs ...O2 no pipe
Em Terça 10 Abril 2007 16:56, Jesús Guerrero escreveu: No, --newuse is for use flags. He need to rebuild ALL the packages. So, emerge --emptytree world would do. ** Thinking: rebuild all = all packages = kde + Xorg + glibc + OOo + ... Humm... ** Well... I'm _very_ fine with -O3 flag... u.u' I would like use the -O3 flag until format my HD instead recompile my entire system... =P Thanks a lot! -- Davi Vidal [EMAIL PROTECTED] [EMAIL PROTECTED] -- Agora com fortune: NEWSFLASH: Colonel Panic's Software Bazaar in Yakima, Washington has instituted a new policy requiring customers to undergo a five-day waiting period before purchasing any Microsoft products. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: CFLAGS ...-O3 -pipe vs ...O2 no pipe
El Tue, 10 Apr 2007 17:08:40 -0300 Davi [EMAIL PROTECTED] escribió: Em Terça 10 Abril 2007 16:56, Jesús Guerrero escreveu: No, --newuse is for use flags. He need to rebuild ALL the packages. So, emerge --emptytree world would do. ** Thinking: rebuild all = all packages = kde + Xorg + glibc + OOo + ... Humm... ** Well... I'm _very_ fine with -O3 flag... u.u' I would like use the -O3 flag until format my HD instead recompile my entire system... =P Well, you don't need to do so. Just change the flag. Eventually, with the time, all the packages will be recompiled now or later... There is no problem with that. -- Jesús Guerrero -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: CFLAGS ...-O3 -pipe vs ...O2 no pipe
Em Terça 10 Abril 2007 17:15, Jesús Guerrero escreveu: El Tue, 10 Apr 2007 17:08:40 -0300 Davi [EMAIL PROTECTED] escribió: Em Terça 10 Abril 2007 16:56, Jesús Guerrero escreveu: No, --newuse is for use flags. He need to rebuild ALL the packages. So, emerge --emptytree world would do. ** Thinking: rebuild all = all packages = kde + Xorg + glibc + OOo + ... Humm... ** Well... I'm _very_ fine with -O3 flag... u.u' I would like use the -O3 flag until format my HD instead recompile my entire system... =P Well, you don't need to do so. Just change the flag. Eventually, with the time, all the packages will be recompiled now or later... There is no problem with that. -- Jesús Guerrero Sure! But I don't want to wait 8~9 hours to compile OOo right _now_... =P BTW, thanks for your help! =] -- Davi Vidal [EMAIL PROTECTED] [EMAIL PROTECTED] -- Agora com fortune: === ALL USERS PLEASE NOTE CAR and CDR now return extra values. The function CAR now returns two values. Since it has to go to the trouble to figure out if the object is carcdr-able anyway, we figured you might as well get both halves at once. For example, the following code shows how to destructure a cons (SOME-CONS) into its two slots (THE-CAR and THE-CDR): (MULTIPLE-VALUE-BIND (THE-CAR THE-CDR) (CAR SOME-CONS) ...) For symmetry with CAR, CDR returns a second value which is the CAR of the object. In a related change, the functions MAKE-ARRAY and CONS have been fixed so they don't allocate any storage except on the stack. This should hopefully help people who don't like using the garbage collector because it cold boots the machine so often. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] The next step in AV
On Tue, 10 Apr 2007 08:47:13 -0700 Grant [EMAIL PROTECTED] wrote: I currently have an HDTV hooked up to a desktop computer running Gentoo and xfce4, all controlled by a wireless keyboard/mouse from the couch. It's awesome. However, I think the next step is to control everything from a laptop on the couch. How would you set this up? - Grant The easy way is to use a big cursor theme and just use your laptop as a remote keyboard/mouse for your TV. (in addition to stuff like mythweb and the like) Do like so: (assuming tv runs on display :0, which it most likely does ) Get mythtv or whatever running by auto-login and startup script. Assume that your tv is running as user tv, hostname tv. From your laptop: ssh -Y [EMAIL PROTECTED], then x2x -to :0 -north. This makes the tv-screen look like an extension of your laptop screen, situated above (north) of your laptop. Now whenever you move your mouse up, out of the laptop screen, your laptop keyboard and mouse controls the tv... That sounds like a wonderful way to do this, but it certainly doesn't count as the easiest way, easy as it is. I think that prize goes to simply logging into the tv box remotely (ssh -Y [EMAIL PROTECTED], just like above) as the same user that has logged into X on the tv box. Then set the DISPLAY environment variable to point to the tv screen (most likely :0) and your ssh-session screen will be the TV. It isn't as nice as the x2x solution, but it requires nothing special to do. That's how I usually do it. -- Dan. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Mounting /dev from udev ... [oops]
On Sat, 7 Apr 2007 14:51:00 -0700 (PDT) maxim wexler [EMAIL PROTECTED] wrote: Dude, your kernel is really old. We're on 2.6.19 or 2.6.20 right now. There were significant updates and bugfixes. Youve got to update your system. Why on earth is a new install getting 2.6.12? So what? The Pentium III is older that the software. but ... the isn't working properly. If I were attempting to make your processor work differently, I would concede the point. But there's many more requirements for a kernel than just supporting the processor and other hardware. It also has to support software, namely in this case udev. Not having proper udev support could certainly cause the problems we're seeing here, don't you think? I don't need all the bells and whistles. Don't need X or gnome or even a mouse. I'm kind of a minimalist too. _My_ laptop is a Pentium 166. Nevertheless, I try to keep it up to date. 2.6.12 was a long time ago -- http://kerneltrap.org/node/5308 dates it at about 20+ months old, being from late june 2005. Also, upgrades are difficult here in the boonies. Modem speed is approx 28k. I feel your pain. I was on dialup for a long time. I was actually running a 2.4 kernel 8 months or so ago, and that was really outdated. Getting it up to date was a real pain, and I wish I would have saved myself the hassle and updated it regularly. That was a learning experience; ) I got newer software on the working PC, 2.6.16, So it's not exactly bleeding edge but it works fine. I could transfer the newer stuff with ssh but that doesn't seem to be working either. Probably a similar problem. Udev would be responsible for creating network devices such as eth0 based on -mw I agree that you never really need the latest and greatest. That's especially true for hardware when you run gentoo. But software changes quickly, unlike hardware, and is constantly improving. You don't necessarily get bells and whistles, you get bug fixes and performance enhancements as well. Bells and whistles can be left out of the kernel easily enough. I guess you could count udev as a bell or whistle, in which case you could always manage a static /dev by hand. I don't know how to do this, or I probably would on my laptop. Good luck with your /dev problems, and may the solutions be swift and painless ; ) -- Dan -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: CFLAGS ...-O3 -pipe vs ...O2 no pipe
On 10 April 2007, Jesús Guerrero wrote: El Tue, 10 Apr 2007 20:45:04 +0100 Uwe Thiem [EMAIL PROTECTED] escribió: How can I rebuild my system with O2?? =P I've configured my system with O3 and the HD space is going out... =P O3 binaries are larger than O2 binaries but not that much. So if you are about to be out of HD space with O3 binaries you will soon be out of it with O2 binaries as well. You will need more HD space either way. Yes. No way around that. That said, you can rebuild your system to be O2 by editing /etc/make.conf (O3 - O2) and the --newuse option for emerge. I don't think it's worth it. ;-) No, --newuse is for use flags. He need to rebuild ALL the packages. So, emerge --emptytree world would do. Yup. Sorry, my mistake. Uwe -- A fast and easy generator of fractals for KDE: http://www.SysEx.com.na/iwy-1.0.tar.bz2 Proof of concept of a TSP solver for KDE: http://www.SysEx.com.na/epat-0.1.tar.bz2 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: CFLAGS ...-O3 -pipe vs ...O2 no pipe
On Tue, 10 Apr 2007 20:45:04 +0100 Uwe Thiem [EMAIL PROTECTED] wrote: O3 binaries are larger than O2 binaries but not that much. So if you are about to be out of HD space with O3 binaries you will soon be out of it with O2 binaries as well. You will need more HD space either way. That said, you can rebuild your system to be O2 by editing /etc/make.conf (O3 - O2) and the --newuse option for emerge. I don't think it's worth it. ;-) This thread contains a nice description of -02 -03 and -0s (size optimization) which makes it clear that what is actually desired here for space-saving concerns is -0s, not -03. I for some reason run -03 on all my emerges and allow the ebuilds to sort out the maximum acceptible optimization level. As far as I can tell, nothing's been broken by that. I don't run testing or anything, and it _is_ more dangerous, but I'm doing it without problems. For the record. Finally, as people have already said, --newuse is to recompile when you change your use flags. You want to rebuild the system and the world as if none of the dependancies are already installed (so that they get rebuilt too, even if not explicity a part of your world or system) and the way to do that is -e (--emptytree). Doing so after changing from -03 to -0s may actually save a decent amount of space. Furthermore, it may actually perform pretty well too. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Mounting /dev from udev ... [oops]
Good luck with your /dev problems, and may the solutions be swift and painless ; ) -- Dan Thanks Dan. As it happens I went ahead and did a sync followed by a deep portage update followed by deep world update. Avg. download speed ~ 2.9k/s. Took about 36hrs. Phew! Thankfully there was only 61 pkges to do. Now I'm looking for advice on setting up udev. A message in one of the logs says to be sure and start udev on boot but there's no such thing in the /etc/init scripts. -mw Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains. http://farechase.yahoo.com/promo-generic-14795097 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: CFLAGS ...-O3 -pipe vs ...O2 no pipe
On 4/10/07, Davi [EMAIL PROTECTED] wrote: Em Terça 10 Abril 2007 17:15, Jesús Guerrero escreveu: El Tue, 10 Apr 2007 17:08:40 -0300 Davi [EMAIL PROTECTED] escribió: Em Terça 10 Abril 2007 16:56, Jesús Guerrero escreveu: ** Thinking: rebuild all = all packages = kde + Xorg + glibc + OOo + ... Humm... ** Well... I'm _very_ fine with -O3 flag... u.u' I would like use the -O3 flag until format my HD instead recompile my entire system... =P Well, you don't need to do so. Just change the flag. Eventually, with the time, all the packages will be recompiled now or later... There is no problem with that. Sure! But I don't want to wait 8~9 hours to compile OOo right _now_... =P What Jesús means is that if you change the flag now, over the course of usual updates eventually everything will be recompiled. There shouldn't be any harm in having some -03 and some -02 binaries on your system, so change your make.conf and let it happen incrementally with your normal updates. -- Ryan W Sims -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Mounting /dev from udev ... [oops]
On Tue, 10 Apr 2007 14:44:49 -0700 (PDT) maxim wexler [EMAIL PROTECTED] wrote: Good luck with your /dev problems, and may the solutions be swift and painless ; ) -- Dan Thanks Dan. As it happens I went ahead and did a sync followed by a deep portage update followed by deep world update. Avg. download speed ~ 2.9k/s. Took about 36hrs. Phew! Thankfully there was only 61 pkges to do. Ouch. Now I'm looking for advice on setting up udev. A message in one of the logs says to be sure and start udev on boot but there's no such thing in the /etc/init scripts. -mw As it so happens, I dug up http://www.gentoo.org/doc/en/udev-guide.xml for someone on the forums having udev problems. You simply need to check for some pretty standard kernel options: |General setup --- | [*] Support for hot-pluggable devices | |File systems --- | Pseudo filesystems --- |[*] /proc file system support |[*] Virtual memory file system support (former shm fs) You probably want to build a 2.6.18, at least, kernel when you do this to update while you're at it, but i think 2.6.12 will work with udev too. You want to make sure _not_ to use devfs as udev replaces devfs. Then | emerge udev and you should be good to go -- no initscript necessary! I have never had to do anything else. Consult the afforementioned website if you have difficulties. Hope that gets things going !!! May your luck outlast your difficulties, - Dan -- gentoo-user@gentoo.org mailing list
[gentoo-user] Help With Cron
My cron program is sys-process/vixie-cron-4.1-r9 and all cron jobs but one are running as I expect. Specifically, I want the following command to execute from cron: /usr/share/mythtv/mythrename.pl --format %T %- %Y-%m-%d_%g-%i %A %- %S --link /tv/pretty However it fails to run and I get this error message emailed to me from cron: From: [EMAIL PROTECTED] Date: Tue, 10 Apr 2007 15:07:01 -0700 To: [EMAIL PROTECTED] Subject: Cron [EMAIL PROTECTED] /usr/share/mythtv/mythrename.pl --format X-Cron-Env: [EMAIL PROTECTED] X-Cron-Env: SHELL=/bin/sh X-Cron-Env: HOME=/home/mythtv X-Cron-Env: PATH=/usr/bin:/bin X-Cron-Env: LOGNAME=mythtv X-Cron-Env: USER=mythtv Message-Id: [EMAIL PROTECTED] /bin/sh: -c: line 0: unexpected EOF while looking for matching `' /bin/sh: -c: line 1: syntax error: unexpected end of file So I suspected the quotes in my command line might be the problem and I removed the '--format ...' part. Thus my command looked like this: /usr/share/mythtv/mythrename.pl --link /tv/pretty But still I received email with the same error. I don't understand what cron doesn't like. The command runs just fine as the user from the command line. Can someone please point me in the right direction? Thanks, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Help With Cron -- SOLVED
On 4/10/2007 3:20 PM Drew Tomlinson wrote: My cron program is sys-process/vixie-cron-4.1-r9 and all cron jobs but one are running as I expect. Specifically, I want the following command to execute from cron: /usr/share/mythtv/mythrename.pl --format %T %- %Y-%m-%d_%g-%i %A %- %S --link /tv/pretty However it fails to run and I get this error message emailed to me from cron: From: [EMAIL PROTECTED] Date: Tue, 10 Apr 2007 15:07:01 -0700 To: [EMAIL PROTECTED] Subject: Cron [EMAIL PROTECTED] /usr/share/mythtv/mythrename.pl --format X-Cron-Env: [EMAIL PROTECTED] X-Cron-Env: SHELL=/bin/sh X-Cron-Env: HOME=/home/mythtv X-Cron-Env: PATH=/usr/bin:/bin X-Cron-Env: LOGNAME=mythtv X-Cron-Env: USER=mythtv Message-Id: [EMAIL PROTECTED] /bin/sh: -c: line 0: unexpected EOF while looking for matching `' /bin/sh: -c: line 1: syntax error: unexpected end of file So I suspected the quotes in my command line might be the problem and I removed the '--format ...' part. Thus my command looked like this: /usr/share/mythtv/mythrename.pl --link /tv/pretty But still I received email with the same error. I don't understand what cron doesn't like. The command runs just fine as the user from the command line. Can someone please point me in the right direction? Never mind. Although I was editing the crontab with 'crontab -e', I wasn't exiting out of my editor between edits. I was only hitting the save button. Thus because I didn't actually exit the editor, the updated crontab was not getting installed. Sorry for the noise. Thanks, Drew P.S. Yes, the problem was with the quotes as I suspected earlier. Escaping the quotes (\) solved the problem. -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: CFLAGS ...-O3 -pipe vs ...O2 no pipe
Em Terça 10 Abril 2007 19:03, Ryan Sims escreveu: On 4/10/07, Davi [EMAIL PROTECTED] wrote: Em Terça 10 Abril 2007 17:15, Jesús Guerrero escreveu: El Tue, 10 Apr 2007 17:08:40 -0300 Davi [EMAIL PROTECTED] escribió: Em Terça 10 Abril 2007 16:56, Jesús Guerrero escreveu: ** Thinking: rebuild all = all packages = kde + Xorg + glibc + OOo + ... Humm... ** Well... I'm _very_ fine with -O3 flag... u.u' I would like use the -O3 flag until format my HD instead recompile my entire system... =P Well, you don't need to do so. Just change the flag. Eventually, with the time, all the packages will be recompiled now or later... There is no problem with that. Sure! But I don't want to wait 8~9 hours to compile OOo right _now_... =P What Jesús means is that if you change the flag now, over the course of usual updates eventually everything will be recompiled. There shouldn't be any harm in having some -03 and some -02 binaries on your system, so change your make.conf and let it happen incrementally with your normal updates. -- Ryan W Sims Sure! I get it and I already changed my make.conf... =] thanks! =] -- Davi Vidal [EMAIL PROTECTED] [EMAIL PROTECTED] -- Agora com fortune: Any path which narrows future possibilities may become a lethal trap. Humans are not threading their way through a maze; they scan a vast horizon filled with unique opportunities. The narrowing viewpoint of the maze should appeal only to creatures with their noses buried in sand. Sexually produced uniqueness and differences are the life-protection of the spices. -- The Spacing Guild Handbook -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Beryl: white square
I once had the same problem you can do this, hope that it could help you out enable dri with Intel Corporation 82852/855GM Integrated Graphics Device to solve beryl's white screen problem 1. enable dri USE flags 2. Device Drivers --- Character devices --- * /dev/agpgart (AGP Support) * Intel 440LX/BX/GX, I8xx and E7x05 chipset support M Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) M Intel 830M, 845G, 852GM, 855GM, 865G M i915 driver 3. echo drm /etc/modules.autoload.d/kernel-2.6 echo i915 /etc/modules.autoload.d/kernel-2.6 On 4/10/07, Sylvain Chouleur [EMAIL PROTECTED] wrote: Hi, I tried to install beryl on my unstable gentoo (so I've the version 0.2.1) but when I launch it, I've got the famous white square. I've tried a lot of things which I've read from forums but with no results. I've a ATI Radeon Mobility U1 (Radeon IGP 320 M) and I'm using the free driver: radeon (from the package xf86-video-ati) because fglrx doesn't works with my card. here is the output of beryl when I launch it: ** * Beryl system compatiblity check* ** Detected xserver: AIGLX Checking Display :0.0 ... Checking for XComposite extension : passed (v0.3) Checking for XDamage extension : passed Checking for RandR extension: passed Checking for XSync extension: passed Checking Screen 0 ... libGL warning: 3D driver claims to not support visual 0x4b Checking for GLX_SGIX_fbconfig : passed Checking for GLX_EXT_texture_from_pixmap: passed Checking for non power of two texture support : passed Checking maximum texture size : passed (2048x2048) libGL warning: 3D driver claims to not support visual 0x4b beryl: No GLXFBConfig for default depth, falling back on visinfo. Reloading options Do you have any idea to resolve my problem? Thanks a lot Sylvain Chouleur _ Windows Live Messenger sur i-mode™ : dialoguez avec vos amis depuis votre mobile comme sur PC ! http://mobile.live.fr/messenger/bouygues/ -- gentoo-user@gentoo.org mailing list