[gentoo-user] Trying to install monodevelop

2016-08-22 Thread Tim Matthews
But fails on a pre-req:

>>> Install xdt-for-monodevelop-2.8.1 into
/mnt/hd/var/tmp/portage/dev-dotnet/xdt-for-monodevelop-2.8.1/image/
category dev-dotnet
 * Installing Microsoft.Web.XmlTransform.dll to GAC
Couldn't find machine.config

Unhandled Exception:
System.DllNotFoundException: libc
  at (wrapper managed-to-native) Mono.Tools.Driver:symlink (string,string)
  at Mono.Tools.Driver.Install (System.Boolean check_refs, System.String
name, System.String package, System.String gacdir, System.String
link_gacdir, System.String libdir, System.String link_libdir) [0x0044d] in
:0
  at Mono.Tools.Driver.Main (System.String[] args) [0x00394] in :0
[MVID] eb82f1b5ebb64ba7907675d3358c14b3 1,2
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: libc
  at (wrapper managed-to-native) Mono.Tools.Driver:symlink (string,string)
  at Mono.Tools.Driver.Install (System.Boolean check_refs, System.String
name, System.String package, System.String gacdir, System.String
link_gacdir, System.String libdir, System.String link_libdir) [0x0044d] in
:0
  at Mono.Tools.Driver.Main (System.String[] args) [0x00394] in :0
[MVID] eb82f1b5ebb64ba7907675d3358c14b3 1,2
 * ERROR: dev-dotnet/xdt-for-monodevelop-2.8.1::gentoo failed (install
phase):
 *   installing XmlTransform/bin/Release/Microsoft.Web.XmlTransform.dll
into the Global Assembly Cache failed
 *
 * Call stack:
 * ebuild.sh, line  133:  Called src_install
 *   environment, line 2156:  Called egacinstall
'XmlTransform/bin/Release/Microsoft.Web.XmlTransform.dll'
 *   environment, line  532:  Called die
 * The specific snippet of code:
 *   gacutil -i "${1}" -root "${ED}"/usr/$(get_libdir) -gacdir
/usr/$(get_libdir) -package ${2:-${GACPN:-${PN}}} || die "installing ${1}
into the Global Assembly Cache failed"
 *
 * If you need support, post the output of `emerge --info
'=dev-dotnet/xdt-for-monodevelop-2.8.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv
'=dev-dotnet/xdt-for-monodevelop-2.8.1::gentoo'`.
 * The complete build log is located at
'/mnt/hd/var/tmp/portage/dev-dotnet/xdt-for-monodevelop-2.8.1/temp/build.log'.
 * The ebuild environment file is located at
'/mnt/hd/var/tmp/portage/dev-dotnet/xdt-for-monodevelop-2.8.1/temp/environment'.
 * Working directory:
'/mnt/hd/var/tmp/portage/dev-dotnet/xdt-for-monodevelop-2.8.1/work/xdt-Release-NuGet-2.8.1-Mono'
 * S:
'/mnt/hd/var/tmp/portage/dev-dotnet/xdt-for-monodevelop-2.8.1/work/xdt-Release-NuGet-2.8.1-Mono'

>>> Failed to emerge dev-dotnet/xdt-for-monodevelop-2.8.1, Log file:


My /etc/mono/config looks like this:






































Any libc appears to be here:

# ls -l /lib/libc*
-rwxr-xr-x 1 root root 1681144 Jul 12 10:24 /lib/libc-2.22.so
lrwxrwxrwx 1 root root  12 Jul 12 10:24 /lib/libc.so.6 -> libc-2.22.so


Any ideas?

Thanks

Tim


[gentoo-user] acroread 9.5.5 segfault

2014-02-12 Thread Tim
I am trying to use acroread 9.5.5 only for its ability to display
animations. If I run:

$ ACRODEBUG=1 ACRO_CRASHLOG=1 acroread

and then try to open a file (or include the filename on the command line),
I simply get "Segmentation fault". If I try

$ acroread -DEBUG acroread

I get:

Loading PlugIn /opt/Adobe/Reader9/Reader/intellinux/plug_ins/Annots.api ...
[dlopen success for Annots.ap940]
Loading PlugIn /opt/Adobe/Reader9/Reader/intellinux/plug_ins/EScript.api
... [dlopen success for EScript.api, handle = 0xc60bf80]
Crashlog has been dumped in /tmp/acroCrashLogs/0212_2024_DKRaHb

where the contents of the crashlog is

/opt/bin/acroread [0x850ab41] [@0x8048000]
linux-gate.so.1(__kernel_sigreturn+0x0) [0xb77cd400] [@0xb77cd000]

I noticed a bug concerning the use of glibc-2.18, but I am using 2.17. I've
run 'emerge @preserved-rebuild', nothing was built. I got a confirmation
from someone on IRC about a working, standard setup, so I'm asking here
rather than on the Adobe forums.

Help!


Re: [gentoo-user] uzbl

2013-12-06 Thread Tim Millican
On Fri, Dec 06, 2013 at 03:28:22PM +0100, Elias Diem wrote:
> Hello there
> 
> I've got a problem with uzbl, a web browser.
> 
> The install works fine. I can also start the program. 
> However it seems that uzbl doesn't want to listen to any 
> keystrokes I type. For example 'o' to open an URL does 
> nothing.
> 
> Is anybody else here using uzbl and can help me with the 
> problem?
> 
> *  www-client/uzbl
>   Latest version available: 2011.04.12
>   Latest version installed: 2011.04.12
> 
> I run amd64.
> 
> Thanks.
> 
> -- 
> Greetings
> Elias
> 
> 
> 

I had the exact same problem when I switched, but its a pretty easy fix.
UZBL is written to use Python 2, so you either have to set that as your default
in `eselect python`, or change the shebang at the top of 
/usr/bin/uzbl-event-manager
to explicitly use Python2. (Change ''#!/usr/bin/env python' to '#!/usr/bin/env 
python2')


signature.asc
Description: Digital signature


Re: [gentoo-user] Problem building VMware Modul

2011-01-02 Thread Tim Sammut
On 01/02/2011 04:43 AM, 4k3nd0 wrote:
> Hi all,
> 
> i got trouble building the vmmon module for vmware workstation 7. I
> tried with the ebuild driver as the module from vmware himself. 
>

This is a known problem. There have been some threads on this in the
VMware forums.

http://search.vmware.com/search?cn=vmware&cc=www&client=VMware_Site&entqr=0&ud=1&output=xml_no_dtd&proxystylesheet=VMware_gsa_Site&site=VMware_Site_communities&ie=UTF-8&oe=UTF-8&q=workstation+linux+2.6.36

> 
> I don't know how to solve this problem. 
>

The threads above have a patch that will allow the modules to build, or
you can revert to <2.6.36 and wait for VMware to release an update.

hope this helps
tim

-- 
Tim Sammut ~ Gentoo Security Team
underl...@gentoo.org ~ C2375493



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: revdep trouble

2009-09-03 Thread Tim Jones
Post #2 from Mr. McKinnon is the question.
If, as it sounds like, you didn't let revdep-rebuild go ahead and
reemerge those packages itself, but rather you reemerged them
yourself, then I believe you will need to `revdep-rebuild -i` (see
manpage) to see if it has any other complaints. And there's nothing
unusual about broken dependencies after library upgrades... just let
revdep-rebuild rebuild the necessary packages for you, that's why it's
there.

On Thu, Sep 3, 2009 at 11:04 AM, walt wrote:
> On 09/03/2009 07:39 AM, econti wrote:
>>
>> Hi all
>> after two months I made a world upgrade. All went well, but when I ran
>> "revdep-rebuild" I received this:
>>
>> localhost ~ # revdep-rebuild
>> * Configuring search environment for revdep-rebuild
>>
>> * Checking reverse dependencies
>> * Packages containing binaries and libraries broken by a package update
>> * will be emerged.
>>
>> * Collecting system binaries and libraries
>> * Generated new 1_files.rr
>> * Collecting complete LD_LIBRARY_PATH
>> * Generated new 2_ldpath.rr
>> * Checking dynamic linking consistency
>> [ 46% ] * broken
>> /usr/lib64/gcc/x86_64-pc-linux-gnu/3.4.4/32/libstdc++.la (requires
>> -lgcc_s_32)
>> * broken /usr/lib64/gcc/x86_64-pc-linux-gnu/3.4.4/32/libsupc++.la
>> (requires -lgcc_s_32)
>> [ 51% ] * broken /usr/lib64/graphviz/libcircogen.la (requires -lneatogen)
>> * broken /usr/lib64/graphviz/libcircogen.la (requires -lgvrender)
>> * broken /usr/lib64/graphviz/libcircogen.la (requires -lcommon)
>> * broken /usr/lib64/graphviz/libdotgen.la (requires -lgvrender)
>> * broken /usr/lib64/graphviz/libdotgen.la (requires -lcommon)
>> * broken /usr/lib64/graphviz/libdotneato.la (requires -ldotgen)
>> * broken /usr/lib64/graphviz/libdotneato.la (requires -ltwopigen)
>> * broken /usr/lib64/graphviz/libdotneato.la (requires -lfdpgen)
>> * broken /usr/lib64/graphviz/libdotneato.la (requires -lcircogen)
>> * broken /usr/lib64/graphviz/libdotneato.la (requires -lneatogen)
>> * broken /usr/lib64/graphviz/libdotneato.la (requires -lgvrender)
>> * broken /usr/lib64/graphviz/libdotneato.la (requires -lcommon)
>> * broken /usr/lib64/graphviz/libfdpgen.la (requires -lneatogen)
>> * broken /usr/lib64/graphviz/libfdpgen.la (requires -lgvrender)
>> * broken /usr/lib64/graphviz/libfdpgen.la (requires -lcommon)
>> * broken /usr/lib64/graphviz/libgdtclft.la (requires -ltclstub8.4)
>> * broken /usr/lib64/graphviz/libgvrender.la (requires -lcommon)
>> * broken /usr/lib64/graphviz/libneatogen.la (requires -lgvrender)
>> * broken /usr/lib64/graphviz/libneatogen.la (requires -lcommon)
>> * broken /usr/lib64/graphviz/libtcldot.la (requires -ltclstub8.4)
>> * broken /usr/lib64/graphviz/libtcldot.la (requires -ldotgen)
>> * broken /usr/lib64/graphviz/libtcldot.la (requires -ltwopigen)
>> * broken /usr/lib64/graphviz/libtcldot.la (requires -lfdpgen)
>> * broken /usr/lib64/graphviz/libtcldot.la (requires -lcircogen)
>> * broken /usr/lib64/graphviz/libtcldot.la (requires -lneatogen)
>> * broken /usr/lib64/graphviz/libtcldot.la (requires -lgvrender)
>> * broken /usr/lib64/graphviz/libtcldot.la (requires -lcommon)
>> * broken /usr/lib64/graphviz/libtclplan.la (requires -ltclstub8.4)
>> * broken /usr/lib64/graphviz/libtkspline.la (requires -ltkstub8.4)
>> * broken /usr/lib64/graphviz/libtkspline.la (requires -ltclstub8.4)
>> * broken /usr/lib64/graphviz/libtwopigen.la (requires -lneatogen)
>> * broken /usr/lib64/graphviz/libtwopigen.la (requires -lgvrender)
>> * broken /usr/lib64/graphviz/libtwopigen.la (requires -lcommon)
>> [ 64% ] * broken /usr/lib64/libgnomeprint.la (requires -ldb1)
>> * broken /usr/lib64/libgnomeprint.la (requires -lxml)
>
> Looks like all of those files are left over from older versions
> and need to be deleted.  If you check the dates on those files
> I think you will see that they are very old, and there are no
> libraries that match those *la files.
>
>
>



Re: [gentoo-user] Re: scrooged perl 5.10 dependencies

2009-09-01 Thread Tim Jones
Ah, that was it. I left ~x86 on IO-Compress in my package.keywords...
why I cannot remember, perhaps to fix an issue earlier. But I'm not in
the habit of unmasking perl stuff. Thank you for your time.

On Tue, Sep 1, 2009 at 1:49 AM, Torsten Veller wrote:
> * Tim Jones :
>> Alsooo, the latest stable version of perl-core/IO-Compress is actually
>> 2.021, and a simple emerge perl-core/IO-Compress gives:
>
> No, 2.021 is not stable.
>
> Please `grep -r Compress /etc/portage /var/lib/portage/world`
>
>



[gentoo-user] scrooged perl 5.10 dependencies

2009-08-31 Thread Tim Jones
Hello list:
Okay, after latest portage sync, all these perl compression modules
have gone awry, again. The problem reported by emerge -DNu world -pv
is:

emerge: there are no ebuilds to satisfy "~dev-lang/perl-5.10.1".
(dependency required by "virtual/perl-IO-Compress-2.020" [installed])
(dependency required by "world" [argument])

And in my latest sync, it seems emerge is not lying, there really is
no ebuild for perl-5.10, masked or not.

Actually peeking at the ebuild for virtual/perl-IO-Compress-2.020 shows:

RDEPEND="|| ( ~dev-lang/perl-5.10.1 ~perl-core/IO-Compress-${PV} )"

which, as I understand, makes the ebuild depend upon either of those
packages (though I'm not sure what the ~ means in that context).
Also, I already have perl-core/IO-Compress-2.020, what?!
Alsooo, the latest stable version of perl-core/IO-Compress is actually
2.021, and a simple emerge perl-core/IO-Compress gives:

!!! All ebuilds that could satisfy
">=virtual/perl-Compress-Raw-Zlib-2.021" have been masked.
!!! One of the following masked packages is required to complete your request:
- virtual/perl-Compress-Raw-Zlib-2.021 (masked by: ~x86 keyword)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
(dependency required by "perl-core/IO-Compress-2.021" [ebuild])
(dependency required by "perl-core/IO-Compress" [argument])

I blindly tried perl-cleaner reallyall, which rebuilt some modules,
but didn't help the current conundrum.
I don't see any related bugs, and latest entries in the relevant
ebuilds' changelogs are dated 8/26 (though I'm not sure if thats the
same day the new ebuild made it into portage), and I'm still a
relatively young gentoo user, so I'm assuming something is wrong on my
end... but I'm getting frustrated with these perl compression
modules... in my few months as a user, they've caused several problems
for portage. Any thoughts or suggestions?



[gentoo-user] g-cpan confusion

2009-05-21 Thread Tim Jones
Hello!
Just getting settled with Gentoo, happy so far.

I was a little confused to learn of the existence of the g-cpan module, even
at the presence of perl modules in Portage itself. g-cpan is supposed to be
a Portage wrapper for plain cpan? If I use g-cpan to install a module, will
it use the ebuild, if one exists? Is there anything wrong with using plain
cpan? (It would bother me if there was not agreement between my local
Portage tree and what is actually installed on my system.) I guess I am just
feeling that someone tried to fix something that wasn't broken.

Furthermore, I was unable to emerge perl-gcpan/Bundle-CPAN, because it
depends upon virtual/perl-IO-Compress, which is hardmasked for reasons
unclear to me. This seems silly. Is this bug worthy?

---

Okay before sending this mail I was able to emerge a module without an
ebuild and see that it ends up in my local overlay. This is cool. I also saw
some perl-IO-Compress-* modules get built, so my guess on the hardmask is
that the name IO-Compress is just obsolete, and that module is actually just
broken in pieces, and Bundle-CPAN hasn't had its dependencies updated.


Re: [gentoo-user] Fix bug with unreachable upstream?

2008-06-14 Thread Tim
Alan McKinnon wrote:
> On Monday 09 June 2008, Tim wrote:
>> I use the small C utility ez-ipupdate to keep a dynamic DNS account
>> up-to-date with ZoneEdit, a free dynamic DNS provider. Recently,
>> ZoneEdit changed the page that updates A records; ez-ipupdate needs
>> to be changed to reflect this.
>>
>> Here's where I run into an issue. I've managed to successfully patch
>> the code to make it work again, but I can't get in touch with the
>> upstream maintainer. His personal email and mailing list are both
>> hosted on a system that doesn't exist (at least according to DNS -
>> ironic, no?). His "contact me" page returns a 404. Several other
>> links on his site are broken or outdated.
>>
>> What's the "Gentoo way" here? Should I keep trying to get in touch
>> with the maintainer, file a bug in Gentoo Bugzilla, or just live with
>> it?
> 
> File a bug, attach your patch and mention that upstream is 
> uncontactable. It's the gentoo maintainers call for what to do next.
> 
> 
Thanks. Filed bug 227083.
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Fix bug with unreachable upstream?

2008-06-08 Thread Tim
I use the small C utility ez-ipupdate to keep a dynamic DNS account
up-to-date with ZoneEdit, a free dynamic DNS provider. Recently,
ZoneEdit changed the page that updates A records; ez-ipupdate needs to
be changed to reflect this.

Here's where I run into an issue. I've managed to successfully patch the
code to make it work again, but I can't get in touch with the upstream
maintainer. His personal email and mailing list are both hosted on a
system that doesn't exist (at least according to DNS - ironic, no?). His
"contact me" page returns a 404. Several other links on his site are
broken or outdated.

What's the "Gentoo way" here? Should I keep trying to get in touch with
the maintainer, file a bug in Gentoo Bugzilla, or just live with it?

For reference, here's the relevant links:
The ez-ipupdate home page: http://ez-ipupdate.com/
The ZoneEdit home page: http://www.zoneedit.com/
The package in portage: http://gentoo-portage.com/net-dns/ez-ipupdate

-Tim
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] fd symlinks to pts?

2008-06-03 Thread Tim
Tim wrote:
> Dirk Heinrichs wrote:
>> Am Dienstag, 3. Juni 2008 schrieb ext Dirk Heinrichs:
>>
>>> That makes 4 out of 4 possible devices. So where's your IDE floppy
>>> connected to, then?
>> Is it an IDE floppy device at all, or a normal PC floppy device?
>>
>> Bye...
>>
>>  Dirk
> I was unaware there was a difference. It's a 34-pin ribbon cable
> connector on the motherboard.
> 
> -Tim
And that's the solution. I added CONFIG_BLK_DEV_FD=y to .config, got rid
of CONFIG_BLK_DEV_IDEFLOPPY, and rebuilt again. /dev/fd0 now appears as
a working floppy device.

Thanks Dirk and everyone else who helped!

-Tim
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] fd symlinks to pts?

2008-06-03 Thread Tim
Dirk Heinrichs wrote:
> Am Dienstag, 3. Juni 2008 schrieb ext Dirk Heinrichs:
> 
>> That makes 4 out of 4 possible devices. So where's your IDE floppy
>> connected to, then?
> 
> Is it an IDE floppy device at all, or a normal PC floppy device?
> 
> Bye...
> 
>   Dirk
I was unaware there was a difference. It's a 34-pin ribbon cable
connector on the motherboard.

-Tim
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] fd symlinks to pts?

2008-06-03 Thread Tim
Dirk Heinrichs wrote:
> Am Dienstag, 3. Juni 2008 schrieb ext Tim:
>> I recently had occasion to need a floppy drive. Thankfully, there was
>> one in my Gentoo box, but no support in the kernel. I added
>> CONFIG_BLK_DEV_IDEFLOPPY=y to .config and already had support for my IDE
>> chipset included, rebuilt my kernel, and rebooted.
>>
>> Now I have a folder /dev/fd/, but every entry there (0, 1, 2, and 255)
>> are all symlinks to /dev/pts/0. Relevant command outputs:
> 
> That's correct.
> 
>> # dmesg|grep -i floppy
>> ide-floppy driver 0.99.newide
> 
>> What do I need to do to get usable block access to my floppy from
>> something in /dev/fd?
> 
> Nothing. It's IDE Floppy, not Floppy. You should have new hd* entries 
> in /dev for your IDE Floppy device. Read some more lines in your dmesg 
> output.
> 
> HTH...
> 
>   Dirk
Nothing there either.

# dmesg|grep -i hd
Kernel command line: root=/dev/hda3
ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:DMA
hda: WDC WD400BB-23DEA0, ATA DISK drive
hdb: IC35L060AVER07-0, ATA DISK drive
hdc: Hewlett-Packard DVD Writer 300, ATAPI CD/DVD-ROM drive
hdd: FX320S, ATAPI CD/DVD-ROM drive
hda: max request size: 128KiB
hda: Host Protected Area detected.
hda: Host Protected Area disabled.
hda: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
hda: cache flushes not supported
 hda: hda1 hda2 hda3
hdb: max request size: 128KiB
hdb: 120103200 sectors (61492 MB) w/1916KiB Cache, CHS=65535/16/63,
UDMA(100)
hdb: cache flushes not supported
 hdb: hdb1
hdc: ATAPI 40X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
hdd: ATAPI 32X CD-ROM drive, 256kB Cache, DMA
ReiserFS: hda3: found reiserfs format "3.6" with standard journal
ReiserFS: hda3: using ordered data mode
ReiserFS: hda3: journal params: device hda3, size 8192, journal first
block 18, max trans len 1024, max batch 900, max commit age 30, max
trans age 30
ReiserFS: hda3: checking transaction log (hda3)
ReiserFS: hda3: Using r5 hash to sort names
NTFS-fs warning (device hdb1): load_system_files(): $LogFile is not
clean.  Will not be able to remount read-write.  Mount in Windows.
Adding 506036k swap on /dev/hda2.  Priority:-1 extents:1 across:506036k

My primary IDE is two hard drives, hda being Gentoo and relevant
partitions and hdb holding Windows XP in a single partition. My
secondary is two CD/DVD drives. Nothing in dmesg, either in this excerpt
or otherwise, indicates the presence of an IDE floppy at /dev/hd*.

# ls -al /dev/hd*
brw-rw 1 root disk   3,  0 Jun  2 20:35 /dev/hda
brw-rw 1 root disk   3,  1 Jun  2 20:35 /dev/hda1
brw-rw 1 root disk   3,  2 Jun  2 20:35 /dev/hda2
brw-rw 1 root disk   3,  3 Jun  2 20:35 /dev/hda3
brw-rw 1 root disk   3, 64 Jun  2 20:35 /dev/hdb
brw-rw 1 root disk   3, 65 Jun  2 20:35 /dev/hdb1
brw-rw 1 root cdrom 22,  0 Jun  2 20:35 /dev/hdc
brw-rw 1 root cdrom 22, 64 Jun  2 20:35 /dev/hdd

-Tim
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] fd symlinks to pts?

2008-06-03 Thread Tim
Alan McKinnon wrote:
> On Tuesday 03 June 2008, Tim wrote:
>> I recently had occasion to need a floppy drive. Thankfully, there was
>> one in my Gentoo box, but no support in the kernel. I added
>> CONFIG_BLK_DEV_IDEFLOPPY=y to .config and already had support for my
>> IDE chipset included, rebuilt my kernel, and rebooted.
>>
>> Now I have a folder /dev/fd/, but every entry there (0, 1, 2, and
>> 255) are all symlinks to /dev/pts/0. Relevant command outputs:
> 
> /dev/fd is a symlink to /dev/self/fd
> 
> and I believe that fd here means "file descriptor" not "floppy disk"
> 
> do you have devices /dev/fd0 etc instead? If not, what do you get from
> 
I do not.

> grep -r fd /etc/udev/rules.d/
> 
produces:

/etc/udev/rules.d/99-libsane.rules:SYSFS{idVendor}=="06bd",
SYSFS{idProduct}=="20fd", MODE="660", GROUP="scanner"
/etc/udev/rules.d/60-persistent-storage.rules:KERNEL=="ram*|loop*|fd*|nbd*|gnbd*|dm-*|md*",
GOTO="persistent_storage_end"
/etc/udev/rules.d/50-udev.rules:KERNEL=="fd[0-9]*",
NAME="floppy/%k", SYMLINK+="%k", GROUP="floppy"
/etc/udev/rules.d/50-udev.rules:KERNEL=="fd[0-9]*", ACTION=="add",
ATTRS{cmos}=="*", RUN+="create_floppy_devices -c -t $attr{cmos} -m %M -M
0660 -G floppy $root/floppy/%k"
/etc/udev/rules.d/50-udev.rules:KERNEL=="fd[0-9]*", ACTION=="remove",
RUN+="/bin/sh -c 'rm -f $root/floppy/%k?*'"

-Tim
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] fd symlinks to pts?

2008-06-03 Thread Tim
I recently had occasion to need a floppy drive. Thankfully, there was
one in my Gentoo box, but no support in the kernel. I added
CONFIG_BLK_DEV_IDEFLOPPY=y to .config and already had support for my IDE
chipset included, rebuilt my kernel, and rebooted.

Now I have a folder /dev/fd/, but every entry there (0, 1, 2, and 255)
are all symlinks to /dev/pts/0. Relevant command outputs:

# dmesg|grep -i floppy
ide-floppy driver 0.99.newide

# uname -r
2.6.22-gentoo-r2

# cd /dev/fd; ls -al
total 0
dr-x-- 2 root root  0 Jun  3 02:32 .
dr-xr-xr-x 5 root root  0 Jun  3 02:32 ..
lrwx-- 1 root root 64 Jun  3 02:32 0 -> /dev/pts/0
lrwx-- 1 root root 64 Jun  3 02:32 1 -> /dev/pts/0
lrwx-- 1 root root 64 Jun  3 02:32 2 -> /dev/pts/0
lrwx-- 1 root root 64 Jun  3 02:32 255 -> /dev/pts/0

# ls -al /dev/fd
lrwxrwxrwx 1 root root 13 Jun  2 20:35 /dev/fd -> /proc/self/fd

What do I need to do to get usable block access to my floppy from
something in /dev/fd?

-Tim
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] join two tab-separate-value files without join field

2008-05-23 Thread Tim
Zhang Weiwu wrote:
> Hi.
> 
> I got a datasheet from my colleague in MS Excel format and I intend to
> process that file with my awk/sed knowledge. The problem is: he sent me
> two Excel files each with 2134 records, in fact there should be only one
> excel file with 2134 rows and 295 columns, but MS Excel can only handle
> 256 data columns, so he split the datasheet vertically so he can manage
> to send to me.
> 
> Now I saved both file to tab-separated-value format, how do I join them?
> 
> I could have used join(1) but that require a join field, an ID of some
> sort. I think of this:
> 
> $  grep -n '' left.tsv | sed 's/:/\t/'> left.forjoin
> $ grep -n '' right.tsv | sed 's/:/\t/'> right.forjoin
> $ join -t "" left.forjoin right.forjoin > result.tsv
> (note that for join's -t parameter somehow I need to manage to get a tab
> between the quotes)
> 
> Yes I achieved what I want, but that looks complex. Is there a simpler
> way? Thanks in advance.
> 
> I know OpenOffice 3.0 can handle up to 1024 data columns. It's difficult
> to convince anyone to switch to OOO because here in China MS Office
> costs only 0$. I also could use OOO3.0 for doing the join but I wish to
> know the commandline way:)
> 
Got perl?

#!/usr/bin/perl

if($#ARGV < 1) {
print "Arguments:  \n";
exit(1);
}

open(FIRSTFILE, $ARGV[0]);
open(SECONDFILE, $ARGV[1]);
@first = ;
@second = ;

$i = 0;
for($i = 0;$i < 2; $i++) {
$tmp1 = $first[$i];
$tmp1 =~ s/\n//g;
$tmp2 = $second[$i];
$tmp2 =~ s/\n//g;

$str = $tmp1 . "\t" . $tmp2 . "\n";
print $str;
}

close(FIRSTFILE);
close(SECONDFILE);

This is likely not the best or fastest way to do it, and I don't have a
dataset as large as yours readily available for testing, but it seems to
work.

-Tim
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] blocking packages when emerge gnome-light

2008-05-05 Thread Tim
paul wrote:
> I am sure that this is all explained somewhere but I cannot find it
> easily. 
> 
> When running "emerge -av gnome-light" I get :
> [blocks B ]  gnome-base/gnome-settings-daemon-2.22.1)
> [blocks B ] dev-util/gtk-doc-am (is blocking
> dev-util/gtk-doc-1.8-r2)
> 
> 
> I am not asking anyone to wade through my make.conf and various portage
> files but if someone who knows the system obviously better than I do
> could please point me in the direction of how to fix this issue I would
> be grateful.
> 
> My requirements are "install gnome-light 2.22.0 or later". 
> 
> 
> Thanks
> 
> Paul
Paul,

What this means is that you have some software installed on your system
already that prevents you from getting gnome-light. In this case, it
looks like you have the two packages gtk-doc-am and control-center,
which are preventing gnome-settings daemon and gtk-doc, respectively,
from being installed.

The usual way of fixing this problem is to do an emerge -avC on the
packages that are blocking to remove them and allow your gnome-light
installation to proceed. However, remember that some other packages
currently installed on your system may depend on these packages, so you
may not want to go into this blindly. I'm not an expert on the setup of
gnome dependencies, so I can't recommend this course of action
unreservedly; it's just a thought.

In the future, you'll get better (and likely more courteous) responses
if you start your own thread, rather than taking over someone else's.
You would also do well to look through the Gentoo Handbook - there's a
wonderful section at

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=1

that talks at length about blocked packages and what to do to resolve
your issues.

-Tim
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] [OT] Virtualbox-ing existing WinXP

2008-05-04 Thread Tim
Mick wrote:
> On Sunday 04 May 2008, Neil Bothwick wrote:
>> On Sun, 4 May 2008 19:47:13 +0100, Mick wrote:
>>> I assumed (wrongly) that since it is the same physical hardware and the
>>> same partition image it will not ask me to re-register it.
>> But it's not the same hardware, you are now running it on the VB virtual
>> hardware.
> 
> Sure, but it's the same physical drive & IDE controller, no?
Yes, but the way a virtual machine works is that it creates its own set
of "hardware" and emulates that hardware for the OS you're running. The
VM software itself acts as a bridge between calls made to this virtual
"hardware" and the true hardware in your system.

The three days is from the time you first boot the machine in the VM -
it remembers, even if it's shut down.

-Tim
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] [OT] Virtualbox-ing existing WinXP

2008-05-03 Thread Tim
Neil Bothwick wrote:
> On Sat, 3 May 2008 12:48:30 +0100, Mick wrote:
> 
>> I have a box which has WinXP dual-booting with Gentoo.  I would like to
>> be able to have access to a clone of the existing WinXP installation,
>> from within Gentoo.  The original WinXP partition should be left well
>> alone, as it is business critical.
> 
> If you copy it to a VM, you are running it on different hardware. The MS
> profit-protection system will kick in, requiring you to reactivate it for
> the VM "hardware".
> 
> 
This isn't to say it can't be done. On the contrary: you can clone the
partition and boot it just fine, only you'll have (IIRC) three days to
reactivate it before it goes inactive.

You say you'd like access to a clone from "within Gentoo" - is it
sufficient to be able to mount the existing partition read-only? Do you
really need the clone?
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Qmail and Spamassassin won't integrate

2008-04-21 Thread Tim Garton
I run spamassassin with exim, so can't offer all that much help, but
as for attempt 1 you may try running:
spamc -R < {some file containing full source of a sample email}

to make sure spamassassin is running correctly.  It should spit back a
score and a possibly a list of tests failed, depending on how
spamassassin is configured.  if you don't get this, or get a score
like "0/0", something is wrong with your spamassassin setup.

Also, you don't want the "-P" option anymore, it is deprecated and is
the default behaviour of spamassassin now.  And you definitely don't
want it with spamc, since it is an invalid option.  And yes, you do
want to use "spamc" over "spamassassin" for performance reasons.


On Mon, Apr 21, 2008 at 12:15 PM, darren kirby <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> I am quickly getting to the hair-pulling stage because I cannot accomplish the
> simple setup of qmail and spamassassin. There is lots of docs out there, but
> they all suggest completely different ways of doing things.
>
> Here's what I have:
> netqmail-1.05-r8
> dovecot-1.0.13-r1
> spamassassin-3.2.1-r1
>
> These are all installed, and presumably working fine. That is: qmail is
> accepting and delivering mail, spamd starts and runs with no errors, and I am
> able to log in and get my mail using Dovecot and IMAP.
>
> What I am trying to accomplish:
>
> I just want qmail to run all incoming mail through spamassassin and add X-Spam
> header for all spam it finds before it is delivered locally. With this I
> shall be able to use .dovecot.sieve to place it in a spam folder for quick
> review and deletion.
>
> Here's a few attempts I have made to integrate spamassassin, and the results:
>
> Attempt 1 (Docs: [0]):
> * emerge 'safecat' to get 'maildir' binary.
> * Put "| spamassassin -P | maildir ./Maildir/"
> in "/var/qmail/control/defaultdelivery"
>
> Result:
> * mail is still delivered, but is not processed by spamassassin.
> * It is my understanding that "X-Spam-Status" header should be added even if
> the mail is not identified as spam.
>
> Problems:
> * Reading spamassassin docs leads me to believe that there is no "-P" option,
> and that I should really be using 'spamc'. I tried replacing spamassassin
> with spamc in  "/var/qmail/control/defaultdelivery". No effect.
>
> Attempt 2 (Docs: [1]):
>
> * emerge 'mess822' (required by ifspamh)
> * emerge 'ksh' (ifspamh is ksh script)
> * Place 'ifspamh' in /usr/local/bin
> * setup .qmail and .qmail-spam as per docs
>
> Result:
> * No mail delivery at all. No obvious errors in any logs, mail just dries up.
>
> Attempt 3 (Docs: [2]):
>
> * emerge 'qmail-scanner'
>
> Result:
> * emerge hangs forever while searching for plugins to add to
> qmail-scanner-queue.pl. Some testing shows that the process is using no
> resources, so: it's hanging doing nothing?!?
>
> Problems:
> * 'clamav' (a dependancy of qmail-scanner) emerge failed with something about
> a gcc bug, and suggested I use a different compiler. I switched
> to 'i686-pc-linux-gnu-3.4.6' from 'i686-pc-linux-gnu-4.1.1' and it compiles.
> * Cannot get qmail-scanner to compile at all.
> * Dead-end.
>
> There is another method I have found, using simscan [3] but it seems to
> require yet another third-party binary , and a patch to qmail, so I am not
> really interested in trying, especially with all the failed attempts so far.
>
> Conclusion:
>
> Spamassassin and Qmail hate me.
>
> Does anyone on this list have spamassassin integrated with qmail at the MTA
> level? I would be very interested in which method you used, and your configs.
>
> Is there something else I am missing?
>
> Any other info you need please just ask.
>
> [0] http://www.magma.com.ni/~jorge/spamassassin.html
> [1] http://wiki.apache.org/spamassassin/IntegratedInQmailWithIfspamh
> [2] http://wiki.apache.org/spamassassin/IntegratedInQmailWithQmailScanner
>
> Thanks,
> -d
> --
> darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
> "...the number of UNIX installations has grown to 10, with more expected..."
> - Dennis Ritchie and Ken Thompson, June 1972
> --
> gentoo-user@lists.gentoo.org mailing list
>
>
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Really confusing situation

2008-04-12 Thread Tim
Michael Sullivan wrote:
> I do a daily emerge --sync and emerge -avuD world, but today when I did
> it, this came up:
> 
> camille ~ # emerge -pvuD world
> 
> These are the packages that would be merged, in order:
> 
> Calculating world dependencies |
> !!! Multiple versions within a single package slot have been 
> !!! pulled into the dependency graph:
> 
> app-crypt/gnupg:0
> 
>   ('ebuild', '/', 'app-crypt/gnupg-1.4.7-r1', 'merge') pulled in by
> ('installed', '/', 'mail-client/squirrelmail-1.4.10a-r2', 'nomerge')
> 
>   ('ebuild', '/', 'app-crypt/gnupg-2.0.7-r1', 'merge') pulled in by
> ('installed', '/', 'app-crypt/gpgme-1.1.6', 'nomerge')
> ('installed', '/', 'kde-base/kdepim-3.5.8', 'nomerge')
> ('installed', '/', 'mail-filter/spamassassin-3.2.1-r1', 'nomerge')
> (and 2 more)
> 
> 
> It may be possible to solve this problem by using package.mask to
> prevent one of those packages from being selected. However, it is also
> possible that conflicting dependencies exist such that they are
> impossible to satisfy simultaneously. If such a conflict exists in the
> dependencies of two different packages, then those packages can not be
> installed simultaneously.
> 
> For more information, see MASKED PACKAGES section in the emerge man page
> or refer to the Gentoo Handbook.
> 
> ... done!
> [ebuild  N] app-crypt/gnupg-1.4.7-r1  USE="bzip2 nls readline usb
> zlib -bindist -curl -ecc -idea -ldap (-selinux) -smartcard -static"
> LINGUAS="-ru" 0 kB 
> [ebuild  N] app-crypt/gnupg-2.0.7-r1  USE="bzip2 doc nls -ldap
> -openct -pcsc-lite (-selinux) -smartcard" 0 kB 
> 
> Total: 2 packages (2 new), Size of downloads: 0 kB
> camille ~ # emerge -pvC app-crypt/gnupg
> 
>>>> These are the packages that would be unmerged:
> 
> --- Couldn't find 'app-crypt/gnupg' to unmerge.
> 
>>>> No packages selected for removal by unmerge
> 
> As you can see, gnupg is not installed, yet it is in the way, and emerge
> wants to install it.  Should I submit this as a bug?
> 


Looking at the ebuilds, both gnupg-1.4.7-r1 and gnupg-2.0.7-r1 occupy
SLOT 0, which is the cause of the initial error. However,
squirrelmail-1.4.10a-r2 depends explicitly on gnupg-1.4*, while
spamassassin only requires gnupg (any version). What you can try is to
emerge -1 =app-crypt/gnupg-1.4.7-r1, then retry your emerge -puvD world.
This should satisfy the dependency on both packages.

-Tim
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Which ivtv on newest Gentoo kernels?

2008-04-05 Thread Tim
Mark Knecht wrote:
> On Sat, Apr 5, 2008 at 11:52 AM, Mark Knecht <[EMAIL PROTECTED]> wrote:
>> 2008/4/5 Ricardo Saffi Marques <[EMAIL PROTECTED]>:
>>
>>> On Sat, Apr 5, 2008 at 2:19 PM, Mark Knecht <[EMAIL PROTECTED]> wrote:
>>  >
>>  > > If someone knows where a
>>  > > list like that might be could you point me there?
>>  >
>>  > Have you tried these?
>>  >
>>  >  http://www.gentoo-wiki.com/HOWTO_Setup_MythTV
>>  >  and
>>  >  http://www.gentoo-wiki.com/HOWTO_Setup_Kernel/System_for_MythTV
>>  > --
>>  > Ricardo Saffi Marques
>>
>>  Thanks Ricardo,
>>Actually, since I wrote the first email I've built
>>  2.6.24-gentoo-r4, emerged ivtv-1.0.3-r2 and it boots and loads the
>>  driver fine. Both cards are seens so that much is behind me. I'm in
>>  the process of testing the cards and setting up mysql now.
>>
>>  Knock on wood so far things are going pretty well.
>>
>>  Cheers,
>>  Mark
>>
> 
> OK, my immediate needs are solved with 2.6.24-gentoo-r4 and
> ivtv-1.0.3-r2. Both of my PVR cards are seen by the system and record
> successfully at the command line using cat /dev/v4l/video0 >test0.mpg.
> (Or video1) xine plays the files fine.
> 
> Now the issue is to get the backend set up. First mysql, then
> mythbackend, then some test recordings. your second link will help
> with that I think.
> 
> Cheers,
> Mark
I'm glad it worked out for you.

IIRC, the ivtv builds are linked to the kernel version - older kernels
require you to use older ivtv builds. For example, kernel 2.6.19.* will
take ivtv 0.9, while kernel 2.6.18.* takes ivtv 0.8. ivtv 1.0.* has
worked for any kernel since 2.6.21, so unless you plan on downgrading
below that, you should stick with 1.0.

-Tim
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Ot - Problem with CUPS server

2008-04-04 Thread Tim
2008:09:58:13 -0500] cupsdAuthorize: No authentication data
> provided.
> D [03/Apr/2008:09:58:13 -0500] CUPS-Get-Classes
> D [03/Apr/2008:09:58:13 -0500] cupsdProcessIPPRequest: 8 status_code=0
> (successful-ok)
> D [03/Apr/2008:09:58:13 -0500] cupsdReadClient: 8 POST / HTTP/1.1
> D [03/Apr/2008:09:58:13 -0500] cupsdAuthorize: No authentication data
> provided.
> D [03/Apr/2008:09:58:13 -0500] CUPS-Get-Default
> D [03/Apr/2008:09:58:13 -0500] cupsdProcessIPPRequest: 8 status_code=0
> (successful-ok)
> D [03/Apr/2008:09:58:13 -0500] cupsdCloseClient: 8
> D [03/Apr/2008:09:58:13 -0500] cupsdAcceptClient: 8 from 192.168.1.3:631
> (IPv4)
> D [03/Apr/2008:09:58:13 -0500] cupsdReadClient: 8 POST /printers/Charlie
> HTTP/1.1
> D [03/Apr/2008:09:58:13 -0500] cupsdAuthorize: No authentication data
> provided.
> D [03/Apr/2008:09:58:13 -0500] Print-Job
> ipp://localhost/printers/Charlie
> D [03/Apr/2008:09:58:13 -0500] print_job: auto-typing file...
> D [03/Apr/2008:09:58:13 -0500] print_job: request file type is
> application/postscript.
> D [03/Apr/2008:09:58:13 -0500] add_job: requesting-user-name="michael"
> I [03/Apr/2008:09:58:13 -0500] Adding start banner page "none" to job
> 33.
> D [03/Apr/2008:09:58:13 -0500] Discarding unused job-created event...
> I [03/Apr/2008:09:58:13 -0500] Adding end banner page "none" to job 33.
> I [03/Apr/2008:09:58:13 -0500] Job 33 queued on "Charlie" by "michael".
> D [03/Apr/2008:09:58:13 -0500] Job 33 hold_until = 0
> D [03/Apr/2008:09:58:13 -0500] cupsdProcessIPPRequest: 8 status_code=0
> (successful-ok)
> 
> Once again, it seems that cups thinks that the document was printed
> successfully.  What am I missing here?
> 
Can you print from the console on catherine using lp? If so, can you
print from the console on another machine?

Have you recently upgraded the server? In some cases, documents sent as
type application/octet-stream silently fail to print (I had this trouble
a while ago) if the mime-type isn't enabled in /etc/cups/mime.types and
mime.convs. Those files get replaced with some cups builds, and by
default octet-stream isn't enabled in the packaged files. Do a

# grep 'application/octet-stream' /etc/cups/mime.*

to check that any line containing that phrase isn't commented.

-Tim
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Clone a running gentoo machine onto another machine

2008-03-30 Thread Tim
Benyamin Dvoskin wrote:
> Hi All ,
> 
> I've been wondering how one can clone an entire gentoo system and copy
> it to another physical machine , while the original system is still
> running ( means , ghost , acronis and other tools that force me to
> shutdown the system are not acceptable )
> 
> So , someone told me to try just "tar" the whole system to the other
> machine and "untar" it there.
> 
> The question is how can I do that ? what are the correct attributes and
> flags ?
> 
> Or maybe someone have other ideas ?
> 
> Thanks
> 
> Benyamin
Could you be more specific about the destination machine? Is it already
running some Linux distro, or is it a new machine with no OS? If it's
the latter, you'll have to be more careful with the boot procedure,
kernel options, etc.

-Tim
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Root shell terminates after first keystroke

2008-03-21 Thread Tim
Eric Martin wrote:
> Tim wrote:
>> Tonight, for no apparent reason, a problem has started cropping up when
>> I 'sudo su'. The root shell will start up fine, but after the first time
>> I hit a key, the shell terminates - apparently normally. A sample try
>> looks like this (I begin to type "emerge", with little success):
> 
>> [EMAIL PROTECTED] ~ $ sudo su
>> wozniak tim # eexit
>> [EMAIL PROTECTED] ~ $
> 
>> This occurs no matter how long I wait before hitting a key. Using 'su'
>> without the preceding 'sudo' will let me into a normal root shell
>> without the problem occurring. The problem also occurs only in Konsole,
>> not at a tty. I should mention, based on this, that I'm running KDE4.
>> How might I go about fixing this?
> Dumb question, why are you exec'ing /sudo su/?  Why not just /su/ or /su
> -/ or /sudo/ ?
> 
I figured out how to execute 'sudo su' without a password before I
figured out how to do the same with 'su'. I use sudo on a regular basis
(e.g. sudo emerge -avu world) without trouble, including after this
problem started, and su works too, it just adds the hassle of typing a
root password.

I know, I know, my laziness is winning out over proper security, shame
on me.
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Root shell terminates after first keystroke

2008-03-21 Thread Tim
Tonight, for no apparent reason, a problem has started cropping up when
I 'sudo su'. The root shell will start up fine, but after the first time
I hit a key, the shell terminates - apparently normally. A sample try
looks like this (I begin to type "emerge", with little success):

[EMAIL PROTECTED] ~ $ sudo su
wozniak tim # eexit
[EMAIL PROTECTED] ~ $

This occurs no matter how long I wait before hitting a key. Using 'su'
without the preceding 'sudo' will let me into a normal root shell
without the problem occurring. The problem also occurs only in Konsole,
not at a tty. I should mention, based on this, that I'm running KDE4.
How might I go about fixing this?
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Odd problem with OpenSSH

2008-02-15 Thread Tim Garton
Try adding a:
LogLevel VERBOSE

or
LogLevel DEBUG

to /etc/ssh/sshd_config and restarting the ssh server, and see if it gives
you any more info.


Re: [gentoo-user] massive segmentation faults since 2 days with layman and portage

2007-10-16 Thread Tim
[EMAIL PROTECTED] wrote:
> # gcc --version
> gcc (GCC) 4.2.2 (Gentoo 4.2.2 p1.0)
> 
> ~ $ emerge  --info
> ACCEPT_KEYWORDS="x86"
> CBUILD="i686-pc-linux-gnu"
> CFLAGS="-O2 -march=athlon-xp -msse -mmmx -m3dnow -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/env.d /etc/env.d/java/ /etc/gconf 
> /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ 
> /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo 
> /etc/texmf/web2c /etc/udev/rules.d"
> CXXFLAGS="-O2 -march=athlon-xp -msse -mmmx -m3dnow -pipe"

Can you post the output of 'cat /proc/cpuinfo /proc/meminfo'?
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Distcc problems...

2007-10-12 Thread Tim
Dan Farrell wrote:
> On Fri, 12 Oct 2007 18:26:26 -0400
> Jerry McBride <[EMAIL PROTECTED]> wrote:
> 
>>
>> I've identified a few packages that simply will not compile when
>> distcc is being used.
>>
>> Has anyone noticed problems with; ncurses, groff or libpcre? 
>>
>> I'm thinking about modifying /etc/portage/bashrc to detect a new file
>> named /etc/portage/package.distcc that will turn off distcc for
>> each package listed. Maybe even honor a custom make option "-j" for
>> listed packaged too.
>>
>> Would anyone else find this useful?
>>
>>
>> --
>>
>> Jerry McBride
> I have found the same thing.  
> I don't know the specific packages, but it seems to be true.
There are some packages (IIRC qt and OOo are some examples) that will
not compile with distcc; however, these packages already filter -jN (N >
1) flags.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Distcc problems...

2007-10-12 Thread Tim
Jerry McBride wrote:
> 
> I've identified a few packages that simply will not compile when distcc
> is being used.
> 
> Has anyone noticed problems with; ncurses, groff or libpcre? 
> 
> I'm thinking about modifying /etc/portage/bashrc to detect a new file
> named /etc/portage/package.distcc that will turn off distcc for
> each package listed. Maybe even honor a custom make option "-j" for
> listed packaged too.
> 
> Would anyone else find this useful?
> 
> 
> --
> 
> Jerry McBride

I just recompiled ncurses with seven distcc slaves and am currently
working on groff and libpcre with no problems so far.

Are you sure that all the participating machines have the same versions
of gcc, CHOST, and CFLAGS? Often a small error in one or more of these
settings can completely ruin a compile.
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] OT: iPod Classic freezes using libgpod+amarok

2007-10-12 Thread Tim
Hello list. I recently purchased an 80GB black iPod Classic and, being a
Gentoo user, decided to try to get it running under Linux. I did
initially plug it into a Mac and add some 700+ songs, so the steps I
took were:

1. Plug it back into the Mac and disable HFS+ journaling
2. Install, from SVN, libgpod and gtkpod (for the Classic support)
3. Install latest stable Amarok (1.4.6-r1) with iPod support
4. Plug in iPod and mount appropriate partition on /mnt/ipod
5. Modify /mnt/ipod/iPod_Control/iTunes/SysInfo to include the fwid
6. Transfer song to iPod using Amarok; unmount and eject iPod

This, somewhat magically, worked without triggering the iPod's
iTunes-only measures; the library registers a new song, and it plays and
is good. My issue is this: when the iPod boots, sometimes the album art
background presented when selecting the Music menu (or any submenu)
fades to white and the iPod hangs. This happens sporadically and I can't
tell for sure what causes it. I've run the iPod self-diagnostics with no
problems. Resetting the iPod is the only recourse if it freezes.

One thing I've noticed: I have about a second when the iPod first boots
to navigate to the Music->Songs menu, and if I can before the fade to
white happens, the iPod works OK as long as I don't leave the song list.
Album art is even displayed as a song plays if available.

Thoughts? Suggestions? I have the latest SVN revision of libgpod (1725)
and have tried SVN gtkpod for updating the iPod, with similar results.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Apache 2.2.6 missing /etc/apache2/mime.types

2007-10-07 Thread Tim
Randy Barlow wrote:
> Randy Barlow wrote:
>> I see a package called mime-types, but it seems to install
>> /etc/mime.types and not /etc/apache2/mime.types...  Help?
> 
> I found a temporary solution by symlinking /etc/apache2/mime.types to
> /etc/mime.types, but that doesn't seem like the correct way to go...
> 
Change the TypesConfig directive in Apache2 to the location of your
mime.types file (in this case, /etc/mime.types). For example, my machine
does this:

mybox ~ # grep TypesConfig /etc/apache2/httpd.conf
# TypesConfig describes where the mime.types file (or equivalent) is
TypesConfig /etc/mime.types
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Root NFS Kernel option

2007-09-22 Thread Tim
Bertram Scharpf wrote:
> Hi,
> 
> 
> there's just another kernel option I want to activate but
> cannot find it:
> 
>   Symbol: ROOT_NFS [=n]
>   Prompt: Root file system on NFS
> Defined at fs/Kconfig:1758
> Depends on: NET && NFS_FS=y && IP_PNP
> Location:
>   -> File systems
> -> Network File Systems
> 
> How can I make the menu to show this up? The current configuration is:
> 
> 
>   <*> NFS server support
>   [*]   Provide NFSv3 server support
>   [ ] Provide server support for the NFSv3 ACL protocol extensi
>   [ ] Provide NFSv4 server support (EXPERIMENTAL)
>   [*]   Provide NFS server over TCP support
>   {{{ here it should appear I suppose }}}
>   [ ] Support for rpcbind versions 3 & 4 (EXPERIMENTAL)
> 
> 
> So all prerequisites seem to meet. What is still missing?
> Arrgh!
> 
> Thanks in advance.
> 
> Bertram
> 
> 
You must also have IP: Kernel Level Autoconfiguration set:

Symbol: IP_PNP [=y]

Prompt: IP: kernel level autoconfiguration

Defined at net/ipv4/Kconfig:172

Depends on: NET && INET

Location:
   -> Networking

   -> Networking support (NET [=y])

   -> Networking options

   -> TCP/IP networking (INET [=y])
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] ATI driver fails

2007-09-04 Thread Tim
Daniel D Jones wrote:
> make[2]: *** 
> [/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o]
>  
> Error 1
> make[1]: *** 
> [_module_/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x]
>  
> Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.22-gentoo-r5'
> make: *** [kmod_build] Error 2
> 
> !!! ERROR: x11-drivers/ati-drivers-8.35.5 failed.
> Call stack:
>   ebuild.sh, line 1638:   Called dyn_compile
>   ebuild.sh, line 985:   Called qa_call 'src_compile'
>   ebuild.sh, line 44:   Called src_compile
>   ati-drivers-8.35.5.ebuild, line 170:   Called linux-mod_src_compile
>   linux-mod.eclass, line 516:   Called die
> 
> !!! Unable to make  GCC_VER_MAJ=4 KVER=2.6.22-gentoo-r5 KDIR=/usr/src/linux 
> kmod_build.
> !!! 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-drivers/ati-drivers-8.35.5/temp/build.log'.
> 
> 
> 
> New system, just installed the stage 3 tarball and attempting to get Xorg 
> working.  Anyone have a clue?
> 
Need a bit more than that. Can you attach the previous 5-10 lines of the
build process output?
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: MCE in kernel

2007-08-31 Thread Tim
Alan E. Davis wrote:
> Followuing up, I removed a troublesome partition that every time was
> being checked on boot, and I was able to boot ok.  Does this make sense?
> 
> Alan
> 
> On 9/1/07, * Alan E. Davis* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
> I have been unable to boot into my gentoo system due to a Machine
> Check Exception.  This is an AMD 64 system.  MCE for AMD is enabled
> in the kernel (2.6.21 gentoo-sources). 
> 
> I am unable to boot in to turn off MCE checking.  I was able to log
> in by single user mode.  The MCE happens at the end of the loading
> of "default" scripts, at least this is what I am seeing on the
> screen: xdm has been loaded. 
> 
> The problem is, I have been installing ubuntu on another partition,
> and it boots fine. 
> 
> If I have it right, I can download a gentoo live install disk and
> compile a new kernel.  Is there a howto on this specific problem?
> 
> Thank you,
> 
> Alan Davis
> 
> -- 
> Alan Davis, Kagman High School, Saipan   [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>  
> 
> "An inviscid theory of flow renders the screw useless, but the need
> for one non-existent."
>  ---Lord Raleigh (aka John William Strutt), or else his son, 
> 
> 
> 
> 
> -- 
> Alan Davis, Kagman High School, Saipan  [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>  
> 
> "An inviscid theory of flow renders the screw useless, but the need for
> one non-existent."
>  ---Lord Raleigh (aka John William Strutt), or else his son,

This makes little sense without knowing what partition you removed and
what you mean by "removing" it - did you take it out of /etc/fstab? Did
you actually repartition your disk? What partition was it, what kind was
it (primary, logical, extended) and what was on it? Hopefully we can be
of more assistance with this info.

-Tim
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] what about Xen finally?

2007-08-31 Thread Tim
Mihamina (R12y) Rakotomandimby wrote:
> Tim wrote:
> 
>>>> So, I need a recent gentoo kernel (some 2.6.22 but I dont know which
>>>> exactly). I really want to use only ebuilds.
>>> Xen-sources doesn't go as high as .22 yet in the portage tree. The
>>> newest one is .20, but that should be okay for most people.  
>> Xen actually made it in to the .23 mainline kernel,
> 
> Do you mean xen will be directly in the kernel, the way alsa is?
> I did not see that great news on the Xen users ML.
> Have you got any reference?
> 
That's exactly what I meant :)

I got the news from kerneltrap.org[1], and the git commits are directly
viewable on git.kernel.org[2].

[1] http://kerneltrap.org/node/13917
[2]
http://git.kernel.org/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=5ead97c84fa7d63a6a7a2f4e9f18f452bd109045
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] what about Xen finally?

2007-08-31 Thread Tim
Steen Eugen Poulsen wrote:
> Mihamina (R12y) Rakotomandimby skrev:
>> I have a computer with a intel 4965 wireless chipset on which I want to
>> run Xen and only use ebuilds.
> 
> Think I'm missing something here. Xen is in, as masked ebuilds, but it's
> there.
> 
>> So, I need a recent gentoo kernel (some 2.6.22 but I dont know which
>> exactly). I really want to use only ebuilds.
> 
> Xen-sources doesn't go as high as .22 yet in the portage tree. The
> newest one is .20, but that should be okay for most people.
>  
Xen actually made it in to the .23 mainline kernel, and should therefore
be seen in sys-kernel/gentoo-sources-2.6.23* (if you feel like waiting a
little longer). Otherwise, use xen-sources and the xen ebuilds.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user]About setting up modem and router

2007-08-22 Thread Tim

Balaviswanathan Vaidyanathan wrote:

Hi,
 
How to install modem and router and how to set up dial up connection and 
Broadband connection in Gentoo



Once upon a time there was 1 GB storage in your inbox. Click here for 
happy ending. 
 

For the modem and router, you're on your own - just connect them as you 
normally would for any other computer. Then, for the setup, use 
/etc/conf.d/net.example as a template for writing /etc/conf.d/net. 
There's a pretty good walkthrough of this process in the Gentoo Handbook:


http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=8#doc_chap2

Just remember that Gentoo provides great docs online - before you ask 
your next question, try Googling it or searching the Gentoo site and 
wiki before posting to the list.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user]About VT

2007-08-20 Thread Tim

Balaviswanathan Vaidyanathan wrote:

Hi,
 
Do Gentoo support Virtualization like RHEL5 if so what are the tools 
like kernel -xen for RHEL5 required for making Gentoo work in 
VT(Virtualization) mode



Get the freedom to save as many mails as you wish. Click here to know 
how. 
 

Gentoo supports Xen just fine. The kernel package is xen-sources; you 
can find out how to use it at the Gentoo wiki:


http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] About Macintosh

2007-08-19 Thread Tim

Balaviswanathan Vaidyanathan wrote:

Hi
 
How to install MacOs X along with Gentoo



Unlimited freedom, unlimited storage. Get it now 
 


Very briefly:

 - Shrink your existing OS' filesystem and partition
 - Install the new OS (Gentoo has excellent docs online for installing 
on Macs of all kinds, and your Mac install disk will pretty much work no 
matter what)
 - Get GRUB or LILO going for dual-booting (again, covered in the 
Gentoo docs)


I suggest you take a look at 
http://www.gentoo.org/doc/en/handbook/index.xml for more in-depth Gentoo 
installations on various Mac architectures. Good luck!

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Problem with distcc/crossdev

2007-08-17 Thread Tim
Hello all. I recently bought an AMD Athlon64 X2 2.6GHz and set it up 
with a multilib amd64 system, then followed the crossdev howto on the 
Gentoo wiki (using Google cache, as the wiki seems to be down right 
now), making sure to create the i686-pc-linux-gnu-gcc-wrapper script as 
documented.


Now, whenever I try to emerge certain packages (most KDE-related items, 
I think), I get an error involving static linking:


In file included from 
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/i686-pc-linux-gnu/bits/gthr.h:115,
 from 
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/i686-pc-linux-gnu/bits/c++io.h:39,
 from 
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/iosfwd:48,
 from 
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/bits/stl_algobase.h:70,
 from 
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/bits/char_traits.h:47,
 from 
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/string:48,

 from ../include/qstring.h:57,
 from kernel/qwindowdefs.h:45,
 from kernel/qpaintdevice.h:43,
 from kernel/qprinter.h:43,
 from kernel/qprinter_unix.cpp:48:
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/i686-pc-linux-gnu/bits/gthr-default.h:88: 
error: weakref 'int __gthrw_pthread_once(pthread_once_t*, void (*)())' 
must have static linkage

[...]
distcc[8235] ERROR: compile kernel/qprinter_unix.cpp on 192.168.1.51/5 
failed

make[1]: *** [.obj/release-shared-mt/qprinter_unix.o] Error 1
kernel/qfontengine_x11.cpp: In function 'void drawScaled(int, int, const 
QTextEngine*, const QScriptItem*, int, Display*, _XGC*, QPaintDevice*, 
QFontEngine*, const QWMatrix&, float)':
kernel/qfontengine_x11.cpp:164: warning: passing 'float' for argument 3 
to 'virtual void QFontEngine::draw(QPainter*, int, int, const 
QTextEngine*, const QScriptItem*, int)'
make[1]: Leaving directory 
`/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/src'

make: *** [sub-src] Error 2

!!! ERROR: x11-libs/qt-3.3.8-r3 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_compile
  ebuild.sh, line 973:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  qt-3.3.8-r3.ebuild, line 209:   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'.


I can post more info if necessary. The problem is easily recreatable on 
my machine - a simple 'emerge =x11-libs/qt-3.3.8-r3' will crash it every 
time.


My question is this: What's causing the compile failures and how do I 
resolve it? I'm running on a distcc network of about half a dozen boxes, 
all of which are i686 with the sole exception of the one amd64 slave.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] fstab question

2007-08-15 Thread Tim

Colleen Beamer wrote:

Hi,

I have a situation that, before, kind of bugged me but I was able to
deal with it.  However, now I've added another wrinkle to the situation.

I have a usb external hard drive attached to my computer.  It's an
Iomega and has a power switch.  In fstab it is /dev/sdc1 and /dev/sdc2
because I've configured it to have two ext3 partitions.  If the drive is
not powered on when I boot and then, I turn it on, I have to reboot to
get fstab to recognize it.  That has always sort of irked me, but I
dealt with it because the drive holds only my music files.

The wrinkle is that my son bought me a usbstick.  I can mount it just
fine.  However, if my usb external hard drive is not powered on on boot,
the stick is recognized at sdc1.  If the usb drive is powered on then,
the stick is recognized as sdd1.  So, this means that if I want to use
one or the other or both, I keep having to change fstab.  Is there a way
I can set the device to always be the same - i.e.  I always want the usb
external drive to be sdc1 and sdc2 and the usb stick to be sdd1.

I know!  I only want the world.  If there isn't a way that this can be
done, then I'll live with the situation.  It's not earth shattering!

Thanks in advance.

Regards,

Colleen



This is actually semi-easy. What you need is udev rules for each of the 
devices, so what you need first is some info. Do an 'emerge usbutils' 
then run 'lsusb -v'. This will output a bunch of info about the 
currently connected USB devices. Then, look for the Vendor and Model 
strings, and put them into a udev rule in /etc/udev/rules.d/. For 
example, my udev rules include an entry like this for my iPod:


BUS=="scsi", SYSFS{vendor}=="Apple*", SYSFS{model}=="iPod*", \ 
KERNEL=="sd?2", NAME="%k", SYMLINK+="ipod"


This tells udev that it should look for a device on a SCSI bus (which 
covers USB as well) with a vendor string starting with Apple and a model 
string starting with iPod, that would normally have a device name of 
/dev/sd{something}2. It then tells udev to create a symlink to this 
device at /dev/ipod (the SYMLINK+= part).


After that, just change your /etc/fstab to reflect the device symlinks 
that you created, and voila! You still have to mount them manually, 
though, unless something new's come along I'm not aware of.


This is a really simplified explanation of udev, so for a more advanced 
guide, Gentoo provides some excellent documentation at:


http://gentoo-wiki.com/UDEV

Good luck! And remember: either hotplug your devices or run 'udevstart' 
to test your rules!

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] trouble with root on reiserfs

2007-08-14 Thread Tim

Florian Philipp wrote:

Am Dienstag 14 August 2007 20:37:59 schrieb Neil Bothwick:

Hello Florian Philipp,


3. mount root and boot
4. mount their mount point on my desktop via sshfs
5. create a tar ball
6. unmount everything, create reiserfs, remount everything
7. extract tar ball, edit fstab
8. reboot

Now I have the following problem: If I boot, the kernel starts normally
(from what I see) but then tells me that it is "unable to start initial
console" (if I remember correctly) and reboots after a few seconds.

When you created a tarball of the root partition, you didn't include the
contents of the dev directory (not the dev filesystem mounted on it). The
safest way to do this is mount root on another mount point, with "mount
--bind / /mnt/root" then tar up /mnt/root.

Alternatively, mknod /dev/console and /dev/null on the new filesystem.


I've solved this problem and ran into number two while booting:

"Checking root filesystem ...
Reiserfs super block in block 32 on 0x807 of format 3.6 with non-standard 
journal

Blocks (total/free): 7863776/5293202 by 2048 bytes
Filesystem is clean
Filesystem seems mounted read-only. Skipping journal replay.
Checking internal tree .. finished
Remounting root filesystem read/write ...
Root filesystem could not be mounted read/write :(
Give root password for maintenance
(or type Control-D to continue):"

I think it's due to the fact that I increased the journal size by the factor 
1.5. I'll check this but would like to know if there might be another reason.


It's like Florian said: the new root doesn't have the /dev/null and 
/dev/console device entries. These aren't managed by udev and have to be 
created manually. When you install Gentoo, they're in the tarball for 
your stage; however, just tarring a root won't keep them by default. You 
can solve this problem (again, like Florian said) by doing:


# mknod /dev/null c 1 3
# mknod /dev/console c 5 1
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] ACPI problem on Compaq

2007-08-13 Thread Tim Allingham
On Mon, 2007-08-13 at 09:41 +0200, Thierry de Coulon wrote:
> On Monday, 13. August 2007, Tim wrote:
> >
> > Have you tried just using 'init 0' rather than 'shutdown -h now'?
> >
> (...)
> >
> > I'd say check in your BIOS to see what power options there are - some
> > BIOSes can change the action on receiving a power button signal.
> 
> 
> Thanks for your suggestions. Init 0 did not seem to make a change, then I 
> looked at all the BIOS options and turned off some settings that were on, or 
> reverse - not always understanding what they were to do. Now it seems to work 
> correctly. Perhaps it was a setting that said the power button should wake 
> the computer?
> 
> Thierry
> 

This often happens when the PC is set to power back up after an AC
outage
-- 

Regards,

Tim Allingham
Ph: 0420 605 370
Email:[EMAIL PROTECTED]
http://www.datafirst-it.com.au


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


Re: [gentoo-user] [OT] Help with Perl Datetime + Epoch

2007-08-13 Thread Tim

Ow Mun Heng wrote:

Been struggling with a new script I'm porting over from bash because
perl's DBI is much more elegant than my previous usage of sqsh.

I'm having trouble converting from a datetime into a unix epoch
timestamp.

under bash, this is done.

date = -MM-DD HH:MM:SS
epoch_date = date -d "$date" +%s

$date
Mon Aug 13 14:39:48 MYT 2007
$date -d "2007-08-13 14:39:48" +%s
1186987188

Under perl, I have no idea how this can be achieved.
Neither localtime, timelocal or AFAICT, DateTime can achieve this
easily.



The DateManip module may have what you need. From its description:

"This is a set of routines designed to make any common date/time 
manipulation easy to do...From the very beginning, the main focus of 
Date::Manip has been to be able to do ANY desired date/time operation 
easily"


See http://search.cpan.org/~sbeck/DateManip-5.44/Manip.pod or do an 
'emerge -av DateManip'

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Must I re-emerge gcc entirely?

2007-08-12 Thread Tim

kou yu wrote:

I am a newbie to gentoo.

Today I emerge my gcc to 4.2.0
When it finished, I found message that the libstdc++ manpage is not
maked due to lack of doxygen.

My question is whether I must re-emerge gcc entirely after emerging
doxygen to make the manpage of libstdc++.
Is there a alternative way to avoid compile whole gcc, because it
takes a long time...

No, you should be able to just do an 'emerge sys-libs/libstdc++-v3'
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] ACPI problem on Compaq

2007-08-12 Thread Tim

Thierry de Coulon wrote:

Hello,

I've got an older Compaq EVO D510 desktop that I was thinking to setup as a 
lab machine (that should be also used by people who basicaly have no Linux 
knowledge). I've installed Gentoo on it and it works well but for one thing:


When I want sto shut it down, it reboots! This happens as well from KDE as 
from the command line with "shutdown -h now": the machine does shut down, 
then auto-reboots.



Have you tried just using 'init 0' rather than 'shutdown -h now'?

I've thought it might be linked to ACPI - so I added noacpi acpi=off (I don't 
know why but it seems I need both to make grub understand) and now it shuts 
down and stpos, but does not turn off... and if I push the power button, it 
reboots.


I'd say check in your BIOS to see what power options there are - some 
BIOSes can change the action on receiving a power button signal.


Just now I'm thinking I should look if APM is compiled into the kernel, I did 
a genkernel all so I assume it is.



If you have the time, building your own kernel might help.

Any idea as to what other possibilities exist to tell that machine just to 
shut down and turn off?


Thierry

I'd leave ACPI in place if I were you - it's more modern than APM. Check 
if there's a newer BIOS for your board. It's always a possibility 
(albeit a long shot) that the current BIOS has some sort of ACPI bug 
that prevents it from behaving properly in this situation.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] amd64 & 4G memory

2007-08-11 Thread Tim

Aleksey V. Kunitskiy wrote:

On Friday 10 August 2007 22:34, Volker Armin Hemmann wrote:

So your 'lost' memory is not really lost
Why? If I have 3G of memory it is OK and 4G is a problem. Of course a few 
MB(~100 actualy) of memory is not critical for me in this case, but I'd like 
to understand why 4G is problem where logical address space is 64 bit and 
physical is about ~40 bit.


Let em start with a disclaimer: I don't have an amd64 system, so I'm not 
sure about the specifics of the system (didn't know that the kernel has 
no HIGHMEM requirement, for example). However, dmesg should still list 
the memory mappings in the first 40 lines or so, so that you can see 
where the memory is going. It should still be an E820 memory map, after all.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Minimum HD space for a firewall

2007-08-10 Thread Tim

James wrote:

Neil Bothwick  digimed.co.uk> writes:



If I wanted to use CF or SD cards in these old system, is there
an inexpenive interface converter (say CF to ide) that is
redily available?



Yes, I bought one from http://linitx.com and use it in my MythTV
frontend.



OK,

I found some for $4.00 usd, so I'm going to give this a whirl. The
HD are what (mostly) fails on these these vintage 586 firewall
I build for friends, so CF seems the way to go...

thx

James




IIRC, there's a problem with wearing out CF cards after prolonged use 
(1E6 writes or so). Whether that's better or worse than the average 
failure rate of a hard drive for this particular scenario is for you to 
decide - just a reminder of the limitations of flash memory as disks.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] amd64 & 4G memory

2007-08-10 Thread Tim

Aleksey V. Kunitskiy wrote:

Hi,

I'm a bit confused, because before this moment I thought that 4G for amd64 
platform is normal memory size...
I've Asus a8n-e motherboard and AMD X2 cpu. Yesterday I've installed +1G 
memory to my already installed 3G. Before this my system showed that all 
3072M of memory are avalible. After +1G instalation it shows 3948M of 
avalible memory.
My questions are: where is the rest of the memory? Is 4G of memory a problem 
for amd64 cpu? What is going on there o_O ?




Hi. How are you checking the memory? Can you post the first 30 lines or 
so of dmesg or the output of 'cat /proc/meminfo'? Also, is your kernel 
configured with HIGHMEM support? If so, what type?


You may also consider checking in the BIOS for any memory options - some 
video cards share system memory.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] {OT} Overheated, which part is damaged?

2007-08-08 Thread Tim Allingham
On Wed, 2007-08-08 at 08:10 -0700, Grant wrote:
> > > > > > My power supply's fan died and ended up really elevating the
> > > > > > temperature in the case during a qt compile.  Now I'm seeing all 
> > > > > > kinds
> > > > > > of strange and colorful artifacts on the screen, even after the 
> > > > > > system
> > > > > > was powered off for several hours with an external fan blowing on 
> > > > > > it.
> > > > > >
> > > > > > Is that definitely the video card?
> > > > >
> > > > > Sounds like it.  Just in case it has not been totalled you may want to
> > > > > open the case, remove the video card and use a soft brush and vacuum
> > > > > cleaner to clean its cooling fan and heatsink.  This may be underneath
> > > > > the card and difficult to reach without taking it out.  While you're 
> > > > > at
> > > > > it, repeat the exercise on the CPU.
> > > >
> > > > Or maybe it's the thermal grease paste, it usually doesn't like being
> > > > roasted. Replace it, if possible.
> > > >
> > > > I'm not an expert on this kind of stuff but I had similar artifacts 
> > > > while
> > > > overclocking my video RAM so maybe the chips didn't make it.
> > >
> > > http://www.arcticsilver.com/
> > >
> > > I have used Arctic Silver 5 and have been very happy with it (on an
> > > overclocked PIII).
> >
> > It's also quite possible its the PSU if your still using the same one,
> > have you replaced it?
> 
> Really, the power supply itself could be causing the video problems?
> I am still using the same one with the case open for ventilation.  I'm
> about to order some stuff from New Egg.  Not sure if I should include
> a video card now.
> 
> - Grant

try another power supply first if you can, it would not surprise me if
its unstable power from an overheated supply causing the problem 


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


Re: [gentoo-user] {OT} Overheated, which part is damaged?

2007-08-08 Thread Tim Allingham
On Wed, 2007-08-08 at 10:25 +0100, Mick wrote:
> On Wednesday 08 August 2007 09:33, Florian Philipp wrote:
> > Am Mittwoch 08 August 2007 09:22 schrieb Mick:
> > > On Wednesday 08 August 2007 02:21, Grant wrote:
> > > > My power supply's fan died and ended up really elevating the
> > > > temperature in the case during a qt compile.  Now I'm seeing all kinds
> > > > of strange and colorful artifacts on the screen, even after the system
> > > > was powered off for several hours with an external fan blowing on it.
> > > >
> > > > Is that definitely the video card?
> > >
> > > Sounds like it.  Just in case it has not been totalled you may want to
> > > open the case, remove the video card and use a soft brush and vacuum
> > > cleaner to clean its cooling fan and heatsink.  This may be underneath
> > > the card and difficult to reach without taking it out.  While you're at
> > > it, repeat the exercise on the CPU.
> >
> > Or maybe it's the thermal grease paste, it usually doesn't like being
> > roasted. Replace it, if possible.
> >
> > I'm not an expert on this kind of stuff but I had similar artifacts while
> > overclocking my video RAM so maybe the chips didn't make it.
> 
> http://www.arcticsilver.com/
> 
> I have used Arctic Silver 5 and have been very happy with it (on an 
> overclocked PIII).

It's also quite possible its the PSU if your still using the same one,
have you replaced it?   


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


Re: [gentoo-user] tools to detect hardware

2007-08-08 Thread Tim Allingham
If you want something to give a simple listing similar to CPU-z, set up
phpsysinfo


On Wed, 2007-08-08 at 09:18 -0300, Arturo 'Buanzo' Busleiman wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
> 
> Chuanwen Wu wrote:
> > I use lspci,now.But lspci can't provide so much information as everest
> > or cpu-z do.For example,the FSB,and the socket of the CPU and so on.
> 
> For the CPU ONLY, you can get a bunch of information from /proc/cpuinfo:
> 
> [EMAIL PROTECTED] ~ $ cat /proc/cpuinfo
> processor   : 0
> vendor_id   : AuthenticAMD
> cpu family  : 6
> model   : 10
> model name  : AMD Athlon(tm) XP 2600+
> stepping: 0
> cpu MHz : 1921.070
> cache size  : 512 KB
> fdiv_bug: no
> hlt_bug : no
> f00f_bug: no
> coma_bug: no
> fpu : yes
> fpu_exception   : yes
> cpuid level : 1
> wp  : yes
> flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
> cmov pat pse36 mmx fxsr
> sse syscall mmxext 3dnowext 3dnow ts
> bogomips: 3843.55
> 
> 
> - --
> Arturo "Buanzo" Busleiman - Consultor Independiente en Seguridad Informatica
> SHOW DE FUTURABANDA - Sabado 18 de Agosto 2007 (Speed King, Capital Federal)
> Entradas anticipadas a traves de www.futurabanda.com.ar - Punk Rock Melodico
> 
> 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFGubSVAlpOsGhXcE0RCqRdAJ97rjWSoPWnLEvHUtokT78JsdduZACfUwpU
> kIjl0U6Xj+WOs3+xDwsbO4U=
> =Cbrn
> -END PGP SIGNATURE-


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


Re: [gentoo-user] portage inconsistency?

2007-08-05 Thread Tim Allingham
On Sun, 2007-08-05 at 16:32 +0200, Bo Ørsted Andresen wrote:
> On Tuesday 17 July 2007 00:46:08 maxim wexler wrote:
> > So, emerge portage results in one package being
> > installed, portage, 61kb.
> >
> > emerge -u portage lines up 5 or 6 packages plus
> > portage, 18Mb.
> >
> > Went ahead and just did the one package, figuring
> > later I could do an emerge -u for the rest of it.
> >
> > But this is what happens:
> >
> > [EMAIL PROTECTED] ~ $ emerge -pv portage
> >
> > These are the packages that would be merged, in order:
> >
> > Calculating dependencies... done!
> > [ebuild   R   ] sys-apps/portage-2.1.2.9  USE="-build
> > -doc -epydoc (-selinux)" LINGUAS="-pl" 0 kB
> >
> > Total: 1 package (1 reinstall), Size of downloads: 0
> > kB
> >
> > What I expected.
> >
> > [EMAIL PROTECTED] ~ $ emerge -puv portage
> >
> > These are the packages that would be merged, in order:
> >
> > Calculating dependencies... done!
> >
> > Total: 0 packages, Size of downloads: 0 kB
> >
> > So why doesn't it list the upgrade part now?
> 
> Because --update stops calculating deps when none of the specified targets 
> need updating. Only --deep checks the consistency of all dependencies even 
> when none of the targets need updating. You could argue it's a deficiency in 
> portage (although well-known)..
> 

meaning that an emerge -pvuD world/portage should show the upgrades


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


Re: [gentoo-user] where to place command to be executed on X.org start

2007-07-31 Thread Tim Allingham
On Tue, 2007-07-31 at 14:58 +0100, Peter Ruskin wrote:
> On Tuesday 31 July 2007, Neil Bothwick wrote:
> > > AFAIK .bashrc is sourced even when no X is running (e.g. when
> > > logging in via ssh).
> >
> > More importantly, it is not sourced when X starts up.
> 
> Works for me.
> 
> -- 
> Peter
> 
> Gentoo Linux: Portage 2.1.3_rc9   kernel-2.6.22-gentoo-r1
> AMD Athlon(tm) 64 X2 Dual Core Processor 4400+gcc(GCC): 4.1.2
> KDE: 3.5.7Qt: 3.3.8
> 

but if you restart X with ctrl-alt-backspace does it continue working?


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


Re: [gentoo-user] where to place command to be executed on X.org start

2007-07-31 Thread Tim Allingham
On Tue, 2007-07-31 at 13:23 +0300, Alex V. Fansky wrote:
> Hello,
> I want command "xmodmap ~/.Xmodmap" to be executed on my X.org start and even 
> restart. Where is the best place to put it?
> 
> -- 
> Alex V. Fansky
> Minsk, BSU

can't you use .xinitrc for this?


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


Re: [gentoo-user] Linux too damn slow if memory > 3GB

2007-07-28 Thread Tim Allingham
On Sun, 2007-07-29 at 09:39 +1000, Tim Allingham wrote:
> On Sat, 2007-07-28 at 20:28 -0300, Daniel van Ham Colchete wrote:
> > Hello everyone!!!
> > 
> > May be somebody can shed some light here... I'm building a server here
> > with 4GB of RAM memory. The fact is, if I boot with mem=3072M
> > everything goes as fast as it should but I'm not using 1GB of memory.
> > If I don't put the mem option, Linux will see 4GB of memory available
> > but it will be damn slow (really). 
> > 
> > To make Linux recognize 4 gigs of memory I had to activate
> > HIGHMEM=64GB, otherwise it only recognizes 3279MB (but it is fast).
> > 
> > My processor is a Intel Core 2 Duo E6320 (1.86Ghz). The motherboard is
> > Intel. I'm running Gentoo at 32bits mode and the kernel version is
> > 2.6.20-gentoo-r8.
> > 
> > Any lights would be very appreciated.
> > 
> > Best regards,
> > Daniel Colchete
> 
> I don't actually run 4GB of RAM in any of my intel systems, so I can't
> comment from experience, however my suspicion would be the overhead
> introduced from PAE, which (at least on older kernels) requires some
> processing overhead to utilise.  Are you able to try a 64-bit install to
> determine if this is the case?
> 
> Regards,
> 
> Tim Allingham
> Email:[EMAIL PROTECTED]

just to add, this page gives a reasonable explanation of the problems
with 32-bit OS's trying to address large RAM volumes

http://www.dansdata.com/askdan00015.htm


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


Re: [gentoo-user] Linux too damn slow if memory > 3GB

2007-07-28 Thread Tim Allingham
On Sat, 2007-07-28 at 20:28 -0300, Daniel van Ham Colchete wrote:
> Hello everyone!!!
> 
> May be somebody can shed some light here... I'm building a server here
> with 4GB of RAM memory. The fact is, if I boot with mem=3072M
> everything goes as fast as it should but I'm not using 1GB of memory.
> If I don't put the mem option, Linux will see 4GB of memory available
> but it will be damn slow (really). 
> 
> To make Linux recognize 4 gigs of memory I had to activate
> HIGHMEM=64GB, otherwise it only recognizes 3279MB (but it is fast).
> 
> My processor is a Intel Core 2 Duo E6320 (1.86Ghz). The motherboard is
> Intel. I'm running Gentoo at 32bits mode and the kernel version is
> 2.6.20-gentoo-r8.
> 
> Any lights would be very appreciated.
> 
> Best regards,
> Daniel Colchete

I don't actually run 4GB of RAM in any of my intel systems, so I can't
comment from experience, however my suspicion would be the overhead
introduced from PAE, which (at least on older kernels) requires some
processing overhead to utilise.  Are you able to try a 64-bit install to
determine if this is the case?

Regards,

Tim Allingham
Email:[EMAIL PROTECTED]


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


Re: [gentoo-user] Best virtual machine for my needs

2007-07-27 Thread Tim Allingham
I run a few virtual machines using qemu, which can be run without
hardware virtualisation support. One of the things it will happily do is
mount a physical CD drive, so you may be able to burn the music off in
this manner (using the -cdrom switch with /dev/dvdrw gives me a DVD
burner through the windows interface though I haven't actually tried
burning anything yet).


On Fri, 2007-07-27 at 23:11 +0200, Florian Philipp wrote:
> Am Freitag 27 Juli 2007 22:40 schrieb Joshua Doll:
> > A. R. wrote:
> > > On 7/27/07, Florian Philipp <[EMAIL PROTECTED]> wrote:
> > >> Hi!
> > >>
> > >> I need a way to use Napster or iTunes on Linux. (I don't like DRM but
> > >> it's not my PC and not my decision)
> > >>
> > >> I think my best bet would be a virtual machine with Windows 2000 (I can
> > >> spare the licence). The PC is an older AMD64 without AMD-V. Therefore I
> > >> need something that
> > >>
> > >> a) is free or at least not expensive
> > >> b) works without AMD-V and Intel-V
> > >> c) works with Win2k
> > >> d) simulates a CD recorder for burning the music (or do you know a
> > >> better way to get rid of DRM again?)
> > >>
> > >> I hope my English was good enough to explain myself and you can help me.
> > >>
> > >> Thanks in advance!
> > >>
> > >> Florian Philipp
> > >
> > > The only thing I can think of is "wine" (an emulator), which is in the
> > > portage tree:
> > >
> > > emerge -va wine
> > >
> > > After that, there is a very good site for using wine with several
> > > programs: http://frankscorner.org/
> > >
> > > I know nothing on how to avoid all that DRM fiasco.
> > >
> > > HTH
> > >
> > > - AR
> >
> > There's vmare, kvm, qemu?, and xen that I can think of right off the top
> > of my head. Wine might work but I wouldn't bet on it.
> >
> >
> > --Joshua Doll
> 
> KVM needs Intel-V or AMD-V. Xen doesn't need it for Linux and BSD but needs 
> it 
> for Windows. 
> Qemu and vmware might work but I just don't know if they can emulate a cd 
> recorder and that's what I need to know. 
> 
> Wine does not work (iTunes doesn't start, Napster can't playback and is 
> barely 
> tested, Windows Media Player is tricky at best - everything according to 
> appdb.winehq.org). Even if it would start, I don't think Wine supports the 
> DRM framework of Win.


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


Re: [gentoo-user] Re: Slapd doesn't start after update

2007-07-27 Thread Tim Allingham
Have you tried using revdep-rebuild to check the links on that library?
an updated version may have broken the links



On Fri, 2007-07-27 at 17:59 -0300, ツ Leandro Sales wrote:
> I reinstall openldap 2.2.28 and when I start slapd, I got (from the
> log):
> 
> Jul 27 17:55:11 embedded slapd[2957]: bdb_db_init: Initializing BDB
> database
> Jul 27 17:55:11 embedded slapd[2958]: bdb(o=Embedded,c=BR): Program
> version 4.5 doesn't match environment version 0.22
> Jul 27 17:55:11 embedded slapd[2958]: bdb_db_open: dbenv_open failed:
> DB_VERSION_MISMATCH: Database environment version mismatch (-30972)
> Jul 27 17:55:11 embedded slapd[2958]: backend_startup: bi_db_open
> failed! (-30972)
> Jul 27 17:55:11 embedded slapd[2958]: bdb(o=Embedded,c=BR):
> DB_ENV->lock_id_free interface requires an environment configured for
> the locking subsystem
> Jul 27 17:55:11 embedded slapd[2958]: bdb(o=Embedded,c=BR):
> txn_checkpoint interface requires an environment configured for the
> transaction subsystem
> Jul 27 17:55:11 embedded slapd[2958]: bdb_db_destroy: txn_checkpoint
> failed: Invalid argument (22)
> 
> Any clue from now?
> 
> Thank you,
> Leandro.
> 
> 2007/7/27, ツ Leandro Sales <[EMAIL PROTECTED]>:
> Hi,
> 
>I update my openldap to the latest available stable
> version. After this I can't restart my server. So, I tried to
> downgrade and any ldap command that I try to execute I got:
> 
> slapcat: error while loading shared libraries:
> liblber-2.3.so.0: cannot open shared object file: No such file
> or directory
> 
> How to fix this problem? Please, any clue will be accepted.
> 
> Cheers,
> Leandro.
> 
> 
> 
> -- 
> Leandro Melo de Sales.
> Pervasive and Embedded Computing Laboratory
> http://embedded.ufcg.edu.br/
> +55 083 3310-1404 (extension 208) 
> 
> "There are 10 types of people in this world: those who understand
> binary, those who don't"


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


Re: [gentoo-user] Mplayer + compiz + x11-drivers/xf86-video-i810-2.0.x = busted video

2007-07-15 Thread Tim Allingham
What output driver are you using in mplayer? I've seen the same issue
occur with a couple of output drivers running on beryl machines, I
personally have it configured with the gl output driver and have never
had an issue (running on nvidia hardware with beryl enabled) while my
brothers machine had similar issues with the gl driver using an ATI
based card


On Sun, 2007-07-15 at 02:33 -0400, Daniel wrote:
> I thought I'd try out the new i810 driver for my intel card (IBM X41 Tablet) 
> and while most of X seems to work just fine, even with compiz, mplayer is 
> just plain busted (see mplayer output followed by xvinfo output below) in 
> that it shows a black window (window decorations are intact, but it's just a 
> black box) and audio comes through just fine.  While the video plays, this 
> line is repeated over and over:
> 
> X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
> 
> My question then is: is this the kind of thing that I should report as a bug? 
>  
> And if so, to whom?  Freedesktop.org or Gentoo.org?
> 
> 
> # mplayer 20070313.wmv
> MPlayer dev-SVN-rUNKNOWN-3.4.6 (C) 2000-2007 MPlayer Team
> CPU: Intel(R) Pentium(R) M processor 1.50GHz (Family: 6, Model: 13, Stepping: 
> 8)
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
> Compiled with runtime CPU detection.
> 
> Playing 20070313.wmv.
> AVI file format detected.
> [aviheader] Video stream found, -vid 0
> [aviheader] Audio stream found, -aid 1
> VIDEO:  [FMP4]  240x180  24bpp  29.960 fps  488.9 kbps (59.7 kbyte/s)
> Clip info:
>  Software: MEncoder 1.0rc1-4.1.1
> ==
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
> ==
> ==
> Opening audio decoder: [liba52] AC3 decoding with liba52
> Using SSE optimized IMDCT transform
> Using MMX optimized resampler
> AUDIO: 22050 Hz, 2 ch, s16le, 128.0 kbit/18.14% (ratio: 16000->88200)
> Selected audio codec: [a52] afm: liba52 (AC3-liba52)
> ==
> AO: [oss] 22050Hz 2ch s16le (2 bytes per sample)
> Starting playback...
> VDec: vo config request - 240 x 180 (preferred colorspace: Planar YV12)
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
> VO: [xv] 240x180 => 240x180 Planar YV12
> X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0
> X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0
> X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0
> X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0
> X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0
> X11 error: BadAlloc (insufficient resources for operation)
> X11 error: BadAlloc (insufficient resources for operation)
> X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0
> X11 error: BadAlloc (insufficient resources for operation)
> X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0
> X11 error: BadAlloc (insufficient resources for operation)
> X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0
> X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0
> X11 error: BadAlloc (insufficient resources for operation)
> X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
> X11 error: BadAlloc (insufficient resources for operation)
> X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
> X11 error: BadAlloc (insufficient resources for operation)
> X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
> X11 error: BadAlloc (insufficient resources for operation)
> X11 error: BadAlloc (insufficient resources for operation)
> X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
> X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
> X11 error: BadAlloc (insufficient resources for operation)
> X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
> X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
> X11 error: BadAlloc (insufficient resources for operation)
> X11 error: BadAlloc (insufficient resources for operation)
> X11 error: BadAlloc (insufficient resources for operation)0.4% 0 0
> X11 error: BadAlloc (insufficient resources for operation)
> X11 error: BadAlloc (insufficient resources for operation)0.4% 0 0
> X11 error: BadAlloc (insufficient resources for operation)0.4% 0 0
> X11 error: BadAlloc (insufficient resources for operation)
> X11 error: BadAlloc (insufficient resources for operation)0.4% 0 0
> 
> Exiting... (Quit)
> 
> (I had to hit "q" here)
> 
> 
> 
> # xvinfo
> X-Video Extension version 2.2
> screen #0
>   Adaptor #0: "Intel(R) Textured Video"
> number of ports: 16
>

Re: [gentoo-user] Re: [OT] Remote access to windows desktops

2007-07-12 Thread Tim Allingham
On Thu, 2007-07-12 at 11:25 -0500, [EMAIL PROTECTED] wrote:
> "Arturo 'Buanzo' Busleiman" <[EMAIL PROTECTED]> writes:
> 
> > I like KDE's interface to rdesktop, krdc, which implements the RDP
> > protocol used in windows.
> 
> But is that protocol available on XP home or only Pro?  I'm not
> finding it on a WinXP home installation.
> 
The Remote desktop server is only available on XP Pro, a client is
available on XP home.

simplest would be to install something like the ultravnc server on the
XP machine, then just use vncviewer to connect

http://www.uvnc.com

Tim Allingham


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


Re: [gentoo-user] building a machine for Gentoo

2007-07-11 Thread Tim Allingham
I've recently moved from 1GB to 2GB of RAM, and have noticed a huge
difference for my usage, though I do lean quite heavily on it so for
most users it doesn't create much of a difference.

While running with 1GB I generally found I was sitting around 70-80%
utilisation, running a dual-head setup with Beryl, generally with 5-7
apps open (oOo, Opera, Nvu, Gnucash, X-chat etc).  I would often emerge
programs while these were running, with 1GB it would create regular
"stutters" as the RAM filled up, with 2GB I rarely notice a slowdown at
all.

Tim Allingham
[EMAIL PROTECTED]
http://www.datafirst-it.com.au

On Tue, 2007-07-10 at 23:31 -0500, Dale wrote:
> Dan Farrell wrote: 
> > On Mon, 9 Jul 2007 21:35:22 -0700
> > "Julian Simioni" <[EMAIL PROTECTED]> wrote:
> > 
> >   
> > > On 7/9/07, Dan Farrell <[EMAIL PROTECTED]> wrote:
> > > 
> > > > Agreed, of course, but one nice thing about extra ram that it might
> > > > be pertinent to mention is that it can be used to cache and
> > > > significantly reduce hard drive I/O once the cache is primed.
> > > >   
> > > I just upgraded my system from 1GB to 2GB of DDR2 ... [ & ] I honestly
> > > have noticed no difference in speed while using Gentoo, which is by
> > > far my primary OS. I'm sure a detailed analysis would show at least
> > > slight improvement in some cases, but it probably isn't worth the
> > > upgrade.
> > > 
> > 
> > Yeah, my desktop (up 23 days, so cache has had time to fill) has only
> > managed to cache about half a gig worth of stuff, leaving 200 megs or
> > thereabouts unused.  . Most instances of applications I run are the same
> > hd data, like a thousand firefoxes, xterms, mail, etc.  So I think the
> > 'significant' part only kicks in if you run lots of different
> > programs.  I wouldn't expect my desktop to go any faster either, but I
> > would expect a little speedup if I were running a heavier window
> > manager or a full-blown DE like gnome or kde.  
> > 
> > It might make a bigger difference if you were running 3d games or
> > something, I guess.  
> > 
> >   
> 
> I have had 1Gb on here for a long time and usually updatedb fills up
> cache but other than that I don't use it all.  I did once when I
> opened about 400 pics with Gimp though.  I use KDE and I do quite a
> bit of pic stuff as far as storing them.  I wouldn't spend the extra
> money on any more memory for mine.  I just don't see where any more
> would do any good.  Like others I think it depends on what you are
> doing.  If you do video editing or CAD or something then you may can
> use the extra memory then.  Other than that, just watch what is being
> used and get more when you need it.
> 
> Oh, I run folding on here a lot and I get bigger units to work on
> since I have more ram.  My other rigs with a lot less memory get
> smaller units.  That helps some I guess.
> 
> Let us know what you get in the end and how things work out.  Show us
> some speed tests or something.  ;-)
> 
> Dale
> 
> :-)  :-)

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Getting ctrl-left/ctrl-right to jump backward/forward by word in non-x console

2007-06-16 Thread Tim Garton

I just noticed that on all my Gentoo boxes, you can't jump around by word
using ctrl-arrow_key in the non-x console.  It works fine in
xterm/Eterm/etc. while running X, but doesn't directly on the console.  I
haven't had a chance yet to try it on another distro.  Does anyone know how
to get this to work?  Here's the backward-word/forward-word lines from my
/etc/inputrc:

# gnome-terminal (escape + arrow key)
"\e[5C": forward-word
"\e[5D": backward-word
# konsole / xterm / rxvt (escape + arrow key)
"\e\e[C": forward-word
"\e\e[D": backward-word
# konsole (alt + arrow key)
"\e[1;3C": forward-word
"\e[1;3D": backward-word
# aterm / eterm (control + arrow key)
"\eOc": forward-word
"\eOd": backward-word
# xterm
"\e[1;5C": forward-word
"\e[1;5D": backward-word


Re: [gentoo-user] Moving linux system to another partition

2007-06-09 Thread Tim Allingham
On Fri, 2007-06-08 at 20:52 +0200, Hans-Werner Hilse wrote:
> Hi,
> 
> On Sat, 09 Jun 2007 02:43:23 +1000
> Tim Allingham <[EMAIL PROTECTED]> wrote:
> 
> > I generally prefer to do this with dd, from a remote environment
> > 
> > dd if=/dev/ of=/dev/
> 
> "Remote Environment" probably means a) read-only mounted root FS or b)
> a boot into another instance, e.g. a live-CD, right? If you're talking
> about just SSH'ing into the machine: That will probably cause the copy
> to be broken (if the machine has / still mounted r/w), at least an fsck
> would be needed.
> 
> Also, this method will also need a bigger or equally sized new
> partition. If it's bigger, one also needs to resize the filesystem
> afterwards.
> 
> -hwh

yeah that probably wasn't the best terminology to use, I was referring
to liveCD/alternate OS as opposed to remote access


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


Re: [gentoo-user] Moving linux system to another partition

2007-06-08 Thread Tim Allingham
On Fri, 2007-06-08 at 17:48 +0200, Alan McKinnon wrote:
> On Friday 08 June 2007, Hemmann, Volker Armin wrote:
> > On Freitag, 8. Juni 2007, Aleksey Kunitskiy wrote:
> > > Hi all,
> > >
> > > Is it safe to move my linux system by using:
> > > #>cp -rp /mnt/old_part /mnt/new_part
> > > and approriate changes in grub.conf/fstab on new system location ?
> >
> > nope.
> >
> > cp -a if you really want to use copy. But doesn't kill that the
> > ctime/mtime making uninstalling things a pain?
> 
> No.
> 
> cp -a is equivalent to cp -dpPR
> 
> and from the man page:
> 
> -p same as --preserve=mode,ownership,timestamps
> 
> What the OP *will* have a problem with a copying /proc, /dev, /sys and 
> other virtual filesystems. When I do this trick, I usually dd or tar or 
> cp -a entire filesystems and then copy / with this trick:
> 
> mount -o bind / /some/tmp/dir
> cp -a /some/tmp/dir /some/other/dir
> 
> This ensures that only files actually on-disk are copied
> 
> alan
> 
> 
> -- 
> Optimists say the glass is half full,
> Pessimists say the glass is half empty,
> Developers say wtf is the glass twice as big as it needs to be?
> 
> Alan McKinnon
> alan at linuxholdings dot co dot za
> +27 82, double three seven, one nine three five

I generally prefer to do this with dd, from a remote environment

dd if=/dev/ of=/dev/

Tim Allingham
tim -at- datafirst-it.com.au


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


Re: [gentoo-user] Changing primary monitor on dual-monitor X.org setup

2007-06-06 Thread Tim Allingham
Give this a try, haven't got a chance to test atm but should do what
your after

Section "Screen"
Identifier "Screen0"
Device "Card1"
Monitor"Monitor0"
DefaultDepth24
SubSection "Display"
Modes   "1280x1024"
Depth   24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Card0"
Monitor"Monitor1"
DefaultDepth24
SubSection "Display"
Modes   "1280x1024"
Depth   24
EndSubSection
EndSectionOn Wed, 2007-06-06 at 20:28 +0300, Aleksey Kunitskiy wrote:
> Section "Screen"
> Identifier "Screen0"
> Device "Card0"
> Monitor"Monitor1"
> DefaultDepth24
> SubSection "Display"
> Modes   "1280x1024"
> Depth   24
> EndSubSection
> EndSection
> 
> Section "Screen"
> Identifier "Screen1"
> Device "Card1"
> Monitor"Monitor0"
> DefaultDepth24
> SubSection "Display"
> Modes   "1280x1024"
> Depth   24
> EndSubSection
> EndSection 


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


Re: [gentoo-user] how do you keep up with system administration?

2007-05-29 Thread Tim Allinghan

Denis wrote:

I'm curious to know your approach to keeping your Gentoo box current
without it becoming a full-time job.  I'm not talking about
maintaining servers - just your "daily driver", so to say.

How often do you sync with the current portage tree and compare it
your versions in "world"?  Should one do this once a week?  Once in
two weeks?

How often to you update major components, like Xorg, kernel, and
system tool chain?  As soon as new things become available, or, say,
once a month or so?

The reason I ask is because I often don't have a lot of time to devote
to system administration on a regular basis but do want to keep my box
updated as much as possible.  How do some of you non-developers
balance system administration with your "day job"?
Last thing before I hop off each night, emerge --sync followed by a -pv 
-uDN world, if I'm happy I fire it up and head to bed :)

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Corrupt USB pen drive

2007-05-17 Thread Tim Allingham
On Thu, 2007-05-17 at 17:04 +0100, Mick wrote:
> On Thursday 17 May 2007 16:38, Mick wrote:
> > On Thursday 17 May 2007 15:45, Dan Farrell wrote:
> > > On Thu, 17 May 2007 12:36:25 +0100
> > >
> > > Mick <[EMAIL PROTECTED]> wrote:
> > > > I tried to dd the boot sector so that I can look at it on my hard
> > > > drive, but it cannot access /dev/sda.  Is there anything that I can
> > > > do with my Gentoo to recover the files on this USB?
> > >
> > > have you tried reading raw from the device like
> > >
> > > | dd if=/dev/sda of=sda.image
> > >
> > > ?  That might do the recovery.  How to get it out of the image is the
> > > same problem but once the backup succeeds you can plug it into a
> > > windows xp box and reformat, and you will probably end up with the same
> > > partition structure as originally.  Then you can try to read the right
> > > part of the image out of the image, once you get the numbers from fdisk
> > > on the newly formatted drive, and end up with an image of sda1.  From
> > > there you should be able to mount sda1 and read out the data, if it
> > > isn't corrupted.
> >
> > Thanks Dan, as I said above I tried to extract the MBR out of it by
> > running:
> >
> > dd if=/dev/sda of=/tmp/r1 bs=512
> >
> > But couldn't access it whatsoever.
> >
> 
> Oops! I could access it, but of course I had to try it as root!  Right, I've 
> got it on my hard drive now, but still cannot mount it:
> ==
> # mount -t vfat /dev/loop2 /tmp/r1
> mount: wrong fs type, bad option, bad superblock on /dev/loop2,
>missing codepage or other error
>In some cases useful info is found in syslog - try
>dmesg | tail  or so
> ==

Have you tried mounting with just

mount -o loop /dev/loop2 /tmp/r1


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


Re: [gentoo-user] Corrupt USB pen drive

2007-05-17 Thread Tim Allingham
On Thu, 2007-05-17 at 16:38 +0100, Mick wrote:
> On Thursday 17 May 2007 15:45, Dan Farrell wrote:
> > On Thu, 17 May 2007 12:36:25 +0100
> >
> > Mick <[EMAIL PROTECTED]> wrote:
> 
> > >
> > > I tried to dd the boot sector so that I can look at it on my hard
> > > drive, but it cannot access /dev/sda.  Is there anything that I can
> > > do with my Gentoo to recover the files on this USB?
> >
> > have you tried reading raw from the device like
> >
> > | dd if=/dev/sda of=sda.image
> >
> > ?  That might do the recovery.  How to get it out of the image is the
> > same problem but once the backup succeeds you can plug it into a
> > windows xp box and reformat, and you will probably end up with the same
> > partition structure as originally.  Then you can try to read the right
> > part of the image out of the image, once you get the numbers from fdisk
> > on the newly formatted drive, and end up with an image of sda1.  From
> > there you should be able to mount sda1 and read out the data, if it
> > isn't corrupted.
> 
> Thanks Dan, as I said above I tried to extract the MBR out of it by running:
> 
> dd if=/dev/sda of=/tmp/r1 bs=512
> 
> But couldn't access it whatsoever.
> 
> > I also am wondering what happened to the partition table.  I bet your
> > coworker has a security-compromised box at home (oh, runs windows?
> > right...)  At any rate, if the data is recoverable, it may be possible
> > to rebuild the partition table if you can find out where the partition
> > started and ended.  People have done it before, i've read online about
> > it.
> 

Have you tried examining it physically? I've had a drive behave
similarly before, and it turned out to be an issue with one of the
solder joints on the crystal only having intermittent contact ( was
almost a dry join) - resoldering solved it and let me recover the data

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT Add something to boo-up that's not in /etc/init.d

2006-12-13 Thread Tim Igoe
Michael Sullivan wrote:
> Is there a way to add something to the boot-up process that's not
> in /etc/init.d?  I thought I remembered something from Red Hat
> like /etc/rc.local, but I can't remember...
>
>   
Adding the relevant command to
/etc/conf.d/local.start should do what you want

there is a matching
/etc/conf.local.stop too for suhtdown.

-- 
Tim Igoe
[EMAIL PROTECTED]
http://tim.igoe.me.uk - Personal Site
http://tv.igoe.me.uk - UK TV Guide

"Computers are like Air-con, open windows and they stop working!"




signature.asc
Description: OpenPGP digital signature


[gentoo-user] xsltproc error when emerging gnome

2006-11-10 Thread Tim Garton
while trying to 'emerge gnome-doc-utils', emerge errors out with the following:xsltproc -o gnome-doc-make-C.omf .. C/gnome-doc-make.xml
http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd:1: parser error : Content error in the external subset
http://www.w3.or^unable to parse C/gnome-doc-make.xmlmake: *** [gnome-doc-make-C.omf] Error 6if I suspend the emerge while configure is running and change the following line:http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">to:http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">in the C/gnome-doc-make.xml file, when I resume it will compile that file fine but then choke on the next .xml file with the same error.  Can anyone tell me what I need to update to get it to be able to handle the 
4.4?  I checked my libxml2(I have version 2.6.26) and libxslt(I have version 1.1.17) and they both seem to be up to date.  Thanks.Tim


Re: [gentoo-user] iptables error

2006-11-09 Thread Tim Garton
perhaps the multiport module?  (xt_multiport)On 11/9/06, Arnau Bria <[EMAIL PROTECTED]> wrote:
On Wed, 8 Nov 2006 10:19:10 -0700Richard Fish wrote:> On 11/8/06, Arnau Bria <[EMAIL PROTECTED]> wrote:> I'd suggest you make a copy of this file and try to identify which
> rule from this file is causing the error.  It is a plain text file, so> you can comment out (with '#' characters) various rules (lines that> start with '[') to figure out which rule is causing the error.
Well, I found them: #-A INPUT -i eth0 -p tcp -m multiport --dports 4662,18491 -m tcp--tcp-flags FIN,SYN,RST,ACK SYN -j ACCEPT#-A INPUT -i eth0 -p udp -m multiport --dports 4666,18491 -j ACCEPTanyone knows what happens with both rules?
> -RichardThanks!--Arnau Briahttp://blog.emergetux.netWiggum: Dispara a las ruedas Lou.Lou: eee, es un tanque jefe.Wiggum: Me tienes hartito con todas tus excusas.
--gentoo-user@gentoo.org mailing list


Re: [gentoo-user] iptables error

2006-11-08 Thread Tim Garton
Perhaps try these modules as well?gentoo sbin # lsmodModule  Size  Used byxt_tcpudp   7936  1 iptable_nat    10756  1 ip_nat 21292  1 iptable_nat
ip_conntrack   51332  2 iptable_nat,ip_natiptable_filter  7296  0 ip_tables  22760  2 iptable_nat,iptable_filterx_tables   18568  3 xt_tcpudp,iptable_nat,ip_tables
TimOn 11/8/06, Arnau Bria <[EMAIL PROTECTED]> wrote:
Hi,I've done a kernel upgrade, from 2.6.16 to 17-r8 and my iptables stopworking.I get this error:# iptables-restore < /etc/iptables.noviembregetsockopt failed strangely: No such file or directory
I have those modules loaded:# lsmodModule  Size  Used byiptable_filter  3968  0ip_tables  14436  1 iptable_filterx_tables   14980  1 ip_tables
is there anything missing? It worked fine with old kernel...cheers!--Arnau Briahttp://blog.emergetux.netWiggum: Dispara a las ruedas Lou.Lou: eee, es un tanque jefe.
Wiggum: Me tienes hartito con todas tus excusas.--gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Determine kernel release of non-running kernel

2006-11-06 Thread Tim Garton
Thanks, Sergio, that worked like a charm.  The string I wanted wasn't actually in the first 20 lines so a 'strings /tmp/vmlinuz | grep 2.6' worked better.Audrey, I wanted information about a kernel that was built by somebody else on another machine, so I don't have access to the applicable /lib/modules
TimOn 11/6/06, Andrey <[EMAIL PROTECTED]> wrote:
On Monday 06 November 2006 23:50, Tim Garton wrote:> Anyone know how to determine the kernel release of a non-running kernel?> Like 'uname -r' but point it at a kernel file?I didn't understand the problem...
What about: ls /lib/modules/ ?--gentoo-user@gentoo.org mailing list


[gentoo-user] Determine kernel release of non-running kernel

2006-11-06 Thread Tim Garton
Anyone know how to determine the kernel release of a non-running kernel?  Like 'uname -r' but point it at a kernel file?Tim


Re: [gentoo-user] Server installation

2006-11-01 Thread Tim Garton
meewi,    One other thing to be careful of is always making sure you have networking configured before each reboot to make sure the new partition/setup you boot into works correctly.  It would be a bummer to get gentoo completely partitioned and setup correctly, but forget to change /etc/conf.d/net to tell it to use a static ip (if for instance your hosted machine is supposed to use a static ip) and have it boot into gentoo but not have networking working.
If you decide to give it a go, let use know how it turns out.  I'd be interested in pitfalls and gotcha's you run into in case I need to do the same thing in the future.Tim


Re: [gentoo-user] Seamonkey blocking mozilla and the mozilla blocking seamonkey

2006-11-01 Thread Tim Igoe
Jacob Klitmøller wrote:
> Hi
>
> Since Gnome 2.14 is marked stable I thought to upgrade :-)
>
> However when I try to emerge gnome I get
>
> [blocks B ] www-client/seamonkey (is blocking www-client/mozilla-1.7.13)
>
> or the other way around (mozilla blocking seamonkey) - trying to /etc
> /portage/package.mask is of no use since both is required. I have also
> tried fiddeling fith USE, but with no luck.
>
> How do I resolve this and get gnome 2.14 emerged?
>
> Thanks
>
> Jacob
>   
Use emerge -uDpt to give a tree so you can see what package is pulling
in mozilla.

Mozilla has become Seamonkey, it might be that you need to remove
Mozilla to allow the updated ebuild (and name change) to take effect.

I have noticed there is one package (gtk-sharp i think) that still
depends on Mozilla instead of Seamonkey, I have just created a temp
ebuild, a copy of the original with the mozilla to seamonkey change and
stuck it in my overlay.

Hope that helps

-- 
Tim Igoe
http://tim.igoe.me.uk - Personal Site
http://tv.igoe.me.uk - UK TV Guide

"Computers are like Air-con, open windows and they stop working!"




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Server installation

2006-11-01 Thread Tim Garton
I've thought about doing this sort of thing in the past and I think it would be pretty tricky if you want to do this completely remotely. (meaning not using an installation cd)  This is how I thought about doing it:
Resize the partitions on your current hosting server to free up enough space to create a temporary partition to install gentoo to.  So for example if your current setup is the following running redhat:/dev/sda1 - /boot (256MB)
/dev/sda2 - swap (1GB)/dev/sda3 - / (80GB redhat)you would want to resize so you can do the following:/dev/sda1 - /boot (256MB)
/dev/sda2 - swap (1GB)
/dev/sda3 - / (75GB redhat)/dev/sda4 - /mnt/gentoo (5GB temp to install gentoo to)then you basically follow the handbook instructions as though you have already booted from the minimal installation cd and install gentoo to /mnt/gentoo, but don't reformat the /dev/sda1 partition.  Then, rather than emerging grub, just modify your existing /boot/grub/menu.1st and add a default entry for booting off of /dev/sda4 for gentoo.  Reboot and you should boot into your new temporary gentoo installation on /dev/sda4.  You can now get rid of /dev/sda1-3, create new partitions however you like (excluding  the 5GB /dev/sda4 which you are currently running off of) format them, and follow the handbook instructions as though you just booted from the minimal installation cd.  Once you've done this and rebooted into your newly installed gentoo, you can delete /dev/sda4 and recapture that space to whatever partition you really installed gentoo to.
The problem I see with this is you would be editing the fs tables of a drive you are currently running off of.  If that doesn't work I guess you could set up a boot option that uses a RAM filesystem for the root /, and then you wouldn't be running off of any drives and could therefore fdisk to your hearts content.  Whatever you decide, you should probably do a test run on a box you have locally, since one screwup means you or someone else is going to have to physically be at the hosted server to fix it.
TimOn 11/1/06, meewi <[EMAIL PROTECTED]> wrote:
Hi all,I would like install Gentoo on my hosting-server. I have full rootaccess and running Gentoo on my desktop for more then a year now.But what or where do we find a good guide/doc for installing Gentoo
from a distance when using an ssh connection.Thanks in advance,William.Ecademy - Connecting Business People - Invite a friend to join:
http://www.ecademy.com/account.php?id=96418&xref=96418--gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Fake Dual-Head with VNC?

2006-10-31 Thread Tim Garton
Yeah, Synergy sounds like x2x or x2vnc, both of which I had already looked at.  I will check it out though, thanks for the heads up.TimOn 10/31/06, 
Randy Barlow <[EMAIL PROTECTED]> wrote:
Tim Igoe wrote:> It sounds like Synergy would be a better solution to what you are trying> to do (http://synergy2.sourceforge.net/). I don't use it myself, but I
> was looking into it when I've sorted my laptop out, to use it as an> extension of my screen.This was actually the first thought that came into my head too, butSynergy just lets you use one mouse and keyboard on two computers.
Meaning that what he will see on the laptop screen will be running onthe laptop and not on the desktop (which is what the VNC solution wouldeffectively do).  Though I will give a shout out to Synergy - it's a
really awesome utility and I use it a lot!--Randy Barlowhttp://www.electronsweatshop.com--gentoo-user@gentoo.org
 mailing list


Re: [gentoo-user] Fake Dual-Head with VNC?

2006-10-31 Thread Tim Igoe

Tim Garton wrote:
> Anybody know if this is possible?  I have a single-head graphics card
> capable of doing 2048x1536.  I want to start X with a virtual desktop
> of 2048x768, make my ViewPort be the left half of said desktop, start
> x11vnc using the "-clip" option so that it only shows the right half of
> said desktop, and then use an old beater laptop to act as a view-only
> VNC client that connects to the x11vnc instance.  I think it will work,
> my only question is is there a way to prevent the ViewPort from moving
> around in X as you move the mouse?
>
> Tim 
It sounds like Synergy would be a better solution to what you are trying
to do (http://synergy2.sourceforge.net/). I don't use it myself, but I
was looking into it when I've sorted my laptop out, to use it as an
extension of my screen.

Tim

-- 
Tim Igoe
http://tim.igoe.me.uk - Personal Site
http://tv.igoe.me.uk - UK TV Guide

"Computers are like Air-con, open windows and they stop working!"




signature.asc
Description: OpenPGP digital signature


[gentoo-user] Fake Dual-Head with VNC?

2006-10-30 Thread Tim Garton
Anybody know if this is possible?  I have a single-head graphics cardcapable of doing 2048x1536.  I want to start X with a virtual desktopof 2048x768, make my ViewPort be the left half of said desktop, startx11vnc using the "-clip" option so that it only shows the right half of
said desktop, and then use an old beater laptop to act as a view-onlyVNC client that connects to the x11vnc instance.  I think it will work,my only question is is there a way to prevent the ViewPort from moving
around in X as you move the mouse?Tim


Re: [gentoo-user] Exluding some apps from emerge --update world

2006-07-30 Thread Tim Igoe
Alex Fortwinder wrote:
> Hi again. I did everything you've suggested and put those in 
> /etc/portage/mask, however I got this:
>
>
> --- Invalid atom in /etc/portage/package.mask: mail-client/sylpheed-2.2.5
> --- Invalid atom in /etc/portage/package.mask: 
> www-client/mozilla-firefox-1.5.0.4
> --- Invalid atom in /etc/portage/package.mask: xorg-x11-7.0-r1
>
> What's atom it's talking about? Thanks again
>   

The 'atom' being each line.

Because you have specified a version number, you will need to tell it if
you mean just that version (=) or anything newer than that version (>=)

thus

www-client/mozilla-firefox-1.5.0.4

would become

>=www-client/mozilla-firefox-1.5.0.4


Tim

> Alex
>
>
>
>
>
>
> On Sun, 30 Jul 2006 11:24:07 -0500
> Randy Barlow <[EMAIL PROTECTED]> wrote:
>
>   
>> Alex Fortwinder wrote:
>> 
>>> I's like to update my system, however, I'd like to keep some of the 
>>> packages as they are (X, firefox, kernel, etc)
>>> How do I go about it before i run emerge --update --deep --newuse world?
>>>   
>> Add entries to /etc/portage/package.mask.  Something like:
>>
>> 
>>> x11-base/xorg-x11-7.0-r1
>>>   
>> would tell portage not to merge anything "greater than" X version
>> 7.0-r1.  You could also just put 7.0 and it would at least get you the
>> bug fixes (r2, r3, etc. when they come along).  Enjoy!
>>
>> R
>> -- 
>> gentoo-user@gentoo.org mailing list
>>
>> 


-- 
Tim Igoe
http://tv.igoe.me.uk - UK TV Guide

"Computers are like Air-con, open windows and they stop working!"




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Windows <->Linux Video Chat App

2006-05-06 Thread Tim Igoe
Ow Mun Heng wrote:
> Hi guys,
>
>   Would like to know if there's any app available which can do that.
> Gaim-VV seems to have stopped devel. Ekiga doesn't work on windows.
> Skype works.. but it's only audio on Linux.
>
> Anyone??
Wasn't Ekiga what used to be 'Gnomemeeting' - which was designed to be
interoperable with Windows Netmeeting so that option should work
(Netmeeting might not have a shortcut on a Windows 2k / XP box straight
away - iirc it lives in c:\program files\netmeeting\conf.exe or
something like that - I can find it if you need it.

-- 
Tim Igoe
[EMAIL PROTECTED]
http://tim.igoe.me.uk - Personal Site
http://tv.igoe.me.uk - UK TV Guide
http://f1forums.igoe.me.uk - *New* F1 Forums

"Computers are like Air-con, open windows and they stop working!"




signature.asc
Description: OpenPGP digital signature


[gentoo-user] Re: bash_history

2006-03-19 Thread Tim Kruse
* On 18.03.2006 Neil Bothwick wrote:

> On Sat, 18 Mar 2006 10:17:19 +0100, Tim Kruse wrote:
>
>>  Like you set all options in zsh ...
>>
>> setopt INC_APPEND_HISTORY  # incrementally append history to $HISTFILE
>
> Not that different from Bash then? :-)
>
> shopt -s histappend

 Do you mean the option itself or setting options? Setting
options is not so different in the most shells I think.

 If you mean the option itself then ...

,-
| % man bash | col -b | grep -A 3 histappend
| histappend
| If  set,  the history list is appended to the file named
| by the value of the HISTFILE  variable  when  the  shell
| exits, rather than overwriting the file.
| %
| % man zshoptions | col -b | grep -A 5 APPEND_HISTORY
| APPEND_HISTORY 
| If this is set, zsh sessions will append their history  list  to
| the  history file, rather than overwrite it. Thus, multiple par-
| allel zsh sessions will all have their history  lists  added  to
| the history file, in the order they are killed.
|
| ---
| INC_APPEND_HISTORY
| This options works like APPEND_HISTORY except that  new  history
| lines  are added to the $HISTFILE incrementally (as soon as they
| are entered), rather than waiting until  the  shell  is  killed.
| The  file  is periodically trimmed to the number of lines speci-
| fied by $SAVEHIST, but can exceed this value between  trimmings.
`-

 You see the difference? :-P

 So long,
tkr

-- 
What you don't know can hurt you, only you won't know it.


signature.asc
Description: PGP signature


[gentoo-user] Re: bash_history

2006-03-18 Thread Tim Kruse
* On 07.03.2006 Harry Putnam wrote:

> I'd love it more if they bothered to tell you how to set this stuff.

 A second notice to that.

 'man zshoptions' says it all. You even haven't to scroll down as
it is all mentioned on the first page ...

 So long,
tkr

-- 
MSDOS didn't get as bad as it is overnight -- it took over ten years
of careful development.
-- [EMAIL PROTECTED]


signature.asc
Description: PGP signature


[gentoo-user] Re: bash_history

2006-03-18 Thread Tim Kruse
* On 07.03.2006 Harry Putnam wrote:

> Tim Kruse <[EMAIL PROTECTED]> writes:
> 
>>  I love zsh ;-)
>>
>> ,-
>> | % setopt | grep -i "append.*history"
>> | incappendhistory
>> | % man zshoptions | col -b | grep -A 4 APPEND_HISTORY
>> | APPEND_HISTORY 
>> | If this is set, zsh sessions will append their history  list  to
>> | the  history file, rather than overwrite it. Thus, multiple par-
>> | allel zsh sessions will all have their history  lists  added  to
>> | the history file, in the order they are killed.
>> |--
>> | INC_APPEND_HISTORY
>> | This options works like APPEND_HISTORY except that  new  history
>> | lines  are added to the $HISTFILE incrementally (as soon as they
>> | are entered), rather than waiting until  the  shell  is  killed.
>> | The  file  is periodically trimmed to the number of lines speci-
>> | fied by $SAVEHIST, but can exceed this value between  trimmings.
>> `-
>
> I'd love it more if they bothered to tell you how to set this stuff.

 Like you set all options in zsh ...

setopt INC_APPEND_HISTORY  # incrementally append history to $HISTFILE

 So long,
tkr

-- 
A countryman between two lawyers is like a fish between two cats.
-- Ben Franklin


signature.asc
Description: PGP signature


Re: [gentoo-user] antivirus

2006-03-09 Thread Tim Igoe
Ghaith Hachem wrote:
> That's very intresting, i actually only use windows xp since all my
> university software don't run in wine (OU lan simulator, visual works,
> mathcad) anyway having a power user seems to be a good idea i'll try
> it when i reinstall windows
> thx
>
>
>
> --
> Cheers,
> Ghaith
A windows `Power User` is too privileged for most uses. Ideally Windows
would be great if it followed the Linux way of working more - install as
Admin (thats fine imo) but run as a completely unprivileged (guest or
standard) user.

I've had problems with windows machines not running software as
unprivileged users before now. Causes too many problems due to the
access and thus viruses / malware that get installed.

-- 
Tim Igoe
[EMAIL PROTECTED]
http://tim.igoe.me.uk - Personal Site
http://tv.igoe.me.uk - UK TV Guide
http://f1forums.igoe.me.uk - *New* F1 Forums

"Computers are like Air-con, open windows and they stop working!"




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] antivirus

2006-03-08 Thread Tim Igoe
neil wrote:
> Jarry wrote:
>
>> I got viruses many times.
>
> Over the past 20-odd years, I have had machines running many versions
> of DOS, all versions of Windows since Windows 286, all versions of
> OS/2 since 1.3 and several distributions of Linux. I have never, ever
> seen a virus. I have to wonder what you are doing to be so "unfortunate".
>
If your 'doze boxes have been always been firewalled - ok, that explains
that.

Otherwise I'd be very surprised - try installing XP and connecting to
the t'internet to get all the updates, you'll be lucky to last 5 minutes
with an internet accessible IP :)

My Linux boxes are frequently bombarded by Viruses (even ones that are
years old - SQL Slammer, Blaster etc)

-- 
Tim Igoe
[EMAIL PROTECTED]
http://tim.igoe.me.uk - Personal Site
http://tv.igoe.me.uk - UK TV Guide
http://f1forums.igoe.me.uk - *New* F1 Forums

"Computers are like Air-con, open windows and they stop working!"




signature.asc
Description: OpenPGP digital signature


[gentoo-user] Re: bash_history

2006-03-06 Thread Tim Kruse
* On 07.03.2006 Haim Ashkenazi wrote:

>> I am wondering what do I need to config so that when a user or root
>> type reboot the commands typed before a saved in bash_history and also
>> when the user or root don' type anything but just press combination of
>> keys ctrl+alt+del?
> when you press reboot the shell process dies, so it doesn't save the
> history. if you want to save history you have to exit the shell and then
> login and enter reboot, or press ctrl+alt+del.

 I love zsh ;-)

,-
| % setopt | grep -i "append.*history"
| incappendhistory
| % man zshoptions | col -b | grep -A 4 APPEND_HISTORY
| APPEND_HISTORY 
| If this is set, zsh sessions will append their history  list  to
| the  history file, rather than overwrite it. Thus, multiple par-
| allel zsh sessions will all have their history  lists  added  to
| the history file, in the order they are killed.
|--
| INC_APPEND_HISTORY
| This options works like APPEND_HISTORY except that  new  history
| lines  are added to the $HISTFILE incrementally (as soon as they
| are entered), rather than waiting until  the  shell  is  killed.
| The  file  is periodically trimmed to the number of lines speci-
| fied by $SAVEHIST, but can exceed this value between  trimmings.
`-

 So long,
tkr

-- 
"There are some good people in it, but the orchestra as a whole is equivalent
to a gang bent on destruction."
-- John Cage, composer


signature.asc
Description: PGP signature


Re: [gentoo-user] firefox locks up when looking at flash

2006-02-13 Thread Tim Igoe
Cláudio Henrique wrote:
> firefox + flash used to be troublesome with transparency. are you
> using transparency?
>   
Nope, tried it and gave up due to lack of usefulness from the ATi
drivers when fluff mode was on.
> On 2/11/06, Tim Igoe <[EMAIL PROTECTED]> wrote:
>   
>> Tim Igoe wrote:
>> 
>>> Iain Buchanan wrote:
>>>
>>>   
>>>> If you're having flash / firefox problems, upgrade firefox to 1.5.0.1!
>>>>
>>>> On Tue, 2006-02-07 at 20:28 +0930, Iain Buchanan wrote:
>>>>
>>>>
>>>> 
>>>>> On Tue, 2006-02-07 at 10:27 +, Tim Igoe wrote:
>>>>>
>>>>>   
>>>>>> Quoting Iain Buchanan <[EMAIL PROTECTED]>:
>>>>>>
>>>>>>
>>>>>> 
>>>>>>> I can't seem to access any pages with firefox that have flash on
>>>>>>> them.
>>>>>>> I have mozilla-firefox-1.5-r9.  The little spinning "load" indicator
>>>>>>> just gets stuck, and I can't do anything but `killall firefox-bin`.
>>>>>>>
>>>>>>>   
>>>>>> I get this exact same problem - it'll work fine for a little bit,
>>>>>> then once its gone, I have to kill flash (rm ~/.mozilla/plugins/*)
>>>>>> and re-install it.
>>>>>>
>>>>>>         
>>>>> I see there is a new firefox (1.5.0.1) so maybe that will work...
>>>>>
>>>>>   
>>>> It worked.  I can now access the flash pages that weren't working
>>>> recently!
>>>>
>>>>
>>>>
>>>> 
>>> I'll try it, and see how it goes :)
>>>
>>>   
>> It didn't help me :( still crash soemtimes on flash movies. Sometimes it
>> works, but others it just locks firefox up, only way out of it is to
>> kill it and remove flash. Annoying, but not the end of the world.
>>
>> --
>> Tim Igoe
>> [EMAIL PROTECTED]
>> http://tim.igoe.me.uk - Personal Site
>> http://tv.igoe.me.uk - UK TV Guide
>> http://f1forums.igoe.me.uk - *New* F1 Forums
>>
>> "Computers are like Air-con, open windows and they stop working!"
>>
>> --
>> gentoo-user@gentoo.org mailing list
>>
>>
>> 
>
>   


-- 
Tim Igoe
[EMAIL PROTECTED]
http://tim.igoe.me.uk - Personal Site
http://tv.igoe.me.uk - UK TV Guide
http://f1forums.igoe.me.uk - *New* F1 Forums

"Computers are like Air-con, open windows and they stop working!"




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] OpenGL X desktop

2006-02-11 Thread Tim Igoe
I guess it was referring to the thread on the Gentoo forums

http://forums.gentoo.org/viewtopic-t-386012-highlight-xgl.html



Daevid Vincent wrote:
> I'm sorry, could you give me/us the URL for the forum?
>
> Is that a gentoo forum or the freedesktop one?
> I went to www.freedesktop.org but didn't see a 'forum' link, only mailing
> lists. 
>
>   
>> -Original Message-
>> From: Hemmann, Volker Armin 
>> [mailto:[EMAIL PROTECTED] 
>> Sent: Saturday, February 11, 2006 1:59 AM
>> To: gentoo-user@lists.gentoo.org
>> Subject: Re: [gentoo-user] OpenGL X desktop
>>
>> On Saturday 11 February 2006 03:06, Daevid Vincent wrote:
>> 
>>> Whoa. Check out this demo of a new OpenGL X desktop. IMHO 
>>>   
>> it blows away the
>> 
>>> Mac OS/X
>>>
>>> http://www.freedesktop.org/~davidr/xgl-demo1.xvid.avi
>>>
>>> Anyone have any other info on when this will be available? 
>>>   
>> How does it
>> 
>>> work?
>>>   
>> look into the forum, unsupported software, big thread.
>>
>> 
>>> It looks like they're just using Gnome. Will it work with KDE too?
>>>   
>> yes it does. It works with every wm (except compiz, which is 
>> a gconf addon - 
>> gconf the windows registry for linux.. but luckily nobody 
>> needs compiz).
>>
>> If you are only interested in shadows and transparency, you 
>> don't need to 
>> install Xgl.
>> -- 
>> gentoo-user@gentoo.org mailing list
>>
>>
>> 
>
>   


-- 
Tim Igoe
[EMAIL PROTECTED]
http://tim.igoe.me.uk - Personal Site
http://tv.igoe.me.uk - UK TV Guide
http://f1forums.igoe.me.uk - *New* F1 Forums

"Computers are like Air-con, open windows and they stop working!"

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] firefox locks up when looking at flash

2006-02-11 Thread Tim Igoe
Tim Igoe wrote:
> Iain Buchanan wrote:
>
>> If you're having flash / firefox problems, upgrade firefox to 1.5.0.1!
>>
>> On Tue, 2006-02-07 at 20:28 +0930, Iain Buchanan wrote:
>>  
>>
>>> On Tue, 2006-02-07 at 10:27 +, Tim Igoe wrote:
>>>   
>>>> Quoting Iain Buchanan <[EMAIL PROTECTED]>:
>>>>
>>>> 
>>>>> I can't seem to access any pages with firefox that have flash on
>>>>> them.
>>>>> I have mozilla-firefox-1.5-r9.  The little spinning "load" indicator
>>>>> just gets stuck, and I can't do anything but `killall firefox-bin`.
>>>>>   
>>>> I get this exact same problem - it'll work fine for a little bit,
>>>> then once its gone, I have to kill flash (rm ~/.mozilla/plugins/*)
>>>> and re-install it.
>>>> 
>>> I see there is a new firefox (1.5.0.1) so maybe that will work...
>>>   
>>
>> It worked.  I can now access the flash pages that weren't working
>> recently!
>>
>>  
>>
>
> I'll try it, and see how it goes :)
>
It didn't help me :( still crash soemtimes on flash movies. Sometimes it
works, but others it just locks firefox up, only way out of it is to
kill it and remove flash. Annoying, but not the end of the world.

-- 
Tim Igoe
[EMAIL PROTECTED]
http://tim.igoe.me.uk - Personal Site
http://tv.igoe.me.uk - UK TV Guide
http://f1forums.igoe.me.uk - *New* F1 Forums

"Computers are like Air-con, open windows and they stop working!"

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] firefox locks up when looking at flash

2006-02-09 Thread Tim Igoe

Iain Buchanan wrote:


If you're having flash / firefox problems, upgrade firefox to 1.5.0.1!

On Tue, 2006-02-07 at 20:28 +0930, Iain Buchanan wrote:
 


On Tue, 2006-02-07 at 10:27 +0000, Tim Igoe wrote:
   


Quoting Iain Buchanan <[EMAIL PROTECTED]>:

 


I can't seem to access any pages with firefox that have flash on them.
I have mozilla-firefox-1.5-r9.  The little spinning "load" indicator
just gets stuck, and I can't do anything but `killall firefox-bin`.
   

I get this exact same problem - it'll work fine for a little bit, then 
once its gone, I have to kill flash (rm ~/.mozilla/plugins/*) and 
re-install it.
 


I see there is a new firefox (1.5.0.1) so maybe that will work...
   



It worked.  I can now access the flash pages that weren't working
recently!

 



I'll try it, and see how it goes :)

--
Tim Igoe
[EMAIL PROTECTED]
http://tim.igoe.me.uk - Personal Site
http://tv.igoe.me.uk - UK TV Guide
http://f1forums.igoe.me.uk - *New* F1 Forums

"Computers are like Air-con, open windows and they stop working!"

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] firefox locks up when looking at flash

2006-02-07 Thread Tim Igoe

Quoting Iain Buchanan <[EMAIL PROTECTED]>:


Hi,

I can't seem to access any pages with firefox that have flash on them.
I have mozilla-firefox-1.5-r9.  The little spinning "load" indicator
just gets stuck, and I can't do anything but `killall firefox-bin`.

I tried re-emerging mozilla-firefox and netscape-flash, but it had no
effect.


I get this exact same problem - it'll work fine for a little bit, then 
once its gone, I have to kill flash (rm ~/.mozilla/plugins/*) and 
re-install it. It'll work for  a bit then go again. Very annoying as it 
used to work, but my hard disk died so I was forced to re-install :(


I did once upon a time have this working... any suggestions?

thanks,
--
Iain Buchanan 

Misfortunes arrive on wings and leave on foot.

--
gentoo-user@gentoo.org mailing list



Tim


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dying hard drive?

2006-01-13 Thread Tim Igoe
ways   - 
  11505h+32m
10 Spin_Retry_Count0x0013   253   253   049Pre-fail  Always   - 
  0
12 Power_Cycle_Count   0x0032   100   100   000Old_age   Always   - 
  50
194 Temperature_Celsius 0x0022   163   127   000Old_age   Always   
-   25
195 Hardware_ECC_Recovered  0x000a   100   100   000Old_age   Always   
-   265460048
196 Reallocated_Event_Count 0x0012   100   100   000Old_age   Always   
-   2
197 Current_Pending_Sector  0x0033   253   253   010Pre-fail  Always   
-   0
198 Offline_Uncorrectable   0x0031   100   100   010Pre-fail  Offline  
-   2
199 UDMA_CRC_Error_Count0x000b   100   100   051Pre-fail  Always   
-   0
200 Multi_Zone_Error_Rate   0x000b   100   100   051Pre-fail  Always   
-   0
201 Soft_Read_Error_Rate0x000b   100   100   051Pre-fail  Always   
-   0

SMART Error Log Version: 1
ATA Error Count: 1
CR = Command Register [HEX]
FR = Features Register [HEX]
SC = Sector Count Register [HEX]
SN = Sector Number Register [HEX]
CL = Cylinder Low Register [HEX]
CH = Cylinder High Register [HEX]
DH = Device/Head Register [HEX]
DC = Device Command Register [HEX]
ER = Error register [HEX]
ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 1 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours)
 When the command that caused the error occurred, the device was active or idle.

 After command completion occurred, registers were:
 ER ST SC SN CL CH DH
 -- -- -- -- -- -- --
 04 51 00 01 00 00 a0  Error: ABRT

 Commands leading to the command that caused the error were:
 CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
 -- -- -- -- -- -- -- --    
 b1 c0 00 01 00 00 a0 00  00:00:07.688  DEVICE CONFIGURATION RESTORE
 ec 00 03 01 00 00 a0 00  00:00:07.688  IDENTIFY DEVICE
 91 00 3f 01 00 00 af 00  00:00:07.688  INITIALIZE DEVICE PARAMETERS [OBS-6]
 10 00 00 01 00 00 a0 00  00:00:07.688  RECALIBRATE [OBS-4]
 ec 00 01 01 00 00 a0 00  00:00:07.688  IDENTIFY DEVICE

SMART Self-test log structure revision number 1
Num  Test_DescriptionStatus  Remaining  LifeTime(hours)  
LBA_of_first_error
# 1  Extended offlineCompleted: read failure   00% 11486 
262886799
# 2  Short offline   Completed without error   00% 11483 -

Device does not support Selective Self Tests/Logging
smartctl version 5.33 [i686-pc-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/



# smartctl -l selftest /dev/hda

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num  Test_DescriptionStatus  Remaining  LifeTime(hours)  
LBA_of_first_error
# 1  Extended offlineCompleted: read failure   00% 11486 
262886799
# 2  Short offline   Completed without error   00% 11483 -


 


Tim

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] autopoweroff

2005-12-21 Thread Tim Igoe

cucu ionut cristian wrote:

 

I have a machine here that does that. I've tied changing all bar the PSU 
(its a custom case with a custom PSU) but i'm guessing that theres 
something iffy wiht it. Your PSU does provide more than enoguh power on 
all rails for what you need?


Tim
   


PSA? i'm gessing it has something to do with the power source right. But
I don't quite follow u! I don't thinks the source provides more power
than neeed it because the power output on the source maches the one in
the motherboard tech spec. Thou that might me a starting point, but I
don't think I would buy a new source just for that; or could this cause
more problems?

 


PSU - as in Power Supply Unit.

You don't necesserily need to buy a new one, but you could try 
unplugging some devices and running the system on minimum hardware to 
see how stable it is(n't).


As i said, i've had a machine just power off, i suspect the power supply 
to be on its way. I'm going to borrow one from another PC to test it 
with, see if the problme repeats with a different unit.


Tim


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] autopoweroff

2005-12-21 Thread Tim Igoe

cucu ionut cristian wrote:


On Wed, 2005-12-21 at 10:59 -0700, Ryan wrote:
 

You can tell if the machine rebooted itself by looking at 
/var/log/messages and checking the datestamps.  The 1st thing to load is 
usually syslog.  You can also check the datestamp of /var/log/dmesg and 
that will tell you the date that it last booted also.
   



Maybe my english is bad but my computer is not rebooting(there are a lot
of resons for that) but just turnes itself off, wich I think is another,
but important issue

 

I have a machine here that does that. I've tied changing all bar the PSU 
(its a custom case with a custom PSU) but i'm guessing that theres 
something iffy wiht it. Your PSU does provide more than enoguh power on 
all rails for what you need?


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



Re: [gentoo-user]

2005-11-29 Thread Tim Igoe
if you read the header of every email from this list, or the site it
says to email [EMAIL PROTECTED] to unsubscribe.


Ole Robert Hestvik wrote:
> unsubscribe gentoo-user

-- 
Tim Igoe
[EMAIL PROTECTED]
http://tim.igoe.me.uk - Personal Site
http://tv.igoe.me.uk - UK TV Guide
http://f1forums.igoe.me.uk - *New* F1 Forums

"Computers are like Air-con, open windows and they stop working!"


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] OT - ORT invisible

2005-11-06 Thread Tim Igoe
Antoine wrote:
> Hi,
> I am trying to set up a website for my father and wanted to use a free
> hosting service here in France (1 gig space + php + mysql, no ads - so
> not to be sniffed at!). I have got myself a domain name (for me not him,
> but it is just for testing...) and am trying to work out whether it is
> possible to make it so that the user doesn't see the fact that it is on
> a free host. I am using the redirection provided by my dns service to
> point to a directory on the free site
> (http://antonovich.free.fr/DerekMelser). When I put the url
> http://www.antonmelser.org into the url bar it does indeed take me
> there... but clicking on the links on the page keeps the same thing
> there (eg, the link
> http://antonovich.free.fr/DerekMelser/journal/recent.html), which means
> still http://www.antonmelser.org. That would be OK but unfortunately
> even when I click on a link to an external site the
> http://www.antonmelser.org stays there... not so nice! I get the same
> with firefox and konqueror and even IE on doze - so it looks more like a
> feature than a bug - can someone enlighten me on this?
> Cheers
> Antoine

Your links going external are still opening within the frame. The
redirection will be setting a full page frame and then load the free
host within that frame.

For your external links to show with the correct url you will need to
jump out of hte frame - so setting a target of _top should do that :)

Thus, http://www.someexternalurl.com"; target="_top">Go
Elsewhere

-- 
Tim Igoe
[EMAIL PROTECTED]
http://tim.igoe.me.uk - Personal Site
http://tv.igoe.me.uk - UK TV Guide

"Computers are like Air-con, open windows and they stop working!"


signature.asc
Description: OpenPGP digital signature


  1   2   >