MHVTL Basic Install

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

MHVTL Basic Install

jadams
It seems like I have tried this before and have had various amounts of luck.  Lately None..
I am trying to do a basic install on a new CentOS 6.0 X64 system.  I am trying to follow the directions, but so many things don't seem to work..

I am trying to do an install vi RPM.
Steps via install notes:
1. Install both src.rpm & x86/x86_64 (depending on your CPU/OS version - check using uname -p)
Downloaded both mhvtl-1.0-0.src.rpm or mhvtl-1.0-0.x86_64.rpm and installed both.

2. Build kernel module from source you just installed:
  cd /usr/src/packages/BUILD  -> No such "packages" directory.
  tar xvfz ../SOURCES/mhvtl-2009-12-16.tgz  ->  Where did this come from?  
    It's not part of the mhvtl-1.0-0.src.rpm or mhvtl-1.0-0.x86_64.rpm files.
  cd mhvtl-0.16/kernel -> As I downloaded the RPM's as root, I now have /root/mhvtl/kernel, so I go there..
  make
make:*** /lib/modules/2.6.######XXX##X??/build: No such file or directory.  Stop.
  make install -> Can't get to here..

I suspect there is a kernel module to be built, but the directions are pretty vague..
I have installed via RPM
kernel
kernel-devel
kernel-headers
kernel-firmware
It looks like the kernel source is  /usr/src/kernels/2.6.32.xxx.xxx.x86_64

I am not sure how to integrate the mhvtl source and CentOS sources together.
I suspect it's obvious to others, but I have scoured all the INSTALL docs, website, and forums.
I am lost..
Help!!

thx,
  John

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: MHVTL Basic Install

Mark Harvey
On Wed, Sep 28, 2011 at 11:40 AM, jadams [via MHVTL - Linux Virtual
Tape Library - Community Forums]
<[hidden email]> wrote:

> It seems like I have tried this before and have had various amounts of luck.
>  Lately None..
> I am trying to do a basic install on a new CentOS 6.0 X64 system.  I am
> trying to follow the directions, but so many things don't seem to work..
>
> I am trying to do an install vi RPM.
> Steps via install notes:
> 1. Install both src.rpm & x86/x86_64 (depending on your CPU/OS version -
> check using uname -p)
> Downloaded both mhvtl-1.0-0.src.rpm or mhvtl-1.0-0.x86_64.rpm and installed
> both.
>
> 2. Build kernel module from source you just installed:

Are you sure this is the correct directory for CentOS ??

Last time (a long time ago), I looked at CentOS, it used the default
RedHat directory of /usr/src/redhat.
Your using the SLES default parent directory of /usr/src/packages/

>   cd /usr/src/packages/BUILD  -> No such "packages" directory.
>   tar xvfz ../SOURCES/mhvtl-2009-12-16.tgz  ->  Where did this come from?
>     It's not part of the mhvtl-1.0-0.src.rpm or mhvtl-1.0-0.x86_64.rpm
> files.

You need to use the build date of the tar ball that comes with
mhvtl-1.0-0.src.rpm

For 1.0, this will be 2011-09-04.tgz

>   cd mhvtl-0.16/kernel -> As I downloaded the RPM's as root, I now have
> /root/mhvtl/kernel, so I go there..
>   make
> make:*** /lib/modules/2.6.######XXX##X??/build: No such file or directory.
>  Stop.
>   make install -> Can't get to here..

Wow, where did the mhvtl-0.16 parent directory come from ?
Not from the mhvtl-1.0 rpms..
This must be a left over directory from a long, long time ago.. Middle
of 2010 was the last 0.16 release.

>
> I suspect there is a kernel module to be built, but the directions are
> pretty vague..
> I have installed via RPM
> kernel
> kernel-devel
> kernel-headers
> kernel-firmware
> It looks like the kernel source is  /usr/src/kernels/2.6.32.xxx.xxx.x86_64
>
> I am not sure how to integrate the mhvtl source and CentOS sources together.
> I suspect it's obvious to others, but I have scoured all the INSTALL docs,
> website, and forums.
> I am lost..
> Help!!
>
> thx,
>   John
>
>
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://mhvtl-linux-virtual-tape-library-community-forums.966029.n3.nabble.com/MHVTL-Basic-Install-tp3374645p3374645.html
> To start a new topic under MHVTL - Linux Virtual Tape Library - Community
> Forums, email [hidden email]
> To unsubscribe from MHVTL - Linux Virtual Tape Library - Community Forums,
> click here.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: MHVTL Basic Install

jadams

After searching through lots of forum notes about what's people have done, I think I may be making some progress.
Currently I am compiling the kernel.  (long time)..
Do you think it would be worth creating a new note about what steps I took to get Centos 6.0 X64 working with the
kernel driver?

John

-----Original Message-----
From: "Mark Harvey [via MHVTL - Linux Virtual Tape Library - Community Forums]"
Sent: Sep 27, 2011 8:17 PM
To: jadams
Subject: Re: MHVTL Basic Install

On Wed, Sep 28, 2011 at 11:40 AM, jadams [via MHVTL - Linux Virtual
Tape Library - Community Forums]
<[hidden email]> wrote:

> It seems like I have tried this before and have had various amounts of luck.
>  Lately None..
> I am trying to do a basic install on a new CentOS 6.0 X64 system.  I am
> trying to follow the directions, but so many things don't seem to work..
>
> I am trying to do an install vi RPM.
> Steps via install notes:
> 1. Install both src.rpm & x86/x86_64 (depending on your CPU/OS version -
> check using uname -p)
> Downloaded both mhvtl-1.0-0.src.rpm or mhvtl-1.0-0.x86_64.rpm and installed
> both.
>
> 2. Build kernel module from source you just installed:
Are you sure this is the correct directory for CentOS ??

Last time (a long time ago), I looked at CentOS, it used the default
RedHat directory of /usr/src/redhat.
Your using the SLES default parent directory of /usr/src/packages/

>   cd /usr/src/packages/BUILD  -> No such "packages" directory.
>   tar xvfz ../SOURCES/mhvtl-2009-12-16.tgz  ->  Where did this come from?
>     It's not part of the mhvtl-1.0-0.src.rpm or mhvtl-1.0-0.x86_64.rpm
> files.

You need to use the build date of the tar ball that comes with
mhvtl-1.0-0.src.rpm

For 1.0, this will be 2011-09-04.tgz

>   cd mhvtl-0.16/kernel -> As I downloaded the RPM's as root, I now have
> /root/mhvtl/kernel, so I go there..
>   make
> make:*** /lib/modules/2.6.######XXX##X??/build: No such file or directory.
>  Stop.
>   make install -> Can't get to here..

Wow, where did the mhvtl-0.16 parent directory come from ?
Not from the mhvtl-1.0 rpms..
This must be a left over directory from a long, long time ago.. Middle
of 2010 was the last 0.16 release.

>
> I suspect there is a kernel module to be built, but the directions are
> pretty vague..
> I have installed via RPM
> kernel
> kernel-devel
> kernel-headers
> kernel-firmware
> It looks like the kernel source is  /usr/src/kernels/2.6.32.xxx.xxx.x86_64
>
> I am not sure how to integrate the mhvtl source and CentOS sources together.
> I suspect it's obvious to others, but I have scoured all the INSTALL docs,
> website, and forums.
> I am lost..
> Help!!
>
> thx,
>   John
>
>
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://mhvtl-linux-virtual-tape-library-community-forums.966029.n3.nabble.com/MHVTL-Basic-Install-tp3374645p3374645.html
> To start a new topic under MHVTL - Linux Virtual Tape Library - Community
> Forums, email [hidden email]
> To unsubscribe from MHVTL - Linux Virtual Tape Library - Community Forums,
> click here.



If you reply to this email, your message will be added to the discussion below:
http://mhvtl-linux-virtual-tape-library-community-forums.966029.n3.nabble.com/MHVTL-Basic-Install-tp3374645p3374845.html
To unsubscribe from MHVTL Basic Install, click here.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: MHVTL Basic Install

Mark Harvey
jadams wrote
Do you think it would be worth creating a new note about what steps I took to get Centos 6.0 X64 working with the kernel driver?
Yes please :)

Cheers
Mark
Loading...