Project

General

Profile

Expected output of makebootdisk.sh

If not disabling console output to the serial port:

Copying ./examples/shell to scratch partition...
Copying ./examples/ls to scratch partition...
Copying ./examples/halt to scratch partition...
Copying ./examples/echo to scratch partition...
Copying ./examples/cat to scratch partition...
Copying ./examples/insult to scratch partition...
Copying ./examples/shell.c to scratch partition...
qemu -hda usbdisk.img -m 4 -net none -nographic -monitor null
PiLo hda2
Loading...........................................................
Kernel command line: -q -f extract
Pintos booting with 4,096 kB RAM...
383 pages available in kernel pool.
383 pages available in user pool.
PCI: 8192 pages for 0:2.0 failed - may not work
PCI Device 0:0.0 (8086,1237): Intel - 82441FX (PCI Host) IRQ 0
PCI Device 0:1.0 (8086,7000): Intel - 82371SB_ISA (PCI-ISA Bridge) IRQ 0
PCI Device 0:1.1 (8086,7010): Intel - 82371SB_IDE (Unknown Type) IRQ 0
PCI Device 0:1.3 (8086,7113): Intel - 82371AB/EB/MB_ACPI (Unknown Type) IRQ 9
PCI Device 0:2.0 (1013,b8): Cirrus Logic - CL-GD5446 (VGA Controller) IRQ 0
Calibrating timer...  1,676,083,200 loops/s.
Initializing EHCI
Initializing UHCI
hda: 11,088 sectors (5 MB), model "QM00001", serial "QEMU HARDDISK" 
hda1: 945 sectors (472 kB), Pintos OS kernel (20)
hda2: 9,072 sectors (4 MB), Pintos file system (21)
hda3: 1,008 sectors (504 kB), Pintos scratch (22)
filesys: using hda2
scratch: using hda3
Formatting file system...done.
Boot complete.
Extracting ustar archive from hda3 into file system...
Putting 'shell' into the file system...
Putting 'ls' into the file system...
Putting 'halt' into the file system...
Putting 'echo' into the file system...
Putting 'cat' into the file system...
Putting 'insult' into the file system...
Putting 'shell.c' into the file system...
Erasing ustar archive...
Timer: 154 ticks
Thread: 0 idle ticks, 156 kernel ticks, 0 user ticks
hda2 (filesys): 224 reads, 1116 writes
hda3 (scratch): 532 reads, 2 writes
Console: 1438 characters output
Keyboard: 0 keys pressed
Exception: 0 page faults
Powering off...

If disabling output to the serial port:

Copying ./examples/shell to scratch partition...
Copying ./examples/ls to scratch partition...
Copying ./examples/halt to scratch partition...
Copying ./examples/echo to scratch partition...
Copying ./examples/cat to scratch partition...
Copying ./examples/insult to scratch partition...
Copying ./examples/shell.c to scratch partition...
qemu -hda usbdisk.img -m 4 -net none -nographic -monitor null
PiLo hda2
Loading...........................................................