Re: [gentoo-user] shared portage tree

2007-09-24 Thread Uwe Thiem
On 24 September 2007, Daniel Iliev wrote:
 Hi, folks


 Is there any problem to share portage tree over nfs between different
 archs?
 In this particular case I want to use a machine with arc=amd64
 as a nfs server and share its tree with several x86 machines.

That's fine.

Uwe

-- 
Jack Nicholson: My mother never saw the irony in calling me a son of a bitch.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] new machine: Intel quad vs duo

2007-09-24 Thread Thierry de Coulon
On Monday, 24. September 2007, Philip Webb wrote:
 I'm getting close to buying the parts for my new machine (see earlier msgs)
  an Intel quad-core mentioned by a helpful responder
 has now come down almost within my price range.
 The CPU I have been contemplating for some weeks is
 an 'Intel Core 2 Duo E6750 4 MB 65 nm 2,67 GHz', which sells for  CAD 225 ,
 but there is now 'Intel Core 2 Quad Q6600 8 MB 65 nm 2,4 GHz' for  CAD 305
 ; the  8 MB  cache in the latter divides into  2 x 4 MB / pair  processors.
 Prices continue to drop weekly  should go lower with our higher CAD.

 My guess is that even a dual-core CPU wb overkill for my simple desktop,
 but I'm keen to get value for money in a machine intended to last to 2011 .
 Does anyone have any thoughts re dual- vs quad-core processors
 when used for various purposes with Gentoo ?

I've got no experience with quad, but I can say this with experience: even for 
a desktop you feel that dual processor is better than dual core, while dual 
core is better than single core.

It's not a matter of speed (or seldom is), it's a much smoother multitasking. 
As my dual core are more often stuck doing something than my dual processor, 
I'd tend to think that a quad core would not bring much, but can anyone 
confirm?

Thierry

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] shared portage tree

2007-09-24 Thread Neil Walker

Daniel Iliev wrote:

Hi, folks


Is there any problem to share portage tree over nfs between different
archs?
In this particular case I want to use a machine with arc=amd64
as a nfs server and share its tree with several x86 machines.
  


I do exactly that. The server is an AMD Opteron running 64 bits and 
there is a mix of x86, amd64 and Intel EM64T machines on the network - 
all nfs sharing /usr/portage on the server. :)


Be lucky,

Neil


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


--
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: star

2007-09-24 Thread Alexander Skwar
Florian Philipp [EMAIL PROTECTED] wrote:

 What I'd like to know: Is it fully backward compatible to tar? Could I
 safely unmerge tar and make a symlink from tar to star?

star is fully Posix compliant. GNU tar is not. In theory, there could
be problems with GNU tar tar archives if they are unpacked using star.

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: star

2007-09-24 Thread Alexander Skwar
Volker Armin Hemmann [EMAIL PROTECTED] wrote:
 On Samstag, 22. September 2007, Florian Philipp wrote:

 star supports p7zip which can be much better and especially more
 flexible than bzip2, gzip and zip. Its other features (better
 funcionality for acl, sparse files, recovery and backups among other
 things) didn't sound bad, either.
 
 I don't know - bzip2 is very good at 'recovery' because only the affected
 block is lost.

True - in theory. It doesn't help you much, if you lose a block in a
.tar.bz2 file, as the block sizes of bzip2 and tar won't overlap. Thus,
something like .bz2.tar would be better, meaning a tar which contains
pre compressed files. Granted, compression ratio would be worse.

If you want safety, I'd either suggest afio or maybe something like
par.

 and if p7zip supports pipes, you don't need its support in tar. Just pipe
 from/to it.

It does and that's the way it's supposed to be used on unix, according
to its manpage.

 as you can see, you need to play around with pipes anyway when you use
 star. So switching just because of one compression algo and become
 incompatible with the way emerge unpacks packages sounds pretty stupid
 IMHO.

ACK

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] How to dhcp to a specific address, and thank you

2007-09-24 Thread Alan E. Davis
I hope I will be forgiven for wasting bandwidth; I want very much to express
my gratitude to those developers, documentation writers, and others, that
Gentoo is such an excellent distro.  If three is anything I can figure to
do---possible documentation or perhaps an ebuild or two---I want to do so.
For right now, let me send my thanks to all.  I cannot express my good
feelings well enough about the solidity of my new install.

I have gotten Gentoo running on a new machine (my fourth install, I think),
and it all went well---better than ever!  I am highly pleased...

I was even able to connect to a WPA encrypted network with minimal hassle,
using excellent instructions availalbe in the docs, forum, and wiki.  It
went more easily than a year ago.

My QUESTION: I connect two machines at home to a wireless router, with my IP
number a local one, assigned by the router.  Is it reasonable to set this up
so my main home machine has the same IP number always, so I can set up other
machines to print over the local wireless net?

ASIDE:  I can't speak too highly of the solidity of the install.  Maybe
partly because I now understand the Gentoo system better, I have not had to
ask many questions.  When something troubles, it is easier to figure out
why.  I don't want to bog down in a discussion of other distros and the
fiddling that led to nowhere; suffice it to say, Gentoo just works, for me,
as long as I am willing to put in the time, and my other efforts were less
satisfactory.

Thank you!

Alan Davis

-- 
Alan Davis, Kagman High School, Saipan  [EMAIL PROTECTED]

It's never a matter of liking or disliking ...
   ---Santa Ynez Chumash Medicine Man


Re: [gentoo-user] How to dhcp to a specific address, and thank you

2007-09-24 Thread Neil Walker

Alan E. Davis wrote:
My QUESTION: I connect two machines at home to a wireless router, with 
my IP number a local one, assigned by the router.  Is it reasonable to 
set this up so my main home machine has the same IP number always, so 
I can set up other machines to print over the local wireless net?


Yes, of course you can. You can either set it up with a static address 
in /etc/conf.d/net with something like:


config_ath0=( 192.168.1.2 )
routes_ath0=( default via 192.168.1.1 )

substituting whatever is appropriate for your interface and addresses or 
you can configure the router to always give the same IP address to the 
MAC address of your main machine.


Be lucky,

Neil


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


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] shared portage tree

2007-09-24 Thread Daniel Iliev

Thanks for the replies, guys.
 
Yes. This setup works here also and I have no breakages, but since I've
let the x86 machies use shared portage tree I have the feeling the
performance of portage dropped down notably.

I don't know what happens at the end of emerge --sync, what the
metadata consists of and if it is the same for each arch and
installation. Should I do emerge --regen after syncing on each
machine or something like that? 


P.S.

For sure it's not the network connection that slows down the searches,
because I made some tests on the NFS which showed transfer speeds
in the range of 6.5 to 10MiB/s. I think it's just fine on a 100Mbit
connection.


-- 
Best regards,
Daniel
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] shared portage tree

2007-09-24 Thread Bo Ørsted Andresen
On Monday 24 September 2007 13:36:34 Daniel Iliev wrote:
 Yes. This setup works here also and I have no breakages, but since I've
 let the x86 machies use shared portage tree I have the feeling the
 performance of portage dropped down notably.

 I don't know what happens at the end of emerge --sync, what the
 metadata consists of and if it is the same for each arch and
 installation. Should I do emerge --regen after syncing on each
 machine or something like that?

If anything you should do emerge --metadata. If transfers the metadata/cache 
to /var/cache/edb. If you never modify eclasses in /usr/portage you can 
alternatively use the metadata_overlay cache module...

http://www.gentoo.org/proj/en/portage/doc/faq.xml

-- 
Bo Andresen


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


Re: [gentoo-user] help with the dreaded mount: RPC: Program not registered

2007-09-24 Thread John Blinka
On 9/23/07, Emil Beinroth [EMAIL PROTECTED] wrote:

 On Sun, Sep 23, 2007 at 03:37:36PM -0400, John Blinka wrote:
   - ls -lA /var/lib/init.d/
 [snip]
  drwxr-xr-x 2 root root  4096 Sep 21 13:16 softscripts.old

 That shouldn't be there. Normally, that directory is created and later
 removed by /sbin/rc - which is run numerous times at boot. So this seems
 really wrong.

 I would suggest a clean cut by running `rm -fr /var/lib/init.d/`
 and doing a reboot. Services won't be stopped, but your filesystems will
 be remouted ro, so they should be fine. I've tested this on my box and
 didn't have any problems.


Did as you suggested.  softscripts.old reappeared and no change in inability
to start nfs automatically, or by hand.

I think it happens when booting, but I see this message in the system log:

Sep 23 21:12:01 tobey rc-scripts: ERROR:  cannot start nfs as
rpc.statdcould not start

Does that shed any light?

John


Re: [gentoo-user] Changing CHOST

2007-09-24 Thread Neil Bothwick
On Sun, 23 Sep 2007 22:38:36 -0400, David Relson wrote:

 I recall installing Gentoo as being a P.I.T.A, hence take no pleasure
 in the idea of re-installing.  I was hoping for something relatively
 simple, like
changing CHOST and emerging world
unpacking amd64 stage3 tarball on top of root
or something else

Unpacking a stage 3 tarball on top of a working system is a good way of
converting it to a non-working system. It will also overwrite many of
your settings in /etc.

If you are going to use a stage 3 tarball as a basis, a clean stage 3
install is by far the safest option, and usually turns out to be the
quickest too. Backup /etc  and your world file first, use your old
make.conf as a starting point and recreate your old environment on the
new hardware with

emerge -1av $(cat oldworld)


-- 
Neil Bothwick

Electric chairs are period furniture: they end a sentence


signature.asc
Description: PGP signature


[gentoo-user] Ati 3d not working

2007-09-24 Thread Johannes Skov Frandsen
Hey

Anybody had any luck with enabling  opengl in gnome with a ATI FireGL
V3300 card.

I have the proprietary driver loaded and working, but my log tells me I
have no 3d support because of some DRI issues.

(WW) fglrx(0): ***
(WW) fglrx(0): * DRI initialization failed!  *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available*
(WW) fglrx(0): * *

I have compiled the xorg server with the following settings:

x11-base/xorg-server-1.3.0.0  USE=dri ipv6 nptl xorg 
INPUT_DEVICES=evdev keyboard mouse  VIDEO_CARDS=fglrx 

and the ati driver with these settings:

x11-drivers/ati-drivers-8.39.4  USE=-acpi

I have include my log and my config if they could be useful in clearing
up the issue.

Any help or pointer appriciated.

-- 

Regards / Venlig hilsen

Johannes Skov Frandsen


X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: UNKNOWN 
Current Operating System: Linux dionysus 2.6.22-gentoo-r2 #8 SMP Mon Sep 24 13:11:10 CEST 2007 i686
Build Date: 24 September 2007
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Mon Sep 24 16:16:29 2007
(==) Using config file: /etc/X11/xorg.conf
(==) ServerLayout Simple Layout
(**) |--Screen ATI Screen (0)
(**) |   |--Monitor HP LP2465
(**) |   |--Device ATI FireGL V3300
(**) |--Input Device Mouse1
(**) |--Input Device Keyboard1
(**) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/75dpi/
(==) RgbPath set to /usr/share/X11/rgb
(==) ModulePath set to /usr/lib/xorg/modules
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) No APM support in BIOS or kernel
(II) Loader magic: 0x81ddf40
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.3
	X.Org Video Driver: 1.2
	X.Org XInput driver : 0.7
	X.Org Server Extension : 0.3
	X.Org Font Renderer : 0.5
(II) Loader running on linux
(II) LoadModule: pcidata
(II) Loading /usr/lib/xorg/modules//libpcidata.so
(II) Module pcidata: vendor=X.Org Foundation
	compiled for 1.3.0, module version = 1.0.0
	ABI class: X.Org Video Driver, version 1.2
(++) using VT number 7

(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,277c card 103c,280c rev 00 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 8086,277d card , rev 00 class 06,04,00 hdr 01
(II) PCI: 00:1b:0: chip 8086,27d8 card 103c,280c rev 01 class 04,03,00 hdr 00
(II) PCI: 00:1c:0: chip 8086,27d0 card , rev 01 class 06,04,00 hdr 81
(II) PCI: 00:1c:4: chip 8086,27e0 card , rev 01 class 06,04,00 hdr 81
(II) PCI: 00:1c:5: chip 8086,27e2 card , rev 01 class 06,04,00 hdr 81
(II) PCI: 00:1d:0: chip 8086,27c8 card 103c,280c rev 01 class 0c,03,00 hdr 80
(II) PCI: 00:1d:1: chip 8086,27c9 card 103c,280c rev 01 class 0c,03,00 hdr 00
(II) PCI: 00:1d:2: chip 8086,27ca card 103c,280c rev 01 class 0c,03,00 hdr 00
(II) PCI: 00:1d:3: chip 8086,27cb card 103c,280c rev 01 class 0c,03,00 hdr 00
(II) PCI: 00:1d:7: chip 8086,27cc card 103c,280c rev 01 class 0c,03,20 hdr 00
(II) PCI: 00:1e:0: chip 8086,244e card , rev e1 class 06,04,01 hdr 01
(II) PCI: 00:1f:0: chip 8086,27b8 card 103c,280c rev 01 class 06,01,00 hdr 80
(II) PCI: 00:1f:1: chip 8086,27df card 103c,280c rev 01 class 01,01,8a hdr 00
(II) PCI: 00:1f:2: chip 8086,27c3 card 103c,280c rev 01 class 01,04,00 hdr 00
(II) PCI: 01:00:0: chip 1002,7152 card 1002,1b02 rev 00 class 03,00,00 hdr 80
(II) PCI: 01:00:1: chip 1002,7172 card 1002,1b03 rev 00 class 03,80,00 hdr 00
(II) PCI: 3f:00:0: chip 14e4,167b card 103c,280c rev 02 class 02,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Intel Bridge workaround enabled
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,63), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
	[0] -1	0	0x - 0x (0x1) IX[B]
(II) Bus 0 non-prefetchable memory range:
	[0] -1	0	0x - 0x (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
	[0] -1	0	0x - 0x (0x0) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x000a (VGA_EN is set)
(II) Bus 1 I/O range:
	[0] -1	0	0x1000 - 0x1fff (0x1000) IX[B]
(II) Bus 1 non-prefetchable memory range:
	[0] -1	0	0xe050 - 0xe07f (0x30) MX[B]
(II) Bus 1 prefetchable memory range:
	[0] -1	0	0xd000 - 0xe01f (0x1020) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 16: bridge is at (0:28:0), (0,16,16), BCTRL: 0x0006 (VGA_EN is cleared)
(II) PCI-to-PCI bridge:
(II) Bus 40: bridge is at (0:28:4), (0,40,40), 

Re: [gentoo-user] Ati 3d not working

2007-09-24 Thread Rafael Barrera Oro
¿how are your kernel settings regarding acceleration?

2007/9/24, Johannes Skov Frandsen [EMAIL PROTECTED]:

 Hey

 Anybody had any luck with enabling  opengl in gnome with a ATI FireGL
 V3300 card.

 I have the proprietary driver loaded and working, but my log tells me I
 have no 3d support because of some DRI issues.

 (WW) fglrx(0): ***
 (WW) fglrx(0): * DRI initialization failed!  *
 (WW) fglrx(0): * (maybe driver kernel module missing or bad) *
 (WW) fglrx(0): * 2D acceleraton available (MMIO) *
 (WW) fglrx(0): * no 3D acceleration available*
 (WW) fglrx(0): * *

 I have compiled the xorg server with the following settings:

 x11-base/xorg-server-1.3.0.0  USE=dri ipv6 nptl xorg
 INPUT_DEVICES=evdev keyboard mouse  VIDEO_CARDS=fglrx 

 and the ati driver with these settings:

 x11-drivers/ati-drivers-8.39.4  USE=-acpi

 I have include my log and my config if they could be useful in clearing
 up the issue.

 Any help or pointer appriciated.

 --

 Regards / Venlig hilsen

 Johannes Skov Frandsen


 Section ServerLayout
 Identifier Simple Layout
 Screen  0  ATI Screen 0 0
 InputDeviceMouse1 CorePointer
 InputDeviceKeyboard1 CoreKeyboard
 EndSection

 Section Files
 FontPath /usr/share/fonts/misc/
 FontPath /usr/share/fonts/75dpi/
 EndSection

 Section Module
 Load  dbe # Double buffer extension
 SubSection extmod
 Option  omit xfree86-dga   # don't initialise the
 DGA extension
 EndSubSection
 Load  freetype
 Load dri
 Load glx
 EndSection

 Section InputDevice
 Identifier  Keyboard1
 Driver  kbd
 Option  AutoRepeat 500 30
 Option  XkbRules xorg
 Option  XkbModel pc105
 Option  XkbLayout dk
 EndSection

 Section InputDevice
 Identifier  Mouse1
 Driver  mouse
 Option  Protocol Auto   # Auto detect
 Option  ZAxisMapping 4 5 6 7
 Option  Emulate3Buttons
 EndSection

 Section Monitor
 Identifier  HP LP2465
 Option  VendorName ATI Proprietary Driver
 Option  ModelName Generic Autodetecting Monitor
 Option  DPMS true
 EndSection

 Section Device
 Identifier  ATI FireGL V3300
 Driver  fglrx
 EndSection

 Section Screen
 Identifier ATI Screen
 Device ATI FireGL V3300
 MonitorHP LP2465
 DefaultDepth 24
 SubSection Display
 Viewport   0 0
 Depth 24
 EndSubSection
 EndSection

 Section dri
   Mode 0666
 EndSection







Re: [gentoo-user][SOLVED] shared portage tree

2007-09-24 Thread Daniel Iliev
On Mon, 24 Sep 2007 13:47:23 +0200
Bo Ørsted Andresen [EMAIL PROTECTED] wrote:

 On Monday 24 September 2007 13:36:34 Daniel Iliev wrote:
  Yes. This setup works here also and I have no breakages, but since
  I've let the x86 machies use shared portage tree I have the feeling
  the performance of portage dropped down notably.
 
  I don't know what happens at the end of emerge --sync, what the
  metadata consists of and if it is the same for each arch and
  installation. Should I do emerge --regen after syncing on each
  machine or something like that?
 
 If anything you should do emerge --metadata. If transfers the
 metadata/cache to /var/cache/edb. If you never modify eclasses
 in /usr/portage you can alternatively use the metadata_overlay cache
 module...
 
 http://www.gentoo.org/proj/en/portage/doc/faq.xml
 

Thanks, Bo!

I removed /var/cache/edb, added -metadata-transfer to FEATURES and
then put portdbapi.auxdbmodule = cache.metadata_overlay.database
in /etc/portage/modules. After the first emerge -DuN world -p which
took about 6min to rebuild the cache now the performance is back to
normal: emerge -DuN world takes about 1min - 1min30sec





-- 
Best regards,
Daniel
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Changing CHOST

2007-09-24 Thread Florian Philipp
Neil Bothwick schrieb:
 On Sun, 23 Sep 2007 22:38:36 -0400, David Relson wrote:
 
 I recall installing Gentoo as being a P.I.T.A, hence take no pleasure
 in the idea of re-installing.  I was hoping for something relatively
 simple, like
changing CHOST and emerging world
unpacking amd64 stage3 tarball on top of root
or something else
 
 Unpacking a stage 3 tarball on top of a working system is a good way of
 converting it to a non-working system. It will also overwrite many of
 your settings in /etc.
 
 If you are going to use a stage 3 tarball as a basis, a clean stage 3
 install is by far the safest option, and usually turns out to be the
 quickest too. Backup /etc  and your world file first, use your old
 make.conf as a starting point and recreate your old environment on the
 new hardware with
 
 emerge -1av $(cat oldworld)
 
 
Just a thought: Is it possible to compile a 64bit kernel and use him on
the current system? That way you could set up your new native 64bit
system in a chroot before overwriting the old one and thus minimize
downtime to less than 15 minutes.
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] auto proxy config (Firefox, and more)

2007-09-24 Thread Benjamin Graf
Hi,
I'm using my notebook in the school (via Wi-Fi + Cisco VPN) and at
home. At school I need a proxy, but not at home.

I tried this as a proxy automatic configuration file (*.pac), but it
doesn't work :

function FindProxyForURL(url, host)
{
if (myIpAddress().substring(0,7) == 192.168) {
return DIRECT;
}
else {
if (isPlainHostName(host) ||
dnsDomainIs(host, .he-arc.ch) ||
dnsDomainIs(host, .eiaj.ch) ||
dnsDomainIs(host, .heaa-ne.ch) ||
dnsDomainIs(host, .hegne.ch) ||
dnsDomainIs(host, .career-women.ch) ||
dnsDomainIs(host, .ilce.ch) ||
dnsDomainIs(host, .isnetne.ch) ||
dnsDomainIs(host, .agf.hes.so.ch) ||
dnsDomainIs(host, .hesap1.eif.ch) ||
host == 127.0.0.1 ||
host.substring(0,3) == 10. ||
host.substring(0,10) == 157.26.64. ||
host.substring(0,8) == 192.168. ||
host == 57.26.241.20) {
return DIRECT;
}
else {
return PROXY proxy.he-arc.ch:8080;
}
}
}

At school, it works correctly (it uses the proxy when it is
necessary), but not at home. I think the myIpAddress is maybe not
the right solution.

Does anybody have an idea how to solve my problem ? I would prefer a
more global solution (for the whole system, not only Firefox), but if
you have an idea for Firefox, I would be really happy !

Thanks

Ben
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: star

2007-09-24 Thread Florian Philipp
Alexander Skwar schrieb:
 Florian Philipp [EMAIL PROTECTED] wrote:
 
 star supports p7zip which can be much better and especially more
 flexible than bzip2, gzip and zip.
 
 Uhm, what's bad about
 
 tar cf - | p7zip 

It's a bit cumbersome to create a pipe each time I access an archive.
Well, I think I'll create a shell script or an alias for that.

 
 If star were a fully qualified replacement for gnu tar, there would not
 have been the need to keep it 
 
 To keep GNU tar, you mean? Well, there's at least a reason to not ONLY
 have star: Star is made by Jörg Schilling, one of the biggest morons
 on the earth. Guess why some distributions no longer use cdrecord but
 switched to cdrkit?
 
 I used find and grep to search for any implementations of tar
 compressing to stdout - I couldn't find any.
 
 What do you mean?
 
Just that I used regular expressions to search for tar writing to
stdout, something that star can't, apparently. It seems it didn't work.
Not all but some emerge actions failed while using star.

 I'll move /bin/tar to /bin/gnutar and make a symlink from /usr/bin/star
 to /bin/tar.

 Let's see if it works.
 
 Command line options aren't identical. I wouldn't wonder if you run
 into problems.
 
Well, most are. I ran into problems anyway (see above). So, I'm back to
gnu tar.



-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: star

2007-09-24 Thread Stroller


On 24 Sep 2007, at 09:30, Alexander Skwar wrote:

...
and if p7zip supports pipes, you don't need its support in tar.  
Just pipe

from/to it.


It does and that's the way it's supposed to be used on unix, according
to its manpage.


GNU tar features the -j, -z and -Z options. These are much more  
convenient than piping, and it would be nice to see p7zip supported  
in the same way.


Stroller.
--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] shared portage tree

2007-09-24 Thread Arttu V.

 In this particular case I want to use a machine with arc=amd64
 as a nfs server and share its tree with several x86 machines.

I ran a similar NFS setup couple years back when breaking my teeth with
Gentoo. Had intermittent problems with the NFS locks, and speed was slow
too, so gave up. Though, it might've been just me and my poor NFS setup
skills, or some settings in my kernel. From other people's comments
and links I noticed they now have some helpful scripts. Wish I had seen
them earlier or been able to type out some of my own. :)

I switched the server over to providing local Gentoo rsync mirroring for
the LAN instead:

http://gentoo-wiki.com/HOWTO_Local_Rsync_Mirror

I combine this with Squid (proxy) and a few gigs of proxy disk cache on
the server end to have the server perform as a complete buffer/cache
between my LAN boxen and the external Interweb world. And it doubles as
the proxy for regular browsing, too.

HTH. YMMV. HAND.

-- 
arttu v.
_
Connect to the next generation of MSN Messenger 
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-ussource=wlmailtagline--
[EMAIL PROTECTED] mailing list



[gentoo-user] How to get hotplug goign?

2007-09-24 Thread Grant Edwards
Can somebody point me to some documentation on how to get
hotplug working under Gentoo?   I'm trying to use a ti
USB/serial dongle which needs a hotplug script run.  I've put
the script in /etc/hotplug/usb/module-name, but it doesn't
get called.

-- 
Grant Edwards   grante Yow! I want a VEGETARIAN
  at   BURRITO to go ... with
   visi.comEXTRA MSG!!

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Trouble fetching all required files for network-less machine

2007-09-24 Thread Marzan, Richard non Unisys
I'm trying to fetch all possible files including those that might
satisfy dependencies and USE flags for every package on my system. The
reason I'm doing this is because I have a network-less machine that I
wish to transfer these files to so that I may have the same environment
on both machines. But every so often a package fails to install because
of failure to fetch dependencies. On my networked machine I run emerge
-efD world and emerge -fD system it fetches files and completes without
errors. I then take a copy of the distfiles dir to the networkless
machine and run emerge k3b, for example, and it fails because it was
unable to fetch some dependent file. This after I ran the same command
on my networked machine and moving distfiles to my networkless box. Both
profiles on the two machines are identical and they use the same USE
flags. How can I make sure that every possible or contingent file is
fetch? For example...I might not use the mp3 USE flag or any other use
flag for a program but I would like it to satisfy all possible FLAGS
when fetching...How can I go about doing that? 
--
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: How to get hotplug goign?

2007-09-24 Thread Grant Edwards
On 2007-09-24, Grant Edwards [EMAIL PROTECTED] wrote:
 Can somebody point me to some documentation on how to get
 hotplug working under Gentoo?   I'm trying to use a ti
 USB/serial dongle which needs a hotplug script run.  I've put
 the script in /etc/hotplug/usb/module-name, but it doesn't
 get called.

As far as I can tell /etc/hotplug/usb.agent never even gets
called.

And the most recent version of sys-apps/hotplug is over three
years old?

-- 
Grant Edwards   grante Yow! I've got an IDEA!!
  at   Why don't I STARE at you
   visi.comso HARD, you forget your
   SOCIAL SECURITY NUMBER!!

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Trouble fetching all required files for network-less machine

2007-09-24 Thread Alan McKinnon
On Monday 24 September 2007, Marzan, Richard non Unisys wrote:
 I'm trying to fetch all possible files including those that might
 satisfy dependencies and USE flags for every package on my system.
 The reason I'm doing this is because I have a network-less machine
 that I wish to transfer these files to so that I may have the same
 environment on both machines. But every so often a package fails to
 install because of failure to fetch dependencies. On my networked
 machine I run emerge -efD world and emerge -fD system it fetches
 files and completes without errors. I then take a copy of the
 distfiles dir to the networkless machine and run emerge k3b, for
 example, and it fails because it was unable to fetch some dependent
 file. This after I ran the same command on my networked machine and
 moving distfiles to my networkless box. Both profiles on the two
 machines are identical and they use the same USE flags. How can I
 make sure that every possible or contingent file is fetch? For
 example...I might not use the mp3 USE flag or any other use flag for
 a program but I would like it to satisfy all possible FLAGS when
 fetching...How can I go about doing that?

Do two things:

Use 'emerge -F' instead of 'emerge -f'
Use 'emerge --with-bdeps y'

-F will fetch everything in SRC_URI regardless of USE settings etc.

--with-bdeps is more complex. Basically, sometimes a dep is required to 
build a package but not to run it. This setting either includes or 
excludes such things in it's emerge calculations.

Both options are more fully described in 'man emerge'

alan


-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] How to dhcp to a specific address, and thank you

2007-09-24 Thread Mick
On Monday 24 September 2007, Neil Walker wrote:
 Alan E. Davis wrote:
  My QUESTION: I connect two machines at home to a wireless router, with
  my IP number a local one, assigned by the router.  Is it reasonable to
  set this up so my main home machine has the same IP number always, so
  I can set up other machines to print over the local wireless net?

 Yes, of course you can. You can either set it up with a static address
 in /etc/conf.d/net with something like:

 config_ath0=( 192.168.1.2 )
 routes_ath0=( default via 192.168.1.1 )

 substituting whatever is appropriate for your interface and addresses or
 you can configure the router to always give the same IP address to the
 MAC address of your main machine.

Or you can set it at the router, i.e. assign static IP addresses at the router 
GUI and run dhcpcd at your different boxen.
-- 
Regards,
Mick


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


Re: [gentoo-user] {OT} Opinions on Host's Decision Please

2007-09-24 Thread Grant
   As I have previously posted about, my host sent me an email a few days
   ago stating that support tickets for 5,000-6,000 of their clients had
   been broken into.  I checked my records and found that my root
   password had previously been submitted in a support ticket.  I then
   decided I needed to reinstall my system.
  
   I requested that my host allow me access to a second machine for 2-5
   days while I switch over to a clean system, after that I would turn
   the old system over to them and continue with the new system.
  
   My request was denied!  I'm blown away by this.  Was I asking too
   much?
  
   - Grant
 
  Would it be unreasonable to tell us who this host is?  I want to make
  sure I don't host any sites on their system; if they can't secure their
  work tickets, what makes anybody think they can secure anything else?

 I'm taking a guess it's these guys:
 http://www.theregister.co.uk/2007/09/19/layered_technologies_breach_disclosure/

 - Noven

Bingo.  They sent me another message with an offer that could be what
I asked for.  It was vague.  I replied and lookie here:

- The following addresses had permanent fatal errors -
|/usr/local/sbin/cerberus /usr/local/etc/config.xml FATAL
/var/log/cerberus.log

I guess that means they're working on the system.  I'll try to send again.

- Grant
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: How to get hotplug goign?

2007-09-24 Thread Grant Edwards
On 2007-09-24, Grant Edwards [EMAIL PROTECTED] wrote:
 Can somebody point me to some documentation on how to get
 hotplug working under Gentoo?   I'm trying to use a ti
 USB/serial dongle which needs a hotplug script run.  I've put
 the script in /etc/hotplug/usb/module-name, but it doesn't
 get called.

After doign an echo /sbin/hotplug /proc/sys/kernel/hotplug
the hotplug system started to work.  How is that supposed to
happen?  /etc/init.d/hotplug doesn't do it.

-- 
Grant Edwards   grante Yow! Here I am in the
  at   POSTERIOR OLFACTORY LOBULE
   visi.combut I don't see CARL SAGAN
   anywhere!!

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: How to get hotplug goign?

2007-09-24 Thread Randy Barlow
Grant Edwards wrote:
 And the most recent version of sys-apps/hotplug is over three
 years old?

I could be wrong, but if I remember correctly udev is supposed to
replace cold/hotplug.  Perhaps you should try to find a way to do what
you are doing using udev?

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: How to get hotplug goign?

2007-09-24 Thread Grant Edwards
On 2007-09-24, Randy Barlow [EMAIL PROTECTED] wrote:
 Grant Edwards wrote:
 And the most recent version of sys-apps/hotplug is over three
 years old?

 I could be wrong, but if I remember correctly udev is supposed to
 replace cold/hotplug.  Perhaps you should try to find a way to do what
 you are doing using udev?

I probably should.  Using hotplug is making the device driver
for the USB dongle hang.

-- 
Grant Edwards   grante Yow! FOOLED you!  Absorb
  at   EGO SHATTERING impulse
   visi.comrays, polyester poltroon!!

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] {OT} Opinions on Host's Decision Please

2007-09-24 Thread Grant
As I have previously posted about, my host sent me an email a few days
ago stating that support tickets for 5,000-6,000 of their clients had
been broken into.  I checked my records and found that my root
password had previously been submitted in a support ticket.  I then
decided I needed to reinstall my system.
   
I requested that my host allow me access to a second machine for 2-5
days while I switch over to a clean system, after that I would turn
the old system over to them and continue with the new system.
   
My request was denied!  I'm blown away by this.  Was I asking too
much?
   
- Grant
  
   Would it be unreasonable to tell us who this host is?  I want to make
   sure I don't host any sites on their system; if they can't secure their
   work tickets, what makes anybody think they can secure anything else?
 
  I'm taking a guess it's these guys:
  http://www.theregister.co.uk/2007/09/19/layered_technologies_breach_disclosure/
 
  - Noven

 Bingo.  They sent me another message with an offer that could be what
 I asked for.  It was vague.

So much for that.

I understand sir. Unfortunately I'm about out of rope in this
situation. The only
thing I can really provide to you at this point, is the oppertunity to
flag this for
the management team, and allow them to speak with you directly.

I'll move forward and make sure this gets marked correctly for them.

Please understand that as they work M-F 9 AM - 5 PM CST, it could be some time
before you are able to get a response from them. Your patience and
cooperation is
greatly appreciated.

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Changing CHOST

2007-09-24 Thread David Relson
On Mon, 24 Sep 2007 18:17:53 +0200
Florian Philipp wrote:

 Neil Bothwick schrieb:
...[snip]...
  Unpacking a stage 3 tarball on top of a working system is a good
  way of converting it to a non-working system. It will also
  overwrite many of your settings in /etc.
  
  If you are going to use a stage 3 tarball as a basis, a clean stage
  3 install is by far the safest option, and usually turns out to be
  the quickest too. Backup /etc  and your world file first, use your
  old make.conf as a starting point and recreate your old environment
  on the new hardware with
  
  emerge -1av $(cat oldworld)
  
  
 Just a thought: Is it possible to compile a 64bit kernel and use him
 on the current system? That way you could set up your new native 64bit
 system in a chroot before overwriting the old one and thus minimize
 downtime to less than 15 minutes.

Florian,

That would be ideal!  It's exactly what I'd do -- if it's
doable.

Hopefully the experts will point to a HOWTO :-

David
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] help with the dreaded mount: RPC: Program not registered

2007-09-24 Thread Bogo Mipps
On Tue, 25 Sep 2007, John Blinka wrote:
 I think it happens when booting, but I see this message in the system log:

 Sep 23 21:12:01 tobey rc-scripts: ERROR:  cannot start nfs as
 rpc.statdcould not start

John, I've hesitated to join this thread because I haven't felt I've been able 
to throw any light on your problem - just hoped that you'd get some 
resolution that I could then apply to my own situation which is very similar 
to yours ... but as it's not looking so rosy maybe my experience may spark 
some other avenue to explore?

I've been running an amd64 nfs mount successfully for some months on this 
machine until around about mid August (difficult to tell exactly when as I 
had temporary wireless network about then because of building alterations) 
but from that point on have had major problems trying to mount the nfs 
directory.  No point in going though all the error codes etc. again as they 
are pretty similar to yours - main one is always mount: RPC: Timed out, but 
I have variations.  Like you I _never_ get it to mount from boot as it always 
did in earlier days: now, with a bit of patience, and re-running nfs, 
nfsmount - and sometimes portmap scripts, I can sometimes get it to mount. 
Sometimes I can get it to mount using the manual mount command.  Other times 
it just plain refuses to do anything until I go away for an hour or so - then 
come back and take it by surprise with nfsmount or manual mount and wham, bam 
we're away laughing!  Or sort of. 

I've googled extensively and followed up avenue after avenue, wiki after wiki:  
I've recompiled nfs-utils, portmap, baselayout.  I've altered hosts.allow and 
hosts.deny, etc., etc., and then tried all Emil's suggestions as on this 
thread.  But I still get nowhere, and I think I've now spent so much time on 
it that I really can't see the wood for the trees!  It's obviously something 
so simple, but I just can't see it.  Feel a bit of a prat, but this morning 
was the last straw when I thought I'd better join your thread: no success 
until I left it and went away for an hour - then came back and 
input mount -t nfs 192.168.0.216:/usr/portage /mnt/nfs_portage/ and away we 
went. All ok, just in time for a cronjob emerge --sync.

But not very satisfactory.  It's almost as though the original mount called 
by the scripts and earlier efforts takes some time to die, and a fresh 
instance does the trick! But I don't know enough about the process to know if 
that's so - I just seem to recall someone somewhere in my endless searches 
saying something along those lines ... 

Strange that it's just the two of us to be afflicted by this at about the same 
time?  AAMOI have you tried taking your machine by surprise?

Bogo





-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Changing CHOST

2007-09-24 Thread Doug Whitesell

On Sep 24, 2007, at 5:03 PM, David Relson wrote:

Just a thought: Is it possible to compile a 64bit kernel and use him
on the current system? That way you could set up your new native  
64bit

system in a chroot before overwriting the old one and thus minimize
downtime to less than 15 minutes.


Florian,

That would be ideal!  It's exactly what I'd do -- if it's
doable.

Hopefully the experts will point to a HOWTO :-

This sounds like a way to infinite pain. (This is at first glance and  
off the top of my head without looking into it, of course...) While  
it may be possible to cross-compile a 64-bit kernel on a 32-bit  
system, IIRC unless you have the right runtime libraries compiled for  
64-bit you may have massive trouble getting the system to even come up.


But I'm not an expert on new and cool ways to try things, so your  
mileage may vary.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] {OT} Opinions on Host's Decision Please

2007-09-24 Thread Doug Whitesell

On Sep 24, 2007, at 4:21 PM, Grant wrote:


So much for that.

I understand sir. Unfortunately I'm about out of rope in this
situation. The only
thing I can really provide to you at this point, is the oppertunity to
flag this for
the management team, and allow them to speak with you directly.

I'll move forward and make sure this gets marked correctly for them.

Please understand that as they work M-F 9 AM - 5 PM CST, it could  
be some time

before you are able to get a response from them. Your patience and
cooperation is
greatly appreciated.

Customer service in the Internet age :(

I would find a new host, but that's just me.
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] {OT} Opinions on Host's Decision Please

2007-09-24 Thread Grant
  So much for that.
 
  I understand sir. Unfortunately I'm about out of rope in this
  situation. The only
  thing I can really provide to you at this point, is the oppertunity to
  flag this for
  the management team, and allow them to speak with you directly.
 
  I'll move forward and make sure this gets marked correctly for them.
 
  Please understand that as they work M-F 9 AM - 5 PM CST, it could
  be some time
  before you are able to get a response from them. Your patience and
  cooperation is
  greatly appreciated.
 Customer service in the Internet age :(

 I would find a new host, but that's just me.

Any recommendations?

- Grant
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Is this drive toast?

2007-09-24 Thread maxim wexler
Hi group,

Just noticed this in dmesg:

snip
hdb: dma_intr: status=0x51 { DriveReady SeekComplete
Error }
hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
ide: failed opcode was: unknown
hdb: dma_intr: status=0x51 { DriveReady SeekComplete
Error }
hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
ide: failed opcode was: unknown
hdb: dma_intr: status=0x51 { DriveReady SeekComplete
Error }
hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
ide: failed opcode was: unknown
hdb: dma_intr: status=0x51 { DriveReady SeekComplete
Error }
hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
ide: failed opcode was: unknown
hda: DMA disabled
ide0: reset: success
snip

So far I've changed the cable and turned on
IDEDISK_MULTI_MODE in the kernel.

No other problems w/ the drive.

Drive is Maxtor 120G IDE. Very low hours on it.

Can I just let this slide?

Maxim


   

Be a better Heartthrob. Get better relationship answers from someone who knows. 
Yahoo! Answers - Check it out. 
http://answers.yahoo.com/dir/?link=listsid=396545433
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Is this drive toast--addendum

2007-09-24 Thread maxim wexler
Forgot to add: this all started when I made hda into
hdb and vice versa by changing the jumpers on the two
IDE drives in this particular PC and telling the  BIOS
to boot from the 2nd drive. And updating grub and
fstab, of course.

mw


   

Building a website is a piece of cake. Yahoo! Small Business gives you all the 
tools to get online.
http://smallbusiness.yahoo.com/webhosting 
-- 
[EMAIL PROTECTED] mailing list