Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

kdvgent

Members
  • Posts

    9
  • Joined

  • Last visited

Posts posted by kdvgent

  1. I have made a fresh Funtoo install and now, I want to install kde-plasma.

    Following the guide https://www.funtoo.org/KDE_Plasma_5, I add the mix-in kde-plasma-5.

    Then, when running "emerge -auvDN --with-bdeps=y @world kde-plasma/plasma-meta", I get the following error:

    Quote

    emerge: there are no ebuilds to satisfy "x11-misc/sddm[consolekit(-)?,elogind(+)?,systemd(-)?]

    (dependency required by "kde-plasma/plasma-meta-5.16.1::kde-kit" ebuild])

    (dependency required by "kde-plasma/plasma-meta" [argument])

    And when I try to emerge sddm alone, I see that x11-misc:sddm-0.19.0::desktop-kit will be emerge with the USE flags

    Quote

    USE="pam -consolekit (-elogind) -systemd -test"

    So, -elogind seems to be forced somewhere while elogind is set by the profile.

    Is there any way around this problem? I already tried to use the mix-in kde-plasma-5-new instead but I get the same error there.

  2. When trying to emerge kde-plasma-live, I get the following message:

     

    emerge: there are no ebuilds to satisfy ">=dev-libs/libinput-0.10".
    (dependency required by "kde-plasma/kwin-9999::kde" [ebuild])
    (dependency required by "@kde-plasma-live" [argument])
     

    Gentoo has libinput ebuild that fulfil this condition but Funtoo has not. Is there a reason for this?

     

    Many thanks in advance for helping

  3. I have an UEFI machine and have funtoo working OK with /boot on my EFI partition, hence on a vfat file.

     

    But emerging xen fails because the build wants to create a number of symlinks under /boot (xen.gz, zen-4.5.gz), all pointing to xen-4.5.0.gz. But because /boot is on a vfat partition, symlinks are not possible and regular copies need to be made instead.

     

    Error message:

     

    --- /boot/
    >>> /boot/xen-syms-4.5.0
    >>> /boot/xen-4.5.0.gz
    !!! failed to properly create symlink:
    !!! /boot/xen-4.5.gz -> xen-4.5.0.gz
    !!! [Errno 1] Operation not permitted: '/boot/xen-4.5.gz'
    !!! Failed to move file.
    !!! /boot/xen-4.5.gz -> xen-4.5.0.gz

     

    As /boot/xen-4.5.0.gz is placed in /boot, I can make the copies myself but as the build fails, xen is not included in the world file and will not be updated when new versions become available.

     

    I should raise a bug but I want first to check if my reasoning is correct.

  4. I have a system with root on an Luks/LVM partition. I therefore need an initramfs that I generate via genkernel ("genkernel --lvm --luks --install initramfs"). Everything worked fine with kernels up to hardened-sources-4.0.1. But with hardenend-sources-4.0.2-r1, when booting the machine, the machine hangs just before I am asked for the pass-phrase for my encrypted partition.

     

    I have rebuild all packages on my system, rebuild both the 4.0.1 and the 4.0.2-r1 kernel with exactly the same .config file, regenerated for both the initramfs. Machine comes up without problems with 4.0.1, hangs with 4.0.2-r1.

     

    All suggestions are welcome.

     

    Regards, Karel

  5. I do not succeed to get my first domU running.

     

    I have lvs containing the file systems for the domU

     

    xen ~ # lvs
      LV           VG    Attr       LSize  Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
      backup       vg0   -wi-a-----  1.00t                                                    
      lvcopy       vg0   -wi-a-----  1.00t                                                    
      xnas-portage xgdom -wi-ao---- 10.00g                                                    
      xnas-root    xgdom -wi-ao---- 10.00g                                                    
      xnas-swap    xgdom -wi-ao----  5.00g

     

    My domU configuration file

     

    xen xen # cat xnas.cfg
    kernel = "/xen/kernel/kernel-genkernel-x86_64-3.18.11-gentoo"
    ramdisk = "/xen/kernel/initramfs-genkernel-x86_64-3.18.11-gentoo"
    memory = 1024
    name = "xnas"
    vif = [ '' ]
    dhcp = "dhcp"
    disk = ['phy:/dev/xgdom/xnas-root,xvda1,rw', 'phy:/dev/xgdom/xnas-swap,xvda2,rw', 'phy:/dev/xgdom/xnas-portage,xvda3,rw']
    root = "/dev/xvda1 ro"

     

    My domU /etc/fstab

     

    xen xen # cat /mnt/domu1/etc/fstab
    # /etc/fstab: static file system information.
    #
    # The root filesystem should have a pass number of either 0 or 1.
    # All other filesystems should have a pass number of 0 or greater than 1.
    #
    # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
    #
    # See the manpage fstab(5) for more information.
    #
    # <fs>            <mountpoint>    <type>        <opts>        <dump/pass>

    /dev/xgdom/xnas-swap    none        swap        sw        0 0
    /dev/xgdom/xnas-root    /        ext4        noatime        0 1
    /dev/xgdom/xnas-portage    /usr/portage    ext4        noatime        1 2
    #/dev/cdrom        /mnt/cdrom    auto        noauto,ro    0 0

     

     

    But when starting my domU with: "xl create -c xnas.cfg"

     

    The file systems are not found:

     

    xen xen # xl create -c xnas.cfg
    Parsing config from xnas.cfg
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 3.18.11-gentoo (root@xen) (gcc version 4.8.4 (Funtoo 4.8.4) ) #6 SMP Fri Apr 24 18:49:04 CEST 2015
    [    0.000000] Command line: root=/dev/xvda1 ro
    [    0.000000] ACPI in unprivileged domain disabled
    [    0.000000] Set 0 page(s) to 1-1 mapping
    [    0.000000] Remapped 0 page(s), last_pfn=262144
    [    0.000000] Released 0 page(s)
    [    0.000000] e820: BIOS-provided physical RAM map:
    [    0.000000] Xen: [mem 0x0000000000000000-0x000000000009ffff] usable
    [    0.000000] Xen: [mem 0x00000000000a0000-0x00000000000fffff] reserved
    [    0.000000] Xen: [mem 0x0000000000100000-0x000000003fffffff] usable
    [    0.000000] NX (Execute Disable) protection: active
    [    0.000000] DMI not present or invalid.
    [    0.000000] e820: last_pfn = 0x40000 max_arch_pfn = 0x400000000
    [    0.000000] Scanning 1 areas for low memory corruption
    [    0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
    [    0.000000] init_memory_mapping: [mem 0x3fe00000-0x3fffffff]
    [    0.000000] init_memory_mapping: [mem 0x3c000000-0x3fdfffff]
    [    0.000000] init_memory_mapping: [mem 0x00100000-0x3bffffff]
    [    0.000000] RAMDISK: [mem 0x02356000-0x02571fff]
    [    0.000000] NUMA turned off
    [    0.000000] Faking a node at [mem 0x0000000000000000-0x000000003fffffff]
    [    0.000000] NODE_DATA(0) allocated [mem 0x3fe18000-0x3fe1bfff]
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x00001000-0x00ffffff]
    [    0.000000]   DMA32    [mem 0x01000000-0xffffffff]
    [    0.000000]   Normal   empty
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x00001000-0x0009ffff]
    [    0.000000]   node   0: [mem 0x00100000-0x3fffffff]
    [    0.000000] Initmem setup node 0 [mem 0x00001000-0x3fffffff]
    [    0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
    [    0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
    [    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000fffff]
    [    0.000000] e820: [mem 0x40000000-0xffffffff] available for PCI devices
    [    0.000000] Booting paravirtualized kernel on Xen
    [    0.000000] Xen version: 4.4.2 (preserve-AD)
    [    0.000000] setup_percpu: NR_CPUS:4 nr_cpumask_bits:4 nr_cpu_ids:1 nr_node_ids:1
    [    0.000000] PERCPU: Embedded 29 pages/cpu @ffff88003f800000 s79936 r8192 d30656 u2097152
    [    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 257930
    [    0.000000] Policy zone: DMA32
    [    0.000000] Kernel command line: root=/dev/xvda1 ro
    [    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.000000] xsave: enabled xstate_bv 0x7, cntxt size 0x340 using standard form
    [    0.000000] Memory: 1007772K/1048188K available (9466K kernel code, 889K rwdata, 3212K rodata, 1148K init, 944K bss, 40416K reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000]     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
    [    0.000000] NR_IRQS:4352 nr_irqs:24 0
    [    0.000000] xen:events: Using FIFO-based ABI
    [    0.000000] Console: colour dummy device 80x25
    [    0.000000] console [tty0] enabled
    [    0.000000] console [hvc0] enabled
    [    0.000000] installing Xen timer for CPU 0
    [    0.000000] tsc: Detected 3092.934 MHz processor
    [    0.003333] Calibrating delay loop (skipped), value calculated using timer frequency.. 6188.61 BogoMIPS (lpj=10309780)
    [    0.003333] pid_max: default: 32768 minimum: 301
    [    0.003333] Security Framework initialized
    [    0.003333] SELinux:  Initializing.
    [    0.003333] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
    [    0.003333] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
    [    0.003333] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
    [    0.003333] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
    [    0.003333] Initializing cgroup subsys freezer
    [    0.003333] CPU: Physical Processor ID: 0
    [    0.003333] CPU: Processor Core ID: 3
    [    0.003333] Last level iTLB entries: 4KB 1024, 2MB 1024, 4MB 1024
    [    0.003333] Last level dTLB entries: 4KB 1024, 2MB 1024, 4MB 1024, 1GB 4
    [    0.030143] Freeing SMP alternatives memory: 40K (ffffffff81fff000 - ffffffff82009000)
    [    0.032136] cpu 0 spinlock event irq 17
    [    0.032164] Performance Events: unsupported p6 CPU model 60 no PMU driver, software events only.
    [    0.032292] x86: Booted up 1 node, 1 CPUs
    [    0.032341] devtmpfs: initialized
    [    0.032550] xor: automatically using best checksumming function:
    [    0.063335]    avx       : 32431.200 MB/sec
    [    0.063356] kworker/u2:0 (15) used greatest stack depth: 14776 bytes left
    [    0.063362] pinctrl core: initialized pinctrl subsystem
    [    0.083386] RTC time: 165:165:165, date: 165/165/65
    [    0.083454] NET: Registered protocol family 16
    [    0.083464] xen:grant_table: Grant tables using version 1 layout
    [    0.083471] Grant table initialized
    [    0.083677] kworker/u2:0 (26) used greatest stack depth: 14408 bytes left
    [    0.084082] PCI: setting up Xen PCI frontend stub
    [    0.140001] raid6: sse2x1   10639 MB/s
    [    0.196671] raid6: sse2x2   13214 MB/s
    [    0.253336] raid6: sse2x4   15426 MB/s
    [    0.310001] raid6: avx2x1   20514 MB/s
    [    0.366669] raid6: avx2x2   23527 MB/s
    [    0.423336] raid6: avx2x4   27701 MB/s
    [    0.423338] raid6: using algorithm avx2x4 (27701 MB/s)
    [    0.423340] raid6: using avx2x2 recovery algorithm
    [    0.423394] ACPI: Interpreter disabled.
    [    0.423414] xen:balloon: Initialising balloon driver
    [    0.423526] kworker/u2:0 (41) used greatest stack depth: 14008 bytes left
    [    0.424187] xen_balloon: Initialising balloon driver
    [    0.424278] vgaarb: loaded
    [    0.424330] SCSI subsystem initialized
    [    0.424398] usbcore: registered new interface driver usbfs
    [    0.424405] usbcore: registered new interface driver hub
    [    0.424421] usbcore: registered new device driver usb
    [    0.424439] Linux video capture interface: v2.00
    [    0.424492] Advanced Linux Sound Architecture Driver Initialized.
    [    0.424497] PCI: System does not support PCI
    [    0.424499] PCI: System does not support PCI
    [    0.424571] NetLabel: Initializing
    [    0.424574] NetLabel:  domain hash size = 128
    [    0.424576] NetLabel:  protocols = UNLABELED CIPSOv4
    [    0.424585] NetLabel:  unlabeled traffic allowed by default
    [    0.424616] Switched to clocksource xen
    [    0.425597] FS-Cache: Loaded
    [    0.426334] pnp: PnP ACPI: disabled
    [    0.426380] NET: Registered protocol family 2
    [    0.426477] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.426500] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
    [    0.426517] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.426529] TCP: reno registered
    [    0.426534] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.426550] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.426575] NET: Registered protocol family 1
    [    0.426610] Unpacking initramfs...
    [    0.603205] Freeing initrd memory: 2160K (ffff880002356000 - ffff880002572000)
    [    0.603241] kvm: no hardware support
    [    0.603318] platform rtc_cmos: registered platform RTC device (no PNP device found)
    [    0.603361] RAPL PMU detected, hw unit 2^-14 Joules, API unit is 2^-32 Joules, 4 fixed counters 655360 ms ovfl timer
    [    0.603435] Scanning for low memory corruption every 60 seconds
    [    0.603608] futex hash table entries: 256 (order: 2, 16384 bytes)
    [    0.603626] audit: initializing netlink subsys (disabled)
    [    0.603637] audit: type=2000 audit(1429898048.920:1): initialized
    [    0.603906] HugeTLB registered 2 MB page size, pre-allocated 0 pages
    [    0.604715] VFS: Disk quotas dquot_6.5.2
    [    0.604736] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.605022] ntfs: driver 2.1.31 [Flags: R/W].
    [    0.605068] fuse init (API version 7.23)
    [    0.605124] msgmni has been set to 1972
    [    0.605480] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
    [    0.605485] io scheduler noop registered
    [    0.605487] io scheduler deadline registered
    [    0.605513] io scheduler cfq registered (default)
    [    0.605544] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
    [    0.605681] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [    0.605827] Non-volatile memory driver v1.3
    [    0.605832] Linux agpgart interface v0.103
    [    0.605952] xen:xen_evtchn: Event-channel device installed
    [    0.606030] [drm] Initialized drm 1.1.0 20060810
    [    0.606319] loop: module loaded
    [    0.619203] Rounding down aligned max_sectors from 4294967295 to 4294967288
    [    0.619256] xen_netfront: Initialising Xen virtual ethernet driver
    [    0.622225] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    0.622233] ehci-pci: EHCI PCI platform driver
    [    0.622244] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    0.622251] ohci-pci: OHCI PCI platform driver
    [    0.622259] uhci_hcd: USB Universal Host Controller Interface driver
    [    0.622279] usbcore: registered new interface driver usblp
    [    0.622289] usbcore: registered new interface driver usb-storage
    [    0.622304] i8042: PNP: No PS/2 controller found. Probing ports directly.
    [    1.630438] i8042: No controller found
    [    1.631246] blkfront: xvda1: flush diskcache: enabled; persistent grants: enabled; indirect descriptors: enabled;
    [    1.631303] mousedev: PS/2 mouse device common for all mice
    [    1.691619] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
    [    1.691719] rtc_cmos: probe of rtc_cmos failed with error -38
    [    1.691793] i2c /dev entries driver
    [    1.691888] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
    [    1.691896] iTCO_vendor_support: vendor-support=0
    [    1.691900] xen_wdt: Xen WatchDog Timer Driver v0.01
    [    1.691938] xen_wdt: initialized (timeout=60s, nowayout=0)
    [    1.691943] md: raid0 personality registered for level 0
    [    1.691947] md: raid1 personality registered for level 1
    [    1.691951] md: raid10 personality registered for level 10
    [    1.691975] md: raid6 personality registered for level 6
    [    1.691977] md: raid5 personality registered for level 5
    [    1.691979] md: raid4 personality registered for level 4
    [    1.692038] device-mapper: ioctl: 4.28.0-ioctl (2014-09-17) initialised: dm-devel@redhat.com
    [    1.692094] device-mapper: raid: Loading target version 1.6.0
    [    1.692109] hidraw: raw HID events driver © Jiri Kosina
    [    1.692175] usbcore: registered new interface driver usbhid
    [    1.692177] usbhid: USB HID core driver
    [    1.692300] Netfilter messages via NETLINK v0.30.
    [    1.692310] nf_conntrack version 0.5.0 (7890 buckets, 31560 max)
    [    1.692354] ctnetlink v0.93: registering with nfnetlink.
    [    1.692431] ip_tables: © 2000-2006 Netfilter Core Team
    [    1.692443] TCP: cubic registered
    [    1.692445] Initializing XFRM netlink socket
    [    1.692514] NET: Registered protocol family 10
    [    1.692666] ip6_tables: © 2000-2006 Netfilter Core Team
    [    1.692691] sit: IPv6 over IPv4 tunneling driver
    [    1.692761] NET: Registered protocol family 17
    [    1.692771] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
    [    1.692778] Bridge firewalling registered
    [    1.692781] Ebtables v2.0 registered
    [    1.692788] Key type dns_resolver registered
    [    1.692792] mce: Unable to init device /dev/mcelog (rc: -5)
    [    1.692903] registered taskstats version 1
    [    1.693147] Btrfs loaded
    [    1.695015] blkfront: xvda2: flush diskcache: enabled; persistent grants: enabled; indirect descriptors: enabled;
    [    1.695935] blkfront: xvda3: flush diskcache: enabled; persistent grants: enabled; indirect descriptors: enabled;
    [    1.701288] modprobe (797) used greatest stack depth: 13928 bytes left
    [    1.790173]   Magic number: 1:252:3141
    [    1.790248] console [netcon0] enabled
    [    1.790256] netconsole: network logging started
    [    1.790392] ALSA device list:
    [    1.790399]   No soundcards found.
    [    1.791617] Freeing unused kernel memory: 1148K (ffffffff81ee0000 - ffffffff81fff000)
    [    1.791630] Write protecting the kernel read-only data: 14336k
    [    1.800408] Freeing unused kernel memory: 760K (ffff880001942000 - ffff880001a00000)
    [    1.800657] Freeing unused kernel memory: 884K (ffff880001d23000 - ffff880001e00000)
    >> Activating mdev
    >> Loading modules
    >> Hint: Use parameter scandelay[=seconds] if you need waiting here
    >> Determining root device...
    >> Mounting /dev/xvda1 as root...
    >> Using mount -t auto -o ro
    sh: bad number
    >> Booting (initramfs)..
    INIT: version 2.88 booting

       OpenRC 0.12.4 is starting up Funtoo Linux (x86_64) [XENU]

     * /proc is already mounted
     * Mounting /run ...
     * /run/openrc: creating directory
     * /run/lock: creating directory
     * /run/lock: correcting owner
     * Mounting xenfs ...
     [ ok ]
     * Using /dev mounted from kernel ...
     [ ok ]
    [    4.079760] random: nonblocking pool is initialized
     * Mounting /dev/mqueue ...
     [ ok ]
     * Mounting /dev/shm ...
     [ ok ]
     * Creating list of required static device nodes for the current kernel ...
     [ ok ]
     * Bringing up network interface lo ...
     [ ok ]
     * Mounting debug filesystem ...
     [ ok ]
     * Mounting config filesystem ...
     [ ok ]
     * Mounting cgroup filesystem ...
     [ ok ]
     * Mounting fuse control filesystem ...
     [ ok ]
     * setting up tmpfiles.d entries for /dev ...
     [ ok ]
     * Starting udev ...
     [ ok ]
     * Generating a rule to create a /dev/root symlink ...
     [ ok ]
     * Populating /dev with existing devices through uevents ...
     [ ok ]
     * Waiting for uevents to be processed ...
     [ ok ]
     * Autoloaded 0 module(s)
     * Checking local filesystems  ...
    fsck.ext4: No such file or directory while trying to open /dev/xgdom/xnas-root
    Possibly non-existent device?
     * Operational error
     [ !! ]
     * Remounting root filesystem read/write ...
     [ ok ]
     * Remounting filesystems ...
     [ ok ]
     * Updating /etc/mtab ...
     [ ok ]
     * Activating swap devices ...
     [ ok ]
     * Mounting local filesystems ...
    mount: special device /dev/xgdom/xnas-portage does not exist
     * Some local filesystem failed to mount
     [ !! ]
     * Configuring kernel parameters ...
     [ ok ]
     * Creating user login records ...
     [ ok ]
     * Wiping /tmp directory ...
     [ ok ]
     * Configuring /etc/hosts ...
     [ ok ]
     * Setting hostname to xnas.kdvgent.be ...
     [ ok ]
     * Mounting misc binary format filesystem ...
     [ ok ]
     * Loading custom binary format handlers ...
     [ ok ]
     * Activating additional swap space ...
    swapon: stat failed /dev/xgdom/xnas-swap: No such file or directory
     [ ok ]
     * setting up tmpfiles.d entries ...
     [ ok ]
     * Initializing random number generator ...
     [ ok ]
    INIT: Entering runlevel: 3
     * Mounting network filesystems ...
     [ ok ]
     * Starting postfix (/etc/postfix) ...
    postfix/postfix-script: starting the Postfix mail system
     [ ok ]
     * Starting sshd ...
     [ ok ]
     * Starting local
     [ ok ]
     

    And the domU hangs and must be destroyed with "xl destroy nnn"

     

    All Xen frontend and backend drivers are included in the kernel.

     

    I have been searching on the Internet for days without finding any useful suggestion. Anyone here who sees what may cause my problem?

     

    Many thanks in advance,

     

    Karel

     

     

×
×
  • Create New...