Re: [gentoo-user] [OT] Copying PS/2 game CDs

2006-06-21 Thread Raymond Lewis Rebbeck
On Wednesday, 21 June 2006 11:38, Teresa and Dale wrote:
 Hi,

 I want to make copies of our PS/2 game CDs so that they can use the
 copies and we can put up the originals.  They seem to either scratch
 real easy or they are really touchy about scratches.  Does anybody here
 know of a way to do this?  This is Linux, surely someone has found a way.

 Thanks.  Sorry so far off topic.  I can't be the only one with kids
 around.  ;-)

 Dale

 :-)

Copying the CD/DVD is easy enough, just use your standard tools although I 
don't believe dual layer discs can be copied properly yet ie. Gran Turismo 4.

However, getting them to actually play on the PS/2 is a whole other matter. 
You'll need to have your PS/2 modded to support playing copied games, which 
may or may not be legal where you live.

-- 
Raymond Lewis Rebbeck
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dbus checksum fail

2006-06-21 Thread Raymond Lewis Rebbeck
On Wednesday, 21 June 2006 14:48, Kumar Golap wrote:
 I am trying to updat dbus to the latest and i get the following

 # emerge -uv dbus
 Calculating dependencies... done!

  Emerging (1 of 1) sys-apps/dbus-0.62 to /
  checking ebuild checksums

 !!! Digest verification failed:
 !!! /usr/portage/sys-apps/dbus/dbus-0.62.ebuild
 !!! Reason: Filesize does not match recorded size
 !!! Got: 3913
 !!! Expected: 3863



 Any clue what could be wrong...i am on a ~amd64 architecture


 Thanks

 Kumar

You may have a corrupt or incomplete download. Otherwise the ebuild may just 
have the wrong filesize which should hopefully be corrected by the next time 
you sync. If you're sure the download is fine you can re-digest the ebuild by 
executing

# ebuild /usr/portage/sys-apps/dbus-0.62.ebuild digest

-- 
Raymond Lewis Rebbeck
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Boinc setiathome on AMD64

2006-06-21 Thread Martins Steinbergs
On Wednesday 21 June 2006 00:16, [EMAIL PROTECTED] wrote:
 Is anyone on this list using BOINC+setiathome on AMD64?

 If so, what was your process for getting it working?

 From what I can tell, the setiathome package in portage is
 out-of-date.  Furthermore, the x86_64 BOINC+setiathome ebuilds never
 worked correctly (in particular, /etc/init.d/boinc attach).

 So, it looks to me as though we must do a manual install if we want
 to run BOINC+setiathome on an Athlon64 CPU.

 Does anyone have any guidance for doing this with as little hassle
 as possible?

 Thanks!
 Matt

i did replace compilled setti executabe with fedora binary one with big 
performance boost

actualy setti project could be idle for some time, check that before waste 
more time

m
-- 
Linux 2.6.16-ck11 AMD Athlon(tm) 64 Processor 3200+
 08:58:20 up 15 min,  1 user,  load average: 0.90, 0.66, 0.44
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] running fetchmail/procmail as a service

2006-06-21 Thread Robert Persson
On Tuesday 20 June 2006 22:49 Jean Magnan de Bornier was like:
 Yes

Thanks! That's what I needed to know.

-- 
Robert Persson

That's MISTER Scum to you.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2GB of RAM

2006-06-21 Thread David Klempner
* Ralph Slooten [EMAIL PROTECTED] [2006-06-21 00:15]:
 I upgraded yesterday to 2.6.17 and also noticed that there was no split
 option. Not thinking much of it I installed the kernel which works fine,
 except now /proc/kcore reports 897M, and `free` something to that effect
 too.
 
 So I take it I'm only using just less than 1/2 my RAM now, correct?

Right.

 With 2GB of RAM, Do I now have to enable the embedded option (which
 gives me a lot more options, most likely all of which I don't need), and
 then select the 2/2 split, or  ?

Actually, I side with the kernel developers on this; the fact that
they're hiding the VMSPLIT options is basically a subtle hint that they
don't want people using them who don't *really* know what they're doing.

I strongly suggest using CONFIG_HIGHMEM, and sticking with the default
3/1 split. (I mean, it's *slightly* slower, but on the other hand what
caused them to do this was random breaking of java that took a long time
to diagnose.) That said...

 I noticed too that if I select the embedded option, but unselect all new
 options that come with it I still get the memory split options. Is this
 the right way to go?

NO. As in, all of those options (with the exception of
CONFIG_KALLSYMS_EXTRA_PASS) default to yes, and all of those defaults
are very important. If you disable them, you will, for example, break
most of the kernel's logging (printk), lose the ability to get core
dumps, and lose futexes (which will break a lot of modern threading).
Basically, saying no to any option option on that page (with the
exception of the KALLSYMS stuff) *WILL* break your system.

So, make sure that everything, except CONFIG_KALLSYMS_EXTRA_PASS, on
that page is enabled. (that might be what you meant in the first place,
of course, but it's worth making sure...) All you need to be able to
select the VMSPLIT options is CONFIG_EMBEDDED (that is, saying yes to
the Configure standard kernel features (for small systems) item) which
doesn't actually have any impact on the code.

Hope this helps.

-- 
David Klempner


pgpOKI6BImABq.pgp
Description: PGP signature


Re: [gentoo-user] 2GB of RAM

2006-06-21 Thread David Klempner
* Vladimir G. Ivanovic [EMAIL PROTECTED] [2006-06-20 16:51]:
 I figured it out. The VMSPLIT options are *not* available on 64-bit
 systems. (Phew. It's neither encroaching madness nor Alzheimer's.)

Yeah... I suppose I wasn't paying close enough attention to what you
were saying. :-)

The VMSPLIT options are about how the kernel uses the 32 bit address
space (specifically, what fraction of the address space of each process
it reserves for its own use). A large portion of what a 64 bit system
gets you is more than 32 bits worth of address space, so I'm fairly sure
the entire issue is moot. :-)

(On the other hand, I have still yet to look really closely at the gory
details of how AMD64 works, and how linux uses it. I had a decent idea,
way back when the only implementations available were simulators, but
that was a while ago and I've forgotten a lot of it. As such, I might be
wrong.)

-- 
David Klempner


pgpehjRSoldKu.pgp
Description: PGP signature


Re: [gentoo-user] genkernel cannot find files

2006-06-21 Thread Trenton Adams

thanks

On 6/20/06, Bo Ørsted Andresen [EMAIL PROTECTED] wrote:

On Wednesday 21 June 2006 01:56, Trenton Adams wrote:
 Nope, those mirrors do not change anything. I tried to use default
 mirrors, and it only tried three mirrors.

 Don't know why it's not working. Very odd.

They must have moved it on the mirrors. Just download it manually at put it in
$DISTDIR.

http://bugs.gentoo.org/show_bug.cgi?id=137241

--
Bo Andresen





--
gentoo-user@gentoo.org mailing list



[gentoo-user]

2006-06-21 Thread Christian Panten
Hello,

after some update (I can't recognize with I made) I had some problems with 
kicker. The taskbar didn't return from automaticle blend out.
After reinstallation of kdelibs and kicker I solved this problem.

But there are also some problems remained.
1. Starting kde I get an error that kcminit failed.
I tried to reinstall kcminit, but it does not solve the problem.
2. My soundserver arts hangs.
A reinstallation of arts does not help.

Can anyone help me?


There is also an other problem.
I notify that I get an warning while configuration some kde packages:

*
configure: WARNING: Your libstdc++ doesn't appear to be patched for
   visibility support. Disabling -fvisibility=hidden
checking whether i686-pc-linux-gnu-g++ supports -fvisibility=hidden... 
(cached) no
*

revdep-rebuild does not found any broken packages except of two binaries:
openoffice-bin and ekiga

Best regards
Christian


*
emerge --info:
Portage 2.1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 
2.6.15-gentoo-r1 i686)
=
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.50GHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled]
ccache version 2.3 [enabled]
dev-lang/python: 2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS=x86
AUTOCLEAN=yes
CBUILD=i686-pc-linux-gnu
CFLAGS=-O2 -march=pentium4 -fomit-frame-pointer
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/kde/3.4/env /usr/kde/3.4/share/config 
/usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config 
/usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config
CONFIG_PROTECT_MASK=/etc/env.d /etc/gconf /etc/splash /etc/terminfo 
/etc/texmf/web2c
CXXFLAGS=-O2 -march=pentium4 -fomit-frame-pointer
DISTDIR=/usr/portage/distfiles
FEATURES=autoaddcvs autoconfig ccache distlocks metadata-transfer sandbox 
sfperms strict
GENTOO_MIRRORS=http://www.gigaload.org/gentoo.org/ 
ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo 
http://gentoo.mirror.sdv.fr;
LINGUAS=de
MAKEOPTS=-j2
PKGDIR=/usr/portage/packages
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --delete-after --stats --timeout=180 
--exclude='/distfiles' --exclude='/local' --exclude='/packages'
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORTDIR_OVERLAY=/usr/local/portage/myoverlay /usr/local/portage/gentoo.de 
/usr/local/portage/spyderous/overlay
SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=x86 X acl alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 
cdr chipcard cli crypt cups curl dba dri dtaus dvd dvdr eds emboss encode esd 
exif expat fam ffmpeg flac font-server foomaticdb fortran gd gdbm geldkarte 
gif glut gmp gnome gpm gstreamer gtk gtk2 hbci icq idn imagemagick imap imlib 
intel8x0 ipv6 isdnlog jabber java jpeg jpeg2k jpg kde lcms ldap libg++ libwww 
mad maildir mhash mikmod mng motif mp3 mpeg mplayer mpm-perchild mysql 
ncurses nls nptl nptlonly nvidia ofx ogg opengl oss pam pcre pdf pdflib perl 
php png posix postgres ppds pppd python qt quicktime readline recode 
reflection ruby samba sdl session spell spl sqlite ssl svg svga tcltk tcpd 
tetex threads tiff truetype truetype-fonts type1-fonts udev usb vorbis 
win32codecs xine xml xml2 xmms xorg xv xvid zlib elibc_glibc kernel_linux 
linguas_de userland_GNU
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, 
PORTAGE_RSYNC_EXTRA_OPTS


*
emerge -s libstdc++:
*  sys-libs/libstdc++-v3
  Latest version available: 3.3.4
  Latest version installed: 3.3.4
  Size of files: 22,784 kB
  Homepage:  http://gcc.gnu.org/libstdc++/
  Description:   Compatibility package for running binaries linked against 
a pre gcc 3.4 libstdc++
  License:   GPL-2 LGPL-2.1

*  virtual/libstdc++
  Latest version available: 3.3
  Latest version installed: 3.3
  Size of files: 0 kB
  Homepage:  http://www.gentoo.org/proj/en/base/
  Description:   Virtual for the GNU Standard C++ Library
  License:   GPL-2
-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dbus checksum fail

2006-06-21 Thread Neil Bothwick
On Tue, 20 Jun 2006 23:18:06 -0600, Kumar Golap wrote:

 !!! Digest verification failed:
 !!! /usr/portage/sys-apps/dbus/dbus-0.62.ebuild
 !!! Reason: Filesize does not match recorded size
 !!! Got: 3913
 !!! Expected: 3863
 

sync again, this was fixed yesterday. If it still fails, try another
mirror.


-- 
Neil Bothwick

And what else floats.?


signature.asc
Description: PGP signature


Re: [gentoo-user] dvdrip: significant frame loss during rip

2006-06-21 Thread Neil Bothwick
On Tue, 20 Jun 2006 21:53:18 -0400, fire-eyes wrote:

 It seems that transcode ripping stopped short. The movie has 187351
 frames, but only 152564 were ripped. This is most likely a problem with
 your transcode/libdvdread installation, resp. a problem with this
 specific DVD.

I see this error, but usually near the start of the rip. I get rid of it
by setting Grab subtitle preview images to No.


-- 
Neil Bothwick

Windows - software package to turn a 486 into an Etch-A-Sketch!


signature.asc
Description: PGP signature


Re: [gentoo-user] 2GB of RAM

2006-06-21 Thread Ralph Slooten
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi David,

David Klempner wrote:
 Actually, I side with the kernel developers on this; the fact that
 they're hiding the VMSPLIT options is basically a subtle hint that they
 don't want people using them who don't *really* know what they're doing.

Like me .. hence all the questions ;-) I just want to be able to use my
full RAM, as having 2GB and using  1GB is just uncool ;-)

 I strongly suggest using CONFIG_HIGHMEM, and sticking with the default
 3/1 split. (I mean, it's *slightly* slower, but on the other hand what
 caused them to do this was random breaking of java that took a long time
 to diagnose.) That said...

OK. I definitely will keep this in mind.

 I noticed too that if I select the embedded option, but unselect all new
 options that come with it I still get the memory split options. Is this
 the right way to go?
 
 NO. As in, all of those options (with the exception of
 CONFIG_KALLSYMS_EXTRA_PASS) default to yes, and all of those defaults
 are very important. If you disable them, you will, for example, break
 most of the kernel's logging (printk), lose the ability to get core
 dumps, and lose futexes (which will break a lot of modern threading).
 Basically, saying no to any option option on that page (with the
 exception of the KALLSYMS stuff) *WILL* break your system.
 
 So, make sure that everything, except CONFIG_KALLSYMS_EXTRA_PASS, on
 that page is enabled. (that might be what you meant in the first place,
 of course, but it's worth making sure...) All you need to be able to
 select the VMSPLIT options is CONFIG_EMBEDDED (that is, saying yes to
 the Configure standard kernel features (for small systems) item) which
 doesn't actually have any impact on the code.

Sorry, but one thing remains unclear. Ignoring the fact that adding
embedded extras to your kernel on a non-embedded system just to get the
the VMSPLIT options is (in my opinion) confusing and unlogical, is this
step actually needed considering I (according to your advice) would take
the default VMSPLIT anyway?
What I mean is simply: If I enable HIGHMEM4GB to allow the kernel to use
my 2GB of RAM, do I still need to add the embedded options (as you
explain above), or is simply using HIGHMEM4GB enough? It's maybe a tough
question is ask, but you definitely seem to know exactly what you are
talking about ;-)

 Hope this helps.

Is sure does! Any advice to the above question? With that I should be
complete I think ;-) Where do you get your information from btw (I'm
curious as I didn't find much via Google explaining as clear as you did)?

Thanks again,
Ralph
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (MingW32)

iD8DBQFEmQt3Ct0ZF9kLPvYRAt69AKCe/ClqjzQHMTZ3yvuNQ9sXwVbFsQCeMdwb
BREkUr+u9/o9K8ZImMCdJmM=
=8vc3
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] What to do when you can't loggin

2006-06-21 Thread Paul Stear
Hi,
I am running an ~x86 system and yesterday I did an emerge world, all went well 
until the next time I booted. kdm ran but the screen just had a flashing 
loggin box.  I could not even get another terminal using alt F1-F7. So I am 
faced with not being able to loggin at all.  This raises a few questions 
about my own inadequacies :-
1. What is the correct procedure to recover a system in this state?  What 
tools do I need?
2. I have an rsynced backup on an external usb harddrive, but unless I can 
loggin how can I restore the files from the backup?
3. It appears that a freetype update was the cause of this failure, but this 
information was hard to find on the forum's (I was lucky). I had an old 
installation cd and chroot'ed and emerged the previous version of freetype, 
rebooted and all is well (I hope).
4. How can an update like this get into ~x86 tree when it plainly causes a 
major problem?  I wonder if I should revert to just x86.

Paul
-- 
This message has been sent using kmail with gentoo linux
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What to do when you can't loggin

2006-06-21 Thread Caster
On 6/21/06, Paul Stear [EMAIL PROTECTED] wrote:
Hi,I am running an ~x86 system and yesterday I did an emerge world, all went welluntil the next time I booted. kdm ran but the screen just had a flashingloggin box.I could not even get another terminal using alt F1-F7. So I am
faced with not being able to loggin at all.This raises a few questionsabout my own inadequacies :-1. What is the correct procedure to recover a system in this state?Whattools do I need?
You answered yourself in point 3. It's also possible to boot in single user mode (edit kernel line in grub and add 1 to the end) and remove xdm from default bootlevel, so on next reboot you are console only and can downgrade freetype.
2. I have an rsynced backup on an external usb harddrive, but unless I can
loggin how can I restore the files from the backup?Again, single user or livecd. 
3. It appears that a freetype update was the cause of this failure, but thisinformation was hard to find on the forum's (I was lucky). I had an oldinstallation cd and chroot'ed and emerged the previous version of freetype,
rebooted and all is well (I hope).Good. 4. How can an update like this get into ~x86 tree when it plainly causes a
major problem?I wonder if I should revert to just x86.That's what ~arch is for, packages are TESTED there, not all problems can be known beforehand. Of course after the bug was reported, the first thing they should have done was to 
package.mask it to prevent problems even for more users, because now it was a known major problem.But still if you run ~arch, you should be ready for problems. If you don't want, revert to arch...Caster



Re: [gentoo-user] What to do when you can't loggin

2006-06-21 Thread Neil Bothwick
On Wed, 21 Jun 2006 10:47:11 +0100, Paul Stear wrote:

 I am running an ~x86 system and yesterday I did an emerge world, all
 went well until the next time I booted. kdm ran but the screen just had
 a flashing loggin box.  I could not even get another terminal using alt
 F1-F7. So I am faced with not being able to loggin at all.  This raises
 a few questions about my own inadequacies :-
 1. What is the correct procedure to recover a system in this state?
 What tools do I need?

In this case, all you need to do is boot without X, or SSH in from
another box. As a last resort you could boot a live CD chroot and fix
things.

 2. I have an rsynced backup on an external usb harddrive, but unless I
 can loggin how can I restore the files from the backup?

By booting from a live CD.

 3. It appears that a freetype update was the cause of this failure, but
 this information was hard to find on the forum's (I was lucky). I had
 an old installation cd and chroot'ed and emerged the previous version
 of freetype, rebooted and all is well (I hope).

Yes, it was a patch to freetype that caused this. I got bitten too.

 4. How can an update like this get into ~x86 tree when it plainly
 causes a major problem?

Because ~arch is for testing. A ~ keyword only guarantees that it works
for the ebuild's author, that's why it is called testing, you are the
tester. Had this bug made it through to the stable tree, you would have
cause for complaint.

 I wonder if I should revert to just x86.

If you are not willing to accept the risks and responsibilities of
running a testing system, then the answer is probably yes.


-- 
Neil Bothwick

Bumper Sticker: If you can read this, you are in phaser range.


signature.asc
Description: PGP signature


Re: [gentoo-user] What to do when you can't loggin

2006-06-21 Thread Paul Stear
On Wednesday 21 June 2006 11:05, Neil Bothwick wrote:
 On Wed, 21 Jun 2006 10:47:11 +0100, Paul Stear wrote:

  1. What is the correct procedure to recover a system in this state?
  What tools do I need?

 In this case, all you need to do is boot without X, or SSH in from
 another box. As a last resort you could boot a live CD chroot and fix
 things.
How do I boot without x? (I've got a feeling I should know this) I am using 
grub.
  2. I have an rsynced backup on an external usb harddrive, but unless I
  can loggin how can I restore the files from the backup?

 By booting from a live CD.
I tried that but my cd didn't have rsync on it Its 2005.1 created Sept 05

-- 
This message has been sent using kmail with gentoo linux
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What to do when you can't loggin

2006-06-21 Thread Boris Fersing

2006/6/21, Paul Stear [EMAIL PROTECTED]:

On Wednesday 21 June 2006 11:05, Neil Bothwick wrote:
 On Wed, 21 Jun 2006 10:47:11 +0100, Paul Stear wrote:

  1. What is the correct procedure to recover a system in this state?
  What tools do I need?

 In this case, all you need to do is boot without X, or SSH in from
 another box. As a last resort you could boot a live CD chroot and fix
 things.
How do I boot without x? (I've got a feeling I should know this) I am using
grub.


You have 2 options :

- add 'single' or '1' to the grub boot params.
- press I (interactive mode) during init and then choose to NOT start
xdm when the init script asks for it.

HTH.

Boris.


  2. I have an rsynced backup on an external usb harddrive, but unless I
  can loggin how can I restore the files from the backup?

 By booting from a live CD.
I tried that but my cd didn't have rsync on it Its 2005.1 created Sept 05

--
This message has been sent using kmail with gentoo linux
--
gentoo-user@gentoo.org mailing list





--
Quiconque me parle de Dieu en veut à ma bourse ou à ma liberté.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What to do when you can't loggin

2006-06-21 Thread Alexander Skwar
Paul Stear wrote:
 On Wednesday 21 June 2006 11:05, Neil Bothwick wrote:
 On Wed, 21 Jun 2006 10:47:11 +0100, Paul Stear wrote:
 
  1. What is the correct procedure to recover a system in this state?
  What tools do I need?

 In this case, all you need to do is boot without X, or SSH in from
 another box. As a last resort you could boot a live CD chroot and fix
 things.
 How do I boot without x?

Hit I when the system prompts if interactive mode mode should be used.
I usually hold I all the way from after the boot loader until something
happens...

Another way: If you use grub, you can edit the boot command line. Add
init=/bin/sh to the end of the boot command line.

Alexander Skwar
-- 
Dreams are free, but there's a small charge for alterations.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What to do when you can't loggin

2006-06-21 Thread Daniel Iliev

 Another way: If you use grub, you can edit the boot command line. Add
 init=/bin/sh to the end of the boot command line.

 Alexander Skwar
 --
 Dreams are free, but there's a small charge for alterations.
 --
 gentoo-user@gentoo.org mailing list



The same method applies to lilo too.

--
Best regards,
Daniel

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Portage: missing pieces

2006-06-21 Thread Molle Bestefich

I think a piece might be missing from Portage.

I'll depict my workflow as an example.

I'm preparing to upgrade:
# emerge --sync
# emerge -Dp world
[blocks B ] =x11-base/xorg-x11-6.9 (is blocking x11-libs/libXinerama-1.0.1)
[blocks B ] =x11-base/xorg-x11-6.9 (is blocking x11-libs/libXi-1.0.1)
[blocks B ] =x11-base/xorg-x11-6.9 (is blocking x11-libs/libXrandr-1.1.1)
[blocks B ] =x11-base/xorg-x11-6.9 (is blocking x11-proto/randrproto-1.1.2)
[blocks B ] =x11-base/xorg-x11-6.9 (is blocking x11-misc/makedepend-1.0.0)
[blocks B ] =x11-base/xorg-x11-6.9 (is blocking media-libs/mesa-6.5-r3)
[blocks B ] =x11-base/xorg-x11-6.9 (is blocking x11-libs/libdrm-2.0.1)
[blocks B ] =x11-base/xorg-x11-6.9 (is blocking
x11-proto/xf86vidmodeproto-2.2.2)
[blocks B ] =x11-base/xorg-x11-6.9 (is blocking x11-proto/glproto-1.4.7)
[blocks B ] =x11-base/xorg-x11-6.9 (is blocking
x11-proto/xf86driproto-2.0.3)
... etc, lots of blockers ...

Ok, let's try and find why it wants to downgrade to xorg-x11-6.9:
# equery d xorg-x11-6.9
[ Searching for packages depending on xorg-x11-6.9... ]

none found
#

Ok, no reason, apparently.  Maybe it's already merged then?
# emerge -C xorg-x11-6.9
--- Couldn't find 'xorg-x11-6.9' to unmerge.

Nope.  Now I'm getting uncertain.  Don't I have xorg-x11 at all?
# emerge -C xorg-x11

x11-base/xorg-x11
   selected: 7.0-r1
  protected: none
omitted: none


'Selected' packages are slated for removal.
'Protected' and 'omitted' packages will not be removed.



Waiting 5 seconds before starting...
(Control-C to abort)...
Unmerging in: 5 4 3


CTRL-C
Exiting on signal 2

Whoops.  Yep, it's there.

Ok, so status is that I have xorg-x11-7.0, I don't have 6.9, no
packages actually wants xorg-x11-6.9, but whenever I use emerge -D
world, Portage sees it as a blocker anyway.

Is there a piece missing in this puzzle, in particular the one that
will tell me why on earth Portage thinks version 6.9 is a blocker?

Or is the piece in place but I'm not looking hard enough?
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Problem: unprivileged user cannot use /usr/bin/crontab

2006-06-21 Thread Enrico Weigelt

Hi folks,


I've just installed cron and wanted to edit an user's crontab
with crontab -e. This didn't work: permission denied.

It is easy to fix, by chmod ugo+s, but after an update,
the shit starts again ...

Smells like a bug.


cu
-- 
-
 Enrico Weigelt==   metux IT service

  phone: +49 36207 519931 www:   http://www.metux.de/
  fax:   +49 36207 519932 email: [EMAIL PROTECTED]
  cellphone: +49 174 7066481
-
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problem: unprivileged user cannot use /usr/bin/crontab

2006-06-21 Thread Etaoin Shrdlu
On Wednesday 21 June 2006 13:34, Enrico Weigelt wrote:
 Hi folks,


 I've just installed cron and wanted to edit an user's crontab
 with crontab -e. This didn't work: permission denied.

 It is easy to fix, by chmod ugo+s, but after an update,
 the shit starts again ...

 Smells like a bug.

More like you have to add the user to the cron grup.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What to do when you can't loggin

2006-06-21 Thread Alexander Skwar
Daniel Iliev wrote:
 Another way: If you use grub, you can edit the boot command line. Add
 init=/bin/sh to the end of the boot command line.

 Alexander Skwar
 --
 Dreams are free, but there's a small charge for alterations.
 --
 gentoo-user@gentoo.org mailing list


 
 The same method applies to lilo too.

True. But with lilo, you've got to modify the lilo.conf (or what's
it called?) and run lilo, don't you?

Or can you modify the boot command line on-the-fly in the boot
menu?

Alexander Skwar
-- 
Dreams are free, but there's a small charge for alterations.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problem: unprivileged user cannot use /usr/bin/crontab

2006-06-21 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Enrico Weigelt wrote:
 I've just installed cron and wanted to edit an user's crontab
 with crontab -e. This didn't work: permission denied.

Remember that the user must be in the cron group to be able to use cron/crontab.

- --
Arturo Buanzo Busleiman - VPN Mail Project - http://vpnmail.buanzo.com.ar
Consultor en Seguridad Informatica - http://www.buanzo.com.ar
Genetic - A multiplatform Gentoo Portage Frontend - 
http://genetic.sourceforge.net
for f in www blog linux-consulting vpnmail; do firefox http://$f.buanzo.com.ar 
; done
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEmTBNAlpOsGhXcE0RAgrZAJ9+t4inis6bXZHoebPYWuEEVJtGeACeOtMO
o1BdoTJwRjmITuR/5uVQ98g=
=biao
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What to do when you can't loggin

2006-06-21 Thread Etaoin Shrdlu
On Wednesday 21 June 2006 13:39, Alexander Skwar wrote:

 True. But with lilo, you've got to modify the lilo.conf (or what's
 it called?) and run lilo, don't you?

 Or can you modify the boot command line on-the-fly in the boot
 menu?

Of course: after selecting an entry from the lilo menu, just append the 
parameters you need to the command line (shown at lilo the prompt) 
*before* hitting enter.
Well, no flame, but it's probably easier than with grub, where you have 
to explicitly press some key to modify the command line.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problem: unprivileged user cannot use /usr/bin/crontab

2006-06-21 Thread Alexander Skwar
Enrico Weigelt wrote:
 Hi folks,
 
 
 I've just installed cron and wanted to edit an user's crontab
 with crontab -e. This didn't work: permission denied.

Correct.

 It is easy to fix, by chmod ugo+s, but after an update,
 the shit starts again ...

No, that's not a fix. That's a break in.

 Smells like a bug.

How do you get that idea? It rather smells, as if you haven't
done the slightest checks and it sounds as if everything is
working as intended.

Alexander Skwar
-- 
Dreams are free, but there's a small charge for alterations.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problem: unprivileged user cannot use /usr/bin/crontab

2006-06-21 Thread Dirk Heinrichs
Am Mittwoch, 21. Juni 2006 13:34 schrieb ext Enrico Weigelt:

 I've just installed cron and wanted to edit an user's crontab
 with crontab -e. This didn't work: permission denied.

Looks quite normal.

 It is easy to fix, by chmod ugo+s, but after an update,
 the shit starts again ...

Or by editing /etc/cron.allow (may be a different file, depending on cron 
flavour).

 Smells like a bug.

Works as designed.

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstra�e 55  | Web:  http://www.capgemini.com
D-40472 D�sseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


pgpRzeVciqQXm.pgp
Description: PGP signature


Re: [gentoo-user] What to do when you can't loggin

2006-06-21 Thread Alexander Skwar
Etaoin Shrdlu wrote:
 On Wednesday 21 June 2006 13:39, Alexander Skwar wrote:
 
 True. But with lilo, you've got to modify the lilo.conf (or what's
 it called?) and run lilo, don't you?

 Or can you modify the boot command line on-the-fly in the boot
 menu?
 
 Of course: after selecting an entry from the lilo menu, just append the 
 parameters you need to the command line (shown at lilo the prompt) 
 *before* hitting enter.
 Well, no flame, but it's probably easier than with grub, where you have 
 to explicitly press some key to modify the command line.

Hm - can you also *modify* the boot commands? Say, the boot command
in lilo.conf contains vga=123 and now, for whatever reason, you
want vga=ask - what to do?

Alexander Skwar
-- 
Then you admit confirming not denying you ever said that?
NO! ... I mean Yes!  WHAT?
I'll put `maybe.'
-- Bloom County
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Portage: missing pieces

2006-06-21 Thread Shaochun Wang
add virtual/xft ~x86 to /etc/portage/package.keywords



On Wed, Jun 21, 2006 at 01:29:21PM +0200, Molle Bestefich wrote:
 I think a piece might be missing from Portage.
 
 I'll depict my workflow as an example.
 
 I'm preparing to upgrade:
 # emerge --sync
 # emerge -Dp world
 [blocks B ] =x11-base/xorg-x11-6.9 (is blocking 
 x11-libs/libXinerama-1.0.1)
 [blocks B ] =x11-base/xorg-x11-6.9 (is blocking x11-libs/libXi-1.0.1)
 [blocks B ] =x11-base/xorg-x11-6.9 (is blocking 
 x11-libs/libXrandr-1.1.1)
 [blocks B ] =x11-base/xorg-x11-6.9 (is blocking 
 x11-proto/randrproto-1.1.2)
 [blocks B ] =x11-base/xorg-x11-6.9 (is blocking 
 x11-misc/makedepend-1.0.0)
 [blocks B ] =x11-base/xorg-x11-6.9 (is blocking media-libs/mesa-6.5-r3)
 [blocks B ] =x11-base/xorg-x11-6.9 (is blocking x11-libs/libdrm-2.0.1)
 [blocks B ] =x11-base/xorg-x11-6.9 (is blocking
 x11-proto/xf86vidmodeproto-2.2.2)
 [blocks B ] =x11-base/xorg-x11-6.9 (is blocking 
 x11-proto/glproto-1.4.7)
 [blocks B ] =x11-base/xorg-x11-6.9 (is blocking
 x11-proto/xf86driproto-2.0.3)
 ... etc, lots of blockers ...
 
 Ok, let's try and find why it wants to downgrade to xorg-x11-6.9:
 # equery d xorg-x11-6.9
 [ Searching for packages depending on xorg-x11-6.9... ]
 
 none found
 #
 
 Ok, no reason, apparently.  Maybe it's already merged then?
 # emerge -C xorg-x11-6.9
 --- Couldn't find 'xorg-x11-6.9' to unmerge.
 
 Nope.  Now I'm getting uncertain.  Don't I have xorg-x11 at all?
 # emerge -C xorg-x11
 
 x11-base/xorg-x11
selected: 7.0-r1
   protected: none
 omitted: none
 
 'Selected' packages are slated for removal.
 'Protected' and 'omitted' packages will not be removed.
 
 Waiting 5 seconds before starting...
 (Control-C to abort)...
 Unmerging in: 5 4 3
 
 CTRL-C
 Exiting on signal 2
 
 Whoops.  Yep, it's there.
 
 Ok, so status is that I have xorg-x11-7.0, I don't have 6.9, no
 packages actually wants xorg-x11-6.9, but whenever I use emerge -D
 world, Portage sees it as a blocker anyway.
 
 Is there a piece missing in this puzzle, in particular the one that
 will tell me why on earth Portage thinks version 6.9 is a blocker?
 
 Or is the piece in place but I'm not looking hard enough?
 -- 
 gentoo-user@gentoo.org mailing list

-- 
Shaochun Wang(王绍春) [EMAIL PROTECTED]
PH.D Candidate
Laboratory of Computer Science, Institute of Software
Chinese Academy of Science

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problem: unprivileged user cannot use /usr/bin/crontab

2006-06-21 Thread Shaochun Wang
It's a dangerous action to change a program's setuid bit!


-- 
Shaochun Wang(王绍春) [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] where's good old inetd ?

2006-06-21 Thread Enrico Weigelt

Hi folks,

I've just emerge'd inetd, and this installed xinetd.
How can I get inetd installed ?

cu
-- 
-
 Enrico Weigelt==   metux IT service

  phone: +49 36207 519931 www:   http://www.metux.de/
  fax:   +49 36207 519932 email: [EMAIL PROTECTED]
  cellphone: +49 174 7066481
-
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What to do when you can't loggin

2006-06-21 Thread Nico Schümann

2006/6/21, Etaoin Shrdlu [EMAIL PROTECTED]:

Well, no flame, but it's probably easier than with grub, where you have
to explicitly press some key to modify the command line.

I agree. I don't want to say anything like lilo is better (I
personally prefer grub because I always forget to run lilo after I
changed anything at the boot volume), but modifying the command line
is way easier.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What to do when you can't loggin

2006-06-21 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Nico Schümann wrote:
 2006/6/21, Etaoin Shrdlu [EMAIL PROTECTED]:
 Well, no flame, but it's probably easier than with grub, where you have
 to explicitly press some key to modify the command line.
 I agree. I don't want to say anything like lilo is better (I
 personally prefer grub because I always forget to run lilo after I
 changed anything at the boot volume), but modifying the command line
 is way easier.

Definitely.

In any case, I would like to add that one must choose lilo or grub depending on 
lots of different
aspects.

For example, I have an ASUS a7n8x-e deluxe mobo at home, with two sata drives 
and one ide hdd.

The boot options on the BIOS do not allow me to specify from WHICH sata drive I 
want to boot.

So, grub sometimes had the ugly timestamp error (if my memory is not failing 
here).

I had to go back to lilo to avoid the problem.

And I like both! :P

- --
Arturo Buanzo Busleiman - VPN Mail Project - http://vpnmail.buanzo.com.ar
Consultor en Seguridad Informatica - http://www.buanzo.com.ar
Genetic - A multiplatform Gentoo Portage Frontend - 
http://genetic.sourceforge.net
for f in www blog linux-consulting vpnmail; do firefox http://$f.buanzo.com.ar 
; done
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEmTtNAlpOsGhXcE0RAij4AJ9QtKv+kyuRjIhnbTPt7Eonf9UwPACfebFv
ZeQB4bbwn79wwICfJTAypkI=
=JL5w
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 64bit vs 32bit

2006-06-21 Thread Hemmann, Volker Armin
On Wednesday 21 June 2006 07:26, Mike Huber wrote:
 My understanding is that the major advantage of the 64-bit processors
 is for memory address space (4Gigs of virtual memory space without
 PAE, technically 48 bits of address space, which is something like
 128Terrabytes of addressable memory).

 There must be some advantage associated with being able to hold two
 long ints in one register (or some such relationship there).  Anyone
 know detailed explanations for situations where 64-bit is more/less
 beneficial and why?


large numbers?

but the 64bit amd extension is really, really helpfull, when you need 
registers. The additional registers are a huge advantage and can give you a 
nice boost. 

Can, not have too - it depends on the task and how the software was compiled.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] where's good old inetd ?

2006-06-21 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Enrico Weigelt wrote:
 Hi folks,

hiya


 I've just emerge'd inetd, and this installed xinetd.
 How can I get inetd installed ?

compile frm source, or get an outside-portage ebuild.

google for inetd ebuild, for example.

- --
Arturo Buanzo Busleiman - VPN Mail Project - http://vpnmail.buanzo.com.ar
Consultor en Seguridad Informatica - http://www.buanzo.com.ar
Genetic - A multiplatform Gentoo Portage Frontend - 
http://genetic.sourceforge.net
for f in www blog linux-consulting vpnmail; do firefox http://$f.buanzo.com.ar 
; done
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEmTt6AlpOsGhXcE0RAmQJAJ4p7zUXcZZBXnOn/AZpTsVIEUGOFwCdFFzu
A9QuT07I2MYFdN90ptabbFo=
=JnAS
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user]

2006-06-21 Thread Hemmann, Volker Armin
On Wednesday 21 June 2006 08:35, Christian Panten wrote:
 Hello,

 after some update (I can't recognize with I made) I had some problems with
 kicker. The taskbar didn't return from automaticle blend out.
 After reinstallation of kdelibs and kicker I solved this problem.

 But there are also some problems remained.
 1. Starting kde I get an error that kcminit failed.
 I tried to reinstall kcminit, but it does not solve the problem.
 2. My soundserver arts hangs.
 A reinstallation of arts does not help.

 Can anyone help me?


clean out /tmp
clean out the temp  '.' files in your home directory (like .Dcop and co).
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] where's good old inetd ?

2006-06-21 Thread Bruno Lustosa

On 6/21/06, Enrico Weigelt [EMAIL PROTECTED] wrote:

I've just emerge'd inetd, and this installed xinetd.
How can I get inetd installed ?


inetd is a virtual package that is provided by xinetd now.
anyway, why use old inetd at all? xinetd is way more powerful and secure!

--
Bruno Lustosa [EMAIL PROTECTED]
http://www.lustosa.net/
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problem: unprivileged user cannot use /usr/bin/crontab

2006-06-21 Thread Alexander Skwar
Dirk Heinrichs wrote:
 Am Mittwoch, 21. Juni 2006 13:34 schrieb ext Enrico Weigelt:

 It is easy to fix, by chmod ugo+s, but after an update,
 the shit starts again ...
 
 Or by editing /etc/cron.allow

Nah, doesn't help. Just have a look at /usr/bin/crontab.

 Smells like a bug.
 
 Works as designed.

Yes.

Alexander Skwar
-- 
economist, n:
Someone who's good with figures, but doesn't have enough
personality to become an accountant.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What to do when you can't loggin

2006-06-21 Thread Etaoin Shrdlu
On Wednesday 21 June 2006 13:58, Alexander Skwar wrote:

 Hm - can you also *modify* the boot commands? Say, the boot command
 in lilo.conf contains vga=123 and now, for whatever reason, you
 want vga=ask - what to do?

You pass vga=ask on the fly on the command line and this takes precedence 
over whatever is in lilo.conf. 
The same happens for the root=, initrd=, ramdisk=, and other kernel 
parameters.
As an example, consider the root= option: if you mistakenly put the 
wrong root= in lilo.conf, it would be impossible to recover without 
booting a live cd or some other kernel. Instead, you pass a 
different root= options on lilo command line (which passes the option 
to the kernel, of course) and you can boot without having to resort to 
external media.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What to do when you can't loggin

2006-06-21 Thread Alexander Skwar
Arturo 'Buanzo' Busleiman wrote:
 Nico Schümann wrote:
 2006/6/21, Etaoin Shrdlu [EMAIL PROTECTED]:
 Well, no flame, but it's probably easier than with grub, where you have
 to explicitly press some key to modify the command line.
 I agree. I don't want to say anything like lilo is better (I
 personally prefer grub because I always forget to run lilo after I
 changed anything at the boot volume), but modifying the command line
 is way easier.
 
 Definitely.

Is it? How do you *modify* the command line (ie. change
it, instead of just adding to it)?

Alexander Skwar
-- 
It's easy to get on the internet and forget you have a life
-- Topic on #LinuxGER
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] where's good old inetd ?

2006-06-21 Thread Bo Ørsted Andresen
On Wednesday 21 June 2006 14:18, Enrico Weigelt wrote:
 Hi folks,

 I've just emerge'd inetd, and this installed xinetd.
 How can I get inetd installed ?

Well, if you *really* want it [1]. I do agree with the others. You should just
use xinitd as it is superior to inetd.

[1] 
http://www.rommel.stw.uni-erlangen.de/~fejf/cgi-bin/pfs-web.pl?filter-search_file=/etc/init.d/inetd

-- 
Bo Andresen


pgpW5DBIKwg1i.pgp
Description: PGP signature


Re: [gentoo-user] Portage: missing pieces

2006-06-21 Thread Daniel da Veiga

On 6/21/06, Molle Bestefich [EMAIL PROTECTED] wrote:

I think a piece might be missing from Portage.

I'll depict my workflow as an example.

I'm preparing to upgrade:
# emerge --sync
# emerge -Dp world
[blocks B ] =x11-base/xorg-x11-6.9 (is blocking x11-libs/libXinerama-1.0.1)
[blocks B ] =x11-base/xorg-x11-6.9 (is blocking x11-libs/libXi-1.0.1)
[blocks B ] =x11-base/xorg-x11-6.9 (is blocking x11-libs/libXrandr-1.1.1)
[blocks B ] =x11-base/xorg-x11-6.9 (is blocking x11-proto/randrproto-1.1.2)
[blocks B ] =x11-base/xorg-x11-6.9 (is blocking x11-misc/makedepend-1.0.0)
[blocks B ] =x11-base/xorg-x11-6.9 (is blocking media-libs/mesa-6.5-r3)
[blocks B ] =x11-base/xorg-x11-6.9 (is blocking x11-libs/libdrm-2.0.1)
[blocks B ] =x11-base/xorg-x11-6.9 (is blocking
x11-proto/xf86vidmodeproto-2.2.2)
[blocks B ] =x11-base/xorg-x11-6.9 (is blocking x11-proto/glproto-1.4.7)
[blocks B ] =x11-base/xorg-x11-6.9 (is blocking
x11-proto/xf86driproto-2.0.3)
... etc, lots of blockers ...

Ok, let's try and find why it wants to downgrade to xorg-x11-6.9:
# equery d xorg-x11-6.9
[ Searching for packages depending on xorg-x11-6.9... ]

none found
#

Ok, no reason, apparently.  Maybe it's already merged then?
# emerge -C xorg-x11-6.9
--- Couldn't find 'xorg-x11-6.9' to unmerge.

Nope.  Now I'm getting uncertain.  Don't I have xorg-x11 at all?
# emerge -C xorg-x11

 x11-base/xorg-x11
selected: 7.0-r1
   protected: none
 omitted: none

 'Selected' packages are slated for removal.
 'Protected' and 'omitted' packages will not be removed.

 Waiting 5 seconds before starting...
 (Control-C to abort)...
 Unmerging in: 5 4 3

CTRL-C
Exiting on signal 2

Whoops.  Yep, it's there.

Ok, so status is that I have xorg-x11-7.0, I don't have 6.9, no
packages actually wants xorg-x11-6.9, but whenever I use emerge -D
world, Portage sees it as a blocker anyway.

Is there a piece missing in this puzzle, in particular the one that
will tell me why on earth Portage thinks version 6.9 is a blocker?

Or is the piece in place but I'm not looking hard enough?
--


Try emerge -Dtpv world, it will give you a hierarquical tree that
will show what package is seeking to downgrade xorg.

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dvdrip: significant frame loss during rip

2006-06-21 Thread fire-eyes
On Wednesday 21 June 2006 04:00, Neil Bothwick wrote:
 I see this error, but usually near the start of the rip. I get rid of it
 by setting Grab subtitle preview images to No.

Hm. I always see it at the end, and it makes no difference what I have the 
grab subtitle setting at. Thanks for the reply :)

-- 
When you walk across the fields with your mind pure and holy, then from
all the stones, and all growing things, and all animals, the sparks of
their soul come out and cling to you. And then they are purified, and
become a holy fire in you. -- Ancient Hasidic Saying
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user][SOLVED] Grub, Hardened, and AMD64

2006-06-21 Thread Michael Crute

On 6/20/06, Rumen Yotov [EMAIL PROTECTED] wrote:

Michael Crute wrote:
 I am building a server (AMD Opteron 64) and as a matter of policy I
 always run the hardened profile on my servers. Now this is my first
 time doing an install on an AMD64 architecture with hardened and so
 far it has gone relatively well. The thing that is giving me the most
 problems is Grub. When I try to emerge it in the hardened chroot the
 config script bombs out with an error 'C compiler cannot create
 executables'. One suggested solution was to disable sandbox in
 features and try again, no such luck. My next thought was to build a
 second chroot with a regular (non-hardened) tarball and build a
 package of grub (compiled using the static useflag) then emerge that
 in the hardened environment. Does this make sense? Is it likely to
 work or should I be doing something else? Any help would be
 appreciated.

 Note that simply not using the hardened profile is not an option here.


I emerged Grub in a separate non-hardened chroot, built a binary
package and emerged it into my hardened chroot and everything worked
like a charm. I did use the custom-cflags and static USE flag on the
build, I'm not sure if custom-cflags is needed but I'm pretty sure
static is required since the 32bit libs aren't available on my system
outside of the chroot used to build the package. If I'm wrong on this
let me know. If anyone else happens to be running an Opteron processor
and would benefit from the package I would be glad to post it.

-Mike

--

Michael E. Crute
http://mike.crute.org

I may not have gone where I intended to go, but I think I have ended
up where I intended to be. --Douglas Adams
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problem: unprivileged user cannot use /usr/bin/crontab

2006-06-21 Thread Enrico Weigelt

Hi folks,


Putting the users into the cron group fixed it. 
Okay, as it should be ;-o

In all these years I never had a system which required this.

For security reasons, this is not bad, so certain users can be
both allowed to have an crontab but forbidden to edit it.

But this is quite inconvenient, if you have dozens of users and
want to allow them all to edit their crontabs.

I would prefer an more advanced crontab(1) program, which can
be executed by all, but has an finer permission config. It also
could allow more checks (ie. via external filters ?) against
the to-be-installed crontab (ie. limit the amount of jobs or
set minimum intervals for some folks).


cu
-- 
-
 Enrico Weigelt==   metux IT service

  phone: +49 36207 519931 www:   http://www.metux.de/
  fax:   +49 36207 519932 email: [EMAIL PROTECTED]
  cellphone: +49 174 7066481
-
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What to do when you can't loggin

2006-06-21 Thread Neil Bothwick
On Wed, 21 Jun 2006 15:04:04 +0200, Etaoin Shrdlu wrote:

 You pass vga=ask on the fly on the command line and this takes
 precedence over whatever is in lilo.conf. 
 The same happens for the root=, initrd=, ramdisk=, and other
 kernel parameters.

What happens if something is wrong with your initrd and you need to
remove the initrd= option from the command line?


-- 
Neil Bothwick

KPLA Klingon Radio : All glory, all the time!


signature.asc
Description: PGP signature


Re: [gentoo-user] Deleted /boot

2006-06-21 Thread fei huang
On 6/21/06, Mike Markowski [EMAIL PROTECTED] wrote:
Here's a little more info that might inspire some ideas out there ingentoo land.Since my /boot partition was possibly in a generallyunhappy state, I booted the 2006.0 livecd, did a mkfs /dev/sda1 (my
/boot partition), then put grub and kernel stuff back on /boot.I wasconfident this would do it, but no go.Just to be sure nothing was leftout, I even went through the grub set up process again as Daniel
recommended in another post in this thread.Still no change.Seems nothing unusual. 
The boot process continues just prior to the INIT 2.86 line when theinit.d stuff is kicked off.While booted with the livecd, I checked and/sbin/init really is there (mine, not the livecd one).But when I tried
to pass init=/sbin/init as a kernel arg in grub.conf, I got the samepanic along with a message that /sbin/init couldn't be executed (orsomething similar - I forgot to write it down).But since I only hosed
/boot and then reinstalled grub and kernel, I'm not sure why I'm not inbusiness yet.Any ideas?Bueller?Bueller?although the panic complains that init can not be executed, the problem may not be caused by init, make sure to pass the correct root arg to kernel, which is your root partition, not the same root when you are in grub's shell. 
Thanks,Frustrated in Pennsylvania (aka Mike)Mike Markowski wrote:
 Well, when I do it, I do it right.Through a bad combination of typos and missing an enter I deleted everything in /boot.:-( This is what I did to (try to) recover: # cd /boot
 # mklost+found # emerge grub [...edited grub.conf...] [...recompiled kernel  modules and installed...] I *thought* that's all I'd need, but upon boot up:
 Warning:unable to open an initial console Kernel panic- not syncing: no init found. Try passing init= option to kernel I compiled the kernel myself, not with genkernel.I'm stumped at the
 moment  would be glad to try any ideas anyone might have. Many thanks! Mike--gentoo-user@gentoo.org mailing list
hope the snippet from my grub.conf helps:title GENTOO BOXroot (hd0,6) # the /boot partition
kernel /kernel-2.6.16-gentoo-r7 root=/dev/sda9 # the / partitionwell, I assume these stuff is quite basic to you, but before I could see what exactly your configuration is, this is all I could think about. 
good luckdaniel


Re: [gentoo-user] Problem: unprivileged user cannot use /usr/bin/crontab

2006-06-21 Thread Dirk Heinrichs
Am Mittwoch, 21. Juni 2006 14:29 schrieb ext Alexander Skwar:

  Or by editing /etc/cron.allow

 Nah, doesn't help. Just have a look at /usr/bin/crontab.

Yes, you're right.

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstra�e 55  | Web:  http://www.capgemini.com
D-40472 D�sseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


pgpMxceJCVSzk.pgp
Description: PGP signature


Re: [gentoo-user] What to do when you can't loggin

2006-06-21 Thread Nico Schümann

2006/6/21, Neil Bothwick [EMAIL PROTECTED]:

What happens if something is wrong with your initrd and you need to
remove the initrd= option from the command line?

I'd try things like initrd= for example. Maybe it's ignored.
--
gentoo-user@gentoo.org mailing list



[gentoo-user] mencoder: error encoding, following howto

2006-06-21 Thread fire-eyes
Having given up on dvdrip for ripping dvd's, i've since moved on to a howto I 
was pointed at:

http://gentoo-wiki.com/HOWTO_Rip_DVD_mencoder

I opt to go for the supposedly higher quality x264, so I do two passes:

1:

mencoder -v ../vob/title1.vob -alang en -vf 
crop=720:352:0:62,scale=752:320 -ovc x264 -x264encopts 
subq=4:bframes=4:b_pyramid:weight_b:pass=1:psnr:bitrate=4452:threads=2:turbo=1 
-oac 
copy -ofps 24000/1001 -vobsubout subtitles -vobsuboutindex 0 -slang en -o 
pass1.avi

2 (which whines about not finding the log file, so I have to rename 
divx2pass.log.temp to divx2pass.log manually -- donchya love having to figure 
things out):

mencoder -v ../vob/title1.vob -alang en -vf 
crop=720:352:0:62,spp,scale,hqdn3d=2:1:2 -ovc x264 -x264encopts 
subq=5:4x4mv:8x8dct:frameref=3:me=2:bframes=4:b_pyramid:pass=2:psnr:bitrate=4450:threads=3
 -oac 
faac -faacopts object=0:tns:quality=100 -ofps 24000/1001 -o pass2.avi

However there is a problem with pass 2. I have tried this on two seperate 
systems, and the exact same thing happens:

MEncoder 1.0pre8-3.4.6 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 1.86GHz (Family: 6, Model: 13, 
Stepping: 8)
MMX2 supported but disabled
CPUflags: Type: 6 MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
93 audio  211 video codecs
init_freetype
get_path('font/font.desc') - '/home/sgtphou/.mplayer/font/font.desc'
font: can't open file: /home/sgtphou/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX Optimized OnScreenDisplay
[file] File size is 7733315584 bytes
STREAM: 
[file] /home/sgtphou/fire-eyes/temp/mencoder/xmen-2/title1/vob/title1.vob
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
success: format: 0  data: 0x0 - 0xccf10800
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for 
filename /home/sgtphou/fire-eyes/temp/mencoder/xmen-2/title1/vob/title1.vob 
ext: .vob
Trying demuxer 2 based on filename extension
system stream synced at 0xD (13)!
== Found video stream: 0
== Found audio stream: 131
== Found audio stream: 128
== Found audio stream: 137
== Found audio stream: 132
== Found audio stream: 133
== Found audio stream: 130
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG-PS file format detected.
== Found subtitle: 0
== Found subtitle: 1
== Found subtitle: 2
== Found subtitle: 3
== Found subtitle: 4
== Found subtitle: 5
== Found subtitle: 6
== Found subtitle: 7
Searching for sequence header... OK!
VIDEO:  MPEG2  720x480  (aspect 3)  29.970 fps  9800.0 kbps (1225.0 kbyte/s)
[V] filefmt:2  fourcc:0x1002  size:720x480  fps:29.97  ftime:=0.0334
==
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer.
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer.
Using SSE optimized IMDCT transform
AC3: 2.0 (dolby)  48000 Hz  192.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000-192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.00, round: 1
Opening video filter: [hqdn3d=2:1:2]
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Opening video filter: [spp]
Opening video filter: [crop w=720 h=352 x=0 y=62]
Crop: 720 x 352, 0 ; 62
==
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
[PP] Using external postprocessing filter, max q = 6.
Trying filter chain: crop spp scale hqdn3d expand x264
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale crop spp scale hqdn3d expand x264
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==
Building audio filter chain for 48000Hz/2ch/s16le - 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
AE_FAAC, sample_input: 2048, max_bytes_output: 1536
Building audio filter chain for 48000Hz/2ch/s16le - 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was 

Re: [gentoo-user] (kcminit failing, arts hanging)

2006-06-21 Thread Benno Schulenberg
Christian Panten wrote:
 after some update (I can't recognize with I made)

Run 'genlop -u --list --date 2 days ago' to see what you updated in 
the last two days, or whenever you started noticing the problems.  
Anything alsa-like in there?

 1. Starting kde I get an error that kcminit failed.

What does it say when started from the command line?

 2. My soundserver arts hangs.

Using full CPU?

 I notify that I get an warning while configuration some kde
 packages:

It's a warning, not an error.  It can be ignored.

 CONFIG_PROTECT=/etc /usr/kde/3.4/env /usr/kde/3.4/share/config
 /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config
 /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config

You still have kde-3.4 stuff installed while using 3.5?  Find it all 
and remove it.  Especially kdepaths-3.4 from /etc/env.d/, then run 
env-update, and re-login.

 PORTDIR_OVERLAY=/usr/local/portage/myoverlay
 /usr/local/portage/gentoo.de
 /usr/local/portage/spyderous/overlay

How about unsetting PORTDIR_OVERLAY and trying an 'emerge -Du world' 
to see if that cures it?

Benno
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Copying PS/2 game CDs

2006-06-21 Thread Teresa and Dale
Raymond Lewis Rebbeck wrote:

On Wednesday, 21 June 2006 11:38, Teresa and Dale wrote:
  

Hi,

I want to make copies of our PS/2 game CDs so that they can use the
copies and we can put up the originals.  They seem to either scratch
real easy or they are really touchy about scratches.  Does anybody here
know of a way to do this?  This is Linux, surely someone has found a way.

Thanks.  Sorry so far off topic.  I can't be the only one with kids
around.  ;-)

Dale

:-)



Copying the CD/DVD is easy enough, just use your standard tools although I 
don't believe dual layer discs can be copied properly yet ie. Gran Turismo 4.

However, getting them to actually play on the PS/2 is a whole other matter. 
You'll need to have your PS/2 modded to support playing copied games, which 
may or may not be legal where you live.

  


Crap.  We recently had a $60.00 game to get scratched.  Maybe they need
to play Uno or something. 

I would hate to mod the thing but I wish there was a way to copy it and
it work.  I may try it just to see.  I still beleive in the fair use
thing.  I'm not going to sell the copies.

Thanks.

Dale
:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What to do when you can't loggin

2006-06-21 Thread Etaoin Shrdlu
On Wednesday 21 June 2006 15:40, Neil Bothwick wrote:

 What happens if something is wrong with your initrd and you need to
 remove the initrd= option from the command line?

Good question! In this regard, grub is certainly better since it shows 
you the complete command line, and you can tweak everything you want. 
Anyway, passing an empty initrd= could possibly work (I never tried 
this).
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problem: unprivileged user cannot use /usr/bin/crontab

2006-06-21 Thread Neil Bothwick
On Wed, 21 Jun 2006 15:32:31 +0200, Enrico Weigelt wrote:

 But this is quite inconvenient, if you have dozens of users and
 want to allow them all to edit their crontabs.

egrep ^.*?:.*?:.*?:100: /etc/passwd | cut -d: -f1 | while read u do gpasswd -a 
$u cron; done

will add all users from group GID 100 (users on this system) to the cron
group.


-- 
Neil Bothwick

Bother, said Pooh, as he was given another bad script.


signature.asc
Description: PGP signature


Re: [gentoo-user] [OT] Copying PS/2 game CDs

2006-06-21 Thread Daniel da Veiga

On 6/21/06, Teresa and Dale [EMAIL PROTECTED] wrote:

Raymond Lewis Rebbeck wrote:

On Wednesday, 21 June 2006 11:38, Teresa and Dale wrote:


Hi,

I want to make copies of our PS/2 game CDs so that they can use the
copies and we can put up the originals.  They seem to either scratch
real easy or they are really touchy about scratches.  Does anybody here
know of a way to do this?  This is Linux, surely someone has found a way.

Thanks.  Sorry so far off topic.  I can't be the only one with kids
around.  ;-)

Dale

:-)



Copying the CD/DVD is easy enough, just use your standard tools although I
don't believe dual layer discs can be copied properly yet ie. Gran Turismo 4.

However, getting them to actually play on the PS/2 is a whole other matter.
You'll need to have your PS/2 modded to support playing copied games, which
may or may not be legal where you live.




Crap.  We recently had a $60.00 game to get scratched.  Maybe they need
to play Uno or something.


Do as some of my friends do. Rent the discs at a local store...



I would hate to mod the thing but I wish there was a way to copy it and
it work.  I may try it just to see.  I still beleive in the fair use


It won't, you have to take it to someone to install a modchip, and
that's, well, pretty illegal, at least where I live.


thing.  I'm not going to sell the copies.


Well, they really don't care about that...

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What to do when you can't loggin

2006-06-21 Thread Neil Bothwick
On Wed, 21 Jun 2006 16:37:27 +0200, Etaoin Shrdlu wrote:

  What happens if something is wrong with your initrd and you need to
  remove the initrd= option from the command line?
 
 Good question! In this regard, grub is certainly better since it shows 
 you the complete command line, and you can tweak everything you want. 
 Anyway, passing an empty initrd= could possibly work (I never tried 
 this).

When I find myself in that situation, I want something more than could
possibly work :(

Anyway, I rarely edit the command line. I forgot to re-run lilo far more
often, so it's GRUB for me.

Those of you that only use x86 based system don't know how lucky you are
to have two decent bootloaders. If you took the worst aspect of LILO and
GRUB and added some extra user-hostility for luck, you'd still have
something a hundred times better than yaboot, the PPC bootloader :(

 
-- 
Neil Bothwick

Talk is cheap because supply exceeds demand.


signature.asc
Description: PGP signature


Re: [gentoo-user] Problem: unprivileged user cannot use /usr/bin/crontab

2006-06-21 Thread Bo Ørsted Andresen
On Wednesday 21 June 2006 16:20, Neil Bothwick wrote:
 egrep ^.*?:.*?:.*?:100: /etc/passwd | cut -d: -f1 | while read u do gpasswd
 -a $u cron; done

 will add all users from group GID 100 (users on this system) to the cron
 group.

Well...

awk -F: \$4~/^\
`awk -F: '$1~/^users$/{print $3}'  /etc/group`\
\$/{print \$1}  /etc/passwd | \
while read user; do
gpasswd -a $user cron
done

;)

-- 
Bo Andresen


pgpwrvR41zvqp.pgp
Description: PGP signature


[gentoo-user] Tool for changing onsole colors ?

2006-06-21 Thread Enrico Weigelt

Hi folks,

is there any tool for changing the colors of the linux console ?
(or at least invert them).

I'm currently sitting in the garden with my notebook, the sun is
shining bright, and its really hard to read anything ...


thx
-- 
-
 Enrico Weigelt==   metux IT service

  phone: +49 36207 519931 www:   http://www.metux.de/
  fax:   +49 36207 519932 email: [EMAIL PROTECTED]
  cellphone: +49 174 7066481
-
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] where's good old inetd ?

2006-06-21 Thread Enrico Weigelt
* Bruno Lustosa [EMAIL PROTECTED] wrote:

snip

 anyway, why use old inetd at all? xinetd is way more powerful and secure!

well, I've already been using it for over 10 years, I never had
serious problems with it, and has all I need. 
So why should I now switch to xinetd ?

Wouldn't it make more sense to let inetd be an virtual package 
which can be configured by some useflag to get either classic inetd
or xinet in, maybe xinet as default ?


cu
-- 
-
 Enrico Weigelt==   metux IT service

  phone: +49 36207 519931 www:   http://www.metux.de/
  fax:   +49 36207 519932 email: [EMAIL PROTECTED]
  cellphone: +49 174 7066481
-
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Help with nvidia fake raid.

2006-06-21 Thread Allan Spagnol Comar

Hi list,

I have been trying for 5 days now to install a gentoo system on a
nvidia mother board with fake raid, I already have a windows system on
the machine that needs the raid and I want to install gentoo on it.

I have followed instructions on
http://gentoo-wiki.com/HOWTO_Install_Gentoo_with_NVRAID_using_dmraid
I was succeeded on installing gentoo base system and grub :-), but,
when I boot the systems ask for real_root /dev/mapper/nv_ device

I had try the hard way, open a shell when it ask for real_root and on
/dev/mapper is just control.

I had try with genkernel and on the same situation on /dev/mapper/ has
control and my disk, but none of the partitions.

I am so close of making this work, but is really frustrating get stuck
in something like that for so long.

Thanks for attention, Allan

--
An application asked:
Requires Windows 9x, NT4 or better,
so I´ve installed Linux

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mencoder: error encoding, following howto

2006-06-21 Thread Ian Porter
Hi

 Having given up on dvdrip for ripping dvd's, i've since moved on to a
 howto I  was pointed at:

 http://gentoo-wiki.com/HOWTO_Rip_DVD_mencoder


Not sure how much of a help it is, but ages ago I was playing about with
linux avi/mpeg - dvd ripping etc.. and did write up a couple of notes on the
matter and placed on my site.  Again not sure how much help they are, was
doing it in 2005 but now do not rip dvd's anymore since dvd's are cheaper
now than cd to backup incase of any scratches.

http://www.designersoft.co.uk/tutorials/tutorialroom/1-1.html

Thanks
Ian
 I opt to go for the supposedly higher quality x264, so I do two passes:

 1:

 mencoder -v ../vob/title1.vob -alang en -vf
 crop=720:352:0:62,scale=752:320 -ovc x264 -x264encopts
 subq=4:bframes=4:b_pyramid:weight_b:pass=1:psnr:bitrate=4452:threads=2:turbo=1
  -oac  copy -ofps 24000/1001 -vobsubout subtitles -vobsuboutindex 0
 -slang en -o  pass1.avi

 2 (which whines about not finding the log file, so I have to rename
 divx2pass.log.temp to divx2pass.log manually -- donchya love having to
 figure  things out):

 mencoder -v ../vob/title1.vob -alang en -vf
 crop=720:352:0:62,spp,scale,hqdn3d=2:1:2 -ovc x264 -x264encopts

subq=5:4x4mv:8x8dct:frameref=3:me=2:bframes=4:b_pyramid:pass=2:psnr:bitrate=4450:threads=3
 -oac  faac -faacopts object=0:tns:quality=100 -ofps 24000/1001 -o
 pass2.avi

 However there is a problem with pass 2. I have tried this on two
 seperate  systems, and the exact same thing happens:

 MEncoder 1.0pre8-3.4.6 (C) 2000-2006 MPlayer Team
 CPU: Intel(R) Pentium(R) M processor 1.86GHz (Family: 6, Model:
 13,  Stepping: 8)
 MMX2 supported but disabled
 CPUflags: Type: 6 MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
 Compiled with runtime CPU detection.
 93 audio  211 video codecs
 init_freetype
 get_path('font/font.desc') - '/home/sgtphou/.mplayer/font/font.desc'
 font: can't open file: /home/sgtphou/.mplayer/font/font.desc
 Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
 Using MMX Optimized OnScreenDisplay
 [file] File size is 7733315584 bytes
 STREAM:
 [file]
 /home/sgtphou/fire-eyes/temp/mencoder/xmen-2/title1/vob/title1.vob
 STREAM: Description: File
 STREAM: Author: Albeu
 STREAM: Comment: based on the code from ??? (probably Arpi)
 success: format: 0  data: 0x0 - 0xccf10800
 Checking for YUV4MPEG2
 ASF_check: not ASF guid!
 Checking for NuppelVideo
 Checking for REAL
 Checking for SMJPEG
 Searching demuxer type for
 filename
 /home/sgtphou/fire-eyes/temp/mencoder/xmen-2/title1/vob/title1.vob
 ext: .vob
 Trying demuxer 2 based on filename extension
 system stream synced at 0xD (13)!
 == Found video stream: 0
 == Found audio stream: 131
 == Found audio stream: 128
 == Found audio stream: 137
 == Found audio stream: 132
 == Found audio stream: 133
 == Found audio stream: 130
 MPEG Stream reached EOF
 ds_fill_buffer: EOF reached (stream: video)
 MPEG-PS file format detected.
 == Found subtitle: 0
 == Found subtitle: 1
 == Found subtitle: 2
 == Found subtitle: 3
 == Found subtitle: 4
 == Found subtitle: 5
 == Found subtitle: 6
 == Found subtitle: 7
 Searching for sequence header... OK!
 VIDEO:  MPEG2  720x480  (aspect 3)  29.970 fps  9800.0 kbps (1225.0
 kbyte/s) [V] filefmt:2  fourcc:0x1002  size:720x480  fps:29.97
 ftime:=0.0334
 ==
 Opening audio decoder: [liba52] AC3 decoding with liba52
 dec_audio: Allocating 3840 bytes for input buffer.
 dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer.
 Using SSE optimized IMDCT transform
 AC3: 2.0 (dolby)  48000 Hz  192.0 kbit/s
 A52 flags before a52_frame: 0x2A
 A52 flags after a52_frame: 0xA
 Using MMX optimized resampler
 AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000-192000)
 Selected audio codec: [a52] afm: liba52 (AC3-liba52)
 ==
 Opening video filter: [expand osd=1]
 Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.00, round: 1
 Opening video filter: [hqdn3d=2:1:2]
 Opening video filter: [scale]
 SwScale params: -1 x -1 (-1=no scaling)
 Opening video filter: [spp]
 Opening video filter: [crop w=720 h=352 x=0 y=62]
 Crop: 720 x 352, 0 ; 62
 ==
 Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
 VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
 [PP] Using external postprocessing filter, max q = 6.
 Trying filter chain: crop spp scale hqdn3d expand x264
 Could not find matching colorspace - retrying with -vf scale...
 Opening video filter: [scale]
 SwScale params: -1 x -1 (-1=no scaling)
 Trying filter chain: scale crop spp scale hqdn3d expand x264
 The selected video_out device is incompatible with this codec.
 Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
 VDecoder init failed :(
 Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder
 

Re: [gentoo-user] where's good old inetd ?

2006-06-21 Thread Bruno Lustosa

On 6/21/06, Enrico Weigelt [EMAIL PROTECTED] wrote:

well, I've already been using it for over 10 years, I never had
serious problems with it, and has all I need.
So why should I now switch to xinetd ?


The answer to this 'why' can be found here:
http://www.xinetd.org/faq.html#why


Wouldn't it make more sense to let inetd be an virtual package
which can be configured by some useflag to get either classic inetd
or xinet in, maybe xinet as default ?


inetd is way too old. I tried googling for it, and I couldn't even
find source downloads for it.
It's like wanting to use in.telnetd and telnet instead of ssh because
the former has always served well.
However, if you can find the sources to it, you can always compile and
use it, can't you?

--
Bruno Lustosa [EMAIL PROTECTED]
http://www.lustosa.net/
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] where's good old inetd ?

2006-06-21 Thread Bruno Lustosa

On 6/21/06, Bruno Lustosa [EMAIL PROTECTED] wrote:

inetd is way too old. I tried googling for it, and I couldn't even
find source downloads for it.


Just to complement it, inetd _can_ be found in portage, in package
sys-apps/netkit-base

--
Bruno Lustosa [EMAIL PROTECTED]
http://www.lustosa.net/
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with nvidia fake raid.

2006-06-21 Thread Rumen Yotov
Allan Spagnol Comar wrote:
 Hi list,
 
 I have been trying for 5 days now to install a gentoo system on a
 nvidia mother board with fake raid, I already have a windows system on
 the machine that needs the raid and I want to install gentoo on it.
 
 I have followed instructions on
 http://gentoo-wiki.com/HOWTO_Install_Gentoo_with_NVRAID_using_dmraid
 I was succeeded on installing gentoo base system and grub :-), but,
 when I boot the systems ask for real_root /dev/mapper/nv_ device
 
 I had try the hard way, open a shell when it ask for real_root and on
 /dev/mapper is just control.
 
 I had try with genkernel and on the same situation on /dev/mapper/ has
 control and my disk, but none of the partitions.
 
 I am so close of making this work, but is really frustrating get stuck
 in something like that for so long.
 
 Thanks for attention, Allan
 
Hi,
No experience with RAID but do you have a separate /boot partition.
Assume you're also using an initrd (with genkernel ... --dmraid ...).
HTH.Rumen


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] 2GB of RAM

2006-06-21 Thread David Klempner
* Ralph Slooten [EMAIL PROTECTED] [2006-06-21 04:12]:
 Sorry, but one thing remains unclear. Ignoring the fact that adding
 embedded extras to your kernel on a non-embedded system just to get the
 the VMSPLIT options is (in my opinion) confusing and unlogical, is this
 step actually needed considering I (according to your advice) would take
 the default VMSPLIT anyway?
 What I mean is simply: If I enable HIGHMEM4GB to allow the kernel to use
 my 2GB of RAM, do I still need to add the embedded options (as you
 explain above), or is simply using HIGHMEM4GB enough? It's maybe a tough
 question is ask, but you definitely seem to know exactly what you are
 talking about ;-)

Right; the right thing to do here is to not touch VMSPLIT at all, which
means there's no reason to be messing around with CONFIG_EMBEDDED. Just
set HIGHMEM4GB and be done with it (but, if you're editing a config
where you've already done so, make sure that you still have all of the
CONFIG_EMBEDDED dependent options set correctly before you unset it:
enable every one of the standard kernel features except for the extra
pass, and then make sure you have the default 3/1 VMSPLIT)

  Hope this helps.
 
 Is sure does! Any advice to the above question? With that I should be
 complete I think ;-) Where do you get your information from btw (I'm
 curious as I didn't find much via Google explaining as clear as you did)?

I did some googling about a year and a half ago, when I finally upgraded
my desktop from 512MB to 1GB and ran into these issues for the first
time, and I've spent some time poking around the kernel sources before.

-- 
David Klempner


pgpy6jT8opukm.pgp
Description: PGP signature


Re: [gentoo-user] 2GB of RAM

2006-06-21 Thread Vladimir G. Ivanovic
On Wed, 2006-06-21 at 01:21 -0500, David Klempner wrote:
 * Vladimir G. Ivanovic [EMAIL PROTECTED] [2006-06-20 16:51]:
  I figured it out. The VMSPLIT options are *not* available on 64-bit
  systems. (Phew. It's neither encroaching madness nor Alzheimer's.)
 
 Yeah... I suppose I wasn't paying close enough attention to what you
 were saying. :-)

Well, it took way longer than I would have wished for me to catch on.
You'd think the total absence of any VMSPLIT options in *any* of my
saved config files would have been a sufficient hint, but no

 
 The VMSPLIT options are about how the kernel uses the 32 bit address
 space (specifically, what fraction of the address space of each process
 it reserves for its own use). A large portion of what a 64 bit system
 gets you is more than 32 bits worth of address space, so I'm fairly sure
 the entire issue is moot. :-)

You're most certainly right.

--- Vladimir

-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: Gentoo on an AMD 64bit portable

2006-06-21 Thread Vladimir G. Ivanovic
On Fri, 2006-06-16 at 20:34 +, James wrote:
 Hello,
 
 I've seen snipits of various issues related to running gentoo on a 64 bit
 amd processor. In particular, I'd like to get a 'low power'
 chip such as the Turion in a portable. 

I have a Turion MT-32 laptop (ABS Mayhem F-15 A40 which is actually an
MSI-1011 and only sold by NewEgg for $900.)

 One of my concerns is whether to use
 32 bit or 64 bit Gentoo on a 64 bit AMD portable. Is there
 a document I can read somewhere that explains the merits
 and problems on how to set up Gentoo on a 64 bit machine?
 If not can somebody explain the caveats of 64 bit (amd) gentoo?
 I do not wish to be on the 'bleeding edge' of 64 bit AMD issues,
 but, I'd like to access the power. I'm running a variety of
 32 bit stable gentoo systems now, with relative ease.

I've basically had no problems running a 64-bit system other than the
well-known mplayer  flash-type problems, except when I go and try to
compile open source applications. Many make fundamental assumptions
about data layouts and sizes that are simply not true for 64-bit
systems.

BTW, I have had ACCEPT_KEYWORDS=~amd64 for months now without any
serious problems, although I do run into the occasional (non-essential)
package which won't compile. They are usually fixed (or a patch
provided) in a reasonable amount of time.

I'd unhesitantly run a 64-bit system on an AMD64 system again.

--- Vladimir

-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with nvidia fake raid.

2006-06-21 Thread Allan Spagnol Comar

no, I do not have a separated boot partition because I just have 2
disks with the raid, so I cannot have the separated boot partition.
But the boot starts and initrd and linuxrc are loaded ( apparently ).


On 6/21/06, Rumen Yotov [EMAIL PROTECTED] wrote:

Allan Spagnol Comar wrote:
 Hi list,

 I have been trying for 5 days now to install a gentoo system on a
 nvidia mother board with fake raid, I already have a windows system on
 the machine that needs the raid and I want to install gentoo on it.

 I have followed instructions on
 http://gentoo-wiki.com/HOWTO_Install_Gentoo_with_NVRAID_using_dmraid
 I was succeeded on installing gentoo base system and grub :-), but,
 when I boot the systems ask for real_root /dev/mapper/nv_ device

 I had try the hard way, open a shell when it ask for real_root and on
 /dev/mapper is just control.

 I had try with genkernel and on the same situation on /dev/mapper/ has
 control and my disk, but none of the partitions.

 I am so close of making this work, but is really frustrating get stuck
 in something like that for so long.

 Thanks for attention, Allan

Hi,
No experience with RAID but do you have a separate /boot partition.
Assume you're also using an initrd (with genkernel ... --dmraid ...).
HTH.Rumen






--
An application asked:
Requires Windows 9x, NT4 or better,
so I´ve installed Linux

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mencoder: error encoding, following howto

2006-06-21 Thread Hans-Werner Hilse
Hi,

On Wed, 21 Jun 2006 10:01:51 -0400 fire-eyes [EMAIL PROTECTED]
wrote:

 I opt to go for the supposedly higher quality x264, so I do two
 passes:
 
 1:
 
 mencoder -v ../vob/title1.vob -alang en -vf 
 crop=720:352:0:62,scale=752:320 -ovc x264 -x264encopts 
 subq=4:bframes=4:b_pyramid:weight_b:pass=1:psnr:bitrate=4452:threads=2:turbo=1
 -oac copy -ofps 24000/1001 -vobsubout subtitles -vobsuboutindex 0
 -slang en -o pass1.avi

Hm, threading, eh? Ever tried disabling it?

 2 (which whines about not finding the log file, so I have to rename 
 divx2pass.log.temp to divx2pass.log manually -- donchya love having
 to figure things out):

The question is rather why mencoder doesn't name it like this. The
mencoder man page clearly tells that it should. It supposedly wasn't
existing at that point, right?

 mencoder -v ../vob/title1.vob -alang en -vf 
 crop=720:352:0:62,spp,scale,hqdn3d=2:1:2 -ovc x264 -x264encopts 
 subq=5:4x4mv:8x8dct:frameref=3:me=2:bframes=4:b_pyramid:pass=2:psnr:bitrate=4450:threads=3
 -oac faac -faacopts object=0:tns:quality=100 -ofps 24000/1001 -o
 pass2.avi

Oh, 3 threads now. Again: Did you try using only one thread? Are all
those additional libraries you might have compiled into mplayer
thread-safe? BTW: Is there a reason why in pass one you're using a
cropped, scaled version of the movie and in pass two a _not_ scaled
version? This will probably result in different blocks and will
probably have (minor) bad influence on b/w calculation...

 However there is a problem with pass 2. I have tried this on two
 seperate systems, and the exact same thing happens:
 [...]
 Segmentation fault

Segfaults are not that uncommon if you have problems with interfering
threads. If you have a little time, you may also want to do an emerge
-e mplayer to sort out problems that are due to compiler change and
similar. BTW: Are you overriding the mplayer ebuild's own CFLAG
settings?

 Ah, so this is working _real_ well... Any ideas out there? Because I
 can't get past this point.

Well, hard to imagine what you've already tried, but try the things
mentioned above.


HTH,

-hwh

PS:
 (Insert my typical whine about video on linux being a pain here)
(Insert my typical whine about whining about video on linux here :-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] where's good old inetd ?

2006-06-21 Thread kashani

Enrico Weigelt wrote:

* Bruno Lustosa [EMAIL PROTECTED] wrote:

snip


anyway, why use old inetd at all? xinetd is way more powerful and secure!


well, I've already been using it for over 10 years, I never had
serious problems with it, and has all I need. 
So why should I now switch to xinetd ?


Because most of us switched to xinetd at least six years ago. :-)

kashani
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Help with nvidia fake raid.

2006-06-21 Thread Francesco Talamona
On Wednesday 21 June 2006 18:34, Allan Spagnol Comar wrote:
 no, I do not have a separated boot partition because I just have 2
 disks with the raid, so I cannot have the separated boot partition.
 But the boot starts and initrd and linuxrc are loaded ( apparently ).

Why not? Can you explain with some details?

Ciao
Francesco
-- 
Linux Version 2.6.17-gentoo, Compiled #2 PREEMPT Tue Jun 20 20:17:15 
CEST 2006
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2004.92 Bogomips Total
aemaeth
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Help with nvidia fake raid.

2006-06-21 Thread Allan Spagnol Comar

I thought I had make clear before, lousy english .
I had a separated boot partition but in the raid set, this was what I
really mean on previous e-mail.
sorry,

anyway, I don´t know why it doesn´t work. once that the boot starts. :(

On 6/21/06, Francesco Talamona [EMAIL PROTECTED] wrote:

On Wednesday 21 June 2006 18:34, Allan Spagnol Comar wrote:
 no, I do not have a separated boot partition because I just have 2
 disks with the raid, so I cannot have the separated boot partition.
 But the boot starts and initrd and linuxrc are loaded ( apparently ).

Why not? Can you explain with some details?

Ciao
Francesco
--
Linux Version 2.6.17-gentoo, Compiled #2 PREEMPT Tue Jun 20 20:17:15
CEST 2006
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2004.92 Bogomips Total
aemaeth
--
gentoo-user@gentoo.org mailing list





--
An application asked:
Requires Windows 9x, NT4 or better,
so I´ve installed Linux

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mencoder: error encoding, following howto

2006-06-21 Thread Uwe Thiem
On 21 June 2006 15:01, fire-eyes wrote:

 Ah, so this is working _real_ well... Any ideas out there? Because I can't
 get past this point.

Try the script provided on my company's web site (http://www.SysEx.com.na) 
under Linux tips and tricks. It's tip #5.

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] where's good old inetd ?

2006-06-21 Thread Alexander Skwar

Enrico Weigelt wrote:

* Bruno Lustosa [EMAIL PROTECTED] wrote:

snip


anyway, why use old inetd at all? xinetd is way more powerful and secure!


well, I've already been using it for over 10 years, I never had
serious problems with it, and has all I need. 
So why should I now switch to xinetd ?


It's more modern.

Wouldn't it make more sense to let inetd be an virtual package 
which can be configured by some useflag to get either classic inetd

or xinet in, maybe xinet as default ?


Why? The current way is quite fine, IMO. You can easily select
which package to install, why depend on some USE flag?

Alexander Skwar
--
In Blythe, California, a city ordinance declares that a person must own
at least two cows before he can wear cowboy boots in public.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problem: unprivileged user cannot use /usr/bin/crontab

2006-06-21 Thread Alexander Skwar

Enrico Weigelt wrote:


But this is quite inconvenient, if you have dozens of users and
want to allow them all to edit their crontabs.


Why is that inconvenient? Just put them in the appropriate
group - where's the problem?

Alexander Skwar
--
Being a miner, as soon as you're too old and tired and sick and stupid to
do your job properly, you have to go, where the very opposite applies with
the judges.
-- Beyond the Fringe
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Tool for changing onsole colors ?

2006-06-21 Thread Alexander Skwar

Enrico Weigelt wrote:

Hi folks,

is there any tool for changing the colors of the linux console ?
(or at least invert them).


Hm, you're really talking about the console?

If you were talking about an xterm, it might be easier - at
least with gnome-terminal, it's easy to change all the colors
on the fly. Other terminals might have the same ability.

But as far as the real console is concerned - no clue.

Alexander Skwar
--
QOTD:
The baby was so ugly they had to hang a pork chop around its
neck to get the dog to play with it.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] initramfs, network diskless boot, init process, problems with switchroot (pivot_root)

2006-06-21 Thread Richard Fish

On 6/16/06, Claudinei Matos [EMAIL PROTECTED] wrote:

I'd created an initramfs wich mount the nfs share and do the pivot_root
(actually switch_root from busybox) but the problem is exactly at this
moment, 'cause when I try to do the switch_root and start the real init from
the nfs share, the system appears to freeze but after some seconds it do
print a message Rebooting System and just reboot the machine.


Sorry for the late reply...I've been on offline (vacation) for several days.

pivot_root is specifically *not* allowed from an initramfs
environment.  What you want to do is simply mount the new root
filesystem, chroot into it, and execute init.  Something like:

cd /new_root ; exec ./bin/chroot . ./sbin/init $@ dev/console
dev/console 21

If you are *extremely* tricky, and use a symlinked /lib directory, you
can actually delete everything from the initramfs before doing the
chroot/init calls.  Let me know if you need some more details on this.

HTH,
-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [VERY OT] Vmware and Ctrl-E (power Off)

2006-06-21 Thread Richard Fish

On 6/16/06, Ow Mun Heng [EMAIL PROTECTED] wrote:

I'm getting really frustrated. (googling didn't help cos not sure what
to input as search string)

I believe there is a Do you really want to shut down diaglog box
somewhere.

Can anyone let me know where that is??


In ~/.vmware/preferences, find the setting 'hint.vmui.poweroff'.
Change it from 'FALSE' to 'TRUE'.  You might want the same thing for
hint.vmui.reset.

HTH,
-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [VERY OT] Vmware and Ctrl-E (power Off)

2006-06-21 Thread Ow Mun Heng
On Wed, 2006-06-21 at 13:58 -0700, Richard Fish wrote:
 On 6/16/06, Ow Mun Heng [EMAIL PROTECTED] wrote:
  I'm getting really frustrated. (googling didn't help cos not sure what
  to input as search string)
 
  I believe there is a Do you really want to shut down diaglog box
  somewhere.
 
  Can anyone let me know where that is??
 
 In ~/.vmware/preferences, find the setting 'hint.vmui.poweroff'.
 Change it from 'FALSE' to 'TRUE'.  You might want the same thing for
 hint.vmui.reset.

I'll give it a go. Many Many Thanks.

 HTH,
 -Richard
-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] initramfs, network diskless boot, init process, problems with switchroot (pivot_root)

2006-06-21 Thread Hans-Werner Hilse
Hi,

On Wed, 21 Jun 2006 13:50:12 -0700
Richard Fish [EMAIL PROTECTED] wrote:

 pivot_root is specifically *not* allowed from an initramfs
 environment.  What you want to do is simply mount the new root
 filesystem, chroot into it, and execute init.  Something like:
 
 cd /new_root ; exec ./bin/chroot . ./sbin/init $@ dev/console
 dev/console 21
 
 If you are *extremely* tricky, and use a symlinked /lib directory, you
 can actually delete everything from the initramfs before doing the
 chroot/init calls.  Let me know if you need some more details on this.

Hm, I'm pretty sure that it is well possible to pivot_root from an
initramfs. Isn't that the whole point of pivot_root? But you may be
right that it is not possible for NFS mounts, I never tried that before.

In fact, the approach you took is weak. /sbin/init wouldn't run as PID
1 in this case which is bad for the situation that the calling script
(which _has_ PID 1) dies. The kernel would recognize this and reboot
(and/or panic, not sure). To avoid this, one has to exec the init from
the script.

So basically it boils down to this /init in the initramfs:

#!/bin/sh
PATH=/bin:/sbin
modprobe supermightyrootfsprovidingmodule  \
  mount -t blahfs /dev/whereitis /mnt/stagetwo  \
  cd /mnt/stagetwo  \
  pivot_root . /mnt/initramfs || reboot -f
exec /sbin/init

Note that I assume /mnt/stagetwo exists in initramfs (as well as
modprobe, mount, pivot_root and reboot) and /mnt/initramfs exists in
the to-be-mounted fs. Note that the last point may prevent
pivot_root'ing in a scenario where an NFS root fs is desired (because
I'm not sure if it can have mounts in it, but that would be needed for
proc, sys and dev, too, so it _may_ work here, too). The call
to /sbin/init happens in the new fs because pivot_root manipulates the
namespace of the calling process. Exec'ing is important so
that /sbin/init gets PID 1 and we don't have a process which depends on
the initramfs anymore, so we can unmount it at a later point.

-hwh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mencoder: error encoding, following howto

2006-06-21 Thread Nick Rout
dvdrip is in portage and is an excellent tool for backing up DVD.


On Wed, 21 Jun 2006 19:48:34 +0100
Uwe Thiem wrote:

 On 21 June 2006 15:01, fire-eyes wrote:
 
  Ah, so this is working _real_ well... Any ideas out there? Because I can't
  get past this point.
 
 Try the script provided on my company's web site (http://www.SysEx.com.na) 
 under Linux tips and tricks. It's tip #5.
 
 Uwe
 
 -- 
 Mark Twain: I rather decline two drinks than a German adjective.
 http://www.SysEx.com.na
 -- 
 gentoo-user@gentoo.org mailing list

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] erratic touchpad

2006-06-21 Thread Richard Fish

On 6/17/06, marco restelli [EMAIL PROTECTED] wrote:

Everything works fine, but the touchpad.
Indeed I have all the advanced features working: double click,
scroll ... but using the touchpad when the CPU load is hight
the mouse starts jumping around and clicking everywhere.


I see two problems in your dmesg output:


warning: many lost ticks.
Your time source seems to be instable or some driver is hogging interupts
rip __do_softirq+0x45/0xc9


Take a look at /usr/src/linux/Documentation/kernel-parameters.txt,
particularly the clock= option.  clock=pmtmr might be the best option
here...although I'm not sure it applies to amd64.


input: SynPS/2 Synaptics TouchPad as /class/input/input1
APIC error on CPU0: 00(40)


Booting with noapic (again, see kernel-parameters.txt) should help.
It might also clear up the time issue above.

HTH,
-Richard
--
gentoo-user@gentoo.org mailing list



[gentoo-user] xorg-x11 / setxkbmap masked

2006-06-21 Thread Hans Schou
Hi

I have several Gentoo installations which works fine but this one id broken.

When I do a:
  emerge xorg-x11
I get:

Calculating dependencies -
!!! All ebuilds that could satisfy =x11-apps/setxkbmap-1.0.1 have been
masked.
!!! One of the following masked packages is required to complete your
request:
- x11-apps/setxkbmap-1.0.2 (masked by: ~x86 keyword)
For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
!!!(dependency required by x11-base/xorg-x11-7.0-r1 [ebuild])

I then tried to remove setxkbmap:
--- Couldn't find setxkbmap to unmerge.
 unmerge: No packages selected for removal.

The worst problem I have is that I can not do a emerge world as this
gives the same error.

What can I do? Remove xorg-x11 and install it again?


best regards/hans
-- 
Even if you hate images of text on the web, this tutorial...
  -- http://www.gimp.org/tutorials/

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg-x11 / setxkbmap masked

2006-06-21 Thread Benno Schulenberg
Hans Schou wrote:
 !!! All ebuilds that could satisfy =x11-apps/setxkbmap-1.0.1
 have been masked.
 !!! One of the following masked packages is required to complete
 your request:
 - x11-apps/setxkbmap-1.0.2 (masked by: ~x86 keyword)
 For more information, see MASKED PACKAGES section in the emerge
 man page or refer to the Gentoo Handbook.
 !!!(dependency required by x11-base/xorg-x11-7.0-r1
 [ebuild])

 I then tried to remove setxkbmap:

No, you musn't remove setxkbmap, you must unmask it:
echo x11-apps/setxkbmap ~x86 /etc/portage/package.keywords

Benno
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] initramfs, network diskless boot, init process, problems with switchroot (pivot_root)

2006-06-21 Thread Richard Fish

On 6/21/06, Hans-Werner Hilse [EMAIL PROTECTED] wrote:

On Wed, 21 Jun 2006 13:50:12 -0700

Hm, I'm pretty sure that it is well possible to pivot_root from an
initramfs. Isn't that the whole point of pivot_root? But you may be
right that it is not possible for NFS mounts, I never tried that before.


http://bugzilla.kernel.org/show_bug.cgi?id=4857

My final comments on that bug are based on the attached email that I
received from Andrew Morton that made it clear that Al Viro was
opposed to pivot_root being used from an initramfs.  (BTW, viro's
comments are not very polite, but you have to expect such directness
from kernel hackers!)

Note, be sure we are talking about an initramfs here, not an initrd.

From an initrd it is still possible and supported to use pivot_root.



In fact, the approach you took is weak. /sbin/init wouldn't run as PID
1 in this case which is bad for the situation that the calling script
(which _has_ PID 1) dies. The kernel would recognize this and reboot
(and/or panic, not sure). To avoid this, one has to exec the init from
the script.


No, this works perfectly.  I use it every time I boot my kernel, and
my init *is* PID 1.

The exec ./bin/chroot part replaces the shell executing the /init
script with the chroot command, so chroot then becomes PID 1.  Chroot
then does an exec of ./sbin/init so that init becomes PID 1.



So basically it boils down to this /init in the initramfs:

#!/bin/sh
PATH=/bin:/sbin
modprobe supermightyrootfsprovidingmodule  \
  mount -t blahfs /dev/whereitis /mnt/stagetwo  \
  cd /mnt/stagetwo  \
  pivot_root . /mnt/initramfs || reboot -f
exec /sbin/init


Be warned that if you do this, and then you try to mount --move
anything, your kernel will probably hang.

But again, in recent kernels, pivot_root *should* be returning -EINVAL
if you do this.  Indeed I just checked my 2.6.16 sources, and the code
that returns EINVAL in sys_pivot_root for unattached mounts is still
there:

   error = -EINVAL;
   if (user_nd.mnt-mnt_root != user_nd.dentry)
   goto out2; /* not a mountpoint */
   if (user_nd.mnt-mnt_parent == user_nd.mnt)
   goto out2; /* not attached */
   if (new_nd.mnt-mnt_root != new_nd.dentry)
   goto out2; /* not a mountpoint */
   if (new_nd.mnt-mnt_parent == new_nd.mnt)
   goto out2; /* not attached */

So unless your the pivot_root program is doing something other than
sys_pivot_root(), I don't see how this can possibly work on a recent
kernel.

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] initramfs, network diskless boot, init process, problems with switchroot (pivot_root)

2006-06-21 Thread Richard Fish

On 6/21/06, Richard Fish [EMAIL PROTECTED] wrote:

http://bugzilla.kernel.org/show_bug.cgi?id=4857

My final comments on that bug are based on the attached email


-1,000,000 points for not including the email...

-Richard
From - Thu Aug 18 13:01:31 2005
X-Account-Key: account1
X-UIDL: f9050c2168cec49d57cb44456faba2d8
X-Mozilla-Status: 0001
X-Mozilla-Status2: 
X-Apparently-To: [EMAIL PROTECTED] via 66.218.93.224; Thu, 18 Aug 2005 10:24:05 
-0700
X-Originating-IP: [65.172.181.4]
Return-Path: [EMAIL PROTECTED]
Authentication-Results: mta107.pa.mail.re2.yahoo.com
  from=osdl.org; domainkeys=neutral (no sig)
Received: from 65.172.181.4  (EHLO smtp.osdl.org) (65.172.181.4)
  by mta107.pa.mail.re2.yahoo.com with SMTP; Thu, 18 Aug 2005 10:24:05 -0700
Received: from shell0.pdx.osdl.net (fw.osdl.org [65.172.181.6])
by smtp.osdl.org (8.12.8/8.12.8) with ESMTP id j7IHO3jA023758
(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO);
Thu, 18 Aug 2005 10:24:03 -0700
Received: from bix (shell0.pdx.osdl.net [10.9.0.31])
by shell0.pdx.osdl.net (8.13.1/8.11.6) with SMTP id j7IHO2iP028972;
Thu, 18 Aug 2005 10:24:02 -0700
Date: Thu, 18 Aug 2005 10:22:42 -0700
From: Andrew Morton [EMAIL PROTECTED]
To: Miklos Szeredi [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: pivot_root-circular-reference-fix-2.patch
Message-Id: [EMAIL PROTECTED]
X-Mailer: Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-redhat-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, hits=0 required=5 tests=
X-Spam-Checker-Version: SpamAssassin 2.63-osdl_revision__1.45__
X-MIMEDefang-Filter: osdl$Revision: 1.114 $
X-Scanned-By: MIMEDefang 2.36

cw viro: 
http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc5/2.6.13-rc5-mm1/broken-out/pivot_root-circular-reference-fix-2.patch
viro WTF?
cw -EWTFWTF?
viro akpm: patch is an utter bullshit
viro akpm: we are _NOT_ allowing to change namespace root
viro not with pivot_root(), not with anything else
viro moreover, I distinctly remember having such check in sys_pivot_root()
viro where the hell had it gone?
cw viro: what about depricate pivot_root since it's the source of so much 
angst? (i used it myself and im not sure how to avoid it here but there must be 
a way)
* viro goes to look through history
viro LARTs are needed, apparently
olaf or -einval for pivot_root on rootfs (if thats detectable)
viro of course it is
-- plai_ ([EMAIL PROTECTED]) has joined #kernel
viro sigh...
viro what we should do is prohibit any mount activity on detached vfsmounts, 
*period*
viro akpm: please, consider that patch in its current form strongly vetoed
crlf viro: if you restructure vfsmount trees to not depend on namespaces, 
there's no need for that restriction
akpm viro: OK.  You were cc'ed on it a lot at the time..
viro akpm: -*-Mutt: /var/spool/mail/viro [Msgs:23748 New:21604 Del:83 Post:31 
128M]---(threa



Re: [gentoo-user] Using unencrypted wireless lan

2006-06-21 Thread Richard Fish

On 6/20/06, Alexander Skwar [EMAIL PROTECTED] wrote:

Hello!

To do some testing, I'd like to use my WLAN in unencrypted
mode, ie. no WEP, no WPA. How would I configure that in
my /etc/conf.d/net?


essid_eth1=fishnet
mode_eth1=managed

But I think you really want to put this in /etc/conf.d/wireless
instead of /e/c.d/net, depending upon your version of baselayout.
Also read /etc/conf.d/wireless.example.

HTH,
-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Copying PS/2 game CDs

2006-06-21 Thread Teresa and Dale
Daniel da Veiga wrote:

 On 6/21/06, Teresa and Dale [EMAIL PROTECTED] wrote:


 thing.  I'm not going to sell the copies.


 Well, they really don't care about that...


Yea, they just want to make us keep replacing the ones that get
scratched.  It's just a bonus for the security of making copies.

Dale
:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dvdrip: significant frame loss during rip

2006-06-21 Thread Nick Rout

On Wed, 21 Jun 2006 09:29:26 -0400
fire-eyes wrote:

 On Wednesday 21 June 2006 04:00, Neil Bothwick wrote:
  I see this error, but usually near the start of the rip. I get rid of it
  by setting Grab subtitle preview images to No.
 
 Hm. I always see it at the end, and it makes no difference what I have the 
 grab subtitle setting at. Thanks for the reply :)
 

Try here:

http://www.exit1.org/cgi-bin/htsearch?config=dvdrip-usersrestrict=exclude=words=%22It+seems+that+transcode+ripping+stopped+short.%22method=andformat=builtin-longsort=score

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] initramfs, network diskless boot, init process, problems with switchroot (pivot_root)

2006-06-21 Thread Hans-Werner Hilse
Hi,

On Wed, 21 Jun 2006 15:51:51 -0700
Richard Fish [EMAIL PROTECTED] wrote:

 My final comments on that bug are based on the attached email that I
 received from Andrew Morton that made it clear that Al Viro was
 opposed to pivot_root being used from an initramfs.  (BTW, viro's
 comments are not very polite, but you have to expect such directness
 from kernel hackers!)
 
 Note, be sure we are talking about an initramfs here, not an initrd.
 From an initrd it is still possible and supported to use pivot_root.

OK, I have to apologize. I totally missed that you were exec'ing
chroot. OK, I definately stand currected. But I was pretty sure I once
did this from initramfs. But that was admittedly back in the 2.6.10
days, I think. Of course in this case /sbin/init also gets PID 1.

-hwh
(happy to not have been the one complaining to the kernel devs :-) and
also forgetting to send attachments. I need a plugin that saves me from
doing this, e.g. searching for the word attachment and complaining if
there isn't one...)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mencoder: error encoding, following howto

2006-06-21 Thread fire-eyes
On Wednesday 21 June 2006 18:03, Nick Rout wrote:
 dvdrip is in portage and is an excellent tool for backing up DVD.

It looked that way to me, however in every test I tried, after ripping it 
always said only X out of a total of Y frames were ripped, and it was always 
somewhere around 20 - 30% less. Did that on two systems. In short, it looked 
good to me but I gave up on it after fighting with it for a week.

-- 
When you walk across the fields with your mind pure and holy, then from
all the stones, and all growing things, and all animals, the sparks of
their soul come out and cling to you. And then they are purified, and
become a holy fire in you. -- Ancient Hasidic Saying
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Deleted /boot

2006-06-21 Thread Mike Markowski
Norberto Bensa wrote:
 Mike Markowski wrote:
 Any ideas?  Bueller?  Bueller?
 
 Please post:
 
 $ cat /boot/grub/menu.lst
 $ ls -l /boot
 $ sudo fdisk -l
 $ ls -l /dev/console
 $ ls -l /dev/initctl
 $ ls -l /dev/null 

Ok, Norberto.  Looks like the (or, a) problem is initctl.  The named
pipe is missing...or is it supposed to be created during boot?  I got
the info below after 'chrooting' from a livecd boot.  I don't know what
the pipe is for, so time to start reading.  But I wanted to get this
posted soon as I could.

Thanks,
Mike

livecd / # cat /boot/grub/menu.lst

   timeout 10
   default 0

   title  Gentoo 2.6.17
   root (hd0,0)
   kernel /kernel-2.6.17-gentoo root=/dev/sda1

   # Change the colors.
   title Change the colors
   color light-green/brown blink-red/blue

livecd / # fdisk -l

   Disk /dev/sda: 80.0 GB, 80026361856 bytes
   255 heads, 63 sectors/track, 9729 cylinders
   Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot  Start End  Blocks   Id  System
   /dev/sda1   1   5   40131   83  Linux
   /dev/sda2   6 249 1959930   82  Linux swap /
Solaris
   /dev/sda3 250972976148100   83  Linux

   Disk /dev/sdb: 1040 MB, 1040187392 bytes
   32 heads, 32 sectors/track, 1984 cylinders
   Units = cylinders of 1024 * 512 = 524288 bytes

  Device Boot  Start End  Blocks   Id  System
   /dev/sdb1   *   11984 10157926  FAT16

livecd / # ls -l /boot/

   total 2218
   lrwxrwxrwx 1 root root   1 Jun 20 20:09 boot - .
   -rw-r--r-- 1 root root   36667 Jun 19 19:32 config-2.6.17-gentoo
   drwxr-xr-x 2 root root1024 Jun 20 20:06 grub
   -rw-r--r-- 1 root root 2208825 Jun 20 19:39 kernel-2.6.17-gentoo
   drwx-- 2 root root   12288 Jun 20 20:07 lost+found

livecd / # ls -l /dev/console

   crw--- 1 root tty 5, 1 Feb 13 19:03 /dev/console
   livecd / # ls -l /dev/initctl
   /bin/ls: /dev/initctl: No such file or directory
   livecd / # ls -l /dev/null
   crw-rw-rw- 1 root root 1, 3 Feb 13 19:03 /dev/null

livecd / #
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Update: mencoder: error encoding, following howto

2006-06-21 Thread fire-eyes
Following the suggestion of some people here, I tried the following items, one 
at a time, and tried to encode again, and the symptoms never changed.

 a) Remerge x264-svn without threads support
 b) Remerge mplayer without custom-cflags or cpudetection CFLAGS

I did find a forum entry (not forums.gentoo.org) which talked about this exact 
same issue, which seemed to be related to x264 itself. Unfortunately the 
thread ended in February 2005, and the site won't let me get further 
information from that user...

This is a real pain, I am looking for ideas. I am not looking for different 
tools, I have spent two weeks on this and am sick of bouncing between a dozen 
tools.
-- 
When you walk across the fields with your mind pure and holy, then from
all the stones, and all growing things, and all animals, the sparks of
their soul come out and cling to you. And then they are purified, and
become a holy fire in you. -- Ancient Hasidic Saying
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] initramfs, network diskless boot, init process, problems with switchroot (pivot_root)

2006-06-21 Thread Richard Fish

On 6/21/06, Hans-Werner Hilse [EMAIL PROTECTED] wrote:

chroot. OK, I definately stand currected. But I was pretty sure I once
did this from initramfs. But that was admittedly back in the 2.6.10
days, I think.


Yeah, I did it too! ;-  Worked great until I tried to use
fbsplash/bootsplash, which did a 'mount --move'  as part of it's
setup.

Cheers,
-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: Gentoo on an AMD 64bit portable

2006-06-21 Thread Richard Fish

On 6/16/06, James [EMAIL PROTECTED] wrote:

and usb-serial converter devices, but I have never used any of them
so I need recommendations on alternative serial (rs232C) hardware.


I have a USB to RS232 converter that I used to connect to a router.
It works great.  So I wouldn't worry about finding a laptop with a
built-in serial port.

If you want to know the exact make/model of my converter, I can let
you know on Saturday when I get back home.

-Richard
--
gentoo-user@gentoo.org mailing list




Re: [gentoo-user] Deleted /boot

2006-06-21 Thread Richard Fish

On 6/21/06, Mike Markowski [EMAIL PROTECTED] wrote:


Ok, Norberto.  Looks like the (or, a) problem is initctl.  The named
pipe is missing...or is it supposed to be created during boot?  I got


No, /dev/initctl is a named pipe created when init runs...



   title  Gentoo 2.6.17
   root (hd0,0)
   kernel /kernel-2.6.17-gentoo root=/dev/sda1


Um, isn't /dev/sda1 your /boot filesystem?  Shouldn't this be /dev/sda3?

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Copying PS/2 game CDs

2006-06-21 Thread Daniel da Veiga

On 6/21/06, Teresa and Dale [EMAIL PROTECTED] wrote:

Daniel da Veiga wrote:

 On 6/21/06, Teresa and Dale [EMAIL PROTECTED] wrote:


 thing.  I'm not going to sell the copies.


 Well, they really don't care about that...


Yea, they just want to make us keep replacing the ones that get
scratched.  It's just a bonus for the security of making copies.



I've seen so many of those situations, just a few examples:

1) iPod battery. You CAN buy a new one and install it yourself at your
own risk, OR you can invest 100$ (that's A LOT were I live) for Apple
to do that for you, while they should fix their own break stuff free
of charge.

2) Console games that have copy protect. You could easily backup, keep
the original safe and play with the copy, but NO, a simple fall and
you loose your money.

3) Those damn mechanical stamps at work, you could simply buy ink and
recharge the softpad, but NO, that will void warranty and probably
damage the stamp so you must buy a new, original softpad.

Just to name a few...

At least with Gentoo you own only respect and admiration for the ones
that provide it (and a few dollars for those wonderful shirts and
mousepads *lol*)

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg-x11 / setxkbmap masked

2006-06-21 Thread Jeremy Olexa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Benno Schulenberg wrote:
 Hans Schou wrote:
 !!! All ebuilds that could satisfy =x11-apps/setxkbmap-1.0.1
 have been masked.
 !!! One of the following masked packages is required to complete
 your request:
 - x11-apps/setxkbmap-1.0.2 (masked by: ~x86 keyword)
 For more information, see MASKED PACKAGES section in the emerge
 man page or refer to the Gentoo Handbook.
 !!!(dependency required by x11-base/xorg-x11-7.0-r1
 [ebuild])

 I then tried to remove setxkbmap:
 
 No, you musn't remove setxkbmap, you must unmask it:
 echo x11-apps/setxkbmap ~x86 /etc/portage/package.keywords
 
 Benno

In addition to what Benno has said, I recommend that you sync your tree
before continuing. The latest xorg is 7.1 ~x86. Also note that nothing
is broken on your box, you just forgot you add the proper entry to
/etc/portage/package.keywords. If you have no idea what I am talking
about then you shouldn't be using xorg7 ;-)

- --
Jeremy Olexa
([EMAIL PROTECTED])
Office: EE/CS 1-201
CS/IT Systems Staff
University of Minnesota

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEmgA2FN7pD9kMi/URAp5hAJ9HjnUIFbTmJJiAiPM0PG2pnZdsEgCdEfrR
9hhGIQsVl4C8MBGI6tFY+Do=
=eJ3C
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Anyone using Yahoo as Postfix relay? (Name service error for name=smtp1.mail.vip.ukl.yahoo.com type=MX: Malformed name server reply)

2006-06-21 Thread Stroller

Hi there,

Has anyone here got a Postfix server set up to relay through Yahoo's  
SMTP service, please?


Normally when I send mail, postfix on the server under the stairs  
connects directly to the addressee's mailserver (normal SMTP then) or  
uses my ISP's mailserver as a relayhost. Until recently this  
configuration has depended upon my mood - if I see a delivery failure  
I muck about with things until I get it right, but from my desktop PC  
I have recently started using the server-under-the-stairs more  
frequently, so I am having to look more closely at its configuration  
when things go wrong.


In this case I am getting a bounce message from a mailing-list server  
that says:


[EMAIL PROTECTED]: host mg1.uky.edu[128.163.184.178] said: 554  
5.7.1 Mail
from domain yahoo.co.uk not accepted from host  
compaq.stroller.uk.eu.org
(213.152.39.90) - see http://www.uky.edu/email/ (in reply to  
RCPT TO

command)

I want to sign up to this list using my @yahoo.co.uk address, you  
see, so the logical thing to do is have postfix deliver everything  
with a from address @yahoo.co.uk using yahoo's SMTP server as  
relayhost. I understand that this is at least a little bit of a pain  
http://archives.neohapsis.com/archives/postfix/2004-08/0618.html so  
for me it's easier to send everything going to lsv.uky.edu via Yahoo.


I had expected this to be easy enough. Yahoo tells me that my server  
settings are:

  Outgoing Mail Server (SMTP):   smtp.mail.yahoo.co.uk

So:
  $ cat /etc/postfix/transport
  lsv.uky.edu :smtp.mail.yahoo.co.uk
  $ sudo cat /etc/postfix/sasl_passwd
  smtp.mail.yahoo.co.uk   my_yahoo_id:verysecret
  $ sudo postmap hash:/etc/postfix/sasl_passwd
  $ sudo postmap /etc/postfix/transport
  $ sudo /etc/init.d/postfix restart

I then send the subscription mail again  look at the logs:
  Jun 22 02:56:20 compaq postfix/smtpd[6213]: connect from unknown 
[192.168.1.103]
  Jun 22 02:56:20 compaq postfix/smtpd[6213]: 309B31263BB:  
client=unknown[192.168.1.103]
  Jun 22 02:56:20 compaq postfix/cleanup[6216]: 309B31263BB: message- 
id=[EMAIL PROTECTED]
  Jun 22 02:56:20 compaq postfix/qmgr[6174]: 309B31263BB:  
from=[EMAIL PROTECTED], size=579, nrcpt=1 (queue active)
  Jun 22 02:56:20 compaq postfix/smtp[6217]: warning:  
valid_hostname: empty hostname
  Jun 22 02:56:20 compaq postfix/smtp[6217]: warning: malformed  
domain name in resource data of MX record for smtp.mail.yahoo.co.uk:
  Jun 22 02:56:20 compaq postfix/smtp[6217]: warning:  
valid_hostname: empty hostname
  Jun 22 02:56:20 compaq postfix/smtp[6217]: warning: malformed  
domain name in resource data of MX record for  
smtp1.mail.vip.ukl.yahoo.com:
  Jun 22 02:56:20 compaq postfix/smtp[6217]: 309B31263BB:  
to=[EMAIL PROTECTED], relay=none, delay=0, status=deferred (Name  
service error for name=smtp1.mail.vip.ukl.yahoo.com type=MX:  
Malformed name server reply)


  $ postqueue -p
  -Queue ID- --Size-- Arrival Time -Sender/Recipient---
  309B31263BB  579 Thu Jun 22 02:56:20  [EMAIL PROTECTED]
  (Name service error for name=smtp1.mail.vip.ukl.yahoo.com type=MX:  
Malformed name server reply)

 [EMAIL PROTECTED]

I'd be very grateful for any illumination on this one. I'm actually  
using a somewhat dated release of Postfix but this software is mature  
enough that I'm inclined to blame my own configuration rather than a  
bug.


Thanks in advance for any suggestions,

Stroller.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Deleted /boot

2006-06-21 Thread Mike Markowski
Richard Fish wrote:
 On 6/21/06, Mike Markowski [EMAIL PROTECTED] wrote:

 Ok, Norberto.  Looks like the (or, a) problem is initctl.  The named
 pipe is missing...or is it supposed to be created during boot?  I got
 
 No, /dev/initctl is a named pipe created when init runs...
 
 
title  Gentoo 2.6.17
root (hd0,0)
kernel /kernel-2.6.17-gentoo root=/dev/sda1
 
 Um, isn't /dev/sda1 your /boot filesystem?  Shouldn't this be /dev/sda3?

D'oh!  Bangs head on desk  I was seeing what I meant, I guess, rather
than what was there.  Thanks, Richard.  I must have spent 2 hours on
this.  I'll go hide in my embarrassment now...

Seriously, many thanks to everyone who helped!
Mike
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] emerge --sync fails

2006-06-21 Thread Rafael Alfaro

Hi,


I have and emerge --sync problem,  (emerge-webrsync still works):


emerge --sync

Starting rsync with rsync://140.211.166.165/gentoo-portage...
Checking server timestamp ...

building file list ... rsync: link_stat /root/300 failed: No such
file or directory (2)
rsync: link_stat
/root/rsync://140.211.166.165/gentoo-portage/metadata/timestamp.chk
failed: No such file or directory (2)
done

Number of files: 0
Number of files transferred: 0
Total file size: 0 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 5
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 21
Total bytes received: 20

sent 21 bytes  received 20 bytes  82.00 bytes/sec
total size is 0  speedup is 0.00
rsync error: some files could not be transferred (code 23) at
main.c(892) [sender=2.6.8]

Retrying...



I did a touch /root/300
I did a emerge --metadata
but emerge --sync still fail.

Here is th emerge --info

Portage 2.1 (default-linux/x86/2006.0, gcc-3.3.6, glibc-2.3.6-r4,
2.6.17-rc4 i686)
=
System uname: 2.6.17-rc4 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz
Gentoo Base System version 1.6.14
dev-lang/python: 2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS=x86
AUTOCLEAN=yes
CBUILD=i686-pc-linux-gnu
CFLAGS=-O2 -march=pentium4
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/kde/3.4/env /usr/kde/3.4/share/config
/usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config /var/bind
/var/qmail/alias /var/qmail/control /var/vpopmail/domains
/var/vpopmail/etc
CONFIG_PROTECT_MASK=/etc/env.d /etc/gconf /etc/terminfo
CXXFLAGS=-O2 -march=pentium4
DISTDIR=/usr/portage/distfiles
FEATURES=autoconfig distlocks metadata-transfer sandbox sfperms strict
GENTOO_MIRRORS=http://gentoo.chem.wisc.edu/gentoo/ 
MAKEOPTS=-j2
PKGDIR=/usr/portage/packages
PORTAGE_RSYNC_EXTRA_OPTS=300
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --delete-after --stats
--timeout=180 --exclude='/distfiles' --exclude='/local'
--exclude='/packages'
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=x86 X alsa apache2 apm arts avi berkdb bgpclassless bitmap-fonts
chroot cli crypt cups dri dvd eds emacs emboss encode esd fastcgi
fbsplash firefox fix-connected-rt flash foomaticdb fortran gdbm
gencertdaily gif gmail gmailtimestamps gnome gpgme gpm gstreamer gtalk
gtk gtk2 gvim imap imlib ipalias iproute2 ipv6 isdnlog j2ee javascript
jboss jpeg kde kdepim kdexdeltas kerberos kexi key-screen
kig-scripting ldapsam ldirectord libg++ libwww lighttpd live logmail
ltsp mad mailwrapper mikmod modperl motif mp3 mpeg multipath
nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh nautilus
ncurses net netbeans netboot network nfs nls noauthcram
notlsbeforeauth nptl nptlonly ntfs ogg opengl openssh openssl oracle
ospfapi oss pam pcre pdf pdflib perl png postfix pppd python qmail qt
quicktime readline realms reflection rrdcgi rrdtool sasl sdl sendmail
session spamassassin spell spl ssl stream tcp-zebra tcpd tcpmd5
truetype truetype-fonts type1-fonts udev unicode userlocales verbose
vfat virus-scan vnc voice vorbis wxgtk1 wxwindows xml xmlrpc xmms xorg
xv yahoo zip zlib elibc_glibc kernel_linux userland_GNU
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, LINGUAS, PORTDIR_OVERLAY




Please help me, I do not know what happen.

Thanks in advance.


--
Rafael Alfaro.
Omnilife Independent Distributor.
People taking care of people.
--
gentoo-user@gentoo.org mailing list



  1   2   >