Re: [gentoo-user] backup sanity check

2010-08-15 Thread Adam Carter
> why backup mbr? installing grub takes less time then the backup and restore
> of
> the mbr.
>
> And dd for backups? Why wasting space? Why suffering from problems when the
> new
> harddisk has a different size?
> Just tar up everything.
>
> Ok, so is this correct?

Backup with tar;
1. boot from cd
2. mount /dev/sda1 /mnt/boot
3. cd /mnt/boot
4. tar czf /otherdisk/boot.tar.gz *
5. mount /dev/sda3 /mnt/root
6. cd /mnt/root
7. tar czf /otherdisk/root.tar.gz *

Restore;
1. Boot from cd
2. fdisk /dev/sda
3. mkfs.ext /dev/sda1
4. mkswap /dev/sda2
5. mkreiserfs /dev/sda3
6. mount /dev/sda1 /mnt/boot
7. cd /mnt/boot
8. tar xzf /otherdisk/boot.tar.gz
9. mount /dev/sda3 /mnt/root
10. cd /mnt/root
11. tar xzf /otherdisk/root.tar.gz (should i exclude anything? /proc /sys?)
12. chroot /mnt/boot
13. grub-install --no-floppy /dev/sda
14. reboot


[gentoo-user] Re: Mumble doesn't work anymore

2010-08-15 Thread Nikos Chantziaras

On 08/12/2010 07:56 PM, Nikos Chantziaras wrote:

Trying to start Mumble (version 1.2.2) aborts with:

SSL: Added CA certificates from '/etc/ssl/certs/ca-certificates.crt'
No ciphers of at least 128 bit found
Aborted


Thanks everyone for the suggestions.  Rebuilding qt-core fixed this.




[gentoo-user] genkernel without oldconfig

2010-08-15 Thread Daniel D Jones
Is there any way to run genkernel without it running the oldconfig command?  I 
can work around the issue by saving my .config file to a different name, then 
using --xconfig and loading the saved file but it would be nice to just tell it 
not to alter the existing .config file.  It may be that I'm just missing it but 
man pages and Google have not provided a solution.

-- 
"It is not materialism that is the chief curse of the world, as pastors teach, 
but idealism. Men get into trouble by taking their visions and hallucinations 
too seriously." - H.L. Mencken



Re: [gentoo-user] genkernel without oldconfig

2010-08-15 Thread Marc Joliet
Am Sun, 15 Aug 2010 12:15:57 -0400
schrieb Daniel D Jones :

> Is there any way to run genkernel without it running the oldconfig command?  
> I 
> can work around the issue by saving my .config file to a different name, then 
> using --xconfig and loading the saved file but it would be nice to just tell 
> it 
> not to alter the existing .config file.  It may be that I'm just missing it 
> but 
> man pages and Google have not provided a solution.

Yes, the configuration file has an appropriate option:

# Run 'make oldconfig' before compiling this kernel?
OLDCONFIG="no"

HTH
-- 
Marc Joliet


signature.asc
Description: PGP signature


[gentoo-user] Re: DVD borked: SysFS removed

2010-08-15 Thread James
Stroller  stellar.eclipse.co.uk> writes:


> Do you have something like /dev/dvd ? Where does it point to? Where  
> are you expecting it to point to?

NO. Should I create it? Symlink to?  
I looked here at the CD rules for udev, but nothing
I try is working. I'm not the keenest hack with udev (understatement).

http://reactivated.net/writing_udev_rules.html#example-cdrom


> I think something like /dev/sr0 is often used for optical drives these  
> days. That's what it is on my system. Please `dmesg | grep sr`. It  
> would have done you any hard to attache your entire `dmesg` output in  
> your original posting.

 # dmesg | grep sr
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
sr 2:0:0:0: Attached scsi CD-ROM sr0
sr 2:0:0:0: Attached scsi generic sg1 type 5


Dmesg:

Unfortunately, I use Gmane.org for an interface to this list.
Such posts are filter by a myriad of rules..

I can send it privately, if you like?

James






Re: [gentoo-user] write failed on dvd with growisofs

2010-08-15 Thread Roman Dobosz
On Tue, 10 Aug 2010 22:27:27 +0200
li...@gabriel-striewe.de wrote:

> I am incurring a strange problem when trying to burn DVDs. When I
> apply the command: 
> 
> # growisofs -dvd-compat -Z /dev/sr0 -R -J test/
[...]

I have the similar problem on standard kernel 2.6.34-gentoo-r1:

# growisofs -Z /dev/sr0 -R -J -V "test" /mnt/data/t
Executing 'mkisofs -R -J -V test /mnt/data/t | builtin_dd of=/dev/sr0 obs=32k 
seek=0'
Setting input-charset to 'UTF-8' from locale.
  0.74% done, estimate finish Sun Aug 15 20:56:13 2010
  1.49% done, estimate finish Sun Aug 15 20:56:13 2010
  2.23% done, estimate finish Sun Aug 15 20:56:13 2010
/dev/sr0: "Current Write Speed" is 20.5x1352KBps.
:-[ wr...@lba=10h failed with SK=5h/INVALID ADDRESS FOR WRITE]: Invalid argument
:-( write failed: Invalid argument
/dev/sr0: flushing cache
/dev/sr0: updating RMA
/dev/sr0: closing session
/dev/sr0: reloading tray

I've used Verbatim DVD-R, which I've successfully used before (like
one year before), but this time it is always like this.

My system doesn't use hald:
# /etc/init.d/hald status
 * status:  stopped

Also, cdrecord doesn't work:

# cdrecord -v -dev=4,0,0 /mnt/data/t.iso 
cdrecord: No write mode specified.
cdrecord: Assuming -sao mode.
cdrecord: If your drive does not accept -sao, try -tao.
cdrecord: Future versions of cdrecord may have different drive dependent 
defaults.
Cdrecord-ProDVD-ProBD-Clone 3.00 (i686-pc-linux-gnu) Copyright (C) 1995-2010 
Jörg Schilling
TOC Type: 1 = CD-ROM
scsidev: '4,0,0'
scsibus: 4 target: 0 lun: 0
Linux sg driver version: 3.5.34
Using libscg version 'schily-0.9'.
SCSI buffer size: 64512
atapi: 1
Device type: Removable CD-ROM
Version: 5
Response Format: 2
Capabilities   : 
Vendor_info: 'PIONEER '
Identifikation : 'DVD-RW  DVR-216D'
Revision   : '1.08'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: DVD-R sequential recording
Profile: DVD+R/DL 
Profile: DVD+R 
Profile: DVD+RW 
Profile: DVD-R/DL layer jump recording 
Profile: DVD-R/DL sequential recording 
Profile: DVD-RW sequential recording 
Profile: DVD-RW restricted overwrite 
Profile: DVD-R sequential recording (current)
Profile: DVD-ROM (current)
Profile: CD-RW 
Profile: CD-R 
Profile: CD-ROM 
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW/DVD-RAM driver (mmc_dvd).
Driver flags   : NO-CD DVD MMC-3 SWABAUDIO BURNFREE 
Supported modes: PACKET SAO LAYER_JUMP
Drive buf size : 1605632 = 1568 KB
cdrecord: Warning: Cannot read drive buffer.
cdrecord: Warning: The DMA speed test has been skipped.
FIFO size  : 4194304 = 4096 KB
Track 01: data  1313 MB
Total size: 1313 MB = 672399 sectors
Current Secsize: 2048
Total power on  hours: 75040
WARNING: Phys disk size 16 differs from rzone size 0! Prerecorded disk?
WARNING: Phys start: 196608 Phys end 196623
WARNING: Drive returns zero media size. Using media size from ADIP.
Blocks total: 16 Blocks current: -93936 Blocks remaining: -766335
cdrecord: Data does not fit on current disk.

Please, note, that ISO image have 1.2 GB so it should fit on DVD-R
I'm using Verbatim discs, which is recognized by cdrecord as:

# cdrecord -v -minfo
Cdrecord-ProDVD-ProBD-Clone 3.00 (i686-pc-linux-gnu) Copyright (C) 1995-2010 
Jörg Schilling
TOC Type: 1 = CD-ROM
Linux sg driver version: 3.5.34
Using libscg version 'schily-0.9'.
SCSI buffer size: 32768
No target specified, trying to find one...
Using dev=4,0,0.
atapi: 1
Device type: Removable CD-ROM
Version: 5
Response Format: 2
Capabilities   : 
Vendor_info: 'PIONEER '
Identifikation : 'DVD-RW  DVR-216D'
Revision   : '1.08'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: DVD-R sequential recording
Profile: DVD+R/DL 
Profile: DVD+R 
Profile: DVD+RW 
Profile: DVD-R/DL layer jump recording 
Profile: DVD-R/DL sequential recording 
Profile: DVD-RW sequential recording 
Profile: DVD-RW restricted overwrite 
Profile: DVD-R sequential recording (current)
Profile: DVD-ROM (current)
Profile: CD-RW 
Profile: CD-R 
Profile: CD-ROM 
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW/DVD-RAM driver (mmc_dvd).
Driver flags   : NO-CD DVD MMC-3 SWABAUDIO BURNFREE 
Supported modes: PACKET SAO LAYER_JUMP
Drive buf size : 1605632 = 1568 KB
cdrecord: Warning: Cannot read drive buffer.
cdrecord: Warning: The DMA speed test has been skipped.
Current Secsize: 2048
Total power on  hours: 75040
book type:   DVD-R, Version 2.0x -> 2.1 (2.5)
disc size:   120mm (0)
maximum rate:Not specified (15)
number of layers:1
track path:  Parallel Track Path (0)
layer type:  Rewritable Area (2)
linear density:  0.267 µm/bit (0)
track density:   0.74 µm/track (0)
phys start:  196608 (0x3) 
phys end:196623
end layer 0: 0
bca: 0
phys size:...16
copyr prot type: 0
region mgt info: 0
cpm: 0
cgms:0
last rma sector: 0
application code:64
physical code:   193
last rec address:16621272
part v./ext code:5/2
ind wr. power:   133
wavelength code: 13
write str. code: 0E 88 9A 80

[gentoo-user] Yahoo and strange traffic.

2010-08-15 Thread Dale

Hi folks,

I been noticing the past few weeks that something is communicating with 
Yahoo at these addresses:


cs210p2.msg.sp1.yahoo.com

rdis.msg.vip.sp1.yahoo.com

I thought it was Kopete getting some info, profile pics maybe, from the 
server.  Thing is, it does this for a really long time.  It is also 
SENDING data as well.  I have no idea why it is doing this or what it is 
sending.  I closed the Kopete app but the data still carries on.   This 
"transfer" has been going for a while now and the only way I can stop it 
is to stop the network, wait a minute or two for it to time out and then 
restart the network.


Anybody have any idea what the heck this is?  Is Yahoo up to something?  
Some new security issue that I haven't heard of?


Thanks.

Dale

:-)  :-)



Re: [gentoo-user] Yahoo and strange traffic.

2010-08-15 Thread Paul Hartman
On Sun, Aug 15, 2010 at 3:34 PM, Dale  wrote:
> Hi folks,
>
> I been noticing the past few weeks that something is communicating with
> Yahoo at these addresses:
>
> cs210p2.msg.sp1.yahoo.com
>
> rdis.msg.vip.sp1.yahoo.com
>
> I thought it was Kopete getting some info, profile pics maybe, from the
> server.  Thing is, it does this for a really long time.  It is also SENDING
> data as well.  I have no idea why it is doing this or what it is sending.  I
> closed the Kopete app but the data still carries on.   This "transfer" has
> been going for a while now and the only way I can stop it is to stop the
> network, wait a minute or two for it to time out and then restart the
> network.
>
> Anybody have any idea what the heck this is?  Is Yahoo up to something?
>  Some new security issue that I haven't heard of?

I think it's normal.

The first address is one of their pool of messaging servers and the
second is a web server, probably like you said for retrieving
additional info. The sending of data could be the http request, or
updating your status/picture/whatever kopete may be doing. You could
try blocking it and see what breaks. :)



Re: [gentoo-user] Yahoo and strange traffic.

2010-08-15 Thread BRM
- Original Message 

> On Sun, Aug 15, 2010 at 3:34 PM, Dale  wrote:
> >  Hi folks,
> > I been noticing the past few weeks that something is  communicating with
> > Yahoo at these addresses:
> >
> > cs210p2.msg.sp1.yahoo.com
> >
> > rdis.msg.vip.sp1.yahoo.com
> >
> >  I thought it was Kopete getting some info, profile pics maybe, from the
> >  server.  Thing is, it does this for a really long time.  It is also  
SENDING
> > data as well.  I have no idea why it is doing this or what  it is sending.  
I
> > closed the Kopete app but the data still carries  on.   This "transfer" has
> I think it's  normal.
> 
> The first address is one of their pool of messaging servers and  the
> second is a web server, probably like you said for  retrieving
> additional info. The sending of data could be the http request,  or
> updating your status/picture/whatever kopete may be doing. You  could
> try blocking it and see what breaks. :)

Likely true as Yahoo!'a interfaces are highly AJAX driven - with their own PHP 
oriented widget kit as well.
So if you have a web page open to any Yahoo! site that is probably what is 
doing 
it.

Ben




Re: [gentoo-user] Yahoo and strange traffic.

2010-08-15 Thread Alan McKinnon
On Sunday 15 August 2010 22:55:23 Paul Hartman wrote:
> On Sun, Aug 15, 2010 at 3:34 PM, Dale  wrote:
> > Hi folks,
> > 
> > I been noticing the past few weeks that something is communicating with
> > Yahoo at these addresses:
> > 
> > cs210p2.msg.sp1.yahoo.com
> > 
> > rdis.msg.vip.sp1.yahoo.com
> > 
> > I thought it was Kopete getting some info, profile pics maybe, from the
> > server.  Thing is, it does this for a really long time.  It is also
> > SENDING data as well.  I have no idea why it is doing this or what it is
> > sending.  I closed the Kopete app but the data still carries on.   This
> > "transfer" has been going for a while now and the only way I can stop it
> > is to stop the network, wait a minute or two for it to time out and then
> > restart the network.
> > 
> > Anybody have any idea what the heck this is?  Is Yahoo up to something?
> > 
> >  Some new security issue that I haven't heard of?
> 
> I think it's normal.
> 
> The first address is one of their pool of messaging servers and the
> second is a web server, probably like you said for retrieving
> additional info. The sending of data could be the http request, or
> updating your status/picture/whatever kopete may be doing. You could
> try blocking it and see what breaks. :)

Dale,

It could also be a weather map, or any number of widgets that get data from 
the intartubes.

netstat with -p can help track down the app that has the connection open




-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Yahoo and strange traffic.

2010-08-15 Thread Mick
On Sunday 15 August 2010 21:34:33 Dale wrote:
> Hi folks,
> 
> I been noticing the past few weeks that something is communicating with
> Yahoo at these addresses:
> 
> cs210p2.msg.sp1.yahoo.com
> 
> rdis.msg.vip.sp1.yahoo.com
> 
> I thought it was Kopete getting some info, profile pics maybe, from the
> server.  Thing is, it does this for a really long time.  It is also
> SENDING data as well.  I have no idea why it is doing this or what it is
> sending.  I closed the Kopete app but the data still carries on.   This
> "transfer" has been going for a while now and the only way I can stop it
> is to stop the network, wait a minute or two for it to time out and then
> restart the network.
> 
> Anybody have any idea what the heck this is?  Is Yahoo up to something?
> Some new security issue that I haven't heard of?

What does your netstat show with respect to ports being used and what does 
tcpdump/tcpflow show?  If it is Yahoo, you should see things that are relevant 
and hopefully make sense.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Yahoo and strange traffic.

2010-08-15 Thread Dale

BRM wrote:

- Original Message 

   

On Sun, Aug 15, 2010 at 3:34 PM, Dale  wrote:
 

  Hi folks,
I been noticing the past few weeks that something is  communicating with
Yahoo at these addresses:

cs210p2.msg.sp1.yahoo.com

rdis.msg.vip.sp1.yahoo.com

  I thought it was Kopete getting some info, profile pics maybe, from the
  server.  Thing is, it does this for a really long time.  It is also
   

SENDING
   

data as well.  I have no idea why it is doing this or what  it is sending.
   

I
   

closed the Kopete app but the data still carries  on.   This "transfer" has
   

I think it's  normal.

The first address is one of their pool of messaging servers and  the
second is a web server, probably like you said for  retrieving
additional info. The sending of data could be the http request,  or
updating your status/picture/whatever kopete may be doing. You  could
try blocking it and see what breaks. :)
 

Likely true as Yahoo!'a interfaces are highly AJAX driven - with their own PHP
oriented widget kit as well.
So if you have a web page open to any Yahoo! site that is probably what is doing
it.

Ben

   


Wouldn't it stop tho if I closed Kopete?  I'm not using Yahoo's 
messenger tho.  I don't think they have one now.


I did also trying closing Seamonkey to but the traffic continues.  I 
very rarely go to yahoo.com.


Also, this can carry on for a really long time.   This can last over 30 
minutes.


Dale

:-)  :-)



Re: [gentoo-user] Yahoo and strange traffic.

2010-08-15 Thread Peter Humphrey
On Sunday 15 August 2010 22:35:01 Dale wrote:

> Also, this can carry on for a really long time.  This can last over
> 30 minutes.

I think I'd be getting tcpdump out about now...

-- 
Rgds
Peter.  Linux Counter 5290, 1994-04-23.



Re: [gentoo-user] Yahoo and strange traffic.

2010-08-15 Thread Dale

Peter Humphrey wrote:

On Sunday 15 August 2010 22:35:01 Dale wrote:

   

Also, this can carry on for a really long time.  This can last over
30 minutes.
 

I think I'd be getting tcpdump out about now...

   


I'm going to try netstat next time.  Waiting on it to start again.

Dale

:-)  :-)



[gentoo-user] How to build a time machine on Gentoo

2010-08-15 Thread Nganon
Hello all,

My first post on the list. I thought I would start with something that I
started
to think of as 'essential' after losing 90GB of data. Now I have two main
questions in mind: what to and how to back up on gentoo most efficiently.

1. Apart from users' home directories and the followings, what should be
backed
up on a gentoo machine?
/etc/portage/
/root
/var/lib/portage
...?

2. Erm..okay, I am gonna say, what magic I want and then ask your way.
I first started making gzipped tar balls as follows:

tar czpf /media/backups/userA-`date +%Y.%m.%d`.tgz -X userA-excludelist /etc

But these can get huge especially for home dirs. I also want safe dvd
copies.
Though I can find enough space on the external drives, I don't trust them
any more. See above..sigh..(No I recovered about one third of it with
testdisk/photorec
which names them as file01 file2.. and half them are zero sized..
which
quite justifies my agony)

Here is what I wanna do. I want to have only one big backup for, say,
userA-2010.08.07.tgz and other small backup tars containing only the
files/folders that were modified since last update, 2010.08.07, as
userA-diff-2010.08.14.tgz, userA-diff-2010.08.21.tgz,
 userA-diff-2010.08.28.tgz
etc. Now if I want to take the userA back to the future, 2010.08.21,  I want
to
do it by first extracting the huge tar userA-2010.08.07.tgz and then the
tiny
backup userA-diff-2010-08-21.tgz.

But the thing is I don't know how to do this. I am hoping maybe you can tell
me
how to of it as well as a better way of doing backups.

By the way, since I want dvd backups as well, and I want to use +rw dvds so
I
can overwrite old backup after a while, what is best way of ensuring the
integrity and safety of them. Is it a good idea to use truecrypt containers?
Or
nothing tops signing and encrypting with gpg?

Thanks for any comment in advance.


Re: [gentoo-user] Re: DVD borked: SysFS removed

2010-08-15 Thread Stroller


On 15 Aug 2010, at 19:14, James wrote:

...
# dmesg | grep sr
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
sr 2:0:0:0: Attached scsi CD-ROM sr0
sr 2:0:0:0: Attached scsi generic sg1 type 5


So what happens when you try `sudo mount -v /dev/sr0 /mnt/cdrom/`?

Didn't you think to try that?

Stroller.




Re: [gentoo-user] How to build a time machine on Gentoo

2010-08-15 Thread Alex Schuster
Nganon  writes:

> Hello all,
> 
> My first post on the list. I thought I would start with something
> that I started
> to think of as 'essential' after losing 90GB of data. Now I have two
> main questions in mind: what to and how to back up on gentoo most
> efficiently.
> 
> 1. Apart from users' home directories and the followings, what should
> be backed
> up on a gentoo machine?
> /etc/portage/
> /root
> /var/lib/portage
> ...?

Wouldn't it be easier to just backup the whole / directory?
Excluding /home, /usr/portage and /var/tmp/portage?


> 2. Erm..okay, I am gonna say, what magic I want and then ask your way.
> I first started making gzipped tar balls as follows:
> 
> tar czpf /media/backups/userA-`date +%Y.%m.%d`.tgz -X
> userA-excludelist /etc
> 
> But these can get huge especially for home dirs. I also want safe dvd
> copies.
> Though I can find enough space on the external drives, I don't trust
> them any more. See above..sigh..(No I recovered about one third of it
> with testdisk/photorec
> which names them as file01 file2.. and half them are zero
> sized.. which
> quite justifies my agony)

Okay, but I don't trust DVDs. Although DVD-RAM is quite safe I heard.
But external disks are flexible, offer more space, and if you want more
security, just use yet another drive, so you are safe even if your main
drive and a backup drive fails.

I suggest you have a look at rdiff-backup. It gives you a 1:1 copy of
the source directory, but also does incremental backups, which are
stored (in compressed form) in an additional folder in the destination
directory. I would use this at least for things like /etc, where I
sometimes might want to retrieve an old version of a file. Similar to
your approach with big tar files and small ones containing the
increments.

I use a script for my backups, which I mentioned here on 2010-05-07,
subject 'Snackup'. It optionally creates LVM snapshots so I can make
backups from the running system, even if the source directory is
altered during the backup. This works on LVM only, though, and also
allows the volume to be LUKS-encrypted. It does backups by rdiff-backup,
rsync, cp, tar or dd. It may be overkill when not using the LVM
features, but still I suggest to use some script for backups, so one
does not always have to remember the backup commands. When I want to
update my backup, I enter something like 'snackup boot root home src',
and the script backs up my boot, root and home partition in the
background, and creates tar files each directory in /usr/src.


> By the way, since I want dvd backups as well, and I want to use +rw
> dvds so I can overwrite old backup after a while, what is best way of
> ensuring the integrity and safety of them. Is it a good idea to use
> truecrypt containers? Or nothing tops signing and encrypting with gpg?

I'd use DVD-RAM. The media is a little more expensive, but AFAIK they
were made with long-time backups in mind. And access is much easier,
you just copy the files as to an external drive, no need to burn ISOs.

Wonko



Re: [gentoo-user] genkernel without oldconfig

2010-08-15 Thread Daniel D Jones
On Sunday, August 15, 2010 12:45:06 Marc Joliet wrote:
> Am Sun, 15 Aug 2010 12:15:57 -0400
> 
> schrieb Daniel D Jones :
> > Is there any way to run genkernel without it running the oldconfig
> > command?  I can work around the issue by saving my .config file to a
> > different name, then using --xconfig and loading the saved file but it
> > would be nice to just tell it not to alter the existing .config file. 
> > It may be that I'm just missing it but man pages and Google have not
> > provided a solution.
> 
> Yes, the configuration file has an appropriate option:
> 
> # Run 'make oldconfig' before compiling this kernel?
> OLDCONFIG="no"
> 
> HTH

It did indeed help.  I was looking for a command line argument.  Didn't even 
think of the config file.  Thank you!

-- 
"It's not true that nice guys finish last. Nice guys are winners before the 
game even starts." - Addison Walker



[gentoo-user] Handbrake: Is it is or is it ain't in portage

2010-08-15 Thread Kevin O'Gorman
There's a program I really want to use, and I was hoping it existed in
Gentoo.
It's called handbrake.  eix can't find it.  equery cannot find it.  But
there's
a bug (#89432) filed against it, with the last comment (#111) just 4 days
ago.

So where in the portage is
handbrake-0.9.4.ebuild
?

WTF?

-- 
Kevin O'Gorman, PhD


[gentoo-user] emerge xchat fails

2010-08-15 Thread Daniel D Jones
I have xchat installed.  An update is failing to install with error:

libtool: link: cannot find the library `/usr/lib/libpng12.la' or unhandled 
argument `/usr/lib/libpng12.la'

libpng is installed:

/usr/lib$eix libpng
[I] media-libs/libpng
 Available versions:  
(1.2)   1.2.44
(0) 1.4.3
 Installed versions:  1.2.44(1.2)(06:16:49 PM 07/01/2010) 1.4.3(06:15:21 
PM 07/01/2010)

Checking the lib directory, I find:

/usr/lib/$ls libpng*
libpng12.so.0  libpng14.a  libpng14.la  libpng14.so  libpng14.so.14  
libpng14.so.14.3.0  libpng.a  libpng.la  libpng.so

Any suggestions on how I go about fixing this?

-- 
"To generalize is to be an idiot. To particularize is alone the distinction of 
merit - general knowledges are those knowledges that idiots possess." - 
William Blake



Re: [gentoo-user] Handbrake: Is it is or is it ain't in portage

2010-08-15 Thread Dale

Kevin O'Gorman wrote:
There's a program I really want to use, and I was hoping it existed in 
Gentoo.
It's called handbrake.  eix can't find it.  equery cannot find it.  
But there's
a bug (#89432) filed against it, with the last comment (#111) just 4 
days ago.


So where in the portage is handbrake-0.9.4.ebuild 
?


WTF?

--
Kevin O'Gorman, PhD



Here you go.

http://gpo.zugaina.org/media-video/handbrake

It's in a overlay.

Dale

:-)  :-)



Re: [gentoo-user] Handbrake: Is it is or is it ain't in portage

2010-08-15 Thread Stroller


On 16 Aug 2010, at 01:43, Kevin O'Gorman wrote:

There's a program I really want to use, and I was hoping it existed  
in Gentoo.
It's called handbrake.  eix can't find it.  equery cannot find it.   
But there's
a bug (#89432) filed against it, with the last comment (#111) just 4  
days ago.


So where in the portage is handbrake-0.9.4.ebuild?


To expand on Dale's answer, Handbrake is unlikely ever to be in Portage.

The Handbrake developers use the poor practice of snapshotting the  
upstream libraries they depend upon (I'm not sure if they also patch  
or modify them, instead of pushing those changes upstream) and then  
packaging those libs with Handbrake (in a particularly ugly way, too,  
one might add).


So when you install Handbrake you download a bunch of additional  
libraries (which you likely already have installed on your system) and  
it is compiled against those versions.


The correct way to do this would be for the handbrake developers to  
simply specify which libraries are required and link against the ones  
already installed on your system. If a specific version of a library  
is required - but generally speaking it shouldn't be - then that can  
be done as part of the ebuild / makefile dependency checking.


The link you posted to handbrake-0.9.4.ebuild is an ebuild. You can  
install it something like this:


# mkdir -p /usr/local/portage/media-video/handbrake/
# curl http://bugs.gentoo.org/attachment.cgi?id=229397 > \
 /usr/local/portage/media-video/handbrake/handbrake-0.9.4.ebuild
# ebuild manifest /usr/local/portage/media-video/handbrake/ 
handbrake-0.9.4.ebuild

# emerge handbrake

It's a shitty ebuild, and it has to be, because that's inherent in the  
way the Handbrake devs "package" their program, but the ebuild does  
install and work the way the Handbrake devs intended.


I would have thought you'd already know this if you had fully read bug  
#89432.


I know that transcoding is a bit of a black art, but I'm not convinced  
Handbrake is actually that good.


Stroller.




Re: [gentoo-user] emerge xchat fails

2010-08-15 Thread Gregory Shearman
In linux.gentoo.user, you wrote:
> I have xchat installed.  An update is failing to install with error:
>
> libtool: link: cannot find the library `/usr/lib/libpng12.la' or unhandled 
> argument `/usr/lib/libpng12.la'
>
> libpng is installed:
>
> /usr/lib$eix libpng
> [I] media-libs/libpng
>  Available versions:  
> (1.2)   1.2.44
> (0) 1.4.3
>  Installed versions:  1.2.44(1.2)(06:16:49 PM 07/01/2010) 1.4.3(06:15:21 
> PM 07/01/2010)
>
> Checking the lib directory, I find:
>
> /usr/lib/$ls libpng*
> libpng12.so.0  libpng14.a  libpng14.la  libpng14.so  libpng14.so.14  
> libpng14.so.14.3.0  libpng.a  libpng.la  libpng.so
>
> Any suggestions on how I go about fixing this?

Have you run:

# lafilefixer --justfixit

It looks like the libpng update has removed /usr/lib/libpng12.la and
/usr/lib/libpng.la is probably referencing this file. lafilefixer should
fix this.

You're running with both libpng 1.2 and libpng 1.4 installed. May I
suggest you read:

http://blog.flameeyes.eu/2010/06/29/stable-users-libpng-update

Do you keep a log of emerge messages so that you can fix these issues
as they arise?

The file /usr/share/portage/config/make.conf.example gives examples of
how to store all messages generated during an emerge update. These
messages can save you a lot of grief later on.

-- 
Regards,

Gregory.



Re: [gentoo-user] Handbrake: Is it is or is it ain't in portage

2010-08-15 Thread Dale

Stroller wrote:


On 16 Aug 2010, at 01:43, Kevin O'Gorman wrote:

There's a program I really want to use, and I was hoping it existed 
in Gentoo.
It's called handbrake.  eix can't find it.  equery cannot find it.  
But there's
a bug (#89432) filed against it, with the last comment (#111) just 4 
days ago.


So where in the portage is handbrake-0.9.4.ebuild?


To expand on Dale's answer, Handbrake is unlikely ever to be in Portage.

The Handbrake developers use the poor practice of snapshotting the 
upstream libraries they depend upon (I'm not sure if they also patch 
or modify them, instead of pushing those changes upstream) and then 
packaging those libs with Handbrake (in a particularly ugly way, too, 
one might add).


So when you install Handbrake you download a bunch of additional 
libraries (which you likely already have installed on your system) and 
it is compiled against those versions.


The correct way to do this would be for the handbrake developers to 
simply specify which libraries are required and link against the ones 
already installed on your system. If a specific version of a library 
is required - but generally speaking it shouldn't be - then that can 
be done as part of the ebuild / makefile dependency checking.


The link you posted to handbrake-0.9.4.ebuild is an ebuild. You can 
install it something like this:


# mkdir -p /usr/local/portage/media-video/handbrake/
# curl http://bugs.gentoo.org/attachment.cgi?id=229397 > \
 /usr/local/portage/media-video/handbrake/handbrake-0.9.4.ebuild
# ebuild manifest 
/usr/local/portage/media-video/handbrake/handbrake-0.9.4.ebuild

# emerge handbrake

It's a shitty ebuild, and it has to be, because that's inherent in the 
way the Handbrake devs "package" their program, but the ebuild does 
install and work the way the Handbrake devs intended.


I would have thought you'd already know this if you had fully read bug 
#89432.


I know that transcoding is a bit of a black art, but I'm not convinced 
Handbrake is actually that good.


Stroller.



Now I'm curious.  Basically the programmers have a crappy way of making 
their package and Gentoo doesn't need the headache?  Based on your 
explanation, I can't blame the Gentoo devs for that.   They got enough 
headaches already.


I also noticed that bug report was started about 5 years ago.  I really 
think you are right that it won't ever be added, unless the people at 
handbrake do things differently.


Didn't Googleearth start out this way tho?  I know it used to be a huge 
mess.


Dale

:-)  :-)



[gentoo-user] gentoo on laptop suggestion

2010-08-15 Thread Valmor de Almeida
Hello,

I would appreciate suggestions on what ultraportable laptop to put
gentoo on. I am looking for a desktop replacement, therefore a
powerful yet very portable machine would be ideal.

Thanks,

--
Valmor



Re: [gentoo-user] Handbrake: Is it is or is it ain't in portage

2010-08-15 Thread Kevin O'Gorman
On Sun, Aug 15, 2010 at 6:45 PM, Stroller wrote:

>
> On 16 Aug 2010, at 01:43, Kevin O'Gorman wrote:
>
>  There's a program I really want to use, and I was hoping it existed in
>> Gentoo.
>> It's called handbrake.  eix can't find it.  equery cannot find it.  But
>> there's
>> a bug (#89432) filed against it, with the last comment (#111) just 4 days
>> ago.
>>
>> So where in the portage is handbrake-0.9.4.ebuild?
>>
>
> To expand on Dale's answer, Handbrake is unlikely ever to be in Portage.
>

I don't have that yet.  Maybe it wasn't sent to the list.  But thanks for
that info.

[snippage: why Gentoo does not like handbrake, plus how to try it anyway]

>
> I would have thought you'd already know this if you had fully read bug
> #89432.
>

I might have, but reading 111 comments about a package I've never seen is
more than my brain can do,
but I had suspected something like the result: not gonna happen.

I know that transcoding is a bit of a black art, but I'm not convinced
> Handbrake is actually that good.


Well, I'm a newb in video, but it was suggested to me by someone who uses
it, so I wanted to try.

My underling thing, if anyone can make other suggestions, is that my camera
broke, and I had to get
one in a hurry, and didn't really know what to look for.  I wound up with a
fairly good Sanyo 1080p camera
and video recorder that's super light, and not too expensive.  The problem
is that its videos are MP4s,
which are definitely not ready to put on a web site, and I know nothing
about transcoding.   My previous
camera took acceptable .avi videos, which had worked with most folks
browsers.  The MP4s are huge
and in a weakly supported format.

I'm somewhere on the learning curve, obviously, but having trouble getting
coherent advice.

Kevin O'Gorman, PhD


Re: [gentoo-user] gentoo on laptop suggestion

2010-08-15 Thread Thomas Yao
On Mon, Aug 16, 2010 at 10:57 AM, Valmor de Almeida
 wrote:
> Hello,
>
> I would appreciate suggestions on what ultraportable laptop to put
> gentoo on. I am looking for a desktop replacement, therefore a
> powerful yet very portable machine would be ideal.
>
> Thanks,
>
> --
> Valmor
>
>

Thinkpad is perfect, I strongly recommend you buy Thinkpad X/T series
to hack gentoo or any other Linux distros with it.
And this website will prove me right: http://www.thinkwiki.org/
You gotta love it~

-- 
@ghosTM55
Mechanism, not policy



[gentoo-user] dmesg warning about mtrr: type mismatch and allocation failed

2010-08-15 Thread Walter Dnes
  I'm running 64-bit Gentoo on an Intel 4-core i3 with an Intel integrated
graphics controller.  An excerpt from dmesg follows, with the video-
related stuff.  Note the two lines that I've split off.  They mention
the mtrr type mismatch and the allocation failure.  Is this a problem
and if so, what do I do about it?

[0.519939] Linux agpgart interface v0.103
[0.520016] agpgart-intel :00:00.0: Intel HD Graphics Chipset
[0.520842] agpgart-intel :00:00.0: detected 131068K stolen memory
[0.580462] agpgart-intel :00:00.0: AGP aperture is 256M @ 0xd000
[0.580740] input: Power Button as 
/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
[0.582896] ACPI: Power Button [PWRB]
[0.582986] input: Power Button as 
/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
[0.583063] ACPI: Power Button [PWRF]
[0.583301] Monitor-Mwait will be used to enter C-1 state
[0.583314] Monitor-Mwait will be used to enter C-3 state
[0.583325] Monitor-Mwait will be used to enter C-3 state
[0.586808] [drm] Initialized drm 1.1.0 20060810
[0.586877] i915 :00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[0.586934] i915 :00:02.0: setting latency timer to 64

[0.608643] mtrr: type mismatch for d000,1000 old: write-back new: 
write-combining
[0.608725] [drm] MTRR allocation failed.  Graphics performance may suffer.

[0.608815] i915 :00:02.0: irq 26 for MSI/MSI-X
[0.608819] [drm] set up 127M of stolen space
[0.946741] Console: switching to colour frame buffer device 240x75
[0.952156] fb0: inteldrmfb frame buffer device
[0.952176] registered panic notifier
[0.952208] [drm] Initialized i915 1.6.0 20080730 for :00:02.0 on minor 0

  And here is an excerpt from "lspci -vv"

00:02.0 VGA compatible controller: Intel Corporation Clarkdale
Integrated Graphics Controller (rev 12) (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. Device 7636
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR-  [disabled]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Address: fee0f00c  Data: 4161
Capabilities: [d0] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [a4] PCI Advanced Features
AFCap: TP+ FLR+
AFCtrl: FLR-
AFStatus: TP-
Kernel driver in use: i915

-- 
Walter Dnes 



[gentoo-user] Re: DVD borked: SysFS removed

2010-08-15 Thread James
Stroller  stellar.eclipse.co.uk> writes:


> So what happens when you try `sudo mount -v /dev/sr0 /mnt/cdrom/`?

mount -v /dev/sr0 /mnt/cdrom/
mount: you didn't specify a filesystem type for /dev/sr0
   I will try all types mentioned in /etc/filesystems or /proc/filesystems
Trying msdos
mount: mount point /mnt/cdrom/ does not exist





Re: [gentoo-user] gentoo on laptop suggestion

2010-08-15 Thread Valmor de Almeida
On Sun, Aug 15, 2010 at 11:05 PM, Thomas Yao  wrote:
[snip]
>
> Thinkpad is perfect, I strongly recommend you buy Thinkpad X/T series
> to hack gentoo or any other Linux distros with it.
> And this website will prove me right: http://www.thinkwiki.org/
> You gotta love it~
>
> --
> @ghosTM55
> Mechanism, not policy
>
>

Thanks for pointing this out. It seems the X series is what I need.

Regards,

--
Valmor



Re: [gentoo-user] gentoo on laptop suggestion

2010-08-15 Thread Thomas Yao
On Mon, Aug 16, 2010 at 12:13 PM, Valmor de Almeida
 wrote:
> On Sun, Aug 15, 2010 at 11:05 PM, Thomas Yao  wrote:
> [snip]
>>
>> Thinkpad is perfect, I strongly recommend you buy Thinkpad X/T series
>> to hack gentoo or any other Linux distros with it.
>> And this website will prove me right: http://www.thinkwiki.org/
>> You gotta love it~
>>
>> --
>> @ghosTM55
>> Mechanism, not policy
>>
>>
>
> Thanks for pointing this out. It seems the X series is what I need.
>
> Regards,
>
> --
> Valmor
>
>

Good choice , mine is X61 :)
Good luck

-- 
@ghosTM55
Mechanism, not policy



Re: [gentoo-user] Handbrake: Is it is or is it ain't in portage

2010-08-15 Thread Indexer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

> 
> Well, I'm a newb in video, but it was suggested to me by someone who uses
> it, so I wanted to try.

Mplayer comes with a program called mencoder, which will do your video 
encoding. Its a bit more "hands on" but it is excellent once you learn it.

> 
> My underling thing, if anyone can make other suggestions, is that my camera
> broke, and I had to get
> one in a hurry, and didn't really know what to look for.  I wound up with a
> fairly good Sanyo 1080p camera
> and video recorder that's super light, and not too expensive.  The problem
> is that its videos are MP4s,
> which are definitely not ready to put on a web site, and I know nothing
> about transcoding.   My previous
> camera took acceptable .avi videos, which had worked with most folks
> browsers.  The MP4s are huge
> and in a weakly supported format.

IIRC, isnt MP4 just a container? what are the video codecs and audio codecs in 
the file? If they are 264 and mp3, you should be able to use HTML5 for them 
natively. 

MP4 is actually gaining alot of support in many OSes due to it being part of 
the HTML5 spec. 

If you need help with video transcoding, i'm happy to assist you as it makes up 
a small part of what i do in the work place. Just send me an email. 
(inde...@internode.on.net)

The basic run down is that you have a container format, that holds an audio and 
video stream. the container, has no part to play in what the video or audio 
codecs are, only the storage of subtitles and other metadata. 

Generally, with a program like mencoder you would use mencoder -vo  -ao  -o file.

In the majority of cases, it is the video codec, not the container that holds 
the issues, especially with the use of weird video codecs. (such as myself who 
is fighting with someone convinced they want to use real video still .)

Thus if your camera is producing MP4, you should find out what video and audio 
codecs it is outputting. This can be done with mplayer from the command line, 
as when it opens a file it gives output similar to this

bash-3.2$ mplayer /Volumes/Storage/Videos/Butterfly_Total_Remix_Pro.flv 
MPlayer UNKNOWN-4.2.1 (C) 2000-2009 MPlayer Team
141 audio & 304 video codecs

Playing /Volumes/Storage/Videos/Butterfly_Total_Remix_Pro.flv.
libavformat file format detected.
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO:  [FLV1]  320x240  0bpp  24.000 fps  336.4 kbps (41.1 kbyte/s)
Clip info:
 duration: 229
 videodatarate: 329
 lastkeyframetimestamp: 229
 lastkeyframelocation: 9435531
 creator: YouTube, Inc.
 metadatacreator: YouTube Metadata Injector.
 haskeyframes: true
 hasmetadata: true
==
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffflv] vfm: ffmpeg (FFmpeg Flash video)
==
==
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 22050 Hz, 2 ch, s16le, 8.0 kbit/1.13% (ratio: 1000->88200)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==
AO: [coreaudio] 22050Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 5 -> 4
[swscaler @ 0x100838a00]BICUBIC scaler, from yuv420p to yuyv422 using MMX2
[swscaler @ 0x100838a00]using 4-tap MMX scaler for horizontal luminance scaling
[swscaler @ 0x100838a00]using 4-tap MMX scaler for horizontal chrominance 
scaling
[swscaler @ 0x100838a00]using n-tap MMX scaler for vertical scaling (BGR)
[swscaler @ 0x100838a00]320x240 -> 320x240
VO: [corevideo] 320x240 => 320x240 Packed YUY2 
[ASPECT] Warning: No suitable new res found!
A:   3.2 V:   3.2 A-V: -0.007 ct:  0.184   0/  0  2%  5%  2.2% 0 0 

MPlayer interrupted by signal 2 in module: sleep_timer
A:   3.3 V:   3.2 A-V:  0.050 ct:  0.188   0/  0  2%  5%  2.2% 0 0 
Exiting... (Quit)

The sections you are interested in, are between the   signs. They tell you 
it is a Flash video, with MP3 audio. You can also see it is a flash container. 
It may be worth running one of your videos with mplayer to find what codecs 
they are using.

> 
> I'm somewhere on the learning curve, obviously, but having trouble getting
> coherent advice.

Yes, its always difficult to work out the good from the bad. Im sure we have 
all been at that stage, and its why email lists like this are here to help. You 
get