Linux version 3.11.0 (landley@driftwood) (collect2: ld returned 1 exit status) #1 Thu Sep 12 06:28:51 CDT 2013 bootconsole [early0] enabled CPU 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: 00390000 @ 000f0000 (reserved) memory: 07b80000 @ 00480000 (usable) Wasting 36864 bytes for tracking 1152 unused pages 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] 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: root=/dev/hda rw init=/sbin/init.sh panic=1 PATH=/bin:/sbin 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: 125296K/131072K available (2629K kernel code, 163K rwdata, 444K rodata, 144K init, 189K bss, 5776K reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:256 CPU frequency 400.00 MHz Console: colour dummy device 80x25 Calibrating delay loop... 1551.36 BogoMIPS (lpj=3102720) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 devtmpfs: initialized NET: Registered protocol family 16 bio: create slab at 0 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 0x2000-0x1fffff] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] pci 0000:00:0a.3: no compatible bridge window for [io 0x1100-0x110f] vgaarb: device added: PCI:0000:00:12.0,decodes=io+mem,owns=none,locks=none pci 0000:00:0a.3: BAR 8: [io 0x1100-0x110f] has bogus alignment 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 0x2000-0x201f] pci 0000:00:0b.0: BAR 0: assigned [io 0x2020-0x203f] pci 0000:00:0b.0: BAR 1: assigned [mem 0x12051000-0x1205101f] pci 0000:00:0a.1: BAR 4: assigned [io 0x2040-0x204f] Switched to clocksource pit NET: Registered protocol family 2 TCP established hash table entries: 1024 (order: 1, 8192 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) squashfs: version 4.0 (2009/01/31) Phillip Lougher 9p: Installing v9fs 9p2000 file system support msgmni has been set to 244 io scheduler noop registered (default) Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled serial8250.0: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A console [ttyS0] enabled, bootconsole disabled console [ttyS0] enabled, bootconsole disabled serial8250.0: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A serial8250.0: ttyS2 at MMIO 0x1f000900 (irq = 20) 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 0x2040-0x2047 ide1: BM-DMA at 0x2048-0x204f hda: QEMU HARDDISK, ATA DISK drive hda: UDMA/33 mode selected 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 hda: max request size: 512KiB hda: 64032 sectors (32 MB) w/256KiB Cache, CHS=63/255/63 hda: cache flushes supported hda: unknown partition table 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 0x2020, 52:54:00:12:34:56 assigned IRQ 10 pcnet32: eth0: registered as PCnet/PCI II 79C970A pcnet32: 1 cards_found mousedev: PS/2 mouse device common for all mice TCP: cubic registered NET: Registered protocol family 17 9pnet: Installing 9P2000 support drivers/rtc/hctosys.c: unable to open rtc device (rtc0) VFS: Mounted root (squashfs filesystem) readonly on device 3:0. Freeing YAMON memory: 956k freed Freeing unused kernel memory: 144K (8042c000 - 80450000) pcnet32 0000:00:0b.0 eth0: link up mount: mounting /dev/hdc on /mnt failed: No medium found Not using distcc. Type exit when done. (mipsel:1) /home # df Filesystem 1K-blocks Used Available Use% Mounted on /home 63196 0 63196 0% /home /tmp 63196 0 63196 0% /tmp dev 62648 0 62648 0% /dev /dev/root 32128 32128 0 100% / (mipsel:1) /home # gcc -s /usr/src/thread-hello2.c -lpthread -o /tmp/hello /tmp/hello (mipsel:1) /home # /tmp/hello Hello world! (mipsel:1) /home # exit reboot: Restarting system