summary refs log tree commit diff stats
path: root/results/classifier/accel-gemma3:12b/kvm/818647
blob: 7e787b5f34fe2c997c0bfb75499d3466940140f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
Getting segmentation fault when trying to boot FreeBSD

wkoszek@wkoszek:~/bin/qemu/qemu$ git log | head -1
commit c886edfb851c0c590d4e77f058f2ec8ed95ad1b5

wkoszek@wkoszek:~/o/freebsd/sys/boot/i386$ qemu-system-sparc64 --version
QEMU emulator version 0.15.50, Copyright (c) 2003-2008 Fabrice Bellard

wkoszek@wkoszek:~/o/freebsd/sys/boot/i386$ uname -a
Linux wkoszek 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 i686 i686 i386 GNU/Linux

Qemu built with default settings (./configure --prefix=<path> && make && make install)

I run FreeBSD ISO image:
/home/wkoszek/bin/qemu-dynamic/bin/qemu-system-sparc64 -m 1024 -cdrom ~/Pulpit/iso/FreeBSD-7.4-RELEASE-sparc64-bootonly.iso -hda ~/Pulpit/iso/freebsd_sparc64.qcow2 -nographic -boot d

Configuration device id QEMU version 1 machine id 0
kernel cmdline 
CPUs: 1 x SUNW,UltraSPARC-IIi
UUID: 00000000-0000-0000-0000-000000000000
Welcome to OpenBIOS v1.0 built on Jul 20 2011 21:17
  Type 'help' for detailed information
Trying cdrom:f...
Not a bootable ELF image
Loading a.out image...
Loaded 7680 bytes
entry point is 0x4000

Jumping to entry point 0000000000004000 for type 0000000000000005...
switching to new context: entry point 0x4000 stack 0x00000000ffe86b49
 
>> FreeBSD/sparc64 boot block
   Boot path:   cdrom:f
   Boot loader: /boot/loader
Consoles: Open Firmware console  

Booting with sun4u support.
Boot path set to cdrom:a

FreeBSD/sparc64 bootstrap loader, Revision 1.0
(<email address hidden>, Fri Feb 18 05:38:31 UTC 2011)
bootpath="cdrom:a"
Loading /boot/defaults/loader.conf 
/boot/kernel/kernel data=0x8d1f48+0x82f88 syms=[0x8+0x88ec0+0x8+0x76966]
|
Unimplemented service milliseconds ([0] -- [1])
Hit [Enter] to boot immediately, or any other key for command prompt.
Unimplemented service milliseconds ([0] -- [1])
Unimplemented service milliseconds ([0] -- [1])
Unimplemented service milliseconds ([0] -- [1])
Unimplemented service milliseconds ([0] -- [1])
Unimplemented service milliseconds ([0] -- [1])
Unimplemented service milliseconds ([0] -- [1])

I press CTRL + C and I get out of the looped warning about "unimplemented service". Then I see:

Type '?' for a list of commands, 'help' for more detailed help.
OK boot
jumping to kernel entry at 0xc0078000.
BOOTUnhandled Exception 0x0000000000000034
PC = 0x00000000c0637454 NPC = 0x00000000c0637458

I wanted to start FreeBSD debugging here - I pressed 'CTRL+A c', I was dropped to the monitor.

FRom the monitor I typed:

Stopping execution
QEMU 0.15.50 monitor - type 'help' for more information
(qemu) x 0xc0078000
00000000c0078000: Cannot access memory
(qemu) x 0x00000000c0637454 
00000000c0637454: Cannot access memory
(qemu) x 0x00000000c0637458
00000000c0637458: Cannot access memory
(qemu) xp 0xc0078000
Segmentation fault

IMO it shouldn't have crashed.