Re: [gentoo-user] emerge kde-meta troubles

2008-08-28 Thread Xav'
Le Thursday 28 August 2008 08:40:39 Suman Chakrabarty, vous avez écrit :
 After successful installation of Gentoo 2008 on an old Compaq Pressario
 notebook, I was trying to emerge kde-meta on it, but was not successful. :(

 My USE flags:

 USE=nptl nptlonly -ipv6 -fortran unicode svg hal dbus X opengl \
  kde qt3 qt4 -arts -eds -esd -gnome -gstreamer -gtk -firefox


 Command used: emerge -D --newuse kde-meta


 /var/tmp/portage/kde-base/kscreensaver-3.5.9/work/kscreensaver-3.5.9/config
.log is attached as instructed in the error message.


 Last part of the screen output including the error message:

 checking for KDE... libraries /usr/kde/3.5/lib, headers
 /usr/kde/3.5/include checking if UIC has KDE plugins available... no
 configure: error:
 you need to install kdelibs first.

 If you did install kdelibs, then the Qt version that is picked up by
 this configure is not the same version you used to compile kdelibs.
 The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
 _same Qt version_, compiled with the _same compiler_ and the same Qt
 configuration settings.

As he said, you have to reemerge kdelibs first because your Qt version has 
changed since the last installation of kdelibs. You can also retry with 
adding --update to your emerge command. Posting your emerge --info output can 
help us too ;)


 !!! Please attach the following file when seeking support:
 !!!
 /var/tmp/portage/kde-base/kscreensaver-3.5.9/work/kscreensaver-3.5.9/config
.log *
  * ERROR: kde-base/kscreensaver-3.5.9 failed.
  * Call stack:
  *   ebuild.sh, line   49:  Called src_compile
  * environment, line 4214:  Called kde-meta_src_compile
  * environment, line 2882:  Called kde_src_compile
  * environment, line 3047:  Called kde_src_compile
 'src_compile' * environment, line 3167:  Called kde_src_compile
 'src_compile' 'all' 'myconf'
  * environment, line 3154:  Called econf 'configure' 'make'
 '--with-gl' '--without-java' '--with-x' '--enable-mitshm'
 '--without-xinerama' '--with-qt-dir=/usr/qt/3' '--enable-mt'
 '--with-qt-libraries=/usr/qt/3/lib' '--disable-dependency-tracking'
 '--disable-debug' '--without-debug' '--disable-final' '--without-arts'
 '--prefix=/usr/kde/3.5' '--mandir=/usr/kde/3.5/share/man'
 '--infodir=/usr/kde/3.5/share/info'
  *   ebuild.sh, line  513:  Called die
  * The specific snippet of code:
  *   die econf failed
  *  The die message:
  *   econf failed
  *
  * If you need support, post the topmost build error, and the call stack
 if relevant.
  * A complete build log is located at
 '/var/tmp/portage/kde-base/kscreensaver-3.5.9/temp/build.log'.
  * The ebuild environment file is located at
 '/var/tmp/portage/kde-base/kscreensaver-3.5.9/temp/environment'.
  *

  * Messages for package kde-base/kscreensaver-3.5.9:

  *
  * ERROR: kde-base/kscreensaver-3.5.9 failed.
  * Call stack:
  *   ebuild.sh, line   49:  Called src_compile
  * environment, line 4214:  Called kde-meta_src_compile
  * environment, line 2882:  Called kde_src_compile
  * environment, line 3047:  Called kde_src_compile
 'src_compile' * environment, line 3167:  Called kde_src_compile
 'src_compile' 'all' 'myconf'
  * environment, line 3154:  Called econf 'configure' 'make'
 '--with-gl' '--without-java' '--with-x' '--enable-mitshm'
 '--without-xinerama' '--with-qt-dir=/usr/qt/3' '--enable-mt'
 '--with-qt-libraries=/usr/qt/3/lib' '--disable-dependency-tracking'
 '--disable-debug' '--without-debug' '--disable-final' '--without-arts'
 '--prefix=/usr/kde/3.5' '--mandir=/usr/kde/3.5/share/man'
 '--infodir=/usr/kde/3.5/share/info'
  *   ebuild.sh, line  513:  Called die
  * The specific snippet of code:
  *   die econf failed
  *  The die message:
  *   econf failed
  *
  * If you need support, post the topmost build error, and the call stack
 if relevant.
  * A complete build log is located at
 '/var/tmp/portage/kde-base/kscreensaver-3.5.9/temp/build.log'.
  * The ebuild environment file is located at
 '/var/tmp/portage/kde-base/kscreensaver-3.5.9/temp/environment'.


 Please help.


 Thanks,
 Suman Chakrabarty.

HTH.

Xavier Parizet



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


Re: [gentoo-user] emerge kde-meta troubles

2008-08-28 Thread Suman Chakrabarty
Xav' wrote:
 If you did install kdelibs, then the Qt version that is picked up by
 this configure is not the same version you used to compile kdelibs.
 The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
 _same Qt version_, compiled with the _same compiler_ and the same Qt
 configuration settings.
 

 As he said, you have to reemerge kdelibs first because your Qt version has 
 changed since the last installation of kdelibs. You can also retry with 
 adding --update to your emerge command. Posting your emerge --info output can 
 help us too ;)
   


Thanks for your quick response. Adding --update did not help.

Here are some output that might be useful. Is this the right way to
reemerge kdelibs? Following command did not do anything.

 ~ # emerge -D --newuse kdelibs
Calculating dependencies... done!
 Auto-cleaning packages...

 No outdated packages were found on your system.

 ~ # emerge --info
Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0,
2.6.25-gentoo-r7 i686)
=
System uname: 2.6.25-gentoo-r7 i686 Intel(R) Pentium(R) III Mobile CPU
1133MHz
Timestamp of tree: Wed, 27 Aug 2008 18:16:01 +
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p33
dev-lang/python: 2.4.4-r13, 2.5.2-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS=x86
CBUILD=i686-pc-linux-gnu
CFLAGS=-O2 -march=i686 -pipe
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/config
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d
/etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo
/etc/udev/rules.d
CXXFLAGS=-O2 -march=i686 -pipe
DISTDIR=/usr/portage/distfiles
FEATURES=ccache distlocks metadata-transfer sandbox sfperms strict
unmerge-orphans userfetch
GENTOO_MIRRORS=http://mirror.ovh.net/gentoo-distfiles/
ftp://gentoo.imj.fr/pub/gentoo/ http://ftp.first-world.info/
http://ftp.jaist.ac.jp/pub/Linux/Gentoo/
http://ftp.kaist.ac.kr/pub/gentoo/ http://ftp.ncnu.edu.tw/Linux/Gentoo/
http://ftp.cs.pu.edu.tw/Linux/Gentoo/ http://gentoo.cs.nctu.edu.tw/gentoo/ 
LDFLAGS=-Wl,-O1
MAKEOPTS=-j2
PKGDIR=/usr/portage/packages
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
SYNC=rsync://rsync.asia.gentoo.org/gentoo-portage
USE=X acl berkdb bzip2 cli cracklib crypt cups dbus dri gdbm gpm hal
iconv isdnlog kde midi mudflap ncurses nls nptl nptlonly opengl openmp
pam pcre perl pppd python qt3 qt4 readline reflection session spl ssl
svg sysfs tcpd unicode x86 xorg zlib ALSA_CARDS=ali5451 als4000 atiixp
atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938
es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio
via82xx via82xx-modem ymfpci ALSA_PCM_PLUGINS=adpcm alaw asym copy
dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat
linear meter mmap_emul mulaw multi null plug rate route share shm
softvol APACHE2_MODULES=actions alias auth_basic authn_alias
authn_anon authn_dbm authn_default authn_file authz_dbm authz_default
authz_groupfile authz_host authz_owner authz_user autoindex cache dav
dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache
filter headers include info log_config logio mem_cache mime mime_magic
negotiation rewrite setenvif speling status unique_id userdir usertrack
vhost_alias ELIBC=glibc INPUT_DEVICES=keyboard mouse evdev
KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216
lcdm001 mtxorb ncurses text USERLAND=GNU VIDEO_CARDS=fbdev glint
i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga
via vmware voodoo
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK,
LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Regards,
Suman Chakrabarty.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: [gentoo-user] emerge kde-meta troubles

2008-08-28 Thread Xav'


On Thu, 28 Aug 2008 13:16:57 +0530, Suman Chakrabarty
[EMAIL PROTECTED] wrote:
 Xav' wrote:
 If you did install kdelibs, then the Qt version that is picked up by
 this configure is not the same version you used to compile kdelibs.
 The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
 _same Qt version_, compiled with the _same compiler_ and the same Qt
 configuration settings.
 

 As he said, you have to reemerge kdelibs first because your Qt version
 has 
 changed since the last installation of kdelibs. You can also retry with 
 adding --update to your emerge command. Posting your emerge --info
 output can 
 help us too ;)
   
 
 
 Thanks for your quick response. Adding --update did not help.
 
 Here are some output that might be useful. Is this the right way to
 reemerge kdelibs? Following command did not do anything.

Can you post the output of emerge --deep --update --newuse --pretend
--verbose world ?

  ~ # emerge -D --newuse kdelibs
 Calculating dependencies... done!
 Auto-cleaning packages...
 
 No outdated packages were found on your system.
 
  ~ # emerge --info
 Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0,
 2.6.25-gentoo-r7 i686)
 =
 System uname: 2.6.25-gentoo-r7 i686 Intel(R) Pentium(R) III Mobile CPU
 1133MHz
 Timestamp of tree: Wed, 27 Aug 2008 18:16:01 +
 ccache version 2.4 [enabled]
 app-shells/bash: 3.2_p33
 dev-lang/python: 2.4.4-r13, 2.5.2-r6
 dev-python/pycrypto: 2.0.1-r6
 dev-util/ccache: 2.4-r7
 sys-apps/baselayout: 1.12.11.1
 sys-apps/sandbox:1.2.18.1-r2
 sys-devel/autoconf:  2.61-r2
 sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.1
 sys-devel/binutils:  2.18-r3
 sys-devel/gcc-config: 1.4.0-r4
 sys-devel/libtool:   1.5.26
 virtual/os-headers:  2.6.23-r3
 ACCEPT_KEYWORDS=x86
 CBUILD=i686-pc-linux-gnu
 CFLAGS=-O2 -march=i686 -pipe
 CHOST=i686-pc-linux-gnu
 CONFIG_PROTECT=/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
 /usr/kde/3.5/shutdown /usr/share/config
 CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d
 /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo
 /etc/udev/rules.d
 CXXFLAGS=-O2 -march=i686 -pipe
 DISTDIR=/usr/portage/distfiles
 FEATURES=ccache distlocks metadata-transfer sandbox sfperms strict
 unmerge-orphans userfetch
 GENTOO_MIRRORS=http://mirror.ovh.net/gentoo-distfiles/
 ftp://gentoo.imj.fr/pub/gentoo/ http://ftp.first-world.info/
 http://ftp.jaist.ac.jp/pub/Linux/Gentoo/
 http://ftp.kaist.ac.kr/pub/gentoo/ http://ftp.ncnu.edu.tw/Linux/Gentoo/
 http://ftp.cs.pu.edu.tw/Linux/Gentoo/
http://gentoo.cs.nctu.edu.tw/gentoo/
 
 LDFLAGS=-Wl,-O1
 MAKEOPTS=-j2
 PKGDIR=/usr/portage/packages
 PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
 --compress --force --whole-file --delete --stats --timeout=180
 --exclude=/distfiles --exclude=/local --exclude=/packages
 PORTAGE_TMPDIR=/var/tmp
 PORTDIR=/usr/portage
 SYNC=rsync://rsync.asia.gentoo.org/gentoo-portage
 USE=X acl berkdb bzip2 cli cracklib crypt cups dbus dri gdbm gpm hal
 iconv isdnlog kde midi mudflap ncurses nls nptl nptlonly opengl openmp
 pam pcre perl pppd python qt3 qt4 readline reflection session spl ssl
 svg sysfs tcpd unicode x86 xorg zlib ALSA_CARDS=ali5451 als4000 atiixp
 atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938
 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio
 via82xx via82xx-modem ymfpci ALSA_PCM_PLUGINS=adpcm alaw asym copy
 dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat
 linear meter mmap_emul mulaw multi null plug rate route share shm
 softvol APACHE2_MODULES=actions alias auth_basic authn_alias
 authn_anon authn_dbm authn_default authn_file authz_dbm authz_default
 authz_groupfile authz_host authz_owner authz_user autoindex cache dav
 dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache
 filter headers include info log_config logio mem_cache mime mime_magic
 negotiation rewrite setenvif speling status unique_id userdir usertrack
 vhost_alias ELIBC=glibc INPUT_DEVICES=keyboard mouse evdev
 KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216
 lcdm001 mtxorb ncurses text USERLAND=GNU VIDEO_CARDS=fbdev glint
 i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga
 via vmware voodoo
 Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK,
 LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
 PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
 
 
 Regards,
 Suman Chakrabarty.
 
 

-- 
Xavier




[gentoo-user] Hijacking threads

2008-08-28 Thread Stroller


On 28 Aug 2008, at 07:40, Suman Chakrabarty wrote:


References: [EMAIL PROTECTED]
In-Reply-To:[EMAIL PROTECTED]




After successful installation of Gentoo 2008 on an old Compaq  
Pressario
notebook, I was trying to emerge kde-meta on it, but was not  
successful. :(



Please don't hijack threads like this:
  http://en.wikipedia.org/wiki/Thread_hijacking
  http://groups.google.com/group/linux.gentoo.user/msg/ 
8a540add45e7e9b8?


  It is irritating for people using thread-aware e-mail clients...
  In case you didn't know, it happens when you use reply for sending
  a new question instead of composing a new message.

Stroller.



Re: [gentoo-user] emerge kde-meta troubles

2008-08-28 Thread Dirk Heinrichs
Am Donnerstag, 28. August 2008 09:46:57 schrieb ext Suman Chakrabarty:
 Here are some output that might be useful. Is this the right way to
 reemerge kdelibs? Following command did not do anything.

  ~ # emerge -D --newuse kdelibs

emerge -1 kdelibs

HTH...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net




Re: [gentoo-user] emerge kde-meta troubles

2008-08-28 Thread Dale

Suman Chakrabarty wrote:



Thanks for your quick response. Adding --update did not help.

Here are some output that might be useful. Is this the right way to 
reemerge kdelibs? Following command did not do anything.


 ~ # emerge -D --newuse kdelibs
Calculating dependencies... done!
 Auto-cleaning packages...

 No outdated packages were found on your system.

 ~ # emerge --info
Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 
2.6.25-gentoo-r7 i686)

=
System uname: 2.6.25-gentoo-r7 i686 Intel(R) Pentium(R) III Mobile CPU 
1133MHz

Timestamp of tree: Wed, 27 Aug 2008 18:16:01 +
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p33
dev-lang/python: 2.4.4-r13, 2.5.2-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS=x86
CBUILD=i686-pc-linux-gnu
CFLAGS=-O2 -march=i686 -pipe
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/kde/3.5/env /usr/kde/3.5/share/config 
/usr/kde/3.5/shutdown /usr/share/config
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d 
/etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo 
/etc/udev/rules.d

CXXFLAGS=-O2 -march=i686 -pipe
DISTDIR=/usr/portage/distfiles
FEATURES=ccache distlocks metadata-transfer sandbox sfperms strict 
unmerge-orphans userfetch
GENTOO_MIRRORS=*MailScanner has detected a possible fraud attempt from 
mirror.ovh.net claiming to be* 
http://mirror.ovh.net/gentoo-distfiles/ 
ftp://gentoo.imj.fr/pub/gentoo/ http://ftp.first-world.info/ 
http://ftp.jaist.ac.jp/pub/Linux/Gentoo/ 
http://ftp.kaist.ac.kr/pub/gentoo/ 
http://ftp.ncnu.edu.tw/Linux/Gentoo/ 
http://ftp.cs.pu.edu.tw/Linux/Gentoo/ 
http://gentoo.cs.nctu.edu.tw/gentoo/ 

LDFLAGS=-Wl,-O1
MAKEOPTS=-j2
PKGDIR=/usr/portage/packages
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times 
--compress --force --whole-file --delete --stats --timeout=180 
--exclude=/distfiles --exclude=/local --exclude=/packages

PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
SYNC=rsync://rsync.asia.gentoo.org/gentoo-portage
USE=X acl berkdb bzip2 cli cracklib crypt cups dbus dri gdbm gpm hal 
iconv isdnlog kde midi mudflap ncurses nls nptl nptlonly opengl openmp 
pam pcre perl pppd python qt3 qt4 readline reflection session spl ssl 
svg sysfs tcpd unicode x86 xorg zlib ALSA_CARDS=ali5451 als4000 
atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 
ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 
trident usb-audio via82xx via82xx-modem ymfpci 
ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty 
extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 
mulaw multi null plug rate route share shm softvol 
APACHE2_MODULES=actions alias auth_basic authn_alias authn_anon 
authn_dbm authn_default authn_file authz_dbm authz_default 
authz_groupfile authz_host authz_owner authz_user autoindex cache dav 
dav_fs dav_lock deflate dir disk_cache env expires ext_filter 
file_cache filter headers include info log_config logio mem_cache mime 
mime_magic negotiation rewrite setenvif speling status unique_id 
userdir usertrack vhost_alias ELIBC=glibc INPUT_DEVICES=keyboard 
mouse evdev KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk 
hd44780 lb216 lcdm001 mtxorb ncurses text USERLAND=GNU 
VIDEO_CARDS=fbdev glint i810 mach64 mga neomagic nv r128 radeon 
savage sis tdfx trident vesa vga via vmware voodoo
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, 
LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, 
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY



Regards,
Suman Chakrabarty.



Try this, emerge -1v kdelibs and then try to install the rest.  What it 
is saying is that you have upgraded qt since kdelibs was last compiled 
and it needs to link everything to the new qt.  After you reemerge 
kdelibs, it should work fine.


Also, what this heck is this about?  MailScanner has detected a possible 
fraud attempt from mirror.ovh.net claiming to be  That shouldn't be in 
your make.conf file.


Dale

:-)  :-)  *
*



Re: [gentoo-user] fdisk - expanding a partition beyond 2TB

2008-08-28 Thread Stroller


On 27 Aug 2008, at 05:28, Dave Oxley wrote:

...
I've just added a fourth disk to my Raid 5 set increasing the  
capacity from 1.5TB to 2.25TB. I have 4 partitions on this volume  
set; the fourth of which is 1.49TB which is then further subdivided  
using lvm2.  ...


Hi there,

Is the problem that you've got 4 partitions  this prevents you form  
making a 5th?
Because using LVM I would simply create a new partition and add it to  
the volume group.


The contents *should* indeed remain intact if one simply deletes the  
partition  recreates at the same starting point, yet larger. I'm  
sure I've used parted as well as cfdisk for this sort of thing in the  
past, yet hesitate to recommend either as I would fear making a typo  
with an unfamiliar tool, thereby rendering my data mythical.


Stroller.



Re: [gentoo-user] emerge kde-meta troubles

2008-08-28 Thread Daniel Pielmeier
2008/8/28, Dale [EMAIL PROTECTED]:

 Also, what this heck is this about?  MailScanner has detected a possible
 fraud attempt from mirror.ovh.net claiming to be  That shouldn't be in
 your make.conf file.


Just take a look in the signature of thie message. :-)

This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.

Don't know what's the scanners problem with the mirror adress though.

Regards,

Daniel



Re: [gentoo-user] emerge kde-meta troubles

2008-08-28 Thread Dale

Daniel Pielmeier wrote:

2008/8/28, Dale [EMAIL PROTECTED]:
  

Also, what this heck is this about?  MailScanner has detected a possible
fraud attempt from mirror.ovh.net claiming to be  That shouldn't be in
your make.conf file.




Just take a look in the signature of thie message. :-)

This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.

Don't know what's the scanners problem with the mirror adress though.

Regards,

Daniel


  


I was more curious as to how it got into make.conf?  I can understand 
that it scans email but how did it edit make.conf? 


Dale

:-)  :-) 



Re: [gentoo-user] RAID with mixed drive sizes

2008-08-28 Thread Stroller


On 27 Aug 2008, at 20:00, Benoit St-Pierre wrote:

...
I have two 500GB SATA drives, a 320GB IDE and a 250GB IDE.
...
I would like to set these up so that the maximum amount of disk  
space is usable, but still be able to recover from any one drive  
failing. I would also like to be able to add drives of any size as  
easily as possible.


Cheap, fast  purty - pick any two.

What you're suggesting is at best a headache  more likely a complete  
nightmare, just waiting to happen.


I can see that you have over 500GB of EIDE, so in the ideal world you  
should be able to use that as the parity for your 2 x 500GB of SATA  
drives.


But in the real world, spend £35.25 and get a 3rd 500GB SATA.

Use the EIDE for swap or non-redundant files or something.

Hard-drives from the scrap pile can be immensely useful, but if you  
want ease of setup, reliability, redundancy and peace-of-mind then  
scratch cheap off your list of requirements. Drives are cheap these  
days, particularly 500GB ones right now.


Stroller.




Re: [gentoo-user] RAID with mixed drive sizes

2008-08-28 Thread Neil Bothwick
On Thu, 28 Aug 2008 10:11:48 +0100, Stroller wrote:

 Hard-drives from the scrap pile can be immensely useful, but if you  
 want ease of setup, reliability, redundancy and peace-of-mind then  
 scratch cheap off your list of requirements.

As the saying goes Cheap, reliable, fast - pick any two.


-- 
Neil Bothwick

WinErr 006: Malicious error - Desqview found on drive


signature.asc
Description: PGP signature


Re: [gentoo-user] RAID with mixed drive sizes

2008-08-28 Thread Stroller


On 28 Aug 2008, at 10:24, Neil Bothwick wrote:


On Thu, 28 Aug 2008 10:11:48 +0100, Stroller wrote:


Hard-drives from the scrap pile can be immensely useful, but if you
want ease of setup, reliability, redundancy and peace-of-mind then
scratch cheap off your list of requirements.


As the saying goes Cheap, reliable, fast - pick any two.


I did open my message with the words cheap, fast  purty - it all  
depends what you're buying. ;)


Stroller.




Re: [gentoo-user] RAID with mixed drive sizes

2008-08-28 Thread Neil Bothwick
On Thu, 28 Aug 2008 10:53:16 +0100, Stroller wrote:

 I did open my message with the words cheap, fast  purty

Sorry, I missed that.

 - it all depends what you're buying. ;)

I think we'll end this conversation right here :)


-- 
Neil Bothwick

Is it possible to be totally partial?


signature.asc
Description: PGP signature


Re: [gentoo-user] emerge kde-meta troubles

2008-08-28 Thread Suman Chakrabarty
Thanks everybody for your helpful replies. :)

 Try this, emerge -1v kdelibs and then try to install the rest.  What
 it is saying is that you have upgraded qt since kdelibs was last
 compiled and it needs to link everything to the new qt.  After you
 reemerge kdelibs, it should work fine.


It works! I mean emerging kde-meta is not finished yet, but it has gone
past the obstacle (kscreensaver) it was getting stuck at after I have
done emerge -1v kdelibs. Thanks.

Now my question is: why? man emerge says that the -1 option is
equivalent to --oneshot which is Emerge as normal, but do not add the
packages to the world file for later updating. But how does it help
emerge something which was not emerging without -1?! May be I am missing
something obvious, but please explain.


 Also, what this heck is this about?  MailScanner has detected a
 possible fraud attempt from mirror.ovh.net claiming to be  That
 shouldn't be in your make.conf file.

Well, those lines are not there in my make.conf file. But the mail
scanner must have modified the URL in the attachment in some manner to
include those strange warning/error messages. I am not sure about the
working principles of our institute mail server/scanner. :)


Best regards,
Suman Chakrabarty.





Re: [gentoo-user] emerge kde-meta troubles

2008-08-28 Thread Daniel Pielmeier
2008/8/28, Suman Chakrabarty [EMAIL PROTECTED]:
 Now my question is: why? man emerge says that the -1 option is
 equivalent to --oneshot which is Emerge as normal, but do not add the
 packages to the world file for later updating. But how does it help
 emerge something which was not emerging without -1?! May be I am missing
 something obvious, but please explain.

I guess Dirk suggested to use --oneshot because you probably don't
want kdelibs in world. The main issue was that you had to re-emerge
kdelibs to be built against the newer qt version. So emerge kdelibs
or emerge --nodeps kdelibs is enough but then kdelibs is added to
your world file.

Regards,

Daniel



Re: [gentoo-user] emerge kde-meta troubles

2008-08-28 Thread Dirk Heinrichs
Am Donnerstag, 28. August 2008 14:19:46 schrieb ext Suman Chakrabarty:
 Now my question is: why? man emerge says that the -1 option is
 equivalent to --oneshot which is Emerge as normal, but do not add the
 packages to the world file for later updating. But how does it help
 emerge something which was not emerging without -1?! May be I am missing
 something obvious, but please explain.

emerge adds only those packages to the world file which you specify 
explicitely on the command line. All other packages which are installed to 
fulfill the dependencies are not added. When you do a normal update, only 
those packages listed in world are considered. To update dependencies as well, 
you need to use -D. Therefor you should emerge kdelibs with -1 to avoid having 
it added to the world file.

HTH...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net




Re: [gentoo-user] emerge kde-meta troubles

2008-08-28 Thread Dale

Suman Chakrabarty wrote:

Thanks everybody for your helpful replies. :)

  

Try this, emerge -1v kdelibs and then try to install the rest.  What
it is saying is that you have upgraded qt since kdelibs was last
compiled and it needs to link everything to the new qt.  After you
reemerge kdelibs, it should work fine.




It works! I mean emerging kde-meta is not finished yet, but it has gone
past the obstacle (kscreensaver) it was getting stuck at after I have
done emerge -1v kdelibs. Thanks.

Now my question is: why? man emerge says that the -1 option is
equivalent to --oneshot which is Emerge as normal, but do not add the
packages to the world file for later updating. But how does it help
emerge something which was not emerging without -1?! May be I am missing
something obvious, but please explain.
  


Let me give this a shot.  You don't really want every package you have 
installed to be recorded in the world file.  It can make you do updates 
that you may not really need.  Since kdelibs is a dependency of 
kde-meta, it should get upgraded when it needs to without it being in 
the world file.  Mostly, it just keeps you world file nice and clean 
since it only has what is really needed listed there.  A huge world file 
is not really a good idea.  It won't break anything that I know of but 
it's not needed either.




  

Also, what this heck is this about?  MailScanner has detected a
possible fraud attempt from mirror.ovh.net claiming to be  That
shouldn't be in your make.conf file.



Well, those lines are not there in my make.conf file. But the mail
scanner must have modified the URL in the attachment in some manner to
include those strange warning/error messages. I am not sure about the
working principles of our institute mail server/scanner. :)


Best regards,
Suman Chakrabarty.

  


OK.  I see now.  It changed it on the email but the make.conf file is 
normal.  That's cool.  I thought the make.conf file was being changed by 
your mail scanner which confused me.  It is early here.  -_0


Dale

:-)  :-) 



[gentoo-user] How to publish a project?

2008-08-28 Thread Chuanwen Wu
Hi,

I am not sure if here is a right place to ask such question, but I
just think maybe someone here have such experience and may help me.

I have written a project, which is a distribution net file system, and
I want to publish it under GPL.
I have source code now of course, but I don't know how to make package
and publish it  as a project .
I need the details, then I can follow step by step and make my dream
come true :)

I have read Software Release Practice
HOWTO(http://en.tldp.org/HOWTO/Software-Release-Practice-HOWTO/index.html),
but it seems very old.

So maybe you can give some advice?

Any help will be appreciated!

-- 
wcw



Re: [gentoo-user] emerge kde-meta troubles

2008-08-28 Thread Suman Chakrabarty
Dirk Heinrichs wrote:
 Am Donnerstag, 28. August 2008 14:19:46 schrieb ext Suman Chakrabarty:
   
 Now my question is: why? man emerge says that the -1 option is
 equivalent to --oneshot which is Emerge as normal, but do not add the
 packages to the world file for later updating. But how does it help
 emerge something which was not emerging without -1?! May be I am missing
 something obvious, but please explain.
 

 emerge adds only those packages to the world file which you specify 
 explicitely on the command line. All other packages which are installed to 
 fulfill the dependencies are not added. When you do a normal update, only 
 those packages listed in world are considered. To update dependencies as 
 well, 
 you need to use -D. Therefor you should emerge kdelibs with -1 to avoid 
 having 
 it added to the world file.
   


Thanks, but I don't think my confusion was addressed fully. Let me
explain. The following command did not work as reported (and suggested)
before:

  ~ # emerge -D --newuse kdelibs
Calculating dependencies... done!
 Auto-cleaning packages...

 No outdated packages were found on your system.


But, emerge -1v kdelibs worked as suggested. I don't understand why it
works with -1 option added, but not without. Even if I had included
kdelibs in the world file, it should have been re-emerged through the
previous command, right? I didn't see through the additional magic done
by -1!


Regards,
Suman Chakrabarty.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: [gentoo-user] emerge kde-meta troubles

2008-08-28 Thread Xav'


On Thu, 28 Aug 2008 19:11:34 +0530, Suman Chakrabarty
[EMAIL PROTECTED] wrote:
 Dirk Heinrichs wrote:
 Am Donnerstag, 28. August 2008 14:19:46 schrieb ext Suman Chakrabarty:
   
 Now my question is: why? man emerge says that the -1 option is
 equivalent to --oneshot which is Emerge as normal, but do not add
 the
 packages to the world file for later updating. But how does it help
 emerge something which was not emerging without -1?! May be I am
 missing
 something obvious, but please explain.
 

 emerge adds only those packages to the world file which you specify 
 explicitely on the command line. All other packages which are installed
 to 
 fulfill the dependencies are not added. When you do a normal update,
 only 
 those packages listed in world are considered. To update dependencies as
 well, 
 you need to use -D. Therefor you should emerge kdelibs with -1 to avoid
 having 
 it added to the world file.
   
 
 
 Thanks, but I don't think my confusion was addressed fully. Let me
 explain. The following command did not work as reported (and suggested)
 before:
 
   ~ # emerge -D --newuse kdelibs
 Calculating dependencies... done!
 Auto-cleaning packages...
 
 No outdated packages were found on your system.
 
 
 But, emerge -1v kdelibs worked as suggested. I don't understand why it
 works with -1 option added, but not without. Even if I had included
 kdelibs in the world file, it should have been re-emerged through the
 previous command, right? I didn't see through the additional magic done
 by -1!

This has not worked not because of the -1, but because you remove --newuse
! --newuse will emerge the package only if its use flags has changed, and
it wasn't the case :)

 
 Regards,
 Suman Chakrabarty.
 
 

-- 
Xavier Parizet




Re: [gentoo-user] emerge kde-meta troubles

2008-08-28 Thread Daniel Pielmeier
2008/8/28, Suman Chakrabarty [EMAIL PROTECTED]:

 Thanks, but I don't think my confusion was addressed fully. Let me explain.
 The following command did not work as reported (and suggested) before:

   ~ # emerge -D --newuse kdelibs
 Calculating dependencies... done!
  Auto-cleaning packages...

  No outdated packages were found on your system.


 But, emerge -1v kdelibs worked as suggested. I don't understand why it
 works with -1 option added, but not without. Even if I had included kdelibs
 in the world file, it should have been re-emerged through the previous
 command, right? I didn't see through the additional magic done by -1!


As I said -1 is not the problem here. The interesting and different
parts of this two commands are:

emerge kdelibs

This just re-emerges kdelibs.

emerge -D --newuse kdelibs or
emerge --deep --newuse kdelibs

Here all dependencies and changed use flags of all dependencies
including kdelibs will be re-emerged. The dependencies are updated
before kdelibs and thus in this case kdescreenseaver fails as it needs
kdelibs re-emerged first.

Regards,

Daniel



Re: [gentoo-user] emerge kde-meta troubles

2008-08-28 Thread Dirk Heinrichs
Am Donnerstag, 28. August 2008 15:41:34 schrieb ext Suman Chakrabarty:

 Thanks, but I don't think my confusion was addressed fully. Let me
 explain. The following command did not work as reported (and suggested)
 before:

   ~ # emerge -D --newuse kdelibs
 Calculating dependencies... done!

  Auto-cleaning packages...
 
  No outdated packages were found on your system.

Yes, because you wanted to _update_ the package, but it was up-to-date.

 But, emerge -1v kdelibs worked as suggested. I don't understand why it
 works with -1 option added, but not without.

This has nothing to do with -1 (or --oneshot). It's update vs. install. So 
what you did was emerge kdelibs instead of emerge -D --newuse kdelibs with 
a -1 added to prevent adding the package to world.

HTH...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net




Re: [gentoo-user] emerge kde-meta troubles

2008-08-28 Thread Dirk Heinrichs
Am Donnerstag, 28. August 2008 15:36:54 schrieb ext Xav:

 This has not worked not because of the -1, but because you remove --newuse

No, it was because he removed -D (deep update), to force a (re-)installation.

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net




Re: [gentoo-user] emerge kde-meta troubles

2008-08-28 Thread Sebastian Beßler

Suman Chakrabarty schrieb:

Thanks, but I don't think my confusion was addressed fully. Let me 
explain. The following command did not work as reported (and suggested) 
before:


  ~ # emerge -D --newuse kdelibs
Calculating dependencies... done!
  Auto-cleaning packages...

  No outdated packages were found on your system.


But, emerge -1v kdelibs worked as suggested. I don't understand why it 
works with -1 option added, but not without. Even if I had included 
kdelibs in the world file, it should have been re-emerged through the 
previous command, right? I didn't see through the additional magic done 
by -1!


It is not the -1 that is added but the --newuse that is left.

emerge -D --newuse kdelibs means that portage should only rebuild 
kdelibs if there are changed USE-Flags.

As there aren't any, emerge has nothing to do and says so.

Sebastian



Re: [gentoo-user] emerge kde-meta troubles

2008-08-28 Thread Dirk Heinrichs
Am Donnerstag, 28. August 2008 15:41:24 schrieb ext Sebastian Beßler:

 It is not the -1 that is added but the --newuse that is left.

Once more: it's _not_ because of --newuse, but because of -D!

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net




Re: [gentoo-user] emerge kde-meta troubles

2008-08-28 Thread Xav'


On Thu, 28 Aug 2008 15:38:47 +0200, Dirk Heinrichs
[EMAIL PROTECTED] wrote:
 Am Donnerstag, 28. August 2008 15:36:54 schrieb ext Xav:
 
 This has not worked not because of the -1, but because you remove
 --newuse
 
 No, it was because he removed -D (deep update), to force a
 (re-)installation.

No... The -D doesn't stand for deep update, but for deep, so with deep,
portage will also check dependencies of the package. Try to do emerge -D
kdelibs and you will see that portage reemerge kdelibs. To have a deep
update, the right command is emerge -Du/emerge --deep --update... In his
case, with emerge --newuse --deep, portage has checked that no use flags
has changed for kdelibs and all of his dependencies :)
 
 Bye...

Bye ;)

   Dirk

-- 
Xavier




Re: [gentoo-user] Hijacking threads

2008-08-28 Thread Suman Chakrabarty
Stroller wrote:

 On 28 Aug 2008, at 07:40, Suman Chakrabarty wrote:

 References: [EMAIL PROTECTED]
 In-Reply-To: [EMAIL PROTECTED]


 After successful installation of Gentoo 2008 on an old Compaq Pressario
 notebook, I was trying to emerge kde-meta on it, but was not
 successful. :(


 Please don't hijack threads like this:
   http://en.wikipedia.org/wiki/Thread_hijacking
   http://groups.google.com/group/linux.gentoo.user/msg/8a540add45e7e9b8?

   It is irritating for people using thread-aware e-mail clients...
   In case you didn't know, it happens when you use reply for sending
   a new question instead of composing a new message.



I am really sorry for the trouble. I did not know my email client
(Thunderbird) was that intelligent! I was not sure whether the list
e-mail address was present in my address book and hence I took the easy
way out of responding to a list message with modifying the subject line.
I was not aware of the underlying thread-awareness. I'll not repeat it
next time. Thanks for pointing out.


Regards,
Suman Chakrabarty.




Re: [gentoo-user] emerge kde-meta troubles

2008-08-28 Thread Dirk Heinrichs
Am Donnerstag, 28. August 2008 15:50:47 schrieb ext Xav:

 No... The -D doesn't stand for deep update, but for deep, so with deep,
 portage will also check dependencies of the package. Try to do emerge -D
 kdelibs and you will see that portage reemerge kdelibs. To have a deep
 update, the right command is emerge -Du/emerge --deep --update... In his
 case, with emerge --newuse --deep, portage has checked that no use flags
 has changed for kdelibs and all of his dependencies

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]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net




Re: [gentoo-user] emerge kde-meta troubles

2008-08-28 Thread Dirk Heinrichs
Am Donnerstag, 28. August 2008 15:45:01 schrieb ext Dirk Heinrichs:
 Am Donnerstag, 28. August 2008 15:41:24 schrieb ext Sebastian Beßler:
  It is not the -1 that is added but the --newuse that is left.

 Once more: it's _not_ because of --newuse, but because of -D!

Seems that was nonsense, --newuse was the cause. Sorry for the hassle.

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net




Re: [gentoo-user] emerge kde-meta troubles

2008-08-28 Thread Neil Bothwick
On Thu, 28 Aug 2008 07:32:01 -0500, Dale wrote:

 Let me give this a shot.  You don't really want every package you have 
 installed to be recorded in the world file.  It can make you do updates 
 that you may not really need.

That's not the main reason for keeping world clean, since emerge --update
will update direct dependencies of packages in world, and --deep will
update anything upon which a package in world ultimately depends.

The main reason is that it stops your system being filled with cruft by
allowing emerge --depclean to work. If you put a library in world, then
even if you have removed all the packages that previously needed it, or
those packages no longer depend on it, portage will still consider it a
necessary part of your system.


-- 
Neil Bothwick

I have a spelling checker, it came with my Pea See;
It helps me too correct Miss Steaks eye mite knot sea.
I ran these versus threw it, yew mae bee pleased too no
Its word prefect in every weight; my spell cheque tolled me sew!


signature.asc
Description: PGP signature


[gentoo-user] root on raid 1 = no boot

2008-08-28 Thread Volker Armin Hemmann
Hi,

I have tried to setup a software Raid1 for root (/), boot, home and var.

So far, so good. Support is in kernel. The four ones are assembled:
Personalities : [raid1]
md3 : active raid1 sda6[0] sdb6[1]
  421906944 blocks [2/2] [UU]

md2 : active raid1 sda5[0] sdb5[1]
  19534912 blocks [2/2] [UU]

md1 : active raid1 sda3[0] sdb3[1]
  39061952 blocks [2/2] [UU]

md0 : active raid1 sda1[0] sdb1[1]
  64128 blocks [2/2] [UU]

looks good. 

and in grub.conf I have this:
title=raid
root (hd0,0)
kernel /vmlinuz root=/dev/md1 md=1,/dev/sda3,/dev/sdb3 nopat

I also created md1,2,3, in /dev.

But on every single boot I get a kernel panic because rootfs is not found. Has 
anybody an idea why and what is going wrong?



Re: [gentoo-user] root on raid 1 = no boot

2008-08-28 Thread Xav'


On Thu, 28 Aug 2008 16:41:42 +0200, Volker Armin Hemmann
[EMAIL PROTECTED] wrote:
 Hi,
 
 I have tried to setup a software Raid1 for root (/), boot, home and var.
 
 So far, so good. Support is in kernel. The four ones are assembled:
 Personalities : [raid1]
 md3 : active raid1 sda6[0] sdb6[1]
   421906944 blocks [2/2] [UU]
 
 md2 : active raid1 sda5[0] sdb5[1]
   19534912 blocks [2/2] [UU]
 
 md1 : active raid1 sda3[0] sdb3[1]
   39061952 blocks [2/2] [UU]
 
 md0 : active raid1 sda1[0] sdb1[1]
   64128 blocks [2/2] [UU]
 
 looks good. 
 
 and in grub.conf I have this:
 title=raid
 root (hd0,0)
 kernel /vmlinuz root=/dev/md1 md=1,/dev/sda3,/dev/sdb3 nopat
 
 I also created md1,2,3, in /dev.
 
 But on every single boot I get a kernel panic because rootfs is not
found.
 Has 
 anybody an idea why and what is going wrong?

You have to know that the kernel isn't able to assemble RAID devices
together without the use of mdadm. So you have to use an initrd with the
mdadm binary to use a RAID root ! If you are using genkernel, add --mdraid
to your kernel compilation command line. Once you have an initrd with the
mdadm binary and appropriate script to assemble RAID arrays, you'll be able
to boot from your root RAID array ;)

HTH.

-- 
Xavier




Re: [gentoo-user] emerge kde-meta troubles

2008-08-28 Thread Neil Bothwick
On Thu, 28 Aug 2008 19:11:34 +0530, Suman Chakrabarty wrote:

 But, emerge -1v kdelibs worked as suggested. I don't understand why it
 works with -1 option added, but not without.

It has nothing to do with the addition of -1, which only affects the
world file, but the removal of --newuse. Had you simply added -1 to the
command you used previously, it would still have done nothing.


-- 
Neil Bothwick

I'm really easy to get along with once you people learn to worship me.


signature.asc
Description: PGP signature


Re: [gentoo-user] root on raid 1 = no boot

2008-08-28 Thread Neil Bothwick
On Thu, 28 Aug 2008 16:54:03 +0200, Xav' wrote:

 You have to know that the kernel isn't able to assemble RAID devices
 together without the use of mdadm. So you have to use an initrd with the
 mdadm binary to use a RAID root !

Could you please keep quiet about that, my computers have been using
RAID root devices for years without an initrd and I don't want them to
get the idea they need one now.

Volker, are sda3 and sdb3 marked as Linux Raid autodetect in cfdisk? If
not you may need mdadm, but with the partitions marked as autodetect, the
kernel should figure it out for itself.

This is the kernel line I use in menu.lst, there is no initrd

kernel /boot/vmlinuz root=/dev/md0 vga=794 video=vesafb:ywrap,pmipal,[EMAIL 
PROTECTED]


-- 
Neil Bothwick

Every time I jump on the bandwagon all its wheels fall off.


signature.asc
Description: PGP signature


Re: [gentoo-user] root on raid 1 = no boot

2008-08-28 Thread Xav'


On Thu, 28 Aug 2008 15:59:03 +0100, Neil Bothwick [EMAIL PROTECTED]
wrote:
 On Thu, 28 Aug 2008 16:54:03 +0200, Xav' wrote:
 
 You have to know that the kernel isn't able to assemble RAID devices
 together without the use of mdadm. So you have to use an initrd with the
 mdadm binary to use a RAID root !
 
 Could you please keep quiet about that, my computers have been using
 RAID root devices for years without an initrd and I don't want them to
 get the idea they need one now.


Okay sorry but i wasn't aware about that... When i set up RAID, following
HowTos from both gentoo-wiki.com and gentoo.org, and nowhere there is
indications of the auto-detection and assembling by the kernel... Maybe not
the right information source ?

 Volker, are sda3 and sdb3 marked as Linux Raid autodetect in cfdisk? If
 not you may need mdadm, but with the partitions marked as autodetect, the
 kernel should figure it out for itself.
 
 This is the kernel line I use in menu.lst, there is no initrd
 
 kernel /boot/vmlinuz root=/dev/md0 vga=794
 video=vesafb:ywrap,pmipal,[EMAIL PROTECTED]

-- 
Xavier




Re: [gentoo-user] root on raid 1 = no boot

2008-08-28 Thread ert256
[ 28.08.2008 16:41 ], Volker Armin Hemmann :
 Hi,
 
 I have tried to setup a software Raid1 for root (/), boot, home and var.
 
 So far, so good. Support is in kernel. The four ones are assembled:
 Personalities : [raid1]
 md3 : active raid1 sda6[0] sdb6[1]
   421906944 blocks [2/2] [UU]
 
 md2 : active raid1 sda5[0] sdb5[1]
   19534912 blocks [2/2] [UU]
 
 md1 : active raid1 sda3[0] sdb3[1]
   39061952 blocks [2/2] [UU]
 
 md0 : active raid1 sda1[0] sdb1[1]
   64128 blocks [2/2] [UU]
 
 looks good. 
 
 and in grub.conf I have this:
 title=raid
 root (hd0,0)
 kernel /vmlinuz root=/dev/md1 md=1,/dev/sda3,/dev/sdb3 nopat
 
 I also created md1,2,3, in /dev.
 
 But on every single boot I get a kernel panic because rootfs is not found. 
 Has 
 anybody an idea why and what is going wrong?
 
 
If you are sure kernel has compiled-in modules for raid, device mappers
and others to look at the disk ..
Maybe it is type of the partition, it should be FD which means
'Linux raid autodetect' .
-- 
Rafał (ert16) Trójniak
[EMAIL PROTECTED] : [EMAIL PROTECTED]
Jid : [EMAIL PROTECTED] [EMAIL PROTECTED]
GPG  key-ID : DD681D47
749F E1DC A58F 9084 BBC0
797A 0691 53D6 DD68 1D47



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] root on raid 1 = no boot

2008-08-28 Thread Volker Armin Hemmann
On Donnerstag, 28. August 2008, Neil Bothwick wrote:
 On Thu, 28 Aug 2008 16:54:03 +0200, Xav' wrote:
  You have to know that the kernel isn't able to assemble RAID devices
  together without the use of mdadm. So you have to use an initrd with the
  mdadm binary to use a RAID root !

 Could you please keep quiet about that, my computers have been using
 RAID root devices for years without an initrd and I don't want them to
 get the idea they need one now.

thanks, the last thing I want to deal with is an initrd.


 Volker, are sda3 and sdb3 marked as Linux Raid autodetect in cfdisk? If
 not you may need mdadm, but with the partitions marked as autodetect, the
 kernel should figure it out for itself.

fdisk -l /dev/sda

Platte /dev/sda: 500.1 GByte, 500107862016 Byte
255 Köpfe, 63 Sektoren/Spuren, 60801 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Disk identifier: 0x

Gerät  boot. AnfangEnde Blöcke   Id  System
/dev/sda1   *   1   8   64228+  fd  Linux raid autodetect
/dev/sda2   9 981 7815622+  82  Linux Swap / Solaris
/dev/sda3 982584439062047+  fd  Linux raid autodetect
/dev/sda45845   60801   441442102+   5  Erweiterte
/dev/sda55845827619535008+  fd  Linux raid autodetect
/dev/sda68277   60801   421907031   fd  Linux raid autodetect

fdisk -l /dev/sdb

Platte /dev/sdb: 500.1 GByte, 500107862016 Byte
255 Köpfe, 63 Sektoren/Spuren, 60801 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Disk identifier: 0x

Gerät  boot. AnfangEnde Blöcke   Id  System
/dev/sdb1   *   1   8   64228+  fd  Linux raid autodetect
/dev/sdb2   9 981 7815622+  82  Linux Swap / Solaris
/dev/sdb3 982584439062047+  fd  Linux raid autodetect
/dev/sdb45845   60801   441442102+   5  Erweiterte
/dev/sdb55845827619535008+  fd  Linux raid autodetect
/dev/sdb68277   60801   421907031   fd  Linux raid autodetect

if I only give root=/dev/md1 it won't boot either.

and from config:
CONFIG_MD=y
CONFIG_BLK_DEV_MD=y
# CONFIG_MD_LINEAR is not set
# CONFIG_MD_RAID0 is not set
CONFIG_MD_RAID1=y

are there more kernel options I might have missed?



[gentoo-user] KDE 4.1...

2008-08-28 Thread BRM
I have been trying to hold out for KDE 4.1 entering the main gentoo portage 
tree, and some kind of announcement on the list; however, I haven't seen any 
and it's been a while since KDE 4.1 was released...(longer I think than it took 
for KDE 4.0.1 to get into the main portage tree.)

I am not one for wanting to try doing the overlay's yet, so I have been waiting 
for it to enter the main portage. I haven't even seen it in as a hard mask yet.
So, I just wanted to check to see if there was any known timeline for when KDE 
4.1 might enter the main portage tree, when might it go to the testing branch?

I'd very much like to try it out when it gets to testing; and just wanted to 
get an idea of how long I might still need to wait. (As I said, I'm not quite 
up to using the overlay trees yet, of which I've seen a lot of activity 
regarding KDE 4.1 per the user's and AMD64 lists.)

Any how...just curious when it will come.

Thanks,

Ben




Re: [gentoo-user] KDE 4.1...

2008-08-28 Thread Andrew Gaydenko
=== On Thursday 28 August 2008, BRM wrote: ===
 I have been trying to hold out for KDE 4.1 entering the main gentoo
 portage tree, and some kind of announcement on the list; however, I
 haven't seen any and it's been a while since KDE 4.1 was
 released...(longer I think than it took for KDE 4.0.1 to get into the
 main portage tree.)

 I am not one for wanting to try doing the overlay's yet, so I have been
 waiting for it to enter the main portage. I haven't even seen it in as a
 hard mask yet. So, I just wanted to check to see if there was any known
 timeline for when KDE 4.1 might enter the main portage tree, when might
 it go to the testing branch?

 I'd very much like to try it out when it gets to testing; and just wanted
 to get an idea of how long I might still need to wait. (As I said, I'm
 not quite up to using the overlay trees yet, of which I've seen a lot of
 activity regarding KDE 4.1 per the user's and AMD64 lists.)

 Any how...just curious when it will come.

 Thanks,

 Ben

Ben, sorry, my question is OT wrt your message.

Are there indeed good things (I don't mean ruches and flowers) in KDE4 to 
worry about them at all? Reading all those KDE4 reviews I really can not 
understand why KDE4 may be more useful for me rather KDE3.


Andrew



Re: [gentoo-user] root on raid 1 = no boot

2008-08-28 Thread Volker Armin Hemmann
On Donnerstag, 28. August 2008, ert256 wrote:
 [ 28.08.2008 16:41 ], Volker Armin Hemmann :
  Hi,
 
  I have tried to setup a software Raid1 for root (/), boot, home and var.
 
  So far, so good. Support is in kernel. The four ones are assembled:
  Personalities : [raid1]
  md3 : active raid1 sda6[0] sdb6[1]
421906944 blocks [2/2] [UU]
 
  md2 : active raid1 sda5[0] sdb5[1]
19534912 blocks [2/2] [UU]
 
  md1 : active raid1 sda3[0] sdb3[1]
39061952 blocks [2/2] [UU]
 
  md0 : active raid1 sda1[0] sdb1[1]
64128 blocks [2/2] [UU]
 
  looks good.
 
  and in grub.conf I have this:
  title=raid
  root (hd0,0)
  kernel /vmlinuz root=/dev/md1 md=1,/dev/sda3,/dev/sdb3 nopat
 
  I also created md1,2,3, in /dev.
 
  But on every single boot I get a kernel panic because rootfs is not
  found. Has anybody an idea why and what is going wrong?

 If you are sure kernel has compiled-in modules for raid, device mappers
 and others to look at the disk ..
 Maybe it is type of the partition, it should be FD which means
 'Linux raid autodetect' .

it has raid1 compiled in. dm not. Why? I am not using it. And as I have 
written in that other mail - all partitions are fd.




Re: [gentoo-user] root on raid 1 = no boot

2008-08-28 Thread Dirk Heinrichs
Am Donnerstag, 28. August 2008 17:30:44 schrieb Volker Armin Hemmann:
 thanks, the last thing I want to deal with is an initrd.

It's initramfs nowadays and that's quite easy to handle.

Bye...

Dirk



[gentoo-user] Re: KDE 4.1...

2008-08-28 Thread James
Andrew Gaydenko a at gaydenko.com writes:


  I have been trying to hold out for KDE 4.1 entering the main gentoo
  portage tree, and some kind of announcement on the list; 

YES many of us await a tree release of KDE 4.


 Are there indeed good things (I don't mean ruches and flowers) in KDE4 to 
 worry about them at all? Reading all those KDE4 reviews I really can not 
 understand why KDE4 may be more useful for me rather KDE3.


Not a single thing, the KDE is just release KDE 4 to keep up with the 
Jones..(sarcasm)

Are you kidding? Whom among us using kde has not had problem with kde3?

ARTS is my latest ugly kde issue (even though it may still exist in kde 4).

From the kde.org website:
KDE 4.1 is the first KDE4 release to contain the Personal Information
Management suite KDE-PIM 

Like with our previous release much time has been devoted to improving the
framework and underlying libraries on which KDE is built.

I've read several places that KDE 4 will be used on the (tentative)
September release of the Gentoo liveCD.

Maybe that's our clue as to when to expect some version of kde 4
in the portage tree (stable or testing)?


Lots of folks feel your pain for KDE 4

hth,

James





[gentoo-user] Re: How to publish a project?

2008-08-28 Thread James
Chuanwen Wu wcw8410 at gmail.com writes:


 I have written a project, which is a distribution net file system, and
 I want to publish it under GPL.
 I have source code now of course, but I don't know how to make package
 and publish it  as a project .

Well you can just make the code available via cvs  or svn. Or you
can publish your code via freshmeat or sourceforge, or directly
off of your ftp/web server.


First you have to decide if it is just a command line package or
gui as to how to package it. The answer will differ, slightly according
to which distro you wish to publish it for. Let assume gentoo is your 
distro choice.

My suggestion would be to have a look at these links (but google for more):

http://www.gentoo.org/proj/en/sunrise/

http://devmanual.gentoo.org/

http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=0chap=0

http://gentoo-wiki.com/HOWTO_Create_an_Updated_Ebuild


hth,

James




Re: [gentoo-user] KDE 4.1...

2008-08-28 Thread Philip Webb
080828 Andrew Gaydenko wrote:
 080828 BRM wrote:
 I have been trying to hold out for KDE 4.1 entering the Gentoo tree
 and some kind of announcement on the list; is there any known timeline
 for when KDE 4.1 might go to the testing branch?

I too am waiting to see KDE 4.1 appear in the testing list.
The KDE devs are always short-staffed, so let's give them a big cheer,
but a few words of their plans would help KDE users (smile).

 Reading all those KDE4 reviews I really can not understand
 why KDE4 may be more useful for me rather KDE3.

My estimate (also based on reading  screenshots) is
that it is  60 %  eye candy,  30 %  hype   10 %  useful improvements:
the basic motivation is to make it work well with Qt 4 .
Dolphin is offered as a simpler alternative to Konqueror file-management,
but I use CLI everyday with Krusader for heavy lifting occasionally
(I also have Vifm installed, but have little actual use for it);
Gwenview apparently has an improved interface; however,
the Kicker panel (renamed) is still not fully configurable.

Otherwise, KDE 3.5.10 was announced yesterday.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] root on raid 1 = no boot

2008-08-28 Thread Volker Armin Hemmann
On Donnerstag, 28. August 2008, Dirk Heinrichs wrote:
 Am Donnerstag, 28. August 2008 17:30:44 schrieb Volker Armin Hemmann:
  thanks, the last thing I want to deal with is an initrd.

 It's initramfs nowadays and that's quite easy to handle.

do you have a nice little howto? Not some general one but a 'you need this to 
get raid1 root booting'. Because I am totally stuck. From the stuff I read it 
should work - but I always get a root not found panic.



Re: [gentoo-user] emerge kde-meta troubles

2008-08-28 Thread Dale

Dirk Heinrichs wrote:

Am Donnerstag, 28. August 2008 15:45:01 schrieb ext Dirk Heinrichs:
  

Am Donnerstag, 28. August 2008 15:41:24 schrieb ext Sebastian Beßler:


It is not the -1 that is added but the --newuse that is left.
  

Once more: it's _not_ because of --newuse, but because of -D!



Seems that was nonsense, --newuse was the cause. Sorry for the hassle.

Bye...

Dirk
  


Now I'm not so confused.  Whew!  LOL

Dale

:-)  :-)



Re: [gentoo-user] root on raid 1 = no boot

2008-08-28 Thread Luigi Pinna
You don't need all of that...
With mdadm can you put your RAID array as persistent. If it is
persistent your kernel can use the autodetect function and build it
before mount /
I have in my raidtab
# cat /etc/raidtab
raiddev   /dev/md0
raid-level1
chunk-size4k
persistent-superblock 1
nr-raid-disks 2
device/dev/sda2
raid-disk 0
device/dev/sdb2
raid-disk 1

After that I built it I use any tools expect, as you, RAID support built
in kernel
Luigi


 Am Donnerstag, 28. August 2008 17:30:44 schrieb Volker Armin Hemmann:
  thanks, the last thing I want to deal with is an initrd.

 It's initramfs nowadays and that's quite easy to handle.

 Bye...

   Dirk






Re: [gentoo-user] root on raid 1 = no boot

2008-08-28 Thread Neil Bothwick
On Thu, 28 Aug 2008 19:41:04 +0200, Volker Armin Hemmann wrote:

 From the stuff I read it 
 should work - but I always get a root not found panic

Root device or root fs?


-- 
Neil Bothwick

Q: What's the proper plural of a 'Net-connected Windows machine?
A: A Botnet


signature.asc
Description: PGP signature


Re: [gentoo-user] KDE 4.1...

2008-08-28 Thread Alan McKinnon
On Thursday 28 August 2008 17:56:37 Andrew Gaydenko wrote:
 Ben, sorry, my question is OT wrt your message.

 Are there indeed good things (I don't mean ruches and flowers) in KDE4 to
 worry about them at all? Reading all those KDE4 reviews I really can not
 understand why KDE4 may be more useful for me rather KDE3.

Don't even bother trying KDE4 if you have a recent nVidia card. Performance is 
atrocious as KDE4 uses acceleration effects in plasma etc that nVidia didn't 
account for in their driver, with the results that significant amounts of 
rendering are done using a software path (i.e. not in hardware), which is very 
slow.

There also doesn't appear to be any quick fix coming anytime soon.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] root on raid 1 = no boot

2008-08-28 Thread Volker Armin Hemmann
On Donnerstag, 28. August 2008, Volker Armin Hemmann wrote:
 On Donnerstag, 28. August 2008, Dirk Heinrichs wrote:
  Am Donnerstag, 28. August 2008 17:30:44 schrieb Volker Armin Hemmann:
   thanks, the last thing I want to deal with is an initrd.
 
  It's initramfs nowadays and that's quite easy to handle.

 do you have a nice little howto? Not some general one but a 'you need this
 to get raid1 root booting'. Because I am totally stuck. From the stuff I
 read it should work - but I always get a root not found panic.

I created an initramfs with genkernel (I hate genkernel). Now it works. grmpf. 
I wish I wouldn't have to use it.





Re: [gentoo-user] KDE 4.1...

2008-08-28 Thread Roy Wright
Philip Webb wrote:
 080828 Andrew Gaydenko wrote:
 080828 BRM wrote:
 Reading all those KDE4 reviews I really can not understand
 why KDE4 may be more useful for me rather KDE3.
 
 My estimate (also based on reading  screenshots) is
 that it is  60 %  eye candy,  30 %  hype   10 %  useful improvements:
 the basic motivation is to make it work well with Qt 4 .
 Dolphin is offered as a simpler alternative to Konqueror file-management,

And if I understand correctly, then main reason for Qt 4 is that KDE
apps should then be able to run on other OSes (read that as windoze).

I tried Dolphin on a Kubuntu system, IMO it is a giant step backwards
from Konqueror (ex, no fish://).

Also from what I gather KDE 4.1 is another developer release with 4.2
target as the first user (usable?) release.

On the plus side, the synergy of KDE4 apps is improved (example, common
address book) so we can look forward to a smoother user experience.

On the negative side, the nvidia binary drivers still have major
performance issues with KDE4.  This is a show stopper for me.  If nvidia
does not fix their drivers by KDE 4.2, I'll have to replace video
cards...  Of course that assumes nvidia is still around after their
packaging fiasco.  :(




Re: [gentoo-user] KDE 4.1...

2008-08-28 Thread Alan McKinnon
On Thursday 28 August 2008 19:29:28 Philip Webb wrote:
  Reading all those KDE4 reviews I really can not understand
  why KDE4 may be more useful for me rather KDE3.

 My estimate (also based on reading  screenshots) is
 that it is  60 %  eye candy,  30 %  hype   10 %  useful improvements:
 the basic motivation is to make it work well with Qt 4 .

To be fair to the KDE devs, KDE4 is not meant to be a replacement for KDE3, or 
even a natural evolution of it. It's a break with the past and a trip down a 
new road in interface design. The code that has been put there forms a 
framework to make new stuff possible in the future, and that new stuff is 
intended to be very different from the usual computer desktop that is pretty 
much unchained since Xerox designed it 30 odd years ago. The eye-candy IS eye-
candy, but it's eye-candy with a purpose and has not been done for the sake of 
mere bling and keeping up with the Joneses using compiz.

But these new cool changes have not been written yet. Only the framework that 
will make them possible has been written. The apps that have been ported are 
by and large the existing 3.5 apps and work pretty much the same way, just as 
a start to get KDE4 into use.  

So KDE4 falls very short of being a fully usable desktop, so much so that if 
anyone wants the functionality of KDE-3.5, then they should stick with that 
branch. As traditional desktops go, there's nothing wrong with it, and it is 
still actively maintained.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] root on raid 1 = no boot

2008-08-28 Thread Volker Armin Hemmann
On Donnerstag, 28. August 2008, Neil Bothwick wrote:
 On Thu, 28 Aug 2008 19:41:04 +0200, Volker Armin Hemmann wrote:
  From the stuff I read it
  should work - but I always get a root not found panic

 Root device or root fs?

it doesn't find /dev/md1 (unknown block device) and panics. And yes, I created 
md0,1,2,3 with mknod in /dev

The partitions (sda3,b3) themselves are found fine.




Re: [gentoo-user] root on raid 1 = no boot

2008-08-28 Thread Xav'
Le Thursday 28 August 2008 20:45:15 Volker Armin Hemmann, vous avez écrit :
 On Donnerstag, 28. August 2008, Neil Bothwick wrote:
  On Thu, 28 Aug 2008 19:41:04 +0200, Volker Armin Hemmann wrote:
   From the stuff I read it
   should work - but I always get a root not found panic
 
  Root device or root fs?

 it doesn't find /dev/md1 (unknown block device) and panics. And yes, I
 created md0,1,2,3 with mknod in /dev

Did you create the nodes with de /dev partition unmounted ? I think you have to 
check this... because when the kernel boot up, the /dev partition is 
unmounted :)
 The partitions (sda3,b3) themselves are found fine.

Regards,

Xavier Parizet



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


[gentoo-user] postgresql replication with slony1

2008-08-28 Thread Zhu Sha Zang

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I need know if somebody here has installed/configured a postgresql 
replication where gentoo is a master host. I'm trying to make it using 
slony1, but have some mismatch configuration, look:

/
USER=postgres
CLUSTER=slave.host
DBUSER=snort
DBNAME=snort_log
DBHOST=master.host

LOGFILE=/var/lib/postgresql/data/slony1.log
LOGLEVEL=4   # 1(minimum)..4(maximum)/

I think that the error are in CLUSTER option looking in slony1's log:

/2008-08-28 15:16:57 BRT CONFIG main: slon version 1.2.10 starting up
2008-08-28 15:16:57 BRT DEBUG2 slon: watchdog process started
2008-08-28 15:16:57 BRT DEBUG2 slon: watchdog ready - pid = 22743
2008-08-28 15:16:57 BRT ERROR  cannot get sl_local_node_id - ERROR:  
schema _solaris.semfio.usp.br does not exi

st
2008-08-28 15:16:57 BRT FATAL  main: Node is not initialized properly - 
sleep 10s

2008-08-28 15:16:57 BRT DEBUG2 slon: worker process created - pid = 22751
2008-08-28 15:17:02 BRT DEBUG1 slon: shutdown requested
2008-08-28 15:17:02 BRT DEBUG2 slon: notify worker process to shutdown
2008-08-28 15:17:07 BRT DEBUG2 slon_retry() from pid=22751
2008-08-28 15:17:07 BRT DEBUG1 slon: retry requested
2008-08-28 15:17:07 BRT DEBUG2 slon: notify worker process to shutdown
2008-08-28 15:17:07 BRT FATAL  main: write to worker pipe failed -(9) 
Bad file descriptor

2008-08-28 15:17:07 BRT DEBUG2 slon: remove pid file
2008-08-28 15:17:07 BRT DEBUG2 slon: exit(-1)

/Then, if some smart guy has implemented yet this service have some 
trick or how-to to make it work in my gentoo box, i'll very gratefully.


If have any other method to make a postgresql repliction, like 
pgcluster, please talk to me.


Thanks for this time.

Zhu Sha Zang


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

iEYEARECAAYFAki29QcACgkQbLyL8mxGP9QO1gCgtv29yK1wiXcnGds/y+o4FieR
WpIAnjEyYlGmCnRoOEkBPBJqJjNI1sEF
=IIWx
-END PGP SIGNATURE-






___ 
Yahoo! Mail - Sempre a melhor opção para você! 
Experimente já e veja as novidades. 
http://br.yahoo.com/mailbeta/tudonovo/




Re: [gentoo-user] KDE 4.1...

2008-08-28 Thread Volker Armin Hemmann
On Donnerstag, 28. August 2008, Alan McKinnon wrote:
 On Thursday 28 August 2008 17:56:37 Andrew Gaydenko wrote:
  Ben, sorry, my question is OT wrt your message.
 
  Are there indeed good things (I don't mean ruches and flowers) in KDE4 to
  worry about them at all? Reading all those KDE4 reviews I really can not
  understand why KDE4 may be more useful for me rather KDE3.

 Don't even bother trying KDE4 if you have a recent nVidia card. Performance
 is atrocious as KDE4 uses acceleration effects in plasma etc that nVidia
 didn't account for in their driver, with the results that significant
 amounts of rendering are done using a software path (i.e. not in hardware),
 which is very slow.

 There also doesn't appear to be any quick fix coming anytime soon.

well, it was mostly fixed with their latest beta drivers.




Re: [gentoo-user] root on raid 1 = no boot

2008-08-28 Thread Volker Armin Hemmann
On Donnerstag, 28. August 2008, Xav' wrote:
 Le Thursday 28 August 2008 20:45:15 Volker Armin Hemmann, vous avez écrit :
  On Donnerstag, 28. August 2008, Neil Bothwick wrote:
   On Thu, 28 Aug 2008 19:41:04 +0200, Volker Armin Hemmann wrote:
From the stuff I read it
should work - but I always get a root not found panic
  
   Root device or root fs?
 
  it doesn't find /dev/md1 (unknown block device) and panics. And yes, I
  created md0,1,2,3 with mknod in /dev

 Did you create the nodes with de /dev partition unmounted ? I think you
 have to check this... because when the kernel boot up, the /dev partition
 is unmounted :)

yes I did.
I copied root to a spare disk first and booted from it.



Re: [gentoo-user] root on raid 1 = no boot

2008-08-28 Thread Neil Bothwick
On Thu, 28 Aug 2008 20:52:33 +0200, Xav' wrote:

  it doesn't find /dev/md1 (unknown block device) and panics. And yes, I
  created md0,1,2,3 with mknod in /dev  
 
 Did you create the nodes with de /dev partition unmounted ? I think you
 have to check this... because when the kernel boot up, the /dev
 partition is unmounted :)

I don't have any such nodes in my static /dev (only console and null in
there) they are created by the kernel.


-- 
Neil Bothwick

- How many surrealists does it take to change a light bulb?
- Two: one to hold the giraffe, the other to fill the bathtub with
  lots of brightly colored machine tools.


signature.asc
Description: PGP signature


Re: [gentoo-user] KDE 4.1...

2008-08-28 Thread Alan McKinnon
On Thursday 28 August 2008 21:03:28 Volker Armin Hemmann wrote:
 On Donnerstag, 28. August 2008, Alan McKinnon wrote:
  On Thursday 28 August 2008 17:56:37 Andrew Gaydenko wrote:
   Ben, sorry, my question is OT wrt your message.
  
   Are there indeed good things (I don't mean ruches and flowers) in KDE4
   to worry about them at all? Reading all those KDE4 reviews I really can
   not understand why KDE4 may be more useful for me rather KDE3.
 
  Don't even bother trying KDE4 if you have a recent nVidia card.
  Performance is atrocious as KDE4 uses acceleration effects in plasma etc
  that nVidia didn't account for in their driver, with the results that
  significant amounts of rendering are done using a software path (i.e. not
  in hardware), which is very slow.
 
  There also doesn't appear to be any quick fix coming anytime soon.

 well, it was mostly fixed with their latest beta drivers.

You mean 177.68 right?

It's far from fixed here. Admittedly better than 173.*, but the vast majority 
of work remains to be done:

translucent menu paints very slow, 3 seconds+ and jerky.
Window resize slow, the content cannot keep up with a mere resize, a full 
repaint takes about three seconds.
Window move is not perfect, but acceptable. The move motion is noticeably 
jerky, but the rendering of content and repainting of unobscured content below 
is fine.

This tells me that the actual problem, as defined by AaronP on nvnews.net[1] 
is not being fixed in these releases, just worked around.

TwinView JustWorks(tm) - what a relief! I had images of yet another massive 
debugging and config session when my boss proudly presented me with a brand 
new 17 LCD. Apparently all the sysadmins get them, just because we can :-)

I'm noticing stability problems since using 177.67 - The GUI suddenly freezes 
solid, gkrellm stops updating, no keyboard input but mouse motion does still 
work. If I change to a virtual console and back to X, I get a black screen and 
white pointer. Luckily, I can usually log in on a virtual console and SIGHUP 
the window manager, this often fixes it. The only changes recently have been 
to e17 and the nvidia driver. I'd be tempted to say my e17 from CVS is buggy, 
but I get the exact same problem running KDE4, leaving the driver as the only 
common change.

alan

[1] Essentially, that most drivers when compositing are optimized for window 
resize in their use of video memory. nVidia instead built their stuff to 
optimize the common case - window refresh and move. This has the side effect 
of resizes falling back to a default (and excruciatingly slow) software code 
path.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: How to publish a project?

2008-08-28 Thread b.n.

James ha scritto:

Chuanwen Wu wcw8410 at gmail.com writes:



I have written a project, which is a distribution net file system, and
I want to publish it under GPL.
I have source code now of course, but I don't know how to make package
and publish it  as a project .


Well you can just make the code available via cvs  or svn. Or you
can publish your code via freshmeat or sourceforge, or directly
off of your ftp/web server.


I would strongly recommend using a public version management system if 
you want to maintain an open source project (and even a non-open one).


I personally use Subversion (SVN) on Google Code; which, for my needs, 
fits well, is very well documented it is very simple to use. Google Code 
also has a very easy web interface, even if not as flexible as 
Sourceforge (but I found working with SF a bit of a pain).


A lot of people praise a lot Git, so maybe you should check that out too 
before deciding (I don't know what source code repositories support Git, 
by the way).


Just stay away from CVS: it is old, clunky and it is currently being 
phased out by most people.


m.



Re: [gentoo-user] How to publish a project?

2008-08-28 Thread Andrey Falko
On Thu, Aug 28, 2008 at 6:13 AM, Chuanwen Wu [EMAIL PROTECTED] wrote:
 Hi,

 I am not sure if here is a right place to ask such question, but I
 just think maybe someone here have such experience and may help me.

 I have written a project, which is a distribution net file system, and
 I want to publish it under GPL.
 I have source code now of course, but I don't know how to make package
 and publish it  as a project .
 I need the details, then I can follow step by step and make my dream
 come true :)

 I have read Software Release Practice
 HOWTO(http://en.tldp.org/HOWTO/Software-Release-Practice-HOWTO/index.html),
 but it seems very old.

 So maybe you can give some advice?

 Any help will be appreciated!

 --
 wcw



The most important thing to do is to include a LICENSE file as part of
your source code. Also you need to have some text in the beginning of
all of your source files. Read all about there here:
http://www.fsf.org/licensing/licenses/gpl-howto.html

After you do this, make your source code availible via svn, cvs, or
just via tar balls.

Then you can make an ebuild, etc. if you want it to work with portage, etc.



[gentoo-user] idea on updates

2008-08-28 Thread James

Well, I know I'm asking for a few flames here, but, this
idea just popped into my head and I cannot get rid of it.


When you sync and update a system that has not been updated for
a while, you get many packages to upgrade. OK usually not a problem.
However, myself (and many other folks) are rather lazy: we do
not watch the terminal session for hours, looking for those tidbits
of info of little pesky admin things to do upon updating a package
(let alone dozens of packages).

We are also lazy: we do not parse the log files looking for those
'little pesky admin things to do upon updating a package'
either.


Much pain results for lots of regular folks, like forgetting to 
run 'python-updater'. So any ideas on an enhancement/fix?


Why, could the dev add an option that parses out all of those
pesky admin things into either a singular log file? Or better
yet, a gui popup that lists just those instructions for each
package. Then a lazy admin could go through them, take whatever
action necessary, and then just kill the pop-up.

Just a thought, I figured I'd put up here for discussion. In fact
some of the younger/sharper minds should come up with an even
slicker way for those instructions to hang around, so that us
lazy admins are forced into a convenient click or 2 to dismiss
these little pesky admin caveats?

thoughts?



James






Re: [gentoo-user] KDE 4.1...

2008-08-28 Thread Volker Armin Hemmann
On Donnerstag, 28. August 2008, Alan McKinnon wrote:
 On Thursday 28 August 2008 21:03:28 Volker Armin Hemmann wrote:
  On Donnerstag, 28. August 2008, Alan McKinnon wrote:
   On Thursday 28 August 2008 17:56:37 Andrew Gaydenko wrote:
Ben, sorry, my question is OT wrt your message.
   
Are there indeed good things (I don't mean ruches and flowers) in
KDE4 to worry about them at all? Reading all those KDE4 reviews I
really can not understand why KDE4 may be more useful for me rather
KDE3.
  
   Don't even bother trying KDE4 if you have a recent nVidia card.
   Performance is atrocious as KDE4 uses acceleration effects in plasma
   etc that nVidia didn't account for in their driver, with the results
   that significant amounts of rendering are done using a software path
   (i.e. not in hardware), which is very slow.
  
   There also doesn't appear to be any quick fix coming anytime soon.
 
  well, it was mostly fixed with their latest beta drivers.

 You mean 177.68 right?

 It's far from fixed here. Admittedly better than 173.*, but the vast
 majority of work remains to be done:

 translucent menu paints very slow, 3 seconds+ and jerky.
 Window resize slow, the content cannot keep up with a mere resize, a full
 repaint takes about three seconds.
 Window move is not perfect, but acceptable. The move motion is noticeably
 jerky, but the rendering of content and repainting of unobscured content
 below is fine.

 This tells me that the actual problem, as defined by AaronP on
 nvnews.net[1] is not being fixed in these releases, just worked around.

 TwinView JustWorks(tm) - what a relief! I had images of yet another massive
 debugging and config session when my boss proudly presented me with a brand
 new 17 LCD. Apparently all the sysadmins get them, just because we can :-)

 I'm noticing stability problems since using 177.67 - The GUI suddenly
 freezes solid, gkrellm stops updating, no keyboard input but mouse motion
 does still work. If I change to a virtual console and back to X, I get a
 black screen and white pointer. Luckily, I can usually log in on a virtual
 console and SIGHUP the window manager, this often fixes it. The only
 changes recently have been to e17 and the nvidia driver. I'd be tempted to
 say my e17 from CVS is buggy, but I get the exact same problem running
 KDE4, leaving the driver as the only common change.

 alan

 [1] Essentially, that most drivers when compositing are optimized for
 window resize in their use of video memory. nVidia instead built their
 stuff to optimize the common case - window refresh and move. This has the
 side effect of resizes falling back to a default (and excruciatingly slow)
 software code path.

they released 177.70 today ;)




Re: [gentoo-user] idea on updates

2008-08-28 Thread Neil Bothwick
On Thu, 28 Aug 2008 21:22:00 + (UTC), James wrote:

 Why, could the dev add an option that parses out all of those
 pesky admin things into either a singular log file? Or better
 yet, a gui popup that lists just those instructions for each
 package. Then a lazy admin could go through them, take whatever
 action necessary, and then just kill the pop-up.

Do you mean like the elog system that can write this information to a
separate log file, email it to you, pass it to a command or any
combination of these? There are also elog viewers in portage, although I
have no experience of these, I use my mailer to read these messages.


-- 
Neil Bothwick

Windows Error #09: Game Over. Exiting Windows.


signature.asc
Description: PGP signature


[gentoo-user] Re: KDE 4.1...

2008-08-28 Thread James
Alan McKinnon alan.mckinnon at gmail.com writes:


 It's far from fixed here. Admittedly better than 173.*, but the vast majority 
 of work remains to be done:

What ever happened to all of those folks that said Nvidia is the
superior video vendor?

I took quite a beating (on this list) for backing/promoting ATI,
because I believe that AMD would do the right thing for the Linux
community.


Apologies accepted (in advance) from all of those Nvidia pundits.


AMD (and now ATI) rules. methinks



James






Re: [gentoo-user] Re: KDE 4.1...

2008-08-28 Thread Volker Armin Hemmann
On Donnerstag, 28. August 2008, James wrote:
 Alan McKinnon alan.mckinnon at gmail.com writes:
  It's far from fixed here. Admittedly better than 173.*, but the vast
  majority of work remains to be done:

 What ever happened to all of those folks that said Nvidia is the
 superior video vendor?

once upon a time that was true.

and some people say that the new beta drivers rock. I can't check it myself - 
I sold my nvidia card and bought ati.



 Apologies accepted (in advance) from all of those Nvidia pundits.

I want to apologise if I ever bashed you.



 AMD (and now ATI) rules. methinks

their binary drivers are so-so. But their open source driver initiative is 
great.





Re: [gentoo-user] idea on updates

2008-08-28 Thread Joshua D Doll

Neil Bothwick wrote:

On Thu, 28 Aug 2008 21:22:00 + (UTC), James wrote:

  

Why, could the dev add an option that parses out all of those
pesky admin things into either a singular log file? Or better
yet, a gui popup that lists just those instructions for each
package. Then a lazy admin could go through them, take whatever
action necessary, and then just kill the pop-up.



Do you mean like the elog system that can write this information to a
separate log file, email it to you, pass it to a command or any
combination of these? There are also elog viewers in portage, although I
have no experience of these, I use my mailer to read these messages.


  
I concur elog is great. I have it e-mail me a single file after I've run 
updates or installed anything. It's stupid simple to setup too.



--Joshua Doll



Re: [gentoo-user] idea on updates

2008-08-28 Thread Dale

Joshua D Doll wrote:

Neil Bothwick wrote:

On Thu, 28 Aug 2008 21:22:00 + (UTC), James wrote:

 

Why, could the dev add an option that parses out all of those
pesky admin things into either a singular log file? Or better
yet, a gui popup that lists just those instructions for each
package. Then a lazy admin could go through them, take whatever
action necessary, and then just kill the pop-up.



Do you mean like the elog system that can write this information to a
separate log file, email it to you, pass it to a command or any
combination of these? There are also elog viewers in portage, although I
have no experience of these, I use my mailer to read these messages.


  
I concur elog is great. I have it e-mail me a single file after I've 
run updates or installed anything. It's stupid simple to setup too.



--Joshua Doll




I use elogviewer myself.  Works pretty good.  I can also clear out the 
old logs when I have everything updated and stable as well.  Gives me a 
fresh start for next time. 


Dale

:-)  :-) 



Re: [gentoo-user] idea on updates

2008-08-28 Thread Matt Harrison

Joshua D Doll wrote:

Neil Bothwick wrote:

On Thu, 28 Aug 2008 21:22:00 + (UTC), James wrote:

 

Why, could the dev add an option that parses out all of those
pesky admin things into either a singular log file? Or better
yet, a gui popup that lists just those instructions for each
package. Then a lazy admin could go through them, take whatever
action necessary, and then just kill the pop-up.



Do you mean like the elog system that can write this information to a
separate log file, email it to you, pass it to a command or any
combination of these? There are also elog viewers in portage, although I
have no experience of these, I use my mailer to read these messages.


  
I concur elog is great. I have it e-mail me a single file after I've run 
updates or installed anything. It's stupid simple to setup too.


Sounds like a really useful tool, but I can't see where to get it.

According to eix, the only elog tools are direct viewers. I'd really 
like one that can email me, where can I find it?


Thanks

Matt




Re: [gentoo-user] idea on updates

2008-08-28 Thread Dale

Matt Harrison wrote:

Joshua D Doll wrote:

Neil Bothwick wrote:

On Thu, 28 Aug 2008 21:22:00 + (UTC), James wrote:

 

Why, could the dev add an option that parses out all of those
pesky admin things into either a singular log file? Or better
yet, a gui popup that lists just those instructions for each
package. Then a lazy admin could go through them, take whatever
action necessary, and then just kill the pop-up.



Do you mean like the elog system that can write this information to a
separate log file, email it to you, pass it to a command or any
combination of these? There are also elog viewers in portage, 
although I

have no experience of these, I use my mailer to read these messages.


  
I concur elog is great. I have it e-mail me a single file after I've 
run updates or installed anything. It's stupid simple to setup too.


Sounds like a really useful tool, but I can't see where to get it.

According to eix, the only elog tools are direct viewers. I'd really 
like one that can email me, where can I find it?


Thanks

Matt





I don't use the email feature but I got this from man make.conf:

PORTAGE_ELOG_CLASSES

  PORTAGE_ELOG_SYSTEM

  PORTAGE_ELOG_COMMAND

  PORTAGE_ELOG_MAILURI

  PORTAGE_ELOG_MAILFROM

  PORTAGE_ELOG_MAILSUBJECT
 Please see /usr/share/portage/config/make.conf.example for 
elog documentation.


I would look at the make.conf.example file to see how to set that up.

Dale

:-)  :-) 



Re: [gentoo-user] KDE 4.1

2008-08-28 Thread Philip Webb
080828 Roy Wright wrote:
 if I understand correctly, then main reason for Qt 4 is
 that KDE apps sb able to run on other OSes, eg Windoze.

Yes, that's good ! -- the way to get M$ofties to use free software is
to offer them our desktops  apps, st the Windows OS gets orphaned.

 I tried Dolphin on a Kubuntu system,
 IMO it is a giant step backwards from Konqueror, eg no  fish:// .

Krusader is very good for using Ssh on a remote machine.
Its devs are planning a 2.0 to match KDE 4.x .

 Also from what I gather KDE 4.1 is another developer release
 with 4.2 target as the first user (usable?) release.

The KDE devs have been very apologetic re not warning enough for 4.0 .
IIRC 4.2 is predicted for early 2009  should have more functions restored.

 the nvidia binary drivers still have major performance issues with KDE4.
 This is a show stopper for me.

Me too.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




[gentoo-user] Re: idea on updates

2008-08-28 Thread James
Dale dalek1967 at bellsouth.net writes:


  Do you mean like the elog system that can write this information to a
  separate log file, email it to you, pass it to a command or any
  combination of these? There are also elog viewers in portage, 


OK elog look good. 
Is this the best wiki to
use to initailly set it up?


http://gentoo-wiki.com/TIP_Making_portage_use_/usr/sbin/sendmail_to_send_out_ELOG_mails


?

James






[gentoo-user] Re: KDE 4.1...

2008-08-28 Thread James
Volker Armin Hemmann volker.armin.hemmann at tu-clausthal.de writes:


 I want to apologise if I ever bashed you.

Nope and it does not matter, I never remember those things anyway.

  AMD (and now ATI) rules. methinks

 their binary drivers are so-so. But their open source driver initiative is 
 great.

If you follow AMD, they 'get it'. I have had high hopes for ATI once AMD 
took over. Patiences is difficult, but, I believe that AMD (ATI)
will do the Linux community right, particularly if they want
to keep selling hardware to us when Intel has a (current) technical
advantage.


Intel is the other sleeper. With the best physics  (smallest processes)
it's only a matter of time before they have a graphic chip, that can be
put on the same substrate as the CPU and they'll be competitive, 
particularly from a price point perspective.  

The real battle is who's GPU becomes the easiest processor to use with the
cisc/risc processors as a generic part of the OS.

We'll just have to wait on this, but, my money is on AMD, because 
they're more likely to do something cool for the greater Linux 
community than Intel, imho.

Nvidia, without a CPU partner, is dying on the vine, as we speak.
Look for their stock to plung, if they do not find a (CPU) company to
buy and soon. They should have picked up the PPC before Apple ditched
it for Intel, imho.

cheers!
James






[gentoo-user] Linux vs Alteon

2008-08-28 Thread Adam Carter
My gentoo laptop is receiving an appropriate arp-reply from an alteon 2208 
(according to tcpdump), but doesnt put it in its arp table. A windows box on 
the same port works fine. Has anyone come across this? Can i debug arp on linux?



Re: [gentoo-user] Re: idea on updates

2008-08-28 Thread Neil Bothwick
On Fri, 29 Aug 2008 00:46:36 + (UTC), James wrote:

 OK elog look good. 
 Is this the best wiki to
 use to initailly set it up?

 http://gentoo-wiki.com/TIP_Making_portage_use_/usr/sbin/sendmail_to_send_out_ELOG_mails

Hardly the TIP is now obsolete! See /etc/make.conf.example for further
details.


-- 
Neil Bothwick

The opposite of a profound truth may well be another profound truth. *
Bohr


signature.asc
Description: PGP signature


Re: [gentoo-user] fdisk - expanding a partition beyond 2TB

2008-08-28 Thread Dave Oxley

Stroller wrote:


On 27 Aug 2008, at 05:28, Dave Oxley wrote:

...
I've just added a fourth disk to my Raid 5 set increasing the 
capacity from 1.5TB to 2.25TB. I have 4 partitions on this volume 
set; the fourth of which is 1.49TB which is then further subdivided 
using lvm2.  ...


Hi there,

Is the problem that you've got 4 partitions  this prevents you form 
making a 5th?
Because using LVM I would simply create a new partition and add it to 
the volume group.


The contents *should* indeed remain intact if one simply deletes the 
partition  recreates at the same starting point, yet larger. I'm sure 
I've used parted as well as cfdisk for this sort of thing in the past, 
yet hesitate to recommend either as I would fear making a typo with an 
unfamiliar tool, thereby rendering my data mythical.


Stroller.
Yes, part of the problem is that I can't create a fifth partition. 
However, even if possible, this wouldn't have been my ideal solution 
anyway as it would negate some of the performance benefit gained from 
having one huge partition over the whole array.


But my real question is, as I've reached the max partition for the msdos 
partition table, can I migrate to a GPT partition table without losing 
my data?


Cheers,
Dave.