Linux version 3.19.0 (landley@halfbrick) (gcc version 4.2.1) #1 Wed Apr 29 12:54:19 CDT 2015 e820: BIOS-provided physical RAM map: BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved BIOS-e820: [mem 0x0000000000100000-0x0000000007fdffff] usable BIOS-e820: [mem 0x0000000007fe0000-0x0000000007ffffff] reserved BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved Notice: NX (Execute Disable) protection missing in CPU! SMBIOS 2.8 present. e820: last_pfn = 0x7fe0 max_arch_pfn = 0x100000 init_memory_mapping: [mem 0x00000000-0x000fffff] init_memory_mapping: [mem 0x07800000-0x07bfffff] init_memory_mapping: [mem 0x00100000-0x077fffff] init_memory_mapping: [mem 0x07c00000-0x07fdffff] RAMDISK: [mem 0x07f87000-0x07fdffff] ACPI: Early table checksum verification disabled ACPI: RSDP 0x000F0CA0 000014 (v00 BOCHS ) ACPI: RSDT 0x07FE1853 000034 (v01 BOCHS BXPCRSDT 00000001 BXPC 00000001) ACPI: FACP 0x07FE0E48 000074 (v01 BOCHS BXPCFACP 00000001 BXPC 00000001) ACPI: DSDT 0x07FE0040 000E08 (v01 BOCHS BXPCDSDT 00000001 BXPC 00000001) ACPI: FACS 0x07FE0000 000040 ACPI: SSDT 0x07FE0EBC 0008E7 (v01 BOCHS BXPCSSDT 00000001 BXPC 00000001) ACPI: APIC 0x07FE17A3 000078 (v01 BOCHS BXPCAPIC 00000001 BXPC 00000001) ACPI: HPET 0x07FE181B 000038 (v01 BOCHS BXPCHPET 00000001 BXPC 00000001) 0MB HIGHMEM available. 127MB LOWMEM available. mapped low ram: 0 - 07fe0000 low ram: 0 - 07fe0000 Zone ranges: DMA [mem 0x00001000-0x00ffffff] Normal [mem 0x01000000-0x07fdffff] HighMem empty Movable zone start for each node Early memory node ranges node 0: [mem 0x00001000-0x0009efff] node 0: [mem 0x00100000-0x07fdffff] Initmem setup node 0 [mem 0x00001000-0x07fdffff] ACPI: PM-Timer IO Port: 0x608 e820: [mem 0x08000000-0xfffbffff] available for PCI devices Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32382 Kernel command line: panic=1 console=ttyS0 HOST=i486 PID hash table entries: 512 (order: -1, 2048 bytes) Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Initializing CPU#0 Initializing HighMem for node 0 (00000000:00000000) Memory: 125344K/130552K available (2195K kernel code, 204K rwdata, 676K rodata, 220K init, 252K bss, 5208K reserved, 0K cma-reserved, 0K highmem) virtual kernel memory layout: fixmap : 0xfffe4000 - 0xfffff000 ( 108 kB) pkmap : 0xff800000 - 0xffc00000 (4096 kB) vmalloc : 0xc87e0000 - 0xff7fe000 ( 880 MB) lowmem : 0xc0000000 - 0xc7fe0000 ( 127 MB) .init : 0xc1304000 - 0xc133b000 ( 220 kB) .data : 0xc1225258 - 0xc1302190 ( 883 kB) .text : 0xc1000000 - 0xc1225258 (2196 kB) Checking if this processor honours the WP bit even in supervisor mode...Ok. SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:16 nr_irqs:16 16 Console: colour VGA+ 80x25 console [ttyS0] enabled Calibrating delay loop... 30.56 BogoMIPS (lpj=61120) pid_max: default: 32768 minimum: 301 ACPI: Core revision 20141107 ACPI: All ACPI Tables successfully acquired ACPI: setting ELCR to 0200 (from 0c00) Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0 Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0 CPU: Intel 486 DX/4 (fam: 04, model: 08, stepping: 00) Performance Events: no PMU driver, software events only. devtmpfs: initialized NET: Registered protocol family 16 ACPI: bus type PCI registered PCI: PCI BIOS revision 2.10 entry at 0xfd456, last bus=0 PCI: Using configuration type 1 for base access ACPI: Added _OSI(Module Device) ACPI: Added _OSI(Processor Device) ACPI: Added _OSI(3.0 _SCP Extensions) ACPI: Added _OSI(Processor Aggregator Device) ACPI: SCI (ACPI GSI 9) not registered ACPI: Interpreter enabled ACPI: (supports S0 S5) ACPI: Using PIC for interrupt routing PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) acpi PNP0A03:00: _OSC: OS supports [Segments] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge. PCI host bridge to bus 0000:00 pci_bus 0000:00: root bus resource [bus 00-ff] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7] pci_bus 0000:00: root bus resource [io 0x0d00-0xadff] pci_bus 0000:00: root bus resource [io 0xae0f-0xaeff] pci_bus 0000:00: root bus resource [io 0xaf20-0xafdf] pci_bus 0000:00: root bus resource [io 0xafe4-0xffff] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff] pci_bus 0000:00: root bus resource [mem 0x08000000-0xfebfffff] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io 0x03f6] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io 0x0376] pci 0000:00:01.3: quirk: [io 0x0600-0x063f] claimed by PIIX4 ACPI pci 0000:00:01.3: quirk: [io 0x0700-0x070f] claimed by PIIX4 SMB ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11) ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11) ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11) ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11) ACPI: PCI Interrupt Link [LNKS] (IRQs *9) ACPI: Enabled 16 GPEs in block 00 to 0F vgaarb: setting as boot device: PCI:0000:00:02.0 vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none vgaarb: loaded vgaarb: bridge control possible 0000:00:02.0 SCSI subsystem initialized PCI: Using ACPI for IRQ routing Switched to clocksource pit pnp: PnP ACPI init pnp: PnP ACPI: found 6 devices Switched to clocksource acpi_pm NET: Registered protocol family 2 TCP established hash table entries: 1024 (order: 0, 4096 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 1024 bind 1024) TCP: reno registered UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 pci 0000:00:00.0: Limiting direct PCI/PCI transfers pci 0000:00:01.0: PIIX3: Enabling Passive Release pci 0000:00:01.0: Activating ISA DMA hang workarounds Unpacking initramfs... Freeing initrd memory: 356K (c7f87000 - c7fe0000) futex hash table entries: 256 (order: -1, 3072 bytes) squashfs: version 4.0 (2009/01/31) Phillip Lougher 9p: Installing v9fs 9p2000 file system support io scheduler noop registered (default) Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A loop: module loaded Uniform Multi-Platform E-IDE driver piix 0000:00:01.1: IDE controller (0x8086:0x7010 rev 0x00) piix 0000:00:01.1: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xc040-0xc047 ide1: BM-DMA at 0xc048-0xc04f hdc: QEMU DVD-ROM, ATAPI CD/DVD-ROM drive hdc: MWDMA2 mode selected ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 ide-gd driver 1.18 ide-cd driver 5.00 ide-cd: hdc: ATAPI 4X DVD-ROM drive, 512kB Cache cdrom: Uniform CD-ROM driver Revision: 3.20 e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI e1000: Copyright (c) 1999-2006 Intel Corporation. ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11 e1000 0000:00:03.0 eth0: (PCI:33MHz:32-bit) 52:54:00:12:34:56 e1000 0000:00:03.0 eth0: Intel(R) PRO/1000 Network Connection TCP: cubic registered NET: Registered protocol family 17 9pnet: Installing 9P2000 support drivers/rtc/hctosys.c: unable to open rtc device (rtc0) Freeing unused kernel memory: 220K (c1304000 - c133b000) mount: '/dev/hdc'->'/mnt': No medium found Type exit when done. (i486:1) / #  (i486:1) / # gcc -s /usr/src/thread-hello2.c -lpthread -o /tmp/hello /bin/ash: gcc: not found (i486:1) / # /tmp/hello /bin/ash: /tmp/hello: not found (i486:1) / # exit reboot: Restarting system reboot: machine restart