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
[ 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:
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>
On Wed, Feb 10, 2016 at 09:53:53PM -0800, NAGA VENKATA SAI
> 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:
> But I'm stuck at one point. After configuring the correct kernel
> should I need to do something more in order to get pmem device because
> 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
fdisk" are "compile a kernel with the new config, reboot using that newly
Also, make sure you are setting up the memmap kernel param correctly: