Re: [gentoo-user] another mistakenly deleted partition to recover :(
On Thu, 2006-28-09 at 11:14 +0200, Wolfgang Illmeyer wrote: Hi, Have a look at sys-block/gpart, it can probably help you. Yes, I discovered gpart last night. It can be a useful tool for partition problems, although in this case it has turned out that testdisk was what I needed. gpart doesn't deal with logical partitions very well. It took hours for it to find my old partitions and even then it is left to you to do some quite gruesome arithmetic to work out where the start of your partition actually is. I just couldn't recreate a valid partition that way. testdisk on the other hand immediately identified all the deleted partitions and I only needed to select one button to write them back to the partition map. After opening and saving them again in fdisk to make the kernel aware of the changes I had my files back again. However if you have changed anything on your disk apart from the partition map you will need to use gpart and may the gods have mercy on your soul. In your other thread you mentioned you had no space for backing up a partition. Too bad I didn't have the idea earlier, but you could create a copy on write partiton, for example with network block devices (needs kernel support and sys-block/nbd) or sys-fs/cowloop. This way, you could rescue any data, without touching your original partition and you have no need to backup the whole partition. Never heard of this before. Will have to look into it. Could never work out a good backup strategy, which is why I got in this mess. I'll probably give gentoo a rest for now after all this. Try a live CD for while--musix or dynebolic or something--see how I get on and decide from there. I've learned a lot using gentoo but it's getting very time consuming maintaining everything. After installing Ubuntu Dapper on a couple of other machines my expecations of a Linux distro have become a lot more demanding. I don't need to do everything. What I need most is for music and video stuff to work without a lot of maintenance. Let someone else with more sense than I am ever likely to have choose the CFLAGS because my builds of rosegarden and whatnot are far too unstable. But as I've said before, one thing that gentoo really has going for it is a patient and knowledgeable user base. I've found the ubuntu community to be very welcoming too, although generally it lacks the accumulation of experience with hard problems that marks gentoo users out. Robert Robert -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Accidentally reformatted my EVMS root partition. Any hope of recovering data?
On Tue, 2006-26-09 at 14:09 +0200, Wolfgang Illmeyer wrote: try running reiserfsck, with --rebuild-sb and/or --rebuild-tree, as needed. But keep a copy of the partition around (as mentioned in the other posting), just in case you find a better way to rescue your files Good suggestion, Wolfgang. I did manage to recover a very small number of useful files that way. I didn't back up the partition because it is just too big to have hanging around taking up disk space. The reiserfsck man page says that if you have used a repartioning tool you need to find the correct start of the partition. I had guessed that it would be where it was before, but it looks like I was wrong. What I cannot find anywhere is any instructions on how actually to find the start of the partition. If anyone knows the answer then please post it. It won't help me, but it might help someone else with the same problem. Thanks Robert -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] I have 146,000 files in lost+found. How do I sort them?
Thanks for the detailed advice. And thanks, Richard for your advice too. In the end (before I received your posts) I managed to move all the files into enough smaller directories that I could browse them in Nautilus. From what I saw it looked very much to me like most of the files were ones that had been deleted by emerge before the big disaster. I didn't look at every single one obviously, but it soon became obvious that I wasn't going to find much of any use. And thanks for giving a practical example of how to use find. I have always found the man page rather heavy going, so this is the first time I have felt I have half an idea how to use it. Robert On Tue, 2006-26-09 at 08:20 -0500, Boyd Stephen Smith Jr. wrote: On Monday 25 September 2006 22:55, Robert Persson [EMAIL PROTECTED] wrote about '[gentoo-user] I have 146,000 files in lost+found. How do I sort them?': Am I likely to find many usable files in that /lost+found directory? Maybe. I tried to recover a corrupted ext3 boot recently and was unable to pull anything useful out of lost and found that was larger than a symlink. :( If a number of files NOT in lost+found were corrupt, it's likely most of the files in lost+found are corrupt as well. That said, /boot data is generally easy to replace, so I put no effort into recovering files that were corrupted. If the data was valuable, if might be worth it to spend some time sorting those out. If I can, how can I best sift through them? Carefully. :) Is there a utility, or something I could drop into a simple bash script, that would look at the first few bytes of the file and, say, identify it as a jpeg or an xml file, so that it could be given an appropriate file extension, deleted or moved? As the other poster mentioned, the file utility is useful for identifying the type of file. Keep in mind though that is only looks at the first few bytes of the file, if there's corruption later on file won't notice. Or is there one that could distinguish a text file from a binary? Of course, file does this to some extent. A MIME type of text/* is generally text, while anything else is binary. But, file's output (by default) isn't a simple binary or text string. Some of the GNU utilities that are meant for text files will complain before operating on a binary file, so you could use those for this task, possibly. (I'm thinking of less and grep.) In particular, grep '[^[:print:]]' should return true when run against a file that contains non-printable characters (like control characters or NUL, and, depending on locale, non-7-bit-clean characters). Are there any other strategies I could use to sift through these files (assuming it would be worth doing)? Well, before you write some sort of bash script around file to rename stuff, you'll probably want to remove anything that is clearly trash, like device nodes or 0-length files. Something like: find lost+found \! \( -type f -o -type d \ -o -type l \) -o -empty -delete should work if you are using GNU find. -- gentoo-user@gentoo.org mailing list
[gentoo-user] another mistakenly deleted partition to recover :(
In the aftermath of my recent disaster in which I accidentally reformatted my root partition I have been trying to install a new system. Unfortunately this has led to some more partitions being accidentally deleted and one of them had important data on it I need to recover. Unlike last time, this time the error was not mine. It was a fault either in the Gentoo Linux Installer or in whichever utility it uses to deal with partitions. This is what happened. I booted the live CD with evms enabled. At the start there were two primary partitions on the disk in question, followed by one extended one. The extended one in turn had four logical partitions. When I started the installer I went through all the screens and told it what I wanted. When it came to partitioning I told it to delete the first primary partition and replace it with one the same size, and to delete the first logical partition and replace it with one the same size also. This one was to be formatted reiserfs. I then saved my settings before setting the installer to work. It appeared from the messages that the installer had reformatted deleted and replaced the first logical partition (although I don't know whether it formatted it or not), but it borked when it came to the first primary partition, saying that it was in use by the system. It wasn't mounted so I suspected this might have had something to do with evms, but that didn't make sense to me because both of the partitions in question had entries in /dev/evms, but only one could be deleted and not the other. I decided not to use evmsn to edit them and instead to try again with the gentoo installer. I started up the installer a second time (well, a fifth time actually) and reloaded my settings from before. I was a bit puzzled when it came to the partitioning screen because there was no easy way to tell whether the partition diagram it displayed was how things actually were, or was how things were supposed to be after various operations were carried out. However I didn't want to spend all night choosing my use flags over and over again each time the installer failed so I went ahead with the settings from previously. This time the installer complained that it couldn't have two partitions in the same place, or something like that. I don't remember exactly. So I started the installer again, reloaded my settings and found that the three partitions after the logical partition I wanted replaced had now all been deleted. When I looked at the partition layout in parted I was surprised to find that the logical partition I had wanted replaced was now larger than it had been. It had been around 98GB or 99GB, but now it was 105GB. This would be large enough to extend into the space occupied by the second and third logical partition, but not the fourth, which was nonetheless deleted too. parted listed no file system type for the remaining logical partition, so I don't know whether it has been formatted (with reiserfs) or not. I suppose I should have tried to mount it -ro to check, I can go back and do that if it would be useful. Anyway, the partition I now need to recover would be the third logical partition (the one that the remaining logical partition just overlaps). Am I right in thinking that if the remaining logical partition has in fact been formatted, that the only changes that will have been made to the disk will have been at the beginning of that partition, and that therefore the data from the third partition ought to be intact? Presumably then I simply need to find out where the beginning of that partition would have been and to create another one of a sufficient size starting in the same place (having deleted the first logical partition of course). Is that right? If so, how can I determine where the beginning would have been of that deleted partition? It was, in its former life, an ext3 partition. Many thanks Robert -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Accidentally reformatted my EVMS root partition. Any hope of recovering data?
On Mon, 2006-25-09 at 10:44 +0930, Iain Buchanan wrote: so long as it created the partition without mkfs-ing it! To paraphrase the immortal Captain Haddock, [EMAIL PROTECTED]@!!! ;-) Robert -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] Wikipedia history in Firefox
On Sun, 2006-24-09 at 14:18 +0100, Jorge Almeida wrote: Still, it would be nice to be able to edit the saved contents, since some forms I might want to keep. There's a firefox extension for doing just that - saving half-edited forms and whatnot. Can't remember what it's called off the top of my head. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Accidentally reformatted my EVMS root partition. Any hope of recovering data?
I have, much to my intense surprise, managed to reformat my root partition unintentionally. It was an EVMS native reiserfs volume, but now it is a normal xfs partition. I haven't, as far as I am aware, written any files to it since the unfortunate accident. The tool I used to create the xfs partition was a non-standard, and quite possibly inferior one with non-standard behaviour. It is also likely that the xfs partition ends at the 128gb (i.e. 137gb) point on the disk due to the circumstances in which it was created, whereas the original reiserfs partition extended beyond the 128gb point. Is there any possibility of recovering some of the data (there are some family photos and a few other things I would very much like to retrieve) or should I just put it down to experience? Many thanks in advance Robert P.S. In case you are wondering how I managed to do this, it was like this: I need to run a video editing application and one or two other things in windows 2000. The crossmeta virtual file system drivers sounded like a good way of sharing the work areas between windows and linux, especially given the unreliability of ntfs even in windows. Unfortunately the crossmeta stuff is very poorly documented. Quite apart from anything else, there is no indication that the drivers just don't actually work at all, hence lots of pointless troubleshooting and a boundless potential to create much bigger problems. Add to this the unfamiliar device naming scheme of crossmeta, and the fact that windows 2000 doesn't, by default, support large drives, even though the disk manager behaves as if it does, and you have a recipe for a very big up. Honestly. How could I pass up such a splendid opportunity? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] custom ebuilds
On Sat, 2006-16-09 at 11:42 -0400, David Relson wrote: What's the best way to create a personalized ebuild to include this fix when I build? http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds http://gentoo-wiki.com/HOWTO_Create_an_Updated_Ebuild http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2chap=1 http://devmanual.gentoo.org/quickstart/index.html I can't remember which one of these guides I used when I created a couple of ebuilds, but it was probably the third one. I didn't find it too hard and I have very limited programming skills. What's the best way to get this patch included in the official ebuild? Sorry. Don't know. It's probably in the wiki somewhere. Robert -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] wtf do all the Layout Options mean in gnome keyboard preferences?
Sorry for taking so long to reply to this. My mistake was to assume that all changes in gnome keyboard preferences took effect immediately. That's why nothing seemed to work. I now have the win keys as 3rd level choosers and I can type åå to my heart's content. I was also unaware that you could use the space key after a deadkey, which is a lot easier than a vulcan nerve pinch. Anyway, thanks very much for your help, Bo. One further question I have is, does anyone know a good guide to customising a keyboard layout and installing it properly so that X will recognise it? The guide I have tried so far didn't work for me. I simply want to add a few characters (e.g. em_dash) to the empty spaces on the US international keyboard. btw, the mac keyboard article Bo suggested was about how to make mac modifier keys useful under linux and not about keyboard layouts as such. Many thanks, Robert Bo Ørsted Andresen wrote: On Monday 26 June 2006 01:36, Robert Persson wrote: The problem is that I don't know how to get it so that when I press either the alt or the win key I get all those extra characters. I don't think that pressing alt, win or meta should provide any extra characters with the us international keyboard layout. Added to that is all this business about alt being set or not being set to meta and so on. I don't think that is relevant to the layout. Only to functionality in certain programs like e.g. emacs as you mentioned. Many others too. Compare this to macos, even very ancient version of it, where you get a very rich keyboard layout out of the box. I wouldn't know... Not only umlauts, but bullets, ellipses and the 2nd letter of the Danish alphabet are available at the press of the alt/option key. The second letter in the danish alphabet is b... ;) The second issue is that the US international keyboard, which I am planning to use, isn't exactly ideal. It was designed for an ordinary typewriter, where diareses and double quotes, as well as carets and circumflexes, are identical. Are you absolutely sure they are identical? When I press a dead key once nothing happens. The following press be it the say key, space or some vowel determines what it becomes... But it is the only extended US keyboard readily available for X, which is the only reason I even consider using it. However it is actually unusable on a desktop without the extra modifier keys working because, where the standard US keyboard has quotes, carets and tildes, this one only has dead keys. You should not need modifier keys for that. Just AltGr (the right alt key on my keyboard). As I said, the Apple keyboard layouts are vastly superior. Unfortunately my attempts to create a custom, Apple-like layout (when I was using KDE) didn't work. I just don't understand xkb well enough. Does [1] help you? [1] http://hansmi.ch/articles/apple-keyboard-with-linux -- Robert Persson Kalium Kalzium Eisen Magnesium Carbohydrat Protein A B C D Vitamin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] running fetchmail/procmail as a service
Jean Magnan de Bornier wrote: Le 21 juin à 00:42:33 Robert Persson [EMAIL PROTECTED] écrit notamment: | I want to run fetchmail as a service and I am confused about how this works. I | simply want to have something that will quietly fetch and deliver mail to | maildirs to users' home directories, but that can also be disabled easily | when I need that bit of extra performance for something. To enable fetchmail as demon: # /etc/init.d/fetchmail start To have fetchmail start automatically at boot: # rc-update add fetchmail default To suspend fetchmail: # /etc/init.d/fetchmail stop | I assume that fetchmail will first look at /etc/fetchmailrc. Will it then look | at each user's $HOME/.fetchmailrc? Yes | If so, can I assume that it will deal with each user's .procmailrc suid | that user? Yes; have a look at the fetchmail manual (-mda command) regards When I tried it, this didn't seem to work for me. I tried using an empty /etc/fetchmailrc because I wanted fetchmail to go straight to the ~/.fetchmailrc's, but it complained that no server was specified. I'm not panicked about this any more because I have decided to use the relatively painless webmin to configure the ~/.fetchmailrc's and schedule cron jobs. even though it isn't exactly what I wanted. That said, if anyone knows what I should have done to get the fetchmail service to use the ~/.fetchmailrc's rather than /etc/fetchmailrc I would appreciate it. Many thanks. Robert -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] running fetchmail/procmail as a service
Robert Persson wrote: I'm not panicked about this any more because I have decided to use the relatively painless webmin to configure the ~/.fetchmailrc's and schedule cron jobs. even though it isn't exactly what I wanted. That said, if anyone knows what I should have done to get the fetchmail service to use the ~/.fetchmailrc's rather than /etc/fetchmailrc I would appreciate it. Actually, scratch all that. Fetchmail lost some mails. That's really bad. So I ditched it and have set up getmail instead. Seems to be working so far. And it's much easier to configure. Has an option to leave mail on server so many days after collecting it, which will help if it decides to lose mails as well. No daemon mode, so need to run it as a cron job. Robert -- gentoo-user@gentoo.org mailing list
[gentoo-user] wtf do all the Layout Options mean in gnome keyboard preferences?
I want to be able to use an international keyboard layout in X. Something like the Apple U.S. layout would be really nice, but the U.S. English Alternative International would do me fine for the moment. The trouble is that I don't know how to get at all those extra characters and diacritics. The Gnome keyboard preferences has a tab for layout options, but I don't have much clue what all the options mean. Is the euro key or the accute accent deadkey to be accessed by switching group or do I need to choose the third level? Or should I use alt as alt and not as meta, whatever that means (I know it has something to do with emacs, but after that I'm lost). I have tried various combinations of this and that, but I can't get anything to work. Many thanks Robert -- gentoo-user@gentoo.org mailing list
[gentoo-user] scanner hotplug permissions torture
I have just acquired an Epson 1660 Photo scanner and I am having real trouble setting the permissions. Unfortunately I haven't been able to find a howto that explains clearly how you are supposed to get permissions sorted out using hotplug with more recent 2.6 kernels. There's something about a script in /etc/hotplug/usb, but nothing I can find that tells you what you are supposed to do with it. The scanner works fine when run as root. The permssions of the usb device (/proc/usb/001/004 right at the moment) are -rw-rw root:scanner However, even though user robert is a member of group scanner, he can't get sane even to recognise the scanner. He can do it though if he chmods to root:users or root:audio or to most of the other groups he is a member of. On the other hand there are some other groups of which he is a member which don't seem to be able to access the scanner -- floppy and adm for instance. Does anyone have any idea what I'm doing wrong? Many thanks Robert -- Neonlicht Schimmendes Neonlicht Und wenn die Nacht anbricht Ist diese Stadt auslicht -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] scanner hotplug permissions torture
I found a solution and I have posted it at http://gentoo-wiki.com/Talk:HOWTO_Install_a_USB_scanner#.22The_above_udev_rules_are_wrong..22. If anybody who knows their hotplug and udev stuff better than I do could take it upon themselves to correct the usb scanner howto itself (http://gentoo-wiki.com/HOWTO_Install_a_USB_scanner), which is very confusing and misleading, I'm sure there will be good few people out there who will be very grateful to you. (And not just Gentoo users -- there is a real lack of up-to-date usb scanner documentation out there.) Robert Robert Persson wrote: I have just acquired an Epson 1660 Photo scanner and I am having real trouble setting the permissions. Unfortunately I haven't been able to find a howto that explains clearly how you are supposed to get permissions sorted out using hotplug with more recent 2.6 kernels. There's something about a script in /etc/hotplug/usb, but nothing I can find that tells you what you are supposed to do with it. The scanner works fine when run as root. The permssions of the usb device (/proc/usb/001/004 right at the moment) are -rw-rw root:scanner However, even though user robert is a member of group scanner, he can't get sane even to recognise the scanner. He can do it though if he chmods to root:users or root:audio or to most of the other groups he is a member of. On the other hand there are some other groups of which he is a member which don't seem to be able to access the scanner -- floppy and adm for instance. Does anyone have any idea what I'm doing wrong? -- bokuwa ongakka, dentaku katateni -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] wtf do all the Layout Options mean in gnome keyboard preferences?
Bo Ørsted Andresen wrote: On Sunday 25 June 2006 13:27, Robert Persson wrote: I want to be able to use an international keyboard layout in X. Something like the Apple U.S. layout would be really nice, but the U.S. English Alternative International would do me fine for the moment. I have no experience with gnome so can't help you there. To get the us international keryborad layout now you should be able to do: # setxkbmap us_intl To get it permanently you can edit /etc/X11/xorg.conf and find the XkbLayout Option in the InputDevice section that relates to your keyboard: Section InputDevice Identifier ??? Driver kbd [...] Option XkbLayout us_intl EndSection Thanks Bo. The problem I have is not in choosing us_intl, which is quite easy in gnome. The problem is that I don't know how to get it so that when I press either the alt or the win key I get all those extra characters. There's a lot of terminology I don't understand. Am I trying to switch group or am I trying to choose the third level? Both of these terms sound like what I am trying to do, but which is which? Added to that is all this business about alt being set or not being set to meta and so on. I don't really have a clue when alt is actually alt and when it is meta, just as I don't understand the difference between alt and option when I am trying to run a remote linux session in Apple X11. So I end up twiddling with the settings, trying one thing and then another, but I haven't yet managed to get to those extra characters. Compare this to macos, even very ancient version of it, where you get a very rich keyboard layout out of the box. Not only umlauts, but bullets, ellipses and the 2nd letter of the Danish alphabet are available at the press of the alt/option key. The second issue is that the US international keyboard, which I am planning to use, isn't exactly ideal. It was designed for an ordinary typewriter, where diareses and double quotes, as well as carets and circumflexes, are identical. But it is the only extended US keyboard readily available for X, which is the only reason I even consider using it. However it is actually unusable on a desktop without the extra modifier keys working because, where the standard US keyboard has quotes, carets and tildes, this one only has dead keys. And even when the modifiers are working, this layout is unnecessarily awkward to use for someone writing predominantly in English because frequently used characters, such as quotes, are harder to type than the foreign language characters that are only used occasionally. As I said, the Apple keyboard layouts are vastly superior. Unfortunately my attempts to create a custom, Apple-like layout (when I was using KDE) didn't work. I just don't understand xkb well enough. -- Wir fahren fahren fahren auf der Autobahn -- gentoo-user@gentoo.org mailing list
[gentoo-user] courier-authlib libpam undefined symbol problem
I got a home imap server running the other day using courier-imap. Today, after a reboot, I couldn't log in any more. I tried two clients and got connection refused messages. I tried restarting courier-authlib and courier-imap-ssl several times, but this didn't work. However the following showed up in /var/log/messages each time I did so: Jun 23 22:16:53 zebedee authdaemond: modules=authmysql authldap authpam pam, daemons=2 Jun 23 22:16:53 zebedee authdaemond: Installing libauthmysql Jun 23 22:16:53 zebedee authdaemond: Installation complete: authmysql Jun 23 22:16:53 zebedee authdaemond: Installing libauthldap Jun 23 22:16:53 zebedee authdaemond: Installation complete: authldap Jun 23 22:16:53 zebedee authdaemond: Installing libauthpam Jun 23 22:16:53 zebedee authdaemond: Installation complete: authpam Jun 23 22:16:53 zebedee authdaemond: Installing libpam Jun 23 22:16:53 zebedee authdaemond: Can't locate init function courier_pam_init. Jun 23 22:16:53 zebedee authdaemond: /lib/libpam.so.0: undefined symbol: courier_pam_init I have tried re-emerging courier-authlib and pam, but this has not worked. What else should I do? Many thanks Robert ___ Try the all-new Yahoo! Mail. The New Version is radically easier to use The Wall Street Journal http://uk.docs.yahoo.com/nowyoucan.html -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] running fetchmail/procmail as a service
On Tuesday 20 June 2006 22:49 Jean Magnan de Bornier was like: Yes Thanks! That's what I needed to know. -- Robert Persson That's MISTER Scum to you. -- gentoo-user@gentoo.org mailing list
[gentoo-user] running fetchmail/procmail as a service
I want to run fetchmail as a service and I am confused about how this works. I simply want to have something that will quietly fetch and deliver mail to maildirs to users' home directories, but that can also be disabled easily when I need that bit of extra performance for something. I assume that fetchmail will first look at /etc/fetchmailrc. Will it then look at each user's $HOME/.fetchmailrc? If so, can I assume that it will deal with each user's .procmailrc suid that user? If not, what do I need to do instead? Many thanks Robert -- Robert Persson That's MISTER Scum to you. -- gentoo-user@gentoo.org mailing list
[gentoo-user] can't get xorg tdfx driver to work any more
A while ago I had a working 2-head setup which I stopped using because I needed to use the proprietary ati driver. Now I need to revert to using the twin-head setup, but I can't get it to work any more. I have the same xorg.conf as before. What has changed is that I have upgraded to xorg-7. It is also likely that I did something to my kernel config to get the fglrx driver to work properly, but I can't remember what exactly. I get confused about this because the various display-related kernel options are scattered all over the place. The setup basically consists of an agp radeon 9200SE (using the radeon driver) and a pci voodoo banshee (using the tdfx driver). The precise manifestation of the problem changed with the recent bump from xorg-server-1.0.2-r4 to xorg-server-1.0.2-r5. Before the bump I got a screen that was the right overall colour, but with ugly incomplete horizontal lines across it. Windows were recognisably windows, but still heavily garbled. Within half an hour or so I would have complete system lock-up. After the bump I now get a screen composed of horizontal red and black lines, with the occasional flicker on the left hand side when something happens on the desktop. The only thing that is barely recognisable is the mouse pointer, which looks like a white bar-code. After a period of use (perhaps 20 minutes) the display locks up irrecoverably, but I am able to restart gracefully from a remote terminal session. I tried the noaccel option, but that made no useful difference (I merely got a few warning messages). I have tried using alternative drivers, but I can't get any to work for me. I had thought that vesa was a generic driver that should work on pretty well anything, but it doesn't work here. The log says chipset vesa not found. fbdev doesn't work either. I tried vga, but that caused an instant system lock-up. What should I do to get a working 2-head setup? And when I have got it working, would there be any advantage in emerging xorg-drm, in terms of making up for the performance shortfall between the radeon driver and fglrx? Many thanks Robert -- Robert Persson That's MISTER Scum to you. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] can't get xorg tdfx driver to work any more
I should have made it clear that the problems I am having are with the voodoo card and not with the radeon. Also I should add that I have booted into windows and verified that the hardware works correctly. This is the output of startx: xauth: creating new authority file /home/robert/.serverauth.11075 X Window System Version 7.0.0 Release Date: 21 December 2005 X Protocol Version 11, Revision 0, Release 7.0 Build Operating System:Linux 2.6.15-gentoo-r1-reiser4-suspend2 i686 Current Operating System: Linux zebedee 2.6.15-gentoo-r1-reiser4-suspend2 #23 SMP PREEMPT Mon Jun 19 18:16:48 PDT 2006 i686 Build Date: 16 June 2006 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present 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: Mon Jun 19 19:51:57 2006 (==) Using config file: /etc/X11/xorg.conf (EE) Failed to load module v4l (module does not exist, 0) (WW) RADEON: No matching Device section for instance (BusID PCI:1:0:1) found (EE) TDFX(1): Cannot read V_BIOS (EE) TDFX(1): Cannot read V_BIOS Could not init font path element /usr/share/fonts/default, removing from list! waiting for X server to shut down FreeFontPath: FPE /usr/share/fonts/misc:unscaled refcount is 2, should be 1; fixing. Robert On Monday 19 June 2006 13:25 Robert Persson was like: A while ago I had a working 2-head setup which I stopped using because I needed to use the proprietary ati driver. Now I need to revert to using the twin-head setup, but I can't get it to work any more. I have the same xorg.conf as before. What has changed is that I have upgraded to xorg-7. It is also likely that I did something to my kernel config to get the fglrx driver to work properly, but I can't remember what exactly. I get confused about this because the various display-related kernel options are scattered all over the place. The setup basically consists of an agp radeon 9200SE (using the radeon driver) and a pci voodoo banshee (using the tdfx driver). The precise manifestation of the problem changed with the recent bump from xorg-server-1.0.2-r4 to xorg-server-1.0.2-r5. Before the bump I got a screen that was the right overall colour, but with ugly incomplete horizontal lines across it. Windows were recognisably windows, but still heavily garbled. Within half an hour or so I would have complete system lock-up. After the bump I now get a screen composed of horizontal red and black lines, with the occasional flicker on the left hand side when something happens on the desktop. The only thing that is barely recognisable is the mouse pointer, which looks like a white bar-code. After a period of use (perhaps 20 minutes) the display locks up irrecoverably, but I am able to restart gracefully from a remote terminal session. I tried the noaccel option, but that made no useful difference (I merely got a few warning messages). I have tried using alternative drivers, but I can't get any to work for me. I had thought that vesa was a generic driver that should work on pretty well anything, but it doesn't work here. The log says chipset vesa not found. fbdev doesn't work either. I tried vga, but that caused an instant system lock-up. What should I do to get a working 2-head setup? And when I have got it working, would there be any advantage in emerging xorg-drm, in terms of making up for the performance shortfall between the radeon driver and fglrx? -- Robert Persson That's MISTER Scum to you. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] can't get xorg tdfx driver to work any more
FYI, I have a workaround. Set the primary video device to PCI in the bios. I don't know why this works, but it's enough to get by with at least. Robert On Monday 19 June 2006 20:37 Robert Persson was like: On Monday 19 June 2006 13:25 Robert Persson was like: A while ago I had a working 2-head setup which I stopped using because I needed to use the proprietary ati driver. Now I need to revert to using the twin-head setup, but I can't get it to work any more. I have the same xorg.conf as before. What has changed is that I have upgraded to xorg-7. It is also likely that I did something to my kernel config to get the fglrx driver to work properly, but I can't remember what exactly. I get confused about this because the various display-related kernel options are scattered all over the place. The setup basically consists of an agp radeon 9200SE (using the radeon driver) and a pci voodoo banshee (using the tdfx driver). The precise manifestation of the problem changed with the recent bump from xorg-server-1.0.2-r4 to xorg-server-1.0.2-r5. Before the bump I got a screen that was the right overall colour, but with ugly incomplete horizontal lines across it. Windows were recognisably windows, but still heavily garbled. Within half an hour or so I would have complete system lock-up. After the bump I now get a screen composed of horizontal red and black lines, with the occasional flicker on the left hand side when something happens on the desktop. The only thing that is barely recognisable is the mouse pointer, which looks like a white bar-code. After a period of use (perhaps 20 minutes) the display locks up irrecoverably, but I am able to restart gracefully from a remote terminal session. -- Robert Persson That's MISTER Scum to you. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] LDPATH not set
On Wednesday 07 June 2006 22:53 fei huang was like: On 6/7/06, Robert Persson [EMAIL PROTECTED] wrote: in /etc/env.d/00basic I have the line LDPATH=/usr/local/lib yet when I enter echo $LDPATH I get nothing and I have to set it manually to get programs using libraries installed in /usr/local/lib to work. What have I done wrong? run env-update and make sure that path to your lib directory is shown within /etc/ld.so.conf. or set LD_LIBRARY_PATH, both works.. Thanks both to you and to jure for your replies to this question. env-update doesn't put it right. However I do have an /etc/ld.so.conf with all the right directories in it. LDPATH is supposed to be generated using /etc/ld.so.conf, is that right? If so, why isn't it working? LD_LIBRARY_PATH is a variable I would need to set manually, isn't it? I'd rather avoid doing that if possible if there is something that is supposed to set the path automatically. Here is my ld.so.conf, just in case there is some bad syntax in it or something that would cause the problem: # ld.so.conf autogenerated by env-update; make all changes to # contents of /etc/env.d directory /usr/local/lib /usr/athena/lib //usr//lib/opengl/ati/lib /usr/i686-pc-linux-gnu/lib /usr/lib/gcc/i686-pc-linux-gnu/3.4.6 /usr/lib/gcc/i686-pc-linux-gnu/3.4.5 /opt/intel/compiler70/ia32/lib /usr/lib/nspr /usr/lib /usr/lib/mozilla /usr/lib/openmotif-2.2 /opt/sun-jdk-1.4.2.10/jre/lib/i686/ /opt/sun-jdk-1.4.2.10/jre/lib/i686/native_threads/ /opt/sun-jdk-1.4.2.10/jre/lib/i686/client/ /opt/sun-jdk-1.4.2.10/jre/lib/i686/server/ /usr/lib/qt4 /usr/kde/3.5/lib /usr/qt/3/lib /usr/kde/3.3/lib /usr/lib/nss /usr/qt/2/lib /usr/games/lib /usr/lib/fltk-1.1 /opt/kylix3 /usr/lib/libstdc++-v3/ -- Robert Persson That's MISTER Scum to you. -- gentoo-user@gentoo.org mailing list
[gentoo-user] LDPATH not set
in /etc/env.d/00basic I have the line LDPATH=/usr/local/lib yet when I enter echo $LDPATH I get nothing and I have to set it manually to get programs using libraries installed in /usr/local/lib to work. What have I done wrong? Many thanks Robert -- Robert Persson That's MISTER Scum to you. -- gentoo-user@gentoo.org mailing list
[gentoo-user] choosing different xservers (xorg.confs) as needed?
Is it possible to choose between different xorg.conf files depending on your needs? What I mean is, can you get startx or xinit to choose a config file other than the default? What I have in mind is to be able to choose between using fglrx (for faster opengl) or the radeon driver (because fglrx won't (AFAIK) work alongside other drivers for multi-head setups (and because it's not very reliable either)). One problem would be that fglrx works best with ati opengl, whereas other drivers require mesa. Would I have to eselect the different opengl version each time I started X? I suppose that it would be possible, failing all else, to simply run a script each time I start X to sort out the opengl and swap the xorg.confs about. Actually, the card I am using is a radeon-9200se. I understand that the chipset support for this card in the radeon driver is better than for later models. Is the performance of the radeon driver for this card likely to catch up with that of fglrx in the relatively near future and make my question obsolete? Many thanks Robert -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] can't configure java
On Sunday 07 May 2006 22:14 Robert Persson was like: When I try to use java-config, the following happens: THIS SYSTEM VM IS NOT SUFFICIENT, REQUIRED BINARIES WERE NOT FOUND System Virtual Machine set You may want to update your enviroment by running: /usr/sbin/env-update source /etc/profile The same thing happens if I try to choose blackdown-jre instead of sun-jre. What do I need to do to get java working properly? For some reason the blackdown and sun jre installs are missing some files that java-setup expects to find. However I have found that sun-jdk does have those files and therefore can be configured properly. I think the same may apply to the blackdown jdk. Robert -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] partitioning for multimedia performance and dual-booting linux/windex
On Sunday 23 April 2006 03:00 Neil Bothwick was like: On Sat, 22 Apr 2006 23:05:37 -0400, Walter Dnes wrote: Howsabout using FAT32 (aka vfat) for the data partitions that need to be accessed by both Windows and Linux? Both Windows and Linux can read and write easily to vfat. FAT has a 4GB file size limit under Windows, 2GB under Linux, which makes it unsuitable for most multimedia usage. Thanks very much Neil and Walter for your advice. I think Neil is right about fat32. It also has other problems such as lack of permissions or journaling, as well as performance issues. However it is certainly the simplest way of sharing a partition between operating systems. I have installed rfsd in windows. It seems to work very well, but, unless I have missed something, it is a read-only driver. That can actually be useful if you want to access stuff from within windows without putting it at risk of virus damage. If I also mount my windows installation using the (read-only) ntfs driver under linux, then I have a way to share files in both directions, albeit not an ideal one. (I have considered using captive-ntfs for full r/w access, but I find the windows permissions don't work under linux, as far as I can tell.) I'll get around to trying out crossmeta for xfs read/write at some point soon and let you all know how it goes. Robert -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] xorg-x11 7.0 or 6.8. What of then is better ?
In my recent experience the frequent changes to the xorg7 versions in portage are getting pretty hairy. I have been constantly adding things to package.keywords and package.unmask every time I do a world upgrade. And then it got 1000 times worse... Yesterday I did an emerge -u world which upgraded xorg-server-1.0.2-r3 to 1.0.2-r4. The result was a non-working xserver. I tried to roll back to 1.0.2-r3 and found that it had already been removed from portage. I then tried the only other available ebuild (1.0.99 or something) and found that that did not work either. The bug report is #132598 if you want to see whether things improve in this department. In other words I have no X at all at the moment and I am composing this email on my wife's powerbook using yahoo webmail, which really sucks. Stick with 6.8.2 for the time being. 7 works a little better with wine, but overall it is the kind of pain in the arse that shoots most of the way back up your digestive tract. Robert On 5/4/06, Allan Spagnol Comar [EMAIL PROTECTED] wrote: Hi list, I am instaling a new gentoo box with x86, and I have a doubt about instaling xorg, I know that 7.0 is masked but almost getting stable, and I know that migrating from one another is a little traumatic, so Send instant messages to your online friends http://uk.messenger.yahoo.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: xorg-x11 7.0 or 6.8. What of then is better ?
--- Sven Köhler [EMAIL PROTECTED] wrote: xorg 7.0 is ~x86 - no need to unmask things anymore. The problem is, that you still habe packages unmasked and therefor, you now get xorg 7.1 stuff. Please clean your portage.unmask of any xorg-stuff. I have just cleared package.mask and package.unmask of xorg stuff and am now performing an emerge world. However the only xorg-related change is a downgrade to xorg-server-1.0.2-r4, which is the one I wanted to downgrade from because it doesn't work. Meanwhile the portage xorg maintainers have decided that they are not going to reinstate 1.0.2-r3, not even hard masked, which means that, unless 1.0.2-r4 decides to work for me second time round, I'm stuffed. If anybody can tell me how to downgrade painlessly to xorg-6.8.2 I would be very grateful. :-s Robert Persson I will shout the names of root vegetables for money. ___ Yahoo! Photos NEW, now offering a quality print service from just 7p a photo http://uk.photos.yahoo.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] xorg-x11 7.0 or 6.8. What of then is better ?
On Sunday 07 May 2006 11:31 JimD was like: Or stick with xorg-7 and don't do all the little updates? If i have a working package, I won't do an update unless the *package* changes. For example I wouldn't update a working foo-1.0-r1 to foo-1.0-r2. I would (probably) do an update to foo-1.0.1 or something. The approach I have learned to take with Gentoo is to keep my important apps stable. I don't update courier or postfix often. I will go and see what the update does and if it is something I need. If it is a minor update that corrects handling of Chinese characters during a full moon, I won't grab it. I keep gnome at the latest official stable version. For apps that are beta quality, I keep those that the latest version. For example I unmask and use the latest monodevelop. Gentoo can be a very nice stable system or a pulling-out-your-hair-why-did-I-do-that-upgrade system. Pick which one you want :) One problem with gentoo is that there is no easy way to distinguish a security-related upgrade from something less important. It's not a problem you get with SuSE or Ubuntu. This is one of the reasons why I have just gone along with whatever emerge -avu world threw my way, though, as it happens, the xorg update that caused me all this trouble was just such a security update. The problem seems to have ironed itself out now, after two upgrades and one rollback, but it was not nice to have a non-functioning system for a few hours. And I got a pretty useless response to my bug report. Generally I am finding administering gentoo way too time-consuming, while the theoretical benefits in terms of performance are not materialising. For instance I am sure that with a lot more tweaking I can get great low-latency performance, but I am beginning to think that I would be better off simply changing distro to Demudi or Fedora/Planet CCRMA and getting the low-latency stuff pre-packaged and ready to roll. Perhaps it might be useful to build glibc and a few other libraries from source, but do I really need to build gimp from source when I don't use it that much? I think it's time I stopped spending all my time tweaking and troubleshooting my system and actually got some work done. That said, the plus side to gentoo is excellent documentation (particularly the howtos), a very down-to-earth and helpful user community, and the ability to install all kinds of bleeding edge or obscure packages if I really need them (which often I do). Hmm. Decisions decisions. Robert -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
[gentoo-user] can't configure java
When I try to use java-config, the following happens: zebedee foobar # java-config --list-available-vms [blackdown-jre-1.4.2.03] Blackdown JRE 1.4.2.03 (/etc/env.d/java/20blackdown-jre-1.4.2.03) [sun-jre-bin-1.5.0.06] Sun JRE 1.5.0.06 (/etc/env.d/java/20sun-jre-bin-1.5.0.06) * [blackdown-jdk-1.4.2.03] Blackdown JDK 1.4.2.03 (/etc/env.d/java/20blackdown-jdk-1.4.2.03) zebedee foobar # java-config --set-system-vm sun-jre-bin-1.5.0.06 javac not found at /opt/sun-jre-bin-1.5.0.06/bin/javac or /opt/sun-jre-bin-1.5.0.06/jre/bin/javac javadoc not found at /opt/sun-jre-bin-1.5.0.06/bin/javadoc or /opt/sun-jre-bin-1.5.0.06/jre/bin/javadoc jar not found at /opt/sun-jre-bin-1.5.0.06/bin/jar or /opt/sun-jre-bin-1.5.0.06/jre/bin/jar rmic not found at /opt/sun-jre-bin-1.5.0.06/bin/rmic or /opt/sun-jre-bin-1.5.0.06/jre/bin/rmic THIS SYSTEM VM IS NOT SUFFICIENT, REQUIRED BINARIES WERE NOT FOUND System Virtual Machine set You may want to update your enviroment by running: /usr/sbin/env-update source /etc/profile The same thing happens if I try to choose blackdown-jre instead of sun-jre. What do I need to do to get java working properly? Thanks in advance Robert -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] xorg-x11 7.0 or 6.8. What of then is better ?
On Sunday 07 May 2006 22:07 Philip Webb was like: glsa-check -l | grep \[N\] Thanks for that. That will be handy. On the other hand it failed to report the security hole that is supposed to have been the reason for the xorg-server update that caused me all that grief earlier today, which is worrying; and it is still far short of the no-brain no-stress update automation you get with apt or yast. -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] partitioning for multimedia performance and dual-booting linux/windex
On Thursday 20 April 2006 00:46 Neil Bothwick was like: Am I correct in understanding that I can use LVM2 to stripe a volume across more than one disk, just like a raid 0 setup, even if the disks are quite dissimilar? Would it be possible (or worthwhile) to allocate my old 40GB disk and a portion of my new disk (say another 40GB) to a single logical volume to be used as a fast audio and video scratchspace? (For Linux, that is -- I am aware that it wouldn't be accessible from Windows). I would keep the rest of disk in normal partitions to reduce the risk of losing all my data to disk failure. It is perfectly possible, but performance may suffer if one disk is slower than the other, compared with using the fast disk alone. Another option may be to use the old disk for the operating systems and the new one for data. Speed of the OS disk only affects program loading time, you would then get maximum performance when using the programs. Thanks for your help once again, Neil. The problem I am trying to solve is less about getting best all-round disk performance than it is to get super-duper disk performance when doing extremely disk intensive tasks such as video and audio editing. I'm not sure that having the OS or the swap on different disks because if I have enough memory I shouldn't need to access them very much while doing the audio and video stuff. The disks are probably not too dissimilar in terms of read and write speed (I'll need to look up the specs to verify this). However the cache sizes are quite different: 1MB as opposed to 8MB. Would the smaller cache make the older disk much slower in practice when it comes to writing or reading very large files -- slow enough to bog down the other one if a volume was striped across them? Robert -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
[gentoo-user] partitioning for multimedia performance and dual-booting linux/windex
I have just acquired a nice big PATA disk and am now faced with the job of deciding how to partition it. I actually have two questions and I would be grateful for any thoughts. The current disk is a 40GB 133MHz one with 1MB cache. The new one is 250GB, 133MHz with 8MB cache. The reason for the new disk is to store multimedia samples, to allow dual-boot into windows for some multimedia work, and to get better read/write performance for sound, and perhaps also video editing. The questions I have are: 1. What file system should I use for shared storage and scratchspace between the two OSs? 2. Would it be feasible and worthwhile to stripe a linux scratchspace volume across both disks? QUESTION 1: As far as the dual-booting is concerned, I will need to do it sometimes when there isn't a reliable *ix tool for the job, but I don't want to find myself trapped into using Windows for day-to-day stuff. For instance I may find myself forced to use Adobe Premiere for video editing now and then for the moment, but I would want to be gravitate back to Cinelerra as soon as some of the more serious bugs have been ironed out. For this reason, and also because I remember from my own past experience that NTFS is an unspeakable atrocity (even when accessed under windows) I have been thinking of keeping the Windows partition fairly small and of installing third-party driver(s) to access linux-native filesystems to share data, rather than the other way round. The three options I have for this are: 1. install the windows ext2/3 driver. 2. install rfsd (http://rfsd.sourceforge.net) to access reiserfs partitions. 3. Install the crossmeta XFS driver if I can get hold of it (I'm not sure whether it's part of the free NFS driver download on the website or not). I imagine that one of these arrangments would be adequate for getting at my mp3s and oggs and stuff, but what kind of performance could I expect from these drivers, as compared to NTFS if I were to try audio multitracking, or even video manipulation? If I could get hold of that crossmeta XFS driver, would I get XFS big-file performance like I would under IRIX or Linux? The bottom line in all this is that, if there is a tradeoff to be made between Linux and Windows, it is Windows that must give way. XP once committed suicide on me three times in two weeks, forcing me to abandon an important project while I reinstalled the monstrosity. There can be no forgiveness for that. That's when I married the penguin. You should only marry people an operating systems you trust. QUESTION 2: I actually have an intel sata controller on my motherboard and so should be able to set a raid 0 array that is accessible from both linux and windows. Unfortunately I don't have the money to be buying a pair of sata disks at the moment, which is why I have got the extra pata disk to keep me going. Am I correct in understanding that I can use LVM2 to stripe a volume across more than one disk, just like a raid 0 setup, even if the disks are quite dissimilar? Would it be possible (or worthwhile) to allocate my old 40GB disk and a portion of my new disk (say another 40GB) to a single logical volume to be used as a fast audio and video scratchspace? (For Linux, that is -- I am aware that it wouldn't be accessible from Windows). I would keep the rest of disk in normal partitions to reduce the risk of losing all my data to disk failure. Would I, in the future be able to set up logical volumes spanning a larger mixed group of pata and sata disks? And would that make a serious enough difference to read/write performance to be worth doing? Many thanks Robert -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
[gentoo-user] trouble running X clients as root
I am trying to run gdmsetup and getting can't find display type errors. Here is what happened when I try to run it from an xterm: [EMAIL PROTECTED] ~ $ sux Password: zebedee robert # gdmsetup (gdmsetup:6618): GnomeUI-WARNING **: While connecting to session manager: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed. Could not access GDM configuration file. zebedee robert # exit exit [EMAIL PROTECTED] ~ $ sudo gdmsetup Password: (gdmsetup:6828): Gtk-WARNING **: cannot open display: I then tried, as a test, to open a root xterm using sux and I got the following error: sux Password: zebedee robert # xterm Warning: Tried to connect to session manager, Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed However the root xterm opened up anyway. It failed when I tried to sudo an xterm: sudo xterm Warning: This program is an suid-root program or is being run by the root user. The full text of the error or warning message cannot be safely formatted in this environment. You may get a more descriptive message by running the program as a non-root user or by removing the suid bit on the executable. xterm Xt error: Can't open display: %s xterm: DISPLAY is not set However DISPLAY +is+ set. When I echo $DISPLAY, sudo echo $DISPLAY or sux and then echo $DISPLAY I get the same answer-- :0.0 This has got me quite confused. I used not to get these messages when I ran X clients as root. Anyone know what is going on here? Thanks in advance Robert -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] no video/audio from dv camcorder
On Sunday 26 March 2006 01:49 Robert Persson was like: I am having trouble capturing from a camcorder via firewire. I can control the camera transport from each of the capturing applications (kino, cinelerra and mainactor), but I get no video or audio. Nor do I get video when I try to use the camera as a webcam in Ekiga (formerly known as GnomeMeeting). I have made sure that I have read/write permissions for all the devices in /dev with 1394 in their names. I have tried every variation of dv1394, raw1394 etc. that I can think of in these applications' preferences. I also made sure to modprobe dv1394, ieee1394, video1394, raw1394 and video1394 (whatever that is). I have found a workaround: 1. rmmod [all modules with 1394 in their names] 2. modprobe dv1394 3. rmmod eth1394 (because it doesn't play well with dv) 4. start your dv-capturing application And just in case anyone wants to know: 1. I still couldn't get cinelerra to capture dv without freezing (but then the latest version wouldn't build for me). 2. Ekiga's dv support works, but with some serious limitations. Robert -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] unformat a partition
On Thursday 16 March 2006 09:15 Nick Smith was like: i just accidentally blew away my ntfs partition with the gentoo install cd (formatted hda1 instead of hdb1) is there a way to unformat if it was just done? like undo the format information? i formatted with ext3. IMPORTANT: Please don't follow the following advice until you have had a second opinion from someone else—I think this will work, but I can't swear it will: Reformat to NTFS and then use a recovery tool. If I remember right, windows fdisk is pretty insistent on doing a low level format, so you would be safer using the gnu tool for formatting. I don't know whether the gnu ntfs tools are up to the recovery job, or whether you need to use something proprietary. If you are lucky you may be able to read the old data on the newly created partition without needing to use a recovery tool (I was able to do that with a linux partition once—can't remember if it was reiserfs or ext3), but I would copy all the files somewhere safe in any case because even very minor corruption could come back to haunt you later (as many theologians never tire of reminding us). -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
[gentoo-user] modest mail server for home network
I want to set up a very modest home mail server that will collect emails from other pop3 servers and make them available to 2 or 3 users using 1 or more different clients on 2 or 3 computers. I have become very confused by the various howtos. Even the gentoo ones, which on other subjects are usually very good, in this case assume an awful lot of arcane knowledge and also say preposterous things, such as that xyz server is easy to set up when it quite plainly isn't. I have spent way to much time trying to get courier running only to find that (a) it doesn't work and (b) it doesn't seem to be able to fetch mail from an external server. I then installed fetchmail, but can't find any howtos on installing it as a service, or any clear explanation of how it plays alongside courier or any other imap server. The absolute #1 consideration is that the system must be easy to set up and easy to move to another machine when the time comes. smtp is not important at the moment because the isp smtp service usually works. Any advice very much appreciated. Robert -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] xorg-7: no console switching; can't exit gnome sanely.
On Sunday 05 March 2006 10:59 Jeremy Olexa was like: I have been searching this like crazy trying to fix this because it happens to me too. Since I upgraded to gentoo-sources 2.6.15-r1 and ati-drivers 8.22.5 I have been having the same issue as you, kernel panic every time I restart X/reboot. Please let me know if you find a fix..! I've simply disabled kdm and am now using startx. Haven't had any problems since. Not an elegant solution, but will do till I can get hold of a mac and devote the linux box to more specialised work. -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] No xorg.conf but GNOME works great?
--- Charles Read [EMAIL PROTECTED] wrote: But the screen resolution is off and there is no xorg.conf file in /etc/X11 to edit. Is there an /etc/X11/XF86Config? x.org will use that if there is no xorg.conf. robert ___ Win a BlackBerry device from O2 with Yahoo!. Enter now. http://www.yahoo.co.uk/blackberry -- gentoo-user@gentoo.org mailing list
[gentoo-user] xorg-7: no console switching; can't exit gnome sanely.
I have just upgraded to xorg-7 and found that I can no longer use ctrl-alt-Fn to switch out of the x server. I am using the same version of fglrx that I was before I upgraded and this problem started happening. How do I get console-switching back? I have also found, since the upgrade, that I can no longer exit gnome sanely. The first time I did it I got a kernel panic; the second time I found myself back at a garbled login screen; and the remaining 3 times I have simply found myself with a black screen and an unresponsive mouse and keyboard. I can however, still exit kde and blackbox without problem. The garbled login screen was one I have seen before when I tried to start a second xsession from within a kde session. It looked a bit like what you get when you set a video card to a resolution your monitor can't handle, with a mess of broken horizontal lines across the screen at about the height the login window ought to be. I am still using kdm as my session manager, if that makes any difference (it didn't in the past). Any ideas what could be happening with my gnome sessions? Thanks Robert -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] xorg-7: no console switching; can't exit gnome sanely.
On Saturday 04 March 2006 02:33 Willie Wong was like: On Sat, Mar 04, 2006 at 12:24:07AM -0800, Penguin Lover Robert Persson squawked: I have just upgraded to xorg-7 and found that I can no longer use ctrl-alt-Fn to switch out of the x server. I am using the same version of fglrx that I was before I upgraded and this problem started happening. How do I get console-switching back? Option DontVTSwitch Off in the xorg.conf This doesn't appear to work. Although I don't understand why I should need to specify a value for DontVTSwitch anyway. Is Off no longer the default? Thanks Robert -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] opengl (?) weirdness in wine
On Thursday 02 March 2006 04:58 Holly Bostick was like: I am (at this very moment, actually) upgrading to Xorg 7.0, after which I'm going to enable the r300 drivers (I have a 9800SE), and if those don't help, I'm going to see if the fglrx drivers work better under 7.0 than under 6.8.2. I have just upgraded to X.org 7.0 and there is still a problem (using fglrx) with black rectangles, although not as bad. However the slow typing problem has become much less severe, which means (Hooray!) that Scribe under wine is now usable. While I was waiting to get the new xorg version running I tried to run the program remotely using Apple X11 (Panther version) on a clapped out Wallstreet II Powerbook. It was hard to see exactly what was going on with speed because of an unrelated problem to do with fonts, but it certainly looked like the boxes were getting drawn very slowly indeed. As Apple X11 is based on an earlier version of XFree86, this suggests that the slow screen rendering problem was with the version of XFree/X.org used, rather than with fglrx as such. Any many thanks, Holly, for showing me the way. Robert -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] opengl (?) weirdness in wine
On Thursday 02 March 2006 08:08 Jason Weisberger was like: First off, I'm fairly certain that this application doesn't use OpenGL, so that will not be of any concern, however it seems that if you have an ATI card, you'd want to use the proprietary drivers from the ATI website to increase your performance. This would increase your 2D performance as well. I haven't heard about any specific slowness related to ATI cards running 2D applications, so it might be a bug in Wine itself. Please visit the WineHQ.org website and submit a bugzilla report to see what they can come up with. Even if they don't know right away, the problem is noted and they can work on it in the future. I am actually using the ati driver. Overall it has been an improvement on the x.org radeon driver, but, as Holly said, it still sucks a lot of the time. The x.org driver may be slow and hopeless at 3D, but it is reliable in other ways. I may try messing about with my x.org versions again. It worked before when another wine application was playing up in a similar way. That was what prompted me to upgrade to my current version. Robert -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
[gentoo-user] login error message
Since doing whatever that command is that gets ati opengl working I have been getting the following error message when I do a console login, either as a user or as root: -bash: export: -m: invalid option export: usage: export [-nf] [name[=value] ...] or export -p -bash: export: -i: invalid option export: usage: export [-nf] [name[=value] ...] or export -p -bash: export: -o: invalid option export: usage: export [-nf] [name[=value] ...] or export -p -bash: export: -m: invalid option export: usage: export [-nf] [name[=value] ...] or export -p -bash: export: -m: invalid option export: usage: export [-nf] [name[=value] ...] or export -p -bash: export: -m: invalid option export: usage: export [-nf] [name[=value] ...] or export -p -bash: export: -m: invalid option export: usage: export [-nf] [name[=value] ...] or export -p -bash: export: -m: invalid option export: usage: export [-nf] [name[=value] ...] or export -p -bash: export: -m: invalid option export: usage: export [-nf] [name[=value] ...] or export -p -bash: export: -m: invalid option export: usage: export [-nf] [name[=value] ...] or export -p -bash: export: -m: invalid option export: usage: export [-nf] [name[=value] ...] or export -p -bash: export: -m: invalid option export: usage: export [-nf] [name[=value] ...] or export -p How do I stop this? Many thanks Robert -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
[gentoo-user] printer won't stop puking
My (parallel port laser) printer started spewing garbage (i.e. pcl data as text - a few characters per sheet) as a result, I think, of a loose cable. Trouble is I can't stop it. I cleared the print jobs. Even stopped cups. Tried to rmmod parport_pc and lp, but was refused. Tried pressing the stop and reset buttons on the printer many times. Nothing doing. The only thing that stops the flow is disconnecting the parallel cable. I'm about to reboot, hoping that that will do the trick. But surely there's a way to stop the diarrhoea without rebooting, isn't there? -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] printer won't stop puking
On Thursday 16 February 2006 04:06 William Kenworthy was like: At times you also have to go to the cups cache directory and delete the print job there as well, as on restart it stats the printjob from the beginning again. They really need to fix this ... When I shut down cupsd the printer continued spewing. Also, when I rebooted, the printing didn't start up again. I don't understand how this could be a cups problem in that case. :-) robert -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
[gentoo-user] trouble getting plustek parallel port scanner recognised
I tried this parallel-port scanner question on the sane-devel list, but no luck. I wonder if anyone here might know the answer?: I have just bought a Plustek OptikPro 9636P+ parallel port scanner from a charity shop -- no proof that it works except that the light comes on when I power it up, but no particular reason to think it doesn't work. I have built the pt_drv (sane plustek parallel-scanner) kernel module (after a couple of minor hacks to get it to compile with gcc-3.4), but when I try to load it, the following happens: zebedee build # insmod pt_drv.ko mov=3 insmod: error inserting 'pt_drv.ko': -9020 Function not implemented dmesg tells me: pt_drv : driver version 0.43-5 pt_drv : no device(s) detected, (-9020) A google search tells me that several other people have had the same no device(s) detected, (-9020) message when trying to get plustek scanners to work. Unfortunately most of them had their problems in various central European languages, so I am still in the dark. What should I do to get linux to recognise my scanner? Many thanks Robert -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] confused about suid
On Saturday 28 January 2006 01:35 Jorge Almeida was like: I am still having to sudo echo -n mem /sys/power/status and then to enter a password. What am I doing wrong? Did you edit /etc/sudoers? Example: joeuser ALL = NOPASSWD: /your/command/here Remember to edit the file with visudo, which will warn you in case you make a syntax error. Thanks! That works. -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
[gentoo-user] sound card stopped working after kernel rebuild
I recently rebuilt my kernel and my audigy2 sound card stopped working. I reverted to the way the kernel was before, but it still doesn't work. The change I made was to build the emu10k1 driver into the kernel, instead of having it as modules, as I had before then. The reason I did this was to try to get sound to resume properly after sleep. But as I said, now that emu10k1 is in modules again it still doesn't work, not even after running alsaconf. Any help much appreciated. Thanks. And here is some more info: This is the kind of thing I get when I launch an alsa client (e.g. qjackctl): loading driver .. apparent rate = 48000 creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode cannot load driver module alsa This is from dmesg: EMU10K1_Audigy: probe of :02:09.0 failed with error -12 This is what lsmod says: Module Size Used by fglrx 431840 7 usb_storage48064 0 eth139416008 0 floppy 50180 0 pcspkr 1796 0 tdfxfb 9864 0 ohci1394 27444 0 ieee1394 78168 2 eth1394,ohci1394 emu10k1_gp 2944 0 gameport 11144 2 emu10k1_gp snd_intel8x0 25756 0 i2c_i8017308 0 intel_agp 18076 1 subfs 6144 5 realtime7560 0 snd_emu10k193348 0 snd_ac97_codec 79008 2 snd_intel8x0,snd_emu10k1 snd_ac97_bus2048 1 snd_ac97_codec snd_util_mem3456 1 snd_emu10k1 snd_hwdep 6688 1 snd_emu10k1 This is what lspci says: 00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02) 00:01.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to AGP Controller (rev 02) 00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02) 00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2) 00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02) 00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02) 00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02) 00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02) 01:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 SE] (rev 01) 01:00.1 Display controller: ATI Technologies Inc RV280 [Radeon 9200 SE] (Secondary) (rev 01) 02:05.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13) 02:09.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04) 02:09.1 Input device controller: Creative Labs SB Audigy MIDI/Game port (rev 04) 02:09.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev 04) 02:0b.0 Communication controller: Agere Systems LT WinModem (rev 02) 02:0c.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo Banshee (rev 03) Robert -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] sound card stopped working after kernel rebuild
On Monday 30 January 2006 09:58 Robert Crawford was like: I think EMU10K1_Audigy: probe of :02:09.0 failed with error -12 might have something to do with modprobe failing with a new kernel. Maybe try rebuilding .module-init-tools against your new kernel? Just a guess. I tried rebuilding module-init-tools. It didn't work unfortunately. The weird thing is that I don't have a new kernel in the sense of new version or different patches. I simply changed the config. And when I changed it back again to what it was before, it no longer worked the same way as it had before, with that same config. One thought. I have been playing around trying to get acpi sleep to work, but with only limited success and a lot of freezes and other misbehaviour. It is also known that emu10k1 doesn't play well with sleep. Might I have changed some bios setting or something during one of those freezes? Could something like that account for emu10k1 not behaving the same way with the same kernel? Many thanks Robert -- Robert Persson [EMAIL PROTECTED] YahooMessenger:ireneshusband Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
[gentoo-user] confused about suid
I am trying to create a script so users can execute a certain command as root without entering a password. I thought suid was the way to do this, but I am not having any success. The command I want to execute as root is echo -n mem /sys/power/status. I created a bash script (/usr/local/bin/suspendtoram) like so: #!/bin/bash echo -n mem /sys/power/status then set owner and group to root:root and made the script suid. However this doesn't work. The error message goes: /usr/local/bin/suspendtoram: line 2: /sys/power/state: Permission denied I am still having to sudo echo -n mem /sys/power/status and then to enter a password. What am I doing wrong? thanks Robert -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] /usr/bin/test doesn't seem to do anything
On Thursday 26 January 2006 16:22 Richard Fish was like: test doesn't output anything...it indicates success/failure with the exit code. ... As others have said though, watch out for the 'test' command built-in to many shells, as the behavior there is defined by the shell. Generally though, /usr/bin/test and bash test should work the same It turns out that I was mistaken and the script was in fact invoking the bash built-in test (the /usr/bin/test stuff was my overactive imagination). /usr/bin/test is still weird, as Eric Bliss said, because it doesn't print help and version info the way the manpage says it should. A difference between the two tests is that, for /usr/bin/test, a non-zero exit status means false, whereas bash test resolves to a non-zero value when true. Haven't had time to take another look at the bash script I was wrestling with. So still not sure whether bash test is being weird as well. -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
[gentoo-user] /usr/bin/test doesn't seem to do anything
Someone was kind enough to send me a script that calls /usr/bin/test. When the script didn't work I realised that test was behaving strangely. Basically it doesn't seem to return anything. For instance test -f /usr/bin/test doesn't display any output. Nor does test --help. Nor test --version. The version I am using is from sys-apps/coreutils-5.2.1-r6 . It's very hard to do a google search for anything to do with troubleshooting a program called test. Anyone know what is going on here? Thanks Robert -- Robert Persson [EMAIL PROTECTED] YahooMessenger:ireneshusband Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] composing fancy html in kmail
On Wednesday 25 January 2006 01:29 Michael Kintzios was like: I can't remember if Thunderbird has a GUI for HTML editing (never used it), but have you tried using applications like Quanta+ or even OOo as an external editor to kmail? I did try using OOo. Unfortunately it could not manage to return something that the kmail compose window would even display as html, let alone allow me to embed pictures. However I have now found that it +is+ possible to do everything I want in Evolution. Could this be time to switch? Does anyone has any thoughts or flames about kmail/kontact vs. evolution in general? Many thanks Robert -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
[gentoo-user] kernel config power-saving arcana; and getting acpi working.
Some while back I was trying to get power saving working fully on my desktop box and I found people talking about swsusp (as opposed to swsusp2) being part of the official kernel sources. This puzzled me greatly because I have never come across this option when configuring a kernel. In the end I resigned myself to it being just one of those things. However yesterday, while I was trying in vain to get at least one acpi function working, I became vastly more perplexed to find that there is supposed to be a kernel config parameter called CONFIG_ACPI_SLEEP. Again, I have never come across this option when I have configured a kernel. Yet it is supposed to be part of the vanilla kernel (e.g. 2.6.15). Am I delusional? I have tried a whole load of other things to get things like acpi sleep working, such as patching the 2.6.15 kernel with the patches from acpi.sourceforge.net, making sure APM is disabled, as well as patching the kernel with a debugged version of my motherboard's DSDT, but nothing gets any kind of suspend or sleep working. I understand that I should be able to trigger power saving states by writing to /sys/power/state, but whenever I 'echo -n standby /sys/power/state' or 'echo mem /sys/power/state', even as root, nothing happens. I have checked the write permissions and they are fine. However 'cat /sys/power/state' invariably returns 'standby mem', no matter what I do. acpid works, at least to the extent that the machine will halt when the power button is pressed. If I could ditch acpi and get by with apm then I would, however I am not optimistic about this because apm is supposed not to like multiple processors and I have a hyperthreading P4. How am I to get power saving (well, sleep at least) working? Thanks Robert -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] kernel config power-saving arcana; and getting acpi working.
On Wednesday 25 January 2006 16:27 Neil Bothwick was like: Type / followed by susp while in make menuconfig to find it. Just browsing the options won't necessarily find what you want, because some only appear when others are enabled, whereas the search function shows all matching options, and tells you what else you need to enable. Thank you very much indeed! It turns out that my problem with not being able to configure acpi_sleep and swsusp in the kernel was to do with having SMP enabled for my hyperthreading P4 processor. This means I need SMP_SUSPEND, which in turn depends on HOTPLUG_CPU. Now to see if it works... -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
[gentoo-user] no trouble getting to sleep, but would rather die than wake up
I have finally got some acpi sleep states working on my desktop box (thanks everyone!), but not all the way I would like. The box has an asus p4p800-se motherboard and a hyperthreading p4 processor. Hyperthreading is enabled in the kernel (which is why it was hard to find out how to get sleep enabled in the kernel config). 'echo standby /sys/power/state' works fine. 'echo disk /sys/power/state' doesn't, but I'm not worried for now. swsusp2 conflicts (or used to) with reiser4 (which I use) and the original swsusp is known to have problems. 'echo mem /sys/power/state' is what is frustrating. It goes to sleep alright, but I can't wake it up. The only thing that does anything is the power button, and what that does is send the system into shutdown. If the sleep state is initiated from a console, the screen remains black during the brief reawakening. If the sleep state is initiated from the X server then I get some kind of funny pattern on the screen of the kind that says that the video card is confused. This last one is the sleep state I most want to use, so any help getting it to work properly would be much appreciated. many thanks Robert -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
[gentoo-user] composing fancy html in kmail
I want to send an email with both embedded thumbnail images and external hyperlinks. My email client is kmail. What I want to do is certainly impossible with the kmail editor, however kmail gives you the option of using an external editor. Is there any way I can do what I want and get the result, complete with embedded images and hyperlinks, back into kmail for sending? If not, is there another email client which will allow me to do what I want - ideally one that will allow me to work in a joined up way like you can with kontact, evolution, m-ess outlook etc? many thanks Robert -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
[gentoo-user] emerge --buildpkgonly world won't go: kde metapackage problem?
I am trying to emerge --buildpkgonly -u world, but it won't go: zebedee ~ # emerge --buildpkgonly -u world Calculating world dependencies ...done! !!! --buildpkgonly requires all dependencies to be merged. !!! Cannot merge requested packages. Merge deps and try again. However when I only pretend to do it I get no errors: zebedee ~ # emerge --pretend --buildpkgonly -u world These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild NS ] sys-kernel/mm-sources-2.6.16_rc1-r2 [ebuild U ] sys-devel/libperl-5.8.7 [5.8.6-r1] [ebuild U ] dev-lang/perl-5.8.7-r3 [5.8.6-r8] [ebuild U ] sys-devel/gnuconfig-20051223 [20051113] ...etc...etc...etc... The reason I want to avoid installing straight away is because I'm doing a kde upgrade this time (3.4.3 to 3.5) and want to avoid a broken desktop, but could kde in fact be the very source of the problem? Is emerge getting confused by the split kde metafiles again? Or does the problem lie somewhere else? Thanks people! Robert -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
[gentoo-user] either emerge or portage is completely broken
I ran emerge sync earlier this evening and I got the following at the end of the output: Performing Global Updates: /usr/portage/profiles/updates/4Q-2005 (Could take a couple of minutes if you have a lot of binary packages.) .='update pass' *='binary update' @='/var/db move' s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*' .Traceback (most recent call last): File /usr/bin/emerge, line 10, in ? import portage File /usr/lib/portage/pym/portage.py, line 7480, in ? do_upgrade(mykey) File /usr/lib/portage/pym/portage.py, line 7385, in do_upgrade key=dep_getkey(line.split()[0]) File /usr/lib/portage/pym/portage.py, line 3609, in dep_getkey if mydep[-1]==*: IndexError: string index out of range I now get the same error messages when I try to emerge anything, including portage. In other words portage is completely broken. What should I do? Many thanks Robert -- Robert Persson -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] either emerge or portage is completely broken
On December 29, 2005 10:31 pm Jason Stubbs was like: One of your /etc/portage/package.* files contains an invalid atom. By the look of the traceback, you have a line with just a * perhaps? Jason Stubbs That was it! Thanks! I had a line reading * media-video/mpeg4ip in /etc/portage/package.mask Robert -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] creating local copies of web pages
On December 3, 2005 05:40 am Martins Steinbergs was like: if there isn't any files or folders under /websites then it isn't problem with httrack. if mirroring goes wrong, then there at least should be project folder containing hts-cash folder and hts-log.txt; index.html files. sorry, not much help from here. martins But that's not what I've been saying, Martins. httrack +does+ create directories in ~/websites, including hts-cache. It also creates hts-log.txt, index.html, a lock file and a couple of gifs. However hts-cache is the only one of those directories with anything in it (aside from subdirectories and sub-subdirectories), and index.html is an empty file. What there is in hts-cache is a file called new.dat which contains a lot of the html that ought to have been put into the folders, all rolled into one huge file. -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] creating local copies of web pages
On December 2, 2005 01:05 am Neil Bothwick was like: wget will accept most files containing URLs, it doesn't have to be a straight list. Try feeding it your bookmark file as is. Tried that. It borked. :-( -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] creating local copies of web pages
On December 2, 2005 01:37 am Martins Steinbergs was like: if there realy no files and dirs created in ~/websites folder, try to check write permissions or is there any space left. Permissions are fine and there is quite a bit of space on the disk. httrack creates directories in ~/websites, but no other files, despite the fact that it claims to be downloading bucketloads of them. -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] creating local copies of web pages
On December 2, 2005 07:42 am Billy Holmes was like: Robert Persson wrote: I have been trying all afternoon to make local copies of web pages from a netscape bookmark file. I have been wrestling with httrack (through wget -r http://$site/ have you tried that, yet? The trouble is that I have a bookmark file with several hundred entries. wget is supposed to be fairly good at extracting urls from text files, but it couldn't handle this particular file. Robert -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] creating local copies of web pages
On December 2, 2005 06:40 am Martins Steinbergs was like: if httrack is runing as root all stuff goes to /root/websites/ , explored there? I wasn't running it as root. The strange thing is that httrack did start creating a directory structure in ~/websites consisting of a couple of dozen directories or so (e.g. ~/websites/politics/www.fromthewilderness.com/free/ww3/), but it didn't actually store any html or other site content, despite the fact that it was taking a very long time to do this and was claiming to have downloaded hundreds of files. -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
[gentoo-user] creating local copies of web pages
I have been trying all afternoon to make local copies of web pages from a netscape bookmark file. I have been wrestling with httrack (through khttrack), pavuk and wget, but none of them work. httrack and pavuk seem to claim they can do the job, but they can't, or at least not in any way an ordinary mortal could be expected to work out. They do things like pretending to download hundreds of files without actually saving them to disk, crashing suddenly and frequently, and popping up messages saying that I haven't contributed enough code to their project to expect the thing to work properly. I don't want to do anything hideously complicated. I just want to make local copies of some bookmarked pages. What tools should I be using? I would be happy to use a windows tool in wine if it worked. I would be happy to reboot into Windows if I could get this job done. One option would be to feed wget a list of urls. The trouble is I don't know how to turn an html bookmark file into a simple list of urls. I imagine I could do it in sed if I spent enough time to learn sed, but my afternoon has gone now and I don't have the time. Many thanks Robert -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] system clock keeps getting reset to weird times
On November 18, 2005 02:14 pm Benno Schulenberg was like: Your time zone is correctly set? Check with 'ls -l /etc/localtime'. I think the problem was a corrupt /etc/localtime. When I set up the system I made /etc/localtime a symlink, but SOMETHING seemed to have changed that and replaced it with a copy of (what I presume to have been) the file the symlink should have been pointing to. Unfortunately it must have been a corrupt copy. Deleting this file and reinserting the symlink seems to have made the problem go away. I think the guilty SOMETHING was most likely the kde date and time setting utility. Thanks once again to everybody for their help. Robert -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
[gentoo-user] system clock keeps getting reset to weird times
A week or two back I reset my system clock temporarily to 2001 in order to install a package under wine with a time-limited installer, after which I set it back again. Since then I have been getting really weird and annoying clock behaviour. For instance I sometimes find that the kde clock tells me that I am on UTC rather than PST. At other times it tells me that I am on PST, but gives a time exactly 8 hours in the future. Now it is getting even weirder because I find that when I boot up and enter kde, the clock shows a time approximately, but not exactly, 10 days in the past. For instance the time now is 18 Nov 2005 10:03 am, but the clock thinks it is 8 nov 2005 7:13 am. Yesterday at the same time it thought it was 8 nov 7.xx pm. Sometimes I am able to correct the time using the kde control panel. Sometimes I am not and I have to use the other control panel I find in my K menu (which I believe to be the Gnome one, but I'm not sure). I have enabled ntpd in my default runlevel, and /etc/init.d/ntpd status returns started. However, when I select Set date and time automatically in the kde control panel, I get the error Unable to contact time server: http://www.pool.ntp.org/zone/north-america;, and I get the same error no matter which server I select or type in. The (Gnome?) control panel does allow me to select Synchronize clock with internet servers, but when I do so nothing happens, no matter how many servers I select. How can I get ntpd and/or ntp-client working properly? This is my current /etc/ntp.conf: restrict default noquery notrust nomodify restrict 127.0.0.1 restrict 192.168.1.0 mask 255.255.255.0 fudge 127.127.1.0 stratum 3 driftfile /var/lib/ntp/ntp.drift logfile /var/log/ntp.log server time.nrc.ca server ntp1.cmc.ec.gc.ca server ntp2.cmc.ec.gc.ca server clock.tricity.wsu.edu server wuarchive.wustl.edu server clock.psu.edu server gilbreth.ecn.purdue.edu server molecule.ecn.purdue.edu server libra.rice.edu server ntp.cox.smu.edu and this is my /var/log/ntp.log: 13 Nov 15:38:34 ntpd[7996]: synchronized to LOCAL(0), stratum 5 13 Nov 15:53:30 ntpd[7996]: kernel time sync disabled 0041 13 Nov 15:54:34 ntpd[7996]: kernel time sync enabled 0001 14 Nov 05:44:27 ntpd[7996]: ntpd exiting on signal 15 7 Nov 05:47:11 ntpd[9980]: synchronized to LOCAL(0), stratum 5 7 Nov 05:47:11 ntpd[9980]: kernel time sync disabled 0041 7 Nov 05:48:17 ntpd[9980]: kernel time sync enabled 0001 7 Nov 05:56:50 ntpd[9980]: ntpd exiting on signal 15 7 Nov 05:59:57 ntpd[10925]: synchronized to LOCAL(0), stratum 5 7 Nov 05:59:57 ntpd[10925]: kernel time sync disabled 0041 7 Nov 06:01:01 ntpd[10925]: kernel time sync enabled 0001 7 Nov 06:16:23 ntpd[10925]: ntpd exiting on signal 15 14 Nov 20:29:38 ntpd[24699]: ntpd exiting on signal 15 16 Nov 21:45:26 ntpd[9972]: ntpd exiting on signal 15 16 Nov 21:45:26 ntpd[10536]: parent died before we finished, exiting 17 Nov 20:35:43 ntpd[9948]: ntpd exiting on signal 15 Note that there is no entry in the log for today (18 nov) even though I have attempted today (18 nov according to both me and the computer) to disable and reenable synchronisation through the (Gnome?) control panel. Many thanks Robert -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] xorg-x11-6.8.2-r6 segfaults
On November 7, 2005 03:50 pm Robert Persson was like: I have just emerged xorg-x11-6.8.2-r6 and have been finding that it crashes suddenly when I do certain things, such as click on the advanced burn option tab in k3b. Is anyone else having this problem? Sometimes things I The problems seem to have been fixed in 6.8.99. I've been using it for 2 days without an X-server crash. -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] Is a wiki what I'm after?
On November 11, 2005 11:33 pm Andrew Lowe was like: A wiki is one of the first things to come to mind. I'm contemplating setting a wiki up on my trusty little firewall/email/squid/dns server, scanning the clipping, creating an entry in the wiki, placing, By all means consider using your 'puter to help with your filing. The wiki might well be a good idea. However please don't underestimate the power of your memory. One technique that I sometimes find useful is to collect things based on criteria that are apparently irrelevant to what I am doing, but appeal to the senses. For instance I might, in your situation, sort the material based on arbitrary criteria, such as Can I see an indoor plant in this photo? or Does this text mention the eating of food? by remembering one thing about the document you stand a good chance of remembering the other things, and you will also stand a good chance of remembering where you put it. Decorate the files and boxes too. The decorations don't necessarily have to be relevant. Wallpaper scraps, colourful pictures of animals, unusual handwriting - whatever it takes to get the stuff through your visual cortex or your fingers and to get your memory working the way it wants to. Of course different techniques may work better for you. Go to the library and get a book or two on improving your memory, clutter reduction, whatever. Use the ones that help and ditch the ones that don't. Find what works for you. Then, if you still need to, set up an electronic database that thinks the way you like to. Robert -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] mainactor - which build is likely to work best?
On November 11, 2005 01:57 am Nick Rout was like: OK well mu comments below: On Thu, 10 Nov 2005 06:20:34 -0800 Robert Persson [EMAIL PROTECTED] wrote: On November 9, 2005 02:17 pm Nick Rout was like: what are you looking to do that main actor cannot do? 1. Import and edit quicktime movies from my camera. I would be reluctant to buy a camera that wasn't DV. However as you have one, it should be possible to transcode to something mainactor can deal with. Just to confirm I have a quicktime movie which tcprobe tells me is: audio codec=QDM2 video codec=SVQ3 and mainactor deosn't want to know it. However it was easily transcoded to mpeg2 which mainactor is fine with. The trouble with this is that the transcoded movies will have to be a lot bigger than the originals. When I can afford some nice big disks that won't be a problem, but it is at the moment. I read a review of one of the canopus products that said it could handle many different codecs and formats in the same timeline. Waiting for transcoding jobs to render would be a pain and shouldn't be necessary. All that should need to be rendered is what you find on the timeline when you come to print the movie. 2. That thing you can do in Media 100 and Avid where you you hae little arrows pointing from 1 video clip in the timeline to the other and back again so that you can do lots of fast cuts without getting confused by lots of tiny clips. I am not familiar with avid or media 100, but I am always interested in new interfaces to movie editing. I might even install windows to take a look :) I'm not sure if media 100 is even produced any more. I used it on a mac os 7.5 system and it needed a lot of proprietary hardware. Same goes for older versions of avid, but that's not true any more. 3. Be able to do lot more with sound (e.g. mixing). Ahhh but there are plenty of sound mixing programs for linux. And if I understand correctly you can do a certain amount of sound mixing with main actor by using multiple audio tracks and mixing them. Perhaps this is not what you mean? I haven't done much with mainactor yet and I may have missed some of the sound capabilities. I'll need to take another look. Exporting and reimporting bits of the movie can be a pain, if you're not careful, when you want to maintain audio-video sync. Robert -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
[gentoo-user] xorg-x11-6.8.2-r6 segfaults
I have just emerged xorg-x11-6.8.2-r6 and have been finding that it crashes suddenly when I do certain things, such as click on the advanced burn option tab in k3b. Is anyone else having this problem? Sometimes things I do in konqueror cause it as well. I'm not sure exactly what, but they are certainly things that I have been doing everyday for quite a long time. I upgraded from v. 6.8.2-r4 because it caused problems such as buttons in some windows applications appearing solid black in wine. It fixed these. I had the same problem with the advanced tab in k3b when my system was in transition between being built with gcc-3.3.5 and with gcc-3.4.4. I think I had xorg built with 3.4.4 and k3b built with 3.3.5. However now both are built with 3.4.4 (unless there is something I have missed). Is there an even earlier version of xorg that would be stable AND render widgets in wine properly? Robert -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] mainactor - which build is likely to work best?
On November 9, 2005 02:17 pm Nick Rout was like: what are you looking to do that main actor cannot do? 1. Import and edit quicktime movies from my camera. 2. That thing you can do in Media 100 and Avid where you you hae little arrows pointing from 1 video clip in the timeline to the other and back again so that you can do lots of fast cuts without getting confused by lots of tiny clips. 3. Be able to do lot more with sound (e.g. mixing). -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] mainactor - which build is likely to work best?
On November 6, 2005 10:07 pm Nick Rout was like: The suse build works fine here. Thanks Nick. SuSE was the one I decided to try out first and it has been running without any problem for me too. I'm still looking for something that will do quite a bit more than this, so I'm trying out various windows apps under wine. I'll post if I get something to work reasonably well. Robert -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
[gentoo-user] mainactor - which build is likely to work best?
I am currently experimenting with mainactor as a video editor. There are three builds to choose from - debian, suse and mandriva. Which would be likely to be most stable on a gentoo system built with gcc-3.4.4? I am currently trying the suse demo. It's not too bad, but it has crashed a few more times than I'd like. For those who are wondering, kino is fine and stable, but not designed for complex jobs, while cinelerra is unspeakably uncooperative IMO. Couldn't get it to capture dv for the life of me, and it locked up all the time. I'm going to give lives a shot as well. I'll let you know how I get on. Best Robert -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
[gentoo-user] what's a good on-demand anti-virus program?
Does anybody have a recommendation as to which anti-virus program in portage would be best for occasional on-demand scanning? The main use would be to screen windows programs before installing them in wine. Many thanks Robert -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] what's a good on-demand anti-virus program?
On November 2, 2005 09:49 am John Jolet was like: I suspect you've entered the realm of religious viewpoints. Thank you to everyone who replied. I myself had a decent experience with AVG when I was running windows, so I am sure both it and clamav are up to the job. What tips the balance is the recent announcement by AVG that Linux is about to be brought to its knees by a devastating plague of viruses. This sounds like FUD to me and I don't like it. Clamav it is then. Best Robert -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] what's a good on-demand anti-virus program?
On November 2, 2005 10:49 am Robert Persson was like: Clamav it is then. Just installed clamav and the klamav front end. Utterly painless and easy to set up for a single-user desktop system like mine. -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ncurses apps garbled in text console
On October 29, 2005 06:31 pm Rodney Gordon II was like: For some reason my /etc/env.d/02locale was missing. Creating a new one solved the problem. Out of curiosity, how did you create one? I have the same issue, mine is missing for some reason.. Nothing fancy, Im afraid. I just did nano -w /etc/env.d/02locale Mine reads: LC_ALL=en_CA.UTF-8 LANG=en_CA.UTF-8 Theres a page on gentoo.org with instructions. There's another line you need if you live in Euroland. Robert -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
[gentoo-user] should /dev/dv1394 be a device or a directory?
I have just managed to force cinelerra-cvs-20051005 to start up. However I am not managing to import any DV from my camcorder. When I open the capture window I get the following message in the console: Device1394Input::open /dev/dv1394: Is a directory followed by Device1394Input::run DV1394_IOC_WAIT_FRAMES: Bad file descriptor endlessly repeated until I force cinelerra to terminate. However I can send control instructions to the camcorder (start, stop etc.). When I ls /dev/dv1394 I find that it is indeed an empty directory. In kino, when I open the capture window in dv1394 mode, I get the message dv1394 INIT ioctl: Invalid argument repeated endlessly in the console, and the camera controls don't work. I would use raw1394 if that worked in cinelerra, but cinelerra, although it first started up in (non-working) raw1394 capture mode, stopped offering this mode as an option in the preferences once I had switched to (non-working) dv1394 mode. raw1394 capture works in kino for some reason. Am I right to understand that the dv1394 problem is to do with my system, while the raw1394 problem is specifc to cinelerra? How do I fix either of them? Thanks Robert -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ncurses apps garbled in text console
On October 28, 2005 10:50 pm Peter Gordon was like: On Fri, 2005-10-28 at 20:03 -0700, Robert Persson wrote: For some reason (probably a careless etc-update) ncurses based apps (e.g. mc and kernel make menuconfig) have started looking really ugly I've had that issues with the kernel configuration too at times. What are your locale settings? (LC_ALL and LANG) Thanks Peter! For some reason my /etc/env.d/02locale was missing. Creating a new one solved the problem. -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
[gentoo-user] ncurses apps garbled in text console
For some reason (probably a careless etc-update) ncurses based apps (e.g. mc and kernel make menuconfig) have started looking really ugly when displayed in a text console, but look fine in xterm and konsole. Rectangular frames are absent, columns don't line up, the wrong character disappears when I hit backspace, and so on, to the point of making the applications unusable. Any ideas? Many thanks Robert -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge -u world won't update kde metapackages
[This is the third time sending this post because it doesn't seem to be showing up on the list. Sorry if it ends up being a duplicate (or a triplicate).] Thank you everyone! I have now discovered that my problem was that I still had some monolithic kde packages hanging around alongside the metapackages (e.g. kdeedu instead of kdeedu-meta). I think I'd been unmerging them one at a time and didn't get around to finishing the job. Now that I have done so emerge -u world seems to be catching the kde updates the way it should. -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge -u world won't update kde metapackages
Thank you everyone! I have now discovered that my problem was that I still had some monolithic kde packages hanging around alongside the metapackages (e.g. kdeedu instead of kdeedu-meta). I think I'd been unmerging them one at a time and didn't get around to finishing the job. Now that I have done so emerge -u world seems to be catching the kde updates the way it should. -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] using g++ instead of gcc to build abiword
On October 22, 2005 11:53 pm Richard Fish was like: Could you post the output of gcc -print-search-dirs? Particularly, I am looking to see something like: libraries: =/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/... I think the libstdc++ library in this directory contains the gxx_personality_v0 symbol, but the stdc++ in /usr/lib does not. If gcc was somehow linking against /usr/lib first, it would pull in the libstdc++ from there, and you would end up with the problem above. zebedee ~ # gcc -print-search-dirs install: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/ programs: =/usr/libexec/gcc/i686-pc-linux-gnu/3.4.4/:/usr/libexec/gcc/i686-pc-linux-gnu/3.4.4/:/usr/libexec/gcc/i686-pc-linux-gnu/:/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/:/usr/lib/gcc/i686-pc-linux-gnu/:/usr/libexec/gcc/i686-pc-linux-gnu/3.4.4/:/usr/libexec/gcc/i686-pc-linux-gnu/:/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/:/usr/lib/gcc/i686-pc-linux-gnu/:/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/i686-pc-linux-gnu/3.4.4/:/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ libraries: =/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/:/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/:/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/lib/i686-pc-linux-gnu/3.4.4/:/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/lib/:/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../i686-pc-linux-gnu/3.4.4/:/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../:/lib/i686-pc-linux-gnu/3.4.4/:/lib/:/usr/lib/i686-pc-linux-gnu/3.4.4/:/usr/lib/ There is a lot of convoluted repetition here. Would that make a difference? So you should also check that /usr/lib/gcc/i686-pc-linux-gnu/3.4.4 contains usable libstdc++ files: carcharias lib # ll /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++* -rw-r--r-- 1 root root 1702000 Sep 10 20:22 /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.a -rwxr-xr-x 1 root root 957 Sep 10 20:22 /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.la lrwxrwxrwx 1 root root 18 Oct 9 00:49 /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so - libstdc++.so.6.0.3 lrwxrwxrwx 1 root root 18 Oct 9 00:49 /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so.6 - libstdc++.so.6.0.3 -rwxr-xr-x 1 root root 1077149 Sep 10 20:22 /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so.6.0.3 -rw-r--r-- 1 root root 1798478 Sep 10 20:22 /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++_pic.a All of the above are where they should be on my system. -Richard Thanks Robert -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] using g++ instead of gcc to build abiword
On October 23, 2005 02:39 am Hans-Werner Hilse was like: What you cited then looks like the final linking step. My first guess is that the ebuild doesn't list all dependencies of abiword that it actually has and in your case you're missing one. Check the -lx lines (libraries) if something is obviously not yet installed. I don't really know which library is supposed to provide those missing functions, and searching for them doesn't make lot of sense - I guess new and delete aren't very typical for one certain library... It sounds, from what Richard Fish has said, as if libstdc++ is the culprit, and I do have that installed. I have also been having the same kind of error with some other ebuilds, some of which had also worked fine in the past, which is another reason to believe abiword itself isn't the problem. Couldn't find anything weird beginning -l in the emerge stdout/stderr. Have you got some old .h header files lying around in /usr/local/include? This might totally mess up things, as well as duplicate libraries (of different versions) in /usr/lib and /usr/local/lib. Nope. Nothing like that. Only stuff to do with audio processing and a couple of other obscure things. But both you and Richard agree that multiple installed library versions may be the problem. That certainly sounds plausible to me. Many thanks Robert -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] using g++ instead of gcc to build abiword
On October 22, 2005 11:53 pm Richard Fish was like: I think the libstdc++ library in this directory contains the gxx_personality_v0 symbol, but the stdc++ in /usr/lib does not. If gcc was somehow linking against /usr/lib first, it would pull in the libstdc++ from there, and you would end up with the problem above. So you should also check that /usr/lib/gcc/i686-pc-linux-gnu/3.4.4 contains usable libstdc++ files: Halleluia! I moved libstdc++.so.2.8.0 and libstdc++.so.2.9.0 out of /usr/lib and abiword then compiled and linked cleanly. Do those libraries I moved serve any useful purpose? I thought that libstdc++-v3 was supposed meant to ensure backward compatibility. So why do I have version 2 libraries on my system at all? Should I make a bug report about this? If so, should I say it is a portage problem, a gcc problem or something else? Anyway, many thanks, Richard and others, for helping me (fingers crossed!) solve this problem. Robert -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] using g++ instead of gcc to build abiword
Oops. I meant to refer to releases 2.2.11 and 2.4.1. On October 21, 2005 08:14 pm Robert Persson was like: I just did CC=g++ and I now get a different error, both with 1.2.11 and 1.4.1, namely: -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] using g++ instead of gcc to build abiword - more weirdness
I just tried to re-emerge abiword-2.2.10, the ebuild of which obviously worked successfully last time I emerged it, but this time it fails for the same reason that 2.2.11 and my hand-rolled 2.4.1 keep failing, namely: undefined reference to `__gxx_personality_v0' when I emerge =abiword-2.x.x and cdump.c: In function `int main(int, char**)': cdump.c:99: error: invalid conversion from `void*' to `unsigned char*' when I CC=g++ emerge =abiword-2.x.x. I haven't changed anything recently except for what gets done automatically when I emerge -u world (and then accept most of the config file changes offered by etc-update). Any ideas? Thanks Robert -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
[gentoo-user] emerge -u world won't update kde metapackages
I emerged kde 3.4 using the metapackages (kdebase-meta, kdeaddons-meta etc.). However I now find that emerge -u world fails to update any of the component packages to their latest versions, which should all be 3.4.1(-r2/r3/etc). I end up emerging newer versions individually (e.g. emerge kopete) when I think I have a bug problem, which is obviously a clumsy way to do things. I know I can emerge kdebase-meta kdeaddons-meta kdeblahblahblah to get things up to date, but is there a way to get portage to actually deal with kde nicely like it used to? Many thanks Robert -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] using g++ instead of gcc to build abiword
Thanks Richard I'm glad you pointed out that gcc version thing to me. But it doesn't change anything about compiling abiword unfortunately, with or without using g++. The strange thing is that abiword-2.2.10 (the version I currently have installed) was only released last month sometime. So between then and now something has changed on my system to prevent it compiling properly. If gcc hasn't changed then what on earth could it be? Robert On October 22, 2005 02:00 pm Richard Fish was like: Robert Persson wrote: I just did CC=g++ and I now get a different error, both with 1.2.11 and 1.4.1, namely: cdump.c: In function `int main(int, char**)': cdump.c:99: error: invalid conversion from `void*' to `unsigned char*' Hmm, yes, I guess this is to be expected. C++ is much more strict about type conversions than C, so you can't really compile .c files as C++ and expect good results... I just emerged 2.2.11, using gcc-3.3.4-r1, without any trouble. One thing I noticed though: zebedee ~ # emerge --info Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.5-r2, ... [ebuild R ] sys-devel/gcc-3.4.4-r1 (-altivec) -bootstrap -boundschecking -build +fortran +gcj +gtk -hardened -ip28 (-multilib) -multislot (-n32) (-n64) +nls -nocxx -nopie -nossp +objc -static -vanilla 26,919 kB I think this means that, even though have gcc-3.4.4 merged, you are actually using 3.3.5 to compile things via portage. Take a look at the output of gcc-config -l, and if necessary, change the active profile with gcc-config i686-pc-linux-gnu-3.4.4. Then try emerging again. -Richard -- Robert Persson [EMAIL PROTECTED] YahooMess:ireneshusband AIM:shamanicpolice Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] using g++ instead of gcc to build abiword
make[3]: Leaving directory `/var/tmp/portage/abiword-2.4.1/work/abiword-2.4.1/abi/src/wp/main' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/abiword-2.4.1/work/abiword-2.4.1/abi/src/wp' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/abiword-2.4.1/work/abiword-2.4.1/abi/src' make: *** [all-recursive] Error 1 !!! ERROR: app-office/abiword-2.4.1 failed. !!! Function src_compile, Line 60, Exitcode 2 -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
[gentoo-user] using g++ instead of gcc to build abiword
I have been getting various error messages when I try to build abiword (e.g. undefined reference to `operator delete(void*)'). I get this problem both with abiword-2.2.11 and with a home-rolled ebuild for 2.4.1. A google search suggests that these would be cured if I were to build abiword using g++ instead of gcc. How can I do this in portage? Do I need to emerge anything to be able to use g++? Many thanks Robert -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] using g++ instead of gcc to build abiword
No worries. I ned all the hlep I can get ;-) On October 21, 2005 05:12 pm Peter Gordon was like: Peter Gordon said: Hope that gelps! That should be helps. Sorry about that. Please excuse my apparent lack of caffeine. :o --Peter -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] using g++ instead of gcc to build abiword
I just did CC=g++ and I now get a different error, both with 1.2.11 and 1.4.1, namely: cdump.c: In function `int main(int, char**)': cdump.c:99: error: invalid conversion from `void*' to `unsigned char*' for 1.2.11 and something similar for 1.4.1. zebedee ~ # emerge --info Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.5-r2, 2.6.13-mm1 i686) = System uname: 2.6.13-mm1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.6.13 ccache version 2.3 [disabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox:1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS=x86 AUTOCLEAN=yes CBUILD=i686-pc-linux-gnu CFLAGS=-O3 -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse CHOST=i686-pc-linux-gnu CONFIG_PROTECT=/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control CONFIG_PROTECT_MASK=/etc/gconf /etc/terminfo /etc/env.d CXXFLAGS=-O3 -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse DISTDIR=/usr/portage/distfiles FEATURES=autoconfig distlocks sandbox sfperms strict GENTOO_MIRRORS=http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo; MAKEOPTS=-j3 PKGDIR=/usr/portage/packages PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage PORTDIR_OVERLAY=/usr/local/portage SYNC=rsync://rsync.gentoo.org/gentoo-portage USE=3dfx 3dnow 3dnowext X X509 aac acpi aim alsa apache2 apm arts artsd audiofile avi bash-completion berkdb bindist bitmap-fonts bzlib calendar cdparanoia cdr crypt cups curl dba dga directfb divx4linux doc dvb dvd dvdr eds emacs emboss encode erandom esd fam ffmpeg flac flash foomaticdb fortran freetds gcj gd gdbm gif gimpprint gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal i8x0 icc ieee1394 imagemagick imap imlib innodb insecure-drivers ithreads jack jack-tmpfs java jikes jpeg jpeg2k junit kde kdeenablefinal kerberos krb4 ladcca ladspa ldap libg++ libwww lm_sensors lzo mad maildir matroska md5sum memlimit mikmod mime ming mmx motif mozilla mp3 mpeg multitarget mysql nas ncurses network nls nptl nptlonly objc odbc offensive ogg oggvorbis openal openexr opengl oss pam pcre pdflib perl php png portaudio postgres povray ppds python qt quicktime rdesktop readline real rrdtool rtc samba scanner sdk sdl session slang slp sndfile speex spell sse sse2 ssl svg svga tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vhosts vorbis wmf x86 xanim xine xinerama xml xml2 xmms xprint xscreensaver xv xvid xvmc yahoo zeroconf zlib userland_GNU kernel_linux elibc_glibc Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS zebedee ~ # emerge -pv gcc These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] sys-devel/gcc-3.4.4-r1 (-altivec) -bootstrap -boundschecking -build +fortran +gcj +gtk -hardened -ip28 (-multilib) -multislot (-n32) (-n64) +nls -nocxx -nopie -nossp +objc -static -vanilla 26,919 kB Total size of downloads: 26,919 kB On October 21, 2005 05:14 pm Richard Fish was like: Also, gcc will do g++ automatically if the source files are named correctly (.cxx, .cc, or .cpp). So the CC= trick should really not be necessary. But rather than editing any files, you can try: CC=g++ emerge abiword If that doesn't work, I suggest posting the output of emerge --info and emerge --verbose --pretend gcc. -Richard -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
[gentoo-user] mmx use flag on Pentium 4
Should I enable the mmx use flag when I am compiling stuff (e.g. mplayer) for a pentium 4? I'm confused because I've kind of got the idea that mmx is obsolete, but I'm not clear exactly how obsolete. Many thanks Robert -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] running mldonkey with umask 0002
On September 20, 2005 03:03 am Holly Bostick was like: Frankly, I avoided the entire 'user p2p' issue by editing /etc/conf.d/mldonkey: # owner of mlnet process (don't change, must be existing) USER=me # home dir of owner (don't change, must be existing) BASEDIR=/home/me I know it probably wouldn't do too much harm to run mldonkey as user robert because I am probably not a juicy enough target for your hackers and whatnot, but I do feel reassured by the extra security and would rather not give it up. Also, there is a more general issue here, to do with the Gentoo way of calling the start-stop-daemon script in the init.d scripts, which seems to make it impossible to set umask within those init.d scripts. AFAIK some other distros, such as Mandrake, construct their init.d scripts differently and therefore avoid this problem. The inclusion of a --umask option in start-stop-daemon would obviously solve this. I just want to check that there is no workaround before I file an enhancement request in the bugzilla. -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
[gentoo-user] running mldonkey with umask 0002
I would like to run mldonkey with umask 0002. However I cannot work out how to do this. The Gentoo version of /etc/init.d/mldonkey calls start-stop-daemon, but start-stop-daemon doesn't have a umask option. As mldonkey is the only program that runs as user p2p, I would be happy if I could get all programs launched by p2p to run with umask 0002, but I can't work out how to do that either. Can anyone help me with this? Many thanks Robert -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list
[gentoo-user] kde-3.4.0/3.4.1 mess
A couple of weeks ago I added all the kde-3.4.1 packages to package.keywords and then ran emerge -u world and everything updated and ran fine. Today I tried to emerge -u world and I got [blocks B ] =kde-base/kdeartwork-icewm-themes-3.4* (is blocking kde-base/kdeartwork-3.4.1) ... blah blah blah ... [blocks B ] =kde-base/renamedlg-images-3.4* (is blocking kde-base/kdeaddons-3.4.1) for about 150 kde packages altogether. equery tells me that I have version 3.4.1 of each individual kde package installed, but that I have version 3.4.0 of kde itself and that I don't have kdeartwork, kdeaddons, kdebase etc. installed. How did I get in this mess and how (without recompiling all of kde) do I get out of it? Thanks Robert -- Robert Persson Don't use nuclear weapons to troubleshoot faults. (US Air Force Instruction 91-111, 1 Oct 1997) -- gentoo-user@gentoo.org mailing list