Add 'keep_earlycon' can work around this.

On Friday, June 12, 2015, Robin Lee <robinlee.s...@gmail.com> wrote:
> Hi, everybody!
>
> I recently try to run qemu to emulate a loongson platform. But linux boot
hanged, the final message was 'bootconsole [early0] disabled'.
> Any instruction or suggestion for me to solve this problem?
>
> Versions:
> Fedora 22 x86_64
> Linux 4.0.4, compile with fuloong2e_defconfig
> GCC 5.1.1
> qemu 2.3.0, using qemu-system-mips64el
>
> How to run:
> qemu-system-mips64el -machine fulong2e -kernel
~/Programming/linux-stable/vmlinux -append 'rw root=/dev/sda1 console=ttyS0
cgroup_disable=memory selinux=0 debug init=/bin/bash' -drive
file=fedora-22-mips64el-20150601.qcow2 -nographic -m 1G -serial stdio
-monitor pty
>
> Qemu boot output:
> Linux version 4.0.4-fuloong2e (cheese@cheese-X130e) (gcc version 5.1.1
20150422 (Red Hat Cross 5.1.1-1) (GCC) ) #9 Fri Jun 12 13:42:57 CST 2015
> memsize=256, highmemsize=0
> CpuClock = 100000000
> bootconsole [early0] enabled
> CPU0 revision is: 00006302 (ICT Loongson-2)
> FPU revision is: 00000501
> Checking for the multiply/shift bug... no.
> Checking for the daddiu bug... no.
> Determined physical RAM map:
> memory: 0000000010000000 @ 0000000000000000 (usable)
> memory: 0000000004000000 @ 0000000010000000 (reserved)
> memory: 0000000003ffffff @ 000000001c000001 (reserved)
> Zone ranges:
> Normal [mem 0x0000000000000000-0x000000000fffffff]
> Movable zone start for each node
> Early memory node ranges
> node 0: [mem 0x0000000000000000-0x000000000fffffff]
> Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
> On node 0 totalpages: 16384
> Normal zone: 56 pages used for memmap
> Normal zone: 0 pages reserved
> Normal zone: 16384 pages, LIFO batch:3
> Primary instruction cache 64kB, VIPT, direct mapped, linesize 32 bytes.
> Primary data cache 64kB, 4-way, VIPT, no aliases, linesize 32 bytes
> Unified secondary cache 512kB 4-way, linesize 32 bytes.
> pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
> pcpu-alloc: [0] 0
> Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16328
> Kernel command line: rw root=/dev/sda1 console=ttyS0
cgroup_disable=memory selinux=0 debug init=/bin/bash
> PID hash table entries: 1024 (order: -1, 8192 bytes)
> Dentry cache hash table entries: 32768 (order: 4, 262144 bytes)
> Inode-cache hash table entries: 16384 (order: 3, 131072 bytes)
> Memory: 237328K/262144K available (4078K kernel code, 365K rwdata, 1176K
rodata, 176K init, 16574K bss, 24816K reserved, 0K cma-reserved)
> NR_IRQS:128
> Console: colour dummy device 80x25
> Calibrating delay loop... 143.36 BogoMIPS (lpj=286720)
> pid_max: default: 32768 minimum: 301
> Mount-cache hash table entries: 2048 (order: 0, 16384 bytes)
> Mountpoint-cache hash table entries: 2048 (order: 0, 16384 bytes)
> Checking for the daddi bug... no.
> NET: Registered protocol family 16
> vgaarb: loaded
> SCSI subsystem initialized
> usbcore: registered new interface driver usbfs
> usbcore: registered new interface driver hub
> usbcore: registered new device driver usb
> PCI host bridge to bus 0000:00
> pci_bus 0000:00: root bus resource [mem 0x14000000-0x1c000000]
> pci_bus 0000:00: root bus resource [io 0x4000-0xffff]
> pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
> pci 0000:00:00.0: [df53:00d5] type 00 class 0x060000
> pci 0000:00:05.0: [1106:0686] type 00 class 0x060100
> via686b fix: ISA bridge
> via686b fix: ISA bridge done
> pci 0000:00:05.1: [1106:0571] type 00 class 0x01018a
> pci 0000:00:05.1: [Firmware Bug]: reg 0x10: invalid BAR (can't size)
> pci 0000:00:05.1: [Firmware Bug]: reg 0x14: invalid BAR (can't size)
> pci 0000:00:05.1: [Firmware Bug]: reg 0x18: invalid BAR (can't size)
> pci 0000:00:05.1: reg 0x1c: [mem 0x100000370-0x10000037f 64bit]
> pci 0000:00:05.1: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7]
> pci 0000:00:05.1: legacy IDE quirk: reg 0x14: [io 0x03f6]
> pci 0000:00:05.1: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177]
> pci 0000:00:05.1: legacy IDE quirk: reg 0x1c: [io 0x0376]
> via686b fix: IDE
> via686b fix: IDE done
> pci 0000:00:05.2: [1106:3038] type 00 class 0x0c0300
> pci 0000:00:05.2: reg 0x20: [io 0x0000-0x001f]
> pci 0000:00:05.3: [1106:3038] type 00 class 0x0c0300
> pci 0000:00:05.3: reg 0x20: [io 0x0000-0x001f]
> pci 0000:00:05.4: [1106:3057] type 00 class 0x068000
> pci 0000:00:05.4: quirk: [io 0xeee0-0xeeef] claimed by vt82c686 SMB
> pci 0000:00:05.5: [1106:3058] type 00 class 0x040100
> pci 0000:00:05.6: [1106:3068] type 00 class 0x078000
> pci 0000:00:07.0: [10ec:8139] type 00 class 0x020000
> pci 0000:00:07.0: reg 0x10: [io 0x0000-0x00ff]
> pci 0000:00:07.0: reg 0x14: [mem 0x00000000-0x000000ff]
> pci 0000:00:07.0: reg 0x30: [mem 0x00000000-0x0003ffff pref]
> pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
> pci 0000:00:07.0: BAR 6: assigned [mem 0x14000000-0x1403ffff pref]
> pci 0000:00:07.0: BAR 0: assigned [io 0x4000-0x40ff]
> pci 0000:00:07.0: BAR 1: assigned [mem 0x14040000-0x140400ff]
> pci 0000:00:05.2: BAR 4: assigned [io 0x4400-0x441f]
> pci 0000:00:05.3: BAR 4: assigned [io 0x4420-0x443f]
> Switched to clocksource MIPS
> NET: Registered protocol family 2
> TCP established hash table entries: 2048 (order: 0, 16384 bytes)
> TCP bind hash table entries: 2048 (order: 0, 16384 bytes)
> TCP: Hash tables configured (established 2048 bind 2048)
> TCP: reno registered
> UDP hash table entries: 512 (order: 0, 16384 bytes)
> UDP-Lite hash table entries: 512 (order: 0, 16384 bytes)
> NET: Registered protocol family 1
> PCI: Enabling device 0000:00:05.2 (0000 -> 0001)
> PCI: Enabling device 0000:00:05.3 (0000 -> 0001)
> PCI: CLS 0 bytes, default 32
> futex hash table entries: 256 (order: -2, 6144 bytes)
> fuse init (API version 7.23)
> Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
> io scheduler noop registered
> io scheduler deadline registered
> io scheduler cfq registered (default)
> Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
> rtc: SRM (post-2000) epoch (2000) detected
> Real Time Clock Driver v1.12b
> loop: module loaded
> Uniform Multi-Platform E-IDE driver
> via82cxxx 0000:00:05.1: VIA vt82c686b (rev 40) IDE UDMA100
> via82cxxx 0000:00:05.1: IDE controller (0x1106:0x0571 rev 0x06)
> via82cxxx 0000:00:05.1: not 100% native mode: will probe irqs later
> via82cxxx 0000:00:05.1: DMA base is invalid
> ide0: DMA disabled
> via82cxxx 0000:00:05.1: DMA base is invalid
> ide1: DMA disabled
> Probing IDE interface ide0...
> hda: QEMU HARDDISK, ATA DISK drive
> hda: host max PIO5 wanted PIO255(auto-tune) selected PIO4
> Probing IDE interface ide1...
> hdc: QEMU DVD-ROM, ATAPI CD/DVD-ROM drive
> hdc: host max PIO5 wanted PIO255(auto-tune) selected PIO0
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> ide_generic: please use "probe_mask=0x3f" module parameter for probing
all legacy ISA IDE ports
> ide-gd driver 1.18
> hda: max request size: 1024KiB
> hda: 83886080 sectors (42949 MB) w/256KiB Cache, CHS=16383/255/63
> hda: cache flushes supported
> hda: hda1
> ide-cd driver 5.00
> ide-cd: hdc: ATAPI 4X DVD-ROM drive, 512kB Cache
> cdrom: Uniform CD-ROM driver Revision: 3.20
> 8139too: 8139too Fast Ethernet driver 0.9.28
> 8139too 0000:00:07.0: This (id 10ec:8139 rev 20) is an enhanced 8139C+
chip, use 8139cp
> ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> ehci-pci: EHCI PCI platform driver
> ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
> ohci-pci: OHCI PCI platform driver
> usbcore: registered new interface driver cdc_acm
> cdc_acm: USB Abstract Control Model driver for USB modems and ISDN
adapters
> usbcore: registered new interface driver usblp
> usbcore: registered new interface driver usb-storage
> usbcore: registered new interface driver ums-cypress
> usbcore: registered new interface driver ums-onetouch
> serio: i8042 KBD port at 0x60,0x64 irq 1
> serio: i8042 AUX port at 0x60,0x64 irq 12
> mousedev: PS/2 mouse device common for all mice
> hidraw: raw HID events driver (C) Jiri Kosina
> usbcore: registered new interface driver usbkbd
> usbcore: registered new interface driver usbmouse
> TCP: cubic registered
> NET: Registered protocol family 17
> bootconsole [early0] disabled
>
> -robin
>
> --
> You received this message because you are subscribed to the Google Groups
"loongson-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
email to loongson-dev+unsubscr...@googlegroups.com.
> To post to this group, send email to loongson-dev@googlegroups.com.
> Visit this group at http://groups.google.com/group/loongson-dev.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"loongson-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to loongson-dev+unsubscr...@googlegroups.com.
To post to this group, send email to loongson-dev@googlegroups.com.
Visit this group at http://groups.google.com/group/loongson-dev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to