Received: from fromintouta.tno.nl (fromintouta.tno.nl [134.221.1.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2CB4118038 for ; Wed, 18 Oct 2023 09:32:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=tno.nl Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tno.nl Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=tno.nl header.i=@tno.nl header.b="LABP3Snl" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tno.nl; l=1770909; s=mta1; t=1697621576; h=from:to:subject:date:message-id:mime-version; bh=OXuzg8Avz11NCY0ORiwGUBRji0SdzqFUbDcJmDieqtE=; b=LABP3Snlf57z3gtYXY/7I99pZYYCCA+kkcQjqCvcC6I0/DX5S9YpySzt 54xJhYf7nyIBlB370HbQAsZE2paf5N0ggeEPvm1DDtMq6K8IFCZhwKHI1 pF2maWx5T0tq180iAtoBCsFrkPRedE1u9F3CGoTdqdDzU8YxmZjTANvcC U=; X-IronPort-AV: E=Sophos;i="6.03,234,1694728800"; d="png'150?scan'150,208,217,150";a="82577315" Received: from UCP34.tsn.tno.nl (134.221.225.179) by UCP11.tsn.tno.nl (134.221.225.171) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Wed, 18 Oct 2023 11:32:52 +0200 Received: from UCP34.tsn.tno.nl ([fe80::b4b0:1650:7d0f:a54e]) by UCP34.tsn.tno.nl ([fe80::b4b0:1650:7d0f:a54e%2]) with mapi id 15.01.2507.032; Wed, 18 Oct 2023 11:32:52 +0200 From: "Baeten, M.J.J. (Max)" To: "xenomai@lists.linux.dev" Subject: initramfs can't find root filesystem device Thread-Topic: initramfs can't find root filesystem device Thread-Index: AdoBn4iSwkSub+2RQDi3DmckbiHhHw== Date: Wed, 18 Oct 2023 09:32:52 +0000 Message-ID: <40202c26ad1440aaad6cca4463af0e29@tno.nl> Accept-Language: nl-NL, en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-originating-ip: [134.221.225.191] x-esetresult: clean, is OK x-esetid: 37303A2938AA765D677760 Content-Type: multipart/mixed; boundary="_005_40202c26ad1440aaad6cca4463af0e29tnonl_" Precedence: bulk X-Mailing-List: xenomai@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 --_005_40202c26ad1440aaad6cca4463af0e29tnonl_ Content-Type: multipart/alternative; boundary="_000_40202c26ad1440aaad6cca4463af0e29tnonl_" --_000_40202c26ad1440aaad6cca4463af0e29tnonl_ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hello! After compiling a xenomai 3.2.1 patched kernel the initramfs can't boot thi= s kernel because it can't find the root filesystem device. Error: Gave up waiting for root file system device. Common problems: - Boot args (cat /proc/cmdline) - Check rootdelay=3D (did the system wait long enough?) - Missing modules (cat /proc/modules; ls /dev) ALERT! /dev/mapper/ubuntu-vg-ubuntu-lv does not exist. When I compile the same kernel sources without xenomai patch it works. My .config is included and a screenshot of the error as well. Cat /proc/modules =3D empty Cat /proc/cmdline =3D BOOT_IMAGE=3D/vmlinuz-5.4.253-xeno-3.2.1 root=3D/dev/= mapper/ubuntu--vg I have tried on two systems with different ubuntu versions, kernels and xen= omai patches. Ubuntu is installed with LVM but I tried as well without LVM. (Similar erro= r: UUID does not exist) # Config FOR UBUNTU 18.04 KERNEL_VERSION=3D"4.19.66" XENO_VERSION=3D"3.2.1" XENO_PATCH=3D"ipipe-core-4.19.66-x86-6.patch" # UBUNTU SRV 20.04 KERNEL_VERSION=3D"5.4.253" XENO_VERSION=3D"3.2.1" XENO_PATCH=3D"ipipe-core-5.4.253-x86-14.patch" Any ideas on what I am doing wrong or how I can debug this problem? Kind regards, Max Baeten This message may contain information that is not intended for you. If you a= re not the addressee or if this message was sent to you by mistake, you are= requested to inform the sender and delete the message. TNO accepts no liab= ility for the content of this e-mail, for the manner in which you use it an= d for damage of any kind resulting from the risks inherent to the electroni= c transmission of messages. --_000_40202c26ad1440aaad6cca4463af0e29tnonl_ Content-Type: text/html; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable

Hello!

 

After compiling a xenomai 3.2.1= patched kernel the initramfs can’t boot this kernel because it can&#= 8217;t find the root filesystem device.

 

Error:

Gave up waiting for root file s= ystem device. Common problems:

- Boot args (cat /proc/cmdline)=

   - Check rootdelay= =3D (did the system wait long enough?)

- Missing modules (cat /proc/mo= dules; ls /dev)

ALERT! /dev/mapper/ubuntu-vg-ub= untu—lv does not exist.

 

When I compile the same kernel = sources without xenomai patch it works.

 

My .config is included and a sc= reenshot of the error as well.

Cat /proc/modules =3D empty

Cat /proc/cmdline =3D BOOT_IMAGE= =3D/vmlinuz-5.4.253-xeno-3.2.1 root=3D/dev/mapper/ubuntu--vg

 

I have tried on two systems wit= h different ubuntu versions, kernels and xenomai patches.=

Ubuntu is installed with LVM bu= t I tried as well without LVM. (Similar error: UUID does not exist)

 

# Config FOR UBUNTU 18.04<= /o:p>

KERNEL_VERSION=3D"4.19.66&= quot;

XENO_VERSION=3D"3.2.1"= ;

XENO_PATCH=3D"ipipe-core-4= .19.66-x86-6.patch"

 

# UBUNTU SRV 20.04

KERNEL_VERSION=3D"5.4.253&= quot;

XENO_VERSION=3D"3.2.1"= ;

XENO_PATCH=3D"ipipe-core-5= .4.253-x86-14.patch"

 

Any ideas on what I am doing wr= ong or how I can debug this problem?

 

Kind regards,
Max Baeten