<div dir="ltr">I have got something,<div style>after change the "DEBUG" to "1" in sysvinit/src/init.h, the pause between and after INIT: version 2.88 booting missed.</div><div style>add -i to the /sbin/agetty line in /etc/inittab, I got the login prompt, (it mean do not display issue).</div>
<div style>but, but, what's the problem.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jan 13, 2013 at 4:29 PM, Yi Qingliang <span dir="ltr"><<a href="mailto:niqingliang2003@gmail.com" target="_blank">niqingliang2003@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">can you give some suggestions?<br>
I have struggled on it for 4days with a big headache.:(<br>
<div class="HOEnZb"><div class="h5"><br>
On Sunday, January 13, 2013 07:29:52 PM Yi Qingliang wrote:<br>
> I have compiled a core-image-minimal running on my s3c2442 board.<br>
> both the kernel and barebox are compiled based on mini2440.<br>
><br>
> the fs is ubifs.<br>
><br>
> after set rtc, stop several seconds.<br>
> and the continue mount rootfs.<br>
> when execute sysvinit,<br>
> after print "INIT:", stop long time, and then print " version 2.88 booting".<br>
> stop long time, print a newline.<br>
> stop long time, continue.<br>
> and finally, no shell prompt occur.<br>
><br>
> I have checked sysvinit code, the "INIT:" and "version 2.88 booting" are<br>
> only continuous print, it should not pause between them.<br>
><br>
> I have changed ubifs to cramfs, no luck.<br>
> and if I uncheck the s3c nand debug option in kernel configuration,<br>
> I can get shell prompt, and login the system, and only that, the boot time<br>
> no change.<br>
><br>
> is there someone can help me?<br>
><br>
><br>
><br>
> =====================ATTACHE FILE=================<br>
><br>
><br>
> the serial output is:<br>
><br>
> booting kernel from /dev/<a href="http://nand0.kernel.bb" target="_blank">nand0.kernel.bb</a><br>
> commandline: console=ttySAC0,115200 mini2440=0tbc LANG=en_US.UTF-8 ip=dhcp<br>
> root=ubi0:arm9plf-rootfs ubi.mtd=3 rootfstype=ubifs noinit<br>
> rd mtdparts=nand:768k(barebox),256k(bareboxenv),5M(kernel),-(fs)<br>
> arch_number: 1999<br>
> Uncompressing Linux... done, booting the kernel.<br>
> Booting Linux on physical CPU 0<br>
> Linux version 3.7.2 (ll@ll-pc) (gcc version 4.7.2 (GCC) ) #23 Sun Jan 13<br>
> 19:14:52 CST 2013<br>
> CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177<br>
> CPU: VIVT data cache, VIVT instruction cache<br>
> Machine: NJJL2442<br>
> Memory policy: ECC disabled, Data cache writeback<br>
> CPU S3C2442B (id 0x32440aab)<br>
> S3C24XX Clocks, Copyright 2004 Simtec Electronics<br>
> S3C244X: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz<br>
> CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on<br>
> Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256<br>
> Kernel command line: console=ttySAC0,115200 mini2440=0tbc LANG=en_US.UTF-8<br>
> ip=dhcp root=ubi0:arm9plf-rootfs ubi.mtd=3 rootfstype=ubif<br>
> s noinitrd mtdparts=nand:768k(barebox),256k(bareboxenv),5M(kernel),-(fs)<br>
> PID hash table entries: 256 (order: -2, 1024 bytes)<br>
> Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)<br>
> Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)<br>
> Memory: 64MB = 64MB total<br>
> Memory: 60440k/60440k available, 5096k reserved, 0K highmem<br>
> Virtual kernel memory layout:<br>
> vector : 0xffff0000 - 0xffff1000 ( 4 kB)<br>
> fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)<br>
> vmalloc : 0xc4800000 - 0xff000000 ( 936 MB)<br>
> lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)<br>
> modules : 0xbf000000 - 0xc0000000 ( 16 MB)<br>
> .text : 0xc0008000 - 0xc03f57dc (4022 kB)<br>
> .init : 0xc03f6000 - 0xc04170dc ( 133 kB)<br>
> .data : 0xc0418000 - 0xc043d720 ( 150 kB)<br>
> .bss : 0xc043d744 - 0xc046299c ( 149 kB)<br>
> NR_IRQS:85<br>
> irq: clearing subpending status 00000002<br>
> sched_clock: 32 bits at 200 Hz, resolution 5000000ns, wraps every<br>
> 4294967291ms Console: colour dummy device 80x30<br>
> Calibrating delay loop... 201.52 BogoMIPS (lpj=503808)<br>
> pid_max: default: 32768 minimum: 301<br>
> Mount-cache hash table entries: 512<br>
> CPU: Testing write buffer coherency: ok<br>
> Setting up static identity map for 0x3030ab68 - 0x3030abc0<br>
> devtmpfs: initialized<br>
> NET: Registered protocol family 16<br>
> DMA: preallocated 256 KiB pool for atomic coherent allocations<br>
> MINI2440: Option string mini2440=0tbc<br>
> MINI2440: 't' ignored, touchscreen not compiled in<br>
> MINI2440: LCD [0:240x320] 1:800x480 2:1024x768 3:320x240<br>
> S3C2442: Initialising architecture<br>
> S3C24XX DMA Driver, Copyright 2003-2006 Simtec Electronics<br>
> DMA channel 0 at c4846000, irq 33<br>
> DMA channel 1 at c4846040, irq 34<br>
> DMA channel 2 at c4846080, irq 35<br>
> DMA channel 3 at c48460c0, irq 36<br>
> S3C244X: Clock Support, DVS off<br>
> bio: create slab <bio-0> at 0<br>
> SCSI subsystem initialized<br>
> usbcore: registered new interface driver usbfs<br>
> usbcore: registered new interface driver hub<br>
> usbcore: registered new device driver usb<br>
> NET: Registered protocol family 2<br>
> TCP established hash table entries: 2048 (order: 2, 16384 bytes)<br>
> TCP bind hash table entries: 2048 (order: 1, 8192 bytes)<br>
> TCP: Hash tables configured (established 2048 bind 2048)<br>
> TCP: reno registered<br>
> UDP hash table entries: 256 (order: 0, 4096 bytes)<br>
> UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)<br>
> NET: Registered protocol family 1<br>
> NetWinder Floating Point Emulator V0.97 (extended precision)<br>
> NTFS driver 2.1.30 [Flags: R/O].<br>
> fuse init (API version 7.20)<br>
> msgmni has been set to 118<br>
> io scheduler noop registered<br>
> io scheduler deadline registered<br>
> io scheduler cfq registered (default)<br>
> Console: switching to colour frame buffer device 30x40<br>
> s3c2410-lcd s3c2410-lcd: fb0: s3c2410fb frame buffer device<br>
> s3c2440-uart.0: ttySAC0 at MMIO 0x50000000 (irq = 70) is a S3C2440<br>
> console [ttySAC0] enabled<br>
> s3c2440-uart.1: ttySAC1 at MMIO 0x50004000 (irq = 73) is a S3C2440<br>
> s3c2440-uart.2: ttySAC2 at MMIO 0x50008000 (irq = 76) is a S3C2440<br>
> brd: module loaded<br>
> loop: module loaded<br>
> s3c24xx-nand s3c2440-nand: Tacls=1, 9ns Twrph0=3 29ns, Twrph1=2 19ns<br>
> s3c24xx-nand s3c2440-nand: NAND hardware ECC<br>
> NAND device: Manufacturer ID: 0xec, Chip ID: 0xa1 (Samsung NAND 128MiB 1,8V<br>
> 8- bit), page size: 2048, OOB size: 64<br>
> Scanning device for bad blocks<br>
> 4 cmdlinepart partitions found on MTD device nand<br>
> Creating 4 MTD partitions on "nand":<br>
> 0x000000000000-0x0000000c0000 : "barebox"<br>
> 0x0000000c0000-0x000000100000 : "bareboxenv"<br>
> 0x000000100000-0x000000600000 : "kernel"<br>
> 0x000000600000-0x000008000000 : "fs"<br>
> ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver<br>
> mousedev: PS/2 mouse device common for all mice<br>
> s3c-rtc s3c2410-rtc: rtc disabled, re-enabling<br>
> s3c-rtc s3c2410-rtc: rtc core: registered s3c as rtc0<br>
> s3c-rtc s3c2410-rtc: warning: invalid RTC value so initializing it<br>
> i2c /dev entries driver<br>
> sdhci: Secure Digital Host Controller Interface driver<br>
> sdhci: Copyright(c) Pierre Ossman<br>
> usbcore: registered new interface driver usbhid<br>
> usbhid: USB HID core driver<br>
> TCP: cubic registered<br>
> NET: Registered protocol family 17<br>
> UBI: attaching mtd3 to ubi0<br>
> UBI: scanning is finished<br>
> UBI warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB<br>
> handling, reserved 9, need 20<br>
> UBI: attached mtd3 (name "fs", size 122 MiB) to ubi0<br>
> UBI: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes<br>
> UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512<br>
> UBI: VID header offset: 512 (aligned 512), data offset: 2048<br>
> UBI: good PEBs: 976, bad PEBs: 0, corrupted PEBs: 0<br>
> UBI: user volume: 1, internal volumes: 1, max. volumes count: 128<br>
> UBI: max/mean erase counter: 4/1, WL threshold: 4096, image sequence number:<br>
> 0 UBI: available PEBs: 0, total reserved PEBs: 976, PEBs reserved for bad<br>
> PEB handling: 9<br>
> UBI: background thread "ubi_bgt0d" started, PID 883<br>
> s3c-rtc s3c2410-rtc: setting system clock to 2000-01-01 00:00:00 UTC<br>
> (946684800)<br>
><br>
> <<<<<<<<<<<<<<<<<<< stop some time <<<<<<<<<<<<<<<br>
><br>
> UBIFS: background thread "ubifs_bgt0_0" started, PID 886<br>
> UBIFS: recovery needed<br>
> UBIFS: recovery completed<br>
> UBIFS: mounted UBI device 0, volume 0, name "arm9plf-rootfs"(null)<br>
> UBIFS: LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048<br>
> bytes/2048 bytes<br>
> UBIFS: FS size: 8773632 bytes (8 MiB, 68 LEBs), journal size 1548288 bytes<br>
> (1 MiB, 12 LEBs)<br>
> UBIFS: reserved for root: 0 bytes (0 KiB)<br>
> UBIFS: media format: w4/r0 (latest is w4/r0), UUID 0D0C24B9-21D9-4769-<br>
> B340-93B91C783DC3, small LPT model<br>
> VFS: Mounted root (ubifs filesystem) on device 0:10.<br>
> devtmpfs: mounted<br>
> Freeing init memory: 132K<br>
> INIT:<br>
> <<<<<<<<<<<<<<<<<<< pause long time <<<<<<<<<<<<<<<br>
> version 2.88 booting<br>
> <<<<<<<<<<<<<<<<<<< pause long time <<<<<<<<<<<<<<<br>
><br>
> INIT: Running /etc/rcS.d/S02banner.sh start...<br>
> INIT: Running /etc/rcS.d/S02sysfs.sh start...<br>
> INIT: Running /etc/rcS.d/S03udev start...<br>
> Starting udev<br>
> udevd[904]: starting version 182<br>
> INIT: Running /etc/rcS.d/S04modutils.sh start...<br>
> INIT: Running /etc/rcS.d/S06alignment.sh start...<br>
> INIT: Running /etc/rcS.d/S07bootlogd start...<br>
> Starting Bootlog daemon: bootlogd.<br>
> INIT: Running /etc/rcS.d/S10checkroot.sh start...<br>
> Activating swap<br>
> INIT: Running /etc/rcS.d/S35mountall.sh start...<br>
> Mounting local filesystems...<br>
> INIT: Running /etc/rcS.d/S37populate-volatile.sh start...<br>
> Populating volatile Filesystems.<br>
> INIT: Running /etc/rcS.d/S38devpts.sh start...<br>
> INIT: Running /etc/rcS.d/S39hostname.sh start...<br>
> INIT: Running /etc/rcS.d/S40networking start...<br>
> Configuring network interfaces... ifconfig: SIOCGIFFLAGS: No such device<br>
> INIT: Running /etc/rcS.d/S45mountnfs.sh start...<br>
> INIT: Running /etc/rcS.d/S55bootmisc.sh start...<br>
> System time was Sat Jan 1 00:01:54 UTC 2000.<br>
> Setting the System Clock using the Hardware Clock as reference...<br>
> System Clock set. System local time is now Sat Jan 1 00:01:54 UTC 2000.<br>
> Sun Jan 13 10:42:00 UTC 2013<br>
> Saving the System Clock time to the Hardware Clock...<br>
> Hardware Clock updated to Sun Jan 13 10:42:00 UTC 2013.<br>
> INIT: Entering runlevel: 5<br>
> INIT: Running /etc/rc5.d/S20hwclock.sh start...<br>
> System time was Sun Jan 13 10:42:00 UTC 2013.<br>
> Setting the System Clock using the Hardware Clock as reference...<br>
> System Clock set. System local time is now Sun Jan 13 10:42:00 UTC 2013.<br>
> INIT: Running /etc/rc5.d/S20syslog start...<br>
> Starting syslogd/klogd: done<br>
> INIT: Running /etc/rc5.d/S99rmnologin.sh start...<br>
> INIT: Running /etc/rc5.d/S99stop-bootlogd start...<br>
> Stopping Bootlog daemon: bootlogd.<br>
><br>
> PANGU (Built by optimus 1.0) 1.3+snapshot-20130113 arm9plf ttySAC0<br>
><br>
> <<<<<<<<<<<<<<<< no shell prompt <<<<<<<<<<<<<<<<<<br>
</div></div></blockquote></div><br></div>