[fedora-arm] Kernel failing to boot at guruplug

Rahul Gundecha rahul.gundecha at gmail.com
Tue Jul 20 12:59:47 UTC 2010


Hi Bernhard,

Try adding "rootfstype=ubifs" to command line -
Kernel command line: console=ttyS0,115200 ubi.mtd=2 root=ubi0:rootfs

Thanks,
Rahul

On Tue, Jul 20, 2010 at 5:28 PM, Bernhard Schuster <
schuster.bernhard at googlemail.com> wrote:

> Hi
>
> 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.
>
> CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
> CPU: VIVT data cache, VIVT instruction cache
> Machine: Marvell GuruPlug Reference Board
> Memory policy: ECC disabled, Data cache writeback
> Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
> Kernel command line: console=ttyS0,115200 ubi.mtd=2 root=ubi0:rootfs
> PID hash table entries: 2048 (order: 1, 8192 bytes)
> Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
> Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
> Memory: 256MB 256MB = 512MB total
> Memory: 512304k/512304k available, 11984k reserved, 0K highmem
> Virtual kernel memory layout:
>     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
>     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
>     DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
>      vmalloc : 0xe0800000 - 0xfe800000   ( 480 MB)
>     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
>     modules : 0xbf000000 - 0xc0000000   (  16 MB)
>       .init : 0xc0008000 - 0xc0028000   ( 128 kB)
>       .text : 0xc0028000 - 0xc0657000   (6332 kB)
>       .data : 0xc0680000 - 0xc06b2ca0   ( 204 kB)
> SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
> Hierarchical RCU implementation.
>         RCU-based detection of stalled CPUs is disabled.
>         Verbose stalled-CPUs detection is disabled.
> NR_IRQS:114
> Console: colour dummy device 80x30
> Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776)
> pid_max: default: 32768 minimum: 301
> Security Framework initialized
> Mount-cache hash table entries: 512
> CPU: Testing write buffer coherency: ok
> NET: Registered protocol family 16
> Kirkwood: MV88F6281-A1, TCLK=200000000.
> Feroceon L2: Cache support initialised.
> bio: create slab <bio-0> at 0
> vgaarb: loaded
> SCSI subsystem initialized
> usbcore: registered new interface driver usbfs
> usbcore: registered new interface driver hub
> usbcore: registered new device driver usb
> cfg80211: Calling CRDA to update world regulatory domain
> Switching to clocksource orion_clocksource
> NET: Registered protocol family 2
> IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
> TCP established hash table entries: 16384 (order: 5, 131072 bytes)
> TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
> TCP: Hash tables configured (established 16384 bind 16384)
> TCP reno registered
> UDP hash table entries: 256 (order: 0, 4096 bytes)
> UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
> NET: Registered protocol family 1
> RPC: Registered udp transport module.
> RPC: Registered tcp transport module.
> RPC: Registered tcp NFSv4.1 backchannel transport module.
> NTFS driver 2.1.29 [Flags: R/W].
> JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
> JFS: nTxBlock = 4002, nTxLock = 32019
> SGI XFS with ACLs, security attributes, realtime, large block/inode
> numbers, no debug enabled
> Btrfs loaded
> msgmni has been set to 1000
> alg: No test for stdrng (krng)
> io scheduler noop registered
> io scheduler deadline registered
> io scheduler cfq registered (default)
> Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
> serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
> console [ttyS0] enabled
> loop: module loaded
> sata_mv sata_mv.0: version 1.28
> sata_mv sata_mv.0: slots 32 ports 1
> scsi0 : sata_mv
> ata1: SATA max UDMA/133 irq 21
> GPIO NAND driver, �© 2004 Simtec Electronics
> NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V
> 8-bit)
> Scanning device for bad blocks
> Bad eraseblock 132 at 0x000001080000
> Bad eraseblock 3241 at 0x000019520000
> Bad eraseblock 3494 at 0x00001b4c0000
> Bad eraseblock 3850 at 0x00001e140000
> Bad eraseblock 3884 at 0x00001e580000
> Creating 3 MTD partitions on "orion_nand":
> 0x000000000000-0x000000100000 : "u-boot"
> ftl_cs: FTL header not found.
> 0x000000100000-0x000000500000 : "uImage"
> ftl_cs: FTL header not found.
> 0x000000500000-0x000020000000 : "root"
> ftl_cs: FTL header not found.
> MV-643xx 10/100/1000 ethernet driver version 1.4
> mv643xx_eth smi: probed
> net eth0: port 0 with MAC address 00:50:43:67:64:06
> net eth1: port 0 with MAC address 00:50:43:67:64:07
> libertas_sdio: Libertas SDIO driver
> libertas_sdio: Copyright Pierre Ossman
> ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> orion-ehci orion-ehci.0: Marvell Orion EHCI
> orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
> orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
> orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
> hub 1-0:1.0: USB hub found
> hub 1-0:1.0: 1 port detected
> Initializing USB Mass Storage driver...
> usbcore: registered new interface driver usb-storage
> USB Mass Storage support registered.
> usbcore: registered new interface driver ums-datafab
> usbcore: registered new interface driver ums-freecom
> usbcore: registered new interface driver ums-jumpshot
> usbcore: registered new interface driver ums-sddr09
> usbcore: registered new interface driver ums-sddr55
> mice: PS/2 mouse device common for all mice
> rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
> i2c /dev entries driver
> cpuidle: using governor ladder
> cpuidle: using governor menu
> sdhci: Secure Digital Host Controller Interface driver
> sdhci: Copyright(c) Pierre Ossman
> mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
> via_sdmmc: VIA SD/MMC Card Reader driver (C) 2008 VIA Technologies, Inc.
> MV-CESA:Fallback driver 'hmac(sha1)' could not be loaded!
> alg: hash: Failed to load transform for mv-hmac-sha1: -2
> mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
> mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
> mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
> mmc0: new high speed SDIO card at address 0001
> mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
> ata1: SATA link down (SStatus 0 SControl F300)
> mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
> mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
> usbcore: registered new interface driver usbhid
> usbhid: USB HID core driver
> oprofile: hardware counters not available
> oprofile: using timer interrupt.
> TCP cubic registered
> NET: Registered protocol family 17
> lib80211: common routines for IEEE802.11 drivers
> VFP support v0.3: not present
> rtc-mv rtc-mv: setting system clock to 2010-07-20 07:56:52 UTC (1279612612)
> usb 1-1: new high speed USB device using orion-ehci and address 2
> hub 1-1:1.0: USB hub found
> hub 1-1:1.0: 4 ports detected
> usb 1-1.1: new high speed USB device using orion-ehci and address 3
> scsi1 : usb-storage 1-1.1:1.0
> scsi 1:0:0:0: Direct-Access     Generic  STORAGE DEVICE   9909 PQ: 0 ANSI:
> 0
> sd 1:0:0:0: [sda] Attached SCSI removable disk
> libertas: can't load helper firmware
> libertas: failed to load helper firmware
> libertas_sdio: probe of mmc0:0001:1 failed with error -2
> VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
> Please append a correct "root=" boot option; here are the available
> partitions:
> 1f00            1024 mtdblock0 (driver?)
> 1f01            4096 mtdblock1 (driver?)
> 1f02          519168 mtdblock2 (driver?)
> Kernel panic - not syncing: VFS: Unable to mount root fs on
> unknown-block(0,0)
> [<c002d64c>] (unwind_backtrace+0x0/0xe4) from [<c003e048>]
> (panic+0x68/0xf8)
> [<c003e048>] (panic+0x68/0xf8) from [<c0008fbc>]
> (mount_block_root+0x1c4/0x20c)
> [<c0008fbc>] (mount_block_root+0x1c4/0x20c) from [<c0009194>]
> (prepare_namespace+0x8c/0x184)
> [<c0009194>] (prepare_namespace+0x8c/0x184) from [<c0008918>]
> (kernel_init+0x118/0x160)
> [<c0008918>] (kernel_init+0x118/0x160) from [<c00293dc>]
> (kernel_thread_exit+0x0/0x8)
>
>
> Any tipps?
>
> Regards
>
> Bernhard
>
> _______________________________________________
> arm mailing list
> arm at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/arm
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/arm/attachments/20100720/c7868cb8/attachment-0001.html 


More information about the arm mailing list