Skip to contentSkip to conversation

info qtree command cause qemu ABORT!

Qemu-devel hitmoon 2 participants 6 messages Mar 11, 2016 – Mar 15, 2016

lore
Share & tools
lore

hitmoon

author
#0 lore raw

Peter:

first launch following command:

arm-softmmu/qemu-system-arm -M versatilepb -kernel ~/Qemu-ARM/vmlinuz-3.2.0-4-versatile -initrd ~/Qemu-ARM/initrd.img-3.2.0-4-versatile -hda ~/debian_wheezy_armel_standard.qcow2 -append 'root=/dev/sda1'

Then execute 'info qtree' in the monitor, qemu aborted with error message :
'qemu/hw/core/sysbus.c:277:sysbus_dev_print: Object 0x55569a7b2d00 is not an instance of type sys-bus-device'

With the help of git bisect, commit 'hw/sd/sd.c: QOMify' (260bc9d8aa887bdd72d1b2499a9080f75b289cb4) cause this problem.

#1 lore raw
Quoted 4 lines · hitmoon

Peter:

first launch following command:

Quoted 8 lines

arm-softmmu/qemu-system-arm -M versatilepb -kernel ~/Qemu-ARM/vmlinuz-3.2.0-4-versatile -initrd ~/Qemu-ARM/initrd.img-3.2.0-4-versatile -hda ~/debian_wheezy_armel_standard.qcow2 -append 'root=/dev/sda1'

Then execute 'info qtree' in the monitor, qemu aborted with error message :
'qemu/hw/core/sysbus.c:277:sysbus_dev_print: Object 0x55569a7b2d00 is not an instance of type sys-bus-device'

Yes, I saw your email from yesterday about this and it is on my list of things to look at.

-- PMM

author
#2 lore raw
Quoted 10 lines · Peter Maydell
Quoted 9 lines · hitmoon

Peter:

first launch following command:

arm-softmmu/qemu-system-arm -M versatilepb -kernel ~/Qemu-ARM/vmlinuz-3.2.0-4-versatile -initrd ~/Qemu-ARM/initrd.img-3.2.0-4-versatile -hda ~/debian_wheezy_armel_standard.qcow2 -append 'root=/dev/sda1'

Quoted 7 lines
Quoted 3 lines

Then execute 'info qtree' in the monitor, qemu aborted with error message :
'qemu/hw/core/sysbus.c:277:sysbus_dev_print: Object 0x55569a7b2d00 is not an instance of type sys-bus-device'

Yes, I saw your email from yesterday about this and it is on my list of things to look at.

-- PMM

It seems that print_dev point to sysbus_dev_print but sdcard's parent is not a TYPE_SYS_BUS_DEVICE !

author
#3 lore raw
Quoted 13 lines · hitmoon
Quoted 10 lines · Peter Maydell
Quoted 9 lines · hitmoon

Peter:

first launch following command:

arm-softmmu/qemu-system-arm -M versatilepb -kernel ~/Qemu-ARM/vmlinuz-3.2.0-4-versatile -initrd ~/Qemu-ARM/initrd.img-3.2.0-4-versatile -hda ~/debian_wheezy_armel_standard.qcow2 -append 'root=/dev/sda1'

Quoted 8 lines
Quoted 7 lines
Quoted 3 lines

Then execute 'info qtree' in the monitor, qemu aborted with error message :
'qemu/hw/core/sysbus.c:277:sysbus_dev_print: Object 0x55569a7b2d00 is not an instance of type sys-bus-device'

Yes, I saw your email from yesterday about this and it is on my list of things to look at.

-- PMM

It seems that print_dev point to sysbus_dev_print but sdcard's parent is not a TYPE_SYS_BUS_DEVICE !

I think it is the same problem as this thread:
https://lists.nongnu.org/archive/html/qemu-devel/2014-02/msg00624.html

author
#4 lore raw
Quoted 19 lines · hitmoon
Quoted 16 lines · hitmoon
Quoted 13 lines · Peter Maydell
Quoted 12 lines · hitmoon

Peter:

first launch following command:

arm-softmmu/qemu-system-arm -M versatilepb -kernel ~/Qemu-ARM/vmlinuz-3.2.0-4-versatile -initrd ~/Qemu-ARM/initrd.img-3.2.0-4-versatile -hda ~/debian_wheezy_armel_standard.qcow2 -append 'root=/dev/sda1'

Then execute 'info qtree' in the monitor, qemu aborted with error message :
'qemu/hw/core/sysbus.c:277:sysbus_dev_print: Object 0x55569a7b2d00 is not an instance of type sys-bus-device'

Quoted 7 lines
Quoted 5 lines
Quoted 4 lines

Yes, I saw your email from yesterday about this and it is on my list of things to look at.

-- PMM

It seems that print_dev point to sysbus_dev_print but sdcard's parent is not a TYPE_SYS_BUS_DEVICE !

I think it is the same problem as this thread:
https://lists.nongnu.org/archive/html/qemu-devel/2014-02/msg00624.html

Peter, have you find a solution?

#5 lore raw
Quoted 1 line · hitmoon

Peter, have you find a solution?

No. I have been away at a conference the last week, you only reported this five days ago and I have already told you that it is on my list of things to look at.

-- PMM