ioctl() 64-bit issues

Stasys Smailys ssmailys at
Thu Nov 4 08:09:57 PST 2004

Hi all!

> Still not working. System is
> [deepred at omega64]:[~] > uname -a
> FreeBSD 5.3-STABLE FreeBSD 5.3-STABLE #0: Tue Nov  2
> 10:04:01 EET 2004
> root at  amd64
> ata_queue_request() returns zeros in request->* 
> after calling acd_get_progress() in dev/ata/atapi-cd.c. If 
> request->u.atapi.sense_data.sksv is 0, then *finished is 0. That's why 
> pct always gets zero, even if it has a value. Other functions don't care 
> about second value when calling acd_get_progress() so they are not 
> sensitive. Could it be that acd_get_progress() is deprecated and should 
> not return anything excluding 0 or ENOMEM?

First of all I'm sorry for the false alarm. It appeared that the problem 
was in CDRW drive. After changing NEC NR-7700A to LiteOn SOHR-5238S 
everything works just fine. It seems to be a hardware bug because I 
can't change transfer mode to anything more than WDMA2 (by default it 
starts at PIO4). I would never thought that it was the hardware issue.

Thanks anyway.

Stasys Smailys

More information about the freebsd-amd64 mailing list