[gentoo-user] Providing virtual dependency net

2012-11-27 Thread Adam Carter
I have added rc_net_wlan0_provide=net to /etc/rc.conf, but scripts like
sshd still wont start, and when executed report WARNING: sshd is scheduled
to start when net.eth0 has started.

Why does sshd appear to be specifically requiring net.eth0? (or is the
message misleading?)

How do i get net.wlan0 to also provide net?


Re: [gentoo-user] easy Gentoo tricks

2012-11-27 Thread Volker Armin Hemmann
Am Sonntag, 25. November 2012, 20:23:08 schrieb Walter Dnes:

a lot easier:
grub with entry:
vmlinuz
vmlinuz.old

in /usr/src/linux:
make all modules_install install

no problems, latest kernel will boot by default, previous kernel .old.

see? easy.

-- 
#163933



Re: [gentoo-user] blocked packages both required by the system sys-apps/openrc vs. sys-apps/net-tools?

2012-11-27 Thread Matthias Hanft

Pascal J. Bourguignon wrote:


I just emerged --sync and now when I try to update world, I get this
conflict: [...]


I had the same problem.  Since openrc was not in my world file (pulled in
automatically), it was not scheduled for update.  The solution was to use
emerge -Duv world including deep dependencies.  This caused updating
net-tools and openrc at the *same* time without any errors.

-Matt




[gentoo-user] xfig won't compile

2012-11-27 Thread Alain Didierjean
I cannot emerge xfig. Both versions (amd64  ~amd64) return that informative 
message:

* Messages for package media-gfx/xfig-3.2.5b-r2:

 * ERROR: media-gfx/xfig-3.2.5b-r2 failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 * ebuild.sh, line  93:  Called src_compile
 *   environment, line 2069:  Called die
 * The specific snippet of code:
 *   emake CC=$(tc-getCC) LOCAL_LDFLAGS=${LDFLAGS} 
CDEBUGFLAGS=${CFLAGS} USRLIBDIR=/usr/$(get_libdir) || die
 * 

So:
- known bug ?
- tip available ?
or should I fill a bug report ?



Re: [gentoo-user] xfig won't compile

2012-11-27 Thread Hinnerk van Bruinehsen
On Tue, Nov 27, 2012 at 12:20:02PM +0100, Alain Didierjean wrote:
 I cannot emerge xfig. Both versions (amd64  ~amd64) return that informative 
 message:
 
 * Messages for package media-gfx/xfig-3.2.5b-r2:
 
  * ERROR: media-gfx/xfig-3.2.5b-r2 failed (compile phase):
  *   (no error message)
  * 
  * Call stack:
  * ebuild.sh, line  93:  Called src_compile
  *   environment, line 2069:  Called die
  * The specific snippet of code:
  *   emake CC=$(tc-getCC) LOCAL_LDFLAGS=${LDFLAGS} 
 CDEBUGFLAGS=${CFLAGS} USRLIBDIR=/usr/$(get_libdir) || die
  * 
 
 So:
 - known bug ?
 - tip available ?
 or should I fill a bug report ?

First you should post the error itself, not just the portage report that
the build failed. You should find ir in
/var/tmp/portage/media-gfx/xfig-3.2.5b-r2/temp/build.log
If you cannot isolate the error yourself you could send the entire build
log (or upload it to some paste-site).

After you did that we could try to figure out, what exactly the error is
(and maybe help you).
Otherwise you could file a bugreport (where you should attach the
build.log nonetheless)

WKR
Hinnerk



[gentoo-user] Old ATI Radeon RV350 driver broken after system update

2012-11-27 Thread design [depois das dez]
Fellow Gentooers,

although I am very happy running a Gentoo box, sometimes I bump into some
difficulties, esp. when updating packages. This time I am having a hard
time reconfiguring my video card, which was fine but is not anymore after
the last system update I've made. Gnome session goes up as usual but the
resolution is not fine and monitor complains about not being in the
recommended mode.

My video driver is an ATI Radeon 9600 (RV350) and somebody has already
updated the section on the Gentoo wiki
http://en.gentoo-wiki.com/wiki/Radeon#Kernels_.3E.3D3.0.0 informing that
there might be incompatibilities concerning the RV350 firmware. I just
don't have enough understanding of the video related parts of the system to
tweak and fix this issue. How should I proceed when I have a problem of
this sort?

How do I know what is the video backend in my system? Is Xorg the only one
possible? What can I do to fix this problem?

Regards,
depoisdasdez


[gentoo-user] Share /home with Gentoo and Ubuntu

2012-11-27 Thread Randy Westlund
Hi,

I'm a new gentoo user (coming from ubuntu).  I've been proving to
myself that I can do everything I need with gentoo on a secondary
laptop, and after a few weeks, I think I've got it (svn repos, AVR
cross compiler, multiple screens, etc).  I much prefer gentoo to
ubuntu, and would like to put it on my primary laptop.  But I think I
should leave an ubuntu installation on there just in case.  I'd like
to have gentoo, ubunu, and win7 alongside each other.

How feasible would it be to have gentoo and ubuntu share a /home
partition?  I've never had a reason to have multiple linux
installations on a single machine before, but I can't think of a
reason why this wouldn't work.  .bashrc might need a few more lines of
code. .screenrc and .exrc would be fine.  My ssh keys can  be shared.
What would happen to .mozilla if ubuntu and gentoo are running
different versions of firefox?  What other issues might I run into?

Alternatively, is there a way to keep gentoo's and ubuntu's hidden
files separate and link or map them to ~ at boot?

Randy



Re: [gentoo-user] Share /home with Gentoo and Ubuntu

2012-11-27 Thread Michael Orlitzky
On 11/27/2012 12:34 PM, Randy Westlund wrote:
 Hi,
 
 I'm a new gentoo user (coming from ubuntu).  I've been proving to
 myself that I can do everything I need with gentoo on a secondary
 laptop, and after a few weeks, I think I've got it (svn repos, AVR
 cross compiler, multiple screens, etc).  I much prefer gentoo to
 ubuntu, and would like to put it on my primary laptop.  But I think I
 should leave an ubuntu installation on there just in case.  I'd like
 to have gentoo, ubunu, and win7 alongside each other.
 
 How feasible would it be to have gentoo and ubuntu share a /home
 partition?  I've never had a reason to have multiple linux
 installations on a single machine before, but I can't think of a
 reason why this wouldn't work.  .bashrc might need a few more lines of
 code. .screenrc and .exrc would be fine.  My ssh keys can  be shared.
 What would happen to .mozilla if ubuntu and gentoo are running
 different versions of firefox?  What other issues might I run into?
 
 Alternatively, is there a way to keep gentoo's and ubuntu's hidden
 files separate and link or map them to ~ at boot?

You might have problems when Gentoo upgrades a package and Ubuntu falls
behind. For a made-up example, suppose Gentoo bumps XFCE to 4.12 and
Ubuntu is still at 4.10. XFCE will upgrade all of its config files in
~/.config, and the next time you boot to Ubuntu, things will probably crash.

I've had the same problem from time to time on a smaller scale with LyX,
GTK, Firefox, Thunderbird, etc.

You can work around it fairly easily, though. Just mount all of your
version-independent stuff separately, under ~/Documents or whatever. Or
never go back to Ubuntu =)




Re: [gentoo-user] Share /home with Gentoo and Ubuntu

2012-11-27 Thread Volker Armin Hemmann
Am Dienstag, 27. November 2012, 12:34:29 schrieb Randy Westlund:
 Hi,
 
 I'm a new gentoo user (coming from ubuntu).  I've been proving to
 myself that I can do everything I need with gentoo on a secondary
 laptop, and after a few weeks, I think I've got it (svn repos, AVR
 cross compiler, multiple screens, etc).  I much prefer gentoo to
 ubuntu, and would like to put it on my primary laptop.  But I think I
 should leave an ubuntu installation on there just in case.  I'd like
 to have gentoo, ubunu, and win7 alongside each other.
 
 How feasible would it be to have gentoo and ubuntu share a /home
 partition?  I've never had a reason to have multiple linux
 installations on a single machine before, but I can't think of a
 reason why this wouldn't work.  .bashrc might need a few more lines of
 code. .screenrc and .exrc would be fine.  My ssh keys can  be shared.
 What would happen to .mozilla if ubuntu and gentoo are running
 different versions of firefox?  What other issues might I run into?
 
 Alternatively, is there a way to keep gentoo's and ubuntu's hidden
 files separate and link or map them to ~ at boot?
 
 Randy

okay.. have that done myself in the past first make sure that the user id 
is the same in Ubuntu and gentoo. You might run into trouble with firefox, 
chrome, gnome, kde because of different versions - might not will. But you will 
see some errors because of it at some point.  Make a backup and try it.

-- 
#163933



Re: [gentoo-user] Share /home with Gentoo and Ubuntu

2012-11-27 Thread Randy Barlow
On Tue, 27 Nov 2012 13:01:28 -0500, Michael Orlitzky  
mich...@orlitzky.com wrote:

You can work around it fairly easily, though. Just mount all of your
version-independent stuff separately, under ~/Documents or whatever. Or
never go back to Ubuntu =)


This is good advice. Another potential solution is to use symlinks to map  
the OS-dependent files to the right places.


Or you could make /home/username be OS dependent, with another OS  
independent volume mounted somewhere, perhaps /home/os_independent. Then  
you could make symlinks inside /home/username/Music to  
/home/os_independent/Music and what not. This might be a pain, but it  
would bypass that problem.


--
R



Re: [gentoo-user] Providing virtual dependency net

2012-11-27 Thread Bruce Hill
On Tue, Nov 27, 2012 at 07:02:18PM +1100, Adam Carter wrote:
 I have added rc_net_wlan0_provide=net to /etc/rc.conf, but scripts like
 sshd still wont start, and when executed report WARNING: sshd is scheduled
 to start when net.eth0 has started.
 
 Why does sshd appear to be specifically requiring net.eth0? (or is the
 message misleading?)
 
 How do i get net.wlan0 to also provide net?

This post begs to ask so many questions concerning your setup...
-- 
Happy Penguin Computers   ')
126 Fenco Drive   ( \
Tupelo, MS 38801   ^^
supp...@happypenguincomputers.com
662-269-2706 662-205-6424
http://happypenguincomputers.com/

Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting



Re: [gentoo-user] blocked packages both required by the system sys-apps/openrc vs. sys-apps/net-tools?

2012-11-27 Thread Pascal J. Bourguignon


Matthias Hanft m...@hanft.de wrote:

 Pascal J. Bourguignon wrote:
 
  I just emerged --sync and now when I try to update world, I get this
  conflict: [...]
 
 I had the same problem.  Since openrc was not in my world file (pulled in
 automatically), it was not scheduled for update.  The solution was to use
 emerge -Duv world including deep dependencies.  This caused updating
 net-tools and openrc at the *same* time without any errors.

Indeed, I was doing emerge --update expecting the behavior of 
emerge -Du.  The later works much better.


Thank you (and all others who replied).
-- 
__Pascal Bourguignon__ http://www.informatimago.com/
A bad day in () is better than a good day in {}.



Re: [gentoo-user] Share /home with Gentoo and Ubuntu

2012-11-27 Thread Philip Webb
121127 Randy Westlund wrote:
 I'm a new gentoo user coming from Ubuntu.

Welcome !

 I've been proving to myself that I can do everything I need with Gentoo
 on a secondary laptop, and after a few weeks, I think I've got it:
 svn repos, AVR cross compiler, multiple screens, etc.  I much prefer
 Gentoo to Ubuntu and would like to put it on my primary laptop,
 but I think I should leave an Ubuntu installation on there just in case.
 I'd like to have Gentoo, Ubuntu and Win7 alongside each other.
 How feasible would it be to have Gentoo and Ubuntu share a /home partition?

It's likely to cause problems after a short time,
as the  2  OS's will vary in the way they handle config files
 pkgs wb updated at different times  to different versions.

Try having separate homes, but symlink most of your subdirs in Ubuntu
-- since you are likely to stop using it soon -- to those in Gentoo.
The subdirs to symlink wb those which contain your personal stuff
-- documents, pictures, whatever -- , which won't vary with OS.

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




Re: [gentoo-user] Old ATI Radeon RV350 driver broken after system update

2012-11-27 Thread Mick
On Tuesday 27 Nov 2012 17:18:43 design [depois das dez] wrote:
 Fellow Gentooers,
 
 although I am very happy running a Gentoo box, sometimes I bump into some
 difficulties, esp. when updating packages. This time I am having a hard
 time reconfiguring my video card, which was fine but is not anymore after
 the last system update I've made. Gnome session goes up as usual but the
 resolution is not fine and monitor complains about not being in the
 recommended mode.
 
 My video driver is an ATI Radeon 9600 (RV350) and somebody has already
 updated the section on the Gentoo wiki
 http://en.gentoo-wiki.com/wiki/Radeon#Kernels_.3E.3D3.0.0 informing that
 there might be incompatibilities concerning the RV350 firmware. I just
 don't have enough understanding of the video related parts of the system to
 tweak and fix this issue. How should I proceed when I have a problem of
 this sort?
 
 How do I know what is the video backend in my system? Is Xorg the only one
 possible? What can I do to fix this problem?

The link you provided says that you should disable framebuffer in your kernel 
config.  Have you tried that?

-- 
Regards,
Mick


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


Re: [gentoo-user] Providing virtual dependency net

2012-11-27 Thread Erik Mackdanz
I wish I could offer something helpful here, but the issue of network
dependencies has been a thorn in my side for a long time (e.g. if I have
PostgreSQL listening on localhost, why is it stopped with eth0?)  Funtoo
fixed the design by letting services depend on specific interfaces, but as
far as I know Gentoo (and the other major distros) will leave it broken for
the forseeable future.


On Tue, Nov 27, 2012 at 2:02 AM, Adam Carter adamcart...@gmail.com wrote:

 I have added rc_net_wlan0_provide=net to /etc/rc.conf, but scripts like
 sshd still wont start, and when executed report WARNING: sshd is scheduled
 to start when net.eth0 has started.

 Why does sshd appear to be specifically requiring net.eth0? (or is the
 message misleading?)

 How do i get net.wlan0 to also provide net?





Re: [gentoo-user] Providing virtual dependency net

2012-11-27 Thread Adam Carter
I don't see how, so that probably means i'm ignorant of something i need to
know. Can you please elaborate?


On Wed, Nov 28, 2012 at 5:52 AM, Bruce Hill da...@happypenguincomputers.com
 wrote:

 On Tue, Nov 27, 2012 at 07:02:18PM +1100, Adam Carter wrote:
  I have added rc_net_wlan0_provide=net to /etc/rc.conf, but scripts like
  sshd still wont start, and when executed report WARNING: sshd is
 scheduled
  to start when net.eth0 has started.
 
  Why does sshd appear to be specifically requiring net.eth0? (or is the
  message misleading?)
 
  How do i get net.wlan0 to also provide net?

 This post begs to ask so many questions concerning your setup...
 --
 Happy Penguin Computers   ')
 126 Fenco Drive   ( \
 Tupelo, MS 38801   ^^
 supp...@happypenguincomputers.com
 662-269-2706 662-205-6424
 http://happypenguincomputers.com/

 Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting




Re: [gentoo-user] Providing virtual dependency net

2012-11-27 Thread Bruce Hill
On Wed, Nov 28, 2012 at 12:01:27PM +1100, Adam Carter wrote:
 I don't see how, so that probably means i'm ignorant of something i need to
 know. Can you please elaborate?
 
 
 On Wed, Nov 28, 2012 at 5:52 AM, Bruce Hill da...@happypenguincomputers.com
  wrote:
 
  On Tue, Nov 27, 2012 at 07:02:18PM +1100, Adam Carter wrote:
   I have added rc_net_wlan0_provide=net to /etc/rc.conf, but scripts like
   sshd still wont start, and when executed report WARNING: sshd is
  scheduled
   to start when net.eth0 has started.
  
   Why does sshd appear to be specifically requiring net.eth0? (or is the
   message misleading?)
  
   How do i get net.wlan0 to also provide net?
 
  This post begs to ask so many questions concerning your setup...
 
  Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting

Let me just say that I don't have rc_net_wlan0_provide=net in /etc/rc.conf
on any of the 8 Gentoo boxen running on this LAN atm. And rc-status | grep
sshd reports sshd  [started] on every one of them. Two are using wifi and
therefore wlan0; the other 6 are wired and use eth{0,1,2}.

What have you done so far?

Tell us about your setup. Is net.eth0 and/or net.wlan0 and/or sshd started
with your services?

rc-status | grep net
rc-status | grep sshd

http://www.catb.org/~esr/faqs/smart-questions.html could be helpful so that
you'll know HOW-TO make a good post to a mailing list.

If there is something obvious about your OP that I've missed, please accept my
apologies and forgive my ignorance.
-- 
Happy Penguin Computers   ')
126 Fenco Drive   ( \
Tupelo, MS 38801   ^^
supp...@happypenguincomputers.com
662-269-2706 662-205-6424
http://happypenguincomputers.com/

Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting



[gentoo-user] GDM X segfault in libc ?

2012-11-27 Thread 刘洋
GDM is always failed on my box.

I found this in the dmesg output:
[   16.272277] X[1241]: segfault at  ip b7534bb8 sp bffbd23c error
4 in libc-2.15.so[b73f8000+184000]
[   19.287811] X[1366]: segfault at  ip b75b6bb8 sp bfbd0fbc error
4 in libc-2.15.so[b747a000+184000]
[   22.305662] X[1416]: segfault at  ip b7500bb8 sp bfa8c24c error
4 in libc-2.15.so[b73c4000+184000]

but when i login at a console and startx is OK.

I'm using intel G31 vedio adapter, kernel module is i915

What can I do with this problem?

sorry for my poor English.