[gentoo-user] Custom Timer Frequency (CONFIG_HZ)?
Just wondering, is it possible to specify a custom timer frequency? E.g., HZ=500 instead of one of the canned values (100, 250, 300, 1000). Rgds, -- FdS Pandu E Poluan ~ IT Optimizer ~ • Blog : http://pepoluan.tumblr.com • Linked-In : http://id.linkedin.com/in/pepoluan
[gentoo-user] Re: Custom Timer Frequency (CONFIG_HZ)?
On 08/11/2011 09:56 AM, Pandu Poluan wrote: Just wondering, is it possible to specify a custom timer frequency? E.g., HZ=500 instead of one of the canned values (100, 250, 300, 1000). It is possible, but it's a bad idea because non-standard values can result in driver breakage. Some code assumes specific timer granularities (100Hz = 10ms, 250Hz = 4ms, etc). This usually happens with values above 1000Hz, so it might be possible to experiment with non-standard sub-1000Hz values. But why do you want a custom value anyway?
Re: [gentoo-user] Re: Custom Timer Frequency (CONFIG_HZ)?
On Thu, Aug 11, 2011 at 14:27, Nikos Chantziaras rea...@arcor.de wrote: On 08/11/2011 09:56 AM, Pandu Poluan wrote: Just wondering, is it possible to specify a custom timer frequency? E.g., HZ=500 instead of one of the canned values (100, 250, 300, 1000). It is possible, but it's a bad idea because non-standard values can result in driver breakage. Some code assumes specific timer granularities (100Hz = 10ms, 250Hz = 4ms, etc). This usually happens with values above 1000Hz, so it might be possible to experiment with non-standard sub-1000Hz values. But why do you want a custom value anyway? Well, for a firewall, I've calculated (gathered and extrapolated from a lot of sources), the latency per-packet is usually less than 1 ms, at worst still less than 2 ms. Thus, setting the timer freq to 100 Hz (as suggested for 'normal' server load) means the timeslice is way too long (10 ms per time slice). So, I speculate that better -- and uniform -- performance will be achieved with a timer freq of 500 Hz. Of course, this is a wild speculation/guess from me. I never quite understand netfilter/xtables' relation to the timeslices, so I may be talking nonsense :-) Rgds, -- FdS Pandu E Poluan ~ IT Optimizer ~ • Blog : http://pepoluan.tumblr.com • Linked-In : http://id.linkedin.com/in/pepoluan
Re: [gentoo-user] Re: linux-headers-2.6.38
On Thu, Aug 11, 2011 at 07:50, Nikos Chantziaras rea...@arcor.de wrote: On 08/10/2011 04:02 PM, c...@chrekh.se wrote: There is at least a theoretical benifit if you set NPTL_KERN_VER=2.6.38 in make.conf and recompile glibc. That way glibc could use things not present in older kernels. glibc will use things in newer kernels anyway. You don't need to use NPTL_KERN_VER=2.6.38 in order for glibc to use 2.6.38 features; it will do that by default. NPTL_KERN_VER only omits fallbacks for older kernels. It's there to reduce the size of glibc. The size difference is very small though. Thanks for the explanation, Nikos. Since the size difference is very small, I'll just use NPTL_KER_VER as it is (that is, not mucking with it). Rgds, -- FdS Pandu E Poluan ~ IT Optimizer ~ • Blog : http://pepoluan.tumblr.com • Linked-In : http://id.linkedin.com/in/pepoluan
[gentoo-user] It *was* -r9 that's problematic... (was: wget killed -- wonder where I went wrong...)
On Thu, Aug 11, 2011 at 12:24, Pandu Poluan pa...@poluan.info wrote: On Thu, Aug 11, 2011 at 12:24, Pandu Poluan pa...@poluan.info wrote: On Mon, Aug 8, 2011 at 20:11, Pandu Poluan pa...@poluan.info wrote: Hello folks! After installation and successful 1st reboot, all attempts at wget gets killed: [-- massive snippage --] Okay, now, where did I go wrong? So, apparently, I'm not alone. Bug #378449 [1] is full of people with similar experience. And hardened-sources-2.6.39-r9 has been removed from the tree [1] [2] [1] https://bugs.gentoo.org/378449?id=378449 [2] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-kernel/hardened-sources/ChangeLog?view=markup YESS! -r10, albeit emitting a HUGE number of Warnings, did not kill my wget. I'll post more updates if -r10 is also problematic. Rgds, -- FdS Pandu E Poluan ~ IT Optimizer ~ • Blog : http://pepoluan.tumblr.com • Linked-In : http://id.linkedin.com/in/pepoluan
[gentoo-user] Re: Custom Timer Frequency (CONFIG_HZ)?
On 08/11/2011 10:35 AM, Pandu Poluan wrote: On Thu, Aug 11, 2011 at 14:27, Nikos Chantziarasrea...@arcor.de wrote: On 08/11/2011 09:56 AM, Pandu Poluan wrote: Just wondering, is it possible to specify a custom timer frequency? E.g., HZ=500 instead of one of the canned values (100, 250, 300, 1000). It is possible, but it's a bad idea because non-standard values can result in driver breakage. Some code assumes specific timer granularities (100Hz = 10ms, 250Hz = 4ms, etc). This usually happens with values above 1000Hz, so it might be possible to experiment with non-standard sub-1000Hz values. But why do you want a custom value anyway? Well, for a firewall, I've calculated (gathered and extrapolated from a lot of sources), the latency per-packet is usually less than 1 ms, at worst still less than 2 ms. Thus, setting the timer freq to 100 Hz (as suggested for 'normal' server load) means the timeslice is way too long (10 ms per time slice). So, I speculate that better -- and uniform -- performance will be achieved with a timer freq of 500 Hz. Of course, this is a wild speculation/guess from me. I never quite understand netfilter/xtables' relation to the timeslices, so I may be talking nonsense :-) This assumes that networking is dependent on the timer interrupt, which doesn't seem to be the case; going from 100Hz to 1000Hz will not result in network latencies dropping by 9ms. I know because I tried it on a server. The only case where network latency improved with a higher HZ was with a game server (Counter-Strike) and that's only because that game's server component is timer dependent when calculating the game world (to do 1000 updates per second it needs a HZ value of 1000). So that application has some real-time demands, meaning a high HZ value helps. Otherwise, you can stick to 100Hz on a server. Higher values won't change anything and will only reduce throughput (though not by much anyway, which is why some people set 1000Hz even on servers.)
[gentoo-user] Re: linux-headers-2.6.38
Nikos Chantziaras rea...@arcor.de writes: glibc will use things in newer kernels anyway. You don't need to use NPTL_KERN_VER=2.6.38 in order for glibc to use 2.6.38 features; it will do that by default. NPTL_KERN_VER only omits fallbacks for older kernels. It's there to reduce the size of glibc. The size difference is very small though. That seems likely. Thanks. Do you know if linux-headers-2.6.38 is needed for that to work? I would guess it is. -- Christer
Re: [gentoo-user] Re: Plasma-runtime compilation problems
Hi Walt, Am Mittwoch, 10. August 2011, 16:16:50 schrieb walt: On 08/10/2011 03:04 PM, Michael Schreckenbauer wrote: Hi, Am Mittwoch, 10. August 2011, 14:40:31 schrieb walt: On 08/09/2011 08:34 PM, Jeff Cranmer wrote: Hi all, I'm trying to upgrade kde from 4.4 to 4.6, and I've run into a problem. Plasma-runtime-4.6.3 is failing. The error appears to be redefinition of 'struct QMetaTypeIDPlasma::Service*' I don't use kde so I can't be specific, but usually a redefinition is just a warning -- unless the package is compiled with the -Wall flag or equivalent. (Of course I meant -Werror, sorry.) no prob. No, this is plain wrong. Redefinition of a struct is an error in C and C++ ~$cat foo.c struct foo { int i; }; struct foo { char* v; }; ~$gcc foo.c -o foo foo.c:5:8: error: redefinition of 'struct foo' foo.c:1:8: note: originally defined here Hm. I know I've seen compiler redefinition messages thousands of times over the years. Is it really possible that all of those thousands were errors instead of warnings? If that's true then I've wasted a lot more time tracking them down than I care to think about :) struct redefinition is always an error. Maybe what you saw as a warning was some kind of macro redefined. ~ $ cat bar.c #define BAR 0 #define BAR 1 int main() { } ~$gcc bar.c -o bar bar.c:2:0: warning: BAR redefined bar.c:1:0: note: this is the location of the previous definition Note the different wording in the message. Regards, Michael
Re: [gentoo-user] Zynaddsubfx connected to Rosegarden WITHOUT Jack?
Hi Meino, Am Donnerstag, 11. August 2011, 03:02:33 schrieb meino.cra...@gmx.de: Hi Michael, thank you for your info ! :) What do I need for a midi connection (sorry, I am at the very beginning of exploring these kind of tools and jack is everywhere... ;) ) do you have midi-ports in your soundcard? In some cases they are implemented as 5-pol Din plugs (MIDI-standard plugs), in other cases they are implemented via the gameport. Most built-in soundhardware has none. If you have those ports, the most simple (but not best) solution is to connect midi in with midi out, have rosegarden play through midi out and the synth listen to midi in. Afaik(!) alsa has virtual midi-ports, you can use, if you have no hw ports (and which would be more elegant to use), but I have no experience with them. May I ask, why you don't want to use jack? I use it for everything in my studio and I am very happy with it. There's a reason jack is everywhere in this area :) Best regards, mcc Hth, Michael Michael Schreckenbauer grim...@gmx.de [11-08-11 02:45]: Hi Meino, Am Dienstag, 9. August 2011, 21:13:42 schrieb meino.cra...@gmx.de: Hi, may be this is a RDQ(tm) (real dumb question), but Is it possible to connect rosegarden and ZynAddSubFX without using jack ??? you could use a MIDI connection. But imho jack is the way to go :) Thank you very much for any help in advance! Best regards, mcc Hth, Michael
Re: [gentoo-user] Zynaddsubfx connected to Rosegarden WITHOUT Jack?
Hi Michael, I had * experiments with jack and nothing works... Sometimes there was no connection at all, sometimes after a short time rosegarden crashes and/or reports taht the connection has gone, and so on May be I has simply combined the wrong things... I have no midi hardware in the sense of keyboards, external synths and such. What I want is to set up a melody in rosegarden and to play it via Zynaddsubfx. A midi step sequencer (not sure if this this correct terminus technicus, though) were also fine... Any ideas? best regards, mcc If this will become too OT simply use my PM :) Michael Schreckenbauer grim...@gmx.de [11-08-11 10:52]: Hi Meino, Am Donnerstag, 11. August 2011, 03:02:33 schrieb meino.cra...@gmx.de: Hi Michael, thank you for your info ! :) What do I need for a midi connection (sorry, I am at the very beginning of exploring these kind of tools and jack is everywhere... ;) ) do you have midi-ports in your soundcard? In some cases they are implemented as 5-pol Din plugs (MIDI-standard plugs), in other cases they are implemented via the gameport. Most built-in soundhardware has none. If you have those ports, the most simple (but not best) solution is to connect midi in with midi out, have rosegarden play through midi out and the synth listen to midi in. Afaik(!) alsa has virtual midi-ports, you can use, if you have no hw ports (and which would be more elegant to use), but I have no experience with them. May I ask, why you don't want to use jack? I use it for everything in my studio and I am very happy with it. There's a reason jack is everywhere in this area :) Best regards, mcc Hth, Michael Michael Schreckenbauer grim...@gmx.de [11-08-11 02:45]: Hi Meino, Am Dienstag, 9. August 2011, 21:13:42 schrieb meino.cra...@gmx.de: Hi, may be this is a RDQ(tm) (real dumb question), but Is it possible to connect rosegarden and ZynAddSubFX without using jack ??? you could use a MIDI connection. But imho jack is the way to go :) Thank you very much for any help in advance! Best regards, mcc Hth, Michael
Re: [gentoo-user] Zynaddsubfx connected to Rosegarden WITHOUT Jack?
Hi, Am Donnerstag, 11. August 2011, 11:13:21 schrieb meino.cra...@gmx.de: Hi Michael, I had * experiments with jack and nothing works... Sometimes there was no connection at all, sometimes after a short time rosegarden crashes and/or reports taht the connection has gone, and so on this is strange. It simply works for me (tm). May be I has simply combined the wrong things... What versions did you try? (jackd, rosegarden...) I have no midi hardware in the sense of keyboards, external synths and such. I see. What I want is to set up a melody in rosegarden and to play it via Zynaddsubfx. That's what I was thinking :) A midi step sequencer (not sure if this this correct terminus technicus, though) were also fine... Any ideas? I think, aconnect (part of media-sound/alsa-utils) is the tool you want to try. Start both rosegarden and zynaddsubfx, then use aconnect -lio to see, what in- and out-ports were created on your system. After that use aconnect to connect the rosegarden out-port with the zynaddsubfx in-port. http://alsa.opensrc.org/Aconnect has some details. I never tried this for myself, so I have no practical experience with it. best regards, mcc Hth, Michael If this will become too OT simply use my PM :) Michael Schreckenbauer grim...@gmx.de [11-08-11 10:52]: Hi Meino, Am Donnerstag, 11. August 2011, 03:02:33 schrieb meino.cra...@gmx.de: Hi Michael, thank you for your info ! :) What do I need for a midi connection (sorry, I am at the very beginning of exploring these kind of tools and jack is everywhere... ;) ) do you have midi-ports in your soundcard? In some cases they are implemented as 5-pol Din plugs (MIDI-standard plugs), in other cases they are implemented via the gameport. Most built-in soundhardware has none. If you have those ports, the most simple (but not best) solution is to connect midi in with midi out, have rosegarden play through midi out and the synth listen to midi in. Afaik(!) alsa has virtual midi-ports, you can use, if you have no hw ports (and which would be more elegant to use), but I have no experience with them. May I ask, why you don't want to use jack? I use it for everything in my studio and I am very happy with it. There's a reason jack is everywhere in this area :) Best regards, mcc Hth, Michael Michael Schreckenbauer grim...@gmx.de [11-08-11 02:45]: Hi Meino, Am Dienstag, 9. August 2011, 21:13:42 schrieb meino.cra...@gmx.de: Hi, may be this is a RDQ(tm) (real dumb question), but Is it possible to connect rosegarden and ZynAddSubFX without using jack ??? you could use a MIDI connection. But imho jack is the way to go :) Thank you very much for any help in advance! Best regards, mcc Hth, Michael
Re: [gentoo-user] Zynaddsubfx connected to Rosegarden WITHOUT Jack?
Hi Michael, Thank you for your help ! :) Here are the versions: media-sound/rosegarden 11.02 media-sound/zynaddsubfx 2.4.1 media-sound/jack-audio-connection-kit 0.118.0 I did a aconnect -lio, which says: client 0: 'System' [type=kernel] 0 'Timer ' 1 'Announce' Connecting To: 15:0, 128:0 client 14: 'Midi Through' [type=kernel] 0 'Midi Through Port-0' client 28: 'Virtual Raw MIDI 3-0' [type=kernel] 0 'VirMIDI 3-0 ' Connecting To: 128:0 Connected From: 128:3 client 29: 'Virtual Raw MIDI 3-1' [type=kernel] 0 'VirMIDI 3-1 ' client 30: 'Virtual Raw MIDI 3-2' [type=kernel] 0 'VirMIDI 3-2 ' client 31: 'Virtual Raw MIDI 3-3' [type=kernel] 0 'VirMIDI 3-3 ' client 128: 'rosegarden' [type=user] 0 'record in ' Connected From: 0:1, 28:0 1 'sync out' 2 'external controller' 3 'out 1 - General MIDI Device' Connecting To: 28:0 Then I started rosegarden, which - as expereinced before - pops up a dialog, saying: The JACK Audio subsystem has stopped Rosegarden from processing audio, probably because of a processing overload. An attempt to restart the audio service has been made, but some problems may remain. Quitting other running applications may improve Rosegarden's performance. (no jackd was running) When clicking [OK] the dialog disappears only to take a very very short rest an return again and again and again In one of these short tiemes of peace and slumber I open the preference dialog and switched off jackd transport, quit rosegarden and start it again only to play another fresh match between me and this damned dialog... ;-/ How can I prevent to scratch my skin by the roses of this garden over and over again.? Best regards, mcc Michael Schreckenbauer grim...@gmx.de [11-08-11 12:12]: Hi, Am Donnerstag, 11. August 2011, 11:13:21 schrieb meino.cra...@gmx.de: Hi Michael, I had * experiments with jack and nothing works... Sometimes there was no connection at all, sometimes after a short time rosegarden crashes and/or reports taht the connection has gone, and so on this is strange. It simply works for me (tm). May be I has simply combined the wrong things... What versions did you try? (jackd, rosegarden...) I have no midi hardware in the sense of keyboards, external synths and such. I see. What I want is to set up a melody in rosegarden and to play it via Zynaddsubfx. That's what I was thinking :) A midi step sequencer (not sure if this this correct terminus technicus, though) were also fine... Any ideas? I think, aconnect (part of media-sound/alsa-utils) is the tool you want to try. Start both rosegarden and zynaddsubfx, then use aconnect -lio to see, what in- and out-ports were created on your system. After that use aconnect to connect the rosegarden out-port with the zynaddsubfx in-port. http://alsa.opensrc.org/Aconnect has some details. I never tried this for myself, so I have no practical experience with it. best regards, mcc Hth, Michael If this will become too OT simply use my PM :) Michael Schreckenbauer grim...@gmx.de [11-08-11 10:52]: Hi Meino, Am Donnerstag, 11. August 2011, 03:02:33 schrieb meino.cra...@gmx.de: Hi Michael, thank you for your info ! :) What do I need for a midi connection (sorry, I am at the very beginning of exploring these kind of tools and jack is everywhere... ;) ) do you have midi-ports in your soundcard? In some cases they are implemented as 5-pol Din plugs (MIDI-standard plugs), in other cases they are implemented via the gameport. Most built-in soundhardware has none. If you have those ports, the most simple (but not best) solution is to connect midi in with midi out, have rosegarden play through midi out and the synth listen to midi in. Afaik(!) alsa has virtual midi-ports, you can use, if you have no hw ports (and which would be more elegant to use), but I have no experience with them. May I ask, why you don't want to use jack? I use it for everything in my studio and I am very happy with it. There's a reason jack is everywhere in this area :) Best regards, mcc Hth, Michael Michael Schreckenbauer grim...@gmx.de [11-08-11 02:45]: Hi Meino, Am Dienstag, 9. August 2011, 21:13:42 schrieb meino.cra...@gmx.de: Hi, may be this is a RDQ(tm) (real dumb question), but Is it possible to connect rosegarden and ZynAddSubFX without using jack ??? you could use a MIDI connection. But imho jack is the way to go :) Thank you very much for any help in advance! Best regards, mcc Hth, Michael
Re: [gentoo-user] Zynaddsubfx connected to Rosegarden WITHOUT Jack?
Hi Meino, Am Donnerstag, 11. August 2011, 13:04:13 schrieb meino.cra...@gmx.de: Hi Michael, Thank you for your help ! :) Here are the versions: media-sound/rosegarden 11.02 media-sound/zynaddsubfx 2.4.1 media-sound/jack-audio-connection-kit 0.118.0 looks ok to me. No idea, why it doesn't work for you. I did a aconnect -lio, which says: client 0: 'System' [type=kernel] 0 'Timer ' 1 'Announce' Connecting To: 15:0, 128:0 client 14: 'Midi Through' [type=kernel] 0 'Midi Through Port-0' client 28: 'Virtual Raw MIDI 3-0' [type=kernel] 0 'VirMIDI 3-0 ' Connecting To: 128:0 Connected From: 128:3 client 29: 'Virtual Raw MIDI 3-1' [type=kernel] 0 'VirMIDI 3-1 ' client 30: 'Virtual Raw MIDI 3-2' [type=kernel] 0 'VirMIDI 3-2 ' client 31: 'Virtual Raw MIDI 3-3' [type=kernel] 0 'VirMIDI 3-3 ' client 128: 'rosegarden' [type=user] 0 'record in ' Connected From: 0:1, 28:0 1 'sync out' 2 'external controller' 3 'out 1 - General MIDI Device' Connecting To: 28:0 Then I started rosegarden, which - as expereinced before - pops up a dialog, saying: The JACK Audio subsystem has stopped Rosegarden from processing audio, probably because of a processing overload. An attempt to restart the audio service has been made, but some problems may remain. Quitting other running applications may improve Rosegarden's performance. (no jackd was running) When clicking [OK] the dialog disappears only to take a very very short rest an return again and again and again In one of these short tiemes of peace and slumber I open the preference dialog and switched off jackd transport, quit rosegarden and start it again only to play another fresh match between me and this damned dialog... ;-/ Looks like rosegarden cannot work with pure alsa. I did not know this. There's seq24 in portage, which seems to be a step sequencer that works without jack. You could try this one instead of rosegarden. I don't know anything about it though. How can I prevent to scratch my skin by the roses of this garden over and over again.? We could try to solve your problems with jack :) I recommend qjackctl for jack-server handling. How do you start it? What use-flags are set for it? Another option is to try the versions from the pro-audio overlay (that's what I use for rosegarden, jack, ardour and some other audio related stuff). Did you try other synths with jack and rosegarden? Maybe there's a bug in zynaddsubfx. You could try eg hydrogen to test this. Best regards, mcc Regards, Michael Michael Schreckenbauer grim...@gmx.de [11-08-11 12:12]: Hi, Am Donnerstag, 11. August 2011, 11:13:21 schrieb meino.cra...@gmx.de: Hi Michael, I had * experiments with jack and nothing works... Sometimes there was no connection at all, sometimes after a short time rosegarden crashes and/or reports taht the connection has gone, and so on this is strange. It simply works for me (tm). May be I has simply combined the wrong things... What versions did you try? (jackd, rosegarden...) I have no midi hardware in the sense of keyboards, external synths and such. I see. What I want is to set up a melody in rosegarden and to play it via Zynaddsubfx. That's what I was thinking :) A midi step sequencer (not sure if this this correct terminus technicus, though) were also fine... Any ideas? I think, aconnect (part of media-sound/alsa-utils) is the tool you want to try. Start both rosegarden and zynaddsubfx, then use aconnect -lio to see, what in- and out-ports were created on your system. After that use aconnect to connect the rosegarden out-port with the zynaddsubfx in-port. http://alsa.opensrc.org/Aconnect has some details. I never tried this for myself, so I have no practical experience with it. best regards, mcc Hth, Michael If this will become too OT simply use my PM :) Michael Schreckenbauer grim...@gmx.de [11-08-11 10:52]: Hi Meino, Am Donnerstag, 11. August 2011, 03:02:33 schrieb meino.cra...@gmx.de: Hi Michael, thank you for your info ! :) What do I need for a midi connection (sorry, I am at the very beginning of exploring these kind of tools and jack is everywhere... ;) ) do you have midi-ports in your soundcard? In some cases they are implemented as 5-pol Din plugs (MIDI-standard plugs), in other cases they are implemented via the gameport. Most built-in soundhardware has none. If you have those ports, the most simple (but not best) solution is to connect midi in with midi out, have rosegarden play through midi out and the synth listen to midi in. Afaik(!) alsa has virtual midi-ports, you can use, if you have no hw ports (and which would be more elegant to
Re: [gentoo-user] Zynaddsubfx connected to Rosegarden WITHOUT Jack?
Hi Michael, I will try (again) to be a friend of Jack (NOT Daniels ;) )... What I dont understand: Why all this hassle with Jack if Rosegarden has the ability to connect directly to Zynaddsubfx without any other gadget (see Studio-Manage Midi Devices, start Zynaddsubfx first)??? And if instructed so, why does this dialog still pops up and reminds me of a non existing Jack connection? I tried the masked version 11.06 of rosegarden: The same effect. I removed the jack USE-Flag from make.conf temporarily and rebuild rosegarden: No change. Ok, I will try jack...again...sigh. Best regards, mcc Michael Schreckenbauer grim...@gmx.de [11-08-11 14:00]: Hi Meino, Am Donnerstag, 11. August 2011, 13:04:13 schrieb meino.cra...@gmx.de: Hi Michael, Thank you for your help ! :) Here are the versions: media-sound/rosegarden 11.02 media-sound/zynaddsubfx 2.4.1 media-sound/jack-audio-connection-kit 0.118.0 looks ok to me. No idea, why it doesn't work for you. I did a aconnect -lio, which says: client 0: 'System' [type=kernel] 0 'Timer ' 1 'Announce' Connecting To: 15:0, 128:0 client 14: 'Midi Through' [type=kernel] 0 'Midi Through Port-0' client 28: 'Virtual Raw MIDI 3-0' [type=kernel] 0 'VirMIDI 3-0 ' Connecting To: 128:0 Connected From: 128:3 client 29: 'Virtual Raw MIDI 3-1' [type=kernel] 0 'VirMIDI 3-1 ' client 30: 'Virtual Raw MIDI 3-2' [type=kernel] 0 'VirMIDI 3-2 ' client 31: 'Virtual Raw MIDI 3-3' [type=kernel] 0 'VirMIDI 3-3 ' client 128: 'rosegarden' [type=user] 0 'record in ' Connected From: 0:1, 28:0 1 'sync out' 2 'external controller' 3 'out 1 - General MIDI Device' Connecting To: 28:0 Then I started rosegarden, which - as expereinced before - pops up a dialog, saying: The JACK Audio subsystem has stopped Rosegarden from processing audio, probably because of a processing overload. An attempt to restart the audio service has been made, but some problems may remain. Quitting other running applications may improve Rosegarden's performance. (no jackd was running) When clicking [OK] the dialog disappears only to take a very very short rest an return again and again and again In one of these short tiemes of peace and slumber I open the preference dialog and switched off jackd transport, quit rosegarden and start it again only to play another fresh match between me and this damned dialog... ;-/ Looks like rosegarden cannot work with pure alsa. I did not know this. There's seq24 in portage, which seems to be a step sequencer that works without jack. You could try this one instead of rosegarden. I don't know anything about it though. How can I prevent to scratch my skin by the roses of this garden over and over again.? We could try to solve your problems with jack :) I recommend qjackctl for jack-server handling. How do you start it? What use-flags are set for it? Another option is to try the versions from the pro-audio overlay (that's what I use for rosegarden, jack, ardour and some other audio related stuff). Did you try other synths with jack and rosegarden? Maybe there's a bug in zynaddsubfx. You could try eg hydrogen to test this. Best regards, mcc Regards, Michael Michael Schreckenbauer grim...@gmx.de [11-08-11 12:12]: Hi, Am Donnerstag, 11. August 2011, 11:13:21 schrieb meino.cra...@gmx.de: Hi Michael, I had * experiments with jack and nothing works... Sometimes there was no connection at all, sometimes after a short time rosegarden crashes and/or reports taht the connection has gone, and so on this is strange. It simply works for me (tm). May be I has simply combined the wrong things... What versions did you try? (jackd, rosegarden...) I have no midi hardware in the sense of keyboards, external synths and such. I see. What I want is to set up a melody in rosegarden and to play it via Zynaddsubfx. That's what I was thinking :) A midi step sequencer (not sure if this this correct terminus technicus, though) were also fine... Any ideas? I think, aconnect (part of media-sound/alsa-utils) is the tool you want to try. Start both rosegarden and zynaddsubfx, then use aconnect -lio to see, what in- and out-ports were created on your system. After that use aconnect to connect the rosegarden out-port with the zynaddsubfx in-port. http://alsa.opensrc.org/Aconnect has some details. I never tried this for myself, so I have no practical experience with it. best regards, mcc Hth, Michael If this will become too OT simply use my PM :) Michael Schreckenbauer grim...@gmx.de [11-08-11 10:52]: Hi Meino, Am Donnerstag, 11.
[gentoo-user] Evolution-Data-Server borked?
Hello, As part of a update @world, kde(meta) was upgraded to kde 4.6.5 A large compile ran overnight (using --skipfirst --resume) to complete. In the AM today, I rebooted and ran a revdep-rebuild to check what needs to be rebuilt. during revdep (error-typical of many) broken /usr/lib64/evolution-data-server-1.2/extensions/libecalbackendfile.so (requires libicudata.so.46 broken /usr/lib64/libegroupwise-1.2.so.13.0.1 (requires libicudata.so.46 libicui18n.so.46 [ebuild R] gnome-extra/evolution-data-server-2.32.2-r1 but it fails upon rebuilding: (just one of many .la file warnings) ibtool: link: warning: `/usr/lib/libgio-2.0.la' seems to be moved libtool: link: warning: `/usr/lib/libgobject-2.0.la' seems to be moved libtool: link: warning: `/usr/lib/libgmodule-2.0.la' seems to be moved snip * ERROR: gnome-extra/evolution-data-server-2.32.2-r1 failed (compile phase): * compile failure * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 3852: Called gnome2_src_compile * environment, line 2972: Called die * The specific snippet of code: * emake || die compile failure Any ideas? I'll be offline for a few hours... James
[gentoo-user] Re: Evolution-Data-Server borked?
James wireless at tampabay.rr.com writes: [ebuild R] gnome-extra/evolution-data-server-2.32.2-r1 but it fails Mo information: # equery depends evolution-data-server * These packages depend on evolution-data-server: app-office/libreoffice-3.3.1 (eds ? =gnome-extra/evolution-data-server-1.2) suggestions? James
[gentoo-user] Re: Evolution-Data-Server borked?
James wireless at tampabay.rr.com writes: [ebuild R] gnome-extra/evolution-data-server-2.32.2-r1 but it fails # equery depends evolution-data-server * These packages depend on evolution-data-server: app-office/libreoffice-3.3.1 (eds ? =gnome-extra/evolution-data-server-1.2) Really strange, on another system (not updated in about a week) It has the same identical version of libreOffice-bin installed (3.3.1) and yet the evolution-data server is not show as a dependency ? (scratching head on this one) # equery depends evolution-data-server * These packages depend on evolution-data-server: app-mobilephone/obexd-0.40 (eds ? gnome-extra/evolution-data-server) net-voip/ekiga-2.0.12 (gnome ? gnome-extra/evolution-data-server) I repeat both system had the same identical version of libreoffice-bin-3.3.1 install, yet equery shows a dependency to evolution-data-server on the more recently upgraded (sync) system? back in a few hours. James
[gentoo-user] cron.daily contents : must they be script?
I am using sys-process/dcron-3.2.r1 The contents of /etc/cron.daily, must they be scripts? Can I just put a symlink to a binary there? Rgds, -- FdS Pandu E Poluan ~ IT Optimizer ~ • Blog : http://pepoluan.tumblr.com • Linked-In : http://id.linkedin.com/in/pepoluan
[gentoo-user] Re: cron.daily contents : must they be script?
On 08/11/2011 04:49 PM, Pandu Poluan wrote: I am using sys-process/dcron-3.2.r1 The contents of /etc/cron.daily, must they be scripts? Can I just put a symlink to a binary there? They must be executable. That's the only requirement.
Re: [gentoo-user] Re: cron.daily contents : must they be script?
On Thu, Aug 11, 2011 at 20:56, Nikos Chantziaras rea...@arcor.de wrote: On 08/11/2011 04:49 PM, Pandu Poluan wrote: I am using sys-process/dcron-3.2.r1 The contents of /etc/cron.daily, must they be scripts? Can I just put a symlink to a binary there? They must be executable. That's the only requirement. Ah, thanks! Rgds, -- FdS Pandu E Poluan ~ IT Optimizer ~ • Blog : http://pepoluan.tumblr.com • Linked-In : http://id.linkedin.com/in/pepoluan
Re: [gentoo-user] Re: Custom Timer Frequency (CONFIG_HZ)?
On Thu, Aug 11, 2011 at 15:06, Nikos Chantziaras rea...@arcor.de wrote: On 08/11/2011 10:35 AM, Pandu Poluan wrote: On Thu, Aug 11, 2011 at 14:27, Nikos Chantziarasrea...@arcor.de wrote: On 08/11/2011 09:56 AM, Pandu Poluan wrote: Just wondering, is it possible to specify a custom timer frequency? E.g., HZ=500 instead of one of the canned values (100, 250, 300, 1000). It is possible, but it's a bad idea because non-standard values can result in driver breakage. Some code assumes specific timer granularities (100Hz = 10ms, 250Hz = 4ms, etc). This usually happens with values above 1000Hz, so it might be possible to experiment with non-standard sub-1000Hz values. But why do you want a custom value anyway? Well, for a firewall, I've calculated (gathered and extrapolated from a lot of sources), the latency per-packet is usually less than 1 ms, at worst still less than 2 ms. Thus, setting the timer freq to 100 Hz (as suggested for 'normal' server load) means the timeslice is way too long (10 ms per time slice). So, I speculate that better -- and uniform -- performance will be achieved with a timer freq of 500 Hz. Of course, this is a wild speculation/guess from me. I never quite understand netfilter/xtables' relation to the timeslices, so I may be talking nonsense :-) This assumes that networking is dependent on the timer interrupt, which doesn't seem to be the case; going from 100Hz to 1000Hz will not result in network latencies dropping by 9ms. I know because I tried it on a server. That's what I was concerned of. The only case where network latency improved with a higher HZ was with a game server (Counter-Strike) and that's only because that game's server component is timer dependent when calculating the game world (to do 1000 updates per second it needs a HZ value of 1000). So that application has some real-time demands, meaning a high HZ value helps. Otherwise, you can stick to 100Hz on a server. Higher values won't change anything and will only reduce throughput (though not by much anyway, which is why some people set 1000Hz even on servers.) Hmmm... I *do* feel better response (interaction-wise via SSH) if I use 100, so I think I'll settle for 250 Hz. Thanks for the explanation! Rgds, -- FdS Pandu E Poluan ~ IT Optimizer ~ • Blog : http://pepoluan.tumblr.com • Linked-In : http://id.linkedin.com/in/pepoluan
[gentoo-user] {OT} USB 3.0 hard drive speed test
I'm testing this USB 3.0 bus-powered hard drive: http://www.amazon.com/gp/product/B0041OSQ9S and I get: # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8006 MB in 2.00 seconds = 4004.33 MB/sec Timing buffered disk reads: 252 MB in 3.01 seconds = 83.63 MB/sec # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8230 MB in 2.00 seconds = 4116.54 MB/sec Timing buffered disk reads: 252 MB in 3.02 seconds = 83.55 MB/sec # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8446 MB in 2.00 seconds = 4224.36 MB/sec Timing buffered disk reads: 230 MB in 3.02 seconds = 76.28 MB/sec Wikipedia says USB 3.0 has transmission speeds of up to 5 Gbit/s. Doesn't MB/sec denote mega*bytes* per second? - Grant
Re: [gentoo-user] {OT} USB 3.0 hard drive speed test
Grant emailgr...@gmail.com wrote: I'm testing this USB 3.0 bus-powered hard drive: http://www.amazon.com/gp/product/B0041OSQ9S and I get: # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8006 MB in 2.00 seconds = 4004.33 MB/sec Timing buffered disk reads: 252 MB in 3.01 seconds = 83.63 MB/sec # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8230 MB in 2.00 seconds = 4116.54 MB/sec Timing buffered disk reads: 252 MB in 3.02 seconds = 83.55 MB/sec # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8446 MB in 2.00 seconds = 4224.36 MB/sec Timing buffered disk reads: 230 MB in 3.02 seconds = 76.28 MB/sec Wikipedia says USB 3.0 has transmission speeds of up to 5 Gbit/s. Doesn't MB/sec denote mega*bytes* per second? What usb3 is supported by Linux? Is it a pci card? -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com
Re: [gentoo-user] {OT} USB 3.0 hard drive speed test
On Thu, Aug 11, 2011 at 10:12 AM, Grant emailgr...@gmail.com wrote: I'm testing this USB 3.0 bus-powered hard drive: http://www.amazon.com/gp/product/B0041OSQ9S and I get: # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8006 MB in 2.00 seconds = 4004.33 MB/sec Timing buffered disk reads: 252 MB in 3.01 seconds = 83.63 MB/sec # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8230 MB in 2.00 seconds = 4116.54 MB/sec Timing buffered disk reads: 252 MB in 3.02 seconds = 83.55 MB/sec # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8446 MB in 2.00 seconds = 4224.36 MB/sec Timing buffered disk reads: 230 MB in 3.02 seconds = 76.28 MB/sec Wikipedia says USB 3.0 has transmission speeds of up to 5 Gbit/s. Doesn't MB/sec denote mega*bytes* per second? - Grant 4000MB/s = 4Gb/s
Re: [gentoo-user] {OT} USB 3.0 hard drive speed test
On Thu, Aug 11, 2011 at 10:27 AM, cov...@ccs.covici.com wrote: SNIP What usb3 is supported by Linux? Is it a pci card? -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com I have it on my Asus laptop. - Mark
Re: [gentoo-user] {OT} USB 3.0 hard drive speed test
Am Donnerstag 11 August 2011, 10:12:54 schrieb Grant: I'm testing this USB 3.0 bus-powered hard drive: http://www.amazon.com/gp/product/B0041OSQ9S and I get: # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8006 MB in 2.00 seconds = 4004.33 MB/sec Timing buffered disk reads: 252 MB in 3.01 seconds = 83.63 MB/sec # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8230 MB in 2.00 seconds = 4116.54 MB/sec Timing buffered disk reads: 252 MB in 3.02 seconds = 83.55 MB/sec # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8446 MB in 2.00 seconds = 4224.36 MB/sec Timing buffered disk reads: 230 MB in 3.02 seconds = 76.28 MB/sec Wikipedia says USB 3.0 has transmission speeds of up to 5 Gbit/s. Doesn't MB/sec denote mega*bytes* per second? - Grant so what? first you are measuring the access to the in-memory cache and then a harddisk - and for a harddisk 80mb/sec is really, really good. -- #163933
Re: [gentoo-user] {OT} USB 3.0 hard drive speed test
Am Donnerstag 11 August 2011, 10:30:04 schrieb Mark Knecht: On Thu, Aug 11, 2011 at 10:12 AM, Grant emailgr...@gmail.com wrote: I'm testing this USB 3.0 bus-powered hard drive: http://www.amazon.com/gp/product/B0041OSQ9S and I get: # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8006 MB in 2.00 seconds = 4004.33 MB/sec Timing buffered disk reads: 252 MB in 3.01 seconds = 83.63 MB/sec # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8230 MB in 2.00 seconds = 4116.54 MB/sec Timing buffered disk reads: 252 MB in 3.02 seconds = 83.55 MB/sec # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8446 MB in 2.00 seconds = 4224.36 MB/sec Timing buffered disk reads: 230 MB in 3.02 seconds = 76.28 MB/sec Wikipedia says USB 3.0 has transmission speeds of up to 5 Gbit/s. Doesn't MB/sec denote mega*bytes* per second? - Grant 4000MB/s = 4Gb/s please read man hdparm -T Perform timings of cache reads for benchmark and comparison purposes. For meaningful results, this operation should be repeated 2-3 times on an otherwise inactive system (no other active processes) with at least a couple of megabytes of free memory. This displays the speed of reading directly from the Linux buffer cache without disk access. This measurement is essentially an indication of the throughput of the processor, cache, and mem- ory of the system under test. as you can see, those numbers have nothing to do with the transport. And 80mb/sec for a harddisk is really, really good. -- #163933
Re: [gentoo-user] {OT} USB 3.0 hard drive speed test
It is my opinion that benchmarks should be done with a real benchmark tool. Try with bonnie++ This will really show you the strengths and weaknesses of your setup. Good luck, Simon On Thu, Aug 11, 2011 at 1:49 PM, Volker Armin Hemmann volkerar...@googlemail.com wrote: Am Donnerstag 11 August 2011, 10:30:04 schrieb Mark Knecht: On Thu, Aug 11, 2011 at 10:12 AM, Grant emailgr...@gmail.com wrote: I'm testing this USB 3.0 bus-powered hard drive: http://www.amazon.com/gp/product/B0041OSQ9S and I get: # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8006 MB in 2.00 seconds = 4004.33 MB/sec Timing buffered disk reads: 252 MB in 3.01 seconds = 83.63 MB/sec # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8230 MB in 2.00 seconds = 4116.54 MB/sec Timing buffered disk reads: 252 MB in 3.02 seconds = 83.55 MB/sec # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8446 MB in 2.00 seconds = 4224.36 MB/sec Timing buffered disk reads: 230 MB in 3.02 seconds = 76.28 MB/sec Wikipedia says USB 3.0 has transmission speeds of up to 5 Gbit/s. Doesn't MB/sec denote mega*bytes* per second? - Grant 4000MB/s = 4Gb/s please read man hdparm -T Perform timings of cache reads for benchmark and comparison purposes. For meaningful results, this operation should be repeated 2-3 times on an otherwise inactive system (no other active processes) with at least a couple of megabytes of free memory. This displays the speed of reading directly from the Linux buffer cache without disk access. This measurement is essentially an indication of the throughput of the processor, cache, and mem- ory of the system under test. as you can see, those numbers have nothing to do with the transport. And 80mb/sec for a harddisk is really, really good. -- #163933
Re: [gentoo-user] Zynaddsubfx connected to Rosegarden WITHOUT Jack?
On 2011-08-11 13:04, meino.cra...@gmx.de wrote: snip How can I prevent to scratch my skin by the roses of this garden over and over again.? Quick question, have you tried this?: http://en.gentoo-wiki.com/wiki/JACK Disclaimer: I haven't used nor am I using Jack at the moment. Best regards Peter K
Re: [gentoo-user] {OT} USB 3.0 hard drive speed test
I'm testing this USB 3.0 bus-powered hard drive: http://www.amazon.com/gp/product/B0041OSQ9S and I get: # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8006 MB in 2.00 seconds = 4004.33 MB/sec Timing buffered disk reads: 252 MB in 3.01 seconds = 83.63 MB/sec # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8230 MB in 2.00 seconds = 4116.54 MB/sec Timing buffered disk reads: 252 MB in 3.02 seconds = 83.55 MB/sec # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8446 MB in 2.00 seconds = 4224.36 MB/sec Timing buffered disk reads: 230 MB in 3.02 seconds = 76.28 MB/sec Wikipedia says USB 3.0 has transmission speeds of up to 5 Gbit/s. Doesn't MB/sec denote mega*bytes* per second? What usb3 is supported by Linux? Is it a pci card? I'm on 2.6.39-hardened-r10 and I'm using this motherboard with onboard USB 3.0: http://www.newegg.com/Product/Product.aspx?Item=N82E16813128490 - Grant
Re: [gentoo-user] {OT} USB 3.0 hard drive speed test
I'm testing this USB 3.0 bus-powered hard drive: http://www.amazon.com/gp/product/B0041OSQ9S and I get: # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8006 MB in 2.00 seconds = 4004.33 MB/sec Timing buffered disk reads: 252 MB in 3.01 seconds = 83.63 MB/sec # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8230 MB in 2.00 seconds = 4116.54 MB/sec Timing buffered disk reads: 252 MB in 3.02 seconds = 83.55 MB/sec # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8446 MB in 2.00 seconds = 4224.36 MB/sec Timing buffered disk reads: 230 MB in 3.02 seconds = 76.28 MB/sec Wikipedia says USB 3.0 has transmission speeds of up to 5 Gbit/s. Doesn't MB/sec denote mega*bytes* per second? - Grant 4000MB/s = 4Gb/s OK, I thought B designated bytes and b designated bits. So when you see something like MB/s or Mb/s there's no way to know if it's referring to megabits or megabytes? - Grant
Re: [gentoo-user] {OT} USB 3.0 hard drive speed test
On Thu, Aug 11, 2011 at 11:27 AM, Grant emailgr...@gmail.com wrote: I'm testing this USB 3.0 bus-powered hard drive: http://www.amazon.com/gp/product/B0041OSQ9S and I get: # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8006 MB in 2.00 seconds = 4004.33 MB/sec Timing buffered disk reads: 252 MB in 3.01 seconds = 83.63 MB/sec # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8230 MB in 2.00 seconds = 4116.54 MB/sec Timing buffered disk reads: 252 MB in 3.02 seconds = 83.55 MB/sec # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8446 MB in 2.00 seconds = 4224.36 MB/sec Timing buffered disk reads: 230 MB in 3.02 seconds = 76.28 MB/sec Wikipedia says USB 3.0 has transmission speeds of up to 5 Gbit/s. Doesn't MB/sec denote mega*bytes* per second? - Grant 4000MB/s = 4Gb/s OK, I thought B designated bytes and b designated bits. So when you see something like MB/s or Mb/s there's no way to know if it's referring to megabits or megabytes? - Grant Nahh, I made a mistake there. 4000MB/S = 4GB/S - You are correct, at least as far as I'm concerned. Of course Volker, the man with the answer to everything, just told you that 80 mega-bit / second was a 'really, really good hard drive' so I guess we all make mistakes. ;-) I was really trying to point out that you ARE getting 80% of the USB 3.0 spec in the first number which is the speed of communications across the USB cable talking to the drive interface. Sustained storage rates of the drive don't have anything to do with that though. That depends on the drive in the case. Cheers, Mark
Re: [gentoo-user] {OT} USB 3.0 hard drive speed test
I'm testing this USB 3.0 bus-powered hard drive: http://www.amazon.com/gp/product/B0041OSQ9S and I get: # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8006 MB in 2.00 seconds = 4004.33 MB/sec Timing buffered disk reads: 252 MB in 3.01 seconds = 83.63 MB/sec # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8230 MB in 2.00 seconds = 4116.54 MB/sec Timing buffered disk reads: 252 MB in 3.02 seconds = 83.55 MB/sec # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8446 MB in 2.00 seconds = 4224.36 MB/sec Timing buffered disk reads: 230 MB in 3.02 seconds = 76.28 MB/sec Wikipedia says USB 3.0 has transmission speeds of up to 5 Gbit/s. Doesn't MB/sec denote mega*bytes* per second? - Grant 4000MB/s = 4Gb/s please read man hdparm -T Perform timings of cache reads for benchmark and comparison purposes. For meaningful results, this operation should be repeated 2-3 times on an otherwise inactive system (no other active processes) with at least a couple of megabytes of free memory. This displays the speed of reading directly from the Linux buffer cache without disk access. This measurement is essentially an indication of the throughput of the processor, cache, and mem- ory of the system under test. as you can see, those numbers have nothing to do with the transport. And 80mb/sec for a harddisk is really, really good. Here's what I get from the same hard drive plugged into a USB 2.0 port: # hdparm -t /dev/sdb /dev/sdb: Timing buffered disk reads: 102 MB in 3.01 seconds = 33.90 MB/sec # hdparm -t /dev/sdb /dev/sdb: Timing buffered disk reads: 92 MB in 3.00 seconds = 30.66 MB/sec # hdparm -t /dev/sdb /dev/sdb: Timing buffered disk reads: 102 MB in 3.03 seconds = 33.63 MB/sec So USB 2.0 throughput is obviously creating a bottleneck. USB 2.0 throughput is said to be 60 MB/s so I'm surprised I'm not doing much better than 30 MB/s there. USB 3.0 throughput is said to be 625 MB/s so I must be running up against the speed of the disk itself in USB 3.0 mode, correct? Here's what I get from my internal SATA hard drive, but it is surely a much faster disk: # hdparm -t /dev/sda /dev/sda: Timing buffered disk reads: 412 MB in 3.01 seconds = 136.99 MB/sec # hdparm -t /dev/sda /dev/sda: Timing buffered disk reads: 412 MB in 3.01 seconds = 136.75 MB/sec # hdparm -t /dev/sda /dev/sda: Timing buffered disk reads: 414 MB in 3.01 seconds = 137.55 MB/sec - Grant
Re: [gentoo-user] {OT} USB 3.0 hard drive speed test
I'm testing this USB 3.0 bus-powered hard drive: http://www.amazon.com/gp/product/B0041OSQ9S and I get: # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8006 MB in 2.00 seconds = 4004.33 MB/sec Timing buffered disk reads: 252 MB in 3.01 seconds = 83.63 MB/sec # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8230 MB in 2.00 seconds = 4116.54 MB/sec Timing buffered disk reads: 252 MB in 3.02 seconds = 83.55 MB/sec # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8446 MB in 2.00 seconds = 4224.36 MB/sec Timing buffered disk reads: 230 MB in 3.02 seconds = 76.28 MB/sec Wikipedia says USB 3.0 has transmission speeds of up to 5 Gbit/s. Doesn't MB/sec denote mega*bytes* per second? - Grant 4000MB/s = 4Gb/s OK, I thought B designated bytes and b designated bits. So when you see something like MB/s or Mb/s there's no way to know if it's referring to megabits or megabytes? - Grant Nahh, I made a mistake there. 4000MB/S = 4GB/S - You are correct, at least as far as I'm concerned. Of course Volker, the man with the answer to everything, just told you that 80 mega-bit / second was a 'really, really good hard drive' so I guess we all make mistakes. ;-) I was really trying to point out that you ARE getting 80% of the USB 3.0 spec in the first number which is the speed of communications across the USB cable talking to the drive interface. Sustained storage As Volker pointed out, I don't think hdparm -T interacts with the USB system at all. I get the same rates whether the USB hard drive is plugged into a 3.0 port or 2.0 port. - Grant rates of the drive don't have anything to do with that though. That depends on the drive in the case. Cheers, Mark
Re: [gentoo-user] {OT} USB 3.0 hard drive speed test
On Thu 11 August 2011 11:50:17 Grant did opine thusly: USB 3.0 throughput is said to be 625 MB/s so I must be running up against the speed of the disk itself in USB 3.0 mode, correct? Here's what I get from my internal SATA hard drive, but it is surely a much faster disk: # hdparm -t /dev/sda /dev/sda: Timing buffered disk reads: 412 MB in 3.01 seconds = 136.99 MB/sec Correct. The drive platters are still only going to get data off as fast as they ever did. Even with USB 3.0 that speed will not change. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] {OT} USB 3.0 hard drive speed test
On Thu 11 August 2011 11:27:13 Grant did opine thusly: I'm testing this USB 3.0 bus-powered hard drive: http://www.amazon.com/gp/product/B0041OSQ9S and I get: # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8006 MB in 2.00 seconds = 4004.33 MB/sec Timing buffered disk reads: 252 MB in 3.01 seconds = 83.63 MB/sec # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8230 MB in 2.00 seconds = 4116.54 MB/sec Timing buffered disk reads: 252 MB in 3.02 seconds = 83.55 MB/sec # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8446 MB in 2.00 seconds = 4224.36 MB/sec Timing buffered disk reads: 230 MB in 3.02 seconds = 76.28 MB/sec Wikipedia says USB 3.0 has transmission speeds of up to 5 Gbit/s. Doesn't MB/sec denote mega*bytes* per second? - Grant 4000MB/s = 4Gb/s OK, I thought B designated bytes and b designated bits. So when you see something like MB/s or Mb/s there's no way to know if it's referring to megabits or megabytes? B and b mean whatever the fuck the manufacturer felt like having them mean on any given day[1]. There's no rhyme or reason with disk manufacturers, so you have to resort to independant testers who will tell you that disk have usable capacity of X units, where units is an exactly defined thing that we all understand. [1] There are standards, but not enforceable so manufacturers can often do anything they want. Japanese sound amplifiers are the same - I've seen portable Sony units advertised as 5,000W! That's two hot water geysers, a stove and a few kettles of power. All out of size D torch batteries. yeah right. -- alan dot mckinnon at gmail dot com
[gentoo-user] new user and dhcpcd problem
Good afternoon am a New User gentoo and I appreciate everyone's help. My problem is set up and dhcpcd with rc-update add dhcpcd default when I try to wget is always HTTP request sent, Awaiting Response ... 200 and not out of it OK if I put fixed IP it works normally. Interestingly, with dhcpcd ping any external ip works normally. The IP number, gateway and dns are the same used with fixed IP and dhcpcd. Tanks for all Alexandre Riveira brazil
Re: [gentoo-user] {OT} USB 3.0 hard drive speed test
On Thu, Aug 11, 2011 at 1:50 PM, Grant emailgr...@gmail.com wrote: I'm testing this USB 3.0 bus-powered hard drive: http://www.amazon.com/gp/product/B0041OSQ9S and I get: # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8006 MB in 2.00 seconds = 4004.33 MB/sec Timing buffered disk reads: 252 MB in 3.01 seconds = 83.63 MB/sec # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8230 MB in 2.00 seconds = 4116.54 MB/sec Timing buffered disk reads: 252 MB in 3.02 seconds = 83.55 MB/sec # hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 8446 MB in 2.00 seconds = 4224.36 MB/sec Timing buffered disk reads: 230 MB in 3.02 seconds = 76.28 MB/sec Wikipedia says USB 3.0 has transmission speeds of up to 5 Gbit/s. Doesn't MB/sec denote mega*bytes* per second? Those speeds seem good and normal to me, much faster than USB 2.0 would have provided. And really good for a low-power drive. Faster than my USB 3.0 32GB flash drive. :) Here's a benchmark of 2.5 USB 3.0 external drives, in fact yours is one of the tested disks. Your speeds above are actually faster than the benchmarked speeds: http://www.everythingusb.com/images/list/portable-drive-large-file-copy-benchmark.png Here's what I get from the same hard drive plugged into a USB 2.0 port: # hdparm -t /dev/sdb /dev/sdb: Timing buffered disk reads: 102 MB in 3.01 seconds = 33.90 MB/sec # hdparm -t /dev/sdb /dev/sdb: Timing buffered disk reads: 92 MB in 3.00 seconds = 30.66 MB/sec # hdparm -t /dev/sdb /dev/sdb: Timing buffered disk reads: 102 MB in 3.03 seconds = 33.63 MB/sec So USB 2.0 throughput is obviously creating a bottleneck. USB 2.0 throughput is said to be 60 MB/s so I'm surprised I'm not doing much better than 30 MB/s there. USB 2.0 theoretical max is 480Mbps but realistically it is more like 320Mbps, which means your speeds above are just about as fast as anyone is ever going to get on USB 2.0, and they are in line with the fastest speeds I've ever gotten personally on USB 2.0. Roughly about 32 MB/sec is maximum speed on USB 2.0 in my experience. USB 3.0 throughput is said to be 625 MB/s so I must be running up against the speed of the disk itself in USB 3.0 mode, correct? Processing power of the external USB-SATA controller chip could also come into play. But in your case I think you're getting the maximum speed possible from the drive. Be happy. :) Here's what I get from my internal SATA hard drive, but it is surely a much faster disk: # hdparm -t /dev/sda /dev/sda: Timing buffered disk reads: 412 MB in 3.01 seconds = 136.99 MB/sec # hdparm -t /dev/sda /dev/sda: Timing buffered disk reads: 412 MB in 3.01 seconds = 136.75 MB/sec # hdparm -t /dev/sda /dev/sda: Timing buffered disk reads: 414 MB in 3.01 seconds = 137.55 MB/sec Surely a faster/higher-powered disk and I would guess that USB 3 maybe has higher latency than the SATA controller on your laptop's motherboard. I know USB 2.0 has latency problems (and why the audio nerds* prefer firewire equipment). * used as a term of endearment :)
[gentoo-user] Re: new user and dhcpcd problem
I discovery values from routes: dhcpcd Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 0.0.0.0 192.168.0.2 0.0.0.0 UG0 00 eth0 127.0.0.0 - 255.0.0.0 ! 0 -0 - 192.168.0.0 0.0.0.0 255.255.255.0 U 0 00 eth0 Static Ip Destination Gateway Genmask Flags Metric RefUse Iface 0.0.0.0 192.168.0.2 0.0.0.0 UG20200 eth0 127.0.0.0 127.0.0.1 255.0.0.0 UG0 00 lo 192.168.0.0 0.0.0.0 255.255.255.0 U 20200 eth0 Tanks Alexandre Riveira brazil Em 11-08-2011 16:55, Alexandre Riveira escreveu: Good afternoon am a New User gentoo and I appreciate everyone's help. My problem is set up and dhcpcd with rc-update add dhcpcd default when I try to wget is always HTTP request sent, Awaiting Response ... 200 and not out of it OK if I put fixed IP it works normally. Interestingly, with dhcpcd ping any external ip works normally. The IP number, gateway and dns are the same used with fixed IP and dhcpcd. Tanks for all Alexandre Riveira brazil
Re: [gentoo-user] Zynaddsubfx connected to Rosegarden WITHOUT Jack?
Hi Meino, Am Donnerstag, 11. August 2011, 14:15:32 schrieb meino.cra...@gmx.de: Hi Michael, I will try (again) to be a friend of Jack (NOT Daniels ;) )... What I dont understand: Why all this hassle with Jack if Rosegarden has the ability to connect directly to Zynaddsubfx without any other gadget (see Studio-Manage Midi Devices, start Zynaddsubfx first)??? And if instructed so, why does this dialog still pops up and reminds me of a non existing Jack connection? afaict rosegarden relies on jack for it's audio processing. If no jackd is running this window pops up. I tried the masked version 11.06 of rosegarden: The same effect. I removed the jack USE-Flag from make.conf temporarily and rebuild rosegarden: No change. I sort of expected this. See above. Ok, I will try jack...again...sigh. There are some other sequencers in the pro-audio overlay. http://svnweb.tuxfamily.org/filedetails.php?repname=proaudio/proaudiopath=%2Ftrunk%2Foverlays%2Fproaudio%2F00- DETAILED-PACKAGES-LIST has a list of all packages. You could search this page for midi sequencers and try to find one that does not depend on jack. And as suggested before there's media-sound/seq24 in portage, that only needs alsa to talk to synths. jackd is really cool, if you are doing audio work. For MIDI stuff only, it adds nothing to pure alsa afaik. Best regards, mcc Hth, Michael Michael Schreckenbauer grim...@gmx.de [11-08-11 14:00]: Hi Meino, Am Donnerstag, 11. August 2011, 13:04:13 schrieb meino.cra...@gmx.de: Hi Michael, Thank you for your help ! :) Here are the versions: media-sound/rosegarden 11.02 media-sound/zynaddsubfx 2.4.1 media-sound/jack-audio-connection-kit 0.118.0 looks ok to me. No idea, why it doesn't work for you. I did a aconnect -lio, which says: client 0: 'System' [type=kernel] 0 'Timer ' 1 'Announce' Connecting To: 15:0, 128:0 client 14: 'Midi Through' [type=kernel] 0 'Midi Through Port-0' client 28: 'Virtual Raw MIDI 3-0' [type=kernel] 0 'VirMIDI 3-0 ' Connecting To: 128:0 Connected From: 128:3 client 29: 'Virtual Raw MIDI 3-1' [type=kernel] 0 'VirMIDI 3-1 ' client 30: 'Virtual Raw MIDI 3-2' [type=kernel] 0 'VirMIDI 3-2 ' client 31: 'Virtual Raw MIDI 3-3' [type=kernel] 0 'VirMIDI 3-3 ' client 128: 'rosegarden' [type=user] 0 'record in ' Connected From: 0:1, 28:0 1 'sync out' 2 'external controller' 3 'out 1 - General MIDI Device' Connecting To: 28:0 Then I started rosegarden, which - as expereinced before - pops up a dialog, saying: The JACK Audio subsystem has stopped Rosegarden from processing audio, probably because of a processing overload. An attempt to restart the audio service has been made, but some problems may remain. Quitting other running applications may improve Rosegarden's performance. (no jackd was running) When clicking [OK] the dialog disappears only to take a very very short rest an return again and again and again In one of these short tiemes of peace and slumber I open the preference dialog and switched off jackd transport, quit rosegarden and start it again only to play another fresh match between me and this damned dialog... ;-/ Looks like rosegarden cannot work with pure alsa. I did not know this. There's seq24 in portage, which seems to be a step sequencer that works without jack. You could try this one instead of rosegarden. I don't know anything about it though. How can I prevent to scratch my skin by the roses of this garden over and over again.? We could try to solve your problems with jack :) I recommend qjackctl for jack-server handling. How do you start it? What use-flags are set for it? Another option is to try the versions from the pro-audio overlay (that's what I use for rosegarden, jack, ardour and some other audio related stuff). Did you try other synths with jack and rosegarden? Maybe there's a bug in zynaddsubfx. You could try eg hydrogen to test this. Best regards, mcc Regards, Michael Michael Schreckenbauer grim...@gmx.de [11-08-11 12:12]: Hi, Am Donnerstag, 11. August 2011, 11:13:21 schrieb meino.cra...@gmx.de: Hi Michael, I had * experiments with jack and nothing works... Sometimes there was no connection at all, sometimes after a short time rosegarden crashes and/or reports taht the connection has gone, and so on this is strange. It simply works for me (tm). May be I has simply combined the wrong things... What versions did you try? (jackd, rosegarden...) I have no midi hardware in the sense of keyboards, external
[gentoo-user] fighting over keyboard layouts
Hi list, I've just spent the last 4 days or so trying to get an old laptop up to date. It hasn't been sync'd for at least 8 months so you can imagine the hell it's been. Anyway, I've managed to get everything nicely updated but there's one problem that I just can't fix or find relevant discussion about. My /etc/conf.d/keymaps defines my keyboard layout as uk and this works fine in the console. Unfortunately, in gnome the keyboard is resolutely stuck on US. I can add the English UK layout in the keyboard preferences, and it looks fine when I first select it. However they layout doesn't change and when I Show the English UK layout, it shows a standard US layout. No matter what I do (which admittedly isn't very much as I don't know X stuff that well), I cannot get a decent keyboard layout in gnome. Any tips would be appreciated before I rip all the keys off and get the super glue out. Thanks
[gentoo-user] Re: fighting over keyboard layouts
Matt Harrison iwasinnamuknow at genestate.com writes: Hi list, I've just spent the last 4 days or so trying to get an old laptop up to date. It hasn't been sync'd for at least 8 months so you can imagine the hell it's been. livedvd-amd64-multilib-11.2.iso 06-Aug-2011 07:12 2.8G Boot it up and see if the latest livedvd works on that system. If it does you can glean what the livedvd-11.2 is using for drivers, or just install gentoo a_fresh. just a thought, hth, James
Re: [gentoo-user] Re: new user and dhcpcd problem
Hi Alexandre and welcome to Gentoo! :) On Thursday 11 Aug 2011 21:32:58 Alexandre Riveira wrote: I discovery values from routes: dhcpcd Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 0.0.0.0 192.168.0.2 0.0.0.0 UG0 00 eth0 127.0.0.0 - 255.0.0.0 ! 0 - The ! shows that the local route is not accepted on eth0 and indeed it should not be bound to the eth0 interface, but to lo. When you run ifconfig what does it show? When you run 'ip route show' what do you get? How have you configured your /etc/conf.d/net? 0 - 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 Static Ip Destination Gateway Genmask Flags Metric RefUse Iface 0.0.0.0 192.168.0.2 0.0.0.0 UG20200 eth0 127.0.0.0 127.0.0.1 255.0.0.0 UG0 0 0 lo 192.168.0.0 0.0.0.0 255.255.255.0 U 2020 0 eth0 The local and eth0 interfaces seem to be reversed. How have you defined how your local and eth0 interfaces are routed? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] fighting over keyboard layouts
On Thu, 11 Aug 2011 21:14:59 +0100, Matt Harrison wrote about [gentoo-user] fighting over keyboard layouts: [snip] No matter what I do (which admittedly isn't very much as I don't know X stuff that well), I cannot get a decent keyboard layout in gnome. If you're using the evdev driver for keyboard and mouse (you should be!) then something like this in your /etc/X11/xorg.conf might help. # Configuration for evdev-controlled input devices. Section InputClass Identifier keyboard Driver evdev Option XkbLayout gb Option XkbModel pc105 Option XkbOptions terminate:ctrl_alt_bksp MatchIsKeyboard on EndSection Section InputClass Identifier pointer Driver evdev MatchIsPointer on EndSection The bit about XkbLayout gb should do the trick. [Just be aware that there is a national language code uk, but it is for Ukrainian.] -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* dwn...@ntlworld.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* signature.asc Description: PGP signature
Re: [gentoo-user] fighting over keyboard layouts
On Thursday 11 Aug 2011 21:14:59 Matt Harrison wrote: Hi list, I've just spent the last 4 days or so trying to get an old laptop up to date. It hasn't been sync'd for at least 8 months so you can imagine the hell it's been. Anyway, I've managed to get everything nicely updated but there's one problem that I just can't fix or find relevant discussion about. My /etc/conf.d/keymaps defines my keyboard layout as uk and this works fine in the console. Unfortunately, in gnome the keyboard is resolutely stuck on US. I can add the English UK layout in the keyboard preferences, and it looks fine when I first select it. However they layout doesn't change and when I Show the English UK layout, it shows a standard US layout. No matter what I do (which admittedly isn't very much as I don't know X stuff that well), I cannot get a decent keyboard layout in gnome. Any tips would be appreciated before I rip all the keys off and get the super glue out. Thanks Edit your /etc/X11/xorg.conf and add something like this: = Section InputClass Identifier keyboard catchall Driver evdev MatchIsKeyboard on MatchDevicePath /dev/input/event* Option XkbLayout gb Option XkbOptions terminate:ctrl_alt_bksp EndSection = Or add similar lines to /usr/share/X11/xorg.conf.d/10-evdev.conf; Or copy your /usr/share/X11/xorg.conf.d/10-evdev.conf to /etc/X11/xorg.conf.d/10-evdev.conf and then add the lines above. PS. There may be a Gnome way of achieving the same, but I only have cursory experience of Gnome so somebody else should advise on that. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] fighting over keyboard layouts
On Thu, Aug 11, 2011 at 11:00:47PM +0100, David W Noon wrote: On Thu, 11 Aug 2011 21:14:59 +0100, Matt Harrison wrote about [gentoo-user] fighting over keyboard layouts: [snip] No matter what I do (which admittedly isn't very much as I don't know X stuff that well), I cannot get a decent keyboard layout in gnome. If you're using the evdev driver for keyboard and mouse (you should be!) then something like this in your /etc/X11/xorg.conf might help. # Configuration for evdev-controlled input devices. Section InputClass Identifier keyboard Driver evdev Option XkbLayout gb Option XkbModel pc105 Option XkbOptions terminate:ctrl_alt_bksp MatchIsKeyboard on EndSection Section InputClass Identifier pointer Driver evdev MatchIsPointer on EndSection The bit about XkbLayout gb should do the trick. [Just be aware that there is a national language code uk, but it is for Ukrainian.] Thanks David, I wasn't using an xorg.conf before but just threw those sections in and it seems perfect. I was just in the middle of digging out a USB dvd drive to try James' suggestion but now I can save my energy. Thanks guys
[gentoo-user] media-gfx/imagemagick-6.7.1.0 emake failed configure: WARNING: unrecognized options: --without-corefonts
Hello, I'm using Gentoo LVM2, ~AMD64, and I'm trying to install: media-gfx/imagemagick. [ebuild N ] media-gfx/imagemagick-6.7.1.0 USE=X bzip2 cxx jpeg openmp perl png svg zlib -autotrace -corefonts -djvu -fftw -fontconfig -fpx -graphviz -gs -hdri -jbig -jpeg2k -lcms -lqr -lzma -opencl -openexr -q32 -q64 -q8 -raw -static-libs -tiff -truetype -webp -wmf -xml But, I'm getting the following error(s): make[2]: Leaving directory `/var/tmp/portage/media-gfx/imagemagick-6.7.1.0/work/ImageMagick-6.7.1-0' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/var/tmp/portage/media-gfx/imagemagick-6.7.1.0/work/ImageMagick-6.7.1-0' make: *** [install] Error 2 * ERROR: media-gfx/imagemagick-6.7.1.0 failed (install phase): * emake failed * * If you need support, post the output of 'emerge --info =media-gfx/imagemagick-6.7.1.0', * the complete build log and the output of 'emerge -pqv =media-gfx/imagemagick-6.7.1.0'. * The complete build log is located at '/var/tmp/portage/media-gfx/imagemagick-6.7.1.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/imagemagick-6.7.1.0/temp/environment'. * S: '/var/tmp/portage/media-gfx/imagemagick-6.7.1.0/work/ImageMagick-6.7.1-0' * QA Notice: Unrecognized configure options: * * configure: WARNING: unrecognized options: --without-corefonts * configure: WARNING: unrecognized options: --without-corefonts The full error log, here:http://tinypaste.com/0b1f1c Huh... I've tried with -corefonts, but nothing happened, same mistake.. Any help? By the way, my emerge --info is here: http://tinypaste.com/b9857f Regards -- Carlos Sura.-
Re: [gentoo-user] {OT} USB 3.0 hard drive speed test
USB 3.0 throughput is said to be 625 MB/s so I must be running up against the speed of the disk itself in USB 3.0 mode, correct? Processing power of the external USB-SATA controller chip could also come into play. But in your case I think you're getting the maximum speed possible from the drive. Be happy. :) I'm happy. I just like to know where I stand relative to the spec. Surely a faster/higher-powered disk and I would guess that USB 3 maybe has higher latency than the SATA controller on your laptop's motherboard. I know USB 2.0 has latency problems (and why the audio nerds* prefer firewire equipment). * used as a term of endearment :) For audio playback, USB is now just as good as Firewire thanks to the inception of the asynchronous (as opposed to synchronous or adaptive) USB DAC. In an asynchronous implementation, the clock is in the DAC itself and operates independently of the computer. However, if Firewire has lower latency I can see how it would be better than USB for audio recoding and production. - Grant
Re: [gentoo-user] media-gfx/imagemagick-6.7.1.0 emake failed configure: WARNING: unrecognized options: --without-corefonts
Carlos Sura writes: I'm using Gentoo LVM2, ~AMD64, and I'm trying to install: media-gfx/imagemagick. [...] * ERROR: media-gfx/imagemagick-6.7.1.0 failed (install phase): * emake failed * * If you need support, post the output of 'emerge --info =media-gfx/imagemagick-6.7.1.0', * the complete build log and the output of 'emerge -pqv =media-gfx/imagemagick-6.7.1.0'. * The complete build log is located at '/var/tmp/portage/media-gfx/imagemagick-6.7.1.0/temp/build.log'. The solution to such problems is: Scan the build log for the first occurrence of 'Error'. It happens early, due to parallel makes (you have MAKEOPTS=-j3) you do not see it at the bottom. /usr/bin/install -c -m 644 ./www/api/decorate.html /var/tmp/portage/media- gfx/imagemagick-6.7.1.0/image//usr/share/doc/imagemagick-6.7.1.0//www/api Could not find a typemap for C type 'Image::Magick' in Magick.xs, line 2404 Then just google for Could not find a typemap for C type 'Image::Magick' in Magick.xs, line 2404. In this case, it will find this forum thread that has a solution: http://forums.gentoo.org/viewtopic-p-6780342.html Wonko
[gentoo-user] Assigning an IP in AP mode
Does anyone know how to assign an IP address to a wireless interface in AP mode? It can't be specified in /etc/conf.d/net because /etc/init.d/net.wlan0 is not executed since hostapd handles the whole thing. 'ifconfig wlan0 192.168.0.1' works but I know I've done it before without issuing that command each time I reboot, I just can't remember how. BTW, can I assign IP addresses on the same subnet to the 2 wireless interfaces in my system if one of them connects to the WAN and the other to the LAN? - Grant
Re: [gentoo-user] media-gfx/imagemagick-6.7.1.0 emake failed configure: WARNING: unrecognized options: --without-corefonts
On 11 August 2011 20:07, Alex Schuster wo...@wonkology.org wrote: Carlos Sura writes: I'm using Gentoo LVM2, ~AMD64, and I'm trying to install: media-gfx/imagemagick. [...] * ERROR: media-gfx/imagemagick-6.7.1.0 failed (install phase): * emake failed * * If you need support, post the output of 'emerge --info =media-gfx/imagemagick-6.7.1.0', * the complete build log and the output of 'emerge -pqv =media-gfx/imagemagick-6.7.1.0'. * The complete build log is located at '/var/tmp/portage/media-gfx/imagemagick-6.7.1.0/temp/build.log'. The solution to such problems is: Scan the build log for the first occurrence of 'Error'. It happens early, due to parallel makes (you have MAKEOPTS=-j3) you do not see it at the bottom. /usr/bin/install -c -m 644 ./www/api/decorate.html /var/tmp/portage/media- gfx/imagemagick-6.7.1.0/image//usr/share/doc/imagemagick-6.7.1.0//www/api Could not find a typemap for C type 'Image::Magick' in Magick.xs, line 2404 Then just google for Could not find a typemap for C type 'Image::Magick' in Magick.xs, line 2404. In this case, it will find this forum thread that has a solution: http://forums.gentoo.org/viewtopic-p-6780342.html Wonko Thank you Wonko, that's the answer to my problem, now I have installed Imagemagick without any problem. I just did: echo =perl-core/ExtUtils-ParseXS-3.20.0 /etc/portage/package.mask emerge -1v perl-core/ExtUtils-ParseXS -- Carlos Sura.-
Re: [gentoo-user] Zynaddsubfx connected to Rosegarden WITHOUT Jack?
pk pete...@coolmail.se [11-08-11 20:12]: On 2011-08-11 13:04, meino.cra...@gmx.de wrote: snip How can I prevent to scratch my skin by the roses of this garden over and over again.? Quick question, have you tried this?: http://en.gentoo-wiki.com/wiki/JACK Disclaimer: I haven't used nor am I using Jack at the moment. Best regards Peter K Hi Peter Following the above and finally starting jackd be hand (parameters taken from the doc you mentioned) to see, what locks qjckctrl hard, when starting rosegarden, gives the following output. Is it possible, the jack goes crazy when seeing six cores running in 64bit mode??? solfire:/home/userjackd -R -d alsa jackd 0.118.0 Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others. jackd comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details Memory locking is unlimited - this is dangerous. You should probably alter the line: @audio - memlockunlimited in your /etc/limits.conf to read: @audio - memlock6138036 JACK compiled with System V SHM support. loading driver .. creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit control device hw:0 configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods ALSA: final selected sample format for capture: 32bit integer little-endian ALSA: use 2 periods for capture ALSA: final selected sample format for playback: 32bit integer little-endian ALSA: use 2 periods for playback jackd watchdog: timeout - killing jackd [1]725 abort jackd -R -d alsa solfire:/home/usereix jack-audio-connection-kit [I] media-sound/jack-audio-connection-kit Available versions: 0.109.2-r1 ~0.116.2 0.118.0 ~0.120.1 ~0.120.2 ~0.121.2 {3dnow alsa altivec caps coreaudio cpudetection debug doc examples mmx netjack oss pam sse} Installed versions: 0.118.0(05:16:35 08/12/11)(alsa cpudetection mmx sse -3dnow -altivec -coreaudio -debug -doc -examples -oss) Homepage:http://www.jackaudio.org Description: A low-latency audio server Best regards, mcc
Re: [gentoo-user] Assigning an IP in AP mode
On Fri, Aug 12, 2011 at 12:11 PM, Grant emailgr...@gmail.com wrote: Does anyone know how to assign an IP address to a wireless interface in AP mode? It can't be specified in /etc/conf.d/net because /etc/init.d/net.wlan0 is not executed since hostapd handles the whole thing. 'ifconfig wlan0 192.168.0.1' works but I know I've done it before without issuing that command each time I reboot, I just can't remember how. In /etc/conf.d/net as usual, just disable iwconfig and wpa_supplicant in modules_wlan0 BTW, can I assign IP addresses on the same subnet to the 2 wireless interfaces in my system if one of them connects to the WAN and the other to the LAN? You probably don't want to do that. It will give you two connected routes for the subnet, and only the one with the better metric will be used, so you wont be able to communicate with hosts on the other interface. You could probably setup bridging, but IMO it would almost certainly be better to just use different subnets. I could be wrong though - try it and see what happens.