Re: [gentoo-user] UEFI booting

2015-08-18 Thread microcai
2015-08-17 20:59 GMT+08:00 Rod r...@rods.id.au:
 Hi list,

 I'm trying to figure out how to make my boot partition to boot from
 UEFI, I have grub2 installed, but I keep getting a error when I ask it to
 install the boot information.

 mount
 /dev/sdc1   201633156 201478   1% /boot/efi

 I have the /boot/efi part mounted ok..

 # efibootmgr
 efibootmgr: EFI variables are not supported on this system.


 # grub2-install --target=x86_64-efi /dev/sdc
 Installing for x86_64-efi platform.
 efibootmgr: EFI variables are not supported on this system.
 efibootmgr: EFI variables are not supported on this system.
 Installation finished. No error reported.

 I have this disk as my 1st boot drive in BIOS, the 2nd is the normal
 drive.

 Boot order is EFI then Legacy  (EFI only tells me Insert boot disk and
 hit Enter)


if you see Insert boot disk and hit Enter then you are not using EFI
mode. it is printed by MS DOS bootloader, aka , the MBR.


 I'm assuming the variables not supported is blocking the install.


 BIOS reports the 1st disk to boot is

 EFI: ST2000DM001-1ER1


 Mobo is a Gigabyte Z68X-UD3H-B3  (with the latest UEFI firmware)

 How can I get this UEFI be become bootable without media to make it boot
 in to that mode to begin with ?

 --
 ---

   Regards,
  Rod Smart
   0417 513 286





Re: [gentoo-user] [OT} CPU question

2015-07-15 Thread microcai
2015-07-14 0:04 GMT+08:00  meino.cra...@gmx.de:

 Hi,

 I am on the way to decide for a tablet PC (7) to use it as a platform
 for installing Linux (preferred: Gentoo!) on it and compile software
 for it for usage of decoding shortwave audio transmissions (i.e. morse
 code, sstv, etc.) for example.

 I mean this NOT performance wise or anything else than
 the technical possibility to painless compile linux software
 on this CPU, so...


 Is an Intel Atom Z3745 (quad core) a sane decision?


 Are crosscompilers freely available for it (or is this
 CPU even i386 compatible)

 (tablet: Asus MEMO Pad 7(ME176CX))

 Thank you very much in advance for any help !

 Best regards,
 Meino

many device with Z3745 uses 32bit UEFI firmware, so you have to use
32bit UEFI loader and enable mixed mode to load 64bit kernel from
32bit bootloader



Re: [gentoo-user] Re: qpdfview - asking for qt4 or qt5

2015-05-03 Thread microcai
2015-04-26 11:51 GMT+08:00 Nikos Chantziaras rea...@gmail.com:
 On 26/04/15 01:46, Joseph wrote:

 On 04/25/15 20:43, Nikos Chantziaras wrote:

 On 25/04/15 19:54, Joseph wrote:

 I've on my system qpdfview (without qt*) but the system wants to
 upgrade to qpdfview-0.4.13-r1
 and it is asking for qt4 or qt5
 [...]
 Why?


 Because it can now be build using Qt4 or Qt5. You have to choose one.

 If you're on KDE4, enable the qt4 USE flag (otherwise the application
 won't integrate with KDE desktop.) If you're not on KDE4, then you might
 as well choose qt5.


 I'm using older version and have neither Qt4 nor Qt5
 So I'm surprized they are forcing on me Qt.

 I've solved the problem qpdfview removed the package.


 Older ebuilds were only supporting building with Qt 4. To keep using that,
 simply enable the qt4 USE flag; it will them work exactly the same as
 before.

 Also, if you didn't need the package, why did you have it installed to begin
 with? :-/



hate qt is a disease.



Re: [gentoo-user] Question of quantum computer

2015-04-03 Thread microcai
on Thursday 02 April 2015 18:33:06,Boricua Siempre wrote:
 From: Boricua Siempre borikua.197...@gmail.com
 To:   gentoo-user gentoo-user@lists.gentoo.org
 Date: Yesterday 06:33:06
 Hello
 
 I have reading of quantum computing and I want know what operating systems
 are use in quantum computers. And I read quantum computers can use
 particols moving faster than light but on other book particels faster than
 light make analog sonar boom that can destroy universe. Is quantum computer
 dangerus? Sorry if my english not good, still learning.


particols are not faster than light.

when you mesure quantum A to have state A, then you can assume quantum B is in 
state B. but there is no information transfer, because the one that mesure the 
remote quantum B don't know your mesurement, you have to pass the result by 
ordinary method, which is still slower than light.




Re: [gentoo-user] How to poweroff the system from user?

2015-03-25 Thread microcai
on Saturday 21 March 2015 13:58:45,Canek Peláez Valdés wrote:
 On Sat, Mar 21, 2015 at 1:47 PM, Rich Freeman ri...@gentoo.org wrote:
  On Sat, Mar 21, 2015 at 3:39 PM, German gentger...@gmail.com wrote:
   No, I am trying to shutdown from a console
  
  Well, the old answer would be that you need to use sudo to run it, as
  shutting down is a privileged operation.
  
  I suspect that the new answer is that with appropriate
  policykit/consolekit/etc settings you can probably allow somebody
  sitting at a physical console to shut down the system, or any
  logged-in user if you prefer.  However, I haven't actually set that up
  myself.
 
 logind does that for you automagically™. The first seat has the rights to
 poweroff or reboot the machine, and it can differentiate between local and
 remote logins. You can check if your user session has the permissions to
 poweroff/reboot via dbus:
 
 $ gdbus call --system --dest org.freedesktop.login1 --object-path
 /org/freedesktop/login1 --method org.freedesktop.login1.Manager.CanPowerOff
 ('yes',)
 
 $ gdbus call --system --dest org.freedesktop.login1 --object-path
 /org/freedesktop/login1 --method org.freedesktop.login1.Manager.CanReboot
 ('yes',)
 
 But you need systemd to use logind1. There has been some attempts to
 reimplement logind outside systemd, but I'm not sure how advanced they are.
 
 This kind of problems were one of the reasons for creating logind.
 

and dump people keep talking nonsencely that sysvinit is enough while it 
cannot even handle reboot for normal user. sad.


 Regards.
 --
 Canek Peláez Valdés
 Profesor de asignatura, Facultad de Ciencias
 Universidad Nacional Autónoma de México




Re: [gentoo-user] How to poweroff the system from user?

2015-03-25 Thread microcai
on Sunday 22 March 2015 02:32:00,German wrote:
 On Sat, 21 Mar 2015 18:51:58 -0400
 
 Fernando Rodriguez frodriguez.develo...@outlook.com wrote:
  On Saturday, March 21, 2015 4:58:42 PM German wrote:
   On Sat, 21 Mar 2015 16:32:25 -0400
   
   Philip Webb purs...@ca.inter.net wrote:
150321 German wrote:
 If I run poweroff from root, the system shuts down.
 When I run poweroff from user -- command not found.
 How to shut down the system from user ?

I'ld say Don't : it's contrary to the principles of Unix,
which separate the roles of sysadmin (root) from those of ordinary
users.

To shut down, I first exit Fluxbox via its menu,
then 'su' + root password, then alias 'down' = 'shutdown -h now'.
That observes the proper roles + ceremonies (smile).
   
   Interesting. But as I said ealier, I can reboot the system when I am a
   user
  
  by Ctrl+Alt+Delete. The user can reboot the system, but can't shut down?
  Strange
  
  
  Either /sbin/poweroff or /usr/sbin/poweroff will do it from a local
  session (if there's no other users logged in locally).
 
 /sbin/poweroff says Must be a superuser :(

then it's high time for you to trash away sysvint and openrc, and try 
systemd!!! 

  Like I said, /sbin is only on the search path for root by default on
  gentoo.




[gentoo-user] glamor is very fast and stable now

2015-03-01 Thread microcai
If you're using intel gpu and want to tryout KDE5, you'll like to use 
modesetting DDX driver with glamor acceleration.

Yes, I'm using now!
And KWin stopes crashing with modesetting driver now, nice ;)

with xf86-video-intel, KWin craches a lot and the screen glittering. 






[gentoo-user] glibc-2.20 and intel microcode

2014-11-10 Thread microcai

I've finnally detected the root cause of glibc-2.20 broken my system: 
glibc-2.20 start using TLX instruction which is disabled by microcode update.

disabling microcode update brings my system back to live!

so, there is either a bug in CPU , nor glibc has borken CPU feature detection.





Re: [gentoo-user] mini-PCIe SSD

2014-09-09 Thread microcai
在 2014年9月7日 星期日 11:55:45,Grant 写道:
 I'm trying to use one of these mini-PCIe storage devices:
 
 http://www.amazon.com/gp/product/B008KWEA88
 
 in a Gigabyte Brix mini-computer but there isn't a /dev/sd* entry for
 it and it isn't in lspci.  Any ideas?
 
 - Grant


You need to have a ATA driver for that SSD if it is not based on AHCI.




Re: [gentoo-user] why you've chosen your desktop environment? (no war !)

2014-08-16 Thread microcai
在 2014年8月16日 星期六 21:52:04,Сергей 写道:
 I use KDE, because it has biggest amount of functions KDE Connect,
 KRunner and Amarok have no match in GTK-world. If they had, I would
 use Xfce.

Yeah, KRunner is what makes me even unable to use Windows.

Also, kdevelop is the best IDE ever created, even Visual Studio has no match 
if you don't Visual AssistX installed.

If you really adopted to KDE, no other DE will ever be in you sight.




[gentoo-user] texstudio scans the while disk when starting up

2014-07-13 Thread microcai
I've been experimenting slow texstudio startup for long time, now I manage to 
figure out why this would have happend.

using strace texstudio I was supprised that texstudio is scanning my while 
disks ! I see a lot of statefs and openat and texstudio iterates the whole 
root filesystem! no wonder texstudio took more than one minute to complete 
startup !

does anyone have the same problem ? 



Re: [gentoo-user] Networkmanager on uclibc Gentoo system x86

2014-07-08 Thread microcai
2014-07-09 0:49 GMT+08:00 João Jerónimo joao.jeronimo...@gmail.com:
 Hello.

 I installed the uclibc stage3 tarball no a x86 machine (I chose uclibc
 because the PC has only 256 MB of RAM). I'm currently trying to install

glibc is fine with 256M, trying to use uclibc does not magically
reduce the memory footprint.


 NetworkManager, but I ran into a problem, which is: NetworkManager needs
 'policykit' USE flag to be applyed to consolekit package. This pulls-in
 policykit package as a dependency of consolekit, which in turn doesn't
 compile because it calls some funcions that uclibc doesn't implement.

 Can't I install networkmanager in uclibc systems, then?


consolekit is not maintained anymore. try use systemd instead.



Re: [gentoo-user] [Less OT] Tally ho! - RC Flight Sims on Linux

2014-06-30 Thread microcai
在 2014年6月30日 星期一 09:17:02,Joost Roeleveld 写道:
 On Monday 30 June 2014 01:26:48 waben...@gmail.com wrote:
  Am Sonntag, 29.06.2014 um 16:26
  
  schrieb Dale rdalek1...@gmail.com:
   waben...@gmail.com wrote:
Am Sonntag, 29.06.2014 um 20:38

schrieb Neil Bothwick n...@digimed.co.uk:
On Sun, 29 Jun 2014 21:29:56 +0200, Alan McKinnon wrote:
Please folks, stop that crap. It has nothing to do with gentoo or
computers at all. If you wanna discuss the delightfulness of war
machines then please to this at another place and not on this
list.

Allow me to introduce your to my good friend Delete and his
lovely wife button

Or you could filter anything with OT in the subject to /dev/null.
It's not like this thread is masquerading as something relevant.

That's not the point. If you wanna talk about stuff that's
apparently absolut useless to almost every member of this ML, then
you should do this at another place. Especially discussions with
politically and or military background are IMHO absolutely
inappropriate.

But hey, maybe I'm wrong. Why shouldn't we talk here about
everything that cross one's mind? We could mark it as OT in the
subject line, so it should be no problem for everyone. Maybe we
should discuss the local daily weather? I think, that's a pretty
good idea as it would increase the noise level of this list even
more. What do you think?
   
   Just a FYI.  I have in the past asked questions about Windoze XP on
   this very list.  Why, I'm not joining a windoze mailing list for just
   one question and I know a lot of people on this list know about
   windoze as well.  I have seen other topics raised on this list
   before.  It's not often but it does happen.  I see Gentoo threads
   that don't interest me at all and I just mark them as read and move
   right along but I don't tell folks that I don't want to see them.  I
   could start with systemd. If I see systemd in the subject, I mark it
   read and move right along usually without reading even the first
   post. Why, I don't use systemd so I am certainly not interested in
   it.  There are other threads that I do the same thing with.
  
  That's right. But all examples you've mentioned are computer related
  topics and maybe useful for anyone on this list.
 
 We can turn this into a computer related thread.
 
 Anyone know of a way to get a flight-sim (for model planes) to run on Linux?
 
 I have a legit copy of Realflight ( http://www.realflight.com ) and
 occasionally have to boot into a legit copy (yes, all my software is 100%
 legit) of MS Windows.

X-plane ?


 
 Ideas welcome.
 
 --
 Joost




Re: [gentoo-user] Re: [Gentoo-User] emerge --sync likely to kill SSD?

2014-06-20 Thread microcai
2014-06-21 1:48 GMT+08:00 Kai Krakow hurikha...@gmail.com:
 microcai micro...@fedoraproject.org schrieb:

 rsync is doing bunch of  4k ramdon IO when updateing portage tree,
 that will kill SSDs with much higher Write Amplification Factror.


 I have a 2year old SSDs that have reported Write Amplification Factor
 of 26. I think the only reason is that I put portage tree on this SSD
 to speed it up.

 Use a file system that turns random writes into sequential writes, like the
 pretty newcomer f2fs. You could try using it for your rootfs but currently I
 suggest just creating a separate partition for it and either mount it as
 /usr/portage or symlink that dir into this directory (that way you could use
 it for other purposes, too, that generate random short writes, like log
 files).

 Then, I'd recommend changing your scheduler to deadline, bump up the io
 queue depth to a much higher value (echo -n 2048 
 /sys/block/sdX/queue/nr_requests) and then change the dirty io flusher to
 not run as early as it usually would (change vm.dirty_writeback_centisecs to
 1500 and vm.dirty_expire_centisecs to 3000). That way the vfs layer has a
 chance to better coalesce multi-block writes into one batch write, and f2fs
 will take care of doing it in sequential order.

 I'd also suggest not to use the discard mount options and instead create a
 cronjob that runs fstrim on the SSD devices. But YMMV.

 As a safety measure, only ever partition and use only 70-80% of your SSD so
 it can reliably do its wear-leveling. It will improve lifetime and keep the
 performance up even with filled filesystems.

 --


many thanks to all of you!

no I've put my portage tree on an F2FS partation now.



[gentoo-user] [Gentoo-User] emerge --sync likely to kill SSD?

2014-06-18 Thread microcai
rsync is doing bunch of  4k ramdon IO when updateing portage tree,
that will kill SSDs with much higher Write Amplification Factror.


I have a 2year old SSDs that have reported Write Amplification Factor
of 26. I think the only reason is that I put portage tree on this SSD
to speed it up.

what is the suggest way  to reduce Write Amplification  of a portage sync ?



Re: [gentoo-user] glibc-2.18 build problem

2014-04-28 Thread microcai
2014-03-21 23:44 GMT+08:00 Tom Wijsman tom...@gentoo.org:
 On Fri, 7 Mar 2014 18:43:27 +0800
 microcai micro...@fedoraproject.org wrote:

 I'm having trouble compiling  glibc. No matter I tried  with  binutils
  2.23 2.24. or - live  version,  I got   ld internal  error  in
 x86_64_relocation  . And the same error repeated with  glibc-2.18 and
 glibc-2.19 .

 Don't  know  why . The  google  bring me a  old  bug report about
 x86_64_relocation  internal  error  when used  conjunction with
 IFUNC, but that doesn't seems to be related with  mine problem.

 When I  first try to update  glibc to  2.18,  it's fine. but then the
 attempt to update  glibc to  2.18-r1  failed  with  ld  internal
 error.  This  error  remains with   glibc-2.16-r2 and  glibc-2.19,
 regardless of  binutils  version.

 Does anyone have had the same problem?


 Can you file a bug at https://bugs.gentoo.org such that the maintainers
 are aware of this? That is, only if it is still reproducible today.

fixed. it's because of a wired CFLAGS -Bsymblic-functions that I put
into make.conf once for testing but forget to remove afterwards.




 --
 With kind regards,

 Tom Wijsman (TomWij)
 Gentoo Developer

 E-mail address  : tom...@gentoo.org
 GPG Public Key  : 6D34E57D
 GPG Fingerprint : C165 AF18 AB4C 400B C3D2  ABF0 95B2 1FCD 6D34 E57D




[gentoo-user] glibc-2.18 build problem

2014-03-07 Thread microcai
I'm having trouble compiling  glibc. No matter I tried  with  binutils
 2.23 2.24. or - live  version,  I got   ld internal  error  in
x86_64_relocation  . And the same error repeated with  glibc-2.18 and
glibc-2.19 .

Don't  know  why . The  google  bring me a  old  bug report about
x86_64_relocation  internal  error  when used  conjunction with
IFUNC, but that doesn't seems to be related with  mine problem.

When I  first try to update  glibc to  2.18,  it's fine. but then the
attempt to update  glibc to  2.18-r1  failed  with  ld  internal
error.  This  error  remains with   glibc-2.16-r2 and  glibc-2.19,
regardless of  binutils  version.

Does anyone have had the same problem?



[gentoo-user] glibc build problem

2014-03-05 Thread microcai
he guys. I'm having trouble compiling  glibc. No matter I tried  with
binutils  2.23 2.24. or - live  version,  I got   ld internal  error
in   x86_64_relocation  . And the same error repeated with  glibc-2.18 and
glibc-2.19 .

Don't  know  why . The  google  bring me a  old  bug report about
x86_64_relocation  internal  error  when used  conjunction with  IFUNC, but
that doesn't seems to be related with  mine problem.

When I  first try to update  glibc to  2.18,  it's fine. but then the
attempt to update  glibc to  2.18-r1  failed  with  ld  internal  error.
This  error  remains with   glibc-2.16-r2 and  glibc-2.19, regardless of
binutils  version.


Re: [gentoo-user] Re: Optional /usr merge in Gentoo

2013-08-18 Thread microcai
在 2013-8-19 上午5:55,pk pete...@coolmail.se写道:

 On 2013-08-18 23:08, Mick wrote:

  I honestly cannot understand why we/Gentoo are allowing the RHL
  monolithic development philosophy to break what we have.  Is
  Poettering the only developer available to the Linux world?  Are
  RHL dictating what path Debian and its cousin distros should
  follow?

 Problem is that Linux is dependent on udev and udev is in the hands of
 Kay Sievers which also develops systemd together with Lennart
 Poettering which in turn used to be a Gnome developer... With that
 said, what I cannot understand is why people advocating systemd (and
 the kitchen-and-sink model) are using Gentoo in the first place. Are
 they just trying to make the rest of the Linux distro landscape as
 miserable as Fedora? Why don't they stay with Fedora instead of trying
 to turn Gentoo into Fedora?

 Best regards

 Peter K


any one complant to systemd is not a programer. he does not understand how
bad sysvinit it is from the code point of view..

some one even say the old version is more stable than latest version even
the author say no and drop the support.

this is all the stupicy of non programer. they think they understand progam
while in fact no.


Re: [gentoo-user] plasma-desktop crash on boot

2013-08-15 Thread microcai
在 2013-8-16 上午9:48,东方巽雷 dongfangxun...@gmail.com写道:

 gentoo testing,kernel3.10.6,qt4.8.5,kde4.11,32bit system,plasma-desktop
segmentation fault on every boot time.But when I run it in konsole,it
didn't crash any more,just show X Error: BadWindow (invalid Window
parameter) 3.Is there someone having the same problem?



you should use amd64. i had upgraded, everything work fine


Re: [gentoo-user] SQL Server Advice for Small Business

2013-07-30 Thread microcai
2013/7/30 Randy Westlund rwest...@gmail.com:
 Hey guys,

 I'm planning to set up an SQL server for my dad's small canvas awning 
 business, and I've never done this before.  Most of my sysadmin-type skills 
 are self-taught.  I could use some advice.

spot a girl 



Re: [gentoo-user] Re: Boost version problem

2013-01-24 Thread microcai
2013/1/24 Jacques Montier jmont...@gmail.com:


 2013/1/24 Nikos Chantziaras rea...@gmail.com

 On 24/01/13 17:05, Alan McKinnon wrote:

 On Thu, 24 Jan 2013 15:53:48 +0100
 Jacques Montier jmont...@gmail.com wrote:

 Hi all,

 Libreoffice-4.0 needs boost  1.49 (so works with boost-1.52.0-r5) and
 Nightshade LSS (for planetarium but not in portage) needs boost  1.5
 (so works with 1.49.0-r2).
 Is it possible to install both 1.49 and 1.52 (in new slot) ?

update Nightshade to work with boost 1.52 is the only way to go.



 No.

 Boost IIRC used to be slotted, but not anymore. Like any other package,
 you get one and only one version at a time.

 When i emerge boost-1.52, boots-1.49 in uninstalled and vice versa.


 So don't install boost-1.52 and take it out of world if you have it
 there.

 Portage will install boost-1.49.0-r2 for you and maintain the updates
 for you. You do not have to fiddle with it.


 What if I need boost-1.52 for my own software I build?



 Libreoffice-4.0 needs app-text/libmspub and dev-libs/liborcus which need
 boost-1.52.
 So what can i do ?
 Actually, i have boost-1.49.0-r2 and Libreoffice-3.6.4.3

 --
 Jacques





Re: [gentoo-user] {OT} Will ARM take over the world?

2012-12-08 Thread microcai
2012/12/9 Grant emailgr...@gmail.com:
 It seems like ARM processors will destroy x86 before too long.  Does anyone
 think this won't happen?

No, it won't.


 - Grant



Re: [gentoo-user] swap on ssd?

2012-11-26 Thread microcai
2012/11/26 Volker Armin Hemmann volkerar...@googlemail.com:
 Am Montag, 26. November 2012, 08:23:44 schrieb William Kenworthy:
 On Mon, 2012-11-26 at 00:02 +0100, Volker Armin Hemmann wrote:
  Am Montag, 26. November 2012, 06:46:28 schrieb William Kenworthy:
   Has anyone tried swap on ssd?  - has it killed the drive prematurely? -
   any other effects?
  
   I have a system that is maxed with with 4G ram and tends to use swap
   heavily at times which slows things down ... so I am thinking a small
   ssd might help here.
 
  you know what helps even more? replacing those 4g with 8g.

 I would if I could - physical max is 4G ...


 so the 4gb are sitting on the mobo itself? Or are we talking about some system
 from the bronze ages which does not accept sticks bigger than 512mb - and you
 put 8 into it?

 either way, new board+8gb will make you happier than a destroyed ssd.

I suggest 16G if you'll buy next year. KDE will eat 2G itself. :)


 --
 #163933




Re: [gentoo-user] swap on ssd?

2012-11-25 Thread microcai
2012/11/26 William Kenworthy bi...@iinet.net.au:
 On Mon, 2012-11-26 at 00:02 +0100, Volker Armin Hemmann wrote:
 Am Montag, 26. November 2012, 06:46:28 schrieb William Kenworthy:
  Has anyone tried swap on ssd?  - has it killed the drive prematurely? -
  any other effects?
 
  I have a system that is maxed with with 4G ram and tends to use swap
  heavily at times which slows things down ... so I am thinking a small
  ssd might help here.

 you know what helps even more? replacing those 4g with 8g.


 I would if I could - physical max is 4G ...

a new mainborad is cheaper than SSDs. sell the currently used one and
buy new one.


 BillK







Re: [gentoo-user] SSD configuration

2012-11-25 Thread microcai
2012/11/26 Jacques Montier jmont...@gmail.com:


 2012/11/25 Alex Schuster wo...@wonkology.org

 Jacques Montier writes:

 I bought a 250Go SSD M4 Crucial , read (of course) Gentoo documentation
 and installed the drive on my desktop pc (Asus MB, Intel ie7 and 6Go
 RAM).

 1- Everything seems to work perfectly, but i would like to know if my
 configuration is ok or could be optimized.

 /tmp and /var/log are on tmpfs


 Like Volker said. Yikes! Or is that just a typo and you meant /var/tmp?
 Still, I would prefer to have that on the HDD.


 /boot, / and /var are on SSD (sda),
 swap, /home, /usr/portage, /var/tmp and /var/log on a 1To SATA HDD (sdb)


 I would put the portage tree on the SDD.

 Wonko



 Alex,

 Each time you sync the portage, you should write on the SSD...
 Is it a good thing ?

yes, then you can ask a new one within the garentee time.

 As Volker said, i put  /var on the HDD, and it works fine.

 Regards,

 --
 Jacques






Re: [gentoo-user] Re: [PATCH] Linus breaks nvidia-drivers again

2012-10-16 Thread microcai
change VM_RESERVERD to VM_DONTDUMP|VM_IO

2012/10/16 walt w41...@gmail.com:
 On 10/15/2012 11:10 AM, Walter Dnes wrote:

 On Mon, Oct 15, 2012 at 09:05:27AM -0700, walt wrote

 Well, this is really a temporary workaround for people who like to
 run the latest git kernel from Linus, and it's only tested for
 nvidia-drivers-302.17-r1, and only on ~amd_64.


Which kernel version does the breakage start at, so I know not to rush
 into it when it goes mainstream?


 Linus committed the breakage to his git repository just last week, so the
 nvidia people should have it fixed for 3.7.  Same goes for virtualbox and
 ati-drivers, I hope.

 But to answer your question, the breakage starts with linux-3.7.0-rc1.




Re: [gentoo-user] new machine : DVD drive

2012-08-20 Thread microcai
2012/8/20 Philip Webb purs...@ca.inter.net:
 Apologies for the elementary questions, but I'm a bit slow to change (smile).

 In designing my new machine, I assumed that I would simply transfer
 the CD drive from the existing box to the new one,
 but (1) the new mobo seems to have only SATA sockets
  (2) CD drives seem to be going the same way as diskette drives,
 so I'm now planning to buy a new DVD drive  to start using DVDs.
 I wb using them only for back-ups, not playing music or videos.

 This looks like a good enough item :
   ASUS DRW-24B1ST 24x SATA Black R 48x W 8x OEM : CAD 24,99

 Can anyone answer a few rather basic questions ?
 (1) do I need to configure the kernel to find the drive ?

NO.  just enable packet write and SCSI_CDROM



 (2) what software do Gentoo users use to read/write DVDs ?

k3b is a good one

 (3) are there rewritable DVDs, as there used to be rewritable CDs ?

sure

 -- among the specs are much slower speeds labelled 'RW'.
 (4) anything else I sb aware of ?

 --
 ,,
 SUPPORT ___//___,   Philip Webb
 ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
 TRANSIT`-O--O---'   purslowatchassdotutorontodotca





Re: [gentoo-user] new machine : CPU : 22 nm vs 32 nm

2012-07-27 Thread microcai
CPU speed does not matter. what matters most is the I/O speed.

As far as I can tell, AMD chip suffered with a lot of I/O. Their
Hyper-transport seems not competitive with Intel's ring bus


2012/7/26 Michael Mol mike...@gmail.com:
 On Thu, Jul 26, 2012 at 10:18 AM, Евгений Пермяков permea...@gmail.com 
 wrote:
 On 07/26/2012 05:50 PM, Michael Mol wrote:

 On Thu, Jul 26, 2012 at 9:43 AM, Евгений Пермяков permea...@gmail.com
 wrote:

 On 07/26/2012 12:05 AM, Philip Webb wrote:

 I've listed what's available at the local store,
 which I trust to stock reliable items, tho' I wouldn't ask their advice.

 All the AMD's are  32 nm , while the Intel recommended by one commenter
 -- Core i5-3570 4-Core Socket LGA1155, 3.4 Ghz, 6MB L3 Cache, 22 nm --
 is  22 nm : it costs  CAD 230   they have  3  in stock,
 which suggests demand, but not the most popular ( 9  in stock).

 Isn't  22 nm  going to be faster than  32 nm  ?

 In the same price range, AMD offers  Bulldozer X8 FX-8150 (125W)
8-Core Socket AM3+, 3.6 GHz, 8Mb Cache, 32 nm  ( CAD 220 ,  2  in
 stock).

 How do you compare cores vs nm ?
 How far is cache size important ( 6 vs 8 MB )?

 When I built my current machine 2007, the CPU cost  CAD 213 ,
 so both look as if they're in the right ballpark.

 If you're building new, performance-oriented box, you should take latest
 intel with AVX because of AVX.  As I recall, recent gcc has support for
 avx,
 so some performance gain may be achieved.
 If you want home box, you may be interested in AMD A8 and similar chips,
 as
 they are reasonably fast and very chip

 AMD parts have had AVX since the Bulldozer core release in Q3 2011.

 Are they already available in reasonable numbers on market?

 http://www.cpubenchmark.net/cpu.php?cpu=AMD+FX-8120+Eight-Core

 At $150, fitting into existing Socket AM3+ boards, that looks like the
 best part for my money right now.

 In any case, I'd put most of my money in 2-4 big 3Tb HDD's for media and
 8+
 Gb fast memory, as modern browsers eat memory like crazies and CPU is
 usually fast enough. Decoding HDTV mkv's should occur on gpu block in any
 case, so general performance for most uses is irrelevant, as it was fast
 enough four yesrs earlier. Simply check, that you can offload HDTV
 decoding
 to GPU in your config.

 Here, you're talking about either VDPAU or VAAAPI support. VDPAU is
 only offered by nVidia cards, and even then you need to run the
 proprietary driver. VAAPI is supported by Intel graphics and ATI's
 proprietary driver.

 I do not see any problems with this. A blob in system is not best practice,
 of course, but it does not need any configuration and is not a performance
 bottle-neck, so there is no reason to care.

 I only bring it up because some people do care. I'm running fglrx at
 home right now. When I run nVdia, I run the nVidia drivers. In part
 because I like accelerated video decoding (which a Geforce 210 does
 wonderfully), in part because the nv, nouveau and radeon drivers
 historically worked very poorly for me in 2D performance when faced
 with multiple 1080p displays. They're always getting better, of
 course.


 I personally would prefer AMD A8 if I can offload decoding to GPU unit there
 (not sure if I can, so won't change my box till next summer), but discrete
 video card will not be the most costly part in good non-gaming box, hard
 drives will, so again, what the matter?

 Computer usage breaks down into more than gaming and non-gaming. My
 non-gaming boxes at home tend to have their CPU, RAM or NICs as
 their most expensive components, because that's where I need them to
 perform better.


 --
 :wq




Re: [gentoo-user] new machine : CPU : 22 nm vs 32 nm

2012-07-26 Thread microcai
2012/7/26 Philip Webb purs...@ca.inter.net:
 I've listed what's available at the local store,
 which I trust to stock reliable items, tho' I wouldn't ask their advice.

 All the AMD's are  32 nm , while the Intel recommended by one commenter
 -- Core i5-3570 4-Core Socket LGA1155, 3.4 Ghz, 6MB L3 Cache, 22 nm --
 is  22 nm : it costs  CAD 230   they have  3  in stock,
 which suggests demand, but not the most popular ( 9  in stock).

 Isn't  22 nm  going to be faster than  32 nm  ?

 In the same price range, AMD offers  Bulldozer X8 FX-8150 (125W)
  8-Core Socket AM3+, 3.6 GHz, 8Mb Cache, 32 nm  ( CAD 220 ,  2  in stock).

 How do you compare cores vs nm ?
 How far is cache size important ( 6 vs 8 MB )?

cache size is always the most important thing. cache miss is the top
reason your application slows down.


 When I built my current machine 2007, the CPU cost  CAD 213 ,
 so both look as if they're in the right ballpark.

 --
 ,,
 SUPPORT ___//___,   Philip Webb
 ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
 TRANSIT`-O--O---'   purslowatchassdotutorontodotca





Re: [gentoo-user] Re: new machine : (1) which CPU ?

2012-07-21 Thread microcai
2012/7/21 Nikos Chantziaras rea...@gmail.com:
 On 20/07/12 10:24, Philip Webb wrote:

 I plan to build a new machine in the next few months:
 it wb for regular desktop use, but performance is as important as price.

 A quick look at what was available in April suggested
 an Intel Ivy Bridge i7 ( 22 nm ) ; Phoronix said it works with Kernel 3.2
 + an Intel Z77 mobo (I usually buy ASUS)  that power/watt was excellent.


 The best performance for money is the i5 2550K CPU.  If you want the
 integrated graphics because you don't have an actual graphics card, you can
 go for the 2500K.

For those don't want an integrated graphics, buy Xeon E3-123? serise
CPU. the same price as i5 2500K , but you got 8 thread :)


 This is a Sandy Bridge CPU.  I normally don't recommend the Ivy Bridge ones
 because they run hotter, so changing the clock multipliers isn't as fun as
 with Sandy Bridge.





Re: [gentoo-user] profiling:/var/tmp/portage/xfce-base ... Cannot create directory

2012-07-09 Thread microcai
2012/7/9 v...@ukr.net

   Hello!

 On Mon, 9 Jul 2012 08:51:32 +0800
 microcai micro...@fedoraproject.org wrote:

  You forgot to disable pgo when you compile some xfce-session .
 
   What is 'pgo'?


profile guided optimize

If you enable it , software will generate profile data when it runs.
of-course the profile data will be output to the *same* dir it got
compiled. That's why it write to /var/tmp

But you are not running xfce-session as root, are you? so xfce-session
won't be able to create profile data.





   Thanks.
 Vladimir
 -
  v...@ukr.net




Re: [gentoo-user] profiling:/var/tmp/portage/xfce-base ... Cannot create directory

2012-07-08 Thread microcai
You forgot to disable pgo when you compile some xfce-session .

2012/7/9 v...@ukr.net

   Hello!
   I noticed some strange messages in my ~/.xsession-errors log-file
 today. They look like this:

 profiling:/var/tmp/portage/xfce-base:Cannot create directory

 profiling:/var/tmp/portage/xfce-base/xfce4-session-4.6.1-r1/work/xfce4-session-4.6.1/xfce4-session/xfce4_session-ice-layer.gcda:Skip
 profiling:/var/tmp/portage/xfce-base:Cannot create directory

 profiling:/var/tmp/portage/xfce-base/xfce4-session-4.6.1-r1/work/xfce4-session-4.6.1/xfce4-session/xfce4_session-main.gcda:Skip
 . . .
 and so on.

   I haven't seen such messages before, that is why decided to ask here
 about what they mean. It is also strange that they mention the
 '/var/tmp/portage/' directory. Maybe something is wrong with
 installation system?

   Thanks.
 Vladimir


 -
  v...@ukr.net




Re: [gentoo-user] Nvidia-drivers + kernel 3.4

2012-06-15 Thread microcai
don't, use 295.59 :)

2012/6/15 Philip Webb purs...@ca.inter.net

 I haven't seen any mention of the problem here,
 but after installing Kernel 3.4 , Nvidia-drivers 295.49 wouldn't compile.
 The solution (via Google + Launchpad bugzilla) is to copy  4  header files
 from  /usr/src/linux/arch/arm/include/asm  to  -/-/-/-/x86/include/asm :
  system.h compiler.h system_info.h system_misc.h .

 Also the Ethernet kernel config lines have changed a bit
  I had to ask explicitly for my mobo's version with 'r8169'.

 HTH others

 --
 ,,
 SUPPORT ___//___,   Philip Webb
 ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
 TRANSIT`-O--O---'   purslowatchassdotutorontodotca





Re: [gentoo-user] ~gcc-4.7.0

2012-05-29 Thread microcai
2012/5/29 Michael Mol mike...@gmail.com

 On Mon, May 28, 2012 at 10:19 PM, Pandu Poluan pa...@poluan.info wrote:
 
  On May 29, 2012 4:15 AM, Stefan G. Weichinger li...@xunil.at wrote:
 
  Am 2012-05-28 22:54, schrieb Sascha Cunz:
   On Monday, 28. May 2012 22:04:30 Stefan G. Weichinger wrote:
   As GCC-4.7.0 appeared for ~amd64 now ...
  
   anyone recompiled system or world with it already?
  
   More advantages or disadvantages?
  
   I tried an emerge -ev world yesterday (on a box with a total about
 1100
   emergeed packages), so far only had compiling trouble with
   gst-pluings-ffmpeg
   (gcc4.7.0 bug including patch is on b.g.o[1], so was easy to solve)
 and
   firefox 12.
  
   All of KDE 4.8.3 and libreoffice did emerge nicely. Though i did not
   test the
   results yet.
  
   SaCu
  
   [1] https://bugs.gentoo.org/show_bug.cgi?id=407741
  
 
 
  Thanks alot, Sascha, for that helpful feedback!
 
  I will give it a try on one of my machines tonight.
 
  In gentoo-ricer-terms: did you notice any improvements?
 
  ;-)
 
 
  LOL
 
  Yeah, I am also wondering how much improvement graphite sees with 4.7.0
 
  *shuffles over to gcc changelog

 I'm mostly looking forward to Bulldozer support and RDRAND.


LOL I thought no one buys it


 --
 :wq




Re: [gentoo-user] The LIGHTEST web server (just for serving files)?

2011-11-14 Thread microcai

http://code.google.com/p/bashttpd/

run with systemd or xinetd



于 2011年11月14日 18:05, J. Roeleveld 写道:
 On Sat, November 12, 2011 2:11 pm, YoYo Siska wrote:
 On Sat, Nov 12, 2011 at 07:40:08PM +0700, Pandu Poluan wrote:
 During my drive home, something hit my brain: why not have the 'master'
 server share the distfiles dir via NFS?

 So, the question now becomes: what's the drawback/benefit of NFS-sharing
 vs
 HTTP-sharing? The scenario is back-end LAN at the office, thus, a
 trusted
 network by definition.

 NFS doesn't like when it looses connection to the server. The only
 problems I had ever with NFS were because I forgot to unmout it before a
 server restart or when I  took a computer (laptop) off to another
 network...
 
 NFS-shares can work, but these need to be umounted before network goes.
 If server goes, problems can occur there as well.
 But that is true with any server/client filesharing. (CIFS/Samba, for
 instance)
 
 Otherwise it works well, esp. when mounted ro on the clients, however
 for distfiles it might make sense to allow the clients download and save
 tarballs that are not there yet ;), though I never used it with many
 computer emerging/downloading same same stuff, so can't say if locking
 etc works correctly...
 
 Locking works correctly, have had 5 machines share the same NFS-shared
 distfiles and all downloading the source-files.
 
 And with NFS the clients won't duplicate the files in their own
 distfiles directories ;)
 
 Big plus, for me :)
 
 --
 Joost
 
 




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] UEFI specification

2011-11-11 Thread microcai
2011/11/12 James wirel...@tampabay.rr.com:
 Here is a quick description of how Redmond
 intends to taint the bios on new products:

 http://www.linuxjournal.com/content/linux-heavyweights-develop-secure-boot-strategy


 So,  recently I took a live-dvd-11.2 into Costco to check out a new
 HP laptop (DV7-6178US). It would not boot the DVD. How
 can I research if the UEFI bios is the issue? In the past the
 live gentoo dvds have booted up most every (new) laptop I have tested.

 Sure I can purchase the laptop, bring it home and hack on
 it, but, it would be much more straight forward if there
 was a list of UEFI infected computers somewhere. (any lists?)

 I do not want to waste my time on a laptop that has this
 MS tainted bios. Methods and ideas to flush this out, before
 purchase are most welcome? Is it possible that some windows 7
 laptops have the UEFI bios?

UEFI  only boots 64bit OS.

32bit OS should be loaded via  BIOS emulation mode.

So, if the pre-installed windows is 32bit. the UEFI must not be tainted.


 I usually prefer a dual boot laptop, with doz and gentoo, but
 that looks like a fading option these days.?


 James






Re: [gentoo-user] Re: Re: [gentoo-user] 回复: [gentoo-user] How to show Chinese or write Chinese on console ?

2011-11-07 Thread microcai
On 2011年11月07日 15:37, Blackdream W wrote:
 We called 飞天豹补丁”

:) 这家伙比较忙, 用到新内核上可能需要费点功夫。我是个闲人,我修改过补丁
会及时跟进最新的内核的。 ^_^

repo.or.cz/w/linux-2.6/cjktty.git


 
 在 2011年11月7日 下午2:27,Lavender lavender_mat...@163.com写道:
 
 在 2011-11-07 13:10:16,microcai micro...@fedoraproject.org 写道:


 show 可以,有内核级别的中文补丁。

 要 write 的话可以使用 zhcon 或者 fbterm 配合 ibus-fbterm

 其实我只要show就可以了,补丁叫啥名字,是不是直接安装就行了?
 PS:原来这里还有Chinese啊,平时都不见冒泡。



 
 




signature.asc
Description: OpenPGP digital signature


[gentoo-user] Re: Re: Re:[gentoo-user] 回复: [gentoo-user] How to show Chinese or write Chinese on console ?

2011-11-07 Thread microcai
merge the utf8 branch ,  enable CJK font , recompile your kernel. enjoy it.


在 2011年11月7日 下午9:48,Lavender lavender_mat...@163.com 写道:
 I have created file named 00locale in directory /etc/env.d/
 The content of 00locale is like below:
 LANG=zh_CN.UTF-8
 LC_CTYPE=zh_CN.UTF-8
 the rest variables are all en_US.UTF-8

 Then I used commands below:
 #locale-gen
 #env-update  source /etc/profile
 But it still can't show Chinese, you said that a console font that displays
 double byte
 also needed,so which font should I choose?
 At 2011-11-07 13:10:03,bill.long...@gmail.com wrote:

 On Nov 6, 2011 8:01 PM, Lavender lavender_mat...@163.com wrote:

 Lavender,

 You should look into changing your locale, as a start. You can start here

 http://www.gentoo.org/doc/en/guide-localization.xml

 but for chinese you will also need to choose a console font that displays
 double byte.


 在 2011-11-07 11:20:04,aca.jingru aca.jin...@gmail.com 写道:

 zhcon

 
 aca.jingru

 Someone told me that zhcon is not stable, it may result in system crash.
 I think safe method may be needed.







Re: [gentoo-user] 回复: [gentoo-user] How to show Chinese or write Chinese on console ?

2011-11-06 Thread microcai

show 可以,有内核级别的中文补丁。

要 write 的话可以使用 zhcon 或者 fbterm 配合 ibus-fbterm



signature.asc
Description: OpenPGP digital signature