<div dir="ltr"><div dir="ltr"><div> ll /sys/devices/LNXSYSTM:00/device:00/ACPI0012:00/ndbus0/region1/pfn1.1/block/pmem1/</div><div>total 0</div><div>-r--r--r-- 1 root root 4096 Apr 19 09:38 alignment_offset</div><div>-rw-r--r-- 1 root root 4096 Apr 19 09:38 badblocks</div><div>lrwxrwxrwx 1 root root    0 Apr 19 09:38 bdi -> ../../../../../../../../virtual/bdi/259:3</div><div>-r--r--r-- 1 root root 4096 Apr 19 09:38 capability</div><div>drwxr-xr-x 2 root root    0 Apr 19 09:38 dax</div><div>-r--r--r-- 1 root root 4096 Apr 19 09:38 dev</div><div>lrwxrwxrwx 1 root root    0 Apr 19 09:38 device -> ../../../pfn1.1</div><div>-r--r--r-- 1 root root 4096 Apr 19 09:38 discard_alignment</div><div>-r--r--r-- 1 root root 4096 Apr 19 09:38 ext_range</div><div>drwxr-xr-x 2 root root    0 Apr 19 09:38 holders</div><div>-r--r--r-- 1 root root 4096 Apr 19 09:38 inflight</div><div>drwxr-xr-x 2 root root    0 Apr 19 09:38 power</div><div>drwxr-xr-x 2 root root    0 Apr 19 09:38 queue</div><div>-r--r--r-- 1 root root 4096 Apr 19 09:38 range</div><div>-r--r--r-- 1 root root 4096 Apr 19 09:38 removable</div><div>-r--r--r-- 1 root root 4096 Apr 19 09:38 ro</div><div>-r--r--r-- 1 root root 4096 Apr 19 09:38 size</div><div>drwxr-xr-x 2 root root    0 Apr 19 09:38 slaves</div><div>-r--r--r-- 1 root root 4096 Apr 19 09:38 stat</div><div>lrwxrwxrwx 1 root root    0 Apr 19 09:38 subsystem -> ../../../../../../../../../class/block</div><div>drwxr-xr-x 2 root root    0 Apr 19 09:38 trace</div><div>-rw-r--r-- 1 root root 4096 Apr 19 09:38 uevent</div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 24, 2019 at 11:53 AM Greg KH <<a href="mailto:gregkh@linuxfoundation.org">gregkh@linuxfoundation.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Apr 24, 2019 at 10:10:08AM -0700, Sayeed hyder wrote:<br>
> Forgot to hit "reply all"<br>
> <br>
> On Wed, Apr 24, 2019 at 9:52 AM Sayeed hyder <<a href="mailto:csayeedh@gmail.com" target="_blank">csayeedh@gmail.com</a>> wrote:<br>
> <br>
> > Hi Greg,<br>
> ><br>
> > Sure, this is what I get if I use the syspath from<br>
> > udev_device_get_syspath. As you can see, it is showing a symlink to a<br>
> > device, and there is no driver. If it helps, it is a DAX mounted persistent<br>
> > memory device.<br>
> ><br>
> > [image: image.png]<br>
<br>
Sorry, can't see images from a text email client :(<br>
<br>
Anyway, if this is a DAX device, are you _SURE_ you are dealing with a<br>
real device that is controlled by a driver, and not just a class device?<br>
Class devices do not have drivers.  How is the DAX device being exposed<br>
to userspace?<br>
<br>
Can you provide a text version of your image?  It's just sysfs, which is<br>
text...<br>
<br>
thanks,<br>
<br>
greg k-h<br>
</blockquote></div>