RE: [gentoo-user] [OT vmware] Networking Gentoo as guest on vista

2008-05-02 Thread Daevid Vincent
 -Original Message-
 From: news [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
 Sent: Sunday, April 20, 2008 7:12 AM
 To: gentoo-user@lists.gentoo.org
 Subject: [gentoo-user] [OT vmware] Networking Gentoo as guest on vista
 
 I'm hoping some of you here have run gentoo on a windows host and will
 know something about the various networking possibilities.
 
 My setup:
 
 Wireless connected laptop running windows vista premium home
 Local lan network connected to internet via cable.
 
 Home router has the internet connection and wireless laptop is joined
 into lan by a WAP (Wireless access point).  With static ip addressing
 (not dhcp).
 
 When setting up gentoo in the virtual machine you have two main
 approaches to networking.  Bridged and NAT.
 
 Can anyone tell me which is best suited for my setup.
 Starting the 2008.0 minimal iso file in vmware... I end up with a
 working network immediately without doing a thing.
 
 Maybe I can just transfer those settings somehow but there are no
 setting in /etc/conf.d/net on the install disk.
 
 It appears to have gotten an address from a dhcp server built into
 vmware. 
 
 I don't want to jerk around with wireless setting for the gentoo
 install and would prefer to connect thru the hosts ip and nameserver. 
 
 Should I use `Bridged' or `Nat'.  And how to set it up after making
 that decision.

I run XP (with wifi) and VMWare Host with Gentoo VMs all the time.

Bridged will give your VM an IP address from your router's DHCP pool -- It will 
look like any other network device on your home network. It will have it's own 
MAC and everything. In your setup, your router will NAT for you and probably 
your Vista and your VM will have a 192.168.1.x address unless you changed your 
router's default subnet / DHCP pool.

NAT (what I use) is Network Address Translation and will setup a little private 
network between your Vista host and the VM. The VM will be assigned an IP from 
VMWare's VMnet8 (NAT) subnet (mine is 192.168.222.0/24). It will be able to get 
to the internet, but no machines will be able to get to it sans your Vista 
host. This works EXACTLY like your home router is NATing addresses to the 
internet for all devices you plug into it. In fact your Vista is most likely 
NATed via the router.

In either case, you do NOT have to set up wireless settings in the VM at all. 
It emulates an AMD PCNET32 ethernet card. In BOTH cases, it will just connect 
to the network via your host Vista's networking. 

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



Re: [gentoo-user] Updated ebuild; bypassing manifest check

2008-05-02 Thread Alan McKinnon
On Friday 02 May 2008, 7v5w7go9ub0o wrote:
 Following the instructions here, I tried to create an updated ebuild
 for mozilla-thunderbird-bin. The newest version is 2.0.0.14; current
 ebuild is 2.0.0.12.

 http://gentoo-wiki.com/HOWTO_Create_an_Updated_Ebuild

 Everything worked fine until I tried to update the hashes in the
 manifest,

 ebuild
 /usr/local/portage/mail-client/mozilla-thunderbird-bin/mozilla-thunde
rbird-bin-2.0.0.14.ebuild digest

 and it failed, being unable to download the '.14 file from
 Gentoo.something.

 Well, this is to be expected, as Gentoo.something doesn't have the
 '.14 file yet; and the ebuild downloads the source code from the
 author's site, not from gentoo.something.

 So I ended up running the emerge 3 times, manually tweaking the
 Manifest's hashes with the newer hashes, 'til everything matched, and
 tbird 2.0.0.14 emerged normally.

 So the question becomes, is there a way to bypass the manifest check?
 Or alternatively, build the manifest with the correct hashes based
 upon the source code's author's code.

I think the assumption is that the dev making the ebuild already has the 
downloadable files. You have to have them to see how the build works to 
be able to write an ebuild that automates it.

So what I do in these cases is wget all the files manually, 
run 'ebuild /path/to/ebuild manifest' and emerge it.



-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] SMB protocol for Krusader

2008-05-02 Thread Alan McKinnon
On Friday 02 May 2008, Abraham Gyorgy wrote:
 Hello Gentoo users,

 I'm trying to enable smb:// support for Krusader. Searching the net I
 got a solution: I have to emerge kde-base/kdebase-kioslaves. (on
 Ubuntu I had to install a very similarly named package to do this).

 But unfortunately doing this isnt a good idea, because:

 lapitopi gyuszk # emerge -pv kdebase-kioslaves

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

Read the kde upgrade guide at the usual place. You are trying to install 
individual packages together with monolithic packages.

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] man pages not displaying right - SOLVED

2008-05-02 Thread Wolf Canis

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
| I searched for NROFF in /etc/man-conf and found a note saying to add
| -c if something had a specific version.  I tried that and it works
| now.  There may be otehr fixesm but that works for me.  Just edit it
| and look for NROFF, it's in a comment.

Hello,
you are right it's in the comment. After adding -c to the commands 
NROFF, TROFF

and JNROFF, the man pages are looking fine again (with  vimmanpager).

Thanks

W. Canis

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgazokACgkQKT9zBKF0twW8NQCbBqBlZUKdJYLLZQwBoiBytka/
DpoAoJXxmilxSU0LCKb/iKZ0zJOJo7Qx
=rDlQ
-END PGP SIGNATURE-

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



Re: [gentoo-user] pptp client under nat

2008-05-02 Thread Vladimir Rusinov
On Wed, Apr 30, 2008 at 12:21 AM, Etaoin Shrdlu
[EMAIL PROTECTED] wrote:

 On Tuesday 29 April 2008, 15:48, Vladimir Rusinov wrote:

   I've setup chap-secrets and peer and when I'm doing #pon my_vpn I'm
   getting following:
   using channel 32
   Using interface ppp0
   Connect: ppp0 -- /dev/pts/7
   sent [LCP ConfReq id=0x1 asyncmap 0x0 magic 0x24770bb6 pcomp
   accomp] rcvd [LCP ConfReq id=0x0 mru 1448 auth chap MS-v2 magic
   snip] sent [LCP ConfAck id=0x0 mru 1448 auth chap MS-v2 magic
   snip] rcvd [LCP ConfRej id=0x1 asyncmap 0x0 pcomp accomp]
   sent [LCP ConfReq id=0x2 magic snip]
   rcvd [LCP ConfAck id=0x2 magic snip]
   snip
   rcvd [CHAP Success id=0x17 snip]
   CHAP authentication succeeded
   sent [IPCP ConfReq id=0x1 compress VJ 0f 01 addr 192.168.1.3]
   rcvd [CCP ConfReq id=0x0 mppe +H +M +S +L -D -C]
   sent [CCP ConfReq id=0x1]
   sent [CCP ConfRej id=0x0 mppe +H +M +S +L -D -C]
   rcvd [IPCP ConfReq id=0x0 addr 192.168.5.1]
   sent [IPCP ConfAck id=0x0 addr 192.168.5.1]
   rcvd [IPCP ConfRej id=0x1 compress VJ 0f 01]
   sent [IPCP ConfReq id=0x2 addr 192.168.1.3]
   rcvd [CCP ConfNak id=0x1 mppe +H -M +S -L -D -C]
   sent [CCP ConfReq id=0x2]
   rcvd [CCP TermReq id=0x2]
   sent [CCP TermAck id=0x2]
   rcvd [LCP TermReq id=0x1]
   LCP terminated by peer
   sent [LCP TermAck id=0x1]
   Script pptp --loglevel 1 a.b.c.d --nolaunchpppd finished (pid 27227),
   status = 0x0
   Modem hangup
   Connection terminated.

  It looks like a compression negotiation problem, since everything until
  CHAP authentication works.
  Your client rejects the mppe +H +M +S +L -D -C options it receives from
  the server.
  What's the content of your /etc/ppp/options.pptp file?

Sorry, kernel module was not loaded and mppe was not enabled in options.pptp.
Thank you.

-- 
Vladimir Rusinov
Voronezh, Russia
UNIX Admin @ Murano Software
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] checking for.....

2008-05-02 Thread Wolf Canis

[EMAIL PROTECTED] wrote:

In the middle of doing a major upgrade from very old pkgs to current
2008 and compiling lots and lots of stuff.

Seeing that line `checking for WHATEVER' go by 486,211 times so far
makes me wonder if there wouldn't be someway to cache all those
answers somewhere so whatever test is done for each line could be
dispensed with for most of them.  Probably would need more than 2-3
compiles to have all but rare ones answered.

Some items really check a lot of things.

I think it would be a major time saver when discussing huge numbers
of compiles.


  


Hello,
ccache does caching, I use it and I'm very satisfied.

W. Canis




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] pptp client under nat

2008-05-02 Thread Vladimir Rusinov
On Fri, May 2, 2008 at 12:22 PM, Vladimir Rusinov
[EMAIL PROTECTED] wrote:

  Sorry, kernel module was not loaded and mppe was not enabled in options.pptp.
  Thank you.

Another problem: the tunnel is now up, but I'm not able to ping or telnet router

ppp0  Link encap:Point-to-Point Protocol
  inet addr:192.168.5.253  P-t-P:192.168.5.1  Mask:255.255.255.255
  UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1448  Metric:1
  RX packets:9 errors:0 dropped:0 overruns:0 frame:0
  TX packets:149 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:3
  RX bytes:90 (90.0 b)  TX bytes:11064 (10.8 Kb)

# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
192.168.5.1 *   255.255.255.255 UH0  00 ppp0
172.16.85.0 *   255.255.255.0   U 0  00 vmnet1
192.168.194.0   *   255.255.255.0   U 0  00 vmnet8
192.168.1.0 *   255.255.255.0   U 0  00 eth0
loopback*   255.0.0.0   U 0  00 lo
default 192.168.1.10.0.0.0 UG0  00 eth0

;(

-- 
Vladimir Rusinov
Voronezh, Russia
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] checking for.....

2008-05-02 Thread Brandon Mintern
ccache caches the compile step. I believe the OP was specifically
looking for something that would cache the answers to the checking
for lines (the configuration step).

On Fri, May 2, 2008 at 4:49 AM, Wolf Canis [EMAIL PROTECTED] wrote:
 [snip]

  Hello,
  ccache does caching, I use it and I'm very satisfied.

  W. Canis
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] checking for.....

2008-05-02 Thread Wolf Canis

Brandon Mintern wrote:

ccache caches the compile step. I believe the OP was specifically
looking for something that would cache the answers to the checking
for lines (the configuration step).


Yes, you are right, but I thought that ccache cached parts of the 
configuration too.
That's what I noticed in outputs during the build process. Perhaps my 
conclusion

is wrong.

W. Canis




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] pptp client under nat

2008-05-02 Thread Etaoin Shrdlu
On Friday 2 May 2008, 10:50, Vladimir Rusinov wrote:

 On Fri, May 2, 2008 at 12:22 PM, Vladimir Rusinov

 [EMAIL PROTECTED] wrote:
   Sorry, kernel module was not loaded and mppe was not enabled in
  options.pptp. Thank you.

 Another problem: the tunnel is now up, but I'm not able to ping or
 telnet router

You have several network connections. You probably need to add some 
static route(s). What's the IP address of the router?

 ppp0  Link encap:Point-to-Point Protocol
   inet addr:192.168.5.253  P-t-P:192.168.5.1 
 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1448 
 Metric:1 RX packets:9 errors:0 dropped:0 overruns:0 frame:0
   TX packets:149 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:3
   RX bytes:90 (90.0 b)  TX bytes:11064 (10.8 Kb)

 # route
 Kernel IP routing table
 Destination Gateway Genmask Flags Metric Ref   
 Use Iface 
 192.168.5.1 *   255.255.255.255 UH0  00
 ppp0  
 172.16.85.0 *   255.255.255.0   U 0  00
 vmnet1 
 192.168.194.0   *   255.255.255.0   U 0  00
 vmnet8 
 192.168.1.0 *   255.255.255.0   U 0  00
 eth0 
 loopback*   255.0.0.0   U 0  00
 lo 
 default 192.168.1.1 0.0.0.0 UG0  00
 eth0 
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] pptp client under nat

2008-05-02 Thread Vladimir Rusinov
On Fri, May 2, 2008 at 12:55 PM, Etaoin Shrdlu [EMAIL PROTECTED] wrote:
 On Friday 2 May 2008, 10:50, Vladimir Rusinov wrote:

   On Fri, May 2, 2008 at 12:22 PM, Vladimir Rusinov
  
   [EMAIL PROTECTED] wrote:
 Sorry, kernel module was not loaded and mppe was not enabled in
options.pptp. Thank you.
  
   Another problem: the tunnel is now up, but I'm not able to ping or
   telnet router

  You have several network connections. You probably need to add some
  static route(s). What's the IP address of the router?

Yes, network structure is
(host 192.168.1.3) --ethernet-- (US Robotics ADSL 192.168.1.1,
dynamic wan ip, default route via dhcp)  --internet-- (D-Link router
192.168.5.1, wan ip 1.2.3.4) --ethernet-- (office network)

I've trued to add `route add -net 192.168.5.0 netmask 255.255.255.0
dev ppp0`, but it does not help.

-- 
Vladimir Rusinov
Voronezh, Russia
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] pptp client under nat

2008-05-02 Thread Etaoin Shrdlu
On Friday 2 May 2008, 11:39, Vladimir Rusinov wrote:

   You have several network connections. You probably need to add some
   static route(s). What's the IP address of the router?

 Yes, network structure is
 (host 192.168.1.3) --ethernet-- (US Robotics ADSL 192.168.1.1,
 dynamic wan ip, default route via dhcp)  --internet-- (D-Link router
 192.168.5.1, wan ip 1.2.3.4) --ethernet-- (office network)

 I've trued to add `route add -net 192.168.5.0 netmask 255.255.255.0
 dev ppp0`, but it does not help.

But the tunnel is between ppp0 in your box and the D-link router, or 
between ppp0 in your box and some internal box in the office network?
What's the network address of the office network?
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] SMB protocol for Krusader

2008-05-02 Thread Abraham Gyorgy
Well thanks. :)

lapitopi gyuszk # emerge -pv kdebase

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

Calculating dependencies... done!
[ebuild  N] sys-apps/xinetd-2.3.14  USE=perl tcpd 295 kB
[ebuild  N] net-fs/samba-3.0.28  USE=acl cups ipv6 pam python readline
-ads -async -automount -caps -doc -examples -fam -ldap -quotas (-selinux)
-swat -syslog -winbind LINGUAS=-ja -pl 17,735 kB
[ebuild   R   ] kde-base/kdebase-3.5.8-r6  USE=cups pam samba* xscreensaver
-arts -branding -debug -hal -ieee1394 -java -joystick -kdeenablefinal
-kdehiddenvisibility -ldap -lm_sensors -logitech-mouse -openexr -opengl
-xcomposite -xinerama 23,671 kB

Total: 3 packages (2 new, 1 reinstall), Size of downloads: 41,700 kB
lapitopi gyuszk #

I think it's going to work.

2008/5/2, Volker Armin Hemmann [EMAIL PROTECTED]:

 On Freitag, 2. Mai 2008, Abraham Gyorgy wrote:
  Hello Gentoo users,
 
  I'm trying to enable smb:// support for Krusader. Searching the net I
 got a
  solution: I have to emerge kde-base/kdebase-kioslaves. (on Ubuntu I had
 to
  install a very similarly named package to do this).
 
  But unfortunately doing this isnt a good idea, because:
 
  lapitopi gyuszk # emerge -pv kdebase-kioslaves
 
  These are the packages that would be merged, in order:
 
  Calculating dependencies... done!
  [ebuild  N] kde-base/kdialog-3.5.8  USE=-arts -debug
 -kdeenablefinal
  -kdehiddenvisibility -xinerama 23,633 kB
  [ebuild  N] kde-base/kdebase-kioslaves-3.5.8  USE=-arts -debug -hal
  -kdeenablefinal -kdehiddenvisibility -ldap -openexr -samba -xinerama 20
 kB
  [blocks B ] =kde-base/kdebase-kioslaves-3.5* (is blocking
  kde-base/kdebase-3.5.8-r6)
  [blocks B ] =kde-base/kdebase-3.5* (is blocking
  kde-base/kdebase-kioslaves-3.5.8, kde-base/kdialog-3.5.8)
  [blocks B ] =kde-base/kdialog-3.5* (is blocking
  kde-base/kdebase-3.5.8-r6)
 
  Total: 2 packages (2 new, 3 blocks), Size of downloads: 23,653 kB
 
 
  Maybe kdebase has a use flag for kioslaves...?
 
  lapitopi gyuszk # emerge -pv kdebase
 
  These are the packages that would be merged, in order:
 
  Calculating dependencies... done!
  [ebuild   R   ] kde-base/kdebase-3.5.8-r6  USE=cups pam xscreensaver
 -arts
  -branding -debug -hal -ieee1394 -java -joystick -kdeenablefinal
  -kdehiddenvisibility -ldap -lm_sensors -logitech-mouse -openexr -opengl
  -samba -xcomposite -xinerama 23,671 kB
 
 
  No. :(
 
  Information: I'm running Gentoo amd64, everything up-to-date. Installed
  monolythic kde (emerge kde).
  Can anybody help? Thanks a lot.


 there is no flag, because kio-slaves are an integral part of KDE and
 always
 installed with kdebase. So you don't need to install anything.
 BUT you need to re-emerge kdebase with the samba useflag. lmsensors,
 opengl,
 hal, java, kdehiddenvisibility, xcomposity would be good ideas too.



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




Re: [gentoo-user] checking for.....

2008-05-02 Thread David Relson
On Fri, 02 May 2008 11:25:41 +0200
Wolf Canis wrote:

 Brandon Mintern wrote:
  ccache caches the compile step. I believe the OP was specifically
  looking for something that would cache the answers to the checking
  for lines (the configuration step).
 
 Yes, you are right, but I thought that ccache cached parts of the 
 configuration too.
 That's what I noticed in outputs during the build process. Perhaps my 
 conclusion
 is wrong.
 
 W. Canis

As part of identifying the capabilities and files of your operating
system (distro) ./configure creates a lot of small programs and
compiles them.  I can see how caching compilation info would help with
this.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] pptp client under nat

2008-05-02 Thread Vladimir Rusinov
On Fri, May 2, 2008 at 1:53 PM, Etaoin Shrdlu [EMAIL PROTECTED] wrote:
 On Friday 2 May 2008, 11:39, Vladimir Rusinov wrote:

 You have several network connections. You probably need to add some
 static route(s). What's the IP address of the router?
  
   Yes, network structure is
   (host 192.168.1.3) --ethernet-- (US Robotics ADSL 192.168.1.1,
   dynamic wan ip, default route via dhcp)  --internet-- (D-Link router
   192.168.5.1, wan ip 1.2.3.4) --ethernet-- (office network)
  
   I've trued to add `route add -net 192.168.5.0 netmask 255.255.255.0
   dev ppp0`, but it does not help.

  But the tunnel is between ppp0 in your box and the D-link router, or
  between ppp0 in your box and some internal box in the office network?
  What's the network address of the office network?

It's between my box and d-link. The office network address is
192.168.5.0/24, my local network is 192.168.1.0/24.
Currenty I can't even ping or telnet to d-link router (I'm 100% shure
that https port is open on d-link).

-- 
Vladimir Rusinov
Voronezh, Russia
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] pptp client under nat

2008-05-02 Thread Etaoin Shrdlu
On Friday 2 May 2008, 13:33, Vladimir Rusinov wrote:

   But the tunnel is between ppp0 in your box and the D-link router,
  or between ppp0 in your box and some internal box in the office
  network? What's the network address of the office network?

 It's between my box and d-link. The office network address is
 192.168.5.0/24, my local network is 192.168.1.0/24.
 Currenty I can't even ping or telnet to d-link router (I'm 100% shure
 that https port is open on d-link).

If you can't ping or telnet to the d-link using its wan public IP, then 
you should solve that problem first.

If you can reach the router through its public IP, then the problem may 
be in the tunnel configuration.

I don't know what degree of control you have upon the remote router, 
however, you could try using a different IP subnet for the tunnel (eg, 
192.168.100.0/24), which is also a cleaner setup imho (the router needs 
to be configured to forward IP packets, but that is hopefully already 
so, otherwise it would be rather useless as a router).

ATM you are using, for the tunnel, addresses belonging to the same office 
IP network. This can be done, but then you need to make sure the remote 
pppd is doing proxy arp (ie, option proxyarp to pppd). You still need 
a static route to 192.168.5.0/24 through ppp0, since by default only 
the /32 entry to the peer is created.
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: New eth.0/openrc setup - I'm confused

2008-05-02 Thread reader
Adam Carter [EMAIL PROTECTED] writes:

 Do this;
 /etc/init.d/net.eth0 stop
 - verify the interface is down, if its not maybe just 'ifconfig eth0 down' it
 /etc/init.d/net.eth0 zap
 /etc/init.d/net.eth0 start

A reboot cured the problem... It now works like one would expect.

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



[gentoo-user] Network manager for laptop

2008-05-02 Thread Daniel da Veiga
I've been struggling with network managing in my laptop for some time
now. There's no decent way to keep it on config files. I connect to a
LOT of completely different wired and wireless networks.

I'm using Gnome, but I have all KDE libraries as dependencies for some
stuff. The machine is an Asus EEE 701 with an Atheros card. I'm using
ndiswrapper trying to avoid patching the madwifi drivers, waiting for
the official commit. My first try was NetworkManager, beautiful tool,
allowed me to manage my wired and open wireless connections fine, but
once I need WPA for wireless at the University, it failed on me. It
seems it can't talk to wpa_supplicant the right way. One possible fix
would be downgrade to version 0.5.4 of wpa_supplicant, but its not in
portage anymore, so I quit.

Next I tried some gtk stuff, scripting stuff, gosh, so many.

End up with WICD, wich for the most part works fine. I didn't have the
time to check why the heck it tries to connect to None more often
then it tries with the SSID Im telling it to (maybe some
configuration file lost in the way), but anyway, change driver from
ndiswrapper or wext and it eventually works.

What are you guys using? Im accepting suggestions!

-- 
Daniel da Veiga
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: Updated ebuild; bypassing manifest check

2008-05-02 Thread 7v5w7go9ub0o

Alan McKinnon wrote:

On Friday 02 May 2008, 7v5w7go9ub0o wrote:

Following the instructions here, I tried to create an updated ebuild
for mozilla-thunderbird-bin. The newest version is 2.0.0.14; current
ebuild is 2.0.0.12.

http://gentoo-wiki.com/HOWTO_Create_an_Updated_Ebuild

Everything worked fine until I tried to update the hashes in the
manifest,

ebuild
/usr/local/portage/mail-client/mozilla-thunderbird-bin/mozilla-thunde
rbird-bin-2.0.0.14.ebuild digest

and it failed, being unable to download the '.14 file from
Gentoo.something.

Well, this is to be expected, as Gentoo.something doesn't have the
'.14 file yet; and the ebuild downloads the source code from the
author's site, not from gentoo.something.

So I ended up running the emerge 3 times, manually tweaking the
Manifest's hashes with the newer hashes, 'til everything matched, and
tbird 2.0.0.14 emerged normally.

So the question becomes, is there a way to bypass the manifest check?
Or alternatively, build the manifest with the correct hashes based
upon the source code's author's code.


I think the assumption is that the dev making the ebuild already has the 
downloadable files. You have to have them to see how the build works to 
be able to write an ebuild that automates it.


So what I do in these cases is wget all the files manually, 
run 'ebuild /path/to/ebuild manifest' and emerge it.






YES. makes sense; and now that you mention it, I recall somewhere 
seeing someone doing that!


Thanks!!

p.s. apologies to the guy maintaining Mozilla. I sent a couple of 
bugzilla notes about TBird being two releases behind; turns out that 
there was no release 2.0.0.13 for 'nix - that Portage Tbird ebuild was 
in fact quite on top of things..






apologies again.



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



Re: [gentoo-user] Network manager for laptop

2008-05-02 Thread Albert Hopkins
On Fri, 2008-05-02 at 11:41 -0300, Daniel da Veiga wrote:
 I've been struggling with network managing in my laptop for some time
 now. There's no decent way to keep it on config files. I connect to a
 LOT of completely different wired and wireless networks.
 
 I'm using Gnome, but I have all KDE libraries as dependencies for some
 stuff. The machine is an Asus EEE 701 with an Atheros card. I'm using
 ndiswrapper trying to avoid patching the madwifi drivers, waiting for
 the official commit. My first try was NetworkManager, beautiful tool,
 allowed me to manage my wired and open wireless connections fine, but
 once I need WPA for wireless at the University, it failed on me. It
 seems it can't talk to wpa_supplicant the right way. One possible fix
 would be downgrade to version 0.5.4 of wpa_supplicant, but its not in
 portage anymore, so I quit.

Where does it say that the NetworkManager needs a downgraded version of
wpa_supplicant?  The reason that I ask is that I use NetworkManager on
my laptop and it's been great.. except for at work where we use
Enterprise WPA or whatever it's called.  I haven't been able to log in,
but a workmate of mine installed a fresh copy of Hardy Heron and it
worked the first time.  I haven't really had the time/interest to figure
out why it wasn't working on my Gentoo laptop.

Thanks,
-a


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



[gentoo-user] Re: Network manager for laptop

2008-05-02 Thread reader
Albert Hopkins [EMAIL PROTECTED] writes:

 Enterprise WPA or whatever it's called.  I haven't been able to log in,
 but a workmate of mine installed a fresh copy of Hardy Heron and it
 worked the first time.  I haven't really had the time/interest to figure
 out why it wasn't working on my Gentoo laptop.

Is it likely to be a kenel module involved?

Maybe have your pal lsmod and send it to you to compare with your
lsmod. 

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



[gentoo-user] webcam

2008-05-02 Thread Gavin Seddon

Hi
Sorry about this.

lsusb sees my logptech 5000 webcam.  I've configured according to

http://gentoo-wiki.com/HOWTO_Install_a_webcam
but there's no light on.

Can anypne help pls?
g
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Network manager for laptop

2008-05-02 Thread Daniel da Veiga
On Fri, May 2, 2008 at 11:47 AM, Albert Hopkins [EMAIL PROTECTED] wrote:
 On Fri, 2008-05-02 at 11:41 -0300, Daniel da Veiga wrote:
   I've been struggling with network managing in my laptop for some time
   now. There's no decent way to keep it on config files. I connect to a
   LOT of completely different wired and wireless networks.
  
   I'm using Gnome, but I have all KDE libraries as dependencies for some
   stuff. The machine is an Asus EEE 701 with an Atheros card. I'm using
   ndiswrapper trying to avoid patching the madwifi drivers, waiting for
   the official commit. My first try was NetworkManager, beautiful tool,
   allowed me to manage my wired and open wireless connections fine, but
   once I need WPA for wireless at the University, it failed on me. It
   seems it can't talk to wpa_supplicant the right way. One possible fix
   would be downgrade to version 0.5.4 of wpa_supplicant, but its not in
   portage anymore, so I quit.

  Where does it say that the NetworkManager needs a downgraded version of
  wpa_supplicant?  The reason that I ask is that I use NetworkManager on
  my laptop and it's been great.. except for at work where we use
  Enterprise WPA or whatever it's called.  I haven't been able to log in,
  but a workmate of mine installed a fresh copy of Hardy Heron and it
  worked the first time.  I haven't really had the time/interest to figure
  out why it wasn't working on my Gentoo laptop.


http://www.linuxquestions.org/questions/linux-wireless-networking-41/ath0wireless-couldnt-connect-to-the-supplicant.-511815/

But again, its one of the MANY threads, posts and questions about
NetworkManager and WPA around the web. The fact is, I found many
people with this problem, tried all their solutions but still no
game. I get the infamous couldn't connect to the supplicant syslog
error. Believe me, I spent a LOT of time trying to figure this out...

WICD had the None problem (must have something to do with the
00:00:00:00:00 failed authentication in wpa_supplicant (wich is
something I must research too), that makes it annoying, but not
impossible to use it.

Any more suggestions?

-- 
Daniel da Veiga
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] webcam

2008-05-02 Thread Max
Hi,

If you mean a logitech 5000, this page may helps you:

http://linux-uvc.berlios.de/

I don't know the cam, but had no problem with old quickcams or spca5xx
chipset based ones on gentoo. Just make sure you have V4L enables in
your kernel config.

cu
Max



On Fri, 2008-05-02 at 16:03 +0100, Gavin Seddon wrote:
 Hi
 Sorry about this.
 
 lsusb sees my logptech 5000 webcam.  I've configured according to
 
 http://gentoo-wiki.com/HOWTO_Install_a_webcam
 but there's no light on.
 
 Can anypne help pls?
 g

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



[gentoo-user] Laptop dual-boot rebuild - disk partition questions

2008-05-02 Thread Mark Knecht
My Windows Vista laptop ate the big one from M$ and died under the
weight of Windows Update. The hardware seems to check out fine
overnight so I'm going to finally do dual boot on this machine like I
wanted to when I bought it.

Data:

80GB hard drive
2GB DRAM

Questions:

1) What's the recommended order to install dual boot today. I prefer
to go Gentoo first, XP second. Any issues?

2) What recommendations do folks have about splitting an 80GB drive
up. I'm thinking of maybe 50-60GB for Gentoo, followed by Win XP using
20-30GB at the end of the drive. Partitions? I'm considering:

sda1 - /boot = 50MB
sda2 - swap (unsure whether I should dedicate 4GB to this. That's 5%
of my drive and I won't likely ever use all of 2GB or RAM.)
sda3 - /var = 2GB
sda4 ==extended
sda5 - / balance of Linux side, say 55GB
sda6 == Windows drive C:

Any and all comments and ideas welcomed.

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



Re: [gentoo-user] sys-libs/-MERGING-pam

2008-05-02 Thread Rumen Yotov

Mark Knecht wrote:

Hi,
   I'm just about done cleaning up a machine that I haven't touched in
a while. For the first time I used eix-test-obsolete to look for
inconsistencies in the portage config files. It worked wel. The
machine is clean in terms of emerge -DuN world;emerge
--depclean;revdep-rebuild. However I am left with one strange package
that doesn't exit. I'm thinking sys-libs/-MERGING-pam is left over
from some emerge that possibly failed and would like to clean it up. I
does exist in /var/db/pkg but I've never touched anything in these
dirfectories by hand so I'd like to know the right way to go about
this.

   The other few packages that failed in eix-test-obsolete allowed an
emerge -C but this one doesn't.

Thanks,
Mark

gandalf ~ # slocate MERGING-pam
/var/db/pkg/sys-libs/-MERGING-pam-0.99.8.1-r1
gandalf ~ #

gandalf ~ # eix-test-obsolete

No non-matching entries in /etc/portage/package.keywords.
No non-matching entries in /etc/portage/package.mask.
No non-matching entries in /etc/portage/package.unmask.
No non-matching or empty entries in /etc/portage/package.use.
No non-matching or empty entries in /etc/portage/package.cflags.
The following installed packages are not in the database:

sys-libs/-MERGING-pam
--

No redundant entries in /etc/portage/package.keywords (or test switched off).
No redundant entries in /etc/portage/package.mask (or test switched off).
No redundant entries in /etc/portage/package.unmask (or test switched off).
No redundant entries in /etc/portage/package.use (or test switched off).
No redundant entries in /etc/portage/package.cflags (or test switched off).
No uninstalled entries in /etc/portage/package.keywords (or test switched off).
No uninstalled entries in /etc/portage/package.mask (or test switched off).
No uninstalled entries in /etc/portage/package.unmask (or test switched off).
No uninstalled entries in /etc/portage/package.use (or test switched off).
No uninstalled entries in /etc/portage/package.cflags (or test switched off).
All installed versions of packages are in the database (or test switched off).
gandalf ~ # eix -I pam
[I] sys-libs/pam
 Available versions:  0.99.8.1-r1 0.99.9.0 ~1.0.1 {audit cracklib
elibc_FreeBSD elibc_glibc nls selinux test vim-syntax}
 Installed versions:  0.99.9.0(09:06:34 12/24/07)(cracklib
elibc_glibc nls -audit -elibc_FreeBSD -selinux -test -vim-syntax)
 Homepage:http://www.kernel.org/pub/linux/libs/pam/
 Description: Linux-PAM (Pluggable Authentication Modules)

gandalf ~ #
  

Hi Mark,

Just remove (or move it somewhere) the whole directory:
#rm -rf  /var/db/pkg/sys-libs/-MERGING-pam-0.99.8.1-r1
Probably left from some error while merging pam.
Then test again.
HTH, Rumen
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Laptop dual-boot rebuild - disk partition questions

2008-05-02 Thread Etaoin Shrdlu
On Friday 2 May 2008, 18:41, Mark Knecht wrote:

 Data:

 80GB hard drive
 2GB DRAM

 Questions:

 1) What's the recommended order to install dual boot today. I prefer
 to go Gentoo first, XP second. Any issues?

Yes. XP will blow away the MBR and replace it with its own MBR, so, to be 
able to boot linux again, you'll have to boot with a livecd, chroot, and 
re-install grub (or lilo). On the other hand, if you install windows 
first, and linux last, you will have no problems when you'll have to 
configure grub: just add another entry for booting a non-linux OS.

 2) What recommendations do folks have about splitting an 80GB drive
 up. I'm thinking of maybe 50-60GB for Gentoo, followed by Win XP using
 20-30GB at the end of the drive. Partitions? I'm considering:

 sda1 - /boot = 50MB
 sda2 - swap (unsure whether I should dedicate 4GB to this. That's 5%
 of my drive and I won't likely ever use all of 2GB or RAM.)
 sda3 - /var = 2GB
 sda4 ==extended
 sda5 - / balance of Linux side, say 55GB
 sda6 == Windows drive C:

 Any and all comments and ideas welcomed.

Any particular reason to put windows at the end of the drive? This should 
however not be a problem, it you partition the space at the beginning of 
the disk *before* installing XP (eg, doing (c)fdisk from a livecd).

On my laptop, I partitioned as follows:

hda1 - windows  (23GB)
hda2 - extended
hda5 - /boot (50MB)
hda6 - swap  (2GB)
hda7 - /home (45GB)
hda8 - / (remaining space, ~10GB)

I don't need a separate /var. Do you have special requirements to keep it 
separated?
On the other hand, I like to use a dedicated partition for /home. This is 
useful because you can share your home folder among different distros 
(in case you have more than one installed), and, more important, if you 
need you can wipe / and reinstall without touching /home (probably 
saving /etc and something else beforehand if you want...but still 
quicker than backing up several GB of data, which you are forced to do 
if you have /home on /).
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Laptop dual-boot rebuild - disk partition questions

2008-05-02 Thread Alan McKinnon
On Friday 02 May 2008, Mark Knecht wrote:
 My Windows Vista laptop ate the big one from M$ and died under the
 weight of Windows Update. The hardware seems to check out fine
 overnight so I'm going to finally do dual boot on this machine like I
 wanted to when I bought it.

 Data:

 80GB hard drive
 2GB DRAM

 Questions:

 1) What's the recommended order to install dual boot today. I prefer
 to go Gentoo first, XP second. Any issues?

All of this is mostly my own viewpoint from experience. There may be 
other ways:


Other way round. Windows operating systems have a nasty habit of 
assuming they are the only system on the machine and merrily trash 
everything in sight for their own nefarious purposes. Then they 
overwrite any existing bootloader. I do this:

Install XP. If you can get it to limit the partition size it uses, so 
much the better
Resize windows partition downwards with Linux LiveCD. Most recent ones 
support this.
Install Linux and set up a chainloader as normal in grub to boot windows
Finally boot Windows and let it do what it wants with the partitions 
that need checking. This is expected behaviour caused by the downward 
resize

 2) What recommendations do folks have about splitting an 80GB drive
 up. I'm thinking of maybe 50-60GB for Gentoo, followed by Win XP
 using 20-30GB at the end of the drive. Partitions? I'm considering:

 sda1 - /boot = 50MB
 sda2 - swap (unsure whether I should dedicate 4GB to this. That's 5%
 of my drive and I won't likely ever use all of 2GB or RAM.)
 sda3 - /var = 2GB
 sda4 ==extended
 sda5 - / balance of Linux side, say 55GB
 sda6 == Windows drive C:

Again, you have to take account of windows brain-deadedness and the even 
greater braindeadedness of windows administrators. They don't expect 
boot partitions

I would allocate as little as possible for windows itself. Say 10G, 
which allows for the OS plus it's virtual memory file plus other cache 
stuff

From sda2 onwards, lay out your partitions as for a regular Linux 
installation. Use your own preferences for swap, lvm, filesystems etc. 
Being able to share data between both OSes is useful, so leave the most 
space possible for data: You have two options:

FAT32. This is gross and gives you no security. It's also the easiest as 
both OSes support it out the box.
Ext3/ReiserFS: Better solution security-wise but requires some setup. 
You have to download and install windows drivers from sourceforge.

There's a third option - use the ntfs-ng driver in Linux. It seems just 
silly to use this for your main data storage though.



-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] Laptop dual-boot rebuild - disk partition questions

2008-05-02 Thread Dirk Heinrichs
Am Freitag, 2. Mai 2008 schrieb Mark Knecht:
 My Windows Vista laptop ate the big one from M$ and died under the
 weight of Windows Update. The hardware seems to check out fine
 overnight so I'm going to finally do dual boot on this machine like I
 wanted to when I bought it.

 Data:

 80GB hard drive
 2GB DRAM

 Questions:

 1) What's the recommended order to install dual boot today. I prefer
 to go Gentoo first, XP second. Any issues?

Dunno. All machines I ever setup as dual boot had Windows pre-installed, so I 
can only say: There are no issues when installing Windows first.

 2) What recommendations do folks have about splitting an 80GB drive
 up. I'm thinking of maybe 50-60GB for Gentoo, followed by Win XP using
 20-30GB at the end of the drive. Partitions? I'm considering:

 sda1 - /boot = 50MB
 sda2 - swap (unsure whether I should dedicate 4GB to this. That's 5%
 of my drive and I won't likely ever use all of 2GB or RAM.)
 sda3 - /var = 2GB
 sda4 ==extended
 sda5 - / balance of Linux side, say 55GB
 sda6 == Windows drive C:

 Any and all comments and ideas welcomed.

Here they are: I mostly keep 20G for Windows, but it could well be 10 :-)

My setup:
sda1 - Windows
sda2 - /boot, ext2, 32m.
sda3 - /, xfs, 256m  (Setting up this way frees you from using initramfs)
sda4 - LVM, for everything else.

LVM Setup (one volume group having the machine name in its name, like
/dev/machine-name_vg00/volume, with volume being:
usr - /usr, xfs, starting with 3G, growing on demand
var - /var, xfs, 1G
opt - /opt, xfs, 1G
johndoe - /home/johndoe, xfs, size depends
overlays - /gentoo/overlays, xfs, 1G (portage tree and overlays)
build - /gentoo/build, xfs, size depends (up to 6G if you want to build OOo)
distfiles - /gentoo/distfiles, xfs, 2G
swap - swap, swap, 2G (optional)
whatever you need in addition.

You wrote this is a laptop, so if you consider encrypting the volumes 
(incl. /) you need an initramfs anyway, which means you could also put / on a 
logical volume (in which case the above would change to: sda3 - LVM and 
root - /, xfs, 256m).

HTH...

Dirk


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


Re: [gentoo-user] Laptop dual-boot rebuild - disk partition questions

2008-05-02 Thread Sandro Hannemann
Hi,

On linux-2.6.25  NTFS write support is finally stable...

CONFIG_NTFS_FS=y
CONFIG_NTFS_RW=y

No need to go FAT anymore...

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



Re: [gentoo-user] Laptop dual-boot rebuild - disk partition questions

2008-05-02 Thread Mark Knecht
On Fri, May 2, 2008 at 10:06 AM, Alan McKinnon [EMAIL PROTECTED] wrote:
 On Friday 02 May 2008, Mark Knecht wrote:
   My Windows Vista laptop ate the big one from M$ and died under the
   weight of Windows Update. The hardware seems to check out fine
   overnight so I'm going to finally do dual boot on this machine like I
   wanted to when I bought it.
  
   Data:
  
   80GB hard drive
   2GB DRAM
  
   Questions:
  
   1) What's the recommended order to install dual boot today. I prefer
   to go Gentoo first, XP second. Any issues?

  All of this is mostly my own viewpoint from experience. There may be
  other ways:


  Other way round. Windows operating systems have a nasty habit of
  assuming they are the only system on the machine and merrily trash
  everything in sight for their own nefarious purposes. Then they
  overwrite any existing bootloader. I do this:

  Install XP. If you can get it to limit the partition size it uses, so
  much the better
  Resize windows partition downwards with Linux LiveCD. Most recent ones
  support this.
  Install Linux and set up a chainloader as normal in grub to boot windows
  Finally boot Windows and let it do what it wants with the partitions
  that need checking. This is expected behaviour caused by the downward
  resize


   2) What recommendations do folks have about splitting an 80GB drive
   up. I'm thinking of maybe 50-60GB for Gentoo, followed by Win XP
   using 20-30GB at the end of the drive. Partitions? I'm considering:
  
   sda1 - /boot = 50MB
   sda2 - swap (unsure whether I should dedicate 4GB to this. That's 5%
   of my drive and I won't likely ever use all of 2GB or RAM.)
   sda3 - /var = 2GB
   sda4 ==extended
   sda5 - / balance of Linux side, say 55GB
   sda6 == Windows drive C:

  Again, you have to take account of windows brain-deadedness and the even
  greater braindeadedness of windows administrators. They don't expect
  boot partitions

  I would allocate as little as possible for windows itself. Say 10G,
  which allows for the OS plus it's virtual memory file plus other cache
  stuff

  From sda2 onwards, lay out your partitions as for a regular Linux
  installation. Use your own preferences for swap, lvm, filesystems etc.
  Being able to share data between both OSes is useful, so leave the most
  space possible for data: You have two options:

  FAT32. This is gross and gives you no security. It's also the easiest as
  both OSes support it out the box.
  Ext3/ReiserFS: Better solution security-wise but requires some setup.
  You have to download and install windows drivers from sourceforge.

  There's a third option - use the ntfs-ng driver in Linux. It seems just
  silly to use this for your main data storage though.


First, thanks to everyone for the quick answers.

1) I'll go with Windows first. That's relatively fast and if I run
into hardware problems it will show up more quickly which is good.
Saves me the time of doing the Gentoo install and then finding issues.

2) If I do Windows first then /dev/sda1 will be NTFS. Does this change
how I install grub? I'm a little fuzzy as to where the MBR is. Is it
in the first partition or in a special area by itself? The commands
from the install guide is this:

livecd conf.d # grub
grub root (hd0,0)
grub setup (hd0)
quit

I presume I'll use

grub root(hd0,4)

to point at my root and still use

grub setup (hd0) to get grub installed into the MBR?

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



Re: [gentoo-user] Laptop dual-boot rebuild - disk partition questions

2008-05-02 Thread Dirk Heinrichs
Am Freitag, 2. Mai 2008 schrieb Mark Knecht:

 I presume I'll use

 grub root(hd0,4)
 to point at my root and still use

That should be grub's root (/boot), NOT linux' (/), means (hd0,1) if /boot is 
sda2.

 grub setup (hd0) to get grub installed into the MBR?

That's correct.

Bye...

Dirk


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


Re: [gentoo-user] Laptop dual-boot rebuild - disk partition questions

2008-05-02 Thread Mark Knecht
On Fri, May 2, 2008 at 10:34 AM, Dirk Heinrichs
[EMAIL PROTECTED] wrote:
 Am Freitag, 2. Mai 2008 schrieb Mark Knecht:


  I presume I'll use
  
   grub root(hd0,4)
   to point at my root and still use

  That should be grub's root (/boot), NOT linux' (/), means (hd0,1) if /boot is
  sda2.


   grub setup (hd0) to get grub installed into the MBR?

  That's correct.

  Bye...

 Dirk

Thanks Dirk.

Windows is nearly installed so I'll move on to Gentoo in the next hour
or so. I went with a 10G NTFS partition and will use the rest for
Gentoo. I've been using a Windows etx3 driver to access Linux
partitions so I'll do that here and set up a common personal data area
for both environments where I can keep my files. I've also got about 8
external 1394 and USB drives so if I need more of anything I can
always plug one of them in.

I really appreciate everyone's inputs. Thanks!

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



[gentoo-user] Install Windows XP on Gentoo Laptop

2008-05-02 Thread Michael Higgins
(Saw a similar thread, going the wrong way.)

I have a laptop with a spare partition waiting for WinXP, to install
from Dell OEM disks that came originally.

Is this possible? I understand XP will overwrite the MBR. So, I'd have
to re-install grub  that's it? '-)

Cheers,

-- 
 |\  /||   |  ~ ~  
 | \/ ||---|  `|` ?
 ||ichael  |   |iggins\^ /
 michael.higgins[at]evolone[dot]org
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Install Windows XP on Gentoo Laptop

2008-05-02 Thread Mark Knecht
On Fri, May 2, 2008 at 10:52 AM, Michael Higgins [EMAIL PROTECTED] wrote:
 (Saw a similar thread, going the wrong way.)

  I have a laptop with a spare partition waiting for WinXP, to install
  from Dell OEM disks that came originally.

  Is this possible? I understand XP will overwrite the MBR. So, I'd have
  to re-install grub  that's it? '-)

  Cheers,

  --
   |\  /||   |  ~ ~
   | \/ ||---|  `|` ?
   ||ichael  |   |iggins\^ /
   michael.higgins[at]evolone[dot]org

I would be very careful about installing from OEM disks. My HP OEM
disks will actually blow ALL the partitions on the drive away,
repartition and reformat the whole drive back to the way it was
shipped from the factory. Better if you can find a regular retail copy
of XP. Note that in the case of this HP Vista license it only works
with the OEM install. The license is no good with a normal copy of
Vista.

The other issue I'm having right now is that XP is installed and the
machine boots just fine but a 2001 XP disk doesn't have drivers to
enable networking support so the machine cannot get to the net for
updates. I think now I'll start on the Gentoo install, get a drive set
up that the XP partition can see (small FAT or NTFS drive) and then
use Gentoo to get the drivers onto the system so that XP can start
working. You might not have that problem with your OEM disk as they
certainly have the right drivers for your hardware.

Hope this helps,
Mark
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Lilo error when booting to windows

2008-05-02 Thread Mick
On Wednesday 30 April 2008, Danis Petkakis wrote:
 well i did boot with windows cd did a fixmbr, then reinstalled lilo in mbr
 and now
 it seems to work...when i choose windows the entry of the ntldr shows up
 and then
 i choose to boot to windows without any problems...could i somehow put an
 entry
 in ntldr so that instead of booting to windows to fall back to lilo menu
 again so that
 i don't have to reboot??

Google for boot Linux with ntldr or chainload linux with ntldr.  But it is 
not maintenance free.
-- 
Regards,
Mick


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


Re: [gentoo-user] Laptop dual-boot rebuild - disk partition questions

2008-05-02 Thread Mark Knecht
On Fri, May 2, 2008 at 10:01 AM, Etaoin Shrdlu [EMAIL PROTECTED] wrote:
SNIP:
  
   sda1 - /boot = 50MB
   sda2 - swap (unsure whether I should dedicate 4GB to this. That's 5%
   of my drive and I won't likely ever use all of 2GB or RAM.)
   sda3 - /var = 2GB
   sda4 ==extended
   sda5 - / balance of Linux side, say 55GB
   sda6 == Windows drive C:
  
   Any and all comments and ideas welcomed.

  Any particular reason to put windows at the end of the drive? This should
  however not be a problem, it you partition the space at the beginning of
  the disk *before* installing XP (eg, doing (c)fdisk from a livecd).

  On my laptop, I partitioned as follows:

  hda1 - windows  (23GB)
  hda2 - extended
  hda5 - /boot (50MB)
  hda6 - swap  (2GB)
  hda7 - /home (45GB)
  hda8 - / (remaining space, ~10GB)

  I don't need a separate /var. Do you have special requirements to keep it
  separated?
  On the other hand, I like to use a dedicated partition for /home. This is
  useful because you can share your home folder among different distros
  (in case you have more than one installed), and, more important, if you
  need you can wipe / and reinstall without touching /home (probably
  saving /etc and something else beforehand if you want...but still
  quicker than backing up several GB of data, which you are forced to do
  if you have /home on /).

Great inputs. I'm going to use a 10GB partition for /home, a 40GB
partition for data shared with XP, and a 1.3GB /var partition. My
reason for keeping /var on it's own is that I sometimes run into
programs that spew so much stuff into /var that they will fill up the
partition. If that happens then I cannot log into X until I clean it
up. It's just what I do.

I put in a 2GB swap partition. It's not 2x memory but I really think
it's unlikely that I'll need it. If I do then I'll size down the data
sharing partition which I'm putting at the end of the drive and put it
out there.

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



Re: [gentoo-user] Laptop dual-boot rebuild - disk partition questions

2008-05-02 Thread Mark Knecht
On Fri, May 2, 2008 at 10:22 AM, Sandro Hannemann [EMAIL PROTECTED] wrote:
 Hi,

  On linux-2.6.25  NTFS write support is finally stable...

  CONFIG_NTFS_FS=y
  CONFIG_NTFS_RW=y

  No need to go FAT anymore...

  Cheers,
  Sandro

I'll keep that in mind. Thanks. However that's not on the 2007.0
install CD so it will get enabled after I get the machine built.

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



[gentoo-user] 2007.0 CD - 2008.0 install

2008-05-02 Thread Mark Knecht
Before I waste a lot of time I just noticed that I'm using a 2007.0
install CD but downloading and setting up a 2008.0 beta2 system. Is
there any problem building the 2008.0 system files using whatever I
get when I chroot into the new installation?

At this moment I'm doing the tar xjf portage-latest step and noticed
the inconsistency. Apparently all the 2007.0 snapshots, etc., are now
gone from the servers.

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



Re: [gentoo-user] checking for.....

2008-05-02 Thread b.n.

Brandon Mintern ha scritto:

I had thought the same thing myself some time ago, and I discovered
that there had been work on a FEATURE called confcache. I believe it
was abandoned, though, due to major difficulties. This is merely a
guess, but I think some of the problems arise in that some of the
things that are checked for actually change as a package is installed
or updated (e.g. checking gcc version). This means that each package
being installed would have to somehow flag confcache and indicate that
it has changed, and confcache would have to keep a list of all these
cached values and their dependencies.


What was the problem with that? Ebuilds of stuff like gcc could be 
tailored to flag confcache. Otherwise, emerge could do the relevant 
checks before emerging the first package, and be trained to do them 
again after a known troublesome package has been emerged.


I understand this requires coordination and maintaining, of course, and 
that's the non-trivial part, I guess. However, are there many packages 
affecting common configure checks? If they are, say, less than 10 
affecting 80% of configure flags, it seems worth the hassle. If troubles 
arise, one can quickly try with confcache disabled, and debug.


Heck, I'd help with it myself, if only I had some confidence with 
portage code and C compilation (However, I know Python, FWIW)


m.


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



Re: [gentoo-user] Network manager for laptop

2008-05-02 Thread b.n.

Daniel da Veiga ha scritto:


http://www.linuxquestions.org/questions/linux-wireless-networking-41/ath0wireless-couldnt-connect-to-the-supplicant.-511815/

But again, its one of the MANY threads, posts and questions about
NetworkManager and WPA around the web. The fact is, I found many
people with this problem, tried all their solutions but still no
game. I get the infamous couldn't connect to the supplicant syslog
error. Believe me, I spent a LOT of time trying to figure this out...

WICD had the None problem (must have something to do with the
00:00:00:00:00 failed authentication in wpa_supplicant (wich is
something I must research too), that makes it annoying, but not
impossible to use it.

Any more suggestions?


I have a Macbook Pro laptop with Gentoo, with WPA working fine with 
NetworkManager (Madwifi drivers).


I now do not have time to check the full configs. However I remember 
that mixing wpa_supplicant configuration and NetworkManager was BAD. I 
kept a very confused diary of my Macbook Gentoo install, the relevant 
part is:


ok, found problem. using the conf.d/net and wpa_supplicant.conf WITH
NetworkManager is just problems.
so I am trying to use only NetworkManager.

...and it's what I'm currently doing. I guess NetworkManager takes care 
of wpa_supplicant.


Then, madwifi drivers for that card are a bit flaky, but that's another 
story...


Tell me what info you need, I may try to help you.

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



[gentoo-user] VirtualBox libSDL segfault

2008-05-02 Thread Grant
When trying to install an XP guest on a Gentoo Linux host I get the
following in dmesg:

VirtualBox[31849]: segfault at 2d5b4ae0 ip 7fd12ddb9cf6 sp
7fff37a9ac60 error 4 in libSDL-1.2.so.0.11.0[7fd12dda4000+64000]

also:

VirtualBox[13373]: segfault at 2759ae0 ip 7ffa02f5ee56 sp 7fff0cc3fe00
error 4 in libSDL-1.2.so.0.11.2[7ffa02f49000+65000]

Does anyone know how to fix this?  I've tried ~amd64 versions of sdl
stuff to no avail.

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



Re: [gentoo-user] Network manager for laptop

2008-05-02 Thread Albert Hopkins
Well, I tried downgrading to version 0.5.4 of wpa_supplicant but it
didn't help with the situation.  The error logs show a time-out
communicating with the AP.

-a

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



Re: [gentoo-user] 2007.0 CD - 2008.0 install

2008-05-02 Thread Alan McKinnon
On Friday 02 May 2008, Mark Knecht wrote:
 Before I waste a lot of time I just noticed that I'm using a 2007.0
 install CD but downloading and setting up a 2008.0 beta2 system. Is
 there any problem building the 2008.0 system files using whatever I
 get when I chroot into the new installation?

 At this moment I'm doing the tar xjf portage-latest step and noticed
 the inconsistency. Apparently all the 2007.0 snapshots, etc., are now
 gone from the servers.

There shouldn't be a problem. Aside from the fact that a LiveCD is quite 
a complex thing, as far as installation goes it's sole purpose is to 
provide an environment where you can unpack a stage3 and chroot into 
it.

When you have chrooted, you are essentially in a self-contained 
environment and all that is left of the original environment is the 
kernel it provides. The build system is provided entirely by the chroot 
and nothing in user space can come from or be influenced by what's 
outside it (this is the entire point of chroot).

As long as 2008.0 beta2 can work nicely with the kernel on 2007.0 
LiveCD, it must work exactly as designed. It's hard to imagine a way 
this wouldn't be the case.


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] Laptop dual-boot rebuild - disk partition questions

2008-05-02 Thread Alan McKinnon
On Friday 02 May 2008, Sandro Hannemann wrote:
 Hi,

 On linux-2.6.25  NTFS write support is finally stable...

 CONFIG_NTFS_FS=y
 CONFIG_NTFS_RW=y

 No need to go FAT anymore...

Not quite. 

It's not ntfs-ng, it's the same old ntfs write support that's been there 
for ages, and it's *partial* write support. From fs/Kconfig line 836:


config NTFS_RW
bool NTFS write support
depends on NTFS_FS
help
  This enables the partial, but safe, write support in the NTFS 
driver.

  The only supported operation is overwriting existing files, 
without
  changing the file length.  No file or directory creation, 
deletion or
  renaming is possible.  Note only non-resident files can be 
written to
  so you may find that some very small files (500 bytes or so) 
cannot
  be written to.

  While we cannot guarantee that it will not damage any data, we 
have
  so far not received a single report where the driver would 
have
  damaged someones data so we assume it is perfectly safe to 
use.

  Note:  While write support is safe in this version (a rewrite 
from
  scratch of the NTFS support), it should be noted that the old 
NTFS
  write support, included in Linux 2.5.10 and before (since 
1997),
  is not safe.




-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] 2007.0 CD - 2008.0 install

2008-05-02 Thread Uwe Thiem
On Friday 02 May 2008, Alan McKinnon wrote:
 On Friday 02 May 2008, Mark Knecht wrote:
  Before I waste a lot of time I just noticed that I'm using a
  2007.0 install CD but downloading and setting up a 2008.0 beta2
  system. Is there any problem building the 2008.0 system files
  using whatever I get when I chroot into the new installation?
 
  At this moment I'm doing the tar xjf portage-latest step and
  noticed the inconsistency. Apparently all the 2007.0 snapshots,
  etc., are now gone from the servers.

 There shouldn't be a problem. Aside from the fact that a LiveCD is
 quite a complex thing, as far as installation goes it's sole
 purpose is to provide an environment where you can unpack a stage3
 and chroot into it.

 When you have chrooted, you are essentially in a self-contained
 environment and all that is left of the original environment is the
 kernel it provides. 

Well, plus all running services/daemons unless you take them down 
after chrooting and bring them up again within the chroot.

This can be a life saver. I have my portage tree on box A while box B 
NFS mounts it. At one stage, NFS versions of A and B got so out of 
sync, B couldn't NFS mount /usr/portage any more. A LiveCD with an 
NFS version matching (well, at least fitting) the one on box A was my 
path to salvation. ;-)

 The build system is provided entirely by the 
 chroot and nothing in user space can come from or be influenced by
 what's outside it (this is the entire point of chroot).

This, of course, is absolutely true.

Uwe

-- 
Ignorance killed the cat, sir, curiosity was framed!
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Network manager for laptop

2008-05-02 Thread Daniel da Veiga
On Fri, May 2, 2008 at 4:22 PM, b.n. [EMAIL PROTECTED] wrote:
 Daniel da Veiga ha scritto:
 
 http://www.linuxquestions.org/questions/linux-wireless-networking-41/ath0wireless-couldnt-connect-to-the-supplicant.-511815/
 
  But again, its one of the MANY threads, posts and questions about
  NetworkManager and WPA around the web. The fact is, I found many
  people with this problem, tried all their solutions but still no
  game. I get the infamous couldn't connect to the supplicant syslog
  error. Believe me, I spent a LOT of time trying to figure this out...
 
  WICD had the None problem (must have something to do with the
  00:00:00:00:00 failed authentication in wpa_supplicant (wich is
  something I must research too), that makes it annoying, but not
  impossible to use it.
 
  Any more suggestions?
 

  I have a Macbook Pro laptop with Gentoo, with WPA working fine with
 NetworkManager (Madwifi drivers).

  I now do not have time to check the full configs. However I remember that
 mixing wpa_supplicant configuration and NetworkManager was BAD. I kept a
 very confused diary of my Macbook Gentoo install, the relevant part is:

  ok, found problem. using the conf.d/net and wpa_supplicant.conf WITH
  NetworkManager is just problems.
  so I am trying to use only NetworkManager.

  ...and it's what I'm currently doing. I guess NetworkManager takes care of
 wpa_supplicant.

  Then, madwifi drivers for that card are a bit flaky, but that's another
 story...

  Tell me what info you need, I may try to help you.


I'll try removing the config for the whole thing and see how it works,
but NetworkManager has problems launching wpa_supplicant (or
controlling it at least) using DBUS, and that has not been solved yet,
so I won't bet on it. I'm not with my EEE right now, so, as soon as I
get home...

All I need is to know if you can actually use WPA, store the keys,
reboot, and try again, with the same SSID, it fails for me all the
time. (and var log messages says couldn't connect to the
supplicant).

-- 
Daniel da Veiga
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] 2007.0 CD - 2008.0 install

2008-05-02 Thread Mark Knecht
On Fri, May 2, 2008 at 12:47 PM, Uwe Thiem [EMAIL PROTECTED] wrote:
 On Friday 02 May 2008, Alan McKinnon wrote:
   On Friday 02 May 2008, Mark Knecht wrote:
Before I waste a lot of time I just noticed that I'm using a
2007.0 install CD but downloading and setting up a 2008.0 beta2
system. Is there any problem building the 2008.0 system files
using whatever I get when I chroot into the new installation?
   
At this moment I'm doing the tar xjf portage-latest step and
noticed the inconsistency. Apparently all the 2007.0 snapshots,
etc., are now gone from the servers.
  
   There shouldn't be a problem. Aside from the fact that a LiveCD is
   quite a complex thing, as far as installation goes it's sole
   purpose is to provide an environment where you can unpack a stage3
   and chroot into it.
  
   When you have chrooted, you are essentially in a self-contained
   environment and all that is left of the original environment is the
   kernel it provides.

  Well, plus all running services/daemons unless you take them down
  after chrooting and bring them up again within the chroot.

  This can be a life saver. I have my portage tree on box A while box B
  NFS mounts it. At one stage, NFS versions of A and B got so out of
  sync, B couldn't NFS mount /usr/portage any more. A LiveCD with an
  NFS version matching (well, at least fitting) the one on box A was my
  path to salvation. ;-)


   The build system is provided entirely by the
   chroot and nothing in user space can come from or be influenced by
   what's outside it (this is the entire point of chroot).

  This, of course, is absolutely true.

  Uwe


Thanks guys. I've finished the install and attempted to boot. My first
kernel failed at some point I've not run into before complaining about
IO_APIC vectors. I'm searching around in Google for what might have
caused that and building a new kernel in parallel.

The good sign is the machine is starting to show some life. I need to
put the dual boot stuff in grub.conf and make sure Windows is still
booting, and then get this kernel issue worked out.

Thanks for all your inputs today.

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



Re: [gentoo-user] 2007.0 CD - 2008.0 install

2008-05-02 Thread Dirk Heinrichs
Am Freitag, 2. Mai 2008 schrieb Mark Knecht:

 Before I waste a lot of time I just noticed that I'm using a 2007.0
 install CD but downloading and setting up a 2008.0 beta2 system. Is
 there any problem building the 2008.0 system files using whatever I
 get when I chroot into the new installation?

No. You can use what ever LiveCD you like to install Gentoo. Last time, I used 
GRML.

Bye...

Dirk


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


[gentoo-user] Kernel hangs on Enabling IO-APIC IRQs

2008-05-02 Thread Mark Knecht
I'm bringing up this dual core laptop. The kernel hangs with these messages:

Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#1
CPU1: AMD Athlon(tm) 64 X2 Mobile Technology TK-53 stepping 01
Total of 2 processors activated (6834.25 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1

If I append noapic on kernel options in grub then the machine does
finish booting and I can log in so I'm not at a dead stop but I'd like
to figure out what's going on.

Any ideas where I might look for kernel config options that would effect this?

I haven't found all the stuff I'm looking for in make menuconfig yet
but grepping the kernel config file I've currently got this:

laptop1 linux # cat .config | grep APIC
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
laptop1 linux #

I think I really want IO_APICs with a dual processor so I'm wondering
what else might be involved.

Thanks in advance,
Mark




laptop1 ~ # lspci
00:00.0 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.1 RAM memory: nVidia Corporation C51 Memory Controller 0 (rev a2)
00:00.2 RAM memory: nVidia Corporation C51 Memory Controller 1 (rev a2)
00:00.3 RAM memory: nVidia Corporation C51 Memory Controller 5 (rev a2)
00:00.4 RAM memory: nVidia Corporation C51 Memory Controller 4 (rev a2)
00:00.5 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.6 RAM memory: nVidia Corporation C51 Memory Controller 3 (rev a2)
00:00.7 RAM memory: nVidia Corporation C51 Memory Controller 2 (rev a2)
00:02.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:03.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:05.0 VGA compatible controller: nVidia Corporation MCP51 PCI-X
GeForce Go 6100 (rev a2)
00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)
00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a3)
00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a3)
00:0a.3 Co-processor: nVidia Corporation MCP51 PMU (rev a3)
00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev f1)
00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev f1)
00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2)
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] Miscellaneous Control
03:00.0 Network controller: Broadcom Corporation BCM94311MCG wlan
mini-PCI (rev 02)
laptop1 ~ #
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Problem with autoconf when building samba (x86_64/AMD64, as stable and experimental packages)...

2008-05-02 Thread Mateusz A. Mierzwiński

# emerge -v samba

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

Calculating dependencies... done!
[ebuild  N] net-fs/samba-3.0.28a  USE=acl ads async cups fam ipv6 
ldap pam python readline syslog winbind -automount -caps -doc -examples 
-quotas (-selinux) -swat LINGUAS=pl -ja 0 kB


Total: 1 package (1 new), Size of downloads: 0 kB

 Verifying ebuild Manifests...

 Emerging (1 of 1) net-fs/samba-3.0.28a to /
* samba-3.0.28a.tar.gz RMD160 SHA1 SHA256 size ;-) 
...   [ ok ]
* checking ebuild checksums ;-) 
...  [ ok ]
* checking auxfile checksums ;-) 
... [ ok ]
* checking miscfile checksums ;-) 
...[ ok ]
* checking samba-3.0.28a.tar.gz ;-) 
...  [ ok ]

 Unpacking source...
 Unpacking samba-3.0.28a.tar.gz to 
/var/tmp/portage/net-fs/samba-3.0.28a/work
* Applying 3.0.26a-lazyldflags.patch 
... [ ok ]
* Applying 3.0.26a-invalid-free-fix.patch 
...[ ok ]
* Applying 3.0.28-libcap_detection.patch 
... [ ok ]
* Applying 3.0.28-fix_broken_readdir_detection.patch 
... [ ok ]
* Running autoconf -I. -Ilib/replace 
... [ !! ]


* Failed Running autoconf !
*
* Include in your bugreport the contents of:
*
*   /var/tmp/portage/net-fs/samba-3.0.28a/temp/autoconf-13269.out

*
* ERROR: net-fs/samba-3.0.28a failed.
* Call stack:
*   ebuild.sh, line   49:  Called src_unpack
* environment, line 3646:  Called eautoconf '-I.' 
'-Ilib/replace'
* environment, line 1297:  Called autotools_run_tool 
'autoconf' '-I.' '-Ilib/replace'

* environment, line  593:  Called die
* The specific snippet of code:
*   die Failed Running $1 !;
*  The die message:
*   Failed Running autoconf !
*
* If you need support, post the topmost build error, and the call stack 
if relevant.
* A complete build log is located at 
'/var/tmp/portage/net-fs/samba-3.0.28a/temp/build.log'.
* The ebuild environment file is located at 
'/var/tmp/portage/net-fs/samba-3.0.28a/temp/environment'.


* autoconf *
* autoconf -I. -Ilib/replace

configure.in:341: error: AC_REQUIRE: circular dependency of AC_AIX
lib/replace/autoconf-2.60.m4:182: AC_USE_SYSTEM_EXTENSIONS is expanded from...
../../lib/autoconf/specific.m4:451: AC_AIX is expanded from...
lib/replace/autoconf-2.60.m4:182: AC_USE_SYSTEM_EXTENSIONS is expanded from...
configure.in:341: the top level
autom4te-2.62: /usr/bin/m4 failed with exit status: 1


Re: [gentoo-user] Network manager for laptop

2008-05-02 Thread b.n.

Daniel da Veiga ha scritto:

I'll try removing the config for the whole thing and see how it works,
but NetworkManager has problems launching wpa_supplicant (or
controlling it at least) using DBUS, and that has not been solved yet,
so I won't bet on it. I'm not with my EEE right now, so, as soon as I
get home...


What happens? what error messages?


All I need is to know if you can actually use WPA, store the keys,
reboot, and try again, with the same SSID, it fails for me all the
time. (and var log messages says couldn't connect to the
supplicant).


I think yes, since I use it everyday with my WPA router at home. I must 
confess that I didn't experience such difficulties. Hope it's not a new 
bug waiting to bite me...


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



[gentoo-user] march=k8 for AthlonX2?

2008-05-02 Thread Mark Knecht
Sorry about all the noise today. I guess it goes with building a new
architecture for the first time.

I am going to run 32-bit Gentoo on an AMD64 dual processor laptop.
Would I be making a reasonably good setting using this in make.conf?

CFLAGS=-O2 -march=k8 -pipe
CXXFLAGS=-O2 -march=k8 -pipe

I referenced this page to try to decide:

http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html

My single processor AND64 Gentoo machine uses k8. Not sure if I should
change anything for a dual processor.

If someone is running a machine like that and can provide a complete
make.conf file that would be great.

Thanks,
Mark


laptop1 linux # cat /proc/cpuinfo
processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 15
model   : 104
model name  : AMD Athlon(tm) 64 X2 Dual Core Processor TK-53
stepping: 1
cpu MHz : 1700.000
cache size  : 256 KB
physical id : 0
siblings: 2
core id : 0
cpu cores   : 2
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 1
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext
fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm
extapic cr8_legacy 3dnowprefetch ts fid vid ttp tm stc 100mhzsteps
bogomips: 3418.67
clflush size: 64

processor   : 1
vendor_id   : AuthenticAMD
cpu family  : 15
model   : 104
model name  : AMD Athlon(tm) 64 X2 Dual Core Processor TK-53
stepping: 1
cpu MHz : 1700.000
cache size  : 256 KB
physical id : 0
siblings: 2
core id : 1
cpu cores   : 2
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 1
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext
fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm
extapic cr8_legacy 3dnowprefetch ts fid vid ttp tm stc 100mhzsteps
bogomips: 3415.56
clflush size: 64

laptop1 linux #
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Network manager for laptop

2008-05-02 Thread Daniel da Veiga
On Fri, May 2, 2008 at 6:48 PM, b.n. [EMAIL PROTECTED] wrote:
 Daniel da Veiga ha scritto:

  I'll try removing the config for the whole thing and see how it works,
  but NetworkManager has problems launching wpa_supplicant (or
  controlling it at least) using DBUS, and that has not been solved yet,
  so I won't bet on it. I'm not with my EEE right now, so, as soon as I
  get home...
 

  What happens? what error messages?


Nothing happens, when I try connecting, it asks for my key, I submit
it, and then it dies. /var/log/messages says Couldn't connect to the
supplicant. It appears to be a error regarding wpa_supplicant and
DBUS.



  All I need is to know if you can actually use WPA, store the keys,
  reboot, and try again, with the same SSID, it fails for me all the
  time. (and var log messages says couldn't connect to the
  supplicant).
 

  I think yes, since I use it everyday with my WPA router at home. I must
 confess that I didn't experience such difficulties. Hope it's not a new bug
 waiting to bite me...



Nah, I guess its something related to my card (and driver) and wpa_supplicant.


-- 
Daniel da Veiga
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] march=k8 for AthlonX2?

2008-05-02 Thread Neil Walker

Mark Knecht wrote:

Would I be making a reasonably good setting using this in make.conf?

CFLAGS=-O2 -march=k8 -pipe
CXXFLAGS=-O2 -march=k8 -pipe
  


That's what I would be using on my single, dual and quad cores if I 
weren't using -march=native. ;)



Be lucky,

Neil


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


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



Re: [gentoo-user] march=k8 for AthlonX2?

2008-05-02 Thread Mark Knecht
On Fri, May 2, 2008 at 4:14 PM, Neil Walker [EMAIL PROTECTED] wrote:
 Mark Knecht wrote:

  Would I be making a reasonably good setting using this in make.conf?
 
  CFLAGS=-O2 -march=k8 -pipe
  CXXFLAGS=-O2 -march=k8 -pipe
 
 

  That's what I would be using on my single, dual and quad cores if I weren't
 using -march=native. ;)


That surprises me Neil. It seems more 'automatic' than a nuts  bolt
guy such as you might choose.

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



Re: [gentoo-user] Network manager for laptop

2008-05-02 Thread b.n.

Daniel da Veiga ha scritto:

Nah, I guess its something related to my card (and driver) and wpa_supplicant.


 You told that wicd somehow works better. Seems more related to 
NetworkManager, then...


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



Re: [gentoo-user] Network manager for laptop

2008-05-02 Thread Daniel da Veiga
On Fri, May 2, 2008 at 9:49 PM, b.n. [EMAIL PROTECTED] wrote:
 Daniel da Veiga ha scritto:

  Nah, I guess its something related to my card (and driver) and
 wpa_supplicant.
 

   You told that wicd somehow works better. Seems more related to
 NetworkManager, then...


You can say so, but WICD and NetworkManager are completely different
programs, they both call wpa_supplicant, but in completely different
ways, as far as I can see. NM tries to use DBUS to talk to supplicant,
while WICD launches supplicant directly, by pointing it to a generated
config file.

But yes, I suppose NM is broken in the sense it can't talk to
wpa_supplicant on my laptop.

-- 
Daniel da Veiga
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: Install Windows XP on Gentoo Laptop

2008-05-02 Thread James
Michael Higgins linux at evolone.org writes:


 I have a laptop with a spare partition waiting for WinXP, to install
 from Dell OEM disks that came originally.

 Is this possible? I understand XP will overwrite the MBR. So, I'd have
 to re-install grub  that's it? '-)

The easiest thing to do is install XP first. Then use the microsoft utilities
(I forget the name) to shrink down the size of the partition  (usually about
50%). Then install Gentoo in the space that XP is not occupying. 


James



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



Re: [gentoo-user] Re: Install Windows XP on Gentoo Laptop

2008-05-02 Thread deface
Some OEM disks give you no alternative but to format all. Such as a
recovery partition. Always XP first.

deface

On Sat, 2008-05-03 at 01:27 +, James wrote:
 Michael Higgins linux at evolone.org writes:
 
 
  I have a laptop with a spare partition waiting for WinXP, to install
  from Dell OEM disks that came originally.
 
  Is this possible? I understand XP will overwrite the MBR. So, I'd have
  to re-install grub  that's it? '-)
 
 The easiest thing to do is install XP first. Then use the microsoft utilities
 (I forget the name) to shrink down the size of the partition  (usually about
 50%). Then install Gentoo in the space that XP is not occupying. 
 
 
 James
 
 
 

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



[gentoo-user] Problem running gnome as a normal user

2008-05-02 Thread John covici
Hi.  I can run gnome as root or log into it as root, but if I try as a
normal user I get the following errors:

/etc/X11/gdm/Xsession: Beginning session setup...
stty: standard input: Inappropriate ioctl for device
/etc/X11/gdm/Xsession: Setup done, will execute: /usr/bin/ssh-agent -- 
show-all-if-ambiguout
show-all-if-ambiguout: No such file or directory


Anyone have an idea as to what is happening or even how to
troubleshoot such a thing?

Thanks.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 [EMAIL PROTECTED]
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Problem running gnome as a normal user

2008-05-02 Thread deface
can you verify the user is in the video group?
grep video /etc/group

deface

On Fri, 2008-05-02 at 23:06 -0400, John covici wrote:
 Hi.  I can run gnome as root or log into it as root, but if I try as a
 normal user I get the following errors:
 
 /etc/X11/gdm/Xsession: Beginning session setup...
 stty: standard input: Inappropriate ioctl for device
 /etc/X11/gdm/Xsession: Setup done, will execute: /usr/bin/ssh-agent -- 
 show-all-if-ambiguout
 show-all-if-ambiguout: No such file or directory
 
 
 Anyone have an idea as to what is happening or even how to
 troubleshoot such a thing?
 
 Thanks.
 
 -- 
 Your life is like a penny.  You're going to lose it.  The question is:
 How do
 you spend it?
 
  John Covici
  [EMAIL PROTECTED]

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



Re: [gentoo-user] Re: Install Windows XP on Gentoo Laptop

2008-05-02 Thread Mark Knecht
On Fri, May 2, 2008 at 7:09 PM, deface [EMAIL PROTECTED] wrote:
 Some OEM disks give you no alternative but to format all. Such as a
  recovery partition. Always XP first.

  deface



  On Sat, 2008-05-03 at 01:27 +, James wrote:
   Michael Higgins linux at evolone.org writes:
  
  
I have a laptop with a spare partition waiting for WinXP, to install
from Dell OEM disks that came originally.
  
Is this possible? I understand XP will overwrite the MBR. So, I'd have
to re-install grub  that's it? '-)
  
   The easiest thing to do is install XP first. Then use the microsoft 
 utilities
   (I forget the name) to shrink down the size of the partition  (usually 
 about
   50%). Then install Gentoo in the space that XP is not occupying.
  
  
   James

Just a small heads-up about my installation of WinXP today on the
laptop that went down last night. No problems installing Gentoo. It's
up and running. Double built emerge -e world. However on the Windows
side my OEM had installed Vista which I didn't like so I installed XP
today. No problems installing XP (as per a previous thread) however I
have no sound, video, audio or networking drivers for XP. I think I
found some at the nVidia site but HP/Compaq don't want to support XP
so they don't have them. The nVidia instructions say I have to install
Service Pack 1a first and without networking I had to scrounge around
for those, burn them to a CD, and hopefully get them installed
tomorrow.

The basic lesson is that M$ pushes the OEMs to abandon XP and its
getting harder and harder to install XP all the time.

Just a small heads-up. Not an issue if you like the version of Windows
your system came with.

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



[gentoo-user] [OT]converting usb mp3 player to linux

2008-05-02 Thread maxim wexler
Hi group,

I have a USB MP3 flash player and I was wondering if there was some way to 
install a linux based operating system or what ever it takes to play files.

Maxim


  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Problem running gnome as a normal user

2008-05-02 Thread John covici
on Friday 05/02/2008 deface([EMAIL PROTECTED]) wrote
  can you verify the user is in the video group?
  grep video /etc/group
  
  deface
Yep, the user is in the video group.

  
  On Fri, 2008-05-02 at 23:06 -0400, John covici wrote:
   Hi.  I can run gnome as root or log into it as root, but if I try as a
   normal user I get the following errors:
   
   /etc/X11/gdm/Xsession: Beginning session setup...
   stty: standard input: Inappropriate ioctl for device
   /etc/X11/gdm/Xsession: Setup done, will execute: /usr/bin/ssh-agent -- 
   show-all-if-ambiguout
   show-all-if-ambiguout: No such file or directory
   
   
   Anyone have an idea as to what is happening or even how to
   troubleshoot such a thing?
   
   Thanks.
   
   -- 
   Your life is like a penny.  You're going to lose it.  The question is:
   How do
   you spend it?
   
John Covici
[EMAIL PROTECTED]
  
  -- 
  gentoo-user@lists.gentoo.org mailing list

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 [EMAIL PROTECTED]
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] [OT]converting usb mp3 player to linux

2008-05-02 Thread Volker Armin Hemmann
On Samstag, 3. Mai 2008, maxim wexler wrote:
 Hi group,

 I have a USB MP3 flash player and I was wondering if there was some way to
 install a linux based operating system or what ever it takes to play
 files.

maybe. depends on the player. Also there is one really good 
project - 'rockbox' - which is not linux based.
-- 
gentoo-user@lists.gentoo.org mailing list