Linux version 3.19.0 (landley@halfbrick) (gcc version 4.2.1) #1 Wed Apr 29 12:55:16 CDT 2015 Early serial console at I/O port 0x3f8 (options '38400n8') bootconsole [uart0] enabled CPU0 revision is: 00019300 (MIPS 24Kc) FPU revision is: 00739300 Software DMA cache coherency enabled Determined physical RAM map: memory: 00001000 @ 00000000 (reserved) memory: 000ef000 @ 00001000 (ROM data) memory: 003e1000 @ 000f0000 (reserved) memory: 07b2f000 @ 004d1000 (usable) Wasting 39456 bytes for tracking 1233 unused pages Initial ramdisk at: 0x804e0000 (477841 bytes) Zone ranges: DMA [mem 0x00000000-0x00ffffff] Normal [mem 0x01000000-0x07ffffff] Movable zone start for each node Early memory node ranges node 0: [mem 0x00000000-0x07ffffff] Initmem setup node 0 [mem 0x00000000-0x07ffffff] Primary instruction cache 2kB, VIPT, 2-way, linesize 16 bytes. Primary data cache 2kB, 2-way, VIPT, no aliases, linesize 16 bytes Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 Kernel command line: rd_start=0xffffffff804e0000 rd_size=477841 panic=1 console=ttyS0 HOST=mipsel 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) Writing ErrCtl register=00000000 Readback ErrCtl register=00000000 Memory: 124504K/131072K available (2878K kernel code, 168K rwdata, 476K rodata, 180K init, 195K bss, 6568K reserved, 0K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:256 CPU frequency 200.00 MHz Console: colour dummy device 80x25 Calibrating delay loop... 823.29 BogoMIPS (lpj=1646592) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) devtmpfs: initialized NET: Registered protocol family 16 vgaarb: loaded SCSI subsystem initialized PCI host bridge to bus 0000:00 pci_bus 0000:00: root bus resource [mem 0x10000000-0x17ffffff] pci_bus 0000:00: root bus resource [io 0x1000-0x1fffff] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] pci 0000:00:00.0: [Firmware Bug]: reg 0x14: invalid BAR (can't size) pci 0000:00:00.0: [Firmware Bug]: reg 0x18: invalid BAR (can't size) pci 0000:00:00.0: [Firmware Bug]: reg 0x1c: invalid BAR (can't size) pci 0000:00:00.0: [Firmware Bug]: reg 0x20: invalid BAR (can't size) pci 0000:00:00.0: [Firmware Bug]: reg 0x24: invalid BAR (can't size) pci 0000:00:0a.1: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7] pci 0000:00:0a.1: legacy IDE quirk: reg 0x14: [io 0x03f6] pci 0000:00:0a.1: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177] pci 0000:00:0a.1: legacy IDE quirk: reg 0x1c: [io 0x0376] pci 0000:00:0a.3: quirk: [io 0x1000-0x103f] claimed by PIIX4 ACPI pci 0000:00:0a.3: quirk: [io 0x1100-0x110f] claimed by PIIX4 SMB vgaarb: device added: PCI:0000:00:12.0,decodes=io+mem,owns=none,locks=none pci 0000:00:12.0: BAR 0: assigned [mem 0x10000000-0x11ffffff pref] pci 0000:00:0b.0: BAR 6: assigned [mem 0x12000000-0x1203ffff pref] pci 0000:00:12.0: BAR 6: assigned [mem 0x12040000-0x1204ffff pref] pci 0000:00:12.0: BAR 1: assigned [mem 0x12050000-0x12050fff] pci 0000:00:0a.2: BAR 4: assigned [io 0x1040-0x105f] pci 0000:00:0b.0: BAR 0: assigned [io 0x1060-0x107f] pci 0000:00:0b.0: BAR 1: assigned [mem 0x12051000-0x1205101f] pci 0000:00:0a.1: BAR 4: assigned [io 0x1080-0x108f] Switched to clocksource MIPS 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: Enabling device 0000:00:0a.2 (0000 -> 0001) Unpacking initramfs... Freeing initrd memory: 464K (804e0000 - 80554000) 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 console [ttyS0] disabled serial8250.0: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A console [ttyS0] enabled console [ttyS0] enabled bootconsole [uart0] disabled bootconsole [uart0] disabled serial8250.0: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A serial8250.0: ttyS2 at MMIO 0x1f000900 (irq = 20, base_baud = 230400) is a 16550A loop: module loaded Uniform Multi-Platform E-IDE driver piix 0000:00:0a.1: IDE controller (0x8086:0x7111 rev 0x00) PCI: Enabling device 0000:00:0a.1 (0000 -> 0001) piix 0000:00:0a.1: not 100% native mode: will probe irqs later ide0: BM-DMA at 0x1080-0x1087 ide1: BM-DMA at 0x1088-0x108f hdc: QEMU DVD-ROM, ATAPI CD/DVD-ROM drive hdc: UDMA/33 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 pcnet32: pcnet32.c:v1.35 21.Apr.2008 tsbogend@alpha.franken.de PCI: Enabling device 0000:00:0b.0 (0000 -> 0003) pcnet32: PCnet/PCI II 79C970A at 0x1060, 52:54:00:12:34:56 assigned IRQ 10 pcnet32: eth0: registered as PCnet/PCI II 79C970A pcnet32: 1 cards_found TCP: cubic registered NET: Registered protocol family 17 9pnet: Installing 9P2000 support drivers/rtc/hctosys.c: unable to open rtc device (rtc0) Freeing YAMON memory: 956k freed Freeing unused kernel memory: 180K (80473000 - 804a0000) pcnet32 0000:00:0b.0 eth0: link up mount: '/dev/hdc'->'/mnt': No medium found Type exit when done. (mipsel:1) / # gcc -s /usr/src/thread-hello2.c -lpthread -o /tmp/hello /bin/ash: gcc: not found (mipsel:1) / # /tmp/hello /bin/ash: /tmp/hello: not found (mipsel:1) / # exit reboot: Restarting system