[gentoo-user] problem with gimp, firefox and inkscape
Hi, I've a strange problem with some of my applications. the problem is when I want open a file in inkscape or gimp, or when I want to select a file in firefox to attach the select file appears and then the whole application crashes with this error: Emergency save completed. Inkscape will close now. If you can reproduce this crash, please file a bug at www.inkscape.org with a detailed description of the steps leading to the crash, so we can fix it. Segmentation fault or gimp: (script-fu:24851): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error Segmentation fault I've also done two sync and also deep-new_use update and tried revdev- rebuild which they did nothing. I also ran a memtest to check if faulty memory is the reason. But all the test passed without any problem. I don't have any problem with kde applications and also OpenOffice or Vlc. It seems that it is a gtk problem. I can open files when I pass them as a command line argument. I've opened a bug few days ago. But it seem that I'm the only one that have this problem. No one made any comment or voted for my bug. this is getting a little bit annoying. Specially in Firefox. https://bugs.gentoo.org/show_bug.cgi?id=287709 Would anyone give me a clue what the problem is? Best Regards Platoali
Re: [gentoo-user] Resizing ext3 Partition
On Do shanbe 14 Ordibehesht 1388 18:22:19 Neil Bothwick wrote: On Mon, 4 May 2009 12:56:05 +, Marco wrote: I am new to gentoo and so far I really like it. But now, I am running out of disk space on my root partition (10 GB), although I have a rather small system with fluxbox (no KDE, GNOME,...). Thought gentoo would not waste my resources that much. Now I am thinking about how to resize my ext3 partitions. I'd look to see what is filling up the root partition, 10GB should be more than enough. Try to remount route on another directory and check which directory is using so much. I had a similar problem asked this a couple of month before on this mailing list. They gave this commands: #mount -o bind / /mnt/root #du -max-dep=1 bests
[gentoo-user] Re: df and du difference
Alan McKinnon wrote: On Sunday 17 August 2008 01:18:21 Paul Colquhoun wrote: Actually, there is one more way to hide a file from du If there is a file in the /var directory *BEFORE* the /var partition is mounted onto the directory, then du won't find it, but df will know about the space it is using. You will probably need to boot from a live CD of some sort to be able to umount the partitions and check the underlying directory, but it might be worth it there is still space unaccounted for after a reboot. There's a much easier way. As root: mount -o bind / /path/to/some/arb/dir see man mount Thank you very much. That was the problem. some files have been hidden in /mnt/backup. I deleted them and problem is solved. Thanks again Platoali
[gentoo-user] Re: df and du difference
Sebastian Günther wrote: df shows you the available space on the fs and du the size of the files inside it. The difference is caused by the journal and the 5% reserved for the superuser, which du does not take in account Do others have this kind of inconsistancy on their systems? I would think everyone, who does not have changed the default settings from mkfs.ext3. I've another question. On my server root is 80% full and last weed it was 98% full. if it get to 100% , How can I delete or flush Journals to free some space? best wishes Platoali
[gentoo-user] Re: df and du difference
Sebastian Günther wrote: That is what the 5% are for, as you saw there where stated as not available but they are for the superuser for such things. So there is no way to free some space from journals. BTW: Why is your root so full, or didn't you partionate your disk? I did not partitioned it myself. This server is inherited to me from last admin. ~# df -h FilesystemSize Used Avail Use% Mounted on /dev/sda1 19G 14G 3.5G 81% / varrun2.0G 76K 2.0G 1% /var/run varlock 2.0G 0 2.0G 0% /var/lock udev 2.0G 88K 2.0G 1% /dev devshm2.0G 0 2.0G 0% /dev/shm /dev/sdb5 93G 59G 27G 69% /mnt/backup /dev/mapper/main-usr 15G 601M 14G 5% /usr /dev/mapper/main-var 30G 1.7G 27G 6% /var /dev/mapper/main-db69G 9.5G 56G 15% /var/lib/postgresql /dev/sdc1 68G 35G 30G 55% /home/archive ~# du --max-dep 1 -c -hx / 4.2M/etc 36M /tftpboot 16K /lost+found 3.8G/tmp 18M /boot 1.4G/home 8.0K/mnt 12K /media 254M/root 4.0K/var 4.0K/srv 0 /sys 4.0K/initrd 77M /lib 0 /proc 4.0K/opt 4.0K/usr 6.4M/sbin 3.5M/bin 0 /dev 5.5G/ 5.5Gtotal Last week, I was alarmed that / root is 98 percent full. but I could not find any reason why server is full. and a restart freed 8 gig of space. but now it is again getting full slowly. Any comment? best wishes Platoali
[gentoo-user] Re: df and du difference
Ward Poelmans wrote: You can find those files with lsof | grep deleted. Try closing the process with deleted files and suddenly your du en df will give the same free diskspace. Ofcourse, a reboot does also the trick. lsof | grep -i deleted ... /dev/console (deleted) mysqld 5679mysql5u REG8,1 01009860 /tmp/iby8kN8L (deleted) mysqld 5679mysql6u REG8,1 01009861 /tmp/ib3OyWjn (deleted) mysqld 5679mysql7u REG8,1 01009862 /tmp/ibCqa6uY (deleted) mysqld 5679mysql8u REG8,1 01009863 /tmp/ibnDCmHz (deleted) mysqld 5679mysql 12u REG8,1 01009864 /tmp/ibaQcs5a (deleted) ... Nothing so big. just about 20 lines and the biggest ones are these. This server hosts accounting software for an ISP: just a couple python scripts, apache with PHP and a small Postgresql database. Bests Platoali t
[gentoo-user] Re: df and du difference
Sebastian Günther wrote: OK here is a diference to big to be normal between df and du. 14GB against 5.5GB We are definetly missing something... Yes, that is the strange thing. Last week, I was alarmed that / root is 98 percent full. but I could not find any reason why server is full. and a restart freed 8 gig of space. but now it is again getting full slowly. That's /tmp: try to watch, what actually is writing in it. I will add a new hard and mount /tmp to it. I thing that is them most sensible solution. Thanks Platoali
[gentoo-user] df and du difference
Hi, I've a strange problem with my root partion: # du -hxs / 188M/ and # du -hx --max-dep=1 / 24M /root 4.0K/cdrom 19M /etc 76K /.nvclock 12K /media 100K/chroot 4.0K/home 4.0K/usr 1.9M/package 5.5M/bin 4.0K/windows2 125M/lib 4.0K/service 4.0K/opt 4.0K/var 4.0K/command 12M /sbin 4.0K/tmp 0 /dev 1.3M/lost+found 0 /proc 4.0K/boot 4.0K/mnt 4.0K/windows 40K /.subversion 0 /sys 4.0K/boot2 188M/ but when I run df: df -h FilesystemSize Used Avail Use% Mounted on /dev/sda3 2.0G 640M 1.3G 35% / . the difference between du and df is about 640 - 188 = 452 MB. and df is showing that my root is full 2.4 times more than du. which one is the correct one? I've another server that this difference is about 7 GiG and on that server root is 80% full. The type of partition is ext3. Do others have this kind of inconsistancy on their systems? Best regards Platoali
[gentoo-user] problem configuring wireless lan
Hi, I've a problem configuring my wireless interface. I usually connect to two access points. One located at my home and another one at my work. The problem is that I should change my /etc/conf.d/net every time to connect the them. here is my config: --- preup() { if [[ ${IFACE} == eth1 ]]; then /sbin/ifconfig eth1 up echo 0\ /sys/devices/pci:00/:00:1c.1/:06:00.0/rf_kill /sbin/iwconfig eth1 txpower on /sbin/ifconfig eth1 up sleep 3 fi return 0 } modules=(iwconfig ) #essid_eth1=any essid_eth1=Home_ali preferred_aps_wlan1=( Home_ali P-P ) associate_order=preferredonly key_Home_ali=s:KeyKeyKey config_Home_ali=( dhcp ) config_P_P=( 192.168.2.6 netmask 255.255.240.0 ) routes_P_P=( default via 192.168.1.10 ) dns_servers_P_P=( 127.0.0.1 4.2.2.4 ) When I set essid_eth1 to any, It can not detect the ESSID automatically and connect to it, and I should edit the config file manually, and the strange thing is when I specifically set my essid in the config it can successfully connect to any of them. and I can manually scan the access points by iwlist: --- localhost ISP # iwconfig eth1 txpower on localhost ISP # iwlist eth1 scan eth1 Scan completed : Cell 01 - Address: 00:30:4F:4F:E8:EA ESSID:Home_ali Protocol:IEEE 802.11bg Mode:Master Frequency:2.462 GHz (Channel 11) Encryption key:on Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s 48 Mb/s; 54 Mb/s Quality=79/100 Signal level=-55 dBm Noise level=-55 dBm Extra: Last beacon: 1199ms ago here is the error, when I start the interface by init.d script: -- localhost ~ # /etc/init.d/net.eth1 start * Service net.eth1 starting Error for wireless request Set Tx Power (8B27) : GET failed on device eth1 ; Resource temporarily unavailable. Failed to configure wireless for eth1 [ !! ] * ERROR: net.eth1 failed to start --- here is what I get from dmesg: -- ipw3945: Detected geography ABG (11 802.11bg channels, 13 802.11a channels) ipw3945: Error sending SCAN_ABORT_CMD: time out after 500ms. -- Does anyone have any clue about this? I'm using the latest driver form: http://linuxwireless.org/en/users/Download. Best regards Platoali
[gentoo-user] Re: move instalation from one system to another one.
On Jumee 11 Mordad 1387, Volker Armin Hemmann wrote: On Freitag, 1. August 2008, ABCD wrote: Volker Armin Hemmann wrote: not anymore. system was taken out of world. http://marc.info/?l=gentoo-devm=121607297615623w=2 That is only true if you are using =sys-apps/portage-2.2_alpha (that is, the current ~arch version) looks like. Thanks everyone for comments. I'm writing this on my new laptop. I rebuilt the system on old laptop with CFLAGS=-march=i686 -O2 -pipe before the moving the binary to the new laptop. I've a usable but unstable Desktop on the new system. Some application like stella don't load and others crashing at random times. I'm sure the system will be stable when I recompile all the other packages with the new flags. Thanks anyone Platoali
[gentoo-user] move instalation from one system to another one.
Hi, My old laptop is dying. I'm going to move my gentoo installation to a new one. The old one was an old Pentium-M and the new one is core due. I want to to tar the root and boot and .. files from the old one to untar it to the new one. I want to know, What packages needs to rebuild (with What flags?) in the old one so that I would have a basic runable system in the new that I can rebuild all the packages on the new system with the new FLAGS? Did anyone do this in the past? Have anyone any experiences regarding this issue? Any comments? suggestions? This is my old laptop make.conf CHOST=i686-pc-linux-gnu CFLAGS=-march=pentium-m -O2 -pipe CXXFLAGS=${CFLAGS} MAKEOPTS=-j2 Best regards Ali Yazdi
Re: [gentoo-user] Ati or Nvida
On Wed, Jun 18, 2008 at 5:21 PM, Robin Atwood [EMAIL PROTECTED] wrote: On Tuesday 17 Jun 2008, Platoali wrote: And I want to know which one is better supported in Linux kernel regardless of how much open/free the drivers is. I'm currently thinking between Nvidia Quadro fx 1700 and Ati firegl 5600. Does anyone have any comment about them? I don't know if this helps but my laptop has an Mobility Radeon 9600 M10 chip which I use the x11-base/x11-drm drivers with and it's fine. I think it's only 2D though, i.e. googlemaps is unusable. However, everything is open-source. HTH -Robin -- -- Robin Atwood, My main use for this graphic card is blender and as many know, all the interface is written in OpenGL, so any graphic card without 3D is useless for me. I don't think the new generation of integrated Gpu/Cpu works for professional graphic applications. I think Ati and Nvidia will have at least their pro customers in future for their high end graphic cards. -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Ati or Nvida
Well, last night the graphic card of my laptop got broken. So I'm considering to replace it with a workstation for some graphic applications (Mainly blender and gimp.) I need 3d acceleration, and my poor laptop was rendering for hours to get my job done. So I decide to buy a workstation instead a laptop. I want to ask, which graphic cards are better supported in Linux. I know that ATI have freed or in the process of freeing their graphic cards driver. But I did not have any good memory from my previous experience with ATI. My previous card was ATI radeon 9600m and it never worked the way it had to until broken. I want to know, what is the current status of ATI drivers in Linux? Does the problems have been solved? Can they compete with Nvidia? And I want to know which one is better supported in Linux kernel regardless of how much open/free the drivers is. I'm currently thinking between Nvidia Quadro fx 1700 and Ati firegl 5600. Does anyone have any comment about them? Best regards Platoali -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Ati or Nvida
On Tue, Jun 17, 2008 at 8:48 PM, Hemmann, Volker Armin [EMAIL PROTECTED] wrote: Hi, if you want to make a political statement: buy ATI if you want to use the card with almost no problems and good performance: buy nvidia. Yes, ATI has released docu. Yes, everybody is working on the drivers. But the open ones only do 2d so far and the closed ones are horrible. Does this mean that AMD have not released 3d parts of the drivers? Do they plan to release the 3d parts? There are problem threads on nvnews. But its a support forum most people using nvidia don't have any problems. Well, I've search a little bit, and found that Ati firegl 5600 beats Quadro fx 1700 in every way. according to this: http://www.tomshardware.com/charts/graphics-cards/specapc-3ds-max-9-graphics,117.html Although all tests have been run on windows. It seems that Ati have better hardware and it is also going to be more open source friendly in near future. I'm planning to use this workstation for 3 or 4 years or even more. So I'm thinking to risk a little and bet on AMD , and hope that they deserve my hard earned money. but I'm not sure yet. I need to do a little more search about AMD plans, and current development status of ATI driver. -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Re: how to move windows partition to be begining of hard?
On Shanbe 19 Khordad 1386 14:25, Mick wrote: On Tuesday 05 June 2007 13:05, Randy Barlow wrote: gpgkeys: key ED2A35C5A17F791F not found on keyserver Platoali wrote: I have a box that has a 4GB fat32 partition in the middle of hard. I want to move this partition to the end or begining of hard, so I can create bigger partitions. How can I do this without losing the data in this partition? I know that softwares like Partition magick can do this without any problem. Is there any opensource competitor in linux world? Have a look at qtparted. I haven't personally used it for such a task, but I think it may be capable of something like that. It's available on the Knoppix CD by default, which is good if you need to have root unmounted... Not sure if the OP has already hosed his data. The *parted tools can shift the start and, or end of a partition, but they do not move data. I have hosed partitions in the part using gparted because I shifted the beginning of the partition (and thus overwritten the partition boot sector). My advice is to use partition image or Norton Ghost to create an image of the data in your partition. Then, use fdisk to delete old partitions, create new and mkfs type to format these. Finally, use partimage again to dump the imaged data into a partition of your choice. Good luck. Thank you very much all you peaple for your recomandations. I acctually solved my problem by dd. I just create a new partition in the begining of my hard and then copy the old one. I did not need any other partitions data because I would format them all for the new gentoo system. Its amazing how small programs such as dd can solve problems like this. Best regards Platoali -- [EMAIL PROTECTED] mailing list
[gentoo-user] how to move windows partition to be begining of hard?
Hi I have a box that has a 4GB fat32 partition in the middle of hard. I want to move this partition to the end or begining of hard, so I can create bigger partitions. How can I do this without losing the data in this partition? I know that softwares like Partition magick can do this without any problem. Is there any opensource competitor in linux world? Thank you very much for you answeres -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: how to move windows partition to be begining of hard?
Thank you very much. On Se shanbe 15 Khordad 1386 15:33, Galevsky wrote: Ya there is. Have a look at GParted, and burn this useful live-cd. http://gparted.sourceforge.net/index.php Gal 2007/6/5, Platoali [EMAIL PROTECTED]: Hi I have a box that has a 4GB fat32 partition in the middle of hard. I want to move this partition to the end or begining of hard, so I can create bigger partitions. How can I do this without losing the data in this partition? I know that softwares like Partition magick can do this without any problem. Is there any opensource competitor in linux world? Thank you very much for you answeres -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: SSHD running under Linux, SSH running under Windoz
You should install X server on windows. Cygwin is very good solution. Try this: http://x.cygwin.com/ Best On 5/29/06, Rafael Fernández López [EMAIL PROTECTED] wrote: Hi, Sorry you all because of the Windoze usage. I have a SSHD server running in my computer at home, and it does work really well (as the apache server that I have too). I've configured SSHD server to forward X11, so when I do connect from another computer that is running Linux (with X11) there is no problem, if I run xclock for example, xclock is showed. What I'd like to know is how to do this same thing if the ssh client is running under Windows, is there any possibility of forwarding X11 in it? Thank you, Rafael Fernández López. -- A la vista de suficientes ojos todos los errores resultan evidentes - Linus Torvalds -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: SSHD running under Linux, SSH running under Windoz
Sorry, For answering repeatedly. My mail cleint did not receive the others posts. So I was thinking I'm the first one. Sorry for bothering again. Best On 5/29/06, Platoali [EMAIL PROTECTED] wrote: You should install X server on windows. Cygwin is very good solution. Try this: http://x.cygwin.com/ Best On 5/29/06, Rafael Fernández López [EMAIL PROTECTED] wrote: Hi, Sorry you all because of the Windoze usage. I have a SSHD server running in my computer at home, and it does work really well (as the apache server that I have too). I've configured SSHD server to forward X11, so when I do connect from another computer that is running Linux (with X11) there is no problem, if I run xclock for example, xclock is showed. What I'd like to know is how to do this same thing if the ssh client is running under Windows, is there any possibility of forwarding X11 in it? Thank you, Rafael Fernández López. -- A la vista de suficientes ojos todos los errores resultan evidentes - Linus Torvalds -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list