Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Linux, Mac OS X, & Co

Reply
 
Thread Tools Display Modes
Old 11th February 2008, 18:27   #1  |  Link
addisor
Registered User
 
Join Date: Feb 2008
Posts: 16
Ubuntu UDF patch

iv'e just tried installing a UDF 2.5 patch to my gutsy install so that I can play Blu-ray DVD's with DumpHD and now appear to have made a mess of my /etc/fstab file.

I did this
wget http://www.strapp.co.uk/files/udf-$( uname -r ).ko
sudo mv udf-$( uname -r ).ko /lib/modules/$( uname -r )/kernel/fs/udf/udf.ko and followed the rest of the text,

dmesg grep | UDF reveals nothing, I fiddle with my /etc/fstab and now have this

/dev/hdc /media/cdrom0 auto 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
/dev/scd0 /media/cdrom0 iso9660,udf user,noauto 0 0

How do I get the UDF patch to work? when i try and mount dvd I get told i dont have the right privilege
__________________
Linux Ubuntu Gutsy Gibbon 64bit and love it
addisor is offline   Reply With Quote
Old 11th February 2008, 22:31   #2  |  Link
nm
Registered User
 
Join Date: Mar 2005
Location: Finland
Posts: 1,631
Did you run sudo depmod -a and actually load the module: sudo modprobe udf?

What guide did you follow?
nm is offline   Reply With Quote
Old 12th February 2008, 09:58   #3  |  Link
addisor
Registered User
 
Join Date: Feb 2008
Posts: 16
UDF Patch ubuntu

Just try this from www.strapp.co.uk

rob@rob-desktop:~$ wget http://www.strapp.co.uk/files/udf-$( uname -r ).ko
--13:24:10-- http://www.strapp.co.uk/files/udf-2.6.22-14-generic.ko
=> `udf-2.6.22-14-generic.ko'
Resolving www.strapp.co.uk... 212.159.9.131
Connecting to www.strapp.co.uk|212.159.9.131|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,677,013 (1.6M) [application/x-object]

100%[====================================>] 1,677,013 213.76K/s ETA 00:00

13:24:18 (213.92 KB/s) - `udf-2.6.22-14-generic.ko' saved [1677013/1677013]

rob@rob-desktop:~$ sudo mv udf-$( uname -r ).ko /lib/modules/$( uname -r )/kernel/fs/udf/udf.ko
rob@rob-desktop:~$ dmesg | grep UDF
rob@rob-desktop:~$ sudo depmod -a
rob@rob-desktop:~$ sudo modprobe udf
FATAL: Error inserting udf (/lib/modules/2.6.22-14-generic/kernel/fs/udf/udf.ko): Invalid module format
__________________
Linux Ubuntu Gutsy Gibbon 64bit and love it

Last edited by addisor; 12th February 2008 at 14:24.
addisor is offline   Reply With Quote
Old 12th February 2008, 18:30   #4  |  Link
nm
Registered User
 
Join Date: Mar 2005
Location: Finland
Posts: 1,631
Your signature says that you're using a 64-bit kernel. 32-bit modules won't work in it.
nm is offline   Reply With Quote
Old 12th February 2008, 22:14   #5  |  Link
addisor
Registered User
 
Join Date: Feb 2008
Posts: 16
Thanks, it suddenly dawned on me, while your there, When I did demod -a, could it have messed my sound up as alsa SPDIF no longer works and I can't get it back!!!

Going to give up on blu-ray for a while.
__________________
Linux Ubuntu Gutsy Gibbon 64bit and love it
addisor is offline   Reply With Quote
Old 12th February 2008, 23:31   #6  |  Link
Shinigami-Sama
Solaris: burnt by the Sun
 
Shinigami-Sama's Avatar
 
Join Date: Oct 2004
Location: /etc/default/moo
Posts: 1,932
Quote:
Originally Posted by addisor View Post
Thanks, it suddenly dawned on me, while your there, When I did demod -a, could it have messed my sound up as alsa SPDIF no longer works and I can't get it back!!!

Going to give up on blu-ray for a while.
I'd say try running a linux distro that doesn't try to keep you using legacy packages

but I don't blame you on giving up on blu-ray
now if only the studios would follow suit...
__________________
Quote:
Originally Posted by benjust View Post
interlacing and telecining should have been but a memory long ago.. unfortunately still just another bizarre weapon in the industries war on image quality.
Shinigami-Sama is offline   Reply With Quote
Old 12th February 2008, 23:51   #7  |  Link
nm
Registered User
 
Join Date: Mar 2005
Location: Finland
Posts: 1,631
Quote:
Originally Posted by addisor View Post
Thanks, it suddenly dawned on me, while your there, When I did demod -a, could it have messed my sound up as alsa SPDIF no longer works and I can't get it back!!!
It shouldn't do that by itself (depmod just updates the module dependency lists, which is standard procedure when installing new modules). I'd say the SPDIF problem was caused by something else--especially if analog sound output still works.
nm is offline   Reply With Quote
Old 15th February 2008, 17:13   #8  |  Link
addisor
Registered User
 
Join Date: Feb 2008
Posts: 16
yea it is quire bizzare, DVD's with DTS work over spdif but XMMS and avi files from file have no sound over spdif, what do you think?

What would a better linux distro be then?
__________________
Linux Ubuntu Gutsy Gibbon 64bit and love it
addisor is offline   Reply With Quote
Old 15th February 2008, 19:23   #9  |  Link
nm
Registered User
 
Join Date: Mar 2005
Location: Finland
Posts: 1,631
Quote:
Originally Posted by addisor View Post
yea it is quire bizzare, DVD's with DTS work over spdif but XMMS and avi files from file have no sound over spdif, what do you think?
Then you'll just need to select the correct output (IEC958) in the settings of those programs, or tune your .asoundrc to use dmix and redirect output to S/PDIF. For example, I have the following settings in ~/.asoundrc for my Envy24HT (which has digital ouput as hw:0,1 device):
Code:
pcm.envyspdifdmix {
  type dmix
  ipc_key 1024
  slave {
    pcm "hw:0,1"
    format S32_LE
    period_time 0
    buffer_time 0
    period_size 2048
    buffer_size 32768
    rate 48000
  }
}

pcm.dsp0 {
  type plug
  slave.pcm envyspdifdmix
}

pcm.!default {
  type plug
  slave.pcm envyspdifdmix
}

pcm.!iec958 {
  type plug
  slave {
    pcm "hw:0,1"
    format S32_LE
  }
}
Note that this probably won't work directly on your hardware. I may be able to give more appropriate settings if you show the output of aplay -l, which lists available playback devices.

Quote:
What would a better linux distro be then?
Each user has their preferences, and I think Ubuntu is as good base for Blu-ray/HD-DVD playback as any distribution. All you need to do is compile your own kernel with whatever patches needed.
nm is offline   Reply With Quote
Old 16th February 2008, 16:21   #10  |  Link
addisor
Registered User
 
Join Date: Feb 2008
Posts: 16
rob@rob-desktop:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC883 Analog [ALC883 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC883 Digital [ALC883 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
rob@rob-desktop:~$

Any help would be great?
__________________
Linux Ubuntu Gutsy Gibbon 64bit and love it
addisor is offline   Reply With Quote
Old 16th February 2008, 18:10   #11  |  Link
nm
Registered User
 
Join Date: Mar 2005
Location: Finland
Posts: 1,631
Ok, ALC883 should duplicate PCM output to S/PDIF automatically, but it can be disabled in the ALSA mixer (for ALSA > 1.0.14rc3). Perhaps that's what has happened? Try to tweak the output settings with alsamixer.

You may also need to specify the right model when loading the module, if it is not detected correctly. I doubt this is the case since aplay -l lists digital output.
nm is offline   Reply With Quote
Old 18th February 2008, 19:39   #12  |  Link
bmnot
Registered User
 
Join Date: Jun 2007
Posts: 215
I've been trying the UDF 2.5 patch for Gutsy for a while, and had almost given up. I got it to work today.

Please see this thread

http://ubuntuforums.org/showthread.php?t=449658

There's is a precompiled udf.ko file. You only need to replace your udf.ko with this one (Make a backup first, just incase).

Worked for me. I can finally mount blu-ray discs.
bmnot is offline   Reply With Quote
Old 18th February 2008, 23:09   #13  |  Link
addisor
Registered User
 
Join Date: Feb 2008
Posts: 16
Do you know if this is 64bit or 32bit patch? I need 64bit.
__________________
Linux Ubuntu Gutsy Gibbon 64bit and love it
addisor is offline   Reply With Quote
Old 19th February 2008, 04:46   #14  |  Link
bmnot
Registered User
 
Join Date: Jun 2007
Posts: 215
That's for 32-bit. I don't know if it'll work for 64-bit, but you could try it after you make a backup of udf.ko
bmnot is offline   Reply With Quote
Old 19th February 2008, 09:29   #15  |  Link
nm
Registered User
 
Join Date: Mar 2005
Location: Finland
Posts: 1,631
Quote:
Originally Posted by bmnot View Post
That's for 32-bit. I don't know if it'll work for 64-bit, but you could try it after you make a backup of udf.ko
He already tried a 32-bit version and it will not work, as can be seen in the first few posts of this thread.
nm is offline   Reply With Quote
Old 19th February 2008, 13:35   #16  |  Link
evade
Registered User
 
Join Date: Nov 2003
Posts: 97
The zen kernel is prepatched for UDF and a bunch of other great features.

http://www.mattparnell.com/zen-kernel.html
__________________
Eat Canadian Lamb,
20,000 coyotes can't be wrong.
evade is offline   Reply With Quote
Old 19th February 2008, 15:04   #17  |  Link
addisor
Registered User
 
Join Date: Feb 2008
Posts: 16
Just tired the latest 32bit patch on 7.10 64 and again no success!! never mind I persevere. Not sure what to actually do with the ZEN suggestion? advice?
__________________
Linux Ubuntu Gutsy Gibbon 64bit and love it
addisor is offline   Reply With Quote
Old 19th February 2008, 15:12   #18  |  Link
evade
Registered User
 
Join Date: Nov 2003
Posts: 97
it's simple, just install the packages and reboot.
__________________
Eat Canadian Lamb,
20,000 coyotes can't be wrong.
evade is offline   Reply With Quote
Old 19th February 2008, 15:18   #19  |  Link
addisor
Registered User
 
Join Date: Feb 2008
Posts: 16
Took the ZEN plunge!!! made a bit of progress,

rob@rob-desktop:~$ dmesg | grep UDF
[ 69.589510] UDF-fs: minUDFReadRev=250 (max is 201)
[ 97.888006] UDF-fs: minUDFReadRev=250 (max is 201)

That never used to happen and also modprobe doesn't error.

Except when I put a blu-ray in this still happens

Invalid mount option when attempting to mount the volume '32005129_LAYER_CAKE'.

Were nearly there, come on guys???
__________________
Linux Ubuntu Gutsy Gibbon 64bit and love it
addisor is offline   Reply With Quote
Old 19th February 2008, 16:27   #20  |  Link
nm
Registered User
 
Join Date: Mar 2005
Location: Finland
Posts: 1,631
What do you have in /etc/fstab?
nm is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 20:14.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.