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

2010-08-16 Thread Stroller


On 16 Aug 2010, at 04:02, Kevin O'Gorman wrote:

...
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.


MP4 is a much better container format than .avi.

I previously discussed this a little in July's viewing .m4v files  
with totem thread:

http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg103363.html

Use the `mplayer -identify` command given there to determine the codec  
of your video.


Stroller.





Re: [gentoo-user] Problem with revdep-rebuild

2010-08-16 Thread Massimiliano Ziccardi
Thanks all.
Installing portage 2 and uninstalling some other package now I'm able to
update the system.

I've uninstalled xfce, firefox (??!) and kde.

Now the update seems to proceed. Then I'll reinstall everything.

However, I tried emerge belong on my system, but it gave me no output:


# equery belongs /usr/lib/libxfce4util.la
[ Searching for file(s) /usr/lib/libxfce4util.la in *... ]
#

On Sat, Aug 14, 2010 at 3:26 AM, Jake Moe jakesaddr...@gmail.com wrote:

  On 08/13/10 23:50, Alex Schuster wrote:
  Massimiliano Ziccardi writes:
 
  I'm trying to update my gentoo after a long time.
  That tends to be more problematic than regular updates.
 
  I tried the update (emerge -uD world) but I got some problem about
  conflicting and missing libraries, so I've uninstalled some software.
  portage 2.2 may ease these things, it does some automatic blocker
  resolution (does not work always for me, but most of the times). It is
  still masked, but people use it for far over a year now, and I did not
  read about big problems.
 
 
  When it tries to emerge xfce4-panel it always gives this error during
  the build process:
 
  /usr/lib/libxfce4util.la: No such file or directory
 
  I tried to re-emerge the libxfce4util package, but with no luck : that
  file do not exists!!!
 
  Any idea?
  Maybe give 'lafilefixer --justfixit' a try? Emerge lafilefixer if you do
  not have it already.
 
  Have you read all he elog messages? They sometimes tell about additional
  manual steps that have to be done.
 
Wonko
 Well, on my system, that file does belong to libxfce4util:

 j...@aus8617 ~ $ equery belongs /usr/lib/libxfce4util.la
 [ Searching for file(s) /usr/lib/libxfce4util.la in *... ]
 xfce-base/libxfce4util-4.6.2 (/usr/lib/libxfce4util.la)

 What does the screen say when it gets to the install phase of emerge?
 Any errors there, especially with that file?

 Jake Moe




Re: [gentoo-user] Problem with revdep-rebuild

2010-08-16 Thread Dale

Massimiliano Ziccardi wrote:

Thanks all.
Installing portage 2 and uninstalling some other package now I'm able 
to update the system.


I've uninstalled xfce, firefox (??!) and kde.

Now the update seems to proceed. Then I'll reinstall everything.

However, I tried emerge belong on my system, but it gave me no output:


# equery belongs /usr/lib/libxfce4util.la http://libxfce4util.la
[ Searching for file(s) /usr/lib/libxfce4util.la 
http://libxfce4util.la in *... ]

#



Equery doesn't give any results because it is not installed.  When you 
need to know what package gives you a file or command, try this:


http://www.portagefilelist.de/index.php/Special:PFLQuery2?file=%2Fusr%2Flib%2Flibxfce4util.lasearchfile=lookuplookup=file#result

That also shows what package that file belongs to.

Dale

:-)  :-)



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

2010-08-16 Thread Marco
On Mon, Aug 16, 2010 at 1:11 AM, Nganon nganon+gen...@gmail.com wrote:
 [...]
 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.

backup2l can do exactly what you want:

http://backup2l.sourceforge.net/

HTH!

--
Marco



Re: [gentoo-user] Problem with revdep-rebuild

2010-08-16 Thread Peter Humphrey
On Monday 16 August 2010 09:13:29 Dale wrote:
 Massimiliano Ziccardi wrote:
  # equery belongs /usr/lib/libxfce4util.la http://libxfce4util.la
  [ Searching for file(s) /usr/lib/libxfce4util.la
  http://libxfce4util.la in *... ]
  #
  
 
 Equery doesn't give any results because it is not installed.

If it weren't installed it wouldn't be able to announce what it was 
searching for and where   :-)

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



Re: [gentoo-user] Problem with revdep-rebuild

2010-08-16 Thread Massimiliano Ziccardi

 Some new people think it knows where things come from even if it is not
 installed.  It can't do that so I posted that in case the person didn't
 know.


Well, I'm not very expert about gentoo... I though it would query some kind
of database to ask what package contains a certain file

Now I know it works differently...

It would be neat if it could do that tho.  Just have no idea how it could.
  ;-)


I think querying an online database could be a nice solution.

Thanks!

On Mon, Aug 16, 2010 at 11:38 AM, Dale rdalek1...@gmail.com wrote:

 Peter Humphrey wrote:

 On Monday 16 August 2010 09:13:29 Dale wrote:


 Massimiliano Ziccardi wrote:


 # equery belongs /usr/lib/libxfce4util.lahttp://libxfce4util.la
 [ Searching for file(s) /usr/lib/libxfce4util.la
 http://libxfce4util.la  in *... ]
 #
 


 Equery doesn't give any results because it is not installed.


 If it weren't installed it wouldn't be able to announce what it was
 searching for and where   :-)




 Some new people think it knows where things come from even if it is not
 installed.  It can't do that so I posted that in case the person didn't
 know.  Then I posted a way to find out even if a package is not installed.
  I didn't know about that website until someone pointed it out to me many
 ages ago.

 It would be neat if it could do that tho.  Just have no idea how it could.
  ;-)

 Dale

 :-)  :-)




Re: [gentoo-user] Problem with revdep-rebuild

2010-08-16 Thread Alan McKinnon
On Monday 16 August 2010 11:38:17 Dale wrote:
 Peter Humphrey wrote:
  On Monday 16 August 2010 09:13:29 Dale wrote:
  Massimiliano Ziccardi wrote:
  # equery belongs /usr/lib/libxfce4util.lahttp://libxfce4util.la
  [ Searching for file(s) /usr/lib/libxfce4util.la
  http://libxfce4util.la  in *... ]
  #
  
  
  Equery doesn't give any results because it is not installed.
  
  If it weren't installed it wouldn't be able to announce what it was
  searching for and where   :-)
 
 Some new people think it knows where things come from even if it is not
 installed.  It can't do that so I posted that in case the person didn't
 know.  Then I posted a way to find out even if a package is not
 installed.  I didn't know about that website until someone pointed it
 out to me many ages ago.
 
 It would be neat if it could do that tho.  Just have no idea how it
 could.  ;-)

It would have to consult a database of file-package mappings. For already 
installed packages, it simply looks in /var/ locally - an excellent high-
quality database of such already exists there :-)

For not already installed packages, it would have to look out on the 
intartubes for the site you mentioned or something similar. A portage dev 
would have to be batshit insane to even try that as the results are fuzzy. 
There are filename collisions to deal with, plus the fact that you don't know 
what a package installs till someone builds it. And then there's the carnage 
caused by USE flags - my list of installed files for a package is likely 
different to yours.

A hallmark of portage is that it deals in definitive data - results are always 
exact, unambiguous and deterministic - especially deterministic.

Google for instance, is none of these things. Google results are good 
enough. Mixing portage's view of data with google's view of data will break 
portage is many many horrible ways and make your life (as someone who helps 
others on this list) miserable - users *will* trust such a lookup tool to be 
definitive.

Which all goes to say you should resist the creation of any such lookup tool 
with every fibre of your being :-)


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Problem with revdep-rebuild

2010-08-16 Thread Peter Humphrey
On Monday 16 August 2010 10:38:17 Dale wrote:

 I didn't know about that website until someone pointed it out to me
 many ages ago.

I didn't either until you mentioned it, for which thanks.

:-)

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



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

2010-08-16 Thread Nganon
On 16 August 2010 03:15, Alex Schuster wo...@wonkology.org wrote:

 Nganon nganon+gen...@gmail.com nganon%2bgen...@gmail.com 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?

 Yes but that would not solve my huge backup file problem, would it?


   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 did not give a thought to DVD-RAM before. Will give it a try. Thanks.

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 just emerged and tried it. Seems like incremental backups was what I
was looking for. But from what I see, it is mirroring the src to dist and
storing the metadata/stats of increments as archived. Maybe there is an
option to archive increments along side their metadata as well. I will keep
playing with it.

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.

 I found the thread and script. I am gonna take a look at it. Once I decide
on
how to backup, I am gonna cron a script for it.


   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


Thanks for the advises.


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

2010-08-16 Thread Nganon
On 16 August 2010 11:36, Marco listwo...@gmail.com wrote:

 On Mon, Aug 16, 2010 at 1:11 AM, Nganon 
 nganon+gen...@gmail.comnganon%2bgen...@gmail.com
 wrote:
  [...]
  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.

 backup2l can do exactly what you want:

 http://backup2l.sourceforge.net/


Nice one indeed. Exactly does what I want. It is also good that the backups
can be use without the program itself.

It does not seem to be updated since 2009 but I will give it a try.

Thanks


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

2010-08-16 Thread Joerg Schilling
Roman Dobosz gry...@op.pl wrote:

 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.

It seems that the workaround for the Pioneer firmware bug does not handle the 
multi-border case.

 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
 Manufacturer:   'MCC 03RG20  '
 rzone size: 36
 rzone number:   1
 border number:  1
 ljrs:   0
 track mode: 4 copy: 0
 damage: 0
 reserved track: 0 blank: 0 incremental: 1 fp: 0
 data mode:  1
 lra valid:  1
 nwa valid:  0
 rzone start:0
 next wr addr:   0
 free blocks:0
 blocking factor:16
 rzone size: 65264
 last recorded addr: 15

 Capacity  Blklen/Sparesz.  Format-type  Type
65264 2048 0x00  Formatted Media
 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.
 Mounted media class:  DVD
 Mounted media type:   DVD-R sequential recording
 Disk Is not 

Re: [gentoo-user] Increasing security [WAS: Rooted/compromised Gentoo, seeking advice [Solved?]

2010-08-16 Thread Bill Longman
On 08/14/2010 12:32 PM, Jarry wrote:
 On 13. 8. 2010 21:05, Enrico Weigelt wrote:
 * Bill Longmanbill.long...@gmail.com  wrote:

 Basically just run VMWare/Virtualbox etc and put the services in there.

 well, these solutions are way bigger (iow: more resource
 intensive), since they run a complete operation system instance
 within the virtual machine.
 
 That is why I picked up Linux-VServer (actually, first I tried
 OpenVZ but could not make it run). It is a kind of compromise,
 where all guests share the same kernel. This brings certain
 security implications, but on the other side, I can run dozens
 of guest on a moderate machine, with 4-cores and 8GB memory
 (i.e. a guest running bind takes just about 20MB of memory)...

This looks rather interesting, Jarry. Is it simply a matter of compiling
the vserver-sources and util-vserver? Did it take much time to set up
the kernel for your box? Or is it pretty much a typical kernel setup?
Any good tools in the util-vserver package?

 The only service running on my host (main system) is sshd,
 which I secured as much as I could. Everything else (web, mail,
 dns, ftp, syslog, X, and plenty of users' services) runs on its
 own guest-system, chrooted in addition (where it was possible).

Sounds very efficient.

TIA,

Bill



Re: [gentoo-user] backup sanity check

2010-08-16 Thread Bill Longman
On 08/15/2010 01:11 AM, Adam Carter wrote:
 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 *

No, you do not want to use *, you want to use . Remember that the shell
expands * and you will be at the mercy of whatever happens to exist in
that directory. Using * you will miss all dot files. Here's the
command you want:

tar czf /otherdisk/boot.tar.gz .

 5. mount /dev/sda3 /mnt/root
 6. cd /mnt/root
 7. tar czf /otherdisk/root.tar.gz *

Same as above, use . not *.

 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?)

Yeah, probably, but most times it's just as easy to just delete them
after you've restored them. You're still booted from the CD after all

 12. chroot /mnt/boot
 13. grub-install --no-floppy /dev/sda
 14. reboot

In the perfect world, you'll be running fine from here. Let us know how
reality compares, though!




Re: [gentoo-user] genkernel without oldconfig

2010-08-16 Thread Bill Longman
On 08/15/2010 05:32 PM, Daniel D Jones wrote:
 On Sunday, August 15, 2010 12:45:06 Marc Joliet wrote:
 Am Sun, 15 Aug 2010 12:15:57 -0400

 schrieb Daniel D Jones ddjo...@riddlemaster.org:
 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!

I've never seen this before, either. Thanks for the tip, Marc.

Daniel, how do you use genkernel? I've found that I need to run make
oldconfig or, my preference, make silentoldconfig by hand before I
ever use genkernel. I copy my old .config to the new kernel directory,
run silentoldconfig, then I run genkernel. Is that the problem you're
facing or do you see changes between invocations of genkernel?




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

2010-08-16 Thread Bill Longman
On 08/15/2010 08:02 PM, Kevin O'Gorman wrote:
 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.

I know several big-brained video geeks and most of them just use
mplayer's mencoder app to do their transcoding. Or they write their own
code. Your choice.



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

2010-08-16 Thread Bill Longman
On 08/15/2010 09:07 PM, James wrote:
 Stroller stroller at 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

So, there are two problems but the most serious one right now is that
you don't have the /mnt/cdrom directory. Make it. That will solve the
first problem.

The second is that you need to tell mount that the disk in your CD
drive has an iso9660 filesystem on it so it doesn't get all confused.
Use this command, then, to mount the disk:

mount -t iso9660 /dev/sr0 /mnt/cdrom

Make sure you really do have a disk with stuff on it in the drive.



Re: [gentoo-user] Problem with revdep-rebuild

2010-08-16 Thread Bill Longman
On 08/16/2010 02:57 AM, Alan McKinnon wrote:
lots of good stuff snipped
 Which all goes to say you should resist the creation of any such lookup tool 
 with every fibre of your being :-)

Alan, if I ever get near your part of your continent, I'm going to buy
you a beer



Re: [gentoo-user] Increasing security [WAS: Rooted/compromised Gentoo, seeking advice [Solved?]

2010-08-16 Thread Mark Knecht
On Mon, Aug 16, 2010 at 7:16 AM, Bill Longman bill.long...@gmail.com wrote:
 On 08/14/2010 12:32 PM, Jarry wrote:
 On 13. 8. 2010 21:05, Enrico Weigelt wrote:
 * Bill Longmanbill.long...@gmail.com  wrote:

 Basically just run VMWare/Virtualbox etc and put the services in there.

 well, these solutions are way bigger (iow: more resource
 intensive), since they run a complete operation system instance
 within the virtual machine.

 That is why I picked up Linux-VServer (actually, first I tried
 OpenVZ but could not make it run). It is a kind of compromise,
 where all guests share the same kernel. This brings certain
 security implications, but on the other side, I can run dozens
 of guest on a moderate machine, with 4-cores and 8GB memory
 (i.e. a guest running bind takes just about 20MB of memory)...

 This looks rather interesting, Jarry. Is it simply a matter of compiling
 the vserver-sources and util-vserver? Did it take much time to set up
 the kernel for your box? Or is it pretty much a typical kernel setup?
 Any good tools in the util-vserver package?

 The only service running on my host (main system) is sshd,
 which I secured as much as I could. Everything else (web, mail,
 dns, ftp, syslog, X, and plenty of users' services) runs on its
 own guest-system, chrooted in addition (where it was possible).

 Sounds very efficient.

 TIA,

 Bill

Certainly looks interesting.

I guess the baselayout-vserver packages is somehow for setting up each
of the guests?

QUESTION: Where does X run? In the host or separate copies in each guest?

For a long time I've wanted to set up a single piece of hardware for
my parents, but with two screens, two keyboards, two mice. Each user
would have what they expect in front of them physically but it's
really a single computer. Can that be done using this software?

Thanks,
Mark



Re: [gentoo-user] Increasing security [WAS: Rooted/compromised Gentoo, seeking advice [Solved?]

2010-08-16 Thread Jarry

On 16. 8. 2010 17:29, Mark Knecht wrote:

On Mon, Aug 16, 2010 at 7:16 AM, Bill Longmanbill.long...@gmail.com:


That is why I picked up Linux-VServer (actually, first I tried
OpenVZ but could not make it run). It is a kind of compromise,
where all guests share the same kernel. This brings certain
security implications, but on the other side, I can run dozens
of guest on a moderate machine, with 4-cores and 8GB memory
(i.e. a guest running bind takes just about 20MB of memory)...


This looks rather interesting, Jarry. Is it simply a matter of compiling
the vserver-sources and util-vserver? Did it take much time to set up
the kernel for your box? Or is it pretty much a typical kernel setup?
Any good tools in the util-vserver package?


vserver-sources and util-vserver was all I needed. Kernel is
pretty much like common, with ~10 additional options. util-vserver
contains handy tools, like v* (* being emerge, esync, kill,
limit, mount, ps, sched, etc.). Updating all gentoo-guests can be
done with one command executed in host...


Sounds very efficient.


Really is. Now I'm running 27 guests, mostly gentoo but also
some ubuntu and opensuse. Actually, it is possible to run any
linux-based system (as I said all systems share the same kernel).
There is also pretty good control over resources allocated
to individual guests (disk, memory, cpu).

Administration is very comfortable. Tasks like clonning,
backup/restore, moving, migration, etc, are very easy to...


I guess the baselayout-vserver packages is somehow for setting up each
of the guests?


Guests are installed using customised stage3 (baselayout2-based).
After that, you work with them as with normal gentoo-system.


QUESTION: Where does X run? In the host or separate copies in each guest?


If you need X, you can create a special guest for it, and run X
there. The only thing which must run in host are kernel-modules
(i.e. nvidia driver). I tested this only as an experiment, but
it works. I've heard of someone running X+Wine in vserver-guest.
It is also possible to run X+VMware+Windows in vserver-guest...


For a long time I've wanted to set up a single piece of hardware for
my parents, but with two screens, two keyboards, two mice. Each user
would have what they expect in front of them physically but it's
really a single computer. Can that be done using this software?


Frankly, I do not know. But for each guest you can setup different
tty and IP, so maybe it would be possible. Though I think maybe
some kind of terminal server would be more suitable...

Jarry

--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] Increasing security [WAS: Rooted/compromised Gentoo, seeking advice [Solved?]

2010-08-16 Thread Bill Longman
On 08/16/2010 09:07 AM, Jarry wrote:
 On 16. 8. 2010 17:29, Mark Knecht wrote:
 On Mon, Aug 16, 2010 at 7:16 AM, Bill Longmanbill.long...@gmail.com:

 That is why I picked up Linux-VServer (actually, first I tried
 OpenVZ but could not make it run). It is a kind of compromise,
 where all guests share the same kernel. This brings certain
 security implications, but on the other side, I can run dozens
 of guest on a moderate machine, with 4-cores and 8GB memory
 (i.e. a guest running bind takes just about 20MB of memory)...

 This looks rather interesting, Jarry. Is it simply a matter of compiling
 the vserver-sources and util-vserver? Did it take much time to set up
 the kernel for your box? Or is it pretty much a typical kernel setup?
 Any good tools in the util-vserver package?
 
 vserver-sources and util-vserver was all I needed. Kernel is
 pretty much like common, with ~10 additional options. util-vserver
 contains handy tools, like v* (* being emerge, esync, kill,
 limit, mount, ps, sched, etc.). Updating all gentoo-guests can be
 done with one command executed in host...
 
 Sounds very efficient.
 
 Really is. Now I'm running 27 guests, mostly gentoo but also
 some ubuntu and opensuse. Actually, it is possible to run any
 linux-based system (as I said all systems share the same kernel).
 There is also pretty good control over resources allocated
 to individual guests (disk, memory, cpu).
 
 Administration is very comfortable. Tasks like clonning,
 backup/restore, moving, migration, etc, are very easy to...
 
 I guess the baselayout-vserver packages is somehow for setting up each
 of the guests?
 
 Guests are installed using customised stage3 (baselayout2-based).
 After that, you work with them as with normal gentoo-system.

The Gentoo version of Solaris Zones! w00t!



Re: [gentoo-user] gentoo on laptop suggestion

2010-08-16 Thread Fernando Antunes
On Mon, Aug 16, 2010 at 1:47 AM, Thomas Yao t.yao...@gmail.com wrote:

 On Mon, Aug 16, 2010 at 12:13 PM, Valmor de Almeida
 val.gen...@gmail.com wrote:
  On Sun, Aug 15, 2010 at 11:05 PM, Thomas Yao t.yao...@gmail.com 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~


I suggest Thinkpad too. My T61 works very fine.

 
  --
  @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




[gentoo-user] emerge 32bits on 64bits platform

2010-08-16 Thread Stéphane Guedon
I have read several things about this, but never really solved !

Can I emerge a 32bits software on 64bits platform with a multilib profile ?

All my web browsers (konqueror, opera, chromium, firefox) are 64bits, whereas 
flash player exist currently in 32bits. So, I need to have 32bits browser ! Can 
I emerge ?

Thanks !
-- 
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc


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


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

2010-08-16 Thread Roman Dobosz
On Mon, 16 Aug 2010 14:29:45 +0200
joerg.schill...@fokus.fraunhofer.de (Joerg Schilling) wrote:


 It seems that the workaround for the Pioneer firmware bug does not handle the 
 multi-border case.

So, it means, that this is hardware failure?

  Track  Sess Type   Start Addr End Addr   Size
  ==
  1 1 Data   0  65263  65264 -1
  2 2 Blank  93952  22978872203936  28688
 
  Last session start address: 0
  Last session leadout start address: 65264
  Next writable address:  93952
  Remaining writable size:2203936
 
 The media was written before and seems to be appendable.
 Is this what you intend to do?

Uuups :) it seems that I have tried this on already damaged DVD-R.
Here is output from blank disk:

# 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 
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:0
end layer 0: 0
bca: 0
phys size:...-196607
copyr prot type: 0
region mgt info: 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
Manufacturer:   'MCC 03RG20  '
rzone size: 36
rzone number:   1
border number:  1
ljrs:   0
track mode: 4 copy: 0
damage: 0
reserved track: 0 blank: 1 incremental: 0 fp: 0
data mode:  1
lra valid:  0
nwa valid:  1
rzone start:0
next wr addr:   0
free blocks:2298496
blocking factor:16
rzone size: 2298496
last recorded addr: 0

Capacity  Blklen/Sparesz.  Format-type  Type
 4101552 2048 0x00  No Media Present or Unknown Capacity
Mounted media class:  DVD
Mounted media type:   DVD-R sequential recording
Disk Is not erasable
data type:standard
disk status:  empty
session status:   empty
BG format status: none
first track:  1
number of sessions:   1
first track in last sess: 1
last track in last sess:  1
Disk Is unrestricted
Disk type: DVD, HD-DVD or BD

Track  Sess Type   Start Addr End Addr   Size
==
1 1 Blank  0  22984952298496 -1

Next writable address:  0
Remaining writable size:2298496


-- 
  -^-  _coś tam w tle sobie gra, np:
   _ /O)_\//Blindead - Phaze I: Abyss
  (_(|__(_(_) grf.  



Re: [gentoo-user] emerge 32bits on 64bits platform

2010-08-16 Thread Johannes Kimmel

On 08/16/2010 08:13 PM, Stéphane Guedon wrote:

I have read several things about this, but never really solved !

Can I emerge a 32bits software on 64bits platform with a multilib profile ?

All my web browsers (konqueror, opera, chromium, firefox) are 64bits, whereas
flash player exist currently in 32bits. So, I need to have 32bits browser ! Can
I emerge ?

Thanks !


Not exactly. You can use www-plugins/nspluginwrapper to use 32bit 
plugins in a 64bit browser.
But yes, you can emerge www-client/firefox-bin. This is a precompiled 
32bit firefox, that runs the flashplugin without nspluginwrapper.


That should at least answer one question :)

Greetings

Johannes Kimmel



Re: [gentoo-user] emerge 32bits on 64bits platform

2010-08-16 Thread Stéphane Guedon
Le Monday 16 August 2010 21:39:13, Johannes Kimmel a écrit :
 On 08/16/2010 08:13 PM, Stéphane Guedon wrote:
  I have read several things about this, but never really solved !
  
  Can I emerge a 32bits software on 64bits platform with a multilib profile
  ?
  
  All my web browsers (konqueror, opera, chromium, firefox) are 64bits,
  whereas flash player exist currently in 32bits. So, I need to have
  32bits browser ! Can I emerge ?
  
  Thanks !
 
 Not exactly. You can use www-plugins/nspluginwrapper to use 32bit
 plugins in a 64bit browser.
 But yes, you can emerge www-client/firefox-bin. This is a precompiled
 32bit firefox, that runs the flashplugin without nspluginwrapper.
 
 That should at least answer one question :)
 
 Greetings
 
 Johannes Kimmel

nspluginwrapper currently doesn't allow flash player to work, don't know why...

-- 
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc


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


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

2010-08-16 Thread Roman Dobosz
On Mon, 16 Aug 2010 20:54:02 +0200
Roman Dobosz gry...@op.pl wrote:

 Vendor_info: 'PIONEER '
 Identifikation : 'DVD-RW  DVR-216D'
 Revision   : '1.08'

Damn. So this was really Pioneer (and partially my) fault. After
firmware upgrading, cdrecord is working just fine. Unfortunately
growisofs doesn't work :/ Seems that I'll stick with cdrecord
instead.

Thanks for your help, Jörg - after all you've directed my thoughts
about firmware :)

-- 
  -^-  _coś tam w tle sobie gra, np:
   _ /O)_\//Blindead - Phaze III: Blood Bond
  (_(|__(_(_) grf.  



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

2010-08-16 Thread Kevin O'Gorman
On Mon, Aug 16, 2010 at 12:35 AM, Stroller
strol...@stellar.eclipse.co.ukwrote:


 On 16 Aug 2010, at 04:02, Kevin O'Gorman wrote:

 ...

 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.


 MP4 is a much better container format than .avi.

 I previously discussed this a little in July's viewing .m4v files with
 totem thread:
 http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg103363.html

 Use the `mplayer -identify` command given there to determine the codec of
 your video.

 Stroller.


The codec is H.264, which most of my readers don't have.  They are
non-technical which makes it a major pain, and I want out of it.

-- 
Kevin O'Gorman, PhD


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

2010-08-16 Thread Kevin O'Gorman
On Sun, Aug 15, 2010 at 9:49 PM, Indexer inde...@internode.on.net wrote:

 -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.

 [major snippage]

Well, there you go.  Among the things I've just learned:
1) There are containers
2) Codec != container
3) Video and Audio are encoded one from column A and one from column B.

I hope this gives you an idea of what a newb I am.  Please calibrate
responses accordingly.  My friend is pretty sure my problem is the video
H.264 codec.

-- 
Kevin O'Gorman, PhD


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

2010-08-16 Thread Paul Hartman
On Sun, Aug 15, 2010 at 10:02 PM, Kevin O'Gorman kogor...@gmail.com wrote:
 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.

You might want to check out kdenlive which is a full-featured video
editor (using mlt as backend) but includes a simple transcoding
function and several presets for many different formats (with the
added bonus that you'll be able to edit your raw video should you so
desire).



Re: [gentoo-user] emerge 32bits on 64bits platform

2010-08-16 Thread Bill Longman
On 08/16/2010 12:47 PM, Stéphane Guedon wrote:
 
 nspluginwrapper currently doesn't allow flash player to work, don't know 
 why...

You could look at swfdec-gnome too.




Re: [gentoo-user] genkernel without oldconfig

2010-08-16 Thread Marc Joliet
Am Mon, 16 Aug 2010 08:00:49 -0700
schrieb Bill Longman bill.long...@gmail.com:

 On 08/15/2010 05:32 PM, Daniel D Jones wrote:
  On Sunday, August 15, 2010 12:45:06 Marc Joliet wrote:
  Am Sun, 15 Aug 2010 12:15:57 -0400
 
  schrieb Daniel D Jones ddjo...@riddlemaster.org:
  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!
 
 I've never seen this before, either. Thanks for the tip, Marc.

You're welcome :) . I only remembered it because I was in exactly the same
situation, trying to get genkernel to not overwrite my kernel config. I
remember being annoyed that genkernel didn't have a --no-oldconfig command
line option. I'm surprised it still doesn't. After all, several other options
have corresponding --no-* variants, like --[no-]mrproper. Oh, well.

[snip]

Happy to help (hey, that acronymises to HTH, too!)
-- 
Marc Joliet


signature.asc
Description: PGP signature


[gentoo-user] Build PowerPC binary packages on AMD64?

2010-08-16 Thread Mark Knecht
Hi all,
   I know nothing about this sort of stuff so I don't know where to
even start looking. Thanks in advance for any pointers.

   Here's the setup: My desktop machine is a new, fast Core i7 980x
processor. It is capable of doing emerge -e @world (including XFCE4,
Gnome and KDE) in around 4 hours. On the other hand my MythTV backend
server is an old PowerPC which takes literally days (2? 3? 4?) to do
the same thing with only fluxbox on the system. While this was OK a
few years ago it's not something I'm enjoying much anymore. (Did I
then?)

   So, the question is can I somehow set up an environment on my AMD64
machine where I build PowerPC binary packages using emerge, ssh them
over to the Mac and then emerge them there to get the machine up to
date quickly? What do I read to understand how to do this?

   Note that it's fine to build the kernel, ymboot and machine
specific stuff on the Mac as that's very minimal.

Thanks,
Mark



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

2010-08-16 Thread Mick
On Monday 16 August 2010 11:30:36 Nganon wrote:
 On 16 August 2010 11:36, Marco listwo...@gmail.com wrote:
  On Mon, Aug 16, 2010 at 1:11 AM, Nganon
  nganon+gen...@gmail.comnganon%2bgen...@gmail.com
  
  wrote:
   [...]
   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.
  
  backup2l can do exactly what you want:
  
  http://backup2l.sourceforge.net/
 
 Nice one indeed. Exactly does what I want. It is also good that the backups
 can be use without the program itself.
 
 It does not seem to be updated since 2009 but I will give it a try.

Not sure if it's in an overlay, but I don't think it's in portage.

Run eix -l backup and see how many back up tools and scripts pop up.

I have been using tar, star and rsync.  They all work and they can all make 
incremental back ups.  You'll find that a lot of the other 'smart' back up 
applications are based on these anyway.

HTH.
-- 
Regards,
Mick


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


Re: [gentoo-user] Build PowerPC binary packages on AMD64?

2010-08-16 Thread Bill Longman
On 08/16/2010 02:29 PM, Mark Knecht wrote:
 Hi all,
I know nothing about this sort of stuff so I don't know where to
 even start looking. Thanks in advance for any pointers.
 
Here's the setup: My desktop machine is a new, fast Core i7 980x
 processor. It is capable of doing emerge -e @world (including XFCE4,
 Gnome and KDE) in around 4 hours. On the other hand my MythTV backend
 server is an old PowerPC which takes literally days (2? 3? 4?) to do
 the same thing with only fluxbox on the system. While this was OK a
 few years ago it's not something I'm enjoying much anymore. (Did I
 then?)
 
So, the question is can I somehow set up an environment on my AMD64
 machine where I build PowerPC binary packages using emerge, ssh them
 over to the Mac and then emerge them there to get the machine up to
 date quickly? What do I read to understand how to do this?
 
Note that it's fine to build the kernel, ymboot and machine
 specific stuff on the Mac as that's very minimal.

You want to get your hands on the crossdev package. There's LOTS of
stuff to know to get this to work right. But people use cross compilers
every day all day.



Re: [gentoo-user] Build PowerPC binary packages on AMD64?

2010-08-16 Thread Alex Schuster
Mark Knecht writes:

Here's the setup: My desktop machine is a new, fast Core i7 980x
 processor. It is capable of doing emerge -e @world (including XFCE4,
 Gnome and KDE) in around 4 hours. On the other hand my MythTV backend

Oh my, this is fast.

 server is an old PowerPC which takes literally days (2? 3? 4?) to do
 the same thing with only fluxbox on the system. While this was OK a
 few years ago it's not something I'm enjoying much anymore. (Did I
 then?)
 
So, the question is can I somehow set up an environment on my AMD64
 machine where I build PowerPC binary packages using emerge, ssh them
 over to the Mac and then emerge them there to get the machine up to
 date quickly? What do I read to understand how to do this?

I don't think this is possible. Maybe with an emulator, but that would 
probably also be slow handling instructions for a different CPU.

I would give distcc a try. The configure and linking stuff is still done 
on the local machine, but at least (most) of the compiles are done by the 
fast machine, so this should safe some time. See the DistCC Cross-
compiling Guide guide [*] for information on how to set this up. It works 
fine for me when I use my amd64 machine to create i686 binaries.

Wonko

[*] http://www.gentoo.org/doc/en/cross-compiling-distcc.xml



Re: [gentoo-user] Build PowerPC binary packages on AMD64?

2010-08-16 Thread Mark Knecht
On Mon, Aug 16, 2010 at 2:48 PM, Bill Longman bill.long...@gmail.com wrote:
 On 08/16/2010 02:29 PM, Mark Knecht wrote:
 Hi all,
    I know nothing about this sort of stuff so I don't know where to
 even start looking. Thanks in advance for any pointers.

    Here's the setup: My desktop machine is a new, fast Core i7 980x
 processor. It is capable of doing emerge -e @world (including XFCE4,
 Gnome and KDE) in around 4 hours. On the other hand my MythTV backend
 server is an old PowerPC which takes literally days (2? 3? 4?) to do
 the same thing with only fluxbox on the system. While this was OK a
 few years ago it's not something I'm enjoying much anymore. (Did I
 then?)

    So, the question is can I somehow set up an environment on my AMD64
 machine where I build PowerPC binary packages using emerge, ssh them
 over to the Mac and then emerge them there to get the machine up to
 date quickly? What do I read to understand how to do this?

    Note that it's fine to build the kernel, ymboot and machine
 specific stuff on the Mac as that's very minimal.

 You want to get your hands on the crossdev package. There's LOTS of
 stuff to know to get this to work right. But people use cross compilers
 every day all day.



Thanks Bill. First try points to a depreciated page:

http://www.gentoo.org/proj/en/base/embedded/cross-development.xml

which in turn points to something more recent:

http://www.gentoo.org/proj/en/base/embedded/handbook/

A quick read looks promising, other than a statement that says some
combination of tools might not work and no way to tell until you try.

None the less I should be able to play some games and maybe just
compile something very small and see if it runs, etc.

Thanks for the pointer.

Cheers,
Mark



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

2010-08-16 Thread walt

On 08/15/2010 04:27 PM, Walter Dnes wrote:

   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


Does your BIOS let you set the AGP aperture manually?  Couldn't hurt to make
it bigger if you're able.  The comment about 'stolen memory' sounds a bit evil 
;)



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


Do you have MTRR support in your linux kernel?  It was selected automatically in
my SMP kernel config, so I didn't have a choice.


[0.946741] Console: switching to colour frame buffer device 240x75
[0.952156] fb0: inteldrmfb frame buffer device


I'm wondering if console framebuffer support is really necessary for Intel
graphics chips, I dunno.  You could try disabling it in your kernel config
to see if it make any difference.

I'm assuming that all of the dmesg stuff came from boot time, right?  Does your
/var/cache/Xorg.0.log have any suspicious messages?  I'm assuming your X works
correctly?  Or not.




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

2010-08-16 Thread Paul Hartman
On Sun, Aug 15, 2010 at 6:27 PM, Walter Dnes waltd...@waltdnes.org wrote:
  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.608643] mtrr: type mismatch for d000,1000 old: write-back new: 
 write-combining
 [    0.608725] [drm] MTRR allocation failed.  Graphics performance may suffer.

I had a similar message, it was there because of the fact that i
specified the wrong (or failed to specify?) mtrr method in my kernel
boot parameters for the framebuffer. I'm using uvesafb and in kernel
documentation (/usr/src/linux/Documentation/fb/uvesafb.txt) it
explains the values and even gives an example of this error and what
to do about it:

cut
mtrr:n  Setup memory type range registers for the framebuffer
where n:
  0 - disabled (equivalent to nomtrr) (default)
  1 - uncachable
  2 - write-back
  3 - write-combining
  4 - write-through

If you see the following in dmesg, choose the type that matches
the old one.  In this example, use mtrr:2.
...
mtrr: type mismatch for e000,800 old: write-back new: write-combining
...
/cut

After I changed my mtrr setting in grub's config  rebooted, the error
message went away.

HTH :)



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

2010-08-16 Thread Dale

Alan McKinnon wrote:

On Sunday 15 August 2010 22:55:23 Paul Hartman wrote:
   

On Sun, Aug 15, 2010 at 3:34 PM, Dalerdalek1...@gmail.com  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

   


OK.  It finally started doing it again.  Here is the short version of 
netstat -p.  It looks like kopete but what in the heck is it sending and 
receiving?


r...@smoker / # netstat -p
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address   Foreign Address 
State   PID/Program name
tcp0  0 192.168.1.2:43577   rdis.msg.vip.sp1.y:http 
TIME_WAIT   -
tcp0  0 192.168.1.2:43438   rdis.msg.vip.sp1.y:http 
TIME_WAIT   -
tcp0  0 192.168.1.2:52423   cs204p1.msg.sp1.ya:5050 
ESTABLISHED 9968/kopete
tcp0  0 192.168.1.2:43490   rdis.msg.vip.sp1.y:http 
TIME_WAIT   -
tcp0  1 192.168.1.2:43586   rdis.msg.vip.sp1.y:http 
SYN_SENT18971/kopeteFc9968.
tcp0  0 localhost:60971 localhost:nut   
ESTABLISHED 9578/upsmon
tcp1  1 192.168.1.2:43584   rdis.msg.vip.sp1.y:http 
CLOSING -
tcp0  0 192.168.1.2:43558   rdis.msg.vip.sp1.y:http 
TIME_WAIT   -
tcp0  0 192.168.1.2:48301   cs201p1.msg.sp1.ya:5050 
ESTABLISHED 9968/kopete
tcp0  0 192.168.1.2:43523   rdis.msg.vip.sp1.y:http 
TIME_WAIT   -
tcp0  0 localhost:nut   localhost:60971 
ESTABLISHED 9640/upsd
tcp0  0 192.168.1.2:42517   cs215p2.msg.ac4.ya:5050 
ESTABLISHED 9968/kopete
tcp0  0 192.168.1.2:43462   rdis.msg.vip.sp1.y:http 
TIME_WAIT   -
tcp0  0 192.168.1.2:43516   rdis.msg.vip.sp1.y:http 
TIME_WAIT   -
tcp0  0 192.168.1.2:43479   rdis.msg.vip.sp1.y:http 
TIME_WAIT   -
tcp0  0 192.168.1.2:43405   rdis.msg.vip.sp1.y:http 
TIME_WAIT   -
tcp0  0 192.168.1.2:43483   rdis.msg.vip.sp1.y:http 
TIME_WAIT   -
tcp0  0 192.168.1.2:43563   rdis.msg.vip.sp1.y:http 
TIME_WAIT   -
tcp0  0 192.168.1.2:43487   rdis.msg.vip.sp1.y:http 
TIME_WAIT   -
tcp0  0 192.168.1.2:43483   rdis.msg.vip.sp1.y:http 
TIME_WAIT   -
tcp0  0 192.168.1.2:43563   rdis.msg.vip.sp1.y:http 
TIME_WAIT   -
tcp0  0 192.168.1.2:43487   rdis.msg.vip.sp1.y:http 
TIME_WAIT   -


One other question, if this is kopete, how does it keep 
sending/receiving after I have closed the kopete app?


This is weird.  Kopete and Yahoo have not done this before.

Dale

:-)  :-)



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

2010-08-16 Thread Adam Carter
 r...@smoker / # netstat -p
 Active Internet connections (w/o servers)
 Proto Recv-Q Send-Q Local Address   Foreign Address State
 PID/Program name
 tcp0  0 192.168.1.2:43577   rdis.msg.vip.sp1.y:http
 TIME_WAIT   -
 tcp0  0 192.168.1.2:43438   rdis.msg.vip.sp1.y:http
 TIME_WAIT   -
 tcp0  0 192.168.1.2:52423   cs204p1.msg.sp1.ya:5050
 ESTABLISHED 9968/kopete
 tcp0  0 192.168.1.2:43490   rdis.msg.vip.sp1.y:http
 TIME_WAIT   -
 tcp0  1 192.168.1.2:43586   rdis.msg.vip.sp1.y:http
 SYN_SENT18971/kopeteFc9968.
 tcp0  0 localhost:60971 localhost:nut
 ESTABLISHED 9578/upsmon
 tcp1  1 192.168.1.2:43584   rdis.msg.vip.sp1.y:http
 CLOSING -
 tcp0  0 192.168.1.2:43558   rdis.msg.vip.sp1.y:http
 TIME_WAIT   -
 tcp0  0 192.168.1.2:48301   cs201p1.msg.sp1.ya:5050
 ESTABLISHED 9968/kopete
 tcp0  0 192.168.1.2:43523   rdis.msg.vip.sp1.y:http
 TIME_WAIT   -
 tcp0  0 localhost:nut   localhost:60971
 ESTABLISHED 9640/upsd
 tcp0  0 192.168.1.2:42517   cs215p2.msg.ac4.ya:5050
 ESTABLISHED 9968/kopete
 tcp0  0 192.168.1.2:43462   rdis.msg.vip.sp1.y:http
 TIME_WAIT   -
 tcp0  0 192.168.1.2:43516   rdis.msg.vip.sp1.y:http
 TIME_WAIT   -
 tcp0  0 192.168.1.2:43479   rdis.msg.vip.sp1.y:http
 TIME_WAIT   -
 tcp0  0 192.168.1.2:43405   rdis.msg.vip.sp1.y:http
 TIME_WAIT   -
 tcp0  0 192.168.1.2:43483   rdis.msg.vip.sp1.y:http
 TIME_WAIT   -
 tcp0  0 192.168.1.2:43563   rdis.msg.vip.sp1.y:http
 TIME_WAIT   -
 tcp0  0 192.168.1.2:43487   rdis.msg.vip.sp1.y:http
 TIME_WAIT   -
 tcp0  0 192.168.1.2:43483   rdis.msg.vip.sp1.y:http
 TIME_WAIT   -
 tcp0  0 192.168.1.2:43563   rdis.msg.vip.sp1.y:http
 TIME_WAIT   -
 tcp0  0 192.168.1.2:43487   rdis.msg.vip.sp1.y:http
 TIME_WAIT   -

 One other question, if this is kopete, how does it keep sending/receiving
 after I have closed the kopete app?

 Since you're closing Kopete gracefully its probably decided to let those
threads complete what they're doing before shutting them down. If you kill
-9'd them instead (that is send them the KILL signal instead of the TERM
signal) they'd go away immediately.


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

2010-08-16 Thread Thomas Yao
On Tue, Aug 17, 2010 at 5:37 AM, Mick michaelkintz...@gmail.com wrote:
 Not sure if it's in an overlay, but I don't think it's in portage.

 Run eix -l backup and see how many back up tools and scripts pop up.

 I have been using tar, star and rsync.  They all work and they can all make
 incremental back ups.  You'll find that a lot of the other 'smart' back up
 applications are based on these anyway.

A disk archive utility called dar is a great staff to backup dir trees and files

-- 
@ghosTM55
Mechanism, not policy



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

2010-08-16 Thread James
Bill Longman bill.longman at gmail.com writes:

 So, there are two problems but the most serious one right now is that
 you don't have the /mnt/cdrom directory. Make it. That will solve the
 first problem.

Ok /mnt/cdrom built.

 The second is that you need to tell mount that the disk in your CD
 drive has an iso9660 filesystem on it so it doesn't get all confused.
 Use this command, then, to mount the disk:

 mount -t iso9660 /dev/sr0 /mnt/cdrom

Ok it says:

mount: block device /dev/sr0 is write-protected, mounting read-only

#ls -lag /dev/sr0 returns
brw-rw+ 1 cdrom 11, 0 Aug 16 15:59 /dev/sr0


 Make sure you really do have a disk with stuff on it in the drive.
Yep,

Kaffeine croaks with ///dev/hda error

Dragonplayer does not show the contents of any dvd
despite a dvd being in the drive

dmesg snippets:

ide-cd: hda: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20

sd 0:0:0:0: [sda] Attached SCSI disk
ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata3.00: ATAPI: PLEXTOR DVDR   PX-755A, 1.04, max UDMA/66
ata3.00: SB600 AHCI: limiting to 255 sectors per cmd
ata3.00: SB600 AHCI: limiting to 255 sectors per cmd
ata3.00: configured for UDMA/66
scsi 2:0:0:0: CD-ROMPLEXTOR  DVDR   PX-755A   1.04 PQ: 0 ANSI: 5
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

udev: starting version 151
hda: command error: status=0x51 { DriveReady SeekComplete Error }
hda: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
hda: possibly failed opcode: 0xa0
end_request: I/O error, dev hda, sector 8556800



cdrom: This disc doesn't have any tracks I recognize!
sr 2:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sr 2:0:0:0: [sr0] Sense Key : Illegal Request [current] 
Info fld=0x3b3a10


Buffer I/O error on device hda, logical block 512
UDF-fs: Partition marked readonly; forcing readonly mount
UDF-fs INFO UDF: Mounting volume 'DELTA_FORCE', timestamp 2001/01/11 16:54 
(1f10)
sr 2:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sr 2:0:0:0: [sr0] Sense Key : Illegal Request [current] 
Info fld=0x3b3a10
sr 2:0:0:0: [sr0] Add. Sense: Read of scrambled sector without authentication
sr 2:0:0:0: [sr0] CDB: Read(10): 28 00 00 3e 3a 1c 00 00 02 00
end_request: I/O error, dev sr0, sector 16312432
Buffer I/O error on device sr0, logical block 2039054
sr 2:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sr 2:0:0:0: [sr0] Sense Key : Illegal Request [current] 
Info fld=0x3b3a10
sr 2:0:0:0: [sr0] Add. Sense: Read of scrambled sector without authentication
sr 2:0:0:0: [sr0] CDB: Read(10): 28 00 00 3e 3a 1c 00 00 02 00
end_request: I/O error, dev sr0, sector 16312432
Buffer I/O error on device sr0, logical block 2039054
UDF-fs: Partition marked readonly; forcing readonly mount
UDF-fs INFO UDF: Mounting volume 'TRANSFORMERS2_IMAX_DISC1', timestamp
2009/09/11 04:19 (1f10)
[drm] Setting GART location based on new memory map
[drm] Loading R500 Microcode
platform radeon_cp.0: firmware: using built-in firmware radeon/R520_cp.bin
[drm] Num pipes: 4
[drm] writeback test succeeded in 1 usecs


snip

Ok there are 2 dvd drives that use to work with sysfs and a .30 kernel
now the 2.6.34-gentoo-r1 kernel is not working, and sysfs was removed
as was suggested in the old console logs upon booting.

Of the many Gentoo systems I manage, most have 2 dvd drives. Very few
are working since I removed sysfs and built 2.6.34-r1 kernels.?

James










[gentoo-user] /var/log/messages is huge

2010-08-16 Thread dhk
Last week I got a message the my /var partition was almost full.  Since
it was 10G and I am using lvm2 I added 5G more to it.  This evening I
got the same message, now I had to investigate.  When I did I found that
/var/log/messages is huge.

# ls -lh /var/log/messages
-rw--- 1 root root 12G Aug 16 20:15 /var/log/messages

It seem to be constantly written to and growing.

# ls -l /var/log/messages
-rw--- 1 root root 11986603021 Aug 16 20:20 /var/log/messages
# ls -l /var/log/messages
-rw--- 1 root root 11986687279 Aug 16 20:20 /var/log/messages
# ls -l /var/log/messages
-rw--- 1 root root 11986759997 Aug 16 20:21 /var/log/messages
# ls -l /var/log/messages
-rw--- 1 root root 11986783403 Aug 16 20:21 /var/log/messages
# ls -l /var/log/messages
-rw--- 1 root root 11986830215 Aug 16 20:21 /var/log/messages

When I tail it I get the following.
# tail /var/log/messages
Aug 16 20:22:59 host kernel: usb-storage: -- transfer complete
Aug 16 20:22:59 host kernel: usb-storage: Bulk command transfer result=0
Aug 16 20:22:59 host kernel: usb-storage: Attempting to get CSW...
Aug 16 20:22:59 host kernel: usb-storage: usb_stor_bulk_transfer_buf:
xfer 13 bytes
Aug 16 20:22:59 host kernel: usb-storage: Status code 0; transferred 13/13
Aug 16 20:22:59 host kernel: usb-storage: -- transfer complete
Aug 16 20:22:59 host kernel: usb-storage: Bulk status result = 0
Aug 16 20:22:59 host kernel: usb-storage: Bulk Status S 0x53425355 T
0x5c33 R 0 Stat 0x0
Aug 16 20:22:59 host kernel: usb-storage: scsi cmd done, result=0x0
Aug 16 20:22:59 host kernel: usb-storage: *** thread sleeping.

What's going on here?  Why all these usb-storage messages?

I don't know exactly when this started, but I'm guessing it has to do
with a recent upgrade.

I also thought there's suppose to be some sort of log rotation going on
to prevent this.

Any ideas?

Right now I'm going to cat /dev/null  /var/log/messages so I can boot
up in the morning.

Now my /var dropped to 16%.

Thanks,

dhk






Re: [gentoo-user] /var/log/messages is huge

2010-08-16 Thread Adam Carter
 Aug 16 20:22:59 host kernel: usb-storage: -- transfer complete
 Aug 16 20:22:59 host kernel: usb-storage: Bulk command transfer result=0
 Aug 16 20:22:59 host kernel: usb-storage: Attempting to get CSW...
 Aug 16 20:22:59 host kernel: usb-storage: usb_stor_bulk_transfer_buf:
 xfer 13 bytes
 Aug 16 20:22:59 host kernel: usb-storage: Status code 0; transferred 13/13
 Aug 16 20:22:59 host kernel: usb-storage: -- transfer complete
 Aug 16 20:22:59 host kernel: usb-storage: Bulk status result = 0
 Aug 16 20:22:59 host kernel: usb-storage: Bulk Status S 0x53425355 T
 0x5c33 R 0 Stat 0x0
 Aug 16 20:22:59 host kernel: usb-storage: scsi cmd done, result=0x0
 Aug 16 20:22:59 host kernel: usb-storage: *** thread sleeping.

 What's going on here?  Why all these usb-storage messages?


You've probably turned on CONFIG_USB_STORAGE_DEBUG when you configured the
kernel


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

2010-08-16 Thread Dale

Adam Carter wrote:


r...@smoker / # netstat -p
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address   Foreign Address  
  State   PID/Program name
tcp0  0 192.168.1.2:43577 http://192.168.1.2:43577  
rdis.msg.vip.sp1.y:http TIME_WAIT   -
tcp0  0 192.168.1.2:43438 http://192.168.1.2:43438  
rdis.msg.vip.sp1.y:http TIME_WAIT   -
tcp0  0 192.168.1.2:52423 http://192.168.1.2:52423  
cs204p1.msg.sp1.ya:5050 ESTABLISHED 9968/kopete
tcp0  0 192.168.1.2:43490 http://192.168.1.2:43490  
rdis.msg.vip.sp1.y:http TIME_WAIT   -
tcp0  1 192.168.1.2:43586 http://192.168.1.2:43586  
rdis.msg.vip.sp1.y:http SYN_SENT18971/kopeteFc9968.
tcp0  0 localhost:60971 localhost:nut
  ESTABLISHED 9578/upsmon
tcp1  1 192.168.1.2:43584 http://192.168.1.2:43584  
rdis.msg.vip.sp1.y:http CLOSING -
tcp0  0 192.168.1.2:43558 http://192.168.1.2:43558  
rdis.msg.vip.sp1.y:http TIME_WAIT   -
tcp0  0 192.168.1.2:48301 http://192.168.1.2:48301  
cs201p1.msg.sp1.ya:5050 ESTABLISHED 9968/kopete
tcp0  0 192.168.1.2:43523 http://192.168.1.2:43523  
rdis.msg.vip.sp1.y:http TIME_WAIT   -
tcp0  0 localhost:nut   localhost:60971  
  ESTABLISHED 9640/upsd
tcp0  0 192.168.1.2:42517 http://192.168.1.2:42517  
cs215p2.msg.ac4.ya:5050 ESTABLISHED 9968/kopete
tcp0  0 192.168.1.2:43462 http://192.168.1.2:43462  
rdis.msg.vip.sp1.y:http TIME_WAIT   -
tcp0  0 192.168.1.2:43516 http://192.168.1.2:43516  
rdis.msg.vip.sp1.y:http TIME_WAIT   -
tcp0  0 192.168.1.2:43479 http://192.168.1.2:43479  
rdis.msg.vip.sp1.y:http TIME_WAIT   -
tcp0  0 192.168.1.2:43405 http://192.168.1.2:43405  
rdis.msg.vip.sp1.y:http TIME_WAIT   -
tcp0  0 192.168.1.2:43483 http://192.168.1.2:43483  
rdis.msg.vip.sp1.y:http TIME_WAIT   -
tcp0  0 192.168.1.2:43563 http://192.168.1.2:43563  
rdis.msg.vip.sp1.y:http TIME_WAIT   -
tcp0  0 192.168.1.2:43487 http://192.168.1.2:43487  
rdis.msg.vip.sp1.y:http TIME_WAIT   -
tcp0  0 192.168.1.2:43483 http://192.168.1.2:43483  
rdis.msg.vip.sp1.y:http TIME_WAIT   -
tcp0  0 192.168.1.2:43563 http://192.168.1.2:43563  
rdis.msg.vip.sp1.y:http TIME_WAIT   -
tcp0  0 192.168.1.2:43487 http://192.168.1.2:43487  
rdis.msg.vip.sp1.y:http TIME_WAIT   -


One other question, if this is kopete, how does it keep
sending/receiving after I have closed the kopete app?

Since you're closing Kopete gracefully its probably decided to let 
those threads complete what they're doing before shutting them down. 
If you kill -9'd them instead (that is send them the KILL signal 
instead of the TERM signal) they'd go away immediately.


That may be true.  Thing is, it is still sending and receiving traffic 
even after all this time.  I'm wondering what it is or if it is a bug or 
something.


I just did a killall kopete and it did stop.  Is there a way to see 
what it is sending/receiving?  I'm talking like is it a jpeg, some other 
file or something else?


Dale

:-)  :-)



[gentoo-user] =www-client/chromium-6.0.472.33 and h264

2010-08-16 Thread Andy Wilkinson
 I've noticed that ebuilds of chromium at and later than 6.0.472.33 no
longer use the system-provided ffmpeg, and seem to lose support for h264
videos (test any non-webm, html5 video at youtube; it will never load).

I've tried doctoring the ebuild to use the system-provided ffmpeg, which
does not fix h264 video and causes crashes on webm videos: probably why
we went back to the bundled ffmpeg.

Has anyone else noticed this?  Is there a straightforward work-around
beyond going back to 6.0.472.14ish?

Thanks,

-Andy


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

2010-08-16 Thread Stroller


On 16 Aug 2010, at 20:52, Kevin O'Gorman wrote:

On Mon, Aug 16, 2010 at 12:35 AM, Stroller
strol...@stellar.eclipse.co.ukwrote:

On 16 Aug 2010, at 04:02, Kevin O'Gorman wrote:

...

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, ...



MP4 is a much better container format than .avi.

I previously discussed this a little in July's viewing .m4v files  
with

totem thread:
http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg103363.html

Use the `mplayer -identify` command given there to determine the  
codec of

your video.



The codec is H.264, which most of my readers don't have.  They are
non-technical which makes it a major pain, and I want out of it.


H264 is excellent - it's the best codec available today, and I would  
have expected it to be widely supported. As far as browsers are  
concerned, it's supported by about half of them, I think, natively via  
HTML5. The reasons the others don't support it are patent related -  
Mozilla won't incorporate h264 playback into Firefox, for instance,  
because h264 is only free as in beer, not as in speech.


I would have thought H264 would be easy to remux into an .flv  
container and host using an open-source YouTube-style player on your  
own site. Alternatively, just open a free YouTube or Vimeo account and  
upload your original .mp4 video files there. I appreciate that this  
latter is not an optimal answer, however...


I stated that I'm not convinced Handbrake is actually that good - to  
be fair, I don't know what *is* that good, short of an intimate  
knowledge of video standards (interlacing, frame-rates c c) and  
mplayer / ffmpeg / MP4box / other tools.


The reason the MP4 files out of your camera are so large is that  
they're high-def and this very high video quality. Stuff recorded in  
good light should look awesome, even on a huge great 42 TV. So you  
will need to resize them smaller for the web (so, in fact, my previous  
suggestion about remuxing h264 into an .flv container is useless for  
you, until you've done that).


Try installing Handbrake and see if you get along with it - I have a  
bias against it because I tried to rip studio-produced DVDs using it,  
and had playback issues on the PS3. Maybe I'm being unfair. You might  
also try media-video/h264enc - I think that is a wrapper script for  
ffmpeg / mplayer, written by one of the mplayer devs.


Stroller.




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

2010-08-16 Thread Adam Carter

 I just did a killall kopete and it did stop.  Is there a way to see what
 it is sending/receiving?  I'm talking like is it a jpeg, some other file or
 something else?


rix portage # nmap -p 5050 -sV cs210p2.msg.sp1.yahoo.com

Starting Nmap 5.21 ( http://nmap.org ) at 2010-08-17 11:27 EST
Nmap scan report for cs210p2.msg.sp1.yahoo.com (98.136.48.110)
Host is up (0.20s latency).
PORT STATE SERVICE VERSION
5050/tcp open  mmcc?
1 service unrecognized despite returning data. If you know the
service/version, please submit the following fingerprint at
http://www.insecure.org/cgi-bin/servicefp-submit.cgi :
SF-Port5050-TCP:V=5.21%I=7%D=8/17%Time=4C69E58D%P=i686-pc-linux-gnu%r(GetR
SF:equest,195,HTTP/1\.1\x20404\x20Not\x20Found\r\nContent-Type:\x20text/h
SF:tml\r\nCache-Control:\x20max-age=0,\x20must-revalidate\r\nExpires:\x20S
SF:un,\x2010\x20Jun\x202007\x2012:01:01\x20GMT\r\n\r\nhtmlhead\r\nmet
SF:a\x20http-equiv=\content-type\\x20content=\text/html;charset=utf-8\
SF:\r\ntitle404\x20Not\x20Found/title\r\n/head\r\nbody\x20text=#00
SF:\x20bgcolor=#ff\r\nhrcenter\r\nH1Not\x20Found/H1\r\nTh
SF:e\x20requested\x20URL\x20was\x20not\x20found\x20on\x20this\x20server\.\
SF:r\n/centerp\r\n/body/html\r\n)%r(FourOhFourRequest,195,HTTP/1
SF:\.1\x20404\x20Not\x20Found\r\nContent-Type:\x20text/html\r\nCache-Contr
SF:ol:\x20max-age=0,\x20must-revalidate\r\nExpires:\x20Sun,\x2010\x20Jun\x
SF:202007\x2012:01:01\x20GMT\r\n\r\nhtmlhead\r\nmeta\x20http-equiv=\
SF:content-type\\x20content=\text/html;charset=utf-8\\r\ntitle404\x2
SF:0Not\x20Found/title\r\n/head\r\nbody\x20text=#00\x20bgcolor=#f
SF:f\r\nhrcenter\r\nH1Not\x20Found/H1\r\nThe\x20requested\x20
SF:URL\x20was\x20not\x20found\x20on\x20this\x20server\.\r\n/centerp\r\
SF:n/body/html\r\n);

Service detection performed. Please report any incorrect results at
http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 112.82 seconds
rix portage #


Well its obviously HTTP, NFI why NMAP cant see that. So you could capture in
wireshark, then docode port 5050 as HTTP.


[gentoo-user] Still Struggling With Wireless

2010-08-16 Thread CJoeB
 Hi,

I'm biting the bullet here and asking for help.  Yes! I've posted
before.  And before anyone asks, I have read the responses to my
previous posts which helped little.  I have read the documentation and
the wikis - ad nauseum.  I'm still having problems with wireless.

Things were so much easier when I could just use the ipw3945 driver. 
However, I can't build that because it requires TKIP and CCMP, neither
of which I can find settings for in my active kernel, 2.6.34-gentoo-r1. 
In one of the responses to my previous posts someone told me about the /
trick while in the kernel configuration to bring up a search menu.  I
did this and the only reference I could find for TKIP was one related to
debugging.

So, I'm left with trying to use the iwl3945 driver in the kernel.  I
followed the wiki for setting this up and thought I had succeeded.  I
got to the point where I was told to type the following:
ifconfig wlan0 up (this does activate the wireless led on my computer)
iwlist wlan0 scan
iwconfig wlan0 essid network name  (where the network name is the
essid that has been set)

When I got this to work, I thought I was home free despite the kludgy
way of getting wireless working.  However, I rebooted and now, when I
type iwlist wlan0 scan I get told that scanning is not supported.  Yes,
I have iwl3945-ucode installed and yes, it was recompiled after the
kernel was rebuilt.

I have no idea what I'm doing wrong.  Help would be appreciated.

Regards,

Colleen

-- 

Registered Linux User #411143 with the Linux Counter, http://counter.li.org





Re: [gentoo-user] Still Struggling With Wireless

2010-08-16 Thread Adam Carter

  Hi,

 I'm biting the bullet here and asking for help.  Yes! I've posted
 before.  And before anyone asks, I have read the responses to my
 previous posts which helped little.  I have read the documentation and
 the wikis - ad nauseum.  I'm still having problems with wireless.

 Things were so much easier when I could just use the ipw3945 driver.
 However, I can't build that because it requires TKIP and CCMP, neither
 of which I can find settings for in my active kernel, 2.6.34-gentoo-r1.
 In one of the responses to my previous posts someone told me about the /
 trick while in the kernel configuration to bring up a search menu.  I
 did this and the only reference I could find for TKIP was one related to
 debugging.


I use wpa_supplicant to provide the wifi crypto.


 So, I'm left with trying to use the iwl3945 driver in the kernel.  I
 followed the wiki for setting this up and thought I had succeeded.  I
 got to the point where I was told to type the following:
 ifconfig wlan0 up (this does activate the wireless led on my computer)
 iwlist wlan0 scan
 iwconfig wlan0 essid network name  (where the network name is the
 essid that has been set)

 When I got this to work, I thought I was home free despite the kludgy
 way of getting wireless working.  However, I rebooted and now, when I
 type iwlist wlan0 scan I get told that scanning is not supported.  Yes,
 I have iwl3945-ucode installed and yes, it was recompiled after the
 kernel was rebuilt.

 I have no idea what I'm doing wrong.


Forgetting to post up your configs :) eg /etc/conf.d/net etc


[gentoo-user] Gentoo on 8GB SSD

2010-08-16 Thread Hal Martin
A friend recently gave me a SimpleTech Zeus 8GB SSD. I'd like to replace 
my hard drive with this SSD for the lower latency and faster access 
times it will provide.


Currently my / partition is 24GB, 20GB of which is in use. Using 
xdiskusage I see that /usr/portage and /var/tmp are using approximately 
10GB, which is well over the 7.5GB I have on the SSD.


So, I'm wondering what suggestions the list has for squeezing Gentoo 
onto an SSD. I have another Gentoo box I could put /usr/portage on to 
save myself some room on the SSD.


Aside from NFS mounting the package source and build directories, is 
there anything else I can do to minimize the space needed? I'm not 
running anything terribly fancy. I have DR17/enlightenment and XFCE 
installed as window managers; along with some productivity applications.


Thanks for your feedback,
Hal Martin



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

2010-08-16 Thread Walter Dnes
On Mon, Aug 16, 2010 at 03:28:21PM -0700, walt wrote

 Does your BIOS let you set the AGP aperture manually?  Couldn't hurt to make
 it bigger if you're able.  The comment about 'stolen memory' sounds a bit 
 evil ;)

  The BIOS only has options for 32/64/128 megabytes.  Intel cheaped out
with the on-board graphics, and used system ram, instead of its own ram.
I have 8 gigs on the machine, so 256 megs wouldn't hurt.

 I'm wondering if console framebuffer support is really necessary for Intel
 graphics chips, I dunno.  You could try disabling it in your kernel config
 to see if it make any difference.

  Selecting the i915 driver, or VESA, automatically forces framebuffer.
Any other selection, and X won't work.  Framebuffer is right down there
with hal and dbus in my list of unfavourite drivers.  Unfortunately, the
only other option is some form of VESA, which also requires framebuffer.

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



Re: [gentoo-user] gentoo on laptop suggestion

2010-08-16 Thread Petri Rosenström
I own a samsung and I don't recommend anyone to buy one. Nothing in
particular wrong (brightness control not working by default), but I
don't like it.

Regards
Petri Rosenström



On Mon, Aug 16, 2010 at 7:26 PM, Fernando Antunes fs.antu...@gmail.com wrote:


 On Mon, Aug 16, 2010 at 1:47 AM, Thomas Yao t.yao...@gmail.com wrote:

 On Mon, Aug 16, 2010 at 12:13 PM, Valmor de Almeida
 val.gen...@gmail.com wrote:
  On Sun, Aug 15, 2010 at 11:05 PM, Thomas Yao t.yao...@gmail.com 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~


 I suggest Thinkpad too. My T61 works very fine.

 
  --
  @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