Re: [gentoo-user] Dual Boot Partitions

2011-03-02 Thread dhk
On 02/28/2011 08:25 AM, Mick wrote:
 On 28 February 2011 13:11, dhk dhk...@optonline.net wrote:
 
 Alright, I found a couple thing in Grub that I had wrong.  1) The
 (hd0,0) for the splash should have been (hd0,2).  That fixed the problem
 with no Grub menu.  2) The Windows menu option was (hd0,1) and should
 have been (hd0,0) for the Windows boot partition not the Window
 Operating System.

 Now when I boot the Grub menu comes up and booting to Windows works.
 However, I still have the same problem booting to Linux.  It chokes on
 /dev/sda7 which is my root partition and my real_root kernel option.
 
 Ah!  Our messages crossed in the post!
 
 Check that you have compile in the kernel the fs for your root
 partition and that you have root (hd0,6) in your grub.conf and
 real_root=/dev/sda7.
 


All works now.  It looks like it was in the genkernel.  The only thing I
changed in the config file was turning off Raid like the documentation
said, I must have missed that.  So I'm not sure what fixed it, but after
I recompiled it worked and in grub it was (hd0,2).

Thanks all,

dhk



Re: [gentoo-user] Random reboots. Where to start?

2011-03-02 Thread Paul Hartman
On Wed, Mar 2, 2011 at 12:53 AM, Dale rdalek1...@gmail.com wrote:

 I was looking to see how tall they were at the time.  I was more worried
 about whether it was going to get in the way of my CPU cooler.  Turns out, I
 should have been worried about the fan hitting them instead of the cooler
 itself.  I do wish they would move the memory another inch away from the
 CPU.  That would solve the problem pretty well then.  I'm not holding my
 breath tho.


I was worried about that, too, until I bought a Corsair H50 :)


Re: [gentoo-user] Re: Random reboots. Where to start?

2011-03-02 Thread Mick
2011/3/1 Peter Humphrey pe...@humphrey.ukfsn.org:
 On Tuesday 01 March 2011 23:14:12 Mick wrote:

 Ha! I remember on an old machine when in WinXP would rarely if ever
 crash, while in Gentoo would crash every time.

 My machine is only about a year old, built by a specialist builder of high-
 performance systems, so it shouldn't be experiencing hardware failures.

 Different OS' use memory differently.

 Indeed they do. My experience is the converse of yours: Gentoo does not
 hang, while Fedora and Mandriva do. It's not a problem with a particular
 area of the disks, as I've installed them both in different partitions and
 got the same result. I assume that some kernel options don't suit my
 motherboard. Don't all laugh, but it's an Asus P7P55D.

 After a year or so though the WinXP installation eventually corrupted
 itself irreparably, while Gentoo (on reiserfs) soldiered on. Eventually, I
 bought new memory modules and there were no more crashes.

 Maybe I need to replace the memory. That's a bit drastic though when I
 haven't actually proved it faulty.

Yes, I tend to agree.  You could end up replacing the memory only to
find out that the crashes persist.


 memtest 86+ showed no errors, so I didn't know what to blame for all
 these crashes.

 It's well known that test programs can't stress a computer the way real life
 does. It was true of Ferranti Argus 500 systems in 1974, and I'm sure it's
 still true today.

I remember using a script which put the system (memory modules and
swap) through its paces.  That did show me some errors which made me
replace the memory.  I can't recall where I found that script, but
remember it being aired in this mailing list.


 After close observation I discovered that the machine would crash the
 moment it tried to start swapping.

 Interesting. As far as I can tell though this box doesn't swap often - it
 can go weeks without doing so. As I said the other day, my 4GB is enough to
 contain the work I usually do.

 This would typically happen in the middle of an emerge, which was rather
 annoying, and/or when updatedb was running.

 At least you could re-run an aborted emerge; when my box hangs it just stops
 responding to keyboard and mouse, and the network interface stops receiving
 packets so I can't ssh in from another box to shut it down neatly. It's BRS
 time.

No I couldn't.  :-(

The whole system would freeze up, no keyboard, no network, no nothing.
 I had to pull the plug every time.
-- 
Regards,
Mick



[gentoo-user] Re: OT: mobo and Ati video

2011-03-02 Thread james
Volker Armin Hemmann volkerarmin at googlemail.com writes:


  http://www.newegg.com/Product/Product.aspx?Item=N82E16814102902

OK

 usb3 will work 3x charge won't. All those nifty tools won't work. The bios 
 fan 
 control is ok - could be better. It likes to err on the higher rpm side which 
 means that the fans turn quicker than with fancontrol - or Asus boards.
 On the other hand, GB boards do work unlike Asus.

I like Asus too, but, GB is 
less cost and get's good reviews...

thanks 
Volker...


James







Re: [gentoo-user] Re: Random reboots. Where to start?

2011-03-02 Thread Mick
On 2 March 2011 16:29, Neil Bothwick n...@digimed.co.uk wrote:
 On Wed, 2 Mar 2011 15:51:54 +, Mick wrote:

  This would typically happen in the middle of an emerge, which was
  rather annoying, and/or when updatedb was running.
 
  At least you could re-run an aborted emerge; when my box hangs it
  just stops responding to keyboard and mouse, and the network
  interface stops receiving packets so I can't ssh in from another box
  to shut it down neatly. It's BRS time.

 No I couldn't.  :-(

 The whole system would freeze up, no keyboard, no network, no nothing.
  I had to pull the plug every time.

 Not even Alt-SysRq? That's a serious lockup.

Yep, when that box locked up, it didn't do it by half.


 You can still resume a merge after a power down, with
 ebuild /path/to/ebuild merge.

I see ... by path you mean /var/tmp/portage/...  ?
-- 
Regards,
Mick



Re: [gentoo-user] Re: Random reboots. Where to start?

2011-03-02 Thread Neil Bothwick
On Wed, 2 Mar 2011 16:37:11 +, Mick wrote:

  You can still resume a merge after a power down, with
  ebuild /path/to/ebuild merge.  
 
 I see ... by path you mean /var/tmp/portage/...  ?

The path to the actual ebuild- /usr/portage/cat/pkg/pkg-ver.ebuild


-- 
Neil Bothwick

The best things in life are free, but the
expensive ones are still worth a look.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Random reboots. Where to start?

2011-03-02 Thread Alex Schuster
Mick writes:

 On 2 March 2011 16:29, Neil Bothwick n...@digimed.co.uk wrote:

  You can still resume a merge after a power down, with
  ebuild /path/to/ebuild merge.
 
 I see ... by path you mean /var/tmp/portage/...  ?

No, /usr/portage/category/package.

Alternatively, you can use FEATURES=keepwork emerge package, or even 
simpler with FEATURES=keepwork emerge --resume.

Wonko



Re: [gentoo-user] Re: Random reboots. Where to start?

2011-03-02 Thread Neil Bothwick
On Wed, 2 Mar 2011 15:51:54 +, Mick wrote:

  This would typically happen in the middle of an emerge, which was
  rather annoying, and/or when updatedb was running.  
 
  At least you could re-run an aborted emerge; when my box hangs it
  just stops responding to keyboard and mouse, and the network
  interface stops receiving packets so I can't ssh in from another box
  to shut it down neatly. It's BRS time.  
 
 No I couldn't.  :-(
 
 The whole system would freeze up, no keyboard, no network, no nothing.
  I had to pull the plug every time.

Not even Alt-SysRq? That's a serious lockup.

You can still resume a merge after a power down, with
ebuild /path/to/ebuild merge.


-- 
Neil Bothwick

Drop your carrier .. we have you surrounded


signature.asc
Description: PGP signature


Re: [gentoo-user] internal-sftp and logs files

2011-03-02 Thread Ivan Kharlamov
2011/3/1 Naira Kaieski na...@faccat.br:
 Good afternoon,

 Staff set up openssh to direct users to a certain group members to a chroot
 environment and these users will have access only to the server using sftp
 protocol.

 Put in the sshd_config file:
 Match Group customers
    ChrootDirectory% h
    ForceCommand internal-sftp-l VERBOSE f-AUTH

 Thus each user is directed to the chroot environment indicated in the
 variable% h (home directory defined in / etc / passwd)

 An example of directory is:
 User: naira
 Home directory: /var/www/naira.com.br

 The problem is that I am not able to capture logs of the user group
 clients that are targeted to the chroot environment. Access via
 internal-sftp from other users who do not belong to the client I get the
 logs in auth.log files.

 I'm using syslog-ng.

 Has anyone ever made this kind of setup?

 Thanks,

 --
 Naira Kaieski
 Nucleo de Internet/Redes - Faccat
 Linux Professional Institute - LPI000223834



Hi!

Actually, I am incompetent at this area, but have you tried this?
http://groups.google.com/group/comp.security.ssh/browse_thread/thread/ce30a1d9889dc2e2

Best regards,
Ivan



Re: [gentoo-user] Re: OT: mobo and Ati video

2011-03-02 Thread Volker Armin Hemmann
On Wednesday 02 March 2011 16:21:46 james wrote:
 Volker Armin Hemmann volkerarmin at googlemail.com writes:
   http://www.newegg.com/Product/Product.aspx?Item=N82E16814102902
 
 OK
 
  usb3 will work 3x charge won't. All those nifty tools won't work. The
  bios fan control is ok - could be better. It likes to err on the higher
  rpm side which means that the fans turn quicker than with fancontrol -
  or Asus boards. On the other hand, GB boards do work unlike Asus.
 
 I like Asus too, but, GB is
 less cost and get's good reviews...
 
 thanks
 Volker...
 
 
 James

my last ASUS board was a very expensive piece of shit that:
loved not to boot at all
boot only after disconnecting it from the mains
boot only after resetting the bios
and at least 2crashs every day

since I changed that f*er for a 880GA-UD3H I haven't had any problems at all. 
And the mobo was the only thing I changed.
The Asus drove the fans a lot lower than the GB, but I prefer my computers 
non-crashy.



[gentoo-user] dev-vcs/qbzr - bug or no?

2011-03-02 Thread Michael
Hi,

I'm using qbzr - a GUI for the Bazaar VCS.

When performing a network operation involving SSH, I get the following 
error:

Run command: bzr push 
bzr+ssh://kensing...@example.com/home/kensington/whatever
ssh_askpass: exec(/usr/lib64/misc/ssh-askpass): No such file or directory

In order to make this work, I need to emerge net-misc/x11-ssh-askpass.

My question is: would this be considered a bug of some variety (missing 
dependency or flag?), or rather just something the user needs to figure out 
themself.

Thanks,
Michael




Re: [gentoo-user] How can I move running proces to background out of screen?

2011-03-02 Thread Daniel Heemann
On Tuesday 01 March 2011 21:21:32 Alex Schuster wrote:
 Jarry writes:
  is there any way to move running (already started) process
  to background, and disconnect it from screen/terminal
  so that I could log off (without terminating the process)?
 
 Ctrl-Z
 bg

I think to be able to detach from the terminal w/o terminating the process you 
also need 'disown'.

Regards



Re: [gentoo-user] How can I move running proces to background out of screen?

2011-03-02 Thread Alex Schuster
Daniel Heemann writes:

 On Tuesday 01 March 2011 21:21:32 Alex Schuster wrote:
  Jarry writes:
   is there any way to move running (already started) process
   to background, and disconnect it from screen/terminal
   so that I could log off (without terminating the process)?
  
  Ctrl-Z
  bg
 
 I think to be able to detach from the terminal w/o terminating the
 process you also need 'disown'.

You are right. I was not sure myself, so I did test this, but only with a 
'sleep 60' command. It was still running when I closed the shell, so I 
thought this would work. But now I learnt this is not true for emerge. Does 
anyone know why?

I agree with Stroller, tmux seems like the way to go. I do not use it (yet), 
because I already know screen, but it is on my to do list, after some 
postings here.

Wonko



Re: [gentoo-user] How can I move running proces to background out of screen?

2011-03-02 Thread Volker Armin Hemmann
On Wednesday 02 March 2011 06:21:13 Stroller wrote:
 On 1/3/2011, at 7:12pm, Michael Orlitzky wrote:
  ...
  Combine with GNU Screen to achieve what you want.
 
 Not screen.
 
 He's never used screen before, therefore he has no reason not to use tmux.
 
 $ eix -I tmux
 [I] app-misc/tmux
  Available versions:  1.2 1.3 ~1.4 ** {debug vim-syntax}
  Installed versions:  1.3(18:51:19 10/08/10)(vim-syntax)
  Homepage:http://tmux.sourceforge.net
  Description: Terminal multiplexer
 $
 
 tmux is better that screen in a variety of ways. Many of those ways are
 minor, however all together and in total they're significant enough. You
 may want to stay with screen if you have a highly-customised .screenrc and
 use many other machines on which you're unable to install tmux, but screen
 should not be recommended over tmux without a very good reason.
 
 Stroller.

please elaborate



Re: [gentoo-user] How can I move running proces to background out of screen?

2011-03-02 Thread Alex Schuster
Am 02.03.2011 21:44, schrieb Volker Armin Hemmann:

 On Wednesday 02 March 2011 06:21:13 Stroller wrote:

 tmux is better that screen in a variety of ways. Many of those ways are
 minor, however all together and in total they're significant enough. You
 may want to stay with screen if you have a highly-customised .screenrc and
 use many other machines on which you're unable to install tmux, but screen
 should not be recommended over tmux without a very good reason.

 Stroller.
 
 please elaborate

He already did:
http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg107371.html

I really have to give tmux a try.

Wonko



Re: [gentoo-user] any mythtv/set top box experts?

2011-03-02 Thread Hamilton Silva
On Mon, Feb 28, 2011 at 7:47 PM, Matt Harrison iwasinnamuk...@genestate.com
 wrote:

 On 28/02/2011 22:06, Hamilton Silva wrote:

 On Sun, Feb 27, 2011 at 7:21 PM, Matt Harrison
 iwasinnamuk...@genestate.com

 wrote:
 Hi all,

 I've recently started to set up a mythtv box for my parents. I've found a
 USB DVB-T receiver which works perfectly and I've got the system up and
 running on some old hardware.

 Now I've been tasked with finding something small that can sit by their
 TV
 and do it all. I've been looking at MiniITX machines with the nVidia ION
 chipset that support 720/1080 HD playback and HDMI outputs.

 My questions are concerning the digital output and remote controls. I've
 only ever used HDMI/digital output on windows and it confuses me then. Is
 there some added complexity to getting the HDMI output working (including
 audio) with a TV? Is there anything to look out for as far as
 compatibiliy
 goes?

 And remote controls, the USB DVB-T unit comes with its own remote and
 pretty much works out of the box even on linux. At least it works for the
 basic up/down/left/right/enter, I really don't know enough to get any
 more
 out of it.

 The MiniITX bundle I'm looking at comes with a remote designed for media
 centres and looks to be a million times nicer than the one from the
 receiver, but is there going to be a lot of trouble getting it working
 with
 Lirc? I only know a teeny tiny bit about Lirc, I don't know what driver
 this
 remote will use so I don't know if there's likely to be any compatibility
 issue.

 As you can tell I'm not very hot on this stuff, so any
 tips/help/suggestions would be much appreciated. I'd especially
 appreciate
 if anyone could point to some known-good hardware for this purpose.

 Thanks

 Matt


  For the remote i suggest the ps3 bd controller. It uses bluetooth so,
 it's
 omnidirectional and works with mythtv:

  http://www.mythtv.org/wiki/Sony_PS3_BD_Remote

 Hamilton


 That looks interesting, thanks for the reply. I guess I'll have to find a
 bluetooth receiver to go with it, maybe i can find one onboard something.

 Thanks


You can find some bluetooth usb dongle for about $2-4 at dealextreme or
ebay.

Hamilton


[gentoo-user] Re: OT: mobo and Ati video

2011-03-02 Thread James
Volker Armin Hemmann volkerarmin at googlemail.com writes:


 since I changed that f*er for a 880GA-UD3H 

OK, how's the 7.1 audio output? Is it analog
or digital audio output that you have
set up and used.

Do you like it?


james





Re: [gentoo-user] How can I move running proces to background out of screen?

2011-03-02 Thread Dale

Alex Schuster wrote:


You are right. I was not sure myself, so I did test this, but only with a
'sleep 60' command. It was still running when I closed the shell, so I
thought this would work. But now I learnt this is not true for emerge. Does
anyone know why?

I agree with Stroller, tmux seems like the way to go. I do not use it (yet),
because I already know screen, but it is on my to do list, after some
postings here.

Wonko

   


Do share.  I use screen here to but plan to look into tmux.  Right now, 
I have no clue what it even is.  I'm going to install it when I finish 
the current download.


Dale

:-)  :-)



Re: [gentoo-user] How can I move running proces to background out of screen?

2011-03-02 Thread Alex Schuster
Dale writes:

 Alex Schuster wrote:

 I agree with Stroller, tmux seems like the way to go. I do not use it (yet),
 because I already know screen, but it is on my to do list, after some
 postings here.

 Do share.  I use screen here to but plan to look into tmux.  Right now, 
 I have no clue what it even is.  I'm going to install it when I finish 
 the current download.

See Stroller's comprehensive posting:
http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg107371.html

Wonko



Re: [gentoo-user] Re: Random reboots. Where to start?

2011-03-02 Thread Peter Humphrey
On Wednesday 02 March 2011 16:37:11 Mick wrote:
 On 2 March 2011 16:29, Neil Bothwick n...@digimed.co.uk wrote:
  You can still resume a merge after a power down, with
  ebuild /path/to/ebuild merge.
 
 I see ... by path you mean /var/tmp/portage/...  ?

No, I think he means something like:

ebuild `equery w atom` merge

-- 
Rgds
Peter



Re: [gentoo-user] How can I move running proces to background out of screen?

2011-03-02 Thread Dale

Alex Schuster wrote:


See Stroller's comprehensive posting:
http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg107371.html

Wonko

   


I read that but still would love to here of someone else's experience.  
From that link tho, it sounds . . . interesting.


Dale

:-)  :-)



[gentoo-user] Gnumeric USE options and .xlsx files?

2011-03-02 Thread Walter Dnes
  Is Gnumeric unable to handle Excel .xlsx files or am I missing a USE
flag somewhere?  Or is there a quick-n-dirty viewer/translator?  I've
downloaded a file from Auto Observer.  Gnumeric segfaults trying to open
it, after issuing the message...
MarketShare!P70 : Dropping missing object

  I'm running pure 64-bit AMD64 Gentoo on an Intel i3.  Any ideas other
than one of the *Office alternatives?  They're best described as
About: kitchen sink...

USE=qt3support ssl accessibility kde dbus exceptions emerge -pv qt-core 
kspread
Total: 41 packages (41 new), Size of downloads: 304,022 kB

emerge -pv libreoffice
Total: 24 packages (23 new, 1 in new slot), Size of downloads: 528,859 kB

emerge -pv openoffice
Total: 22 packages (21 new, 1 in new slot), Size of downloads: 564,301 kB

  The file in question is...
http://www.autoobserver.com/car-data-center/assets/2011-03%20Sales.xlsx

-- 
Walter Dnes waltd...@waltdnes.org



[gentoo-user] Postgresql emerge question

2011-03-02 Thread Walter Dnes
  Am I supposed to emerge postgresql-server?  Any Gentoo-specific
gotcha's that anyone's aware of?  This will be on pure 64-bit
(no-multi-lib) Intel i3 with 8 gigs of ram.

-- 
Walter Dnes waltd...@waltdnes.org