Re: [gentoo-user] Is it sefe to unmerge?

2008-02-13 Thread Alan McKinnon
On Wednesday 13 February 2008, Sergey Kobzar wrote:
  attr provides extended attributes to ext2/3 and XFS file systems,
  used by selinux and posix capabilities. If you use these features,
  you already are aware of it.

 So, if I use reiserfs w/o ext attrs (option in kernel), I don't need
 it probably. Correct?

You certainly don't need it, as attr doesn't support reiser. I'm looking 
at my own reiser-based machine and wondering why on earth I ever merged 
it myself 

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re[2]: [gentoo-user] Is it sefe to unmerge?

2008-02-13 Thread Sergey Kobzar
Thanks, Alan!

Wednesday, February 13, 2008, 7:00:51 PM, you wrote:

 On Wednesday 13 February 2008, Sergey Kobzar wrote:
  attr provides extended attributes to ext2/3 and XFS file systems,
  used by selinux and posix capabilities. If you use these features,
  you already are aware of it.

 So, if I use reiserfs w/o ext attrs (option in kernel), I don't need
 it probably. Correct?

 You certainly don't need it, as attr doesn't support reiser. I'm looking
 at my own reiser-based machine and wondering why on earth I ever merged
 it myself 

 -- 
 Alan McKinnon
 alan dot mckinnon at gmail dot com


-- 
Sergey

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Is it sefe to unmerge?

2008-02-13 Thread Mick
On Wednesday 13 February 2008, Sergey Kobzar wrote:
 Thanks, Alan!

 Wednesday, February 13, 2008, 7:00:51 PM, you wrote:
  On Wednesday 13 February 2008, Sergey Kobzar wrote:
   attr provides extended attributes to ext2/3 and XFS file systems,
   used by selinux and posix capabilities. If you use these features,
   you already are aware of it.
 
  So, if I use reiserfs w/o ext attrs (option in kernel), I don't need
  it probably. Correct?
 
  You certainly don't need it, as attr doesn't support reiser. I'm looking
  at my own reiser-based machine and wondering why on earth I ever merged
  it myself

# equery depends attr
[ Searching for packages depending on attr... ]
sys-apps/acl-2.2.45 (=sys-apps/attr-2.4)
sys-apps/coreutils-6.9-r1 (acl? sys-apps/attr)

YMMV.
-- 
Regards,
Mick


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


Re: [gentoo-user] Is it sefe to unmerge?

2008-02-13 Thread Alan McKinnon
On Wednesday 13 February 2008, Mick wrote:
 On Wednesday 13 February 2008, Sergey Kobzar wrote:
  Thanks, Alan!
 
  Wednesday, February 13, 2008, 7:00:51 PM, you wrote:
   On Wednesday 13 February 2008, Sergey Kobzar wrote:
attr provides extended attributes to ext2/3 and XFS file
systems, used by selinux and posix capabilities. If you use
these features, you already are aware of it.
  
   So, if I use reiserfs w/o ext attrs (option in kernel), I don't
   need it probably. Correct?
  
   You certainly don't need it, as attr doesn't support reiser. I'm
   looking at my own reiser-based machine and wondering why on earth
   I ever merged it myself

 # equery depends attr
 [ Searching for packages depending on attr... ]
 sys-apps/acl-2.2.45 (=sys-apps/attr-2.4)
 sys-apps/coreutils-6.9-r1 (acl? sys-apps/attr)

True, but mine is in world.

I probably ran my eye down a list of packages one day and ran 
'emerge -av list of possibly useful stuff' without putting a whole lot 
of thought into it



-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Is it sefe to unmerge?

2008-02-13 Thread Dale

Alan McKinnon wrote:

On Wednesday 13 February 2008, Sergey Kobzar wrote:
  

attr provides extended attributes to ext2/3 and XFS file systems,
used by selinux and posix capabilities. If you use these features,
you already are aware of it.
  

So, if I use reiserfs w/o ext attrs (option in kernel), I don't need
it probably. Correct?



You certainly don't need it, as attr doesn't support reiser. I'm looking 
at my own reiser-based machine and wondering why on earth I ever merged 
it myself 

  


I have attr on here as well.  This is what equery says:

[EMAIL PROTECTED] / # equery depends attr
[ Searching for packages depending on attr... ]
app-backup/dar-2.2.6 (acl? sys-apps/attr)
gnome-base/gnome-vfs-2.20.1-r1 (acl? sys-apps/attr)
sys-apps/acl-2.2.45 (=sys-apps/attr-2.4)
sys-apps/coreutils-6.9-r1 (xattr? sys-apps/attr)
[EMAIL PROTECTED] / #

Seems like a few packages depend on it here.  OP, have you had any of 
these installed at some point?


Dale

:-)  :-) 
--

gentoo-user@lists.gentoo.org mailing list



[gentoo-user] portage blocking portage update

2020-12-08 Thread Walter Dnes
  I just did an "emerge --sync", and was told to update portage.  But it
seems that portage 3.0.8 built with python 3.7 is blocking portage 3.0.9
with python 3.8.  I obviously can't remove portage to fix the block .
Note "grep -i python /etc/portage/make.conf" shows no output at all.  In
package.use, PYTHON_TARGETS: and PYTHON_SINGLE_TARGET: are commented out.

[i3][root][~] grep -i python /etc/portage/make.conf
[i3][root][~] grep -i python /etc/portage/package.use/package.use
# */* PYTHON_TARGETS: python3_6 python3_7
# */* PYTHON_SINGLE_TARGET: -* python3_6
app-emulation/qemu aio alsa fdt opengl usb vhost-net gtk sdl curl ssh 
-bluetooth -iscsi -pulseaudio -rbd -smartcard -usbredir -spice -accessibility 
-caps -debug -glusterfs -filecaps -ncurses  -pin-upstream-blobs -python -sasl 
-sdl2 -seccomp -selinux -static -static -static-softmmu -static-user -tci -test 
-tls -vde -virtfs -xattr -xen -xfs
dev-lang/python sqlite
dev-libs/libxml2 python
media-gfx/gimp exif python tiff


Any ideas?  The build attempt follows...


[i3][root][~] emerge --oneshot sys-apps/portage
Calculating dependencies... done!
[ebuild U  ] sys-apps/portage-3.0.9 [3.0.8] PYTHON_TARGETS="python3_8* 
-python3_7*" 

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

sys-apps/portage:0

  (sys-apps/portage-3.0.9:0/0::gentoo, ebuild scheduled for merge) USE="(ipc) 
native-extensions xattr -apidoc -build -doc -gentoo-dev -rsync-verify 
(-selinux) -test" PYTHON_TARGETS="python3_8 (-pypy3) -python3_6 -python3_7 
-python3_9" pulled in by
sys-apps/portage (Argument)

  (sys-apps/portage-3.0.8:0/0::gentoo, installed) USE="(ipc) native-extensions 
xattr -apidoc -build -doc -gentoo-dev -rsync-verify (-selinux) -test" 
PYTHON_TARGETS="python3_7 (-pypy3) -python3_6 -python3_8 -python3_9" pulled in 
by

sys-apps/portage[python_targets_pypy3(-)?,python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_pypy3(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)]
 required by (app-portage/gentoolkit-0.5.0-r2:0/0::gentoo, installed) 
USE="-test" PYTHON_TARGETS="python3_7 (-pypy3) -python3_6 -python3_8 -python3_9"

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] LVM2 compile error. Clock_gettime

2013-06-29 Thread Bruce Hill
On Sat, Jun 29, 2013 at 04:53:47AM -0500, Dale wrote:
 
 Now that you mention it, it may have been when the separate /usr init
 thingy was going on that I had to add it.  That could be it.  Well, if I
 have to upgrade before they have a fix, I'll give it a shot and see what
 happens.  I suspect it will be fixed at some point and most likely in
 the next update anyway.
 
 Dale

You need to get over that it will be fixed at some point, and believe it
when every one tells you that separate /usr without an initrd is working fine
with present stable udev. Here's proof on a wee fileserver, which has neavuh
had an initrd and always had a separate /usr:

mingdao@server ~ $ eix sys-fs/udev
[I] sys-fs/udev
 Available versions:  197-r8^t 200^t 204^t **^t {{acl doc 
+firmware-loader gudev hwdb introspection keymap +kmod +openrc selinux 
static-libs}}
 Installed versions:  204^t(02:40:22 PM 06/26/2013)(acl firmware-loader 
kmod openrc -doc -gudev -hwdb -introspection -keymap -selinux -static-libs)
 Homepage:http://www.freedesktop.org/wiki/Software/systemd
 Description: Linux dynamic and persistent device naming support 
(aka userspace devfs)

[I] sys-fs/udev-init-scripts
 Available versions:  23^t 25^t 26^t **^t
 Installed versions:  26^t(02:40:36 PM 06/26/2013)
 Homepage:http://www.gentoo.org
 Description: udev startup scripts for openrc

Found 2 matches.
mingdao@server ~ $ df -hT
Filesystem   Type  Size  Used Avail Use% Mounted on
rootfs   rootfs2.0G  109M  1.9G   6% /
/dev/rootxfs   2.0G  109M  1.9G   6% /
devtmpfs devtmpfs  3.0G  4.0K  3.0G   1% /dev
tmpfstmpfs 3.0G  592K  3.0G   1% /run
shm  tmpfs 3.0G 0  3.0G   0% /dev/shm
/dev/mapper/system-var   xfs10G  717M  9.3G   8% /var
/dev/mapper/system-usr   xfs10G  4.4G  5.7G  44% /usr
/dev/mapper/system-home  xfs   6.0G  5.8G  251M  96% /home
/dev/mapper/storage-photos   xfs   500G   19G  482G   4% /photos
/dev/mapper/storage-backups  xfs   500G  262G  239G  53% /backups
/dev/mapper/storage-offload  fuseblk   300G  234G   67G  78% /offload
/dev/mapper/storage-peterxfs25G  1.7G   24G   7% /peter
/dev/mapper/storage-jeremiah xfs10G  3.6G  6.5G  36% /jeremiah
mingdao@server ~ $ ls -l /boot/
total 25156
lrwxrwxrwx 1 root root  17 Jan 10 13:26 System.map - System.map-3.4.24
-rw-r--r-- 1 root root 2205716 Jan 10 13:25 System.map-3.4.24
-rw-r--r-- 1 root root 1812882 Sep  6  2012 System.map-3.4.9-gentoo
-rw-r--r-- 1 root root 1823240 Aug  9  2012 System.map-3.5.0
-rw-r--r-- 1 root root 1823619 Aug 16  2012 System.map-3.5.2
lrwxrwxrwx 1 root root  23 Dec 28  2012 System.map.old - 
System.map-3.4.9-gentoo
-rw-r--r-- 1 root root 512 Feb 21  2012 boot.0800
-rw-r--r-- 1 root root 512 Feb 21  2012 boot.0810
-rw-r--r-- 1 root root 512 Feb 21  2012 boot.0820
-rw-r--r-- 1 root root 512 Feb 21  2012 boot.0830
lrwxrwxrwx 1 root root  13 Jan 10 13:26 config - config-3.4.24
-rw-r--r-- 1 root root   62528 Jan 10 13:25 config-3.4.24
-rw-r--r-- 1 root root   63522 Sep  6  2012 config-3.4.9-gentoo
-rw-r--r-- 1 root root   64644 Aug  9  2012 config-3.5.0
-rw-r--r-- 1 root root   64644 Aug 16  2012 config-3.5.2
lrwxrwxrwx 1 root root  19 Dec 28  2012 config.old - config-3.4.9-gentoo
lrwxrwxrwx 1 root root  14 Jan 10 13:25 vmlinuz - vmlinuz-3.4.24
-rw-r--r-- 1 root root 4671120 Jan 10 13:24 vmlinuz-3.4.24
-rw-r--r-- 1 root root 4349568 Sep  6  2012 vmlinuz-3.4.9-gentoo
-rw-r--r-- 1 root root 4388464 Aug  9  2012 vmlinuz-3.5.0
-rw-r--r-- 1 root root 4390672 Aug 16  2012 vmlinuz-3.5.2
lrwxrwxrwx 1 root root  20 Dec 28  2012 vmlinuz.old - vmlinuz-3.4.9-gentoo
mingdao@server ~ $ cat /etc/lilo.conf
# Faster, but won't work on all systems:
compact
# Should work for most systems, and do not have the sector limit:
lba32
default = Gentoo 
# MBR to install LILO to:
boot = /dev/md0
raid-extra-boot = mbr-only
map = /boot/.map

install = /boot/boot-menu.b   # Note that for lilo-22.5.5 or later you
  # do not need boot-{text,menu,bmp}.b in
  # /boot, as they are linked into the lilo
  # binary.

menu-scheme=Wb
prompt
# If you always want to see the prompt with a 15 second timeout:
timeout=50
append=panic=10 nomce dolvm domdadm rootfstype=xfs

#
# End LILO global section
#

#
# Linux bootable partition config begins
#
image = /boot/vmlinuz
root = /dev/md0
label = Gentoo
read-only  # Partitions should be mounted read-only for checking
image = /boot/vmlinuz.old
root = /dev/md0
label = Gentoo-def
read-only  # Partitions should be mounted read-only for checking
#
# Linux bootable partition config ends
#

mingdao@server ~ $


Get over it and go back to udev

Re: [gentoo-user] LVM2 compile error. Clock_gettime

2013-06-29 Thread Dale
Bruce Hill wrote:
 On Sat, Jun 29, 2013 at 04:53:47AM -0500, Dale wrote:
 Now that you mention it, it may have been when the separate /usr init
 thingy was going on that I had to add it.  That could be it.  Well, if I
 have to upgrade before they have a fix, I'll give it a shot and see what
 happens.  I suspect it will be fixed at some point and most likely in
 the next update anyway.

 Dale
 You need to get over that it will be fixed at some point, and believe it
 when every one tells you that separate /usr without an initrd is working fine
 with present stable udev. Here's proof on a wee fileserver, which has neavuh
 had an initrd and always had a separate /usr:

 mingdao@server ~ $ eix sys-fs/udev
 [I] sys-fs/udev
  Available versions:  197-r8^t 200^t 204^t **^t {{acl doc 
 +firmware-loader gudev hwdb introspection keymap +kmod +openrc selinux 
 static-libs}}
  Installed versions:  204^t(02:40:22 PM 06/26/2013)(acl firmware-loader 
 kmod openrc -doc -gudev -hwdb -introspection -keymap -selinux -static-libs)
  Homepage:http://www.freedesktop.org/wiki/Software/systemd
  Description: Linux dynamic and persistent device naming support 
 (aka userspace devfs)

 [I] sys-fs/udev-init-scripts
  Available versions:  23^t 25^t 26^t **^t
  Installed versions:  26^t(02:40:36 PM 06/26/2013)
  Homepage:http://www.gentoo.org
  Description: udev startup scripts for openrc

 Found 2 matches.
 mingdao@server ~ $ df -hT
 Filesystem   Type  Size  Used Avail Use% Mounted on
 rootfs   rootfs2.0G  109M  1.9G   6% /
 /dev/rootxfs   2.0G  109M  1.9G   6% /
 devtmpfs devtmpfs  3.0G  4.0K  3.0G   1% /dev
 tmpfstmpfs 3.0G  592K  3.0G   1% /run
 shm  tmpfs 3.0G 0  3.0G   0% /dev/shm
 /dev/mapper/system-var   xfs10G  717M  9.3G   8% /var
 /dev/mapper/system-usr   xfs10G  4.4G  5.7G  44% /usr
 /dev/mapper/system-home  xfs   6.0G  5.8G  251M  96% /home
 /dev/mapper/storage-photos   xfs   500G   19G  482G   4% /photos
 /dev/mapper/storage-backups  xfs   500G  262G  239G  53% /backups
 /dev/mapper/storage-offload  fuseblk   300G  234G   67G  78% /offload
 /dev/mapper/storage-peterxfs25G  1.7G   24G   7% /peter
 /dev/mapper/storage-jeremiah xfs10G  3.6G  6.5G  36% /jeremiah
 mingdao@server ~ $ ls -l /boot/
 total 25156
 lrwxrwxrwx 1 root root  17 Jan 10 13:26 System.map - System.map-3.4.24
 -rw-r--r-- 1 root root 2205716 Jan 10 13:25 System.map-3.4.24
 -rw-r--r-- 1 root root 1812882 Sep  6  2012 System.map-3.4.9-gentoo
 -rw-r--r-- 1 root root 1823240 Aug  9  2012 System.map-3.5.0
 -rw-r--r-- 1 root root 1823619 Aug 16  2012 System.map-3.5.2
 lrwxrwxrwx 1 root root  23 Dec 28  2012 System.map.old - 
 System.map-3.4.9-gentoo
 -rw-r--r-- 1 root root 512 Feb 21  2012 boot.0800
 -rw-r--r-- 1 root root 512 Feb 21  2012 boot.0810
 -rw-r--r-- 1 root root 512 Feb 21  2012 boot.0820
 -rw-r--r-- 1 root root 512 Feb 21  2012 boot.0830
 lrwxrwxrwx 1 root root  13 Jan 10 13:26 config - config-3.4.24
 -rw-r--r-- 1 root root   62528 Jan 10 13:25 config-3.4.24
 -rw-r--r-- 1 root root   63522 Sep  6  2012 config-3.4.9-gentoo
 -rw-r--r-- 1 root root   64644 Aug  9  2012 config-3.5.0
 -rw-r--r-- 1 root root   64644 Aug 16  2012 config-3.5.2
 lrwxrwxrwx 1 root root  19 Dec 28  2012 config.old - config-3.4.9-gentoo
 lrwxrwxrwx 1 root root  14 Jan 10 13:25 vmlinuz - vmlinuz-3.4.24
 -rw-r--r-- 1 root root 4671120 Jan 10 13:24 vmlinuz-3.4.24
 -rw-r--r-- 1 root root 4349568 Sep  6  2012 vmlinuz-3.4.9-gentoo
 -rw-r--r-- 1 root root 4388464 Aug  9  2012 vmlinuz-3.5.0
 -rw-r--r-- 1 root root 4390672 Aug 16  2012 vmlinuz-3.5.2
 lrwxrwxrwx 1 root root  20 Dec 28  2012 vmlinuz.old - 
 vmlinuz-3.4.9-gentoo
 mingdao@server ~ $ cat /etc/lilo.conf
 # Faster, but won't work on all systems:
 compact
 # Should work for most systems, and do not have the sector limit:
 lba32
 default = Gentoo 
 # MBR to install LILO to:
 boot = /dev/md0
 raid-extra-boot = mbr-only
 map = /boot/.map

 install = /boot/boot-menu.b   # Note that for lilo-22.5.5 or later you
   # do not need boot-{text,menu,bmp}.b in
   # /boot, as they are linked into the lilo
   # binary.

 menu-scheme=Wb
 prompt
 # If you always want to see the prompt with a 15 second timeout:
 timeout=50
 append=panic=10 nomce dolvm domdadm rootfstype=xfs

 #
 # End LILO global section
 #

 #
 # Linux bootable partition config begins
 #
 image = /boot/vmlinuz
 root = /dev/md0
 label = Gentoo
 read-only  # Partitions should be mounted read-only for checking
 image = /boot/vmlinuz.old
 root = /dev/md0
 label = Gentoo-def
 read-only  # Partitions should be mounted read-only

Re: [gentoo-user] My first initramfs

2013-11-17 Thread Tanstaafl

On 2013-11-12 5:50 PM, Canek Peláez Valdés can...@gmail.com wrote:

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.


Ok, re-reading these messages, this explanation is probably the most 
significant - thanks Canek - but I still have a few questions...


Maybe part of my confusion stems from use of the word 'modules' above? 
Remember, the system I am talking about has always had kernel module 
support completely disabled (everything is built into the kernel).


So, my /usr is reiserfs (built into the kernel - and please no 
filesystem flame-war comments, it is what it is) on LVM (built into the 
kernel) on hardware RAID (driver built into the kernel), with no 
encryption involved.


So, am I correct that I don't need ANY 'modules' (never have, and don't 
want them), leaving only the userspace tools for lvm and reiserfsck?


If so then the only other question is, how to build an initramfs with 
just these...



I strongly recommend dracut; the modules listed in DRACUT_MODULES are
usually self explanatory, and it Just Works™.


Ok, well, emerge -pvuDN dracut gives:


[ebuild  N~] sys-kernel/dracut-034-r1  USE=-debug -device-mapper -net (-selinux) 
DRACUT_MODULES=-biosdevname -bootchart -btrfs -caps -cifs -crypt -crypt-gpg -crypt-loop -dash 
-dmraid -dmsquash-live -gensplash -iscsi -livenet -lvm -mdraid -multipath -nbd -nfs -plymouth 
-ssh-client -syslog -systemd 272 kB


First question: I don't see reference to reiserfs there anywhere, so how 
do I get reiserfsck (and is that all I need?) support into the initrams?


Second question: I guess I'd need to enable the device-mapper USE flag 
for dracut, but, since I do not use ANY kernel modules, can I ignore all 
of the 'DRACUT_MODULES'? Or do 'DRACUT_MODULES' have nothing to do with 
kernel modules?


Thanks to all for your patience...



Re: [gentoo-user] Is it sefe to unmerge?

2008-02-13 Thread Alan McKinnon
On Wednesday 13 February 2008, Sergey Kobzar wrote:
 Hi

 'emerge -pv --depclean' shows that these packages may be unmerged:
snip detail
  app-crypt/hashalot
  sys-libs/pwdb
  sys-apps/attr

 Is it safe to remove they from the system? This is mail server and
 has mostly no additional packages except exim, mysql, spamassassin
 and some other.

This means that you never explicitly merged them, they are not in world 
and are no longer required by anything else. There are normally three 
reasons:

- you merged something that needed these packages, then unmerged them 
later, leaving these dependencies orphaned
- you merged something else that used them, and in a recent update they 
are now using something else that provides the same functionality
- they were required by some USE flag you once had, and you have now 
changed your USE, so the deps are no longer required.

You'll need to look at each package and figure out if YOU need them, as 
we can't tell you that. I might think that you don't need your wife 
under any circumstances, and you might strongly disagree :-)

I once knew what hashalot does. I forgot. It's something to do with 
cryptography
pwdb is used as a password and user account configuration thingy. Looks 
pretty important :-)
attr provides extended attributes to ext2/3 and XFS file systems, used 
by selinux and posix capabilities. If you use these features, you 
already are aware of it.

When you figure out which ones to keep, it's best to put them in your 
world file. Either edit /var/lib/portage/world and stick the name at 
the end, or run 'emerge -n package-name'

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re[2]: [gentoo-user] Is it sefe to unmerge?

2008-02-13 Thread Sergey Kobzar
Hi Dale,

Thursday, February 14, 2008, 3:10:09 AM, you wrote:

 Alan McKinnon wrote:
 On Wednesday 13 February 2008, Sergey Kobzar wrote:
   
 attr provides extended attributes to ext2/3 and XFS file systems,
 used by selinux and posix capabilities. If you use these features,
 you already are aware of it.
   
 So, if I use reiserfs w/o ext attrs (option in kernel), I don't need
 it probably. Correct?
 

 You certainly don't need it, as attr doesn't support reiser. I'm looking 
 at my own reiser-based machine and wondering why on earth I ever merged 
 it myself 

   

 I have attr on here as well.  This is what equery says:

 [EMAIL PROTECTED] / # equery depends attr
 [ Searching for packages depending on attr... ]
 app-backup/dar-2.2.6 (acl? sys-apps/attr)
 gnome-base/gnome-vfs-2.20.1-r1 (acl? sys-apps/attr)
 sys-apps/acl-2.2.45 (=sys-apps/attr-2.4)
 sys-apps/coreutils-6.9-r1 (xattr? sys-apps/attr)
 [EMAIL PROTECTED] / #

 Seems like a few packages depend on it here.  OP, have you had any of 
 these installed at some point?

In my system only one package which requires attr is
sys-apps/coreutils. But because acl support is disabled, it does not
need attr too.


 Dale

 :-)  :-) 


-- 
Sergey

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] QEMU unable to initialize audio

2015-12-24 Thread Ian Bloss
Libsdl and libsdl2 built with sound use flag on host?

On Thu, Dec 24, 2015, 16:04  <waltd...@waltdnes.org> wrote:

>   Any ideas?  The error message is...
>
> sdl: SDL failed to initialize audio subsystem
> sdl: Reason: No available audio device
> audio: Could not init `sdl' audio driver
>
>   I get this both with a Gentoo guest...
>
> #!/bin/bash
> qemu-system-i386 -enable-kvm \
>-cpu host -display gtk \
>-drive file=gentoo32.img,format=raw \
>-drive file=linuxswap.img,format=raw \
>-net nic,model=virtio \
>-rtc base=localtime,clock=host \
>-net user,hostname=gentoovm,hostfwd=tcp::2022-:22 \
>-m 3G -name "Gentoo VM" \
>-soundhw sb16 -parallel none \
>${@}
>
> ...and an OS/2 Warp 4 guest...
>
> #!/bin/bash
> qemu-system-i386 -enable-kvm \
>-cpu coreduo -monitor vc \
>-drive file=os2.img,format=raw \
>-net nic,model=pcnet \
>-m size=64 -name "OS/2 VM" \
>-soundhw sb16 -vga std \
>${@}
>
>   On the host, from "emerge -pv qemu"...
>
> app-emulation/qemu-2.4.1-r2::gentoo USE="aio alsa curl fdt gtk gtk2 jpeg
> ncurses opengl pin-upstream-blobs png sdl sdl2 ssh threads usb vhost-net
> vnc -accessibility -bluetooth -caps -debug -filecaps (-glusterfs)
> -infiniband -iscsi -lzo -nfs -nls -numa -pulseaudio -python -rbd -sasl
> -seccomp (-selinux) -smartcard -snappy -spice -static -static-softmmu
> -static-user -systemtap -tci {-test} -tls -usbredir -uuid -vde -virtfs -vte
> -xattr -xen -xfs"
> PYTHON_TARGETS="python2_7"
> QEMU_SOFTMMU_TARGETS="i386 x86_64"
> QEMU_USER_TARGETS="i386 x86_64"
>
> --
> Walter Dnes <waltd...@waltdnes.org>
> I don't run "desktop environments"; I run useful applications
>
>


[gentoo-user] QEMU unable to initialize audio

2015-12-24 Thread waltdnes
  Any ideas?  The error message is...

sdl: SDL failed to initialize audio subsystem
sdl: Reason: No available audio device
audio: Could not init `sdl' audio driver

  I get this both with a Gentoo guest...

#!/bin/bash
qemu-system-i386 -enable-kvm \
   -cpu host -display gtk \
   -drive file=gentoo32.img,format=raw \
   -drive file=linuxswap.img,format=raw \
   -net nic,model=virtio \
   -rtc base=localtime,clock=host \
   -net user,hostname=gentoovm,hostfwd=tcp::2022-:22 \
   -m 3G -name "Gentoo VM" \
   -soundhw sb16 -parallel none \
   ${@}

...and an OS/2 Warp 4 guest...

#!/bin/bash
qemu-system-i386 -enable-kvm \
   -cpu coreduo -monitor vc \
   -drive file=os2.img,format=raw \
   -net nic,model=pcnet \
   -m size=64 -name "OS/2 VM" \
   -soundhw sb16 -vga std \
   ${@}

  On the host, from "emerge -pv qemu"...

app-emulation/qemu-2.4.1-r2::gentoo USE="aio alsa curl fdt gtk gtk2 jpeg 
ncurses opengl pin-upstream-blobs png sdl sdl2 ssh threads usb vhost-net vnc 
-accessibility -bluetooth -caps -debug -filecaps (-glusterfs) -infiniband 
-iscsi -lzo -nfs -nls -numa -pulseaudio -python -rbd -sasl -seccomp (-selinux) 
-smartcard -snappy -spice -static -static-softmmu -static-user -systemtap -tci 
{-test} -tls -usbredir -uuid -vde -virtfs -vte -xattr -xen -xfs"
PYTHON_TARGETS="python2_7"
QEMU_SOFTMMU_TARGETS="i386 x86_64"
QEMU_USER_TARGETS="i386 x86_64"

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



[gentoo-user] Tips for fresh install with GRUB2+RAID1+LVM2

2015-05-17 Thread Nuno Magalhães
Hello Gentoo World,


TL;DR warning

I've tested Gentoo and liked it, tried to tune it a bit and borked it. :)

I want to use mdadm to create a RAID1 with 2 SATA disks. From what i
gather, i'll need (bootable)  0xFD partitions, i'll use full disk for
them and no separate /boot (unless required). Is GPT required or can i
stick to MBR? Is fdisk safe? Seems usable to me.

Is 0.90 metadata mandatory for RAID1? What's the recommended version?

I've seen manuals that use mknode, but discovered that mdadm --create
will create a /dev/md for me. (Later i want to get rid of systemd-udev
and use eudev instead.)
Also, why so many tty* and similar in /dev? Is there a way to make it
less crowded? Just a whim...

Does GRUB2 (rather grub2-install) handle well RAID1 stuff or does it
get confused?

What's the difference between dodmraid and domdadm? I don't want to
use fakeraid, so is it safe to just use domdadm?

Then i want to use LVM on the /dev/md and setup my / in an LV. This
seems straightforward (as far as creation goes). Any tips here? I
remember you could tune LVM LVs to the underlying RAID stripe.

I intend to use XFS for /. Incidentally, if i later decide to fork
out /usr (or some other subdirectory) into it's own LV, is it just
a mater of copying its contents and updating /etc/fstab? Or should i
just do it now and expand the LVs if later required (especially if i
want to use different filesystems)?

The problem will be (has been) getting it to boot.

If i have 2 kernels in /boot, shouldn't grub2-mkconfig generate 2
entries in the GRUB boot menu (not counting the recovery entries)?

I read somewhere that genkernel is a bad choice for creating the
kernel because it un/sets a CONFIG_ flag that interferes with RAID/LVM
(sorry, i should've noted where/what). I use make menuconfig anyway,
it's fun. I do use genkernel to create the initramfs, i'm assuming
genkernel --lvm --mdadm --bootloader=grub --install initramfs would
suffice?

I'm assuming the key will be to make sure /etc/mdadm.conf has the
ARRAY= line and that GRUB has the right parameters in
/etc/default/grub, like
GRUB_PRELOAD_MODULES=raid,lvm
Or mdraid09? Where do these come from, /etc/grub/i386pc? Mine's an
amd64 but that's the only directory i could find.
GRUB_CMDLINE_LINUX_DEFAULT=domdadm dolvm rootfstype=xfs

Are there any USE flags i should be aware of? Currently i'm gonna go
with USE=bindist 3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a
smp ssl unicode -avahi -pulseaudio -selinux -gnome -kde -systemd
-bluetooth -ieee1394 -networkmanager -fortran
Plus CPU_FLAGS_X86 based on an emerge news item about processor flags.
Neither RAID nor LVM should have an impact, application-wise.

While the Handbook is awesome, it doesn't cover this and all the
information i find is either outdated or conflicting. I had a similar
setup with Debian Wheezy on this same hardware, but that was done
through the debian installer, nifty and under the hood.


Incidentally, the hardware's an Asus M2NPV-VM with 4 SATA II disks.
It's my desktop, not mission-critical, but i want to make the most of
it.

Thanks for the patience and feedback (and the distro!) :)

Cheers,
Nuno



Re[2]: [gentoo-user] Is it sefe to unmerge?

2008-02-13 Thread Sergey Kobzar
Hi Alan,

Wednesday, February 13, 2008, 6:22:33 PM, you wrote:

 On Wednesday 13 February 2008, Sergey Kobzar wrote:
 Hi

 'emerge -pv --depclean' shows that these packages may be unmerged:
 snip detail
  app-crypt/hashalot
  sys-libs/pwdb
  sys-apps/attr

 Is it safe to remove they from the system? This is mail server and
 has mostly no additional packages except exim, mysql, spamassassin
 and some other.

 This means that you never explicitly merged them, they are not in world
 and are no longer required by anything else. There are normally three 
 reasons:

 - you merged something that needed these packages, then unmerged them 
 later, leaving these dependencies orphaned
 - you merged something else that used them, and in a recent update they
 are now using something else that provides the same functionality
 - they were required by some USE flag you once had, and you have now 
 changed your USE, so the deps are no longer required.

Yes, that the theory I know about :)
But looks like they are not in world list of stage3. I'm 99% sure I
didn't merge hashalot  attr (as dependencies too).


 You'll need to look at each package and figure out if YOU need them, as
 we can't tell you that. I might think that you don't need your wife 
 under any circumstances, and you might strongly disagree :-)

:)


 I once knew what hashalot does. I forgot. It's something to do with 
 cryptography

%description
This program will read a passphrase from standard input and print a binary
(not printable) hash to standard output.  The output is suitable for use as
an encryption key.


 pwdb is used as a password and user account configuration thingy. Looks
 pretty important :-)

I think so.

 attr provides extended attributes to ext2/3 and XFS file systems, used
 by selinux and posix capabilities. If you use these features, you 
 already are aware of it.

So, if I use reiserfs w/o ext attrs (option in kernel), I don't need
it probably. Correct?


 When you figure out which ones to keep, it's best to put them in your 
 world file. Either edit /var/lib/portage/world and stick the name at 
 the end, or run 'emerge -n package-name'

Thanks.


 -- 
 Alan McKinnon
 alan dot mckinnon at gmail dot com

-- 
Sergey

-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] [SOLVED] Optimum sound settings for QEMU VM?

2016-04-02 Thread waltdnes
On Mon, Mar 28, 2016 at 10:37:57PM -0400, waltd...@waltdnes.org wrote
>   I'm involved in beta testing Gstreamer 1.x support for HTML5 under
> Pale Moon (a Firefox fork).  So far so good; it works.  I use a QEMU VM
> for some building and testing.  Things work great on a real physical
> machine, but audio absolutely sucks in the QEMU VM.  I get an annoying
> warble-stutter and the playback seems a bit slower than it should be.
> The same thing also happens with mplayer playing a .wav file, so it's
> definitely not a Pale Moon browser problem.
> 
>   The VM gets 3 gigs of RAM (host has 8), 4 gigs of swap space, and 3 of
> the host's 4 cores.  Resources should not be a problem.  Has anybody got
> better performance?  If so, what are your kernel and sound card settings?

  The problem appears to be the "sdl" flag.  It slows down things by
adding one more layer of middleware and overhead.  I also got rid of the
"gtk2" flag, for the same reason.  By building QEMU with "-sdl" and
"-gtk2", I get playback that is indistinguishable from playback on the
host.  Here is the build that works properly "emerge -pv qemu"...

[ebuild   R] app-emulation/qemu-2.5.0-r1::gentoo  USE="aio alsa curl
fdt gtk jpeg ncurses opengl pin-upstream-blobs png snappy ssh threads
usb vhost-net vnc -accessibility -bluetooth -caps -debug -filecaps
(-glusterfs) -gnutls -gtk2 -infiniband -iscsi -lzo -nfs -nls -numa
-pulseaudio -python -rbd -sasl -sdl -sdl2 -seccomp (-selinux) -smartcard
-spice -static -static-softmmu -static-user -systemtap -tci {-test}
-usbredir -uuid -vde -virgl -virtfs -vte -xattr -xen -xfs"
PYTHON_TARGETS="python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64 -aarch64
-alpha -arm -cris -lm32 -m68k -microblaze -microblazeel -mips -mips64
-mips64el -mipsel -moxie -or32 -ppc -ppc64 -ppcemb -s390x -sh4 -sh4eb
-sparc -sparc64 -tricore -unicore32 -xtensa -xtensaeb"
QEMU_USER_TARGETS="i386 x86_64 -aarch64 -alpha -arm -armeb -cris -m68k
-microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32
-mipsn32el -or32 -ppc -ppc64 -ppc64abi32 -ppc64le -s390x -sh4 -sh4eb
-sparc -sparc32plus -sparc64 -tilegx -unicore32"


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



Re: [gentoo-user] My first initramfs

2013-11-17 Thread Canek Peláez Valdés
On Sun, Nov 17, 2013 at 6:57 AM, Tanstaafl tansta...@libertytrek.org wrote:
 On 2013-11-12 5:50 PM, Canek Peláez Valdés can...@gmail.com wrote:

 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.


 Ok, re-reading these messages, this explanation is probably the most
 significant - thanks Canek - but I still have a few questions...

 Maybe part of my confusion stems from use of the word 'modules' above?
 Remember, the system I am talking about has always had kernel module support
 completely disabled (everything is built into the kernel).

In dracut, you can add kernel modules (drivers in dracut
terminology, which you don't require since you compile everything
in-kernel), and dracut modules. I was talking about the firsts kind.

If you have the modules compiled in the kernel, you only need the
corresponding userspace tools.

 So, my /usr is reiserfs (built into the kernel - and please no filesystem
 flame-war comments, it is what it is) on LVM (built into the kernel) on
 hardware RAID (driver built into the kernel), with no encryption involved.

I've never used a hardware raid. I don't know if it needs mdraid; if
it does, you need the *dracut* module for mdraid, otherwise you are
good. In either case, you need the *dracut* module for LVM: the kernel
alone is not able to mount LVM volumes, AFAIU; you need the userspace
tools.

 So, am I correct that I don't need ANY 'modules' (never have, and don't want
 them), leaving only the userspace tools for lvm and reiserfsck?

You need the *dracut* module for LVM, you don't need any kernel
module. Or better stated: you already have the kernel modules, inside
your kernel. What dracut does when you specify drivers (kernel
modules), is only to include them in the initramfs. So even if you
specify them in your dracut config file, since they are not available,
dracut will print a warning about the driver not being avaible, and it
will continue without it.

 If so then the only other question is, how to build an initramfs with just
 these...


 I strongly recommend dracut; the modules listed in DRACUT_MODULES are
 usually self explanatory, and it Just Works™.


 Ok, well, emerge -pvuDN dracut gives:

 [ebuild  N~] sys-kernel/dracut-034-r1  USE=-debug -device-mapper -net
 (-selinux) DRACUT_MODULES=-biosdevname -bootchart -btrfs -caps -cifs
 -crypt -crypt-gpg -crypt-loop -dash -dmraid -dmsquash-live -gensplash -iscsi
 -livenet -lvm -mdraid -multipath -nbd -nfs -plymouth -ssh-client -syslog
 -systemd 272 kB


 First question: I don't see reference to reiserfs there anywhere, so how do
 I get reiserfsck (and is that all I need?) support into the initrams?

Filesystems are inferred from fstab and the fscks key in dracut.conf.
If you use the -H (host) option, you don't even need to touch fscks,
the information will be parsed from fstab.

 Second question: I guess I'd need to enable the device-mapper USE flag for
 dracut, but, since I do not use ANY kernel modules, can I ignore all of the
 'DRACUT_MODULES'? Or do 'DRACUT_MODULES' have nothing to do with kernel
 modules?

DRACUT_MODULES have nothing to do with kernel modules (those are
called drivers inside dracut). The dracut modules are little scripts
which copy stuff inside the initramfs.

By the way, if you install dracut, it will do nothing in your system;
it's only for populate an initramfs. You can install it and it will
not affect your system in any way.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] QEMU unable to initialize audio

2015-12-24 Thread Ian Bloss
I was saying the libsdl packages have a USE flag "sound" which builds the
sound module for sdl. So if qemu makes any calls to the sound module not
pure alsa calls, that might be causing your issue.

Wabes USE flag output shows he's building sdl with the "sound" use flag
enabled and not just alsa alone.

On Thu, Dec 24, 2015, 22:26  <waben...@gmail.com> wrote:

> waltd...@waltdnes.org wrote:
>
> > On Thu, Dec 24, 2015 at 10:48:28PM +, Ian Bloss wrote
> > > Libsdl and libsdl2 built with sound use flag on host?
> >
> >   I didn't bother enabling alsa except for packages that actually need
> > it.  I've enabled it for libsdl, but not for sdl2, because I didn't
> > realize libsdl2 even existed.  According to equery, the only package
> > pulling in libsdl2 is qemu, and that's because I set the flag.  If I
> > remove the "alsa2" flag from qemu, will it work properly with "alsa"
> > alone?
>
> On my host system I use alsa and no pulseaudio. However it doesn't
> make any difference if I set the alsa USE-flag for qemu or not.
>
> I don't know if qemu runs flawless without sdl2 USE-flag. But you can
> easily test this.
>
> Btw. Since I reverted from qemu-2.5.0 back to qemu-2.4.1-r2, qemu
> hangs no longer when I specify ac97, hda or es1370 as sound hardware
> emulation. But I have to start the xfce mixer application on the
> guest OS after the desktop is loaded. If I don't do this, then one
> core on my host is always at 100% load and qemu is slow and sometimes
> doesn't respond for some seconds. But no error message appears on
> guest or host.
> Strange is, that the guest OS doesn't show a high load but only the
> host OS. After I started the xfce-mixer app on guest OS, everything
> is smooth and host load count normalizes.
>
> I now use qemu with "-soundhw es1370" and am have automated the start
> of the mixer app. With this, sound is working fine.
>
> As I already said, when I use sb16 or gus then I have no sound at all.
> Only ac97, hda and es1370 are working for me. Maybe this has something
> to do with the guest OS.
>
> Here are the USE-flags that I use for qemu, libsdl and libsdl2.
>
> app-emulation/qemu-2.4.1-r2 aio caps curl fdt filecaps gtk gtk2 jpeg lzo
> ncurses nfs nls opengl pin-upstream-blobs png python sasl sdl sdl2 seccomp
> spice threads usb uuid vde vhost-net vnc xattr xfs -accessibility -alsa
> -bluetooth -debug -glusterfs -infiniband -iscsi -numa -pulseaudio -rbd
> -selinux -smartcard -snappy -ssh -static -static-softmmu -static-user
> -systemtap -tci -test -tls -usbredir -virtfs -vte -xen
>
> media-libs/libsdl-1.2.15-r9 X alsa dga fbcon joystick opengl oss sound
> video xv -aalib -custom-cflags -libcaca -nas -pulseaudio -static-libs
> -tslib -xinerama
>
> media-libs/libsdl2-2.0.3-r200 X alsa dbus joystick opengl oss sound
> threads udev video xscreensaver -altivec -custom-cflags -fusionsound -gles
> -haptic -nas -pulseaudio -static-libs -tslib -wayland -xinerama
>
> --
> Regards
> wabe
>
>


Re: [gentoo-user] QEMU unable to initialize audio

2015-12-24 Thread wabenbau
waltd...@waltdnes.org wrote:

> On Thu, Dec 24, 2015 at 10:48:28PM +, Ian Bloss wrote
> > Libsdl and libsdl2 built with sound use flag on host?
> 
>   I didn't bother enabling alsa except for packages that actually need
> it.  I've enabled it for libsdl, but not for sdl2, because I didn't
> realize libsdl2 even existed.  According to equery, the only package
> pulling in libsdl2 is qemu, and that's because I set the flag.  If I
> remove the "alsa2" flag from qemu, will it work properly with "alsa"
> alone?

On my host system I use alsa and no pulseaudio. However it doesn't 
make any difference if I set the alsa USE-flag for qemu or not.

I don't know if qemu runs flawless without sdl2 USE-flag. But you can
easily test this.

Btw. Since I reverted from qemu-2.5.0 back to qemu-2.4.1-r2, qemu 
hangs no longer when I specify ac97, hda or es1370 as sound hardware
emulation. But I have to start the xfce mixer application on the 
guest OS after the desktop is loaded. If I don't do this, then one 
core on my host is always at 100% load and qemu is slow and sometimes
doesn't respond for some seconds. But no error message appears on 
guest or host.
Strange is, that the guest OS doesn't show a high load but only the 
host OS. After I started the xfce-mixer app on guest OS, everything 
is smooth and host load count normalizes. 

I now use qemu with "-soundhw es1370" and am have automated the start 
of the mixer app. With this, sound is working fine.

As I already said, when I use sb16 or gus then I have no sound at all.
Only ac97, hda and es1370 are working for me. Maybe this has something
to do with the guest OS.

Here are the USE-flags that I use for qemu, libsdl and libsdl2.

app-emulation/qemu-2.4.1-r2 aio caps curl fdt filecaps gtk gtk2 jpeg lzo 
ncurses nfs nls opengl pin-upstream-blobs png python sasl sdl sdl2 seccomp 
spice threads usb uuid vde vhost-net vnc xattr xfs -accessibility -alsa 
-bluetooth -debug -glusterfs -infiniband -iscsi -numa -pulseaudio -rbd -selinux 
-smartcard -snappy -ssh -static -static-softmmu -static-user -systemtap -tci 
-test -tls -usbredir -virtfs -vte -xen

media-libs/libsdl-1.2.15-r9 X alsa dga fbcon joystick opengl oss sound video xv 
-aalib -custom-cflags -libcaca -nas -pulseaudio -static-libs -tslib -xinerama

media-libs/libsdl2-2.0.3-r200 X alsa dbus joystick opengl oss sound threads 
udev video xscreensaver -altivec -custom-cflags -fusionsound -gles -haptic -nas 
-pulseaudio -static-libs -tslib -wayland -xinerama

--
Regards
wabe



Re: [gentoo-user] QEMU not running on new machine

2021-05-26 Thread Branko Grubić
On Wed, 2021-05-26 at 12:50 -0400, Walter Dnes wrote:
>   With my older machine locking up once too often at in-opportune
> times,
> I've switched over to a newer machine, which I've tried to set up
> identically.  QEMU is not laumching.  It worked on the older system.
> The error message is...
> 
> [x8940][waltdnes][~] /home/misc/qemu/arca/boot
> Could not access KVM kernel module: No such file or directory
> qemu-system-x86_64: failed to initialize kvm: No such file or directory
> 
>   My user is a member of the kvm group, and I get the same error trying
> to launch as root
> 
> My system...
> 
> * 12-core Intel Skylake with 16 gigs of ram, 64-bit gentoo
> 
> * Yes, KVM support is installed in the kernel...
> [x8940][waltdnes][~] zgrep KVM_INTEL /proc/config.gz 
> CONFIG_KVM_INTEL=y
> 
> * make.conf contains
> QEMU_SOFTMMU_TARGETS="i386 x86_64"
> QEMU_USER_TARGETS="i386 x86_64"
> 
> * including flags in package.use, I get
> [x8940][waltdnes][/etc/portage/package.use] emerge -pv qemu
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild   R    ] app-emulation/qemu-5.2.0-r3::gentoo  USE="aio alsa
> bzip2 curl doc fdt gtk jpeg opengl oss png sdl slirp ssh usb vhost-net
> vnc -accessibility -caps (-capstone) -debug -filecaps -glusterfs -
> gnutls -infiniband -io-uring -iscsi -jack -jemalloc -lzo -multipath -
> ncurses -nfs -nls -numa -pin-upstream-blobs -plugins -pulseaudio -
> python -rbd -sasl -sdl-image -seccomp (-selinux) -smartcard -snappy -
> spice -static -static-user -systemtap -test -udev -usbredir -vde -
> vhost-user-fs -virgl -virtfs -vte -xattr -xen -xfs -zstd"
> PYTHON_TARGETS="python3_8 -python3_7 -python3_9"
> QEMU_SOFTMMU_TARGETS="i386 x86_64 -aarch64 -alpha -arm -avr -cris -hppa
> -lm32 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -
> moxie -nios2 -or1k -ppc -ppc64 -riscv32 -riscv64 -rx -s390x -sh4 -sh4eb
> -sparc -sparc64 -tricore -unicore32 -xtensa -xtensaeb"
> QEMU_USER_TARGETS="i386 x86_64 -aarch64 -aarch64_be -alpha -arm -armeb
> -cris -hppa -m68k -microblaze -microblazeel -mips -mips64 -mips64el -
> mipsel -mipsn32 -mipsn32el -nios2 -or1k -ppc -ppc64 -ppc64abi32 -
> ppc64le -riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc -sparc32plus -
> sparc64 -tilegx -xtensa -xtensaeb" 0 KiB
> 
> * The startup script is...
> 
> [x8940][waltdnes][~] cat /home/misc/qemu/arca/boot
> #!/bin/bash
> cd /home/misc/qemu/arca
> sudo /usr/bin/qemu-system-x86_64 -enable-kvm -runas waltdnes \
>    -cpu host -monitor vc -display gtk \
>    -drive file=arcac.img,format=raw \
>    -netdev user,id=mynetwork \
>    -device e1000,netdev=mynetwork \
>    -rtc base=localtime,clock=host \
>    -m 1024 -name "ArcaOS VM" \
>    -vga std -parallel none \
>    ${@}
> 
>   I repeat. it worked on the older machine.
> 

Hi,

What comes to my mind is actually describe in here[1]. Possibly
virtualization is disabled in BIOS/Firmware.


[1] https://wiki.gentoo.org/wiki/QEMU#BIOS_and_UEFI_firmware




[gentoo-user] QEMU not running on new machine

2021-05-26 Thread Walter Dnes
  With my older machine locking up once too often at in-opportune times,
I've switched over to a newer machine, which I've tried to set up
identically.  QEMU is not laumching.  It worked on the older system.
The error message is...

[x8940][waltdnes][~] /home/misc/qemu/arca/boot
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize kvm: No such file or directory

  My user is a member of the kvm group, and I get the same error trying
to launch as root

My system...

* 12-core Intel Skylake with 16 gigs of ram, 64-bit gentoo

* Yes, KVM support is installed in the kernel...
[x8940][waltdnes][~] zgrep KVM_INTEL /proc/config.gz 
CONFIG_KVM_INTEL=y

* make.conf contains
QEMU_SOFTMMU_TARGETS="i386 x86_64"
QEMU_USER_TARGETS="i386 x86_64"

* including flags in package.use, I get
[x8940][waltdnes][/etc/portage/package.use] emerge -pv qemu

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R] app-emulation/qemu-5.2.0-r3::gentoo  USE="aio alsa bzip2 curl 
doc fdt gtk jpeg opengl oss png sdl slirp ssh usb vhost-net vnc -accessibility 
-caps (-capstone) -debug -filecaps -glusterfs -gnutls -infiniband -io-uring 
-iscsi -jack -jemalloc -lzo -multipath -ncurses -nfs -nls -numa 
-pin-upstream-blobs -plugins -pulseaudio -python -rbd -sasl -sdl-image -seccomp 
(-selinux) -smartcard -snappy -spice -static -static-user -systemtap -test 
-udev -usbredir -vde -vhost-user-fs -virgl -virtfs -vte -xattr -xen -xfs -zstd" 
PYTHON_TARGETS="python3_8 -python3_7 -python3_9" QEMU_SOFTMMU_TARGETS="i386 
x86_64 -aarch64 -alpha -arm -avr -cris -hppa -lm32 -m68k -microblaze 
-microblazeel -mips -mips64 -mips64el -mipsel -moxie -nios2 -or1k -ppc -ppc64 
-riscv32 -riscv64 -rx -s390x -sh4 -sh4eb -sparc -sparc64 -tricore -unicore32 
-xtensa -xtensaeb" QEMU_USER_TARGETS="i386 x86_64 -aarch64 -aarch64_be -alpha 
-arm -armeb -cris -hppa -m68k -microblaze -microblazeel -mips -mips64 -mips64el 
-mipsel -mipsn32 -mipsn32el -nios2 -or1k -ppc -ppc64 -ppc64abi32 -ppc64le 
-riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc -sparc32plus -sparc64 -tilegx 
-xtensa -xtensaeb" 0 KiB

* The startup script is...

[x8940][waltdnes][~] cat /home/misc/qemu/arca/boot
#!/bin/bash
cd /home/misc/qemu/arca
sudo /usr/bin/qemu-system-x86_64 -enable-kvm -runas waltdnes \
   -cpu host -monitor vc -display gtk \
   -drive file=arcac.img,format=raw \
   -netdev user,id=mynetwork \
   -device e1000,netdev=mynetwork \
   -rtc base=localtime,clock=host \
   -m 1024 -name "ArcaOS VM" \
   -vga std -parallel none \
   ${@}

  I repeat. it worked on the older machine.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] reiser4 status

2008-02-15 Thread Volker Armin Hemmann
On Freitag, 15. Februar 2008, Alan McKinnon wrote:
 On Friday 15 February 2008, Volker Armin Hemmann wrote:
  On Freitag, 15. Februar 2008, Alan McKinnon wrote:
   Reiser4 will probably die a quiet death now. Without Hans' vision
   driving it, it will probably do what it's been doing for 18 months
   - going nowhere.
 
  that is bullshit. If you have ever followed the ml you would now it.

 It's been languishing in -mm for ages, never mind any progress that
 namesys itself might make with their own code.

Edward send this to the reiserfs-ml on the 16 days ago:

  Current status of Reiser4 (Jan 31, 2008).


  I. Todo for inclusion:


This is an update of the following version:
http://209.85.129.104/search?q=cache:tzvFNZjSsNYJ:pub.namesys.com/Reiser4/ToDo

#10,11: Cleanups. There are 74 pending patches prepared by Dushan:
http://marc.info/?l=reiserfs-develr=1b=200710w=2
which are supposed to be reviewed by another person and pushed to
the current -mm as a big single patch _before_ the next portion of
cleanups.

#3 There is a pending patch to review/merge:
http://marc.info/?l=reiserfs-develm=119316601418489w=2

#9: I don't see any leaked jref there. Perhaps we need to rewrite this
portion of code to make it more clear.

#1,2,4: Here we need to explain why the pair igrab/iput (igrab in
reiser4_writepage, iput in entd()) won't hummer inode_lock. Actually
we need to pin inode for entd, as inode can be reused, or evicted from
memory at the moment when entd starts to process the request. Entd is
a kernel thread, which performs an active response to every memory
pressure notification (writepage). IMHO this is not a good design.
Getting rid of entd would address #1,2,4 automatically (currently I am
working on this).

#5: Here should go detailed comments how do reiser4 respond to memory
pressure notification (writepage, see above). If mainline vm experts
will be unhappy with this, then, I guess, we'll need eflush back, plus
a eflush port for cryptcompress file plugin. Eflush (emergency flush)
is a passive response to writepage(), which pushes dirty pages to
temporary location on disk. Eflush code for default (unix-file) plugin
has been dropped ~1.5 years ago in accordance with Hans' direction in
order to stimulate better solutions.

#14 Should be marked as not done and needs to be addressed.


II. Longterm todo


Here are some technical details for the items listed in this document:
http://lwn.net/Articles/226251  (see Appendix D, 11.2-11.4).

Xattrs support (listed as #12 in the previous todo, but not necessary
for inclusion) would be a serious project which requires only
knowledges of VFS/Reiser4/Reiser4progs internals. I think that xattrs
should be implemented via special reiser4 stat-data extensions.
However, currently reiser4 supports only solid stat-data items (an
item is solid, if it consists of exactly one unit, i.e. can not be
split into two or more mergeable items). It means that amount of
information contained in file's xattrs will be restricted by ~4000
bytes (blocksize - size-of-node-header - size-of-item-header -
size-of-standard-stat-data-extensions (for i_size, i_mtime, i_ctime,
i_mode, etc..)). I don't know if it is enough to integrate reiser4
with Selinux. If not, then we'll need one more stat-data item plugin
to support not solid stat-data items.

As per encryption support: current reiser4 kernel module and
reiser4progs are pretty aware about this, so IMHO we just need an
integration with some existing key manager (I would take a look how
things are going in eCryptFS). Also we need a fast IV generator for
chaining cipher modes. I have proposed a simple one based on iv-seed,
which is calculated as object's id (i_ino), but not sure if it is
stable against watermark attack.

ECC-signatures support should be implemented via a new node41 plugin
(i.e. we need to define proper node format and plugin methods that
take into account space for per-node signature storage (for example,
if we use an adler32 checksum as ECC-signature, then we need 4 bytes
per node). Supporting such signatures allows to increase robustness.
Currently reiser4 performs data (not metadata) checksumming for files
managed by cryptcompress file plugin. However, metadata protection is
not a less important feature. I think, that we need something like
Reed-Solomon signatures rather then checksums, because all modern hard
drives already perform checksumming. I believe there are reasonable
GPL's libraries that implement RS-arithmetic which can be interesting
for us.

All reiser4 documentation has been performed as comments in the source
code. Also there are links to some useful stuff:

reiser4 transaction design document:
http://lwn.net/2001/1108/a/reiser4-transaction.php3

whitepaper:
http://209.85.135.104/search?q=cache:EwK-ZBZaSxwJ:www.namesys.com/v4/v4.html

Trees in the Reiser4 Filesystem, Part I,II:
http://www.linuxjournal.com/article/6267
http://www.linuxjournal.com/article/6569

Thanks,
Edward

[gentoo-user] Why is portage insisting that I upgrade media-libs/opencv?

2014-03-28 Thread Chris Stankevitz
) (-x32) 0 kB
[ebuild U  ]   virtual/glu-9.0-r1 [9.0] ABI_X86=(64%*) (-32) (-x32) 0 kB
[ebuild U  ]media-libs/glu-9.0.0-r1 [9.0.0] USE=-static-libs
(-multilib%) ABI_X86=(64%*) (-32) (-x32) 0 kB
[ebuild  r  U  ] x11-base/xorg-server-1.15.0:0/1.15.0
[1.14.3-r2:0/1.14.3] USE=ipv6 kdrive nptl suid udev xorg -dmx -doc
-minimal (-selinux) -static-libs -tslib -unwind% -xnest -xvfb 5,417
kB
[nomerge   ] media-libs/opencv-2.4.8:0/2.4 [2.4.5:0/0] USE=cuda
eigen* gtk jpeg opencl opengl openmp%* png python%* qt4 threads tiff
-doc -examples -ffmpeg -gstreamer -ieee1394 (-ipp) -java -jpeg2k
-openexr -pch -testprograms -v4l -xine
PYTHON_SINGLE_TARGET=python2_7%* -python2_6%
PYTHON_TARGETS=python2_7%* -python2_6%
[ebuild U  ]  virtual/opengl-7.0-r1 [7.0] ABI_X86=(64%*) (-32) (-x32) 0 kB
[nomerge   ] sys-block/gparted-0.16.2  USE=policykit -btrfs
-dmraid -f2fs -fat -hfs -jfs -kde -mdadm -ntfs -reiser4 -reiserfs
-xfs
[nomerge   ]  dev-cpp/gtkmm-2.24.4:2.4  USE=-doc -examples {-test}
[nomerge   ]   dev-cpp/cairomm-1.10.0  USE=svg -doc
[ebuild U  ]x11-libs/cairo-1.12.16 [1.12.14-r4] USE=X glib
opengl svg xcb (-aqua) -debug -directfb -doc (-drm) (-gallium)
(-gles2) -legacy-drivers -openvg (-qt4) -static-libs -valgrind
-xlib-xcb 35,049 kB
[ebuild U  ] media-libs/mesa-10.0.4 [9.1.6] USE=classic egl
gallium gles2 llvm nptl -bindist -debug -gbm -gles1 -llvm-shared-libs%
-opencl% -openvg -osmesa -pax_kernel -pic -r600-llvm-compiler
(-selinux) -vdpau -wayland -xa -xvmc (-shared-glapi%*) (-xorg%)
ABI_X86=(64%*) (-32) (-x32) PYTHON_SINGLE_TARGET=(-python2_6%)
(-python2_7%*) PYTHON_TARGETS=(-python2_6%) (-python2_7%*)
VIDEO_CARDS=(-freedreno) -i915 -i965 -ilo% -intel -nouveau -r100
-r200 -r300 -r600 -radeon -radeonsi -vmware 6,636 kB
[ebuild U  ]  sys-devel/llvm-3.3-r3:0/3.3 [3.1-r2:0/0]
USE=libffi static-analyzer%* xml%* -clang% -debug -doc% -gold
-multitarget -ocaml -python% {-test} -udis86 (-vim-syntax%*)
ABI_X86=(64%*) (-32) (-x32) PYTHON_TARGETS=python2_7%* (-pypy2_0)
-python2_6% VIDEO_CARDS=-radeon% 13,311 kB
[nomerge   ] x11-base/xorg-server-1.15.0:0/1.15.0
[1.14.3-r2:0/1.14.3] USE=ipv6 kdrive nptl suid udev xorg -dmx -doc
-minimal (-selinux) -static-libs -tslib -unwind% -xnest -xvfb
[nomerge   ]  x11-apps/xinit-1.3.3  USE=minimal
[ebuild U  ]   x11-apps/xauth-1.0.8 [1.0.7] USE=ipv6 144 kB
[nomerge   ] sys-apps/pciutils-3.2.0  USE=kmod zlib -static-libs
[ebuild U  ]  sys-apps/hwids-20140317 [20130915.1] USE=udev 1,585 kB
[nomerge   ] xfce-base/xfce4-meta-4.10  USE=svg -minimal
[nomerge   ]  xfce-base/xfce4-settings-4.10.1  USE=libnotify
xklavier -debug -libcanberra
[nomerge   ]   x11-libs/libxklavier-5.2.1  USE=introspection -doc
[ebuild U  ]x11-misc/xkeyboard-config-2.11 [2.9] 899 kB
[nomerge   ] x11-libs/xpyb-1.3.1-r3 [1.3.1-r2] USE=(-selinux)
-static-libs PYTHON_TARGETS=python2_7 -python2_6
[ebuild U  ]  x11-libs/libxcb-1.10 [1.9.1] USE=-doc (-selinux)
-static-libs -xkb ABI_X86=(64) (-32) (-x32)
PYTHON_SINGLE_TARGET=(-python2_6%) (-python2_7%*) (-python3_2%)
(-python3_3%) PYTHON_TARGETS=(-python2_6%) (-python2_7%*)
(-python3_2%) (-python3_3%*) 465 kB
[ebuild U  ]   x11-proto/xcb-proto-1.10 [1.8-r3] ABI_X86=(64)
(-32) (-x32) PYTHON_TARGETS=python2_7 python3_3 -python2_6
-python3_2 136 kB
[nomerge   ] x11-apps/mesa-progs-8.1.0  USE=-egl -gles1 -gles2
[nomerge   ]  media-libs/mesa-10.0.4 [9.1.6] USE=classic egl
gallium gles2 llvm nptl -bindist -debug -gbm -gles1 -llvm-shared-libs%
-opencl% -openvg -osmesa -pax_kernel -pic -r600-llvm-compiler
(-selinux) -vdpau -wayland -xa -xvmc (-shared-glapi%*) (-xorg%)
ABI_X86=(64%*) (-32) (-x32) PYTHON_SINGLE_TARGET=(-python2_6%)
(-python2_7%*) PYTHON_TARGETS=(-python2_6%) (-python2_7%*)
VIDEO_CARDS=(-freedreno) -i915 -i965 -ilo% -intel -nouveau -r100
-r200 -r300 -r600 -radeon -radeonsi -vmware
[ebuild U  ]   x11-proto/glproto-1.4.17 [1.4.16] ABI_X86=(64%*)
-32% (-x32) 124 kB
[ebuild U  ] x11-base/xorg-drivers-1.15 [1.14]
INPUT_DEVICES=evdev synaptics -acecad -aiptek -elographics -fpit
-hyperpen -joystick -keyboard -mouse -mutouch -penmount -tslib
-vmmouse -void -wacom VIDEO_CARDS=fbdev nvidia vesa -apm -ast -chips
-cirrus -dummy -epson -fglrx (-freedreno) (-geode) -glint -i128
(-i740) -intel -mach64 -mga -modesetting -neomagic -nouveau -nv
(-omap) (-omapfb) -qxl -r128 -radeon -radeonsi -rendition -s3virge
-savage -siliconmotion -sisusb (-sunbw2) (-suncg14) (-suncg3)
(-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng
-v4l -via -virtualbox -vmware (-voodoo) 0 kB
[nomerge   ] xfce-extra/xfce4-screenshooter-1.8.1  USE=-debug
[nomerge   ]  net-libs/libsoup-2.44.2:2.4  USE=introspection
samba ssl -debug {-test}
[nomerge   ]   net-libs/glib-networking-2.38.2  USE=gnome
libproxy ssl -smartcard {-test}
[ebuild U  ]app-misc/ca-certificates-20130906-r1 [20130906] 0 kB
[nomerge   ] x11-base/xorg-server-1.15.0:0/1.15.0
[1.14.3-r2:0/1.14.3] USE

Re: [gentoo-user] Why is portage insisting that I upgrade media-libs/opencv?

2014-03-28 Thread Alan McKinnon
 -ffmpeg -gstreamer -ieee1394 (-ipp) -java -jpeg2k
 -openexr -pch -testprograms -v4l -xine
 PYTHON_SINGLE_TARGET=python2_7%* -python2_6%
 PYTHON_TARGETS=python2_7%* -python2_6%
 [ebuild U  ]  virtual/opencl-0-r4 [0-r2] ABI_X86=(64%*) -32%
 (-x32) VIDEO_CARDS=nvidia -fglrx 0 kB
 [ebuild U  ]  dev-util/nvidia-cuda-toolkit-5.5.22:0/5.5.22
 [5.0.35-r4:0/5.0.35] USE=-debugger -doc -eclipse -profiler 0 kB
 [ebuild   R]   x11-drivers/nvidia-drivers-334.21  USE=X acpi
 multilib tools uvm* -pax_kernel 0 kB
 [nomerge   ] dev-util/nvidia-cuda-sdk-5.5.22 [5.0.35-r1] USE=cuda
 doc examples -debug -opencl
 [ebuild U  ]  media-libs/freeglut-2.8.1-r1 [2.8.1] USE=-debug
 -static-libs ABI_X86=(64%*) (-32) (-x32) 0 kB
 [ebuild U  ]   virtual/glu-9.0-r1 [9.0] ABI_X86=(64%*) (-32) (-x32) 0 kB
 [ebuild U  ]media-libs/glu-9.0.0-r1 [9.0.0] USE=-static-libs
 (-multilib%) ABI_X86=(64%*) (-32) (-x32) 0 kB
 [ebuild  r  U  ] x11-base/xorg-server-1.15.0:0/1.15.0
 [1.14.3-r2:0/1.14.3] USE=ipv6 kdrive nptl suid udev xorg -dmx -doc
 -minimal (-selinux) -static-libs -tslib -unwind% -xnest -xvfb 5,417
 kB
 [nomerge   ] media-libs/opencv-2.4.8:0/2.4 [2.4.5:0/0] USE=cuda
 eigen* gtk jpeg opencl opengl openmp%* png python%* qt4 threads tiff
 -doc -examples -ffmpeg -gstreamer -ieee1394 (-ipp) -java -jpeg2k
 -openexr -pch -testprograms -v4l -xine
 PYTHON_SINGLE_TARGET=python2_7%* -python2_6%
 PYTHON_TARGETS=python2_7%* -python2_6%
 [ebuild U  ]  virtual/opengl-7.0-r1 [7.0] ABI_X86=(64%*) (-32) (-x32) 0 
 kB
 [nomerge   ] sys-block/gparted-0.16.2  USE=policykit -btrfs
 -dmraid -f2fs -fat -hfs -jfs -kde -mdadm -ntfs -reiser4 -reiserfs
 -xfs
 [nomerge   ]  dev-cpp/gtkmm-2.24.4:2.4  USE=-doc -examples {-test}
 [nomerge   ]   dev-cpp/cairomm-1.10.0  USE=svg -doc
 [ebuild U  ]x11-libs/cairo-1.12.16 [1.12.14-r4] USE=X glib
 opengl svg xcb (-aqua) -debug -directfb -doc (-drm) (-gallium)
 (-gles2) -legacy-drivers -openvg (-qt4) -static-libs -valgrind
 -xlib-xcb 35,049 kB
 [ebuild U  ] media-libs/mesa-10.0.4 [9.1.6] USE=classic egl
 gallium gles2 llvm nptl -bindist -debug -gbm -gles1 -llvm-shared-libs%
 -opencl% -openvg -osmesa -pax_kernel -pic -r600-llvm-compiler
 (-selinux) -vdpau -wayland -xa -xvmc (-shared-glapi%*) (-xorg%)
 ABI_X86=(64%*) (-32) (-x32) PYTHON_SINGLE_TARGET=(-python2_6%)
 (-python2_7%*) PYTHON_TARGETS=(-python2_6%) (-python2_7%*)
 VIDEO_CARDS=(-freedreno) -i915 -i965 -ilo% -intel -nouveau -r100
 -r200 -r300 -r600 -radeon -radeonsi -vmware 6,636 kB
 [ebuild U  ]  sys-devel/llvm-3.3-r3:0/3.3 [3.1-r2:0/0]
 USE=libffi static-analyzer%* xml%* -clang% -debug -doc% -gold
 -multitarget -ocaml -python% {-test} -udis86 (-vim-syntax%*)
 ABI_X86=(64%*) (-32) (-x32) PYTHON_TARGETS=python2_7%* (-pypy2_0)
 -python2_6% VIDEO_CARDS=-radeon% 13,311 kB
 [nomerge   ] x11-base/xorg-server-1.15.0:0/1.15.0
 [1.14.3-r2:0/1.14.3] USE=ipv6 kdrive nptl suid udev xorg -dmx -doc
 -minimal (-selinux) -static-libs -tslib -unwind% -xnest -xvfb
 [nomerge   ]  x11-apps/xinit-1.3.3  USE=minimal
 [ebuild U  ]   x11-apps/xauth-1.0.8 [1.0.7] USE=ipv6 144 kB
 [nomerge   ] sys-apps/pciutils-3.2.0  USE=kmod zlib -static-libs
 [ebuild U  ]  sys-apps/hwids-20140317 [20130915.1] USE=udev 1,585 kB
 [nomerge   ] xfce-base/xfce4-meta-4.10  USE=svg -minimal
 [nomerge   ]  xfce-base/xfce4-settings-4.10.1  USE=libnotify
 xklavier -debug -libcanberra
 [nomerge   ]   x11-libs/libxklavier-5.2.1  USE=introspection -doc
 [ebuild U  ]x11-misc/xkeyboard-config-2.11 [2.9] 899 kB
 [nomerge   ] x11-libs/xpyb-1.3.1-r3 [1.3.1-r2] USE=(-selinux)
 -static-libs PYTHON_TARGETS=python2_7 -python2_6
 [ebuild U  ]  x11-libs/libxcb-1.10 [1.9.1] USE=-doc (-selinux)
 -static-libs -xkb ABI_X86=(64) (-32) (-x32)
 PYTHON_SINGLE_TARGET=(-python2_6%) (-python2_7%*) (-python3_2%)
 (-python3_3%) PYTHON_TARGETS=(-python2_6%) (-python2_7%*)
 (-python3_2%) (-python3_3%*) 465 kB
 [ebuild U  ]   x11-proto/xcb-proto-1.10 [1.8-r3] ABI_X86=(64)
 (-32) (-x32) PYTHON_TARGETS=python2_7 python3_3 -python2_6
 -python3_2 136 kB
 [nomerge   ] x11-apps/mesa-progs-8.1.0  USE=-egl -gles1 -gles2
 [nomerge   ]  media-libs/mesa-10.0.4 [9.1.6] USE=classic egl
 gallium gles2 llvm nptl -bindist -debug -gbm -gles1 -llvm-shared-libs%
 -opencl% -openvg -osmesa -pax_kernel -pic -r600-llvm-compiler
 (-selinux) -vdpau -wayland -xa -xvmc (-shared-glapi%*) (-xorg%)
 ABI_X86=(64%*) (-32) (-x32) PYTHON_SINGLE_TARGET=(-python2_6%)
 (-python2_7%*) PYTHON_TARGETS=(-python2_6%) (-python2_7%*)
 VIDEO_CARDS=(-freedreno) -i915 -i965 -ilo% -intel -nouveau -r100
 -r200 -r300 -r600 -radeon -radeonsi -vmware
 [ebuild U  ]   x11-proto/glproto-1.4.17 [1.4.16] ABI_X86=(64%*)
 -32% (-x32) 124 kB
 [ebuild U  ] x11-base/xorg-drivers-1.15 [1.14]
 INPUT_DEVICES=evdev synaptics -acecad -aiptek -elographics -fpit
 -hyperpen -joystick -keyboard -mouse -mutouch -penmount -tslib
 -vmmouse -void -wacom VIDEO_CARDS=fbdev nvidia vesa

Re: [gentoo-user] Re: Is --changed-deps going to be *that* useless?

2018-02-26 Thread tuxic

Sorry...a typo...

It has to be 463 packages NOT 4563 packages...

Cheers
Meino




On 02/27 04:08, tu...@posteo.de wrote:
> On 02/26 11:55, Peter Humphrey wrote:
> > On Monday, 26 February 2018 18:42:33 GMT tu...@posteo.de wrote:
> > 
> > > Hi Peter,
> > > 
> > > luky you...I got 462 packages to recompile...
> > 
> > Ooh! Bloat warning!
> > 
> > -- 
> > Regards,
> > Peter.
> > 
> > 
> 
> And...after a nigth of compilation all that packages I synced
> again this mprning to be sure to get all updates...
> I go this
> 
> 
> Again 4563 packages to be updated...
> This time I got conflicts too.
> 
> Please guys of the dev...if changing a central package which will
> cause massive recompilations...please do all those updates in 
> one go...not one after the other.
> 
> Sigh
> 
> 
> Anyhow: How can I resolve the conflicts at the end of that list?
> 
> Frustrated,
> Meino
> 
> 
> 
> 
> These are the packages that would be merged, in reverse order:
> 
> Calculating dependencies... done!
> [nomerge   ] media-gfx/mypaint-1.2.1::gentoo  PYTHON_TARGETS="python2_7" 
> [nomerge   ]  dev-python/protobuf-python-3.5.1.1:0/15::gentoo  
> PYTHON_TARGETS="python2_7 python3_5 python3_6 -python3_4" 
> [ebuild   R]   dev-libs/protobuf-3.5.1.1:0/15::gentoo  USE="zlib -emacs 
> -examples -static-libs {-test}" 0 KiB
> [nomerge   ] media-sound/zynaddsubfx-3.0.3::gentoo  USE="alsa fltk jack 
> -lash" 
> [ebuild   R]  dev-libs/mini-xml-2.10::gentoo  USE="-static-libs -threads" 
> 0 KiB
> [nomerge   ] media-gfx/autotrace-0.31.1-r8::gentoo  USE="-imagemagick 
> -static-libs" 
> [ebuild   R]  media-gfx/pstoedit-3.70-r1::gentoo  USE="-emf -flash 
> -imagemagick -plotutils -pptx -static-libs" 0 KiB
> [ebuild   R]  media-libs/ming-0.4.8-r1::gentoo  USE="perl python -php 
> -static-libs" PYTHON_TARGETS="python2_7" 0 KiB
> [nomerge   ] sci-electronics/sigrok-cli-0.7.0::gentoo  USE="decode" 
> PYTHON_SINGLE_TARGET="python3_5 -python3_4 -python3_6" 
> PYTHON_TARGETS="python3_5 python3_6 -python3_4" 
> [nomerge   ]  sci-libs/libsigrok-0.5.0:0/4::gentoo  USE="cxx -ftdi -java 
> -parport -python -serial -static-libs {-test} -usb" 
> PYTHON_SINGLE_TARGET="python3_5 -python2_7 -python3_4 -python3_6" 
> PYTHON_TARGETS="python2_7 python3_5 python3_6 -python3_4" 
> [ebuild   R]   dev-libs/libzip-1.3.0:0/5::gentoo  USE="bzip2 
> -static-libs" 0 KiB
> [nomerge   ] media-gfx/meshlab-2016.12-r2::gentoo  USE="-minimal" 
> [ebuild   R]  sci-libs/mpir-3.0.0:0/23::gentoo  USE="cxx -cpudetection 
> -static-libs" 0 KiB
> [nomerge   ] mail-filter/spamassassin-3.4.1-r20::gentoo  USE="berkdb ipv6 
> ssl -cron -ldap -libressl -mysql -postgres -qmail -sqlite {-test}" 
> [nomerge   ]  dev-perl/Geo-IP-1.510.0::gentoo 
> [ebuild   R]   dev-libs/geoip-1.6.12::gentoo  USE="-static-libs" 0 KiB
> [nomerge   ] media-video/mplayer-1.3.0-r4::gentoo  USE="X alsa cdio dvb 
> dvd dvdnav enca encode gif iconv ipv6 jack jpeg libass lzo mad mp3 network 
> osdmenu png sdl shm tga truetype unicode v4l vorbis x264 xscreensaver xv -a52 
> -aalib (-altivec) (-aqua) -bidi -bl -bluray -bs2b -cddb -cdparanoia 
> -cpudetection -debug -dga -doc -dts -dv -faac -faad -fbcon -ftp -ggi -gsm 
> -joystick -ladspa -libcaca -libmpeg2 -lirc -live -md5sum -mng -nas -nut 
> -openal -opengl -oss -pnm -pulseaudio -pvr -radio -rar -rtc -rtmp -samba 
> (-selinux) -speex -theora -toolame -tremor -twolame -vcd -vdpau (-vidix) 
> -xinerama -xvid -xvmc -yuv4mpeg -zoran" CPU_FLAGS_X86="3dnow 3dnowext mmx 
> mmxext sse sse2 -ssse3" VIDEO_CARDS="-mga (-tdfx)" 
> [ebuild   R]  app-i18n/enca-1.19-r1::gentoo  USE="iconv -doc -recode 
> -static-libs" 0 KiB
> [nomerge   ] media-gfx/transfig-3.2.5e::gentoo 
> [ebuild   R]  x11-misc/imake-1.0.7::gentoo  0 KiB
> [nomerge   ] sys-block/partimage-0.6.9::gentoo  USE="nls pam ssl -nologin 
> -static" 
> [ebuild   R]  dev-libs/newt-0.52.20::gentoo  USE="nls -gpm -tcl" 
> PYTHON_TARGETS="python2_7 python3_5 python3_6 -python3_4" 0 KiB
> [nomerge   ] media-gfx/enblend-4.2.0_p20161007-r1::gentoo  USE="openmp 
> -debug -doc -tcmalloc" CPU_FLAGS_X86="sse2" 
> [nomerge   ]  media-libs/vigra-1.11.0::gentoo  USE="fftw hdf5 jpeg 
> openexr png python tiff -doc -mpi {-test} -valgrind" 
> PYTHON_TARGETS="python2_7" 
> [ebuild   R]   sci-libs/hdf5-1

Re: [gentoo-user] update fails, but I don't see why

2020-12-04 Thread n952162
ls (-aqua)
-cscope -debug -gtk -gtk2 -lua -luajit -motif -neXt -netbeans -perl
-python -racket -ruby (-selinux) -session -sound -tcl"
PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7*" 0 KiB
[ebuild   R    ] dev-util/android-tools-9.0.0_p3-r1::gentoo
USE="-python" PYTHON_TARGETS="python3_7 python3_8%* -python3_6
-python3_9%" 11 KiB
[ebuild U  ] media-gfx/imagemagick-7.0.10.41-r1:0/7.0.10-37::gentoo
[7.0.10.34-r1:0/7.0.10::gentoo] USE="X bzip2 cxx jpeg openmp png
postscript tiff zlib -corefonts -djvu -fftw -fontconfig -fpx -graphviz
-hdri -heif -jbig -jpeg2k -lcms -lqr -lzma -opencl -openexr -pango -perl
-q32 -q8 -raw -static-libs -svg -test -truetype -webp -wmf -xml" 9419 KiB
[ebuild U  ] sys-devel/gdb-10.1::gentoo [9.2::gentoo] USE="client
nls python server -lzma -multitarget -source-highlight -test -vanilla
-xml -xxhash" PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7*
-python3_9%" 21004 KiB
[ebuild U  ] virtual/rust-1.47.0::gentoo [1.46.0::gentoo]
ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] dev-util/itstool-2.0.6-r1::gentoo
PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7*" 0 KiB
[ebuild   R    ] x11-base/xcb-proto-1.14-r1::gentoo  ABI_X86="(64) -32
(-x32)" PYTHON_TARGETS="python3_7 python3_8* -python3_6 -python3_9" 0 KiB
[ebuild U  ] net-libs/nodejs-14.15.1:0/14::gentoo
[14.11.0:0/0::gentoo] USE="icu npm snapshot ssl system-ssl -debug -doc
-inspector -pax_kernel -system-icu% -systemtap -test"
CPU_FLAGS_X86="sse2" 32654 KiB
[ebuild U  ] app-emulation/qemu-5.1.0-r2::gentoo [5.1.0-r1::gentoo]
USE="aio bzip2 caps curl fdt filecaps jpeg ncurses nls oss
pin-upstream-blobs png seccomp slirp vhost-net vnc xattr xkb
-accessibility -alsa (-capstone) -debug -doc -glusterfs -gnutls -gtk
-infiniband -io-uring -iscsi -jack -jemalloc -lzo -multipath -nfs -numa
-opengl -plugins -pulseaudio -python -rbd -sasl -sdl -sdl-image
(-selinux) -smartcard -snappy -spice -ssh -static -static-user
-systemtap -test -usb -usbredir -vde -vhost-user-fs -virgl -virtfs -vte
-xen -xfs -zstd" PYTHON_TARGETS="python3_7 python3_8* -python3_6
-python3_9" QEMU_SOFTMMU_TARGETS="x86_64 -aarch64 -alpha -arm -avr -cris
-hppa -i386 -lm32 -m68k -microblaze -microblazeel -mips -mips64
-mips64el -mipsel -moxie -nios2 -or1k -ppc -ppc64 -riscv32 -riscv64 -rx
-s390x -sh4 -sh4eb -sparc -sparc64 -tricore -unicore32 -xtensa
-xtensaeb" QEMU_USER_TARGETS="-aarch64 -aarch64_be -alpha -arm -armeb
-cris -hppa -i386 -m68k -microblaze -microblazeel -mips -mips64
-mips64el -mipsel -mipsn32 -mipsn32el -nios2 -or1k -ppc -ppc64
-ppc64abi32 -ppc64le -riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc
-sparc32plus -sparc64 -tilegx -x86_64 -xtensa -xtensaeb" 0 KiB
[ebuild   R    ] app-emulation/virtualbox-6.0.24::gentoo USE="alsa
opengl opus pam qt5 sdk udev -debug -doc -dtrace -headless -java
-libressl -lvm -pax_kernel -pulseaudio -python -vboxwebsrv -vnc"
PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7*" 0 KiB
[ebuild   R    ] net-analyzer/rrdtool-1.7.2:0/8.0.0::gentoo USE="graph
perl tcpd -dbi -doc -lua -python -rados -rrdcgi -ruby -static-libs -tcl
-test" PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7*" 0 KiB
[ebuild   R    ] sci-libs/gdal-3.0.4-r1:0/3.0::gentoo USE="aux-xml
-armadillo -curl -debug -doc -fits -geos -gif -gml -hdf5 -java -jpeg
-jpeg2k -lzma (-mdb) -mysql -netcdf -odbc -ogdi -opencl (-oracle) -pdf
-perl -png -postgres -python -spatialite -sqlite -threads -webp -xls
-zstd" PYTHON_TARGETS="python3_7 python3_8* -python3_6 -python3_9" 0 KiB
[ebuild   R    ] app-text/asciidoc-9.0.2::gentoo  USE="-doc -test"
PYTHON_SINGLE_TARGET="python3_8* (-pypy3) -python3_6 -python3_7*
-python3_9" 0 KiB
[ebuild U  ] dev-util/cbindgen-0.15.0::gentoo [0.14.6::gentoo]
USE="-debug" 3124 KiB
[ebuild   R    ] dev-python/setuptools-46.4.0-r3::gentoo USE="-test"
PYTHON_TARGETS="python2_7 python3_6 python3_7 python3_8* (-pypy3)
-python3_9" 0 KiB
[ebuild   R    ] dev-python/setuptools_scm-4.1.2-r1::gentoo USE="-test"
PYTHON_TARGETS="python3_6 python3_7 python3_8* (-pypy3) -python3_9" 0 KiB
[ebuild   R    ] dev-util/meson-0.55.3::gentoo  USE="(-test)"
PYTHON_TARGETS="python3_7 python3_8* -python3_6 -python3_9" 0 KiB
[ebuild U  ] dev-python/six-1.15.0-r1::gentoo [1.15.0::gentoo]
USE="-doc -test" PYTHON_TARGETS="python3_6 python3_7 python3_8* (-pypy3)
-python3_9 (-python2_7%*)" 0 KiB
[ebuild U  ] dev-python/pygments-2.7.2::gentoo [2.7.0::gentoo]
USE="-doc -test" PYTHON_TARGETS="python3_7 python3_8* (-pypy3)
-python3_6 -python3_9" 2296 KiB
[ebuild U  ] dev-python/idna-2.10-r1::gentoo [2.10::gentoo]
PYTHON_TARGETS="python3_6 python3_7 python3_8* (-pypy3) -python3_

Re: [gentoo-user] [slightly O/T] mysql problems

2014-10-14 Thread Kerin Millar

On 14/10/2014 23:25, Mick wrote:

On Tuesday 14 Oct 2014 21:15:48 Kerin Millar wrote:

On 14/10/2014 19:54, Mick wrote:



# Uncomment this to get FEDERATED engine support
#plugin-load=federated=ha_federated.so
loose-federated

As far as I recall this is a default setting.  Should I change it?


No. I presume that you are not actively using the federated storage
engine but let's put that aside because there is more to this error than
meets the eye.

Check your MySQL error log and look for any anomalies from the point at
which MySQL is started. If you don't know where the log file is, execute
SELECT @@log_error.



141014 19:41:37 [Warning] No argument was provided to --log-bin, and --log-
bin-index was not used; so replication may break when this MySQL server acts
as a master and has his hostname changed!! Please use '--log-bin=mysqld-bin'
to avoid this problem.
141014 19:41:37 InnoDB: The InnoDB memory heap is disabled
141014 19:41:37 InnoDB: Mutexes and rw_locks use GCC atomic builtins
141014 19:41:37 InnoDB: Compressed tables use zlib 1.2.8
141014 19:41:37 InnoDB: Using Linux native AIO
141014 19:41:37 InnoDB: Initializing buffer pool, size = 16.0M
141014 19:41:37 InnoDB: Completed initialization of buffer pool
141014 19:41:37 InnoDB: highest supported file format is Barracuda.
141014 19:41:37  InnoDB: Operating system error number 2 in a file operation.
InnoDB: The error means the system cannot find the path specified.
InnoDB: If you are installing InnoDB, remember that you must create
InnoDB: directories yourself, InnoDB does not create them.
141014 19:41:37  InnoDB: Error: trying to open a table, but could not
InnoDB: open the tablespace file './website1@002dnew/actions.ibd'!
InnoDB: Have you moved InnoDB .ibd files around without using the
InnoDB: commands DISCARD TABLESPACE and IMPORT TABLESPACE?
InnoDB: It is also possible that this is a temporary table #sql...,
InnoDB: and MySQL removed the .ibd file for this.
InnoDB: Please refer to
InnoDB: 
http://dev.mysql.com/doc/refman/5.5/en/innodb-troubleshooting-datadict.html


Nothing particularly interesting there.




I have several questions:

* Have you started MySQL with skip-grant-tables in effect?


Not knowingly.  How do I find out?


If you had, you would know. It disables the privilege handling system 
outright. Typically it's used in situations where the root password has 
been forgotten or just prior to executing mysql_upgrade.


The reason for asking is that it may also prevent some storage engines 
from loading, in which case their options will not be recognized. In 
turn, this may result in confusing error messages such as the one that 
you encountered.


However, with the benefit of being able to read your my.cnf, the 
explanation turns out to be much simpler. You have loose-federated 
specified as an option but you are not loading the corresponding storage 
plugin. There is also the possibility that the engine was not compiled 
in at all (whether as a plugin or not).


Simply remove or comment the line specifying this option and the error 
should go away.






* Have you upgraded MySQL recently without going through the
  documented upgrade procedure? [1]


I'm still on mysql-5.5.39


OK. If it has always been running MySQL 5.5, there's nothing to be 
concerned about.




  Installed versions:  5.5.39(16:42:22 08/09/14)(community perl ssl -
bindist -cluster -debug -embedded -extraengine -jemalloc -latin1 -max-idx-128
-minimal -profiling -selinux -static -static-libs -systemtap -tcmalloc -test)



* Have you copied files into MySQL's data directory that originated
  from a different version of MySQL?


No, not manually.


Good.





* Have you otherwise removed or modified files in the data directory?


Not as far as I know.  I have suspicions of fs corruption though (it's been
running out of space lately and I haven't yet found out why).


Not good. Which filesystem, if I may ask? XFS is preferable, due to its 
very good performance with O_DIRECT, which ext4 coming in second. Other 
filesystems may be problematic. In particular, ZFS does not support 
asynchronous I/O.






2. A particular database which I have imported locally from a live site
gives me loads of this:

The wording here suggests a broader context that would be relevant.
Please be specific as to the circumstances. What procedure did you
employ in order to migrate and import the database? What do you mean by
live site? Which versions of MySQL are running at both source and
destination? How are they configured?


mysql -u webadmin -h localhost -p website_test  website1_20141014.sql


Ah, just using DDL. That shouldn't have caused any trouble.



The server is on 5.5.36.

website1 is the database name of the live site, and website_test is the local
development database.

The server is a shared server, so I'm getting its vanilla configuration with
no choice on the matter.  The local configuration is attached.



Is this some error imported from

Re: [gentoo-user] Re: Firefox occasionally stalls

2017-03-21 Thread Mick
On Tuesday 21 Mar 2017 22:50:04 Kai Krakow wrote:
> Am Tue, 21 Mar 2017 23:22:48 +0200
> 
> schrieb Alan McKinnon <alan.mckin...@gmail.com>:
> > On 21/03/2017 22:16, Kai Krakow wrote:
> > > Test one by one... Either disable all, then enable one by one, or
> > > vice-versa.
> > > 
> > > Chances are that your FS may be blocking on sync. Do you maybe have
> > > a very high value in /proc/sys/vm/dirty_background_{ratio,bytes}?
> > > 
> > > If ratio is 0, then bytes is used. Ratio is a percent of your
> > > physical RAM. With the default kernel value in modern systems, this
> > > is ridiculously high for desktop systems. Maybe put a fixed value,
> > > like 128MB. The dirty background value is the amount of outstanding
> > > writes before a foreground process blocks on further writes. If
> > > this value is high, a sync may cause processes to freeze for a long
> > > time. Setting this to a lower value forces single processes to
> > > block early and give the kernel a chance to write back dirty data.
> > > 
> > > The next value to check is dirty_{ratio,bytes}. That is the combined
> > > maximum of outstanding data before the cache must be flushed. If
> > > this is hit, all writing processes freeze. So, having the
> > > background value high gives a greater chance of hitting this early.
> > > 
> > > The default values are 10% and 20% (ratio). I've made the 20% ratio
> > > into 10% and put 128MB for background which works quite well:
> > > Foreground processes are blocked for shorter times (because writing
> > > 128MB can be a few seconds or less, where 1.6GB can be minutes in a
> > > worse case, so if overall limit is hit, I'm screwed). The overall
> > > dirty buffer is still big enough to let the system buffer writes of
> > > multiple processes. My system has 16GB RAM, you may want to adjust
> > > it or try different values.
> > > 
> > > $ cat /etc/sysctl.d/98-caching.conf
> > > vm.dirty_background_bytes = 134217728
> > > vm.dirty_ratio = 10
> > > 
> > > Maybe point your Firefox cache to a tmpfs. If you're using tmpfs,
> > > don't put swappiness to low, otherwise data sitting in tmpfs cannot
> > > be swapped out and will cause filesystem caches to be discarded to
> > > early. I'm working with a 32GB tmpfs and standard swappiness for
> > > emerge, and I see no problems although multiple gigabytes of emerge
> > > build data may be swapped out. Still, emerge is so much faster now.
> > > But then, my swaps are on different disks (and I have multiple for
> > > getting some RAID-like striping of swap space).
> > > 
> > > Also, depending on which FS you're using, trying deadline instead of
> > > CFQ may greatly improve your desktop experience (browsers should
> > > benefit most from this).
> > 
> > You may be onto something here:
> > 
> > This is an 8-core i7 latop, 16G RAM
> > 
> > $ sudo cat /proc/sys/vm/dirty_background_bytes
> > 0
> > $ sudo cat /proc/sys/vm/dirty_background_ratio
> > 5
> > $ sudo cat /proc/sys/vm/dirty_bytes
> > 0
> > $ sudo cat /proc/sys/vm/dirty_ratio
> > 10
> 
> With a 16 GB machine, I recommend to not work with the ratio values and
> stick to bytes values. 1% steps is just so coarse. Put some reasonable
> values there.
> 
> > browser cache is on a regular laptop spinning-rust 500G disk
> 
> Try moving the cache to tmpfs just for the sake of eliminating that...
> Nowadays, /tmp is usually mounted with tmpfs (at least it should),
> otherwise mount tmpfs somewhere below /mnt and make it chmod 1777. Then
> create a cache directory there, rename your browser cache (while the
> browser is not running) and instead put a symlink to the newly created
> directory. Now do some tests without rebooting. If it works, create an
> fstab entry to mount a tmpfs directly to your firefox cache directory
> with correct permissions. Of course, it would be lost on reboots.
> 
> An alternative could be to put the cache on an FS with better write
> performance, like NILFS2 (it does linear writes only but reading will
> suffer, but reading is not that sensitive to blocking). Reiserfs can
> also perform well when fsyncs are involved. But it doesn't scale well
> to parallel accesses (which is not so relevant for desktop usage, and
> especially as browser cache). Also, XFS always performed very well for
> me (better than Ext4), for desktop and server usage. But that only
> makes sense if you convert your whole system to that. And it cannot
> play its

[gentoo-user] Re: [SOLVED] 3D graphics acceleration on QEMU

2017-07-18 Thread Mick
I had a look at this again this morning and cracked it.  More info below.

On Monday 17 Jul 2017 00:00:53 Mick wrote:
> On Sunday 16 Jul 2017 22:49:54 Neil Bothwick wrote:
> > On Sun, 16 Jul 2017 16:20:15 +0100, Mick wrote:
> > > Another annoying thing was the bottom of the screen was cropped off and
> > > to see the main menu and toolbar I have to move the mouse past the
> > > bottom edge of the window.  The visual aperture is smaller than the
> > > desktop screen size.  I don't know if this in anyway related to the
> > > above warning.
> > 
> > I see that one regularly, the desktop is 1024x768 but the display is
> > 1024x720. simply change the display to 1024x720 in Mint's prefs or use a
> > different video card emulation, such as vmware, by adding "-vga vmware"
> > to your options.
> 
> Thanks Neil, I'll try this out when I boot it up next time.  Meanwhile, I'm
> not sure if the virtio drivers in the kernel are meant for guest kernels
> only, or if I should have them enabled on the host's.
> 
> This is the modules I have enabled on the host which is VT-x capable:
> 
> # grep -e DMAR -e IOMMU -e VIRT /usr/src/linux/.config
> CONFIG_VIRT_CPU_ACCOUNTING=y
> CONFIG_VIRT_CPU_ACCOUNTING_GEN=y
> CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
> # CONFIG_GART_IOMMU is not set
> # CONFIG_CALGARY_IOMMU is not set
> CONFIG_IOMMU_HELPER=y
> CONFIG_VIRT_TO_BUS=y
> CONFIG_VIRTIO_BLK=m
> CONFIG_VIRTIO_NET=m
> # CONFIG_VIRTIO_CONSOLE is not set
> # CONFIG_HW_RANDOM_VIRTIO is not set
> # CONFIG_DRM_VIRTIO_GPU is not set
> # CONFIG_FB_VIRTUAL is not set
> # CONFIG_SND_VIRTUOSO is not set
> # CONFIG_VIRT_DRIVERS is not set
> CONFIG_VIRTIO=m
> # CONFIG_VIRTIO_PCI is not set
> # CONFIG_VIRTIO_BALLOON is not set
> # CONFIG_VIRTIO_INPUT is not set
> # CONFIG_VIRTIO_MMIO is not set
> CONFIG_IOMMU_API=y
> CONFIG_IOMMU_SUPPORT=y
> # Generic IOMMU Pagetable Support
> CONFIG_IOMMU_IOVA=y
> # CONFIG_AMD_IOMMU is not set
> CONFIG_DMAR_TABLE=y
> CONFIG_INTEL_IOMMU=y
> CONFIG_INTEL_IOMMU_SVM=y
> CONFIG_INTEL_IOMMU_DEFAULT_ON=y
> CONFIG_INTEL_IOMMU_FLOPPY_WA=y
> # CONFIG_DEBUG_VIRTUAL is not set
> # CONFIG_IOMMU_STRESS is not set
> CONFIG_VIRTUALIZATION=y
> 
> The CPU has vmx, but not vmd:
> 
> processor : 7
> vendor_id : GenuineIntel
> cpu family: 6
> model : 30
> model name: Intel(R) Core(TM) i7 CPU   Q 720  @ 1.60GHz
> stepping  : 5
> microcode : 0x7
> cpu MHz   : 933.000
> cache size: 6144 KB
> physical id   : 0
> siblings  : 8
> core id   : 3
> cpu cores : 4
> apicid: 7
> initial apicid: 7
> fpu   : yes
> fpu_exception : yes
> cpuid level   : 11
> wp: yes
> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
> pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp
> lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc
> aperfmperf eagerfpu pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16
> xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm tpr_shadow vnmi flexpriority ept
> vpid dtherm ida
> bugs  :
> bogomips  : 3191.45
> clflush size  : 64
> cache_alignment   : 64
> address sizes : 36 bits physical, 48 bits virtual
> power management:

The above are as they should be.  When building qemu it is important to set 
USE="virgl".  This is how mine was built:

[ebuild   R] app-emulation/qemu-2.9.0-r2::gentoo  USE="aio alsa bluetooth 
bzip2 caps curl fdt filecaps gtk gtk2 jpeg ncurses nls opengl pin-upstream-
blobs png pulseaudio sdl sdl2 seccomp usb vhost-net virgl virtfs vnc xattr -
accessibility -debug (-glusterfs) -gnutls -infiniband -iscsi -lzo -nfs -numa -
python -rbd -sasl (-selinux) -smartcard -snappy -spice -ssh -static -static-
user -systemtap -tci {-test} -usbredir -vde -vte -xen -xfs" LINGUAS="-bg -
de_DE -fr_FR -hu -it -tr -zh_CN" PYTHON_TARGETS="python2_7" 
QEMU_SOFTMMU_TARGETS="x86_64 -aarch64 -alpha -arm -cris -i386 -lm32 -m68k -
microblaze -microblazeel -mips -mips64 -mips64el -mipsel -moxie -nios2 -or1k -
ppc -ppc64 -ppcemb -s390x -sh4 -sh4eb -sparc -sparc64 -tricore -unicore32 -
xtensa -xtensaeb" QEMU_USER_TARGETS="-aarch64 -alpha -arm -armeb -cris -hppa -
i386 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32 
-mipsn32el -nios2 -or1k -ppc -ppc64 -ppc64abi32 -ppc64le -s390x -sh4 -sh4eb -
sparc -sparc32plus -sparc64 -tilegx -x86_64*" 0 KiB

Thereafter, the trick in getting hardware acceleration in the guest is to set 
'-vga virtio' when launching the guest VM with qemu:

$ qemu-system-x86_64 -m 1024 -enable-kvm -display sdl,gl=on -vga 

Re: [gentoo-user] Re: Well, I went about updating my system again. (day 6)

2016-12-07 Thread Alan Grimes
Mick wrote:
> 2. If problems show up, forget the script and use 'emerge -avuND world' as 
> Mr. 
> McKinnon suggested.  In most cases this will resolve any conflicts on its 
> own.  
> You could add '--backtrack=90' if there are unresolved conflicts to get 
> portage 
> to try harder.

=\

I do read every word sent my direction, carefully.

My misery quotient is now 429, Unfortunately, it seems I need to post
the entire Litany of Pain though it will bloat this e-mail a good deal
more than I feel comfortable posting.




tortoise ~ # emerge -avuND world<<< copied verbatim, seems
equivalent to what my script has anyway

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N ] dev-libs/xapian-1.2.24:0/1.2.22::gentoo  USE="brass
chert inmemory -doc -static-libs" CPU_FLAGS_X86="sse sse2" 0 KiB
[ebuild   R] dev-python/six-1.10.0::gentoo  USE="-doc {-test}"
PYTHON_TARGETS="python2_7 python3_4 python3_5 -pypy -pypy3
(-python3_3%)" 0 KiB
[ebuild   R] dev-python/pyasn1-0.1.9::gentoo  USE="-doc"
PYTHON_TARGETS="python2_7 python3_4 python3_5 -pypy -pypy3
(-python3_3%)" 0 KiB
[ebuild U  ] dev-cpp/glibmm-2.50.0:2::gentoo [2.48.1:2::gentoo]
USE="-debug -doc {-test} (-examples%)" ABI_X86="32 (64) (-x32)" 6,285 KiB
[ebuild   R] dev-python/idna-2.1::gentoo  PYTHON_TARGETS="python2_7
python3_4 python3_5 -pypy -pypy3 (-python3_3%)" 0 KiB
[ebuild   R] dev-python/chardet-2.3.0::gentoo 
PYTHON_TARGETS="python2_7 python3_4 python3_5 -pypy -pypy3
(-python3_3%)" 0 KiB
[ebuild   R] dev-python/sip-4.18.1:0/11::gentoo  USE="-debug -doc"
PYTHON_TARGETS="python2_7 python3_4 python3_5 (-python3_3%)" 0 KiB
[ebuild   R] dev-python/pycrypto-2.6.1-r1::gentoo  USE="gmp -doc
{-test}" PYTHON_TARGETS="python2_7 python3_4 python3_5 (-python3_3%)" 0 KiB
[ebuild U  ] virtual/perl-Compress-Raw-Zlib-2.69.0-r1::gentoo
[2.69.0::gentoo] 0 KiB
[ebuild   R] dev-python/py-1.4.31::gentoo  USE="-doc {-test}"
PYTHON_TARGETS="python2_7 python3_4 python3_5 -pypy -pypy3
(-python3_3%)" 0 KiB
[ebuild   R] dev-python/markupsafe-0.23::gentoo 
PYTHON_TARGETS="python2_7 python3_4 python3_5 -pypy -pypy3
(-python3_3%)" 0 KiB
[ebuild U  ] virtual/perl-libnet-3.80.100_rc::gentoo
[3.80.0::gentoo] 0 KiB
[ebuild U  ] virtual/perl-Time-Local-1.230.0-r4::gentoo
[1.230.0-r3::gentoo] 0 KiB
[ebuild U  ] virtual/perl-IO-1.360.100_rc::gentoo [1.360.0::gentoo]
0 KiB
[ebuild U  ] virtual/perl-Carp-1.400.0-r1::gentoo [1.400.0::gentoo]
0 KiB
[ebuild U  ] virtual/perl-Digest-MD5-2.540.0-r2::gentoo
[2.540.0-r1::gentoo] 0 KiB
[ebuild  NS] sys-kernel/vanilla-sources-4.8.12:4.8.12::gentoo
[4.7.2:4.7.2::gentoo] USE="-build -symlink" 237 KiB
[ebuild U  ] media-libs/audiofile-0.3.6-r2:0/1::gentoo
[0.3.6-r1:0/1::gentoo] USE="flac -static-libs {-test}" ABI_X86="32 (64)
(-x32)" 0 KiB
[ebuild U  ] sys-fs/lvm2-2.02.166::gentoo [2.02.145-r2::gentoo]
USE="readline thin udev -clvm -cman -corosync -device-mapper-only -lvm1
-lvm2create_initrd -openais (-selinux) -static -static-libs -systemd"
2,098 KiB
[ebuild U  ] dev-libs/jansson-2.9::gentoo [2.7::gentoo] USE="-doc
-static-libs" ABI_X86="32%* (64%*) (-x32)" 474 KiB
[ebuild U  ] dev-python/PySocks-1.6.4::gentoo [1.5.6::gentoo]
PYTHON_TARGETS="python2_7 python3_4 python3_5 -pypy -pypy3%
(-python3_3%)" 17 KiB
[ebuild   R] dev-python/enum34-1.1.6::gentoo  USE="-doc"
PYTHON_TARGETS="python2_7 -pypy -pypy3 (-python3_3%)" 0 KiB
[ebuild U  ] dev-db/sqlcipher-3.4.0::gentoo [3.3.0::gentoo]
USE="readline -libressl% -static-libs -tcl {-test}" ABI_X86="32 (64)
(-x32)" 13,283 KiB
[ebuild U  ] net-libs/libmicrohttpd-0.9.52:0/12::gentoo
[0.9.51:0/12::gentoo] USE="ssl -epoll -messages -static-libs {-test}"
1,216 KiB
[ebuild U  ] dev-python/simplejson-3.10.0::gentoo [3.8.2::gentoo]
PYTHON_TARGETS="python2_7 python3_4 python3_5 -pypy -pypy3
(-python3_3%)" 77 KiB
[ebuild U  ] dev-lang/lua-5.1.5-r4::gentoo [5.1.5-r3::gentoo]
USE="deprecated readline -emacs -static" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild U  ] net-libs/libpcap-1.8.1::gentoo [1.8.0::gentoo]
USE="dbus usb%* -bluetooth -netlink -static-libs (-canusb%)" ABI_X86="32
(64) (-x32)" 736 KiB
[ebuild U  ] dev-libs/libevdev-1.5.5::gentoo [1.5.4::gentoo]
USE="-static-libs" ABI_X86="32 (64) (-x32)" 397 KiB
[ebuild   R] dev-python/pycurl-7.43.0::gentoo  USE="ssl -examples
{-test}" CURL_SSL="openssl -gnutls -libressl -nss"
PYTHON_TARGETS=&

[gentoo-user] update fails, but I don't see why

2020-12-03 Thread n952162
dline -debug -examples -icu
-lzma -static-libs -test" ABI_X86="(64) -32 (-x32)"
PYTHON_TARGETS="python3_8* -python3_6 -python3_7* -python3_9" 0 KiB
[ebuild   R    ] dev-util/glib-utils-2.64.5::gentoo
PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7* -python3_9%" 0 KiB
[ebuild  NS    ] sys-devel/llvm-11.0.0:11::gentoo [8.0.1:8::gentoo,
9.0.1:9::gentoo, 10.0.1:10::gentoo] USE="libffi ncurses -debug -doc
-exegesis -gold -libedit -test -xar -xml -z3" ABI_X86="(64) -32 (-x32)"
LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 -ARC -ARM -AVR -Hexagon
-Lanai -MSP430 -Mips -PowerPC -RISCV -Sparc -SystemZ -VE% -WebAssembly
-XCore" 176 KiB
[ebuild U  ] dev-python/certifi-10001-r1::gentoo [10001::gentoo]
USE="-test" PYTHON_TARGETS="python3_6 python3_7 python3_8* (-pypy3)
-python3_9 (-python2_7%*)" 0 KiB
[ebuild   R    ] dev-util/gdbus-codegen-2.64.5::gentoo
PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7*" 0 KiB
[ebuild   R    ] sys-devel/llvm-10.0.1:10::gentoo  USE="libffi ncurses
-debug -doc -exegesis -gold -libedit -test -xar -xml -z3" ABI_X86="(64)
-32 (-x32)" LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 -ARC -ARM -AVR
-Hexagon -Lanai -MSP430 -Mips -PowerPC -RISCV -Sparc -SystemZ
-WebAssembly -XCore" 176 KiB
[ebuild  N ] app-arch/brotli-1.0.9-r1:0/1::gentoo USE="-python
-test" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_8 -python3_6
-python3_7 -python3_9" 476 KiB
[ebuild   R    ] dev-python/bsddb3-6.2.7::gentoo
PYTHON_TARGETS="python3_8* -python3_6 -python3_7* -python3_9" 0 KiB
[ebuild U  ] dev-lang/rust-1.47.0-r2:stable/1.47::gentoo
[1.46.0:stable/1.46::gentoo] USE="-clippy -debug (-doc) -libressl
(-miri) (-nightly) (-parallel-compiler) -rls -rustfmt
(-system-bootstrap) (-system-llvm) -test% -wasm" ABI_X86="(64) -32
(-x32)" CPU_FLAGS_X86="sse2" LLVM_TARGETS="(X86) -AArch64 -AMDGPU -ARM
-AVR% -BPF -Hexagon -Lanai -MSP430 -Mips -NVPTX -PowerPC -RISCV -Sparc
-SystemZ -WebAssembly -XCore" 225922 KiB
[ebuild U  ] sys-libs/libomp-11.0.0::gentoo [10.0.1::gentoo]
USE="(-cuda) -hwloc -offload -ompt -test" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] dev-util/android-tools-9.0.0_p3-r1::gentoo
USE="-python" PYTHON_TARGETS="python3_8%* -python3_6 -python3_7*
-python3_9%" 11 KiB
[ebuild U  ] sys-block/parted-3.3-r2::gentoo [3.2-r1::gentoo]
USE="debug nls readline -device-mapper (-selinux) (-static-libs%)" 1717 KiB
[ebuild U  ] sys-devel/gdb-10.1::gentoo [9.2::gentoo] USE="client
nls python server -lzma -multitarget -source-highlight -test -vanilla
-xml -xxhash" PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7*
-python3_9%" 21004 KiB
[ebuild   R    ] app-editors/vim-8.2.0360::gentoo  USE="X acl nls
-cscope -debug -gpm -lua -luajit -minimal -perl -python -racket -ruby
(-selinux) -sound -tcl -terminal -vim-pager"
PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7*" 0 KiB
[ebuild U  ] virtual/rust-1.47.0::gentoo [1.46.0::gentoo]
ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] dev-util/itstool-2.0.6-r1::gentoo
PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7*" 0 KiB
[ebuild   R    ] x11-base/xcb-proto-1.14-r1::gentoo  ABI_X86="(64) -32
(-x32)" PYTHON_TARGETS="python3_8* -python3_6 -python3_7* -python3_9" 0 KiB
[ebuild U  ] net-libs/nodejs-14.15.1:0/14::gentoo
[14.11.0:0/0::gentoo] USE="icu npm snapshot ssl system-ssl -debug -doc
-inspector -pax_kernel -system-icu% -systemtap -test"
CPU_FLAGS_X86="sse2" 32654 KiB
[ebuild U  ] app-emulation/qemu-5.1.0-r2::gentoo [5.1.0-r1::gentoo]
USE="aio bzip2 caps curl fdt filecaps jpeg ncurses nls oss
pin-upstream-blobs png seccomp slirp vhost-net vnc xattr xkb
-accessibility -alsa (-capstone) -debug -doc -glusterfs -gnutls -gtk
-infiniband -io-uring -iscsi -jack -jemalloc -lzo -multipath -nfs -numa
-opengl -plugins -pulseaudio -python -rbd -sasl -sdl -sdl-image
(-selinux) -smartcard -snappy -spice -ssh -static -static-user
-systemtap -test -usb -usbredir -vde -vhost-user-fs -virgl -virtfs -vte
-xen -xfs -zstd" PYTHON_TARGETS="python3_8* -python3_6 -python3_7*
-python3_9" QEMU_SOFTMMU_TARGETS="x86_64 -aarch64 -alpha -arm -avr -cris
-hppa -i386 -lm32 -m68k -microblaze -microblazeel -mips -mips64
-mips64el -mipsel -moxie -nios2 -or1k -ppc -ppc64 -riscv32 -riscv64 -rx
-s390x -sh4 -sh4eb -sparc -sparc64 -tricore -unicore32 -xtensa
-xtensaeb" QEMU_USER_TARGETS="-aarch64 -aarch64_be -alpha -arm -armeb
-cris -hppa -i386 -m68k -microblaze -microblazeel -mips -mips64
-mips64el -mipsel -mipsn32 -mipsn32el -nios2 -or1k -ppc -ppc64
-ppc64abi32 -ppc64le -riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc
-sparc32plus -sparc64 -tilegx -x86_64 -xtensa -xtensaeb&qu

Re: [gentoo-user] update fails, but I don't see why

2020-12-04 Thread n952162
  R    ] sys-devel/llvm-10.0.1:10::gentoo  USE="libffi ncurses
-debug -doc -exegesis -gold -libedit -test -xar -xml -z3" ABI_X86="(64)
-32 (-x32)" LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 -ARC -ARM -AVR
-Hexagon -Lanai -MSP430 -Mips -PowerPC -RISCV -Sparc -SystemZ
-WebAssembly -XCore" 176 KiB
[ebuild  N ] app-arch/brotli-1.0.9-r1:0/1::gentoo USE="-python
-test" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_7 python3_8
-python3_6 -python3_9" 476 KiB
[ebuild   R    ] dev-python/bsddb3-6.2.7::gentoo
PYTHON_TARGETS="python3_7 python3_8* -python3_6 -python3_9" 0 KiB
[ebuild U  ] dev-lang/rust-1.47.0-r2:stable/1.47::gentoo
[1.46.0:stable/1.46::gentoo] USE="-clippy -debug (-doc) -libressl
(-miri) (-nightly) (-parallel-compiler) -rls -rustfmt
(-system-bootstrap) (-system-llvm) -test% -wasm" ABI_X86="(64) -32
(-x32)" CPU_FLAGS_X86="sse2" LLVM_TARGETS="(X86) -AArch64 -AMDGPU -ARM
-AVR% -BPF -Hexagon -Lanai -MSP430 -Mips -NVPTX -PowerPC -RISCV -Sparc
-SystemZ -WebAssembly -XCore" 225922 KiB
[ebuild U  ] sys-libs/libomp-11.0.0::gentoo [10.0.1::gentoo]
USE="(-cuda) -hwloc -offload -ompt -test" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] dev-util/android-tools-9.0.0_p3-r1::gentoo
USE="-python" PYTHON_TARGETS="python3_7 python3_8%* -python3_6
-python3_9%" 11 KiB
[ebuild U  ] sys-devel/gdb-10.1::gentoo [9.2::gentoo] USE="client
nls python server -lzma -multitarget -source-highlight -test -vanilla
-xml -xxhash" PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7*
-python3_9%" 21004 KiB
[ebuild   R    ] app-editors/vim-8.2.0360::gentoo  USE="X acl nls
-cscope -debug -gpm -lua -luajit -minimal -perl -python -racket -ruby
(-selinux) -sound -tcl -terminal -vim-pager"
PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7*" 0 KiB
[ebuild U  ] virtual/rust-1.47.0::gentoo [1.46.0::gentoo]
ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] dev-util/itstool-2.0.6-r1::gentoo
PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7*" 0 KiB
[ebuild   R    ] x11-base/xcb-proto-1.14-r1::gentoo  ABI_X86="(64) -32
(-x32)" PYTHON_TARGETS="python3_7 python3_8* -python3_6 -python3_9" 0 KiB
[ebuild U  ] x11-libs/libXaw-1.0.13-r2::gentoo [1.0.13-r1::gentoo]
USE="-deprecated -doc -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild U  ] net-libs/nodejs-14.15.1:0/14::gentoo
[14.11.0:0/0::gentoo] USE="icu npm snapshot ssl system-ssl -debug -doc
-inspector -pax_kernel -system-icu% -systemtap -test"
CPU_FLAGS_X86="sse2" 32654 KiB
[ebuild U  ] app-emulation/qemu-5.1.0-r2::gentoo [5.1.0-r1::gentoo]
USE="aio bzip2 caps curl fdt filecaps jpeg ncurses nls oss
pin-upstream-blobs png seccomp slirp vhost-net vnc xattr xkb
-accessibility -alsa (-capstone) -debug -doc -glusterfs -gnutls -gtk
-infiniband -io-uring -iscsi -jack -jemalloc -lzo -multipath -nfs -numa
-opengl -plugins -pulseaudio -python -rbd -sasl -sdl -sdl-image
(-selinux) -smartcard -snappy -spice -ssh -static -static-user
-systemtap -test -usb -usbredir -vde -vhost-user-fs -virgl -virtfs -vte
-xen -xfs -zstd" PYTHON_TARGETS="python3_7 python3_8* -python3_6
-python3_9" QEMU_SOFTMMU_TARGETS="x86_64 -aarch64 -alpha -arm -avr -cris
-hppa -i386 -lm32 -m68k -microblaze -microblazeel -mips -mips64
-mips64el -mipsel -moxie -nios2 -or1k -ppc -ppc64 -riscv32 -riscv64 -rx
-s390x -sh4 -sh4eb -sparc -sparc64 -tricore -unicore32 -xtensa
-xtensaeb" QEMU_USER_TARGETS="-aarch64 -aarch64_be -alpha -arm -armeb
-cris -hppa -i386 -m68k -microblaze -microblazeel -mips -mips64
-mips64el -mipsel -mipsn32 -mipsn32el -nios2 -or1k -ppc -ppc64
-ppc64abi32 -ppc64le -riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc
-sparc32plus -sparc64 -tilegx -x86_64 -xtensa -xtensaeb" 0 KiB
[ebuild   R    ] app-emulation/virtualbox-6.0.24::gentoo USE="alsa
opengl opus pam qt5 sdk udev -debug -doc -dtrace -headless -java
-libressl -lvm -pax_kernel -pulseaudio -python -vboxwebsrv -vnc"
PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7*" 0 KiB
[ebuild U  ] media-gfx/imagemagick-7.0.10.41-r1:0/7.0.10-37::gentoo
[7.0.10.34-r1:0/7.0.10::gentoo] USE="X bzip2 cxx jpeg openmp png
postscript tiff zlib -corefonts -djvu -fftw -fontconfig -fpx -graphviz
-hdri -heif -jbig -jpeg2k -lcms -lqr -lzma -opencl -openexr -pango -perl
-q32 -q8 -raw -static-libs -svg -test -truetype -webp -wmf -xml" 9419 KiB
[ebuild   R    ] net-analyzer/rrdtool-1.7.2:0/8.0.0::gentoo USE="graph
perl tcpd -dbi -doc -lua -python -rados -rrdcgi -ruby -static-libs -tcl
-test" PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7*" 0 KiB
[ebuild   R    ] sci-libs/gdal-3.0.4-r1:0/3.0::gentoo USE="aux-xml
-armadillo -curl -debug -doc -fits -geos -gif -gml -hdf5 -java -jpeg
-jpeg2k -l

[gentoo-user] genkernel 3.3.8 fails to build initramfs

2012-07-02 Thread David Kuhl
When running genkernel all on the latest source 3.3.8 I get the following error.

CC  util-linux/mkfs_ext2.o
CC  util-linux/volume_id/ocfs2.o
util-linux/mkfs_ext2.c:51:27: fatal error: linux/ext2_fs.h: No such
file or directory
compilation terminated.

When I do a find the ext2_fs.h is found.

The entire log is below and the error is near the bottom.  How can I
fix this to get the kernel and initramfs build correctly?

Thanks


* Gentoo Linux Genkernel; Version 3.4.24_p1
* Running with options: initramfs

* Linux Kernel 3.3.8-gentoo for x86_64...
* blkid:  Using cache
* busybox:  Applying patches...
*   - 1.18.1-openvt.diff
*   - busybox-1.19.3-mdstart.patch
*   - busybox-1.7.4-signal-hack.patch
* busybox:  Configuring...
COMMAND: make -j2 CC=gcc LD=ld AS=as
  HOSTCC  scripts/basic/fixdep
  GEN include/applets.h
  HOSTCC  scripts/basic/split-include
scripts/basic/split-include.c: In function ‘main’:
scripts/basic/split-include.c:134:11: warning: ignoring return value
of ‘fgets’, declared with attribute warn_unused_result
  HOSTCC  scripts/basic/docproc
  GEN include/usage.h
  GEN e2fsprogs/Kbuild
  GEN e2fsprogs/Config.in
  GEN e2fsprogs/old_e2fsprogs/Kbuild
  GEN e2fsprogs/old_e2fsprogs/Config.in
  GEN e2fsprogs/old_e2fsprogs/e2p/Kbuild
  GEN e2fsprogs/old_e2fsprogs/uuid/Kbuild
  GEN e2fsprogs/old_e2fsprogs/blkid/Kbuild
  GEN e2fsprogs/old_e2fsprogs/ext2fs/Kbuild
  GEN networking/Kbuild
  GEN networking/Config.in
  GEN networking/libiproute/Kbuild
  GEN networking/udhcp/Kbuild
  GEN networking/udhcp/Config.in
  GEN libbb/Kbuild
  GEN libbb/Config.in
  GEN findutils/Kbuild
  GEN findutils/Config.in
  GEN loginutils/Kbuild
  GEN loginutils/Config.in
  GEN debianutils/Kbuild
  GEN debianutils/Config.in
  GEN runit/Kbuild
  GEN runit/Config.in
  GEN scripts/Kbuild
  GEN init/Kbuild
  GEN init/Config.in
  GEN selinux/Kbuild
  GEN selinux/Config.in
  GEN shell/Kbuild
  GEN shell/Config.in
  GEN printutils/Kbuild
  GEN printutils/Config.in
  GEN mailutils/Kbuild
  GEN mailutils/Config.in
  GEN sysklogd/Kbuild
  GEN sysklogd/Config.in
  GEN editors/Kbuild
  GEN editors/Config.in
  GEN miscutils/Kbuild
  GEN miscutils/Config.in
  GEN modutils/Kbuild
  GEN modutils/Config.in
  GEN libpwdgrp/Kbuild
  GEN console-tools/Kbuild
  GEN console-tools/Config.in
  GEN coreutils/Kbuild
  GEN coreutils/Config.in
  GEN coreutils/libcoreutils/Kbuild
  GEN archival/Kbuild
  GEN archival/Config.in
  GEN archival/libarchive/Kbuild
  GEN applets/Kbuild
  GEN util-linux/Kbuild
  GEN util-linux/Config.in
  GEN util-linux/volume_id/Kbuild
  GEN procps/Kbuild
  GEN procps/Config.in
  HOSTCC  scripts/kconfig/conf.o
scripts/kconfig/conf.c: In function ‘conf_choice’:
scripts/kconfig/conf.c:354:9: warning: ignoring return value of
‘fgets’, declared with attribute warn_unused_result
scripts/kconfig/conf.c: In function ‘conf_askvalue’:
scripts/kconfig/conf.c:106:8: warning: ignoring return value of
‘fgets’, declared with attribute warn_unused_result
  HOSTCC  scripts/kconfig/kxgettext.o
  HOSTCC  scripts/kconfig/mconf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
scripts/kconfig/mconf.c: In function ‘show_textbox’:
scripts/kconfig/mconf.c:839:7: warning: ignoring return value of
‘write’, declared with attribute warn_unused_result
scripts/kconfig/mconf.c: In function ‘exec_conf’:
scripts/kconfig/mconf.c:473:6: warning: ignoring return value of
‘pipe’, declared with attribute warn_unused_result
  HOSTCC  scripts/kconfig/zconf.tab.o
scripts/kconfig/zconf.tab.c: In function ‘expr_print_file_helper’:
scripts/kconfig/expr.c:1083:8: warning: ignoring return value of
‘fwrite’, declared with attribute warn_unused_result
scripts/kconfig/zconf.tab.c: In function ‘conf_write’:
scripts/kconfig/confdata.c:492:13: warning: ignoring return value of
‘fwrite’, declared with attribute warn_unused_result
scripts/kconfig/confdata.c:494:14: warning: ignoring return value of
‘fwrite’, declared with attribute warn_unused_result
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -o Config.in
#
# using defaults found in .config
#
*
* Busybox Configuration
*
*
* Busybox Settings
*
*
* General Configuration
*
Enable options for full-blown desktop systems (DESKTOP) [N/y/?] n
Provide compatible behavior for rare corner cases (bigger code)
(EXTRA_COMPAT) [N/y/?] n
Enable obsolete features removed before SUSv3 (INCLUDE_SUSv2) [N/y/?] n
Avoid using GCC-specific code constructs (USE_PORTABLE_CODE) [N/y/?] n
Enable Linux-specific applets and features (PLATFORM_LINUX) [Y/?] y
Buffer allocation policy
 1. Allocate with Malloc (FEATURE_BUFFERS_USE_MALLOC)
  2. Allocate on the Stack (FEATURE_BUFFERS_GO_ON_STACK)
  3. Allocate

[gentoo-user] genkernel 3.3.8 fails to build initramfs

2012-07-03 Thread David Kuhl
When running genkernel all on the latest source 3.3.8 I get the following error.

CC  util-linux/mkfs_ext2.o
CC  util-linux/volume_id/ocfs2.o
util-linux/mkfs_ext2.c:51:27: fatal error: linux/ext2_fs.h: No such
file or directory
compilation terminated.

When I do a find the ext2_fs.h is found.

The entire log is below and the error is near the bottom.  How can I
fix this to get the kernel and initramfs build correctly?

Thanks




* Gentoo Linux Genkernel; Version 3.4.24_p1
* Running with options: initramfs

* Linux Kernel 3.3.8-gentoo for x86_64...
* blkid:  Using cache
* busybox:  Applying patches...
*   - 1.18.1-openvt.diff
*   - busybox-1.19.3-mdstart.patch
*   - busybox-1.7.4-signal-hack.patch
* busybox:  Configuring...
COMMAND: make -j2 CC=gcc LD=ld AS=as
  HOSTCC  scripts/basic/fixdep
  GEN include/applets.h
  HOSTCC  scripts/basic/split-include
scripts/basic/split-include.c: In function ‘main’:
scripts/basic/split-include.c:134:11: warning: ignoring return value
of ‘fgets’, declared with attribute warn_unused_result
  HOSTCC  scripts/basic/docproc
  GEN include/usage.h
  GEN e2fsprogs/Kbuild
  GEN e2fsprogs/Config.in
  GEN e2fsprogs/old_e2fsprogs/Kbuild
  GEN e2fsprogs/old_e2fsprogs/Config.in
  GEN e2fsprogs/old_e2fsprogs/e2p/Kbuild
  GEN e2fsprogs/old_e2fsprogs/uuid/Kbuild
  GEN e2fsprogs/old_e2fsprogs/blkid/Kbuild
  GEN e2fsprogs/old_e2fsprogs/ext2fs/Kbuild
  GEN networking/Kbuild
  GEN networking/Config.in
  GEN networking/libiproute/Kbuild
  GEN networking/udhcp/Kbuild
  GEN networking/udhcp/Config.in
  GEN libbb/Kbuild
  GEN libbb/Config.in
  GEN findutils/Kbuild
  GEN findutils/Config.in
  GEN loginutils/Kbuild
  GEN loginutils/Config.in
  GEN debianutils/Kbuild
  GEN debianutils/Config.in
  GEN runit/Kbuild
  GEN runit/Config.in
  GEN scripts/Kbuild
  GEN init/Kbuild
  GEN init/Config.in
  GEN selinux/Kbuild
  GEN selinux/Config.in
  GEN shell/Kbuild
  GEN shell/Config.in
  GEN printutils/Kbuild
  GEN printutils/Config.in
  GEN mailutils/Kbuild
  GEN mailutils/Config.in
  GEN sysklogd/Kbuild
  GEN sysklogd/Config.in
  GEN editors/Kbuild
  GEN editors/Config.in
  GEN miscutils/Kbuild
  GEN miscutils/Config.in
  GEN modutils/Kbuild
  GEN modutils/Config.in
  GEN libpwdgrp/Kbuild
  GEN console-tools/Kbuild
  GEN console-tools/Config.in
  GEN coreutils/Kbuild
  GEN coreutils/Config.in
  GEN coreutils/libcoreutils/Kbuild
  GEN archival/Kbuild
  GEN archival/Config.in
  GEN archival/libarchive/Kbuild
  GEN applets/Kbuild
  GEN util-linux/Kbuild
  GEN util-linux/Config.in
  GEN util-linux/volume_id/Kbuild
  GEN procps/Kbuild
  GEN procps/Config.in
  HOSTCC  scripts/kconfig/conf.o
scripts/kconfig/conf.c: In function ‘conf_choice’:
scripts/kconfig/conf.c:354:9: warning: ignoring return value of
‘fgets’, declared with attribute warn_unused_result
scripts/kconfig/conf.c: In function ‘conf_askvalue’:
scripts/kconfig/conf.c:106:8: warning: ignoring return value of
‘fgets’, declared with attribute warn_unused_result
  HOSTCC  scripts/kconfig/kxgettext.o
  HOSTCC  scripts/kconfig/mconf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
scripts/kconfig/mconf.c: In function ‘show_textbox’:
scripts/kconfig/mconf.c:839:7: warning: ignoring return value of
‘write’, declared with attribute warn_unused_result
scripts/kconfig/mconf.c: In function ‘exec_conf’:
scripts/kconfig/mconf.c:473:6: warning: ignoring return value of
‘pipe’, declared with attribute warn_unused_result
  HOSTCC  scripts/kconfig/zconf.tab.o
scripts/kconfig/zconf.tab.c: In function ‘expr_print_file_helper’:
scripts/kconfig/expr.c:1083:8: warning: ignoring return value of
‘fwrite’, declared with attribute warn_unused_result
scripts/kconfig/zconf.tab.c: In function ‘conf_write’:
scripts/kconfig/confdata.c:492:13: warning: ignoring return value of
‘fwrite’, declared with attribute warn_unused_result
scripts/kconfig/confdata.c:494:14: warning: ignoring return value of
‘fwrite’, declared with attribute warn_unused_result
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -o Config.in
#
# using defaults found in .config
#
*
* Busybox Configuration
*
*
* Busybox Settings
*
*
* General Configuration
*
Enable options for full-blown desktop systems (DESKTOP) [N/y/?] n
Provide compatible behavior for rare corner cases (bigger code)
(EXTRA_COMPAT) [N/y/?] n
Enable obsolete features removed before SUSv3 (INCLUDE_SUSv2) [N/y/?] n
Avoid using GCC-specific code constructs (USE_PORTABLE_CODE) [N/y/?] n
Enable Linux-specific applets and features (PLATFORM_LINUX) [Y/?] y
Buffer allocation policy
 1. Allocate with Malloc (FEATURE_BUFFERS_USE_MALLOC)
  2. Allocate on the Stack (FEATURE_BUFFERS_GO_ON_STACK)
  3. Allocate

[gentoo-user] genkernel 3.3.8 fails to build initramfs

2012-07-03 Thread David Kuhl
When running genkernel all on the latest source 3.3.8 I get the following error.

CC  util-linux/mkfs_ext2.o
CC  util-linux/volume_id/ocfs2.o
util-linux/mkfs_ext2.c:51:27: fatal error: linux/ext2_fs.h: No such
file or directory
compilation terminated.

When I do a find the ext2_fs.h is found.

The entire log is below and the error is near the bottom.  How can I
fix this to get the kernel and initramfs build correctly?

Thanks




* Gentoo Linux Genkernel; Version 3.4.24_p1
* Running with options: initramfs

* Linux Kernel 3.3.8-gentoo for x86_64...
* blkid:  Using cache
* busybox:  Applying patches...
*   - 1.18.1-openvt.diff
*   - busybox-1.19.3-mdstart.patch
*   - busybox-1.7.4-signal-hack.patch
* busybox:  Configuring...
COMMAND: make -j2 CC=gcc LD=ld AS=as
  HOSTCC  scripts/basic/fixdep
  GEN include/applets.h
  HOSTCC  scripts/basic/split-include
scripts/basic/split-include.c: In function ‘main’:
scripts/basic/split-include.c:134:11: warning: ignoring return value
of ‘fgets’, declared with attribute warn_unused_result
  HOSTCC  scripts/basic/docproc
  GEN include/usage.h
  GEN e2fsprogs/Kbuild
  GEN e2fsprogs/Config.in
  GEN e2fsprogs/old_e2fsprogs/Kbuild
  GEN e2fsprogs/old_e2fsprogs/Config.in
  GEN e2fsprogs/old_e2fsprogs/e2p/Kbuild
  GEN e2fsprogs/old_e2fsprogs/uuid/Kbuild
  GEN e2fsprogs/old_e2fsprogs/blkid/Kbuild
  GEN e2fsprogs/old_e2fsprogs/ext2fs/Kbuild
  GEN networking/Kbuild
  GEN networking/Config.in
  GEN networking/libiproute/Kbuild
  GEN networking/udhcp/Kbuild
  GEN networking/udhcp/Config.in
  GEN libbb/Kbuild
  GEN libbb/Config.in
  GEN findutils/Kbuild
  GEN findutils/Config.in
  GEN loginutils/Kbuild
  GEN loginutils/Config.in
  GEN debianutils/Kbuild
  GEN debianutils/Config.in
  GEN runit/Kbuild
  GEN runit/Config.in
  GEN scripts/Kbuild
  GEN init/Kbuild
  GEN init/Config.in
  GEN selinux/Kbuild
  GEN selinux/Config.in
  GEN shell/Kbuild
  GEN shell/Config.in
  GEN printutils/Kbuild
  GEN printutils/Config.in
  GEN mailutils/Kbuild
  GEN mailutils/Config.in
  GEN sysklogd/Kbuild
  GEN sysklogd/Config.in
  GEN editors/Kbuild
  GEN editors/Config.in
  GEN miscutils/Kbuild
  GEN miscutils/Config.in
  GEN modutils/Kbuild
  GEN modutils/Config.in
  GEN libpwdgrp/Kbuild
  GEN console-tools/Kbuild
  GEN console-tools/Config.in
  GEN coreutils/Kbuild
  GEN coreutils/Config.in
  GEN coreutils/libcoreutils/Kbuild
  GEN archival/Kbuild
  GEN archival/Config.in
  GEN archival/libarchive/Kbuild
  GEN applets/Kbuild
  GEN util-linux/Kbuild
  GEN util-linux/Config.in
  GEN util-linux/volume_id/Kbuild
  GEN procps/Kbuild
  GEN procps/Config.in
  HOSTCC  scripts/kconfig/conf.o
scripts/kconfig/conf.c: In function ‘conf_choice’:
scripts/kconfig/conf.c:354:9: warning: ignoring return value of
‘fgets’, declared with attribute warn_unused_result
scripts/kconfig/conf.c: In function ‘conf_askvalue’:
scripts/kconfig/conf.c:106:8: warning: ignoring return value of
‘fgets’, declared with attribute warn_unused_result
  HOSTCC  scripts/kconfig/kxgettext.o
  HOSTCC  scripts/kconfig/mconf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
scripts/kconfig/mconf.c: In function ‘show_textbox’:
scripts/kconfig/mconf.c:839:7: warning: ignoring return value of
‘write’, declared with attribute warn_unused_result
scripts/kconfig/mconf.c: In function ‘exec_conf’:
scripts/kconfig/mconf.c:473:6: warning: ignoring return value of
‘pipe’, declared with attribute warn_unused_result
  HOSTCC  scripts/kconfig/zconf.tab.o
scripts/kconfig/zconf.tab.c: In function ‘expr_print_file_helper’:
scripts/kconfig/expr.c:1083:8: warning: ignoring return value of
‘fwrite’, declared with attribute warn_unused_result
scripts/kconfig/zconf.tab.c: In function ‘conf_write’:
scripts/kconfig/confdata.c:492:13: warning: ignoring return value of
‘fwrite’, declared with attribute warn_unused_result
scripts/kconfig/confdata.c:494:14: warning: ignoring return value of
‘fwrite’, declared with attribute warn_unused_result
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -o Config.in
#
# using defaults found in .config
#
*
* Busybox Configuration
*
*
* Busybox Settings
*
*
* General Configuration
*
Enable options for full-blown desktop systems (DESKTOP) [N/y/?] n
Provide compatible behavior for rare corner cases (bigger code)
(EXTRA_COMPAT) [N/y/?] n
Enable obsolete features removed before SUSv3 (INCLUDE_SUSv2) [N/y/?] n
Avoid using GCC-specific code constructs (USE_PORTABLE_CODE) [N/y/?] n
Enable Linux-specific applets and features (PLATFORM_LINUX) [Y/?] y
Buffer allocation policy
 1. Allocate with Malloc (FEATURE_BUFFERS_USE_MALLOC)
  2. Allocate on the Stack (FEATURE_BUFFERS_GO_ON_STACK)
  3. Allocate