mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Renaud Barbier <Renaud.Barbier@ametek.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Barebox List <barebox@lists.infradead.org>
Subject: RE: NVME o nLS1046A-RDB
Date: Mon, 11 Nov 2024 11:15:46 +0000	[thread overview]
Message-ID: <BYAPR07MB4358A74708FE72C8789667C0EC582@BYAPR07MB4358.namprd07.prod.outlook.com> (raw)
In-Reply-To: <Zy3wh0qqT_LY8SkR@pengutronix.de>


>From barebox:
-------------------

The node /dev/nvme0n1p1 does not exists only /dev/nvme0n1.
>From barebox, I saw that below once. 
It is not repeating at present whatever the command I use:
ERROR: ext4 ext40: probe failed: Invalid argument



> 
> does "md -s /dev/nvme0n1" work as expected?
barebox@LS1046A RDB Board:/ md -s /dev/nvme0n1
00000000: 00000000 00000000 00000000 00000000                ................
00000010: 00000000 00000000 00000000 00000000                ................
00000020: 00000000 00000000 00000000 00000000                ................
....

> 
> Is it correct that there is no partition table on that disk?
>From Linux:
---------------
nvme0      nvme0n1    nvme0n1p1

I have created a 1GB partition
[root@openware]# gdisk -l /dev/nvme0n1
GPT fdisk (gdisk) version 1.0.8

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/nvme0n1: 937703088 sectors, 447.1 GiB
Model: SM681GEF AGS
Sector size (logical/physical): 512/512 bytes
Disk identifier (GUID): 1FC28552-4807-4EF9-B191-D7C17548F7F9
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 937703054
Partitions will be aligned on 2048-sector boundaries
Total free space is 935605868 sectors (446.1 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048         2099200   1024.0 MiB  8300  Linux filesystem


[root]# mount -t ext4 /dev/nvme0n1p1 /mnt
[ 1719.613897] EXT4-fs (nvme0n1p1): mounted filesystem 676323e3-52d3-4352-9f94-7ca67e519f1d r/w with ordered data mode. Quota mode: disabled.
[root]# ls /mnt/
bin         dev         home        linuxrc     mnt         root        sbin        sys         usr
boot        etc         lib         lost+found  proc        run         srv         tmp         var

> 
> Sascha
> 
> --
> Pengutronix e.K.                           |                             |
> Steuerwalder Str. 21                       |
> https://urldefense.com/v3/__http://www.pengutronix.de/__;!!HKOSU0g!Eb
> HLq7boyynRkd2Ikw5fIfA6sIstILSQg9LnoksyTtzNL8N6AL0jY58qS8CREAKjqs3
> E5QWQDBuvPPzxm3PujIi_Ag$   |
> 31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



  reply	other threads:[~2024-11-11 11:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-07 13:42 Renaud Barbier
2024-11-08 11:05 ` Sascha Hauer
2024-11-11 11:15   ` Renaud Barbier [this message]
2024-11-12  7:57     ` Sascha Hauer
2024-11-12 11:48       ` Renaud Barbier
2024-11-11 11:30 ` Ahmad Fatoum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BYAPR07MB4358A74708FE72C8789667C0EC582@BYAPR07MB4358.namprd07.prod.outlook.com \
    --to=renaud.barbier@ametek.com \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox