summary refs log tree commit diff stats
path: root/results/classifier/zero-shot/118/kernel/2000
blob: 2918d67f95acd73c17a89be24895b8b4f920ddd4 (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
kernel: 0.966
files: 0.931
device: 0.921
peripherals: 0.894
socket: 0.878
permissions: 0.875
architecture: 0.860
VMM: 0.855
mistranslation: 0.833
network: 0.829
performance: 0.822
register: 0.810
vnc: 0.806
graphic: 0.802
PID: 0.797
boot: 0.726
arm: 0.710
x86: 0.673
user-level: 0.671
ppc: 0.669
hypervisor: 0.626
semantic: 0.616
i386: 0.591
debug: 0.588
risc-v: 0.544
virtual: 0.540
assembly: 0.465
TCG: 0.431
KVM: 0.361

m68k: error "fatal: Unimplemented control register write 0x0 = 0x1"
Description of problem:
An attempt to run the NetBSD m68k kernel under QEMU crashes.
The error message is:
```
qemu: fatal: Unimplemented control register write 0x0 = 0x1
```
Steps to reproduce:
1. ```wget http://cdn.netbsd.org/pub/NetBSD/iso/9.3/NetBSD-9.3-mac68k.iso```
2. Pull kernel out of the installation CD:
```
sudo mount -r -t iso9660 -o loop /home/bruno/vms/os-install-media/NetBSD-9.3-mac68k.iso /mnt
cp /mnt/mac68k/binary/kernel/netbsd-GENERIC.gz .
sudo umount /mnt
chmod u+w netbsd-GENERIC.gz
gunzip netbsd-GENERIC.gz
```
3. ```qemu-img create -f qcow2 netbsd93.qcow2 10G```
4. ```qemu-system-m68k -m 256 -drive file=netbsd93.qcow2,format=qcow2,index=0 -nographic -kernel netbsd-GENERIC -cdrom NetBSD-9.3-mac68k.iso```

It crashes like this:
```
qemu: fatal: Unimplemented control register write 0x0 = 0x1

D0 = 00000001   A0 = 00000000   F0 = 7fff ffffffffffffffff  (         nan)
D1 = 00000000   A1 = 00000000   F1 = 7fff ffffffffffffffff  (         nan)
D2 = 00000000   A2 = 00000000   F2 = 7fff ffffffffffffffff  (         nan)
D3 = 00000000   A3 = 00000000   F3 = 7fff ffffffffffffffff  (         nan)
D4 = 00000000   A4 = 00000000   F4 = 7fff ffffffffffffffff  (         nan)
D5 = 00000000   A5 = 00000000   F5 = 7fff ffffffffffffffff  (         nan)
D6 = 00000000   A6 = 00000000   F6 = 7fff ffffffffffffffff  (         nan)
D7 = 00000000   A7 = 00330346   F7 = 7fff ffffffffffffffff  (         nan)
PC = 00002e14   SR = 2700 T:0 I:7 SI -----
FPSR = 00000000 ----
                                FPCR =     0000 X RN
  A7(MSP) = 00000000 ->A7(USP) = 00330346   A7(ISP) = 00000000
VBR = 0x00000000
SFC = 0 DFC 0
SSW 00000000 TCR 00000000 URP 00000000 SRP 00000000
DTTR0/1: 00000000/00000000 ITTR0/1: 00000000/00000000
MMUSR 00000000, fault at 00000000
Aborted (core dumped)
```
Additional information: