Re: Reading a Video CD from a DVD drive on 7.0

2008-04-13 Thread Nikolaj Thygesen

Joshua Isom wrote:


After some further testing, a vcd in the dvd drive will have the same 
problem during booting the kernel(before init). After killing the 
system and rebooting without the disc, trying to play the disc causes 
messages like this repeatedly. I tried running cdcontrol -f /dev/acd1 
eject and it hung. I tried atacontrol reinit ata3 and atacontrol 
detach ata3 and those hung as well. It's an sata dvd-rw drive over 
atapi. Here's the error being reported by the kernel.


acd1: TIMEOUT - READ_BIG retrying (1 retry left)
acd1: TIMEOUT - READ_BIG retrying (0 retries left)
acd1: FAILURE - READ_BIG timed out

Mplayer just triggers the problem. I imagine if I ran amd I'd have the 
same type of problem, or any program that tried to read from acd1. 
Other than locking up tty's and not being able to shut down, the 
system's still usable, aside from the disc inserted during boot of 
course.


I get the exact same symptoms when booting with an audio cd in the 
drive. I haven't done too much about it as I rarely stuff such things in 
my box, but the cd/dvd part of fbsd7 still appears somewhat flakey. I 
see the INQUIRY ILLEGAL REQUEST below on several boxes. On this 
particular machine atapicd is commented out in its i386-based custom 
kernel config, but it makes no difference as far as this warning/error 
is concerned.


FreeBSD 7.0-RELEASE #4: Sun Mar 9 21:39:39 CET 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/DIAMOND
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz (2405.47-MHz 686-class CPU)

unknown: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00
cd0 at ata4 bus 0 target 1 lun 0
cd0: ATAPI DVD D DH16D2P HP57 Removable CD-ROM SCSI-0 device
cd0: 3.300MB/s transfers
cd0: cd present [2070890 x 2048 byte records]


br - N :o)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Reading a Video CD from a DVD drive on 7.0

2008-04-12 Thread Roland Smith
On Sat, Apr 12, 2008 at 01:32:22AM -0500, Joshua Isom wrote:
 I recently made the upgrade to 7.0, and my girlfriend had some video cd's 
 she wanted help with(end result is putting two pal vcd's on one ntsc dvd).  
 I had a couple she'd given me before that were actually dvd's so I first 
 put the new ones in my dvd drive and tried using mplayer on them, but it 
 locks up with the read big timeout thing that I'm sure almost anyone who's 
 messed with dvd's has seen.

I haven't. DVD's work fine here with mplayer on amd64.

  Under 6.3, that error would do the three 
 tries, and then another three, and quit.  I didn't not test under 6.3 using 
 an actual vcd so I'm not sure if that's specific to the issue or not.  But 
 under 7.0, it'd just keep retrying forever.  Since it was locked in device, 
 I couldn't kill it, I couldn't eject the disc, and had to forcibly reboot 
 the system.  Now, the operating system still worked, but the drive was 
 locked, and the kernel could not shut down.  I doubt this is expected or 
 tolerated behavior but given that it involves video cd's in a dvd drive 
 trying to be accessed as a dvd, I'm not sure it's been seen very often at 
 all.  Was behavior changed from 6 to 7, or was this just an untested case?  
 Does anyone know how best to deal with processes locked in device?

When trying to play a vcd in mplayer I just get a CDRIOCSETBLOCKSIZE
error.

There are tools in ports to rip a VCD. See multimedia/vcdimager.

For wayward devices to can try using cdcontrol(1) or atacontrol(8).

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpRs6r4XoROe.pgp
Description: PGP signature


Re: Reading a Video CD from a DVD drive on 7.0

2008-04-12 Thread Joshua Isom


On Apr 12, 2008, at 4:47 PM, Roland Smith wrote:


On Sat, Apr 12, 2008 at 01:32:22AM -0500, Joshua Isom wrote:

I haven't. DVD's work fine here with mplayer on amd64.


Same here, and vcd's playing out of the cd drive.


When trying to play a vcd in mplayer I just get a CDRIOCSETBLOCKSIZE
error.


I get no errors at all actually.


There are tools in ports to rip a VCD. See multimedia/vcdimager.

For wayward devices to can try using cdcontrol(1) or atacontrol(8).

Roland



After some further testing, a vcd in the dvd drive will have the same 
problem during booting the kernel(before init).  After killing the 
system and rebooting without the disc, trying to play the disc causes 
messages like this repeatedly.  I tried running cdcontrol -f /dev/acd1 
eject and it hung.  I tried atacontrol reinit ata3 and atacontrol 
detach ata3 and those hung as well.  It's an sata dvd-rw drive over 
atapi.  Here's the error being reported by the kernel.


acd1: TIMEOUT - READ_BIG retrying (1 retry left)
acd1: TIMEOUT - READ_BIG retrying (0 retries left)
acd1: FAILURE - READ_BIG timed out

Mplayer just triggers the problem.  I imagine if I ran amd I'd have the 
same type of problem, or any program that tried to read from acd1.  
Other than locking up tty's and not being able to shut down, the 
system's still usable, aside from the disc inserted during boot of 
course.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]