Re: [gentoo-user] OT : DSL modems changing ISP

2008-08-26 Thread Robert Bridge
On Tue, 26 Aug 2008 00:51:51 -0500
Dale [EMAIL PROTECTED] wrote:

 Philip Webb wrote:
  (2) IIRC I'm signed up for Gentoo lists as '[EMAIL PROTECTED]',
  so it looks as if I will need to resubscribe under the new ISP
  (I have a reply-to header pointing to my UoT address,
  but I delete it from e-mails to lists, as it caused problems in the
  past).
 
  Has anyone had other problems in this area I should know about
  (smile) ?
 

 
 When I changed ISPs a good while back, I did it this way.  Get my new 
 ISP and everything working as far as the connection and making sure 
 email works.  Once that is done, subscribe to the mailing list and 
 confirm the subscription.  After a little while you should start
 getting emails from the list.  After you are sure that you will be
 getting list emails to the new email account, you can unsubscribe
 from the old list.
 
 I have done this a couple times and it has always worked well for
 me. Hope that helps.

Or just run your own email server... It makes life so much easier. :)



Re: [gentoo-user] OT : DSL modems changing ISP

2008-08-26 Thread Alan McKinnon
On Tuesday 26 August 2008 08:06:38 Robert Bridge wrote:
  I have done this a couple times and it has always worked well for
  me. Hope that helps.

 Or just run your own email server... It makes life so much easier. :)

Or just get a gmail address for mailing lists, then there's no maintenance at 
all :-)

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] How to disable the display power save mode

2008-08-26 Thread Zhou Rui
2008/8/25 Mick [EMAIL PROTECTED]:
 On Monday 25 August 2008, Zhou Rui wrote:
 2008/8/25 Mick [EMAIL PROTECTED]:

  Or if you want to save the planet you could just press Alt every time you
  want to wake up the console screen - it works over here.


 You know, I'm testing some application would crash the system, so I need
 get the last output on console. If sometimes it turned blank, I have no
 chance to wake
 it up...

 I understand.  Did you try pressing the 'Alt' key, it wakes my console screen
 up alright.
 --
 Regards,
 Mick


Yep, this works. I think this is the normal Press any key to wake up
the monitor
mode, only defference is an 'Alt' key does not display any junk, it's
a clean waking.
Usually I use the 'down' key for this job.

-- 
BR,
Zhou Rui



[gentoo-user] [OT] stretching AVI in time

2008-08-26 Thread Andrew Gaydenko
Hi!

I have a very short (probably one or few frames) avi file (display geometry 
test image). How to stretch the avi in time to long period (say, minutes)? 
Software? Steps?



Re: [gentoo-user] hal-0.5.11-r1 and keyboard layout and input issues

2008-08-26 Thread Sascha Hlusiak
 Can anyone suggest how to revert to my xorg.conf configuration, and to
 make left shift a proper modifier key, again? Thank you,
 Liviu
The easiest way probably is to disable input hotplugging:

Put the following line in Section ServerFlags in the xorg.conf:
Option AutoAddDevices false


- Sascha


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


Re: [gentoo-user] [OT] stretching AVI in time

2008-08-26 Thread Willie Wong
On Tue, Aug 26, 2008 at 12:34:00PM +0400, Penguin Lover Andrew Gaydenko 
squawked:
 I have a very short (probably one or few frames) avi file (display geometry 
 test image). How to stretch the avi in time to long period (say, minutes)? 
 Software? Steps?


If you worry just about display, look at the -fps option in mplayer,
it lets you dictate the frame rate at which the movie is played.
(Though on this box here it doesn't let you stretch to ftime more than
1 sec) 

A possibly better way is to (assuming your video file has really few
frames)

  mplayer -vo jpeg videofile

beware that if your video file has more than a few seconds, the number
of frames can really pile up and give you a whole bunch of files. 

Then you can reencode the avi thus

  mencoder mf://000*jpg -mf fps=insert frame rate -o outputfile.avi -ovc 
lavc -lavcopts vcodec=mpeg4

(you can, of course, encode in the codec of your choosing). The files
000*jpg are the default filenames for the output of the first command.
If you specified output file names in the first command, you need to
change the input filenames for the second. For fps insert a number
corresponding to what you want: for example, say you have 5 frames and
want to stretch it to 2 minutes, then set

   fps=5/120

(number of frames divided by the amount of total run time). 

Hope this helps, 

W
-- 
Marten: That's like rule number one of dating-if the lady tells you
she wants to wait, you wait. Even if it means you get blueballed
so hard your nuts travel into the future due to relativistic effects. 
Dora: Ah, the Hawking Libido Dilation Effect. Bane of frustrated young
men and physicists alike.
Sortir en Pantoufles: up 627 days, 12:37



Re: [gentoo-user] [OT] stretching AVI in time

2008-08-26 Thread Andrew Gaydenko
=== On Tuesday 26 August 2008, Willie Wong wrote: ===
 On Tue, Aug 26, 2008 at 12:34:00PM +0400, Penguin Lover Andrew Gaydenko 
squawked:
  I have a very short (probably one or few frames) avi file (display
  geometry test image). How to stretch the avi in time to long period
  (say, minutes)? Software? Steps?

 If you worry just about display, look at the -fps option in mplayer,
 it lets you dictate the frame rate at which the movie is played.
 (Though on this box here it doesn't let you stretch to ftime more than
 1 sec)

 A possibly better way is to (assuming your video file has really few
 frames)

   mplayer -vo jpeg videofile

 beware that if your video file has more than a few seconds, the number
 of frames can really pile up and give you a whole bunch of files.

Done, there was a single frame.



 Then you can reencode the avi thus

   mencoder mf://000*jpg -mf fps=insert frame rate -o outputfile.avi
 -ovc lavc -lavcopts vcodec=mpeg4

 (you can, of course, encode in the codec of your choosing). The files
 000*jpg are the default filenames for the output of the first command.
 If you specified output file names in the first command, you need to
 change the input filenames for the second. For fps insert a number
 corresponding to what you want: for example, say you have 5 frames and
 want to stretch it to 2 minutes, then set

fps=5/120

 (number of frames divided by the amount of total run time).

 Hope this helps,

 W

Have got:

videocodec: libavcodec (720x576 fourcc=34504d46 [FMP4])
[mpeg4 @ 0x11004b0]bitrate tolerance too small for bitrate

Sorry, my initial message wasn't clear: the final goal is to prepare DVD to 
adjust a geometry of a TV with CRT.

P.S. Oh, this mencoder magic... :-)




[gentoo-user] Re: OT : DSL modems changing ISP

2008-08-26 Thread Grant Edwards
On 2008-08-26, Alan McKinnon [EMAIL PROTECTED] wrote:
 On Tuesday 26 August 2008 08:06:38 Robert Bridge wrote:
  I have done this a couple times and it has always worked well for
  me. Hope that helps.

 Or just run your own email server... It makes life so much easier. :)

 Or just get a gmail address for mailing lists, then there's no maintenance at 
 all :-)

Due to spammage problems, there are some lists/forums/whatever
that no longer allow gmail addresses to join.

-- 
Grant Edwards   grante Yow! I didn't order any
  at   WOO-WOO ... Maybe a YUBBA
   visi.com... But no WOO-WOO!




[gentoo-user] Re: building kde-meta

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


  Is is OK (a good idea) to place -nsl into the make.conf settings?

 Gut feel tells me to leave well enough alone in this case. 

Well, I did it anyway and all is fine. I intend to add
-nls, to servers, firewalls, routers, GNAP and such, but
not workstations (you never know what you'll need).

To me, the more you remove from a server (that is not needed)
the better (more stable/secure/faster/etc) the machine will
be. Many servers are challenged for disk space anyway, particular
the ones that run on CompactFlash drives.


Thanks to all for the input.


James








Re: [gentoo-user] Re: OT : DSL modems changing ISP

2008-08-26 Thread Philip Webb
080826 Grant Edwards wrote:
 On 2008-08-25, Philip Webb [EMAIL PROTECTED] wrote:
 I've decided to change my ISP from Sympatico to Uniserve
  need to check a couple of things re which others may have advice.
 (1) the best option seems to be to buy a DSL modem: Uniserve offers
Zoom x4 ADSL : = 8 Mbit/s (up 1 Mbit/s )
www.zoom.com/products/adsl_overview.html#5651 : works w Linux
 My understanding is that the kernel talks to the ethernet chip
 on the mobo, which in turn talks to the DSL modem, so there is
 no problem of having a DSL modem which Linux cannot work with.
 Am I correct ?
 The Zoom x4 DSL modem is an IP NAT/firewall/router.
 It contains a DHCP server, and Linux will work with it just fine.
 
Thanks  to the other respondents as well (big smile). 

I'm being very careful to minimise downtime or gotchas,
as the Internet has become 3rd in life after breathing  beer ...

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




[gentoo-user] prelink on AMD64 with no --conserve-memory

2008-08-26 Thread Nikos Chantziaras
(I originally posted this on gmane.linux.gentoo.amd64, but even though 
GMane authorized me to post there, my posts don't get through.  So I'm 
reposting it here.)


Usually, when prelinking a system, it's recommended to use prelink's 
-m (or --conserve-memory) option:


  When assigning addresses to libraries, allow overlap of
  address space slots provided that the two libraries are
  not present together in any of the binaries or libraries.
  This results in a smaller virtual address space range used
  for libraries.  On the other hand, if prelink sees a
  binary during incremental prelinking which puts together
  two libraries which were not present together in any other
  binary and were given the same virtual address space slots,
  then the binary cannot be prelinked.  Without this  option,
  each library is assigned a unique virtual address space
  slot.

But on AMD64, virtual address space is virtually unlimited (or at least 
very huge).  Are there any drawbacks in not using -m on AMD64?





Re: [gentoo-user] hal-0.5.11-r1 and keyboard layout and input issues

2008-08-26 Thread Liviu Andronic
Thank you a lot, Sascha.

On Tue, Aug 26, 2008 at 11:03 AM, Sascha Hlusiak [EMAIL PROTECTED] wrote:
 Put the following line in Section ServerFlags in the xorg.conf:
Option AutoAddDevices false

This worked like a charm. Would another solution be to re-compile
xorg-server with -hal?

Liviu



Re: [gentoo-user] hal-0.5.11-r1 and keyboard layout and input issues

2008-08-26 Thread Sascha Hlusiak
Am Dienstag 26 August 2008 20:06:57 schrieb Liviu Andronic:
 Thank you a lot, Sascha.

 On Tue, Aug 26, 2008 at 11:03 AM, Sascha Hlusiak [EMAIL PROTECTED] 
wrote:
  Put the following line in Section ServerFlags in the xorg.conf:
 Option AutoAddDevices false

 This worked like a charm. Would another solution be to re-compile
 xorg-server with -hal?
It would, but I find runtime-tuning much easier and transparent. 
input-hotplugging really is a fine thing, if you get a little time to 
configure it.

- Sascha


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


Re: [gentoo-user] prelink on AMD64 with no --conserve-memory

2008-08-26 Thread Volker Armin Hemmann
On Dienstag, 26. August 2008, Nikos Chantziaras wrote:
 (I originally posted this on gmane.linux.gentoo.amd64, but even though
 GMane authorized me to post there, my posts don't get through.  So I'm
 reposting it here.)

 Usually, when prelinking a system, it's recommended to use prelink's
 -m (or --conserve-memory) option:

When assigning addresses to libraries, allow overlap of
address space slots provided that the two libraries are
not present together in any of the binaries or libraries.
This results in a smaller virtual address space range used
for libraries.  On the other hand, if prelink sees a
binary during incremental prelinking which puts together
two libraries which were not present together in any other
binary and were given the same virtual address space slots,
then the binary cannot be prelinked.  Without this  option,
each library is assigned a unique virtual address space
slot.

 But on AMD64, virtual address space is virtually unlimited (or at least
 very huge).  Are there any drawbacks in not using -m on AMD64?

I have nerver used -m on amd64 and so far haven't suffered from problems.




[gentoo-user] dev-python/PyQt4

2008-08-26 Thread James

Hello,

It fails to build on one particular system:

Traceback (most recent call last):
  File configure.py, line 30, in module
import sipconfig
ImportError: No module named sipconfig
make: *** No targets specified and no makefile found.  Stop.

* ERROR: dev-python/PyQt4-4.3.3 failed.
 * Call stack:
 *   ebuild.sh, line   49:  Called src_compile
 * environment, line 2892:  Called die
 * The specific snippet of code:
 *   emake || die emake failed


I see the lines about configure.py and sipconfig,
but have no idea what to do about those issues.


equery depends PyQt4
shows noting depends on this package


Any suggestions as to unmerging it, fixing it,
or just wait a few days, sync up and see if it is 
fixed?


Ideas?

James




[gentoo-user] solved: dev-python/PyQt4

2008-08-26 Thread James
James wireless at tampabay.rr.com writes:

OOPS,

Further goolgling led me to bug
218874:

reemerging dev-python/sip fixed this bug for me.


fixed and closed.


James




Re: [gentoo-user] hal-0.5.11-r1 and keyboard layout and input issues

2008-08-26 Thread Liviu Andronic
On Tue, Aug 26, 2008 at 8:15 PM, Sascha Hlusiak [EMAIL PROTECTED] wrote:
 This worked like a charm. Would another solution be to re-compile
 xorg-server with -hal?
 It would, but I find runtime-tuning much easier and transparent.
 input-hotplugging really is a fine thing, if you get a little time to
 configure it.

If readily available, could you please point to some example fdi files
(or appropriate documentation)?
Thank you,
Liviu



Re: [gentoo-user] hal-0.5.11-r1 and keyboard layout and input issues

2008-08-26 Thread Sascha Hlusiak
Am Dienstag 26 August 2008 23:09:37 schrieb Liviu Andronic:
 On Tue, Aug 26, 2008 at 8:15 PM, Sascha Hlusiak [EMAIL PROTECTED] 
wrote:
  This worked like a charm. Would another solution be to re-compile
  xorg-server with -hal?
 
  It would, but I find runtime-tuning much easier and transparent.
  input-hotplugging really is a fine thing, if you get a little time to
  configure it.

 If readily available, could you please point to some example fdi files
 (or appropriate documentation)?
I suggest you leave the fdi file /usr/share/hal/... as it is and provide 
changes locally in /etc. Attached is my /etc/hal/fdi/policy/10-keymap.fdi 
file that I use to make it all German. Should be easily tweaked to your 
needs. But don't touch Model and Rules, since that needs to be evdev 
specific. You need to reload/restart hal after changing that file. And make 
sure that the keyboard layout in xfce/gnome/kde is set to evdev, NOT pc105, 
since that breaks the mapping again.


Good luck,

Sascha
?xml version=1.0 encoding=ISO-8859-1? !-- -*- SGML -*- --
deviceinfo version=0.2
  device
match key=info.capabilities contains=input.keys
  merge key=input.xkb.rules type=stringbase/merge
  merge key=input.xkb.model type=stringevdev/merge
  merge key=input.xkb.layout type=stringde/merge
  merge key=input.xkb.variant type=stringnodeadkeys/merge
/match
  /device
/deviceinfo



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


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

2008-08-26 Thread Dave Oxley

All,

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. So using 
fdisk I deleted partition 4 and recreated it from the same position 
which expanded the partition to 1.99TB. I later realised that it should 
have expanded to 2.24TB so I did some googling and found that you can't 
create a partition 2TB with fdisk. I found a page that suggested using 
GNU parted to create partitions of this size but it didn't mention 
whether this would work to expand a partition.


So basically does anyone have any experience moving from an fdisk 
partition table to a GNU parted partition table without losing 
filesystems, data, etc?


Cheers,
Dave.