Hi Bernhard,<br><br>Try adding &quot;rootfstype=ubifs&quot; to command line -<br>Kernel command line: console=ttyS0,115200 ubi.mtd=2 root=ubi0:rootfs<br>
<br>Thanks,<br>Rahul<br><br><div class="gmail_quote">On Tue, Jul 20, 2010 at 5:28 PM, Bernhard Schuster <span dir="ltr">&lt;<a href="mailto:schuster.bernhard@googlemail.com">schuster.bernhard@googlemail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi<div><br></div><div>I finally got a running kernel compiled, flashed it successfully and got it to boot halfway. The only thing being missing is the console coming up. Here is the boot sequenz, and I think the kernel lacks a driver, but I do not understand which one is missing from that output.</div>


<div><br></div><div><div>CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977</div><div>CPU: VIVT data cache, VIVT instruction cache</div><div>Machine: Marvell GuruPlug Reference Board</div><div>Memory policy: ECC disabled, Data cache writeback</div>


<div>Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048</div><div>Kernel command line: console=ttyS0,115200 ubi.mtd=2 root=ubi0:rootfs</div><div>PID hash table entries: 2048 (order: 1, 8192 bytes)</div>


<div>Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)</div><div>Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)</div><div>Memory: 256MB 256MB = 512MB total</div><div>Memory: 512304k/512304k available, 11984k reserved, 0K highmem</div>


<div>Virtual kernel memory layout:</div><div>    vector  : 0xffff0000 - 0xffff1000   (   4 kB)</div><div>    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)</div><div>    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)</div>

<div>
    vmalloc : 0xe0800000 - 0xfe800000   ( 480 MB)</div><div>    lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)</div><div>    modules : 0xbf000000 - 0xc0000000   (  16 MB)</div><div>      .init : 0xc0008000 - 0xc0028000   ( 128 kB)</div>


<div>      .text : 0xc0028000 - 0xc0657000   (6332 kB)</div><div>      .data : 0xc0680000 - 0xc06b2ca0   ( 204 kB)</div><div>SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1</div><div>Hierarchical RCU implementation.</div>


<div>        RCU-based detection of stalled CPUs is disabled.</div><div>        Verbose stalled-CPUs detection is disabled.</div><div>NR_IRQS:114</div><div>Console: colour dummy device 80x30</div><div>Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776)</div>


<div>pid_max: default: 32768 minimum: 301</div><div>Security Framework initialized</div><div>Mount-cache hash table entries: 512</div><div>CPU: Testing write buffer coherency: ok</div><div>NET: Registered protocol family 16</div>


<div>Kirkwood: MV88F6281-A1, TCLK=200000000.</div><div>Feroceon L2: Cache support initialised.</div><div>bio: create slab &lt;bio-0&gt; at 0</div><div>vgaarb: loaded</div><div>SCSI subsystem initialized</div><div>usbcore: registered new interface driver usbfs</div>


<div>usbcore: registered new interface driver hub</div><div>usbcore: registered new device driver usb</div><div>cfg80211: Calling CRDA to update world regulatory domain</div><div>Switching to clocksource orion_clocksource</div>


<div>NET: Registered protocol family 2</div><div>IP route cache hash table entries: 4096 (order: 2, 16384 bytes)</div><div>TCP established hash table entries: 16384 (order: 5, 131072 bytes)</div><div>TCP bind hash table entries: 16384 (order: 4, 65536 bytes)</div>


<div>TCP: Hash tables configured (established 16384 bind 16384)</div><div>TCP reno registered</div><div>UDP hash table entries: 256 (order: 0, 4096 bytes)</div><div>UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)</div>


<div>NET: Registered protocol family 1</div><div>RPC: Registered udp transport module.</div><div>RPC: Registered tcp transport module.</div><div>RPC: Registered tcp NFSv4.1 backchannel transport module.</div><div>NTFS driver 2.1.29 [Flags: R/W].</div>


<div>JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.</div><div>JFS: nTxBlock = 4002, nTxLock = 32019</div><div>SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled</div><div>

Btrfs loaded</div>
<div>msgmni has been set to 1000</div><div>alg: No test for stdrng (krng)</div><div>io scheduler noop registered</div><div>io scheduler deadline registered</div><div>io scheduler cfq registered (default)</div><div>Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled</div>


<div>serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A</div><div>console [ttyS0] enabled</div><div>loop: module loaded</div><div>sata_mv sata_mv.0: version 1.28</div><div>sata_mv sata_mv.0: slots 32 ports 1</div>


<div>scsi0 : sata_mv</div><div>ata1: SATA max UDMA/133 irq 21</div><div>GPIO NAND driver, �© 2004 Simtec Electronics</div><div>NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-bit)</div><div>

Scanning device for bad blocks</div>
<div>Bad eraseblock 132 at 0x000001080000</div><div>Bad eraseblock 3241 at 0x000019520000</div><div>Bad eraseblock 3494 at 0x00001b4c0000</div><div>Bad eraseblock 3850 at 0x00001e140000</div><div>Bad eraseblock 3884 at 0x00001e580000</div>


<div>Creating 3 MTD partitions on &quot;orion_nand&quot;:</div><div>0x000000000000-0x000000100000 : &quot;u-boot&quot;</div><div>ftl_cs: FTL header not found.</div><div>0x000000100000-0x000000500000 : &quot;uImage&quot;</div>


<div>ftl_cs: FTL header not found.</div><div>0x000000500000-0x000020000000 : &quot;root&quot;</div><div>ftl_cs: FTL header not found.</div><div>MV-643xx 10/100/1000 ethernet driver version 1.4</div><div>mv643xx_eth smi: probed</div>


<div>net eth0: port 0 with MAC address 00:50:43:67:64:06</div><div>net eth1: port 0 with MAC address 00:50:43:67:64:07</div><div>libertas_sdio: Libertas SDIO driver</div><div>libertas_sdio: Copyright Pierre Ossman</div><div>


ehci_hcd: USB 2.0 &#39;Enhanced&#39; Host Controller (EHCI) Driver</div><div>orion-ehci orion-ehci.0: Marvell Orion EHCI</div><div>orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1</div><div>orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000</div>


<div>orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00</div><div>hub 1-0:1.0: USB hub found</div><div>hub 1-0:1.0: 1 port detected</div><div>Initializing USB Mass Storage driver...</div><div>usbcore: registered new interface driver usb-storage</div>


<div>USB Mass Storage support registered.</div><div>usbcore: registered new interface driver ums-datafab</div><div>usbcore: registered new interface driver ums-freecom</div><div>usbcore: registered new interface driver ums-jumpshot</div>


<div>usbcore: registered new interface driver ums-sddr09</div><div>usbcore: registered new interface driver ums-sddr55</div><div>mice: PS/2 mouse device common for all mice</div><div>rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0</div>


<div>i2c /dev entries driver</div><div>cpuidle: using governor ladder</div><div>cpuidle: using governor menu</div><div>sdhci: Secure Digital Host Controller Interface driver</div><div>sdhci: Copyright(c) Pierre Ossman</div>


<div>mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)</div><div>via_sdmmc: VIA SD/MMC Card Reader driver (C) 2008 VIA Technologies, Inc.</div><div>MV-CESA:Fallback driver &#39;hmac(sha1)&#39; could not be loaded!</div>


<div>alg: hash: Failed to load transform for mv-hmac-sha1: -2</div><div>mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver</div><div>mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver</div><div>mv_xor mv_xor.0: Marvell XOR: ( xor cpy )</div>


<div>mmc0: new high speed SDIO card at address 0001</div><div>mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )</div><div>ata1: SATA link down (SStatus 0 SControl F300)</div><div>mv_xor mv_xor.2: Marvell XOR: ( xor cpy )</div>


<div>mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )</div><div>usbcore: registered new interface driver usbhid</div><div>usbhid: USB HID core driver</div><div>oprofile: hardware counters not available</div><div>oprofile: using timer interrupt.</div>


<div>TCP cubic registered</div><div>NET: Registered protocol family 17</div><div>lib80211: common routines for IEEE802.11 drivers</div><div>VFP support v0.3: not present</div><div>rtc-mv rtc-mv: setting system clock to 2010-07-20 07:56:52 UTC (1279612612)</div>


<div>usb 1-1: new high speed USB device using orion-ehci and address 2</div><div>hub 1-1:1.0: USB hub found</div><div>hub 1-1:1.0: 4 ports detected</div><div>usb 1-1.1: new high speed USB device using orion-ehci and address 3</div>


<div>scsi1 : usb-storage 1-1.1:1.0</div><div>scsi 1:0:0:0: Direct-Access     Generic  STORAGE DEVICE   9909 PQ: 0 ANSI: 0</div><div>sd 1:0:0:0: [sda] Attached SCSI removable disk</div><div>libertas: can&#39;t load helper firmware</div>


<div>libertas: failed to load helper firmware</div><div>libertas_sdio: probe of mmc0:0001:1 failed with error -2</div><div>VFS: Cannot open root device &quot;ubi0:rootfs&quot; or unknown-block(0,0)</div><div>Please append a correct &quot;root=&quot; boot option; here are the available partitions:</div>


<div>1f00            1024 mtdblock0 (driver?)</div><div>1f01            4096 mtdblock1 (driver?)</div><div>1f02          519168 mtdblock2 (driver?)</div><div>Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)</div>


<div>[&lt;c002d64c&gt;] (unwind_backtrace+0x0/0xe4) from [&lt;c003e048&gt;] (panic+0x68/0xf8)</div><div>[&lt;c003e048&gt;] (panic+0x68/0xf8) from [&lt;c0008fbc&gt;] (mount_block_root+0x1c4/0x20c)</div><div>[&lt;c0008fbc&gt;] (mount_block_root+0x1c4/0x20c) from [&lt;c0009194&gt;] (prepare_namespace+0x8c/0x184)</div>


<div>[&lt;c0009194&gt;] (prepare_namespace+0x8c/0x184) from [&lt;c0008918&gt;] (kernel_init+0x118/0x160)</div><div>[&lt;c0008918&gt;] (kernel_init+0x118/0x160) from [&lt;c00293dc&gt;] (kernel_thread_exit+0x0/0x8)</div></div>


<div><br></div><div><br></div><div>Any tipps?</div><div><br></div><div>Regards</div><div><br></div><font color="#888888"><div>Bernhard</div>
</font><br>_______________________________________________<br>
arm mailing list<br>
<a href="mailto:arm@lists.fedoraproject.org">arm@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/arm" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/arm</a><br></blockquote></div><br>