Re: [gentoo-user] "lvm failed to start"

2012-04-07 Thread Neil Bothwick
On Sat, 7 Apr 2012 17:28:39 +0200, Alan McKinnon wrote:

> > That bug report also showed the correct solution. There's no need to
> > downgrade, just change the locking_dir location from /var/lock
> > to /run/lock. Not only is this simpler and faster, it means another
> > update can't cause the same problem.

> So this makes the how many'eth time you've posted this exact same
> information to the list this week?

About the third, hopefully it won't be needed again :) After a post that
quoted the correct bug report but then the wrong "solution" I couldn't
help myself.

Ironically, I rebooted a headless server yesterday, one on which I'd
updated LVM about a week ago and not changed the config. The box has a
separate /usr on LVM and no initramfs (still on old udev) so nothing
worked after a reboot, especially SSH :(


-- 
Neil Bothwick

How do you know when it's time to tune your bagpipes?


signature.asc
Description: PGP signature


[gentoo-user] «-»: [gentoo-user] Wifi autodisable on lan

2012-04-07 Thread Samuraiii

  
  

  
  I've come across this
http://johanlouwers.blogspot.com/2011/03/linux-check-interface-status.html
  
  But this isn't helping me:
  right now I'm on wifi only but when I run ifconfig I get this for
  eth0 (my lan card)
  
  eth0  Link encap:Ethernet  HWaddr 00:41:70:52:5c:59  
    UP BROADCAST MULTICAST  MTU:1500  Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000 
    RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    Interrupt:46 Base address:0x2000 
  
  so that grep UP will return 1 even if cable isn't plugged in.
  
  But i found ethtool which does what I need so thank you for your
  help.
  S
  



On 2012-04-07 01:08, Michael Mol wrote:

  Ifconfig or iproute2
  On Apr 6, 2012 6:51 PM, "Samuraiii" 
wrote:

Hello,
  
  I'm trying to autodisable wifi when lan cable is plugged
  in.
  I "found" rfkill ebuild which look like something I need
  but I'm clueless where to get state  of the ethernet card.
  
  Is there someone who can help me slove this?
  Thank you for help in advance
  S.
  
 
-- 
   Samuraiii
e-mail: samura...@volny.cz
GnuPG key ID: 0x80C752EA (obtainable on http://pgp.mit.edu)
  Full copy of
public
  timestamp block signatures id-14492 (from
2012-04-06 21:00:09) is included in header of html. 

  

  


-- 
  
Samuraiii
e-mail: samura...@volny.cz
GnuPG key ID: 0x80C752EA
(obtainable on http://pgp.mit.edu)
  Full copy
of public timestamp block
signatures id-14498 (from 2012-04-07 15:00:07) is included in
header of html.
  

  



Re: [gentoo-user] "lvm failed to start"

2012-04-07 Thread Mick
On Saturday 07 Apr 2012 16:28:39 Alan McKinnon wrote:
> On Sat, 7 Apr 2012 11:38:40 +0100
> 
> Neil Bothwick  wrote:
> > On Sat, 7 Apr 2012 02:47:41 -0600, Carlos Sura wrote:
> > > > The problem is that it is trying to write to /var/lock, which is
> > > > on / at this point, rather than /run/lock, which is on a
> > > > writeable tmpfs.
> > > 
> > > I got this error, and saw a bugfile on Gentoo, just downgrade to
> > > your previous working version and you will get it working again.
> > 
> > That bug report also showed the correct solution. There's no need to
> > downgrade, just change the locking_dir location from /var/lock
> > to /run/lock. Not only is this simpler and faster, it means another
> > update can't cause the same problem.
> 
> So this makes the how many'eth time you've posted this exact same
> information to the list this week?

I think Neil makes generous allowances for those of us with volatile memory 
and needs of frequent reboots!  ;-)
-- 
Regards,
Mick


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


Re: [gentoo-user] "lvm failed to start"

2012-04-07 Thread Alan McKinnon
On Sat, 7 Apr 2012 11:38:40 +0100
Neil Bothwick  wrote:

> On Sat, 7 Apr 2012 02:47:41 -0600, Carlos Sura wrote:
> 
> > > The problem is that it is trying to write to /var/lock, which is
> > > on / at this point, rather than /run/lock, which is on a
> > > writeable tmpfs.
> 
> > I got this error, and saw a bugfile on Gentoo, just downgrade to
> > your previous working version and you will get it working again.
> 
> That bug report also showed the correct solution. There's no need to
> downgrade, just change the locking_dir location from /var/lock
> to /run/lock. Not only is this simpler and faster, it means another
> update can't cause the same problem.
> 
> 

So this makes the how many'eth time you've posted this exact same
information to the list this week?

-- 
Alan McKinnnon
alan.mckin...@gmail.com




[gentoo-user] libmp4v2-1.9.1_p479 (was problems with digikam)

2012-04-07 Thread luis jure

i realized my problems trying to rebuild digikam-2.5.0 were related to the
latest version of media-libs/libmp4v2 (1.9.1_p479), that i had upgraded a
couple of days ago.

after masking it and downgrading to libmp4v2-1.9.1, i could compile digikam
again. problems that i was having compiling other packages also
disappeared.



[gentoo-user] multiple bluetooth devices

2012-04-07 Thread wdk@moriah
I am using a single BT usb dongle to communicate over rfcomm with two BT 
Arduino based devices.  Individually they work fine but if one is connected (to 
rfcomm1), but any attempt to use the other (rfcomm0) fails and knocks the first 
into limbo requiring recovery.

The BT spec implies up to 8 clients can communicate over a single BT device.  
Ive also tried using different channels for each but the clients look like they 
are channel 1 only.

Can anyone see a way around this or will I need to do some kind of polling to 
make sure the other device isn't using it before attempting comms?

The server is using bluez 4 with the standard gentoo files with the two devices 
parameters set in /etc/bluetooth/rfcomm.conf.

BillK


Re: [gentoo-user] "lvm failed to start"

2012-04-07 Thread Neil Bothwick
On Sat, 7 Apr 2012 02:47:41 -0600, Carlos Sura wrote:

> > The problem is that it is trying to write to /var/lock, which is on /
> > at this point, rather than /run/lock, which is on a writeable tmpfs.

> I got this error, and saw a bugfile on Gentoo, just downgrade to your
> previous working version and you will get it working again.

That bug report also showed the correct solution. There's no need to
downgrade, just change the locking_dir location from /var/lock
to /run/lock. Not only is this simpler and faster, it means another
update can't cause the same problem.


-- 
Neil Bothwick

When there's a will, I want to be in it.


signature.asc
Description: PGP signature


Re: [gentoo-user] FFTOOLS flags?

2012-04-07 Thread Stroller

On 6 April 2012, at 13:42, Volker Armin Hemmann wrote:
>> … 
>> So my question still stands, does anyone know where there FFTOOLS
>> flags are documented?
> 
> some are - here :
> http://wiki.multimedia.cx
> 
> and for others: there is always google…

LOL. Because you'd be having a laugh if you were suggesting that the 
Gentoo-devs should properly document their USE flags.

I made a polite request for them to do so on the -dev list in 2004 (I'm pretty 
sure I did twice) - this is an area in which there has been no improvement in 8 
freakin' years!

Stroller.




Re: [gentoo-user] "lvm failed to start"

2012-04-07 Thread Carlos Sura
On 5 April 2012 15:42, Neil Bothwick  wrote:

> On Thu, 05 Apr 2012 17:59:42 +0200, Dan Johansson wrote:
>
> > > > I have a similar thing on my ~x86, but the difference is that I know
> > > > why I get it. I have successfully be able to create an initramfs
> > > > that does a vgscan, vgchange -a y and mounts /usr (which is on
> > > > LVM). But now I (naturally) I get "LVM failed to start" (and of
> > > > cause "failed to mount /usr) when openrc processes the
> > > > init-scripts.
> > >
> > > This is not down to your initramfs, see the previously linked bug.
> >
> > What do you mean by "This is not down to your initramfs"?
> > With the new "C:\" concept of udev /usr needs to be mounted
> > before /sbin/init is run and as I am using LVM, LVM needs to be started
> > before /sbin/init as well - or have I missed something here?
>
> You are getting this error from openrc, which means the initramfs
> has already done its stuff and passed control to init on the real root
> partition. At this point /usr is already mounted, it is the openrc
> startup of LVM that is failing, because it is trying to write a lockfile
> to a read-only filesystem, which would be the case even if you were not
> using an initramfs.
>
> The problem is that it is trying to write to /var/lock, which is on / at
> this point, rather than /run/lock, which is on a writeable tmpfs.
>
>
> --
> Neil Bothwick
>
> Bus: (n.) a connector you plug money into, something like a slot machine.
>


I got this error, and saw a bugfile on Gentoo, just downgrade to your
previous working version and you will get it working again.
-- 
Carlos Sura.-
www.carlossura.com


[gentoo-user] /etc/pm/sleep.d/ problem

2012-04-07 Thread Grant
My Dell XPS 13 Ultrabook goes to maximum brightness whenever I close
the top and I have to execute the following command in order to
control the brightness again:

echo 0 > /sys/class/backlight/intel_backlight/brightness

The following script in /etc/pm/sleep.d/ is said to fix the problem:

http://ubuntuforums.org/showpost.php?p=11783826&postcount=40

I created it and made it executable but it doesn't work for me.  Does
anyone know what the problem might be?

- Grant



Re: [gentoo-user] Wifi autodisable on lan

2012-04-07 Thread Neil Bothwick
On Sat, 07 Apr 2012 00:48:09 +0200, Samuraiii wrote:

> I'm trying to autodisable wifi when lan cable is plugged in.
> I "found" rfkill ebuild which look like something I need but I'm
> clueless where to get state  of the ethernet card.

You could do this with ifplugd, but the easiest way is with Wicd, which
can run actions on connection and disconnection of any interface.


-- 
Neil Bothwick

Justify my text? I'm sorry but it has no excuse.


signature.asc
Description: PGP signature