Re: [gentoo-user] #Gentoo

2007-08-18 Thread Steen Eugen Poulsen
Steen Eugen Poulsen skrev:
 Every day for around a hour the same op comes around and their is always
 trouble for some reason in that short period. The channel works
 perfectly the other 23 hours a day... So one has to wonder if the op is
 creating the problems...
 
 Things like kicking someone reading impaired, because they are a bit slow...
 
 Or the latest gem using kicks to argue with other ops.
 
 As the worst examples lately.
 
 Could we please re-educate the #Gentoo ops and get them to have a bit
 more professionalism and tact or maybe consider that not everyone has
 the skills to be a good community representative.

I got banned from the channel for posting this to the list...

Oh well, it hurts the Gentoo community more than me, I was simply doing
my part to help out people, farewell and I'm sorry I can't be there to
help out anymore, but thats just the way things work around here at the
moment.



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] mounting USB stick

2007-08-18 Thread Florian Philipp
Am Samstag 18 August 2007 04:51:50 schrieb Crayon Shin Chan:
 On Saturday 18 August 2007 06:30, Philip Webb wrote:
  I've successfully mounted the stick  copied a file onto it:
  it seems you have to 'umount' it before the file is really stored.

 For performance reasons a write-cache is used - changes to the filesystem
 aren't effected immediately. Issuing a 'sync' command or 'umount' will
 force the changes to be written immediately.

It's not only for performance reasons. This behavior saves the stick from 
unnecessary  writes to the FAT or temporary files which would otherwise 
decrease its lifespan.




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


[gentoo-user] Updating a package on a box with no network

2007-08-18 Thread Mick
Hi All,

I am trying to update a single package (gentoo-sources-2.6.22-r2) on a machine 
that has no network (borked NIC driver).

I transferred manually the ebuild files and the source file  patches, but it 
tells me that the package is masked (masked by: corruption).  Apparently, the 
relevant ebuild file is not in the Manifest.

What do I need to do to be able to emerge this kernel? 
-- 
Regards,
Mick


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


Re: [gentoo-user] #Gentoo

2007-08-18 Thread Norman Rieß
Steen Eugen Poulsen schrieb:
 Steen Eugen Poulsen skrev:
   
 Every day for around a hour the same op comes around and their is always
 trouble for some reason in that short period. The channel works
 perfectly the other 23 hours a day... So one has to wonder if the op is
 creating the problems...

 Things like kicking someone reading impaired, because they are a bit slow...

 Or the latest gem using kicks to argue with other ops.

 As the worst examples lately.

 Could we please re-educate the #Gentoo ops and get them to have a bit
 more professionalism and tact or maybe consider that not everyone has
 the skills to be a good community representative.
 

 I got banned from the channel for posting this to the list...

 Oh well, it hurts the Gentoo community more than me, I was simply doing
 my part to help out people, farewell and I'm sorry I can't be there to
 help out anymore, but thats just the way things work around here at the
 moment.

   
Sad to hear things like that.
If you still want to help, you could use the #gentoo channels on the
other big IRC-Networks.
They are mostly not so crowded than the official channel, but a hundred
people are in some of them though.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Updating a package on a box with no network

2007-08-18 Thread Neil Bothwick
Hello Mick,

 I transferred manually the ebuild files and the source file  patches,
 but it tells me that the package is masked (masked by: corruption).
 Apparently, the relevant ebuild file is not in the Manifest.

ebuild /path/to/ebuild manifest

A better solution is to copy the whole of the gentoo-sources directory
from the networked box as this includes the Manifest.


-- 
Neil Bothwick

You are a completely unique individual, just like everybody else.


signature.asc
Description: PGP signature


Re: [gentoo-user] Merlin XU870

2007-08-18 Thread Florian Philipp
Am Donnerstag 16 August 2007 20:28:43 schrieb Florian Philipp:
 Am Donnerstag 16 August 2007 13:03:40 schrieben Sie:
  Am Mittwoch 15 August 2007 21:07:49 schrieb Michael Gisbers:
   Am Mittwoch 15 August 2007 schrieb Florian Philipp:
Okay, I've found option.ko and airprime.ko. tail -f /var/log/messages
still doesn't output anything. Might that be a configuration issue
(syslog-ng? kernel?)?
  
   Which kernel do you use?
 
  suspend2-2.6.22-r1
 
  I fact, this machine NEVER produced any output to /var/log/messages. It's
  completely empty. Its only content is the gzip-header when logrotate
  compresses the empty file once a week.

 /var/log/messages works now. (syslog-ng's sync had to be set to 1).

 Unfortunately, that does not solve my problem. airprime, option, usbserial
 and ftdi_sio are compiled as modules and loaded. Yet, I still don't get
 anything useful on tail -f /var/log/messages.

 Might it be due to the fact that I have to use an adapter (shipped with the
 card, works with Windows)?

Just to complete the image, this is the output of umtsmon -v5

umtsmon version 0.6 .
set verbosity level to 5
installing text SIGABRT handler
INFO: '2.6 kernel found'
INFO: 'sysfs found, mounted on /sys'
USB iteration: vendorID/ProductID = 0x413c:a005
  unknown USB Device '(null)' '(null)'
BAD: 'no known USB device found'
INFO: 'pcmcia_core kernel support (yenta) found'
INFO: 'PCMCIA kernel module found - cardctl support possible'
INFO: 'pcmcia browsing available'
INFO: 'Detected NEC-based usb2serial PCMCIA card'
INFO: 'subvendor equals vendor detected. Is there an adapter around your 
card?'
INFO: 'Anyway, we think we can handle this one by doing direct USB analysis.'
INFO: 'no serial_cs capable device found'
INFO: 'No Phone Modem found'
INFO: 'Nothing detected yet - let's check for usb2serial in general'
BAD: 'no usbserial ports found that are linked to PCMCIA'
KILLING: 'no USB2Serial found, I'm out of options now...'
*** CRITICAL ERROR: Device detection not successful.


  *** umtsmon version 0.6 closed due to an unrecoverable program error.



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


Re: [gentoo-user] recovering corrupted portage

2007-08-18 Thread Iain Buchanan
On Sat, 2007-08-18 at 02:21 +0200, Bo Ørsted Andresen wrote:

 `revdep-rebuild -X --library libexpat.so.0`. And make sure it remerges both 
 fontconfig and gtk+-2.x (amongst a lot of other stuff). If you have more 
 problems with this feel free to ask again.

I think the -X is implied on the new revdep-rebuild, so you may want
to try without -X, see if you get an error.  And to get the previous
behaviour with the new revdep-rebuild I think you'd use -e.
-- 
Iain Buchanan iaindb at netspace dot net dot au

It is often the case that the man who can't tell a lie thinks he is the best
judge of one.
-- Mark Twain, Pudd'nhead Wilson's Calendar

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] #Gentoo

2007-08-18 Thread Bo Ørsted Andresen
On Saturday 18 August 2007 10:05:32 Steen Eugen Poulsen wrote:
  Could we please re-educate the #Gentoo ops and get them to have a bit
  more professionalism and tact or maybe consider that not everyone has
  the skills to be a good community representative.

 I got banned from the channel for posting this to the list...

Really? What makes you think that would be the cause?

 Oh well, it hurts the Gentoo community more than me, I was simply doing
 my part to help out people, farewell and I'm sorry I can't be there to
 help out anymore, but thats just the way things work around here at the
 moment.

There are proper channels for this you know. If #gentoo-ops can't help there's 
also #gentoo-userrel (or [EMAIL PROTECTED] or [EMAIL PROTECTED] if you prefer 
email). Even if I did agree about there being a problem #gentoo certainly is 
the wrong place to address it and this mailing list is mostly useless for the 
purpose.

-- 
Bo Andresen


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


Re: [gentoo-user] recovering corrupted portage

2007-08-18 Thread Bo Ørsted Andresen
On Saturday 18 August 2007 16:40:34 Iain Buchanan wrote:
 On Sat, 2007-08-18 at 02:21 +0200, Bo Ørsted Andresen wrote:
  `revdep-rebuild -X --library libexpat.so.0`. And make sure it remerges
  both fontconfig and gtk+-2.x (amongst a lot of other stuff). If you have
  more problems with this feel free to ask again.

 I think the -X is implied on the new revdep-rebuild, so you may want
 to try without -X, see if you get an error.  And to get the previous
 behaviour with the new revdep-rebuild I think you'd use -e.

True, (hadn't noticed) although I doubt he's using the new revdep-rebuild 
since it's not stable and only stable systems are affected by the recent 
expat breakage. ;)

-- 
Bo Andresen


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


Re: [gentoo-user] Updating a package on a box with no network

2007-08-18 Thread Mick
On Saturday 18 August 2007, Neil Bothwick wrote:
 Hello Mick,

  I transferred manually the ebuild files and the source file  patches,
  but it tells me that the package is masked (masked by: corruption).
  Apparently, the relevant ebuild file is not in the Manifest.

 ebuild /path/to/ebuild manifest

 A better solution is to copy the whole of the gentoo-sources directory
 from the networked box as this includes the Manifest.

Thank you.

Copying over the manifest file didn't do it, so I ran your suggested command 
and it looks good so far.

-- 
Regards,
Mick


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


[gentoo-user] SLAB or SLUB in the kernel?

2007-08-18 Thread Mick
Which of the two is it suitable for a desktop?
-- 
Regards,
Mick


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


[gentoo-user] Suspend or sleep *ON A DESKTOP PC*?

2007-08-18 Thread Walter Dnes
  This is getting frustrating.  All my searching turns up stuff that
involves responding to some event that is triggered by closing the lid
on a laptop.  That is obviously not going to happen on a desktop PC.
I've got a few reasons for wanting the desktop to suspend, or at least
sleep...

  1) Save wear and tear on the drive for the major part of the day when
I'm not using the machine

  2) Ontario (especially Toronto) runs close to the limit of electrical
capacity during hot summer days and the authorities want us to conserve

  3) Did I mention that I've just moved to a newer condo, where every
suite is on their own electrical meterg ?

  Normal rebooting is a pain, because I usually run with 3 or 4 text
consoles logged in for different functions, as well as an X session.  So
what do I have to do to get a *DESKTOP* PC to suspend to disk (preferred)
or to ram (second choice)?

-- 
Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
Q. Mr. Ghandi, what do you think of Microsoft security?
A. I think it would be a good idea.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Suspend or sleep *ON A DESKTOP PC*?

2007-08-18 Thread Florian Philipp
Am Samstag 18 August 2007 20:01:15 schrieb Walter Dnes:
   This is getting frustrating.  All my searching turns up stuff that
 involves responding to some event that is triggered by closing the lid
 on a laptop.  That is obviously not going to happen on a desktop PC.
 I've got a few reasons for wanting the desktop to suspend, or at least
 sleep...

   1) Save wear and tear on the drive for the major part of the day when
 I'm not using the machine

   2) Ontario (especially Toronto) runs close to the limit of electrical
 capacity during hot summer days and the authorities want us to conserve

   3) Did I mention that I've just moved to a newer condo, where every
 suite is on their own electrical meterg ?

   Normal rebooting is a pain, because I usually run with 3 or 4 text
 consoles logged in for different functions, as well as an X session.  So
 what do I have to do to get a *DESKTOP* PC to suspend to disk (preferred)
 or to ram (second choice)?

 --

My tip: Use suspend2-sources (AFAIK normal gentoo-sources+suspend2 patch) and 
sys-apps/suspend2-userui. They come with nice hibernate and hibernate-ram 
scripts. I think there is a howto somewhere, just google (or use google's 
chache if the wiki is still down).

I'm sure you can bind these scripts to pressing the power button with acpi but 
I don't know how. I use a hotkey and sudo-settings for that.

Hibernate (suspend to disk) should work fine as long as there are no critical 
drivers. Hibernate-ram might or might not work.




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


Re: [gentoo-user] SLAB or SLUB in the kernel?

2007-08-18 Thread Florian Philipp
Am Samstag 18 August 2007 19:38:01 schrieb Mick:
 Which of the two is it suitable for a desktop?

Both should work fine. As far as I can remember SLUB was created because of 
SLAB's huge overhead on clusters with more than 100 processors.

SLAB is well tested. SLUB is less complex and might give you a little more 
speed (I think I've read something about 1-5% but I can't remember the test 
system)


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


[gentoo-user] kdelibs wont compile

2007-08-18 Thread gentoo
Today after an emerge update the system wants to update to kde 3.5.7 
However I've run into a major problem, kdelibs wont compile
It keeps stopping at the following point:

checking for Qt... configure: error: Qt (= Qt 3.3 and  4.0) (library
qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/kde-base/kdelibs-3.5.5-r10/work/kdelibs-3.5.5/config.log

!!! ERROR: kde-base/kdelibs-3.5.5-r10 failed.
Call stack:
  ebuild.sh, line 1632:   Called dyn_compile
  ebuild.sh, line 983:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  kdelibs-3.5.5-r10.ebuild, line 165:   Called kde_src_compile
  kde.eclass, line 170:   Called kde_src_compile 'all'
  kde.eclass, line 340:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 322:   Called econf '--with-distribution=Gentoo'
'--disable-fast-malloc' '--disable-libfam' '--enable-dnotify'
'--with-libart' '--with-libidn' '--without-acl' '--with-ssl'
'--with-alsa' '--without-arts' '--without-gssapi' '--without-tiff'
'--without-jasper' '--without-openexr' '--enable-cups' '--with-utempter'
'--without-lua' '--enable-sendfile' '--enable-mitshm' '--without-aspell'
'--disable-dnssd' '--without-hspell'
'--with-rgbfile=/usr/share/X11/rgb.txt' '--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' '--datadir=/usr/kde/3.5/share'
'--sysconfdir=/usr/kde/3.5/etc'
  ebuild.sh, line 586:   Called die

!!! 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/kdelibs-3.5.5-r10/temp/build.log'.

I have qt 3.3.8-r3 and qt 4.3.0-r2 installed
How can the latest stable version of kdelibs not function with the latest
stable version of qt?
Also I don't understand what is meant by Make sure that you have compiled
Qt with thread support! I can't see a flag for thread support when I do
emerge -pv qt

Any help would be most appreciated
Matt
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Internet bridge

2007-08-18 Thread Dan Farrell
On Tue, 14 Aug 2007 14:56:13 +0200
Etaoin Shrdlu [EMAIL PROTECTED] wrote:

 What interfaces was the win2003 server using previously for bridging
 and connecting to the Internet?

I'm not entirely sure windows 'bridging' is equivalent to linux Ethernet
bridging.  Specifically, wouldn't linux Ethernet bridging require
external IP addresses for all the computers behind the bridge?  The
ISP's router isn't going to know how to route packets back to you on a
private address, is it?  

Furthermore, don't you want a firewall between your LAN and the
internet?  Even if your ISP will hand out DHCP leases to your internal
hosts (I _think_ those will pass through an Ethernet bridge), it would
mean that all those hosts are gonna be sitting on the Internet.
Probably not an especially good idea.  Of course, you could run a
firewall on the bridge (transparent bridging firewall) but I don't
think that's wise.  For one thing, all the problems you suffer from
currently are probably going to surface again.  For another,
transparent firewalls are allegedly difficult to configure and very
tricky to troubleshoot.  

At any rate, I bet the iptables module does something.  My guess is
that if you can figure out how to properly configure it, it will work
for you.  Although there's no guarantee, this is certainly something to
work on.  

Another option is adding another network device to the server.  Plug
one into the ISP and two into the internal switch.  Bridge the external
and one internal.  Firewall the other internal.  Route phone traffic to
the bridge, rest through the firewall.  I don't know if that's just a
hairbrained scheme or would actually work, but am interested in your
responses.  

Best of luck, and thanks for replacing windows ; ) it makes me happy.  
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kdelibs wont compile

2007-08-18 Thread Bo Ørsted Andresen
On Saturday 18 August 2007 21:05:52 [EMAIL PROTECTED] wrote:
 Today after an emerge update the system wants to update to kde 3.5.7
 However I've run into a major problem, kdelibs wont compile
 It keeps stopping at the following point:

 checking for Qt... configure: error: Qt (= Qt 3.3 and  4.0) (library
 qt-mt) not found. Please check your installation!
 For more details about this problem, look at the end of config.log.
 Make sure that you have compiled Qt with thread support!

 !!! Please attach the following file when filing a report to
 bugs.gentoo.org: !!!
 /var/tmp/portage/kde-base/kdelibs-3.5.5-r10/work/kdelibs-3.5.5/config.log
[SNIP]
 I have qt 3.3.8-r3 and qt 4.3.0-r2 installed

 How can the latest stable version of kdelibs not function with the latest
 stable version of qt?

kdelibs-3.x requires qt-3.x so 4.x is irrelevant.

 Also I don't understand what is meant by Make sure that you have compiled
 Qt with thread support! I can't see a flag for thread support when I do
 emerge -pv qt

Probably just means that qt-3.x is broken e.g. cause by the expat bump. Use 
revdep-rebuild to fix it (see the numerous recent threads on this list).

-- 
Bo Andresen


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


Re: [gentoo-user] Updating a package on a box with no network

2007-08-18 Thread Neil Bothwick
Hello Mick,

  A better solution is to copy the whole of the gentoo-sources directory
  from the networked box as this includes the Manifest.  

 Copying over the manifest file didn't do it, so I ran your suggested
 command and it looks good so far.

Copying the manifest file is not enough. Unless everything in the
directory matches the manifest, portage will refuse to install from it.


-- 
Neil Bothwick

And all the Borg left was this darn Macintosh...


signature.asc
Description: PGP signature


Re: [gentoo-user] kdelibs wont compile

2007-08-18 Thread gentoo


 Probably just means that qt-3.x is broken e.g. cause by the expat bump.
 Use
 revdep-rebuild to fix it (see the numerous recent threads on this list).

 --
 Bo Andresen

I'm in a right mess here.  I did a revdep-rebuild -p. It wanted to
rebuild, essentially all of kde-3.5.5, because I'm in the middle of a big
emerge, everything is missing libexpat, presumably because expat was early
in the emerge.  There was no mention of qt-3.3.8-r3, but of course the
first thing revdep-rebuild wants to rebuild is kdelibs which wont rebuild
because of the qt problem.
I've tried rebuilding qt-3.3.8-r3 but that wont rebuild either, it stops
with the following error messages:

collect2: ld returned 1 exit status
make[3]: *** [../../../bin/uic] Error 1
make[3]: Leaving directory
`/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/tools/designer/uic'
make[2]: *** [sub-uic] Error 2
make[2]: Leaving directory
`/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/tools/designer'
make[1]: *** [sub-designer] Error 2
make[1]: Leaving directory
`/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/tools'
make: *** [sub-tools] Error 2

!!! ERROR: x11-libs/qt-3.3.8-r3 failed.
Call stack:
  ebuild.sh, line 1632:   Called dyn_compile
  ebuild.sh, line 983:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  qt-3.3.8-r3.ebuild, line 214:   Called die

!!! (no error message)
!!! 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/x11-libs/qt-3.3.8-r3/temp/build.log'.

So where do I go from here?

Matt

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] SLAB or SLUB in the kernel?

2007-08-18 Thread Volker Armin Hemmann
On Samstag, 18. August 2007, Mick wrote:
 Which of the two is it suitable for a desktop?

SLAB

slub is still very experimental, not well tested and extremly buggy.

Don't use slub except on test systems.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kdelibs wont compile

2007-08-18 Thread Volker Armin Hemmann
On Samstag, 18. August 2007, [EMAIL PROTECTED] wrote:
  Probably just means that qt-3.x is broken e.g. cause by the expat bump.
  Use
  revdep-rebuild to fix it (see the numerous recent threads on this list).
 
  --
  Bo Andresen

 I'm in a right mess here.  I did a revdep-rebuild -p. It wanted to
 rebuild, essentially all of kde-3.5.5, because I'm in the middle of a big
 emerge, everything is missing libexpat, presumably because expat was early
 in the emerge.  There was no mention of qt-3.3.8-r3, but of course the
 first thing revdep-rebuild wants to rebuild is kdelibs which wont rebuild
 because of the qt problem.
 I've tried rebuilding qt-3.3.8-r3 but that wont rebuild either, it stops
 with the following error messages:

 collect2: ld returned 1 exit status
 make[3]: *** [../../../bin/uic] Error 1
 make[3]: Leaving directory
 `/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/tools/designe
r/uic' make[2]: *** [sub-uic] Error 2
 make[2]: Leaving directory
 `/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/tools/designe
r' make[1]: *** [sub-designer] Error 2
 make[1]: Leaving directory
 `/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/tools'
 make: *** [sub-tools] Error 2

 !!! ERROR: x11-libs/qt-3.3.8-r3 failed.
 Call stack:
   ebuild.sh, line 1632:   Called dyn_compile
   ebuild.sh, line 983:   Called qa_call 'src_compile'
   ebuild.sh, line 44:   Called src_compile
   qt-3.3.8-r3.ebuild, line 214:   Called die

 !!! (no error message)
 !!! 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/x11-libs/qt-3.3.8-r3/temp/build.log'.

 So where do I go from here?

 Matt

with a little bit more information - like stuff that was before the error. 
Also look again at the output of revdep-rebuilt (just run revdep-rebuilt, DO 
NOT run revdep-rebuilt -X expatblabla) ignore the kde packages, have a look 
at the rest. What else is there?
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kdelibs wont compile

2007-08-18 Thread Bo Ørsted Andresen
On Saturday 18 August 2007 22:43:52 [EMAIL PROTECTED] wrote:
 There was no mention of qt-3.3.8-r3, but of course the first thing
 revdep-rebuild wants to rebuild is kdelibs which wont rebuild because of the
 qt problem. 

Probably bug #188782. Make sure you have the latest version of portage (at 
least 2.1.2.12).

-- 
Bo Andresen


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


Re: [gentoo-user] SLAB or SLUB in the kernel?

2007-08-18 Thread Jerry McBride
On Saturday 18 August 2007 04:51:20 pm Volker Armin Hemmann wrote:
 On Samstag, 18. August 2007, Mick wrote:
  Which of the two is it suitable for a desktop?

 SLAB

 slub is still very experimental, not well tested and extremly buggy.

 Don't use slub except on test systems.

That said, slub is running very well here on an internal nntp server... no 
problems but no real, measureable performance boost.

Cheers.

-- 


From the Desk of: Jerome D. McBride
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] SLAB or SLUB in the kernel?

2007-08-18 Thread Florian Philipp
Am Samstag 18 August 2007 22:51:20 schrieb Volker Armin Hemmann:
 On Samstag, 18. August 2007, Mick wrote:
  Which of the two is it suitable for a desktop?

 SLAB

 slub is still very experimental, not well tested and extremly buggy.

 Don't use slub except on test systems.

I wouldn't recommend it on production systems but it's not 
marked experimental in the kernel config, right? At least for me (AMD64 X2 
and Intel Celeron (64bit)) it works without problems, yet (uptime: two days).


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


Re: [gentoo-user] kdelibs wont compile

2007-08-18 Thread Alex Schuster
[EMAIL PROTECTED] writes:

 Today after an emerge update the system wants to update to kde 3.5.7
 However I've run into a major problem, kdelibs wont compile
 It keeps stopping at the following point:

 checking for Qt... configure: error: Qt (= Qt 3.3 and  4.0) (library
 qt-mt) not found. Please check your installation!
 For more details about this problem, look at the end of config.log.
 Make sure that you have compiled Qt with thread support!

I bet this comes from your recent update of expat from 1.x to 2.x., I had 
the same error I think. Because I did not have time to work this out yet, 
I just downgraded expat back to 1.x by adding 
=dev-libs/expat-2
to /etc/portage/package.mask. The real solution would be to use 
revdep-rebuild, but from what I read it seems that does not always solve 
all the issues.

Check this list for some recent postings about that topic, there are some 
threads (sorry, no time to find them for you as I'm in a hurry right now, 
but some have expat in their subject). Or look at forums.gentoo.org and 
search for expat, I'm sure you will find something.

Alex
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] SLAB or SLUB in the kernel?

2007-08-18 Thread Volker Armin Hemmann
On Samstag, 18. August 2007, Florian Philipp wrote:
 Am Samstag 18 August 2007 22:51:20 schrieb Volker Armin Hemmann:
  On Samstag, 18. August 2007, Mick wrote:
   Which of the two is it suitable for a desktop?
 
  SLAB
 
  slub is still very experimental, not well tested and extremly buggy.
 
  Don't use slub except on test systems.

 I wouldn't recommend it on production systems but it's not
 marked experimental in the kernel config, right? At least for me (AMD64
 X2 and Intel Celeron (64bit)) it works without problems, yet (uptime: two
 days).


http://marc.info/?l=linux-kernelw=2r=1s=SLUBq=b

just have a look for yourself.

Or go to the gentoo forum. One recent thread had some reports about SLUB bugs.

Something does not need to be marked experimental to be experimental.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kdelibs wont compile

2007-08-18 Thread Volker Armin Hemmann
On Samstag, 18. August 2007, Alex Schuster wrote:
 [EMAIL PROTECTED] writes:
  Today after an emerge update the system wants to update to kde 3.5.7
  However I've run into a major problem, kdelibs wont compile
  It keeps stopping at the following point:
 
  checking for Qt... configure: error: Qt (= Qt 3.3 and  4.0) (library
  qt-mt) not found. Please check your installation!
  For more details about this problem, look at the end of config.log.
  Make sure that you have compiled Qt with thread support!

 I bet this comes from your recent update of expat from 1.x to 2.x., I had
 the same error I think. Because I did not have time to work this out yet,
 I just downgraded expat back to 1.x by adding

 =dev-libs/expat-2

 to /etc/portage/package.mask. The real solution would be to use
 revdep-rebuild, but from what I read it seems that does not always solve
 all the issues.

it does, if you run revdep-rebuilt without options.


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Suspend or sleep *ON A DESKTOP PC*?

2007-08-18 Thread b.n.
Walter Dnes ha scritto:
   This is getting frustrating.  All my searching turns up stuff that
 involves responding to some event that is triggered by closing the lid
 on a laptop.  That is obviously not going to happen on a desktop PC.
 I've got a few reasons for wanting the desktop to suspend, or at least
 sleep...
 
   1) Save wear and tear on the drive for the major part of the day when
 I'm not using the machine
 
   2) Ontario (especially Toronto) runs close to the limit of electrical
 capacity during hot summer days and the authorities want us to conserve
 
   3) Did I mention that I've just moved to a newer condo, where every
 suite is on their own electrical meterg ?
 
   Normal rebooting is a pain, because I usually run with 3 or 4 text
 consoles logged in for different functions, as well as an X session.  So
 what do I have to do to get a *DESKTOP* PC to suspend to disk (preferred)
 or to ram (second choice)?
 

Really interesting issue. If you are successful and can come up with an
HOWTO, drop a mail here :)

By the way, why suspend-to-ram is second choice? Shouldn't it be much
faster? I don't know that much about suspend issues (heck, I even don't
have a laptop), so I'd like to know.

m.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kdelibs wont compile

2007-08-18 Thread gentoo


 it does, if you run revdep-rebuilt without options.


 --
 [EMAIL PROTECTED] mailing list


Right, Ignoring all the kde and media stuff in the revdep-rebuild -p
output leaves the following packages:
dev-libs/apr-util-1.2.8
dev-libs/apr-util-0.9.12-r1
x11-libs/pango-1.16.4
x11-libs/wxGTK-2.6.3.3

In answer to the other question, I'm using portage-2.1.2.11

The output from the faile qt-3.3.8-r3 rebuild prior to the error is:

usr/X11R6/lib/libfontconfig.so: undefined reference to
`XML_SetCharacterDataHa$
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ErrorString'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParseBuffer'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParserCreate'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_SetUserData'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_GetErrorCode'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_GetBuffer'
/usr/X11R6/lib/libfontconfig.so: undefined reference to
`XML_GetCurrentLineNumbers'
collect2: ld returned 1 exit status
make[3]: *** [../../../bin/uic] Error 1

Matt

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Suspend or sleep *ON A DESKTOP PC*?

2007-08-18 Thread Florian Philipp
Am Samstag 18 August 2007 23:57:02 schrieb b.n.:
 Walter Dnes ha scritto:
This is getting frustrating.  All my searching turns up stuff that
  involves responding to some event that is triggered by closing the lid
  on a laptop.  That is obviously not going to happen on a desktop PC.
  I've got a few reasons for wanting the desktop to suspend, or at least
  sleep...
 
1) Save wear and tear on the drive for the major part of the day when
  I'm not using the machine
 
2) Ontario (especially Toronto) runs close to the limit of electrical
  capacity during hot summer days and the authorities want us to conserve
 
3) Did I mention that I've just moved to a newer condo, where every
  suite is on their own electrical meterg ?
 
Normal rebooting is a pain, because I usually run with 3 or 4 text
  consoles logged in for different functions, as well as an X session.  So
  what do I have to do to get a *DESKTOP* PC to suspend to disk (preferred)
  or to ram (second choice)?

 Really interesting issue. If you are successful and can come up with an
 HOWTO, drop a mail here :)

 By the way, why suspend-to-ram is second choice? Shouldn't it be much
 faster? I don't know that much about suspend issues (heck, I even don't
 have a laptop), so I'd like to know.

 m.

My experience (partly on Windows): 

Whether or not suspend-to-ram is significantly faster depends on how good it 
is implemented by the BIOS.
On my desktops, it's not. You have to go through the whole POST and onboard 
controller initialization (a real pain if they come with an own BIOS). 
Therefore you can only skip Grub and reading the image by choosing STR.

On my laptop, STR is much faster. It doesn't take more than a few seconds.

Suspend-to-disk can easily be tweaked to be quiet fast:
1. Configure grub for a short timeout and/or an appropriate default setting.
2. activate suspend2's lzo compression (refer to their documentation or the 
gentoo-wiki for details) to reduce the amount of data written and read from 
disk

Additionally, suspend-to-disk has got the advantage that the image is 
preserved as long as its location (swap or file) is not touched. That means, 
you can use it for dual boot and then resume where you stopped. 


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


Re: [gentoo-user] kdelibs wont compile

2007-08-18 Thread gentoo


 it does, if you run revdep-rebuilt without options.


 --
 [EMAIL PROTECTED] mailing list


 Right, Ignoring all the kde and media stuff in the revdep-rebuild -p
 output leaves the following packages:
 dev-libs/apr-util-1.2.8
 dev-libs/apr-util-0.9.12-r1
 x11-libs/pango-1.16.4
 x11-libs/wxGTK-2.6.3.3

 In answer to the other question, I'm using portage-2.1.2.11

 The output from the faile qt-3.3.8-r3 rebuild prior to the error is:

 usr/X11R6/lib/libfontconfig.so: undefined reference to
 `XML_SetCharacterDataHa$
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ErrorString'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParseBuffer'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParserCreate'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_SetUserData'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_GetErrorCode'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_GetBuffer'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to
 `XML_GetCurrentLineNumbers'
 collect2: ld returned 1 exit status
 make[3]: *** [../../../bin/uic] Error 1

 Matt

OK, masking expat allowed me to rebuild qt-3.3.8-r8.  I've started
rebuilding kdelibs-3.5.7-r2 and it's got past where it stopped last time,
so fingers crossed I can finish the emerge now.
Obviously there is some issue with expat-2
Thanks for the advice
Matt
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kdelibs wont compile

2007-08-18 Thread Volker Armin Hemmann
On Sonntag, 19. August 2007, [EMAIL PROTECTED] wrote:
  it does, if you run revdep-rebuilt without options.
 
 
  --
  [EMAIL PROTECTED] mailing list

 Right, Ignoring all the kde and media stuff in the revdep-rebuild -p
 output leaves the following packages:
 dev-libs/apr-util-1.2.8
 dev-libs/apr-util-0.9.12-r1
 x11-libs/pango-1.16.4
 x11-libs/wxGTK-2.6.3.3

 In answer to the other question, I'm using portage-2.1.2.11

 The output from the faile qt-3.3.8-r3 rebuild prior to the error is:

 usr/X11R6/lib/libfontconfig.so: undefined reference to
 `XML_SetCharacterDataHa$
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ErrorString'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParseBuffer'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParserCreate'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_SetUserData'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_GetErrorCode'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_GetBuffer'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to
 `XML_GetCurrentLineNumbers'
 collect2: ld returned 1 exit status
 make[3]: *** [../../../bin/uic] Error 1

 Matt

so you have to rebuilt fontconfig first.
Then qt.
Everytime you get an error like this, the lib is linked against old expat. 
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kdelibs wont compile

2007-08-18 Thread Dale
[EMAIL PROTECTED] wrote:
 it does, if you run revdep-rebuilt without options.


 --
 [EMAIL PROTECTED] mailing list


 
 Right, Ignoring all the kde and media stuff in the revdep-rebuild -p
 output leaves the following packages:
 dev-libs/apr-util-1.2.8
 dev-libs/apr-util-0.9.12-r1
 x11-libs/pango-1.16.4
 x11-libs/wxGTK-2.6.3.3

 In answer to the other question, I'm using portage-2.1.2.11

 The output from the faile qt-3.3.8-r3 rebuild prior to the error is:

 usr/X11R6/lib/libfontconfig.so: undefined reference to
 `XML_SetCharacterDataHa$
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ErrorString'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParseBuffer'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParserCreate'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_SetUserData'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_GetErrorCode'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_GetBuffer'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to
 `XML_GetCurrentLineNumbers'
 collect2: ld returned 1 exit status
 make[3]: *** [../../../bin/uic] Error 1

 Matt

   
When I ran into this I had to recompile XML-Parser among a few others. 
That may help though.

Dale

:-)  :-)


Re: [gentoo-user] kdelibs wont compile

2007-08-18 Thread Volker Armin Hemmann
On Sonntag, 19. August 2007, [EMAIL PROTECTED] wrote:
  it does, if you run revdep-rebuilt without options.
 
 
  --
  [EMAIL PROTECTED] mailing list
 
  Right, Ignoring all the kde and media stuff in the revdep-rebuild -p
  output leaves the following packages:
  dev-libs/apr-util-1.2.8
  dev-libs/apr-util-0.9.12-r1
  x11-libs/pango-1.16.4
  x11-libs/wxGTK-2.6.3.3
 
  In answer to the other question, I'm using portage-2.1.2.11
 
  The output from the faile qt-3.3.8-r3 rebuild prior to the error is:
 
  usr/X11R6/lib/libfontconfig.so: undefined reference to
  `XML_SetCharacterDataHa$
  /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ErrorString'
  /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParseBuffer'
  /usr/X11R6/lib/libfontconfig.so: undefined reference to
  `XML_ParserCreate' /usr/X11R6/lib/libfontconfig.so: undefined reference
  to `XML_SetUserData' /usr/X11R6/lib/libfontconfig.so: undefined reference
  to `XML_GetErrorCode' /usr/X11R6/lib/libfontconfig.so: undefined
  reference to `XML_GetBuffer' /usr/X11R6/lib/libfontconfig.so: undefined
  reference to
  `XML_GetCurrentLineNumbers'
  collect2: ld returned 1 exit status
  make[3]: *** [../../../bin/uic] Error 1
 
  Matt

 OK, masking expat allowed me to rebuild qt-3.3.8-r8.  I've started
 rebuilding kdelibs-3.5.7-r2 and it's got past where it stopped last time,
 so fingers crossed I can finish the emerge now.
 Obviously there is some issue with expat-2
 Thanks for the advice
 Matt

NO! don't mask expat!

There is some reason why it got stable. expats current form is out for ages.

emerge latest expat, emerge fontconfig, emerge qt and everything else broken.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kdelibs wont compile

2007-08-18 Thread Bo Ørsted Andresen
On Sunday 19 August 2007 00:05:44 [EMAIL PROTECTED] wrote:
 In answer to the other question, I'm using portage-2.1.2.11

Soo.. as said. You should fix that. That will change the order in which 
revdep-rebuild rebuilds things..

-- 
Bo Andresen


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


Re: [gentoo-user] [OT] bash script advice/criticism wanted

2007-08-18 Thread felix
On Sat, Aug 18, 2007 at 09:00:45PM -0500, ?Q? wrote:

 The script is at http://remarqs.net/misc/mids2urls.sh.txt.  Feel free
 to reply to me off-list (or just to flame me) if you think this kind of
 non-Gentoo-specific stuff has no place here.

I took a quick look and about the only advice I'd give is ... use
perl! or python or ruby, or whatever language rocks your boat.

I learned perl because a small project I did involved text processing
and it got uglier and uglier the more I tried to trick awk, sed, grep,
sort, and all the usual suspects into doing the job.  I finally
decided to learn perl and did that and got the job done in half the
time I had spent trying the usual suspects.  Since then, I have gone
straight to perl for any script which has to do anything as fancy as
get options or parse text.

Bash makes scripting more powerful than the old bourne shell, but it
doesn't make it any easier.

I know it's not the advice you wanted :-)

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: [OT] bash script advice/criticism wanted

2007-08-18 Thread »Q«
[EMAIL PROTECTED] wrote:

 On Sat, Aug 18, 2007 at 09:00:45PM -0500, ?Q? wrote:
 
  The script is at http://remarqs.net/misc/mids2urls.sh.txt.  Feel
  free to reply to me off-list (or just to flame me) if you think
  this kind of non-Gentoo-specific stuff has no place here.
 
 I took a quick look and about the only advice I'd give is ... use
 perl! or python or ruby, or whatever language rocks your boat.
 
 I learned perl because a small project I did involved text processing
 and it got uglier and uglier the more I tried to trick awk, sed, grep,
 sort, and all the usual suspects into doing the job.  I finally
 decided to learn perl and did that and got the job done in half the
 time I had spent trying the usual suspects.  Since then, I have gone
 straight to perl for any script which has to do anything as fancy as
 get options or parse text.

I'm ok with grep and sed s, but not much more.  I guess I'll (try to)
learn perl if I have any serious text processing to do.  But for now,
I'm going to be stubborn and stick with bash.

 Bash makes scripting more powerful than the old bourne shell, but it
 doesn't make it any easier.
 
 I know it's not the advice you wanted :-)

Heh, I can't always get what I want 

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] [OT] bash script advice/criticism wanted

2007-08-18 Thread Bo Ørsted Andresen
On Sunday 19 August 2007 04:00:45 »Q« wrote:
 It works as it is, but I'm interested in learning about any newbie traps
 into which I might be falling or about any better practices I should
 use. This is my first attempt at printing a usage message or parsing
 arguments.

 The script is at http://remarqs.net/misc/mids2urls.sh.txt.  Feel free
 to reply to me off-list (or just to flame me) if you think this kind of
 non-Gentoo-specific stuff has no place here.

It's hardly the best place to ask this kind of question but anyway.. :p

The most noticeable thing which is wrong with this script is the quoting inside
the brackets [  ]. Since you use bash you should just use [[  ]] instead
(which makes most of the quoting in them unneeded..). Also things like
[[ $foo ==  ]] should rather be [[ -n $foo ]] but that's a minor.

Finally the number of calls to grep, sed and tr clearly shows that you could
improve your knowledge about sed.. ;)

http://wooledge.org/mywiki/BashFAQ#head-b1c292ce2f4fdfa6a7b5389da1892d65b6f37cda

-- 
Bo Andresen


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


[gentoo-user] Re: [OT] bash script advice/criticism wanted

2007-08-18 Thread »Q«
On Sun, 19 Aug 2007 07:10:30 +0200
Bo Ørsted Andresen [EMAIL PROTECTED] wrote:

 On Sunday 19 August 2007 04:00:45 »Q« wrote:
  It works as it is, but I'm interested in learning about any newbie
  traps into which I might be falling or about any better practices I
  should use. This is my first attempt at printing a usage message or
  parsing arguments.
 
  The script is at http://remarqs.net/misc/mids2urls.sh.txt.  Feel
  free to reply to me off-list (or just to flame me) if you think
  this kind of non-Gentoo-specific stuff has no place here.
 
 It's hardly the best place to ask this kind of question but
 anyway.. :p

Yeah.  Thanks for having a look at it anyway.  Is there a list or group
that welcomes this kind of stuff? I looked but couldn't find one.

 The most noticeable thing which is wrong with this script is the
 quoting inside the brackets [  ]. Since you use bash you should just
 use [[  ]] instead (which makes most of the quoting in them
 unneeded..). Also things like [[ $foo ==  ]] should rather be [[ -n
 $foo ]] but that's a minor.

Thanks much.  And thanks for the link.

 Finally the number of calls to grep, sed and tr clearly shows that
 you could improve your knowledge about sed.. ;)

Yeah, very true.

 http://wooledge.org/mywiki/BashFAQ#head-b1c292ce2f4fdfa6a7b5389da1892d65b6f37cda

--
[EMAIL PROTECTED] mailing list