Re: [gentoo-user] Sync'ed my ~x86 system yesterday and now resolver stopped working
Timur Aydin writes: > Hi, > > I have synced my ~x86 system yesterday and after it completed, the > resolver doesn't work for some programs anymore. For example, ping > says "unknown host name". It doesn't even contact the dns > server, which is running on the same host. But dig works > fine. Also, using the IP address directly, I can access the internet. > > I am suspecting that the new glibc 2.10 is causing this. Anybody else > having this issue? I had this issue a couple of weeks ago. I think it was the upgrade to net-dns/openresolv-3.3.2 which was responsible. The solution was to edit etc/resolvconf.conf and uncomment the line name_servers=127.0.0.1
Re: [gentoo-user] Optimizations for SSD netbook
On Fri, 29 May 2009 17:24:06 -0700 Grant wrote: > Am I missing anything significant? I've read that it's good to set up > /tmp in RAM. How can I do that? In /etc/fstab I have: > > shm /dev/shm tmpfs nodev,nosuid,noexec > > Is that related? Only in a way that it is tmpfs as well. /tmp is rarely used and then mostly for stuff like different IPC pointers like unix sockets, which lay no burden on any disk. I've seen some suggestions of mounting /var/tmp/portage as tmpfs hovewer, but the logic of it escapes me: you loose persistency for nothing - any free memory will be used for FS cache anyway, so if emerge is working on these files they'll be 99.9% in-memory anyway. I only found it useful for RAM-challenged machines which can't spare any megabytes for FS cache so I'm mostly curious about it's application in home-like environment, as well. -- Mike Kazantsev // fraggod.net signature.asc Description: PGP signature
Re: [gentoo-user] [ot] no more inodes
On Fri, 29 May 2009 19:39:09 -0600 Maxim Wexler wrote: > Just got back from Circuit City or whatever it's called with a 16G SD > card and I'm steeling myself for the big task ahead. Just what do you > have under root? How did you format the rest? ext4 or reiserfs for root. reiserfs for portage and tmp (usually used by ccache). I choose reiser here because it has the best small-file performance, can use tail packing to save space on working with small files and you never ever have to worry about inode shortage. ccache, portage and tmp/portage are thousands of small files. On this laptop: /dev/mapper/aux-root on / type reiserfs (rw,noatime,nodiratime,acl) [ 5.2G / 10G ] /dev/sda1 on /boot type ext3 (rw,noatime) [ 114M / 183M ] /dev/mapper/prime-varz on /var type ext4 (rw,noatime,nodiratime) [ 519M / 2G ] /dev/mapper/prime-core on /home type ext4 (rw,noatime,nodiratime) [ 4.8G / 10G ] /dev/mapper/aux-extent on /mnt/extent type ext4 (rw,noatime,nodiratime) [ 6.6G / 10G ] /dev/mapper/aux-stash on /mnt/stash type reiserfs (rw,nosuid,nodev,noatime,nodiratime) [ 8G / 30G ] /dev/mapper/aux-tmp on /var/tmp type reiserfs (rw,noatime,nodiratime) [ 3G / 10G ] /dev/mapper/aux-portage on /usr/portage type reiserfs (rw,noatime,nodiratime) [ 800M / 3G ] /dev/mapper/aux-iwd on /mnt/stash/wine/iwd type xfs (rw,noatime) [ 2.2G / 5G ] /dev/mapper/aux-fallout on /mnt/stash/wine/fallout type xfs (rw,noatime) [ 600M / 5G ] "prime" is an LVM group on encrypted (dmcrypt) partition (/root and /etc repository are symlinked to /home). /opt and /usr/games are symlinked to /mnt/extent/, since they are quite heavy. xfs lvs are case-insensitive, so it allows to use any native linux tools (like WeiDU) on wine-accessed files, without having to convert their case. LVM is a sorta godsend for me here ;) -- Mike Kazantsev // fraggod.net signature.asc Description: PGP signature
Re: [gentoo-user] [ot] no more inodes
> I found the best way to deal with the Eee 900's two drives was to create > a small root partition (I used 200M) and swap on sda. Then make the rest > of sda and all of sdb into an LVM volume group. I still use ext3 for /, > but it contains so little that inodes are not an issue. You definitely > want to get /usr/portage, $PORTAGE_TMPDIR and $DISTDIR off the root > partition. Just got back from Circuit City or whatever it's called with a 16G SD card and I'm steeling myself for the big task ahead. Just what do you have under root? How did you format the rest? Maxim
[gentoo-user] Optimizations for SSD netbook
My girlfriend is at her wit's end with her SSD netbook and is now hogging my laptop. Her netbook has 1GB RAM that could be upgraded to 1.5GB, but I've read that it's a pain. It already runs xfce4, and I've just made these optimizations based on past discussions: 1. CFLAGS="-march=prescott -0s -pipe -fomit-frame-pointer -ssse3" 2. added elevator=noop as a boot parameter 3. disabled DRI to save 32MB RAM 4. removed the swap partition from /etc/fstab Am I missing anything significant? I've read that it's good to set up /tmp in RAM. How can I do that? In /etc/fstab I have: shm /dev/shm tmpfs nodev,nosuid,noexec Is that related? - Grant
Re: [gentoo-user] Sync'ed my ~x86 system yesterday and now resolver stopped working
On Thu, 28 May 2009 22:11:02 +0300 Timur Aydin wrote: > I have synced my ~x86 system yesterday and after it completed, the > resolver doesn't work for some programs anymore. For example, ping > says "unknown host name". It doesn't even contact the dns > server, which is running on the same host. But dig works > fine. Also, using the IP address directly, I can access the internet. > > I am suspecting that the new glibc 2.10 is causing this. Anybody else > having this issue? Synced two ~x86 today and one more two days ago, but can't confirm the issue - everything seem to be working fine. All three are using nscd (part of glibc) to cache glibc requests, but shutting it down doesn't seem to matter. -- Mike Kazantsev // fraggod.net signature.asc Description: PGP signature
[gentoo-user] How to feed the watchdog?
Hi, I recently bought a MSI GM-IM45 [1] mainboard which includes a (hardware) watchdog timer. Now the problem is that I don't know how to prevent it from resetting the system. There seem to be two possible ways but I'm unable to make either one of them work... 1. There is a BIOS setting to enable/disable the watchdog: When I set it to a specific time it resets after the set interval, but when I disable the watchdog the reset still occurs (I don't know the exact interval yet and I'm unsure if it stays the same). So no luck here. 2. Feed the dog: I don't know what kind of watchdog it is so I don't know which driver I should use. I tried a live CD where I modprobed each of the watchdog driver modules (one at a time) and then wanted to prevent it from resetting with a looped "echo 1 > /dev/watchdog" with no success. There is some information on the watchdog timer in the user manual [2] on page 64 f. including some assembler code. But I'm not able to get something useful out of it. Any clue on this would be very appreciated, especially: - Why the BIOS setting won't work as expected - How to find out which watchdog chip it is - If the "echo 1" should work when I've found the right driver regards Roman [1] http://eu.msi.com/index.php?func=proddesc&maincat_no=388&prod_no=1526 [2] http://eu.msi.com/index.php?func=downloadfile&dno=8850&type=manual
[gentoo-user] Sync'ed my ~x86 system yesterday and now resolver stopped working
Hi, I have synced my ~x86 system yesterday and after it completed, the resolver doesn't work for some programs anymore. For example, ping says "unknown host name". It doesn't even contact the dns server, which is running on the same host. But dig works fine. Also, using the IP address directly, I can access the internet. I am suspecting that the new glibc 2.10 is causing this. Anybody else having this issue? -- Timur
Re: [gentoo-user] [ot] no more inodes
On Fri, 29 May 2009 11:32:58 -0600, Maxim Wexler wrote: > tmpfs/tmptmpfs defaults,noatime,mode=1777 0 0 > > Does this have anything to do with the inode issue? Only that it reduces the number of inodes needed by mounting/tmp on a ramfs. > What's the best fs for a 4G SSD? I picked ext3 because of another eee > forum post. I found the best way to deal with the Eee 900's two drives was to create a small root partition (I used 200M) and swap on sda. Then make the rest of sda and all of sdb into an LVM volume group. I still use ext3 for /, but it contains so little that inodes are not an issue. You definitely want to get /usr/portage, $PORTAGE_TMPDIR and $DISTDIR off the root partition. -- Neil Bothwick Life is just one BIG beta test cycle signature.asc Description: PGP signature
Re: [gentoo-user] [ot] no more inodes
Maxim Wexler wrote: > Ok, thanks everybody, getting ready to dive in and fix this thing. Two > more questions please: > > I modified the bottom of /etc/fstab to look like this according to a > post in the eee forum: > ... > #shm/dev/shmtmpfsnodev,sosuid,noexec 0 0 > tmpfs/tmptmpfs defaults,noatime,mode=1777 0 0 > > Does this have anything to do with the inode issue? > > What's the best fs for a 4G SSD? I picked ext3 because of another eee > forum post. > > Maxim > > Since I have a old install, maybe the new fstabs don't have this info. This is what is in mine: # NOTE: The next line is critical for boot! none/procprocdefaults0 0 # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for # POSIX shared memory (shm_open, shm_unlink). # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will # use almost no memory if not populated with files) # Adding the following line to /etc/fstab should take care of this: none/dev/shmtmpfsdefaults0 0 >From that I gather that the system won't boot without /proc and that glibc requires /dev/shm for some reason or other. I'm not sure why you want to remove something that appears to be required. Maybe you have something different that doesn't need this? Hope that helps. Dale :-) :-)
Re: [gentoo-user] [ot] no more inodes
Ok, thanks everybody, getting ready to dive in and fix this thing. Two more questions please: I modified the bottom of /etc/fstab to look like this according to a post in the eee forum: ... #shm/dev/shmtmpfsnodev,sosuid,noexec 0 0 tmpfs/tmptmpfs defaults,noatime,mode=1777 0 0 Does this have anything to do with the inode issue? What's the best fs for a 4G SSD? I picked ext3 because of another eee forum post. Maxim On 5/28/09, Volker Armin Hemmann wrote: > On Donnerstag 28 Mai 2009, Florian Philipp wrote: >> Maxim Wexler schrieb: >> > Hi group, >> > >> > For a netbook 4G SSD. Attempting to install mozilla-firefox. jdk >> > fails: No space left on device. >> > >> > df -i reveals no more inodes. I reboot thinking this will help. Wrong. >> > Lots of 'No space left on device messages' with reference to >> > /var/lib/iinit.d/* in the boot console. And this gem: '*ERROR: local >> > is already starting'. And: '*ERROR: netmount is already starting'. >> > >> > df -i >> > >> > FilesytemInodes Iused IFree IUse% Mounted on >> > /dev/sda2 244320 244301 19 100% / >> > udev 128448 612 1278361% /dev >> > /dev/sda1 8032 39 79931% /boot >> > tmpfs 128448 3 1 284451% /tmp >> > >> > FYI sda2 is formatted ext3. >> > >> > I know 4G is pretty small by today's standards but apart from xorg and >> > firefox everything else on this unit is command-line type utilities >> > and such. That can't account for 4G already. >> > >> > Maxim >> >> That you run out of inodes doesn't mean that you run out of physical (or >> logical) space on your disk. It just means that you run out of what you >> could call file descriptors. >> >> There is exactly one inode per file which stores meta information about >> this file. Ext2-4 have a fixed amount of inodes set when you format the >> partition. Reiserfs and JFS create them on the fly and therefore don't >> have problems with running out of inodes or wasting space on unused ones. >> >> Most likely you have a bunch of very small files on our disk, for >> example the portage tree. These don't consume much space but a lot of >> inodes. >> >> My advice: Save everything to another disk and then reformat the >> partition with a higher amount of inodes. If you use ext2, format it with >> >> mke2fs -N 732960 /dev/sda2 >> >> This will create a file system with three times as many indoes as you >> had before. >> >> Hope this helps. > > or don't use extX. > >
Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"
Stroller writes: But, surely "-march=" also instructs gcc to support the additional instructions. Suggest you re-read Daniel's post that I was replying to. What's the difference between supporting the "certain set of instructions" with "-march=" and doing so with USEs? One is for telling gcc how to compile C code, the other is for telling packages what inline assembler code is legal. In the case of mplayer, just setting mmx/sse/etc does absolutely nothing. You also have to enable custom-cpuopts, which then tells mplayer to ignore its own build-time detection of CPU features and only use the ones you tell it. Either way, if mplayer does it automatically or you pass in USE flags, all they do is enable selected asm files in the codecs that use those opcodes. --K
Re: [gentoo-user] Livemix
Mark, thanks, Alex. On Fri, May 29, 2009 at 3:53 PM, Mark Knecht wrote: > On Fri, May 29, 2009 at 5:34 AM, alex stone wrote: >> Not sure if this should be here, or in some sort of Pro-overlay list, >> but here goes: >> >> Could the pro-overlay team consider adding Livemix to the suite of >> pro-audio programmes? >> It's a highly useful mixer, but i've been stumped at trying to get it >> stable from source, and working within Gentoo. >> >> http://codingteam.net/project/livemix >> >> Alex. >> >> >> >> -- >> www.openoctave.org >> >> > > Read, join, participate: > > http://proaudio.tuxfamily.org/wiki/index.php?title=Main_Page > > -- www.openoctave.org
Re: [gentoo-user] Re: x11-base/xorg-server-1.5.3-r5 with x11-drivers/ati-drivers-8.552-r2 -- file conflict
On Wed, May 27, 2009 at 10:07 PM, Adam Carter wrote: >> >> For me, >> >> libdri.so is a symlink to >> /usr/lib64/opengl/ati/extensions/libdri.so >> >> libglx.so is a symlink to >> /usr/lib64/opengl/ati/extensions/libglx.so (since you havent >> run the eselect to repoint it yet, it will be set to >> /usr/lib64/opengl/xorg-x11/extensions/libglx.so). >> >> >> >> Can you tell me what package owns those files? I'm not having any >> luck looking them up on my system. > > Sorry Kevin, I wasn't paying attention and thought you were using > ati-drivers/flgrx package, which is where /usr/lib64/opengl/ati comes from. > Since you're not using flgrx I would expect you would use > /usr/lib/xorg/modules/extensions/libdri.so and > /usr/lib/xorg/modules/extensions/libdri.so. > > Do those files exist? > > The two filenames you give appear identical. The directory contains two broken symlinks and some files: -rwxr-xr-x 1 root root 17836 2009-05-25 09:04 libdbe.so lrwxrwxrwx 1 root root 47 2009-05-25 09:15 libdri.so -> //usr//lib/opengl/xorg-x11/extensions/libdri.so -rwxr-xr-x 1 root root 125416 2009-05-25 09:04 libextmod.so lrwxrwxrwx 1 root root 47 2009-05-25 09:15 libglx.so -> //usr//lib/opengl/xorg-x11/extensions/libglx.so -rwxr-xr-x 1 root root 26024 2009-05-25 09:04 librecord.so -rwxr-xr-x 1 root root 36428 2009-05-25 09:04 libxtrap.so drwxrwxrwt 2 root root 4096 2009-05-25 11:10 tmp drwxr-xr-x 5 root root 4096 2009-05-25 11:10 var The directory those symlinks point to is empty. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Livemix
On Fri, May 29, 2009 at 5:34 AM, alex stone wrote: > Not sure if this should be here, or in some sort of Pro-overlay list, > but here goes: > > Could the pro-overlay team consider adding Livemix to the suite of > pro-audio programmes? > It's a highly useful mixer, but i've been stumped at trying to get it > stable from source, and working within Gentoo. > > http://codingteam.net/project/livemix > > Alex. > > > > -- > www.openoctave.org > > Read, join, participate: http://proaudio.tuxfamily.org/wiki/index.php?title=Main_Page
[gentoo-user] Livemix
Not sure if this should be here, or in some sort of Pro-overlay list, but here goes: Could the pro-overlay team consider adding Livemix to the suite of pro-audio programmes? It's a highly useful mixer, but i've been stumped at trying to get it stable from source, and working within Gentoo. http://codingteam.net/project/livemix Alex. -- www.openoctave.org
Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"
On Thu, 28 May 2009 21:19:37 +0100, Stroller wrote: > What's the difference between supporting the "certain set of > instructions" with "-march=" and doing so with USEs? -march determines how the code is compiled. USE determines which code is compiled. -- Neil Bothwick Runtime Error: Out of funny taglines! signature.asc Description: PGP signature