View previous topic :: View next topic |
Author |
Message |
max-232 Tux's lil' helper
Joined: 30 Mar 2006 Posts: 105 Location: Italy
|
Posted: Wed Jan 10, 2007 7:52 am Post subject: Premature EOF...? |
|
|
HI all,
I use a script for the dvd backup powered by vamps.
It works.
But now it won't works!
The error message of vamps is "vamps: Fatal: Premature EOF"
and the command is "play_cell -r 0 -g /dev/dvd 1 1 1 | vamps -E 1 -a 1 -S 1 > temp.mpeg".
I used reiser4 and all went well.
Yesterday evening I did a stage4, format all with ext3, and expanded the stage4 into the new partition.
and I got the error!
What about this error?
Many Thanks in advance.
Massimo |
|
Back to top |
|
|
max-232 Tux's lil' helper
Joined: 30 Mar 2006 Posts: 105 Location: Italy
|
Posted: Wed Jan 10, 2007 8:56 am Post subject: |
|
|
it seems to be a stdin problem....but I don't know how to manage it... |
|
Back to top |
|
|
max-232 Tux's lil' helper
Joined: 30 Mar 2006 Posts: 105 Location: Italy
|
Posted: Wed Jan 10, 2007 9:24 am Post subject: Premature EOF |
|
|
I've posted this in the Multimedia section, but maybe it's a kernel (stdin) problem?
Quote: |
HI all,
I use a script for the dvd backup powered by vamps.
It works.
But now it won't works!
The error message of vamps is "vamps: Fatal: Premature EOF"
and the command is "play_cell -r 0 -g /dev/dvd 1 1 1 | vamps -E 1 -a 1 -S 1 > temp.mpeg".
I used reiser4 and all went well.
Yesterday evening I did a stage4, format all with ext3, and expanded the stage4 into the new partition.
and I got the error!
What about this error?
Many Thanks in advance.
Massimo
|
any ideas? |
|
Back to top |
|
|
max-232 Tux's lil' helper
Joined: 30 Mar 2006 Posts: 105 Location: Italy
|
Posted: Wed Jan 10, 2007 1:48 pm Post subject: |
|
|
...I've also upgraded the kernel to the gentoo-sources-2.6.19-r2 and enabled the HPET timer...could this be the problem? |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Wed Jan 10, 2007 4:45 pm Post subject: |
|
|
merged above two posts here. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
max-232 Tux's lil' helper
Joined: 30 Mar 2006 Posts: 105 Location: Italy
|
Posted: Thu Jan 11, 2007 7:24 am Post subject: |
|
|
I've checked....
with the same config file, kernel 2.6.18, 2.6.17 works perfectly. 2.6.19 gives the error "vamps: Fatal: Premature EOF"
ideas? |
|
Back to top |
|
|
max-232 Tux's lil' helper
Joined: 30 Mar 2006 Posts: 105 Location: Italy
|
Posted: Fri Feb 09, 2007 4:56 pm Post subject: |
|
|
Hi!
I tried with the 2.6.20 kernel and still this problem....it seems something in stdin stdout....but I don't know...
ideas?
bye |
|
Back to top |
|
|
g1ul10 n00b
Joined: 01 Dec 2004 Posts: 11
|
Posted: Sun May 27, 2007 4:54 pm Post subject: |
|
|
Hi,
the same thing here. I'm using kernel 2.6.21. Did somebody find a solution?
Giulio. |
|
Back to top |
|
|
max-232 Tux's lil' helper
Joined: 30 Mar 2006 Posts: 105 Location: Italy
|
Posted: Mon May 28, 2007 5:35 pm Post subject: |
|
|
yes, I found a solution to run across the problem...it's not the best one, but for me it works.
As you can see here https://forums.gentoo.org/viewtopic-t-542488.html I've started working with fifos
heredown a scratch of code:
Code: |
mkfifo $cellz.fifo
cat $cellz.fifo | vamps -E 1 -a $aidcount $subtitle -S 1 > temp$cellz.mpeg &
play_cell -r 0 -g $defaultdvd $vts $pgc $cellz > $cellz.fifo
rm $cellz.fifo
|
hope this help
bye!
Massimo |
|
Back to top |
|
|
RobertBradbury n00b
Joined: 27 Jan 2007 Posts: 9 Location: Boston
|
Posted: Thu Jun 14, 2007 7:41 pm Post subject: |
|
|
It turns out this is under Gentoo Bug #175504.
https://bugs.gentoo.org/show_bug.cgi?id=175504
Its a bug in "vamps" that it isn't handling short reads from a pipe correctly. The "premature-eof.patch" file posted 21 Apr 2007 does appear to fix the problem when I apply it to vamps.c. It may be cropping up in more recent versions of the kernel due to variations in how fifos or pipes are scheduled.
It is unfortunate that this hasn't crept back into the vamps source code and a subsequent Gentoo update. |
|
Back to top |
|
|
RobertBradbury n00b
Joined: 27 Jan 2007 Posts: 9 Location: Boston
|
|
Back to top |
|
|
|