Re: [gentoo-user] My first initramfs

2013-11-13 Thread covici
Canek Peláez Valdés can...@gmail.com wrote:

 On Tue, Nov 12, 2013 at 3:55 PM, Tanstaafl tansta...@libertytrek.org wrote:
  On 2013-11-12 4:49 PM, Tanstaafl tansta...@libertytrek.org wrote:
 
  Ok, looking into this now...
 
  Reading the referenced wiki page shows this comment:
 
  Introduction and bootloader configuration
 
  To create an initramfs, it is important that you know what
  additional drivers, scripts and tools you need to boot your system.
  For instance, if you use LVM, then you will need to support LVM tools
  on the initramfs. Likewise, if you use software RAID, you need mdadm,
  etc.
 
 
  I thought I'd mentioned/asked this before, but don't recall a
  satisfactory answer...
 
  Ok, up until now, I haven't *had* to 'know' what additional drivers are
  needed by my system to boot.
 
  So... how the heck am I supposed to find out? Trial and error?
 
 
  Further down under the genkernel section has:
 
  Depending on your system, you might want to add one or more of the
  following options:
  Option  Description
  --disklabel Add support for LABEL= settings in your /etc/fstab
  --dmraidAdd support for fake hardware RAID
  --firmware  Add in firmware code found on the system
  --gpg   Add in GnuPG support
  --iscsi Add support for iSCSI
  --luks  Add support for luks encryption containers
  --lvm   Add support for LVM
  --mdadm Add support for software RAID
  --multipath Add support for multiple I/O access towards a SAN
  --zfs   Add support for ZFS
 
 
  So, are these *all* of the potential options? If so, then I can probably
  safely say that all I need is lvm...
 
 You *MUST* add the necessary modules/tools to mount root and/or /usr.
 So if you have an XFS partition on a LVM volume on top of an mdraid,
 and the partition is encrypted, then you need the kernel modules for
 xfs, lvm, mdraid and crypt, and the corresponding userspace tools,
 including fsck.xfs.
 
 You *MAY* add whatever else you want in your initramfs (I add the
 drivers for my USB keyboard, so in case of emergencies I can actually
 type commands), but the only parts you *MUST* include are the ones you
 need to mount (and check) your root and /usr partitions.
 
 I strongly recommend dracut; the modules listed in DRACUT_MODULES are
 usually self explanatory, and it Just Works™.
Hi.  I am using genkernel and openrc and it boots correctly using lvm,
(I have ext2-3 modules built in), but what it does never do is check the
/usr which is on a separate partition before mounting, so /usr is never
checked unless I boot from a live cd and do it myself.  I wonder if
there is any way to get this to be done?



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

 John Covici
 cov...@ccs.covici.com



[gentoo-user] {SOLVED] Flash+nspluginwrapper versus Gnash comparisons?

2013-11-13 Thread Walter Dnes
On Thu, Oct 31, 2013 at 11:15:28PM -0400,  wrote
   I'm getting rather annoyed with Firefox.  I don't want to get into
 that flamewar right now.  I'm trying to migrate to UZBL.  The latest git
 version is a lot better than the stale stable version.  The uzbl-
 ebuild is broken (yes, I've filed a bug), so I pull directly from git
 and build and install to ~/.local.  It's a steep learning curve, and
 I've gradually resolved almost every issue.  The last reason to have
 Firefox or Opera hanging around is Flash.  I subscribe to NHL GameCenter
 Live and Live365.com, so Flash functionality is mandatory for me.
 
   The git version of UZBL requires a recent version of webkit, which
 requires gtk3.  Flash is a gtk2 program, so it doesn't work.

  Correction to the above.  I'm not a C programmer or developer, but I
tweaked the Makefile, and the git version of uzbl now builds with a
recent gtk2, rather than gtk3, and consequently Flash runs fine.  The
tweak consists of changing 1 line in the Makefile from...

ENABLE_GTK3?= auto

...to...

ENABLE_GTK3?= no

  The git version allows you to launch multiple simultaneous instances
*WITH DIFFERENT CONFIGURATION FILES*.  I usually launch using the config
file with plugins disabled.  For the sites where I need Flash, I launch
the with plugin-enabled config.

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



Re: [gentoo-user] Dynamic service runlevel

2013-11-13 Thread Dan Johansson
On 13.11.2013 06:22, Linlin Yan (颜林林) wrote:
 
 On Sun, Nov 10, 2013 at 6:00 PM, Dan Johansson dan.johans...@dmj.nu wrote:
 On 10.11.2013 09:20, Linlin Yan (颜林林) wrote:
 Is it possible to set dynamic service run-level (rc-update) according to
 different kernel version.

 There are different kernel versions in my grub menu, and I need to switch
 between these versions for development purpose. I currently want to disable
 some services under specific kernel version., but I cannot find where to
 customize this. Any suggestion?

 What I have done is to have two different runlevels (default and kde in
 my case) with different services added to each one (the kde runlevel
 starts X, kde, and som other stuff that I do not have in the default
 level). Then I have added softlevel=kde to the parameters for the kernel.
 Hi Dan,

 Thank you very much! That is very helpful.

 What if I want to change the behaviour of sysinit runlevel? Where
 can I change it to another new runlevel for specific kernel version?

 BTW, the services I want to disable is udev{,-mount} for kernel-2.16.31.

Sorry, I can not help you there.

-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***


0x2FB894AD.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


[gentoo-user] slot conflict when trying to emerge xorg-server-1.14.3-r2

2013-11-13 Thread Nicolas Bock
Hi,

emerge --oneshot xorg-server throws this error message:

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

x11-base/xorg-server:0

  (x11-base/xorg-server-1.13.4-r1::gentoo, installed) pulled in by
x11-base/xorg-server:0/1.13.4= required by
(x11-drivers/xf86-video-nv-2.1.20-r1::gentoo, installed)
x11-base/xorg-server:0/1.13.4= required by
(x11-drivers/xf86-video-nouveau-1.0.9::gentoo, installed)
x11-base/xorg-server:0/1.13.4= required by
(x11-drivers/xf86-input-evdev-2.8.1::gentoo, installed)
x11-base/xorg-server:0/1.13.4= required by
(x11-drivers/xf86-video-vesa-2.3.3::gentoo, installed)
x11-base/xorg-server:0/1.13.4= required by
(x11-drivers/xf86-video-fbdev-0.4.4::gentoo, installed)
x11-base/xorg-server:0/1.13.4= required by
(x11-drivers/xf86-input-keyboard-1.7.0::gentoo, installed)
x11-base/xorg-server:0/1.13.4= required by
(x11-drivers/xf86-input-mouse-1.9.0::gentoo, installed)

  (x11-base/xorg-server-1.14.3-r2::gentoo, ebuild scheduled for merge)
pulled in by
(no parents that aren't satisfied by other packages in this slot)

Why isn't xorg-server simply updated and the drivers re-emerged
because of the sub-slot changes?

Thanks,

nick



[gentoo-user] Re: Can we get users more involved in specific testing?

2013-11-13 Thread James
hasufell hasufell at gentoo.org writes:


 Our arch testers are understaffed and often don't really do general
 runtime tests (it's mostly assumed the maintainer knows about runtime
 issues).

 I have often had a hard time to get some random users comment on
 certain packages or even assist on some runtime tests. I don't even
 know how many people use the package I maintain.


When a new package is installed or upgraded, there are notes that the
installer is optioned (and notified upon installation) about the 
package.  Might it be a good idea to put your testing pleadings
in the notes for those how install the package (stable, testing,
experimental or overlay) about how to contact whoever related to
the specific testing you want done? I. E. eselect news or is this
a bad idea?


JFFNMS is one of my favorite packages, so surely I'd respond on that
one. Hell, I often go and find the patches and post bugs pleading to
get documented patches installed on my favorite package.


hth,
James