Query: SCSI Device node creation when UFS is loaded as a module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi
I'm loading the ufs-qcom driver as a module but am not seeing the /dev/sda* device nodes.
Looks like it's not being created.

I find the sda nodes in other paths being enumerated though:

/ # find /sys -name sda
/sys/kernel/debug/block/sda
/sys/class/block/sda
/sys/devices/platform/<...>/<xxx>.ufshc/host0/target0:0:0/0:0:0:0/block/sda
/sys/block/sda

All Luns are detected and I see sda is detected and prints for all the Luns as below -:
sd 0:0:0:0: [sda] .... ....-byte logical blocks:

... so on ...

But if I link it statically instead of a module, it works fine. All device nodes are created.

I'm trying to figure out where/how in SCSI does it create these device nodes - /dev/sd<a/b/c/d> ?
I've looked into sd.c but I couldn't figure out the exact place yet.

Any pointers please?

TIA

-asd



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux