Date: Sun, 20 Dec 2009 17:12:58 +0300 From: Serg Z <z_serg_2000@mail.ru> To: freebsd-emulation@freebsd.org Subject: Try to running Aladdin HASP SRM Message-ID: <E1NMMWo-0002ax-00.z_serg_2000-mail-ru@f128.mail.ru>
next in thread | raw e-mail | index | archive | help
Hello I have USB Aladdin HASP SRM key and try to use it on FreeBSD 8.0 but no luck now:( What I do wrong? Aladdin offers HASP SRM Run-time Installer Script (ftp://ftp.aladdin.com/pub/hasp/srm/Linux/HASP_SRM_LINUX_3.50_Run-time_Installer_script.tar.gz) for: - Linux SuSE ES 10 with Service Pack 1 (x86 and x86_64), - RedHat EL5 with Service Pack 1 (x86 and x86_64), and - Ubuntu Desktop 8.04 (x86 and x86_64). I install emulators/linux_base-gentoo-stage3 because I wish to use ktrace. Then I ran by hand as ordinary user: 1. aksusbd (support for HASP HL keys and low‐level access to HASP License Manager daemon) Now I see: ps ax | grep aks 32631 2 S 0:00,00 2/aksusbd 32632 2 S 0:00,00 2/aksusbd 32633 2 S 0:00,00 2/aksusbd Resume: like of success 2. winehasp (access for HASP HL keys to Windows applications running in Wine) Now I see: ps ax | grep win 32638 2 I 0:00,00 2/winehasp Resume: like of success 3. ktrace hasplmd -s (HASP License Manager daemon). Now I see: ps ax | grep hasp 32638 2 I 0:00,00 2/winehasp Resume: hasplmd not running. One more test failed: netstat -an | grep 1947 found nothing instead of "Admin Control Center". :( ldd hasplmd hasplmd: libm.so.6 => /lib/libm.so.6 (0x28067000) libpthread.so.0 => /lib/libpthread.so.0 (0x2808e000) libdl.so.2 => /lib/libdl.so.2 (0x280a5000) libc.so.6 => /lib/libc.so.6 (0x280a9000) /lib/ld-linux.so.2 (0x28048000) linux_kdump > hasp.dump 32645 ktrace RET linux_brk 0 32645 ktrace CALL linux_olduname(0xbfbfed43,0xbfbfebfc,0xbfbfec10) 32645 ktrace NAMI "2/hasplmd" 32645 ktrace NAMI "/compat/linux/lib/ld-linux.so.2" 32645 hasplmd RET linux_olduname 0 32645 hasplmd CALL linux_brk(0) 32645 hasplmd RET linux_brk 135712768/0x816d000 32645 hasplmd CALL linux_newuname(0xbfbfe9f0) 32645 hasplmd RET linux_newuname 0 32645 hasplmd CALL linux_access(0x280601cb,0x4) 32645 hasplmd NAMI "/compat/linux/etc/ld.so.preload" 32645 hasplmd NAMI "/etc/ld.so.preload" 32645 hasplmd RET linux_access JUSTRETURN 32645 hasplmd CALL linux_open(0x280604b7,0,0) 32645 hasplmd NAMI "/compat/linux/etc/ld.so.cache" 32645 hasplmd NAMI "/compat/linux" 32645 hasplmd NAMI "/compat/linux/etc/ld.so.cache" 32645 hasplmd RET linux_open 3 32645 hasplmd CALL linux_fstat64(0x3,0xbfbfe30c,0x28062fd4) 32645 hasplmd UNKNOWN(8) 32645 hasplmd RET linux_fstat64 0 32645 hasplmd CALL linux_mmap2(0,0x2a86,0x1,0x2,0x3,0) 32645 hasplmd RET linux_mmap2 671498240/0x28064000 32645 hasplmd CALL close(0x3) 32645 hasplmd RET close 0 32645 hasplmd CALL linux_open(0x280660c1,0,0) 32645 hasplmd NAMI "/compat/linux/lib/libm.so.6" 32645 hasplmd NAMI "/compat/linux" 32645 hasplmd NAMI "/compat/linux/lib/libm.so.6" 32645 hasplmd RET linux_open 3 32645 hasplmd CALL read(0x3,0xbfbfe484,0x200) 32645 hasplmd GIO fd 3 read 512 bytes "\^?ELF\^A\^A\^A\0\0\0\0\0\0\0\0\0\^C\0\^C\0\^A\0\0\0p4\0\0004\0\0\0000\ B\^B\0\0\0\0\0004\0 \0 \0(\0\^_\0\^^\0\^F\0\0\0004\0\0\0004\0\0\0004\0\0\0@\^A\0\0@\^A\0\0\^E\ \0\0\0\^D\0\0\0\^C\0\0\0\M-x\^]\^B\0\M-x\^]\^B\0\M-x\^]\^B\0\^S\0\0\0\ \^S\0\0\0\^D\0\0\0\^A\0\0\0\^A\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\M-$<\^B\0\ \M-$<\^B\0\^E\0\0\0\0\^P\0\0\^A\0\0\0\M-\>\^B\0\M-\N\^B\0\M-\N\^B\0`\ \^A\0\0\M-$\^A\0\0\^F\0\0\0\0\^P\0\0\^B\0\0\0\M-p>\^B\0\M-pN\^B\0\M-pN\ \^B\0\M-h\0\0\0\M-h\0\0\0\^F\0\0\0\^D\0\0\0\^D\0\0\0t\^A\0\0t\^A\0\0t\ \^A\0\0 \0\0\0 \0\0\0\^D\0\0\0\^D\0\0\0P\M-etd\f\^^\^B\0\f\^^\^B\0\f\ \^^\^B\0\^\\^D\0\0\^\\^D\0\0\^D\0\0\0\^D\0\0\0Q\M-etd\0\0\0\0\0\0\0\0\ \0\0\0\0\0\0\0\0\0\0\0\0\^F\0\0\0\^D\0\0\0R\M-etd\M-\>\^B\0\M-\N\^B\0\ \M-\N\^B\0$\^A\0\0$\^A\0\0\^D\0\0\0\^A\0\0\0\M^@\^U\^De\0\0\0\0\0\0\0\ \0\0\0\0\0\0\0\0\0\0\0\0\0\0(\0\0\^D\0\0\0\^D\0\0\0\^P\0\0\0\^A\0\0\0G\ NU\0\0\0\0\0\^B\0\0\0\^F\0\0\0 \0\0\0\M^L\^B\0\0\^O\0\0\0@\0\0\0\v\0\ \0\0%\M^P \M-E \M^Dg\v\0\M-B\^P \^DiER\M^B\^P\M^@\240\0}\M^H\M-:\b\bI\ \0\0\0\0\0\^[\^D\M^A\0\0\0\M^ZU\^PA P \M^@\M^T\M^B\M^P\^Q@\M-z2\0\M-Da\ \^T\0\b\^F\M-F\M^P\M^Z\f\M^G\M-@ \M-(\0 \M^B\0\M^X\M^A\^DE\a\^E4a\^B\ \0\0\M-)C\^X\M-H \b\^S\^X" 32645 hasplmd RET read 512/0x200 32645 hasplmd CALL linux_fstat64(0x3,0xbfbfe38c,0x28062fd4) 32645 hasplmd UNKNOWN(8) 32645 hasplmd RET linux_fstat64 0 32645 hasplmd CALL linux_mmap2(0,0x25080,0x5,0x802,0x3,0) 32645 hasplmd RET linux_mmap2 671510528/0x28067000 32645 hasplmd CALL linux_mmap2(0x2808b000,0x2000,0x3,0x812,0x3,0x23) 32645 hasplmd RET linux_mmap2 671657984/0x2808b000 32645 hasplmd CALL close(0x3) 32645 hasplmd RET close 0 32645 hasplmd CALL linux_open(0x2806594a,0,0x4f) 32645 hasplmd NAMI "/compat/linux/lib/libpthread.so.0" 32645 hasplmd NAMI "/compat/linux" 32645 hasplmd NAMI "/compat/linux/lib/libpthread.so.0" 32645 hasplmd RET linux_open 3 32645 hasplmd CALL read(0x3,0xbfbfe468,0x200) 32645 hasplmd GIO fd 3 read 512 bytes "\^?ELF\^A\^A\^A\0\0\0\0\0\0\0\0\0\^C\0\^C\0\^A\0\0\0\M^PG\0\0004\0\0\0\ \M^XL\^A\0\0\0\0\0004\0 \0 \0(\0$\0!\0\^F\0\0\0004\0\0\0004\0\0\0004\0\0\0@\^A\0\0@\^A\0\0\^E\0\0\ \0\^D\0\0\0\^C\0\0\0\^T\M-y\0\0\^T\M-y\0\0\^T\M-y\0\0\^S\0\0\0\^S\0\0\ \0\^D\0\0\0\^A\0\0\0\^A\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0d$\^A\0d$\^A\0\^E\ \0\0\0\0\^P\0\0\^A\0\0\0\M-@-\^A\0\M-@=\^A\0\M-@=\^A\0|\^C\0\0 $\0\0\ \^F\0\0\0\0\^P\0\0\^B\0\0\0\M-8.\^A\0\M-8>\^A\0\M-8>\^A\0\M-x\0\0\0\ \M-x\0\0\0\^F\0\0\0\^D\0\0\0\^D\0\0\0t\^A\0\0t\^A\0\0t\^A\0\0 \0\0\0 \ \0\0\0\^D\0\0\0\^D\0\0\0P\M-etd(\M-y\0\0(\M-y\0\0(\M-y\0\0l\^D\0\0l\^D\ \0\0\^D\0\0\0\^D\0\0\0Q\M-etd\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\ \^F\0\0\0\^D\0\0\0R\M-etd\M-@-\^A\0\M-@=\^A\0\M-@=\^A\0@\^B\0\0@\^B\0\ \0\^D\0\0\0\^A\0\0\0\M^@\^U\^De\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\ \0\0(\0\0\^D\0\0\0\^D\0\0\0\^P\0\0\0\^A\0\0\0GNU\0\0\0\0\0\^B\0\0\0\^F\ \0\0\0 \0\0\0\M-2\^A\0\0M\0\0\0@\0\0\0\v\0\0\0\^Y!\^B\M^Q\^A \^P"@H \M-Y\^C\0I4\M^@\0\0@\0 \M^@\M^@\^QP`@@\^R\M^K\^B0D\0\0\^P\0\0\ \^B\0\^A\r\0\M^D \M-p\^AX\M-0\r\240\M^@\b $\M^D\^PB\M-")m\bG\M^\V\^P\0\M^T \M^D$\b\0H(\ \^A\M^R\^\\M-AB\240\M^P\^R\b\f \^B\^X`A\M-$" 32645 hasplmd RET read 512/0x200 32645 hasplmd CALL linux_fstat64(0x3,0xbfbfe370,0x28062fd4) 32645 hasplmd UNKNOWN(8) 32645 hasplmd RET linux_fstat64 0 32645 hasplmd CALL linux_mmap2(0,0x1000,0x3,0x22,0xffffffff,0) 32645 hasplmd RET linux_mmap2 671666176/0x2808d000 32645 hasplmd CALL linux_mmap2(0,0x161e0,0x5,0x802,0x3,0) 32645 hasplmd RET linux_mmap2 671670272/0x2808e000 32645 hasplmd CALL linux_mmap2(0x280a1000,0x2000,0x3,0x812,0x3,0x12) 32645 hasplmd RET linux_mmap2 671748096/0x280a1000 32645 hasplmd CALL linux_mmap2(0x280a3000,0x11e0,0x3,0x32,0xffffffff,0) 32645 hasplmd RET linux_mmap2 671756288/0x280a3000 32645 hasplmd CALL close(0x3) 32645 hasplmd RET close 0 32645 hasplmd CALL linux_open(0x28066605,0,0x1e) 32645 hasplmd NAMI "/compat/linux/lib/libdl.so.2" 32645 hasplmd NAMI "/compat/linux" 32645 hasplmd NAMI "/compat/linux/lib/libdl.so.2" 32645 hasplmd RET linux_open 3 32645 hasplmd CALL read(0x3,0xbfbfe44c,0x200) 32645 hasplmd GIO fd 3 read 512 bytes "\^?ELF\^A\^A\^A\0\0\0\0\0\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\0&\0\0\0\0\0\0\0(\0\0\0\M^Q!\M-|\M-x\M^U\M-3_\^Y\^E\M-h\a\ \M-y\^F\^B\^D\M-y\a\^B\^D\M-y" 32645 hasplmd RET read 512/0x200 32645 hasplmd CALL linux_fstat64(0x3,0xbfbfe354,0x28062fd4) 32645 hasplmd UNKNOWN(8) 32645 hasplmd RET linux_fstat64 0 32645 hasplmd CALL linux_mmap2(0,0x307c,0x5,0x802,0x3,0) 32645 hasplmd RET linux_mmap2 671764480/0x280a5000 32645 hasplmd CALL linux_mmap2(0x280a7000,0x2000,0x3,0x812,0x3,0x1) 32645 hasplmd RET linux_mmap2 671772672/0x280a7000 32645 hasplmd CALL close(0x3) 32645 hasplmd RET close 0 32645 hasplmd CALL linux_open(0x2806682c,0,0x72) 32645 hasplmd NAMI "/compat/linux/lib/libc.so.6" 32645 hasplmd NAMI "/compat/linux" 32645 hasplmd NAMI "/compat/linux/lib/libc.so.6" 32645 hasplmd RET linux_open 3 32645 hasplmd CALL read(0x3,0xbfbfe430,0x200) 32645 hasplmd GIO fd 3 read 512 bytes "\^?ELF\^A\^A\^A\0\0\0\0\0\0\0\0\0\^C\0\^C\0\^A\0\0\0@a\^A\0004\0\0\0\ \^T\M-V\^R\0\0\0\0\0004\0 \0\v\0(\0B\0A\0\^F\0\0\0004\0\0\0004\0\0\000\ 4\0\0\0`\^A\0\0`\^A\0\0\^E\0\0\0\^D\0\0\0\^C\0\0\0\0n\^Q\0\0n\^Q\0\0n\ \^Q\0\^S\0\0\0\^S\0\0\0\^D\0\0\0\^A\0\0\0\^A\0\0\0\0\0\0\0\0\0\0\0\0\0\ \0\0\240\M^_\^R\0\240\M^_\^R\0\^E\0\0\0\0\^P\0\0\^A\0\0\0\M-\\M-!\^R\0\ \M-\\M-!\^R\0\M-\\M-!\^R\0\240'\0\0\M-tS\0\0\^F\0\0\0\0\^P\0\0\^B\0\0\ \0|\M-=\^R\0|\M-=\^R\0|\M-=\^R\0\M-x\0\0\0\M-x\0\0\0\^F\0\0\0\^D\0\0\0\ \^D\0\0\0\M^T\^A\0\0\M^T\^A\0\0\M^T\^A\0\0 \0\0\0 \0\0\0\^D\0\0\0\^D\0\ \0\0\a\0\0\0\M-\\M-!\^R\0\M-\\M-!\^R\0\M-\\M-!\^R\0\b\0\0\0@\0\0\0\^D\ \0\0\0\^D\0\0\0P\M-etd\^Tn\^Q\0\^Tn\^Q\0\^Tn\^Q\0\M^\)\0\0\M^\)\0\0\^D\ \0\0\0\^D\0\0\0Q\M-etd\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\^F\0\0\ \0\^D\0\0\0R\M-etd\M-\\M-!\^R\0\M-\\M-!\^R\0\M-\\M-!\^R\0$\^^\0\0$\^^\ \0\0\^D\0\0\0\^A\0\0\0\M^@\^U\^De\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\ \0\0\0(\0\0\^D\0\0\0\^D\0\0\0\^P\0\0\0\^A\0\0\0GNU\0\0\0\0\0\^B\0\0\0\ \^F\0\0\0 \0\0\0\M-s\^C\0\0 \0\0\0\0\^B\0\0\^N\0\0\0\2400\^PD\0\0\^B\^A\M^L\^C\M-f\M^PAE\M^H\0\M^D\ \0\b\0A\M^@\0@\M-@\M^@\0\f\^B\f\0\^A0\0\b@"\b\M-&\^D\M^HH6l\240\^V0\0&\ \M^D\M^@\M^N\^D\bB$\^B\f\M-&\M-$" 32645 hasplmd RET read 512/0x200 32645 hasplmd CALL linux_fstat64(0x3,0xbfbfe338,0x28062fd4) 32645 hasplmd UNKNOWN(8) 32645 hasplmd RET linux_fstat64 0 32645 hasplmd CALL linux_mmap2(0,0x12f5d0,0x5,0x802,0x3,0) 32645 hasplmd RET linux_mmap2 671780864/0x280a9000 32645 hasplmd CALL linux_mmap2(0x281d3000,0x3000,0x3,0x812,0x3,0x12a) 32645 hasplmd RET linux_mmap2 673001472/0x281d3000 32645 hasplmd CALL linux_mmap2(0x281d6000,0x25d0,0x3,0x32,0xffffffff,0) 32645 hasplmd RET linux_mmap2 673013760/0x281d6000 32645 hasplmd CALL close(0x3) 32645 hasplmd RET close 0 32645 hasplmd CALL linux_mmap2(0,0x1000,0x3,0x22,0xffffffff,0) 32645 hasplmd RET linux_mmap2 673026048/0x281d9000 32645 hasplmd CALL linux_set_thread_area(0xbfbfe888) 32645 hasplmd RET linux_set_thread_area 0 32645 hasplmd CALL linux_mprotect(0x281d3000,0x2000,0x1) 32645 hasplmd RET linux_mprotect 0 32645 hasplmd CALL linux_mprotect(0x280a7000,0x1000,0x1) 32645 hasplmd RET linux_mprotect 0 32645 hasplmd CALL linux_mprotect(0x280a1000,0x1000,0x1) 32645 hasplmd RET linux_mprotect 0 32645 hasplmd CALL linux_mprotect(0x2808b000,0x1000,0x1) 32645 hasplmd RET linux_mprotect 0 32645 hasplmd CALL linux_mprotect(0x28062000,0x1000,0x1) 32645 hasplmd RET linux_mprotect 0 32645 hasplmd CALL munmap(0x28064000,0x2a86) 32645 hasplmd RET munmap 0 32645 hasplmd CALL linux_set_tid_address(0x281d9708) 32645 hasplmd RET linux_set_tid_address 32645/0x7f85 32645 hasplmd CALL linux_set_robust_list(0x281d9710,0xc) 32645 hasplmd RET linux_set_robust_list 0 32645 hasplmd CALL linux_rt_sigaction(0x20,0xbfbfe84c,0,0x8) 32645 hasplmd RET linux_rt_sigaction 0 32645 hasplmd CALL linux_rt_sigaction(0x21,0xbfbfe84c,0,0x8) 32645 hasplmd RET linux_rt_sigaction 0 32645 hasplmd CALL linux_rt_sigprocmask(0x1,0xbfbfeb08,0,0x8) 32645 hasplmd RET linux_rt_sigprocmask 0 32645 hasplmd CALL linux_getrlimit(0x3,0xbfbfeb90) 32645 hasplmd RET linux_getrlimit 0 32645 hasplmd CALL linux_newuname(0xbfbfe904) 32645 hasplmd RET linux_newuname 0 32645 hasplmd CALL linux_gettid 32645 hasplmd RET linux_gettid 32645/0x7f85 32645 hasplmd CALL linux_brk(0) 32645 hasplmd RET linux_brk 135712768/0x816d000 32645 hasplmd CALL linux_brk(0x818e000) 32645 hasplmd RET linux_brk 135712768/0x816d000 32645 hasplmd CALL linux_mmap2(0,0x100000,0x3,0x22,0xffffffff,0) 32645 hasplmd RET linux_mmap2 673030144/0x281da000 32645 hasplmd CALL linux_sys_futex(0x280a8070,0x1,0x7fffffff,0,0x8340bac,0xbfbfc300) 32645 hasplmd RET linux_sys_futex 0 32645 hasplmd CALL linux_getrlimit(0x7,0xbfbfea74) 32645 hasplmd RET linux_getrlimit 0 32645 hasplmd CALL close(0) 32645 hasplmd RET close 0 32645 hasplmd CALL close(0x1) 32645 hasplmd RET close 0 32645 hasplmd CALL close(0x2) 32645 hasplmd RET close 0 32645 hasplmd CALL close(0x3) 32645 hasplmd RET close -1 errno 9 Bad file descriptor 32645 hasplmd CALL close(0x4) 32645 hasplmd RET close -1 errno 9 Bad file descriptor 32645 hasplmd CALL close(0x5) 32645 hasplmd RET close -1 errno 9 Bad file descriptor 32645 hasplmd CALL close(0x6) 32645 hasplmd RET close -1 errno 9 Bad file descriptor Next contuiously call close() with argument from 0x7 to 0x2b55. And always RET close -1 errno 9 Bad file descriptor 32645 hasplmd CALL close(0x2b56) 32645 hasplmd RET close -1 errno 9 Bad file descriptor 32645 hasplmd CALL linux_open(0x815f2b2,0,0xffffffc8) 32645 hasplmd NAMI "/compat/linux/dev/null" 32645 hasplmd NAMI "/dev/null" 32645 hasplmd RET linux_open 0 32645 hasplmd CALL linux_open(0x815f2b2,0x1,0xffffffc8) 32645 hasplmd NAMI "/compat/linux/dev/null" 32645 hasplmd NAMI "/dev/null" 32645 hasplmd RET linux_open 1 32645 hasplmd CALL dup(0x1) 32645 hasplmd RET dup 2 32645 hasplmd CALL linux_clone(0x1200011,0,0,0,0x281d9708) 32645 hasplmd RET linux_clone 32646/0x7f86 32645 hasplmd CALL linux_exit_group(0) Bye. Serg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1NMMWo-0002ax-00.z_serg_2000-mail-ru>