[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Testers for OpenBSD & NetBSD needed



>Frederick Page <fpage@thebetteros.oche.de> wrote:

>> >In order to make sure that cdda2wav is not hitting the same problems
>> >on OpenBSD & NetBSD, I would need people who like to test a suid
>> >cdda2wav on OpenBSD & NetBSD systems.
>>
>> /tmp$ su
>> Password:
>> /tmp$ whoami
>> root
>> /tmp$ uname -a
>> OpenBSD thebetteros.oche.de 3.5 GENERIC#34 i386
>> /tmp$ ls -la `which cdda2wav`
>> -rwxr-xr-x  1 root  bin  267279 Aug 19 18:18 /usr/local/bin/cdda2wav
>> /tmp$ cdda2wav -version
>> cdda2wav version 2.01a37_openbsd_3.5_i386_i386
>> /tmp$ cdda2wav -V -vall dev=/dev/rcd0c -N -B >OUT.TXT 2>&1
>>
>>
>> Aug 19 18:34:35 thebetteros /bsd: pciide0:1: bogus intr
>> Aug 19 18:39:45 thebetteros /bsd: cd0(pciide0:1:0): timeout
>> Aug 19 18:39:45 thebetteros /bsd:       type: atapi
>> Aug 19 18:39:45 thebetteros /bsd:       c_bcount: 1181
>> Aug 19 18:39:45 thebetteros /bsd:       c_skip: 0
>> Aug 19 18:39:45 thebetteros /bsd: cd0: transfer error, downgrading to
>>                                   DMA mode 2
>> Aug 19 18:39:45 thebetteros /bsd: cd0(pciide0:1:0): using PIO mode 4,
>>                                   DMA mode 2
>> Aug 19 18:39:46 thebetteros /bsd: pciide0:1: bogus intr
>>
>> I attach OUT.TXT gzipped.

Your problem is caused by a OpenBSD kernel bug. The kernel does not handle
odd DMA counts for ATA correctly.

But could you try to answer my question please:

If you install cdda2wav suid root and call it as non root user, does it work?

In order to avoid the Kernel bug from preventing you to do the test, check the
number of traks on the CD. It it was a CD with an even number of tracks, use
one with an odd number of tracks or vice versa.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily



Reply to: