[gentoo-ppc-user] new world is a type of hardware or software?

2008-09-30 Thread Zhang Weiwu
Before I thought Mac OS X is new world, being a software thing. Mac OS
9 is old world.

Now I am a bit confused. If I wish to run a 3-OS system with Mac OS 9 +
Mac OS X + Gentoo Linux, should I partition my harddisk in old world?

I suspect I should do the following (currently I am already using Gentoo
Linux on my iBook/G3)

   1. backup my Linux
   2. Install Mac OS 9
   3. Install Mac OS X. It should help me to configure it as dual boot.
  while leave some empty space;
   4. restore the Linux backup and run yaboot.

Is this correct?

Best regards
Zhang Weiwu



Re: [gentoo-user] Problem building statically linked e2fsprogs

2008-09-30 Thread Michal 'vorner' Vaner
Hello

(Original post too long to quote)

How about building it dynamically and taking all the needed libraries as
well? I had similar problem (I needed fsck.ext3 in my init ramdisk) and
I just used ldd to find out what does it need.

You can test if it has enough by copying the thinks indo a directory,
chrooting there and trying out if it runs.

I hope it helps

-- 
When all else fails, EAT!!!

Michal 'vorner' Vaner


pgpiVJj0anDDP.pgp
Description: PGP signature


Re: [gentoo-user] Gentoo-Sources/Vanilla-Sources/Video 4 Linux

2008-09-30 Thread Jon Hardcastle
   Jon Hardcastle wrote:
  Hi, i have spent the weekend
 trying to get
  
   my new
  
 Hauppage USB tv stick to

  work under linux.
 
  I have been constantly perplexed
 by
  
   references to
  
 compilable kernel modules

  I couldn't see! I assumed it
 was because
  
   they
  
 referred to old modules or

  something.
 
  But having downloaded and booted
 into
  
   Knoppix and run
  
 make menuconfig on

  that i have confirmed that kernel
 seems to
  
   have
  
 10's of TV card chipset

  drivers availible to compile
 whereas

 gentoo-sources/vanilla-sources emerged

  on my machine have maybe 2 or 3.
 
  Can someone offer me some
 assistance as to
  
   why this
  
 might be?

  Thank you
 
  (This is my first mailing list
 post - please
  
   be
  
 gentle!)


 because a large part of the dvb/tv
 drivers are
  
   developed
  
 outside of the main
 kernel tree. Also a large part is
 hidden under
 experimental.

 For my dvb-t stick I need to checkout a
 mercurial
  
   rep and
  
 do a make, make
 install in it do get drivers that work.
 And with
 'work' I mean: no sound on
 first try, but after disconnecting the
 stick and
 reconnecting it, it suddenly
 works.
   
Hi, I went thru this process but i still
 dont have the
  
   option to add
  
support as a kernel module. Should the
 mercurial add
  
   steps to the
  
menuconfig?
  
   no.
   it just installs all the drivers in the rep as
 modules. It
   doesn't touch any
   configs at all.
 
  Hmmm i wonder why i have seen sooo many references to
 alot more kernel
  options than i have in either my gentoo-sources or
 vanilla-sources.
 
 because they patch their kernel.
 
  Is it
  possible to 'patch' the kernel source instead
 of downloading using
  mercurial. Also how does it 'know' what kernel
 to make the modules
  available under? I have 3 sets of kernel code on my
 machine?
 
 a) /usr/src/linux
 b) uname -r
 c) just make clean  make make install
 for every kernel.
 
 Why patch at all? with the rep and make make
 install you get all the 
 drivers. It is not that much 'overhead' compared to
 the work of patching the 
 kernel. And you don't even need to worry about which
 driver you need - 
 autoloading will do that for you ;)

Hi, cheers for all your help so far. If you are sure they were patching the 
kernel and hence the extra options I am happy to draw a line under that line of 
investigation.. as i wondered if i was using the wrong kernel or something.

Secondly I dont really understand the commands you have given me there. I have 
my 3 kernels yes at /usr/src with a symlink pointing to my active one which 
DOESN'T have any DVB stuff compiled in at all. I got the latest gentoo-sources 
kernel to experiment with and ultimately to switch over to, booted into it.. 
and downloaded the v4l using mercurial did the make install and it all worked 
grandly. but how do i know where it has put its modules, if it puts them under 
/usr/src/linux or gets any kernal info from there then they are in the wrong 
place. But if it is clever enough to know what kernel i am currently booted 
into and put them in the correct place accordingly then I am still stumped as i 
cant get this blasted card to work.

Can you also recommend some kernel debug options i can turn on? Can they be 
done as parameters to the kernel instead of compiled in? i have plug and play 
debug and some USB debug but i'd like more!

Thanks for your help.



Re: [gentoo-user] {OT} cdrdao's toc2cue question

2008-09-30 Thread Joerg Schilling
Grant [EMAIL PROTECTED] wrote:

  I don't understand your problem. Did you read the cdda2wav man page?

 I did read it but I didn't find a way to get cdda2wav to produce a
 single raw/inf pair for the entire CD instead of a pair for each
 track.  Do you know if it can do that?

You told me that you like to have one file per track. Using cdda2wav is
the best way to achieve this. Why do you now like to do the converse?

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] Patch file for cdrtools to allow --duplicates-once

2008-09-30 Thread Joerg Schilling
Andrey Vul [EMAIL PROTECTED] wrote:

 Is there a patch file to patch mkisofs to use the --duplicates-once
 option during generation of iso9960/UDF images?

There is no such option.

Could you explain your desire?

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] Re: Question about difference between emerge --update world and emerge vigra

2008-09-30 Thread Paul Stear
On Monday 29 September 2008, Daniel Pielmeier wrote:

 Don't rely on this script to much. Because it works for me must not
 mean it does for you. I have tested some cases and I worked every time
 until now. So verify the output of a manual emerge -pv --depclean
 atom on the unneeded entry first to be sure it is really not
 needed.
Hi Daniel,
I thought I would try your script but I get an error when I run it:-
Uncaught exception from user code:
Unrecognized character \xC2 at ./WorldCleanCheck line 29.
 at ./WorldCleanCheck line 29
I do not know what \xC2 is
Any ideas how to resolve this?
Thanks for your time
Paul



-- 
This message has been sent using kmail with gentoo linux



[gentoo-user] libgc and the 64 bit world

2008-09-30 Thread laurent

Hi list,

this is my first post, I am new to linux so my understanding of the all 
thing is quite fuzzy.


I am trying to install HaxeVideo on my gentoo server, 64 bit distrib.

It needs libgc and throw an error at compile time because it can't find 
libgc.so.1.


I checked the environment variable and ld.so.env contain the path to 
libgc, even the /usr/lib64 path.


Anyone have an idea why libgc give some trouble and if it's due to 64 
bit version ?


Thanks
L



Re: [gentoo-user] Re: Question about difference between emerge --update world and emerge vigra

2008-09-30 Thread Daniel Pielmeier
2008/9/30 Paul Stear [EMAIL PROTECTED]:
 Hi Daniel,
 I thought I would try your script but I get an error when I run it:-
 Uncaught exception from user code:
Unrecognized character \xC2 at ./WorldCleanCheck line 29.
  at ./WorldCleanCheck line 29
 I do not know what \xC2 is
 Any ideas how to resolve this?
 Thanks for your time
 Paul

Thank you for testing my script! Maybe it needs some more work.
Can you send me your world file off-list, so I can try to reproduce
this error. I can not check it this week as I am away but next week I
will take a look at it. It looks like there is an entry in your world
file my script can not process. In line 29 from the error message the
script tries to remove the new-line after the world file entry, which
probably causes this problem.

Regards,

Daniel



Re: [gentoo-user] Gentoo-Sources/Vanilla-Sources/Video 4 Linux

2008-09-30 Thread Volker Armin Hemmann
On Tuesday 30 September 2008, Jon Hardcastle wrote:
Jon Hardcastle wrote:
   Hi, i have spent the weekend
 
  trying to get
 
my new
   
  Hauppage USB tv stick to
 
   work under linux.
  
   I have been constantly perplexed
 
  by
 
references to
   
  compilable kernel modules
 
   I couldn't see! I assumed it
 
  was because
 
they
   
  referred to old modules or
 
   something.
  
   But having downloaded and booted
 
  into
 
Knoppix and run
   
  make menuconfig on
 
   that i have confirmed that kernel
 
  seems to
 
have
   
  10's of TV card chipset
 
   drivers availible to compile
 
  whereas
 
  gentoo-sources/vanilla-sources emerged
 
   on my machine have maybe 2 or 3.
  
   Can someone offer me some
 
  assistance as to
 
why this
   
  might be?
 
   Thank you
  
   (This is my first mailing list
 
  post - please
 
be
   
  gentle!)
 
 
  because a large part of the dvb/tv
 
  drivers are
 
developed
   
  outside of the main
  kernel tree. Also a large part is
 
  hidden under
 
  experimental.
 
  For my dvb-t stick I need to checkout a
 
  mercurial
 
rep and
   
  do a make, make
  install in it do get drivers that work.
 
  And with
 
  'work' I mean: no sound on
  first try, but after disconnecting the
 
  stick and
 
  reconnecting it, it suddenly
  works.

 Hi, I went thru this process but i still
 
  dont have the
 
option to add
   
 support as a kernel module. Should the
 
  mercurial add
 
steps to the
   
 menuconfig?
   
no.
it just installs all the drivers in the rep as
 
  modules. It
 
doesn't touch any
configs at all.
  
   Hmmm i wonder why i have seen sooo many references to
 
  alot more kernel
 
   options than i have in either my gentoo-sources or
 
  vanilla-sources.
 
  because they patch their kernel.
 
   Is it
   possible to 'patch' the kernel source instead
 
  of downloading using
 
   mercurial. Also how does it 'know' what kernel
 
  to make the modules
 
   available under? I have 3 sets of kernel code on my
 
  machine?
 
  a) /usr/src/linux
  b) uname -r
  c) just make clean  make make install
  for every kernel.
 
  Why patch at all? with the rep and make make
  install you get all the
  drivers. It is not that much 'overhead' compared to
  the work of patching the
  kernel. And you don't even need to worry about which
  driver you need -
  autoloading will do that for you ;)

 Hi, cheers for all your help so far. If you are sure they were patching the
 kernel and hence the extra options I am happy to draw a line under that
 line of investigation.. as i wondered if i was using the wrong kernel or
 something.

 Secondly I dont really understand the commands you have given me there. I
 have my 3 kernels yes at /usr/src with a symlink pointing to my active one
 which DOESN'T have any DVB stuff compiled in at all. I got the latest
 gentoo-sources kernel to experiment with and ultimately to switch over to,
 booted into it.. and downloaded the v4l using mercurial did the make
 install and it all worked grandly. but how do i know where it has put its
 modules, if it puts them under /usr/src/linux or gets any kernal info from
 there then they are in the wrong place. But if it is clever enough to know
 what kernel i am currently booted into and put them in the correct place
 accordingly then I am still stumped as i cant get this blasted card to
 work.

it should put the modules in the correct lib/modules/`uname -r `directory. 
What doesn't work? Do you load the right modules? Is it sound?


 Can you also recommend some kernel debug options i can turn on? Can they be
 done as parameters to the kernel instead of compiled in? i have plug and
 play debug and some USB debug but i'd like more!

no, not really. All problems I ever had were 'it just doesn't work, use 
external modules', 'no sound, reconnect card' and 'no sound, because I forgot 
to unmute someone'.



[gentoo-user] Howto use user CSS with Firefox?

2008-09-30 Thread Robin Atwood
A complete solution to this problem for Firefox 23  may be found at:

http://www.gomellow.com/?p=32.

HTH
-Robin
--














Re: [gentoo-user] Mediatomb media server - users permissions for /media/videoX

2008-09-30 Thread Willie Wong
On Tue, Sep 30, 2008 at 03:05:58AM +0100, Penguin Lover Stroller squawked:
 I'm a little unclear as to how these permissions have been applied - 
 shouldn't it be based either on the permissions of the mount-point 
 directory, or added as an -o users,umask=000 in /etc/fstab ?

umask only applies to file systems with no intrinsic permission
settings, e.g. VFAT. The permissions for file systems with permission
bits are set in the file system itself. Which is why before and after
mounting the mount point may have different permission listings. 

In otherwords, chmod/chown/chgrp applied to the mount point with
nothing mounted will change the mount point's listing when nothing is
mounted, and chmod/chown/chgrp applied to the mount point after
mounting will change the permissions of the actual file system. 


 However I'm posting to solicit suggestions on the best permissions 
 practices for this purpose. mediatomb shouldn't need write access to these 
 files or folders at all - there's no option on the UPnP client, for 
 instance, to delete files from the server. Should I make the drives owned 
 by users and in the mediatomb group, with read-only access for the 
 latter? Any other suggestions?

What's so secret in your media folders that you can't just give read
access to mediatomb? Why don't you have it like you have now with
regards tot he owner and group and just give read permission to other? 

owner root
group users
umask 002  (i.e. you will have rwxrwxr-x or rw-rw-r-- ?)

To do any fancier (say, files owned by root, read-write access for all
users and read access only for mediatomb and no access for everyone
else) you will probably need a real ACL with which I can offer no
suggestions.

W
-- 
When coal was first discovered, there was a large black market.
Sortir en Pantoufles: up 662 days, 12:48



Re: [gentoo-user] {OT} cdrdao's toc2cue question

2008-09-30 Thread Grant
  I don't understand your problem. Did you read the cdda2wav man page?

 I did read it but I didn't find a way to get cdda2wav to produce a
 single raw/inf pair for the entire CD instead of a pair for each
 track.  Do you know if it can do that?

 You told me that you like to have one file per track. Using cdda2wav is
 the best way to achieve this. Why do you now like to do the converse?

I said:

I like to end up with a raw/toc pair of files to act as a raw backup
of the CD, and a series of individual FLAC files for each track.

I like having this backup because of the potential issues introduced
by having one file per track.  For example:

Where does the hidden track before track #1 go?  Should it be
prepended to file #1?  If so, what if you just want to hear track #1
and not the hidden track?

I like to have a raw backup of the entire CD to avoid issues brought
about by splitting 1 thing into 15 things.

- Grant



Re: [gentoo-user] Patch file for cdrtools to allow --duplicates-once

2008-09-30 Thread Andrey Vul
On Tue, Sep 30, 2008 at 6:25 AM, Joerg Schilling
[EMAIL PROTECTED] wrote:
 Andrey Vul [EMAIL PROTECTED] wrote:

 Is there a patch file to patch mkisofs to use the --duplicates-once
 option during generation of iso9960/UDF images?

 There is no such option.

 Could you explain your desire?

There is an unofficial version of mkisofs that implements
--duplicates-once. The website of the person who patched it (Alex
Kopylov) is permanently down. That version is commonly used in order
to fit 5 flavors of Window$ XP on one CD by hard-linking multiple
directory entries to the same sector(s).
Anyways, I am building a hybrid CD and there is a chance that there
are duplicate files.
However, I don't know how to use the output of find cd-root -type f
-or -type l | xargs sha1sum -b to find duplicate files. Maybe someone
can donate a perl/python script to find duplicate files and list them?

-- 
Andrey Vul



Re: [gentoo-user] Patch file for cdrtools to allow --duplicates-once

2008-09-30 Thread Joerg Schilling
Andrey Vul [EMAIL PROTECTED] wrote:

 On Tue, Sep 30, 2008 at 6:25 AM, Joerg Schilling
 [EMAIL PROTECTED] wrote:
  Andrey Vul [EMAIL PROTECTED] wrote:
 
  Is there a patch file to patch mkisofs to use the --duplicates-once
  option during generation of iso9960/UDF images?
 
  There is no such option.
 
  Could you explain your desire?
 
 There is an unofficial version of mkisofs that implements
 --duplicates-once. The website of the person who patched it (Alex
 Kopylov) is permanently down. That version is commonly used in order
 to fit 5 flavors of Window$ XP on one CD by hard-linking multiple
 directory entries to the same sector(s).
 Anyways, I am building a hybrid CD and there is a chance that there
 are duplicate files.

There is noneed for this option as the described behavior is the default 
behavior of mkisofs.



Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] Patch file for cdrtools to allow --duplicates-once

2008-09-30 Thread Sascha Hlusiak
 However, I don't know how to use the output of find cd-root -type f
 -or -type l | xargs sha1sum -b to find duplicate files. Maybe someone
 can donate a perl/python script to find duplicate files and list them?
find . -type f -print0 | xargs -0 -L 1 md5sum | sort | uniq -w 20 -D

- Sascha





Re: [gentoo-user] epiphany flash

2008-09-30 Thread Grant
 Firefox is crashing on me all the time.  I searched for an alternative
 and came up with epiphany.  I like it but I can't get flash to work.
 Chances are Epiphany is more stable *because* you don't have Flash in
 it - it often causes Firefix to crash. I recommend to either try one
 of the open source alternatives or install Flashblock [1].

I've got flashblock installed and it works with youtube.com as far as
being able to click and play the video, but not cnn.com.  Do you find
it works pretty well in general?

- Grant



[gentoo-user] net-misc/dhcpcd-4.0.1-r1 change of USE flags

2008-09-30 Thread Mick
I upgraded from net-misc/dhcpcd-3.2.3 to net-misc/dhcpcd-4.0.1-r1.  I noticed 
that the vram USE flag is now removed and the compat USE flag added (to 
enable command line compatibility with the dhcpcd-3.x version).

Unfortunately, this change was also noticed by my router, which will no longer 
serve the static IP address that I have set up on it for my laptop.  I recall 
a similar problem occurring with a previous version and the solution was to 
add the vram USE flag.  I could of course ring up the router manufacturers 
and have a go at their router implementation - but hey, they may just find my 
behaviour a tad unreasonable.  ;-)

What happens is that without the vram flag the router reads not the MAC 
address of, say:

01:00:1B:2F:A7:01:DF

but something like this instead:

FD:65:74:68:90:00:01:01:00:0E:95:9F:D7:01:00:1B:2F:A7:01:DF

In other words, the router receives a ClientID probably based on the DUID 
field which is not recognised by the router as the correct MAC.

I can set the correct IP address manually at the laptop, but what I'd rather 
have is a dhcpcd implementation that works with, not against my router and 
the fields that it expects to read.  What shall I do, have a go at the router 
manufacturer all the same?
-- 
Regards,
Mick


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


Re: [gentoo-user] Patch file for cdrtools to allow --duplicates-once

2008-09-30 Thread Neil Bothwick
On Tue, 30 Sep 2008 12:38:16 -0400, Andrey Vul wrote:

 However, I don't know how to use the output of find cd-root -type f
 -or -type l | xargs sha1sum -b to find duplicate files. Maybe someone
 can donate a perl/python script to find duplicate files and list them?

emerge -av app-misc/fdupes
fdupes -r cd-root


-- 
Neil Bothwick

WinErr 042: Virus error - A virus has been activated in a dos-box. The
virus, however, requires Windows. All tasks will automatically be closed
and the virus will be activated again.


signature.asc
Description: PGP signature


Re: [gentoo-user] epiphany flash

2008-09-30 Thread Erik Hahn
On Tue, Sep 30, 2008 at 11:42:14AM -0700, Grant wrote:
 I've got flashblock installed and it works with youtube.com as far as
 being able to click and play the video, but not cnn.com.  Do you find
 it works pretty well in general?

I've never had any problem with it. Does it work without Flashblock?

There might be an icon in the status bar to temporarily disable
Flashblock completely (I've used Noscript, not Flashblock for a while,
though).

-Erik

-- 
hackerkey://v4sw5hw2ln3pr5ck0ma2u7LwXm4l7Gi2e2t4b7Ken4/7a16s0r1p-5.62/-6.56g5OR



Re: [gentoo-user] Patch file for cdrtools to allow --duplicates-once

2008-09-30 Thread Joerg Schilling
Neil Bothwick [EMAIL PROTECTED] wrote:

 On Tue, 30 Sep 2008 12:38:16 -0400, Andrey Vul wrote:

  However, I don't know how to use the output of find cd-root -type f
  -or -type l | xargs sha1sum -b to find duplicate files. Maybe someone
  can donate a perl/python script to find duplicate files and list them?

 emerge -av app-misc/fdupes
 fdupes -r cd-root

This may help in case there are files that have the same content but are not
hardlinked together.

Mkisofs checks for pysically and virtually (e.g. via -graft-points) hard linked 
files. Files with the same inode number appear only once in the .iso image
created by mkisofs.

The patch with -duplicates-once is from before December 2001 in a time where 
POSIX did not allow 64 bit inode numbers. At that time, Cygwin did not work 
properly as it hashed 64 bit NTFS inode numbers to 32 bit numbers. Since a long 
time, Cygwin just uses 64 bit inode numbers for NTFS and mkisofs has no problem
to detect hard lionked files.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily