[AHCI] crash when running a GNU/Hurd guest
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Expired
|
Undecided
|
Unassigned |
Bug Description
QEMU git hash = 51db2d7cf2
Running guest OS using:
$ gdb --args /extra/
...
root@zamhurd:~# .ahcisata0 channel 5: setting WDCTL_RST failed for drive 0
Thread 1 "qemu-system-i38" received signal SIGSEGV, Segmentation fault.
ahci_commit_buf (dma=0x55555733
1462 tx_bytes += le32_to_
(gdb) bt full
#0 ahci_commit_buf (dma=0x55555733
at ../hw/ide/
ad = 0x555557335870
#1 0x0000555555893171 in dma_buf_commit (s=0x555557335930, tx_bytes=2048)
at ../hw/ide/
#2 0x00005555558934f8 in ide_dma_cb (opaque=
at ../hw/ide/
s = 0x555557335930
n = 4
sector_num = 4491160
offset = 140732794753312
stay_active = false
prep_size = 0
#3 0x0000555555830720 in dma_complete (dbs=0x7ffee83d
at ../softmmu/
#4 0x00005555558307cd in dma_blk_cb (opaque=
at ../softmmu/
dbs = 0x7ffee83d5120
cur_addr = 140732794753408
cur_len = 93825013280880
mem = 0x7ffeeccfef00
#5 0x0000555555d92bce in blk_aio_complete (acb=0x7ffee847
at ../block/
#6 0x0000555555d92df0 in blk_aio_read_entry (opaque=
at ../block/
acb = 0x7ffee847bbe0
rwco = 0x7ffee847bc08
qiov = 0x7ffee83d5180
#7 0x0000555555e85580 in coroutine_
at ../util/
arg = {p = 0x7ffee8453740, i = {-398117056, 32766}}
self = 0x7ffee8453740
co = 0x7ffee8453740
#8 0x00007ffff6544020 in __start_context () at /lib64/libc.so.6
#9 0x00007ffeefdfd680 in ()
#10 0x0000000000000000 in ()
(gdb)
(gdb) l
1457 */
1458 static void ahci_commit_
1459 {
1460 AHCIDevice *ad = DO_UPCAST(
1461
1462 tx_bytes += le32_to_
1463 ad->cur_cmd->status = cpu_to_
1464 }
1465
1466 static int ahci_dma_
(gdb) p ad
$1 = (AHCIDevice *) 0x555557335870
(gdb) p ad->cur_cmd
$2 = (AHCICmdHdr *) 0x0
(gdb)
summary: |
- crash when running a GNU/Hurd guest + [AHCI] crash when running a GNU/Hurd guest |
Changed in qemu: | |
assignee: | nobody → John Snow (jnsnow) |
Note: this is using the rump ahci driver.