Account Options

  1. Sign in
The new Google Groups is coming soon. Learn about the new features you'll find.
Google Groups Home for zfsonlinux.org
« Groups Home
Error: zfs-dkms fails to compile on Ubuntu 10.04 LTS Server (with workaround)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
LearnedBy Error  
View profile  
 More options Jun 23 2011, 4:35 pm
From: LearnedBy Error <learnedbyer...@gmail.com>
Date: Thu, 23 Jun 2011 13:35:09 -0700 (PDT)
Local: Thurs, Jun 23 2011 4:35 pm
Subject: Error: zfs-dkms fails to compile on Ubuntu 10.04 LTS Server (with workaround)
All,

I'm assuming that this is place to report bugs.  If it isn't, then
please point me in the right direction and I'll submit it there.

The problem: On a clean install of Ubuntu Server 10.04 LTS with only
OpenSSH and Samba installed using the default repositories with
ppa:dajhorn/zfs added, apt-get install ubuntu-zfs fails to install
properly.  The compile for zfs-dkms fails.  The failure is such that
the overall install does not stop and that ubuntu-zfs gets reported as
installed.  However, the zfs.ko module is neither built nor installed.

Workaround:  apt-get remove ubuntu-zfs zfs-dkms spl-dkms dkms and then
apt-get install dkms and subsequently apt-get install ubunu-zfs.
Everything compiles and installs properly.  Issue the command zfs and
the modules are loaded and you are ready to go.

How to replicate the error:

1.  Install Ubuntu Server 10.04 LTS from the iso image.
2.  Take all defaults except for additional software, select OpenSSH
and Samba to be added
3.  After install is complete and the server is rebooted, apt-get
update
4.  apt-get install python-software-properties
5.  add-apt-repository ppa:dajhorn/zfs
6.  apt-get update
7.  apt-get install ubuntu-zfs


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Darik Horn  
View profile  
 More options Jun 23 2011, 4:42 pm
From: Darik Horn <dajh...@vanadac.com>
Date: Thu, 23 Jun 2011 15:42:17 -0500
Local: Thurs, Jun 23 2011 4:42 pm
Subject: Re: [zfs-discuss] Error: zfs-dkms fails to compile on Ubuntu 10.04 LTS Server (with workaround)

On Thu, 2011-06-23 at 13:35 -0700, LearnedBy Error wrote:
> The problem: On a clean install of Ubuntu Server 10.04 LTS with only
> OpenSSH and Samba installed using the default repositories with
> ppa:dajhorn/zfs added, apt-get install ubuntu-zfs fails to install
> properly.  The compile for zfs-dkms fails.  The failure is such that
> the overall install does not stop and that ubuntu-zfs gets reported as
> installed.  However, the zfs.ko module is neither built nor installed.

Please post a build transcript, or at least the last error message that
was printed to the terminal.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
LearnedBy Error  
View profile  
 More options Jun 23 2011, 4:54 pm
From: LearnedBy Error <learnedbyer...@gmail.com>
Date: Thu, 23 Jun 2011 13:54:00 -0700 (PDT)
Subject: Re: Error: zfs-dkms fails to compile on Ubuntu 10.04 LTS Server (with workaround)

> Please post a build transcript, or at least the last error message that
> was printed to the terminal.

Darik,

There isn't much text to offer, but here it is:

 * dkms: running auto installation service for kernel 2.6.32-32-
generic
 *      zfs (0.6.0.19)...   [fail]
 *      spl (0.6.0.19)...   [OK}

I'll be happy to generate a built transcript for you it you can tell
me how to do it.  I looked through /var/lib/dkms after the build for a
build.log but didn't find one.  I'm experienced with *nix and other
distros of Linux, but I don't have a lot of time on Debian/Ubuntu.  So
point me and I'm happy to help.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Darik Horn  
View profile  
 More options Jun 23 2011, 5:12 pm
From: Darik Horn <dajh...@vanadac.com>
Date: Thu, 23 Jun 2011 16:12:29 -0500
Local: Thurs, Jun 23 2011 5:12 pm
Subject: Re: [zfs-discuss] Re: Error: zfs-dkms fails to compile on Ubuntu 10.04 LTS Server (with workaround)

On Thu, 2011-06-23 at 13:54 -0700, LearnedBy Error wrote:
> * dkms: running auto installation service for kernel 2.6.32-32-generic
> *      zfs (0.6.0.19)...   [fail]
> *      spl (0.6.0.19)...   [OK}

Ah, this is a known bug in the packaging:  The build fails when the ZFS
modules are compiled before the SPL module.

DKMS lacks the notion of a module dependency, so zfs-dkms Pre-Depends on
spl-dkms instead.  This usually gets the desired result, but it
occasionally fails like you report.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »