Re: [gentoo-user] How to change from one harddrive to software raid

2011-03-30 Thread Florian Philipp
Am 30.03.2011 05:02, schrieb Einux:
 Hi,
 
 I bought a new 1T harddrive which is exactly the same as my previous
 harddrive. So I'm planning to make a Raid-1 layout(for security
 reasons). But here's the problem: I've already setup LVM2 on the
 existing harddrive and I don't want to destroy the existing LVM volume
 groups. I tried to google it, but I'm not sure which is the right keyword.
 Could you guys help me out?
 
 Thanks in advance:)
 
 -- 
 Best Regards,
 Einux
 

1. Create a degenerated RAID1 with your new disk
mdadm --create /dev/md0 --level=1 --raid-devices=2 missing /dev/sdb

2. Partition the raid device

3. Add one of the partitions to your LVM volume group.
pvcreate /dev/sdb2
vgextend volume_group /dev/sdb2

4. Move everything from the old physical volumes to the new pv.
pvmove /dev/sda3 /dev/sdb2

5. Remove the old and now empty physical volume
vgreduce volume_group /dev/sda3

6. Move everything else which is not on LVM to your new raid. Guess you
need to go to single user mode to do this safely.

7. Grow your raid to also contain the old disk.
mdadm /dev/md0 -a /dev/sda

No, I have not tested this and you should double-check everything. No
guarantees, etc.

One warning, though: pvmove is known to create problems from time to
time. Leaking memory, bogging systems with infinite system load and so
on. If it gives you trouble, you can abort it with `pvmove --abort` and
try it again later by calling `pvmove volume_group` (without physical
device specified) to resume it. It SHOULD survive system crashes.
Trying another kernel version sometimes helps when pvmove gives you trouble.

Hope this helps,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] How to change from one harddrive to software raid

2011-03-30 Thread Florian Philipp
Am 30.03.2011 07:28, schrieb Florian Philipp:
 Am 30.03.2011 05:02, schrieb Einux:
 Hi,

 I bought a new 1T harddrive which is exactly the same as my previous
 harddrive. So I'm planning to make a Raid-1 layout(for security
 reasons). But here's the problem: I've already setup LVM2 on the
 existing harddrive and I don't want to destroy the existing LVM volume
 groups. I tried to google it, but I'm not sure which is the right keyword.
 Could you guys help me out?

 Thanks in advance:)

 -- 
 Best Regards,
 Einux

 
 1. Create a degenerated RAID1 with your new disk
 mdadm --create /dev/md0 --level=1 --raid-devices=2 missing /dev/sdb
 
 2. Partition the raid device
 
 3. Add one of the partitions to your LVM volume group.
 pvcreate /dev/sdb2
 vgextend volume_group /dev/sdb2
 
 4. Move everything from the old physical volumes to the new pv.
 pvmove /dev/sda3 /dev/sdb2
 
 5. Remove the old and now empty physical volume
 vgreduce volume_group /dev/sda3
 
 6. Move everything else which is not on LVM to your new raid. Guess you
 need to go to single user mode to do this safely.
 
 7. Grow your raid to also contain the old disk.
 mdadm /dev/md0 -a /dev/sda
 
 No, I have not tested this and you should double-check everything. No
 guarantees, etc.
 
 One warning, though: pvmove is known to create problems from time to
 time. Leaking memory, bogging systems with infinite system load and so
 on. If it gives you trouble, you can abort it with `pvmove --abort` and
 try it again later by calling `pvmove volume_group` (without physical
 device specified) to resume it. It SHOULD survive system crashes.
 Trying another kernel version sometimes helps when pvmove gives you trouble.
 
 Hope this helps,
 Florian Philipp
 

Argh,
of course a partition on md0 is not called sdb2. Just if that got you
confused ;)



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] How to change from one harddrive to software raid

2011-03-30 Thread Joost Roeleveld
On Wednesday 30 March 2011 07:28:40 Florian Philipp wrote:
 Am 30.03.2011 05:02, schrieb Einux:
  Hi,
  
  I bought a new 1T harddrive which is exactly the same as my previous
  harddrive. So I'm planning to make a Raid-1 layout(for security
  reasons). But here's the problem: I've already setup LVM2 on the
  existing harddrive and I don't want to destroy the existing LVM volume
  groups. I tried to google it, but I'm not sure which is the right
  keyword. Could you guys help me out?
  
  Thanks in advance:)
 
 1. Create a degenerated RAID1 with your new disk
 mdadm --create /dev/md0 --level=1 --raid-devices=2 missing /dev/sdb
 
 2. Partition the raid device
 
 3. Add one of the partitions to your LVM volume group.
 pvcreate /dev/sdb2
 vgextend volume_group /dev/sdb2
 
 4. Move everything from the old physical volumes to the new pv.
 pvmove /dev/sda3 /dev/sdb2
 
 5. Remove the old and now empty physical volume
 vgreduce volume_group /dev/sda3
 
 6. Move everything else which is not on LVM to your new raid. Guess you
 need to go to single user mode to do this safely.
 
 7. Grow your raid to also contain the old disk.
 mdadm /dev/md0 -a /dev/sda
 
 No, I have not tested this and you should double-check everything. No
 guarantees, etc.
 
 One warning, though: pvmove is known to create problems from time to
 time. Leaking memory, bogging systems with infinite system load and so
 on. If it gives you trouble, you can abort it with `pvmove --abort` and
 try it again later by calling `pvmove volume_group` (without physical
 device specified) to resume it. It SHOULD survive system crashes.
 Trying another kernel version sometimes helps when pvmove gives you trouble.

To avoid that, with large moves, do the following:
# pvmove -i 600 /dev/sda3 

The -i 600 means, only report every 10 minutes. It's the reporting that 
causes the memory leak.

Also, when just wanting to empty one physical volume, it is not necessary to 
specify the target.
It's a good idea to mark the PVs on the existing drive non-allocatable. Then 
LVM won't try to move anything to that PV:
# pvchange -xn /dev/sda3

The rest of the steps read correct. It's how I did a similar operation, but 
still double-check all the parameters and when in doubt, read the manual 
and/or ask on the list.

--
Joost Roeleveld




Re: [gentoo-user] mplayer vs mplayer2

2011-03-30 Thread John Campbell

On 03/29/2011 08:01 AM, 7v5w7go9ub0o wrote:


While I've been quite pleased with mplayer as tweaked by Nikos
Chantziaras to allow Multi threading on my core-I7 (Nvidia) (and I
realize that MT will now be in the upstream distribution), I'm wondering
if mplayer2 is now stable and better enough to merit switching.


Mplayer2 installs in parallel, so try them both.

I moved to mplayer2 some time ago, before the name-change to mplayer2. 
I've had fewer issues with it than with mplayer but your mileage may vary.


After a quick comparison I'd say they use about the same amount of CPU 
but mplayer still has problems with fontconfig freezing the video for a 
few seconds whenever fonts change in subtitles.  This can be a real 
problem when subtitles contain a lot of UTF8 extended characters not 
actually found in the selected font.  You also see a lot of Glyf not 
found in font, choosing another font warnings.


Mplayer2 doesn't have this problem as it shifts fontconfig into another 
thread.  Mplayer itself isn't multithreaded yet, just ffmpeg.  Mplayer2 
also handles mkv chapters, which aren't really all that useful anyway.


So I'd say just install mplayer2, add threads=5 to your config and try 
them both.




Re: [gentoo-user] mplayer vs mplayer2

2011-03-30 Thread covici

John Campbell jdc@cox.net wrote:

 On 03/29/2011 08:01 AM, 7v5w7go9ub0o wrote:
 
  While I've been quite pleased with mplayer as tweaked by Nikos
  Chantziaras to allow Multi threading on my core-I7 (Nvidia) (and I
  realize that MT will now be in the upstream distribution), I'm wondering
  if mplayer2 is now stable and better enough to merit switching.
 
 Mplayer2 installs in parallel, so try them both.
 
 I moved to mplayer2 some time ago, before the name-change to
 mplayer2. I've had fewer issues with it than with mplayer but your
 mileage may vary.
 
 After a quick comparison I'd say they use about the same amount of CPU
 but mplayer still has problems with fontconfig freezing the video for
 a few seconds whenever fonts change in subtitles.  This can be a real
 problem when subtitles contain a lot of UTF8 extended characters not
 actually found in the selected font.  You also see a lot of Glyf not
 found in font, choosing another font warnings.
 
 Mplayer2 doesn't have this problem as it shifts fontconfig into
 another thread.  Mplayer itself isn't multithreaded yet, just ffmpeg.
 Mplayer2 also handles mkv chapters, which aren't really all that
 useful anyway.
 
 So I'd say just install mplayer2, add threads=5 to your config and try
 them both.
I am not seeing mplayer2 in the tree -- unless it came in the last day
or so -- and which config takes the threads=5 parameter?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] mplayer vs mplayer2

2011-03-30 Thread John Campbell

On 03/30/2011 01:35 AM, cov...@ccs.covici.com wrote:


I am not seeing mplayer2 in the tree -- unless it came in the last day
or so -- and which config takes the threads=5 parameter?


It's in the multimedia overlay.

The threads=# (where # less than total threads available on processor) 
parameter goes in the ~/.mplayer/config file.  I've only got 4 
processors so I set it to threads=4.  You have an i7, so it should 
handle more.




Re: [gentoo-user] Re: ALSA - Still No Sound

2011-03-30 Thread dhk
On 03/15/2011 08:42 AM, dhk wrote:
 On 03/07/2011 11:15 AM, Mick wrote:
 On 7 March 2011 12:41, dhk dhk...@optonline.net wrote:

 Here's an update.  Yesterday morning I recompiled the kernel, but I took
 most everything out that didn't look like one of the three audio cards
 I've been trying to get working.  I rebooted and tested the audio with
 the new kernel and it didn't work.  Then I rebooted again before I went
 out for the day, the machine ran all day and all night without any
 activity before I logged in this morning.  Now I have audio again.  Now
 I think I have to pay attention as to whether audio begins working after
 a period of computer uptime.  Does this sound plausible?

 I wouldn't think so.  /etc/init.d/alsasound should run at default
 level, load modules and restore settings.  Assuming that you have run
 the alsaconf command to unmute your channels, then you should have
 sound straight off the peg.

 However, I have an old laptop which always starts with the Master
 volume control muted.  I have to press the special sound control
 buttons on the keyboard to unmute sound every time I reboot.  I guess
 this is a hardware quirk of this MoBo and it is the only PC that I
 have come across something like this.
 
 
 Here's an update.  The sound comes and goes.  I've been leaving the
 sound on all the time now and not just when I need it.  I test it
 frequently just to see if it works.  I haven't found any pattern other
 than when I do a reboot or shutdown when the box powers up again
 sometimes I have the audio and sometimes I don't.  However, even when
 there's no audio it looks like the modules load and alsasound starts.
 
 
 
 

Another update.  It seem all I need to do to get sound back is run
alsaconf (take all the defaults) and reboot.  I'm not sure why it stops
working after two or three reboots, but if I run alsaconf again and
reboot it's back.  It never works right after alsaconf, it always needs
a reboot.  It would be nice if the sound state didn't get lost, but at
least I can get it back.  I'd also wouldn't mind knowing why it happens.

Thanks,
dhk



Re: [gentoo-user] mplayer vs mplayer2

2011-03-30 Thread Dale

John Campbell wrote:

On 03/30/2011 01:35 AM, cov...@ccs.covici.com wrote:


I am not seeing mplayer2 in the tree -- unless it came in the last day
or so -- and which config takes the threads=5 parameter?


It's in the multimedia overlay.

The threads=# (where # less than total threads available on 
processor) parameter goes in the ~/.mplayer/config file.  I've only 
got 4 processors so I set it to threads=4.  You have an i7, so it 
should handle more.





I have it in the tree here:

[-P-] [M~] media-video/mplayer2-2.0 (0)
[-P-] [M ] media-video/mplayer2- (0)

They are masked but it is there.  Is that the same one?  While I am at 
it, is the plain mplayer going to be phased out and the new mplayer2 
take its place?


Dale

:-)  :-)



Re: [gentoo-user] What is with emerge after update world ?

2011-03-30 Thread Andrzej Styczeń
On Sunday 27 of March 2011 21:33:33 JM wrote:
 eselect list is not correct.
 
 Use: eselect *python *list (or whatever other app you wish to select a
 specific version of)
 
 Then:
 eselect python set (with the number of the option you want which was
 displayed from 'eselect python list').

Thank you again. The problem is resolved.

Greetings,
Andrzej



[gentoo-user] New installation and problem with rp-pppoe

2011-03-30 Thread Andrzej Styczeń
Hello,

I try today install Gentoo on my PC. Every thing go well until to install 
net-dialup/rp-pppoe
then I got:
=x11-libs/cairo-1.10.0 [-qt4]

How to resolve. If I add the 'qt4' flag to USE in 
/etc/portage/package.use
this not work. If I set it globally in make.conf USE=qt4 - still not work.

What for is 'cario' and 'qt' needed if I install 'ppp' or 'rp-pppoe' in 
console. I will be later install whole KDE (and then maybe is needed)  but not 
now, I think (?). 

I select profile for KDE, x86 machine. 


Greetings,
Andrzej



Re: [gentoo-user] mplayer vs mplayer2

2011-03-30 Thread covici
John Campbell jdc@cox.net wrote:

 On 03/30/2011 01:35 AM, cov...@ccs.covici.com wrote:
 
  I am not seeing mplayer2 in the tree -- unless it came in the last day
  or so -- and which config takes the threads=5 parameter?
 
 It's in the multimedia overlay.
 
 The threads=# (where # less than total threads available on
 processor) parameter goes in the ~/.mplayer/config file.  I've only
 got 4 processors so I set it to threads=4.  You have an i7, so it
 should handle more.
I only have 2, but I may try it anyway.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



[gentoo-user] Re: mplayer vs mplayer2

2011-03-30 Thread Nikos Chantziaras

On 03/30/2011 11:35 AM, cov...@ccs.covici.com wrote:

I am not seeing mplayer2 in the tree -- unless it came in the last day
or so -- and which config takes the threads=5 parameter?


Other than what John said, if you're using SMPlayer, then the thread 
setting is in the config dialog: Options-Preferences-Performance (in 
the Threads for decoding spinbox.)





[gentoo-user] Re: mplayer vs mplayer2

2011-03-30 Thread Nikos Chantziaras

On 03/30/2011 12:37 PM, Dale wrote:

[...]
I have it in the tree here:

[-P-] [M~] media-video/mplayer2-2.0 (0)
[-P-] [M ] media-video/mplayer2- (0)

They are masked but it is there. Is that the same one? While I am at it,
is the plain mplayer going to be phased out and the new mplayer2 take
its place?


It's not masked anymore.  Also, mplayer2 is not a replacement for 
mplayer, it's a fork.  I think mplayer still has the majority of the 
developers, so I don't think that it is in any danger of being phased out.





[gentoo-user] Printer setup: where is foomatic-rip?

2011-03-30 Thread Alan Mackenzie
Hi, gentoo!

I'm trying to set up my printer (a Samsung ML-1450 (which looks like an
HP Laserjet)) according to the Gentoo Printing Guide.  There is no
problem with the USB connection to it.

I've got as far as printing a test page (in section 4).  The page
doesn't print.  The error message in /var/log/cups/error_log is:

Filter foomatic-rip for printer ML-1450 not available: no such
file or directory

The driver I've downloaded and installed is pxlmono (as recommended).

I've tried emerge foomatic, to no avail.

How do I get foomatic-rip and get it working?

Thanks in advance!

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] Printer setup: where is foomatic-rip?

2011-03-30 Thread William Kenworthy
rattus ~ # locate foomatic-rip
/usr/bin/foomatic-rip
/usr/lib/ppr/interfaces/foomatic-rip
/usr/lib/ppr/lib/foomatic-rip
/usr/libexec/cups/filter/foomatic-rip
/usr/share/man/man1/foomatic-rip.1.bz2
rattus ~ # equery b foomatic-rip
--- Invalid atom
in /usr/local/portage/layman/sunrise/profiles/package.mask: Slot deps
are not allowed in EAPI 0: 'x11-wm/qlwm:3'
 * Searching for foomatic-rip ... 
net-print/foomatic-filters-3.0.20080507
(/usr/libexec/cups/filter/foomatic-rip - /usr/bin/foomatic-rip)
net-print/foomatic-filters-3.0.20080507 (/usr/bin/foomatic-rip)
net-print/foomatic-filters-3.0.20080507 (/usr/lib/ppr/lib/foomatic-rip
- /usr/bin/foomatic-rip)
net-print/foomatic-filters-3.0.20080507
(/usr/lib/ppr/interfaces/foomatic-rip - /usr/bin/foomatic-rip)
^C
rattus ~ #



On Wed, 2011-03-30 at 12:18 +, Alan Mackenzie wrote:
 Hi, gentoo!
 
 I'm trying to set up my printer (a Samsung ML-1450 (which looks like an
 HP Laserjet)) according to the Gentoo Printing Guide.  There is no
 problem with the USB connection to it.
 
 I've got as far as printing a test page (in section 4).  The page
 doesn't print.  The error message in /var/log/cups/error_log is:
 
 Filter foomatic-rip for printer ML-1450 not available: no such
 file or directory
 
 The driver I've downloaded and installed is pxlmono (as recommended).
 
 I've tried emerge foomatic, to no avail.
 
 How do I get foomatic-rip and get it working?
 
 Thanks in advance!
 

-- 
William Kenworthy bi...@iinet.net.au
Home in Perth!




Re: [gentoo-user] New installation and problem with rp-pppoe

2011-03-30 Thread Neil Bothwick
On Wed, 30 Mar 2011 12:37:04 +0200, Andrzej Styczeń wrote:

 What for is 'cario' and 'qt' needed if I install 'ppp' or 'rp-pppoe' in 
 console. I will be later install whole KDE (and then maybe is needed)
 but not now, I think (?). 
 
 I select profile for KDE, x86 machine. 

The KDE profile sets the X USE flag, add -X until you are ready to emerge
the desktop.


-- 
Neil Bothwick

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


signature.asc
Description: PGP signature


[gentoo-user] xml viewer?

2011-03-30 Thread James
https://bugs.gentoo.org/attachment.cgi?id=264045

Hello,

The url above shows me a raw xml file. 
 :-(

I just tried the link with several different
web browsers to no avail. I guess xml is 
not an official protocol for web browsers?
Did I miss a configuration issue before trying
a given web browser to view .xml files in their
graphical form?


What software do I use to view it in graphical
form? Surely this is possible?
;-)


Googling only showed commercial grade xml viewers


James




Re: [gentoo-user] Re: ALSA - Still No Sound

2011-03-30 Thread Mark Knecht
On Wed, Mar 30, 2011 at 2:37 AM, dhk dhk...@optonline.net wrote:
SNIP

 Another update.  It seem all I need to do to get sound back is run
 alsaconf (take all the defaults) and reboot.  I'm not sure why it stops
 working after two or three reboots, but if I run alsaconf again and
 reboot it's back.  It never works right after alsaconf, it always needs
 a reboot.  It would be nice if the sound state didn't get lost, but at
 least I can get it back.  I'd also wouldn't mind knowing why it happens.

 Thanks,
 dhk

Does it really need a reboot, or does (as root)

/etc/init.d/alsasound restart

get it going?

- Mark



Re: [gentoo-user] xml viewer?

2011-03-30 Thread Florian Philipp
Am 30.03.2011 15:40, schrieb James:
 https://bugs.gentoo.org/attachment.cgi?id=264045
 
 Hello,
 
 The url above shows me a raw xml file. 
  :-(
 
 I just tried the link with several different
 web browsers to no avail. I guess xml is 
 not an official protocol for web browsers?
 Did I miss a configuration issue before trying
 a given web browser to view .xml files in their
 graphical form?
 
 
 What software do I use to view it in graphical
 form? Surely this is possible?
 ;-)
 
 

Looks like it is Gentoo-Guide XML. You need www-servers/gorg to
transform it to HTML.

BTW: Sure, XML is a web protocol, but not this kind of XML. ;)

Hope this helps,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: ALSA - Still No Sound

2011-03-30 Thread dhkuhl
- Original Message -From: Mark Knecht Date: Wednesday, March 30, 2011 
9:52 amSubject: Re: [gentoo-user] Re: ALSA - Still No SoundTo: 
gentoo-user@lists.gentoo.orgCc: dhk  On Wed, Mar 30, 2011 at 2:37 AM, dhk  
wrote:Another update.  It seem all I need to do to get sound back is 
run  alsaconf (take all the defaults) and reboot.  I'm not sure why  it 
stops  working after two or three reboots, but if I run alsaconf  again and 
 reboot it's back.  It never works right after alsaconf, it  always needs  
a reboot.  It would be nice if the sound state didn't get  lost, but at  
least I can get it back.  I'd also wouldn't mind knowing why  it happens.  
 Thanks,  dhk  Does it really need a reboot, or does (as root)  
/etc/init.d/alsasound restart  get it going?  - Mark It really needs a 
reboot.  Bouncing alsasound doesn't do anything.  Then it works for a day or 
two or a reboot or two and then nothing.  Then I need to run alsaconf and just 
hit enter for the defaults and reboot to get it back.  It doesn't take long and 
I can live with it, but it may indicate something else is wrong.dhk


[gentoo-user] alsa-firmware +usb-usx2y

2011-03-30 Thread kelly hirai
anyone know why i can't get the usb-usx2y flag to turn on in alsa
firmware? i can't find any links to the firmware cutter either. i know
most of the original tascam us122 interfaces suffered from the capacitor
plague, i'm hoping to get at least a midi interface from it.


USE=usb-usx2y emerge -a --newuse --deep  alsa-firmware

Calculating dependencies... done!
[ebuild  N] media-sound/alsa-firmware-1.0.23  ALSA_CARDS=emu10k1
maestro3 ymfpci -aica -asihpi -darla20 -darla24 -echo3g -emi26 -emu1212
-emu1616 -emu1820 -gina20 -gina24 -hdsp -hdspm -indigo -indigoio
-korg1212 -layla20 -layla24 -mia -mixart -mona -msnd-pinnacle -pcxhr
-sb16 -usb-usx2y -vx222 -wavefront





text, mime, and mail2news [was: Re: [gentoo-user] Re: ALSA - Still No Sound]

2011-03-30 Thread Elaine C. Sharpe
In linux.gentoo.user, it is written:
 This is a multi-part message in MIME format.

 --Boundary_(ID_jiktZdPjr0/tEFWOw/bFvg)
 Content-type: text/plain; charset=iso-8859-1
 Content-transfer-encoding: quoted-printable
 Content-disposition: inline

 - Original Message -From=3A Mark Knecht=A0Date=3A Wednesday=2C M=
 arch 30=2C 2011 9=3A52 amSubject=3A Re=3A =5Bgentoo-user=5D Re=3A ALSA=A0=
 - Still No SoundTo=3A gentoo-user=40lists=2Egentoo=2EorgCc=3A dhk=A0=3E =
 On Wed=2C Mar 30=2C 2011 at 2=3A37 AM=2C dhk=A0 wrote=3A=3E =3E =3E=3E =3E=
  Another update=2E =A0It seem all I need to do to get sound back is run=3E=
 =3E alsaconf=A0(take all the defaults) and reboot=2E =A0I=27m not sure =
 why =3E it stops=3E =3E working after two or three reboots=2C but if I r=
 un alsaconf=A0=3E again and=3E =3E reboot it=27s back=2E =A0It never wor=
 ks right after alsaconf=2C it =3E always needs=3E =3E a reboot=2E =A0It =
 would be nice if the sound state didn=27t get =3E lost=2C but at=3E =3E =
 least I can get it back=2E =A0I=27d also wouldn=27t mind knowing why =3E=
  it happens=2E=3E =3E=3E =3E Thanks=2C=3E =3E dhk=3E =3E Does it really =
 need a reboot=2C or does (as root)=3E =3E /etc/init=2Ed/alsasound=A0rest=
 art=3E =3E get it going=3F=3E =3E - Mark=3E =3EIt really needs a reboot=2E=
=A0 Bouncing alsasound doesn=27t do anything=2E=A0 Then it works for a d=
 ay or two or a reboot or two and then nothing=2E=A0 Then I need to run a=
 lsaconf and just hit enter for the defaults and reboot to get it back=2E=
=A0 It doesn=27t take long and I can live with it=2C but it may indicate=
  something else is wrong=2Edhk

 --Boundary_(ID_jiktZdPjr0/tEFWOw/bFvg)
 Content-type: text/html; charset=us-ascii
 Content-transfer-encoding: quoted-printable
 Content-disposition: inline

=3Cbr=3E=3Cbr=3E- Original Message -=3Cbr=3EFrom=3A Mark Knecht=26=
 nbsp=3B=3Cmarkknecht=40gmail=2Ecom=3E=3Cbr=3EDate=3A Wednesday=2C March =
 30=2C 2011 9=3A52 am=3Cbr=3ESubject=3A Re=3A =5Bgentoo-user=5D Re=3A ALS=
 A=26nbsp=3B- Still No Sound=3Cbr=3ETo=3A gentoo-user=40lists=2Egentoo=2E=
 org=3Cbr=3ECc=3A dhk=26nbsp=3B=3Cdhkuhl=40optonline=2Enet=3E=3Cbr=3E=3Cb=
 r=3E=26gt=3B On Wed=2C Mar 30=2C 2011 at 2=3A37 AM=2C dhk=26nbsp=3B=3Cdh=
 kuhl=40optonline=2Enet=3E wrote=3A=3Cbr=3E=26gt=3B =3Csnip=3E=3Cbr=3E=26=
 gt=3B =26gt=3B=3Cbr=3E=26gt=3B =26gt=3B Another update=2E =26nbsp=3BIt s=
 eem all I need to do to get sound back is run=3Cbr=3E=26gt=3B =26gt=3B a=
 lsaconf=26nbsp=3B(take all the defaults) and reboot=2E =26nbsp=3BI=27m n=
 ot sure why =3Cbr=3E=26gt=3B it stops=3Cbr=3E=26gt=3B =26gt=3B working a=
 fter two or three reboots=2C but if I run alsaconf=26nbsp=3B=3Cbr=3E=26g=
 t=3B again and=3Cbr=3E=26gt=3B =26gt=3B reboot it=27s back=2E =26nbsp=3B=
 It never works right after alsaconf=2C it =3Cbr=3E=26gt=3B always needs=3C=
 br=3E=26gt=3B =26gt=3B a reboot=2E =26nbsp=3BIt would be nice if the sou=
 nd state didn=27t get =3Cbr=3E=26gt=3B lost=2C but at=3Cbr=3E=26gt=3B =26=
 gt=3B least I can get it back=2E =26nbsp=3BI=27d also wouldn=27t mind kn=
 owing why =3Cbr=3E=26gt=3B it happens=2E=3Cbr=3E=26gt=3B =26gt=3B=3Cbr=3E=
=26gt=3B =26gt=3B Thanks=2C=3Cbr=3E=26gt=3B =26gt=3B dhk=3Cbr=3E=26gt=3B=
 =3Cbr=3E=26gt=3B Does it really need a reboot=2C or does (as root)=3Cbr=
=3E=26gt=3B =3Cbr=3E=26gt=3B /etc/init=2Ed/alsasound=26nbsp=3Brestart=3C=
 br=3E=26gt=3B =3Cbr=3E=26gt=3B get it going=3F=3Cbr=3E=26gt=3B =3Cbr=3E=26=
 gt=3B - Mark=3Cbr=3E=26gt=3B =3Cbr=3E=26gt=3B=3Cbr=3E=3Cbr=3EIt really n=
 eeds a reboot=2E=26nbsp=3B Bouncing alsasound doesn=27t do anything=2E=26=
 nbsp=3B Then it works for a day or two or a reboot or two and then nothi=
 ng=2E=26nbsp=3B Then I need to run =3C/snip=3E=3C/dhkuhl=40optonline=2En=
 et=3E=3C/dhkuhl=40optonline=2Enet=3E=3C/markknecht=40gmail=2Ecom=3Ealsac=
 onf and just hit enter for the defaults and reboot to get it back=2E=26n=
 bsp=3B It doesn=27t take long and I can live with it=2C but it may indic=
 ate something else is wrong=2E=3Cbr=3E=3Cmarkknecht=40gmail=2Ecom=3E=3Cd=
 hkuhl=40optonline=2Enet=3E=3Cdhkuhl=40optonline=2Enet=3E=3Csnip=3E=3Cbr=3E=
 dhk=3Cbr=3E=3Cbr=3E=3C/snip=3E=3C/dhkuhl=40optonline=2Enet=3E=3C/dhkuhl=40=
 optonline=2Enet=3E=3C/markknecht=40gmail=2Ecom=3E

 --Boundary_(ID_jiktZdPjr0/tEFWOw/bFvg)--

Here's a good example of the mess I was describing earlier. Doesn't 
appear to be using kmail thouogh. 

-- 
...she kept arranging and rearranging the rabbit and kind of waving to it. 
I decided, this is the person I want to sit next to.




Re: text, mime, and mail2news [was: Re: [gentoo-user] Re: ALSA - Still No Sound]

2011-03-30 Thread Neil Bothwick
On Wed, 30 Mar 2011 10:42:45 -0400, Elaine C. Sharpe wrote:

 In linux.gentoo.user, it is written:
  This is a multi-part message in MIME format.
 
  --Boundary_(ID_jiktZdPjr0/tEFWOw/bFvg)
  Content-type: text/plain; charset=iso-8859-1
  Content-transfer-encoding: quoted-printable
  Content-disposition: inline
 
  - Original Message -From=3A Mark Knecht=A0Date=3A
  Wednesday=2C M= arch 30=2C 2011 9=3A52 amSubject=3A Re=3A
  =5Bgentoo-user=5D Re=3A ALSA=A0=

 Here's a good example of the mess I was describing earlier. Doesn't 
 appear to be using kmail thouogh. 

The mailer is irrelevant, this is a perfectly acceptable quoted-printable
message that reads fine when sent from the list. It's clearly the
mail2news gateway that is screwing things up by ignoring the MIME
information in the mail and treating the whole thing as plain text.


-- 
Neil Bothwick

Do you realize how many holes there could be if people would just take
the time to take the dirt out of them?


signature.asc
Description: PGP signature


[gentoo-user] Re: kvm and libvirt

2011-03-30 Thread Nicolas Sebrecht
The 29/03/11, Coert Waagmeester wrote:

 At the moment I have a running install of kvm.
 I do all the virtual networking manually with help of tap adaptors and
 bridges.
 And I use LVM for the VMs disks.
 
 It is working very well, but to add a VM or to migrate it to another
 host is laborious.
 
 Now I have started playing with libvirt, and I would like to know if
 anyone else here uses the combination of kvm and libvirt?

I do. Managing VM from libvrit works well for basic features. That
beeing said, I had to manage snapshots outside of the provided features
due to internal dependencies between qcow2 snapshots.

I still have to test migration as it requires virtual disks shared over
the network.

 What is the most dynamic way of automatically setting up virtual
 networks per VM? Should I use qemu-ifup?

I think the best alternative is to use a dedicated virtual bridging
tool but virt-manager (so, libvirt I guess) already provide a network
system (based on tun/tap AFAIR).

-- 
Nicolas Sebrecht



[gentoo-user] How do I switch from jpeg to jpeg-turbo?

2011-03-30 Thread Nikos Chantziaras
I unmerged media-libs/jpeg, and emerged media-libs/libjpeg-turbo. 
virtual/jpeg is installed.  Everything seems to work fine, and 
revdep-rebuild is perfectly happy.


But emerge -uDNt world wants to:

[blocks b ] media-libs/jpeg:0 (media-libs/jpeg:0 is blocking 
media-libs/libjpeg-turbo-1.1.0)

[uninstall]  media-libs/libjpeg-turbo-1.1.0
[nomerge  ] www-client/firefox-4.0-r2
[nomerge  ]  virtual/jpeg-0
[ebuild  N]   media-libs/jpeg-8c  USE=static-libs

I'm confused. :-/




[gentoo-user] Which 'tools' package for VMware DomU?

2011-03-30 Thread Pandu Poluan
Hello, list!

I want to deploy some Gentoo-based VMs on VMware. From portage-search,
I see some 'tools' related to VMware, namely:

* vmware-tools

* open-vm-tools

* open-vm-tools-kmod

What are the differences? And which one should I use if I want to use
VMware's PVSCSI and VMXNET?

Thank you for your assistance.

Rgds,


-- 
--
Pandu E Poluan - IT Optimizer
My website: http://pandu.poluan.info/



Re: text, mime, and mail2news [was: Re: [gentoo-user] Re: ALSA - Still No Sound]

2011-03-30 Thread Elaine C. Sharpe
On Wed, Mar 30, 2011 at 05:10:02PM +0200, Neil Bothwick wrote:
 
 The mailer is irrelevant, this is a perfectly acceptable quoted-printable
 message that reads fine when sent from the list. It's clearly the
 mail2news gateway that is screwing things up by ignoring the MIME
 information in the mail and treating the whole thing as plain text.
 

I recompiled mutt with the nntp flag, re-emerged it, consulted google 
about muttrc and nntp, used a little foul language, and got mutt to 
read the usenet version of this list. It looks *way* better in mutt 
(via lynx for quoted printable or html). 

Would be nice if the mail2news gateway worked better, but this is 
an acceptable workaround for me. 
:)

-- 
caveat utilitor






[gentoo-user] Re: xml viewer?

2011-03-30 Thread James
Florian Philipp lists at binarywings.net writes:

 Looks like it is Gentoo-Guide XML. You need www-servers/gorg to
 transform it to HTML.
 BTW: Sure, XML is a web protocol, but not this kind of XML. ;)

thanks,,


James






Re: [gentoo-user] mplayer vs mplayer2

2011-03-30 Thread du yang
On Wednesday 03/30/11 17:14:00 CST, John Campbell wrote:
 On 03/30/2011 01:35 AM, cov...@ccs.covici.com wrote:
 
  I am not seeing mplayer2 in the tree -- unless it came in the last day
  or so -- and which config takes the threads=5 parameter?
 
 It's in the multimedia overlay.
 
 The threads=# (where # less than total threads available on processor) 
 parameter goes in the ~/.mplayer/config file.  I've only got 4 
 processors so I set it to threads=4.  You have an i7, so it should 
 handle more.
 

I just tried it also. 
Some 720p videos were very slow to play with mplayer on my machine prviously, 
but
now they are playing smoothly ;-)
So mplayer2 show have some performance improvement.

After switching to maplyer2, putting mplayer to package.provided seems to be 
able to avoid dependencies problem for smplayer and mplayer-plugin..


- du yang
-- 
oooO:
(..):
:\.(:::Oooo::
::\_)::(..)::
:::)./:::
::(_/




[gentoo-user] usb media reader

2011-03-30 Thread James
Hello,

lsusb shows:
Bus 001 Device 035: ID 05e3:0710 Genesys Logic, Inc. USB 2.0 33-in-1 Card Reader

OK, so I plug in a CF card and run fdisk -l

Disk /dev/sdb: 4110 MB, 4110188544 bytes
128 heads, 63 sectors/track, 995 cylinders, total 8027712 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x

   Device Boot  Start End  Blocks   Id  System
/dev/sdb1   *  63  201599  100768+  83  Linux
/dev/sdb2  201600  709631  254016   82  Linux swap / Solaris
/dev/sdb3  709632 8023679 3657024   83  Linux


Very nice

Now I remove the CF card an put in a SD card.
Tried several SD cards.
Nothing.

Knotify (I guess) pops up just fine with CF.
SD... nothing.




Re: [gentoo-user] usb media reader

2011-03-30 Thread Florian Philipp
Am 30.03.2011 19:52, schrieb James:
 Hello,
 
 lsusb shows:
 Bus 001 Device 035: ID 05e3:0710 Genesys Logic, Inc. USB 2.0 33-in-1 Card 
 Reader
 
 OK, so I plug in a CF card and run fdisk -l
 
 Disk /dev/sdb: 4110 MB, 4110188544 bytes
 128 heads, 63 sectors/track, 995 cylinders, total 8027712 sectors
 Units = sectors of 1 * 512 = 512 bytes
 Sector size (logical/physical): 512 bytes / 512 bytes
 I/O size (minimum/optimal): 512 bytes / 512 bytes
 Disk identifier: 0x
 
Device Boot  Start End  Blocks   Id  System
 /dev/sdb1   *  63  201599  100768+  83  Linux
 /dev/sdb2  201600  709631  254016   82  Linux swap / Solaris
 /dev/sdb3  709632 8023679 3657024   83  Linux
 
 
 Very nice
 
 Now I remove the CF card an put in a SD card.
 Tried several SD cards.
 Nothing.
 
 Knotify (I guess) pops up just fine with CF.
 SD... nothing.
 
 

SD is another kernel module. There are different categories for SD and
Memory Stick drivers in the kernel config. Look in the Device Drivers
section.



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Re: mplayer vs mplayer2

2011-03-30 Thread Nikos Chantziaras

On 03/30/2011 08:47 PM, du yang wrote:

On Wednesday 03/30/11 17:14:00 CST, John Campbell wrote:

On 03/30/2011 01:35 AM, cov...@ccs.covici.com wrote:


I am not seeing mplayer2 in the tree -- unless it came in the last day
or so -- and which config takes the threads=5 parameter?


It's in the multimedia overlay.

The threads=# (where # less than total threads available on processor)
parameter goes in the ~/.mplayer/config file.  I've only got 4
processors so I set it to threads=4.  You have an i7, so it should
handle more.



I just tried it also.
Some 720p videos were very slow to play with mplayer on my machine prviously, 
but
now they are playing smoothly ;-)
So mplayer2 show have some performance improvement.

After switching to maplyer2, putting mplayer to package.provided seems to be 
able to avoid dependencies problem for smplayer and mplayer-plugin..


The version in portage removed multithreading support :-(  The 
maintainer doesn't want the bundled, multithreaded ffmpeg that comes 
with mplayer2.  That's a good thing in the long run, but I've no idea 
why they rushed it.  They could wait till the in-portage libav or ffmpeg 
becomes multithreaded before they strip the bundled one.





[gentoo-user] Any bought a laptop that Just Works?

2011-03-30 Thread Robin Atwood
I am in the market for a new laptop and would be interested if anyone else on 
the list had recently bought a laptop in which all the hardware worked out of 
the box with Linux. I am most concerned about WiFi/audio/webcam, the finer 
points of hibernation are of lesser concern. Currently I have a Linux 
Certified machine but I want to avoid shipping costs to the UK.



TIA
-Robin
-- 
--
Robin Atwood.



Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--



























-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--










Re: [gentoo-user] Any bought a laptop that Just Works?

2011-03-30 Thread Davide Carnovale
my acer aspire 5740d has an ati card that works, a sunyin (or something)
webcam that works, intel hda audio works (although i had to fight for the
mic to work) and wifi works too (don't recall what card it has...) never
tested hibernation or suspend though...

D

2011/3/30 Robin Atwood robin.atw...@attglobal.net

  I am in the market for a new laptop and would be interested if anyone
 else on the list had recently bought a laptop in which all the hardware
 worked out of the box with Linux. I am most concerned about
 WiFi/audio/webcam, the finer points of hibernation are of lesser concern.
 Currently I have a Linux Certified machine but I want to avoid shipping
 costs to the UK.



 TIA

 -Robin

 --

 --

 Robin Atwood.



 Ship me somewheres east of Suez, where the best is like the worst,

 Where there ain't no Ten Commandments an' a man can raise a thirst

 from Mandalay by Rudyard Kipling

 --



















 --

 --

 Robin Atwood.

 Ship me somewheres east of Suez, where the best is like the worst,

 Where there ain't no Ten Commandments an' a man can raise a thirst

 from Mandalay by Rudyard Kipling

 --




Re: [gentoo-user] Any bought a laptop that Just Works?

2011-03-30 Thread Elaine C. Sharpe
On Wed, Mar 30, 2011 at 08:40:02PM +0200, Robin Atwood wrote:
I am in the market for a new laptop and would be interested if anyone
else on the list had recently bought a laptop in which all the hardware
worked out of the box with Linux. I am most concerned about
WiFi/audio/webcam, the finer points of hibernation are of lesser
concern. Currently I have a Linux Certified machine but I want to
avoid shipping costs to the UK.


I've always had the best luck with the hardware support for 
thinkpads (and dell inspirons, though they're kind of clunky 
and cheesy). Can't vouch for the new ones though, it's been 
a few years since I upgraded.

-- 
caveat utilitor




Re: [gentoo-user] Any bought a laptop that Just Works?

2011-03-30 Thread skiarxon
I got a Toshiba Qosmio F50 series. Camera wireless and sound work fine
(actually after one kernel upgrade some months ago even the woofer suddenly
worked). I have not ever bothered with the TV card that it is provided
though but it won't be a problem I think.


Re: [gentoo-user] Any bought a laptop that Just Works?

2011-03-30 Thread JM
My Acer Aspire One worked with very few modifications.

Picked up my wifi card and usb camera (the one in the lid is actually usb),
sound card and intel graphics driver (though I haven't yet tried X, only
framebuffer, but I get framebuffer in 1024 by 768 on it). Touchpad works
fine with gpm mouse driver.

Bit of a cheapo netbook but if flies under gentoo, while it was pretty slow
under windows. dual core intel Atom.

just out of curiosity I also tried the the pixielive cd which runs X for the
intel gma graphics chip and is based on gentoo -  it gave me full native res
with little or now slowdown - I think it uses the poulsbo driver (or some
similar name), overall, installing gentoo was painless - the worst
experience I had was trying to map my windows key to CTRL-A for use in
screen, still haven't managed it!

On 30 March 2011 19:31, Robin Atwood robin.atw...@attglobal.net wrote:

  I am in the market for a new laptop and would be interested if anyone
 else on the list had recently bought a laptop in which all the hardware
 worked out of the box with Linux. I am most concerned about
 WiFi/audio/webcam, the finer points of hibernation are of lesser concern.
 Currently I have a Linux Certified machine but I want to avoid shipping
 costs to the UK.



 TIA

 -Robin

 --

 --

 Robin Atwood.



 Ship me somewheres east of Suez, where the best is like the worst,

 Where there ain't no Ten Commandments an' a man can raise a thirst

 from Mandalay by Rudyard Kipling

 --



















 --

 --

 Robin Atwood.

 Ship me somewheres east of Suez, where the best is like the worst,

 Where there ain't no Ten Commandments an' a man can raise a thirst

 from Mandalay by Rudyard Kipling

 --




Re: [gentoo-user] Which 'tools' package for VMware DomU?

2011-03-30 Thread Mike Edenfield
On 3/30/2011 12:55 PM, Pandu Poluan wrote:
 Hello, list!
 
 I want to deploy some Gentoo-based VMs on VMware. From portage-search,
 I see some 'tools' related to VMware, namely:
 
 * vmware-tools
 
 * open-vm-tools
 
 * open-vm-tools-kmod
 
 What are the differences? And which one should I use if I want to use
 VMware's PVSCSI and VMXNET?

As I understand things, open-vm-tools is just an open-source version of
vmware-tools, but uses the same code base and is managed by VMWare. Both
of them should have the modules you want. Unless you have a compelling
reason to use the pre-built stuff from the vmware-tools tarball I'd go
with the open-vm-tools one.

--Mike




Re: [gentoo-user] Any bought a laptop that Just Works?

2011-03-30 Thread Neil Bothwick
On Wed, 30 Mar 2011 19:31:09 +0100, Robin Atwood wrote:

 I am in the market for a new laptop and would be interested if anyone
 else on the list had recently bought a laptop in which all the hardware
 worked out of the box with Linux. I am most concerned about
 WiFi/audio/webcam, the finer points of hibernation are of lesser
 concern. Currently I have a Linux Certified machine but I want to
 avoid shipping costs to the UK.

If you want a UK supplier of laptops guaranteed to work with Linux, try
http://www.linuxemporium.co.uk


-- 
Neil Bothwick

A computer is like an Old Testament god, with a lot of rules and no
mercy. \xA0-- Joseph Campbell


signature.asc
Description: PGP signature


Re: [gentoo-user] How do I switch from jpeg to jpeg-turbo?

2011-03-30 Thread Andrés Becerra Sandoval
On Thu, Mar 31, 2011 at 11:42 AM, Nikos Chantziaras rea...@arcor.de wrote:
 I unmerged media-libs/jpeg, and emerged media-libs/libjpeg-turbo.
 virtual/jpeg is installed.  Everything seems to work fine, and
 revdep-rebuild is perfectly happy.

 But emerge -uDNt world wants to:

 [blocks b     ] media-libs/jpeg:0 (media-libs/jpeg:0 is blocking
 media-libs/libjpeg-turbo-1.1.0)
 [uninstall    ]  media-libs/libjpeg-turbo-1.1.0
 [nomerge      ] www-client/firefox-4.0-r2
 [nomerge      ]  virtual/jpeg-0
 [ebuild  N    ]   media-libs/jpeg-8c  USE=static-libs

 I'm confused. :-/




Hello,

Set the useflags for virtual/jpeg identical to
media-libs/libjpeg-turbo ones and try again ...


-- 
  Andrés Becerra Sandoval



[gentoo-user] Re: How do I switch from jpeg to jpeg-turbo?

2011-03-30 Thread Nikos Chantziaras

On 03/30/2011 11:02 PM, Andrés Becerra Sandoval wrote:

On Thu, Mar 31, 2011 at 11:42 AM, Nikos Chantziarasrea...@arcor.de  wrote:

I unmerged media-libs/jpeg, and emerged media-libs/libjpeg-turbo.
virtual/jpeg is installed.  Everything seems to work fine, and
revdep-rebuild is perfectly happy.

But emerge -uDNt world wants to:

[blocks b ] media-libs/jpeg:0 (media-libs/jpeg:0 is blocking
media-libs/libjpeg-turbo-1.1.0)
[uninstall]  media-libs/libjpeg-turbo-1.1.0
[nomerge  ] www-client/firefox-4.0-r2
[nomerge  ]  virtual/jpeg-0
[ebuild  N]   media-libs/jpeg-8c  USE=static-libs

I'm confused. :-/





Hello,

Set the useflags for virtual/jpeg identical to
media-libs/libjpeg-turbo ones and try again ...


That was it.  Thanks.

PS:
The day portage will give useful output should be marked on all 
calenders as a holiday :-P





Re: [gentoo-user] Any bought a laptop that Just Works?

2011-03-30 Thread Valmor de Almeida
On 03/30/2011 02:46 PM, Elaine C. Sharpe wrote:
 On Wed, Mar 30, 2011 at 08:40:02PM +0200, Robin Atwood wrote:
I am in the market for a new laptop and would be interested if anyone
else on the list had recently bought a laptop in which all the hardware
worked out of the box with Linux. I am most concerned about
WiFi/audio/webcam, the finer points of hibernation are of lesser
concern. Currently I have a Linux Certified machine but I want to
avoid shipping costs to the UK.

 
 I've always had the best luck with the hardware support for 
 thinkpads (and dell inspirons, though they're kind of clunky 
 and cheesy). Can't vouch for the new ones though, it's been 
 a few years since I upgraded.
 

I've been using a thinkpad X201; WiFi works well and audio too. Don't
have a camera. There is a little problem configuring the touch pad
buttons for a left hand but it does not bother me. All in all a very
good machine under gentoo.

--
Valmor



Re: [gentoo-user] Which 'tools' package for VMware DomU?

2011-03-30 Thread Mike Edenfield
On 3/30/2011 2:57 PM, Mike Edenfield wrote:
 On 3/30/2011 12:55 PM, Pandu Poluan wrote:
 Hello, list!

 I want to deploy some Gentoo-based VMs on VMware. From portage-search,
 I see some 'tools' related to VMware, namely:

 * vmware-tools

 * open-vm-tools

 * open-vm-tools-kmod

 What are the differences? And which one should I use if I want to use
 VMware's PVSCSI and VMXNET?
 
 As I understand things, open-vm-tools is just an open-source version of
 vmware-tools, but uses the same code base and is managed by VMWare. Both
 of them should have the modules you want. Unless you have a compelling
 reason to use the pre-built stuff from the vmware-tools tarball I'd go
 with the open-vm-tools one.

Teach me to read more carefully...

The specific modules you mentioned are included in your kernel already,
assuming you are using at least a 2.6.34 kernel. You'll still want to
install open-vm-tools, which installs the other modules via
open-vm-tools-kmod, like vsock and vmci, plus the user-space daemon.

Device Drivers  --
  [*]   Misc devices  ---
M   VMware Balloon Driver
  SCSI device support  ---
[*]   SCSI low-level drivers  ---
  *   VMware PVSCSI driver support
  [*]   Network device support
M   VMware VMXNET3 ethernet driver

(That first one is the vmmemctl driver, which helps improve the memory
management between host  guest).

--Mike



Re: [gentoo-user] Any bought a laptop that Just Works?

2011-03-30 Thread Jacob Todd
My thinkpad w510 'just works.'


Re: [gentoo-user] How to change from one harddrive to software raid

2011-03-30 Thread Einux
thank you guys, you've been helpful :)

On Wed, Mar 30, 2011 at 3:31 PM, Joost Roeleveld jo...@antarean.org wrote:

 On Wednesday 30 March 2011 07:28:40 Florian Philipp wrote:
  Am 30.03.2011 05:02, schrieb Einux:
   Hi,
  
   I bought a new 1T harddrive which is exactly the same as my previous
   harddrive. So I'm planning to make a Raid-1 layout(for security
   reasons). But here's the problem: I've already setup LVM2 on the
   existing harddrive and I don't want to destroy the existing LVM volume
   groups. I tried to google it, but I'm not sure which is the right
   keyword. Could you guys help me out?
  
   Thanks in advance:)
 
  1. Create a degenerated RAID1 with your new disk
  mdadm --create /dev/md0 --level=1 --raid-devices=2 missing /dev/sdb
 
  2. Partition the raid device
 
  3. Add one of the partitions to your LVM volume group.
  pvcreate /dev/sdb2
  vgextend volume_group /dev/sdb2
 
  4. Move everything from the old physical volumes to the new pv.
  pvmove /dev/sda3 /dev/sdb2
 
  5. Remove the old and now empty physical volume
  vgreduce volume_group /dev/sda3
 
  6. Move everything else which is not on LVM to your new raid. Guess you
  need to go to single user mode to do this safely.
 
  7. Grow your raid to also contain the old disk.
  mdadm /dev/md0 -a /dev/sda
 
  No, I have not tested this and you should double-check everything. No
  guarantees, etc.
 
  One warning, though: pvmove is known to create problems from time to
  time. Leaking memory, bogging systems with infinite system load and so
  on. If it gives you trouble, you can abort it with `pvmove --abort` and
  try it again later by calling `pvmove volume_group` (without physical
  device specified) to resume it. It SHOULD survive system crashes.
  Trying another kernel version sometimes helps when pvmove gives you
 trouble.

 To avoid that, with large moves, do the following:
 # pvmove -i 600 /dev/sda3

 The -i 600 means, only report every 10 minutes. It's the reporting that
 causes the memory leak.

 Also, when just wanting to empty one physical volume, it is not necessary
 to
 specify the target.
 It's a good idea to mark the PVs on the existing drive non-allocatable.
 Then
 LVM won't try to move anything to that PV:
 # pvchange -xn /dev/sda3

 The rest of the steps read correct. It's how I did a similar operation, but
 still double-check all the parameters and when in doubt, read the manual
 and/or ask on the list.

 --
 Joost Roeleveld





-- 
Best Regards,
Einux


Re: [gentoo-user] Any bought a laptop that Just Works?

2011-03-30 Thread kelly hirai
thinkpad edge i5, intel  gpu. x86_64 all good.

On 03/30/11 14:31, Robin Atwood wrote:

 I am in the market for a new laptop and would be interested if anyone
 else on the list had recently bought a laptop in which all the
 hardware worked out of the box with Linux. I am most concerned about
 WiFi/audio/webcam, the finer points of hibernation are of lesser
 concern. Currently I have a Linux Certified machine but I want to
 avoid shipping costs to the UK.



 TIA

 -Robin

 -- 

 --

 Robin Atwood.



 Ship me somewheres east of Suez, where the best is like the worst,

 Where there ain't no Ten Commandments an' a man can raise a thirst

 from Mandalay by Rudyard Kipling

 --



















 -- 

 --

 Robin Atwood.

 Ship me somewheres east of Suez, where the best is like the worst,

 Where there ain't no Ten Commandments an' a man can raise a thirst

 from Mandalay by Rudyard Kipling

 --