Re: [gentoo-ppc-user] Linux installed from 2005.1 disk does not start

2005-10-06 Thread Guy Yasko
On 6.10.2005, Charles Trois stated:

 Joseph Jezak a écrit :
  If Mackael's suggestion doesn't help, let's try with nvidiafb and a
  newer kernel:
 
 It did not help, causing a kernel panic that I couldn't resolve.
  Give 2.6.14 a try (there are some release canidates for vanilla
  sources), apply this patch:
  http://ozlabs.org/pipermail/linuxppc-dev/2005-October/019957.html
  and then try nvidiafb.
  
 I have downloaded linux-2.6.14-rc3, but was unable to apply the patch: I
 put it within /linux and wrote
 patch --verbose -p1  Patch_nvidiafb
 Is that not correct? It failed on 5 hunks out of 5.

That looks right, but did you clean out the directory beforehand?  I
ask because the same thing happened to me.  Everything worked when I
ran make clean in /usr/src/linux before patching.  

Unfortunately, the patch didn't help, and the kernels i compiled won't
boot any more than those compiled with the unpatched 2.6.14-rc3 do.

-- 
Guy Yasko -- [EMAIL PROTECTED]

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



Re: [gentoo-user] Unable to calculate Linux Kernel version [New Thread]

2005-10-06 Thread Bogo Mipps
On Thu, 06 Oct 2005 17:50, Rumen Yotov wrote:

 Check to make sure that /usr/src/linux link point to your
 current/working kernel. svgalib depends on kernel link to build.

Sorry this was covered in the earlier thread, should have covered it again.

Linked as follows:

rugosa src # pwd
/usr/src

rugosa src # ls -alh
total 14M
drwxr-xr-x  15 root   root4.0K Oct  3 14:22 .
drwxr-xr-x  16 root   root4.0K Sep 20 19:58 ..
-rw-r--r--   1 root   root 29K May 19 11:19 .config
-rw-r--r--   1 root   root   0 Sep  1 10:41 .keep
lrwxrwxrwx   1 root   root  23 Oct  3 14:22 linux - 
linux-2.6.12-gentoo-r10
drwxr-xr-x  18 root   root4.0K Jun 15 16:17 linux-2.6.11-gentoo-r11
drwxr-xr-x  19 root   root4.0K Sep 16 22:06 linux-2.6.11-gentoo-r4
drwxr-xr-x  19 root   root4.0K Oct  6 11:11 linux-2.6.12-gentoo-r10
drwxr-xr-x  18 root   root4.0K Jul  9 14:35 linux-2.6.12-gentoo-r4
drwxr-xr-x  18 root   root4.0K Jul 19 21:38 linux-2.6.12-gentoo-r6

rugosa linux # pwd
/usr/src/linux
rugosa linux # ls -alh
total 21M
drwxr-xr-x  19 root root  4.0K Oct  6 11:11 .
drwxr-xr-x  15 root root  4.0K Oct  3 14:22 ..
-rw-r--r--   1 root root   471 Oct  3 14:48 ..tmp_kallsyms1.o.cmd
-rw-r--r--   1 root root   471 Oct  3 14:48 ..tmp_kallsyms2.o.cmd
-rw-r--r--   1 root root   635 Oct  3 14:48 ..tmp_vmlinux1.cmd
-rw-r--r--   1 root root   651 Oct  3 14:48 ..tmp_vmlinux2.cmd
-rw-r--r--   1 root root   32K Oct  3 14:39 .config
-rw-r--r--   1 root root  5.2K Oct  3 14:39 .config.cmd
-rw-r--r--   1 root root   29K Oct  3 14:24 .config.old
-rw-r--r--   1 root root 1006K Oct  3 14:48 .tmp_System.map
-rw-r--r--   1 root root  1.2M Oct  3 14:48 .tmp_kallsyms1.S
-rw-r--r--   1 root root  200K Oct  3 14:48 .tmp_kallsyms1.o
-rw-r--r--   1 root root  1.2M Oct  3 14:48 .tmp_kallsyms2.S
-rw-r--r--   1 root root  200K Oct  3 14:48 .tmp_kallsyms2.o
drwxr-xr-x   2 root root  4.0K Oct  3 14:48 .tmp_versions
-rwxr-xr-x   1 root root  5.0M Oct  3 14:48 .tmp_vmlinux1
-rwxr-xr-x   1 root root  5.2M Oct  3 14:48 .tmp_vmlinux2
-rw-r--r--   1 root root 2 Oct  3 14:48 .version
-rw-r--r--   1 root root   639 Oct  3 14:48 .vmlinux.cmd
-rw-r--r--   1 root root   19K Sep  3 20:34 COPYING
-rw-r--r--   1 root root   88K Sep  3 20:34 CREDITS
drwxr-xr-x  50 root root  4.0K Sep  3 20:34 Documentation
-rw-r--r--   1 root root   57K Sep  3 20:34 MAINTAINERS
-rw-r--r--   1 root root   44K Sep  3 20:34 Makefile
-rw-r--r--   1 root root  107K Oct  3 14:48 Module.symvers
-rw-r--r--   1 root root   14K Sep  3 20:34 README
-rw-r--r--   1 root root  3.0K Sep  3 20:34 REPORTING-BUGS
-rw-r--r--   1 root root 1006K Oct  3 14:48 System.map
drwxr-xr-x  25 root root  4.0K Sep  3 20:34 arch
drwxr-xr-x   2 root root  4.0K Oct  3 14:43 crypto
drwxr-xr-x  50 root root  4.0K Oct  3 14:45 drivers
drwxr-xr-x  56 root root  4.0K Oct  3 14:43 fs
drwxr-xr-x  38 root root  4.0K Oct  3 14:40 include
drwxr-xr-x   2 root root  4.0K Oct  3 14:48 init
drwxr-xr-x   2 root root  4.0K Oct  3 14:43 ipc
drwxr-xr-x   4 root root  4.0K Oct  3 14:41 kernel
drwxr-xr-x   5 root root  4.0K Oct  3 14:48 lib
drwxr-xr-x   2 root root  4.0K Oct  3 14:41 mm
drwxr-xr-x  32 root root  4.0K Oct  3 14:48 net
-rw-r--r--   1 root root52 Sep  3 20:34 patches.txt
drwxr-xr-x   9 root root  4.0K Oct  3 14:40 scripts
drwxr-xr-x   4 root root  4.0K Oct  3 14:43 security
drwxr-xr-x  16 root root  4.0K Oct  3 14:46 sound
drwxr-xr-x   2 root root  4.0K Oct  3 14:40 usr
-rwxr-xr-x   1 root root  5.2M Oct  3 14:48 vmlinux
rugosa linux #  

Bogo


-- 
Sent via KMail 1.8.1,  o/s Linux-2.6.12-gentoo-r10
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Unable to calculate Linux Kernel version [New Thread]

2005-10-06 Thread Glenn Enright
Try this...

ls -l /usr/src/linux
uname -r

these should give you the same version. If not you need to adjust the linux 
symlink to reflect the kernel version you are running. Then

cd /usr/src/linux
cp /boot/config-$(uname -r) ./
make oldconfig  make

Now you should be able to do the emerges you wanted to. The point is to have 
your source tree in working condition, and findable, as opposed to clean.

If you run different kernel versions often, try adding a few lines 
to /etc/conf.d/ like

# -- quick hack to ease work of updating kernels and make emerges consistent
#
ebegin Refreshing kernel source link to running kernel.
rm -f /usr/src/linux
if ! ln -s /usr/src/linux-$(uname -r) /usr/src/linux
then
ewarnBugger ... could not update. Please manually create the
ewarnsymbolic link '/usr/src/linux' to the running kernel 
source.
ewend 1
fi
# --

-- 

I think we are in Rats' Alley where the dead men lost their bones.
-- T.S. Eliot
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Unable to calculate Linux Kernel version [New Thread]

2005-10-06 Thread Glenn Enright
On Thu, 06 Oct 2005 06:42, Glenn Enright wrote:
 Try this...

   ls -l /usr/src/linux
   uname -r

 these should give you the same version. If not you need to adjust the linux
 symlink to reflect the kernel version you are running. Then

   cd /usr/src/linux
   cp /boot/config-$(uname -r) ./
   make oldconfig  make

 Now you should be able to do the emerges you wanted to. The point is to
 have your source tree in working condition, and findable, as opposed to
 clean.

 If you run different kernel versions often, try adding a few lines
 to /etc/conf.d/ like
scuse :-o  ^^^-- /etc/conf.d/local.start


 # -- quick hack to ease work of updating kernels and make emerges
 consistent #
 ebegin Refreshing kernel source link to running kernel.
 rm -f /usr/src/linux
 if ! ln -s /usr/src/linux-$(uname -r) /usr/src/linux
 then
 ewarnBugger ... could not update. Please manually create the
 ewarnsymbolic link '/usr/src/linux' to the running kernel
 source.
 ewend 1
 fi
 # --

 --

 I think we are in Rats' Alley where the dead men lost their bones.
   -- T.S. Eliot

-- 

IBM's original motto:
Cogito ergo vendo; vendo ergo sum.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Merging of config files in /etc

2005-10-06 Thread Remy Blank
Neil Bothwick wrote:
 On Wed, 05 Oct 2005 23:43:34 +0200, Remy Blank wrote:
 
 
On the first one, both /etc/init.d/alsasound and /etc/conf.d/alsasound
were updated, so I was asked to run etc-update, I accepted the update,
and that was it.

On the second computer, no update to these files was proposed.
 
 
 What is the output from
 
 emerge --info | grep CONFIG
 
 on both computers?

On the one that did the update:

CONFIG_PROTECT=/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control
CONFIG_PROTECT_MASK=/etc/gconf /etc/terminfo /etc/env.d

On the one that didn't do the update:

CONFIG_PROTECT=/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control
/var/www/localhost/htdocs/squirrelmail/config
CONFIG_PROTECT_MASK=/etc/gconf /etc/terminfo /etc/env.d

One more fact: on the second one, I had already emerged
alsa-utils-1.0.9a, and had reverted back to alsa-utils-1.0.8 with a
binary package generated by quickpkg. At that time, I also reverted the
config files.

I played some more with it, and noticed the following:

 1- If I change the mtime of e.g. /etc/conf.d/alsasound to be further in
the past (I set it to July), when I re-emerge alsa-utils-1.0.9a, I get
the ._cfg* file and a notice that I should run etc-update.

 2- Then, if I reject the update, the mtime of the file doesn't change.

 3- If I then re-emerge alsa-utils-1.0.9a, I get *no* ._cfg* file and
*no* notice to run etc-update. But I see that the file's mtime has
changed to the time of the merge, even though its contents haven't
changed. And in /var/db/pkg/media-sound/alsa-utils-1.0.9a/CONTENTS, the
file is registered with the md5 of the *updated* file (i.e. the contents
that should have ended up in the ._cfg* file).

I fail to see why portage should behave differently in 1 and 3 above, if
I assume that it only uses information from the filesystem.

So I'm still confused about the exact rules for proposing an update to
config files, and whether or not portage keeps track of *when* a user
makes changes to them.

-- Remy


Remove underscore and suffix in reply address for a timely response.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Unable to calculate Linux Kernel version [New Thread]

2005-10-06 Thread Bogo Mipps
On Thu, 06 Oct 2005 20:42, Glenn Enright wrote:
 On Thu, 06 Oct 2005 06:42, Glenn Enright wrote:
  Try this...
 
  ls -l /usr/src/linux
  uname -r
 
  these should give you the same version.


rugosa / # ls -l /usr/src/linux
lrwxrwxrwx  1 root root 23 Oct  3 14:22 /usr/src/linux - 
linux-2.6.12-gentoo-r10

rugosa / # uname -r
2.6.12-gentoo-r10
rugosa / #

This looks ok?  Yes?

So where to from there?  No point in the If not?

TIA

Bogo   


-- 
Sent via KMail 1.8.1,  o/s Linux-2.6.12-gentoo-r10
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg and transparency

2005-10-06 Thread Tamas Sarga

On Sat, 1 Oct 2005, Hemmann, Volker Armin wrote:


 Hi,

  Also, I have experienced a few problems. Firefox window got fully
  transparent somehow and I couldn't get it back. If I try to log out, the
  dialog where it asks logout/restart/shutdown doesn't appear also.
  gnome-panel goes to the back, and windows appear in front of them. Kinda
  small bugs, but still bugs!
  Has anyone managed to get it working fine and fast?

 yes, in KDE.
 erything looks very nice, and everything is very fast ;)


Hi,

Really fast? I tried it also. I didn't meet any problem except the
speed. I set RenderAccel TRUE, and it has changed far faster than
without it, but it is very slow anyway.
Without transparency I can change across virtual desktops from a second to
another, but with it it takes 3 seconds. Did I make some mistakes?
I added tha composite modul, and renderaccel. I didn't use
AllowGLXWithComposite, I thought it is for ATI, am I right?
I have AMD 1800+ XP, 512 MB RAM, Nvidia FX5200 AGP and I use KDE 3.4. I
didn't use xcompmgr and transset, only the settings in the
Kontrolcenter.

Tamas Sarga Sárga Tamás
--
Make the world confused!Zavard össze a világot!
Smile on monday morning!Mosolyogj hétfő reggel!

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] help

2005-10-06 Thread DmD (Spider) LJungmark
On Wed, 2005-10-05 at 21:18 -0700, Wes Gray wrote:
 On Wed, Oct 05, 2005 at 08:46:55PM -0700, Ted Ozolins wrote:
  At the login screen, what have your chosen as the session type. Perhaps
  its still selecting your old KDE. Check that and select KDE-3.4 and see
  what happens.
 
 Yes, of course I am selecting 3.4.  That is the only choice.  I've tried
 the obvious stuff, trust me.


Try this then :  Add a brand new sparkling user.
Log in to X and KDE.  Is the problem persisting then, or not?



//Spider
-- 
begin  .signature
Tortured users / Laughing in pain
See Microsoft KB Article Q265230 for more information.
end



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


Re: [gentoo-user] help

2005-10-06 Thread Roger Miliker
On Thursday 06 October 2005 04:46, Wes Gray wrote:
 My 3-year old gentoo system has decided to be a big headache.  My
 troubles started when I upgraded to kde 3.4.  The kde taskbar apps
 wouldn't start.  I tried unmerging kde-base and emerging kdebase-meta
 to see if it was related to the kde split, but that didn't help.  I got
 the idea that the problem was some old kde packages, so I tried unmerging
 everything on my system which was kde related, including some old packages
 which are no longer in portage, then I reemerged everything.  THis was
 a big mistake as afterwards kde was even more broken, and kde apps like
 k3b now don't even work.  I've given up on kde and moved to enlightenment,
 but it will be really hard to deal without any kde apps.  Lots of people
 have given me advice, but everything I try just seems to make things worse.
  It seems like there is something about old versions of kde that won't go
 away, which I don't understand at all.  It seems like if you reemerge
 something it should move to the newest versions.  I really could use some
 help because I have no idea what to do next.

 -Wes
One thing you could try (while not running kde) is:
mv ~/.kde ~/myold.kde
Kde will regenerate ,kde on next start and if that works fine you can merge 
back the configs from the old ~/myold.kde

Hope this helps

Roger

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Unable to calculate Linux Kernel version [New Thread]

2005-10-06 Thread Glenn Enright
On Thu, 06 Oct 2005 08:04, Bogo Mipps wrote:
 On Thu, 06 Oct 2005 20:42, Glenn Enright wrote:
  On Thu, 06 Oct 2005 06:42, Glenn Enright wrote:
   Try this...
  
 ls -l /usr/src/linux
 uname -r
  
   these should give you the same version.

 rugosa / # ls -l /usr/src/linux
 lrwxrwxrwx  1 root root 23 Oct  3 14:22 /usr/src/linux -
 linux-2.6.12-gentoo-r10

 rugosa / # uname -r
 2.6.12-gentoo-r10
 rugosa / #

 This looks ok?  Yes?

 So where to from there?  No point in the If not?

You still need to make sure the sources are 'bedded in' as it were, so perform 
the stuff described in the second part of my post as well.

-- 

The scum also rises.
-- Dr. Hunter S. Thompson
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gcc-config error / fix_libtool_files trouble

2005-10-06 Thread Frank Schafer
If your Python was built with i386-pc-linux-gnu-gcc, try re-emerging
Python.
Python has the compiler it was built with hard coded as the compiler to
use.

Regards
Frank


On Thu, 2005-10-06 at 11:05 +0200, Christian Fischer wrote:
 Hi all.
 
 I've some trouble with emerging dev-python/pyopengl.
 I get gcc-config error: Could not run/locate i386-pc-linux-gnu-gcc
 
 I've done the following:
 
 # gcc-config -l 
  [1] i686-pc-linux-gnu-3.3.6 *
  [2] i686-pc-linux-gnu-3.3.6-hardened
  [3] i686-pc-linux-gnu-3.3.6-hardenednopie
  [4] i686-pc-linux-gnu-3.3.6-hardenednopiessp
  [5] i686-pc-linux-gnu-3.3.6-hardenednossp
 
 # fix_libtool_files.sh 3.3 --oldarch i386-pc-linux-gnu
 * Scanning libtool files for hardcoded gcc library paths...
  *   [1/6] Scanning /lib ...
  *   [2/6] Scanning /usr/lib ...
  * FIXING: /usr/lib/libkwmf.la ...[]
 [...]
 *   [3/6] Scanning /usr/i386-pc-linux-gnu/lib ...
 *   [4/6] Scanning /usr/kde/3.4/lib ...
 FIXING: /usr/kde/3.4/lib/libkabc_ldapkio.la ...[]
 [...]
 *   [5/6] Scanning /usr/local/lib ...
 *   [6/6] Scanning /usr/qt/3/lib ...
 
 # env-update  source /etc/profile
 
 But that don't help.
 
 # emerge dev-python/pyopengl
 [...]
 SWIG Version 1.3.21
 Copyright (c) 1995-1998
 University of Utah and the Regents of the University of California
 Copyright (c) 1998-2003
 University of Chicago
 Compiled with g++ [i686-pc-linux-gnu]
 [...]
 running build_py
 i386-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 
 -march=pentium3 -fomit-frame-pointer -pipe -fPIC -DGLX_PLATFORM 
 -I/usr/include -I/usr/local/include -I/usr/X11R6/include 
 -I/usr/lib/tk8.4/include -Isrc/gle/src -I/usr/include/python2.3 -c 
 _configtest.c -o _configtest.o
 gcc-config error: Could not run/locate i386-pc-linux-gnu-gcc
 [...]
 
 Please can you give me some hints how to solve this problem?
 
 Christian
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg and transparency

2005-10-06 Thread Uwe Thiem
On 06 October 2005 10:29, Tamas Sarga wrote:

 Without transparency I can change across virtual desktops from a second to
 another, 

That slow? It's instantaneous here. With a shitty SiS card.

Uwe

-- 
95% of all programmers rate themselves among the top 5% of all software 
developers. - Linus Torvalds

http://www.uwix.iway.na (last updated: 20.06.2004)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] help

2005-10-06 Thread Benno Schulenberg
Wes Gray wrote:
 My 3-year old gentoo system has decided to be a big headache.  My
 troubles started when I upgraded to kde 3.4.

Upgrading from which version precisely?

What is the full output of 'ls -l ~/.kde*' ?

And of 'grep kde /var/lib/portage/world | sort' ?

And of 'grep kde /etc/env.d/*' ?

 The kde taskbar apps wouldn't start.

Does Konqueror work?  KMail?  KWrite?  Konsole?
The Control Center?  The Menu Editor?  Do most things work?

Looking back at your other emails...  Are you keeping the rest of 
your system up-to-date?  What does 'emerge -Dup world' say (after a 
sync)?  Do you still have an old python-2.2* installed?  What says 
'eix -e python'?  (If you don't have eix installed, first do 
'emerge eix; update-eix'.)  What says 'emerge -p --depclean'?  Does 
revdep-rebuild now run without problems?

(And please don't tell us to trust you, we're just asking questions, 
as you're not being very specific.)

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



Re: [gentoo-user] help

2005-10-06 Thread Michael Crute
On 10/5/05, Wes Gray [EMAIL PROTECTED] wrote:
# emerge -p kde-metaThese are the packages that I would merge, in order:Calculating dependencies ...done![ebuild R ] kde-base/kde-meta-3.4.1I tried emerging kde-meta.I then tried unmerging all the blockers it
created and then emerging back kde, to get rid of kde-meta.When thatdidn't help I reversed the process and reemerged kde-meta, which iswhere I am now.I've rebuilt all of kde a couple of times now withthe situation getting worse, not better.
Try `emerge -eDav kde-meta` to rebuild all of KDEs dependencies.

-Mike-- Michael E. CruteSoftware DeveloperSoftGroup Development CorporationLinux, because reboots are for installing hardware.In a world without walls and fences, who needs windows and gates?


[gentoo-user] portage bugs?

2005-10-06 Thread Erwin Lang

hi!

During installation of a new system I recognised two things:

1)  `emerge -e system' aborted two times.

* The first time the command autoconf was missing so I manually installed the package autoconf.
* The second time the command aclocal was missing so I manually installed the package automake (which contains aclocal)

I tried `emerge -ep system' an the two packages (autoconf and automake) are mentioned in the list of packages which portage will install. But it seems that portage installs them to late.


2) after `emerge -e system' I tried to install the following packages:
  `emerge -va reiserfsprogs lvm2 syslog-ng vixie-cron postfix'

vixie-cron needs an mta and tries to install ssmtp - which conflicts with postfix. portage didn't recognised that I mentioned an mta on command line.

I worked around by mentioning postfix before vixie-cron on command line:
  `emerge -va reiserfsprogs lvm2 syslo-ng postfix vixie-cron'

Then portage recognised postfix and didn't try to install another mta.

Shouldn't portage be smart enough to solve this by itself?

greetings
erwin


[gentoo-user] vanilla-source-2.6.12.5 Xeon EM64T + SMP

2005-10-06 Thread Chris Ong

Hi Friends,
I am having a machine with 2 x Xeon 2.8Ghz w/HT/EM64T.

	I am using the minimal-amd64 iso to boot up and install the machine and 
it's a sucess.


But there's a doubt here..

	During the installation stage, the kernel provided with the Minimal CD 
will actually tell 4 CPU. Correct as Real CPU + HT CPU. But when I 
booted the machine with my own kernel. It shows only 2. Here's the 
extraction of config.gz


# Processor type and features
#
# CONFIG_MK8 is not set
CONFIG_MPSC=y
# CONFIG_GENERIC_CPU is not set
CONFIG_X86_L1_CACHE_BYTES=128
CONFIG_X86_L1_CACHE_SHIFT=7
CONFIG_X86_TSC=y
CONFIG_X86_GOOD_APIC=y
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set
CONFIG_X86_HT=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_MTRR=y
CONFIG_SMP=y
CONFIG_PREEMPT=y
CONFIG_PREEMPT_BKL=y
CONFIG_SCHED_SMT=y
# CONFIG_K8_NUMA is not set
# CONFIG_NUMA_EMU is not set
# CONFIG_NUMA is not set
CONFIG_HAVE_DEC_LOCK=y
CONFIG_NR_CPUS=4
CONFIG_HPET_TIMER=y
# CONFIG_HPET_EMULATE_RTC is not set
# CONFIG_GART_IOMMU is not set
CONFIG_DUMMY_IOMMU=y
CONFIG_X86_MCE=y
CONFIG_X86_MCE_INTEL=y
CONFIG_SECCOMP=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_ISA_DMA_API=y

	I have the same problem before when I try to compile kernel-2.6.12.5 in 
FC4 with a P4 3.0 w/HT. I also lost the virtual CPU.


Did the kernel-2.6.12.5 treat HT CPU differently ?

	I hope I can find the answer in the kernel changelog. But it's quite 
impossible for me right now. Any ideas ?


---
Regards,
C. K. Ong (Chris)
Linux System Engineer
RHCT Cert No: 603004347692007
http://www.redhat.com/rhce/rhce603004347692007.html

My Directory Sdn. Bhd.
Your Open Source Partner.
http://www.md.com.my http://www.net.my
2005

--
If you want to fill in Coke to a cup with with water, you will first
eed to pour out the water.
Same for learning Linux, you will need to forget about Windows before
you learn Linux.
--


*
**POWERED BY BYNARI INSIGHT SERVER* *
*  The Enterprise Email Server That Rocks!  *
*

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gcc-config error / fix_libtool_files trouble

2005-10-06 Thread Christian Fischer
Am Thursday 06 October 2005 11:35 schrieb Frank Schafer:
 If your Python was built with i386-pc-linux-gnu-gcc, try re-emerging
 Python.
 Python has the compiler it was built with hard coded as the compiler to
 use.

Well, that works, thanks for this hint.

Christian
--


pgpbgjb0OLEsz.pgp
Description: PGP signature


[gentoo-user] Contributing to Portage

2005-10-06 Thread John Lange

I frequently need things installed from portage but the most recent
version is not available. (digikam is a recent example).

I'd be happy to grab the most recent stable source and make it work in
Gentoo Portage and contribute it...

Is there a How-To for this?

My apologies, I know this must be someplace but for the life of me I
can't find it.

-- 
John Lange


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Unable to calculate Linux Kernel version [New Thread]

2005-10-06 Thread Rumen Yotov
On Thu, 6 Oct 2005 21:04:54 +1300
Bogo Mipps [EMAIL PROTECTED] wrote:

 On Thu, 06 Oct 2005 20:42, Glenn Enright wrote:
  On Thu, 06 Oct 2005 06:42, Glenn Enright wrote:
   Try this...
  
 ls -l /usr/src/linux
 uname -r
  
   these should give you the same version.
 
 
 rugosa / # ls -l /usr/src/linux
 lrwxrwxrwx  1 root root 23 Oct  3 14:22 /usr/src/linux - 
 linux-2.6.12-gentoo-r10
 
 rugosa / # uname -r
 2.6.12-gentoo-r10
 rugosa / #
 
 This looks ok?  Yes?
 
 So where to from there?  No point in the If not?
 
 TIA
 
 Bogo   
 
 
Hi,
Just two suggestions: 1.re-emerge the kernel-source  try again or
2.try newer/older version of svgalib. Check the USE-flags  deps.
PS: assume you checked/run revdep-rebuild before and searched Bugzilla.
HTH.Rumen


pgpLcHzi3rVVX.pgp
Description: PGP signature


Re: [gentoo-user] portage question

2005-10-06 Thread Eric Crossman
Thanks Holly. I understand it better now.

On Wed, 2005-10-05 at 16:50 +0200, Holly Bostick wrote:
 Eric Crossman schreef:
  Ok, I'll be the first to admit that I don't know much about using 
  portage beyond the most basic minimal commands. This seems to fall 
  under the used to work category.
  
  In the past, I've used a emerge system and emerge world to update
   to newer versions of installed software. Usually also with a 
  --pretend to see beforehand what it's going to do.
  
  Now if I run emerge --pretend system or emerge --pretend world it
   comes up with no updates to install. If I add an --update to the 
  command, it finds the updates correctly.
  
  Is this a syntax change or just a matter of a deprecated 
  command/default behavior?
  
  Eric
  
  
 
 From man emerge:
 
 
--update (-u)
   Updates  packages  to  the best version available, which
 may not
   always be the highest version number due to masking for
 testing
   and  development.   This  will  also  update direct
 dependencies
   which may not be what you want.  In  general,  use  this
 option
   only in combination with the world or system target.
 
 
 You have not said what the actual packages are that come up with an -u
 but not without, but from this info, I would assume that they are direct
 dependencies of packages in your world file, and that the packages in
 your world file themselves are up-to-date.
 
 Dependencies are not listed in your world file, so they would not be
 updated with an emerge world. And indirect dependencies (dependencies of
 the direct dependencies of the packages in your world file) won't be
 updated with an emerge -u world, but only an emerge -uD (--deep) world
 (because the deep dependencies of the package in your world file are not
 direct dependencies of the package, so -u doesn't get them either)
 
 For example, let's take the case of Totem, which is in my world file:
 
  emerge -pv totem
 
 
 cfg-update 1.7.1 : Building checksum index... (takes a few seconds)  done!
 
 
 
 These are the packages that I would merge, in order:
 
 Calculating dependencies ...done!
 [ebuild   R   ] media-video/totem-1.0.4  +a52 -debug +dvd +flac +gnome
 -lirc +mad +mpeg +ogg -theora +vorbis +win32codecs +xine +xv 0 kB
 
 The direct dependencies of Totem are as follows (from
 http://www.gentoo-portage.com ):
 
 (Piped to prevent quoting)
 
 totem-1.0.4
 |  = dev-libs/glib - 2.6.3 = gnome-base/gnome-desktop - 2.2 =
 |  gnome-base/gnome-vfs - 2.2 = gnome-base/libglade - 2 =
 |  gnome-base/libgnomeui - 2.4
 | ! gnome-base/nautilus - media
 |  = gnome-extra/nautilus-cd-burner - 2.9 =
 |  media-plugins/gst-plugins-ffmpeg - 0.8.3 =
 |  media-plugins/gst-plugins-gnomevfs - 0.8.8 =
 |  media-plugins/gst-plugins-mpeg2dec - 0.8.8 =
 |  media-plugins/gst-plugins-pango - 0.8.8 = x11-libs/gtk+ - 2.6
 | !xine = media-libs/gstreamer - 0.8.9-r3
 | a52 = media-plugins/gst-plugins-a52dec - 0.8.8
 | dvd = media-plugins/gst-plugins-a52dec - 0.8.8
 | flac = media-plugins/gst-plugins-flac - 0.8.8
 | gnome = gnome-base/nautilus - 2.10
 | lirc  app-misc/lirc
 | mad = media-plugins/gst-plugins-mad - 0.8.8
 | mad = media-plugins/gst-plugins-mad - 0.8.8
 | mpeg = media-plugins/gst-plugins-mpeg2dec - 0.8.8
 | ogg = media-plugins/gst-plugins-ogg - 0.8.8
 | theora = media-plugins/gst-plugins-ogg - 0.8.8
 | vorbis = media-plugins/gst-plugins-ogg - 0.8.8
 | win32codecs = media-plugins/gst-plugins-pitfdll - 0.8.1
 | xine = media-libs/xine-lib - 1
 | xv = media-plugins/gst-plugins-xvideo - 0.8.8
 
 
 Taking one of the direct dependencies at random, nautilus-cd-burner
 itself has the following dependencies:
 
 | nautilus-cd-burner-2.10.2
 |  = dev-libs/glib - 2.4 = gnome-base/eel - 2 = gnome-base/gconf - 2 =
 |  gnome-base/gnome-vfs - 2.1.3.1 = gnome-base/libglade - 2 =
 |  gnome-base/libgnome - 2 = gnome-base/nautilus - 2.5.5 = x11-libs/gtk+
 |   - 2.5.4
 | hal = sys-apps/hal - 0.4*
 | cdr  virtual/cdrtools
 | dvdr  app-cdr/dvd+rwtools
 
 So when I installed Totem, assuming that I had no GNOME subsystem
 installed, so none of these programs were direct dependencies of some
 other aspect of GNOME), nautilus-cd-burner would have been installed as
 a dependency of Totem, but eel would have been installed prior to that as a
 dependency of nautilus-cd-burner. Eel is therefore a deep dependency of
 Totem and a direct dependency of nautilus-cd-burner, which is itself a
 direct dependency of Totem, which is the only package that would have
 been added to my world file as a result of the 'emerge totem' operation.
 
 So if I emerge world, only Totem will be updated if an update is available.
 
 If I emerge -u world, only nautilus-cd-burner will be updated if an
 update is available (irrespective of whether or not an update is
 

Re: [gentoo-user] vanilla-source-2.6.12.5 Xeon EM64T + SMP

2005-10-06 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Ong wrote:

 Hi Friends,
 I am having a machine with 2 x Xeon 2.8Ghz w/HT/EM64T.

 I am using the minimal-amd64 iso to boot up and install the
 machine and it's a sucess.

 But there's a doubt here..

 During the installation stage, the kernel provided with the
 Minimal CD will actually tell 4 CPU. Correct as Real CPU + HT CPU.
 But when I booted the machine with my own kernel. It shows only 2.
 Here's the extraction of config.gz

 # Processor type and features
 #
 # CONFIG_MK8 is not set
 CONFIG_MPSC=y
 # CONFIG_GENERIC_CPU is not set
 CONFIG_X86_L1_CACHE_BYTES=128
 CONFIG_X86_L1_CACHE_SHIFT=7
 CONFIG_X86_TSC=y
 CONFIG_X86_GOOD_APIC=y
 # CONFIG_MICROCODE is not set
 # CONFIG_X86_MSR is not set
 # CONFIG_X86_CPUID is not set
 CONFIG_X86_HT=y
 CONFIG_X86_IO_APIC=y
 CONFIG_X86_LOCAL_APIC=y
 CONFIG_MTRR=y
 CONFIG_SMP=y
 CONFIG_PREEMPT=y
 CONFIG_PREEMPT_BKL=y
 CONFIG_SCHED_SMT=y
 # CONFIG_K8_NUMA is not set
 # CONFIG_NUMA_EMU is not set
 # CONFIG_NUMA is not set
 CONFIG_HAVE_DEC_LOCK=y
 CONFIG_NR_CPUS=4
 CONFIG_HPET_TIMER=y
 # CONFIG_HPET_EMULATE_RTC is not set
 # CONFIG_GART_IOMMU is not set
 CONFIG_DUMMY_IOMMU=y
 CONFIG_X86_MCE=y
 CONFIG_X86_MCE_INTEL=y
 CONFIG_SECCOMP=y
 CONFIG_GENERIC_HARDIRQS=y
 CONFIG_GENERIC_IRQ_PROBE=y
 CONFIG_ISA_DMA_API=y

 I have the same problem before when I try to compile
 kernel-2.6.12.5 in FC4 with a P4 3.0 w/HT. I also lost the virtual CPU.

 Did the kernel-2.6.12.5 treat HT CPU differently ?

 I hope I can find the answer in the kernel changelog. But it's
 quite impossible for me right now. Any ideas ?

 ---
 Regards,
 C. K. Ong (Chris)
 Linux System Engineer
 RHCT Cert No: 603004347692007
 http://www.redhat.com/rhce/rhce603004347692007.html

 My Directory Sdn. Bhd.
 Your Open Source Partner.
 http://www.md.com.my http://www.net.my
 2005

I'm running a P4 3.0GHz w/ HT and it works fine for me.  Here's what
is in my config, that's not in yours:

CONFIG_X86_PC=y
CONFIG_MPENTIUM4=y
CONFIG_X86_GENERIC=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_HPET_EMULATE_RTC=y
CONFIG_NR_CPUS=8
CONFIG_X86_MCE_NONFATAL=y
CONFIG_X86_MCE_P4THERMAL=y
CONFIG_MICROCODE=m
CONFIG_X86_MSR=m
CONFIG_X86_CPUID=m

None of that seems like it would would make a difference, except
perhaps the processor identification.  If you don't tell the kernel
what type of processor it's using (i.e. by just leaving it generic) it
won't know to enable hyperthreading.

HTH

- --
gentux
echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDRVAWLYGSSmmWCZMRAkMNAJ4kqHMKAV5CToOOlrtelwauf96uNwCeJ8jO
WyGGXrJh9iI+U8+1MKz3Na8=
=OLZ/
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] help

2005-10-06 Thread Wes Gray
On Thu, Oct 06, 2005 at 12:57:09PM +0200, Benno Schulenberg wrote:

Here is the rest of the requested info:

 What does 'emerge -Dup world' say (after a  sync)?

# emerge -Dup world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[blocks B ] media-libs/giflib (is blocking media-libs/libungif-4.1.3)
[blocks B ] media-libs/libquicktime (is blocking media-libs/openquicktime-1.
0-r1)
[ebuild U ] sys-apps/texinfo-4.8-r1 [4.8]
[ebuild U ] sys-devel/binutils-config-1.8-r5 [1.8-r3]
[ebuild U ] sys-libs/glibc-2.3.5-r2 [2.3.5-r1]
[ebuild U ] sys-apps/shadow-4.0.7-r4 [4.0.7-r3]
[ebuild U ] sys-apps/util-linux-2.12r [2.12q-r3]
[ebuild U ] sys-apps/utempter-0.5.5.6 [0.5.5.5-r1]
[ebuild U ] x11-terms/xterm-204 [196]
[ebuild U ] dev-libs/libIDL-0.8.6 [0.8.5]
[ebuild U ] gnome-base/orbit-2.12.3 [2.12.2]
[ebuild U ] gnome-base/libbonobo-2.10.1 [2.10.0]
[ebuild U ] media-sound/esound-0.2.36-r1 [0.2.34]
[ebuild U ] gnome-base/gnome-vfs-2.10.1-r2 [2.10.1-r1]
[ebuild U ] gnome-base/libbonoboui-2.10.1 [2.10.0]
[ebuild U ] x11-themes/gtk-engines-2.6.5 [2.6.4-r2]
[ebuild U ] app-text/gtkspell-2.0.11 [2.0.4-r1]
[ebuild  N] media-libs/giflib-4.1.3
[ebuild U ] app-text/docbook-sgml-dtd-4.1-r3 [4.1-r1]
[ebuild U ] app-text/docbook-sgml-dtd-4.0-r3 [4.0-r1]
[ebuild U ] app-text/docbook-sgml-dtd-3.0-r3 [3.0-r1]
[ebuild U ] app-text/docbook-sgml-dtd-3.1-r3 [3.1-r1]
[ebuild U ] app-text/docbook-xml-simple-dtd-4.1.2.4-r2 [4.1.2.4]
[ebuild  NS   ] app-text/docbook-xml-simple-dtd-1.0-r1
[ebuild U ] media-libs/a52dec-0.7.4-r5 [0.7.4-r4]
[ebuild U ] www-client/links-2.1_pre18 [2.1_pre17-r1]
[ebuild  NS   ] app-text/docbook-xml-dtd-4.4
[ebuild U ] app-text/docbook-sgml-utils-0.6.14 [0.6.11-r2]
[ebuild U ] app-text/docbook-xml-dtd-4.1.2-r5 [4.1.2-r4]
[ebuild U ] dev-perl/Compress-Zlib-1.35 [1.33]
[ebuild U ] perl-core/digest-base-1.10 [1.05]
[ebuild U ] dev-perl/Digest-SHA1-2.10 [2.07]
[ebuild U ] dev-perl/Net-DNS-0.49 [0.48]
[ebuild U ] perl-core/DB_File-1.811-r1 [1.811]
[ebuild U ] app-text/enscript-1.6.3-r3 [1.6.3-r1]
[ebuild  NS   ] sys-apps/i2c-2.9.1
[ebuild  NS   ] sys-apps/lm_sensors-2.9.1-r1
[ebuild U ] gnome-extra/gcalctool-5.5.42-r2 [5.5.42-r1]
[ebuild U ] sys-libs/db-1.85-r2 [1.85-r1]
[ebuild U ] gnome-base/gnome-print-0.37 [0.35-r3]
[ebuild U ] kde-base/kdebase-pam-6 [4]
[ebuild U ] gnome-base/gconf-1.0.9 [1.0.8-r3]
[ebuild  N] gnome-base/gnome-common-2.8.0
[ebuild U ] gnome-base/gnome-vfs-1.0.5-r4 [1.0.5-r2]
[ebuild U ] gnome-extra/guppi-0.40.3-r2 [0.40.3-r1]
[ebuild U ] dev-lang/swig-1.3.21 [1.3.10-r2]
[ebuild U ] dev-libs/g-wrap-1.3.4-r1 [1.3.4]
[ebuild U ] app-arch/sharutils-4.2.1-r11 [4.2.1-r10]
[ebuild U ] sci-libs/fftw-3.0.1-r2 [3.0.1]
[ebuild U ] x11-libs/gtkglext-1.0.6-r2 [1.0.5]
[ebuild U ] dev-perl/libintl-perl-1.11 [1.10]
[ebuild U ] media-libs/freetype-1.3.1-r4 [1.3.1-r3]
[ebuild  N] games-util/loki_setupdb-20050109
[ebuild  N] dev-util/xdelta-1.1.3
[ebuild  N] games-util/loki_patch-20050324
[ebuild  NS   ] x11-libs/wxGTK-2.6.1
[ebuild U ] games-emulation/xmame-0.100 [0.97]
[ebuild U ] gnome-base/gdm-2.8.0.3 [2.8.0.1-r1]
[ebuild U ] media-gfx/xv-3.10a-r11 [3.10a-r3]
[ebuild U ] net-im/centericq-4.21.0 [4.20.0-r3]
[ebuild U ] sys-libs/db-3.2.9-r10 [3.2.9-r7]
[ebuild U ] x11-themes/gnome-backgrounds-2.10.2 [2.10.1]
[ebuild U ] gnome-base/gnome-2.10.2 [2.10-r1]
[ebuild U ] dev-perl/Filter-1.30 [1.29]
[ebuild U ] app-emulation/wine-20050725-r1 [20050524]
#

Oddly I tried unmerging giflib and it unmerged ok, but I still get the blocker.

 What says 'eix -e python'?

# eix -e python 
* dev-lang/python 
 Available versions:  2.1.3-r1 2.2.3-r6 2.3.4-r1 2.3.5 ~2.3.5-r1 2.3.5-r2 ~
2.4-r3 ~2.4.1 ~2.4.1-r1 ~2.4.2
 Installed:   2.2.3-r6 2.3.5-r2
 Homepage:http://www.python.org/
 Description: Python is an interpreted, interactive, object-orienta
ted programming language.


Found 1 matches
# 

 Does revdep-rebuild now run without problems?

yes, just reran it.

 What says 'emerge -p --depclean'?

# emerge -p --depclean

*** WARNING *** : DEPCLEAN CAN  SERIOUSLY  IMPAIR YOUR SYSTEM. USE CAUTION.
*** WARNING *** : (Cancel: CONTROL-C) -- ALWAYS VERIFY ALL PACKAGES IN THE
*** WARNING *** : CANDIDATE LIST FOR  SANITY  BEFORE  ALLOWING DEPCLEAN TO
*** WARNING *** : UNMERGE ANY PACKAGES.
*** WARNING *** :
*** WARNING *** : USE FLAGS MAY HAVE AN EXTREME EFFECT ON THE OUTPUT.
*** WARNING *** : SOME LIBRARIES MAY BE USED BY PACKAGES BUT ARE NOT
*** WARNING *** : CONSIDERED TO BE A DEPEND DUE TO USE FLAG SETTINGS.
*** WARNING *** : emerge --update --deep --newuse world TO VERIFY
*** WARNING *** : SANITY IN THIS REGARD.
*** WARNING *** :
*** WARNING *** : Packages  in the list  that are  desired  may be added
*** WARNING 

Re: [gentoo-user] Contributing to Portage

2005-10-06 Thread brettholcomb
Check out the doc pages on Gentoo about creating ebuilds.  You can use existing 
ones as models.

 
 From: John Lange [EMAIL PROTECTED]
 Date: 2005/10/06 Thu AM 11:15:32 EDT
 To: Gentoo User gentoo-user@lists.gentoo.org
 Subject: [gentoo-user] Contributing to Portage
 
 
 I frequently need things installed from portage but the most recent
 version is not available. (digikam is a recent example).
 
 I'd be happy to grab the most recent stable source and make it work in
 Gentoo Portage and contribute it...
 
 Is there a How-To for this?
 
 My apologies, I know this must be someplace but for the life of me I
 can't find it.
 
 -- 
 John Lange
 
 
 -- 
 gentoo-user@gentoo.org mailing list
 
 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] is harddrive kaput?

2005-10-06 Thread maxim wexler
Hello everbody,

I was surfing the web when firefox suddenly closed and
attempts at re-opening it failed with strange errors
since forgotten. I decided to bail out of X and
restart it; that failed with an I/O error on /dev/hdb4
where / resides. Couldn't do a shutdown; had to reset
the box. Now I get a kernel panic - Cannot open root
device hdb4. 

Booted from install CD and ran dmesg:

hdb: dma_intr: error 0x84 {DriveStatusError Bad CRC}
 dma_intr: status 0x51 {DriveReady SeekComplete 
error}  

a bunch of these ending with

ldm_validate_partition_table(): disk read failed.

fdisk displays the partitions all right but attempts
to mount /dev/hdb4 came up with, special device
/dev/hdb4 does not exist.

e2fsck: no such file, bad superblock
tune2fs: couldn't find valid fs superblock

Is my hard-drive toast? This is the same one you may
recall I had so much trouble with a few months back.
Will it be possible to fix? Or at least make readable?

-mw





__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] is harddrive kaput?

2005-10-06 Thread Yoandy Rodriguez
may your hard disk rest in peace
On Thu, 2005-10-06 at 10:02 -0700, maxim wexler wrote:
 Hello everbody,
 
 I was surfing the web when firefox suddenly closed and
 attempts at re-opening it failed with strange errors
 since forgotten. I decided to bail out of X and
 restart it; that failed with an I/O error on /dev/hdb4
 where / resides. Couldn't do a shutdown; had to reset
 the box. Now I get a kernel panic - Cannot open root
 device hdb4. 
 
 Booted from install CD and ran dmesg:
 
 hdb: dma_intr: error 0x84 {DriveStatusError Bad CRC}
  dma_intr: status 0x51 {DriveReady SeekComplete 
 error}  
 
 a bunch of these ending with
 
 ldm_validate_partition_table(): disk read failed.
 
 fdisk displays the partitions all right but attempts
 to mount /dev/hdb4 came up with, special device
 /dev/hdb4 does not exist.
 
 e2fsck: no such file, bad superblock
 tune2fs: couldn't find valid fs superblock
 
 Is my hard-drive toast? This is the same one you may
 recall I had so much trouble with a few months back.
 Will it be possible to fix? Or at least make readable?
 
 -mw
 
 
 
 
   
 __ 
 Yahoo! Mail - PC Magazine Editors' Choice 2005 
 http://mail.yahoo.com
-- 
Nothing's gonna change my world




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


Re: [gentoo-user] Contributing to Portage

2005-10-06 Thread John Lange
The Gentoo documentation on ebuilds is after-the-fact.

Contributing Ebuilds: This guide explains how to submit ebuild packages
through the Bugzilla tracking system.

I did finally find it. Its apparently not in the gentoo documentation
but there is a Wiki.

Once I figured out the appropriate search term is ebuild I was able to
turn up some decent google results.

For the sake of anyone else looking:

http://gentoo-wiki.com/HOWTO_Create_an_Updated_Ebuild

Thanks,
-- 
John Lange


On Thu, 2005-10-06 at 13:00 -0400, [EMAIL PROTECTED] wrote:
 Check out the doc pages on Gentoo about creating ebuilds.  You can use 
 existing ones as models.
 
  
  From: John Lange [EMAIL PROTECTED]
  Date: 2005/10/06 Thu AM 11:15:32 EDT
  To: Gentoo User gentoo-user@lists.gentoo.org
  Subject: [gentoo-user] Contributing to Portage
  
  
  I frequently need things installed from portage but the most recent
  version is not available. (digikam is a recent example).
  
  I'd be happy to grab the most recent stable source and make it work in
  Gentoo Portage and contribute it...
  
  Is there a How-To for this?
  
  My apologies, I know this must be someplace but for the life of me I
  can't find it.
  
  -- 
  John Lange
  
  
  -- 
  gentoo-user@gentoo.org mailing list
  
  
 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] bad jack(?) performance

2005-10-06 Thread Mark Knecht
On 9/20/05, Matt Garman [EMAIL PROTECTED] wrote:

 I installed jack (jack-audio-connection-kit), and configured it, as
 far as I can tell, correctly.  At least I can get multiple audio
 streams multiplexed together.

 However, the performance leaves something to be desired: it is
 *extremely* prone to skipping, if my system is under any kind of
 load.  For example, doing an emerge search package will usually
 cause my XMMS playback to skip.  *Moving a window* will almost
 always cause a skip---not just skip, but freeze for the whole time
 the window is being moved.  Even worse, whenever the screensaver
 comes on, the player skips.  And while the screensaver is active,
 the music playback will regularly skip every couple seconds.  The
 kicker?  My screensaver is just a blank screen!

 I'd like to think that my system is powerful enough to do normal
 desktop use without skipping: Athlon XP 2500, 1 GB RAM.

 Any thoughts as to why the jack performance is so shoddy?

 Thanks!
 Matt

 --
 Matt Garman
 email at: http://raw-sewage.net/index.php?file=email
 --
 gentoo-user@gentoo.org mailing list



Matt,
   I'm very sorry but I somehow never saw this thread. Please accept
my apologies.

   Did you get this working better?

   Anyway, I'd say that your machine is certainly fast enough to do
good audio work, barring some specific chipset or driver issue which
most likely won't be the case. In my experience there are usually just
a few things required to get this working.

1) First, let's determine whether you need a new kernel. su to root
and run Jack and some simple Jack apps. I'd recommend alsaplayer since
it's simple, small and very stable:

(Note - this is best done through QJackCtl, but you can do it at the
command line if you want.) Choose latency numbers that make sense for
your card and your needs. I run at 128/2:

jackd -R -dalsa -r44100 -dhw -p128 -n2

Then with Jack running run alsaplayer

alsaplayer -o jack

Tell alsaplayer to play a wave file or play a CD for a better, longer
test. Any skipping?

If you have skipping at this point then you most likely need a
real-time kernel. My 32-bit machines do not. They run fine with
gentoo-sources, but my amd64 doesn't run well and needed a new
realtime kernel to work right.

2) Assuming that your tests as root go well, then emerge realtime-lsm.
This may require a new kernel if you don't have the right Linux
Securities stuff enabled:

[ ] Enable access key retention support
   [*] Enable different security models
   [ ]   Socket and Networking Security Hooks
  M   Default Linux Capabilities
  Root Plug Support
  BSD Secure Levels
   [ ]   NSA SELinux Support

Reboot into your new kernel if necessary, emerge realtime-lsm at this point.

3) Create a group for realtime access. Here's mine:

lightning linux # cat /etc/group | grep realtime
realtime:x:600:mark
lightning linux #

4) Modprobe realtime at the command line:

modprobe realtime gid=600 any=1

5) Assuming this all goes well, redo your tests with alsaplayer and
make sure it's working as a user.

   Enabling realtime operation thorugh realtime-lsm is CRITICAL to
making this work well over time. For instance this morning I'm
rebuilding glibc as part of an emerge sync / emerge world operation.
At the same time I'm doing email on the web as well as playing music
with Aqualung on my AMD64 machine. Jack is running at 128/2 and I can
go for hours without any xruns. True, we are still working bugs out of
the newest kernel (2.6.14-rc3-rt10 as of this morning) but things are
starting to work pretty well even on AMD64. My gentoo-sources 32-bit
machines can go for days with out an xrun. (Granted, very good RME
sound cards that cost as much as the machine are being used)

   Hope this helps. Write back if you want or need more info.

Cheers,
Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Latex spacing problem

2005-10-06 Thread John Green
Joseph wrote:

Is there any Tetex/Latex guru on the list?

I'm trying to modify the formation line in purchase_order.tex form.
I think this line is responsible how the entry items are formated:

[EMAIL PROTECTED]@{\extracolsep
[EMAIL PROTECTED]

However, the line above if the part number is long the description is
not wrap up to the next line.  Just the next columns are keep scrolling
to the right.
So,  text Amount Total scrolls of the page.

I've tried to copy the formating string from invoice.tex form (that
correctly wraps up the description column):
[EMAIL PROTECTED]@{}}

but it doesn't work correctly.
Anybody knows what to change so when the part number is long, the
description section would wrap up to the next line.

  

I suggest you ask on the usenet group comp.text.tex.  The group is active.

John Green
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] portage bugs?

2005-10-06 Thread Bob Young








FWIW, while
bringinging up a new dual AMD64 box last night, I got the exact same abort on autoconf
during an emerge system. I solved it the same way, by manualy emerging autoconf
and restarting the emerge with the newuse flag. I didnt run into the aclocal
problem, instead the emerge of samba caused a second abort for me. That
appeared to be a genuine compile error, so I removed the samba use flag and
continued the emerge system which completed without further error.



On a side
note, bringing this box up has been very frustrating. By default the kernel on
the install CD enables both CPUs, I spent a week starting and restarting the
install from various points. The problem was that the compiles would just stop
in the middle of compiling some random package. No error message, no indicated
system malfunction of any kind, the compiler just stopped doing anything. It
appeared to be just the compiler that was hung, as a ctrl-c would return me to
the command prompt. Forcing nosmp and noapic on the boot command line of
the install CD resolved that hang. Unfortunately that was after trying a *lot* of other things and command line
options.



Regards,

Bob Young





-Original
Message-
From: Erwin Lang
[mailto:[EMAIL PROTECTED]
Sent: Thursday, October 06, 2005
6:16 AM
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] portage
bugs?



hi!

During
installation of a new system I recognised two things:

1)
`emerge -e system' aborted two times.

* The
first time the command autoconf was missing so I manually installed the package
autoconf.

* The
second time the command aclocal was missing so I manually installed the package
automake (which contains aclocal)

I tried
`emerge -ep system' an the two packages (autoconf and automake) are mentioned
in the list of packages which portage will install. But it seems that portage
installs them to late.

2) after
`emerge -e system' I tried to install the following packages:

`emerge
-va reiserfsprogs lvm2 syslog-ng vixie-cron postfix'

vixie-cron
needs an mta and tries to install ssmtp - which conflicts with postfix. portage
didn't recognised that I mentioned an mta on command line.

I worked
around by mentioning postfix before vixie-cron on command line:

`emerge
-va reiserfsprogs lvm2 syslo-ng postfix vixie-cron'

Then
portage recognised postfix and didn't try to install another mta.

Shouldn't
portage be smart enough to solve this by itself?

greetings

erwin








Re: [gentoo-user] Contributing to Portage

2005-10-06 Thread Neil Bothwick
On Thu, 06 Oct 2005 10:15:32 -0500, John Lange wrote:

 I frequently need things installed from portage but the most recent
 version is not available. (digikam is a recent example).

The latest Digikam, 0.8.0_beta2. is already in portage, you just need to
unmask it.


-- 
Neil Bothwick

I have a mind like a steel...uh...thingamajig...


pgpFjkPdEZcQB.pgp
Description: PGP signature


[gentoo-user] Re: Personal Gentoo mirror

2005-10-06 Thread James
William Kenworthy billk at iinet.net.au writes:


 I'll also jump on board this - http-replicator works great.  You build
 it from your existing distfile cache.  You do not need the large mirror
 files as many, or rather most are unlikely ever to be accessed.  Build
 it with what you already have, and just top it up as you go - if the
 file isnt already in your cache, its added when you download it.

  http://gentoo-wiki.com/HOWTO_Download_Cache_for_LAN-Http-Replicator

What mechanisms can you employ to either limit the size of the stored files
or prune out the oldest files or the files that are completely obsolete
as new sources files exist in the distfile cache?

Is the distfile cache the same this as the CCACHE cache in the 
make.conf file? If so then, CCACHE_SIZE=3G could be used to 
limit the cache size to 3 gigs, but, what mechanisms, short of 
a script can be used to prune out old duplicate sources?

I guess the download cache is the complemetary companion to setting
 up your own rsync mirror, as both allow for multiple systems to be 
updated and synced off of an internal system and only one system 
syncs or downloads new ebuilds/distfiles)?

I set this up both before, but I recall having to use aspects of 
several documents. In the end, I abandoned syncing off of a single 
system, as syncing update were sporadically successful, and the 
scripts and cron entries were not amicable.  I meant to get back to 
this problem to sort it all out.

It'd be much simpler if a single document explained all the methods 
and options and scripts, in a clear, consise manner to use a single 
system for syncing,cache-ing, updateding, and pruning of disk space.

tmpwatch, distcleaner, distclean, yacleaner, repcacheman, dailysync.sh
just to mention a few script possibilities .

and the 4 basic URLs I looked at to try and sort things out:
http://www.gentoo.org/doc/en/rsync.xml?style=printable
http://gentoo-wiki.com/HOWTO_Local_Rsync_Mirror.
http://gentoo-wiki.com/Http_proxy
http://gentoo-wiki.com/HOWTO_Download_Cache_for_LAN-Http-Replicator

USE this URL to automate the updating of Gentoo workstations:
http://www.panhorst.com/glcu/
was yet another approach.


Any comments or suggestions as to the development of a single,
concise document, would be appreciated. 

James



-- 
gentoo-user@gentoo.org mailing list



Re: Re: [gentoo-user] Contributing to Portage

2005-10-06 Thread brettholcomb
That's good to know.  It's been a while since I looked but there used to be 
some docs on how to actually do an ebuild and what things in it meant.

 
 From: John Lange [EMAIL PROTECTED]
 Date: 2005/10/06 Thu PM 01:11:21 EDT
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Contributing to Portage
 
 The Gentoo documentation on ebuilds is after-the-fact.
 
 Contributing Ebuilds: This guide explains how to submit ebuild packages
 through the Bugzilla tracking system.
 
 I did finally find it. Its apparently not in the gentoo documentation
 but there is a Wiki.
 
 Once I figured out the appropriate search term is ebuild I was able to
 turn up some decent google results.
 
 For the sake of anyone else looking:
 
 http://gentoo-wiki.com/HOWTO_Create_an_Updated_Ebuild
 
 Thanks,
 -- 
 John Lange
 
 
 On Thu, 2005-10-06 at 13:00 -0400, [EMAIL PROTECTED] wrote:
  Check out the doc pages on Gentoo about creating ebuilds.  You can use 
  existing ones as models.
  
   
   From: John Lange [EMAIL PROTECTED]
   Date: 2005/10/06 Thu AM 11:15:32 EDT
   To: Gentoo User gentoo-user@lists.gentoo.org
   Subject: [gentoo-user] Contributing to Portage
   
   
   I frequently need things installed from portage but the most recent
   version is not available. (digikam is a recent example).
   
   I'd be happy to grab the most recent stable source and make it work in
   Gentoo Portage and contribute it...
   
   Is there a How-To for this?
   
   My apologies, I know this must be someplace but for the life of me I
   can't find it.
   
   -- 
   John Lange
   
   
   -- 
   gentoo-user@gentoo.org mailing list
   
   
  
 
 
 -- 
 gentoo-user@gentoo.org mailing list
 
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] help

2005-10-06 Thread Benno Schulenberg
Wes Gray wrote:
 # grep kde /var/lib/portage/world | sort
 kde-base/arts
 kde-base/kde-env
 kde-base/kde-meta
 kde-base/kdebase-meta
 kde-base/kdelibs
 kde-base/konqueror

Hmm, if I'm not mistaken, if you've emerged kde-meta, none of the 
other kde things should be in your world file.  You've probably 
done a few emerges without using the --oneshot option.  When all 
the things below don't help, or have heleped, you may want to 
delete the superfluous lines and do a fresh 'emerge -Du world', 
just to be sure all is okay.

 # grep kde /etc/env.d/*
 /etc/env.d/46kdepaths-3.4:PATH=/usr/kde/3.4/bin
 /etc/env.d/46kdepaths-3.4:ROOTPATH=/usr/kde/3.4/sbin:/usr/kde/3.4
/bin /etc/env.d/46kdepaths-3.4:LDPATH=/usr/kde/3.4/lib
 /etc/env.d/46kdepaths-3.4:CONFIG_PROTECT=/usr/kde/3.4/share/conf
ig /usr/kde/3.4/env /usr/kde/3.4/shutdown

Delete all the other kde files from /etc/env.d/, keeping only the 
3.4 one.  The older ones are not needed any more since you've 
uninstalled those versions, no?  This may solve some of your 
problems by removing that KDEDIR env var.

 I suspect that if I could figure out why konqueror (and other
 apps) seem to still want to point to 3.1 libraries I could get to
 the bottom of my problems.

Maybe because of that KDEDIR var.  When you've deleted the obsolete 
env files, do 'env-update' and restart KDE.

 # emerge -Dup world
 [...]

Okay, your system looks pretty much up-to-date.  But:

 [ebuild U ] kde-base/kdebase-pam-6 [4]

Try updating this one, with 'emerge --oneshot kdebase-pam'.  It may 
solve some access problems, maybe those of kicker.  After emerging, 
log out and back in.

 # eix -e python
[...]
  Installed:   2.2.3-r6 2.3.5-r2

The ancient version is still installed, no harm in it probably, but 
no need for it either.  If you wish, unmerge it with 'emerge -C 
=python-2.2.3-r6', ignoring the warning.

 # emerge -p --depclean
 [...]
 !!! There appears to be a problem with the following package:
 !!! media-libs/libquicktime

Use 'eix -e ...'  to see which of these packages, libquicktime, 
openquicktime, giflib, libungif, you've got installed, uninstall 
each of them with 'emerge -C =...', and later let a fresh 'emerge 
-Du world' install the one's that are really needed.

That's a long list...  So first resolve the blocking issues (if it 
gives you trouble, search bugs.gentoo.org or the forums or the 
archives of this list), then run 'emerge --depclean' in earnest to 
get rid of all the obsoletes, after that do a 'revdep-rebuild', and 
conclude with 'emerge -Du world'.

Perseverance,

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



Re: Re: [gentoo-user] Contributing to Portage

2005-10-06 Thread Steven Mertens
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2chap=1On 10/6/05, 
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
That's
good to know.It's been a while since I looked but there
used to be some docs on how to actually do an ebuild and what things in
it meant. From: John Lange [EMAIL PROTECTED] Date: 2005/10/06 Thu PM 01:11:21 EDT To: 
gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Contributing to Portage The Gentoo documentation on ebuilds is after-the-fact. Contributing Ebuilds: This guide explains how to submit ebuild packages
 through the Bugzilla tracking system. I did finally find it. Its apparently not in the gentoo documentation but there is a Wiki. Once I figured out the appropriate search term is ebuild I was able to
 turn up some decent google results. For the sake of anyone else looking: http://gentoo-wiki.com/HOWTO_Create_an_Updated_Ebuild
 Thanks, -- John Lange On Thu, 2005-10-06 at 13:00 -0400, [EMAIL PROTECTED] wrote:  Check out the doc pages on Gentoo about creating ebuilds.You can use existing ones as models.
  From: John Lange [EMAIL PROTECTED]   Date: 2005/10/06 Thu AM 11:15:32 EDT   To: Gentoo User 
gentoo-user@lists.gentoo.org   Subject: [gentoo-user] Contributing to Portage   I frequently need things installed from portage but the most recent
   version is not available. (digikam is a recent example). I'd be happy to grab the most recent stable source and make it work in   Gentoo Portage and contribute it...
 Is there a How-To for this? My apologies, I know this must be someplace but for the life of me I   can't find it.  
   --   John Lange   --   gentoo-user@gentoo.org mailing list  
-- gentoo-user@gentoo.org mailing list--gentoo-user@gentoo.org
 mailing list


[gentoo-user] init.d script run order

2005-10-06 Thread Antoine

Hi,
I have a server that I have just installed. Everything is just fine 
except that gshield (and hence my NAT) seems to be stopped after boot. 
My understanding was that having the need net would mean that it would 
wait for all the interface cards to come up - is this not the case?
Bizarrely, dmesg makes it look like it is coming up and doing everything 
it needs to but when I log in it is stopped.

Any info or pointers appreciated.
Cheers
Antoine
ps. and yes all my cards and gshield are configured properly and added 
to the default runlevel.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Unable to calculate Linux Kernel version [New Thread]

2005-10-06 Thread Bogo Mipps
On Thu, 06 Oct 2005 22:54, Glenn Enright wrote:
 You still need to make sure the sources are 'bedded in' as it were, so
 perform the stuff described in the second part of my post as well.

Done, and there is an improvement in the error code at least: 

* Determining the location of the kernel source code
 * Found kernel source directory:
 * /usr/src/linux
 * Found kernel object directory:
 * /tmp/kernel
 * Found sources for kernel version:
 * 2.6.12-gentoo-r10

 * getfilevar requires 2 variables, with the second a valid file.
 *getfilevar VARIABLE CONFIGFILE
 * Could not find a usable .config in the kernel source directory.
 * Please ensure that /usr/src/linux points to a configured set of Linux 
sources.
 * If you are using KBUILD_OUTPUT, please set the environment var so that
 * it points to the necessary object directory so that it might find .config.

Why would the .config that's in the directory not be usable?  I just did the 
make oldconfig  make as you suggested - which ran without errors ...

I guess if I could read/understand bash I'd find out from linux-info.eclass 
what it wanted of .config - but that's where I come unstuck.

Bogo   


-- 
Sent via KMail 1.8.1,  o/s Linux-2.6.12-gentoo-r10

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Unable to calculate Linux Kernel version [New Thread]

2005-10-06 Thread Glenn Enright
On Thu, 06 Oct 2005 22:27, Bogo Mipps wrote:
  *getfilevar VARIABLE CONFIGFILE
  * Could not find a usable .config in the kernel source directory.
  * Please ensure that /usr/src/linux points to a configured set of Linux
 sources.
  * If you are using KBUILD_OUTPUT, please set the environment var so that
  * it points to the necessary object directory so that it might find
 .config.

 Why would the .config that's in the directory not be usable?  I just did
 the make oldconfig  make as you suggested - which ran without errors ...

Bah! try
cd /usr/src/linux
make menuconfig
exit out of that and save in the process. Try the emerge again. Stupid 
software ;)
-- 

I suppose you expect me to talk.
Ö  No, Mr. Bond.  I expect you to die.
-- Goldfinger

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] /usr and /home to another partition

2005-10-06 Thread Matthias Langer
I want to move the /usr and /home directories to another partition, 
because I'm thinking of buying a new HD. It would be great if both 
directories were on the same partition, as splitting drives never seemed 
very appealing to me. As far as I know, one possibility would be to 
[with the boot-cd]


# mv /usr /mnt/newHD/
# mv /home /mnt/newHD/
# ln -s /mnt/newHD/usr usr
# ln -s /mnt/newHD/home home

However, I'm not sure if this is the suggested method of doing so and to 
be honest, I'm not completley sure if this would even work.


Any comments or suggestions ?
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /usr and /home to another partition

2005-10-06 Thread W.Kenworthy
If you want to move directories, avoid wholesale symlinking like this as
it always ends in tears ...

Using a liveCD, create your partitions and directories, then copy
everything over (rsync or tar is best to make sure its accurate), change
your fstab then reboot.  When you are happy its working, you can recover
the old directories at leisure.

For the future: I found that since I stated using LVM, this sort of
exercise becomes a lot easier, safer and has less downtime.

BillK


On Fri, 2005-10-07 at 02:49 +0200, Matthias Langer wrote:
 I want to move the /usr and /home directories to another partition, 
 because I'm thinking of buying a new HD. It would be great if both 
 directories were on the same partition, as splitting drives never seemed 
 very appealing to me. As far as I know, one possibility would be to 
 [with the boot-cd]
 
 # mv /usr /mnt/newHD/
 # mv /home /mnt/newHD/
 # ln -s /mnt/newHD/usr usr
 # ln -s /mnt/newHD/home home
 
 However, I'm not sure if this is the suggested method of doing so and to 
 be honest, I'm not completley sure if this would even work.
 
 Any comments or suggestions ?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /usr and /home to another partition

2005-10-06 Thread Joe Menola
On Thursday October 6 2005 7:49 pm, Matthias Langer wrote:
 I want to move the /usr and /home directories to another partition,
 because I'm thinking of buying a new HD. It would be great if both
 directories were on the same partition, as splitting drives never seemed
 very appealing to me. As far as I know, one possibility would be to
 [with the boot-cd]

 # mv /usr /mnt/newHD/
 # mv /home /mnt/newHD/
 # ln -s /mnt/newHD/usr usr
 # ln -s /mnt/newHD/home home

 However, I'm not sure if this is the suggested method of doing so and to
 be honest, I'm not completley sure if this would even work.

 Any comments or suggestions ?

In theory I suppose that would work. Myself, I would copy the contents 
to /mnt/newHD/ then rename the original directories and create the links. The 
renamed directories can be deleted after you've verified positive results. 
And if it all craps out, the originals can simply be renamed back to /usr 
and /home.
You should consider creating separate partitions for these though. At some 
point you may wish to blow out the install but retain your /home. Separate 
partitions makes this much easier. And also opens the possibility of sharing 
your /home with multiple installs.

HTH -jm
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /usr and /home to another partition

2005-10-06 Thread Matthias Langer

Joe Menola wrote:


On Thursday October 6 2005 7:49 pm, Matthias Langer wrote:
 


I want to move the /usr and /home directories to another partition,
because I'm thinking of buying a new HD. It would be great if both
directories were on the same partition, as splitting drives never seemed
very appealing to me. As far as I know, one possibility would be to
[with the boot-cd]

# mv /usr /mnt/newHD/
# mv /home /mnt/newHD/
# ln -s /mnt/newHD/usr usr
# ln -s /mnt/newHD/home home

However, I'm not sure if this is the suggested method of doing so and to
be honest, I'm not completley sure if this would even work.

Any comments or suggestions ?
   



In theory I suppose that would work. Myself, I would copy the contents 
to /mnt/newHD/ then rename the original directories and create the links. The 
renamed directories can be deleted after you've verified positive results. 
And if it all craps out, the originals can simply be renamed back to /usr 
and /home.
You should consider creating separate partitions for these though. At some 
point you may wish to blow out the install but retain your /home. Separate 
partitions makes this much easier. And also opens the possibility of sharing 
your /home with multiple installs.


HTH -jm
 

Well, maybe you are right and creating a /usr and a /home partition is 
the better choice. As I want to buy a 250GB drive, I'm thinking of 20G 
for /usr and 230GB for home, while still 16GB remain for /opt, /root, 
/bin  .
Now another genooist pointed out that  it would be wiser to use rsync or 
tar instead of just

# cp - r /usr /mnt/newHd_part_usr/
So, should I enter
# rsync -r /usr /mnt/newHd_part_usr/
or are there some options I should activate to make sure I get what I want ?

Thanks, Matthias
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /usr and /home to another partition

2005-10-06 Thread Hemmann, Volker Armin
On Friday 07 October 2005 03:52, Matthias Langer wrote:
 Joe Menola wrote:
 On Thursday October 6 2005 7:49 pm, Matthias Langer wrote:
 I want to move the /usr and /home directories to another partition,
 because I'm thinking of buying a new HD. It would be great if both
 directories were on the same partition, as splitting drives never seemed
 very appealing to me. As far as I know, one possibility would be to
 [with the boot-cd]
 
 # mv /usr /mnt/newHD/
 # mv /home /mnt/newHD/
 # ln -s /mnt/newHD/usr usr
 # ln -s /mnt/newHD/home home
 
 However, I'm not sure if this is the suggested method of doing so and to
 be honest, I'm not completley sure if this would even work.
 
 Any comments or suggestions ?
 
 In theory I suppose that would work. Myself, I would copy the contents
 to /mnt/newHD/ then rename the original directories and create the links.
  The renamed directories can be deleted after you've verified positive
  results. And if it all craps out, the originals can simply be renamed
  back to /usr and /home.
 You should consider creating separate partitions for these though. At some
 point you may wish to blow out the install but retain your /home. Separate
 partitions makes this much easier. And also opens the possibility of
  sharing your /home with multiple installs.
 
 HTH -jm

 Well, maybe you are right and creating a /usr and a /home partition is
 the better choice. As I want to buy a 250GB drive, I'm thinking of 20G
 for /usr and 230GB for home, while still 16GB remain for /opt, /root,
 /bin  .
 Now another genooist pointed out that  it would be wiser to use rsync or
 tar instead of just
 # cp - r /usr /mnt/newHd_part_usr/
 So, should I enter
 # rsync -r /usr /mnt/newHd_part_usr/
 or are there some options I should activate to make sure I get what I want
 ?

if you want to use copy, I would prefer cp -a ;)

hm, go to the suse site - they have a step-by-step example to move whole 
directory-trees from one partition to another.. or had it some yoears ago.
They used tar, for some reasons they mentioned and I forgot ;)
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] two questions about gdm

2005-10-06 Thread Matthias Langer

I've two questions about gdm (I use version 2.8.0.3):

1.) Recently I recognized that I get the following error message when 
logging in via gdm:


The configuration file contains
an invalid command line for the
login dialog, so using the default
command. Please fix your
configuration.

Because of the fact that I'm normally logged in automatically by gdm, I 
can't say which upgrade led to this
problem, but at least I've never edited any of gdms config files myself. 
Maybe someone can tell me which file

is responsible for this mess, and maybe how to fix that ...

2.) Is there a way to force gdm to use a user defined screen resolution 
without messing around with xorg.conf ?


Thanks, Matthias
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /usr and /home to another partition

2005-10-06 Thread John Jolet
On Thursday 06 October 2005 20:52, Matthias Langer wrote:
 Joe Menola wrote:
 On Thursday October 6 2005 7:49 pm, Matthias Langer wrote:
 I want to move the /usr and /home directories to another partition,
 because I'm thinking of buying a new HD. It would be great if both
 directories were on the same partition, as splitting drives never seemed
 very appealing to me. As far as I know, one possibility would be to
 [with the boot-cd]
 
 Now another genooist pointed out that  it would be wiser to use rsync or
 tar instead of just
 # cp - r /usr /mnt/newHd_part_usr/
 So, should I enter
 # rsync -r /usr /mnt/newHd_part_usr/
 or are there some options I should activate to make sure I get what I want
 ?

 Thanks, Matthias
rsync -a will get all times and permissions, /etc.  I would STRONGLY second 
what the other guy said about lvm, though.  If you buy a new hard drive, 
don't just put filesystems and partitions on it, go the LVM route, make the 
logical volumes small, and don't use the whole drive for lvs, you can grow 
anything you want later.
-- 
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
[EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] help

2005-10-06 Thread Wes Gray
On Thu, Oct 06, 2005 at 10:17:20PM +0200, Benno Schulenberg wrote:
 Delete all the other kde files from /etc/env.d/, keeping only the 
 3.4 one.  The older ones are not needed any more since you've 
 uninstalled those versions, no?  This may solve some of your 
 problems by removing that KDEDIR env var.

That solved everything!  I didn't have to emerge or anything.  You
are wonderful!  I'm still going to go through and do the other things
you suggest here to get my system cleaned up.  Thank you so much for
the help.

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



[gentoo-user] making my own router

2005-10-06 Thread Mark
I'd like to build a gentoo box to act as a single router between a
hardware firewall (appliance) and two internal separate network
segments. The goal is to allow both internal segments to access the
Internet via the same firewall, but not allow them to see eachother.

Here's my general idea - please tell me if it makes sense so far.

1. Cable modem connected to ISP
2. Hardware firewall connected to cable modem on Internet port, and an internal port to eth0 on the Gentoo box
3. Gentoo box has 3 NICs: eth0 connected to the hardware firewall's
internal lan port. eth1 connected to switch for internal lan segment 1.
eth2 connected to switch for internal lan segment 2
4. Configure the NICs as follows: 
eth0 and firewall internal port are in 192.168.0.0/24 subnet
eth1 is in 192.168.1.0/24 subneteth2 is in 192.168.2.0/24 subnet

Sound OK so far?

Next steps I think are figuring out how to provide DHCP to both
internal subnets from the same Gentoo box, and what gateway address(es)
the clients should use. Finally, I need to be able to do
port-forwarding from the outside to a specific host on one of the
internal subnets. Can I do that?

One quandary I have is regarding the hardware firewall. We have money
invested in it, but does it buy me anything now that we are creating
the 2 separate subnets? Should I just sell it and let the Gentoo box be
the firewall as well?

Thanks for any insight, as always.-- Mark[unwieldy legal disclaimer would go here - feel free to type your own]


[gentoo-user] New kernel and udev

2005-10-06 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

I went to do my routine emerge -Duptv world and it came back with
devfsd blocking gentoo-sources-2.6.13-r3.  I'm not sure whether I'm
using udev now or not.  I remember compiling into the kernel last time
I did a kernel compile.  Naturally, when I did the emerge -Cpv
devfsd it complained that I was unemerging something in the system
profile, and that it could damage my system.  So I just thought I
would check here before hurting anything.  ;-)

So, does the v2.6.13-r3 gentoo-sources use udev?  (Am I confusing this
with something else?)  How can I tell if I'm using udev now, and/or if
I will hurt anything by uninstalling it, to get the new kernel sources?

Thanks.

- --
gentux
echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDRd/6LYGSSmmWCZMRApEjAJ95zhCxlNCIZW1e71555qUy/8HLDgCghDdK
8H9sLDiT4Mfh+I+5SOHXIJs=
=w92s
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] New kernel and udev

2005-10-06 Thread Rafael Alfaro
Read this article
http://lwn.net/Articles/149479/

On 10/7/05, gentuxx [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi all,

 I went to do my routine emerge -Duptv world and it came back with
 devfsd blocking gentoo-sources-2.6.13-r3.  I'm not sure whether I'm
 using udev now or not.  I remember compiling into the kernel last time
 I did a kernel compile.  Naturally, when I did the emerge -Cpv
 devfsd it complained that I was unemerging something in the system
 profile, and that it could damage my system.  So I just thought I
 would check here before hurting anything.  ;-)

 So, does the v2.6.13-r3 gentoo-sources use udev?  (Am I confusing this
 with something else?)  How can I tell if I'm using udev now, and/or if
 I will hurt anything by uninstalling it, to get the new kernel sources?

 Thanks.

 - --
 gentux
 echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'

 gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
 6996 0993
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.1 (GNU/Linux)

 iD8DBQFDRd/6LYGSSmmWCZMRApEjAJ95zhCxlNCIZW1e71555qUy/8HLDgCghDdK
 8H9sLDiT4Mfh+I+5SOHXIJs=
 =w92s
 -END PGP SIGNATURE-

 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] making my own router

2005-10-06 Thread W.Kenworthy
Unless its limiting you in some fashion, leave it there as an extra
layer of protection - dedicated HW firewalls are often more secure than
a general purpose machine, but lose out in the flexibility/functionality
stakes.  You can also get funky and use the gentoo box to detect suspect
traffic, and then deny it by uploading the ACL deny to the firewall.

Personally, while I really like my gentoo firewall/gateway, I would love
to have this option to completely remove traffic I designate from
hitting the inner firewall at all.  Make the most of it!

BillK

On Thu, 2005-10-06 at 21:42 -0500, Mark wrote:
 I'd like to build a gentoo box to act as a single router between a 
...
 One quandary I have is regarding the hardware firewall. We have money
 invested in it, but does it buy me anything now that we are creating
 the 2 separate subnets? Should I just sell it and let the Gentoo box
 be the firewall as well?
 
 Thanks for any insight, as always.
 -- 
 Mark
 [unwieldy legal disclaimer would go here - feel free to type your own]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] New kernel and udev

2005-10-06 Thread Rafael Alfaro
read this udev guide too:
http://www.gentoo.org/doc/en/udev-guide.xml

On 10/7/05, gentuxx [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi all,

 I went to do my routine emerge -Duptv world and it came back with
 devfsd blocking gentoo-sources-2.6.13-r3.  I'm not sure whether I'm
 using udev now or not.  I remember compiling into the kernel last time
 I did a kernel compile.  Naturally, when I did the emerge -Cpv
 devfsd it complained that I was unemerging something in the system
 profile, and that it could damage my system.  So I just thought I
 would check here before hurting anything.  ;-)

 So, does the v2.6.13-r3 gentoo-sources use udev?  (Am I confusing this
 with something else?)  How can I tell if I'm using udev now, and/or if
 I will hurt anything by uninstalling it, to get the new kernel sources?

 Thanks.

 - --
 gentux
 echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'

 gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
 6996 0993
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.1 (GNU/Linux)

 iD8DBQFDRd/6LYGSSmmWCZMRApEjAJ95zhCxlNCIZW1e71555qUy/8HLDgCghDdK
 8H9sLDiT4Mfh+I+5SOHXIJs=
 =w92s
 -END PGP SIGNATURE-

 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] New kernel and udev

2005-10-06 Thread Richard Fish



gentuxx wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

I went to do my routine emerge -Duptv world and it came back with
devfsd blocking gentoo-sources-2.6.13-r3.  I'm not sure whether I'm
using udev now or not.  I remember compiling into the kernel last time
I did a kernel compile.  Naturally, when I did the emerge -Cpv
devfsd it complained that I was unemerging something in the system
profile, and that it could damage my system.  So I just thought I
would check here before hurting anything.  ;-)
 



Take a look at the RC_DEVICES setting in /etc/conf.d/rc.  If that says 
auto or udev, then you are using udev and can safely remove devfs.  
Another way to check is to look at the output of mount | grep /dev.  
Here is what it says for me:


udev on /dev type tmpfs (rw,nosuid)

If you are still using devfs, this will probably say type devfs.

-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] init.d script run order

2005-10-06 Thread Richard Fish

Antoine wrote:


Hi,
I have a server that I have just installed. Everything is just fine 
except that gshield (and hence my NAT) seems to be stopped after boot. 
My understanding was that having the need net would mean that it would 
wait for all the interface cards to come up - is this not the case?
Bizarrely, dmesg makes it look like it is coming up and doing 
everything it needs to but when I log in it is stopped.

Any info or pointers appreciated.



Take a look at the RC_NET_STRICT_CHECKING setting and comments in 
/etc/conf.d/rc.


-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] New kernel and udev

2005-10-06 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Richard Fish wrote:



 gentuxx wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi all,

 I went to do my routine emerge -Duptv world and it came back with
 devfsd blocking gentoo-sources-2.6.13-r3. I'm not sure whether I'm
 using udev now or not. I remember compiling into the kernel last time
 I did a kernel compile. Naturally, when I did the emerge -Cpv
 devfsd it complained that I was unemerging something in the system
 profile, and that it could damage my system. So I just thought I
 would check here before hurting anything. ;-)



 Take a look at the RC_DEVICES setting in /etc/conf.d/rc. If that
 says auto or udev, then you are using udev and can safely remove
 devfs. Another way to check is to look at the output of mount |
 grep /dev. Here is what it says for me:

 udev on /dev type tmpfs (rw,nosuid)

 If you are still using devfs, this will probably say type devfs.

 -Richard

No devfs.  I guess I was thinking that udev WAS devfs.  I also found
this:  http://www.gentoo.org/doc/en/devfs-guide.xml, which was a
help.  ;-)

Thanks.

- --
gentux
echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDRfGVLYGSSmmWCZMRAsZ3AKDFZXbuCAdvDoKUCqbYMpIeihGr/gCgj13N
UbMw2lSMTNYZW7fCmWdo8LU=
=2zQ2
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] help

2005-10-06 Thread Richard Fish



kde-base/kdeaccessibility
   selected: 3.3.2
  protected: none
omitted: none
 



This one tells me that you've got old versions of KDE merged alongside 
the current version.  I suspect path and library problems are the result...


My suggestion is to:

ls -ld /var/db/pkg/kde-base/*-3[0-3]*

This will give you a list of all old kde packages that are merged.  You 
can then unmerge those, then do a revdep-rebuild.




Packages in world:457



This is a huge number of packages.  As Benno suggested, this probably 
means you have [re]merged packages without the --oneshot flag, so they 
got added to your world file, and portage now things you require those 
packages regardless of any dependancies.


The following script will show you all packages in world that are not 
depended on by something else.  Most (but not ALL!!) can be safely 
removed from world.  For example, sys-portage/portage is not depended on 
by something else, but it would be very bad to remove it from world!!


   cat /var/lib/portage/world | while read pkg; do
   count=`equery depends $pkg | wc -l`
   test $count -eq 0  echo pkg
   done

This may or may not have an effect on your KDE installation.  Mostly, 
this just a case of portage cleanup.


HTH,
-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg and transparency

2005-10-06 Thread Kumar Golap
Hi all,

I tried it on mine...pretty slow with shadow...but with translucence on
without shadowits bearablle...but its not instantaneous...
I am using a SiS 5591/2 AGP card .

Kumar
On 10/6/05, Uwe Thiem [EMAIL PROTECTED] wrote:
On 06 October 2005 10:29, Tamas Sarga wrote: Without transparency I can change across virtual desktops from a second to another,That slow? It's instantaneous here. With a shitty SiS card.
Uwe--95% of all programmers rate themselves among the top 5% of all softwaredevelopers. - Linus Torvaldshttp://www.uwix.iway.na (last updated: 20.06.2004)--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] help

2005-10-06 Thread Richard Fish

Richard Fish wrote:



   cat /var/lib/portage/world | while read pkg; do
   count=`equery depends $pkg | wc -l`
   test $count -eq 0  echo pkg
   done



Um, sorry, I'm a complete idiot sometimes.  You want to remove from 
world packages that are included as a dependancy of something else.  So 
that -eq 0 above should be -gt 0.  But again, some results are not 
going to be safe to remove from world, like sys-libs/glibc.


Again, my apologies...


-Richard

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Problems with font-color and fbsplash

2005-10-06 Thread Rafael Fernández López

Hi,

	I'm using fbsplash for cool booting. I'm working on my own themes, 
but 	I've noticed that it doesn't matter what I put on the variable 
fgcolor or bgcolor, because it will do nothing.


	Always console color will be GRAY, it doesn't matter if I set on my 
1024x768.cfg (for example) fgcolor=8 (white).


Thanks,
Rafael Fernández.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /usr and /home to another partition

2005-10-06 Thread Roy Wright

John Jolet wrote:


On Thursday 06 October 2005 20:52, Matthias Langer wrote:
 


Joe Menola wrote:
   


On Thursday October 6 2005 7:49 pm, Matthias Langer wrote:
 


I want to move the /usr and /home directories to another partition,
because I'm thinking of buying a new HD. It would be great if both
directories were on the same partition, as splitting drives never seemed
very appealing to me. As far as I know, one possibility would be to
[with the boot-cd]

   


http://www.gentoo.org/doc/en/articles/partitioning-p1.xml

worked nicely for me when I moved /home to a second drive...

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