On Sat, 7 Oct 2017, Andreas Schwab wrote: > On Okt 07 2017, Finn Thain <[email protected]> wrote: > > > which reveals bogus sector numbers, suggesting that the emulated > > CD-ROM device is messed up. > > This is very likely. > > > [ 258.970000] hdb: Optical, ATAPI CD/DVD-ROM drive > > [ 258.970000] ide0 at 0xfff00000 on irq 15 (serialized) > > [ 258.980000] ide_cd_do_request: dev hdb: flags=22 > > [ 258.980000] sector 18446744073709551615, nr/cnr 0/0 > > Thats 0xffffffffffffffff. Any messages from aranym about unsupported > ATA commands? >
If the 'poweroff' command doesn't hang after the oops, aranym will log "write cmd 0xE0 (STANDBY IMMEDIATE) not supported". I think I once saw it log an attempt to read beyond the end of a device but I'm having trouble reproducing that. The "hdb: lost interrupt" messages from Linux might be important. The new libata driver doesn't use the ST-DMA interrupt sharing mechanism and Adrian's results suggest this driver works okay with Aranym's IDE CD-ROM emulation. -- > Andreas. > >

