Re: [gentoo-user] xorg-server
In <20101227175826.1bbaf...@karnak.local> dwn...@ntlworld.com (David W Noon) writes: >--Sig_/Hxy_r1egAtvobeT/s7/L0.O >Content-Type: text/plain; charset=US-ASCII >Content-Transfer-Encoding: quoted-printable >On Mon, 27 Dec 2010 12:20:02 +0100, John wrote about [gentoo-user] >xorg-server: >>I have just upgraded to xorg-server 1.9.2 >>but unfortunately my keyboard is not recognising gb layout >You have at least 2 courses of action: >1) Add a udev rule in /etc/udev/rules.d/10-local.rules ># A rule to define our keyboard layout. >KERNEL=3D=3D"event*", ENV{ID_INPUT_KEYBOARD}=3D=3D"?*", ENV{xkblayout}=3D"g= >b", >ENV{xkbmodel}=3D"pc105" >2) Add a configuration file /etc/X11/xorg.conf.d/10-evdev.conf ># Configuration for evdev-controlled input devices. >Section "InputClass" >Identifier "keyboard" >Driver "evdev" >Option "XkbLayout" "gb" >Option "XkbModel" "pc105" >Option "XkbOptions" "terminate:ctrl_alt_bksp" You got this working with xorg-server 1.9? This is the one piece that's not working for me. Konstantin -- Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elw...@agouros.de Altersheimerstr. 1, 81545 Muenchen, Germany. Tel +49 89 69370185 "Captain, this ship will not survive the forming of the cosmos." B'Elana Torres
Re: [gentoo-user] xorg-server
On Wednesday 29 December 2010 09:26:57 Konstantinos Agouros wrote: > In <20101227175826.1bbaf...@karnak.local> dwn...@ntlworld.com (David W Noon) writes: > >--Sig_/Hxy_r1egAtvobeT/s7/L0.O > >Content-Type: text/plain; charset=US-ASCII > >Content-Transfer-Encoding: quoted-printable > > > >On Mon, 27 Dec 2010 12:20:02 +0100, John wrote about [gentoo-user] > > > >xorg-server: > >>I have just upgraded to xorg-server 1.9.2 > >>but unfortunately my keyboard is not recognising gb layout > > > >You have at least 2 courses of action: > > > >1) Add a udev rule in /etc/udev/rules.d/10-local.rules > > > ># A rule to define our keyboard layout. > >KERNEL=3D=3D"event*", ENV{ID_INPUT_KEYBOARD}=3D=3D"?*", > >ENV{xkblayout}=3D"g= b", > >ENV{xkbmodel}=3D"pc105" > > > >2) Add a configuration file /etc/X11/xorg.conf.d/10-evdev.conf > > > ># Configuration for evdev-controlled input devices. > >Section "InputClass" > > > >Identifier "keyboard" > >Driver "evdev" > >Option "XkbLayout" "gb" > >Option "XkbModel" "pc105" > >Option "XkbOptions" "terminate:ctrl_alt_bksp" > > You got this working with xorg-server 1.9? This is the one piece that's > not working for me. Other than setting up udev rules I have tried everything that I could think of. Based on the experiments I ran on two laptops I have come to the following conclusions (or should this be "confusions"? ha, ha): Option "AllowEmptyInput" "off" is necessary under Section "ServerLayout" to allow legacy kbd and mouse drivers to load. Setting up a /etc/X11/xorg.conf.d/10-evdev.conf and then moving to 55- evdev.conf so that the 50-synaptics.conf is read first does not work. Somehow evdev permeates everything, creates multiple devices and hijacks the touchpad, keyboard, etc. Commenting out the /etc/X11/xorg.conf.d/10-evdev.conf lines for keyboard and touchpad also does not do the trick, because there is still the /usr/share/X11/xorg.conf.d/10-evdev.conf which seems to be parsed regardless of a /etc/X11/xorg.conf.d/10-evdev.conf file being available. So, I removed /etc/X11/xorg.conf.d/10-evdev.conf, commented out the keyboard and touchpad entries in /usr/share/X11/xorg.conf.d/10-evdev.conf and can now use my touchpad with horizontal/vertical scroll functions, acceleration, etc. based on settings I added in /usr/share/X11/xorg.conf.d/50- as well as a multi-language keyboard. Personally, I can't see why all these additional config files and locations are required, rather than a single /etc/X11/xorg.conf. I have found all these back and forth changes to fdi's, xorg.conf.d and what have you, unnecessary and annoyingly time wasting. Of course I might have missed something simple in all this kerfuffle, so please chime in if there is a better way around this. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] xorg-server
Mick wrote: Other than setting up udev rules I have tried everything that I could think of. Based on the experiments I ran on two laptops I have come to the following conclusions (or should this be "confusions"? ha, ha): Option "AllowEmptyInput" "off" is necessary under Section "ServerLayout" to allow legacy kbd and mouse drivers to load. Setting up a /etc/X11/xorg.conf.d/10-evdev.conf and then moving to 55- evdev.conf so that the 50-synaptics.conf is read first does not work. Somehow evdev permeates everything, creates multiple devices and hijacks the touchpad, keyboard, etc. Commenting out the /etc/X11/xorg.conf.d/10-evdev.conf lines for keyboard and touchpad also does not do the trick, because there is still the /usr/share/X11/xorg.conf.d/10-evdev.conf which seems to be parsed regardless of a /etc/X11/xorg.conf.d/10-evdev.conf file being available. So, I removed /etc/X11/xorg.conf.d/10-evdev.conf, commented out the keyboard and touchpad entries in /usr/share/X11/xorg.conf.d/10-evdev.conf and can now use my touchpad with horizontal/vertical scroll functions, acceleration, etc. based on settings I added in /usr/share/X11/xorg.conf.d/50- as well as a multi-language keyboard. Personally, I can't see why all these additional config files and locations are required, rather than a single /etc/X11/xorg.conf. I have found all these back and forth changes to fdi's, xorg.conf.d and what have you, unnecessary and annoyingly time wasting. Of course I might have missed something simple in all this kerfuffle, so please chime in if there is a better way around this. I just did a fresh install on my new rig. I also upgraded my old x86 to the new xorg as well. Keep in mind that I have had hal disabled all this time. I removed all the fdi files that hal needed a long time ago. Everything works fine here on both rigs. I say all that to say this, can you get the config files back to a point where it would be like hal never existed at all? Maybe some config file is being read that shouldn't be read at all? Also, I generated my xorg.conf file with nvidia-xconfig. After I fixed a kernel issue, it has worked fine ever since. I would be glad to send it off list if needed. You may not want to use it but you may can compare it to yours. Is it possible you have to much in the way of config files? Dale :-) :-)
Re: [gentoo-user] xorg-server
On Wed, 29 Dec 2010 10:40:02 +0100, Konstantinos Agouros wrote about Re: [gentoo-user] xorg-server: >In <20101227175826.1bbaf...@karnak.local> dwn...@ntlworld.com (David W >Noon) writes: [snip] >>2) Add a configuration file /etc/X11/xorg.conf.d/10-evdev.conf > >># Configuration for evdev-controlled input devices. >>Section "InputClass" >>Identifier "keyboard" >>Driver "evdev" >>Option "XkbLayout" "gb" >>Option "XkbModel" "pc105" >>Option "XkbOptions" "terminate:ctrl_alt_bksp" >You got this working with xorg-server 1.9? This is the one piece that's >not working for me. Yes. Everything is working just fine. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* dwn...@ntlworld.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* signature.asc Description: PGP signature
[gentoo-user] Re: Best way to copy /* ? [SOLVED]
Am 27.12.2010 16:20, schrieb Marc Blumentritt: > Hi, > > I have bought myself a Christmas present, a new shiny hard disk. Now I > want to copy my old Gentoo system to my new disk like this: > > 1.) boot with gentoo boot cd > 2.) mount my old system ind /old ( / in one partition, /home, /usr, > /var, /tmp and /opt in lvm2 volumes and /boot on it's own partition) > 3.) mount my new disk ind /new (just 2 partitions, 1 for / and 1 for /boot) > 4.) copy from /old to /new > 5.) modify fstab and prepare grub > 6.) reboot > > Concerning step 4: what is the best copy command? > I tried with > > cp -a /old/* /new > > but got some problems in /home. My user dir got the wrong permissions (I > d'ont know, if this is in some way connected with /home being a mount > point). Of course this could be the same in other dirs. > > Is there a better method? I read years ago on this list about using tar > with this (piping the tar output into a second tar command, which > extracts the files to their final destination). > > Are there other tools? Or did I use cp in a wrong way? I write this while booted from my new disk. I used rsync after booting from a live CD. Everything worked perfect. Thanks to everyone. Regards, Marc
Re: [gentoo-user] xorg-server
On Wed, 29 Dec 2010 13:01:24 +, Mick wrote: > Personally, I can't see why all these additional config files and > locations are required, rather than a single /etc/X11/xorg.conf. I > have found all these back and forth changes to fdi's, xorg.conf.d and > what have you, unnecessary and annoyingly time wasting. They're not. All you have now is xorg.conf or xorg.conf.d, the same settings but either in a single file or split for ease of maintenance - it's your choice. -- Neil Bothwick Geordi, show these children the antimatter - Picard signature.asc Description: PGP signature
Re: [gentoo-user] Best way to copy /* ?
Mick wrote: > or something like this with star: > > star -copy -p -xdot -xattr -H=exustar -sparse -M -C /home . /mnt/new_partition > > (You can use -V -pat=File1 to exclude files or directories with star, use the > -M option to avoid following mount points). star -copy by default uses the star "-dump" format which is the "exustar" format + extended dump metadata. There is no need to specify the archive format with star -copy. Also note that star by default uses a safe extract method that calls fsync(2) at the end of each single file extract. This is the only way for star for being able to detect all possible extract problems. On Linux, the file system buffer cache is implemented in a very inefficient way and with some COW filesystems (like ZFS), a fsync(2) is an expensive instruction. In such cases, you may call star with the -no-fsync option and switch star to the same level of "safeness" as other software to speed up the extract or copy operation. So if you are on Linux and use star -no-fsync, you will not be less secure than other software but get aprox. 20% better performance than with other copy methods. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
Re: [gentoo-user] Best way to copy /* ?
On Wednesday 29 December 2010 15:38:22 Joerg Schilling wrote: > Mick wrote: > > or something like this with star: > > > > star -copy -p -xdot -xattr -H=exustar -sparse -M -C /home . > > /mnt/new_partition > > > > (You can use -V -pat=File1 to exclude files or directories with star, use > > the -M option to avoid following mount points). > > star -copy by default uses the star "-dump" format which is the "exustar" > format + extended dump metadata. There is no need to specify the archive > format with star -copy. > > Also note that star by default uses a safe extract method that calls > fsync(2) at the end of each single file extract. This is the only way for > star for being able to detect all possible extract problems. On Linux, the > file system buffer cache is implemented in a very inefficient way and with > some COW filesystems (like ZFS), a fsync(2) is an expensive instruction. > In such cases, you may call star with the -no-fsync option and switch star > to the same level of "safeness" as other software to speed up the extract > or copy operation. > > So if you are on Linux and use star -no-fsync, you will not be less secure > than other software but get aprox. 20% better performance than with other > copy methods. Thanks for this Jörg, I had noticed a small overhead compared to tar and guessed that this may be because start undertakes a more thorough check of data. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Best way to copy /* ?
On Monday 27 December 2010 15:47:19 Dale wrote: > Some people do use tar especially if it is over a network or > something like that. I don't have the command tho since I never > used it. Just for completeness: (cd [source] && tar cpf - . | (cd [dest] && tar xpf - ) ) (I think). Would someone here please tell me what the rhs should be if the destination is at the other end of a network link? -- Rgds Peter. Linux Counter 5290, 1994-04-23.
[gentoo-user] Core i7 M620 power management problem
I have a nagging problem that is driving me batty. I have a Dell Precision M4500: Linux m4500 2.6.36-gentoo-r6 #1 SMP Wed Dec 29 07:57:47 PST 2010 x86_64 Intel(R) Core(TM) i7 CPU M 620 @ 2.67GHz GenuineIntel GNU/Linux model name : Intel(R) Core(TM) i7 CPU M 620 @ 2.67GHz and it even has these fancy capabilities: flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt aes lahf_lm ida arat dts tpr_shadow vnmi flexpriority ept vpid however, I cannot get the thing to change speeds. It is adamantly stuck at its pokey molasses slow 1.2GHz: blong...@m4500 /sys/devices/system/cpu/cpu0/cpufreq $ cat scaling_* 2667000 2666000 2533000 2399000 2266000 2133000 1999000 1866000 1733000 1599000 1466000 1333000 1199000 conservative ondemand userspace powersave performance 1199000 acpi-cpufreq performance 1199000 1199000 A strangeness I have noted is that /proc/cpuinfo has this for its power capabilities: power management: Nothing. I don't recall what it was on the other i7, but my AMDs have this sort of thing: power management: ts ttp tm stc 100mhzsteps hwpstate Why this is driving me batty is that I just this summer set up a similar M4500, but with a fancier i7 in it, *specifically* to enable and manage its power capabilities and I was completely successful. If I swap my disk and boot Windows 7, it behaves like a champ, so I don't think it's a BIOS issue. What else could I look at since I've been through all versions of kernels from 2.6.32 to today's 2.6.36? -- Bill Longman
[gentoo-user] postfixadmin vacation user uid/home in /etc/passwd
Greetings, I'm updating an old system I inherited that has postfixadmin 2.1 installed, and I have a question about the vacation user entry in /etc/passwd... Can I just change it directly (by editing the file with a text editor) without worrying about anything breaking? Currently it is: vacation:x:1003:65501::/home/vacation:/bin/bash and I want to change it to be the same as the INSTALL.TXT recommends: vacation:x:65501:65501::0:0:Virtual Vacation:/nonexistent:/sbin/nologin So, can I just edit the file and be done with it? Also, out of curiosity - can /etc/passwd file contain comments? Thanks...
Re: [gentoo-user] Best way to copy /* ?
2010/12/29 Peter Humphrey : > On Monday 27 December 2010 15:47:19 Dale wrote: > >> Some people do use tar especially if it is over a network or >> something like that. I don't have the command tho since I never >> used it. > > Just for completeness: > > (cd [source] && tar cpf - . | (cd [dest] && tar xpf - ) ) > > (I think). > > Would someone here please tell me what the rhs should be if the > destination is at the other end of a network link? On the destination r...@richese:~# nc -l | tar -xjv tar: Rozmiar rekordu = 8 bloków Pobrane/ Pobrane/Vol 28_16.pdf Pobrane/EPWA-APP2.flac Pobrane/EPWA-APP1.flac r...@richese:~# On the source: ther...@richese:~$ tar -cjv Pobrane/ | nc localhost Pobrane/ Pobrane/Vol 28_16.pdf Pobrane/EPWA-APP2.flac Pobrane/EPWA-APP1.flac ther...@richese:~$ Voila ! r...@richese:~# ls -l Pobrane/ razem 5580 -rw-r--r-- 1 thermal thermal 1623054 2010-12-26 23:57 EPWA-APP1.flac -rw-r--r-- 1 thermal thermal 3657627 2010-12-26 23:57 EPWA-APP2.flac -rw-r--r-- 1 thermal thermal 429580 2010-08-18 21:38 Vol 28_16.pdf r...@richese:~# Br, Maciej Grela
Re: [gentoo-user] Core i7 M620 power management problem
On Wed, Dec 29, 2010 at 11:13 AM, Bill Longman wrote: > A strangeness I have noted is that /proc/cpuinfo has this for its power > capabilities: > power management: > Nothing. FWIW I have Core i7 920, and it also has nothing in the power management in cpuinfo, but CPU frequency scaling does work and speeds change (using ondemand governor, in a desktop machine). $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_* 2661000 266 2527000 2394000 2261000 2128000 1995000 1862000 1729000 1596000 conservative userspace powersave ondemand performance 1596000 acpi-cpufreq ondemand 2661000 1596000 So it seems similar to yours except that your max_freq and min_freq are the same! Which matches what you say about it never going faster than the minimum speed. In kernel docs Documentation/cpu-freq/cpu-drivers.txt there is some information about how the min and max speed are set by the policy that is in use (by whatever driver is controlling the scaling). So I don't know if there is a userspace program (like KDE laptop stuff) that might be overriding with its own faulty settings? Seems like your kernel settings are probably okay since you can see all of that so far. If you run powertop can it see all of the C-states and P-states without any problems?
Re: [gentoo-user] Best way to copy /* ?
On Wed, Dec 29, 2010 at 11:14 AM, Maciej Grela wrote: > 2010/12/29 Peter Humphrey : >> On Monday 27 December 2010 15:47:19 Dale wrote: >> >>> Some people do use tar especially if it is over a network or >>> something like that. I don't have the command tho since I never >>> used it. >> >> Just for completeness: >> >> (cd [source] && tar cpf - . | (cd [dest] && tar xpf - ) ) >> >> (I think). >> >> Would someone here please tell me what the rhs should be if the >> destination is at the other end of a network link? > > On the destination > > r...@richese:~# nc -l | tar -xjv > tar: Rozmiar rekordu = 8 bloków > Pobrane/ > Pobrane/Vol 28_16.pdf > Pobrane/EPWA-APP2.flac > Pobrane/EPWA-APP1.flac > r...@richese:~# > > On the source: > > ther...@richese:~$ tar -cjv Pobrane/ | nc localhost > Pobrane/ > Pobrane/Vol 28_16.pdf > Pobrane/EPWA-APP2.flac > Pobrane/EPWA-APP1.flac > ther...@richese:~$ > > Voila ! I copied several TB over network this way (netcat + tar), when I had no possibility of physically copying data to disks (or removing disks to copy to target machine). It worked perfectly and with a gigabit network link between the two machines it was not so long of a job. :)
Re: [gentoo-user] Best way to copy /* ?
Peter Humphrey writes: > On Monday 27 December 2010 15:47:19 Dale wrote: > > Some people do use tar especially if it is over a network or > > something like that. I don't have the command tho since I never > > used it. > > Just for completeness: > > (cd [source] && tar cpf - . | (cd [dest] && tar xpf - ) ) > > (I think). > > Would someone here please tell me what the rhs should be if the > destination is at the other end of a network link? What Maciej said. Or, for greater security when the destination is outside the LAN: cd [source] & tar xpf - . | ssh [us...@[host] 'cd [dest] && tar xpf -' There's also the -C option for tar to change the directory, but it's not really needed. Wonko
Re: [gentoo-user] Best way to copy /* ?
On Wednesday 29 December 2010 17:50:08 Alex Schuster wrote: > What Maciej said. Or, for greater security when the destination is > outside the LAN: > > cd [source] & tar xpf - . | ssh [us...@[host] 'cd [dest] && tar xpf > -' That's what I was looking for - a single command I can run on the source machine. Thanks Alex. Just one more thing - what if I only want to store the tar of the source directory as an archive on the remote machine? In that case I'd want to stream the incoming data into a file instead of untarring it. -- Rgds Peter. Linux Counter 5290, 1994-04-23.
Re: [gentoo-user] Core i7 M620 power management problem
Am 29.12.2010 18:40, schrieb Paul Hartman: > So it seems similar to yours except that your max_freq and min_freq > are the same! Which matches what you say about it never going faster > than the minimum speed. cpufreq-set -u ?
Re: [gentoo-user] Best way to copy /* ?
Peter Humphrey writes: > On Wednesday 29 December 2010 17:50:08 Alex Schuster wrote: > > What Maciej said. Or, for greater security when the destination is > > outside the LAN: > > > > cd [source] & tar xpf - . | ssh [us...@[host] 'cd [dest] && tar xpf > > -' > > That's what I was looking for - a single command I can run on the source > machine. Thanks Alex. > > Just one more thing - what if I only want to store the tar of the source > directory as an archive on the remote machine? In that case I'd want to > stream the incoming data into a file instead of untarring it. Replace the tar by cat, and redirect into a file: cd [source] & tar xpf - . | ssh [us...@[host] 'cat > [dest]/[name].tar' Wonko
Re: [gentoo-user] Core i7 M620 power management problem
On Wed, Dec 29, 2010 at 10:35 AM, Stefan G. Weichinger wrote: > Am 29.12.2010 18:40, schrieb Paul Hartman: > > > So it seems similar to yours except that your max_freq and min_freq > > are the same! Which matches what you say about it never going faster > > than the minimum speed. > > cpufreq-set -u ? > > 10:46:36# cpufreq-set -u 2667000 ~ 10:47:00# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_* 2667000 2666000 2533000 2399000 2266000 2133000 1999000 1866000 1733000 1599000 1466000 1333000 1199000 conservative ondemand userspace powersave performance 1199000 acpi-cpufreq performance 1199000 1199000 See what I mean? -- Bill Longman
[gentoo-user] emerge -k vs. useflags of the binpkgs
Hi, I do use --buildpkg to prebuild binaries for a few systems. However in some cases the useflags from the system where I build do not match the target system (eg X vs -X). Is there an option I haven't noticed yet to emerge that tells it only to binary merge, when the useflags of the system that is doing the update match the useflags of the binpkg of the system where it was build and to compile otherwise? Regards, Konstantin -- Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elw...@agouros.de Altersheimerstr. 1, 81545 Muenchen, Germany. Tel +49 89 69370185 "Captain, this ship will not survive the forming of the cosmos." B'Elana Torres
Re: [gentoo-user] Best way to copy /* ?
On Wednesday 29 December 2010 18:41:00 Alex Schuster wrote: > Peter Humphrey writes: > > On Wednesday 29 December 2010 17:50:08 Alex Schuster wrote: > > > What Maciej said. Or, for greater security when the destination is > > > outside the LAN: > > > > > > cd [source] & tar xpf - . | ssh [us...@[host] 'cd [dest] && tar xpf > > > -' > > > > That's what I was looking for - a single command I can run on the source > > machine. Thanks Alex. > > > > Just one more thing - what if I only want to store the tar of the source > > directory as an archive on the remote machine? In that case I'd want to > > stream the incoming data into a file instead of untarring it. > > Replace the tar by cat, and redirect into a file: > > cd [source] & tar xpf - . | ssh [us...@[host] 'cat > [dest]/[name].tar' The front part should be tar -cpf not -xpf? Also, option -S manages sparse files more efficiently. Finally, if it is a large archive and is going to travel over a slow network it would make sense to compress it first locally into a tar file (e.g. using - j) then verify it (if it is important data that you rely on just add -W) and finally ssh the compressed tar file over. If you are going to use pipes, then dd will also work instead of cat; i.e. cd [source] & tar cpvSf - . | ssh [us...@[host] "dd of=/backup_storage/mydata.tar.bz2" I don't think that dd is any different to cat in performance terms (but haven't tested it). -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Core i7 M620 power management problem
Am 29.12.2010 19:48, schrieb Bill Longman: > 10:47:00# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_* > 2667000 2666000 2533000 2399000 2266000 2133000 1999000 1866000 1733000 > 1599000 1466000 1333000 1199000 > conservative ondemand userspace powersave performance > 1199000 > acpi-cpufreq > performance > 1199000 > 1199000 > > > See what I mean? I see it but I don't have a solution. Maybe some strange limitation within the BIOS of the motherboard? Ah, you wrote that Win does fine ... so ... Do you have the correct CPU chosen in your kernel-config? Maybe someone with a core i7 could help out here better than me ... google finds me this one pointing at apic: http://ubuntuforums.org/archive/index.php/t-1000132.html ?
Re: [gentoo-user] Core i7 M620 power management problem
addition: some also point at enabling EIST in BIOS
Re: [gentoo-user] Best way to copy /* ?
Am 29.12.2010 20:16, schrieb Mick: cd [source] & tar xpf - . | ssh [us...@[host] 'cd [dest] && tar xpf -' >>> >>> That's what I was looking for - a single command I can run on the source >>> machine. Thanks Alex. >>> >>> Just one more thing - what if I only want to store the tar of the source >>> directory as an archive on the remote machine? I can't resist: my bookmark for these issues is old, but working for me: http://ultra.ap.krakow.pl/~bar/DOC/ssh_backup.html
Re: [gentoo-user] postfixadmin vacation user uid/home in /etc/passwd
On 12/29/2010 9:14 AM, Tanstaafl wrote: Greetings, I'm updating an old system I inherited that has postfixadmin 2.1 installed, and I have a question about the vacation user entry in /etc/passwd... Can I just change it directly (by editing the file with a text editor) without worrying about anything breaking? Currently it is: vacation:x:1003:65501::/home/vacation:/bin/bash and I want to change it to be the same as the INSTALL.TXT recommends: vacation:x:65501:65501::0:0:Virtual Vacation:/nonexistent:/sbin/nologin So, can I just edit the file and be done with it? Also, out of curiosity - can /etc/passwd file contain comments? Thanks... To your original question, if it works I not would touch it. You may want to look in /home/vacation for .forward or other files that might be helping the vacation functions work if you do decide to change /etc/passwd. IIRC and it's been years vacation was a bit flakey under 2.1 and it required a fair amount of undocumented tweaking to work correctly though it did get better in late 2.1.x. I would consider a plan to upgrade to 2.3.2, but it would be far simpler to build a new system and switch over to it than upgrade in place. And safer. kashani
Re: [gentoo-user] Core i7 M620 power management problem
> > Yeah, the cpufreq utils show all the relevant information. I use the > acpi-cpufreq driver and when I didn't use it nothing happened. cpufreq-aperf > shows each CPU at 1.2GHz. I'll look at the EIST in BIOS, too. Thanks for the > pointers. > Here's an interesting item: 12:41:00# cat /sys/devices/system/cpu/cpu0/cpufreq/bios_limit 1199000 which sort of jives with the "asserted by call to hardware" in the cpufreq-info section: analyzing CPU 3: driver: acpi-cpufreq CPUs which run at the same hardware frequency: 0 1 2 3 CPUs which need to have their frequency coordinated by software: 3 maximum transition latency: 10.0 us. hardware limits: 1.20 GHz - 2.67 GHz available frequency steps: 2.67 GHz, 2.67 GHz, 2.53 GHz, 2.40 GHz, 2.27 GHz, 2.13 GHz, 2.00 GHz, 1.87 GHz, 1.73 GHz, 1.60 GHz, 1.47 GHz, 1.33 GHz, 1.20 GHz available cpufreq governors: conservative, ondemand, userspace, powersave, performance current policy: frequency should be within 1.20 GHz and 1.20 GHz. The governor "performance" may decide which speed to use within this range. current CPU frequency is 1.20 GHz (asserted by call to hardware). cpufreq stats: 2.67 GHz:0.25%, 2.67 GHz:0.01%, 2.53 GHz:0.01%, 2.40 GHz:0.01%, 2.27 GHz:0.01%, 2.13 GHz:0.01%, 2.00 GHz:0.01%, 1.87 GHz:0.01%, 1.73 GHz:0.01%, 1.60 GHz:0.01%, 1.47 GHz:0.01%, 1.33 GHz:0.01%, 1.20 GHz:99.61% (28) So, why are there micro-spikes of higher frequencies in the above stats? The stats section says there are only five transitions. -- Bill Longman
Re: [gentoo-user] postfixadmin vacation user uid/home in /etc/passwd
On 2010-12-29 3:50 PM, kashani wrote: > On 12/29/2010 9:14 AM, Tanstaafl wrote: >> I'm updating an old system I inherited that has postfixadmin 2.1 >> installed, and I have a question about the vacation user entry in >> /etc/passwd... > I would consider a plan to upgrade to 2.3.2, I guess I could have been clearer - I said I was updating the system, and updating pfadmin to 2.3.2 is what I'm doing now... and I want to configure everything *correctly*. Right now, vacation has a shell, and it shouldn't - I just want to know if simply editing /etc/passwd is the correct way to fix it... > but it would be far simpler to build a new system and switch over to > it than upgrade in place. And safer. I already have the new pfadmin up and running, and I'll be switching over this weekend... Any idea about my other question: >> Also, out of curiosity - can /etc/passwd file contain comments? Thanks...
Re: [gentoo-user] postfixadmin vacation user uid/home in /etc/passwd
On 12/29/2010 1:36 PM, Tanstaafl wrote: On 2010-12-29 3:50 PM, kashani wrote: On 12/29/2010 9:14 AM, Tanstaafl wrote: I'm updating an old system I inherited that has postfixadmin 2.1 installed, and I have a question about the vacation user entry in /etc/passwd... I would consider a plan to upgrade to 2.3.2, I guess I could have been clearer - I said I was updating the system, and updating pfadmin to 2.3.2 is what I'm doing now... and I want to configure everything *correctly*. Right now, vacation has a shell, and it shouldn't - I just want to know if simply editing /etc/passwd is the correct way to fix it... but it would be far simpler to build a new system and switch over to it than upgrade in place. And safer. I already have the new pfadmin up and running, and I'll be switching over this weekend... Any idea about my other question: Also, out of curiosity - can /etc/passwd file contain comments? Thanks... Sure you can edit it directly though you'll break anyone currently using vacation as soon as you do. Make sure you fix /etc/shadow and /etc/group too. Or use usermod which would be the proper way to make the change. /etc/passwd shouldn't have stand alone comments which might cause weird problems with pwconv, grpconv, etc. Use the comment field of the user. kashani
Re: [gentoo-user] Core i7 M620 power management problem
On Wed, Dec 29, 2010 at 2:51 PM, Bill Longman wrote: >> Yeah, the cpufreq utils show all the relevant information. I use the >> acpi-cpufreq driver and when I didn't use it nothing happened. cpufreq-aperf >> shows each CPU at 1.2GHz. I'll look at the EIST in BIOS, too. Thanks for the >> pointers. > > Here's an interesting item: > > 12:41:00# cat /sys/devices/system/cpu/cpu0/cpufreq/bios_limit > 1199000 > > which sort of jives with the "asserted by call to hardware" in the > cpufreq-info section: > analyzing CPU 3: > driver: acpi-cpufreq > CPUs which run at the same hardware frequency: 0 1 2 3 > CPUs which need to have their frequency coordinated by software: 3 > maximum transition latency: 10.0 us. > hardware limits: 1.20 GHz - 2.67 GHz > available frequency steps: 2.67 GHz, 2.67 GHz, 2.53 GHz, 2.40 GHz, 2.27 > GHz, 2.13 GHz, 2.00 GHz, 1.87 GHz, 1.73 GHz, 1.60 GHz, 1.47 GHz, 1.33 GHz, > 1.20 GHz > available cpufreq governors: conservative, ondemand, userspace, powersave, > performance > current policy: frequency should be within 1.20 GHz and 1.20 GHz. > The governor "performance" may decide which speed to use > within this range. > current CPU frequency is 1.20 GHz (asserted by call to hardware). > cpufreq stats: 2.67 GHz:0.25%, 2.67 GHz:0.01%, 2.53 GHz:0.01%, 2.40 > GHz:0.01%, 2.27 GHz:0.01%, 2.13 GHz:0.01%, 2.00 GHz:0.01%, 1.87 GHz:0.01%, > 1.73 GHz:0.01%, 1.60 GHz:0.01%, 1.47 GHz:0.01%, 1.33 GHz:0.01%, 1.20 > GHz:99.61% (28) > > So, why are there micro-spikes of higher frequencies in the above stats? The > stats section says there are only five transitions. I ran cpufreq-info on my i7 920, and everything looked normal for mine compared to yours. And I have tens of thousands of transitions on each CPU (currently at 8 days uptime) Can you use cpufreq-set to change the max limit or lock it to a higher speed? If it works, that's a good sign... if it gets changed back maybe some userspace powersaving program is messing with it. Like gnome/KDE or something. If you boot to console and don't start X, does this problem still happen? I wonder if it happens in X maybe the few times at greater speeds happened before X loaded. Just a WAG. :) For example, on my laptop (not an i7, but an old Athlon from 2004), the KDE laptop powersaving stuff does not work properly, it either locks me at slowest speed, or highest speed, or... but I think in my case it's related to the corrupt DSDT, crappy BIOS and complete inability for it to read the battery state most of the time... It doesn't know if it's plugged in or on battery, or how much battery life is left, or it thinks 84% remains and that number never changes (until laptop suddenly dies without warning). Of course all of that works perfectly fine in Windows on the same machine... In my kernel config on my i7, in the cpufreq sections I have this: # # CPU Frequency scaling # CONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_TABLE=y # CONFIG_CPU_FREQ_DEBUG is not set CONFIG_CPU_FREQ_STAT=y # CONFIG_CPU_FREQ_STAT_DETAILS is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y # CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set CONFIG_CPU_FREQ_GOV_PERFORMANCE=y CONFIG_CPU_FREQ_GOV_POWERSAVE=y CONFIG_CPU_FREQ_GOV_USERSPACE=y CONFIG_CPU_FREQ_GOV_ONDEMAND=y CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y # # CPUFreq processor drivers # # CONFIG_X86_PCC_CPUFREQ is not set CONFIG_X86_ACPI_CPUFREQ=y # CONFIG_X86_POWERNOW_K8 is not set # CONFIG_X86_SPEEDSTEP_CENTRINO is not set # CONFIG_X86_P4_CLOCKMOD is not set I can send you my entire .config if you want to compare.
Re: [gentoo-user] Core i7 M620 power management problem
On Wednesday 29 December 2010 20:51:05 Bill Longman wrote: > > Yeah, the cpufreq utils show all the relevant information. I use the > > acpi-cpufreq driver and when I didn't use it nothing happened. > > cpufreq-aperf shows each CPU at 1.2GHz. I'll look at the EIST in BIOS, > > too. Thanks for the pointers. > > Here's an interesting item: > > 12:41:00# cat /sys/devices/system/cpu/cpu0/cpufreq/bios_limit > 1199000 > > which sort of jives with the "asserted by call to hardware" in the > cpufreq-info section: > analyzing CPU 3: > driver: acpi-cpufreq > CPUs which run at the same hardware frequency: 0 1 2 3 > CPUs which need to have their frequency coordinated by software: 3 > maximum transition latency: 10.0 us. > hardware limits: 1.20 GHz - 2.67 GHz > available frequency steps: 2.67 GHz, 2.67 GHz, 2.53 GHz, 2.40 GHz, 2.27 > GHz, 2.13 GHz, 2.00 GHz, 1.87 GHz, 1.73 GHz, 1.60 GHz, 1.47 GHz, 1.33 GHz, > 1.20 GHz > available cpufreq governors: conservative, ondemand, userspace, > powersave, performance > current policy: frequency should be within 1.20 GHz and 1.20 GHz. > The governor "performance" may decide which speed to use > within this range. > current CPU frequency is 1.20 GHz (asserted by call to hardware). > cpufreq stats: 2.67 GHz:0.25%, 2.67 GHz:0.01%, 2.53 GHz:0.01%, 2.40 > GHz:0.01%, 2.27 GHz:0.01%, 2.13 GHz:0.01%, 2.00 GHz:0.01%, 1.87 GHz:0.01%, > 1.73 GHz:0.01%, 1.60 GHz:0.01%, 1.47 GHz:0.01%, 1.33 GHz:0.01%, 1.20 > GHz:99.61% (28) > > So, why are there micro-spikes of higher frequencies in the above stats? > The stats section says there are only five transitions. Just a wild guess: are you running some desktop applet that manages the cpu frequency and is stuck on manual with a low setting? I have the i7 Q 720 @ 1.60GHz, which is supposedly go up to 2.8G with turbo boost, but can't say that I have ever seen it going that high ... not sure if there's a setting somewhere I should tweak. This is from cpuinfo: = $ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 30 model name : Intel(R) Core(TM) i7 CPU Q 720 @ 1.60GHz stepping: 5 cpu MHz : 931.000 cache size : 6144 KB physical id : 0 siblings: 8 core id : 0 cpu cores : 4 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida dts tpr_shadow vnmi flexpriority ept vpid bogomips: 3192.42 clflush size: 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: = As you can see power management is also blank. These are my frequencies: $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_* 1597000 1596000 1463000 133 1197000 1064000 931000 conservative userspace powersave ondemand performance 931000 acpi-cpufreq ondemand 1597000 931000 PS. Any ideas what makes that turbo thingy kick in? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Core i7 M620 power management problem
On Wed, Dec 29, 2010 at 4:22 PM, Paul Hartman > wrote: > > I ran cpufreq-info on my i7 920, and everything looked normal for mine > compared to yours. And I have tens of thousands of transitions on each > CPU (currently at 8 days uptime) > > Can you use cpufreq-set to change the max limit or lock it to a higher > speed? If it works, that's a good sign... if it gets changed back > maybe some userspace powersaving program is messing with it. Like > gnome/KDE or something. If you boot to console and don't start X, does > this problem still happen? I wonder if it happens in X maybe the few > times at greater speeds happened before X loaded. Just a WAG. :) > > For example, on my laptop (not an i7, but an old Athlon from 2004), > the KDE laptop powersaving stuff does not work properly, it either > locks me at slowest speed, or highest speed, or... but I think in my > case it's related to the corrupt DSDT, crappy BIOS and complete > inability for it to read the battery state most of the time... It > doesn't know if it's plugged in or on battery, or how much battery > life is left, or it thinks 84% remains and that number never changes > (until laptop suddenly dies without warning). Of course all of that > works perfectly fine in Windows on the same machine... > > In my kernel config on my i7, in the cpufreq sections I have this: > > # > # CPU Frequency scaling > # > CONFIG_CPU_FREQ=y > CONFIG_CPU_FREQ_TABLE=y > # CONFIG_CPU_FREQ_DEBUG is not set > CONFIG_CPU_FREQ_STAT=y > # CONFIG_CPU_FREQ_STAT_DETAILS is not set > # CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set > # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set > CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y > # CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set > CONFIG_CPU_FREQ_GOV_PERFORMANCE=y > CONFIG_CPU_FREQ_GOV_POWERSAVE=y > CONFIG_CPU_FREQ_GOV_USERSPACE=y > CONFIG_CPU_FREQ_GOV_ONDEMAND=y > CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y > > # > # CPUFreq processor drivers > # > # CONFIG_X86_PCC_CPUFREQ is not set > CONFIG_X86_ACPI_CPUFREQ=y > # CONFIG_X86_POWERNOW_K8 is not set > # CONFIG_X86_SPEEDSTEP_CENTRINO is not set > # CONFIG_X86_P4_CLOCKMOD is not set > > > I can send you my entire .config if you want to compare. > > Yes, mine is quite similar: # CPU Frequency scaling # CONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_TABLE=y CONFIG_CPU_FREQ_DEBUG=y CONFIG_CPU_FREQ_STAT=y CONFIG_CPU_FREQ_STAT_DETAILS=y CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set CONFIG_CPU_FREQ_GOV_PERFORMANCE=y CONFIG_CPU_FREQ_GOV_POWERSAVE=y CONFIG_CPU_FREQ_GOV_USERSPACE=y CONFIG_CPU_FREQ_GOV_ONDEMAND=y CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y # # CPUFreq processor drivers # # CONFIG_X86_PCC_CPUFREQ is not set CONFIG_X86_ACPI_CPUFREQ=y # CONFIG_X86_POWERNOW_K8 is not set # CONFIG_X86_SPEEDSTEP_CENTRINO is not set # CONFIG_X86_P4_CLOCKMOD is not set # # shared options # # CONFIG_X86_SPEEDSTEP_LIB is not set CONFIG_CPU_IDLE=y CONFIG_CPU_IDLE_GOV_LADDER=y CONFIG_CPU_IDLE_GOV_MENU=y CONFIG_INTEL_IDLE=y I do run KDE but it is independent of KDE. I don't run kdm by default, just the console, and it is still the same. In fact, the KDE power stuff is not even around. Could that mean it's just a USE flag issue? It doesn't seem it because I have acpi and udev. -- Bill Longman
Re: [gentoo-user] Core i7 M620 power management problem
On Wed, Dec 29, 2010 at 4:43 PM, Mick wrote: > Just a wild guess: are you running some desktop applet that manages the > cpu > frequency and is stuck on manual with a low setting? > > I have the i7 Q 720 @ 1.60GHz, which is supposedly go up to 2.8G with turbo > boost, but can't say that I have ever seen it going that high ... not sure > if > there's a setting somewhere I should tweak. This is from cpuinfo: > > = > $ cat /proc/cpuinfo > processor : 0 > vendor_id : GenuineIntel > cpu family : 6 > model : 30 > model name : Intel(R) Core(TM) i7 CPU Q 720 @ 1.60GHz > stepping: 5 > cpu MHz : 931.000 > cache size : 6144 KB > physical id : 0 > siblings: 8 > core id : 0 > cpu cores : 4 > apicid : 0 > initial apicid : 0 > fpu : yes > fpu_exception : yes > cpuid level : 11 > wp : yes > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca > cmov > pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp > lm > constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc > aperfmperf > pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 > sse4_2 > popcnt lahf_lm ida dts tpr_shadow vnmi flexpriority ept vpid > bogomips: 3192.42 > clflush size: 64 > cache_alignment : 64 > address sizes : 36 bits physical, 48 bits virtual > power management: > = > As you can see power management is also blank. > > These are my frequencies: > > $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_* > 1597000 1596000 1463000 133 1197000 1064000 931000 > conservative userspace powersave ondemand performance > 931000 > acpi-cpufreq > ondemand > 1597000 > 931000 > > > PS. Any ideas what makes that turbo thingy kick in? > The only thing that runs at boot is cpufrequtils and here is the config for it: # Options when starting cpufreq (given to the `cpufreq-set` program) START_OPTS="--governor performance" # Options when stopping cpufreq (given to the `cpufreq-set` program) STOP_OPTS="--governor performance" # Extra settings to write to sysfs cpufreq values. #SYSFS_EXTRA="ondemand/ignore_nice_load=1 ondemand/up_threshold=70" SYSFS_EXTRA="ondemand/ignore_nice_load=1" And since I have power mgmt debug turned on, all my logs are belong to pm: e1000e :00:19.0: __pm_runtime_resume()! e1000e :00:19.0: __pm_runtime_resume() returns 1! scsi host1: __pm_runtime_resume()! scsi host1: __pm_runtime_resume() returns 1! scsi host1: __pm_runtime_resume()! scsi host1: __pm_runtime_resume() returns 1! scsi host1: __pm_runtime_resume()! scsi host1: __pm_runtime_resume() returns 1! scsi host1: __pm_runtime_resume()! etc, etc, etc, ad nauseum And even when I try this kind of thing: /sys/devices/system/cpu 19:08:23# for a in cpu?/cpufreq/scaling_max_freq; do echo -n 2667000 > $a; done /sys/devices/system/cpu 19:09:05# cat cpu?/cpufreq/scaling_max_freq 1199000 1199000 1199000 1199000 /sys/devices/system/cpu 19:09:20# for a in cpu?/cpufreq/scaling_governor; do echo -n performance > $a; done I can see gkrellm get its governor changed but I cannot override the max freq. How can I tell what the BIOS is reporting? Here is what dmidecode tells me about the CPU: Handle 0x0004, DMI type 4, 42 bytes Processor Information Socket Designation: CPU 1 Type: Central Processor Family: Manufacturer: Intel ID: 52 06 02 00 FF FB EB BF Version: Intel(R) Core(TM) i7 CPU M 620 @ 2.67GH Voltage: 0.0 V External Clock: 533 MHz Max Speed: 4000 MHz Current Speed: 2666 MHz Status: Populated, Enabled Upgrade: Other L1 Cache Handle: 0x0005 L2 Cache Handle: 0x0006 L3 Cache Handle: 0x0007 Serial Number: To Be Filled By O.E.M. Asset Tag: To Be Filled By O.E.M. Part Number: To Be Filled By O.E.M. Core Count: 2 Core Enabled: 1 Thread Count: 2 Characteristics: 64-bit capable -- Bill Longman
Re: [gentoo-user] Core i7 M620 power management problem
On Wed, Dec 29, 2010 at 11:55 AM, Stefan G. Weichinger wrote: > Am 29.12.2010 19:48, schrieb Bill Longman: > > > 10:47:00# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_* > > 2667000 2666000 2533000 2399000 2266000 2133000 1999000 1866000 1733000 > > 1599000 1466000 1333000 1199000 > > conservative ondemand userspace powersave performance > > 1199000 > > acpi-cpufreq > > performance > > 1199000 > > 1199000 > > > > > > See what I mean? > > I see it but I don't have a solution. > > Maybe some strange limitation within the BIOS of the motherboard? > Ah, you wrote that Win does fine ... so ... > > Do you have the correct CPU chosen in your kernel-config? > > Maybe someone with a core i7 could help out here better than me ... > > google finds me this one pointing at apic: > > http://ubuntuforums.org/archive/index.php/t-1000132.html > > ? > Here are some powertop results I see when compiling world: PowerTOP version 1.13 (C) 2007 Intel Corporation CnAvg residency P-states (frequencies) C0 (cpu running)(100.0%) Turbo Mode 0.0% polling 0.0ms ( 0.0%) 2.67 Ghz 0.0% C1 mwait 0.0ms ( 0.0%) 2.54 Ghz 0.0% C2 mwait 0.0ms ( 0.0%) 2.40 Ghz 0.0% C3 mwait 0.0ms ( 0.0%) 1199 Mhz 100.0% So it seems like all the CPU Power state is fine internally to the CPU but, it's just that it cannot go to the higher speeds for some reason. -- Bill Longman
Re: [gentoo-user] Re: VMware - Linux kernel yield() functionality is disabled.
* Neil Bothwick wrote: > I think what Enrico is getting at is storing the new config files > somewhere else, instead of the original path with the name prefixed > by ._cfg. ACK. > Such a move would break {etc,conf,cfg}-update for no real benefit. > What is the point of including these files in a VCS if you already > have the files they are to replace under VCS? Archiving the actual (production) and default settings in separate trees, eg. to allow 3-way-merge. cu -- -- Enrico Weigelt, metux IT service -- http://www.metux.de/ phone: +49 36207 519931 email: weig...@metux.de mobile: +49 151 27565287 icq: 210169427 skype: nekrad666 -- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme --
Re: [gentoo-user] Re: {OT} Deliberately obfuscating my code
* Grant Edwards wrote: > The only advice I've got is to do things in increments as small as > possible. Don't do "big bang" integration. Make sure there is a > runnable testable program after the first week of development. Maybe > it doesn't implement any significant features, but you must have > something runnable and testable at all times. Otherwise, you can get > too far down the wrong road before you finally figure out that either > a) what you specified isn't going to work, or b) they didn't > understand the specification at all. ACK. And another important tip: split your big problem into smaller and smaller generic sub-problems. Then you'll have great chance to reuse an existing package or let some contractor develop/adapt one without telling him about your actual project. Movie tip: "The Cube" ;-) cu -- -- Enrico Weigelt, metux IT service -- http://www.metux.de/ phone: +49 36207 519931 email: weig...@metux.de mobile: +49 151 27565287 icq: 210169427 skype: nekrad666 -- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme --