Hi, guys, I ported my mips-based machine into qemu. But the poky linux can not login when startup in qemu. here are the command and startup log:
./qemu-system-mipsel -M mavrix -kernel ../../kernel/vmlinux -hda ~/rootfs_poky.ext2 -append "root=/dev/hda rootfstype=ext2 console=ttyS0" -serial stdio Linux version 2.6.29.4aprp-00266-gb9384c0-dirty (daniel.t...@gnashe) (gcc version 4.3.2 (Sourcery G++ Lite 4.3-51) ) #141 Tue May 11 15:20:26 CST 2010 LINUX started... console [early0] enabled CPU revision is: 00019300 (MIPS 24Kc) FPU revision is: 00739300 registering PCI controller with io_map_base unset Software DMA cache coherency Determined physical RAM map: memory: 00001000 @ 00000000 (reserved) memory: 000ef000 @ 00001000 (ROM data) memory: 00524000 @ 000f0000 (reserved) memory: 079ec000 @ 00614000 (usable) Wasting 49792 bytes for tracking 1556 unused pages Initrd not found or empty - disabling initrd Zone PFN ranges: DMA 0x00000000 -> 0x00001000 Normal 0x00001000 -> 0x00008000 Movable zone start PFN for each node early_node_map[1] active PFN ranges 0: 0x00000000 -> 0x00008000 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 Kernel command line: root=/dev/hda rootfstype=ext2 console=ttyS0 Primary instruction cache 2kB, VIPT, 2-way, linesize 16 bytes. Primary data cache 2kB, 2-way, VIPT, no aliases, linesize 16 bytes Writing ErrCtl register=00000000 Readback ErrCtl register=00000000 PID hash table entries: 512 (order: 9, 2048 bytes) CPU frequency 200.00 MHz Console: colour dummy device 80x25 Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 123540k/124848k available (3543k kernel code, 1132k reserved, 921k data, 196k init, 0k highmem) Calibrating delay loop... 450.56 BogoMIPS (lpj=2252800) Mount-cache hash table entries: 512 net_namespace: 720 bytes NET: Registered protocol family 16 bio: create slab <bio-0> at 0 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb pci 0000:00:0a.3: quirk: region 1100-110f claimed by PIIX4 SMB NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered NET: Registered protocol family 1 VPE loader: not a MIPS MT capable processor VPE loader: not a MIPS MT capable processor audit: initializing netlink socket (disabled) type=2000 audit(1273562435.716:1): initialized ashmem: initialized VFS: Disk quotas dquot_6.5.2 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) msgmni has been set to 241 alg: No test for stdrng (krng) io scheduler noop registered io scheduler anticipatory registered (default) io scheduler deadline registered io scheduler cfq registered Entering probe function. begin to register framebuffer. Console: switching to mono frame buffer device 80x30 register framebuffer successfully. [drm] Initialized drm 1.1.0 20060810 Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled serial8250.0: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A console handover: boot [early0] -> real [ttyS0] serial8250.0: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A serial8250.0: ttyS2 at MMIO 0x1f000900 (irq = 18) is a 16550A brd: module loaded pmem_init start pcnet32.c:v1.35 21.Apr.2008 tsbog...@alpha.franken.de pcnet32: PCnet/PCI II 79C970A at 0x1020, 52:54:00:12:34:56 assigned IRQ 10. eth0: registered as PCnet/PCI II 79C970A pcnet32: 1 cards_found. 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 0x1040-0x1047 ide1: BM-DMA at 0x1048-0x104f 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_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports ide-gd driver 1.18 hda: max request size: 512KiB hda: 524288 sectors (268 MB) w/256KiB Cache, CHS=520/255/63 hda: cache flushes supported hda: unknown partition table ide-cd driver 5.00 ide-cd: hdc: ATAPI 4X CD-ROM drive, 512kB Cache Uniform CD-ROM driver Revision: 3.20 osst :I: Tape driver with OnStream support version 0.99.4 osst :I: $Id: osst.c,v 1.73 2005/01/01 21:13:34 wriede Exp $ Driver 'osst' needs updating - please use bus_type methods Driver 'sd' needs updating - please use bus_type methods Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. usbcore: registered new interface driver cypress_cy7c63 usbcore: registered new interface driver cytherm cytherm: v1.0:Cypress USB Thermometer driver serio: i8042 KBD port at 0x60,0x64 irq 1 serio: i8042 AUX port at 0x60,0x64 irq 12 mice: PS/2 mouse device common for all mice usbcore: registered new interface driver usbhid usbhid: v2.6:USB HID core driver logger: created 64K log 'log_main' logger: created 256K log 'log_events' logger: created 64K log 'log_radio' Advanced Linux Sound Architecture Driver Version 1.0.18a. ALSA device list: No soundcards found. TCP cubic registered NET: Registered protocol family 17 NET: Registered protocol family 15 input: AT Raw Set 2 keyboard as /class/input/input0 RPC: Registered udp transport module. RPC: Registered tcp transport module. input: ImExPS/2 Generic Explorer Mouse as /class/input/input1 VFS: Mounted root (ext2 filesystem) readonly on device 3:0. Freeing prom memory: 956k freed Freeing unused kernel memory: 196k freed INIT: version 2.86 booting Starting udevtar: can't open '/etc/dev.tar': Read-only file system EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended Configuring network interfaces... done. Starting portmap daemon... Segmentation fault hwclock: can't open '/dev/misc/rtc': No such file or directory INIT: Entering runlevel: 5 Starting system message bus: dbus. Starting Hardware abstraction layer hald Starting Dropbear SSH server: dropbear. Starting syslogd/klogd: start-stop-daemon: lseek: Invalid argument modprobe: FATAL: Could not open 'kernel/net/ipv6/ipv6.ko': No such file or directory * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon modprobe: FATAL: Could not open 'kernel/net/ipv6/ipv6.ko': No such file or directory * [fail] Starting NetworkManager daemon: NetworkManager. NetworkManager: <info> starting... OpenedHand Linux (Poky) 3.2+snapshot-20100127 mv8100 /dev/ttyS0 mv8100 login: NetworkManager: nm_device_802_3_ethernet_new: assertion `driver != NULL' failed root login[1792]: root login on `ttyS0' and a qemu graphics picture is attached in this mail. I don't know why the startup is block in graphic mode. and the login is ok when running in -nographic mode. Can you guys give me come advice? Thanks very much.
<<attachment: poky-log.jpg>>