Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel panic: unable to mount root fs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Vieri
Guru
Guru


Joined: 18 Dec 2005
Posts: 546

PostPosted: Mon Nov 26, 2018 1:10 pm    Post subject: kernel panic: unable to mount root fs Reply with quote

Hi,

This is what I get when I boot my recently installed Gentoo system:

Code:
Linux version 4.14.83-gentoo (root@livecd) (gcc version 7.3.0 (Gentoo 7.3.0-r3 p1.4)) #1 SMP Mon Nov 26 11:42:54 CET 2018
Command line: BOOT_IMAGE=/kernel-genkernel-x86_64-4.14.83-gentoo root=/dev/ram0 init=/linuxrc ramdisk=8192 rootfstype=ext4 vga=0 domdadm real_root=/dev/md5 noapic console=tty0 console=ttyS0,9600n8
x86/fpu: x87 FPU will use FXSAVE
e820: BIOS-provided physical RAM map:
BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
BIOS-e820: [mem 0x00000000000e8000-0x00000000000fffff] reserved
BIOS-e820: [mem 0x0000000000100000-0x00000000df7b1cff] usable
BIOS-e820: [mem 0x00000000df7b1d00-0x00000000df7b3cff] ACPI NVS
BIOS-e820: [mem 0x00000000df7b3d00-0x00000000dfffffff] reserved
BIOS-e820: [mem 0x00000000f4000000-0x00000000f7ffffff] reserved
BIOS-e820: [mem 0x00000000fec00000-0x00000000fed3ffff] reserved
BIOS-e820: [mem 0x00000000fed45000-0x00000000ffffffff] reserved
BIOS-e820: [mem 0x0000000100000000-0x000000020fffffff] usable
NX (Execute Disable) protection: active
SMBIOS 2.4 present.
DMI: Hewlett-Packard HP Compaq dc7700 Convertible Minitower/0A58h, BIOS 786E1 v01.10 04/13/2007
tsc: Fast TSC calibration using PIT
e820: last_pfn = 0x210000 max_arch_pfn = 0x400000000
x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WB  WT  UC- UC
e820: last_pfn = 0xdf7b1 max_arch_pfn = 0x400000000
found SMP MP-table at [mem 0x000f9bf0-0x000f9bff] mapped at [ffffffffff200bf0]
ACPI: Early table checksum verification disabled
ACPI: RSDP 0x00000000000E7610 000014 (v00 COMPAQ)
ACPI: RSDT 0x00000000DF7C3D40 000040 (v01 HPQOEM SLIC-BPC 20070413      00000000)
ACPI: FACP 0x00000000DF7C3DE8 000074 (v01 COMPAQ BROADH2O 00000001      00000000)
ACPI: DSDT 0x00000000DF7C4143 009824 (v01 COMPAQ DSDT_PRJ 00000001 MSFT 0100000E)
ACPI: FACS 0x00000000DF7C3D00 000040
ACPI: APIC 0x00000000DF7C3E5C 000068 (v01 COMPAQ BROADH2O 00000001      00000000)
ACPI: ASF! 0x00000000DF7C3EC4 000063 (v32 COMPAQ BROADH2O 00000001      00000000)
ACPI: MCFG 0x00000000DF7C3F27 00003C (v01 COMPAQ BROADH2O 00000001      00000000)
ACPI: TCPA 0x00000000DF7C3F63 000032 (v01 COMPAQ BROADH2O 00000001      00000000)
ACPI: SLIC 0x00000000DF7C3F95 000176 (v01 HPQOEM SLIC-BPC 00000001      00000000)
ACPI: HPET 0x00000000DF7C410B 000038 (v01 COMPAQ BROADH2O 00000001      00000000)
Zone ranges:
  DMA      [mem 0x0000000000001000-0x0000000000ffffff]
  DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
  Normal   [mem 0x0000000100000000-0x000000020fffffff]
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x0000000000001000-0x000000000009efff]
  node   0: [mem 0x0000000000100000-0x00000000df7b0fff]
  node   0: [mem 0x0000000100000000-0x000000020fffffff]
Initmem setup node 0 [mem 0x0000000000001000-0x000000020fffffff]
Reserving Intel graphics memory at 0x00000000df800000-0x00000000dfffffff
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
ACPI: Skipping IOAPIC probe due to 'noapic' option.
Using ACPI for processor (LAPIC) configuration information
ACPI: HPET id: 0x8086a201 base: 0xfed00000
Intel MultiProcessor Specification v1.4
MPTABLE: OEM ID: COMPAQ
MPTABLE: Product ID:
MPTABLE: APIC at: 0xFEE00000
IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-23
Processors: 2
smpboot: Allowing 2 CPUs, 0 hotplug CPUs
e820: [mem 0xe0000000-0xf3ffffff] available for PCI devices
clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:2 nr_node_ids:1
percpu: Embedded 41 pages/cpu @ffff88020fc00000 s130008 r8192 d29736 u1048576
Built 1 zonelists, mobility grouping on.  Total pages: 2001623
Kernel command line: BOOT_IMAGE=/kernel-genkernel-x86_64-4.14.83-gentoo root=/dev/ram0 init=/linuxrc ramdisk=8192 rootfstype=ext4 vga=0 domdadm real_root=/dev/md5 noapic console=tty0 console=ttyS0,9600n8
PID hash table entries: 4096 (order: 3, 32768 bytes)
Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes)
Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes)
Memory: 7905128K/8117564K available (10248K kernel code, 1084K rwdata, 2456K rodata, 1028K init, 308K bss, 212436K reserved, 0K cma-reserved)
Kernel/User page tables isolation: enabled
Hierarchical RCU implementation.
        RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
NR_IRQS: 4352, nr_irqs: 440, preallocated irqs: 16
Console: colour VGA+ 80x25
console [tty0] enabled
console [ttyS0] enabled
clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 133484882848 ns
tsc: Fast TSC calibration using PIT
tsc: Detected 1795.321 MHz processor
Calibrating delay loop (skipped), value calculated using timer frequency.. 3590.64 BogoMIPS (lpj=17953210)
pid_max: default: 32768 minimum: 301
ACPI: Core revision 20170728
ACPI: 1 ACPI AML tables successfully acquired and loaded
ACPI: setting ELCR to 0200 (from 0c20)
Mount-cache hash table entries: 16384 (order: 5, 131072 bytes)
Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes)
mce: CPU supports 6 MCE banks
CPU0: Thermal monitoring enabled (TM2)
process: using mwait in idle threads
Last level iTLB entries: 4KB 128, 2MB 4, 4MB 4
Last level dTLB entries: 4KB 256, 2MB 0, 4MB 32, 1GB 0
Spectre V2 : Mitigation: Full generic retpoline
Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
Speculative Store Bypass: Vulnerable
Freeing SMP alternatives memory: 32K
smpboot: Max logical packages: 1
Not enabling interrupt remapping due to skipped IO-APIC setup
smpboot: CPU0: Intel(R) Core(TM)2 CPU          4300  @ 1.80GHz (family: 0x6, model: 0xf, stepping: 0x2)
Performance Events: PEBS fmt0-, Core2 events, Intel PMU driver.
core: PEBS disabled due to CPU errata
... version:                2
... bit width:              40
... generic registers:      2
... value mask:             000000ffffffffff
... max period:             000000007fffffff
... fixed-purpose events:   3
... event mask:             0000000700000003
Hierarchical SRCU implementation.
smp: Bringing up secondary CPUs ...
x86: Booting SMP configuration:
.... node  #0, CPUs:      #1
smp: Brought up 1 node, 2 CPUs
smpboot: Total of 2 processors activated (7181.28 BogoMIPS)
devtmpfs: initialized
random: get_random_u32 called from bucket_table_alloc+0x18c/0x1cd with crng_init=0
reboot: HP Compaq Laptop series board detected. Selecting BIOS-method for reboots.
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 512 (order: 3, 32768 bytes)
NET: Registered protocol family 16
cpuidle: using governor ladder
ACPI: bus type PCI registered
PCI: Using configuration type 1 for base access
mtrr: your CPUs had inconsistent variable MTRR settings
mtrr: probably your BIOS does not setup all CPUs.
mtrr: corrected configuration.
ACPI: Added _OSI(Module Device)
ACPI: Added _OSI(Processor Device)
ACPI: Added _OSI(3.0 _SCP Extensions)
ACPI: Added _OSI(Processor Aggregator Device)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFF8802072D3000 000320 (v01 COMPAQ CPU_TM2  00000001 MSFT 0100000E)
ACPI: Interpreter enabled
ACPI: (supports S0 S5)
ACPI: Using PIC for interrupt routing
PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
ACPI: Enabled 10 GPEs in block 00 to 1F
ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
acpi PNP0A08:00: _OSC: OS supports [Segments]
ACPI BIOS Error (bug): \_SB.PCI0._OSC: Excess arguments - ASL declared 5, ACPI requires 4 (20170728/nsarguments-198)
ACPI Error: [CAPD] Namespace lookup failure, AE_ALREADY_EXISTS (20170728/dsfield-212)
ACPI Error: Method parse/execution failed \_SB.PCI0._OSC, AE_ALREADY_EXISTS (20170728/psparse-550)
acpi PNP0A08:00: _OSC failed (AE_ALREADY_EXISTS); disabling ASPM
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [mem 0xf8000000-0xfebfffff window]
pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
pci_bus 0000:00: root bus resource [io  0x1000-0x2fff window]
pci_bus 0000:00: root bus resource [io  0x3000-0x6fff window]
pci_bus 0000:00: root bus resource [io  0x7000-0xafff window]
pci_bus 0000:00: root bus resource [io  0xb000-0xffff window]
pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
pci_bus 0000:00: root bus resource [mem 0xe0000000-0xf3ffffff window]
pci_bus 0000:00: root bus resource [bus 00-ff]
pci 0000:00:1f.0: quirk: [io  0xf800-0xf87f] claimed by ICH6 ACPI/GPIO/TCO
pci 0000:00:1f.0: quirk: [io  0xfa00-0xfa3f] claimed by ICH6 GPIO
pci 0000:00:1f.0: ICH7 LPC Generic IO decode 1 PIO at 0400 (mask 007f)
pci 0000:00:1f.0: ICH7 LPC Generic IO decode 2 PIO at 0480 (mask 000f)
pci 0000:00:1f.0: ICH7 LPC Generic IO decode 3 PIO at 0cb0 (mask 000f)
pci 0000:00:1f.2: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
pci 0000:00:1f.2: legacy IDE quirk: reg 0x14: [io  0x03f6]
pci 0000:00:1f.2: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
pci 0000:00:1f.2: legacy IDE quirk: reg 0x1c: [io  0x0376]
pci 0000:00:1c.0: PCI bridge to [bus 20]
pci 0000:00:1e.0: PCI bridge to [bus 07-08] (subtractive decode)
pci 0000:07:09.0: PCI bridge to [bus 08]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 10 11 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 6 7 10 11 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 *5 6 7 10 11 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 *5 6 7 10 11 14 15)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 *5 6 7 10 11 14 15)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 *10 11 14 15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 10 *11 14 15)
pci 0000:00:02.0: vgaarb: setting as boot VGA device
pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
pci 0000:00:02.0: vgaarb: bridge control possible
vgaarb: loaded
SCSI subsystem initialized
ACPI: bus type USB registered
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
PCI: Using ACPI for IRQ routing
clocksource: Switched to clocksource hpet
VFS: Disk quotas dquot_6.6.0
VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
pnp: PnP ACPI init
pnp 00:08: disabling [io  0xf800-0xf81f] because it overlaps 0000:00:1f.0 BAR 7 [io  0xf800-0xf87f]
pnp 00:08: disabling [io  0xf820-0xf83f] because it overlaps 0000:00:1f.0 BAR 7 [io  0xf800-0xf87f]
pnp 00:08: disabling [io  0xf840-0xf85f] because it overlaps 0000:00:1f.0 BAR 7 [io  0xf800-0xf87f]
pnp 00:08: disabling [io  0xf860-0xf87f] because it overlaps 0000:00:1f.0 BAR 7 [io  0xf800-0xf87f]
system 00:08: [io  0x0400-0x041f] has been reserved
system 00:08: [io  0x0420-0x043f] has been reserved
system 00:08: [io  0x0440-0x045f] has been reserved
system 00:08: [io  0x0460-0x047f] has been reserved
system 00:08: [io  0x0480-0x048f] has been reserved
system 00:08: [io  0xfa00-0xfa3f] has been reserved
system 00:08: [io  0xfc00-0xfc7f] has been reserved
system 00:08: [io  0xfc80-0xfcff] has been reserved
system 00:08: [io  0xfe00-0xfe7f] has been reserved
system 00:08: [io  0xfe80-0xfeff] has been reserved
system 00:09: [io  0x04d0-0x04d1] has been reserved
system 00:09: [io  0x0cb0-0x0cbf] has been reserved
system 00:0a: [mem 0x00000000-0x0009ffff] could not be reserved
system 00:0a: [mem 0x00100000-0xdfffffff] could not be reserved
system 00:0a: [mem 0x000e4000-0x000fffff] could not be reserved
system 00:0a: [mem 0xfec01000-0xfecfffff] has been reserved
system 00:0a: [mem 0xfed00400-0xfed3ffff] has been reserved
system 00:0a: [mem 0xfed40000-0xffffffff] could not be reserved
system 00:0a: [mem 0xf4000000-0xf7ffffff] has been reserved
system 00:0a: [mem 0x000cd000-0x000e3fff] has been reserved
pnp: PnP ACPI: found 11 devices
pci 0000:00:1c.0: BAR 8: assigned [mem 0xf8000000-0xf81fffff]
pci 0000:00:1c.0: BAR 9: assigned [mem 0xf8200000-0xf83fffff 64bit pref]
pci 0000:00:1e.0: BAR 8: assigned [mem 0xf8400000-0xf85fffff]
pci 0000:00:1c.0: BAR 7: assigned [io  0x3000-0x3fff]
pci 0000:00:1c.0: PCI bridge to [bus 20]
pci 0000:00:1c.0:   bridge window [io  0x3000-0x3fff]
pci 0000:00:1c.0:   bridge window [mem 0xf8000000-0xf81fffff]
pci 0000:00:1c.0:   bridge window [mem 0xf8200000-0xf83fffff 64bit pref]
pci 0000:07:09.0: BAR 8: assigned [mem 0xf8400000-0xf84fffff]
pci 0000:07:04.0: BAR 6: assigned [mem 0xf8500000-0xf850ffff pref]
pci 0000:08:04.0: BAR 6: assigned [mem 0xf8400000-0xf840ffff pref]
pci 0000:08:05.0: BAR 6: assigned [mem 0xf8410000-0xf841ffff pref]
pci 0000:08:06.0: BAR 6: assigned [mem 0xf8420000-0xf842ffff pref]
pci 0000:08:07.0: BAR 6: assigned [mem 0xf8430000-0xf843ffff pref]
pci 0000:07:09.0: PCI bridge to [bus 08]
pci 0000:07:09.0:   bridge window [io  0x1000-0x1fff]
pci 0000:07:09.0:   bridge window [mem 0xf8400000-0xf84fffff]
pci 0000:00:1e.0: PCI bridge to [bus 07-08]
pci 0000:00:1e.0:   bridge window [io  0x1000-0x1fff]
pci 0000:00:1e.0:   bridge window [mem 0xf8400000-0xf85fffff]
NET: Registered protocol family 2
TCP established hash table entries: 65536 (order: 7, 524288 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 65536 bind 65536)
UDP hash table entries: 4096 (order: 5, 131072 bytes)
UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 5
ACPI: PCI Interrupt Link [LNKF] enabled at IRQ 5
ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 10
PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
software IO TLB [mem 0xdb7b1000-0xdf7b1000] (64MB) mapped at [ffff8800db7b1000-ffff8800df7b0fff]
workingset: timestamp_bits=62 max_order=21 bucket_order=0
squashfs: version 4.0 (2009/01/31) Phillip Lougher
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
nfs4filelayout_init: NFSv4 File Layout Driver Registering...
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
ntfs: driver 2.1.32 [Flags: R/W].
SGI XFS with ACLs, security attributes, realtime, no debug enabled
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler deadline registered (default)
io scheduler mq-deadline registered
io scheduler kyber registered
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
00:04: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
00:05: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
Linux agpgart interface v0.103
brd: module loaded
loop: module loaded
Loading iSCSI transport class v2.0-870.
iscsi: registered transport (tcp)
SCSI Media Changer driver v0.25
pcnet32: pcnet32.c:v1.35 21.Apr.2008 tsbogend@alpha.franken.de
Atheros(R) L2 Ethernet Driver - version 2.2.3
Copyright (c) 2007 Atheros Corporation.
bnx2x: QLogic 5771x/578xx 10/20-Gigabit Ethernet Driver bnx2x 1.712.30-0 (2014/02/10)
sundance.c:v1.2 11-Sep-2006 Written by Donald Becker
eth0: D-Link DFE-580TX 4 port Server Adapter at 0000000000011000, 00:0d:88:cd:7f:c4, IRQ 5.
eth0: MII PHY found at address 1, status 0x7809 advertising 01e1.
eth1: D-Link DFE-580TX 4 port Server Adapter at 0000000000011080, 00:0d:88:cd:7f:c5, IRQ 10.
eth1: MII PHY found at address 1, status 0x7809 advertising 01e1.
ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 11
eth2: D-Link DFE-580TX 4 port Server Adapter at 0000000000011100, 00:0d:88:cd:7f:c6, IRQ 11.
eth2: MII PHY found at address 1, status 0x7809 advertising 01e1.
eth3: D-Link DFE-580TX 4 port Server Adapter at 0000000000011180, 00:0d:88:cd:7f:c7, IRQ 5.
eth3: MII PHY found at address 1, status 0x7809 advertising 01e1.
e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
e1000: Copyright (c) 1999-2006 Intel Corporation.
e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 5
e1000e 0000:00:19.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
tsc: Refined TSC clocksource calibration: 1795.499 MHz
clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x19e18da41a2, max_idle_ns: 440795250832 ns
clocksource: Switched to clocksource tsc
e1000e 0000:00:19.0 eth4: (PCI Express:2.5GT/s:Width x1) 00:0f:fe:5b:1b:d1
e1000e 0000:00:19.0 eth4: Intel(R) PRO/1000 Network Connection
e1000e 0000:00:19.0 eth4: MAC: 6, PHY: 6, PBA No: 1002FF-0FF
igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
igb: Copyright (c) 2007-2014 Intel Corporation.
igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
jme: JMicron JMC2XX ethernet driver version 1.0.8
sky2: driver version 1.30
r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
r8169 0000:07:04.0 (unnamed net_device) (uninitialized): region #1 not an MMIO resource, aborting
aoe: AoE v85 initialised.
usbcore: registered new interface driver usblp
i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f0e:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mousedev: PS/2 mouse device common for all mice
IR NEC protocol handler initialized
IR RC5(x/sz) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR SANYO protocol handler initialized
IR Sharp protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
IR XMP protocol handler initialized
hidraw: raw HID events driver (C) Jiri Kosina
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
NET: Registered protocol family 17
Key type dns_resolver registered
sched_clock: Marking stable (12074879966, 0)->(16449985941, -4375105975)
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
List of all partitions:
0100            8192 ram0
 (driver?)
0101            8192 ram1
 (driver?)
0102            8192 ram2
 (driver?)
0103            8192 ram3
 (driver?)
0104            8192 ram4
 (driver?)
0105            8192 ram5
 (driver?)
0106            8192 ram6
 (driver?)
0107            8192 ram7
 (driver?)
0108            8192 ram8
 (driver?)
0109            8192 ram9
 (driver?)
010a            8192 ram10
 (driver?)
010b            8192 ram11
 (driver?)
010c            8192 ram12
 (driver?)
010d            8192 ram13
 (driver?)
010e            8192 ram14
 (driver?)
010f            8192 ram15
 (driver?)
No filesystem could mount root, tried:
 ext4

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.14.83-gentoo #1
Hardware name: Hewlett-Packard HP Compaq dc7700 Convertible Minitower/0A58h, BIOS 786E1 v01.10 04/13/2007
Call Trace:
 dump_stack+0x46/0x59
 panic+0xcd/0x206
 mount_block_root+0x20a/0x233
 ? set_debug_rodata+0xc/0xc
 mount_root+0x151/0x15a
 ? set_debug_rodata+0xc/0xc
 prepare_namespace+0x160/0x196
 kernel_init_freeable+0x196/0x1a4
 ? rest_init+0xa0/0xa0
 kernel_init+0x5/0xeb
 ret_from_fork+0x35/0x40
Kernel Offset: disabled
---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)


/dev/md5 is a RAID-1 root fs that can be mounted just fine if I boot from a Gentoo installation medium.

I've created the kernel image + initramfs with the latest genkernel.

This is the command I ran:

Code:
# genkernel --menuconfig --mdadm --mdadm-config=/etc/mdadm.conf all


Any ideas?
Back to top
View user's profile Send private message
Dwosky
Tux's lil' helper
Tux's lil' helper


Joined: 07 Nov 2018
Posts: 87

PostPosted: Mon Nov 26, 2018 1:20 pm    Post subject: Reply with quote

I think the clue its here:
Code:
No filesystem could mount root, tried:
 ext4

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)

Its the root partition type ext4 or is it another partition type?
Back to top
View user's profile Send private message
Vieri
Guru
Guru


Joined: 18 Dec 2005
Posts: 546

PostPosted: Mon Nov 26, 2018 1:50 pm    Post subject: Reply with quote

Hmm... I just noticed that I have no initramfs in /boot, only the kernel image.
The exact command I ran was:

Code:
# genkernel --menuconfig --mdadm --dmraid --mdadm-config=/etc/mdadm.conf --kernel-config=/usr/src/linux/.config.custom.template all


However, there's no *initramfs* file in /boot. I can only see this image:

Code:
/boot/kernel-genkernel-x86_64-4.14.83-gentoo


Genkernel did not exit with an error, so I don't know what went wrong.

The last time I used genkernel (a year ago) the "all" meant that it built everything, including the initramfs.
Back to top
View user's profile Send private message
Vieri
Guru
Guru


Joined: 18 Dec 2005
Posts: 546

PostPosted: Mon Nov 26, 2018 2:06 pm    Post subject: Reply with quote

OK, sorry, my bad.
I guess the genkernel process did fail, but I didn't pick that up properly.
So I later checked the genkernel.log file by mounting the partition manually with my Gentoo installation medium, and found this:

Code:
* dmraid: >> Compiling...
COMMAND: nice -n10 make -j3 -j1 CC="gcc" LD="ld" AS="as"
which: no ctags in (/usr/x86_64-pc-linux-gnu/gcc-bin/7.3.0:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/sbin:/usr/sbin)
make -C lib
make[1]: Entering directory '/var/tmp/genkernel/7290.14780.6274.4139/dmraid/1.0.0.rc16-3/dmraid/lib'
/bin/mkdir -p events/; \
set -e; \
FILE=`echo events/libdmraid-events-isw.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o events/libdmraid-events-isw.d events/libdmraid-events-isw.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" events/libdmraid-events-isw.d; \
[ -s events/libdmraid-events-isw.d ] || rm -f events/libdmraid-events-isw.d
/bin/mkdir -p format/partition/; \
set -e; \
FILE=`echo format/partition/dos.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/partition/dos.d format/partition/dos.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/partition/dos.d; \
[ -s format/partition/dos.d ] || rm -f format/partition/dos.d
/bin/mkdir -p format/ddf/; \
set -e; \
FILE=`echo format/ddf/ddf1_dump.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/ddf/ddf1_dump.d format/ddf/ddf1_dump.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ddf/ddf1_dump.d; \
[ -s format/ddf/ddf1_dump.d ] || rm -f format/ddf/ddf1_dump.d
/bin/mkdir -p format/ddf/; \
set -e; \
FILE=`echo format/ddf/ddf1_cvt.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/ddf/ddf1_cvt.d format/ddf/ddf1_cvt.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ddf/ddf1_cvt.d; \
[ -s format/ddf/ddf1_cvt.d ] || rm -f format/ddf/ddf1_cvt.d
/bin/mkdir -p format/ddf/; \
set -e; \
FILE=`echo format/ddf/ddf1_crc.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/ddf/ddf1_crc.d format/ddf/ddf1_crc.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ddf/ddf1_crc.d; \
[ -s format/ddf/ddf1_crc.d ] || rm -f format/ddf/ddf1_crc.d
/bin/mkdir -p format/ddf/; \
set -e; \
FILE=`echo format/ddf/ddf1_lib.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/ddf/ddf1_lib.d format/ddf/ddf1_lib.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ddf/ddf1_lib.d; \
[ -s format/ddf/ddf1_lib.d ] || rm -f format/ddf/ddf1_lib.d
/bin/mkdir -p format/ddf/; \
set -e; \
FILE=`echo format/ddf/ddf1.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/ddf/ddf1.d format/ddf/ddf1.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ddf/ddf1.d; \
[ -s format/ddf/ddf1.d ] || rm -f format/ddf/ddf1.d
/bin/mkdir -p format/ataraid/; \
set -e; \
FILE=`echo format/ataraid/via.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/ataraid/via.d format/ataraid/via.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/via.d; \
[ -s format/ataraid/via.d ] || rm -f format/ataraid/via.d
/bin/mkdir -p format/ataraid/; \
set -e; \
FILE=`echo format/ataraid/sil.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/ataraid/sil.d format/ataraid/sil.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/sil.d; \
[ -s format/ataraid/sil.d ] || rm -f format/ataraid/sil.d
/bin/mkdir -p format/ataraid/; \
set -e; \
FILE=`echo format/ataraid/pdc.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/ataraid/pdc.d format/ataraid/pdc.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/pdc.d; \
[ -s format/ataraid/pdc.d ] || rm -f format/ataraid/pdc.d
/bin/mkdir -p format/ataraid/; \
set -e; \
FILE=`echo format/ataraid/nv.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/ataraid/nv.d format/ataraid/nv.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/nv.d; \
[ -s format/ataraid/nv.d ] || rm -f format/ataraid/nv.d
/bin/mkdir -p format/ataraid/; \
set -e; \
FILE=`echo format/ataraid/lsi.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/ataraid/lsi.d format/ataraid/lsi.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/lsi.d; \
[ -s format/ataraid/lsi.d ] || rm -f format/ataraid/lsi.d
/bin/mkdir -p format/ataraid/; \
set -e; \
FILE=`echo format/ataraid/jm.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/ataraid/jm.d format/ataraid/jm.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/jm.d; \
[ -s format/ataraid/jm.d ] || rm -f format/ataraid/jm.d
/bin/mkdir -p format/ataraid/; \
set -e; \
FILE=`echo format/ataraid/isw.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/ataraid/isw.d format/ataraid/isw.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/isw.d; \
[ -s format/ataraid/isw.d ] || rm -f format/ataraid/isw.d
/bin/mkdir -p format/ataraid/; \
set -e; \
FILE=`echo format/ataraid/hpt45x.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/ataraid/hpt45x.d format/ataraid/hpt45x.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/hpt45x.d; \
[ -s format/ataraid/hpt45x.d ] || rm -f format/ataraid/hpt45x.d
/bin/mkdir -p format/ataraid/; \
set -e; \
FILE=`echo format/ataraid/hpt37x.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/ataraid/hpt37x.d format/ataraid/hpt37x.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/hpt37x.d; \
[ -s format/ataraid/hpt37x.d ] || rm -f format/ataraid/hpt37x.d
/bin/mkdir -p format/ataraid/; \
set -e; \
FILE=`echo format/ataraid/asr.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/ataraid/asr.d format/ataraid/asr.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/asr.d; \
[ -s format/ataraid/asr.d ] || rm -f format/ataraid/asr.d
/bin/mkdir -p mm/; \
set -e; \
FILE=`echo mm/dbg_malloc.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o mm/dbg_malloc.d mm/dbg_malloc.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" mm/dbg_malloc.d; \
[ -s mm/dbg_malloc.d ] || rm -f mm/dbg_malloc.d
/bin/mkdir -p misc/; \
set -e; \
FILE=`echo misc/workaround.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o misc/workaround.d misc/workaround.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" misc/workaround.d; \
[ -s misc/workaround.d ] || rm -f misc/workaround.d
/bin/mkdir -p misc/; \
set -e; \
FILE=`echo misc/misc.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o misc/misc.d misc/misc.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" misc/misc.d; \
[ -s misc/misc.d ] || rm -f misc/misc.d
/bin/mkdir -p misc/; \
set -e; \
FILE=`echo misc/lib_context.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o misc/lib_context.d misc/lib_context.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" misc/lib_context.d; \
[ -s misc/lib_context.d ] || rm -f misc/lib_context.d
/bin/mkdir -p misc/; \
set -e; \
FILE=`echo misc/init.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o misc/init.d misc/init.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" misc/init.d; \
[ -s misc/init.d ] || rm -f misc/init.d
/bin/mkdir -p misc/; \
set -e; \
FILE=`echo misc/file.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o misc/file.d misc/file.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" misc/file.d; \
[ -s misc/file.d ] || rm -f misc/file.d
/bin/mkdir -p metadata/; \
set -e; \
FILE=`echo metadata/reconfig.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o metadata/reconfig.d metadata/reconfig.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" metadata/reconfig.d; \
[ -s metadata/reconfig.d ] || rm -f metadata/reconfig.d
/bin/mkdir -p metadata/; \
set -e; \
FILE=`echo metadata/metadata.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o metadata/metadata.d metadata/metadata.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" metadata/metadata.d; \
[ -s metadata/metadata.d ] || rm -f metadata/metadata.d
/bin/mkdir -p metadata/; \
set -e; \
FILE=`echo metadata/log_ops.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o metadata/log_ops.d metadata/log_ops.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" metadata/log_ops.d; \
[ -s metadata/log_ops.d ] || rm -f metadata/log_ops.d
/bin/mkdir -p log/; \
set -e; \
FILE=`echo log/log.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o log/log.d log/log.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" log/log.d; \
[ -s log/log.d ] || rm -f log/log.d
/bin/mkdir -p locking/; \
set -e; \
FILE=`echo locking/locking.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o locking/locking.d locking/locking.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" locking/locking.d; \
[ -s locking/locking.d ] || rm -f locking/locking.d
/bin/mkdir -p format/; \
set -e; \
FILE=`echo format/format.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/format.d format/format.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/format.d; \
[ -s format/format.d ] || rm -f format/format.d
/bin/mkdir -p display/; \
set -e; \
FILE=`echo display/display.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o display/display.d display/display.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" display/display.d; \
[ -s display/display.d ] || rm -f display/display.d
/bin/mkdir -p device/; \
set -e; \
FILE=`echo device/scsi.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o device/scsi.d device/scsi.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" device/scsi.d; \
[ -s device/scsi.d ] || rm -f device/scsi.d
/bin/mkdir -p device/; \
set -e; \
FILE=`echo device/scan.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o device/scan.d device/scan.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" device/scan.d; \
[ -s device/scan.d ] || rm -f device/scan.d
/bin/mkdir -p device/; \
set -e; \
FILE=`echo device/partition.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o device/partition.d device/partition.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" device/partition.d; \
[ -s device/partition.d ] || rm -f device/partition.d
/bin/mkdir -p device/; \
set -e; \
FILE=`echo device/ata.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o device/ata.d device/ata.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" device/ata.d; \
[ -s device/ata.d ] || rm -f device/ata.d
/bin/mkdir -p activate/; \
set -e; \
FILE=`echo activate/devmapper.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o activate/devmapper.d activate/devmapper.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" activate/devmapper.d; \
[ -s activate/devmapper.d ] || rm -f activate/devmapper.d
/bin/mkdir -p activate/; \
set -e; \
FILE=`echo activate/activate.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o activate/activate.d activate/activate.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" activate/activate.d; \
[ -s activate/activate.d ] || rm -f activate/activate.d
gcc -o activate/activate.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 activate/activate.c
activate/activate.c: In function 'activate_subset':
activate/activate.c:953:24: warning: unused variable 'fmt' [-Wunused-variable]
  struct dmraid_format *fmt = get_format(rs);
                        ^~~
activate/activate.c: In function 'deactivate_superset':
activate/activate.c:1048:24: warning: unused variable 'fmt' [-Wunused-variable]
  struct dmraid_format *fmt = get_format(rs);
                        ^~~
gcc -o activate/devmapper.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 activate/devmapper.c
gcc -o device/ata.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 device/ata.c
gcc -o device/partition.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 device/partition.c
gcc -o device/scan.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 device/scan.c
gcc -o device/scsi.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 device/scsi.c
gcc -o display/display.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 display/display.c
gcc -o format/format.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/format.c
gcc -o locking/locking.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 locking/locking.c
gcc -o log/log.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 log/log.c
gcc -o metadata/log_ops.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 metadata/log_ops.c
gcc -o metadata/metadata.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 metadata/metadata.c
metadata/metadata.c: In function 'create_raidset':
metadata/metadata.c:1436:17: warning: comparison between pointer and zero character constant [-Wpointer-compare]
  } while (end++ != '\0');
                 ^~
metadata/metadata.c:1436:11: note: did you mean to dereference the pointer?
  } while (end++ != '\0');
           ^
At top level:
metadata/metadata.c:1463:1: warning: 'rebuild_config_raidset' defined but not used [-Wunused-function]
 rebuild_config_raidset(struct lib_context *lc, struct raid_set *rs)
 ^~~~~~~~~~~~~~~~~~~~~~
metadata/metadata.c:765:1: warning: 'discover_raid_devices_spares' defined but not used [-Wunused-function]
 discover_raid_devices_spares(struct lib_context *lc, const char *format)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -o metadata/reconfig.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 metadata/reconfig.c
metadata/reconfig.c: In function 'handle_dev':
metadata/reconfig.c:460:15: warning: comparison between 'enum change_type' and 'enum type' [-Wenum-compare]
   if (h->type == rs->type)
               ^~
metadata/reconfig.c:462:23: warning: comparison between 'enum change_type' and 'enum type' [-Wenum-compare]
  } while ((++h)->type != t_undef);
                       ^~
gcc -o misc/file.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 misc/file.c
gcc -o misc/init.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 misc/init.c
gcc -o misc/lib_context.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 misc/lib_context.c
gcc -o misc/misc.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 misc/misc.c
gcc -o misc/workaround.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 misc/workaround.c
gcc -o mm/dbg_malloc.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 mm/dbg_malloc.c
gcc -o format/ataraid/asr.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/ataraid/asr.c
format/ataraid/asr.c: In function 'check_rd':
format/ataraid/asr.c:1036:18: warning: comparison between 'enum type' and 'enum status' [-Wenum-compare]
  return rd->type != s_broken;
                  ^~
gcc -o format/ataraid/hpt37x.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/ataraid/hpt37x.c
gcc -o format/ataraid/hpt45x.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/ataraid/hpt45x.c
gcc -o format/ataraid/isw.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/ataraid/isw.c
format/ataraid/isw.c: In function 'get_rs_status':
format/ataraid/isw.c:1114:19: warning: variable 'disk' set but not used [-Wunused-but-set-variable]
  struct isw_disk *disk;
                   ^~~~
gcc -o format/ataraid/jm.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/ataraid/jm.c
gcc -o format/ataraid/lsi.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/ataraid/lsi.c
gcc -o format/ataraid/nv.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/ataraid/nv.c
gcc -o format/ataraid/pdc.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/ataraid/pdc.c
gcc -o format/ataraid/sil.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/ataraid/sil.c
gcc -o format/ataraid/via.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/ataraid/via.c
gcc -o format/ddf/ddf1.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/ddf/ddf1.c
format/ddf/ddf1.c: In function 'check_rd':
format/ddf/ddf1.c:891:18: warning: comparison between 'enum type' and 'enum status' [-Wenum-compare]
  return rd->type != s_broken;
                  ^~
gcc -o format/ddf/ddf1_lib.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/ddf/ddf1_lib.c
gcc -o format/ddf/ddf1_crc.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/ddf/ddf1_crc.c
gcc -o format/ddf/ddf1_cvt.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/ddf/ddf1_cvt.c
gcc -o format/ddf/ddf1_dump.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/ddf/ddf1_dump.c
gcc -o format/partition/dos.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/partition/dos.c
rm -f libdmraid.a
ar r libdmraid.a activate/activate.o activate/devmapper.o device/ata.o device/partition.o device/scan.o device/scsi.o display/display.o format/format.o locking/locking.o log/log.o metadata/log_ops.o metadata/metadata.o metadata/reconfig.o misc/file.o misc/init.o misc/lib_context.o misc/misc.o misc/workaround.o mm/dbg_malloc.o format/ataraid/asr.o format/ataraid/hpt37x.o format/ataraid/hpt45x.o format/ataraid/isw.o format/ataraid/jm.o format/ataraid/lsi.o format/ataraid/nv.o format/ataraid/pdc.o format/ataraid/sil.o format/ataraid/via.o format/ddf/ddf1.o format/ddf/ddf1_lib.o format/ddf/ddf1_crc.o format/ddf/ddf1_cvt.o format/ddf/ddf1_dump.o format/partition/dos.o
ar: creating libdmraid.a
ranlib libdmraid.a
make[1]: Leaving directory '/var/tmp/genkernel/7290.14780.6274.4139/dmraid/1.0.0.rc16-3/dmraid/lib'
make -C tools
make[1]: Entering directory '/var/tmp/genkernel/7290.14780.6274.4139/dmraid/1.0.0.rc16-3/dmraid/tools'
/bin/mkdir -p ./; \
set -e; \
FILE=`echo dmevent_tool.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o dmevent_tool.d dmevent_tool.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" dmevent_tool.d; \
[ -s dmevent_tool.d ] || rm -f dmevent_tool.d
/bin/mkdir -p ./; \
set -e; \
FILE=`echo toollib.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o toollib.d toollib.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" toollib.d; \
[ -s toollib.d ] || rm -f toollib.d
/bin/mkdir -p ./; \
set -e; \
FILE=`echo commands.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o commands.d commands.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" commands.d; \
[ -s commands.d ] || rm -f commands.d
/bin/mkdir -p ./; \
set -e; \
FILE=`echo dmraid.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o dmraid.d dmraid.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" dmraid.d; \
[ -s dmraid.d ] || rm -f dmraid.d
gcc -o dmraid.o -c -I -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 dmraid.c
gcc -o commands.o -c -I -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 commands.c
gcc -o toollib.o -c -I -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/7290.14780.6274.4139/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 toollib.c
gcc -o dmraid dmraid.o commands.o toollib.o -Wl,--no-as-needed -static -L../lib -ldmraid -ldevmapper -lm -lrt -lpthread
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -ldevmapper
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:71: dmraid] Error 1
make[1]: Leaving directory '/var/tmp/genkernel/7290.14780.6274.4139/dmraid/1.0.0.rc16-3/dmraid/tools'
make: *** [make.tmpl:120: tools] Error 2
* Gentoo Linux Genkernel; Version 3.5.3.3
* Running with options: --menuconfig --mdadm --dmraid --mdadm-config=/etc/mdadm.conf --kernel-config=/usr/src/linux/.config.custom.template all
* Using genkernel.conf from /etc/genkernel.conf
* Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh ..
* Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load ..

* ERROR: Failed to compile the "" target...


I don't really need dmraid so I might simply disable it. However, I may need to activate it on other systems. Anyone else having issues with dmraid and recent kernels?

Thanks

[EDIT] bug report: https://bugs.gentoo.org/671960
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21779
Location: here

PostPosted: Mon Nov 26, 2018 3:19 pm    Post subject: Reply with quote

There is already a bug opened https://bugs.gentoo.org/642988
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Vieri
Guru
Guru


Joined: 18 Dec 2005
Posts: 546

PostPosted: Mon Nov 26, 2018 6:30 pm    Post subject: Reply with quote

Thanks for the bug report.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum