Scott Castaline | 1 Nov 02:40 2007
Picon

Re: DVD ripping

James P. Kinney III wrote:
> On Wed, 2007-10-31 at 15:17 -0400, Scott Castaline wrote:
>
>   
>> Okay just an update:
>>
>> Did 4 DVDs the first one I was able to use the dd command as my normal 
>> user. The second DVD would crap out in the dd command almost right away 
>> with an I/O error and showing ###blocks+1 in, ###blocks+1 out, 
>> displaying a low number like 360. I then su - to root and was able to do 
>> the 2nd one. The 3rd and 4th would fail both as my user or as root with 
>> the same I/O error. I was able to get the image using k3b, I don't 
>> understand why as it should be just executing the dd command essentially 
>> the same way as you had suggested. I am now able to skip step 2 of 
>> mounting the image file as long as I use VLC. With VLC I just go through 
>> the quick open file option and select the image that I want to play. 
>> With mplayer, gxine, or totem, I do have to mount the image that I want, 
>> but I found that it's "mount -o loop /path/of/image.iso /media", at 
>> least on Fedora 7. Now to play around with finding a way that I can just 
>> pull up a playlist of image files instead of clicking through a tree 
>> list to get to the file I want.
>>
>>     
>
> Check the temp of the disk when it is removed. Some low quality DVD
> drives are quite lousy at heat removal and the lasers have sidebands all
> in the IR region. This excessive thermal buildup causes numerous
> problems from optical distortion to pickup errors to electronics
> failures. All of these errors vanish when the drive is allowed to cool
> down between runs. Back to back dd sessions are thermally intensive even
(Continue reading)

James P. Kinney III | 1 Nov 03:13 2007

Re: DVD ripping

On Wed, 2007-10-31 at 21:40 -0400, Scott Castaline wrote:

> Actually the 3rd and 4th DVDs I didn't do until this morning after 1st 
> booting and the box was off for several hours. When I remove the media 
> it does not feel hot, and I am able to do several back2back copies of 
> DVDs with k3b without any problems. In fact that's how I copied the 3rd 
> and 4th DVDs and then 3 double sided disks of the 1st season of House. 
> Each disk/side was done one right after the other with no stopping. Now 
> playback is a different story as there seems to some dropping and 
> freezing happening. I'm not sure if it's the harddrive or the CPU. The 
> harddrive is a 500GB SATAII on an Adaptec dual port SATAI HA and the CPU 
> is an AMD Athlon 1800+ with 1GB RAM.
> Any ideas or maybe I should encode the images? (or is it transcode?)

You have to _boot_ your system :) It doesn't "Just Run" ?!

I would first try slowing down the record rate. I have half a bazillion
DVD's here that _claim_ to be burnable at speed x18 or x32 or xbazillion
but they really only work well at x2 or x4. All of the dual layer disks
I have to burn very slowly or else I get a new coaster.

I miss the AOL CDs. They made such good coasters.

I digress....

Dropping and freezing on playback is a decompression problem with your
CPU/IO having a problem. Either the bandwidth is too slow or the CPU is
bogging down and the result is a freeze or dropped section to keep up.

That said, I have had no problem playing DVD's (commercial pressed
(Continue reading)

James Sumners | 1 Nov 03:20 2007
Picon

Re: DVD ripping

He is not burning the images to new discs. He is reading them directly
from the hard drive.

You might have a DMA issue. That is, your hard drive may not be
reading as fast as it can. Do some searching for hdparm tutorials.

Personally, I would rather transcode the main content. It reduces the
file size, and makes viewing easier (don't have to deal with menus,
etc.). You're willing to store 4.7GB and 8GB image files. So you don't
have to go crazy with the compression to get the file sizes down to
700MB.  Therefore, you can have a further compressed file (it's
already compressed on the DVD) but still have a decent picture.

On 10/31/07, James P. Kinney III <jkinney@...> wrote:
> On Wed, 2007-10-31 at 21:40 -0400, Scott Castaline wrote:
>
> > Actually the 3rd and 4th DVDs I didn't do until this morning after 1st
> > booting and the box was off for several hours. When I remove the media
> > it does not feel hot, and I am able to do several back2back copies of
> > DVDs with k3b without any problems. In fact that's how I copied the 3rd
> > and 4th DVDs and then 3 double sided disks of the 1st season of House.
> > Each disk/side was done one right after the other with no stopping. Now
> > playback is a different story as there seems to some dropping and
> > freezing happening. I'm not sure if it's the harddrive or the CPU. The
> > harddrive is a 500GB SATAII on an Adaptec dual port SATAI HA and the CPU
> > is an AMD Athlon 1800+ with 1GB RAM.
> > Any ideas or maybe I should encode the images? (or is it transcode?)
>
> You have to _boot_ your system :) It doesn't "Just Run" ?!
>
(Continue reading)

Scott Castaline | 1 Nov 03:29 2007
Picon

Re: DVD ripping

James P. Kinney III wrote:
> On Wed, 2007-10-31 at 21:40 -0400, Scott Castaline wrote:
>
>   
>> Actually the 3rd and 4th DVDs I didn't do until this morning after 1st 
>> booting and the box was off for several hours. When I remove the media 
>> it does not feel hot, and I am able to do several back2back copies of 
>> DVDs with k3b without any problems. In fact that's how I copied the 3rd 
>> and 4th DVDs and then 3 double sided disks of the 1st season of House. 
>> Each disk/side was done one right after the other with no stopping. Now 
>> playback is a different story as there seems to some dropping and 
>> freezing happening. I'm not sure if it's the harddrive or the CPU. The 
>> harddrive is a 500GB SATAII on an Adaptec dual port SATAI HA and the CPU 
>> is an AMD Athlon 1800+ with 1GB RAM.
>> Any ideas or maybe I should encode the images? (or is it transcode?)
>>     
>
> You have to _boot_ your system :) It doesn't "Just Run" ?!
>
> I would first try slowing down the record rate. I have half a bazillion
> DVD's here that _claim_ to be burnable at speed x18 or x32 or xbazillion
> but they really only work well at x2 or x4. All of the dual layer disks
> I have to burn very slowly or else I get a new coaster.
>
> I miss the AOL CDs. They made such good coasters.
>
> I digress....
>
> Dropping and freezing on playback is a decompression problem with your
> CPU/IO having a problem. Either the bandwidth is too slow or the CPU is
(Continue reading)

Scott Castaline | 1 Nov 03:35 2007
Picon

Re: DVD ripping

James Sumners wrote:
> He is not burning the images to new discs. He is reading them directly
> from the hard drive.
>
> You might have a DMA issue. That is, your hard drive may not be
> reading as fast as it can. Do some searching for hdparm tutorials.
>
> Personally, I would rather transcode the main content. It reduces the
> file size, and makes viewing easier (don't have to deal with menus,
> etc.). You're willing to store 4.7GB and 8GB image files. So you don't
> have to go crazy with the compression to get the file sizes down to
> 700MB.  Therefore, you can have a further compressed file (it's
> already compressed on the DVD) but still have a decent picture.
>
> On 10/31/07, James P. Kinney III <jkinney@...> wrote:
>   
>> On Wed, 2007-10-31 at 21:40 -0400, Scott Castaline wrote:
>>
>>     
>>> Actually the 3rd and 4th DVDs I didn't do until this morning after 1st
>>> booting and the box was off for several hours. When I remove the media
>>> it does not feel hot, and I am able to do several back2back copies of
>>> DVDs with k3b without any problems. In fact that's how I copied the 3rd
>>> and 4th DVDs and then 3 double sided disks of the 1st season of House.
>>> Each disk/side was done one right after the other with no stopping. Now
>>> playback is a different story as there seems to some dropping and
>>> freezing happening. I'm not sure if it's the harddrive or the CPU. The
>>> harddrive is a 500GB SATAII on an Adaptec dual port SATAI HA and the CPU
>>> is an AMD Athlon 1800+ with 1GB RAM.
>>> Any ideas or maybe I should encode the images? (or is it transcode?)
(Continue reading)

James P. Kinney III | 1 Nov 03:47 2007

Re: DVD ripping

On Wed, 2007-10-31 at 22:20 -0400, James Sumners wrote:
> He is not burning the images to new discs. He is reading them directly
> from the hard drive.
> 
> You might have a DMA issue. That is, your hard drive may not be
> reading as fast as it can. Do some searching for hdparm tutorials.

Ah, I remember something about the images and a loopback mounting from a
day or so back. 

Try hdparm -I /dev/≤yourdrive - sda?> to see what it currently is
running as.

<mumbles something about needing to start _wearing_ those %*%^ glasses
doing email!>
> 
> Personally, I would rather transcode the main content. It reduces the
> file size, and makes viewing easier (don't have to deal with menus,
> etc.). You're willing to store 4.7GB and 8GB image files. So you don't
> have to go crazy with the compression to get the file sizes down to
> 700MB.  Therefore, you can have a further compressed file (it's
> already compressed on the DVD) but still have a decent picture.
> 
> On 10/31/07, James P. Kinney III <jkinney@...> wrote:
> > On Wed, 2007-10-31 at 21:40 -0400, Scott Castaline wrote:
> >
> > > Actually the 3rd and 4th DVDs I didn't do until this morning after 1st
> > > booting and the box was off for several hours. When I remove the media
> > > it does not feel hot, and I am able to do several back2back copies of
> > > DVDs with k3b without any problems. In fact that's how I copied the 3rd
(Continue reading)

James Sumners | 1 Nov 03:49 2007
Picon

Re: DVD ripping

I have pretty much the same desire. I just don't have the money to
build the box, yet. I want mine for my television, though. So MythTV
is what I intend to use. It does more than just TiVo like stuff :)

Another thing you might want to check is the block size you are using
for the rip. If this post [1] is correct, the standard DVD block size
is 2048.

[1] -- http://www.hackaday.com/2007/09/30/read-every-bit-on-a-dvd/#c7906122

On 10/31/07, Scott Castaline <hscast@...> wrote:
> I may get into transcoding in the future, for now I don't mind going
> through the menu systems on the DVD. I'm thinking of building a library
> of music and videos and creating a search and play front end, possibly
> like MythTV but different. Although M$ had already announced after their
> coffee table pc announcement of launching in the future something
> exactly along the lines of what I want to do.

--

-- 
James Sumners
http://james.roomfullofmirrors.com/

"All governments suffer a recurring problem: Power attracts
pathological personalities. It is not that power corrupts but that it
is magnetic to the corruptible. Such people have a tendency to become
drunk on violence, a condition to which they are quickly addicted."

Missionaria Protectiva, Text QIV (decto)
CH:D 59
(Continue reading)

Brian Pitts | 1 Nov 04:43 2007

Re: DVD ripping

Scott Castaline wrote:
> I may get into transcoding in the future, for now I don't mind going 
> through the menu systems on the DVD.

If you change your mind, in mplayer you can skip the menus by opening 
tracks directly. I'm pretty sure mplayer will open an iso file.

I had to figure this out because all of the standard linux dvd players 
(ogle, xine, mythtv's internal player) were too slow to decode dvd's on 
my repurposed zapstation [1]. Mplayer could play them smoothly with the 
right options, but by default it seemed to only load the first track on 
the disk. I tried compiling it with libdvdnav support, but I couldn't 
figure out how to navigate the dvd menu from the keyboard. What I can do 
from the keyboard is skip between entries in the playlist, so I wrote 
the following script to run mplayer with a playlist entry for each title 
on the dvd.

#!/bin/sh
TITLECOUNT=`lsdvd /dev/scd0 | grep Title | grep -v Disc |  wc -l`
PLAYLIST=""
OPTIONS="-fs -zoom -cache 8192 -vo xv -vfm ffmpeg -lavdopts lowres=1 
-framedrop"
for i in `seq 1 $TITLECOUNT`
do
	PLAYLIST="$PLAYLIST dvd://$i"
done
mplayer $OPTIONS $PLAYLIST

> I'm thinking of building a library 
> of music and videos and creating a search and play front end, possibly 
(Continue reading)

hxsrmeng | 1 Nov 05:31 2007
Picon

Re: Does kernel 2.6.20.3 have any apparmor module?

This is really a wonderful reply, thank you so much.

I have to build a 2.6.20.3 kernel to try something. So, no other choice.

You really helped me a lot. Thanks again.

On Wed, 2007-10-31 at 17:56 -0400, Steve Hamlin wrote:
> I don't believe that AppArmor itself is included in the default
> kernel.org sources.  So, yes, you would need to apply a patch, if you
> are building your own kernel from kernel.org sources.
> 
> [ Aside:  oh, the days I spent tweaking my gentoo-sources kernel so
> that it was just perfect - not a config option or module that was out
> of place or unnecessary.  Not to mention my OCD with -USE flags and
> emerge.   4+ years on a single install, then the HD died.  Backup:
> data=yes; install=no.  Gave up Gentoo cold-turkey, been Ubuntu now for
> 1-2 years.  I feel like I kicked a habit: "Hi, I'm Steve, and I was a
> Gentoo addict" :)  ] 
> 
> AppArmor depends on the Linux Security Module (LSM), which is included
> in the default kernel.  But you need to patch it with the AppArmor
> patch.   Several vendors patch their distribution kernels:  SuSE,
> Ubuntu.  Redhat uses a different security policy framework, SELinux
> (which also uses LSM, and might also be maintained outside of Linus'
> tree similar to AppArmor) 
> 
> There is a more recent patch on the site you noted from October 2007
> (go up one level), but you might want to read the sources to figure
> out what kernel version you can patch that into.  For all I know more
> recent AppArmor patches might only apply to kernels more recent than
(Continue reading)

Jim Lynch | 1 Nov 11:54 2007

Re: Linux HA

Christopher Fowler wrote:
> I've been testing some stuff in regards to Linux HA today.  Normally we
> sell 2 servers.  One is a "master" and the other is a "slave".  I've
> been testing today the capability to use a floating IP address and allow
> the slave to take over for the master.  I have a few issues that do need
> to be resolved before I can roll this out.  In my lab and colo I
> experienced 2 issues that HA could not have saved me from.
>
> #1.  Kernel not responding.
>
> In this case I can ping the server.  All connect()'s from clients
> seem to hang until they timeout.  In this scenario my slave will take
> the IP address but the master will still have it and still answer pings.
> Also he will still answer arp requests.  HA can't save me here.
>
> #2.  Kernel and programs still respond but disks are off
>
> In this case I/O to drives was hosed.  Apache would serve up pages that
> were in memory but any request in a page on disk would result in that
> connection hanging forever.  No I/O possible.  In this scenario the
> heartbeat agent will probably still see a server that is working but the
> reality would be a DoS condition.  Also upon seeing this issue I'm still
> left with a server who will not relinquish his IP address.
>
> In both cases it seems my only recourse is to allow my slave to also
> control the power of the master.  If #1 and #2 exist the slave can
> simply take the floating IP and make a determination if he needs to kill
> power.  If so he can kill power and then the master can be repaired.
>
> Ideas?
(Continue reading)


Gmane