Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3
On 2012-01-09 00:48, Walter Dnes wrote: Hm... if you didn't compile it in you would have needed an initrd; didn't think of that... :-( * with only one binary blob. it just works * multiple blobs should not be included in the kernel, otherwise it gets confused. If multiple blobs are included, there's a fallback mechanism that uses udev to figure out exactly which graphics chip the laptop has, and which of the built-in blobs to use. Well, if udev has the database that connects the blob to the chip then yes it does sounds likely but still a bit strange... I also have only one blob (I dislike waste so I only put the correct blob in there). :-) So my laptop is now entirely udev-free. Congratulations! :-D PS. I will dive into this and test mdev soon-ish (when I can find the time). Best regards Peter K
Re: [gentoo-user] Question kernel upgrades for dracut users
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09.01.2012 02:47, Dale wrote: Hinnerk van Bruinehsen wrote: On 09.01.2012 01:34, Dale wrote: Howdy, I'm about to upgrade my kernel. Do I have to update the init thingy too or should it work without updating with each kernel upgrade? I would be going from a 3.1.5 to a 3.2.0-r1. While I am at it, I version my bzImages. Can I version my init thinys too? Have one for each version of kernel in other words? That would be assuming I need to have it updated as asked above. Thanks. Dale :-) :-) Hi Dale, You can use your old init thingy if you don't need any modules inside it. The other stuff normally doesn't change. Since most setups use modules, you could experience troubles... The other way would be - as you already proposed - to create an init thingy per kernel, eg initramfs-3.2.0-r1. If you use grub2 the grub2-mkconfig script searches for these (matching the name for your kernel image) and normally it works out of the box. FOr grub legacy (and lilo, i assume) you would need to make matching entries manually. With kind regards, Hinnerk I'm on the old Grub. I keep saying I'm going to switch but . . . . . . . If you are using the new grub, how difficult is the switch? Scale from one to ten would be fine. 1 being pulling teeth and 10 a walk in the park and your eyes were closed. o_O I always keep a older boot line available so I will test this but I may version them anyway, just to be safe. At least I know there is a chance that it would work if the init thingy didn't build correctly. I tend to skip versions of kernels too. Sometimes I go several versions. Plus, honestly, I'm not even 100% sure I am booting the init thingy. I posted a thread about it but no replies. I'm about 95% sure tho that is is booting the init do hicky. Can you tell I'm not really liking the init thingy yet? Does the dracut init mount /usr if it is on a separate partition or do I have to set something to tell it too? Right now it's not but I do plan to redo my set up. I'm planning to put everything on LVM except / and its friends. Thanks. Dale :-) :-) I would say it's between 8 and 9 - both versions are slotted, so you can install both at the same time. If you have trouble, you can reboot from a install cd/usb-drive and reinstall legacy grub. I never had any trouble with grub2 and I am using it since about 2 years, I think (at least no non-handmade-trouble ;) ). So I think it's easy. If you have a line for the init thingy in your grub.cfg it should use that or throw an error. If you use dracut according to a fedora-page you can add rdshell rdinitdebug to your kernel commandline and see dracut debugmessages and being dropped to a shell. maybe you could try that. Since I don't use dracut I'm not sure if it would mount a seperate usr. A quick google search seems to indicate that you have to do something manually: according to the last answer dracut tries to mount usr if init is a path in /usr - so you could create a symlink and add init=/usr/bin/init to your kernel commandline [1] - or use systemd (it should reside in usr, shouldn't it?). [1] http://unix.stackexchange.com/questions/18057/dracut-and-separate-usr -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPCqz5AAoJEJwwOFaNFkYc3mMH/2J9bcI7z7weXZZaNe8naw3p uPb6mit6Q1xIuirfZhz7z4aQwxbmC/VAvbljWsCu+Ms7PTuJ7ys5UnSSQoZ0aJyV 2e73V82zS/m1m2EJ/TPOAHa4kbi7byTIFth4hTQbKfMIdXyZl7w1kvqv8WIdttnt n/LPSvXrYRKc/vJ/WavoLZ00tzx2ANvpy1h12zK2KeDwk9/mBEbKCRvMo1RkfiJg v3KGn/ZibCRRZc8Nd5xc6NyZlz7i6mW7QFcciteQNr83KOM8sEOnq8Z2ds6QZ/l2 g1aGrGJl3NDGlAbV9c/VU5oadl1WSqcKCEHUWZPB34MSJgHBcNlWgM90IaeVu9s= =aMnj -END PGP SIGNATURE-
Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3
On Jan 9, 2012 3:24 PM, pk pete...@coolmail.se wrote: On 2012-01-09 00:48, Walter Dnes wrote: Hm... if you didn't compile it in you would have needed an initrd; didn't think of that... :-( * with only one binary blob. it just works * multiple blobs should not be included in the kernel, otherwise it gets confused. If multiple blobs are included, there's a fallback mechanism that uses udev to figure out exactly which graphics chip the laptop has, and which of the built-in blobs to use. Well, if udev has the database that connects the blob to the chip then yes it does sounds likely but still a bit strange... I also have only one blob (I dislike waste so I only put the correct blob in there). :-) So my laptop is now entirely udev-free. Congratulations! :-D PS. I will dive into this and test mdev soon-ish (when I can find the time). Best regards Peter K Is it possible to load the firmware blob after booting, from the shell? Rgds,
Re: [gentoo-user] gentoo-sources-3.2.0-r1 and genkernel
On 6 January 2012 11:11, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote: On 01/06/2012 10:51:26 AM, András Csányi wrote: Dear All, I updated my system and there is a new gentoo-sources version 3.2.0-gentoo-r1. I reconfigured my system to use this kernel and I compiled the kernel with genkernel. But there is no compiled file under /boot directory. Did I missed something? Is there anything new in genkernel? Should I report it? What I did: - upgrade my system - set up the kernel using eselect - genkernel to compile the kernel Sorry, I can't help since I never use genkernel. E.g. for the update 3.2.0 - 3.2.0-r1 I just do cp /usr/src/linux-3.2.0-gentoo/.config \ /usr/src/linux-3.2.0-gentoo-r1/.config pushd /usr/src/linux-3.2.0-gentoo-r1 make oldconfig make -j5 cp arch/x86/boot/bzImage /boot/3.2.0-gentoo-r1 make modules_install EDIT /usr/src/grub/grub.conf rm /usr/src/linux ln -s /usr/src/linux-3.2.0-gentoo-r1 /usr/src/linux re-emerge some modules which look at /usr/src/linux, like (in my case) x11-drivers/ati-drivers app-emulation/virtualbox-modules \ sys-fs/fuse sys-power/powernowd x11-drivers/radeon-ucode \ sys-process/iotop sys-fs/btrfs-progs Helmut. Thanks Helmut, It's clear what you did. You know genkernel is a comfortable way. :) -- - - -- Csanyi Andras (Sayusi Ando) -- http://sayusi.hu -- http://facebook.com/andras.csanyi -- Trust in God and keep your gunpowder dry! - Cromwell
Re: [gentoo-user] Re: removal of esound
On Mon, 09 Jan 2012 07:46:45 +0100, Hartmut Figge wrote: I have now verified this. Without esound i am getting Timestamp: 09.01.2012 07:18:12 Error: uncaught exception: [Exception... Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsISound.play] nsresult: 0x80040111 (NS_ERROR_NOT_AVAILABLE) location: JS frame :: chrome://communicator/content/pref/preferences.js :: PlaySound :: line 99 data: no] That looks like a configuration option. What happens when you use a default profile? -- Neil Bothwick Life is pleasant. Death is peaceful. Its the transition thats troublesome. - Isaac Asimov signature.asc Description: PGP signature
[gentoo-user] Re: removal of esound
Neil Bothwick: On Mon, 09 Jan 2012 07:46:45 +0100, Hartmut Figge wrote: I have now verified this. Without esound i am getting Timestamp: 09.01.2012 07:18:12 Error: uncaught exception: [Exception... Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsISound.play] nsresult: 0x80040111 (NS_ERROR_NOT_AVAILABLE) location: JS frame :: chrome://communicator/content/pref/preferences.js :: PlaySound :: line 99 data: no] That looks like a configuration option. No, it isn't. What happens when you use a default profile? Same exception with a fresh profile. Also when starting this fresh profile in safe-mode. Hartmut -- Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/ Von Usern fuer User :-)
[gentoo-user] System hangs when enabling radeon power management
Hi folks ! I am facing a problem since a week now when enabling radeon power management following KMS Power Management Options [1]. I have two radeon HD 9770 on my system in crossfire configuration, but on Linux I only use one of them (the first one on the PCI bus). When I switch the GPUs using the low profile, randomly, my system hangs. The problem is that I have nothing ! No kernel panic, no logs, really nothing. I tried everything, adding hard and soft lockup detection in the kernel did not help, I also enabled nmi_watchdog without success, tried kexec and kernel crash dumps either. I am getting to the point of booting the kernel using kgdb/kdb over a serial connection... As radeon guys on the IRC #radeon channel seems to be muted on this point, I would like to know if anyone here can lead me through a way to help debugging this problem, as the consequence of staying in default power profile make my GPU burning around 70°C... I can provide as many information as possible, and here is a little summary about my configuration: - Gentoo sources 3.2.0-r1, - in-kernel radeon module with KMS enabled, - ~amd64 keyword. Many thanks for your help. [1] http://wiki.x.org/wiki/RadeonFeature#KMS_Power_Management_Options -- YaGB on http://gentooist.com Follow me on twitter @blakawk ;)
Re: [gentoo-user] Question kernel upgrades for dracut users
Hinnerk van Bruinehsen wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I would say it's between 8 and 9 - both versions are slotted, so you can install both at the same time. If you have trouble, you can reboot from a install cd/usb-drive and reinstall legacy grub. I never had any trouble with grub2 and I am using it since about 2 years, I think (at least no non-handmade-trouble ;) ). So I think it's easy. If you have a line for the init thingy in your grub.cfg it should use that or throw an error. If you use dracut according to a fedora-page you can add rdshell rdinitdebug to your kernel commandline and see dracut debugmessages and being dropped to a shell. maybe you could try that. Since I don't use dracut I'm not sure if it would mount a seperate usr. A quick google search seems to indicate that you have to do something manually: according to the last answer dracut tries to mount usr if init is a path in /usr - so you could create a symlink and add init=/usr/bin/init to your kernel commandline [1] - or use systemd (it should reside in usr, shouldn't it?). [1] http://unix.stackexchange.com/questions/18057/dracut-and-separate-usr -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPCqz5AAoJEJwwOFaNFkYc3mMH/2J9bcI7z7weXZZaNe8naw3p uPb6mit6Q1xIuirfZhz7z4aQwxbmC/VAvbljWsCu+Ms7PTuJ7ys5UnSSQoZ0aJyV 2e73V82zS/m1m2EJ/TPOAHa4kbi7byTIFth4hTQbKfMIdXyZl7w1kvqv8WIdttnt n/LPSvXrYRKc/vJ/WavoLZ00tzx2ANvpy1h12zK2KeDwk9/mBEbKCRvMo1RkfiJg v3KGn/ZibCRRZc8Nd5xc6NyZlz7i6mW7QFcciteQNr83KOM8sEOnq8Z2ds6QZ/l2 g1aGrGJl3NDGlAbV9c/VU5oadl1WSqcKCEHUWZPB34MSJgHBcNlWgM90IaeVu9s= =aMnj -END PGP SIGNATURE- I was thinking it did mount /usr but wasn't sure. Actually, I thought that was the point. Thing is, I'm not sure either. It seems when I built mine it read fstab. Maybe it looks there to see if /usr is on a separate partition and if it is then it knows to mount /usr. I dunno. I'll google some more tho. I followed a couple howtos to get mine to work. I'm not sure but I know one was on a Redhat or Fedora website. I think the others came from a dracut site. I just wanted to clear up some mud before I dived off into something. I'll check you link too. Thanks. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=--quiet-build=n
[gentoo-user] OT crontab not understood
Hi :) It seems I don't understand something about cron(tab). Can someone help me pls: I want to run flexbackup with the following backup plan: * monthly full * weekly diff * daily incr So I have installed sys-process/vixie-cron-4.1-r12 (and virtual/cron-0 and sys-process/cronbase-0.3.3). My crontab (created with crontab -e) contains: 00 03 2-31 * 1-6 /usr/bin/flexbackup -set root -level incremental 00 03 2-31 * 0 /usr/bin/flexbackup -set root -level differential 00 03 1* * /usr/bin/flexbackup -set root -level full The problem I'm facing is, that incr and diff are executed each day _both_ at the same time (which flexbackup luckily handles well). From my understanding the 2nd line (diff) should only be run on sundays, and the 1st line (inc) should not run sundays. Can someone please explain me what I'm doing wrong? Thank you, Daniel -- PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887op=get # gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887 signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] System hangs when enabling radeon power management
On 2012-01-09 11:51, Blakawk wrote: Hi folks ! I am facing a problem since a week now when enabling radeon power management following KMS Power Management Options [1]. I have two radeon HD 9770 on my system in crossfire configuration, but on Linux I only use one of them (the first one on the PCI bus). I mistyped the GPU's model name: it is an HD 6770 Evergreen using JUNIPER firmware. When I switch the GPUs using the low profile, randomly, my system hangs. The problem is that I have nothing ! No kernel panic, no logs, really nothing. I tried everything, adding hard and soft lockup detection in the kernel did not help, I also enabled nmi_watchdog without success, tried kexec and kernel crash dumps either. I am getting to the point of booting the kernel using kgdb/kdb over a serial connection... As radeon guys on the IRC #radeon channel seems to be muted on this point, I would like to know if anyone here can lead me through a way to help debugging this problem, as the consequence of staying in default power profile make my GPU burning around 70°C... I can provide as many information as possible, and here is a little summary about my configuration: - Gentoo sources 3.2.0-r1, - in-kernel radeon module with KMS enabled, - ~amd64 keyword. Many thanks for your help. [1] http://wiki.x.org/wiki/RadeonFeature#KMS_Power_Management_Options
[gentoo-user] Re: removal of esound
Hartmut Figge: Neil Bothwick: That looks like a configuration option. No, it isn't. I am now using the official SM 2.6.1 from mozilla.org. Same exception. Also in a new profile. And i don't like the ugly new emoticons. *g* Hartmut -- Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/ Von Usern fuer User :-)
Re: [gentoo-user] OT crontab not understood
On Mon, 09 Jan 2012 13:10:50 +0100 Daniel Troeder dan...@admin-box.com wrote: Hi :) It seems I don't understand something about cron(tab). Can someone help me pls: I want to run flexbackup with the following backup plan: * monthly full * weekly diff * daily incr So I have installed sys-process/vixie-cron-4.1-r12 (and virtual/cron-0 and sys-process/cronbase-0.3.3). My crontab (created with crontab -e) contains: 00 03 2-31 * 1-6 /usr/bin/flexbackup -set root -level incremental 00 03 2-31 * 0 /usr/bin/flexbackup -set root -level differential 00 03 1* * /usr/bin/flexbackup -set root -level full The problem I'm facing is, that incr and diff are executed each day _both_ at the same time (which flexbackup luckily handles well). From my understanding the 2nd line (diff) should only be run on sundays, and the 1st line (inc) should not run sundays. Can someone please explain me what I'm doing wrong? You are combining fields 3 and 5, those two work funny. Unlike the other datetime specs, they are not ANDed, they are ORed. Taking the first one, you obviously want the cron to run at 3 am between the 2nd and 31st of the month AND if the day is Mon-Sat. What it is doing is running at 3am every day between the 2nd and 31st and also every day Mon-Sat (even if that is the 1st of the month). Vixie cron does not directly allow you to do what you want. It's designed to run things periodically on a set schedule and doesn't do except very well. A better approach would be to fire off a wrapper script every day at 3am. This script will then check for date, time and day of week and launch the app with the appropriate options. Thank you, Daniel -- Alan McKinnnon alan.mckin...@gmail.com
Re: [gentoo-user] OT crontab not understood
On 09.01.2012 12:33, Alan McKinnon wrote: On Mon, 09 Jan 2012 13:10:50 +0100 Daniel Troeder dan...@admin-box.com wrote: Hi :) It seems I don't understand something about cron(tab). Can someone help me pls: I want to run flexbackup with the following backup plan: * monthly full * weekly diff * daily incr So I have installed sys-process/vixie-cron-4.1-r12 (and virtual/cron-0 and sys-process/cronbase-0.3.3). My crontab (created with crontab -e) contains: 00 03 2-31 * 1-6 /usr/bin/flexbackup -set root -level incremental 00 03 2-31 * 0 /usr/bin/flexbackup -set root -level differential 00 03 1* * /usr/bin/flexbackup -set root -level full The problem I'm facing is, that incr and diff are executed each day _both_ at the same time (which flexbackup luckily handles well). From my understanding the 2nd line (diff) should only be run on sundays, and the 1st line (inc) should not run sundays. Can someone please explain me what I'm doing wrong? You are combining fields 3 and 5, those two work funny. Unlike the other datetime specs, they are not ANDed, they are ORed. Taking the first one, you obviously want the cron to run at 3 am between the 2nd and 31st of the month AND if the day is Mon-Sat. What it is doing is running at 3am every day between the 2nd and 31st and also every day Mon-Sat (even if that is the 1st of the month). Vixie cron does not directly allow you to do what you want. It's designed to run things periodically on a set schedule and doesn't do except very well. A better approach would be to fire off a wrapper script every day at 3am. This script will then check for date, time and day of week and launch the app with the appropriate options. Thank you for the explanation! Unfortunately that it's ORd :( So I wrote this: ### /etc/cron.daily/run_flexbackup ### #!/bin/bash DOM=$(date +%d) DOW=$(date +%w) function run_backup() { # do some stuff /usr/bin/flexbackup -set root -level $1 # do more stuff } if [ $DOM = 1 ]; then run_backup full else if [ $DOW = 0 ]; then run_backup differential else run_backup incremental fi fi Bye, Daniel -- PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887op=get # gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887 signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] OT crontab not understood
On Mon, 09 Jan 2012 14:02:23 +0100 Daniel Troeder dan...@admin-box.com wrote: On 09.01.2012 12:33, Alan McKinnon wrote: On Mon, 09 Jan 2012 13:10:50 +0100 Daniel Troeder dan...@admin-box.com wrote: Hi :) It seems I don't understand something about cron(tab). Can someone help me pls: I want to run flexbackup with the following backup plan: * monthly full * weekly diff * daily incr So I have installed sys-process/vixie-cron-4.1-r12 (and virtual/cron-0 and sys-process/cronbase-0.3.3). My crontab (created with crontab -e) contains: 00 03 2-31 * 1-6 /usr/bin/flexbackup -set root -level incremental 00 03 2-31 * 0 /usr/bin/flexbackup -set root -level differential 00 03 1* * /usr/bin/flexbackup -set root -level full The problem I'm facing is, that incr and diff are executed each day _both_ at the same time (which flexbackup luckily handles well). From my understanding the 2nd line (diff) should only be run on sundays, and the 1st line (inc) should not run sundays. Can someone please explain me what I'm doing wrong? You are combining fields 3 and 5, those two work funny. Unlike the other datetime specs, they are not ANDed, they are ORed. Taking the first one, you obviously want the cron to run at 3 am between the 2nd and 31st of the month AND if the day is Mon-Sat. What it is doing is running at 3am every day between the 2nd and 31st and also every day Mon-Sat (even if that is the 1st of the month). Vixie cron does not directly allow you to do what you want. It's designed to run things periodically on a set schedule and doesn't do except very well. A better approach would be to fire off a wrapper script every day at 3am. This script will then check for date, time and day of week and launch the app with the appropriate options. Thank you for the explanation! Unfortunately that it's ORd :( It does make sense in a way :-) The man page says: Commands are executed by cron(8) when the minute, hour, and month of year fields match the current time, and when at least one of the two day fields (day of month, or day of week) match the current time. If it didn't work as it does, a cron that specified both day fields would equate to something like on the 1st of a month, but only if it's a Sunday which is rare. The intention is that you use either the date field or the day of week, but not both So I wrote this: ### /etc/cron.daily/run_flexbackup ### #!/bin/bash DOM=$(date +%d) DOW=$(date +%w) function run_backup() { # do some stuff /usr/bin/flexbackup -set root -level $1 # do more stuff } if [ $DOM = 1 ]; then run_backup full else if [ $DOW = 0 ]; then run_backup differential else run_backup incremental fi fi Yup, that's the better way. And it comes with the benefit that the cron is now simple and the wrapper script documents how and what it runs. Overall, a better solution i think. -- Alan McKinnnon alan.mckin...@gmail.com
Re: [gentoo-user] Re: removal of esound
Hartmut Figge wrote: Hartmut Figge: Neil Bothwick: That looks like a configuration option. No, it isn't. I am now using the official SM 2.6.1 from mozilla.org. Same exception. Also in a new profile. And i don't like the ugly new emoticons. *g* Hartmut I have Fluxbox installed here too. I logged out of KDE and into Fluxbox. Seamonkey does NOT play the sound when in Fluxbox. It appears that KDE takes care of that when I am logged into it. So, you may need to figure out how to make the GUI take care of yours. This is from -dev. Note the last paragraph: Hi folks, Today, I was shocked to find that the EsounD daemon is still in the tree and new ebuilds are actually still pulling it in under USE=esd! Proposal: package.mask media-sound/esound, use.mask USE=esd. Anything that still uses it should stop using it. Anything that /needs it/ should be purged from the tree with extreme prejudice[1]. I'll do the first two today, and the rest of the rituals necessary to complete the exorcism will take a month. Help in this regard is welcome since the job is rather straightforward. Thanks! 1. In exceptional cases, a dependency on pulseaudio will also suffice since pulseaudio emulates an esound socket while running with `module-protocol-esound-unix` loaded, which is the default. -- ~Nirbheek Chauhan Have you tried pulseaudio? Also, it seems esound is a Gnome sort of thing. Maybe see what they are using nowadays and try that. Other than this, I have no other ideas. It seems you need some sort of sound daemon. Question is which one. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=--quiet-build=n
[gentoo-user] Re: removal of esound
Dale: I have Fluxbox installed here too. I logged out of KDE and into Fluxbox. Seamonkey does NOT play the sound when in Fluxbox. :) It appears that KDE takes care of that when I am logged into it. So, you may need to figure out how to make the GUI take care of yours. I seem to recall from the wine groups, that KDE uses pulseaudio. And this one is causing a lot of trouble in wine. This is from -dev. Note the last paragraph: Hi folks, Today, I was shocked to find that the EsounD daemon is still in the tree and new ebuilds are actually still pulling it in under USE=esd! Proposal: package.mask media-sound/esound, use.mask USE=esd. Anything that still uses it should stop using it. Anything that /needs it/ should be purged from the tree with extreme prejudice[1]. I'll do the first two today, and the rest of the rituals necessary to complete the exorcism will take a month. Help in this regard is welcome since the job is rather straightforward. *URKS*. Hm, how to translate this one into English? *g* Thanks! 1. In exceptional cases, a dependency on pulseaudio will also suffice since pulseaudio emulates an esound socket while running with `module-protocol-esound-unix` loaded, which is the default. Have you tried pulseaudio? No. And i do *not* want pulseaudio. Also, it seems esound is a Gnome sort of thing. It would be interesting to know, if Gnome is using pulseaudio... Maybe see what they are using nowadays and try that. ...and if not, what else. Other than this, I have no other ideas. It seems you need some sort of sound daemon. Question is which one. Good question. :-D Hartmut -- Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/ Von Usern fuer User :-)
Re: [gentoo-user] Re: removal of esound
Hartmut Figge wrote: Dale: I have Fluxbox installed here too. I logged out of KDE and into Fluxbox. Seamonkey does NOT play the sound when in Fluxbox. :) It appears that KDE takes care of that when I am logged into it. So, you may need to figure out how to make the GUI take care of yours. I seem to recall from the wine groups, that KDE uses pulseaudio. And this one is causing a lot of trouble in wine. I don't have pulseaudio installed here so my KDE is not using it. I did some digging into the ebuilds. KDE can use either pulseaudio or alsa. It appears mine is using alsa. Maybe you should enable the alsa USE flag? That should pull in alsa and rebuild the packages that can use it. The command emerge -uaDN world should catch them all. This is from -dev. Note the last paragraph: Hi folks, Today, I was shocked to find that the EsounD daemon is still in the tree and new ebuilds are actually still pulling it in under USE=esd! Proposal: package.mask media-sound/esound, use.mask USE=esd. Anything that still uses it should stop using it. Anything that /needs it/ should be purged from the tree with extreme prejudice[1]. I'll do the first two today, and the rest of the rituals necessary to complete the exorcism will take a month. Help in this regard is welcome since the job is rather straightforward. *URKS*. Hm, how to translate this one into English? *g* Thanks! 1. In exceptional cases, a dependency on pulseaudio will also suffice since pulseaudio emulates an esound socket while running with `module-protocol-esound-unix` loaded, which is the default. Have you tried pulseaudio? No. And i do *not* want pulseaudio. Then alsa should work. Sort of covered that above. Also, it seems esound is a Gnome sort of thing. It would be interesting to know, if Gnome is using pulseaudio... Maybe see what they are using nowadays and try that. ...and if not, what else. Other than this, I have no other ideas. It seems you need some sort of sound daemon. Question is which one. Good question. :-D Hartmut I would try alsa. It works fine here. I can play music and still hear all the other sounds that come along, such as getting emails and such. I admit tho, I hate watching a movie then hearing other sounds. Hope that helps. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=--quiet-build=n
Re: [gentoo-user] Question kernel upgrades for dracut users
Dale wrote: I was thinking it did mount /usr but wasn't sure. Actually, I thought that was the point. Thing is, I'm not sure either. It seems when I built mine it read fstab. Maybe it looks there to see if /usr is on a separate partition and if it is then it knows to mount /usr. I dunno. I'll google some more tho. I followed a couple howtos to get mine to work. I'm not sure but I know one was on a Redhat or Fedora website. I think the others came from a dracut site. I just wanted to clear up some mud before I dived off into something. I'll check you link too. Thanks. Dale :-) :-) OK. For future readers. There is a option called usrmount that tells it to mount /usr. That little sucker was hiding from me for the longest. I do wish dracut had some better docs. I may have to write a howto myself. If for no other reason than to remind myself how to make it work. lol Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=--quiet-build=n
[gentoo-user] Re: removal of esound
Dale: I would try alsa. It works fine here. Also here. I can play music and still hear all the other sounds that come along, Also here. such as getting emails That's the only one which doesn't work. and such. 'and such' also works here. *g* alsa is enabled in the kernel and i have these packages installed: hafi@i5_64 ~ $ eix -I --only-names alsa media-libs/alsa-lib media-sound/alsa-headers media-sound/alsa-utils media-sound/alsaplayer May it be that you have other packages regarding alsa installed also? If the notification works for you and you are only using alsa, then perhaps... :) Hartmut -- Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/ Von Usern fuer User :-)
[gentoo-user] Re: removal of esound
Dale: Maybe you should enable the alsa USE flag? alsa has been in make.conf ever. As for SM, i am not using an ebuild, but here is an excerpt from the building of SM: - build-log.txt - checking for alsa... yes checking MOZ_ALSA_CFLAGS... -I/usr/include/alsa checking MOZ_ALSA_LIBS... -lasound --- Hartmut -- Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/ Von Usern fuer User :-)
Re: [gentoo-user] Re: removal of esound
Hartmut Figge wrote: 'and such' also works here. *g* alsa is enabled in the kernel and i have these packages installed: hafi@i5_64 ~ $ eix -I --only-names alsa media-libs/alsa-lib media-sound/alsa-headers media-sound/alsa-utils media-sound/alsaplayer May it be that you have other packages regarding alsa installed also? If the notification works for you and you are only using alsa, then perhaps... :) Hartmut I have these installed: root@fireball / # eix -I --only-names alsa media-libs/alsa-lib media-plugins/gst-plugins-alsa media-sound/alsa-headers media-sound/alsa-utils media-sound/alsamixergui root@fireball / # The difference is: gst-plugins-alsa and alsamixergui. I just wonder if alsamixer has something muted? Have you ran alsamixer to check it? It can run on a console. You should have that installed already. It is part of alsa-utils. The master channel and the PCM channel is the important ones. Be careful tho, it can play sounds that are pretty loud. If it is muted, you can hit the M key to unmute it. It toggles. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=--quiet-build=n
Re: [gentoo-user] Re: removal of esound
Dale wrote: Hartmut Figge wrote: 'and such' also works here. *g* alsa is enabled in the kernel and i have these packages installed: hafi@i5_64 ~ $ eix -I --only-names alsa media-libs/alsa-lib media-sound/alsa-headers media-sound/alsa-utils media-sound/alsaplayer May it be that you have other packages regarding alsa installed also? If the notification works for you and you are only using alsa, then perhaps... :) Hartmut I have these installed: root@fireball / # eix -I --only-names alsa media-libs/alsa-lib media-plugins/gst-plugins-alsa media-sound/alsa-headers media-sound/alsa-utils media-sound/alsamixergui root@fireball / # The difference is: gst-plugins-alsa and alsamixergui. I just wonder if alsamixer has something muted? Have you ran alsamixer to check it? It can run on a console. You should have that installed already. It is part of alsa-utils. The master channel and the PCM channel is the important ones. Be careful tho, it can play sounds that are pretty loud. If it is muted, you can hit the M key to unmute it. It toggles. Dale :-) :-) Also, I don't know if this is done on a per user setting or system wide. Make sure you run it as your user and not root. Otherwise it may not work right. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=--quiet-build=n
[gentoo-user] Re: removal of esound
Dale: The difference is: gst-plugins-alsa and alsamixergui. None of them makes a difference. Sigh. I just wonder if alsamixer has something muted? Have you ran alsamixer to check it? Yes. All fine. Remember, that the notification works with esound. And a muted channel would not cause an uncaught exception in the error console of SM when pressing 'Play' in the Preferences of SM. ;) I do not like alsamixergui at all. alsamixer is better. For me. Now i have to make a break. Time to sleep. Till later then. :) Hartmut -- Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/ Von Usern fuer User :-)
[gentoo-user] Re: korganize-4.7.3 broken
Mick michaelkintzios at gmail.com writes: Try Settings/Configure and then add new account, or fire up kcmshell4 kcm_akonadi and add resources as desired. I had to use the settings-configureKorganizer-calenders and then put the explict path into the config menu ~/.kde4/share/apps/korganizer/std.ics to get the calender to show up. then select the box in lower lefthand corner as suggested. Never had to do that before. However, as the e-news item says KDEPIM 4.7 is really borked right now. YEP! Most people have recommended to move to T'bird, Claws, or mutt. Tbird ++1! great, easy, universal (doz) . Thanks to all that replied! James
[gentoo-user] Re: System hangs when enabling radeon power management
Blakawk blakawk at gentooist.com writes: I am facing a problem since a week now when enabling radeon power management following KMS Power Management Options [1]. I have two radeon Well I cannot help you, explicitly; but I have some info to share with you. I have 2 ethernet ports on an older Asus mobo. Until the 3.0 kernel series, the booting process *always* selectrf the eth0 one correctly. Since the 3.0 series, about 20% of boot it selects the second ethernet port as eth0. I can move over the cable, or manually configure or reboot and play roulette. I have not delved into the matter any deeper as I'm swamped with issues. might a udev rule help establish the correct card to use? Have you tried to first set up (boot) the system without the crossfire confing(wiring)? If that is the sort of phenomenon affecting you, you'd have to ssh into the system and look at the boot files and records. Maybe setting up the system to transmit via a console (serial) port might help to look at the boot output as it occurs and step through the boot sequence. hth, James
[gentoo-user] Re: Network configuration - Two ips one from dhcp other static
Nilesh Govindarajan contact at nileshgr.com writes: Well, the title tells the question clearly; how do I configure network such that the first ip is obtained via dhcpcd and other is static? config_eth0=dhcp static doesn't work. Did you look at /etc/conf.d/net.example for hints? As a solution I wrote a dhcpcd hook containing /sbin/ifconfig eth0:0 ip netmask netmask Maybe not launch your script for a few minutes (timing?) via crontab if nothing else works? James
Re: [gentoo-user] Re: xpdf - missing fonts
On 01/08/12 19:31, Walter Dnes wrote: On Fri, Jan 06, 2012 at 08:40:04PM -0700, Joseph wrote On 01/06/12 13:51, walt wrote: Try turning the NLS useflag on for your installed font packages that use NLS. Not all font packages use NLS, dunno why. To see which installed fonts use NLS: #eix -IU nls | grep fonts Aparenlty none of them: eix -IU nls | grep fonts [I] media-fonts/font-misc-misc Description: X.Org miscellaneous fonts I have a suggestion that goes in the opposite direction. It's part of bug https://bugs.gentoo.org/show_bug.cgi?id=368335 For some reason, the default is now to generate Unicode encoding only (I believe it's iso10646), not iso8859-1 or any of the other local encodings. I ran into this when xfreecell refused to start, due to missing a specific iso8859-1 font. The bug can be worked around by editing the file /usr/portage/eclass/xorg-2.eclass I'm attaching my edited version. * Rename your current /usr/portage/eclass/xorg-2.eclass * substitute the version attached to this post * re-emerge all your fonts ***NOTE*** This eclass file tries to produce iso8859-1 only. Modify it if you want other iso code files. File attached... -- Walter Dnes waltd...@waltdnes.org I think you are correct on this one. I'll try to modify your system. What is the easiest way to re-emerge all the fonts on the system or list the one that are installed? I've manually installed some of the fonts that I have on my other system and it partially solved the problem. -- Joseph
Re: [gentoo-user] System hangs when enabling radeon power management
On 09.01.2012 12:11, Blakawk wrote: On 2012-01-09 11:51, Blakawk wrote: Hi folks ! I am facing a problem since a week now when enabling radeon power management following KMS Power Management Options [1]. I have two radeon HD 9770 on my system in crossfire configuration, but on Linux I only use one of them (the first one on the PCI bus). I mistyped the GPU's model name: it is an HD 6770 Evergreen using JUNIPER firmware. I have a almost identical problem with my radeon card and KMS. If I build radeon not as a module but inside I only see a black screen and the system hangs. Firmware is correctly build into the kernel (I switched from an older radeon card where everything worked so I know what to do) but it does not work. I have to build radeon as a module and load it at startup. In /etc/conf.d/modules I have module_radeon_args=modeset=1 so that KMS gets loaded. With that setup everything works just fine (short of a flicker when KMS gets started) so I keep it that way for now. Maybe that works for you too. It is worth a try. Greetings Sebastian signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: OT crontab not understood
Daniel Troeder daniel at admin-box.com writes: So I have installed sys-process/vixie-cron Ah, excellent. Just so you know, Paul Vixie is one of the un_sung heros of the the internet. just look up Paul Vixie on wikepedia and you'll quickly realize that he is one of the Titans that has worked tirelessly over the decades to make the internet what it is today. Some think of him as the daddy of DNS http://www.techdirt.com/articles/20110825/23232315691/paul-vixie-explains-how-protect-ip-will-break-internet.shtml hth, James
Re: [gentoo-user] Re: System hangs when enabling radeon power management
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 09/01/2012 17:48, James a écrit : Blakawk blakawk at gentooist.com writes: I am facing a problem since a week now when enabling radeon power management following KMS Power Management Options [1]. I have two radeon Well I cannot help you, explicitly; but I have some info to share with you. I have 2 ethernet ports on an older Asus mobo. Until the 3.0 kernel series, the booting process *always* selectrf the eth0 one correctly. Since the 3.0 series, about 20% of boot it selects the second ethernet port as eth0. I can move over the cable, or manually configure or reboot and play roulette. I have not delved into the matter any deeper as I'm swamped with issues. might a udev rule help establish the correct card to use? Have you tried to first set up (boot) the system without the crossfire confing(wiring)? If that is the sort of phenomenon affecting you, you'd have to ssh into the system and look at the boot files and records. Maybe setting up the system to transmit via a console (serial) port might help to look at the boot output as it occurs and step through the boot sequence. With or without crossfire, I encounter the problem, and the graphic card in slot number one is always the one taking over. Also, I already set up a console over serial port, but nothing gets out when the system hangs. That's why i am now at the point of running the kernel under GDB. Also, I want to say that the problem does not occur on boot phase at all, everything goes just fine until I activate any other power profile than 'default' one on the radeon card using: # echo '(low|mid|high)' /sys/class/drm/card0/device/power_profile Then, once power management activated, the system randomly hangs *AFTER* a various amount of time, requiring a hard reboot. hth, James - -- YaGB on http://gentooist.com Follow me on twitter @blakawk -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJPCzVzAAoJEIJZqh3hgPiNWMQP/31y5wmf2Q+V6ZPx2vcHVw8C riEgI3mkwNylO+UWhJqAzDwjuvkmP+h53DHhWZD+PXfiSHDoSE3N9K56SwY3rTZx HvxgjO+qmdebFfB+hwBZkcFbSidU7exTA3GQnquE8Z/jRw+1MjnAUAs653rKA3wF DEv5cwtaJFNDQKKzGahMVkWrxN2JHMqGQ0gbk4d59IwzYPTrJFPc/mvDQxlIswWU K5UJvSIlHm9TsiHFGqUCK4ToKUe8+3KBGiF70tRzrxaez5HqJ8joMlKA6ZSpVBkh exzVZe2MWUx9prUBXEB6fQQn8vGKstallYJ9wHMmF0Mj2I13XoIXW2o6BIt2Qwt5 0qNrNRSSxam2mjTBQXX6NCGCPSa/Wo2lactAgRtIbS8a1wdH9GoY4SAwSNVWzv/8 muY4SOGcVhc403I3SaCV9cSxHfTAA+X1Nx6lWQlOo0SjDsHNpje8TXnSyLuX3z4h Aipp7fSuLI97tYDVsbHTZpoG8J4b84tqM2y2GIydAmG+S+LrYo5YQ6UaxKU3lGjo rC+mBnx8BPELGd/DhUMzGVzRFW1lFe9XlRXqYgh+7eJfldVYGXYUxW9YIEwutL/1 5QnupsXkWlT5AMYQ0iFIfqr+2TepBgzqGONmvHaQF8sElqGk2VeeRdqVoe9W8bbp L2+1PrNrtrjkw46ob3rf =YGxL -END PGP SIGNATURE-
Re: [gentoo-user] System hangs when enabling radeon power management
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 09/01/2012 18:57, Sebastian Beßler a écrit : On 09.01.2012 12:11, Blakawk wrote: On 2012-01-09 11:51, Blakawk wrote: Hi folks ! I am facing a problem since a week now when enabling radeon power management following KMS Power Management Options [1]. I have two radeon HD 9770 on my system in crossfire configuration, but on Linux I only use one of them (the first one on the PCI bus). I mistyped the GPU's model name: it is an HD 6770 Evergreen using JUNIPER firmware. I have a almost identical problem with my radeon card and KMS. If I build radeon not as a module but inside I only see a black screen and the system hangs. Firmware is correctly build into the kernel (I switched from an older radeon card where everything worked so I know what to do) but it does not work. I have to build radeon as a module and load it at startup. In /etc/conf.d/modules I have module_radeon_args=modeset=1 so that KMS gets loaded. With that setup everything works just fine (short of a flicker when KMS gets started) so I keep it that way for now. I'm trying to reproduce the bug using radeon and DRM stuff built as a module instead. Did you enabled power management too with the following: # echo '(low|mid|high)' /sys/class/drm/card0/device/power_profile For me, as soon as I enable this, the system hangs randomly (meaning it can hangs right after enabling the feature or several hours later). Maybe that works for you too. It is worth a try. Greetings Sebastian - -- YaGB on http://gentooist.com Follow me on twitter @blakawk -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJPCzYrAAoJEIJZqh3hgPiNCmsQAKqdMTeLAF/6+rDLmk8yfLRN l6gjWpz1/he070J+1oLS3gIZ+Au+VxSOXAD9LGCiLgkcLZbnemsYaoaRtWJAGEiR kpl0nizdoG0hzeJ53AZYICzwF2SQovDdzjybtK3IK983DeFgaUqkVjChA69aybsR O0jxZY4MuEhzPVeTJvkZ36o9Dv9xZSExF2mTL8JQo0jy8LsdJyaAe1Y5t4Zg3Yd7 KHOQcejroRuadtgA58hydShXrOx5xysU20E2yT54a65Ptt2ENb5NMxv/crEpjDiK DAIupO4jDTxWhWP0ot6piEQ9T0sor7brWO1Q9WyruLn0WD6jIkEomORvq+n4UOa0 TGPjqfZTGvLBsCvF/i2AnCYH445J8vChaoqpDa7CeneWJxVOuYyPPtpaj/Xf9UTd m8xvKc6ONl4tD055L8Ny7s+d9FHCv+AvYCuxefHvFr2J39JOjuub2ORh7wYfd24M XbSkbgDqOMyGX+bnwzJUsHoKAoPkoSomnwz+m9BboAUipYKcubaVV0tJ7CsFhnOl jKmLoh7XDOLC9HTVmPF8UEeUGBREQeqjk2/0qD8uoxHZzgU1vZOZTfPgP46QpcgM EV8iJKnozo5vtjwwspQg2dzmVzjnoovVovHDS8NG3XSetQdZr2lQ1DzCVPg/5Z/g MFUrT8yZhfyb6gLd4o/B =CZlD -END PGP SIGNATURE-
Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3
On 2012-01-09 10:47, Pandu Poluan wrote: Is it possible to load the firmware blob after booting, from the shell? I don't think so; KMS needs it to talk to the gpu so either it needs to be in an initrd (loaded with the KMS/framebuffer module) or compiled in. That's how I understand it anyway... Best regards Peter K
Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3
On Mon, Jan 09, 2012 at 04:47:22PM +0700, Pandu Poluan wrote Is it possible to load the firmware blob after booting, from the shell? I don't think so. These are not standard kernel modules (*.o) files. -- Walter Dnes waltd...@waltdnes.org
Re: [gentoo-user] System hangs when enabling radeon power management
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 09/01/2012 19:47, Blakawk a écrit : Le 09/01/2012 18:57, Sebastian Beßler a écrit : On 09.01.2012 12:11, Blakawk wrote: On 2012-01-09 11:51, Blakawk wrote: Hi folks ! I am facing a problem since a week now when enabling radeon power management following KMS Power Management Options [1]. I have two radeon HD 9770 on my system in crossfire configuration, but on Linux I only use one of them (the first one on the PCI bus). I mistyped the GPU's model name: it is an HD 6770 Evergreen using JUNIPER firmware. I have a almost identical problem with my radeon card and KMS. If I build radeon not as a module but inside I only see a black screen and the system hangs. Firmware is correctly build into the kernel (I switched from an older radeon card where everything worked so I know what to do) but it does not work. I have to build radeon as a module and load it at startup. In /etc/conf.d/modules I have module_radeon_args=modeset=1 so that KMS gets loaded. With that setup everything works just fine (short of a flicker when KMS gets started) so I keep it that way for now. I'm trying to reproduce the bug using radeon and DRM stuff built as a module instead. Did you enabled power management too with the following: # echo '(low|mid|high)' /sys/class/drm/card0/device/power_profile For me, as soon as I enable this, the system hangs randomly (meaning it can hangs right after enabling the feature or several hours later). Maybe that works for you too. It is worth a try. Ok tried with radeon compiled as a module, did not help... Running the kernel under kgdb did not help either, it seems there is no kernel panic at all, even NMI watchdog / hung tasks detector is not seeing anything... I am kind of lost now :( If someone has an idea, I put the necessary information here [1]. Any help will be greatly appreciated. [1] http://gentooist.com/~xavier/gentoo/radeon-pwm-hang/ - -- YaGB on http://gentooist.com Follow me on twitter @blakawk -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJPC19sAAoJEIJZqh3hgPiNmasQAIe8vgyeWwjpJhhFD8BODDcV w4EhOjBAjJrBweS19mO/ltlVymcRKc4CLcPzIY38vYWqObI8mMFzTsbWt3YuYeP+ 0p5rn/fI96anMHHgJCF/yOalgb47CbnkfzkKIsVgW8VncXPkaY1KV7fMVZzY8Od4 uQkKzF2VbOCIxpkEYGOvDhCI0A2o5qzcei4V/A8r0ZdXkOaguaFY7OzeAS2w+f/F e+ZxmrakAe6Rb4Ydk9hKa+BBDcG5a/0l7HkxskRsrwMWUO+TNxyuLqlK/1PDt4uf CzvYPw9cnm8MG4dj4+SJJcEOgaMQK0q++SyCMyMc7EUgr1+hal3yF56H3SDEVRTW WZd6VxmCEFobHesf1dRygmonr1r5jr4vYGa52h552/GJEsZp788SMjJ/2F0eNMZK UgCoSiCHqfGxihGnkLuDbkoAOkRYPNcGp4RAR7hKhpgxAXu6PF2u2gXaIh+E7tMO TMUBf8yaH3Y1bRaoFGJWvFZgr7Fwc5zf/7AC6Qui6Lp91wui7g/zgJPPW/VJ6Sbb Zflp1ngmE9NDbqfp8gIoBoHth3k+GrkwnNw6WHRBvSWems3z+lMgLvrt0H0A4NvW 6+QVj7NV7MaYYMjgn8QUsqxyz5JcOSvI9r9CyB8RxqCaRPezTUqHtdbdov2D4dQX NpeKFtUrL69Uy4v/3GBY =SwB2 -END PGP SIGNATURE-
[gentoo-user] Re: xpdf - missing fonts
On 01/09/2012 09:50 AM, Joseph wrote: What is the easiest way to re-emerge all the fonts on the system or list the one that are installed? Listing them is easy: #eix -I | grep media-fonts I'll bet there is some other tool that will also emerge all of them for you but I'm too lazy to do the research :p
Re: [gentoo-user] Re: xpdf - missing fonts
On Mon, Jan 9, 2012 at 5:23 PM, walt w41...@gmail.com wrote: On 01/09/2012 09:50 AM, Joseph wrote: What is the easiest way to re-emerge all the fonts on the system or list the one that are installed? Listing them is easy: #eix -I | grep media-fonts I'll bet there is some other tool that will also emerge all of them for you but I'm too lazy to do the research :p emerge -1 $(qlist -IC media-fonts/*) # For the lazy -- :wq
[gentoo-user] Re: removal of esound
On 01/09/2012 04:46 AM, Hartmut Figge wrote: It would be interesting to know, if Gnome is using pulseaudio... Unfortunately yes. They seem determined to shove pulse down our throats just like everyone else, and for no good reason that I can see. Yes, maybe some people need a sound daemon but I never have and never will. The pulse devs should go work for world peace or something I can use :p
Re: [gentoo-user] Re: xpdf - missing fonts
On Mon, Jan 09, 2012 at 10:50:28AM -0700, Joseph wrote I think you are correct on this one. I'll try to modify your system. What is the easiest way to re-emerge all the fonts on the system or list the one that are installed? I've manually installed some of the fonts that I have on my other system and it partially solved the problem. I've attached a bash script to list all files, including those pulled in as dependancies of xorg-server. It also sets up another bash script to do the actual emerge. Here's how it works... * It creates a bash script ef (emerge fonts) * First put in the #!/bin/bash * Add emerge -1 to the file. *NOTE* The -n option prevents the normal linefeed * emerge -pv --depclean lists (amongst other things) all installed packages. This includes both stuff in world, and stuff that is pulled in as a dependancy * grep media-fonts filters the listing down to the media-fonts group, including various font utilities. * sort -u filters out duplicate lines * 'grep -v pulled in by' gets rid of the pulled in by lines. * The sed command puts an = sign in front of each package name, to make it a valid emerge parameter * the tr command converts linefeeds to spaces. The string of packagenames is appended to emerge -1 in the file ef * last, but not least, the file ef is set executable. You can look at it before launching it. -- Walter Dnes waltd...@waltdnes.org #!/bin/bash echo #!/bin/bash ef echo -n emerge -1 ef emerge -pv --depclean | \ grep media-fonts | \ sort -u | \ grep -v pulled in by | \ sed s//=/ |\ tr '\n' ' ' ef chmod 744 ef
Re: [gentoo-user] How to get raid
Success - I managed to get a raid1 device operating. I created the final filesystem by using mkfs.xfs -f /dev/md0, then waited for the rebuild to complete before rebooting the system. It appears to be created successfully. Now I'll try the same sequence with sdb and sdc to see if sdc is a good disk. If that works, I'll retry a raid5 array tomorrow night. Hmm - it seems to be a bug in RAID5 creation. I can successfully create a RAID1 array either /dev/sdb1 and /dev/sdc1 or /dev/sdb1 and /dev/sdd1 If, however, I try to create a RAID5 array with all three elements, I get /dev/sdc reporting a failure. cat /proc/mdstat fails with the following report. Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] md0 : active raid5 sdd1[3](S) sdc1[1](F) sdb1[0] 2930272256 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/1] [U__] unused devices: none Has anyone else experienced similar problems? Is there an extra diagnostic procedure which I can use to validate the sdc drive? Is there something extra I have to do when I go over the 2TB level which could explain this goofy behaviour?
[gentoo-user] Horrible TrueCrypt performance
Hi there! I have to copy some 100 G of files from one to another USB drive. Both are formatted with NTFS, the destination drive already has a truecrypt container file where I need to store the data into. This is sort of working, but the speed is waa too slow. After about four hours, only 8 G were copied. Looking at the cp -r output shows I see a bunch of files being processed, then the output stops for some minutes. Sometimes for half an hour. Top shows the mount.ntfs-3g process writing to the destination using all resources of one of my two cores. iotop -d 10 shows this process mainly. What I find strange is that this process is also reading from the drive I am copying to, 1600 K/s compared to 260 K/s writing speed. Huh?? And sometimes there is no I/O from this process during the ten seconds of sampling time. I sampled for about half an hour, and iotop -oa shows that only 20 MB were written. This will never finish. I used this command to mount the truecrypt container: truecrypt --fs-options=uid=1000,umask=0007 -k /home/wonko/my.key /media/My USB Drive/my_container /mnt Adding 'async' to the fs-options did not help. Any ideas? I've never used TrueCrypt before. Wonko
Re: [gentoo-user] How to get raid
Me too. mdadm --detail /dev/md0 thinks that /dev/sdc1 is faulty. I'm not sure whether it's really faulty, or just that my setup for RAID is screwed up. How do I get rid of an existing /dev/md0? you stop it. Override the superblock with dd.. and lose all data on the disks. I'm thinking that I can try creating a RAID1 array using the two allegedly good disks and see if I can make that work. yeah If that works, I'll get rid of it and try recreating the RAID1 with one good disk and the one that mdadm thinks is faulty. you don't have to. You can migrate a 2 disk raid1 to a 3 disk raid5. Howtos are availble via google. just saying - box in suspend to ram. I change the cable (and connector on mobo) on a disk with two raid 1 partitions on it. One came back after starting the box. The other? Nothing I tried worked. At the end I dd'ed the partition.. and did a complete 'faulty disk/replacement' resync argl. OK, so lesson learned. Just because it builds correctly in a RAID1 array, that doesn't mean that the drive isn't toast. I ran badblocks on the three drive components and, surprise, surprise, /dev/sdc came up faulty. I think I'll just build the two non-faulty drives as a RAID0 array until the hard drive prices come back down to pre-Thailand flood prices and backup regularly. Thanks for all the help. Jeff
[gentoo-user] ntpd crashing
Hi, Can anyone give me any pointers as to how to diagnose a problem with ntpd crashing. My time keeps defaulting to 5 hours earlier than it should. There's nothing in dmesg when I do dmesg | grep time, or dmesg | grep ntp, but /etc/init.d/ntpd status tells me that ntpd has crashed. Jeff
Re: [gentoo-user] Re: Network configuration - Two ips one from dhcp other static
On Mon 09 Jan 2012 10:44:02 PM IST, James wrote: Nilesh Govindarajan contact at nileshgr.com writes: Well, the title tells the question clearly; how do I configure network such that the first ip is obtained via dhcpcd and other is static? config_eth0=dhcp static doesn't work. Did you look at /etc/conf.d/net.example for hints? As a solution I wrote a dhcpcd hook containing /sbin/ifconfig eth0:0 ip netmask netmask Maybe not launch your script for a few minutes (timing?) via crontab if nothing else works? James I did read that. I'm pretty peculiar about reading docs, so that I don't have to face an RTFM from the ML or IRC ;-) The first time it didn't work properly. The second time it did. May be I'd made some mistake or so. -- Nilesh Govindarajan http://nileshgr.com
Re: [gentoo-user] Re: removal of esound
Hartmut Figge wrote: Hartmut Figge: Now, installation of esound was necessary for my SeaMonkey to be able to notify of new mail with a custom sound file. I do *not* want pulseaudio, so, do you know of an replacement for esound which could work with SeaMonkey? Summary of the thread: Without esound there is an uncaught exception when trying to play a custom sound in Preferences-Mail Newsgroups-Notification even with the official builds of SM from mozilla.org. Timestamp: 09.01.2012 07:18:12 Error: uncaught exception: [Exception... Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsISound.play] nsresult: 0x80040111 (NS_ERROR_NOT_AVAILABLE) location: JS frame :: chrome://communicator/content/pref/preferences.js :: PlaySound :: line 99 data: no] The solution may be using pulseaudio. On the other hand, removing pulseaudio is usually one of the first recommendations in the wine groups when problems occur. ;) Now, removing esound is no longer a problem for gentoo-user. I may take it upstream to mozilla.org. Hartmut When you take it upstream, tell them it doesn't work in Fluxbox plus the GUI you are using. It may help them narrow down the problem. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=--quiet-build=n
[gentoo-user] Re: removal of esound
Dale: Hartmut Figge wrote: Now, removing esound is no longer a problem for gentoo-user. I may take it upstream to mozilla.org. When you take it upstream, tell them it doesn't work in Fluxbox plus the GUI you are using. It may help them narrow down the problem. *If*, not *when*. ;) Hartmut, lazy -- Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/ Von Usern fuer User :-)
Re: [gentoo-user] ntpd crashing
Define crashing? This looks more like problems with yout TZ variables than ntpd. try ntpq -p to check if its actually running/locked. If ntpd is freewheeling, it is prpbably because your time is too far from lock so it will silently fail (default config). If ntpd has really crashed (ps aux will confirm), try running the daemon manually from a console - if it segfaults or comes up with a missing library, try ldd /usr/sbin/ntpd to find which lib is needed and fix. BillK -Original Message- From: Jeff Cranmer j...@lotussevencars.com Reply-to: gentoo-user@lists.gentoo.org To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] ntpd crashing Date: Mon, 09 Jan 2012 16:25:39 -0500 Hi, Can anyone give me any pointers as to how to diagnose a problem with ntpd crashing. My time keeps defaulting to 5 hours earlier than it should. There's nothing in dmesg when I do dmesg | grep time, or dmesg | grep ntp, but /etc/init.d/ntpd status tells me that ntpd has crashed. Jeff
[gentoo-user] Re: removal of esound
Hartmut Figge: Now, installation of esound was necessary for my SeaMonkey to be able to notify of new mail with a custom sound file. I do *not* want pulseaudio, so, do you know of an replacement for esound which could work with SeaMonkey? Summary of the thread: Without esound there is an uncaught exception when trying to play a custom sound in Preferences-Mail Newsgroups-Notification even with the official builds of SM from mozilla.org. Timestamp: 09.01.2012 07:18:12 Error: uncaught exception: [Exception... Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsISound.play] nsresult: 0x80040111 (NS_ERROR_NOT_AVAILABLE) location: JS frame :: chrome://communicator/content/pref/preferences.js :: PlaySound :: line 99 data: no] The solution may be using pulseaudio. On the other hand, removing pulseaudio is usually one of the first recommendations in the wine groups when problems occur. ;) Now, removing esound is no longer a problem for gentoo-user. I may take it upstream to mozilla.org. Hartmut -- Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/ Von Usern fuer User :-)
Re: [gentoo-user] How to get raid
On Jan 10, 2012 8:48 AM, Jeff Cranmer j...@lotussevencars.com wrote: Me too. mdadm --detail /dev/md0 thinks that /dev/sdc1 is faulty. I'm not sure whether it's really faulty, or just that my setup for RAID is screwed up. How do I get rid of an existing /dev/md0? you stop it. Override the superblock with dd.. and lose all data on the disks. I'm thinking that I can try creating a RAID1 array using the two allegedly good disks and see if I can make that work. yeah If that works, I'll get rid of it and try recreating the RAID1 with one good disk and the one that mdadm thinks is faulty. you don't have to. You can migrate a 2 disk raid1 to a 3 disk raid5. Howtos are availble via google. just saying - box in suspend to ram. I change the cable (and connector on mobo) on a disk with two raid 1 partitions on it. One came back after starting the box. The other? Nothing I tried worked. At the end I dd'ed the partition.. and did a complete 'faulty disk/replacement' resync argl. OK, so lesson learned. Just because it builds correctly in a RAID1 array, that doesn't mean that the drive isn't toast. I ran badblocks on the three drive components and, surprise, surprise, /dev/sdc came up faulty. I think I'll just build the two non-faulty drives as a RAID0 array until the hard drive prices come back down to pre-Thailand flood prices and backup regularly. Thanks for all the help. Jeff RAID 0?!?! Please reconsider. With RAID 0, *any* single drive failure will result in *total* data loss. Rgds,
Re: [gentoo-user] Re: OT crontab not understood
On Jan 10, 2012 1:35 AM, James wirel...@tampabay.rr.com wrote: Daniel Troeder daniel at admin-box.com writes: So I have installed sys-process/vixie-cron Ah, excellent. Just so you know, Paul Vixie is one of the un_sung heros of the the internet. just look up Paul Vixie on wikepedia and you'll quickly realize that he is one of the Titans that has worked tirelessly over the decades to make the internet what it is today. Some think of him as the daddy of DNS http://www.techdirt.com/articles/20110825/23232315691/paul-vixie-explains-how-protect-ip-will-break-internet.shtml hth, James Whoa, I didn't realize that... Now I'm considering migrating from dcron to vixie-cron... Thanks for the reminder! :-) Rgds,