Re: [gentoo-user] Gentoo with ZIMBRA
On Tue, 2010-12-07 at 04:26 -0500, Mag. Ing. Emilio Del Campo Z. wrote: Hi Everyone.. Hola todos, quiza alguno que entienda español? deseo probar gentoo con zimbra o con algun metodo, mail server, antivirus, antispam y webmail que pudieran recomendar, las gracias de antemano y perdon por el español. Sorry, I don't think anyone here speaks Spanish... Marcus Wanner
[gentoo-user] The story of a successful move from ~x86 back to x86.
Hey all, remember me? I'm the guy with the old desktop from this thread: http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg96277.html That post tells the beginning of the story pretty nicely. To pick up where I left off 11 months ago, I used the computer occasionally as a device to control general IO through the parallel port, but never did anything with portage. When it got cold about a week ago, I determined that it was time to bring the box back from the dead to work as a... space heater. I decided take the ~x86 system, up to date as of January 1st, 2010, and switch back to x86. This was the plan (outlined in a post, by Alan I do believe, from around the same time as the one linked to): 1. Change ACCEPT_KEYWORDS from ~x86 to x86 in make.conf. 2. Keyword the specific version of all installed packages which are newer than the current stable. 3. Gradually wait for x86 to catch up to the installed system and unkeyword packages as newer versions are installed. In this case, I did most of the waiting for stable to catch up before doing anything else, and it turns out that it paid off (only sixteen packages were in need of keywording). Here's a retroactively simplified summary of what I did, with a more detailed listing below: Changed ACCEPT_KEYWORDS to x86 in /etc/make.conf. emerge --sync Updated @system Did the layman symlink thing. Removed openrc due to file conflicts (seems to have been replaced?) Had a heck of a time with the libpng 1.2-1.4 update Was puzzled by with the move from dev-libs/poppler to app-text/poppler Updated @world Masked =sys-apps/v86d-0.1.3-r1...it still won't build correctly. Removed firefox and xulrunner on account of weird slotting problems and xulrunner taking 1 hour to build. Removed xsane and sane-backends because it won't build and I won't be using it. Was slightly confused by the bluez move. Manually installed some grub stages. Keyworded 16 packages which are newer than the current stable (step 2 above). Was exceedingly confused by the gdbm format changes. The only offending database was /etc/sasl2/sasldb2, which I renamed hoping it wouldn't break anything. Updated the kernel according to my usual procedure. emerge -e world (took almost exactly 30.5 hours, no errors) So it's quite possible to move from unstable to stable, it's just not very pretty. Thanks for your advice way back when; it seems to have worked out in the end. Any opinions on what I did right/shouldn't have done the way I did? Marcus Wanner Here's my detailed log of all the commands I ran/changes I made, in chronological order, for those that are interested: changed /etc/make.conf from ~x86 to x86 emerge --sync ln -s /var/lib/layman /usr/local/portage/layman emerge -u system etc-update emerge -C openrc #was causing problem emerge -u system #completing after problem etc-update emerge -uD system (128 packs; 112 done) revdep-rebuild --library '/usr/lib/libpng12.so.0' (it failed because dev-libs/poppler had moved) emerge -C dev-libs/poppler (and 2 similar-named reverse deps) emerge -1 app-text/poppler (to replace it) revdep-rebuild --library '/usr/lib/libpng12.so.0' (42 packs; failed at pygtk again) emerge -av dev-util/lafilefixer lafilefixer --justfixit emerge -uD system (pygtk still failing about -lpng12) emerge libpng:1.2 emerge -uD system (no change) masked =dev-python/pygtk-2.17.0 emerge -uD system (10 packs) perl-cleaner --all (17 packs) emerge -C dev-util/lafilefixer emerge -u world (49 packs; 6 done; v86d failed due to old kernel) (updated kernel to 2.6.36-r12) emerge -1uv x11-drivers/nvidia-drivers (module-rebuild wanted old version) emerge -u world (41 packs, failed at first one, v86d, again) masked =sys-apps/v86d-0.1.3-r1 emerge -u world (38 packs; 11 done; failed at mousepad from cannot find -lpng12) /usr/sbin/libpng-1.4.x-update.sh emerge -C libpng:1.2 emerge -u world (27 packs; 9 done; failed at awesome due to convert using the wrong libjpeg) unmasked pygtk since libpng seems to be fixed revdep-rebuild -L libjpeg.so.7 (failed because of xulrunner upgrade causing slotting problems) emerge -C xulrunner emerge -C firefox (didn't really need them...) Removed xulrunner and firefox from USE revdep-rebuild -L libjpeg.so.7 (failed because of sane-backends downgrade) emerge -uDav @world (to find to-be-downgraded packages) emerge -C bluez-libs bluez-utils cwiid (were bocking net-wireless/bluez-4.75) emerge -uDav @world (to find to-be-downgraded packages) Keyworded 16 to-be-downgraded packages; media-sound/lame-3.98.2-r2 and xfce-base/libxfce4util-4.7.1 were still to be downgraded but are not major so I unkeyworded them. revdep-rebuild -L libjpeg.so.7 (wanted to downgrade sane-backends AGAIN) emerge --oneshot media-gfx/imagemagick:0 (all the others will be rebuilt anyway; this one is needed for the upgrade however) emerge -u world (13 packs; all done) grub-install --recheck --no-floppy /dev/sda emerge
Re: [gentoo-user] Re: Re: Re: CPU socket and picking a heat sink.
On Sun, 2010-12-05 at 17:04 -0600, Dale wrote: I actually caught the case on sale at tigerdirect. It was $100.00 with free shipping I think. I bought the power supply there at the same time tho so I still had to pay some shipping. It's a Thermaltake TRX-650M. I got it because I have one close to that in my current rig and it has been a good one so far. Since I blow the dust out about every month or so, it should last a long time. I also have a UPS on this thing too. It gets some good clean power so that makes it easier on the power supply. Hey, to rather rudely butt in, has anyone considered taking the component mounts off a really old case and building a new one? I mean, you can use whatever material you want, and it would take probably less time than shopping endlessly for a cheap pre-made one... Marcus Wanner
Re: [gentoo-user] Compressed Filesystem
Volker Armin Hemmann wrote: On Donnerstag 31 Dezember 2009, Dale wrote: Marcus Wanner wrote: On 12/30/2009 8:04 PM, Neil Bothwick wrote: On Wed, 30 Dec 2009 09:12:29 -0500, Marcus Wanner wrote: I had to hard reset the system and look at the logs. The only problem was that the logs had the wrong contents because they had been written to but not actually flushed to the disk, and it took me about 10 hard resets to figure that out. Another reason to you the magic sysrq keys instead of the reset button. S syncs your filesystems. sysrq syncs the filesystem? I always wondered what that key actually did... Wait, to get sysrq is Shift+printscreen, right? Marcus This is from a post by Neil a good long while back: Hold down Atl, hold down SysRq, press each of the keys in turn. The usual full sequence is R-E-I-S-U-B Reboot Even If System Utterly Broken I usually only get to the second or third key and I am back at a console. and sometimes K is all you need. Thank god for /usr/src/linux/Documentation Thanks for the info! Marcus
Re: [gentoo-user] Compressed Filesystem
On 12/29/2009 7:17 PM, Albert Hopkins wrote: On Wed, 2009-12-30 at 00:08 +0100, Volker Armin Hemmann wrote: just think a moment of the tons of bug fixes constantly going into ext4. That crap is not stable. Pre-alpha maybe. People say this from time to time, yet I have been running ext4 on my root directory of my laptop since July 2008. The only problem I've had since then is one time it would not mount on boot. I merely had to fsck it from a live media an then it was ok (nothing lost or currupted). But that was a long time ago when it was still ext4dev. And I've had numerous crashes and battery depletions on the laptop without incident. So the pre-alpha FUD that some people are spreading is either not true or I just happen to be the luckiest ext4 user in the world :-). For my two cents, a while back I was on ext4 and was trying to get xorg working. My problem was that the input drivers were not working (because they had not been recompiled after an update), so once I ran startx, no keyboard or mouse input was registered. This meant that every time I tried something which I thought would fix it, I had to hard reset the system and look at the logs. The only problem was that the logs had the wrong contents because they had been written to but not actually flushed to the disk, and it took me about 10 hard resets to figure that out. Even though I was running ext4, I never lost a thing (except the logs :p). For the curious, I eventually got good logs by running shutdown -h 1 in one tty right before running startx in the other, and that shutdown the system correctly. Marcus
Re: [gentoo-user] Compressed Filesystem
On 12/30/2009 8:04 PM, Neil Bothwick wrote: On Wed, 30 Dec 2009 09:12:29 -0500, Marcus Wanner wrote: I had to hard reset the system and look at the logs. The only problem was that the logs had the wrong contents because they had been written to but not actually flushed to the disk, and it took me about 10 hard resets to figure that out. Another reason to you the magic sysrq keys instead of the reset button. S syncs your filesystems. sysrq syncs the filesystem? I always wondered what that key actually did... Wait, to get sysrq is Shift+printscreen, right? Marcus
Re: [gentoo-user] Mothballing a ~arch gentoo system?
On 12/28/2009 3:40 AM, William Kenworthy wrote: Thats why I think removing gnome (or kde) is a good idea - replace with a lightweight desktop so you still have the required functionality. it is for emergency use after all. I find that building from scratch is usually less of a problem than large updates as blocks and problems seem to occur less often. So it is feasable to spend overnight installing gnome/kde if need be as you still have a usable system in the meantime - may not be as nice as kde, but it will still get the job done. Actually, the only things I have installed in the way of GUIs are lxde and ion3, the first takes about 10 minutes to compile and the latter about 5 seconds. The system is very lightweight because it has to be. I also might add that if I ever try to resurrect this thing, it will probably be in order to use it as either a web-browser-only type thing or an experimental-hardware box. In both cases, it would be better as a non-~arch system. Since I have heard that the only way to go back to arch involves waiting for the installed packages to be stabilized, I would like to try that method. Do you guys have any tips for what I am supposed to do? Marcus
[gentoo-user] Mothballing a ~arch gentoo system?
When an old (circa 2001) desktop came out of retirement a few months ago, I shuffled across Linuxes trying to find something that worked well, and finally hit on gentoo. I eventually switched to ~x86 because I was tired of using versions of apps from 6 months ago... Too make a long story short, I have a new computer now and that one is going back into retirement. I may want to use it more in future and would like to know how I would go about mothballing it so that if it ever needs to be used again, bringing it up to date will be as smooth and painless as possible. If I need to resurrect it, it will probably be at least a year from now. What would you recommend? Marcus
Re: [gentoo-user] cannot compile kvm
On 12/23/2009 8:14 PM, Xi Shen wrote: hi, i cannot access my computer now, so i can only tell you what i remember. i am using gentoo amd64, and the portage is updated. the kernel have kvm modules compiled. when i was trying to emerge kvm-kmod, it is said to have been masked, so i unmasked it. but while compiling, kvm-kmod failed with an error message like: cannot file arch/x86/kvm/trace.h file Masked packages are usually masked for a reason. I would check on google and then the gentoo bugzilla and see if anyone else has had the same problem, and how they fixed it. Marcus
Re: [gentoo-user] Re: No desktop after login with kdm
It tends to be caused by crashes in which the session is not saved and the session manager has a hard time restoring it, so it doesn't start the panel and other stuff. Usually, starting the panel manually or logging out with out saving the session and then back in again will fix it. Glad you got it working! Marcus On 12/23/2009 8:58 AM, Nelis Botha wrote: Hi I left the laptop on overnight and it resolved itself. Rebooted and it was still working okay. Been going through the logs but can't find anything that indicates what cuased this. Thanks Regards Nelis On 20/12/2009, nelis.bo...@gmail.comnelis.bo...@gmail.com wrote: I had to hardreboot my laptop was totaly unresponsive to any input. Now that I have rebooted I can login with kdm but after that I have no desktop. I can open applications with krunner (alt+f2) but thats it. All the applications looks okay. Any ideas as to how I can resolve this? Ps I am unable to connect to dsl atm am unable to send any kind of logs atm. Sending this from my phone . Thanks regards Nelis
Re: [gentoo-user] No desktop after login with kdm
On 12/20/2009 4:45 PM, nelis.bo...@gmail.com wrote: I had to hardreboot my laptop was totaly unresponsive to any input. Now that I have rebooted I can login with kdm but after that I have no desktop. I can open applications with krunner (alt+f2) but thats it. All the applications looks okay. Any ideas as to how I can resolve this? Ps I am unable to connect to dsl atm am unable to send any kind of logs atm. Sending this from my phone . Thanks regards Did you get that fixed? You might try manually starting the panel and desktop manager applications, and then rebooting after telling it not to save your session. Marcus
Re: [gentoo-user] Where is my /dev/fd0?
On 12/21/2009 7:44 PM, Peter Humphrey wrote: On which topic, is there a make of USB stick that is more-or-less guaranteed to boot on any system? I haven't found one yet. Some will boot on this box, some on that one, but none on any of them. Well, first you need a box that supports booting from USB. The 1-year-old box that I'm on now can't... Marcus
Re: [gentoo-user] freezing a package
On 12/19/2009 10:27 AM, Dale wrote: Michael P. Soulier wrote: If I want to freeze my nvidia-drivers because any upgrade will abandon my hardware, masking out newer versions doesn't seem to be enough as it will also offer to downgrade once that version is no longer in the portage tree. Is it simpler to just remove nvidia-drivers from the world file? Thanks, Mike I added this to the package.mask file: x11-drivers/nvidia-drivers-173.14.20 That froze mine at that version. Of course, keep in mind if say 173.14.22 comes out, it won't upgrade then either. If you upgrade your kernel later on and it requires a newer nvidia driver, you will have to edit that line. I'm sure some other guru will have a better way tho. ;-) My package mask file reads =x11-drivers/nvidia-drivers-97.00 Because I have a GEForce 3 from goodness knows when and need 96.x. When something had ABI updates and the video driver was part of them, the driver was updated to the new version becuase portage got the latest 96.x drivers, which were not masked. For you, I would recommend =x11-drivers/nvidia-drivers-174.00 Because that will get 173.14.22 if it comes out. Marcus
Re: [gentoo-user] {OT} Preparing a laptop for sale
On 12/18/2009 8:58 PM, Grant wrote: I used unetbootin to install Damn Small Linux on the 512MB bootable USB key, and I'm booted into it. /dev/sda is my HD, and I'm running: dd if=/dev/zero of=/dev/sda The USB LED is blinking rapidly, but the HD LED is showing no activity. Is there any way to tell if the HD is being wiped? The hdd IS being wiped, if you have the right device (which you do, don't worry!). However, I would recommend running with if=/dev/urandom as that will overwrite it with random bits instead of just zero. However, since it's already being done with zeros and a hard drive would usually be sold with all bits set to zero, I think what you are doing will be fine. I checked on it after a few hours and it said No space left on device and the process had exited. I rebooted the system without the key inserted and unfortunately it came back up to the normal HD so nothing has been wiped. Any idea what I did wrong? First of all, make sure that /dev/sda really is your hdd. You can do this in different ways, e.x. mounting the partition with your system on it and seeing if the files are there). Keep in mind that I believe the latest version of DSL still uses /dev/hda for IDE disks, so try that if it turns out that /dev/sdx isn't your disk. Marcus
Re: [gentoo-user] freezing a package
On 12/19/2009 12:37 PM, Dale wrote: Marcus Wanner wrote: My package mask file reads =x11-drivers/nvidia-drivers-97.00 Because I have a GEForce 3 from goodness knows when and need 96.x. When something had ABI updates and the video driver was part of them, the driver was updated to the new version becuase portage got the latest 96.x drivers, which were not masked. For you, I would recommend =x11-drivers/nvidia-drivers-174.00 Because that will get 173.14.22 if it comes out. Yep, that would work. I knew someone would have a better idea. I was expecting that little ~ thingy to be used tho. ;-) Actually, that one came right out of the Gentoo nVidia Guide... http://www.gentoo.org/doc/en/nvidia-guide.xml#doc_chap2_sect1 *sheepish_look* Marcus
Re: [gentoo-user] Where is my /dev/fd0?
On 12/18/2009 4:32 AM, Neil Bothwick wrote: On Thu, 17 Dec 2009 19:45:31 -0500, Marcus Wanner wrote: For the same reason that support for punched card readers is disabled by default. But they're so useful...and the computer we got a year ago had one. Do things really go obsolete like that after decades of prevalence? Yes, thankfully. Floppy disks have no real place nowadays, they are bulky, unreliable and store very little. If you want support for legacy hardware, it is there at the flick of a (config) switch but enabling by default makes no sense, especially on Gentoo where default tends to mean starting point more that standard configuration. Ok, I guess I'm just a bit behind the times/did not go through my make menuconfig thoroughly enough... Marcus
Re: [gentoo-user] Trying to make portage use puf instead of wget
On 12/18/2009 10:40 AM, Ronan Mainbourg wrote: Because my Internet connection is not very fast, I'd like to make portage fetch files using net-misc/puf (wich can dl several chunks of a file at the same time) instead of wget. I tried to do this setting the parameter FETCHCOMMAND in my make.conf, but it doesn't work: FETCHCOMMAND=/usr/bin/puf \${URI} -P \${DISTDIR}/\${FILE} ... Give me when I try emerging a package (heremedia-libs/libdvbpsi for instance): !!! Couldn't download 'libdvbpsi5-0.1.6.tar.bz2'. Aborting. Any Ideas ? Does it actually download the file but put it in the wrong place? Can you attach a complete log? Marcus
Re: [gentoo-user] Re: Trying to make portage use puf instead of wget
On 12/18/2009 1:38 PM, Nikos Chantziaras wrote: On 12/18/2009 05:40 PM, Ronan Mainbourg wrote: Because my Internet connection is not very fast, I'd like to make portage fetch files using net-misc/puf (wich can dl several chunks of a file at the same time) instead of wget. You got it backwards. Downloading more than one chunk at the same time is only useful on *fast* connections, not *slow* ones. I hate to say it but he is correct...puf won't do you any good unless the speed at which to file is being downloaded is less than the maximum speed for your net connection :( Marcus
Re: [gentoo-user] {OT} Preparing a laptop for sale
On 12/18/2009 6:05 PM, Grant wrote: dd if=/dev/zero of=/dev/sda (or what ever) After reading over all the info here, I think I'm going to go with dd since the data isn't too sensitive. I created a 9.1_Live_x64 USB key with unetbootin, but the laptop won't boot to it. I have another 512MB USB key that it boots to just fine. Could my 8GB key be non-bootable? The laptop's CD drive isn't working so I need another way to install an easy copy of Linux after I dd. - Grant I've dealt with many systems that flatly refuse to boot from *some* usb keys but not from others.. and some even vary based on what's being booted into on those usb keys. I used unetbootin to install Damn Small Linux on the 512MB bootable USB key, and I'm booted into it. /dev/sda is my HD, and I'm running: dd if=/dev/zero of=/dev/sda The USB LED is blinking rapidly, but the HD LED is showing no activity. Is there any way to tell if the HD is being wiped? The hdd IS being wiped, if you have the right device (which you do, don't worry!). However, I would recommend running with if=/dev/urandom as that will overwrite it with random bits instead of just zero. However, since it's already being done with zeros and a hard drive would usually be sold with all bits set to zero, I think what you are doing will be fine. Marcus
Re: [gentoo-user] usb HD cannot boot without initramfs
On 12/18/2009 7:39 PM, Robert Bridge wrote: Try passing a rootdelay option to the kernel to allow the kernels USB probe to complete before it tries to mount the USB device. e.g. kernel /boot/kernel root=/dev/usbhdd rootdelay=30 in grub 30 seconds is a bit much, IMHO. USB probes in my experience never take more than 5. Marcus
Re: [gentoo-user] {OT} Preparing a laptop for sale
On 12/17/2009 6:42 AM, Mick wrote: On Thursday 17 December 2009 05:13:32 Joshua Murphy wrote: chicane ~ # shred test/ shred: test/: failed to open for writing: Is a directory chicane ~ # shred -v -n 25 -z -u ~/test/ shred: /root/test/: failed to open for writing: Is a directory shred ... shreds files. Therefore you may need to point it to the files in question for it to work. I suspect that if you point it to a device alone it just shreds the file representing the device on the Linux fs in question. That would be a bit inconvenient...I still vote for dd, overwriting the thing 26 times sounds like WAY overkill for a hdd... Marcus
Re: [gentoo-user] Upgraded gcc 4.1.2 to 4.3.4; dosemu 1.4.0 won't emerge
On 12/16/2009 11:47 PM, Walter Dnes wrote: Attached is the emerge log. I'm running 32 bit on an Intel Core Duo (Dell D530) USE=-X -debug -gpm -svga. The last step of the gcc upgrade is emerge -eav world. dosemu 1.4.0 built under gcc 4.1.2 but not under 4.3.4. I've added my report to http://bugs.gentoo.org/show_bug.cgi?id=294843 Any ideas from the log? Did you follow the directions at http://www.gentoo.org/doc/en/gcc-upgrading.xml when upgrading? Marcus
[gentoo-user] Where is my /dev/fd0?
I tried to mount a floppy disk in my ~x86 gentoo system, but the /dev/fd0 device is not there. In other words, I can't find the block device corresponding to my floppy drive. Where is it and what am I doing wrong? Marcus
Re: [gentoo-user] Where is my /dev/fd0?
On 12/17/2009 11:06 AM, Willie Wong wrote: On Thu, Dec 17, 2009 at 10:53:21AM -0500, Penguin Lover Marcus Wanner squawked: I tried to mount a floppy disk in my ~x86 gentoo system, but the /dev/fd0 device is not there. In other words, I can't find the block device corresponding to my floppy drive. Where is it and what am I doing wrong? You are using udev, I assume? Did you compile the IDE floppy support into your kernel? The only floppy options I can find in the kernel relating to floppy drives in the kernel config are mac floppy, amiga floppy, and atari floppy, none of which apply to me. I believe I am using udev, and both the cd/dvd drives work with my current setup. Thanks! Marcus
Re: [gentoo-user] Where is my /dev/fd0?
On 12/17/2009 12:04 PM, Alex Schuster wrote: Willie Wong writes: On Thu, Dec 17, 2009 at 10:53:21AM -0500, Penguin Lover Marcus Wanner squawked: I tried to mount a floppy disk in my ~x86 gentoo system, but the /dev/fd0 device is not there. In other words, I can't find the block device corresponding to my floppy drive. Where is it and what am I doing wrong? You are using udev, I assume? Did you compile the IDE floppy support into your kernel? It's not IDE (IDE/ATAPI floppy support is for things like LS-120 drives), but CONFIG_BLK_DEV_FD, found in Device Drivers - Block devices - Normal floppy disk support. If it's compiled as a module, maybe you just need to modprobe floppy? I looked at that path in the config, it turns out that it was disabled (by default! why?). I enabled it, rebuilt, rebooted, and now it works. Thanks guys! Marcus
Re: [gentoo-user] Where is my /dev/fd0?
On 12/17/2009 5:16 PM, Neil Bothwick wrote: On Thu, 17 Dec 2009 16:21:28 -0500, Marcus Wanner wrote: It's not IDE (IDE/ATAPI floppy support is for things like LS-120 drives), but CONFIG_BLK_DEV_FD, found in Device Drivers - Block devices - Normal floppy disk support. If it's compiled as a module, maybe you just need to modprobe floppy? I looked at that path in the config, it turns out that it was disabled (by default! why?). For the same reason that support for punched card readers is disabled by default. But they're so useful...and the computer we got a year ago had one. Do things really go obsolete like that after decades of prevalence? Marcus
Re: [gentoo-user] GLX module not loaded...
On 12/16/2009 2:54 AM, Bruce Hill wrote: On Wed, Dec 16, 2009 at 05:32:41AM +0100, meino.cra...@gmx.de wrote: I am still haveing one EE in my Xorg.0.log which says the following: (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X (EE) NVIDIA(0): log file that the GLX module has been loaded in your X (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If (EE) NVIDIA(0): you continue to encounter problems, Please try (EE) NVIDIA(0): reinstalling the NVIDIA driver. (II) NVIDIA(0): NVIDIA GPU GeForce 7600 GT (G73) at PCI:1:0:0 (GPU-0) Module glx is accessed via xorg.conf like this Section Module Load glx EndSection but seems not successfully loaded according to the EEs above. Have you run eselect opengl set nvidia yet? There is a nice guide here: http://www.gentoo.org/doc/en/nvidia-guide.xml I was having the same problem and that command fixed it for me. I noticed that before it was fixed, there was no 3d acceleration when using opengl, making for very slow framerates with most 3d apps... Marcus
Re: [gentoo-user] GLX module not loaded...
On 12/16/2009 1:14 PM, meino.cra...@gmx.de wrote: Alex Schusterwo...@wonkology.org [09-12-16 19:12]: meino.cra...@gmx.de writes: I did by hand and now I have another problem: (II) Loading extension RECORD (II) LoadModule: dri (WW) Warning, couldn't open module dri (II) UnloadModule: dri (EE) Failed to load module dri (module does not exist, 0) (II) LoadModule: dri2 (WW) Warning, couldn't open module dri2 (II) UnloadModule: dri2 (EE) Failed to load module dri2 (module does not exist, 0) I read here that this is okay for the nvidia drivers, they do the dri stuff on their own. Wonko Wonderful...now I can live in peace and X again ! :) THX a lot! Actually, if you want, you can put Disable dri Disable dri2 in the modules section of your xorg.conf, and that will get rid of the messages. Marcus
Re: [gentoo-user] {OT} Preparing a laptop for sale
On 12/16/2009 2:24 PM, Mick wrote: On Wednesday 16 December 2009 18:49:07 Grant wrote: I'm about to sell my old laptop and I'd like to wipe out the data and install any flavor of Linux via USB (the CD drive doesn't work any more). I've got a bootable USB key that will get me into Gentoo. How would you take it from there? I'm looking for something quick and easy. My data isn't too sensitive, but I'd like to do some type of wiping so it isn't all just sitting there with a deleted flag or however that works. First I'd mount the partitions and then emerge/use shred: # shred -v -n 25 -z -u /mnt/a_partition Then I would delete old partitions, create new partitions and format them as required. If you're really paranoid about your data (which from what you're telling me you're not) you can also use dd to randomly overwrite partition tables, but I would probably not bother. Now, there may be more modern tools to do all this with a single button, but I haven't looked into it in any detail. HTH. What's wrong with dd if=/dev/zero of/dev/sdxx? Marcus
Re: [gentoo-user] my gentoo amd64 does not have sound
On 12/15/2009 7:19 AM, Pintér Tibor wrote: the driver is already loaded. and i have use alsaconf, and alsamixer to set the configuration. /etc/init.d/alsasound is started, but my system still does not have sound. what have i missed? unmute? t To unmute sound at all levels, run mplayer and turn the volume up (mplayer is special that way, other programs don't have the same effect). If sound on that and other apps works now, you need to run rc-update add alsasound default and then it should work even after a reboot. Marcus
Re: [gentoo-user] OT: script to make wav fro vob
On 12/15/2009 10:23 AM, Skippy wrote: Greetings, my scripting skills are non-existent, so I come asking for help. :) I use the following to extract audio from vob files and write it as wav files: mplayer filename.vob -ao pcm:waveheader:file=filename.wav -vo null It would be handy if this could be automated so I could run a bash script in a directory full of vob files and end up with a set of wav files with the same file name as the original vob. If anyone knock out such an animal for me I'd be ever grateful and praise your name over and over. Thanks, Skippy You should really learn bash scripting, it will help you no end... Marcus
Re: [gentoo-user] Is rc.conf no longer used by Gentoo (baselayout-1.12.13)?
On 12/15/2009 12:29 AM, daid kahl wrote: You can just set this up in ~/.xinitrc then. exec startxfce4 (that's actually startxfce)
Re: [gentoo-user] OT: extract an image from a .doc file?
On 12/14/2009 2:21 PM, Stroller wrote: Yeah, I think I have a copy of my signature here which was scanned at about that kinda resolution, stored as a bitmap has a large filesize. When I discovered how badly it slowed down Word when actually trying to place it in a document it got replaced with a much smaller gif version. The improvement in performance that this eventuated was, to me, slightly unexpected - surely whatever the original format, both images must be stored in RAM in about the same way. Stroller. There's MS Office for you...
Re: [gentoo-user] my gentoo amd64 does not have sound
On 12/15/2009 12:07 PM, Willie Wong wrote: On Tue, Dec 15, 2009 at 10:35:20AM -0500, Penguin Lover Marcus Wanner squawked: On 12/15/2009 7:19 AM, Pint??r Tibor wrote: unmute? To unmute sound at all levels, run mplayer and turn the volume up (mplayer is special that way, other programs don't have the same effect). Mplayer? Seriously? Why not use amixer (purely commandline) or alsamixer (quasi-gui)? That's what they are intended for! That was the only thing I could find that unmuted it everywhere it needed...
Re: [gentoo-user] X11 start breaks
On 12/14/2009 10:29 AM, GerhardosG wrote: Hi , My graphics-card is a GeForce 7600 GT X11 start breaks with this messages in /var/log/Xorg.0.log : (II) Initializing built-in extension DAMAGE (II) Initializing extension GLX (II) config/hal: Adding input device AT Translated Set 2 keyboard (II) LoadModule: evdev (II) Loading /usr/lib/xorg/modules/input//evdev_drv.so (II) Module evdev: vendor=X.Org Foundation compiled for 1.6.5, module version = 2.3.1 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 4.0 (**) AT Translated Set 2 keyboard: always reports core events (**) AT Translated Set 2 keyboard: Device: /dev/input/event2 (II) AT Translated Set 2 keyboard: Found keys (II) AT Translated Set 2 keyboard: Configuring as keyboard (II) XINPUT: Adding extended input device AT Translated Set 2 keyboard (type: KEYBOARD) (**) Option xkb_rules evdev (**) Option xkb_model evdev (**) Option xkb_layout us (II) config/hal: Adding input device Power Button (**) Power Button: always reports core events (**) Power Button: Device: /dev/input/event1 (II) Power Button: Found keys (II) Power Button: Configuring as keyboard (II) XINPUT: Adding extended input device Power Button (type: KEYBOARD) (**) Option xkb_rules evdev (**) Option xkb_model evdev (**) Option xkb_layout us (II) config/hal: Adding input device Power Button (**) Power Button: always reports core events (**) Power Button: Device: /dev/input/event0 (II) Power Button: Found keys (II) Power Button: Configuring as keyboard (II) XINPUT: Adding extended input device Power Button (type: KEYBOARD) (**) Option xkb_rules evdev (**) Option xkb_model evdev (**) Option xkb_layout us (II) Power Button: Close (II) UnloadModule: evdev (II) Power Button: Close (II) UnloadModule: evdev (II) AT Translated Set 2 keyboard: Close (II) UnloadModule: evdev tux ~ # lsmod Module Size Used by test_nx 1824 0 psmouse37980 0 nvidia 9574140 0 What is wrong ??? Please attach all of /var/log/Xorg.0.log. Marcus
Re: [gentoo-user] What magic does portage use?
On 12/12/2009 2:42 PM, Dale wrote: And some would also argue that cycling power on and off is actually bad for the rig as well. Keeping things at a constant temp is better than fluctuating temps. The old expanding and contracting of material argument. Sort of strange that computers that run a lot last a lng time. I think that is more of a psychological thing than a hardware thing...basically if a computer is already there and ready to be used, people don't think about getting a new one. Besides, what kind of failure would be caused by expanding and contracting anyway? In my experience, old computers don't really break, they just become obsolete... Marcus
Re: [gentoo-user] Re: Baffled by Perl dependancies
On 12/4/2009 10:21 PM, Dale wrote: Thanks goodness for Konsole and being able to scroll up. Where I come from, we use | less :p Marcus
Re: [gentoo-user] X fails after new install
On 12/4/2009 2:39 PM, dhk wrote: Neil Bothwick wrote: On Thu, 03 Dec 2009 08:14:52 -0500, dhk wrote: I'm using xfce4 and when I run startx or startxfce4 I get errors saying no ati, vesa, fbdev modules and then no windows. Please post the actual error messages. The following is from the /var/log/Xorg.0.log file after running startx. This is a pre-release version of the X server from The X.Org Foundation. It is not supported in any way. Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/. Select the xorg product for bugs you find in this release. Before reporting bugs in pre-release versions please check the latest version in the X.Org Foundation git repository. See http://wiki.x.org/wiki/GitPage for git access instructions. X.Org X Server 1.6.3.901 (1.6.4 RC 1) Release Date: 2009-8-25 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.30-gentoo-r8 i686 Current Operating System: Linux yodels 2.6.31-gentoo-r6 #1 SMP Wed Dec 2 13:05:42 EST 2009 i686 Build Date: 20 November 2009 03:26:50PM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Fri Dec 4 14:13:55 2009 (II) Loader magic: 0x3aa0 (II) Module ABI versions: X.Org ANSI C Emulation: 0.4 X.Org Video Driver: 5.0 X.Org XInput driver : 4.0 X.Org Server Extension : 2.0 (II) Loader running on linux (--) using VT number 7 (--) PCI:*(0:1:0:0) 1002:7187:1028:0402 ATI Technologies Inc RV516 [Radeon X1300/X1550 Series] rev 0, Mem @ 0xc000/268435456, 0xdfde/65536, I/O @ 0xdc00/256, BIOS @ 0x/131072 snip (II) Loading /usr/lib/xorg/modules/linux//libfglrxdrm.so (II) Module fglrxdrm: vendor=FireGL - ATI Technologies Inc. compiled for 1.4.99.906, module version = 8.65.4 (II) LoadModule: dri2 (WW) Warning, couldn't open module dri2 (II) UnloadModule: dri2 (EE) Failed to load module dri2 (module does not exist, 0) (II) LoadModule: ati (WW) Warning, couldn't open module ati (II) UnloadModule: ati (EE) Failed to load module ati (module does not exist, 0) (II) LoadModule: vesa (WW) Warning, couldn't open module vesa (II) UnloadModule: vesa (EE) Failed to load module vesa (module does not exist, 0) (II) LoadModule: fbdev (WW) Warning, couldn't open module fbdev (II) UnloadModule: fbdev (EE) Failed to load module fbdev (module does not exist, 0) (EE) No drivers available. Fatal server error: no screens found Try recompiling all your drivers, if the eselect doesn't fix it. Marcus
Re: [gentoo-user] Laptop resurrection...
On 12/2/2009 11:26 AM, Mick wrote: 2009/12/2 BRM bm_witn...@yahoo.com: I'm still working to get my laptop back up; I have one more thing to try. Presently, I am having a problem with the compiling a 2.6.30-gentoo-r8 kernel that actually works. It might be a processor issue - linux reports it as a Pentium M which is what I have selected during 'make menuconfig', but the the grub keeps reporting that it is not a recognized format or something to that effect, so it won't load it. Questions: 1) I am using the Gentoo 2007.0 LiveCD to boot with, then chroot'ing into my installation to build the kernel. I shouldn't need a newer LiveCD, correct? Correct as long as it recognise your hardware. 2) Grub doesn't need to be re-run (e.g. running the grub prompt and going through the install procedure) after changes to the menu file, correct? Correct, assuming you have installed GRUB correctly in the first instance - which makes me ask: What is your exact error message? I got that error when I copied the wrong kernel image to /boot, make sure you are copying the one detailed in the gentoo handbook (chapter 7, I think). Marcus
Re: [gentoo-user] how to know which driver a device is using?
On 12/1/2009 7:59 PM, Xi Shen wrote: Hi, when i start my system from gentoo live dvd, all my hardware works fine. but if i want to have a small system, so i removed many drivers when i am compiling my own system. the result is some times, i do not know which driver should i choose for my hardware, and my hardware cannot use when i boot from my new system. i wonder if there is a way to see which driver is loaded for my hardware. this should help me choose the drivers when compiling my system. I believe lspci -k is the best choice in your case, it is the cleanest and most direct option, and will tell you what hardware is using what driver. Marcus
Re: [gentoo-user] tunneling or redirect attack?
On 12/1/2009 10:07 AM, laurent wrote: Hi, Is it a common thing, or really easy to do, to redirect the content from a server to another one? Like launching an lil app telling the port to listen and then get all data travelling there?? Thanks for information. Laurent And this is relevant here because?
Re: [gentoo-user] Re: How to determine which mobo without opening case
On 11/30/2009 9:13 PM, Harry Putnam wrote: Dan Cowsill danthe...@gmail.com writes: As a matter of curiosity, why can't you open the case? Aside from extreme laziness, I'd prefer to spend 2 seconds getting the info than first pulling the machine out of some piled up mess of several machines, then getting my beat up old body into some contorted position where I can see inside, and finally just hoping I'll be able to see something worthwhile that isn't covered with monstor Tuniq 120 cooler or some such. So guess in short, it would be, aside from extreme laziness extreme laziness... Actually, I have found it difficult to find out the motherboard of a computer without taking the whole thing apart including the cooling fan (of course, it might just be me not knowing the correct way to check these types of things). It would be much easier to just compile and run a program, even if I had to ask here about which program to use. Marcus
Re: [gentoo-user] Re: Moving root filesystem to a new partition
On 11/29/2009 8:02 AM, Peter Humphrey wrote: On Sunday 29 November 2009 08:26:36 daid kahl wrote: I went for Xfce and have been quite happy. Things run even faster now! Yes, I'm just installing it on my home server to replace KDE. Looks quite usable now, though it wasn't a few years ago when I last tried it. This desktop might even find itself running Ubuntu. Now there's an about-face! Check out lxde, it's actually lightweight. Xfce4 is not light enough for my desktop: 2ghz pentium 4, 256mb ram. Lxde runs great, though! Marcus
Re: [gentoo-user] Seamonkey 2.0 and certain sites not working.
On 11/29/2009 4:05 AM, Dale wrote: I think that's a bug with your email client, you should try using the latest version...
Re: [gentoo-user] cdrecord fails to burn dvd
On 11/29/2009 8:21 PM, daid kahl wrote: When I bought this notebook in january and first installed gentoo, cdrecord used to work. Then at some point ago (probably after some update) it has stopped working with the behaviour I have described above. This is every single story of Gentoo and Linux in amazing brevity. But not Ubuntu. They do things differently :p Marcus
Re: [gentoo-user] Re: [OT] Seamonkey and LastPass
On 11/28/2009 5:03 PM, Dale wrote: chrome://messenger/locale/messengercompose/composeMsgs.properties: On Saturday 28 November 2009 05:50:42 »Q« wrote: On Sat, 28 Nov 2009 00:57:54 +0200 Alan McKinnonalan.mckin...@gmail.com wrote: [about LastPass] What I find incredible is that people will accept the site's say-so that the site admins can't read the data. They have not proven anything, merely asserted something. The only way to do give that guarantee is to encrypt the data. Which then needs a key. Someone must keep the key and it's either you or them. If it's them, they can decrypt the data (same reason as DRM is doomed to failure) and if it's you - well if you lose the key you lose the data. Are you telling me that there are people gullible enough to actaully fall for that one? They claim that the decrypted data never leaves your computer and they they don't have a key to it. Many, many things aren't clear, such as what kind of encryption is used (same as the US gov't uses for Top Secret stuff, they say, heh), where and how the key is stored on your machine, on and on. I wouldn't dream of using them, but yeah, they have a substantial number of users. I have an alarm system in my head. It's called the Security by bullshit baffles brains Alert. It's ringing right now ;-) Mind you, I have vendors who use exactly the same throw-around-bullshit- statements-and-see-what-sticks approach. It works on the Account Managers all the time, and works on us techies none of them time. Lucky for us, techies rule around here. We get to tell the Account Managers that the vendor is talking crap, that we don't have to explain why, that we are not buying their crap and we are not using it, so please tell the vendor to leave the building and stop wasting my time :-) And to think I came here to ask others opinion BEFORE doing this. I was curious as to how this could work myself and if they can be trusted, or SHOULD be trusted. Seems everyone thinks no one should. That said, because of the way my bank and credit card site accepts the login and password, I bet it wouldn't work for them anyway. If I wanted a really long password that would be hard to guess, those two would be it. Dale :-) :-) For my two cents, I would not trust anyone with my passwords, encrypted or otherwise. Anyone who falls for this kind of thing should go learn about security being a mindset, not a software package, and then check out wikipedia's page on email viruses and the like. Marcus
Re: [gentoo-user] eclipse portage package
On 11/28/2009 3:18 PM, Chuck Robey wrote: Several comments about answers here. First, to Marcus Wanner, yes, the first two eclipse packages work for 3.5, but they AREN'T eclipse, they are plugins for eclipse (plugins for what I really want). The 3rd is eclipse-sdk, the only one you don't cover and the only one I really need. Of course I know how to handle them, but without having eclipse itself, it's not useful. In that case, you would follow my instructions, except change the ACCEPT_KEYWORDS=~x86 emerge -pv eclipse-ecj command to ACCEPT_KEYWORDS=~x86 emerge -pv eclipse-sdk and the emerge -av eclipse-ecj command to emerge -av eclipse-sdk However, if you have it working, you can disregard my advice entirely. Marcus Marcus
Re: [gentoo-user] No sound after suspend to ram + resume...
On 11/26/2009 2:21 AM, Mick wrote: I guess you may need to moprobe -r driver before you hibernate and see if that works? Yes, but only if not programs are using the module. Now, I have a script which shuts down alsasound, unloads and reloads the module, and then starts alsasound. However, it only works when no programs are trying to use the sound driver. Any programs using the sound driver when I suspend the system tend to crash when resumed, and the fixsound script only works if no such programs are open. Everything else works fine after suspend/resume, even the proprietary nvidia drivers. Thanks!
Re: [gentoo-user] eclipse portage package
On 11/26/2009 12:55 PM, David Relson wrote: Alternatively, one can use the autounmask command, for example: autounmask dev-java/eclipse-ecj-3.5.1 On my AMD64 system, which has /etc/portage/package.keywords (as a directory, rather than a file) autounmask generated file: /etc/portage/package.keywords/autounmask-eclipse-ecj which contains: # --- # BEGIN: dev-java/eclipse-ecj-3.5.1 # --- =dev-java/eclipse-ecj-3.5.1 ~amd64 =dev-java/ant-eclipse-ecj-3.5.1 ~amd64 # --- # END: dev-java/eclipse-ecj-3.5.1 # --- I wish I had known about that command :| Marcus
Re: [gentoo-user] No sound after suspend to ram + resume...
On 11/26/2009 5:02 AM, daid kahl wrote: After suspending to ram (using hibernate-ram) and resuming, sound no longer works. I checked out dmesg, and it says that (among other things): Check the various hybernation/acpi config files. There should be the option somewhere in there to stop alsasound when it hybernates and start it again on resume. My wisdom agrees with this. 90% of problems I've had getting hibernate-ram to function correctly is all in the /etc/hibernate/common.conf file. Please check these options very well. For different kernel builds or X configurations, the best settings can easily change. If you recently updated the kernel, then please reboot once again, as the alsa configurations can change slightly, and it will try to auto-convert old alsa settings. Also please run alsaconf as well to make sure the settings are correct. Thanks, as I said, the problem I have now is that programs that play sound (mplayer, Firefox sometimes) don't survive suspend-resume. Actually, they survive, it's just that FF tends to lock up when watching youtube-style videos. Sound is broken during suspend-resume, and can only be fixed by closing all programs using the sound drivers, then unloading and reloading the sound driver module. Unfortunately, the panel volume changer applet (for LXDE, I'm using hardware from 2000, remember...) is one of those programs (it took me a solid 3 hours to figure that one out), so I no longer run that applet. I am happy with my current suspend-resume setup, and can say that gentoo is the only distro that successfully suspend/hibernates when using the proprietary nvidia drivers, and the only one that runs with little enough latency for me* (preemptable kernel ftw!). Thanks guys. Marcus *The box says Designed for Windows Me on the side...it ran XP until I got ahold of it *evil smile*
Re: [gentoo-user] eclipse portage package
On 11/25/2009 12:20 PM, Chuck Robey wrote: Mark Knecht wrote: m...@dragonfly ~/Desktop $ eix eclipse * dev-java/ant-eclipse-ecj Available versions: (3.3) 3.3.0-r1 (3.4) 3.4 (3.5) ~3.5.1 {elibc_FreeBSD} Homepage:http://www.eclipse.org/ Description: Ant Compiler Adapter for Eclipse Java Compiler This shows that 3.5.1 is available, but is masked by a ~arch keyword. This means that the ebuild for 3.5.1 is not stable yet, and is not guaranteed to work (though it most likely will). * dev-java/eclipse-ecj Available versions: (3.3) 3.3.0-r3 (3.4) 3.4-r4 (3.5) ~3.5.1 {ant elibc_FreeBSD java6} Homepage:http://www.eclipse.org/ Description: Eclipse Compiler for Java Same for eclipse-ecj... * dev-util/eclipse-sdk Available versions: (3.4) 3.4-r2 {doc elibc_FreeBSD java6} Homepage:http://www.eclipse.org/ Description: Eclipse Tools Platform But not eclipse-sdk. dragonfly ~ # emerge -pv eclipse-ecj These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N] app-admin/eselect-ecj-0.3 0 kB [ebuild N] dev-java/eclipse-ecj-3.4-r4 USE=-java6 1,251 kB Total: 2 packages (2 new), Size of downloads: 1,251 kB Here, he shows what would be installed if you ran emerge elipse-ecj. dragonfly ~ # ACCEPT_KEYWORDS=~x86 emerge -pv eclipse-ecj These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N] dev-python/pyxml-0.8.4-r2 USE=-doc -examples 0 kB [ebuild N] dev-java/javatoolkit-0.3.0-r3 17 kB [ebuild N] dev-java/ant-core-1.7.1-r4 USE=-doc -source 6,828 kB [ebuild N] app-admin/eselect-ecj-0.3 0 kB [ebuild N] dev-java/eclipse-ecj-3.5.1 USE=ant 1,268 kB [ebuild N] dev-java/ant-eclipse-ecj-3.5.1 0 kB Total: 6 packages (6 new), Size of downloads: 8,111 kB This is what would happen if you temporarily told the system to allow the installation of ~arch packages. Temporarily setting ~arch is a Bad Idea! I need to get an up-to-date version of eclipse working on my gentoo box. First question is, is there a Galileo (3.5+) version of eclipse available as a portage package? I can't find it, so I'd really appreciate a pointer. The only thing I can see is a fairly old eclipse version (I think a year or more out of date). That is because the newer version is keyworded with ~arch. Emerge will not tell you that there is a newer, keyworded version available. Second question, at the eclipse website, I see a binary version of the latest Linux-eclipse (the version I'm after). If I *can't* get a portage package version of Galileo-eclipse, Don't worry, I'll show you how in a little bit! then if I install the binary package (non-portage) from the eclipse website, can I get (and how can I get) portage to consider this package as supplying any dependency which would be otherwise supplied by the latest (ganymede, 3.4+) portage version of the eclipse tool As far as I know of, that is not possible without ugly hacks. Unless I'm completely misreading your stuff, your examples tell me how to install the (too old) portage version, which is in all cases just too old for me, so my 2 questions boil down to (1) must I?, and (2) How do I? I don't know what you mean by must I?, but the answer to How do I? is right here: First, you need to create a folder called /etc/portage as root. Then, create a file called package.keywords in that directory. When you want to install a keyworded package (dev-java/eclipse-ecj-3.5.1 in this case), you run ACCEPT_KEYWORDS=~x86 emerge -pv eclipse-ecj to see what packages are needed for the keyworded version. Then, you copy the the package names mentioned to package.keywords. In the example above, the command outputted: [ebuild N] dev-python/pyxml-0.8.4-r2 USE=-doc -examples 0 kB [ebuild N] dev-java/javatoolkit-0.3.0-r3 17 kB [ebuild N] dev-java/ant-core-1.7.1-r4 USE=-doc -source 6,828 kB [ebuild N] app-admin/eselect-ecj-0.3 0 kB [ebuild N] dev-java/eclipse-ecj-3.5.1 USE=ant 1,268 kB [ebuild N] dev-java/ant-eclipse-ecj-3.5.1 0 kB So you would add this: dev-python/pyxml-0.8.4-r2 dev-java/javatoolkit-0.3.0-r3 dev-java/ant-core-1.7.1-r4 app-admin/eselect-ecj-0.3 dev-java/eclipse-ecj-3.5.1 dev-java/ant-eclipse-ecj-3.5.1 to the package.keywords file (note that this will probably be different for your system, you should run the command yourself and use that output to find out what you should put in the file). I would also put a note above the lines to say why and when they were added, in case I forget. Then you can run emerge -av eclipse-ecj and see if it lists the new versions of everything. Marcus
[gentoo-user] No sound after suspend to ram + resume...
I just set up suspend to ram on my old Dell Dimension 8200. It has a Cirrus Logic CS 4614/22/24/30 [CrystalClear SoundFusion Audio Accelerator] sound card which uses the snd_cs46xx kernel driver. After suspending to ram (using hibernate-ram) and resuming, sound no longer works. I checked out dmesg, and it says that (among other things): during suspend: [ 354.947535] Sound Fusion CS46xx :02:07.0: PCI INT A disabled during resume: [ 355.029211] Sound Fusion CS46xx :02:07.0: restoring config space at offset 0xf (was 0x18040100, writing 0x18040103) [ 355.029231] Sound Fusion CS46xx :02:07.0: restoring config space at offset 0x5 (was 0x0, writing 0xfe10) [ 355.029239] Sound Fusion CS46xx :02:07.0: restoring config space at offset 0x4 (was 0x0, writing 0xfe2ff000) [ 355.029246] Sound Fusion CS46xx :02:07.0: restoring config space at offset 0x3 (was 0x0, writing 0x4000) [ 355.029256] Sound Fusion CS46xx :02:07.0: restoring config space at offset 0x1 (was 0x410, writing 0x4100102) [ 355.128883] Sound Fusion CS46xx :02:07.0: PCI INT A - GSI 16 (level, low) - IRQ 16 this is the interesting bit: [ 365.672980] cs46xx: failure waiting for FIFO command to complete I searched the web, but found nothing relevant. Any help would be very much appreciated. Marcus
Re: [gentoo-user] No sound after suspend to ram + resume...
On 11/25/2009 5:10 PM, Mick wrote: On Wednesday 25 November 2009 19:29:43 Marcus Wanner wrote: I just set up suspend to ram on my old Dell Dimension 8200. It has a Cirrus Logic CS 4614/22/24/30 [CrystalClear SoundFusion Audio Accelerator] sound card which uses the snd_cs46xx kernel driver. After suspending to ram (using hibernate-ram) and resuming, sound no longer works. I checked out dmesg, and it says that (among other things): during suspend: [ 354.947535] Sound Fusion CS46xx :02:07.0: PCI INT A disabled during resume: [ 355.029211] Sound Fusion CS46xx :02:07.0: restoring config space at offset 0xf (was 0x18040100, writing 0x18040103) [ 355.029231] Sound Fusion CS46xx :02:07.0: restoring config space at offset 0x5 (was 0x0, writing 0xfe10) [ 355.029239] Sound Fusion CS46xx :02:07.0: restoring config space at offset 0x4 (was 0x0, writing 0xfe2ff000) [ 355.029246] Sound Fusion CS46xx :02:07.0: restoring config space at offset 0x3 (was 0x0, writing 0x4000) [ 355.029256] Sound Fusion CS46xx :02:07.0: restoring config space at offset 0x1 (was 0x410, writing 0x4100102) [ 355.128883] Sound Fusion CS46xx :02:07.0: PCI INT A - GSI 16 (level, low) - IRQ 16 this is the interesting bit: [ 365.672980] cs46xx: failure waiting for FIFO command to complete I searched the web, but found nothing relevant. Any help would be very much appreciated. Check the various hybernation/acpi config files. There should be the option somewhere in there to stop alsasound when it hybernates and start it again on resume. That doesn't work, thanks for the suggestion though. I even tried running /etc/init.d/alsasound stop from a terminal, and sound kept playing. I added RestartServices alsasound to common.conf, and suspend + resumed. Going down, audio continued until the screen went black, then it jittered until the computer actually turned off (1/2 second later). When I pressed the power button to resume, I heard a pop, but nothing else. I think I need to actually restart the drivers and the hardware after resuming...and ideas? Marcus
Re: [gentoo-user] debugging SD card
On 11/22/2009 1:45 PM, Maxim Wexler wrote: Hi group, My netbook uses an SD card for additional storage. I suspect it of being buggy so I compiled the kernel with 'CONFIG_MMC_DEBUG=y'. Questions are: how do I use it to check the SD card? Is this the correct method? Maxim If you just want to test if it holds bit values correctly, I would write a repeating pattern to it with dd and read it back, and see if they match. That's all the advice I can give :( Marcus
Re: [gentoo-user] Quick quesition regarding linux-2.6.31.x and gentoo-sources-2.6.31-rx
On 11/19/2009 4:10 PM, Eray Aslan wrote: On Thu, Nov 19, 2009 at 03:49:19PM -0500, Marcus Wanner wrote: I was just wondering if a package such as gentoo-sources-2.6.31-r6 uses kernel 2.6.31.6, or just 2.6.31. I have been digging through timestamps and the like for a while, but I just can't figure it out. http://sources.gentoo.org/viewcvs.py/linux-patches/genpatches-2.6/tags/ Ok, so gentoo-sources-2.6.31-r6 uses the 2.6.31 tarball (I'm assuming to save downloading most of it again), but includes the patches to change that version to 2.6.31.6. Thank you. Marcus
Re: [gentoo-user] Re: Quick quesition regarding linux-2.6.31.x and gentoo-sources-2.6.31-rx
On 11/19/2009 6:22 PM, Nikos Chantziaras wrote: On 11/19/2009 10:49 PM, Marcus Wanner wrote: I was just wondering if a package such as gentoo-sources-2.6.31-r6 uses kernel 2.6.31.6, or just 2.6.31. I have been digging through timestamps and the like for a while, but I just can't figure it out. In addition to the link Eray posted, you can also always check /usr/portage/sys-kernel/gentoo-sources/ChangeLog Thank you for that tip! Marcus
Re: [gentoo-user] [OT] interrupting runscripts during startup
On 11/19/2009 6:45 PM, Renat Golubchyk wrote: Better use the interactive init feature. Just hit 'I' when init starts (init even tells you, that you can do it) and choose which services to start by hitting 'y' and 'n' (actually 1, 2, 3, and 4) Marcus
Re: [gentoo-user] Troubles with kde4
On 11/20/2009 8:52 AM, econti wrote: Hi all, finally I decided to upgrade from kde3 to kde4. All went well, but: 1 - I am not able to fix the frequency of the display, neither using nvidia-settings nor throught System-settings-Dislplay. Every time a session starts I have to set it again (and this both as root and as user); As user only and at the start of every session: 2 - I have to resize the dimension of the Panel; 3 - I have to enable the Compositing (desktop effects) Sounds like config files are not being written correctly. I would look at all of the .* folders in your home directory and see if they are all writable by you. This was likely caused by you trying out startx while in a root non-login terminal, which used su to get into. I did this once with firefox, and it caused it to fail silently when I tried to start it. further 4 - I cannot mount a partition (both from command line and from desktop) the answer is Only root can mount a device (all permissions are the same as before) I would check out groups username and see whether you are a member of the plugdev group. 5 - I am not able to become root (both in konsole and term) the answer is Authentication failed (consolekit is merged) Wheel group for this one. Marcus
Re: [gentoo-user] equery versus q-tools
On 11/20/2009 4:00 AM, Helmut Jarausch wrote: Hi, there are two utilities on (my) Gentoo system and I wonder when to prefer which one. On one hand there is 'equery' with many commands. On the other hand there the 'q-tools' i.e. a lot of symlinks to /usr/bin/q like qfile qdepends quse and so on. Often they offer similar tasks. I wonder when to use which one. Which is faster, more reliable, ... Many thanks for sharing your experience, Helmut. I would personally prefer equery, as it is in gentoolkit, an official gentoo project, and because is more standard. To tell the truth, though, I have never even heard of q-tools... Marcus
Re: [gentoo-user] equery versus q-tools
On 11/20/2009 11:56 AM, Helmut Jarausch wrote: On 20 Nov, Marcus Wanner wrote: On 11/20/2009 4:00 AM, Helmut Jarausch wrote: Hi, there are two utilities on (my) Gentoo system and I wonder when to prefer which one. On one hand there is 'equery' with many commands. On the other hand there the 'q-tools' i.e. a lot of symlinks to /usr/bin/q like qfile qdepends quse and so on. Often they offer similar tasks. I wonder when to use which one. Which is faster, more reliable, ... Many thanks for sharing your experience, Helmut. I would personally prefer equery, as it is in gentoolkit, an official gentoo project, and because is more standard. To tell the truth, though, I have never even heard of q-tools... No wonder, it's just my personal nickname for it. The official name is app-portage/portage-util Helmut. Ah. Then I can't really give you any recommendation besides the fact that gentoolkit seems to be what most people use, and there is certainly something to be said for using the most popular programs since there will be faster support and bugfixes. Or course, that is a valid decision criteria only when there is no other reason to choose a specific option (there would be no such thing as the linux or even gentoo user base otherwise). Marcus
Re: [gentoo-user] Troubles with kde4
On 11/20/2009 2:28 PM, econti wrote: cut further 4 - I cannot mount a partition (both from command line and from desktop) the answer is Only root can mount a device (all permissions are the same as before) I would check out groups username and see whether you are a member of the plugdev group. 5 - I am not able to become root (both in konsole and term) the answer is Authentication failed (consolekit is merged) Wheel group for this one. Marcus This was the first thing I did. Remeber, we are talking about a kde upgrade, so groups, permissions, etc should not be changed. emilio I know, I just thought that maybe for some weird reason it had changed your groups settings. I personally don't use kde since I'm on an old 2Ghz Pentium 4 with 256Mb of RAM... LXDE ftw! Marcus
Re: [gentoo-user] equery versus q-tools
On 11/20/2009 5:16 PM, Neil Bothwick wrote: On Fri, 20 Nov 2009 13:23:03 -0500, Marcus Wanner wrote: Ah. Then I can't really give you any recommendation besides the fact that gentoolkit seems to be what most people use, and there is certainly something to be said for using the most popular programs since there will be faster support and bugfixes. Like Windows? I did say (right after the snip) that: Or course, that is a valid decision criteria only when there is no other reason to choose a specific option (there would be no such thing as the linux or even gentoo user base otherwise). What I meant by that was, quite frankly, that Windows sucks. Marcus
Re: [gentoo-user] flash drive FAT partition disappears
On 11/19/2009 3:22 AM, Neil Bothwick wrote: I suspect you did nothing wrong and that the problem is either a coincidental hardware failure or something the owner did to the stick after you returned it. Convincing the owner of that is another matter. I am pretty sure that this is the case. The fact that the partition table is no longer valid is very interesting, and I would be interested in seeing the first 512 bytes (I believe that is where the partition table resides) of the dd image, if you can make one, just to see if it's corrupt or has been correctly erased. The fact that there is 2 TB left according to gparted leads me to believe that it is corrupt, which would mean that it is probably a hardware failure, and nothing to do with Linux, as someone else said. Good luck with that student, here's hoping there was nothing important on that drive when it died! Marcus
[gentoo-user] Quick quesition regarding linux-2.6.31.x and gentoo-sources-2.6.31-rx
I was just wondering if a package such as gentoo-sources-2.6.31-r6 uses kernel 2.6.31.6, or just 2.6.31. I have been digging through timestamps and the like for a while, but I just can't figure it out. Thanks, and sorry for my noobishness. Marcus
Re: [gentoo-user] lxappearance and commonbox-styles?
Oh, I understand now. I will look into obconf and the other packages you mentioned. Thank you! Marcus On 11/17/2009 2:45 AM, App Des wrote: the themes you installed are for openbox (title bar and borders), those can be changed with obconf (emerge it if you don't have it). lxappearance changes the gtk and icon themes. (gnome-themes, gtk-engines-* etc) On Tue, Nov 17, 2009 at 12:39 AM, Marcus Wanner marc...@cox.net wrote: I installed lxde and am really liking it (stabilization soon? install went without a hitch...). I also installed commonbox-styles because I didn't really like the default theme, so I installed commonbox-themes and commonbox-themes-extra. I opened lxappearance and tried to switch to one of my shiny new themes, but there was still only the default one available. Am I missing something here? I tried googleing, but didn't find anything besides some irrelevant build logs. Rebooting did not produce any new themes either... Thanks. Marcus
Re: [gentoo-user] Re: Reading a DVD as an ISO image
On 11/17/2009 10:40 AM, Grant Edwards wrote: On 2009-11-17, Jos? Romildo Malaquias j.romi...@gmail.com wrote: Once I have written a dvd ISO image to a dvd-r disk and then I have deleted the image from the hard disk. Now I need the image again, but reading the image from disk does not give me an identical image to the original one. I have used the commands $ readcd -vvv dev=/dev/dvd f=image.iso and $ dd if=/dev/dvd of=image.iso With both commands, the resulting image is 99.9% identical to the original one. If you deleted the original, how do you know? the one you're creating from the DVD isn't identical? Is there anything I can do to get an image identical to the original one? Since you still seem to have a copy of the original ISO, just use it. My guess is that he has a slow internet connection, he downloaded a large iso, burned it, deleted it, and now wants to get the iso back without downloading it again, but he has access to the checksum/filesize of the original iso from the place he downloaded it, and when he makes an iso, the checksum/filesize does not match. Marcus
Re: [gentoo-user] (SOLVED) lxappearance and commonbox-styles?
Works great, thanks. I'm now running a great Marrina theme with some great gnome-themes-extras icons and a great ClearLooks window manager. No more Redmond! Marcus On 11/17/2009 2:45 AM, App Des wrote: the themes you installed are for openbox (title bar and borders), those can be changed with obconf (emerge it if you don't have it). lxappearance changes the gtk and icon themes. (gnome-themes, gtk-engines-* etc) On Tue, Nov 17, 2009 at 12:39 AM, Marcus Wanner marc...@cox.net wrote: I installed lxde and am really liking it (stabilization soon? install went without a hitch...). I also installed commonbox-styles because I didn't really like the default theme, so I installed commonbox-themes and commonbox-themes-extra. I opened lxappearance and tried to switch to one of my shiny new themes, but there was still only the default one available. Am I missing something here? I tried googleing, but didn't find anything besides some irrelevant build logs. Rebooting did not produce any new themes either... Thanks. Marcus
[gentoo-user] lxappearance and commonbox-styles?
I installed lxde and am really liking it (stabilization soon? install went without a hitch...). I also installed commonbox-styles because I didn't really like the default theme, so I installed commonbox-themes and commonbox-themes-extra. I opened lxappearance and tried to switch to one of my shiny new themes, but there was still only the default one available. Am I missing something here? I tried googleing, but didn't find anything besides some irrelevant build logs. Rebooting did not produce any new themes either... Thanks. Marcus
Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)
On 11/12/2009 11:36 PM, Roy Wright wrote: On Nov 12, 2009, at 5:39 PM, Marcus Wanner wrote: Spoke too soon...now I'm getting this: ../doltcompile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include-DHAVE_ssing-declarations -Wnested-externs -fno-strict-aliasing -DDBUS_API_SUBJECT_TO_CI/usr/include/pixman-1 -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbuxt -I../xfixes -I../Xi -I../mi -I../miext/shadow -I../miext/damage -I../render (1) * 1000) + ((6) * 10) + ((5) * 1000) + 0) -march=pentium4 -O2 -pipe ch.lo dispatch.c In file included from ../Xext/panoramiX.h:44, from dispatch.c:134: /usr/include/X11/extensions/panoramiXext.h:49: error: expected ')' before '*' to /usr/include/X11/extensions/panoramiXext.h:54: error: expected '=', ',', ';', 'a /usr/include/X11/extensions/panoramiXext.h:64: error: expected '=', ',', ';', 'a /usr/include/X11/extensions/panoramiXext.h:70: error: expected '=', ',', ';', 'a /usr/include/X11/extensions/panoramiXext.h:76: error: expected '=', ',', ';', 'a dispatch.c: In function 'ProcCloseFont': dispatch.c:1117: warning: 'SecurityLookupIDByType' is deprecated (declared at .. make[2]: *** [dispatch.lo] Error 1 http://bugs.gentoo.org/show_bug.cgi?id=291312 Basically you will need to mask all the dependencies for xorg-server-1.7 to be able to compile 1.6.5. I hit this a few days ago. = dependencies in ebuilds cause PITA for users... HTH, Roy Thank you so much, the instructions at that link (plus a few hours of randomly installing and uninstalling packages) finally got things working! However, I would also note that I use xfce4-settings, and therefore also had to mask =xfce-base/xfce4-settings-4.6.3-r1, since it depends on libXi-1.3 or greater. Again, thank you to everyone who helped me with this. Marcus
Re: [gentoo-user] making a file-list at (a) for fetching at (b)
On 11/13/2009 3:24 PM, Maxim Wexler wrote: Hi group, Can someone explain to me how to generate a list of files to be fetched, eg -fuDN world, on a slow desktop that can be downloaded onto a netbook later? Maxim You want to generate a list of packages to be upgraded, and then upgrade them on different computer? Marcus
Re: [gentoo-user] Going ~x86?
On 11/12/2009 5:05 AM, Alan McKinnon wrote: On Thursday 12 November 2009 00:12:06 Stefan G. Weichinger wrote: Roy Wright schrieb: Also keep in mind that it's the ebuild that is untested. The package is usually what upstream has released as stable. I haven't yet looked at it that way, good point. My advice is if you are willing to upgrade at least weekly then go untested, if you are willing to upgrade at least monthly, then go stable, else really be willing to work thru some hard upgrade scenarios. Hmm, and this now as I just got somehow happy with my strange mixture of stable and unstable ;-) I am now looking at some # ACCEPT_KEYWORDS=~amd64 emerge -avuDN world Good god, please don't ever do that. If you don't know why it's a terrible idea, then you *really* should not be doing it Yes, temporarily setting ~arch is incredibly bad. Even I know that :p. Marcus
[gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)
Hi, As you have all noticed by now, I am currently upgrading my system to ~x86. About 220 of the 238 packages were built correctly, but when it got to xorg-server-1.6.5, it crashed complaining about ../Xext/panoramiX.h:44:41: error: X11/extensions/panoramiXext.h: No such file or directory. I'm guessing this means that there was a problem with a dependency being upgraded/installed/omitted. How do I fix this? I have attached the output of emerge --info =x11-base/xorg-server-1.6.5, as requested, and an (abridged) build log. Thanks for your help! Marcus (sorry about the dos newlines, I had to reformat this on my windows box :() Portage 2.1.7.4 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.11-r0, 2.6.30-gentoo-r8 i686) = System Settings = System uname: Linux-2.6.30-gentoo-r8-i686-Intel-R-_Pentium-R-_4_CPU_2.00GHz-with-gentoo-2.0.1 Timestamp of tree: Tue, 10 Nov 2009 18:15:01 + app-shells/bash: 4.0_p35 dev-lang/python: 2.6.4, 3.1.1-r1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.5.2-r2 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.20 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS=x86 ~x86 CBUILD=i686-pc-linux-gnu CFLAGS=-march=pentium4 -O2 -pipe -fomit-frame-pointer CHOST=i686-pc-linux-gnu CONFIG_PROTECT=/etc /usr/share/X11/xkb CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d CXXFLAGS=-march=pentium4 -O2 -pipe -fomit-frame-pointer DISTDIR=/usr/portage/distfiles FEATURES=assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch GENTOO_MIRRORS=ftp://ftp.lug.udel.edu/pub/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo LDFLAGS=-Wl,-O1 MAKEOPTS=-j2 PKGDIR=/usr/portage/packages PORTAGE_CONFIGROOT=/ PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage SYNC=rsync://rsync.namerica.gentoo.org/gentoo-portage USE=X a52 aac acl acpi alsa berkdb blender-game bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo fam fbcon firefox flac fortran ftp gdbm gif gimp gpm gstreamer gtk gzip hal iconv ipv6 jpeg latex ldap libnotify libsamplerate live lock mad mikmod modules mp2 mp3 mp4 mpeg mplayer mudflap ncurses network nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support quicktime rar raw rdesktop readline reflection samba sasl sdl session speex spell spl sse sse2 ssl startup-notification subversion svg symlink sysfs tcpd thunar tiff truetype unicode usb vorbis win32codecs x264 x86 xml xorg xscreensaver xulrunner xv xvid zlib ALSA_CARDS=ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol APACHE2_MODULES=actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias ELIBC=glibc INPUT_DEVICES=keyboard mouse KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text USERLAND=GNU VIDEO_CARDS=nvidia Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY [31m[1m!!! Error: [0;10mUnrecognized option: --impl-headers exiting Unpacking source... Unpacking xorg-server-1.6.5.tar.bz2 to /var/tmp/portage/x11-base/xorg-server-1.6.5/work Source unpacked in /var/tmp/portage/x11-base/xorg-server-1.6.5/work Preparing source in /var/tmp/portage/x11-base/xorg-server-1.6.5/work/xorg-server-1.6.5 ... [32;01m*[0m Running elibtoolize in: xorg-server-1.6.5 [32;01m*[0m Applying portage-2.2.patch ... [32;01m*[0m Applying sed-1.5.6.patch ... [32;01m*[0m Applying as-needed-2.2.6.patch ... Source prepared. Configuring source in /var/tmp/portage/x11-base/xorg-server-1.6.5/work/xorg-server-1.6.5 ... * econf: updating
Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)
On 11/12/2009 11:55 AM, Roy Wright wrote: On Nov 12, 2009, at 8:33 AM, Alan McKinnon wrote: On Thursday 12 November 2009 16:23:11 Marcus Wanner wrote: Hi, As you have all noticed by now, I am currently upgrading my system to ~x86. About 220 of the 238 packages were built correctly, but when it got to xorg-server-1.6.5, it crashed complaining about ../Xext/panoramiX.h:44:41: error: X11/extensions/panoramiXext.h: No such file or directory. I'm guessing this means that there was a problem with a dependency being upgraded/installed/omitted. How do I fix this? That file comes from libXinerama: $ equery belongs /usr/include/X11/extensions/panoramiXext.h * Searching for /usr/include/X11/extensions/panoramiXext.h ... x11-libs/libXinerama-1.1 (/usr/include/X11/extensions/panoramiXext.h) I recall similar issues with the upgrade to xorg-server-1.7* Solution then was to emerge *all* required libs and -proto packages, then build xorg-server. I think it was due to stuff not being in DEPEND Disable (either temporary or permanent) the xinerama USE flag. Me or Alan? Marcus
Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)
On 11/12/2009 12:56 PM, Roy Wright wrote: On Nov 12, 2009, at 11:24 AM, Marcus Wanner wrote: On 11/12/2009 11:55 AM, Roy Wright wrote: Disable (either temporary or permanent) the xinerama USE flag. Me or Alan? OP As a suggestion for a work around for the compile issue. If you temporarily disable xinerama, then the build should proceed. Then if you need xinerama, enable the USE flag and build again. I don't have the xinerama use flag set anywhere...I don't know what it is, I don't want it, and I hopefully don't need it. I did put -xinerama in my use flag variable and try again, we'll see how that works...btw, I have switched to xorg-server-1.7.1, since I don't want to go through upgrading more than I need to. Marcus
Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)
On 11/12/2009 1:21 PM, Marcus Wanner wrote: On 11/12/2009 12:56 PM, Roy Wright wrote: On Nov 12, 2009, at 11:24 AM, Marcus Wanner wrote: On 11/12/2009 11:55 AM, Roy Wright wrote: Disable (either temporary or permanent) the xinerama USE flag. Me or Alan? OP As a suggestion for a work around for the compile issue. If you temporarily disable xinerama, then the build should proceed. Then if you need xinerama, enable the USE flag and build again. I don't have the xinerama use flag set anywhere...I don't know what it is, I don't want it, and I hopefully don't need it. I did put -xinerama in my use flag variable and try again, we'll see how that works...btw, I have switched to xorg-server-1.7.1, since I don't want to go through upgrading more than I need to. Marcus Well, now it's saying that a bunch of things like 'GL_DEPTH_STENCIL_MESA' are undeclared in rensize.c...I attached a complete build log, hopefully someone can help me with this one. Thanks! Marcus [31m[1m!!! Error: (B[mUnrecognized option: --impl-headers exiting Unpacking source... Unpacking xorg-server-1.7.1.tar.bz2 to /var/tmp/portage/x11-base/xorg-server-1.7.1/work Source unpacked in /var/tmp/portage/x11-base/xorg-server-1.7.1/work Preparing source in /var/tmp/portage/x11-base/xorg-server-1.7.1/work/xorg-server-1.7.1 ... [32;01m*[0m Running elibtoolize in: xorg-server-1.7.1 [32;01m*[0m Applying portage-2.2.patch ... [32;01m*[0m Applying sed-1.5.6.patch ... [32;01m*[0m Applying as-needed-2.2.6.patch ... Source prepared. Configuring source in /var/tmp/portage/x11-base/xorg-server-1.7.1/work/xorg-server-1.7.1 ... * econf: updating xorg-server-1.7.1/config.guess with /usr/share/gnuconfig/config.guess * econf: updating xorg-server-1.7.1/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr --datadir=/usr/share --enable-ipv6 --disable-dmx --disable-kdrive --disable-tslib --disable-xcalibrate --enable-xvfb --enable-xnest --enable-record --enable-xfree86-utils --enable-install-libxf86config --enable-dri --enable-dri2 --enable-glx --enable-xorg --enable-glx-tls --enable-config-hal --sysconfdir=/etc/X11 --localstatedir=/var --enable-install-setuid --with-fontdir=/usr/share/fonts --with-xkb-output=/var/lib/xkb --without-dtrace --disable-xsdl checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands +=... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for i686-pc-linux-gnu-objdump... objdump checking how to recognize dependent libraries... pass_all checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes
Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)
On 11/12/2009 1:29 PM, Marcus Wanner wrote: On 11/12/2009 1:21 PM, Marcus Wanner wrote: On 11/12/2009 12:56 PM, Roy Wright wrote: On Nov 12, 2009, at 11:24 AM, Marcus Wanner wrote: On 11/12/2009 11:55 AM, Roy Wright wrote: Disable (either temporary or permanent) the xinerama USE flag. Me or Alan? OP As a suggestion for a work around for the compile issue. If you temporarily disable xinerama, then the build should proceed. Then if you need xinerama, enable the USE flag and build again. I don't have the xinerama use flag set anywhere...I don't know what it is, I don't want it, and I hopefully don't need it. I did put -xinerama in my use flag variable and try again, we'll see how that works...btw, I have switched to xorg-server-1.7.1, since I don't want to go through upgrading more than I need to. Marcus Well, now it's saying that a bunch of things like 'GL_DEPTH_STENCIL_MESA' are undeclared in rensize.c...I attached a complete build log, hopefully someone can help me with this one. Thanks! Marcus Now I can't get ANY version of xorg-server to compile, now emergeing any of them starts with: Error: Unrecognized option: --impl-headers exiting and ends with: CCsingle2.o rensize.c: In function '__glXImageSize': rensize.c:222: error: 'GL_DEPTH_STENCIL_MESA' undeclared (first use in this function) rensize.c:222: error: (Each undeclared identifier is reported only once rensize.c:222: error: for each function it appears in.) rensize.c:261: error: 'GL_UNSIGNED_SHORT_15_1_MESA' undeclared (first use in this function) rensize.c:262: error: 'GL_UNSIGNED_SHORT_1_15_REV_MESA' undeclared (first use in this function) rensize.c:276: error: 'GL_UNSIGNED_INT_24_8_MESA' undeclared (first use in this function) rensize.c:277: error: 'GL_UNSIGNED_INT_8_24_REV_MESA' undeclared (first use in this function) make[1]: *** [rensize.lo] Error 1 I have tried both versions of libXinerama (latest x86 and latest ~x86) and neither of the work with the latest stable version of xorg-server (1.6.3-901-r2), 1.6.5, 1.7.1. This is getting really frustrating...any suggestions would be welcome. Marcus
Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)
On 11/12/2009 4:43 PM, Alan McKinnon wrote: On Thursday 12 November 2009 20:21:41 Marcus Wanner wrote: On 11/12/2009 12:56 PM, Roy Wright wrote: On Nov 12, 2009, at 11:24 AM, Marcus Wanner wrote: On 11/12/2009 11:55 AM, Roy Wright wrote: Disable (either temporary or permanent) the xinerama USE flag. Me or Alan? OP As a suggestion for a work around for the compile issue. If you temporarily disable xinerama, then the build should proceed. Then if you need xinerama, enable the USE flag and build again. I don't have the xinerama use flag set anywhere...I don't know what it is, I don't want it, and I hopefully don't need it. I did put -xinerama in my use flag variable and try again, we'll see how that works...btw, I have switched to xorg-server-1.7.1, since I don't want to go through upgrading more than I need to. libXinerama and xineramaproto are hard-DEPENDS on quite a few things: $ equery depends libXinerama * Searching for libXinerama ... app-emulation/vmware-player-2.5.3.185404 (x11-libs/libXinerama) app-office/openoffice-3.1.1 (x11-libs/libXinerama) $ equery depends xineramaproto * Searching for xineramaproto ... app-office/openoffice-3.1.1 (x11-proto/xineramaproto) x11-base/xorg-server-1.7.1 (=x11-proto/xineramaproto-1.1.3) x11-libs/libXinerama-1.1 (=x11-proto/xineramaproto-1.2) I'm really sorry for my noobishness, but could you explain exectly what proto means in this context and how it applies to me? Marcus
Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)
On 11/12/2009 5:01 PM, Alan McKinnon wrote: On Thursday 12 November 2009 23:51:32 Marcus Wanner wrote: On 11/12/2009 4:43 PM, Alan McKinnon wrote: On Thursday 12 November 2009 20:21:41 Marcus Wanner wrote: On 11/12/2009 12:56 PM, Roy Wright wrote: On Nov 12, 2009, at 11:24 AM, Marcus Wanner wrote: On 11/12/2009 11:55 AM, Roy Wright wrote: Disable (either temporary or permanent) the xinerama USE flag. Me or Alan? OP As a suggestion for a work around for the compile issue. If you temporarily disable xinerama, then the build should proceed. Then if you need xinerama, enable the USE flag and build again. I don't have the xinerama use flag set anywhere...I don't know what it is, I don't want it, and I hopefully don't need it. I did put -xinerama in my use flag variable and try again, we'll see how that works...btw, I have switched to xorg-server-1.7.1, since I don't want to go through upgrading more than I need to. libXinerama and xineramaproto are hard-DEPENDS on quite a few things: $ equery depends libXinerama * Searching for libXinerama ... app-emulation/vmware-player-2.5.3.185404 (x11-libs/libXinerama) app-office/openoffice-3.1.1 (x11-libs/libXinerama) $ equery depends xineramaproto * Searching for xineramaproto ... app-office/openoffice-3.1.1 (x11-proto/xineramaproto) x11-base/xorg-server-1.7.1 (=x11-proto/xineramaproto-1.1.3) x11-libs/libXinerama-1.1 (=x11-proto/xineramaproto-1.2) I'm really sorry for my noobishness, but could you explain exectly what proto means in this context and how it applies to me? Xorg used to be one ginormous complicated package. It is now a ginormous complicated collection of small packages, each one simple. This is supposed to make someone's life easier. In reality it moves the complexity from point A to point B, where you still have to deal with it :-) The -proto packages are the protocol header files. They tell the compiler how to build other packages that use those protocols. They are separate because Ubuntu users don't need them - they don't compile stuff. You do, so you need them, and the Xorg ebuilds pull them in. Thank you. Do those need to be recompiled when something depending on them is? Marcus
Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)
On 11/12/2009 4:46 PM, Alan McKinnon wrote: On Thursday 12 November 2009 22:36:51 Marcus Wanner wrote: Now I can't get ANY version of xorg-server to compile, now emergeing any of them starts with: Error: Unrecognized option: --impl-headers exiting and ends with: CCsingle2.o rensize.c: In function '__glXImageSize': rensize.c:222: error: 'GL_DEPTH_STENCIL_MESA' undeclared (first use in this function) rensize.c:222: error: (Each undeclared identifier is reported only once rensize.c:222: error: for each function it appears in.) rensize.c:261: error: 'GL_UNSIGNED_SHORT_15_1_MESA' undeclared (first use in this function) rensize.c:262: error: 'GL_UNSIGNED_SHORT_1_15_REV_MESA' undeclared (first use in this function) rensize.c:276: error: 'GL_UNSIGNED_INT_24_8_MESA' undeclared (first use in this function) rensize.c:277: error: 'GL_UNSIGNED_INT_8_24_REV_MESA' undeclared (first use in this function) make[1]: *** [rensize.lo] Error 1 I have tried both versions of libXinerama (latest x86 and latest ~x86) and neither of the work with the latest stable version of xorg-server (1.6.3-901-r2), 1.6.5, 1.7.1. This is getting really frustrating...any suggestions would be welcome. Those are OpenGL/mesa errors. Did you rebuild mesa first? Not until I read that... After rebuilding mesa, and then compiling xorg-server, and I get the same error. Marcus
Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)
On 11/12/2009 5:48 PM, Roy Wright wrote: On Nov 12, 2009, at 4:10 PM, Marcus Wanner wrote: On 11/12/2009 4:46 PM, Alan McKinnon wrote: On Thursday 12 November 2009 22:36:51 Marcus Wanner wrote: Now I can't get ANY version of xorg-server to compile, now emergeing any of them starts with: Error: Unrecognized option: --impl-headers exiting and ends with: CCsingle2.o rensize.c: In function '__glXImageSize': rensize.c:222: error: 'GL_DEPTH_STENCIL_MESA' undeclared (first use in this function) rensize.c:222: error: (Each undeclared identifier is reported only once rensize.c:222: error: for each function it appears in.) rensize.c:261: error: 'GL_UNSIGNED_SHORT_15_1_MESA' undeclared (first use in this function) rensize.c:262: error: 'GL_UNSIGNED_SHORT_1_15_REV_MESA' undeclared (first use in this function) rensize.c:276: error: 'GL_UNSIGNED_INT_24_8_MESA' undeclared (first use in this function) rensize.c:277: error: 'GL_UNSIGNED_INT_8_24_REV_MESA' undeclared (first use in this function) make[1]: *** [rensize.lo] Error 1 I have tried both versions of libXinerama (latest x86 and latest ~x86) and neither of the work with the latest stable version of xorg-server (1.6.3-901-r2), 1.6.5, 1.7.1. This is getting really frustrating...any suggestions would be welcome. http://bugs.gentoo.org/show_bug.cgi?id=292765 HTH Thank you. Marcus
Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)
On 11/12/2009 6:28 PM, Alan McKinnon wrote: On Friday 13 November 2009 00:06:53 Marcus Wanner wrote: On 11/12/2009 5:01 PM, Alan McKinnon wrote: On Thursday 12 November 2009 23:51:32 Marcus Wanner wrote: On 11/12/2009 4:43 PM, Alan McKinnon wrote: On Thursday 12 November 2009 20:21:41 Marcus Wanner wrote: On 11/12/2009 12:56 PM, Roy Wright wrote: On Nov 12, 2009, at 11:24 AM, Marcus Wanner wrote: On 11/12/2009 11:55 AM, Roy Wright wrote: Disable (either temporary or permanent) the xinerama USE flag. Me or Alan? OP As a suggestion for a work around for the compile issue. If you temporarily disable xinerama, then the build should proceed. Then if you need xinerama, enable the USE flag and build again. I don't have the xinerama use flag set anywhere...I don't know what it is, I don't want it, and I hopefully don't need it. I did put -xinerama in my use flag variable and try again, we'll see how that works...btw, I have switched to xorg-server-1.7.1, since I don't want to go through upgrading more than I need to. libXinerama and xineramaproto are hard-DEPENDS on quite a few things: $ equery depends libXinerama * Searching for libXinerama ... app-emulation/vmware-player-2.5.3.185404 (x11-libs/libXinerama) app-office/openoffice-3.1.1 (x11-libs/libXinerama) $ equery depends xineramaproto * Searching for xineramaproto ... app-office/openoffice-3.1.1 (x11-proto/xineramaproto) x11-base/xorg-server-1.7.1 (=x11-proto/xineramaproto-1.1.3) x11-libs/libXinerama-1.1 (=x11-proto/xineramaproto-1.2) I'm really sorry for my noobishness, but could you explain exectly what proto means in this context and how it applies to me? Xorg used to be one ginormous complicated package. It is now a ginormous complicated collection of small packages, each one simple. This is supposed to make someone's life easier. In reality it moves the complexity from point A to point B, where you still have to deal with it :-) The -proto packages are the protocol header files. They tell the compiler how to build other packages that use those protocols. They are separate because Ubuntu users don't need them - they don't compile stuff. You do, so you need them, and the Xorg ebuilds pull them in. Thank you. Do those need to be recompiled when something depending on them is? Not usually. You don't compile headers, you just unpack them from the archive so other apps can use them. But, this is software and we never really expect stuff to actually work. So some ebuilds might actually build something. In which case, it safer to just emerge them anyway. Those packages take just a few seconds to install Thank you. Marcus
Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)
On 11/12/2009 6:02 PM, Marcus Wanner wrote: On 11/12/2009 5:48 PM, Roy Wright wrote: On Nov 12, 2009, at 4:10 PM, Marcus Wanner wrote: On 11/12/2009 4:46 PM, Alan McKinnon wrote: On Thursday 12 November 2009 22:36:51 Marcus Wanner wrote: Now I can't get ANY version of xorg-server to compile, now emergeing any of them starts with: Error: Unrecognized option: --impl-headers exiting and ends with: CCsingle2.o rensize.c: In function '__glXImageSize': rensize.c:222: error: 'GL_DEPTH_STENCIL_MESA' undeclared (first use in this function) rensize.c:222: error: (Each undeclared identifier is reported only once rensize.c:222: error: for each function it appears in.) rensize.c:261: error: 'GL_UNSIGNED_SHORT_15_1_MESA' undeclared (first use in this function) rensize.c:262: error: 'GL_UNSIGNED_SHORT_1_15_REV_MESA' undeclared (first use in this function) rensize.c:276: error: 'GL_UNSIGNED_INT_24_8_MESA' undeclared (first use in this function) rensize.c:277: error: 'GL_UNSIGNED_INT_8_24_REV_MESA' undeclared (first use in this function) make[1]: *** [rensize.lo] Error 1 I have tried both versions of libXinerama (latest x86 and latest ~x86) and neither of the work with the latest stable version of xorg-server (1.6.3-901-r2), 1.6.5, 1.7.1. This is getting really frustrating...any suggestions would be welcome. http://bugs.gentoo.org/show_bug.cgi?id=292765 HTH Thank you. Marcus Spoke too soon...now I'm getting this: ../doltcompile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -DHAVE_ssing-declarations -Wnested-externs -fno-strict-aliasing -DDBUS_API_SUBJECT_TO_CI/usr/include/pixman-1 -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbuxt -I../xfixes -I../Xi -I../mi -I../miext/shadow -I../miext/damage -I../render (1) * 1000) + ((6) * 10) + ((5) * 1000) + 0) -march=pentium4 -O2 -pipe ch.lo dispatch.c In file included from ../Xext/panoramiX.h:44, from dispatch.c:134: /usr/include/X11/extensions/panoramiXext.h:49: error: expected ')' before '*' to /usr/include/X11/extensions/panoramiXext.h:54: error: expected '=', ',', ';', 'a /usr/include/X11/extensions/panoramiXext.h:64: error: expected '=', ',', ';', 'a /usr/include/X11/extensions/panoramiXext.h:70: error: expected '=', ',', ';', 'a /usr/include/X11/extensions/panoramiXext.h:76: error: expected '=', ',', ';', 'a dispatch.c: In function 'ProcCloseFont': dispatch.c:1117: warning: 'SecurityLookupIDByType' is deprecated (declared at .. make[2]: *** [dispatch.lo] Error 1 Marcus
Re: [gentoo-user] troubles with emerge --sync
On 11/11/2009 2:01 PM, Alexander Clark wrote: I'm getting a strange error on one particular box when I try to emerge --sync: rsync error: sibling process crashed (code 15) at main.c(1505) [generator=3.0.6] Retrying... dmesg told me: grsec: From 66.55.54.28: signal 4 sent to /usr/bin/rsync[rsync:30041] uid/euid:0/0 gid/egid:0/0, parent /usr/bin/rsync[rsync:30040] uid/euid:0/0 gid/egid:0/0 I had done an emerge -uDN world, so it's quite possible that rsync got recompiled in a screwy way. I've tried re-emerging it since then, but without changing whatever went wrong, that didn't prove anything. Can anyone suggest a next step for probing deeper into what happened, or finding a fix? Alexander Clark You could just use emerge --webrsync... Marcus
Re: [gentoo-user] Going ~x86?
On 11/11/2009 5:47 PM, Stefan G. Weichinger wrote: Stefan G. Weichinger schrieb: I am now looking at some # ACCEPT_KEYWORDS=~amd64 emerge -avuDN world This gives me 464 packages (441 upgrades, 15 new, 6 in new slots, 2 reinstalls, 4 uninstalls) ... phew ... maybe tomorrow ... ;-) How 'bout overnight :p That's what I'm doing, after reading that bit about the ebuilds and not the packages being unstable :D Marcus
Re: [gentoo-user] troubles with emerge --sync
On 11/11/2009 4:10 PM, Alexander Clark wrote: In any case, emerge-webrsync works for now (thanks Marcus, not sure why I didn't think of that). Glad I could help. However, a better solution is probably needed in the long run. Marcus
[gentoo-user] Confused about moving to ~x86 and the openrc-migration doc page...
Hi! I am moving to ~x86 from x86, and was wondering if the instructions at http://www.gentoo.org/doc/en/openrc-migration.xml apply to me. I installed my system less than 3 weeks ago and was wondering if I am already using baselayout-2 and openrc, and whether I need to do what that page says. Thanks! Marcus
Re: [gentoo-user] (SOLVED!) Confused about moving to ~x86 and the openrc-migration doc page...
On 11/11/2009 7:31 PM, William Hubbs wrote: On Wed, Nov 11, 2009 at 07:18:34PM -0500, Marcus Wanner wrote: I am moving to ~x86 from x86, and was wondering if the instructions at http://www.gentoo.org/doc/en/openrc-migration.xml apply to me. I installed my system less than 3 weeks ago and was wondering if I am already using baselayout-2 and openrc, and whether I need to do what that page says. If you have moved from x86 to ~x86, you definitely need to do this. baselayout-1 is x86 and baselayout-2/openrc are ~x86. Thank you for clearing that up! Marcus
Re: [gentoo-user] [OT-perhaps] Cracking PDF file encryption
On 11/9/2009 7:24 AM, Mick wrote: 2009/11/9 Erik esi...@gmail.com: Mick skrev: I am trying to copy some text from a pdf file which has been protected, most likely using Adobe on a MSWindows machine. When I select some text, the new KDE4 pdf viewer (Okular) shows the 'copy text' right click menu greyed out: Copy forbidden by DRM. I can still copy the text as an image. Xpdf does not even allow me to copy it as an image after selection. I can't remember what the case was with KDE 3.5.10 and kpdf - either way, is there an application or trick which would allow me to edit the pdf file in question and add comments, or cut and paste its textual content into a word file and edit it there? There's a lot of text that I need to edit and would rather not have to retype it all ... I noticed that Okular has the option Obey DRM restrictions enabled by default. I do not know why this was changed. As far as I remember, in KPDF, it was a compile-time option that was disabled default, and if it was enabled at compile time, it would appear as a normal option (like in Okular now), but be disabled by default. Just try to turn it off. Nice! Thank you. :-) Wow...that makes Okular illegal in the US under the DMCA for circumventing DRM... That's dumb, even dumber than software patents... Marcus
Re: [gentoo-user] [OT-perhaps] Cracking PDF file encryption
On 11/9/2009 4:22 PM, Paul Hartman wrote: On Mon, Nov 9, 2009 at 1:47 PM, Marcus Wanner marc...@cox.net wrote: Wow...that makes Okular illegal in the US under the DMCA for circumventing DRM... That's dumb, even dumber than software patents... Marcus DMCA has an exception for features that allow the use of screen-reading software to read text that would otherwise be inaccessible. Maybe this feature serves that purpose. This is for copy and paste, not text access for text-to-speech apps (if I am correct, I don't have much experience in that area). Marcus
[gentoo-user] Re: Suncom FX2000 Joystick: Buttons but not analog working...
On 11/7/2009 9:39 PM, Marcus Wanner wrote: I have an old Suncom FX200 Joystick which I recently tried to get working with my gentoo system. I tried using various methods, with outcomes varying from epic fail to almost success, and finally got results after following the guide at http://en.gentoo-wiki.com/wiki/Joystick I did what it said in the Kernel Configuration and Gameport Joysticks sections (the one uses the parallel port on my sound card), and chose the Classic Analog joystick driver, as there is not one for my specific model (or manufacturer). I compiled, installed, and booted into the new kernel, and continued with the testing and calibration. After emerging the joystick package, I ran the dmesg | grep -i Joystick command, and this was the output: [4.329910] input: Analog 4-axis 4-button joystick as /devices/pci:00/:00:1e.0/:02:07.0/gameport0/input/input5 Which was more or less correct, except that it is a 3-axis stick. I ran cat /dev/input/js0, which produced the desired garbage data, but new data appeared only on button presses, not stick movements, which was where I first noticed problems. Anyway, I ran jstest /dev/input/js0, which showed that axes 0 and 1 were always at 0 (regardless of actual stick position), and 2 and 3 were always -32767, regardless of the position of the throttle wheel. I ran jscal -c /dev/input/js0 to calibrate the joystick, and when I run it now without the -c option, it outputs: Joystick has 4 axes and 4 buttons. Correction for axis 0 is broken line, precision is 0. Coeficients are: 1789, 2299, 419758, 419758 Correction for axis 1 is broken line, precision is 0. Coeficients are: 700, 900, 1073741, 1073741 Correction for axis 2 is broken line, precision is 0. Coeficients are: 1422, 1422, 377546, 377546 Correction for axis 3 is broken line, precision is 0. Coeficients are: 1422, 1422, 377546, 377546 Ok, so now you all know the facts. Can anyone tell me what I'm doing wrong? Thanks in advance, and for all your previous help with the ethernet card drivers! Marcus Anyone? If no one has any advice for that specific stick, how would I go about debugging it myself? What about the joydump kernel module? Marcus
[gentoo-user] Suncom FX2000 Joystick: Buttons but not analog working...
I have an old Suncom FX200 Joystick which I recently tried to get working with my gentoo system. I tried using various methods, with outcomes varying from epic fail to almost success, and finally got results after following the guide at http://en.gentoo-wiki.com/wiki/Joystick I did what it said in the Kernel Configuration and Gameport Joysticks sections (the one uses the parallel port on my sound card), and chose the Classic Analog joystick driver, as there is not one for my specific model (or manufacturer). I compiled, installed, and booted into the new kernel, and continued with the testing and calibration. After emerging the joystick package, I ran the dmesg | grep -i Joystick command, and this was the output: [4.329910] input: Analog 4-axis 4-button joystick as /devices/pci:00/:00:1e.0/:02:07.0/gameport0/input/input5 Which was more or less correct, except that it is a 3-axis stick. I ran cat /dev/input/js0, which produced the desired garbage data, but new data appeared only on button presses, not stick movements, which was where I first noticed problems. Anyway, I ran jstest /dev/input/js0, which showed that axes 0 and 1 were always at 0 (regardless of actual stick position), and 2 and 3 were always -32767, regardless of the position of the throttle wheel. I ran jscal -c /dev/input/js0 to calibrate the joystick, and when I run it now without the -c option, it outputs: Joystick has 4 axes and 4 buttons. Correction for axis 0 is broken line, precision is 0. Coeficients are: 1789, 2299, 419758, 419758 Correction for axis 1 is broken line, precision is 0. Coeficients are: 700, 900, 1073741, 1073741 Correction for axis 2 is broken line, precision is 0. Coeficients are: 1422, 1422, 377546, 377546 Correction for axis 3 is broken line, precision is 0. Coeficients are: 1422, 1422, 377546, 377546 Ok, so now you all know the facts. Can anyone tell me what I'm doing wrong? Thanks in advance, and for all your previous help with the ethernet card drivers! Marcus
Re: [gentoo-user] Re: new version of gcc
On 11/3/2009 3:03 PM, Harry Putnam wrote: Nice... good advice all around. Thanks posters. Turns out I have bigger problems. ( I didn't upgrade gcc) but the things I did upgrad in upgrade system followed by upgrade world. Have messed up mouse and keyboard in X. Try recompiling the evdev, mouse, and kbd drivers. Marcus
[gentoo-user] Firefox 3.5 without changing entire system to ~arch?
Could anyone tell me how to install firefox 3.5.x without changing the entire installation to ~arch? I have been looking around on the web for how to do this, but can't find anything that doesn't require being (afaict) very invasive to the rest of the system. Thanks! Marcus P.S. Mozilla considers this version to be stable/mature and is pushing out it as the version most people should use. Why hasn't it been marked as stable in the portage tree yet?
Re: [gentoo-user] Re: Firefox 3.5 without changing entire system to ~arch?
On 11/2/2009 1:26 PM, Nikos Chantziaras wrote: On 11/02/2009 07:16 PM, Marcus Wanner wrote: Could anyone tell me how to install firefox 3.5.x without changing the entire installation to ~arch? I have been looking around on the web for how to do this, but can't find anything that doesn't require being (afaict) very invasive to the rest of the system. Thanks! 3.5.3-r1 is actually stable on amd64 but not on x86. You might want to open a bug on bugs.gentoo.org about this. OK. I will do that. Marcus
Re: [gentoo-user] Firefox 3.5 without changing entire system to ~arch?
On 11/2/2009 1:40 PM, Mike Edenfield wrote: On 11/2/2009 12:16 PM, Marcus Wanner wrote: Could anyone tell me how to install firefox 3.5.x without changing the entire installation to ~arch? I have been looking around on the web for how to do this, but can't find anything that doesn't require being (afaict) very invasive to the rest of the system. Thanks! For mozilla specifically, see below. In general, you would create a file called /etc/portage/package.keywords (or as I prefer, a directory /etc/portage/package.keywords/ and then a file within that directory), and put the package name in it. However, it's generally considered a bad idea to mix and match arch and ~arch on a single system, since the dependencies cascade pretty quickly. You'll eventually end up with the core packages on your system keyworded anyway, which defeats the whole point of running stable. P.S. Mozilla considers this version to be stable/mature and is pushing out it as the version most people should use. Why hasn't it been marked as stable in the portage tree yet? It may just be an oversight; check bugs.gentoo.org to see if there's already a bug report asking it to be stabilized. If there isn't already one, just file a new one. (It may help to mention that it's stable on amd64 already.) --Mike Thank you, I added firefox and xulrunner to package.keywords and that did the trick. Marcus
Re: [gentoo-user] Firefox 3.5 without changing entire system to ~arch?
On 11/2/2009 3:11 PM, Mark Knecht wrote: On Mon, Nov 2, 2009 at 11:22 AM, Marcus Wanner marc...@cox.net wrote: SNIP Thank you, I added firefox and xulrunner to package.keywords and that did the trick. Marcus You might want to periodically run eix-test-obsolete -d to see if the two packages get marked stable before some other new ~arch version comes out. If that happens, and it often does in my experience, then you can remove the two packages from portage.keywords and you're back to running stable. In general I tend to have 4 or 5 packages in package.keywords at any given time. I don't have too much trouble. Watch out if the list starts getting large though as things get messy and you'll find yourself doing more updates than maybe you want to be doing. good luck, Mark Thanks for the tip and the help, I'll make sure to keep that list short. The only program I have this kind problem with is firefox, though, with everything else I can get by with an older version. It's really becuase Mozilla doesn't really support the older versions. Oh well, it will be fixed eventually. Marcus
Re: [gentoo-user] program to solve assignment problem?
On 11/2/2009 3:49 PM, Erik wrote: Is there some simple little program to solve assignment problems? Suppose that someone bought k meat (160), m fish (30) and n milk (15) for 700. So it should solve the equation k * 160 + m * 30 + n * 15 = 700. (A solution happens to be k = 4, m = 2, n = 0. An additional condition could be that he bought at most 6 items; k + m + n = 6. That would eliminate solutions like k = 4, m = 0, n = 4.) What?
Re: [gentoo-user] program to solve assignment problem?
On 11/2/2009 5:59 PM, Michael Sullivan wrote: On Mon, 2009-11-02 at 17:48 -0500, Marcus Wanner wrote: On 11/2/2009 3:49 PM, Erik wrote: Is there some simple little program to solve assignment problems? Suppose that someone bought k meat (160), m fish (30) and n milk (15) for 700. So it should solve the equation k * 160 + m * 30 + n * 15 = 700. (A solution happens to be k = 4, m = 2, n = 0. An additional condition could be that he bought at most 6 items; k + m + n = 6. That would eliminate solutions like k = 4, m = 0, n = 4.) What? Can't one do this kind of thing in python? That is what I would do, if I couldn't do it on paper... But seriously, this does not belong on this list. Marcus
Re: [gentoo-user] Ethernet card not working, tried tulip drivers... [resolved]
On 10/28/2009 8:09 PM, Dale wrote: Marcus Wanner wrote: On 10/28/2009 5:39 PM, Dale wrote: Marcus Wanner wrote: I booted up the livecd and ran lspci -v, it worked great. I got similar output to that above, and found out that I am using a 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78) and that Kernel driver in use: 3c59x. Great! Only problem was that when I went to look for that driver in menuconfig, all I found were two other drivers for similar cards (one of which had [Typhoon] in the name). However, I enabled those drivers, recompiled, rebooted, and everything works great. Thanks for all your help. Marcus Now I'm confused. I did a search here as well and it returned nothing matching that driver. This is a first for me. Has anyone else ever searched for a driver when you have the exact name and not get a match when the driver is actually there? I did a manual search and the driver is there. Glad you got the network working tho. Dale :-) :-) Yeah, I guess it's because you have to download that particular driver separately? Marcus It's in the kernel tho. This appears to be the one: 3c590/3c900 series (592/595/597) Vortex/Boomerang support The help screen lists your card. Just weird to me. Dale :-) :-) Oh, now it makes sense that my card worked with that driver. Come to think of it, I didn't even know that each menuconfig option had its own help message...that could have come in handy. Marcus
Re: [gentoo-user] Ethernet card not working, tried tulip drivers...
On 10/28/2009 06:38 AM, Damien Sticklen wrote: Marcus Wanner wrote: lscpi returns command not found Are you using the lspci command as root? Yes, I haven't set up a non-root user yet. Marcus