Help!

dmsetup seems not seeing targets

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Embeded RSS
Next:  [PATCH] x86: fix hpet timer reinit for x86_64 (v2..  
Author Message
Adrian Matoga
External


Since: Feb 06, 2009
Posts: 1



PostPosted: Fri Feb 06, 2009 2:24 am    Post subject: dmsetup seems not seeing targets
Archived from groups: comp>os>linux>embedded (more info?)

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.2Cool
doesn't work:

# insmod dm-mod.ko
device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-
devel DeleteThis @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
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Embeded All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum