NetBSD-Users archive

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

Re: Tweaks to avoid ide timeouts under qemu?



On Thu, Mar 12, 2020 at 12:53:47PM +1100, Paul Ripke wrote:
> Just wondering what other people are doing to avoid ide timeouts when
> running qemu? My disk image is on spinning rust, and when the /etc/daily
> jobs run on the host, the qemu emulated netbsd kernel tends to see
> timeouts and ultimately hang. Eg:

Any ideas? Seems to happen pretty much every night if I leave it
running.

Mar 19 10:27:21 qemu /netbsd: [ 51459.2816107] autoconfiguration error: piixide0:0:0: lost interrupt
Mar 19 10:27:21 qemu /netbsd: [ 51459.2816107]  type: ata tc_bcount: 10752 tc_skip: 0
Mar 19 10:27:21 qemu /netbsd: [ 51459.5670834] autoconfiguration error: piixide0:0:0: bus-master DMA error: missing interrupt, status=0x21
Mar 19 10:27:21 qemu /netbsd: [ 51459.5670834] wd0a: DMA error writing fsbn 1801707 of 1801707-1801727 (wd0 bn 1801770; cn 879 tn 49 sn 10), xfer 38, retry 0
Mar 19 10:27:21 qemu /netbsd: [ 51480.5385488] autoconfiguration error: piixide0:0:0: lost interrupt
Mar 19 10:27:21 qemu /netbsd: [ 51480.5385488]  type: ata tc_bcount: 10752 tc_skip: 0
Mar 19 10:27:21 qemu /netbsd: [ 51480.5385488] autoconfiguration error: piixide0:0:0: bus-master DMA error: missing interrupt, status=0x21
Mar 19 10:27:21 qemu /netbsd: [ 51481.4286980] wd0a: DMA error writing fsbn 1801707 of 1801707-1801727 (wd0 bn 1801770; cn 879 tn 49 sn 10), xfer 38, retry 1
Mar 19 10:27:21 qemu /netbsd: [ 51490.7125714] wd0: soft error (corrected) xfer 38
Mar 19 10:27:21 qemu /netbsd: [ 51530.4227159] autoconfiguration error: piixide0:0:0: lost interrupt
Mar 19 10:27:21 qemu /netbsd: [ 51530.4227159]  type: ata tc_bcount: 16384 tc_skip: 0
Mar 19 10:27:21 qemu /netbsd: [ 51530.4227159] autoconfiguration error: piixide0:0:0: bus-master DMA error: missing interrupt, status=0x21
Mar 19 10:27:21 qemu /netbsd: [ 51531.1769776] wd0: autoconfiguration error: transfer error, downgrading to PIO mode 4
Mar 19 10:27:21 qemu /netbsd: [ 51531.1769776] wd0(piixide0:0:0): using PIO mode 4
Mar 19 10:27:21 qemu /netbsd: [ 51531.1870047] wd0a: DMA error writing fsbn 1801899 of 1801899-1801930 (wd0 bn 1801962; cn 879 tn 55 sn 10), xfer 38, retry 0
Mar 19 10:27:21 qemu /netbsd: [ 51552.7631096] autoconfiguration error: piixide0:0:0: lost interrupt
Mar 19 10:27:21 qemu /netbsd: [ 51552.7631096]  type: ata tc_bcount: 16384 tc_skip: 0
Mar 19 10:27:21 qemu /netbsd: [ 51552.7631096] wd0a: device timeout writing fsbn 1801899 of 1801899-1801930 (wd0 bn 1801962; cn 879 tn 55 sn 10), xfer 38, retry 1
Mar 19 10:27:21 qemu /netbsd: [ 51556.9003752] wd0: soft error (corrected) xfer 38
Mar 19 10:27:21 qemu /netbsd: [ 51573.7527689] piixide0:0:0: not ready, st=0xd0, err=0x00
Mar 19 10:27:21 qemu /netbsd: [ 51573.7527689] wd0a: device timeout writing fsbn 1801979 of 1801963-1801983 (wd0 bn 1802042; cn 879 tn 57 sn 26), xfer 38, retry 0
Mar 19 10:27:21 qemu /netbsd: [ 51585.2350924] piixide0:0:0: timeout waiting for DRQ, st=0x50, err=0x00
<hung, not even ddb'able>

-- 
Paul Ripke
"Great minds discuss ideas, average minds discuss events, small minds
 discuss people."
-- Disputed: Often attributed to Eleanor Roosevelt. 1948.


Home | Main Index | Thread Index | Old Index