Re: [gentoo-user] swapping processor problem

2011-11-16 Thread Raffaele BELARDI
On 11/16/2011 08:34 AM, Dale wrote:
 
 I agree tho that checking those BIOS setting is a good start.  If that fails, 
 boot a CD or something, chroot in, do a emerge -e system.  Maybe make some 
 corrections to the kernel then try booting.  Oh, I'd rebuild the input 
 drivers to, mouse and keyboard.  Check the USE flags too.  I'm not sure what 
 all options they have.
 

Boot from CD also was failing with a lock so I think it was a mobo/CPU
incompatibility issue. Nevertheless I'd like to understand the points
you and Michael are making.

The Award BIOS has almost no CPU-related options.
There is no way I can control cache size from BIOS.
Since the memory controller is integrated in the Athlon64 I'd think DRAM
settings page could be affected by a CPU swap but I have it all set to
'auto' so I suppose that the BIOS should fix them after the swap.
USB is implemented on southbridge, not on CPU.

I found no parameter in the kernel config that could be affected by the
CPU swap except for SMP setting, but a misconfiguration there should not
cause a hang, just a core not being used.

Which drivers should be affected by a CPU swap? All the ones I can think
of are motherboard-related, not CPU-related.

Thanks for the hint on gcc, I'll check the differences on the two
systems once I have them back up and working.


Re: [gentoo-user] swapping processor problem

2011-11-16 Thread Dale

Raffaele BELARDI wrote:

On 11/16/2011 08:34 AM, Dale wrote:

I agree tho that checking those BIOS setting is a good start.  If that fails, 
boot a CD or something, chroot in, do a emerge -e system.  Maybe make some 
corrections to the kernel then try booting.  Oh, I'd rebuild the input drivers 
to, mouse and keyboard.  Check the USE flags too.  I'm not sure what all 
options they have.


Boot from CD also was failing with a lock so I think it was a mobo/CPU
incompatibility issue. Nevertheless I'd like to understand the points
you and Michael are making.

The Award BIOS has almost no CPU-related options.
There is no way I can control cache size from BIOS.
Since the memory controller is integrated in the Athlon64 I'd think DRAM
settings page could be affected by a CPU swap but I have it all set to
'auto' so I suppose that the BIOS should fix them after the swap.
USB is implemented on southbridge, not on CPU.

I found no parameter in the kernel config that could be affected by the
CPU swap except for SMP setting, but a misconfiguration there should not
cause a hang, just a core not being used.

Which drivers should be affected by a CPU swap? All the ones I can think
of are motherboard-related, not CPU-related.

Thanks for the hint on gcc, I'll check the differences on the two
systems once I have them back up and working.



You could be right that it is a mobo CPU issue.  When you are grasping 
at straws, just grab all you can.  Since you got it to work then I 
wouldn't think it was software, a failing hardware such as a bad CPU or 
a bad kernel.


Generally if it works on a CD, then it is software.  If it also fails 
from a CD, then it should be hardware.  Sounds like yours is a hardware 
issue but just a compatibility problem, not failure.


Maybe check if there is a BIOS update available?  Might be worth a shot.

Dale

:-)  :-)

--
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] Re: Upgrading gcc: both 4.4 and 4.5 needed?

2011-11-16 Thread Pandu Poluan
On Nov 16, 2011 2:15 PM, Stéphane Guedon steph...@22decembre.eu wrote:

 On Wednesday 16 November 2011 02:07:12 Pandu Poluan wrote:
 
  And if you're adventurous, add USE graphite, reemerge gcc, and
reemerge
  world :)
 
  Rgds,

 what does graphite add ?

 thanks


It makes gcc-4.5.3 use a newer method to detect parallelism, thus
(potentially) makes programs compiled by gcc to have better multithreaded
performance.

Rgds,


Re: [gentoo-user] swapping processor problem

2011-11-16 Thread Raffaele BELARDI
On 11/16/2011 09:23 AM, Dale wrote:
 You could be right that it is a mobo CPU issue.  When you are grasping 
 at straws, just grab all you can.

Yep, that's why I wrote about it here, I see very good suggestions on
this list.

 Maybe check if there is a BIOS update available?  Might be worth a shot.

I already upgraded the BIOS to have the dual-core CPU recognized,
otherwise the kernel would not even start. There is yet another update
on the ASUS site but it's mainly for AM3 processor compatibility and
labelled as 'beta' so I'm a bit nervous to try it ;-)


Re: [gentoo-user] udev rules for an iPod Touch?

2011-11-16 Thread James Broadhead
Your user should be in plugdev, with the mountpoiny rwx by plugdev. I have
root:plugdev rwxrwxr-x.

I have more written, but I'm travellong atm.

Use app-pda/ideviceinstaller -l to get AppIds  then use ifuse --appid to
mount Apps 'Documents' folders (to pass them music/videos/ebooks).

I needed ifuse  libimobiledevice from git for my updated ipad1.
On Nov 13, 2011 5:06 a.m., Mark Knecht markkne...@gmail.com wrote:

 On Wed, Nov 9, 2011 at 3:14 PM, James Broadhead
 jamesbroadh...@gmail.com wrote:
  As for native support, it looks as though Apple have updated their
  protocol, so if you've a new i*, or have updated recently, then the
  in-portage versions of ifuse and libimobiledevice won't work - I've
  just gotten my updated iPad working with current git versions of both
  however.
 
  I've also been working on:
  http://wiki.gentoo.org/wiki/Apple_ipod,_ipad,_iphone
 
  Please feel free to add to it. :)
 
  J

 Hi James,
   Sitting here this evening I remembered you had posted this so I
 thought I'd give it a try. While there's a lot of life I still don't
 have a connection. Here's what I see following along with your
 commands:

 1) idevice_id just prints a help list. However

 idevice_id -l

 does give me a serial number.

 2) ideviceinfo prints lots of information from the ipod.

 3) idevicepair pair  idevicepair validate report success. Great so far.

 5) ifuse /mnt/ipod does mount the ipod. I can cd to /mnt/ipod and see
 directories, etc.

 k2 ipod # ls -la
 total 4
 drwxr-xr-x 0 root root  204 Dec 31  1969 .
 drwxr-xr-x 9 root root 4096 Nov  4 17:50 ..
 drwxr-xr-x 0 root root  102 Dec 31  1969 DCIM
 drwxr-xr-x 0 root root  102 Dec 31  1969 Downloads
 -rw-r--r-- 0 root root0 Dec 31  1969 com.apple.itunes.lock_sync
 drwxr-xr-x 0 root root  204 Dec 31  1969 iTunes_Control
 k2 ipod #

 At this point I start gtkpod but cannot find the ipod. I'm wondering
 what root might need to do to make /mnt/ipod visible to my user
 account? Should I be adding my id to some groups possibly? Something
 else?

 Thanks for the write-up.

 - Mark




Re: [gentoo-user] swapping processor problem

2011-11-16 Thread Dale

Raffaele BELARDI wrote:

On 11/16/2011 09:23 AM, Dale wrote:


Maybe check if there is a BIOS update available?  Might be worth a shot.

I already upgraded the BIOS to have the dual-core CPU recognized,
otherwise the kernel would not even start. There is yet another update
on the ASUS site but it's mainly for AM3 processor compatibility and
labelled as 'beta' so I'm a bit nervous to try it ;-)



I have a beta for mine too.  It'll will be there when it gets marked 
stable tho.  I'm in no hurry.  Sometimes waiting is a good idea.


Dale

:-)  :-)

--
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] udev rules for an iPod Touch?

2011-11-16 Thread James Broadhead
On 16 November 2011 08:42, James Broadhead jamesbroadh...@gmail.com wrote:
 Your user should be in plugdev, with the mountpoiny rwx by plugdev. I have
 root:plugdev rwxrwxr-x.

Oh, and run ifuse as the user, not as root :)



Re: [gentoo-user] swapping processor problem

2011-11-16 Thread James Broadhead
On 16 November 2011 08:55, Dale rdalek1...@gmail.com wrote:
 Raffaele BELARDI wrote:

 On 11/16/2011 09:23 AM, Dale wrote:

 Maybe check if there is a BIOS update available?  Might be worth a shot.

 I already upgraded the BIOS to have the dual-core CPU recognized,
 otherwise the kernel would not even start. There is yet another update
 on the ASUS site but it's mainly for AM3 processor compatibility and
 labelled as 'beta' so I'm a bit nervous to try it ;-)


 I have a beta for mine too.  It'll will be there when it gets marked stable
 tho.  I'm in no hurry.  Sometimes waiting is a good idea.

The latest version of my Gigabyte BIOS has been 'in beta' for about 4
years now -- _and_ it's the version where they add support for
Quad-Core 2s!

Sometimes it means that they added some features, but can't be
bothered doing a full test suite.



Re: [gentoo-user] swapping processor problem

2011-11-16 Thread Dale

James Broadhead wrote:

On 16 November 2011 08:55, Dalerdalek1...@gmail.com  wrote:

Raffaele BELARDI wrote:

On 11/16/2011 09:23 AM, Dale wrote:


Maybe check if there is a BIOS update available?  Might be worth a shot.

I already upgraded the BIOS to have the dual-core CPU recognized,
otherwise the kernel would not even start. There is yet another update
on the ASUS site but it's mainly for AM3 processor compatibility and
labelled as 'beta' so I'm a bit nervous to try it ;-)


I have a beta for mine too.  It'll will be there when it gets marked stable
tho.  I'm in no hurry.  Sometimes waiting is a good idea.

The latest version of my Gigabyte BIOS has been 'in beta' for about 4
years now -- _and_ it's the version where they add support for
Quad-Core 2s!

Sometimes it means that they added some features, but can't be
bothered doing a full test suite.




Mine has been there for quite a while too.  According to the timestamps 
on mine, it was downloaded back in August.  H, glad mine is working 
as is.  lol


Dale

:-)  :-)

--
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] Re: Another hardware thread

2011-11-16 Thread Stefan G. Weichinger
Am 2011-11-16 01:20, schrieb Neil Bothwick:
 On Wed, 16 Nov 2011 00:51:44 +0100, Stefan G. Weichinger wrote:
 
 I play with the thought of getting myself a nice new machine for
 work, better to spend some money on hardware than on taxes (2012 is
 near ...).
 
 My thoughts exactly.

Same world ;-)

 Performance is one issue, another one is energy/noise ... the
 phenom 1090t seems to pull in a lot and need good (and maybe noisy)
 fans.
 
 I'll be using my existing water cooling setup, so no need to worry
 about that. However, after some research, I've decided to stick with
 Intel and orders an i7 2600k today. I wasn't sure whether it was
 worth the extra over the i5, but knew I would only regret it the
 first time I had to wait for something. I rationalised the cost by
 getting only 8GB of RAM, but leaving the slots free for another 8GB
 should I feel the need for it.

I am more Intel-biased also, as I always chose Intel for my own boxes.
I quickly clicked a new box together in some online configurator, the
difference between 8G and 12G wasn't too much, I could get that in by
downgrading a bit on the graphics card (which even in the lower version
would be much more powerful than the one I have right now).

I use 8G now and it rarely gets really to full use. It just doesn't feel
too clever to not take one step up when buying new stuff ;-)

Very often one looks back a year after and regrets I should have chosen
the bigger CPU, more RAM, whatever  I will decide the RAM-issue
when I order.

 
 I just start to compare. 6 cores, yep, sounds good for both 
 gentoo-compile-work and VMs ...
 
 The Intel chips are only four cores, but appear to give a lot more 
 bang-per-core, especially with the i7's hyperthreading.

yep. That would mean 8 threads w/ i7 (4 real and 4 hyper) vs. 6
real threads w/ amd?

I also tend to i7 2600k, some reviews look very good.

I will see what your reports tell us :-)

Stefan



Re: [gentoo-user] Re: [OT] Binary install distro

2011-11-16 Thread Neil Bothwick
On Wed, 16 Nov 2011 01:45:45 -0200, Érico Porto wrote:

 is it possible to install lightDM (ubuntu 11.10) in gentoo?

It's in portage, so I suppose the answer has to be yes.

PS please do not top-post.

PPS Sorry for nicking your tagline Alan ;-)

-- 
Neil Bothwick

I'm not opinionated, I'm just always right!


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Another hardware thread

2011-11-16 Thread Neil Bothwick
On Wed, 16 Nov 2011 10:56:39 +0100, Stefan G. Weichinger wrote:

 Very often one looks back a year after and regrets I should have chosen
 the bigger CPU, more RAM, whatever  I will decide the RAM-issue
 when I order.

That's why I switched the money from RAM to CPU. If I want more RAM I can
buy it later. Upgrading a CPU is not so cost-effective :(


-- 
Neil Bothwick

In possession of a mind not merely twisted, but actually sprained.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: [OT] Binary install distro

2011-11-16 Thread Dale

Neil Bothwick wrote:

On Wed, 16 Nov 2011 01:45:45 -0200, Érico Porto wrote:


is it possible to install lightDM (ubuntu 11.10) in gentoo?

It's in portage, so I suppose the answer has to be yes.

PS please do not top-post.

PPS Sorry for nicking your tagline Alan ;-)



I sure did misread that one.  I'm not due for new glasses yet either.

Dale

:-)  :-)

--
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] Anybody want to beta test Gentoo with mdev instead of udev?

2011-11-16 Thread Pandu Poluan
On Wed, Nov 16, 2011 at 07:52, Pandu Poluan pa...@poluan.info wrote:

 On Nov 16, 2011 3:21 AM, waltd...@waltdnes.org wrote:

  The more scenarios we can test, the better.  mdev might shave a second
  or two off the VM's bootup time, versus udev.


 Okay, I have two staging VMs on XenServer and one on VMware. I'm going to
 report back what happens. If anything bad happens, *should* be an easy
 rollback to the previous snapshot.


1st Report: amd64-hardened on XenServer, PV-mode

Booted okay. There's 1 (one) red asterisk but it booted so fast I
can't see what that asterisk was about. `less /var/log/rc.log` did not
show anything...

... but I realized that I can scroll up on XenServer console, so I saw
that the asterisk said:

* Error: fopen(/lib64/rc/init.d/rc.log) failed: No such file or directory

Nothing serious though. I think it was because /lib64/rc/init.d got
overlaid by rc-svcdir during boot, so rc.log disappeared.

(Doing `mount -o bind / /mnt/rooot  ls /mnt/rooot/lib64/rc/init.d`
showed that rc.log existed in the non-overlaid /lib64/rc/init.d)

/dev/xvdb* (which was not created statically in the non-overlaid /dev) appeared.

/dev/xvdd appeared when I attached an ISO image to the VM.

mount /dev/xvdd /mnt/cd worked. I could `ls /mnt/cd` and see the
contents of the CD.

Ejecting the ISO image made /dev/xvdd disappear (as it should).

Networking is okay.

The Xen virtual console (hvc0) works okay.

`rc-update | grep dev` showed `udev-postmount` still part of default,
so I did `rc-update del udev-postmount default` and rebooted, and all
were still well (and still a glint of red asterisk).

Unmerging udev went well.

All in all, rebooting after switching to udev *seems* to be faster.

Rgds,
-- 
FdS Pandu E Poluan
~ IT Optimizer ~

 • LOPSA Member #15248
 • Blog : http://pepoluan.tumblr.com
 • Linked-In : http://id.linkedin.com/in/pepoluan



Re: [gentoo-user] Re: [OT] Binary install distro

2011-11-16 Thread Lars Madson
Coming from Gentoo, I'll recommend Arch Linux, a Gentoo with
binariespure sugar.

Laurent

2011/11/16 Dale rdalek1...@gmail.com

 Neil Bothwick wrote:

 On Wed, 16 Nov 2011 01:45:45 -0200, Érico Porto wrote:

  is it possible to install lightDM (ubuntu 11.10) in gentoo?

 It's in portage, so I suppose the answer has to be yes.

 PS please do not top-post.

 PPS Sorry for nicking your tagline Alan ;-)


 I sure did misread that one.  I'm not due for new glasses yet either.


 Dale

 :-)  :-)

 --
 I am only responsible for what I said ... Not for what you understood or
 how you interpreted my words!





Re: [gentoo-user] Anybody want to beta test Gentoo with mdev instead of udev?

2011-11-16 Thread Pandu Poluan
On Wed, Nov 16, 2011 at 07:52, Pandu Poluan pa...@poluan.info wrote:

 On Nov 16, 2011 3:21 AM, waltd...@waltdnes.org wrote:

  The more scenarios we can test, the better.  mdev might shave a second
  or two off the VM's bootup time, versus udev.


 Okay, I have two staging VMs on XenServer and one on VMware. I'm going to
 report back what happens. If anything bad happens, *should* be an easy
 rollback to the previous snapshot.


2nd Report: amd64-hardened on VMware, using VMware PVSCSI for hard
disk, but e1000 for network.

Booted okay, and similar to the report on XenServer. But this time. I
got 2 (two) red asterisks during boot. The 1st one seems to say Error
... read-only file system. The second starts with Warning temp file
left behind ... (or something similar)

`rc-update del udev-postmount default  reboot` ... no problem.

Unmerged udev  reboot ... no problem.


There. No problem with XenServer and/or VMware. Except for the 1 or 2
red asterisks during boot (which I'm not sure caused by udev--mdev
switch or something else).


I'll experiment with VirtualBox (on Windows) tomorrow. This might be
much more interesting :-)


Rgds,
-- 
FdS Pandu E Poluan
~ IT Optimizer ~

 • LOPSA Member #15248
 • Blog : http://pepoluan.tumblr.com
 • Linked-In : http://id.linkedin.com/in/pepoluan



Re: [gentoo-user] Re: Another hardware thread

2011-11-16 Thread Stefan G. Weichinger
Am 16.11.2011 11:09, schrieb Neil Bothwick:
 On Wed, 16 Nov 2011 10:56:39 +0100, Stefan G. Weichinger wrote:
 
 Very often one looks back a year after and regrets I should have
 chosen the bigger CPU, more RAM, whatever  I will decide the
 RAM-issue when I order.
 
 That's why I switched the money from RAM to CPU. If I want more RAM
 I can buy it later. Upgrading a CPU is not so cost-effective :(

good point, yes.

You only upgrade CPU and board now and re-use cooling etc ?




Re: [gentoo-user] Re: Another hardware thread

2011-11-16 Thread Neil Bothwick
On Wed, 16 Nov 2011 12:11:25 +0100, Stefan G. Weichinger wrote:

 You only upgrade CPU and board now and re-use cooling etc ?

Why not? The cooling I have is already more than my CPU needs and, most
importantly, is extremely quiet. The loudest noise on my PC is the hard
drive stepper motors.

I also have new hard drives, but I bought those a couple of weeks ago,
just before the prices went ballistic.


-- 
Neil Bothwick

Irritable? Who the bloody hell are you calling irritable?


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Another hardware thread

2011-11-16 Thread Stefan G. Weichinger
Am 2011-11-16 12:25, schrieb Neil Bothwick:
 On Wed, 16 Nov 2011 12:11:25 +0100, Stefan G. Weichinger wrote:
 
 You only upgrade CPU and board now and re-use cooling etc ?
 
 Why not? The cooling I have is already more than my CPU needs and, 
 most importantly, is extremely quiet. The loudest noise on my PC
 is the hard drive stepper motors.

my ssd died lately :-( *that* was quiet (turned down the hdds when not
needed)

 I also have new hard drives, but I bought those a couple of weeks 
 ago, just before the prices went ballistic.

Same here, 2x1TB are enough in my workstation, more stuff in the basement.

I just wonder which i7-2xxx to choose.

I read:

K processors do not support Intel TXT, Intel VT-d [3] and vPro.[4]

(
http://en.wikipedia.org/wiki/List_of_Intel_Core_i7_microprocessors#.22Sandy_Bridge.22_.2832_nm.29
)

For KVM I need VT-x ... OK, I assume VT-d is nice to have, but not needed?

I ask myself if I need the K-version at all, I don't want to overclock ...

-

Did you also consider the newer i7-2700k? Maybe too expensive because
it's so new. And I assume it's not that much faster.

Although I only assume that, I have to research it ...

Stefan



Re: [gentoo-user] Re: Upgrading gcc: both 4.4 and 4.5 needed?

2011-11-16 Thread Willie Wong
On Wed, Nov 16, 2011 at 03:29:27PM +0700, Pandu Poluan wrote:
  what does graphite add ?
 
 
 It makes gcc-4.5.3 use a newer method to detect parallelism, thus
 (potentially) makes programs compiled by gcc to have better multithreaded
 performance.

Now, why can't the USE descriptions be like the kernel option
descriptions and have something like what Pandu wrote included? 

W

-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Upgrading gcc: both 4.4 and 4.5 needed?

2011-11-16 Thread Alex Schuster
Jarry writes:

 On 15-Nov-11 20:36, Andrey Moshbear wrote:
 On Tue, Nov 15, 2011 at 13:58, Jarrymr.ja...@gmail.com  wrote:
 today I upgraded gcc from 4.4.5 to the last stable version
 But at the and I noticed gcc 4.4 has not been unmerged
 and my world file is somehow larger. To my surprise,
 it contains these lines:

 sys-devel/gcc
 sys-devel/gcc:4.4

 Because your forgot the -1 / --oneshot flag when manually upgrading gcc.
 
 Hm, I always thought --oneshot was not necessary when
 doing update. Even Gentoo GCC Upgrade Guide says just
 emerge -u gcc (or emerge -uav gcc in DE-version).
 The option --oneshot is used there only for libtool.
 
 And I'm pretty sure I've never used --oneshot when
 updating any packages, yet they have never been added
 to world-file...

Nope. Just try again with a small package, as I just did, emerge -u will
add it to the world file. This has not always been the case, but it has
been changed at least some years ago. I'm using the newest portage, but
I believe the stable portage works the same.

Wonko



Re: [gentoo-user] Re: Upgrading gcc: both 4.4 and 4.5 needed?

2011-11-16 Thread Albert W. Hopkins
On Wed, 2011-11-16 at 08:30 -0500, Willie Wong wrote:
 On Wed, Nov 16, 2011 at 03:29:27PM +0700, Pandu Poluan wrote:
   what does graphite add ?
  
  
  It makes gcc-4.5.3 use a newer method to detect parallelism, thus
  (potentially) makes programs compiled by gcc to have better multithreaded
  performance.
 
 Now, why can't the USE descriptions be like the kernel option
 descriptions and have something like what Pandu wrote included? 

$ equery u gcc
[ Legend : U - final flag setting for installation]
[: I - package is installed with flag ]
[ Colors : set, unset ]
 * Found these USE flags for sys-devel/gcc-4.5.3-r1:
 U I
 - - bootstrap : !!internal use only!! DO NOT SET THIS FLAG YOURSELF!,
used
 during original system bootstrapping [make stage2]
 - - build : !!internal use only!! DO NOT SET THIS FLAG YOURSELF!,
used for
 creating build images and the first half of
bootstrapping
 [make stage1]
 + + cxx   : Builds support for C++ (bindings, extra libraries, code
 generation, ...)
 - - doc   : Adds extra documentation (API, Javadoc, etc). It is
 recommended to enable per package instead of globally
 - - fortran   : Adds support for fortran (formerly f77)
 - - gcj   : Enable building with gcj (The GNU Compiler for the
Javatm
 Programming Language)
 - - graphite  : Add support for the framework for loop optimizations
based on
 a polyhedral intermediate representation
 - - gtk   : Adds support for x11-libs/gtk+ (The GIMP Toolkit)
 + + lto   : Add support for link-time optimizations (unsupported,
use at
 your own risk).
 - - mudflap   : Add support for mudflap, a pointer use checking library
 - - multislot : Allow for SLOTs to include minor version (3.3.4 instead
of
 just 3.3)
 - - nls   : Adds Native Language Support (using gettext - GNU
locale
 utilities)
 - - nocxx : Old flag -- USE=cxx from now on
 - - nopie : Disable PIE support (NOT FOR GENERAL USE)
 - - nossp : Disable SSP support (NOT FOR GENERAL USE)
 + + nptl  : Enable support for Native POSIX Threads Library, the
new
 threading module (requires linux-2.6 or better usually)
 - - objc  : Build support for the Objective C code language
 - - objc++: Build support for the Objective C++ language
 - - objc-gc   : Build support for the Objective C code language Garbage
 Collector
 - - openmp: Build support for the OpenMP (support parallel
computing),
 requires =sys-devel/gcc-4.2 built with USE=openmp
 - - test  : Workaround to pull in packages needed to run with
 FEATURES=test. Portage-2.1.2 handles this internally,
so don't
 set it in make.conf/package.use anymore
 - - vanilla   : Do not add extra patches which change default
behaviour; DO
 NOT USE THIS ON A GLOBAL SCALE as the severity of the
meaning
 changes drastically





Re: [gentoo-user] Re: Upgrading gcc: both 4.4 and 4.5 needed?

2011-11-16 Thread Pandu Poluan
On Nov 16, 2011 2:26 PM, Michael Mol mike...@gmail.com wrote:

 On Wed, Nov 16, 2011 at 2:11 AM, Stéphane Guedon steph...@22decembre.eu
wrote:
  On Wednesday 16 November 2011 02:07:12 Pandu Poluan wrote:
  And if you're adventurous, add USE graphite, reemerge gcc, and
reemerge
  world :)
 
  what does graphite add ?

 Thanks for reminding me; I meant to look it up when I got home.

 shortcircuit:1@serenity~
 Wed Nov 16 02:16 AM
 !501 #1 j0 ?0 $ euse -i graphite
 global use flags (searching: graphite)
 
 no matching entries found

 local use flags (searching: graphite)
 

 [snip]

 [-  ] graphite
sys-devel/gcc: Add support for the framework for loop optimizations
based on a polyhedral intermediate representation

 So, a new, experimental optimization model and framework inside your
 compiler. If it's specifically for optimizing on loops, I'll venture a
 guess it's going to be mostly effective for graphics libraries and
 apps. I've got some slightly riskier educated guesses on how it works
 and what some numeric side effects and consequences might be, but they
 scare me, so I think I'll leave it to someone who actually knows more
 about it...


I've been using USE graphite since gcc-4.5.3-r1 appeared. Upstream says
that graphite is stable, feature-complete, and production-ready since 4.5.3.

To fully taste the effect of graphite, I even went the torturous route of
emerging gcc + libtool + binutils (in that order) twice, followed by a
wholesale-rebuild of everything (emerge --emptytree), then tarballed the
result to my own stage3.1 tarball to spare me the *huge* amount of time
required.

I've deployed 3 systems with USE graphite, and they *felt* snappier.
emerge's *felt* slower, though. (no objective tests, I know).

I use Gentoo as a gatewall, and there I did a wholesale-rebuild one more
time, this time specifying CFLAGS -march=native... and I just couldn't be
happier with the resulting performance :-)

Rgds,

Rgds,


[gentoo-user] Re: Re: Another hardware thread

2011-11-16 Thread masterprometheus
Stefan G. Weichinger wrote:


 
 I ask myself if I need the K-version at all, I don't want to overclock 

No, if you're not going to overclock the K version is not needed. 

 
 Did you also consider the newer i7-2700k? Maybe too expensive because
 it's so new. And I assume it's not that much faster.
 
 Although I only assume that, I have to research it ...

The 2700K is nothing different than the 2600K. The only plus is a 100 MHz 
frequency boost. Not worth the extra $70 over a 2600/2600K. 




Re: [gentoo-user] Re: Re: Another hardware thread

2011-11-16 Thread Stefan G. Weichinger
Am 2011-11-16 16:22, schrieb masterprometheus:
 Stefan G. Weichinger wrote:
 
 
 
 I ask myself if I need the K-version at all, I don't want to
 overclock
 
 No, if you're not going to overclock the K version is not needed.

But as far as I read reviews online it is easy and rather safe to do so
w/ the matching motherboard. So why not ... go for it.

 Did you also consider the newer i7-2700k? Maybe too expensive
 because it's so new. And I assume it's not that much faster.
 
 Although I only assume that, I have to research it ...
 
 The 2700K is nothing different than the 2600K. The only plus is a 100
 MHz frequency boost. Not worth the extra $70 over a 2600/2600K.

Yep. So Intel noticed wow, we get a few of them which run stable even
at 100MHz more, let's sell them for some more money   ;-)

I will check prices here locally (Europe ...).

Stefan




Re: [gentoo-user] udev rules for an iPod Touch?

2011-11-16 Thread Mark Knecht
On Wed, Nov 16, 2011 at 1:21 AM, James Broadhead
jamesbroadh...@gmail.com wrote:
 On 16 November 2011 08:42, James Broadhead jamesbroadh...@gmail.com wrote:
 Your user should be in plugdev, with the mountpoiny rwx by plugdev. I have
 root:plugdev rwxrwxr-x.

 Oh, and run ifuse as the user, not as root :)



I'll look into both of those. Thanks.

I got the Kindle Fire yesterday (2 days earlier than they originally
told me.) As far as I'm concerned the device is almost brilliant. At
least 4.5 stars. It's Android based, pure USB and very accessible.
Just hooked it up to my Gentoo box, mounted it, found the Video
directory, downloaded some movies ripped in Handbrake and started
enjoying it. Took about 20 minutes from opening the box until it was
playing a movie.

Storage is a little small. 8GB internal, about 6.3GB available to me,
but for $199 I have to say that having a portable reader/movie player
that also gives you free video if you're an Amazon Prime member and
has apps for playing NetFlix Instant Watch and Hulu+ is really nice.
Personally I like the 7 screen format but the device does feel a
little heavy. Batteries lasted all day and through the evening.

- Mark



Re: [gentoo-user] Re: Re: Another hardware thread

2011-11-16 Thread Michael Mol
On Wed, Nov 16, 2011 at 10:46 AM, Stefan G. Weichinger li...@xunil.at wrote:
 Am 2011-11-16 16:22, schrieb masterprometheus:
 The 2700K is nothing different than the 2600K. The only plus is a 100
 MHz frequency boost. Not worth the extra $70 over a 2600/2600K.

 Yep. So Intel noticed wow, we get a few of them which run stable even
 at 100MHz more, let's sell them for some more money   ;-)

More likely, it's to avoid criticism for missing a regular incremental
release schedule. This is as good as we got. Ship it.

It sounds like they're hitting the limits of their process again:

http://hardocp.com/article/2011/11/14/intel_core_i73960x_sandy_bridge_e_processor_review

-- 
:wq



[gentoo-user] Re: Re: Re: Another hardware thread

2011-11-16 Thread masterprometheus
Stefan G. Weichinger wrote:

 Am 2011-11-16 16:22, schrieb masterprometheus:
 Stefan G. Weichinger wrote:
 
 
 
 I ask myself if I need the K-version at all, I don't want to
 overclock
 
 No, if you're not going to overclock the K version is not needed.
 
 But as far as I read reviews online it is easy and rather safe to do so
 w/ the matching motherboard. So why not ... go for it.

Oh I would definitly do that (overclock it I mean). But if there isn't 
someone with the same name, you've said : 

I ask myself if I need the K-version at all, I don't want to overclock 
 ...

Change of heart ? Understandable as these CPUs are easy to overclock. If 
you don't need the hyperthreading just get the 2500K and a good HSF. You 
can easily run it @4.5GHz 7/24 and safely. 

 
 Did you also consider the newer i7-2700k? Maybe too expensive
 because it's so new. And I assume it's not that much faster.
 
 Although I only assume that, I have to research it ...
 
 The 2700K is nothing different than the 2600K. The only plus is a 100
 MHz frequency boost. Not worth the extra $70 over a 2600/2600K.
 
 Yep. So Intel noticed wow, we get a few of them which run stable even
 at 100MHz more, let's sell them for some more money   ;-)

True but Intel's MSRP was just $10-15 more than a 2600K. Vendors decided 
to up the price a bit. Not uncommon with new products.





[gentoo-user] sdhc card on eeepc701 running gentoo

2011-11-16 Thread Érico Porto
Hello,

I'm having lots of hardware error current when trying to use a sdhc card
(transcend 16GB) on my eeepc701. I have never used any card on gentoo
before, but I have used with success previously in Ubuntu.

Is there some know bug?

Also, only sometimes I get a device at /dev/sdb and couldn't get any
/dev/sdb1 to show, but I do see it using fdisk /dev/sdb and them pressing p.

Érico V. Porto


Re: [gentoo-user] Re: Re: Another hardware thread

2011-11-16 Thread Stefan G. Weichinger
Am 16.11.2011 17:00, schrieb Michael Mol:
 On Wed, Nov 16, 2011 at 10:46 AM, Stefan G. Weichinger li...@xunil.at wrote:
 Am 2011-11-16 16:22, schrieb masterprometheus:
 The 2700K is nothing different than the 2600K. The only plus is a 100
 MHz frequency boost. Not worth the extra $70 over a 2600/2600K.

 Yep. So Intel noticed wow, we get a few of them which run stable even
 at 100MHz more, let's sell them for some more money   ;-)
 
 More likely, it's to avoid criticism for missing a regular incremental
 release schedule. This is as good as we got. Ship it.
 
 It sounds like they're hitting the limits of their process again:
 
 http://hardocp.com/article/2011/11/14/intel_core_i73960x_sandy_bridge_e_processor_review

interesting, thanks




Re: [gentoo-user] Re: Re: Re: Another hardware thread

2011-11-16 Thread Stefan G. Weichinger
Am 16.11.2011 19:05, schrieb masterprometheus:

 Oh I would definitly do that (overclock it I mean). But if there
 isn't someone with the same name, you've said :
 
 I ask myself if I need the K-version at all, I don't want to
 overclock ...
 
 Change of heart ? Understandable as these CPUs are easy to overclock.

Yes, I know. I meant before: I don't want to overclock if it's risky
and unstable ... :-)

 If you don't need the hyperthreading just get the 2500K and a good
 HSF. You can easily run it @4.5GHz 7/24 and safely.

phew, that sounds fast, yes 

I assume the HT will do something to compiling stuff (read:
gentoo-emerging everyday)?

 Yep. So Intel noticed wow, we get a few of them which run stable
 even at 100MHz more, let's sell them for some more money   ;-)
 
 True but Intel's MSRP was just $10-15 more than a 2600K. Vendors
 decided to up the price a bit. Not uncommon with new products.

I'd be ready to just spend a little more and get the faster CPU as I
change my work-pcs only every few years. I still use a C2D E6600 for
everyday purposes ... but maybe I just go for the 2600k, it will be more
than enough to make things fly in comparison.

Stefan




Re: [gentoo-user] sdhc card on eeepc701 running gentoo

2011-11-16 Thread Michael Mol
On Wed, Nov 16, 2011 at 1:32 PM, Érico Porto ericoporto2...@gmail.com wrote:
 Hello,

 I'm having lots of hardware error current when trying to use a sdhc card
 (transcend 16GB) on my eeepc701. I have never used any card on gentoo
 before, but I have used with success previously in Ubuntu.

 Is there some know bug?

 Also, only sometimes I get a device at /dev/sdb and couldn't get any
 /dev/sdb1 to show, but I do see it using fdisk /dev/sdb and them pressing p.

 Érico V. Porto


Could be a dying card. Try imaging it on another machine?


-- 
:wq



Re: [gentoo-user] Re: Re: Re: Another hardware thread

2011-11-16 Thread Neil Bothwick
On Wed, 16 Nov 2011 20:05:55 +0200, masterprometheus wrote:

  Yep. So Intel noticed wow, we get a few of them which run stable even
  at 100MHz more, let's sell them for some more money   ;-)  
 
 True but Intel's MSRP was just $10-15 more than a 2600K. Vendors
 decided to up the price a bit. Not uncommon with new products.

That makes sense, if the old version is only a tenner less than the new
one, no one would buy it, so they get discounted. Last month's latest and
greatest often gives the best value.


-- 
Neil Bothwick

What Aussies lack in Humour they make up for in Beer!


signature.asc
Description: PGP signature


Re: [gentoo-user] Upgrading gcc: both 4.4 and 4.5 needed?

2011-11-16 Thread Dale

Alex Schuster wrote:

Jarry writes:


On 15-Nov-11 20:36, Andrey Moshbear wrote:

On Tue, Nov 15, 2011 at 13:58, Jarrymr.ja...@gmail.com   wrote:

today I upgraded gcc from 4.4.5 to the last stable version
But at the and I noticed gcc 4.4 has not been unmerged
and my world file is somehow larger. To my surprise,
it contains these lines:

sys-devel/gcc
sys-devel/gcc:4.4

Because your forgot the -1 / --oneshot flag when manually upgrading gcc.

Hm, I always thought --oneshot was not necessary when
doing update. Even Gentoo GCC Upgrade Guide says just
emerge -u gcc (or emerge -uav gcc in DE-version).
The option --oneshot is used there only for libtool.

And I'm pretty sure I've never used --oneshot when
updating any packages, yet they have never been added
to world-file...

Nope. Just try again with a small package, as I just did, emerge -u will
add it to the world file. This has not always been the case, but it has
been changed at least some years ago. I'm using the newest portage, but
I believe the stable portage works the same.

Wonko





I tested this and it does add it to the world file.

root@fireball / # emerge -uv kwrite

These are the packages that would be merged, in order:

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 kB

 * kde-base/kwrite

 Recording kde-base/kwrite in world favorites file...
 Jobs: 0 of 0 complete   Load avg: 0.76, 
0.39, 0.30

 Auto-cleaning packages...

 No outdated packages were found on your system.
root@fireball / #

Then this:

root@fireball / # cat /var/lib/portage/world | grep kwrite
kde-base/kwrite
root@fireball / #

Is this a bug?  Just because you update a package doesn't mean you want 
it in the world file.


Maybe a I need to set --oneshot in make.conf and just use -n when I 
really want something in the world file.


Dale

:-)  :-)

--
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] Upgrading gcc: both 4.4 and 4.5 needed?

2011-11-16 Thread Mark Knecht
On Wed, Nov 16, 2011 at 11:26 AM, Dale rdalek1...@gmail.com wrote:
SNIP

 root@fireball / # cat /var/lib/portage/world | grep kwrite
 kde-base/kwrite
 root@fireball / #

 Is this a bug?  Just because you update a package doesn't mean you want it
 in the world file.

 Maybe a I need to set --oneshot in make.conf and just use -n when I really
 want something in the world file.

You must use --oneshot or -1 to stop it from doing that.

HTH,
Mark



Re: [gentoo-user] sdhc card on eeepc701 running gentoo

2011-11-16 Thread Paul Hartman
On Wed, Nov 16, 2011 at 12:32 PM, Érico Porto ericoporto2...@gmail.com wrote:
 Hello,

 I'm having lots of hardware error current when trying to use a sdhc card
 (transcend 16GB) on my eeepc701. I have never used any card on gentoo
 before, but I have used with success previously in Ubuntu.

 Is there some know bug?

 Also, only sometimes I get a device at /dev/sdb and couldn't get any
 /dev/sdb1 to show, but I do see it using fdisk /dev/sdb and them pressing p.

I have a USB card reader that only worked if I issued hdparm -z
/dev/sdX, for some reason the device only worked after the second
time it was initialized. I don't know if you're using USB or MMC
interface for your card reader but maybe you can try it.

I have another device that used the MMC driver, it didn't work
properly with fast cards (above class 4) -- massive corruption every
time -- the fix was to hardcode the DTO value of 0xA in the mmc
driver (instead of dynamic calculation), after that it worked fine...



[gentoo-user] trouble installing help2man on new gentoo box

2011-11-16 Thread Allan Gottlieb
I am reinstalling gentoo on a Dell inspiron 6400 laptop
I am (again) using lvm2.

I just built the kernel and then (following the lvm2 guide) tried

emerge lvm2

This required a build of help2man, which failed with

 Configuring source in 
 /mnt/var/tmp/portage/sys-apps/help2man-1.38.2/work/help2man-1.38.2 ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu 
--host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info 
--datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib 
--libdir=/usr/lib64 --enable-nls
checking for perl... perl
checking for module Locale::gettext... yes
checking for msgfmt... /usr/bin/msgfmt
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for library containing dlsym... no
checking for library containing bindtextdomain... none required
configure: error: dlsym() required

!!! Please attach the following file when seeking support:
!!! 
/mnt/var/tmp/portage/sys-apps/help2man-1.38.2/work/help2man-1.38.2/config.log


config.log is below.

Any help would be appreciated.
thanks,
allan

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.65.  Invocation command line was

  $ ./configure --prefix=/usr --build=x86_64-pc-linux-gnu 
--host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info 
--datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib 
--libdir=/usr/lib64 --enable-nls

## - ##
## Platform. ##
## - ##

hostname = livecd
uname -m = x86_64
uname -r = 3.0.6-gentoo
uname -s = Linux
uname -v = #1 SMP Thu Nov 3 12:50:42 UTC 2011

/usr/bin/uname -p = Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
/bin/uname -X = unknown

/bin/arch  = unknown
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo  = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /usr/lib64/portage/bin/ebuild-helpers
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /opt/bin
PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3


## --- ##
## Core tests. ##
## --- ##

configure:1761: checking for perl
configure:1766: ...version 5.008 required
configure:1775: trying perl
found version 5.012
configure:1784: result: perl
configure:1794: checking for module Locale::gettext
configure:1806: result: yes
configure:1811: checking for msgfmt
configure:1829: found /usr/bin/msgfmt
configure:1841: result: /usr/bin/msgfmt
configure:1858: checking for x86_64-pc-linux-gnu-gcc
configure:1874: found /usr/bin/x86_64-pc-linux-gnu-gcc
configure:1885: result: x86_64-pc-linux-gnu-gcc
configure:2154: checking for C compiler version
configure:2163: x86_64-pc-linux-gnu-gcc --version 5
x86_64-pc-linux-gnu-gcc (Gentoo 4.5.3-r1 p1.0, pie-0.4.5) 4.5.3
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2174: $? = 0
configure:2163: x86_64-pc-linux-gnu-gcc -v 5
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3/x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/mnt/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3/../../../libexec/gcc/x86_64-pc-linux-gnu/4.5.3/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: 
/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/configure --prefix=/usr 
--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3 
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include 
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3 
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/man 
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/info 
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/g++-v4 
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec 
--disable-fixed-point --without-ppl --without-cloog --disable-lto --enable-nls 
--without-included-gettext --with-system-zlib --disable-werror 
--enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp 
--enable-libgomp 
--with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/python 
--enable-checking=release --disable-libgcj --enable-languages=c,c++,fortran 
--enable-shared --enable-threads=posix --enable-__cxa_atexit 
--enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ 
--with-pkgversion='Gentoo 4.5.3-r1 p1.0, pie-0.4.5'
Thread 

Re: [gentoo-user] Re: Re: Re: Another hardware thread

2011-11-16 Thread Stefan G. Weichinger
Am 16.11.2011 20:23, schrieb Neil Bothwick:

 True but Intel's MSRP was just $10-15 more than a 2600K. Vendors 
 decided to up the price a bit. Not uncommon with new products.
 
 That makes sense, if the old version is only a tenner less than the
 new one, no one would buy it, so they get discounted. Last month's
 latest and greatest often gives the best value.

correct. That sums up what I experienced as well back then w/ core2duo
etc.

When I look up the difference between i7-2600k and i7-2700k at that
one shop w/ the online configurator, it is right now ~29 EUR, taxes
included.

I think i7-2600k is the sweet spot right now.

What board did you choose?



Re: [gentoo-user] sdhc card on eeepc701 running gentoo

2011-11-16 Thread Érico Porto
it is a 16GB class 10 Transcend, but the eeepc uses a usb card reader
inside of it - no mmc I think.

Actually, the first thing I tried to do with it was to format to ext2, and
then the formating proccess frozed in the middle of it.. I've tried to load
it in a windows pc after but couldn't read, and when I tried to format,
everything frozed - but it was a public computer, so I don't know if it
ever had a working card reader.

I've booted ubuntu in the eeepc now, and the card is shown in /dev/sdc1,
but I can't edit it using disk utility - it gives me error calling
fsync(2), on:/dev/sdc: input/output error. But on ubuntu I don't see no
dmesg error msgs like the ones I see on gentoo just by plugin it on the
port.

Is there any disk error checking utility in gentoo or ubuntu?


Érico V. Porto


On Wed, Nov 16, 2011 at 6:03 PM, Paul Hartman paul.hartman+gen...@gmail.com
 wrote:

 On Wed, Nov 16, 2011 at 12:32 PM, Érico Porto ericoporto2...@gmail.com
 wrote:
  Hello,
 
  I'm having lots of hardware error current when trying to use a sdhc card
  (transcend 16GB) on my eeepc701. I have never used any card on gentoo
  before, but I have used with success previously in Ubuntu.
 
  Is there some know bug?
 
  Also, only sometimes I get a device at /dev/sdb and couldn't get any
  /dev/sdb1 to show, but I do see it using fdisk /dev/sdb and them
 pressing p.

 I have a USB card reader that only worked if I issued hdparm -z
 /dev/sdX, for some reason the device only worked after the second
 time it was initialized. I don't know if you're using USB or MMC
 interface for your card reader but maybe you can try it.

 I have another device that used the MMC driver, it didn't work
 properly with fast cards (above class 4) -- massive corruption every
 time -- the fix was to hardcode the DTO value of 0xA in the mmc
 driver (instead of dynamic calculation), after that it worked fine...




Re: [gentoo-user] sdhc card on eeepc701 running gentoo

2011-11-16 Thread Dale

Érico Porto wrote:
it is a 16GB class 10 Transcend, but the eeepc uses a usb card reader 
inside of it - no mmc I think.


Actually, the first thing I tried to do with it was to format to ext2, 
and then the formating proccess frozed in the middle of it.. I've 
tried to load it in a windows pc after but couldn't read, and when I 
tried to format, everything frozed - but it was a public computer, so 
I don't know if it ever had a working card reader.


I've booted ubuntu in the eeepc now, and the card is shown in 
/dev/sdc1, but I can't edit it using disk utility - it gives me error 
calling fsync(2), on:/dev/sdc: input/output error. But on ubuntu I 
don't see no dmesg error msgs like the ones I see on gentoo just by 
plugin it on the port.


Is there any disk error checking utility in gentoo or ubuntu?


Érico V. Porto




This may help.  smartmontools  I'm not sure what sort of testing can be 
done on those if any.


Dale

:-)  :-)


--
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] trouble installing help2man on new gentoo box--Solved: too fancy with symlinks/mounts

2011-11-16 Thread Allan Gottlieb
On Wed, Nov 16 2011, Allan Gottlieb wrote:

 I am reinstalling gentoo on a Dell inspiron 6400 laptop
 I am (again) using lvm2.

 I just built the kernel and then (following the lvm2 guide) tried

 emerge lvm2

 This required a build of help2man, which failed with

 Configuring source in 
 /mnt/var/tmp/portage/sys-apps/help2man-1.38.2/work/help2man-1.38.2 ...
 ./configure --prefix=/usr --build=x86_64-pc-linux-gnu 
 --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info 
 --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib 
 --libdir=/usr/lib64 --enable-nls
 checking for perl... perl
 checking for module Locale::gettext... yes
 checking for msgfmt... /usr/bin/msgfmt
 checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
 checking whether the C compiler works... yes
 checking for C compiler default output file name... a.out
 checking for suffix of executables... 
 checking whether we are cross compiling... no
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
 checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
 checking for library containing dlsym... no
 checking for library containing bindtextdomain... none required
 configure: error: dlsym() required

 !!! Please attach the following file when seeking support:
 !!! 
 /mnt/var/tmp/portage/sys-apps/help2man-1.38.2/work/help2man-1.38.2/config.log

I thought that instead of mounting /dev/vg/usr on /usr
I would mount it at /mnt/usr and have /usr a symlink to /mnt/usr

(Similarly for opt et al)

This worked for a while but
/usr/lib/libdl.so is a symlink to ../../lib64/libdl.so.2
and the symlink uses physical not logical interpretation of ..

Hence /usr/lib/../..  is /mnt instead of /

oops.

allan



Re: [gentoo-user] trouble installing help2man on new gentoo box--Solved: too fancy with symlinks/mounts

2011-11-16 Thread Michael Mol
Rebind mount?
On Nov 16, 2011 5:45 PM, Allan Gottlieb gottl...@nyu.edu wrote:

 On Wed, Nov 16 2011, Allan Gottlieb wrote:

  I am reinstalling gentoo on a Dell inspiron 6400 laptop
  I am (again) using lvm2.
 
  I just built the kernel and then (following the lvm2 guide) tried
 
  emerge lvm2
 
  This required a build of help2man, which failed with
 
  Configuring source in
 /mnt/var/tmp/portage/sys-apps/help2man-1.38.2/work/help2man-1.38.2 ...
  ./configure --prefix=/usr --build=x86_64-pc-linux-gnu
 --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
 --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
 --localstatedir=/var/lib --libdir=/usr/lib64 --enable-nls
  checking for perl... perl
  checking for module Locale::gettext... yes
  checking for msgfmt... /usr/bin/msgfmt
  checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
  checking whether the C compiler works... yes
  checking for C compiler default output file name... a.out
  checking for suffix of executables...
  checking whether we are cross compiling... no
  checking for suffix of object files... o
  checking whether we are using the GNU C compiler... yes
  checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
  checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none
 needed
  checking for library containing dlsym... no
  checking for library containing bindtextdomain... none required
  configure: error: dlsym() required
 
  !!! Please attach the following file when seeking support:
  !!!
 /mnt/var/tmp/portage/sys-apps/help2man-1.38.2/work/help2man-1.38.2/config.log

 I thought that instead of mounting /dev/vg/usr on /usr
 I would mount it at /mnt/usr and have /usr a symlink to /mnt/usr

 (Similarly for opt et al)

 This worked for a while but
 /usr/lib/libdl.so is a symlink to ../../lib64/libdl.so.2
 and the symlink uses physical not logical interpretation of ..

 Hence /usr/lib/../..  is /mnt instead of /

 oops.

 allan




Re: CRTs and EDID (was: Re: [gentoo-user] Anybody want to beta test Gentoo with mdev instead of udev?

2011-11-16 Thread waltdnes
On Tue, Nov 15, 2011 at 09:53:47AM -0500, Michael Mol wrote

 Just an FYI, EDID blocks have been part of CRT tech since the mid to
 late 90s; it's the basis of plug  play monitors.
 
 IIRC, the EDID block is transported via DDC, which is essentially I2C
 implemented on top of your VGA cable. I've got three EDID-supporting,
 19 1600x1200 CRTs staring me in the face right now.
 
 https://plus.google.com/108080062547354628132/posts/ZLLw66eL4We

  Maybe X has learned how to read them without udev's help.  The xorg
logfile shows the EDID block, max/min horizontal/vertical scan rates,
supported modes, etc.

-- 
Walter Dnes waltd...@waltdnes.org



Re: CRTs and EDID (was: Re: [gentoo-user] Anybody want to beta test Gentoo with mdev instead of udev?

2011-11-16 Thread Michael Mol
On 11/16/2011 06:20 PM, waltd...@waltdnes.org wrote:
 On Tue, Nov 15, 2011 at 09:53:47AM -0500, Michael Mol wrote

 Just an FYI, EDID blocks have been part of CRT tech since the mid to
 late 90s; it's the basis of plug  play monitors.

 IIRC, the EDID block is transported via DDC, which is essentially I2C
 implemented on top of your VGA cable. I've got three EDID-supporting,
 19 1600x1200 CRTs staring me in the face right now.

 https://plus.google.com/108080062547354628132/posts/ZLLw66eL4We
   Maybe X has learned how to read them without udev's help.  The xorg
 logfile shows the EDID block, max/min horizontal/vertical scan rates,
 supported modes, etc.

Xorg's been around since 2004, and udev since 2003, so it's possible
that it's depended on udev for displays.

It seems unlikely, though; I remember XFree86 4.x having EDID support,
just prior to people migrating over to Xorg. It was a royal pain,
actually; my Thinkpad 760XL's LVDA (I think it was LVDA. It wasn't a
common laptop video connection yet) display didn't support EDID, and I
never did manage to get any version of XFree86 newer than 3.3.6 working
on it.

Point is, Xorg autoconfiguration has worked find for *most* setups for
almost a decade. At the very least, it's worked fine since the first
graphical Knoppix and Ubuntu live CDs.



Re: [gentoo-user] sdhc card on eeepc701 running gentoo

2011-11-16 Thread Érico Porto
hdparm -i /dev/sdb gives me
SG_IO: bad/missing sense data sb[]: 70 00 05 00 00 00 00 10 00 00 00 00 24
00 (00..
HDIO_GET_IDENDITY failed: Invalid argument

I think I will try to use my warranty...

Érico V. Porto


On Wed, Nov 16, 2011 at 8:28 PM, Dale rdalek1...@gmail.com wrote:

 Érico Porto wrote:

 it is a 16GB class 10 Transcend, but the eeepc uses a usb card reader
 inside of it - no mmc I think.

 Actually, the first thing I tried to do with it was to format to ext2,
 and then the formating proccess frozed in the middle of it.. I've tried to
 load it in a windows pc after but couldn't read, and when I tried to
 format, everything frozed - but it was a public computer, so I don't know
 if it ever had a working card reader.

 I've booted ubuntu in the eeepc now, and the card is shown in /dev/sdc1,
 but I can't edit it using disk utility - it gives me error calling
 fsync(2), on:/dev/sdc: input/output error. But on ubuntu I don't see no
 dmesg error msgs like the ones I see on gentoo just by plugin it on the
 port.

 Is there any disk error checking utility in gentoo or ubuntu?


 Érico V. Porto



 This may help.  smartmontools  I'm not sure what sort of testing can be
 done on those if any.

 Dale

 :-)  :-)


 --
 I am only responsible for what I said ... Not for what you understood or
 how you interpreted my words!





Re: [gentoo-user] sdhc card on eeepc701 running gentoo

2011-11-16 Thread Érico Porto
one thing I don't get is why I can see /dev/sdb1 when I type fdisk and
press p, but that isn't listed when I type ls /dev/sd*

Érico V. Porto


On Wed, Nov 16, 2011 at 10:09 PM, Érico Porto ericoporto2...@gmail.comwrote:

 hdparm -i /dev/sdb gives me
 SG_IO: bad/missing sense data sb[]: 70 00 05 00 00 00 00 10 00 00 00 00 24
 00 (00..
 HDIO_GET_IDENDITY failed: Invalid argument

 I think I will try to use my warranty...

 Érico V. Porto



 On Wed, Nov 16, 2011 at 8:28 PM, Dale rdalek1...@gmail.com wrote:

 Érico Porto wrote:

 it is a 16GB class 10 Transcend, but the eeepc uses a usb card reader
 inside of it - no mmc I think.

 Actually, the first thing I tried to do with it was to format to ext2,
 and then the formating proccess frozed in the middle of it.. I've tried to
 load it in a windows pc after but couldn't read, and when I tried to
 format, everything frozed - but it was a public computer, so I don't know
 if it ever had a working card reader.

 I've booted ubuntu in the eeepc now, and the card is shown in /dev/sdc1,
 but I can't edit it using disk utility - it gives me error calling
 fsync(2), on:/dev/sdc: input/output error. But on ubuntu I don't see no
 dmesg error msgs like the ones I see on gentoo just by plugin it on the
 port.

 Is there any disk error checking utility in gentoo or ubuntu?


 Érico V. Porto



 This may help.  smartmontools  I'm not sure what sort of testing can be
 done on those if any.

 Dale

 :-)  :-)


 --
 I am only responsible for what I said ... Not for what you understood or
 how you interpreted my words!






Re: [gentoo-user] sdhc card on eeepc701 running gentoo

2011-11-16 Thread Érico Porto
one thing I noted, is that I'm having buffer i/o error on logical block
3939582. Is it possible to at least use the position before this?

Érico V. Porto


On Wed, Nov 16, 2011 at 10:40 PM, Érico Porto ericoporto2...@gmail.comwrote:

 one thing I don't get is why I can see /dev/sdb1 when I type fdisk and
 press p, but that isn't listed when I type ls /dev/sd*

 Érico V. Porto



 On Wed, Nov 16, 2011 at 10:09 PM, Érico Porto ericoporto2...@gmail.comwrote:

 hdparm -i /dev/sdb gives me
 SG_IO: bad/missing sense data sb[]: 70 00 05 00 00 00 00 10 00 00 00 00
 24 00 (00..
 HDIO_GET_IDENDITY failed: Invalid argument

 I think I will try to use my warranty...

 Érico V. Porto



 On Wed, Nov 16, 2011 at 8:28 PM, Dale rdalek1...@gmail.com wrote:

 Érico Porto wrote:

 it is a 16GB class 10 Transcend, but the eeepc uses a usb card reader
 inside of it - no mmc I think.

 Actually, the first thing I tried to do with it was to format to ext2,
 and then the formating proccess frozed in the middle of it.. I've tried to
 load it in a windows pc after but couldn't read, and when I tried to
 format, everything frozed - but it was a public computer, so I don't know
 if it ever had a working card reader.

 I've booted ubuntu in the eeepc now, and the card is shown in
 /dev/sdc1, but I can't edit it using disk utility - it gives me error
 calling fsync(2), on:/dev/sdc: input/output error. But on ubuntu I don't
 see no dmesg error msgs like the ones I see on gentoo just by plugin it on
 the port.

 Is there any disk error checking utility in gentoo or ubuntu?


 Érico V. Porto



 This may help.  smartmontools  I'm not sure what sort of testing can be
 done on those if any.

 Dale

 :-)  :-)


 --
 I am only responsible for what I said ... Not for what you understood or
 how you interpreted my words!







Re: [gentoo-user] sdhc card on eeepc701 running gentoo

2011-11-16 Thread Dale

Érico Porto wrote:
one thing I noted, is that I'm having buffer i/o error on logical 
block 3939582. Is it possible to at least use the position before this?


Érico V. Porto



I had sort of the same problem with a hard drive a few weeks ago.  I got 
the data off and a day or so later, it died.  If it was me, I wouldn't 
trust it with any data where there is no copies somewhere else.  It has 
problems, I would replace it.  Since it is under warranty, just get them 
to replace it.  Maybe the new one will be better.


Dale

:-)  :-)

--
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] Re: Re: Re: Another hardware thread

2011-11-16 Thread Neil Bothwick
On Wed, 16 Nov 2011 22:33:24 +0100, Stefan G. Weichinger wrote:

 I think i7-2600k is the sweet spot right now.

It's working nicely for me. I can't believe the difference in compile
times, it's almost like using a binary distro.
 
 What board did you choose?
 

Gigabyte Z68X-UD3H-B3

It seemed the best of the available offerings at a reasonable price.


-- 
Neil Bothwick

There is absolutely no substitute for a genuine lack of preparation.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Re: Re: Another hardware thread

2011-11-16 Thread Mark Knecht
On Wed, Nov 16, 2011 at 5:27 PM, Neil Bothwick n...@digimed.co.uk wrote:
 On Wed, 16 Nov 2011 22:33:24 +0100, Stefan G. Weichinger wrote:

 I think i7-2600k is the sweet spot right now.

 It's working nicely for me. I can't believe the difference in compile
 times, it's almost like using a binary distro.

 What board did you choose?


 Gigabyte Z68X-UD3H-B3

 It seemed the best of the available offerings at a reasonable price.


 --
 Neil Bothwick

Who's gonna be the first to buy an Intel Knight's Corner machine? 50+ cores...

- Mark



Re: [gentoo-user] trouble installing help2man on new gentoo box--Solved: too fancy with symlinks/mounts

2011-11-16 Thread Allan Gottlieb
On Wed, Nov 16 2011, Michael Mol wrote:

 Rebind mount?

I was thinking of reading the details of bind mounting, but decided I
spent/wasted enough time trying to have a clean system with all
mounting at /mnt.  If your suggestion meant that usr would be mounted at
both / and /mnt, I don't see that as any cleaner than having it just at /.

If the purpose was to document all the mounts by having them at /mnt,
I could do that with a symlink

ln -s /usr /mnt/usr

I still feel it is somehow cleaner to have all mount points be
in /mnt, but am cutting my losses.

thanks for the suggestion.
allan

 On Nov 16, 2011 5:45 PM, Allan Gottlieb gottl...@nyu.edu wrote:

 On Wed, Nov 16 2011, Allan Gottlieb wrote:

  I am reinstalling gentoo on a Dell inspiron 6400 laptop
  I am (again) using lvm2.
 
  I just built the kernel and then (following the lvm2 guide) tried
 
  emerge lvm2
 
  This required a build of help2man, which failed with
 
  Configuring source in
 /mnt/var/tmp/portage/sys-apps/help2man-1.38.2/work/help2man-1.38.2 ...
  ./configure --prefix=/usr --build=x86_64-pc-linux-gnu
 --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
 --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
 --localstatedir=/var/lib --libdir=/usr/lib64 --enable-nls
  checking for perl... perl
  checking for module Locale::gettext... yes
  checking for msgfmt... /usr/bin/msgfmt
  checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
  checking whether the C compiler works... yes
  checking for C compiler default output file name... a.out
  checking for suffix of executables...
  checking whether we are cross compiling... no
  checking for suffix of object files... o
  checking whether we are using the GNU C compiler... yes
  checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
  checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none
 needed
  checking for library containing dlsym... no
  checking for library containing bindtextdomain... none required
  configure: error: dlsym() required
 
  !!! Please attach the following file when seeking support:
  !!!
 /mnt/var/tmp/portage/sys-apps/help2man-1.38.2/work/help2man-1.38.2/config.log

 I thought that instead of mounting /dev/vg/usr on /usr
 I would mount it at /mnt/usr and have /usr a symlink to /mnt/usr

 (Similarly for opt et al)

 This worked for a while but
 /usr/lib/libdl.so is a symlink to ../../lib64/libdl.so.2
 and the symlink uses physical not logical interpretation of ..

 Hence /usr/lib/../..  is /mnt instead of /

 oops.

 allan





[gentoo-user] LVM and LABELS in fstab

2011-11-16 Thread Dale
OK.  I jumped into LVM.  I took my spare drive, put it to use with LVM.  
Then copied data from my super large drive to it and backed up some to 
DVDs that wouldn't fit.  Then I put the big drive on LVM and put the 
stuff back.  Now comes the problem.  I use LABELS in fstab and would 
like to continue that.  I can't figure out how to get the LABEL set for 
the LVM file system tho.  This is my info:


root@fireball / # pvdisplay
  --- Physical volume ---
  PV Name   /dev/sdb1
  VG Name   data
  PV Size   232.83 GiB / not usable 2.55 MiB
  Allocatable   yes (but full)
  PE Size   4.00 MiB
  Total PE  59604
  Free PE   0
  Allocated PE  59604
  PV UUID   Nxvrjn-BuaK-RGsF-F32S-0EaI-W4xe-H6Lnjl

  --- Physical volume ---
  PV Name   /dev/sdc1
  VG Name   data
  PV Size   698.64 GiB / not usable 4.84 MiB
  Allocatable   yes
  PE Size   4.00 MiB
  Total PE  178850
  Free PE   118
  Allocated PE  178732
  PV UUID   NF6I4G-L1L5-0VDE-HyUc-ESH3-CfV3-eUo676

root@fireball / # vgdisplay
  --- Volume group ---
  VG Name   data
  System ID
  Formatlvm2
  Metadata Areas2
  Metadata Sequence No  4
  VG Access read/write
  VG Status resizable
  MAX LV0
  Cur LV1
  Open LV   1
  Max PV0
  Cur PV2
  Act PV2
  VG Size   931.46 GiB
  PE Size   4.00 MiB
  Total PE  238454
  Alloc PE / Size   238336 / 931.00 GiB
  Free  PE / Size   118 / 472.00 MiB
  VG UUID   eNF7B0-3BDb-qe1W-5FTH-4Uah-wRe1-xD7Xa8

root@fireball / # lvdisplay
  --- Logical volume ---
  LV Name/dev/data/data1
  VG Namedata
  LV UUIDZvsgH6-PI0M-NqVd-op9P-Crsy-IEnz-iKoTfp
  LV Write Accessread/write
  LV Status  available
  # open 1
  LV Size931.00 GiB
  Current LE 238336
  Segments   2
  Allocation inherit
  Read ahead sectors auto
  - currently set to 256
  Block device   254:0

root@fireball / #


I tried e2label since it has ext4 for the file system.  It didn't work 
and I don't know for sure what to point it to for the device.  I can't 
point to the drive itself since there are now two in the setup.


What am I missing here?  It's simple I'm sure but I'm missing it.

Dale

:-)  :-)

P. S.  hey, I got it all created, copied and all so it was a start. lol

--
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] sdhc card on eeepc701 running gentoo

2011-11-16 Thread fenlo
Hello,

I would guess  the internal reader don't work properly for such modern cards.
Especially for the 701 there exist some reports about similar problems.
You may try on another (external) sd-card-reader which is specified for class 
10  cards.

Steffen.

 
Am 16.11.2011 19:32, schrieb Érico Porto:
 Hello,

 I'm having lots of hardware error current when trying to use a sdhc card
 (transcend 16GB) on my eeepc701. I have never used any card on gentoo
 before, but I have used with success previously in Ubuntu.

 Is there some know bug?

 Also, only sometimes I get a device at /dev/sdb and couldn't get any
 /dev/sdb1 to show, but I do see it using fdisk /dev/sdb and them pressing p.

 Érico V. Porto




Re: [gentoo-user] LVM and LABELS in fstab

2011-11-16 Thread Manuel McLure
On Wed, Nov 16, 2011 at 6:52 PM, Dale rdalek1...@gmail.com wrote:
 OK.  I jumped into LVM.  I took my spare drive, put it to use with LVM.
  Then copied data from my super large drive to it and backed up some to DVDs
 that wouldn't fit.  Then I put the big drive on LVM and put the stuff back.
  Now comes the problem.  I use LABELS in fstab and would like to continue
 that.  I can't figure out how to get the LABEL set for the LVM file system
 tho.  This is my info:


...

 root@fireball / # lvdisplay
  --- Logical volume ---
  LV Name                /dev/data/data1
  VG Name                data
  LV UUID                ZvsgH6-PI0M-NqVd-op9P-Crsy-IEnz-iKoTfp
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                931.00 GiB
  Current LE             238336
  Segments               2
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:0

 root@fireball / #


 I tried e2label since it has ext4 for the file system.  It didn't work and I
 don't know for sure what to point it to for the device.  I can't point to
 the drive itself since there are now two in the setup.

 What am I missing here?  It's simple I'm sure but I'm missing it.

You should be able to use e2label (or tune2fs -L as I do) on the
/dev/data/data1 device to set the filesystem label. That's the logical
volume that the operating system needs to mount.

# tune2fs -L mylabel /dev/data/data1

should do what you need.

I haven't done this with ext4, but I have used LVM with ext2, ext3 and
labels in this fashion.
-- 
Manuel A. McLure WW1FA man...@mclure.org http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.                       -- H.P. Lovecraft



Re: [gentoo-user] LVM and LABELS in fstab

2011-11-16 Thread Dale

Manuel McLure wrote:
You should be able to use e2label (or tune2fs -L as I do) on the 
/dev/data/data1 device to set the filesystem label. That's the logical 
volume that the operating system needs to mount. # tune2fs -L mylabel 
/dev/data/data1 should do what you need. I haven't done this with 
ext4, but I have used LVM with ext2, ext3 and labels in this fashion. 


That is the problem.  I was using e2label and got a error.  tune2fs 
worked fine.  I get this now:


root@fireball / # blkid /dev/mapper/data-data1
/dev/mapper/data-data1: UUID=7500437d-700c-4836-a878-29507af67a8d 
TYPE=ext4 LABEL=data

root@fireball / #

Sort of hard to believe I got this far with LVM tho.  I got some space now.

/dev/mapper/data-data1 960906608 255981512 656122832  29% /data

Now I can download some more of my TV shows.

One more question.  I have two drives.  A 250Gb and a 750Gb.  Originally 
the data was on the 750Gb drive.  I set the 250Gb up on LVM then moved 
things over from the 750Gb.  I then added the 750Gb to the VG and 
resized the file system.  So, in theory the data is on the 250Gb drive.  
Let's say I want to remove the 250Gb drive.  I would use pvmove to do 
that right?  When I ran pvmove /dev/sdb, which is the 250Gb drive, then 
it would remove all the data from that drive so that it could be 
removed.  Am I close?


I'm not planning to do that but just wanting to get a better 
understanding of this LVM thing.


Dale

:-)  :-)

--
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!