dmsetup seems not seeing targets

Hi,

I've been trying to launch device-mapper with crypt target on Artila M501 with 2.6.14 but with no success. Kernel drivers seem to compile and install correctly, devmap_mknod.sh creates /dev/mapper/control, but dmsetup (both 1.01.05 and 1.02.28) doesn't work:

# insmod dm-mod.ko device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm- snipped-for-privacy@redhat.com # devmap_mknod.sh Creating /dev/mapper/control character device with major:10 minor:63. # insmod dm-crypt.ko # dmsetup targets v0.0.0 # echo 0 `blockdev --getsize /dev/sda` crypt aes-plain

0123456789abcdef0123456789abcdef 0 /dev/sda 0 | dmsetup create vol # ls /dev/mapper control vol # mke2fs /dev/mapper/vol mke2fs 1.25 (20-Sep-2001) mke2fs: No such device or address while trying to determine filesystem size # dmsetup ls No devices found # dmsetup info No devices found # dmsetup info vol Name: vol State: ACTIVE /dev/mapper/vol: open failed: No such device or address Tables present: None Open count: 0 Event number: 0 Major, minor: 0, 0 Number of targets: 0

I've tried loading and using other targets, but they also doesn't work or even show in `dmsetup targets` output. TIA for any ideas how to make it working.

Regards, Adrian Matoga

Reply to
Adrian Matoga
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.