Hello Sir,
I have recompiled the kernel with the specified parameters and mount
/dev/pmem0 is created as expected. But when I'm trying to do this:
mount -o dax /dev/pmem0 /mnt/mem
I'm getting an error :
"mount: wrong fs type, bad option, bad superblock on /dev/pmem0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so."
When I tried to do dmesg | tail this is the problem:
[ 31.774476] IPv6: ADDRCONF(NETDEV_UP): enp0s3: link is not ready
[ 31.806229] IPv6: ADDRCONF(NETDEV_UP): enp0s3: link is not ready
[ 31.831371] e1000: enp0s3 NIC Link is Up 1000 Mbps Full Duplex, Flow
Control: RX
[ 31.869701] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s3: link becomes ready
[ 56.564609] ISO 9660 Extensions: Microsoft Joliet Level 3
[ 56.624335] ISO 9660 Extensions: RRIP_1991A
[ 311.012892] EXT4-fs (pmem0): DAX enabled. Warning: EXPERIMENTAL, use at
your own risk
[ 311.034607] EXT4-fs (pmem0): error: unsupported blocksize for dax
[ 397.781094] EXT4-fs (pmem0): DAX enabled. Warning: EXPERIMENTAL, use at
your own risk
[ 397.792969] EXT4-fs (pmem0): error: *unsupported blocksize for dax*
I have also tried to search for this error in this source:
https://lkml.org/lkml/2015/12/23/385
But it is regarding mounting xfs instead on ext4. Do you suggest any
alternative to make this work with ext4? I really apologize for sending you
using Gmail not using mutt or git send email but I'm a newbie to this.
Awaiting your response.
Thanks & Regards,
NAGA VENKATA SAI INDUBHASKAR JUPUDI,
Department of Computer Engineering,
University of California, Santa Cruz.
On Thu, Feb 11, 2016 at 7:43 AM, Ross Zwisler <ross.zwisler(a)linux.intel.com>
wrote:
On Wed, Feb 10, 2016 at 09:53:53PM -0800, NAGA VENKATA SAI
INDUBHASKAR
JUPUDI wrote:
> Hello Sir,
>
> I'm a student from University of Caliornia, SantaCruz. I'm trying to
> install pmem device on ubuntu 15.10 following the guideline mentioned in:
>
>
https://nvdimm.wiki.kernel.org/
>
>
> But I'm stuck at one point. After configuring the correct kernel
parameters
> should I need to do something more in order to get pmem device because
when
> I'm trying to do
>
> fdisk -l /dev/pmem0
>
> I'm getting an error no such folder.
>
> I'm stuck at this point (highlighted in red)
>
> [image: Inline image 1]
>
> Can you please suggest me what am I doing wrong here. I apologize for the
> inconvenience caused.
>
>
> Thanks & Regards,
> NAGA VENKATA SAI INDUBHASKAR JUPUDI,
> Department of Computer Engineering,
> University of California, Santa Cruz.
Well, the implicit steps between "set up the correct kernel config" and
"use
fdisk" are "compile a kernel with the new config, reboot using that newly
compiled kernel".
Also, make sure you are setting up the memmap kernel param correctly:
https://nvdimm.wiki.kernel.org/how_to_choose_the_correct_memmap_kernel_pa...