Re: [gentoo-user] MTRR setting? Where could I have put it?

2009-01-22 Thread Dake Wang
It seems to be appeared on 2.6.28 kernel. But not 2.6.26 kernel.
I got both as on my box as the gspca driver for my web camera seems only
worked on the 2.6.26 kernel.


On Thu, Jan 22, 2009 at 11:58 AM, Justin jus...@j-schmitz.net wrote:

 Willie Wong schrieb:
  On Wed, Jan 21, 2009 at 12:22:17AM +0100, Penguin Lover Volker Armin
 Hemmann squawked:
 
  On Mittwoch 21 Januar 2009, Willie Wong wrote:
 
Recently when I quit the X server, the following can be seen in the
sys log:
 
  Jan 20 18:06:34 e-nibbles mtrr: no MTRR for e800,200 found
 
and on the TTY where I issued X init, a similar message is shown,
but the message is not echoed in /var/log/Xorg.0.log
 
 
  don't do it. Just don't do that. It should not be necessary. Instead
 look at
  the mtrr cleanup options in make menuconfig.
 
 
  Sorry, but this does not help. I have that after I terminate X, the
  following line on the console:
 
  error setting MTRR (base = 0xe800, size = 0x0200, type = 1)
 Invalid argument (22)
 
  and the following
 
  e-nibbles wwong # dmesg | tail -n 5
  pci :01:00.0: putting AGP V2 device into 4x mode
  [drm] Setting GART location based on new memory map
  [drm] Loading R200 Microcode
  [drm] writeback test succeeded in 1 usecs
  mtrr: no MTRR for e800,200 found
  e-nibbles wwong # zgrep -i mtrr /proc/config.gz
  CONFIG_MTRR=y
  CONFIG_MTRR_SANITIZER=y
  CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=1
  CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1
  e-nibbles wwong # uname -a
  Linux e-nibbles 2.6.28.1 #2 Thu Jan 22 14:28:04 EST 2009 i686 Intel(R)
 Pentium(R) M processor 1.60GHz GenuineIntel GNU/Linux
 
 
  Is there anything I misconfigured?
 
  Any other ideas?
 
  Thanks,
 
  W
 
 I read something about booting with mtrr_cleanup_debug debug in the
 command line. This will print you out what to set in mtrr_chunk_size in
 the commandline. Didn't test it but check that.




Re: [gentoo-user] Migrating hard drives

2008-12-21 Thread Dake Wang
On Sun, Dec 21, 2008 at 12:43 AM, Mark Kirkwood mar...@paradise.net.nzwrote:

 Dale wrote:

 D
 I thought gcp was the command, so I stand corrected on that part at
 least.  I even thought maybe it was a GUI cp or something.  I was
 curious as to how that would work.   scratches head 




 LOL - Joerg was just making a point that GNU variant of cp is a little
 different from the 'standard' UNIX (hmm  - is there really such a thing?)
 version of cp. Err, on this list the point is a little oblique to say the
 least - since all Linux userland is GNU.

 regards

 Mark

 P.s : As a Freebsd desktop user myself, I can get what Joerg is saying, but
 for the majority of purely Linux users on this list, the point is probably
 lost.


Joerg is obviously adverting the program star. Haha


Re: [gentoo-user] Awesome vs Xmonad

2008-12-17 Thread Dake Wang


I am an xmonad user now. I installed awesome once, but didn't try to
understand much details of it, so no comment on awesome.

On Wed, 17 Dec 2008, Man Shankar wrote:


On 09:39 Wed 17 Dec , Gregory SACRE wrote:

Hi Man,


I was a huge fan of FVWM (loved the flexibility of it) and I tried to
switch to awesome.
After trying a bit to understand how the configuration script work
(about three days in my spare time), I understood how awesome (this
one was easy :-p) this wm is.
You can do pretty much what you want as the configuration script,
which is using the Lua script language, can load system commands (such
as conky, even thought I couldn't get it to work, but used native lua
scripts with the wicked.lua library) or run native code (I use this to
see the disk space, mpd songs, battery life, cpu usage with a graph,
...).

Sounds great but when i customize the file and save it in
~/.config/awesome/rc.lua and reload, nothing seems to happen. I am
trying to get working with awesome-3.1. Am i missing anything.


One of the other things I really like in awesome, it's the fact that
you can mix up tiling windows and floating ones. You can define, for
certain window titles in the configuration file, the fact that they
are floating. Then, when you start them, they appear as floating
windows and not tiled as the rest of them. This is pretty much
interesting for applications such as Skype, gitk, mplayer, ...
As for other tiling wm, you can also assign tags (sort of virtual
desktops) to window titles so when you start it, it goes directly
there, leaving your actual tag clean with what you were doing.


That is a required feature because some stupid programs dont go well
with the tiling concept. Another neat feature i found in default xmonad
was the fact that there was no gap between adjacent windows. I am sure
awesome should be able to do that as well, just that the default conf
doesnt. But, then again i really haven't dug in.

In xmonad default, the size hint of some programs are ignored. Like
terminal staffs, urxvt, xterm, gvim. So sometimes they will leave
a half line on the bottom after certain resize action, as of new
windows opened.
Solved with an HintedTile tiling mod in xmonad-contrib.


--

Regards,
Man Shankar man.ee.gen(at)gmail.com






Re: [gentoo-user] Strange --depclean / mit-krb5

2008-12-08 Thread Dake Wang
I think in the configure script of some softwares they will just detect
whether certain things are installed even though you turned off the use
flag. So you just remove kerberos first, then remerge the packages that are
reported to be depending on them.

Cheers

On Mon, Dec 8, 2008 at 1:12 PM, Willie Wong [EMAIL PROTECTED] wrote:

 On Mon, Dec 08, 2008 at 12:40:42PM -0800, Mark Knecht wrote:
  I wonder if someone can guess at what I'm supposed to do to be able to
  complete --depclean. The machine is currently clean on emerge -DuN
  world and revdep-rebuild. I don't understand how I'm supposed to
  handle this mit-krb5 thing.

 snip
   * In order to avoid breakage of link level dependencies, one or more
   * packages will not be removed. This can be solved by rebuilding the
   * packages that pulled them in.
   *
   *   app-crypt/mit-krb5-1.6.3-r4 pulled in by:
   * app-text/ghostscript-gpl-8.62
   * dev-util/subversion-1.5.4
   * media-sound/vorbis-tools-1.2.0-r2
   * media-video/totem-2.22.2-r1
   * net-print/gnome-cups-manager-0.33
   * net-print/libgnomecups-0.2.3
   * x11-libs/gtk+-2.14.5
 /snip

 snip
 
  lightning ~ # emerge -pv ghostscript-gpl subversion vorbis-tools totem
  gnome-cups-manager libgnomecups gtk+
 
  These are the packages that would be merged, in order:
 
  Calculating dependencies... done!
  [ebuild   R   ] x11-libs/gtk+-2.14.5  USE=X cups jpeg tiff -debug
  -doc -jpeg2k -vim-syntax -xinerama 0 kB
  [ebuild   R   ] net-print/libgnomecups-0.2.3  USE=-debug 0 kB
  [ebuild   R   ] dev-util/subversion-1.5.4  USE=berkdb dso java nls
  perl python webdav-neon -apache2 -bash-completion -debug -doc -emacs
  -extras -ruby -sasl -vim-syntax -webdav-serf 0 kB
  [ebuild   R   ] media-sound/vorbis-tools-1.2.0-r2  USE=flac nls
  ogg123 -speex 0 kB
  [ebuild   R   ] app-text/ghostscript-gpl-8.62  USE=X cjk cups gtk
  -bindist -djvu -jpeg2k 0 kB
  [ebuild   R   ] media-video/totem-2.22.2-r1  USE=bluetooth gnome
  python -debug -galago -lirc -nautilus -nsplugin -nvtv -seamonkey
  -tracker -xulrunner 0 kB
  [ebuild   R   ] net-print/gnome-cups-manager-0.33  USE=-debug 0 kB
 /snip

 Okay, gtk+, ghostscript, gnome-cups-manager, libgnomecups all are
 obviously related to printing, which means they probably rely on
 net-print/cups, which depends on mit-krb5 if you have the kerberos USE
 flag turned on. Did you just recently switch off the kerberos flag? If
 so try recompiling cups and then those four packages.

 vorbis-tools depends on curl if you have the ogg123 flag set, and
 net-misc/curl also has the kerberos flag. So you may need to rebuild
 the curl package then the vorbis-tools package.

 I suspect similar things happen for totem and subversion. My guess for
 subversion is that it depends on neon, which USE kerberos (too lazy to
 check the ebuild now). Totem I have no idea.

 I think your emerge -DuN probably have recompiled the cups/neon/curl
 and what not because of the USE flag change, but since it is a
 recompile, revdep-rebuild may not have caught the changing libs and
 now you need to rebuild these seven packages.

 Does that sound reasonable?

 HTH,

 W
 --
 Willie W. Wong
 [EMAIL PROTECTED]
 408 Fine Hall,  Department of Mathematics,  Princeton University,
  Princeton
 A mathematician's reputation rests on the number of bad proofs he has
 given.




-- 
棋道,兵道,南山道
复顾北山不见首
秋时一溟黄河水
风声啸过沙满天
过客匆匆不复还
居隐一世,无事事
夜以方长,独步见