LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-15-2008, 12:46 PM   #1
RAFAL
Member
 
Registered: Feb 2006
Location: Warsaw, Poland
Distribution: Archlinux, Debian
Posts: 139

Rep: Reputation: 16
vhba module for opensuse 11 - error with "make"


Hi,

When I try to install vhba module required by cdemu, I get following error:

Code:
rafal@linux-39sr:~/vhba-module-1.1.0> make
make -C /lib/modules/`uname -r`/build M=/home/rafal/vhba-module-1.1.0 modules
make[1]: Wejście do katalogu `/usr/src/linux-2.6.25.16-0.1-obj/i386/pae'
make -C /usr/src/linux-2.6.25.16-0.1 O=/usr/src/linux-2.6.25.16-0.1-obj/i386/pae/. modules
  CC [M]  /home/rafal/vhba-module-1.1.0/vhba.o
/home/rafal/vhba-module-1.1.0/vhba.c: In function ‘do_request’:
/home/rafal/vhba-module-1.1.0/vhba.c:429: error: ‘struct scsi_cmnd’ has no member named ‘request_bufflen’
/home/rafal/vhba-module-1.1.0/vhba.c:429: error: ‘struct scsi_cmnd’ has no member named ‘use_sg’
/home/rafal/vhba-module-1.1.0/vhba.c:441: error: ‘struct scsi_cmnd’ has no member named ‘request_bufflen’
/home/rafal/vhba-module-1.1.0/vhba.c:458: error: ‘struct scsi_cmnd’ has no member named ‘request_bufflen’
I found something here:
http://bugs.gentoo.org/233342

but:
1. I'm using OpenSUSE ('uname -r" returns - 2.6.25.16-0.1-pae) and bug is for Gentoo
2. I am not sure how can I use the patch

For (1) I think it shouldn't be a problem, cause this is kernel patch. Correct?

For (2) I need advise.

regards
Rafal
 
Old 09-16-2008, 10:40 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
I think the module is already in the kernel?

Check OpenSuse for vhba-dkms modules
 
Old 09-17-2008, 01:13 AM   #3
RAFAL
Member
 
Registered: Feb 2006
Location: Warsaw, Poland
Distribution: Archlinux, Debian
Posts: 139

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by amani View Post
Check OpenSuse for vhba-dkms modules
How can I check it?

YaST (package manager) does not show anything for "vhba"

regards
Rafal
 
Old 09-28-2008, 02:26 PM   #4
Deq
LQ Newbie
 
Registered: Sep 2008
Location: Russia
Posts: 1

Rep: Reputation: 0
I tried to install this from source on openSUSE 11 too. And got this errors too.

Just take rpm packages:
vhba-kmp-pae, cdemu-client, cdemu-daemon

hxxp://packages.opensuse-community.org/index.jsp?searchTerm=vhba&distro=openSUSE_110
hxxp://packages.opensuse-community.org/index.jsp?distro=openSUSE_110&searchTerm=cdemu

Install with: sudo rpm -ivh ... or with Yast.

Then I installed it I got error then runing cdemud. You need do: sudo /sbin/modprobe vhba

Now you make emulation.

Run: sudo cdemud

In another console:
cdemu status
cdemu load 0 /path/to/image.iso

Done.

P. S. Sorry for terrible english
 
Old 09-29-2008, 01:05 PM   #5
RAFAL
Member
 
Registered: Feb 2006
Location: Warsaw, Poland
Distribution: Archlinux, Debian
Posts: 139

Original Poster
Rep: Reputation: 16
solved

Priviet Deq,

may thanks! It worked perfectly good

regards
Rafal
 
Old 08-27-2009, 03:36 PM   #6
Scot Bernard
LQ Newbie
 
Registered: Apr 2007
Posts: 3

Rep: Reputation: 0
To get all working [solution]

Quote:
Originally Posted by Deq View Post
hxxp://packages.opensuse-community.org/index.jsp?searchTerm=vhba&distro=openSUSE_110
hxxp://packages.opensuse-community.org/index.jsp?distro=openSUSE_110&searchTerm=cdemu
Now those packages are no more available in opensuse-community.org, I-ve found them on:

http://rpm.pbone.net/index.php3/stat....i586.rpm.html

My Kernel is 2.6.25.20-0.4-pae on openSUSE 11, but it worked anyway. Note that I've compiled from source the other components from cdemu with the versions:

libmirage-1.2.0
demu-daemon-1.2.0
cdemu-client-1.2.0
gcdemu-1.2.0

Downloaded from http://sourceforge.net/projects/cdemu/files/

Hope this helps others with my versions of kernel, because it takes me hours trying to compile vhba in the available versions with no luck, even with patches and modifications for kernel 2.6.25.20 and version 1.0.0. Also, when I got it compiled running cdemud i got a segmentation fault error, so i recommend using the rpm for vhba component, worked for me.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LFS6.3 - Ch5.4.1 "/bin/sh sort not found" error at "make bootstrap" ubyt3m3 Linux From Scratch 2 06-23-2008 12:09 AM
upgrade to kernel 2.6.16.1 : "make bzImage" print "parse error" math_physics Red Hat 2 06-29-2007 11:04 PM
perl install error: Can't locate object method "new" via package "Module::Build::Vers powah Linux - Software 0 10-24-2006 01:57 PM
error running "make" and "arkollonrc"... Toro Linux - Software 1 04-19-2004 12:24 AM
LFS 4.1: Stalled at Perl, "missing seperator" error from "make" SparceMatrix Linux From Scratch 1 06-07-2003 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration