Skip to contentSkip to conversation

qemu/target-i386 helper.c

Qemu-devel Juergen Keil 2 participants 2 messages Oct 2, 2006

lore
Share & tools
lore
#0 lore raw
Quoted 11 lines · Fabrice Bellard
Quoted 3 lines

Log message:
32 bit RSP update fix (aka Open Solaris x86_64 bug)

I've been getting the following errors the last while.

Very early in kernel init:

    WARNING: failed to program IO space [0/3/0] BAR@0x10 length 0x100

I've not yet seen this. A quick look at the source...

http://cvs.opensolaris.org/source/xref/on/usr/src/uts/i86pc/io/pci/pci_boot.c#12
41

... seems to indicate that it is trying to find an unused portion of 256 bytes of I/O space (for the NIC (?) at pci bus/device/func 0/3/0, according to the command "info pci" in qemu's monitor), and has failed.

Quoted 3 lines

Later:

WARNING: Time of Day clock error: reason [Stalled]. -- Stopped tracking

Time of Day clock

I also get this warning from time to time. Sometimes the reason is that clock is "stalled", sometimes it has "skipped". It seems to be a harmless warning, though.

Quoted 1 line

Solaris then reboots itself before (AIUI) starting userspace.

Try to boot with the kernel debugger enabled, so that you can read the panic message (I guess it reboots because of a panic). In the GRUB boot menu, type "e" twice to edit the boot commands, and add options "-kv" at the end of the "kernel" command line. <RETURN> and "b" boots with the kernel debugger and verbose kernel messages enabled.

Quoted 2 lines

This is with SNV_46 and with a fresh Qemu from CVS about 30 minutes ago.

Is that the host OS or the guest OS?

Are you running qemu or qemu-system-x86_64?

With or without kqemu?

Are you trying to install open solaris, or are you trying to boot from an installed qemu hdd image?

#1 lore raw
Quoted 3 lines · Juergen Keil

... seems to indicate that it is trying to find an unused portion of 256 bytes of I/O space (for the NIC (?) at pci bus/device/func 0/3/0, according to the command "info pci" in qemu's monitor), and has failed.

Yeah, seems to be for the NIC.

Quoted 1 line

I also get this warning from time to time. Sometimes the reason is that clock is "stalled", sometimes it has "skipped".

Ditto.

Quoted 3 lines

It seems to be a harmless warning, though.

Try to boot with the kernel debugger enabled, so that you can read the panic message (I guess it reboots because of a panic).

D'oh, I should have known that ;). It's not able to mount root. One thing it says on IDE init is:

ata_set_feature: (0x66,0x0) failed

Then lots of 'timeout: reset bus, target=0, lun=0' and other warnings with:

Error for command 'read sector' Error Level: informational Sense Key: aborted command
Vendor 'Gen-ATA' error code: 0x3

Quoted 1 line

Is that the host OS or the guest OS?

SNV as guest.

Quoted 1 line

Are you running qemu or qemu-system-x86_64?

32bit Qemu.

Quoted 1 line

With or without kqemu?

Without.

Quoted 1 line

Are you trying to install open solaris, or are you trying to boot from an installed qemu hdd image?

I had installed it with qemu from a few weeks ago (or maybe 0.8.2 release - sorry, can't remember). Something very recent in CVS seems to have broken booting it.

There shouldn't be any difference between install and boot really. I'm using a raw block device as Qemu 'hda'.

I'll try dig further.

regards,

Signature · 5 lines
Paul Jakma	[email protected]	[email protected]	Key ID: 64A2FF6A
Fortune:
"I shall expect a chemical cure for psychopathic behavior by 10 A.M. tomorrow,
or I'll have your guts for spaghetti."
-- a comic panel by Cotham