sidux.com
Menu

News

Give back
Last 3 Contributions
30-11-2008 20.00
25-11-2008 100.00
25-11-2008 20.00

Donate


Sponsor
hetzner.de

Languages
Preferred language:



Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Oddball
Post subject: Anyone tried CDemu  PostPosted: Jan 25, 2007 - 10:08 PM



Joined: Dec 02, 2006
Posts: 526
Location: Övarp
Status: Offline
Has anyone tried to use CDemu in sidux ?

http://cdemu.sourceforge.net/

_________________
"Crazy! I mean like so many positive waves maybe we can't lose! You're on!"
 
 View user's profile Send private message  
Reply with quote Back to top
makke
Post subject: Anyone tried CDemu  PostPosted: Jan 26, 2007 - 05:58 PM



Joined: Nov 26, 2006
Posts: 172
Location: Hagen
Status: Offline
works
 
 View user's profile Send private message  
Reply with quote Back to top
Oddball
Post subject:   PostPosted: Jan 26, 2007 - 06:20 PM



Joined: Dec 02, 2006
Posts: 526
Location: Övarp
Status: Offline
I tried to install it but it wouldn't load the module. looks like this:

Quote:
root@sidtest:/home/sidtestvilde/cdemu-0.8# make install
**** Installing files ****
install -D -m 644 cdemu.ko /lib/modules/2.6.19.2-slh-smp-4/misc/cdemu.ko
install -D -m 644 libcdemu.py /usr/lib/python2.4/site-packages/libcdemu.py
install -D -m 755 cdemu /usr/bin/cdemu
install -D -m 755 create_cdemu_devs.sh /usr/bin/create_cdemu_devs.sh
sh create_cdemu_devs.sh
You have udev, nodes will be created automagically
root@sidtest:/home/sidtestvilde/cdemu-0.8# modprobe cdemu
FATAL: Error inserting cdemu (/lib/modules/2.6.19.2-slh-smp-4/misc/cdemu.ko): Unknown symbol in module, or unknown parameter (see dmesg)

_________________
"Crazy! I mean like so many positive waves maybe we can't lose! You're on!"
 
 View user's profile Send private message  
Reply with quote Back to top
op4latino
Post subject:   PostPosted: Jan 26, 2007 - 06:40 PM



Joined: Dec 02, 2006
Posts: 1046
Location: East Coast
Status: Offline
As I thought and reading the install How-to, you need the source of the kernel. http://cdemu.sourceforge.net/#install

and just to double check, please post
Code:
ls -la /lib/modules/2.6.19.2-slh-smp-4/misc/cdemu.ko
If you don't that file, my guess is that you don't have the source


I wonder if you can use # m-a i-a cdemu for that.
 
 View user's profile Send private message  
Reply with quote Back to top
Oddball
Post subject:   PostPosted: Jan 26, 2007 - 07:37 PM



Joined: Dec 02, 2006
Posts: 526
Location: Övarp
Status: Offline
I didn't installl the kernel source, I thought it would be there by default, this is the output of suggested:

Quote:
sidtestvilde@sidtest:~$ ls -la /lib/modules/2.6.19.2-slh-smp-4/misc/cdemu.ko
-rw-r--r-- 1 root root 23536 2007-01-25 23:13 /lib/modules/2.6.19.2-slh-smp-4/misc/cdemu.ko
sidtestvilde@sidtest:~$

_________________
"Crazy! I mean like so many positive waves maybe we can't lose! You're on!"


Last edited by Oddball on Jan 26, 2007 - 09:11 PM; edited 1 time in total
 
 View user's profile Send private message  
Reply with quote Back to top
wegface
Post subject:   PostPosted: Jan 26, 2007 - 07:54 PM



Joined: Dec 02, 2006
Posts: 396

Status: Offline
I was wondering where the linux equivalent of daemon tools was, cool.

_________________
Linux user 403389 and Herbaholic Trichopath
AMD Athlon 64 X2 4200+ / 2GB dual chan ddr2 800/ gigabyte ga-m61sme-s2
Acer Aspire One (sidux-Ourea)
sidux -64 Gaia
Hackintosh Leopard
Win Xp (virtualbox)
 
 View user's profile Send private message  
Reply with quote Back to top
op4latino
Post subject:   PostPosted: Jan 27, 2007 - 04:35 AM



Joined: Dec 02, 2006
Posts: 1046
Location: East Coast
Status: Offline
Oddball wrote:
I didn't installl the kernel source, I thought it would be there by default
No, I'm pretty sure the kernel source is not there, since it's a really stripped out CD. How have you compiled cdemu before? with what kernel?
 
 View user's profile Send private message  
Reply with quote Back to top
Oddball
Post subject:   PostPosted: Jan 27, 2007 - 02:51 PM



Joined: Dec 02, 2006
Posts: 526
Location: Övarp
Status: Offline
I did like it says in the instructions, here are the whole output:
Quote:

sidtestvilde@sidtest:~/cdemu-0.8$ make
make[1]: Entering directory `/usr/src/linux-headers-2.6.19.2-slh-smp-4'
CC [M] /home/sidtestvilde/cdemu-0.8/cdemu_core.o
/home/sidtestvilde/cdemu-0.8/cdemu_core.c: In function ‘cdemu_ioctl’:
/home/sidtestvilde/cdemu-0.8/cdemu_core.c:489: warning: implicit declaration of function ‘generic_file_read’
CC [M] /home/sidtestvilde/cdemu-0.8/cdemu_mod.o
CC [M] /home/sidtestvilde/cdemu-0.8/cdemu_proc.o
LD [M] /home/sidtestvilde/cdemu-0.8/cdemu.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: "generic_file_read" [/home/sidtestvilde/cdemu-0.8/cdemu.ko] undefined!
CC /home/sidtestvilde/cdemu-0.8/cdemu.mod.o
LD [M] /home/sidtestvilde/cdemu-0.8/cdemu.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.19.2-slh-smp-4'
sidtestvilde@sidtest:~/cdemu-0.8$ sudo make install
sidtestvilde@sidtest:~/cdemu-0.8$ su
Password:
root@sidtest:/home/sidtestvilde/cdemu-0.8# make install
**** Installing files ****
install -D -m 644 cdemu.ko /lib/modules/2.6.19.2-slh-smp-4/misc/cdemu.ko
install -D -m 644 libcdemu.py /usr/lib/python2.4/site-packages/libcdemu.py
install -D -m 755 cdemu /usr/bin/cdemu
install -D -m 755 create_cdemu_devs.sh /usr/bin/create_cdemu_devs.sh
sh create_cdemu_devs.sh
You have udev, nodes will be created automagically
root@sidtest:/home/sidtestvilde/cdemu-0.8# modprobe cdemu
FATAL: Error inserting cdemu (/lib/modules/2.6.19.2-slh-smp-4/misc/cdemu.ko): Unknown symbol in module, or unknown parameter (see dmesg)

_________________
"Crazy! I mean like so many positive waves maybe we can't lose! You're on!"
 
 View user's profile Send private message  
Reply with quote Back to top
phen
Post subject:   PostPosted: Jan 03, 2008 - 02:53 PM



Joined: Nov 30, 2006
Posts: 342
Location: Berlin
Status: Offline
Here ./configure quits unexpectedly with
Quote:
checking for pygtk... configure: error: Package requirements (pygtk-2.0 >= 2.6) were not met:
No package 'pygtk-2.0' found


I cant find a package "pygtk-2.0" though, neither cant figure which package to install. 2 Packages I installed apparently written in pyGTK, yet ./configure still wont finish.
Any suggestion?
 
 View user's profile Send private message  
Reply with quote Back to top
op4latino
Post subject:   PostPosted: Jan 03, 2008 - 09:56 PM



Joined: Dec 02, 2006
Posts: 1046
Location: East Coast
Status: Offline
try installing python-gtk2-dev
 
 View user's profile Send private message  
Reply with quote Back to top
HK-47
Post subject:   PostPosted: Jan 03, 2008 - 11:16 PM



Joined: Dec 02, 2006
Posts: 240

Status: Offline
You can mount ISO images with, er, mount:
Code:
mount -o loop -t iso9660 <ISO file.iso> <mount point>
 
 View user's profile Send private message  
Reply with quote Back to top
phen
Post subject:   PostPosted: Jan 04, 2008 - 05:41 AM



Joined: Nov 30, 2006
Posts: 342
Location: Berlin
Status: Offline
Thanks op4latino, that was the one!

HK-47, like you say, loop does for isos, not for other image-files though.
 
 View user's profile Send private message  
Reply with quote Back to top
phen
Post subject:   PostPosted: Mar 27, 2008 - 01:03 PM



Joined: Nov 30, 2006
Posts: 342
Location: Berlin
Status: Offline
Since my trials on installing cdemu failed last time, I gave it another try now.
If I am not mistaking at all, a module vhba is needed.
I tried to proceed according to this post (without the sudos of course).

My vhba package-content:
Code:
-rw-r--r-- 1 phen phen   680 16. Mär 17:30 Makefile
-rw-r--r-- 1 phen phen 18232 16. Mär 17:33 vhba.c


My output upon "make" as user:
Code:
phen@booky:~/tools/vhba-module-1.0.0/cdemu/vhba-module$ make
make -C /lib/modules/`uname -r`/build M=/home/phen/tools/vhba-module-1.0.0/cdemu/vhba-module modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-2.6.24.3.slh.2-sidux-686'
scripts/Makefile.build:46: *** CFLAGS was changed in "/home/phen/tools/vhba-module-1.0.0/cdemu/vhba-module/Makefile". Fix it to use EXTRA_CFLAGS.  Schluss.
make[1]: *** [_module_/home/phen/tools/vhba-module-1.0.0/cdemu/vhba-module] Fehler 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-2.6.24.3.slh.2-sidux-686'
make: *** [modules] Fehler 2


Anyone knows how to fix this? Thanks in advance=)
 
 View user's profile Send private message  
Reply with quote Back to top
kelmo
Post subject:   PostPosted: Mar 27, 2008 - 01:42 PM



Joined: Dec 19, 2006
Posts: 1030

Status: Offline
The make file should not define CFLAGS (kbuild does this), it should better be EXTRA_CFLAGS or similar, I think.
 
 View user's profile Send private message  
Reply with quote Back to top
zulu9
Post subject:   PostPosted: Mar 27, 2008 - 02:39 PM



Joined: Nov 30, 2006
Posts: 777
Location: Germany
Status: Offline
phen wrote:
Thanks op4latino, that was the one!

HK-47, like you say, loop does for isos, not for other image-files though.


For most other image-format there are converter tools around.
Some formats can even be converted to iso with k3b (which uses the cli-tools I guess).

Here are some of those tools, all in apt and pretty easy to use (there might be more):
mdf2iso (for mdf-images), ccd2iso (for ccd-images), bchunk (for bin/cue-images)

_________________
http://sidux.wordpress.com/ inoffizielles sidux-Blog
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
 
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2006-2008 by sidux e.V., 10407 Berlin, Kniprodestr. 104. sidux e.V. is a Berlin, Germany based non-profit foundation. Consult Impressum and Legal Terms for details. sidux™ is Free Software released under the GNU/GPL license and other compatible licenses.
powered by Zikula & Zafenio