Re: [gentoo-user] Re: configure wlan0 route metric

2011-04-14 Thread Mick
On Friday 15 April 2011 03:06:57 Indi wrote: > On Fri, Apr 15, 2011 at 12:30:02AM +0200, Indi wrote: > > On Thu, Apr 14, 2011 at 12:00:02PM +0200, Mick wrote: > > > On 14 April 2011 09:13, deadeyes wrote: > > > > deadeyes gmail.com> writes: > > > > > > > > code that can be added in /etc/conf.d/n

Re: [gentoo-user] Re: configure wlan0 route metric

2011-04-14 Thread Indi
On Fri, Apr 15, 2011 at 12:30:02AM +0200, Indi wrote: > On Thu, Apr 14, 2011 at 12:00:02PM +0200, Mick wrote: > > On 14 April 2011 09:13, deadeyes wrote: > > > deadeyes gmail.com> writes: > > > > > > code that can be added in /etc/conf.d/net: > > > postup() { > > >   local metric=0 > > > > > >  

Re: [gentoo-user] Re: configure wlan0 route metric

2011-04-14 Thread Indi
On Thu, Apr 14, 2011 at 12:00:02PM +0200, Mick wrote: > On 14 April 2011 09:13, deadeyes wrote: > > deadeyes gmail.com> writes: > > > > code that can be added in /etc/conf.d/net: > > postup() { > >   local metric=0 > > > >   case "${IFACE}" in > >      eth0) metric=0 ;; > >      eth1) metric=1 ;;

Re: [gentoo-user] repair damaged pdf?

2011-04-14 Thread Liviu Andronic
On Fri, Apr 15, 2011 at 12:03 AM, Mick wrote: > You can also try pdfclean in case it reads it, from the package pap-text/mupdf > It does seem to input it, since it outputed a non-null file, but it also seems corrupted: >"/usr/local/build/mupdf-0.8.15-linux-amd64/pdfclean" "/tmp/Class 1.pdf" (1173

Re: [gentoo-user] repair damaged pdf?

2011-04-14 Thread Mick
On Thursday 14 April 2011 22:30:01 Florian Philipp wrote: > Am 14.04.2011 23:08, schrieb Liviu Andronic: > > Dear all > > What is your experience with corrupted PDF files? Do you know any tool > > that can attempt to repair damaged PDF files? Does it make any sense > > to edit a PDF file in hex mod

Re: [gentoo-user] repair damaged pdf?

2011-04-14 Thread Florian Philipp
Am 14.04.2011 23:08, schrieb Liviu Andronic: > Dear all > What is your experience with corrupted PDF files? Do you know any tool > that can attempt to repair damaged PDF files? Does it make any sense > to edit a PDF file in hex mode? > > I have a damaged PDF that cannot be opened with any of the a

Re: [gentoo-user] Re: raid1 grub ext4

2011-04-14 Thread Florian Philipp
Am 14.04.2011 22:19, schrieb James: > >> *Head scratch* This, uhm, looks odd. No clue what to make of it. > > Ahhh, > > Don't give up just yet? > > I issued these commands: > > mdadm --create /dev/md127 --level=1 --raid-devices=2 > --metadata=0.90 /dev/sda1 /dev/sdb1 > > mdadm --create /dev/

[gentoo-user] repair damaged pdf?

2011-04-14 Thread Liviu Andronic
Dear all What is your experience with corrupted PDF files? Do you know any tool that can attempt to repair damaged PDF files? Does it make any sense to edit a PDF file in hex mode? I have a damaged PDF that cannot be opened with any of the about 10 tools that I've just tried. liv@liv-laptop:/tmp$

Re: [gentoo-user] Firefox 4 hard freeze

2011-04-14 Thread Paul Hartman
On Thu, Apr 14, 2011 at 3:16 PM, Willie Wong wrote: > On Thu, Apr 14, 2011 at 03:53:39PM -0400, Willie Wong wrote: >> Hi list, >> >> I'm running into some weird problem. Firefox was upgraded to version 4 >> a few days ago. And up until last night I have had no problems with >> it. Starting this mo

Re: [gentoo-user] LibreOffice + GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed

2011-04-14 Thread Daniel Pielmeier
Carlos Sura schrieb am 14.04.2011 21:47: > Yes, I'm using ~amd64 version of glib, I tried to downgrade glib, but it > show me this error: *downgrading glibc is not supported and a sure way to > destruction.* sys-libs/glibc != dev-libs/glib It should be safe to downgrade dev-libs/glib. -- Danie

[gentoo-user] Re: raid1 grub ext4

2011-04-14 Thread James
Florian Philipp binarywings.net> writes: > > livecd ~ # mdadm --stop /dev/md* > > mdadm: error opening /dev/md: Is a directory > > mdadm: stopped /dev/md1 > > mdadm: stopped /dev/md125 > > mdadm: stopped /dev/md126 > > mdadm: stopped /dev/md127 > > mdadm: stopped /dev/md3 > > mdadm: stopped /dev

[gentoo-user] Re: configure wlan0 route metric

2011-04-14 Thread deadeyes
Mick gmail.com> writes: > > It does? I assume that eth1 above is wlan0 in your case. > Yes indeed :) it is wlan0.

Re: [gentoo-user] LibreOffice + GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed

2011-04-14 Thread Carlos Sura
On 13 April 2011 01:49, Daniel Pielmeier wrote: > 2011/4/12 Carlos Sura : > > > > It might be GLIB? (I've reciently updated) > > Do you also use the ~amd64 version of glib? What about downgradeing it > to the version you had before, should be worth a try and quicker than > rebuiding libreoffice o

[gentoo-user] Re: raid1 grub ext4

2011-04-14 Thread James
> *Head scratch* This, uhm, looks odd. No clue what to make of it. Ahhh, Don't give up just yet? I issued these commands: mdadm --create /dev/md127 --level=1 --raid-devices=2 --metadata=0.90 /dev/sda1 /dev/sdb1 mdadm --create /dev/md125 --level=1 --raid-devices=2 --metadata=0.90 /dev/sda3 /

Re: [gentoo-user] Firefox 4 hard freeze

2011-04-14 Thread Willie Wong
On Thu, Apr 14, 2011 at 03:53:39PM -0400, Willie Wong wrote: > Hi list, > > I'm running into some weird problem. Firefox was upgraded to version 4 > a few days ago. And up until last night I have had no problems with > it. Starting this morning, however, it seems that Firefox would freeze > up wh

Re: [gentoo-user] Printing phpmyadmin output

2011-04-14 Thread Mick
On Thursday 14 April 2011 11:44:49 Peter Humphrey wrote: > On Thursday 14 April 2011 11:20:51 Mick wrote: > > Peter, if you right-click and select to see the frame in question > > (while in 'Print View') and then select Print Preview in Firefox, you > > can see all pages that the tables will sprea

[gentoo-user] Firefox 4 hard freeze

2011-04-14 Thread Willie Wong
Hi list, I'm running into some weird problem. Firefox was upgraded to version 4 a few days ago. And up until last night I have had no problems with it. Starting this morning, however, it seems that Firefox would freeze up whenever I touch the keyboard with the window in focus! I can open new tab

Re: [gentoo-user] Re: raid1 grub ext4

2011-04-14 Thread Florian Philipp
Am 14.04.2011 18:29, schrieb James: > Florian Philipp binarywings.net> writes: > >> Are you sure sda1 and sdb1 are not in use? Did the kernel activate the >> already present RAID? Then you have to deactivate it. Use >> mdadm --stop /dev/md* > > AHh! > > livecd ~ # mdadm --st

Re: [gentoo-user] LibreOffice + GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed

2011-04-14 Thread Carlos Sura
On 13 April 2011 01:49, Daniel Pielmeier wrote: > 2011/4/12 Carlos Sura : > > > > It might be GLIB? (I've reciently updated) > > Do you also use the ~amd64 version of glib? What about downgradeing it > to the version you had before, should be worth a try and quicker than > rebuiding libreoffice o

Re: [gentoo-user] Gentoo/FBSD

2011-04-14 Thread Michael Orlitzky
On 04/14/2011 10:38 AM, Fredrik Andersson wrote: > Is the Handbook outdated? I dont know if I have ever seen it be out of > date.. > > http://www.gentoo.org/doc/en/handbook/ > The handbook is fine, but doesn't cover the FreeBSD install. I was almost able to do it by finding a FreeBSD 8.x live CD

[gentoo-user] Re: raid1 grub ext4

2011-04-14 Thread James
Dale gmail.com> writes: > > http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml > > http://en.gentoo-wiki.com/wiki/RAID/Software > That talks about using RAID tho. I don't think you have to be using LVM > to use that guide. It just talks about both in one place. Correct, if

[gentoo-user] Re: raid1 grub ext4

2011-04-14 Thread James
Florian Philipp binarywings.net> writes: > Are you sure sda1 and sdb1 are not in use? Did the kernel activate the > already present RAID? Then you have to deactivate it. Use > mdadm --stop /dev/md* AHh! livecd ~ # mdadm --stop /dev/md* mdadm: error opening /dev/md: Is a dire

Re: [gentoo-user] Re: raid1 grub ext4

2011-04-14 Thread Dale
James wrote: Dale gmail.com> writes: http://grub.enbug.org/LVMandRAID Not using lvm at all. Simple raid1 on /boot, /, and swap partitions. I do not need the added complexity of LVM on a simple raid array; I perfectly capable of follow explicit instructions(syntax) and still screw

Re: [gentoo-user] Re: raid1 grub ext4

2011-04-14 Thread Florian Philipp
Am 14.04.2011 17:07, schrieb James: > Florian Philipp binarywings.net> writes: > > >> I don't think the missing partition table is your problem. > > OK, let's assume you are correct, ignoring . > >> However, you might be onto something with the changed sector offset. But >> I don't know en

[gentoo-user] Re: raid1 grub ext4

2011-04-14 Thread James
Florian Philipp binarywings.net> writes: > I don't think the missing partition table is your problem. OK, let's assume you are correct, ignoring . > However, you might be onto something with the changed sector offset. But > I don't know enough of this to help you. Well if I have to reform

[gentoo-user] Re: raid1 grub ext4

2011-04-14 Thread James
Dale gmail.com> writes: > http://grub.enbug.org/LVMandRAID Not using lvm at all. Simple raid1 on /boot, /, and swap partitions. I do not need the added complexity of LVM on a simple raid array; I perfectly capable of follow explicit instructions(syntax) and still screwing things up, without L

[gentoo-user] Re: GPU lockup with nouveau driver and accel on

2011-04-14 Thread walt
On 04/13/2011 07:09 AM, Doug Hunley wrote: I recently switched from the proprietary driver to the nouveau driver and everything appeared to go well except that during boot I see: GPU lockup detected switching to software fbcon I'd ask on the nouveau mailing list, e.g. gmane.comp.freedesktop.xor

Re: [gentoo-user] Re: raid1 grub ext4

2011-04-14 Thread Paul Hartman
On Thu, Apr 14, 2011 at 7:56 AM, James wrote: > OK, so, I've rebooted and got the md1, md2, md3 renamed by > (whatever) to md125 md127 and md126, respectively. The name of the array probably got weird because your hostname doesn't match the homehost of the array. The array has the host name store

[gentoo-user] http-replicator problem

2011-04-14 Thread Peter Humphrey
Hello list, I've been running http-replicator with default config on my LAN server with no problems until today, when I got this in its log: 14 Apr 2011 11:12:19 INFO: HttpReplicator started 14 Apr 2011 11:12:41 STAT: HttpClient 1 bound to 192.168.2.6 14 Apr 2011 11:12:41 ERROR: HttpClient 1 cau

Re: [gentoo-user] Re: raid1 grub ext4

2011-04-14 Thread Dale
Hi, Just picking the last post I read here. OP. You may want to read this: http://grub.enbug.org/LVMandRAID I know little about LVM and nothing about RAID but found that howto that is pretty straight foreword on how it should work. Also, make sure you are using a version of grub that can s

Re: [gentoo-user] Re: raid1 grub ext4

2011-04-14 Thread Florian Philipp
Am 14.04.2011 15:41, schrieb James: > James tampabay.rr.com> writes: > > >> Not sure what this inconsistency is tell me: > > > I rebooted, using a minimal CD. Dmesg has this information: > > md: bind > md: bind > md: bind > md: bind > md/raid1:md126: active with 2 out of 2 mirrors > md126: de

Re: [gentoo-user] Why can't I emerge telnet?

2011-04-14 Thread Peter Humphrey
On Thursday 14 April 2011 12:55:36 Bill Longman wrote: > BTW, you do not need to escape newlines after "&&". Just goes to show: you learn something new every day - if you're not careful. -- Rgds Peter

Re: [gentoo-user] GPU lockup with nouveau driver and accel on

2011-04-14 Thread Bill Longman
Sorry, Doug, I can't help you but FWIW, my eselect options on my NVidia laptop follow. I do not have gallium or nouveau use flags. 64bit i915 (Intel 915, 945) 64bit i965 (Intel 965, G/Q3x, G/Q4x) 64bit r300 (Radeon R300-R500) 64bit r600 (Radeon R600-R700, Evergreen, Northern Islands) 64bit sw (Sof

[gentoo-user] Re: raid1 grub ext4

2011-04-14 Thread James
James tampabay.rr.com> writes: > Not sure what this inconsistency is tell me: I rebooted, using a minimal CD. Dmesg has this information: md: bind md: bind md: bind md: bind md/raid1:md126: active with 2 out of 2 mirrors md126: detected capacity change from 0 to 1994983948288 md: bind md126:

Re: [gentoo-user] Re: raid1 grub ext4

2011-04-14 Thread Florian Philipp
Am 14.04.2011 14:56, schrieb James: > Florian Philipp binarywings.net> writes: > > > >> Your boot partition is not by any chance a logical partition and >> therefore would be (hd0,4) and not (hd0,0)? > > grub> root (hd0,4) > Error 22: No such partition > > No? > > >> You can try to use 0.90

[gentoo-user] Re: raid1 grub ext4

2011-04-14 Thread James
Florian Philipp binarywings.net> writes: > You can try to use 0.90 metadata by specifying it while creating the > RAID with mdadm. I'm using it myself because AFAIK this is the only way > for grub to handle a single RAID containing partitions instead of > partitions containing RAIDs. Not sure w

[gentoo-user] Re: raid1 grub ext4

2011-04-14 Thread James
Florian Philipp binarywings.net> writes: > Your boot partition is not by any chance a logical partition and > therefore would be (hd0,4) and not (hd0,0)? grub> root (hd0,4) Error 22: No such partition No? > You can try to use 0.90 metadata by specifying it while creating the > RAID with mda

Re: [gentoo-user] Why can't I emerge telnet?

2011-04-14 Thread Bill Longman
> I just have a little script: > > $ cat /usr/local/sbin/up-x > #!/bin/bash > # > # /usr/local/sbin/up-x > # > # Recompile X drivers etc. after kernel upgrade: > # > emerge  -1 --jobs=5 --keep-going `qlist -IC x11-drivers` &&\ >        echo &&\ >        sh /usr/local/src/VirtualBox*run &&\ >      

Re: [gentoo-user] Printing phpmyadmin output

2011-04-14 Thread Peter Humphrey
On Thursday 14 April 2011 11:20:51 Mick wrote: > > Have you guys tried right-clicking within the frame and "open frame in > > new window", then printing? > > Yes! :-) I forgot to try the obvious ... Hmm. Well, it may be obvious to you, but it isn't obvious to me that the page even uses frames

Re: [gentoo-user] Printing phpmyadmin output

2011-04-14 Thread Mick
On 14 April 2011 07:03, Stroller wrote: > > On 13/4/2011, at 8:14pm, Mick wrote: ... I've tried Opera and Chrome; Chrome does the same as Firefox while Opera shows one line giving the phpMyAdmin location and version number. > > Works fine in Safari here. Maybe you could try another

Re: [gentoo-user] Re: configure wlan0 route metric

2011-04-14 Thread Mick
On 14 April 2011 09:13, deadeyes wrote: > deadeyes gmail.com> writes: > > code that can be added in /etc/conf.d/net: > postup() { >   local metric=0 > >   case "${IFACE}" in >      eth0) metric=0 ;; >      eth1) metric=1 ;; >   esac >   ifmetric "${IFACE}" "${metric}" > >   return 0 > } > > Seems

Re: [gentoo-user] Re: configure wlan0 route metric

2011-04-14 Thread Mick
On 13 April 2011 20:52, deadeyes wrote: > Mick gmail.com> writes: >> Whether you set NIC priority in the /etc/conf.d/net file or in a post >> up script, the result is the same.  One NIC will have a higher >> priority than another for ALL connections.  This is because NICs do >> not do NATing.  T

[gentoo-user] Re: configure wlan0 route metric

2011-04-14 Thread deadeyes
deadeyes gmail.com> writes: code that can be added in /etc/conf.d/net: postup() { local metric=0 case "${IFACE}" in eth0) metric=0 ;; eth1) metric=1 ;; esac ifmetric "${IFACE}" "${metric}" return 0 } Seems like this works for me as well! :) Thanks for your responses