Re: [gentoo-user] Can't hear anything. :-(

2010-02-17 Thread Roger Mason
Hello Alan,

Alan Mackenzie  writes:

>> Did you get this worked out yet? 
>
> Not yet, no.
>
>> VERY strange that you don't see pcm as a mixer control...
>
> I've got alsamixer 1.0.21.  Could it be that it choses its controls
> according to the capabilities of the sound card?
>
>> It's a bit hard to say much with so little info but I'll offer a
>> couple of things:
>
>> 1) IMO Alsa has never run so well when drivers are compiled into the
>> kernel. I do a lot of audio in Linux and have always had the best
>> results using modules. I would strongly suggest you give it a try...
>
> Oh deity!  I was hoping not to have to do this.  I've never used modules
> before, since they are (or were) an unnecessary complication, and might
> introduce security risks.  Maybe I'll have to read up on this.
>
>> 2) Under /proc/asound/card0 (or whatever card you are using if you
>> have more than 1) do you see any pcm directories?
>
> # ls /proc/asound/card0
>   codec#0  id  oss_mixer  pcm0c  pcm0p pcm1p  pcm2c
>
> , so yes, I can see some pcm directories.
>
>> 3) Post back a little more info?
>
>> cat /proc/asound/cards
>
>0 [SB ]: HDA-Intel - HDA ATI SB
> HDA ATI SB at 0xfbcf8000 irq 16
>1 [HDMI   ]: HDA-Intel - HDA ATI HDMI
> HDA ATI HDMI at 0xfbffc000 irq 19
>
>
>> aplay -l
>
> List of PLAYBACK Hardware Devices 
>card 0: SB [HDA ATI SB], device 0: ALC1200 Analog [ALC1200 Analog]
>  Subdevices: 1/1
>  Subdevice #0: subdevice #0
>card 0: SB [HDA ATI SB], device 1: ALC1200 Digital [ALC1200 Digital]
>  Subdevices: 1/1
>  Subdevice #0: subdevice #0
>card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
>  Subdevices: 1/1
>  Subdevice #0: subdevice #0
>
>> aplay -L
>
>default:CARD=SB
>HDA ATI SB, ALC1200 Analog
>Default Audio Device
>front:CARD=SB,DEV=0
>HDA ATI SB, ALC1200 Analog
>Front speakers
>surround40:CARD=SB,DEV=0
>HDA ATI SB, ALC1200 Analog
>4.0 Surround output to Front and Rear speakers
>surround41:CARD=SB,DEV=0
>HDA ATI SB, ALC1200 Analog
>4.1 Surround output to Front, Rear and Subwoofer speakers
>surround50:CARD=SB,DEV=0
>HDA ATI SB, ALC1200 Analog
>5.0 Surround output to Front, Center and Rear speakers
>surround51:CARD=SB,DEV=0
>HDA ATI SB, ALC1200 Analog
>5.1 Surround output to Front, Center, Rear and Subwoofer speakers
>surround71:CARD=SB,DEV=0
>HDA ATI SB, ALC1200 Analog
>7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
>iec958:CARD=SB,DEV=0
>HDA ATI SB, ALC1200 Digital
>IEC958 (S/PDIF) Digital Audio Output
>null
>Discard all samples (playback) or generate zero samples (capture)
>hdmi:CARD=HDMI
>HDA ATI HDMI, ATI HDMI
>HDMI Audio Output
>
>
>> lsmod
>
>Opening /proc/modules: No such file or directory
>

I have Intel HDA and load the necessary drivers as modules.  I had to
add some "stuff" to the module configuration to get sound from my card,
which is:

pyrope ~ $ aplay -l
 List of PLAYBACK Hardware Devices 
card 0: Headset [Logitech USB Headset], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Intel [HDA Intel], device 0: ALC885 Analog [ALC885 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Intel [HDA Intel], device 1: ALC885 Digital [ALC885 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

It was the ALC885 that was troublesome to get going.  Have a look in
/usr/src/linux/Documentation/sound/alsa/ at the HD*.txt for information.

Good luck,
Roger



Re: [gentoo-user] Re: [OT] Screen sharing software or similar

2010-02-20 Thread Roger Mason
James  writes:

> Renat Golubchyk  gmx.net> writes:
>
>
>> too. For easy writing I would probably buy graphics tablets since
>> writing math formulas or drawing isn't particularly fast or easy with
>> keyboard and mouse.
>
>
> If my old (weak) memory serves me correctly,
> some time back several folks where discussing getting writing tablets to
> work with Gentoo.

Tha tablet part of this ought to be straightforward.  I have a Wacom
Graphire USB tablet working with several machines including PPC,
Core2duo & x86.  I have the tablet configured in xorg.conf (have not
tried with hal).  There is info on the wiki:
http://en.gentoo-wiki.com/wiki/Wacom_Tablet

Roger



Re: [gentoo-user] Re: sci-physics/root slotting?

2010-04-21 Thread Roger Mason
Hello Daid,

daid kahl  writes:

>> Hello,
>>
>> For anyone who uses the data analysis framework ROOT developed mainly
>> at CERN (sorry, I didn't name it 'root'), I can imagine that slotting
>> would be an extremely useful feature.
>
>> It occurred to me tonight that adding slotting should be easy and very
>> useful.

I use ROOT a fair amount.  I have not personally run into issues with
sensitivity of macros to ROOT version, at least not that I know of.  I
am running 5.22-r2 on an X86_64 system and 5.25/02 on a ppc.  The latter
was compiled outside portage because ROOT is masked with missing keyword
on that system.

If there is something I can do to help out then please let me know.  I
am not much of a programmer, but at the very least I should be able to
run tests.  I have a few old machines around that could be fired up and
used as test beds.

I am tied up with end of term stuff for the next week or so, but then my
time will be a bit more flexible.

Cheers,
Roger



[gentoo-user] Compiling 32 bit library on x86_64

2010-04-30 Thread Roger Mason
Hello,

I need to compile a 32 bit version of libtermcap on an x86_64 (multilib)
system.  Can someone tell me how to set up CFLAGS?  This is what I have
at the moment:

CFLAGS="-O2 -m32 -march=native -msse3 -pipe"
CXXFLAGS="-O2 -m32 -march=native -msse3 -pipe"

ebuild libtermcap-compat-2.0.8-r2.ebuild compile

ends with:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld:
i386 architecture of input file `termcap.o' is incompatible with
i386:x86-64 output
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld:
i386 architecture of input file `tparam.o' is incompatible with
i386:x86-64 output
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld:
i386 architecture of input file `version.o' is incompatible with
i386:x86-64 output

Thanks,
Roger



Re: [gentoo-user] Compiling 32 bit library on x86_64

2010-04-30 Thread Roger Mason
David W Noon  writes:

> On Fri, 30 Apr 2010 12:10:02 +0200, Roger Mason wrote about
> [gentoo-user] Compiling 32 bit library on x86_64:
>
>>Hello,
>>
>>I need to compile a 32 bit version of libtermcap on an x86_64
>>(multilib) system.  Can someone tell me how to set up CFLAGS?  This is
>>what I have at the moment:
>>
>>CFLAGS="-O2 -m32 -march=native -msse3 -pipe"
>>CXXFLAGS="-O2 -m32 -march=native -msse3 -pipe"
>
> The -march=native will shoot you in the foot. Pick a 32-bit
> architecture and use that instead; e.g. -march=i686
>
> Then, -msse3 could also be problematic, unless the target is a very late
> model Pentium 4.  I would ditch that too.

Many thanks.  Interestingly enough, even though the build of libtermca
failed, the static library _was_ built and my application builds against
it just fine.

Roger



Re: [gentoo-user] Compiling 32 bit library on x86_64

2010-04-30 Thread Roger Mason
Mike Edenfield  writes:

> Have you tried using sys-devel/crossdev?

Not in the present context.

> It will set up the entire 32-bit cross-compiler environment for you;
> then it's just a matter of setting a couple of environment variables to
> switch compilers.

Some time ago I tried setting up cross-compilation so that I could use a
rather heterogeneous collection of amd64, ppc and x86 machines in
icecream.  Unfortunately I could not get cross-compilation to work.  I
asked about it in this forum but did not get any replies.

Cheers,
Roger



Re: [gentoo-user] Compiling 32 bit library on x86_64

2010-05-01 Thread Roger Mason
Mike Edenfield  writes:

> On 4/30/2010 12:40 PM, Roger Mason wrote:
>> Mike Edenfield  writes:
>> 
>>> Have you tried using sys-devel/crossdev?
>> 
>> Not in the present context.
>> 
>>> It will set up the entire 32-bit cross-compiler environment for you;
>>> then it's just a matter of setting a couple of environment variables to
>>> switch compilers.
>> 
>> Some time ago I tried setting up cross-compilation so that I could use a
>> rather heterogeneous collection of amd64, ppc and x86 machines in
>> icecream.  Unfortunately I could not get cross-compilation to work.  I
>> asked about it in this forum but did not get any replies.
>
> I have it set up on my laptop. I admit it's been a while since I used
> it, but I know it worked at one point.
>
> Though I was using it on a standard PC, the best source of information I
> found on the process was the Gentoo Embedded Handbook:
>
>
> http://www.gentoo.org/proj/en/base/embedded/handbook/?part=1
>
> The whole first section is on setting up a cross-compiler, just
> substitute i686-pc-linux-gnu for your target architecture.

Ah, thank you.  I'll have another go at it this summer.

Roger



[gentoo-user] x86 boot failure

2010-05-06 Thread Roger Mason
Hello all,

I just built a new machine (celeron 3 GHz) using a script that builds
the kernel using genkernel and a config that is copied from that of the
kernel on the install cd.  The latter was downloaded and burned from a
very recent autobuild.

The build process appears to complete successfully, with nothing
untoward in the logs.  However, the machine will not boot but hangs at
this point in the process:

root (hd0,0)

Filesystem type is ext2fs, partition type 0x83
kernel /boot/kernel-genkernel-x86-2.6.32-gentoo-r7 root=/dev/ram0 init=linuxrc 
ramdisk=8192 real_root=/dev/sda3 vga=791

[Linux-bzImage, setup=0x3000, size=0x2a8d80]

This is the grub.conf:

default 0
timeout 5

title Gentoo genkernel-x86-2.6.32-gentoo-r7
root (hd0,0)

kernel /boot/kernel-genkernel-x86-2.6.32-gentoo-r7 root=/dev/ram0 init=/linuxrc 
ramdisk=8192 real_root=/dev/sda3 vga=791
initrd /boot/initramfs-genkernel-x86-2.6.32-gentoo-r7

I have verified that the names of the kernel and initrd on the disk
match those in grub.conf.  In any case a wrong filename is usually
signalled as 'not found' during the boot process.

Can anyone suggest how to debug this?

Thanks,
Roger



Re: [gentoo-user] x86 boot failure

2010-05-06 Thread Roger Mason
Mick  writes:

> On 6 May 2010 09:37, Roger Mason  wrote:
>>
>> Can anyone suggest how to debug this?
>
> When I get problems like this I usually run grub in a terminal and
> then use autocompletion to find out what grub sees:
>
> root (hd  <--tab
>
> it will list all partitions and hopefully help you find your boot partition.
>
> Then search for the kernel image:  kernel /boot/   <--tab
>
> If you have chosen the correct grub root partition you should find
> your kernel image in there.

I assume you mean to boot from the install CD then chroot into the new
install and run grub from bash?

Thanks,
Roger



Re: [gentoo-user] x86 boot failure

2010-05-06 Thread Roger Mason
Roger Mason  writes:

>>> Can anyone suggest how to debug this?

Egg on face.  The processor is listed in the bios as Intel EM64T.

Does that mean I should re-build this as an amd64 system?  If the answer
to that is yes, then I don't understand why the x86 install CD booted
without problems.

Cheers,
Roger



Re: [gentoo-user] x86 boot failure

2010-05-06 Thread Roger Mason
Stroller  writes:

> On 6 May 2010, at 09:37, Roger Mason wrote:
>> ...
>> I just built a new machine (celeron 3 GHz) using a script that builds
>> the kernel using genkernel and a config that is copied from that of
>> the
>> kernel on the install cd.
>
> Are you sure ext[234] is compiled statically into the kernel in this
> .config?

Yes.

> Also the drivers for the EIDE / SATA controller.
>
> The liveCD configs I've seen generally store these as modules. I, too,
> usually take a copy of the config from a working LiveCD when I compile
> a kernel, but I *always* have to change something.

This what grep SATA kernel-config says:

# CONFIG_BLK_DEV_IDE_SATA is not set
CONFIG_SATA_PMP=y
CONFIG_SATA_AHCI=m
CONFIG_SATA_SIL24=m
CONFIG_SATA_SVW=m
CONFIG_SATA_MV=m
CONFIG_SATA_NV=m
CONFIG_SATA_QSTOR=m
CONFIG_SATA_PROMISE=m
CONFIG_SATA_SX4=m
CONFIG_SATA_SIL=m
CONFIG_SATA_SIS=m
CONFIG_SATA_ULI=m
CONFIG_SATA_VIA=m
CONFIG_SATA_VITESSE=m
CONFIG_SATA_INIC162X=m

lspci says:
00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA

So, what must I set?

Thanks for the help.

Roger



Re: [gentoo-user] x86 boot failure

2010-05-07 Thread Roger Mason
Hello Andrea,

Andrea Conti  writes:

> I would check the processor type setting (A 3GHz Celeron should be
> P4-based) and/or muck around with ACPI. Also try disabling framebuffer
> drivers and using a plain VGA console.
>
> Leave all advanced settings in your bios to their defaults.
>
> And no, EM64T just means it *can* run amd64 -- i686 is fine and IMO a
> lot better for that kind of hardware if you do not absolutely need to
> run 64-bit code for some reason.

That is what I thought.

I looked into the BIOS: no AHCI support.  I edited the genkernel .config
and set the various SATA drivers as built-in.  There seemed to be
nothing wrong with grub or its configuration (I rebuilt it anyway, just
in case).  In the end I gave up and installed the machine as an amd64.
I may know today how that turned out: my install script shuts the
machine down at the end and I'll need to get someone to re-boot it for
me as I'm not in the office.

I'll let you know what happened.

Thanks Andrea and everyone else for your help.

Roger



Re: [gentoo-user] x86 boot failure

2010-05-07 Thread Roger Mason
Helmut Jarausch  writes:

> One more hint (that I've got earlier on this list)

> Boot from a rescue CD  (preferably
> http://www.sysresccd.org/
> )
>
> then execute
> lspci -k

> it shows you all drivers that have been selected during boot.

Many thanks fir the information.

Cheers,
Roger



Re: [gentoo-user] x86 boot failure [solved]

2010-05-10 Thread Roger Mason
"Walter Dnes"  writes:

> On Thu, May 06, 2010 at 11:49:01AM -0230, Roger Mason wrote
>
>> Egg on face.  The processor is listed in the bios as Intel EM64T.
>> 
>> Does that mean I should re-build this as an amd64 system?
>
>   No, it's not necessary.  64-bit Intel and AMD cpus will run 32-bit
> mode without problems.  It's your decision which one to use.  General
> rule of thumb...
>
> - If you have 4 gigs or more of RAM, the 64-bit OS will take better
>   advantage of it than a 32-bit OS.
>
> - If you have 3 gigs or less of RAM, stick with 32-bit.
>
>   I'm running 32-bit mode on an Intel(R) Core(TM)2 Duo CPU E4600 and it
> works fine.

I did some reading and found that Grub does not work on this hardware.
I installed and configured lilo and the system booted.

Cheers,
Roger



Re: [gentoo-user] Boot hangs after install, no error

2010-06-17 Thread Roger Mason
Jake,

Jake Moe  writes:

> I've just completed a fresh Gentoo installation on a new laptop, and
> strangely, after I choose the entry from the Grub screen, all I get is:
>
>   Booting `Gentoo Linux 2.6.32-r7`
>
> root (hd0,1)
>  Filesystem type is ext2fs, partition type 0x83
> kernel /kernel-2.6.32-gentoo-r7 root=/dev/sda4
>[Linux-bzImage, setup=0x3000, size=0x1ab020]
>
> It then sits there.  No error, no other messages.  The hard drive light
> stops, and the Num Lock and Caps Lock keys don't respond.  If I press
> the power button, it immediately turns off.
>
> The laptop is a HP 8440p and I've installed amd64.  I've followed the
> install guide, and the hard drive has Windows, EXT2 /boot, swap, EXT3 /
> on it.  I've compiled EXT2, EXT3 and SATA AHCI into the kernel.
>
> Does anyone have any idea what I've forgotten or missed?  If you need
> more info, let me know.  Thanks for any help you can give.

I had a similar problem about 6 weeks or so ago.  It turned out that the
hardware (a Dell Optiplex 320) and Grub were incompatible in some way.
I installed Lilo instead, and everything now works fine.  So, try
searching on your specific hardware to see if this is a known problem.

Roger



Re: [gentoo-user] xorg won't start on intel iMac

2009-11-07 Thread Roger Mason
Hello David,

daid kahl  writes:

> 2009/11/6 Roger Mason :
>> I have an intel iMac Core 2 Duo with an ATI radeon HD 2400 XT video
>> card.  I have not been able to get X working.
>>
>
> I'm also running on an apple machine (macbook), so I might be able to
> help.  My video card is intel, so my settings won't be exactly the
> same.
>
> The first point I suggest is to re-emerge all your x11-drivers/xf86
> files.  Sometimes after an xorg update these need to be re-installed
> (although it sounds like you are running on a clean install.

Yes, a clean install.

> Your make.conf settings look okay, but I wonder about
> /etc/X11/xorg.conf and hal.  Is hal installed and running (to run it
> /etc/init.d/hald start or to add it to default rc-update add hal
> default).  hal should take care of the keyboard and mouse without any
> extra configuration (special keys and trackpad scrolling extra
> features aside.  check out pommed for hotkey support in apple).

> I recall that in xorg.conf the driver for my video card device was a
> bit picky over what I told it.  For me this was more an intel graphics
> issue compared with xorg changes (it used to be under i810 and then it
> was changed to intel, and so there is some mismatching sometimes in my
> experience).  Try a few options for this variable when you startx.
>
> Try these things (and shoot along xorg.conf) and let me know how it
> goes.

I unmerged ati-drivers and removed fglrx from make.conf then rebuilt
xorg-server without hal.  I was then able to generate an xorg.conf file
using Xorg -configure.  The generated file chose the vesa driver but
after editing that to radeon it now works.  I am not sure quite which
step in the above was effective in providing a cure.  Now that I have a
working xorg.conf to which I can revert I will try again with hal and
fglrx.  I can't send the xorg.conf as I don't have access to the machine
today.

Many thanks for your help.

Roger



[gentoo-user] sound on intel imac

2009-11-14 Thread Roger Mason
Hello,

I have a 20 inch aluminum imac:

 uname -a
Linux pyrope 2.6.30-gentoo-r5 #9 SMP Sat Nov 14 14:04:55 NST 2009 x86_64
Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz GenuineIntel GNU/Linux

The sound card is listed by lspci as:

00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio
Controller (rev 03)

cat /proc/asound/card0/codec#0 says

Codec: Realtek ALC889A

I'm using the in-kernel alsa drivers.  I have tried compiling into the
kernel and as modules.  I cannot get any output from speakers or
headphone. (Yes, I have run alsamixer and un-muted everything).

I have looked around using google and problems with the ALC889A codec
seem common.  I tried some of the suggested fixes, like setting
model=whatever to the kernel snd-intel-hda module.  Nothing I have tried
has worked.  I know the sound system is functioning because it works in
OSX.

If anyone here has any suggestions or knows for sure that the sound
system on these machines cannot be made to work in Gentoo it would be
useful to find out before I waste more time on it.

Thanks,
Roger



Re: [gentoo-user] sound on intel imac [solved]

2009-11-18 Thread Roger Mason
Hello Daid,

Thanks for your reply.

daid kahl  writes:

>>> # emerge alsa-util alsa oss
>
> ...and "alsa-utils"
>
> I should go to sleep...

After my post I knuckled down and worked systematically through the
model= options for ALC883/888 and ALC882/885, having gleaned from the
internet that these are most similar to the 889A.  The possible choices
are listed in /usr/src/linux/Documentation/alsa/HD-Audio-Models.txt.
Several choices produced sound, but only this (for ALC882/885):

options snd-hda-intel model=mbp3

in /etc/modprobe.d/alsa.conf, followed by running update-modules,

produces sound and turns off the speakers when the headphones are
plugged in.

This was one of the options I tried before posting, having found it
using google, but it did not work.  I _think_ I made the mistake of
rerunning alsaconf after editing /etc/modprobe.d/alsa.conf, which of
course erased my edit!  Dumb.

Best wishes,
Roger



[gentoo-user] eth1 won't start

2009-11-27 Thread Roger Mason
Hello all,

I have a machine[1] into which I installed a second NIC.  It is identified
by lspci as:

00:0a.0 Ethernet controller: Accton Technology Corporation SMC2-1211TX
(rev 10)

The driver, 8139too, is compiled as a module and loaded by udev.  After
booting, lsmod says:

8139too18304  0

I have net.eth1 symlinked to net.lo in /etc/init.d/ and /etc/conf.d/net
is empty.  When I try to start interface:

# /etc/init.d/net.eth1 start
 * Starting eth1
 *   Configuration not set for eth1 - assuming DHCP
 *   Bringing up eth1
 * dhcp
 *   network interface eth1 does not exist
 *   Please verify hardware or kernel module (driver)

I'd appreciate any help.

Thanks,
Roger
Linux lowalbite 2.6.26-gentoo-r3 #6 Fri Nov 27 14:01:52 NST 2009 i686 Pentium 
II (Deschutes) GenuineIntel GNU/Linux



Re: [gentoo-user] eth1 won't start

2009-11-28 Thread Roger Mason

Hello John & Walt,

Thanks for the responses.  Here is the information you asked for.

John Lowry  writes:

> What is the contents of your /etc/udev/rules.d/70-persistent-net.rules

# PCI device 0x10b7:0x9200 (3c59x)
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:01:03:c5:2a:7b",
NAME="eth0"

# PCI device 0x1113:0x1211 (8139too)
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:10:b5:e0:c5:13",
NAME="eth1"

# PCI device 0x1113:0x1211 (8139too)
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:10:b5:e0:cc:c8",
NAME="eth2"

# PCI device 0x10b7:0x9200 (3c59x)
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:04:75:8f:8f:b4",
NAME="eth3"

> file contain? Also, what about ifconfig -a?

eth0  Link encap:Ethernet  HWaddr 00:01:03:C5:2A:7B  
  inet addr:134.153.37.83  Bcast:134.153.37.255
  Mask:255.255.254.0
  inet6 addr: fe80::201:3ff:fec5:2a7b/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:407960 errors:0 dropped:0 overruns:1 frame:0
  TX packets:105016 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:70312188 (67.0 Mb)  TX bytes:22034895 (21.0 Mb)
  Interrupt:11 Base address:0x2000 

eth2  Link encap:Ethernet  HWaddr 00:10:B5:E0:CC:C8  
  BROADCAST MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
  Interrupt:10 Base address:0x4000 

loLink encap:Local Loopback  
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:79 errors:0 dropped:0 overruns:0 frame:0
  TX packets:79 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0 
  RX bytes:5980 (5.8 Kb)  TX bytes:5980 (5.8 Kb)

sit0  Link encap:IPv6-in-IPv4  
  NOARP  MTU:1480  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0 
  RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)


Best wishes,
Roger



Re: [gentoo-user] eth1 won't start [solved]

2009-11-28 Thread Roger Mason
Hello John,

John Lowry  writes:

> If you have only the two cards installed you can delete
> everything except for the first entry and the one referencing the card
> currently in the machine and change name to "eth1." So:
>
> SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:01:03:c5:2a:7b",
> NAME="eth0"
>
> SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:10:b5:e0:cc:c8",
> NAME="eth1"

Yes, that fixed it.

Many thanks,
Roger



[gentoo-user] gcc 4.2.4 fails to build

2009-12-01 Thread Roger Mason
Hello,

I need to build gcc 4.2 on a core 2 duo system.  The only 4.2.x version
is 4.2.4, which is masked by ~.  When I try to build it fails:

...
/var/tmp/portage/sys-devel/gcc-4.2.4-r1/work/build/./gcc/xgcc 
-B/var/tmp/portage/sys-devel/gcc-4.2.4-r1/work/build/./gcc/ 
-B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem 
/usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include 
-O2  -O2 -O2 -march=core2 -pipe  -DIN_GCC-W -Wall -Wwrite-strings 
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem 
./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  
-msse -c \

/var/tmp/portage/sys-devel/gcc-4.2.4-r1/work/gcc-4.2.4/gcc/config/i386/crtfastmath.c
 \
-o crtfastmath.o
/var/tmp/portage/sys-devel/gcc-4.2.4-r1/work/gcc-4.2.4/gcc/config/i386/crtfastmath.c:1:
 error: bad value (core2) for -march= switch
/var/tmp/portage/sys-devel/gcc-4.2.4-r1/work/gcc-4.2.4/gcc/config/i386/crtfastmath.c:1:
error: bad value (core2) for -mtune= switch

I do indeed have -march=core2 in /etc/make.conf.  I suppose I could
change -march= to something else and try again - but what should I
change it to?  gcc-4.2.4 would only be used for non-portage compiling
so, am I right in thinking that after it is built it would be safe to
revert to -march=core2?

Thanks,
Roger



Re: [gentoo-user] gcc 4.2.4 fails to build [solved]

2009-12-02 Thread Roger Mason
"Zeerak Waseem"  writes:

> if you're using an intel core2 processor, the proper -march setting is
> -march=nocona

> Steffen Loos  writes:

> You can try "march=native".

> Maybe it is a good choice for make.conf too?! 

Thank you Zeerak & Steffen, it is now compiled & installed.

Roger



Re: [gentoo-user] only 1 remote machine is receiving distcc jobs

2009-12-04 Thread Roger Mason
Xi Shen  writes:

> i have 3 machines in my LAN, all of them have distcc installed and are
> configured to use all 3 machines to compile. on one machine i started
> emerging a very large ebuild, but only the local machine on of the 2
> remote machine is compiling, while the other one is idle. if i change
> the address order in the /etc/distcc/hosts file, the idle started to
> work, and the previous working one becomes idle.
>
> how can i make all of them work?

Try emerging app-misc/mc as a test just in case the package you are
using explicitly disables distcc, as Alex Schuster pointed out.  It is
small and I have always found that it compiles fine with distcc.

Just passing on a tip I saw in this forum.

Good luck,
Roger



[gentoo-user] xinerama on dual head radeon 9600

2009-12-14 Thread Roger Mason

Hello,

I'm trying to set up a radeon 9600 in an Apple G5 with two monitors.
I've tried both Xinerama and MergedFB.

Server version:

X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.30-gentoo-r5 ppc64 
Current Operating System: Linux perthite 2.6.30-gentoo-r5 #5 SMP Fri Dec 11 
15:01:41 NST 2009 ppc64

Here is the result using xinerama:

(==) Using config file: "/etc/X11/xorg.conf"
  XRANDR name: DVI-0
  Connector: DVI-I
  CRT1: INTERNAL_DAC1
  DFP2: INTERNAL_DVO1
  DDC reg: 0x60
finished output detect: 0
finished all detect
before xf86InitialConfiguration
after xf86InitialConfiguration
  XRANDR name: DVI-1
  Connector: DVI-I
  CRT2: INTERNAL_DAC2
  DFP1: INTERNAL_TMDS1
  DDC reg: 0x64
finished output detect: 0
finished all detect
before xf86InitialConfiguration
after xf86InitialConfiguration
Entering TV Save
Save TV timing tables
saveTimingTables: reading timing tables
TV Save done
disable primary dac
disable primary dac

Backtrace:
0: X(xorg_backtrace+0x4c) [0x100f5738]
1: X(xf86SigHandler+0x68) [0x100732b8]
2: [0x100344]
3: X(XNFalloc+0x38) [0x100fa57c]
4: /usr/lib/xorg/modules//libxaa.so [0xf500b1c]
5: /usr/lib/xorg/modules/drivers//radeon_drv.so [0xf61fc30]
6: X(xf86CrtcSetMode+0x11c) [0x100b06bc]
7: X(xf86SetDesiredModes+0x208) [0x100b0e44]
8: /usr/lib/xorg/modules/drivers//radeon_drv.so(RADEONScreenInit+0x1b3c)
[0xf5ff818]
9: X(AddScreen+0x1c8) [0x100265a0]
10: X(InitOutput+0x230) [0x100672a8]
11: X(main+0x25c) [0x10026d14]
12: /lib/libc.so.6 [0xf858d64]
13: /lib/libc.so.6 [0xf858f14]

Fatal server error:
Caught signal 11.  Server aborting

disable primary dac
finished PLL2
finished PLL1
Entering Restore TV
Restore TV PLL
Restore TVHV
Restore TV Restarts
Restore Timing Tables
Restore TV standard
Leaving Restore TV
giving up.


Here is the corresponding xorg.conf:

Section "ServerLayout"
Identifier "Xinerama"
Screen  0  "Screen0" 0 0
Screen  1  "Screen1" LeftOf "Screen0"
InputDevice"Mouse0" "CorePointer"
InputDevice"Keyboard0" "CoreKeyboard"
InputDevice"stylus""SendCoreEvents"
InputDevice"eraser""SendCoreEvents"
InputDevice"cursor""SendCoreEvents"# For non-LCD tablets
InputDevice"pad"   # For Intuos3/CintiqV5/Graphire4/Bamboo tablets
Option "Xinerama" "true"
EndSection

Section "Module"
Load "ddc"
Load  "extmod"
Load  "xtrap"
Load  "dri"
Load  "glx"
Load  "record"
Load  "dbe"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver  "kbd"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "auto"
Option  "Device" "/dev/input/mice"
Option  "ZAxisMapping" "4 5 6 7"
EndSection

# === WACOM STUFF ==
# snipped to save space
# = END WACOM STUFF =

Section "Device"
Identifier  "Card0"
Driver  "radeon"
VendorName  "ATI Technologies Inc"
BoardName   "RV350 AP [Radeon 9600]"
BusID   "PCI:240:16:0"
Screen 0
Option "MonitorLayout" "CRT,CRT"
EndSection

Section "Device"
Identifier  "Card1"
Driver  "radeon"
VendorName  "ATI Technologies Inc"
BoardName   "RV350 AP [Radeon 9600]"
BusID   "PCI:240:16:0"
Screen 1
Option "MonitorLayout" "CRT,CRT"
EndSection

Section "Monitor"
Identifier   "ViewSonic19"
Option  "DPMS"
EndSection

Section "Monitor"
Identifier   "Trinitron19"
Option  "DPMS"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor"ViewSonic19"
SubSection "Display"
Virtual  1280 1024
Viewport 0 0
Depth 24
Modes "1280x1024"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor"Trinitron19"
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection

I've also tried MergedFB.  That does not crash but i just get two
identical views of my desktop.

Sorry for the long post.

I'd appreciate any help offered.

Thanks,
Roger



Re: [gentoo-user] xinerama on dual head radeon 9600

2009-12-16 Thread Roger Mason
Sebastian Beßler  writes:

> Am 14.12.2009 21:39, schrieb Roger Mason:
>> 
>> Hello,
>> 
>> I'm trying to set up a radeon 9600 in an Apple G5 with two monitors.
>> I've tried both Xinerama and MergedFB.
>
> Hello,
>
> the reason for segfaulting is that you try to use a zaphod style
> xorg.conf with xrandr. That don't mix. I learned that the hard way.
>
> Xinerama is deprecated and replaced by xrandr so you need to configure
> that if you want use a Xinerama-like layout.

Many thanks for the help.  I tried it yesterday without success,
possibly because my windowmanager (fvwm) needs tweaking.  I will post
back with succes or failure in the next few days.

Best wishes,
Roger



Re: [OT] [gentoo-user] xinerama on dual head radeon 9600

2009-12-16 Thread Roger Mason
Willie Wong  writes:

> On Mon, Dec 14, 2009 at 10:42:18PM +0100, Penguin Lover Sebastian Be?ler 
> squawked:
>> the reason for segfaulting is that you try to use a zaphod style
>  
>> xorg.conf with xrandr. That don't mix. I learned that the hard way.
>
> You just made my day :)

Zaphod style?  What is that?

Cheers,
Roger



Re: [OT] [gentoo-user] xinerama on dual head radeon 9600

2009-12-16 Thread Roger Mason
Willie Wong  writes:


>> Zaphod style?  What is that?
>> 
>
> You perhaps are not familiar with the Hitchhiker's Guide to the
> Galaxy. A picture is worth a thousand words:
>  http://www.bbc.co.uk/cult/hitchhikers/gallery/tv/zaphod2.shtml
> Meet Zaphod Beeblebrox. 
>
> (Unfortunately you don't get quite the same effect using the Zaphod
> from the new movie. Nobody stacks twinview/cinerama like *that*!)

Two headed.  Duh!  I should have figured it out.  I heard HGG on the
radio in the 1970's (?).

Roger



Re: [gentoo-user] Howto generate a list of installed packages?

2009-12-28 Thread Roger Mason
"Alan E. Davis"  writes:

>Season's Greetings to one and all.
>I would like to be able to generate a script or list of packages of
>some kind that would enable me to install Gentoo with an identical
>profile of installed packages.  Since with Debian/Ubuntu one can run
>   dpkg --get-selections > file
>and
>   dpkg --set-selections < file
>(or some such), one imagines that the Gentoo gurus/magicians are able
>to do something similar.
>It takes me months to get a new machine up to speed.  In fact, I have
>just realized I don't have tcsh installed, something I hardly EVER use,
>but need to run a one of a kind script.
>Can anyone make a suggestion?  Am I missing something?
>Thanks
>Alan Davis

You might also consider a stage4 installation:
http://en.gentoo-wiki.com/wiki/Custom_Stage4

I have just gone through this procedure to re-install gentoo on a laptop
that had not been updated in a very long time.

Cheers,
Roger



[gentoo-user] crossdev/icecream

2010-01-22 Thread Roger Mason
hello,

I'm trying to set up icecream as a cross-compiler to use a core2 duo
(amd64) machine to compile for i686 machines.

I worked my way through the gentoo wiki icecream howto.  I ran crossdev:

pyrope ~ # crossdev -t i686-pc-linux-gnu
---
 * Host Portage ARCH: amd64
 * Target Portage ARCH:   x86
 * Target System: i686-pc-linux-gnu
 * Stage: 4 (C/C++ compiler)

 * binutils:  binutils-[latest]
 * gcc:   gcc-[latest]
 * headers:   linux-headers-[latest]
 * libc:  glibc-[latest]

 * PORTDIR_OVERLAY:   /usr/local/portage
 * PORT_LOGDIR:   /var/log/portage
 * PKGDIR:/usr/portage/packages/cross/i686-pc-linux-gnu
 * PORTAGE_TMPDIR:/var/tmp/cross/i686-pc-linux-gnu
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -
 * _  -  ~  -  _  -  ~  -  _  -  ~  -  _  - 
 * Forcing the latest versions of {binutils,gcc}-config/gnuconfig ...
 * [ ok ]
 * Log: /var/log/portage/cross-i686-pc-linux-gnu-binutils.log
 * Emerging cross-binutils ...
 * [ ok ]
 * Log: /var/log/portage/cross-i686-pc-linux-gnu-linux-headers-quick.log
 * Emerging cross-linux-headers-quick ...
 * [ ok ]
 * Log: /var/log/portage/cross-i686-pc-linux-gnu-glibc-headers.log
 * Emerging cross-glibc-headers ...
 * [ ok ]
 * Log: /var/log/portage/cross-i686-pc-linux-gnu-gcc-stage1.log
 * Emerging cross-gcc-stage1 ...
 * [ ok ]
 * Log: /var/log/portage/cross-i686-pc-linux-gnu-linux-headers.log
 * Emerging cross-linux-headers ...
 * [ ok ]
 * Log: /var/log/portage/cross-i686-pc-linux-gnu-glibc.log
 * Emerging cross-glibc ...
 * [ ok ]
 * Log: /var/log/portage/cross-i686-pc-linux-gnu-gcc-stage2.log
 * Emerging cross-gcc-stage2 ...
 * [ ok]

Then:

pyrope ~ # icecream-create-env i686-pc-linux-gnu
'/usr//i686-pc-linux-gnu/gcc-bin/4.4.2/i686-pc-linux-gnu-gcc' is no
executable.
Testing icecc environment...
tar: -C: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: /tmp/tmp.mvQTLnojyc: Not found in archive
tar: Error exit delayed from previous errors
chroot: failed to run command `/usr/bin/gcc': No such file or directory

Creating icecc environment failed. Please see error message(s) above!
The temporary directory is: /tmp/tmp.mvQTLnojyc/

Looking in /usr/i686-pc-linux-gnu/ there is no gcc-bin/ directory, hence
the error.

Does anyone have suggestions on how to proceed?

Thanks,
Roger



[gentoo-user] gnome & keychain

2010-01-29 Thread Roger Mason
Hello,

I have previously used keychain as per the gentoo docs.  Once I
supplied the SSH passphrase at the console I was able to access other
machines without providing a password.

I have just started using gnome and am logging in using gdm.  When I log
in I am not asked for a passphrase.  If I start a screen session in an
xterm I'm prompted for my passphrase.  Then I start a new xterm and use
it to ssh to another machine and a dialogue opens asking for the
passphrase.

I would like to know how to configure gdm/gnome to ask for the
passprhase once, at login so that I don't have to enter it multiple
times.

Thanks,
Roger



Re: [gentoo-user] gnome & keychain

2010-01-30 Thread Roger Mason
Hi Alexander,

Alexander  writes:

> On Friday 29 January 2010 19:45:53 Roger Mason wrote:
>> 
>> I would like to know how to configure gdm/gnome to ask for the
>> passprhase once, at login so that I don't have to enter it multiple
>> times.
>> 
>> Thanks,
>> Roger
>> 
>
>
> try to install app-crypt/seahorse and maybe app-crypt/seahorse-plugins

I have seahorse installed and it is in the list of startup apps under
Preferences.  I _am_ being asked for a _passphrase_ when I try to ssh to
another machine (although the dialogue calls it a _password_).  I have
no idea which application is popping up this dialogue.  Having supplied
the passphrase I can ssh to the remote machine without being asked again
for the passphrase.  However, if I then open an xterm on my local
machine and start an xterm inside it I am prompted for the passphrase
again, on the xterm, not in a dialogue box.

Thanks,
Roger



Re: [gentoo-user] rsync, ssh, multiple directories

2005-06-24 Thread Roger Mason
Pupeno <[EMAIL PROTECTED]> writes:

> how can I rsync various directories in one line (using ssh) ?
> I'm looking for something  like [EMAIL 
> PROTECTED]:/home/pupeno/[dira|dirb|dirc] that 
> works.
> Thanks.

Try unison - it's in portage.  I just started using it and so-far
so-good.

HTH,

Roger Mason
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Network problem: following gentoo diskless howto for PXE diskless systems

2008-03-20 Thread Roger Mason
William Kenworthy <[EMAIL PROTECTED]> writes:

>
> I am using "config_eth0=( "noop" )" as suggested in the howto but the
> network still seems to startup, getting a new dhcp lease with a blank
> rootpath=, after which init fails:
>

Does it work if you don't start net.eth0 with the init scripts?  That
is how I got my diskless nodes to boot and they all have network
access without problems:

rc-update show | grep net.eth0
net.eth0 | 


Cheers,
Roger
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] PRNG is not seeded

2008-03-27 Thread Roger Mason
Alex Schuster <[EMAIL PROTECTED]> writes:

> Dale writes:
>
>> Kaushal Shriyan wrote:
>
>> > Both the files /dev/random and /dev/urandom are missing in my system.
>> >
>> I just noticed this on mine.  Do you have the service urandom in the
>> boot runlevel?
>
> Looking at the init script it seems like if the character 
> device /dev/urandom does not exist, it exits directly.
>
> Does anyone know what exactly creates these device nodes and why it could 
> fail? 

Some kernel option?

grep RANDOM /usr/src/linux/.config
CONFIG_HW_RANDOM=y
CONFIG_HW_RANDOM_INTEL=y
CONFIG_HW_RANDOM_AMD=y
CONFIG_HW_RANDOM_GEODE=y
CONFIG_HW_RANDOM_VIA=y

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



[gentoo-user] [OT] NFS through a firewall

2008-04-11 Thread Roger Mason
Hello,

I'm trying to configure the firewall on a client to allow that client
to mount an nfs directory.  The client runs a netfilter firewall, the
server uses tcpwrapper.

rpcinfo -p on the server shows:

beryl rmason # rpcinfo -p
   program vers proto   port
102   tcp111  portmapper
102   udp111  portmapper
1000241   udp  32765  status
1000241   tcp  32765  status
132   udp   2049  nfs
133   udp   2049  nfs
132   tcp   2049  nfs
133   tcp   2049  nfs
1000211   udp   4001  nlockmgr
1000213   udp   4001  nlockmgr
1000214   udp   4001  nlockmgr
1000211   tcp   4001  nlockmgr
1000213   tcp   4001  nlockmgr
1000214   tcp   4001  nlockmgr
151   udp  32767  mountd
151   tcp  32767  mountd
152   udp  32767  mountd
152   tcp  32767  mountd
153   udp  32767  mountd
153   tcp  32767  mountd

When I try to mount the exported directory when the firewall is
running I get a timeout:

minnie ~ $ mount -v Help/
mount: trying 134.153.37.5 prog 13 vers 3 prot tcp port 2049
mount: trying 134.153.37.5 prog 15 vers 3 prot udp port 32767
mount: mount to NFS server 'beryl.esd.mun.ca' failed: timed out
(retrying).

If I drop the client firewall the mount succeeds.

Can someone help me figure out what must be put in my iptables script
to get this to work?

Thanks,
Roger
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] [OT] NFS through a firewall

2008-04-14 Thread Roger Mason
Hello,

Dan Farrell <[EMAIL PROTECTED]> writes:

> On Fri, 11 Apr 2008 11:19:11 -0230
> Roger Mason <[EMAIL PROTECTED]> wrote:
>
>> Hello,
>> 
>> I'm trying to configure the firewall on a client to allow that client
>> to mount an nfs directory.  The client runs a netfilter firewall, the
>> server uses tcpwrapper.
>> 
>> Can someone help me figure out what must be put in my iptables script
>> to get this to work?

[snip]

>
> Accept all incoming and outgoing connections on the client that
> originate from or go to the server.  It would look something like this:
>
> iptables -I INPUT -s 134.153.37.55 -j ACCEPT
> iptables -I INPUT -s 134.153.37.55 -j ACCEPT
>
> now make sure those will work with your config before just blindly
> setting them up!  

Thank you, this works:

> iptables -I INPUT  -s 134.153.37.55 -j ACCEPT
> iptables -I OUTPUT -s 134.153.37.55 -j ACCEPT

Many thanks to all who replied.

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



Re: [gentoo-user] [OT] NFS through a firewall

2008-04-14 Thread Roger Mason
Hamie <[EMAIL PROTECTED]> writes:

> On Friday 11 April 2008 13:49:11 Roger Mason wrote:
>> Hello,
>>
>> I'm trying to configure the firewall on a client to allow that client
>> to mount an nfs directory.  The client runs a netfilter firewall, the
>> server uses tcpwrapper.
>
> Do you have the option to run nfsv4? It uses only port tcp-2049. That way you 
> don't need portmapper (port 111), lockmgr, status, or mountd.

Not at the moment: the server is running a very old (obsolete)
profile, so it is hard to update.  A complete rebuild is on my agenda,
but I won't get to it for a few weeks.

It looks like a good solution though.

Cheers,
Roger
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] emerge virtual/emacs fails

2008-04-28 Thread Roger Mason
Hello,

Has anyone else run into this:

emerge virtual/emacs

[snip]

>>> Unpacking m4-1.4.11.tar.lzma to /var/tmp/portage/m4-1.4.11/work
unpack m4-1.4.11.tar.lzma: file format not recognized. Ignoring.
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/m4-1.4.11 ...

!!! ERROR: sys-devel/m4-1.4.11 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  m4-1.4.11.ebuild, line 23:   Called econf '--enable-nls'
  '--enable-changeword'
  ebuild.sh, line 543:   Called die

!!! no configure script found
!!! If you need support, post the topmost build error, and the call
!!! stack if relevant.

I looked on bugzilla, where it was suggested to run:

emerge -1 app-arch/lzma-utils

I did that but the error on m4 persists.

If anyone has a workaround, please pass it on.

Thanks,
Roger
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] [OT] NFS through a firewall

2008-04-28 Thread Roger Mason
Enrico Weigelt <[EMAIL PROTECTED]> writes:

>
> BTW: if you don't actually *need* NFS, but just some network
> filesystem, you might want to try 9P.

I finally got this solved with some help from this list.

Your comment about the 9P filesystem is interesting as I'm somewhat
interested in an operating system for a cluster, and the 9P operating
system, from what I've read, was designed as a distributed system from
the start.  It is a pity there seems to have been so little software
ported to run on it.  I've also played a little with xcpu
(http://xcpu.org/) and may install that in the summer.

Cheers,
Roger
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] emerge virtual/emacs fails

2008-04-28 Thread Roger Mason
Justin <[EMAIL PROTECTED]> writes:

>>
>> !!! ERROR: sys-devel/m4-1.4.11 failed.
>>
>> I looked on bugzilla, where it was suggested to run:
>>
>> emerge -1 app-arch/lzma-utils
>>
>> I did that but the error on m4 persists.
>>
>> If anyone has a workaround, please pass it on.
>>
>> Thanks,
>> Roger
>>   
> First try to do
>
> rm -rv /var/tmp/portage/*
>
>
> and emerge it again.

Thanks Justin,  unfortunately that did not work: I have exactly the
same error.

Cheers,
Roger
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] emerge virtual/emacs fails

2008-05-01 Thread Roger Mason
dany2a <[EMAIL PROTECTED]> writes:

> You've got to update portage first, looks like you have an older portage
> version, that cannot handle lzma. Had the same prob and updating portage was
> the fix (besides installing lzma-utils).
>  emerge -a1 portage

That was it.

Thanks very much.

Cheers,
Roger
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] coexisting GCC versions

2009-06-27 Thread Roger Mason
Hello,

I need gcc 4.3 to compile a specific application.  I am hoping that I
can install gcc 4.3 alongside 4.1.1 without suffering some awful
catastrophe.  This is the output of emerge on the machine in question:

emerge -pv gcc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild U ] sys-devel/gcc-config-1.4.0-r4 [1.3.14] 0 kB [?=>0]
[ebuild  N] app-arch/lzma-utils-4.32.7  USE="-nocxx" 469 kB [0]
[ebuild U ] dev-libs/mpfr-2.4.1_p1 [2.2.0_p10] 883 kB [?=>0]
[ebuild U ] sys-libs/glibc-2.8_p20080602-r1 [2.4-r4] USE="gd%*
-debug% -glibc-omitfp (-hardened) (-multilib) -nls -profile (-selinux)
-vanilla% (-build%) (-glibc-compat20%) (-nptl%*) (-nptlonly%*)" 16,415
kB [?=>0]
[ebuild  NS   ] sys-devel/gcc-4.3.2-r3 [4.1.1-r3] USE="doc fortran gcj
gtk mudflap openmp (-altivec) -bootstrap -build (-fixed-point)
(-hardened) -ip28 -ip32r10k -libffi (-multilib) -multislot (-n32) (-n64)
-nls -nocxx -nopie -objc -objc++ -objc-gc -test -vanilla" 58,990 kB [0]

Can someone confirm that I'll be able to use gcc 4.3 for the specific
application that needs it but then revert to 4.1.1 without having to
re-compile all or most of my system?

Thanks,

Roger



Re: [gentoo-user] coexisting GCC versions

2009-06-28 Thread Roger Mason
Hello again,

Roger Mason  writes:

> I need gcc 4.3 to compile a specific application.  I am hoping that I
> can install gcc 4.3 alongside 4.1.1 without suffering some awful
> catastrophe.

> Can someone confirm that I'll be able to use gcc 4.3 for the specific
> application that needs it but then revert to 4.1.1 without having to
> re-compile all or most of my system?

Thanks to all who replied.  My home machine is compiling gcc 4.3 as I
write this (it has been running all night).

The reason I stick with gcc 4.1.1 is that:

(a) I ran into problems during one of the gcc upgrades a couple of years
back and ended up re-installing on a couple of boxes.  Most of my
machines are old and slow so gcc takes a while.

(b) I have about a dozen heterogeneous machines that I use as a distcc
compile farm and it it is a bit of a pain to upgrade all of them
(bearing in mind that distcc can't be used to compile gcc).  I suppose I
should build gcc on the fastest box and install to the remainder as a
binary.

Cheers,
Roger



Re: [gentoo-user] [WAY OT] GUI programming for Linux (and Windows possibly)

2009-06-28 Thread Roger Mason
Mark,

Mark Knecht  writes:

>So the main question is what sort of language (and possibly
> programming environment) should a complete novice look at to get his
> feet wet with GUI programming. I'd like something fairly light -
> performance probably won't be a huge problem - that I could run under
> Cygwin or maybe compile to run native in Windows should that ever
> become useful. For now it's probably a relatively simple Linux app
> that I'd likely run once a week on Saturday morning on 15 to 20
> databases I collect on Friday night.

One possibility is R (http://www.r-project.org/).  It has very good
graphing facilities, can access various database engines, is
multi-platform and unless you process immense quantities of data, should
be fast enough.  There may be people on the R mailing list doing the
kind of thing that you want and there may be an add-on package that
matches your needs (there are hundreds of add-ons).  Lightweight? No,
but you don't need to learn all of it, just the bits relevant to your
usage.  R is in portage.

Another possibility is Root (http://root.cern.ch/drupal/) but it
requires you to program in C++ (but there are Python and Ruby bindings)
and is probably a steeper curve to ascend than R.  However, Root is
capable of processing huge amounts of data quickly -- that is what it
was designed for.  Anything you can do in R you can do in Root, but you
will write more of the application yourself rather than using canned
routines.  I have seen messages on the Root mailing list from people
working with fiscal data.  Root is not lightweight, but is _is_ very
powerful.  Root is in portage.

I'm sure there are other very capable systems out there, these are two
that I use (or have used).

Cheers,
Roger



Re: [gentoo-user] coexisting GCC versions

2009-06-28 Thread Roger Mason
Hello,

Roger Mason  writes:

> I need gcc 4.3 to compile a specific application.  I am hoping that I
> can install gcc 4.3 alongside 4.1.1 without suffering some awful
> catastrophe.  This is the output of emerge on the machine in question:

The compilation finally completed.  It only took about 14 hours.

I followed the info presented at the end of the installation and did, as
root:

gcc-config i686-pc-linux-gnu-4.3.2

and gcc-config -l now says:

garnet rmason # gcc-config -l
 [1] i686-pc-linux-gnu-4.1.1
 [2] i686-pc-linux-gnu-4.3.2 

I also ran source /etc/profile, as recommended and gcc -v now reports
gcc-4.3.2.

However, as an ordinary user gcc -v reports:

garnet ~ $ gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-4.1.1-r3/work/gcc-4.1.1/configure (blah,
blah)

That is after running source /etc/profile _and_ (when that did not
change the reported gcc version) logging out and back in.

How do I set gcc to version 4.3.2 for an ordinary user?

Thanks,

Roger



Re: [gentoo-user] Re: coexisting GCC versions

2009-06-28 Thread Roger Mason
Hi,

Nikos Chantziaras  writes:

> On 06/28/2009 08:54 PM, Roger Mason wrote:
>>[...]
>> I followed the info presented at the end of the installation
>
> Did you read the Gentoo documentation about upgrading GCC?  If not,
> now's the time :)

This is what it says:

# emerge -uav gcc
(Please substitute "i686-pc-linux-gnu-3.4.5" with the GCC
version and CHOST settings you've upgraded to:)
# gcc-config i686-pc-linux-gnu-4.3.2
# source /etc/profile

and that is what I did.

Now gcc-config says:

garnet ~ $ gcc-config -l
 [1] i686-pc-linux-gnu-4.1.1
 [2] i686-pc-linux-gnu-4.3.2 *

Whereas gcc -v says:


gcc version 4.1.1 (Gentoo 4.1.1-r3 p1.10)

If there is something else that I need to do then I did not see it in
the upgrade guide, so please, will someone enlighten me?

Thanks,
Roger



Re: [gentoo-user] list of emerged programs?

2009-06-28 Thread Roger Mason
Hello,

James  writes:

> Is there a simple, quick way to list all of the packages that have
> been emerged in cronological order?

Listing /var/log/portage with appropriate options to ls may work.

Cheers,
Roger



Re: [gentoo-user] Re: coexisting GCC versions

2009-06-29 Thread Roger Mason
Hello Alex,

Alex Schuster  writes:

> Roger Mason writes:
>
>> If there is something else that I need to do then I did not see it in
>> the upgrade guide, so please, will someone enlighten me?
>
> No, your steps worked fine for me.
>
> What is your $PATH? (echo $PATH)
>
> I have /usr/i486-pc-linux-gnu/gcc-bin/4.1.2 in there (just before /usr/i686-
> pc-linux-gnu/gcc-bin/4.3.2), don't know where this comes from. The directory 
> usr/i486-pc-linux-gnu/gcc-bin does not exist, so it does not matter.
>
> Also have a look in /etc/env.d/*gcc*, do these settings look okay? That's 
> where gcc-config changes things. My 05gcc-i686-pc-linux-gnu has the line 
> PATH="/usr/i686-pc-linux-gnu/gcc-bin/4.3.2" in it.

garnet ~ $ echo $PATH
/home/rmason/.nix-profile/bin:/usr/local/coda/bin:/usr/local/coda/sbin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/usr/i686-pc-linux-gnu/gcc-bin/4.3.2:/opt/sun-jdk-1.4.2.17/bin:/opt/sun-jdk-1.4.2.17/jre/bin:/opt/sun-jdk-1.4.2.17/jre/javaws:/usr/qt/3/bin:/home/rmason/bin:/usr/local/axiom/mnt/linux/bin:/usr/local/apache-uima//bin:/usr/local/tau/i386_linux/bin:/usr/local/pdt/i386_linux/bin

garnet ~ $ gcc-config -l
 [1] i686-pc-linux-gnu-4.1.1
 [2] i686-pc-linux-gnu-4.3.2 *

garnet ~ $ ls /etc/env.d/gcc/ -l
total 16
-rw-r--r-- 1 root root  32 Aug  3  2006 config-i386-pc-linux-gnu
-rw-r--r-- 1 root root  32 Jun 28 21:14 config-i686-pc-linux-gnu
-rw-r--r-- 1 root root 235 Mar  8  2008 i686-pc-linux-gnu-4.1.1
-rw-r--r-- 1 root root 235 Jun 28 14:13 i686-pc-linux-gnu-4.3.2

garnet ~ $ cat /etc/env.d/gcc/config-i686-pc-linux-gnu 
CURRENT=i686-pc-linux-gnu-4.3.2

garnet ~ $ cat /etc/env.d/gcc/i686-pc-linux-gnu-4.3.2 
LDPATH="/usr/lib/gcc/i686-pc-linux-gnu/4.3.2"
MANPATH="/usr/share/gcc-data/i686-pc-linux-gnu/4.3.2/man"
INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/4.3.2/info"
STDCXX_INCDIR="g++-v4"
GCC_PATH="/usr/i686-pc-linux-gnu/gcc-bin/4.3.2"

garnet ~ $ cat /etc/env.d/05gcc-i686-pc-linux-gnu 
MANPATH="/usr/share/gcc-data/i686-pc-linux-gnu/4.3.2/man"
INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/4.3.2/info"
LDPATH="/usr/lib/gcc/i686-pc-linux-gnu/4.3.2:/usr/lib/gcc/i686-pc-linux-gnu/4.1.1"
PATH="/usr/i686-pc-linux-gnu/gcc-bin/4.3.2"
ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/4.3.2"
GCC_SPECS=""

Thanks,
Roger



Re: [gentoo-user] Re: coexisting GCC versions [solved]

2009-06-30 Thread Roger Mason
Hi Alex,

Alex Schuster  writes:

> Looks good to me. Finally, what is the PATH in /etc/profile.env? According 
> to the order of your gcc paths, I guess it has /usr/i686-pc-linux-gnu/gcc-
> bin/4.1.1:/usr/i686-pc-linux-gnu/gcc-bin/4.3.2 in it, while only the second 
> one should be there. Does "grep /usr/i686-pc-linux-gnu/gcc-bin/4.1.1 
> /ect/env.d/*" find something? Some obscure other file that env-update uses?
>
> If not, I have no more ideas. I'd change /etc/profile.env by hand then, and 
> file a bug report.

garnet ~ $ grep /usr/i686-pc-linux-gnu/gcc-bin/4.1.1 /etc/env.d/*
/etc/env.d/05gcc-i386-pc-linux-gnu:PATH="/usr/i686-pc-linux-gnu/gcc-bin/4.1.1"
/etc/env.d/05gcc-i386-pc-linux-gnu:ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/4.1.1"

Moving /etc/env.d/05gcc-i386-pc-linux-gnu out of the way & running
env-update and source /etc/profile seems to have fixed things and I can
now switch freely between compiler versions.

Many thanks to you and to all who responded with suggestions.

Cheers,
Roger



[gentoo-user] libtermcap

2009-07-04 Thread Roger Mason
Hello,

I'm trying to compile (outside portage) a program that needs
libtermcap.  I installed libtermcap-compat-2.0.8-r2 but that seems not
to provide it (I looked with 'find').

How can I install libtermcap?

Thanks,
Roger



Re: [gentoo-user] libtermcap

2009-07-05 Thread Roger Mason
joerg.schill...@fokus.fraunhofer.de (Joerg Schilling) writes:

> Roger Mason  wrote:
>
>> How can I install libtermcap?
>
> if you like a real libtermcap, check for libxtermcap that comes with the 
> schily 
> source consolidation:
>
> ftp://ftp.berlios.de/pub/schily/

Many thanks Joerg, that worked.

Roger



[gentoo-user] xset fp+ fails

2009-07-07 Thread Roger Mason
Hello,

I have a new install (not an upgrade) of xorg-server (1.5.3-r6) and
xorg-x11 (7.2), to which I added xset (1.04) so I can add a font path.

The fonts in question are in ~/AMRITA/SITE/fonts/TrueType.  When I run

xset fp+ fonts/TrueType 

from ~/AMRITA/SITE I get the following error:

xset:  bad font path element (#23), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax

The permissions on the offending directories are:

drwxrwxrwx 3 rmason rmason   4096 Nov  4  2003 fonts

drwxrwxrwx 2 rmason rmason 4096 Nov  4  2003 TrueType

I have tried with and without xfs.

If anyone knows how to get this running please help.

Thanks,
Roger



Re: [gentoo-user] Re: xset fp+ fails

2009-07-07 Thread Roger Mason
Hello walt,

walt  writes:

> Do you have a fonts.dir in that directory?  If not, you need to run
> mkfontdir in that directory.

Yes:

~/AMRITA/TEST $ ls ../SITE/fonts/TrueType/ -l
total 572
-rw-r--r-- 1 rmason rmason 88408 Apr 19  2003 dour45w.ttf
-rw-r--r-- 1 rmason rmason 80676 Apr 19  2003 dour46w.ttf
-rw-r--r-- 1 rmason rmason 88504 Apr 19  2003 dour65w.ttf
-rw-r--r-- 1 rmason rmason  4052 Nov  4  2003 fonts.cache-1
-rw-r--r-- 1 rmason rmason  5993 Nov  4  2003 fonts.dir
-rw-r--r-- 1 rmason rmason  5993 Nov  4  2003 fonts.scale
-rwxr-xr-x 1 rmason rmason58 Nov  4  2003 mk_cache
-rw-r--r-- 1 rmason rmason 65076 Apr 19  2003 trebuchet.ttf
-rw-r--r-- 1 rmason rmason 65236 Apr 19  2003 trebuchetb.ttf
-rw-r--r-- 1 rmason rmason 65196 Apr 19  2003 trebuchetbi.ttf
-rw-r--r-- 1 rmason rmason 71248 Apr 19  2003 trebucheti.ttf

Thanks,
Roger



Re: [gentoo-user] Re: xset fp+ fails

2009-07-08 Thread Roger Mason
walt  writes:

> Hm.  Well, I have only two more thoughts (which is three times my
> usual number :o)

I had a thought once, but I've forgotton what it was.

> Have you tried using an absolute path for that directory?

Unfortunatly it makes no difference.

> The word "SITE" suggests maybe you're running your own web server?
> Maybe the server is chrooted for security purposes?

No nothing to do with a web-server and not chrooted.

Thanks,
Roger



[gentoo-user] apache https setup

2009-07-17 Thread Roger Mason
Hello,

I'm trying to set up an apache https server.  I keep getting "Page Load
Error" when trying to connect.  I'm using apache 2.0.58.  I've generated
certificates, worked my way through various problems and apache starts
OK, asking me for the passphrase for the certificate, but it is not
serving up pages.

The error_log contains this:

[Fri Jul 17 13:30:01 2009] [error] [client 127.0.0.1] File does not
exist: /usr/htdocs

The error is correct in that /usr/htdocs does not exist, but I have
set 00_default_vhost.conf to serve documents out of:

DocumentRoot "/var/www/htdocs"

I have spent quite a lot of time searching the web and modifying the
various config files but I can't get the thing to work.  Any help will
be much appreciated.

Thanks,
Roger



Re: [gentoo-user] Tablet PC? Anyone?

2009-02-20 Thread Roger Mason
Willie Wong  writes:

>   Mainly what I am looking for is some sort of
>   pen-mouse/tablet/touchscreen interface that makes drawing diagrams
>   simpler (compared to a touchpad or the little dit that sits between
>   the g,h, and b keys on a laptop). So if anyone knows of a laptop
>   with this kind of built-in interface, it will also be good. 
>

Have you thought of attaching a drawing tablet to your existing laptop?

I have a wacom tablet that works pretty well.  I think there is an
article on the wiki about installation.

Cheers,
Roger



Re: [gentoo-user] gnome-terminal & GNU screen

2009-04-06 Thread Roger Mason
Ward Poelmans  writes:

> I've got a problem running screen in a gnome-terminal: all the usual
> keystroks (for example: ^a c) don't work. When i press ctrl+a d, i
> just get a d on the terminal. Screen works perfectly when i start it
> in a xterm.
> I haven't got a clue where to search for the problem. Any ideas?

I don't know anything about gnome-terminal, but it may be grabbing
keystrokes.  There is probably a config file somewhere in your home
directory, or in a system directory that might throw light on the
matter.

Have you asked on the screen mailing list -- others may have run into
the same problem.

Roger



[gentoo-user] diskless booting

2007-09-28 Thread Roger Mason
Hello,

I'm trying to boot a diskless machine, using the instructions in the
alternative installation guide.

The client boot process hangs, with the following dialog between the
server (192.168.0.2, 00:04:75:77:98:4f) and client (192.168.0.3,
00:01:03:ce:52:a8) repeated three times:

00:04:75:77:98:4f > 00:01:03:ce:52:a8, ARP, length 42: arp who-has
192.168.0.3 tell 192.168.0.2

I'm not sure what information is needed to help debug this, but if
anyone is willing to assist I'll provide whatever is required.

Thanks,

Roger Mason

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] diskless booting [solved, I hope]

2007-09-29 Thread Roger Mason
Hello Dan,

Dan Farrell <[EMAIL PROTECTED]> writes:

> On Fri, 28 Sep 2007 14:03:59 -0230
> Roger Mason <[EMAIL PROTECTED]> wrote:
>
>> The client boot process hangs, with the following dialog between the
>> server (192.168.0.2, 00:04:75:77:98:4f) and client (192.168.0.3,
>> 00:01:03:ce:52:a8) repeated three times:
>> 
>> 00:04:75:77:98:4f > 00:01:03:ce:52:a8, ARP, length 42: arp who-has
>> 192.168.0.3 tell 192.168.0.2
>> 

> what's the config for dhcp/tftp  and what are you using for PXE on the
> client?

Well, the configs were the same as the diskless install docs on the
Gentoo alt-install page, with suitable modifications of the ip and MAC
addresses in the dhcpd.conf.  I _was using pxegrub but, on a whim, I
tried syslinux instead as per the Gentoo diskless howto and, without
any further reconfiguration beyond pointing the client at pxelinix.0,
it booted first time.  After some tweaking of the client fstab and
hosts files it now works fine.

> i think I might be able to help you.

Thanks for the offer.  I'm planning to add some more clients now that
I have one working system.  I'm almost certain to get stuck so I'll
probably be back asking again.

Cheers,

Roger

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] diskless booting [solved, I hope]

2007-10-01 Thread Roger Mason
Hello Dan,

Dan Farrell <[EMAIL PROTECTED]> writes:

> I was going to suggest you avoid pxegrub, but I guess you figured that
> out for yourself.  
>
>> 
>>  I'm almost certain to get stuck so I'll
>> probably be back asking again.
>
> Let me know. 

Well, I had it working on Friday but over the weeekend I tinkered some
more with pixegrub and broke it again.  Now pxelinux won't work
either.

I have the following dhcpd.conf on the host (192.168.0.2):

+dhcpd.conf
ddns-update-style none ;

next-server 192.168.0.2;

option domain-name-servers 192.168.0.2;
option routers 192.168.0.2;

option space PXE;
option PXE.mtftp-ip   code 1 = ip-address;
option PXE.mtftp-cportcode 2 = unsigned integer 16;
option PXE.mtftp-sportcode 3 = unsigned integer 16;
option PXE.mtftp-tmoutcode 4 = unsigned integer 8;
option PXE.mtftp-delaycode 5 = unsigned integer 8;
option PXE.discovery-control  code 6 = unsigned integer 8;
option PXE.discovery-mcast-addr   code 7 = ip-address;

# Declare the subnet where our diskless nodes will live
subnet 192.168.0.0 netmask 255.255.255.0 {
  # Provide PXE clients with appropriate information
  class "pxeclient" {
match if substring(option vendor-class-identifier, 0, 9) = "PXEClient";
vendor-option-space PXE;

# At least one of the vendor-specific PXE options must be set in
# order for the client boot ROMs to realize that we are a PXE-compliant
# server.  We set the MCAST IP address to 0.0.0.0 to tell the boot ROM
# that we can't provide multicast TFTP.

option PXE.mtftp-ip 0.0.0.0;

  }

  host cctp {

  hardware ethernet 00:01:03:ce:52:a8;
  fixed-address 192.168.0.3;
# option option-150 "/calcite/boot/grub.lst";   
   
  filename "pxelinux.0";
  }

}

allow bootp;
allow booting;
+

I have the following in.tftp on the host (192.168.0.2):

+in.tftpd

# /etc/init.d/in.tftpd

INTFTPD_PATH="/diskless"
INTFTPD_USER="nobody"

INTFTPD_OPTS="-v -s ${INTFTPD_PATH}"
+

I have bzImage, pxelinux.0 and pxelinux.cfg/ in /diskless on the
host. pxelinux.cfg/ contains a default file with these contents:

+pxelinux.cfg/default+

DEFAULT /bzImage
APPEND ip=dhcp root=/dev/nfs nfsroot=192.168.0.2:/diskless/calcite



When I try to boot the client, tcpdump -i eth1 prints the following
dialogue:

tcpdump -i eth1
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 96 bytes
11:50:39.930039 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request 
from 00:01:03:ce:52:a8 (oui Unknown), length 548
11:50:39.930886 IP lowalbite.private.bootps > 255.255.255.255.bootpc: 
BOOTP/DHCP, Reply, length 300
11:50:42.072242 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request 
from 00:01:03:ce:52:a8 (oui Unknown), length 548
11:50:42.073040 IP lowalbite.private.bootps > 255.255.255.255.bootpc: 
BOOTP/DHCP, Reply, length 300
11:50:42.077032 arp who-has lowalbite.private tell calcite.private
11:50:42.077088 arp reply lowalbite.private is-at 00:04:75:77:98:4f (oui 
Unknown)
11:50:42.077165 IP calcite.private.2070 > lowalbite.private.tftp:  27 RRQ 
"pxelinux.0" octet tsize 0 
11:50:42.080043 IP lowalbite.private.32771 > calcite.private.2070: UDP, length 
36
11:50:42.081409 IP calcite.private.2071 > lowalbite.private.tftp:  32 RRQ 
"pxelinux.0" octet blksize 1456 
11:50:42.084147 IP lowalbite.private.32771 > calcite.private.2071: UDP, length 
36
11:50:47.077314 arp who-has calcite.private tell lowalbite.private
11:50:48.077397 arp who-has calcite.private tell lowalbite.private
11:50:49.077484 arp who-has calcite.private tell lowalbite.private

If I connect a terminal to the client I see:

"Non-system disk or disk error replace and strike any key when ready"


> By the way, if you're looking for performance enhancements to your
> diskless hosts, let me know. I have found some, and am also always
> looking for more.  

Right now I'd be happy to have it working, no matter how slowly.

One think I have found by searching the internet is that pxegrub has
history of poor interaction with 3Com cards, which is what I'm using.

Thanks for any help you can offer.

Roger

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] diskless booting

2007-10-02 Thread Roger Mason
Hello Dan,

Dan Farrell <[EMAIL PROTECTED]> writes:

> On Mon, 01 Oct 2007 12:57:05 -0230
> Roger Mason <[EMAIL PROTECTED]> wrote:
>
>> Well, I had it working on Friday but over the weeekend I tinkered some
>> more with pixegrub and broke it again.  Now pxelinux won't work
>> either.
>
> I've attached my dhcpd.conf, sans rndc-key.  Please note that this
> configuration has a big block of code that is for dynamic DNS updates.
> I kept it in because I found it hard to figure out for myself, and I
> figured it would be better to put more out on the web rather than refer
> you to sources I don't even know exist.  I don't know if you are
> running BIND or a DNS server that can do static updates, but if you
> can, I highly suggest it for your own sanity.  

As soon as I sat down at the box this morning I spotted the problem,
which was incredibly stupid (but sadly self typical): I had named my
in.tftpd config file without the final "d".  Argh!  Now everything
seems to be running again.

I have kept a copy of your dhcpd.conf as a useful reference.

What I'm trying to accomplish is to build a kerrighed system.  Now on
to the next stage.

Thanks again for your help.

Best wishes,
Roger

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] doing minimall install from a pc within a lan

2007-10-02 Thread Roger Mason
Hello Rafael,

"Rafael Barrera Oro" <[EMAIL PROTECTED]> writes:

>¿how can i connect to the pc which booted from the livecd to continue
>the install without moving from my main gentoo workstation?
>("ssh livecd" from my pc does not work even after startin sshd in the
>remote machine where i am trying to install gentoo)

I assume that the network on the livecd machins is correctly started
and that you have also done "/etc/init.d/sshd start" on that machine.

You will also need to set the root password on the livecd to a known
value.

If none of that works then you'll have to provide more info and
perhaps someone more knowledgeable will help.

Cheers,
Roger

--
[EMAIL PROTECTED] mailing list



[gentoo-user] nfs server problem

2007-10-03 Thread Roger Mason
Hello,

I installed a vanilla 2.6.20 kernel in order to (eventually) run
kerrighed.  The kernel boots fine but the nfs server won't start and I
see this in the logs:

Oct  3 07:34:40 lowalbite rpc.statd[103835]: Version 1.1.0 Starting
Oct  3 07:34:41 lowalbite nfsd: last server has exited
Oct  3 07:34:41 lowalbite nfsd: unexporting all filesystems
Oct  3 07:34:41 lowalbite nfsd[103901]: nfssvc: Address already in use

When I boot into gentoo 2.6.22 this problem goes away, so I assume
there is some difference in kernel configuration.  I have not been
able to find what that is by comparing the NFS_* entries in the
respective .congig files: they are identical.

Can someone suggest how I might track this down?

Thanks,

Roger

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] nfs server problem

2007-10-03 Thread Roger Mason
Hi Dan,

Dan Farrell <[EMAIL PROTECTED]> writes:

> On Wed, 03 Oct 2007 08:54:30 -0230
> Roger Mason <[EMAIL PROTECTED]> wrote:
>
>> Hello,
>> 
>> I installed a vanilla 2.6.20 kernel in order to (eventually) run
>> kerrighed.  The kernel boots fine but the nfs server won't start and I
>> see this in the logs:
>> 
>> Oct  3 07:34:40 lowalbite rpc.statd[103835]: Version 1.1.0 Starting
>> Oct  3 07:34:41 lowalbite nfsd: last server has exited
>> Oct  3 07:34:41 lowalbite nfsd: unexporting all filesystems
>> Oct  3 07:34:41 lowalbite nfsd[103901]: nfssvc: Address already in use
>> 

> It seems like there's two options: either you're trying to run 2 nfs
> servers, or you're trying to run nfs threads that for some reason
> conflict with each other.  
>
> anyway, the solution I suggest is checking the output of 'netstat -l -p
> -n' to see whether anything really is listening on those ports.  If
> not, try using a quick script to keep reading the output of the
> previous netstat command and checking consistantly to see whether
> anything's listening on those ports while you restart nfs. 
> -- 

That is agood idea -- I'll try it tomorrow.  In the meantime I am
working round it by setting the port(s) in /etc/conf.d/nfs, but it
would certainly be cleaner to find and eliminated the conflict.

Thanks for your help.

Roger

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] rsync via ssh

2007-11-03 Thread Roger Mason
Hello,

I'm trying to use rsync to back up my home directory on "mymachine" to another
machine (backup_machine) using a cron job.

This is the crontab entry (in rmason's crontab):

0,15,30,45 * * * *  rmason /usr/bin/rsync -av /home/rmason 
backup_machine:mymachine_rmason

The logs on backup_machine show entries like this when the cron job runs:

Nov  3 17:30:06 backup_machine sshd[22048]: error: PAM: Authentication failure 
for rmason from mymachine.esd.mun.ca
Nov  3 17:30:06 backup_machine sshd(pam_unix)[22052]: authentication failure;
 logname= uid=0 euid=0 tty=ssh ruser= rhost=mymachine.esd.mun.ca
 user=rmason

I have passwordless ssh between mymachine and backup_machine and the
rsync command in the crontab runs perfectly from the command line.

Does someone know what else needs to be done to get this (seemingly
simple!) task to work?

Many thanks,
Roger
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] rsync via ssh

2007-11-04 Thread Roger Mason
Hi Richard,

Richard Ruth <[EMAIL PROTECTED]> writes:

> Try adding "-e ssh" to your rsync command.
> Search for "-e" in the rsync man page for an example.
> ===
> This is the crontab entry (in rmason's crontab):
> 0,15,30,45 * * * *  rmason /usr/bin/rsync -av /home/rmason 
> backup_machine:my
> machine_rmason

Thanks for the reply.  Unfortunately that did not work, the same error
ocurs.  

This is what I have currently:
0,15,30,45 * * * *  /usr/bin/rsync -av -e "ssh" /home/rmason [EMAIL 
PROTECTED]:mymachine_rmason

I've tried with and without the quotes plus with and without the
rmason@ but none worked.

I think I'll try scp and see what happens.

Cheers,
Roger
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] rsync via ssh

2007-11-04 Thread Roger Mason
Hi Dirk,

Dirk Heinrichs <[EMAIL PROTECTED]> writes:

> Am Samstag, 3. November 2007 schrieb Roger Mason:
>> Hello,
>>
>> I'm trying to use rsync to back up my home directory on "mymachine" to
>> another machine (backup_machine) using a cron job.
>
> Which cron?

vixie-cron

>> This is the crontab entry (in rmason's crontab):
>>
>> 0,15,30,45 * * * *  rmason /usr/bin/rsync -av /home/rmason
>> backup_machine:mymachine_rmason
>
> Shouldn't this be 
>
> 0,15,30,45 * * * * /usr/bin/rsync -av /home/rmason 
> backup_machine:mymachine_rmason

I already tried it without the rmason prepended to the command: no
difference.  FWIW I tried scp and had the same problems.  I think it
has to do with the backup_machine not reading my public ssh key, maybe
because the session is not interactive.

Thanks,
Roger 
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] rsync via ssh

2007-11-04 Thread Roger Mason
Hi Steve,

Steve Dommett <[EMAIL PROTECTED]> writes:

> On Sunday 04 November 2007, Roger Mason wrote:
>> Thanks for the reply.  Unfortunately that did not work, the same error
>> ocurs.
> This may not be applicable, but I run rdiff-backup from cron on many machine 
> with no problems at all.  It uses librsync, so may be of interest to you.
> http://rdiff-backup.nongnu.org/
> If you ignore the 'rdiff-backup-data' folder it creates then it's more or 
> less 
> identical to using rsync alone.

Thanks, I'll have a look at it.

Did you have to do anything special to make it work from cron?

Cheers,
Roger
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] rsync via ssh

2007-11-04 Thread Roger Mason
Hi Ralph,

Ralph Slooten <[EMAIL PROTECTED]> writes:

> I have done a similar thing at work, except what I do is first create
> an ssh tunnel, then rsync to the locally listening port. Works
> perfectly. In my setup the remote server is running an SSH server
> which is not accessible directly. Maybe this will help you.
>
>
> #!/bin/bash
> SSL_COMMAND="ssh -p  [EMAIL PROTECTED] -f -N -L 8000:localhost:873"
> SSL_PID=`ps aux | grep "$SSL_COMMAND" | egrep -v 'grep' | awk '{print $2}'`
>
> if [ "$SSL_PID" == "" ]; then
> echo "=> Creating SSH tunnel to myserver"
> $SSL_COMMAND
> SSL_PID=`ps aux | grep "$SSL_COMMAND" | egrep -v 'grep' | awk
> {print $2}'`
> else
> echo "=> SSH tunnel already exists. Using existing tunnel."
> fi
>
> if [ "$SSL_PID" != "" ]; then
> echo "=> Connecting through SSH tunnel with PID $SSL_PID"
> rsync rsync://localhost:8000/wwwroot
> /mnt/samba/hotcopy/myserver/wwwroot \
> -rvtzp --delete --modify-window=1
>
> echo "=> Closing SSH tunnel"
> kill $SSL_PID
> else
> echo "ERROR: SSH Connection failed! The backup could not complete"
> fi

Another responder suggested rdiff-backup.  I'll give that a try first.

Thanks,
Roger
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] rsync via ssh

2007-11-05 Thread Roger Mason
Shawn Haggett <[EMAIL PROTECTED]> writes:

> Roger Mason wrote:
>> I have passwordless ssh between mymachine and backup_machine and the
>> rsync command in the crontab runs perfectly from the command line.
>>
>> Does someone know what else needs to be done to get this (seemingly
>> simple!) task to work?
>>
>
> How have you setup the passwordless ssh? If your using keys with the
> ssh keyagent, then when the command is run in cron it wouldn't know
> where to find your ssh-agent...

Yes, I think that is the problem.  I'm going to try the technique
described here:

http://arctic.org/~dean/rdiff-backup/unattended.html

Will report back.

Cheers,
Roger
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] rsync via ssh [solved]

2007-11-05 Thread Roger Mason
"W.Kenworthy" <[EMAIL PROTECTED]> writes:

>> > Roger Mason wrote:
>> >> I have passwordless ssh between mymachine and backup_machine and the
>> >> rsync command in the crontab runs perfectly from the command line.
>> >>
>> >> Does someone know what else needs to be done to get this (seemingly
>> >> simple!) task to work?

>> Yes, I think that is the problem.  I'm going to try the technique
>> described here:
>> 
>> http://arctic.org/~dean/rdiff-backup/unattended.html
>> 
>
> Keep in mind that cron runs with a very limited environment for safety
> reasons.  You have to manually set most env variables and the like.

Yes.  I finally have it working using the technique described in the
above URL.  

Thanks to all who responded.

Roger
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] tftp config problem (ltsp)

2007-11-06 Thread Roger Mason
Hi Sean,

sean <[EMAIL PROTECTED]> writes:

I set up diskless booting recently but I'm by no means an expert, so
take my comments with plenty of salt.

> Below is my in.tftpd file.
> # /etc/init.d/in.tftpd
>
> # Path to server files from
> # Depending on your application you may have to change this.
> # This is commented out to force you to look at the file!
> #INTFTPD_PATH="/var/tftp/"
> INTFTPD_PATH="/tftpboot/"

What happens with INTFTPD_PATH="/tftpboot"? (remove trailing / )

> #INTFTPD_PATH="/tftproot/"
>
> # For more options, see in.tftpd(8)
> # -R 4096:32767 solves problems with ARC firmware, and obsoletes
> # the /proc/sys/net/ipv4/ip_local_port_range hack.
> # -s causes $INTFTPD_PATH to be the root of the TFTP tree.
> # -l is passed by the init script in addition to these options.
> #INTFTPD_OPTS="-R 4096:32767 -s ${INTFTPD_PATH}"
> INTFTPD_OPTS=" -s ${INTFTPD_PATH}"
>
>
> The tftp file looks exactly like the one specified in the instructions.
>
> tardis tftpboot # ls
> lts  pxe  pxelinux.cfg

Are you using syslinux?  I'm not sure but shouldn't there be a
pxelinux.0 file in /tftpboot?

Cheers,
Roger
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Daylight savings time

2007-11-08 Thread Roger Mason
James <[EMAIL PROTECTED]> writes:

>
> Any other ideas?
> Maybe I need to 'reemerge' something?
>

timezone-data?

Cheers,
Roger
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] X forwarding

2007-11-09 Thread Roger Mason
Hi,

I wish to forward X from machine B to machine A via ssh.  Machine A is
running an X server.  On machine B I have in sshd_config:

X11Forwarding yes

On machine A I have in ssh_config:

ForwardX11 yes

I can ssh from A to B without problems but when I try to start a
simple application:

B ~ $ xclock 
Error: Can't open display: 

and 

B ~ $ echo ${DISPLAY}

returns nothing.

Having turned up the debugging level for sshd on B to DEBUG3 I see this in
the logs:

sshd[6659880]: debug2: bind port 6010: Cannot assign requested address

This is repeated for ports 6011 to 6999 inclusive.  Then:

sshd[6659880]: error: Failed to allocate internet-domain X11 display
socket.

I can't acces the wiki page at the moment so if someone could help
with further troubleshooting I'd be most grateful.

Thanks,
Roger

P.S. openssh-4.7_p1-r1 on both boxes.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Daylight savings time

2007-11-09 Thread Roger Mason
Hi James,

James <[EMAIL PROTECTED]> writes:


> I I re-emerge 'timezone-data' and just wait until spring to see if there
> is a problem?

Here is the procedure I used last spring (you'll need to set the
TIMEZONE according to your location:

(1) Sync. (perhaps not required if portage is fairly up to date)

(2) emerge timezone-data (should be >= 2006p)

(3) set TIMEZONE="Canada/Newfoundland" in /etc/conf.d/clock (adjust
   for your local time zone).

(4) rm /etc/localtime && cp /usr/share/zoneinfo/Canada/Newfoundland
   /etc/localtime (adjust for your local time zone).

(5) Check: zdump -v /etc/localtime | grep 2007.
   For timezone-data = 2007c it shows:

/etc/localtime  Sun Mar 11 03:30:59 2007 UTC = Sun Mar 11 00:00:59
2007 NST isdst=0
/etc/localtime  Sun Mar 11 03:31:00 2007 UTC = Sun Mar 11 01:01:00
2007 NDT isdst=1
/etc/localtime  Sun Nov  4 02:30:59 2007 UTC = Sun Nov  4 00:00:59
2007 NDT isdst=1
/etc/localtime  Sun Nov  4 02:31:00 2007 UTC = Sat Nov  3 23:01:00
2007 NST isdst=0

There was a thread on this last March: [gentoo-user] Problems after
DST change

Hope this helps,

Roger
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] X forwarding [fixed]

2007-11-09 Thread Roger Mason
Billy Holmes <[EMAIL PROTECTED]> writes:

> one thing I have done in the past is turn up ssh in debug mode:
>
> /usr/sbin/sshd -p 23 -d
>
> then in another terminal
>
> ssh -p 23 $host

Your suggestion gave me the idea to run sshd with strace, the output
of which lead me here:

http://www.mail-archive.com/[EMAIL PROTECTED]/msg03099.html

Even though the ssh server had ipv6 support in the kernel, and
ifconfig displayed an ipv6 as well as an ipv4 address it was failing.
I flailed around trying to find out how to disable ipv6 without
success.  In the end I recompiled the kernel without ipv6 support and
now X forwarding works.

I am assuming that I failed to set up ipv6 routing or something?
Anyway, the problem is fixed, if not quite solved.

Thanks to everyone who replied.

Roger
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] cups problem

2007-12-08 Thread Roger Mason
Hello Randy,

Randy Barlow <[EMAIL PROTECTED]> writes:

> Roger Mason wrote:
>> I have tried both the ipp and lpd devices to no
>> avail.
>
> Just FYI, IPP is the Internet Printing Protocol and it is used to print
> to a device on another machine, so that's why it didn't work for you here :)

Yes, I finally tumbled to that (duh!).  What confused me was that I
had set up a remote printer using IPP at some point in the past.

Cheers,
Roger
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] cups problem

2007-12-07 Thread Roger Mason
Hello,

I'm trying to set up a printer using CUPS.  I have worked my way
through the printing guide but cannot get a test page to print from
the printers tab of the cups configuration page.  I turned up the
logging level to debug2 and am seeing this in the logs:

d [07/Dec/2007:16:00:26 -03-30] cupsdIsAuthorized: auth=AUTH_DENY...
d [07/Dec/2007:16:00:26 -03-30] cupsdReadClient: Unauthorized request for 
/ipp/...

One thing I noticed in the setup that is different from the guide is
that the option to listen to "Parallel Port #1" is never offered
although it should be the most appropriate option given that the
printer is on lpt1.  I have tried both the ipp and lpd devices to no
avail.

dmesg | grep -i print returns:
parport0: Printer, Hewlett-Packard HP LaserJet 5L

This is the emerge information:

[ebuild   R   ] net-print/cups-1.2.12-r2  USE="X dbus jpeg ldap pam
png ppds ssl tiff -nls -php -samba -slp"

Thanks for any help.

Roger
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] cups problem

2007-12-07 Thread Roger Mason
Hello Billy,

Billy Holmes <[EMAIL PROTECTED]> writes:

> see if this helps
>
> http://www.murrayc.com/blog/permalink/2005/12/24/wheres-my-parport0/

Bingo!.

For the record, I built ppdev and lp as modules, modprobe'd them and
now everything works.

Thanks very much.

Roger
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] portage update bloacked

2008-06-30 Thread Roger Mason
Hi,

I'm building a system using a 2006.0 minimal install disk and
following the (current) installation docs.  I got to the part where it
is suggested I upgrade portage.  However, there is a blocker:

(chroot) livecd / # emerge -p --oneshot portage

These are the packages that would be merged, in order:

Calculating dependencies... done!

[ebuild U ] sys-apps/sandbox-1.2.18.1-r2 [1.2.17] 
[ebuild U ] dev-python/pycrypto-2.0.1-r6 [2.0.1-r5] 
[ebuild U ] sys-apps/portage-2.1.4.4 [2.1.2.2] 
*** Portage will stop merging at this point and reload itself,
then resume the merge.
[ebuild U ] app-shells/bash-3.2_p33 [3.1_p17] USE="-plugins%" 
[blocks B ] >> These are the packages that would be unmerged:


!!! 'sys-apps/portage' is part of your system profile.
!!! Unmerging it may be damaging to your system.


 sys-apps/portage
selected: 2.1.2.2 
   protected: none
 omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

I looked on the bugzilla but this "bug" is maked invalid.  Could
someone please suggest a next step?

Thanks,
Roger
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] portage update bloacked

2008-06-30 Thread Roger Mason
Kenneth Prugh <[EMAIL PROTECTED]> writes:

> emerge -O bash

and


 Alex Schuster <[EMAIL PROTECTED]> said:

> So, first try this: emerge -1a =app-shells/bash-3.2_p17-r1

Well, in the end I decided to play very straight and use a more
up-to-date install CD.  I'm currently installing from 2008.0_beta2, so
far without any problems.

Thanks for you help.

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



Re: [gentoo-user] portage update bloacked

2008-07-01 Thread Roger Mason

Alan McKinnon <[EMAIL PROTECTED]> writes:

>>
>> Well, in the end I decided to play very straight and use a more
>> up-to-date install CD.  I'm currently installing from 2008.0_beta2,
>> so far without any problems.
>
> For the record, this turns out to be a fairly straightforward blocker. A 
> recent version of portage uses new features in a recent bash, and 
> Alex's suggestion will work just fine. I recently had to update 10+ old 
> machines around this entirely trouble free.
>
> But using a more recent CD is probably the better idea, it's entirely 
> possible to manoeuvre through two years of updates, but it's kinda 
> pointless if you have a better base system at hand :-)

For the record, the installation was painless and fast with
2008.0_beta2.  My only reason for using an old install initially CD was to
retain compatibility with the older gcc versions on my distcc compile
farm.  As it turned out, that was not a problem at all.

Thanks to all.

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



[gentoo-user] pango fails to build

2008-07-04 Thread Roger Mason
Hello all,

I'm trying to install firefox-bin on a new (to me) machine.
pango-1.20.3 is a depenency that, unfortunately fails to build:

i686-pc-linux-gnu-gcc -O2 -mtune=pentium4 -pipe -Wall -o .libs/pangox-view 
viewer-render.o viewer-x.o viewer-main.o viewer-pangox.o pangox-view.o  
../pango/.libs/libpango-1.0.so ../pango/.libs/libpangox-1.0.so 
/var/tmp/portage/x11-libs/pango-1.20.3/work/pango-1.20.3/pango/.libs/libpango-1.0.so
 -lm /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so 
/usr/lib/libglib-2.0.so /usr/lib/libX11.so /usr/lib/libXau.so 
/usr/lib/libXdmcp.so -ldl 
/usr/lib/libcairo.so: undefined reference to `__sync_fetch_and_add_4'
collect2: ld returned 1 exit status
distcc[15035] ERROR: compile (null) on localhost failed
make[3]: *** [pango-view] Error 1
make[3]: *** Waiting for unfinished jobs
creating pangox-view
make[3]: Leaving directory 
`/var/tmp/portage/x11-libs/pango-1.20.3/work/pango-1.20.3/pango-view'
make[2]: *** [all] Error 2
make[2]: Leaving directory 
`/var/tmp/portage/x11-libs/pango-1.20.3/work/pango-1.20.3/pango-view'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/var/tmp/portage/x11-libs/pango-1.20.3/work/pango-1.20.3'
make: *** [all] Error 2
 * 
 * ERROR: x11-libs/pango-1.20.3 failed.
 * Call stack:
 *   ebuild.sh, line   49:  Called src_compile
 * environment, line 2567:  Called gnome2_src_compile
 * environment, line 1938:  Called die
 * The specific snippet of code:
 *   emake || die "compile failure"
 *  The die message:
 *   compile failure


In case it is relevant, here is the version of cairo:

hyalophane etc # emerge -pv cairo

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-libs/cairo-1.6.4  USE="X -debug -directfb -doc -glitz 
-opengl -svg -test -xcb" 0 kB 

Thanks for any help,
Roger
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] pango fails to build

2008-07-04 Thread Roger Mason
Justin Findlay <[EMAIL PROTECTED]> writes:

> On AD 2008 July 04 Friday 01:02:39 PM -0230, Roger Mason wrote:
>> /usr/lib/libcairo.so: undefined reference to `__sync_fetch_and_add_4'
>
> Did you try revdep-rebuild, or even just remerging cairo?

I rebuilt cairo several times and revdep-rebuild says everything is
OK.

Thanks,
Roger
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] pango fails to build [solved]

2008-07-08 Thread Roger Mason
Roger Mason <[EMAIL PROTECTED]> writes:

> I'm trying to install firefox-bin on a new (to me) machine.
> pango-1.20.3 is a depenency that, unfortunately fails to build:
>

On a hunch I changed CFLAGS from -mtune=pentium4 to -march=i686 and
did emerge -e world.

Now pango compiles without any problem.  This is a satisfactory,
though not very enlightening, solution.

Cheers,
Roger
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] distcc trivial issue (i'm sure)

2008-08-02 Thread Roger Mason
Simon <[EMAIL PROTECTED]> writes:

>  I have scp all distcc config files to all hosts,

One possibility is that you forgot to edit each /etc/conf.d/distccd
file to _listen_ on its own IP address.

HTH,
Roger



Re: [gentoo-user] [Off Topic] screen configuration...

2007-02-24 Thread Roger Mason
"Steve [Gentoo]" <[EMAIL PROTECTED]> writes:

> I want to use screen, but my emacs-afflicted fingers automatically type
> "control-a" to go to the beginning of the line in my shell - which is
> somewhat unfortunate for screen.
>

I too am an emacs user.  I have 

escape \

as the first line of my .screenrc.

Cheers,
Roger

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Beagle eating up Resources!! (BEagled-index-helper)

2007-03-01 Thread Roger Mason
Hello Albert,

Albert Hopkins <[EMAIL PROTECTED]> writes:

>  A good solution would be a tool that actually indexes files
> in the background, and perhaps automatically when a file is
> changed/added/removed.  And not just text in files but also other kinds
> of metadata.  And when I click that file/data/whatever it would be cool
> if it automagically opened the appropriate viewer and took me to the
> exact location of what I am searching for. Pretty much a one-stop shop
> for searching my stuff.

pinot (http://directory.fsf.org/pinot.html) may do what you want.  It
is not in portage but most of its dependencies are.

Roger

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] daylight savings time

2007-03-02 Thread Roger Mason
Hello all,

My home province (Newfoundland & Labrador) has, in its infinite
wisdom, decided to adopt daylight savings time from 11 to 04 November,
rather than the more common dates in April & October.

Can someone tell me what I need to do to accommodate this change, if
anything?

Thanks,

Roger

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] daylight savings time

2007-03-03 Thread Roger Mason

Thanks everyone.  I'll report back on the outcome on D-day (March 11).

Roger

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Where is the TIMEZONE variable?

2007-03-12 Thread Roger Mason
Hello Michael,

Michael Sullivan <[EMAIL PROTECTED]> writes:

> I feel really stupid having to ask this here, but in what file is the
> TIMEZONE variable set?  My PC clock is set by ntp and it's not being
> updated for DST.  Wherever the variable is, it's not set.  I never
> updated it becuase I heard it wasn't actually being used yet, but I
> think if I set it my machine's time might get updated for DST.  I can't
> find the stupid variable though.  The one that replaces /etc/localtime.
> Can anyone help me out?

Here is what I did to update all my boxes for the DST change on March
11, thanks to the people who responded to my question on this topic
last week:

(1) Sync.

(2) emerge timezone-data (should be >= 2006p)

(3) set TIMEZONE="Canada/Newfoundland" in /etc/conf.d/clock (adjust
for your local time zone).

(4) rm /etc/localtime && cp /usr/share/zoneinfo/Canada/Newfoundland
/etc/localtime (adjust for your local time zone).

(5) Check: zdump -v /etc/localtime | grep 2007.
For timezone-data = 2007c it shows:

/etc/localtime  Sun Mar 11 03:30:59 2007 UTC = Sun Mar 11 00:00:59 2007 NST 
isdst=0
/etc/localtime  Sun Mar 11 03:31:00 2007 UTC = Sun Mar 11 01:01:00 2007 NDT 
isdst=1
/etc/localtime  Sun Nov  4 02:30:59 2007 UTC = Sun Nov  4 00:00:59 2007 NDT 
isdst=1
/etc/localtime  Sun Nov  4 02:31:00 2007 UTC = Sat Nov  3 23:01:00
2007 NST isdst=0

All my boxes are running on NDT correctly.

HTH,

Roger

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problems after DST change

2007-03-12 Thread Roger Mason
Albert Hopkins <[EMAIL PROTECTED]> writes:

> Not sure, if you are living in California, that you set your timezone to
> Canada/Newfoundland... though admittedly, I don't know the TZ rules in
> Canada.  Did they too change their DST dates?
>

Newfoundland did.  Presumably rest of Canada did so as well.

I applied the series of steps in my previous post to two boxes at home
yesterday (i.e. after the DST change took place) and both rebooted
with correct times.

Cheers,
Roger

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] g95 ebuild

2007-03-14 Thread Roger Mason
Hello,

I'm trying to get some fortran code to compile using gfortran but
unfortunately it does not recognise the %val() construct.  There is a
bug about the issue on b.g.o.

I have looked in vain for a g95 ebuild - does anyone here have one?

Failing that, the code certainly used to compile using g77.  Are there
known problems to having, say, gcc-3.4.x (provides g77) alongside
gcc-4.1.1?

Thanks,
Roger

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] g95 ebuild

2007-03-15 Thread Roger Mason
Bo Ørsted Andresen <[EMAIL PROTECTED]> writes:

>> I have looked in vain for a g95 ebuild - does anyone here have one?
>
> https://bugs.gentoo.org/show_bug.cgi?id=102199

Thanks Bo, don't understand how I missed it.

Roger

--
gentoo-user@gentoo.org mailing list



[gentoo-user] laptop sometimes needs double keystrokes

2007-04-11 Thread Roger Mason
Hello,

I have a strange problem on my laptop[1] wherein I need sometimes need to
enter keystrokes twice in order for them to be recognised.  For
example, I type 'ls' but the 's' needs to be entered twice.  The
problem has bee present for some time and I have noted the following:

(1) I see the problem both when typing on the laptop keyboard and when
logging in using ssh: this suggests it is not a keyboard problem.

(1a) I see the problem both in xterms and on the console.

(2) I have never had a problem logging in.  That is to say, the
problem does not manifest itself when entering passwords and
pass-phrases.

(3) I have never observed the problem when su'd to root.

(4) I have never seen the problem inside screen.

If anyone has any suggestions as to where I might look I'll be most
grateful.

Thanks,

Roger

[1] Details:

Toshiba Satellite M70 SR6

Gentoo Base System version 1.12.5
Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 
2.6.17-gentoo-r8 i686)
=
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1.86GHz
Last Sync: Sun, 11 Mar 2007 12:50:01 +
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ 
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ 
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://adelie.polymtl.ca/ 
ftp://gentoo.arcticnetwork.ca/pub/gentoo/ http://gentoo.arcticnetwork.ca/ 
http://gentoo.osuosl.org/ "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --delete-after --stats --timeout=180 
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X acpi aiglx alsa alsa_cards_ali5451 alsa_cards_als4000 
alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 
alsa_cards_cmipci alsa_cards_emu10k1 alsa_cards_emu10k1x alsa_cards_ens1370 
alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 
alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m 
alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx 
alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm 
alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy 
alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop 
alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file 
alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug 
alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear 
alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi 
alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate 
alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm 
alsa_pcm_plugins_softvol berkdb bitmap-fonts cdr cli cracklib crypt cups dri 
dvd dvdr elibc_glibc emacs fam firefox flac flash foomaticdb fortran gdbm gif 
ginac gnuplot gpm gstreamer gtk gtk2 hal iconv imagemagick input_devices_evdev 
input_devices_keyboard input_devices_mouse input_devices_synaptics 
input_devices_wacom ipv6 isdnlog jpeg jpeg2k kernel_linux lapack latex 
lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk 
lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb 
lcd_devices_ncurses lcd_devices_text ldap libg++ logrotate mad mbox midi mikmod 
mime ming motif mp3 mpeg mplayer ncurses nls nptl nptlonly ogg opengl oss pam 
pcre pdf perl plotutils png ppds pppd python quicktime readline reflection sdl 
session slp sox spell spl sse sse2 ssl svg tcl tcltk tcpd tetex tiff tk 
truetype truetype-fonts type1 type1-fonts unicode userland_GNU 
video_cards_fbdev video_cards_fglrx video_cards_radeon video_cards_vesa vorbis 
wifi win32codecs wmf xine xinerama xml xorg xpm xv zlib"
Unset:  CTARGET, EMERG

Re: [gentoo-user] laptop sometimes needs double keystrokes

2007-04-11 Thread Roger Mason
Hi Benno,

Benno Schulenberg <[EMAIL PROTECTED]> writes:

> Roger Mason wrote:
>> I have a strange problem on my laptop[1] wherein I need sometimes
>> need to enter keystrokes twice in order for them to be
>> recognised.  For example, I type 'ls' but the 's' needs to be
>> entered twice.  The problem has bee present for some time and I
>> have noted the following:
>
> Have a look at /etc/inputrc.  To test, comment out all lines in that 
> file, fire up a new bash, and see if the problem persists.  If not, 
> find the offending line.

Unfortunately, that is not it: the problem remains.

Thanks,
Roger

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] laptop sometimes needs double keystrokes

2007-04-12 Thread Roger Mason
Hello Benno,

Benno Schulenberg <[EMAIL PROTECTED]> writes:

> Roger Mason wrote:
>> >> I have a strange problem on my laptop[1] wherein I need
>> >> sometimes need to enter keystrokes twice in order for them to
>> >> be recognised.  For example, I type 'ls' but the 's' needs to
>> >> be entered twice.
>
> Are it certain keys (like the 's') that have the problem?

That is common, but then I mostly use the command line and so ls is
used a lot.

>  Are it 
> certain key combinations?

Not that I have noticed.

>  Is it only at certain positions (like 
> the second key on a new line)?

That is the most common manifestation, e.g. missing the 'v' from 'mv',
but I have also seen the problem when using longer commands.

>  Does it also happen in another 
> shell than bash (for example in 'busybox ash')?

Just tried it: no, the problem was absent.

>  Does it also 
> happen in 'env -i bash --noprofile --norc'?

Tried that too: again the problem disappears.  Oddly, when I exited
from that environment (back to regular bash) the problem did not
re-appear.  It re-appeared only when I logged out and then back in.

>  Does it happen in single-user maintenaince mode?

I'm embarrased to admit I don't know how to get to that.

>  Does it happen when running from a liveCD?

No.

Thanks for your help.

Roger



-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] laptop sometimes needs double keystrokes

2007-04-12 Thread Roger Mason
Hello Arturo,

"Arturo 'Buanzo' Busleiman" <[EMAIL PROTECTED]> writes:

> Benno Schulenberg wrote:
>> Are it certain keys (like the 's') that have the problem?  Are it 
> [...]
>> single-user maintenaince mode?  Does it happen when running from 
>> a liveCD?
>
> I'd add:
>
>   Does it happen on memtest86

I'm trying memtest86 now.

> or another OS or gnu/linux distro?

I've never tried: I hope it does'nt come to that, I much prefer Gentoo
over any of the others that I've tried.

Thanks for the help.

Roger

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] laptop sometimes needs double keystrokes

2007-04-15 Thread Roger Mason
Hi Benno,

Benno Schulenberg <[EMAIL PROTECTED]> writes:

> But you don't need to do this as you've already found that the 
> problem is in bash and it's related to something in the environment.
> If the PS1 didn't fix it, try with either just --norc or just 
> --noprofile to try and narrow things down further.

Using the techinique you suggested above I was able to track down the
problem to a script in /etc/profile.d that I was using to start
dbus-session-daemon on login.  Removing that file fixed the problem.

Many thanks for your help,

Roger

-- 
[EMAIL PROTECTED] mailing list



  1   2   >