Subject: Re: atapi lost interrupt
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Johan Danielsson <joda@pdc.kth.se>
List: current-users
Date: 01/19/1999 14:19:41
Manuel Bouyer <bouyer@antioche.lip6.fr> writes:

> Could you try to add some debbuging printf's in cdopen()
> (file sys/dev/scsipi/cd.c) to see which SCSI command is failing ?

With SCSIDEBUG:

cd1(pciide0:1:0): cdopen: dev=0xf0b (unit 1 (of 4), partition 3)
cd1(pciide0:1:0): atapi_cmd
cd1(pciide0:1:0): scsipi_get_xs
cd1(pciide0:1:0): calling pool_get
cd1(pciide0:1:0): returning
scsipi_exec_cmd: xs(0xf04a4074): flg(0x1d0)sc_link(0xf0498d40)retr(0x2)timo(0x2710)cmd(0xf04a40d8)len(0xc)data(0x0)len(0x0)res(0x0)err(0x0)bp(0x0)cd1(pciide0:1:0): command: 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0-[0 bytes]

(xs->flags & ITSDONE) apparently never gets set.

0-byte command?

/Johan