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