[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: local booting without initramfs fails [was: re: guruplug notes]



* Daniel Kahn Gillmor <dkg@fifthhorseman.net> [2010-05-27 00:25]:
> Any ideas?  am i missing some bootargs or something?  or does the kernel
> really need an initramfs?

No ideas... the boog log looks fine to me.  I recently installed UBIFS
on my SheevaPlug and I can boot without a ramdisk just fine (see
below).

Can you send me the complete boot logs of both attempts?

Here's mine:

Marvell>> setenv bootargs 'console=ttyS0,115200 ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs
Marvell>> nand read.e 0x00800000 0x00100000 0x00400000; bootm 0x0080000

NAND read: device 0 offset 0x100000, size 0x400000

Reading data from 0x100000 --   0% complete.
Reading data from 0x10a000 --   1% complete.
Reading data from 0x114000 --   2% complete.
Reading data from 0x11e800 --   3% complete.
Reading data from 0x128800 --   4% complete.
Reading data from 0x133000 --   5% complete.
Reading data from 0x13d000 --   6% complete.
Reading data from 0x147800 --   7% complete.
Reading data from 0x151800 --   8% complete.
Reading data from 0x15c000 --   9% complete.
Reading data from 0x166000 --  10% complete.
Reading data from 0x170800 --  11% complete.
Reading data from 0x17a800 --  12% complete.
Reading data from 0x185000 --  13% complete.
Reading data from 0x18f000 --  14% complete.
Reading data from 0x199800 --  15% complete.
Reading data from 0x1a3800 --  16% complete.
Reading data from 0x1ae000 --  17% complete.
Reading data from 0x1b8000 --  18% complete.
Reading data from 0x1c2800 --  19% complete.
Reading data from 0x1cc800 --  20% complete.
Reading data from 0x1d7000 --  21% complete.
Reading data from 0x1e1000 --  22% complete.
Reading data from 0x1eb800 --  23% complete.
Reading data from 0x1f5800 --  24% complete.
Reading data from 0x1ff800 --  25% complete.
Reading data from 0x20a000 --  26% complete.
Reading data from 0x214000 --  27% complete.
Reading data from 0x21e800 --  28% complete.
Reading data from 0x228800 --  29% complete.
Reading data from 0x233000 --  30% complete.
Reading data from 0x23d000 --  31% complete.
Reading data from 0x247800 --  32% complete.
Reading data from 0x251800 --  33% complete.
Reading data from 0x25c000 --  34% complete.
Reading data from 0x266000 --  35% complete.
Reading data from 0x270800 --  36% complete.
Reading data from 0x27a800 --  37% complete.
Reading data from 0x285000 --  38% complete.
Reading data from 0x28f000 --  39% complete.
Reading data from 0x299800 --  40% complete.
Reading data from 0x2a3800 --  41% complete.
Reading data from 0x2ae000 --  42% complete.
Reading data from 0x2b8000 --  43% complete.
Reading data from 0x2c2800 --  44% complete.
Reading data from 0x2cc800 --  45% complete.
Reading data from 0x2d7000 --  46% complete.
Reading data from 0x2e1000 --  47% complete.
Reading data from 0x2eb800 --  48% complete.
Reading data from 0x2f5800 --  49% complete.
Reading data from 0x2ff800 --  50% complete.
Reading data from 0x30a000 --  51% complete.
Reading data from 0x314000 --  52% complete.
Reading data from 0x31e800 --  53% complete.
Reading data from 0x328800 --  54% complete.
Reading data from 0x333000 --  55% complete.
Reading data from 0x33d000 --  56% complete.
Reading data from 0x347800 --  57% complete.
Reading data from 0x351800 --  58% complete.
Reading data from 0x35c000 --  59% complete.
Reading data from 0x366000 --  60% complete.
Reading data from 0x370800 --  61% complete.
Reading data from 0x37a800 --  62% complete.
Reading data from 0x385000 --  63% complete.
Reading data from 0x38f000 --  64% complete.
Reading data from 0x399800 --  65% complete.
Reading data from 0x3a3800 --  66% complete.
Reading data from 0x3ae000 --  67% complete.
Reading data from 0x3b8000 --  68% complete.
Reading data from 0x3c2800 --  69% complete.
Reading data from 0x3cc800 --  70% complete.
Reading data from 0x3d7000 --  71% complete.
Reading data from 0x3e1000 --  72% complete.
Reading data from 0x3eb800 --  73% complete.
Reading data from 0x3f5800 --  74% complete.
Reading data from 0x3ff800 --  75% complete.
Reading data from 0x40a000 --  76% complete.
Reading data from 0x414000 --  77% complete.
Reading data from 0x41e800 --  78% complete.
Reading data from 0x428800 --  79% complete.
Reading data from 0x433000 --  80% complete.
Reading data from 0x43d000 --  81% complete.
Reading data from 0x447800 --  82% complete.
Reading data from 0x451800 --  83% complete.
Reading data from 0x45c000 --  84% complete.
Reading data from 0x466000 --  85% complete.
Reading data from 0x470800 --  86% complete.
Reading data from 0x47a800 --  87% complete.
Reading data from 0x485000 --  88% complete.
Reading data from 0x48f000 --  89% complete.
Reading data from 0x499800 --  90% complete.
Reading data from 0x4a3800 --  91% complete.
Reading data from 0x4ae000 --  92% complete.
Reading data from 0x4b8000 --  93% complete.
Reading data from 0x4c2800 --  94% complete.
Reading data from 0x4cc800 --  95% complete.
Reading data from 0x4d7000 --  96% complete.
Reading data from 0x4e1000 --  97% complete.
Reading data from 0x4eb800 --  98% complete.
Reading data from 0x4f5800 --  99% complete.
Reading data from 0x4ff800 -- 100% complete.
 4194304 bytes read: OK
## Booting image at 00800000 ...
   Image Name:   Debian kernel 2.6.32-3-kirkwood
   Created:      2010-05-22   0:25:12 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1431196 Bytes =  1.4 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.32-3-kirkwood (Debian 2.6.32-9) (maks@debian.org) (gcc version 4.3.4 (Debian 4.3.4-6) ) #1 Sat Feb 27 14:27:55 UTC 2010
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Marvell SheevaPlug Reference Board
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 256MB 256MB = 512MB total
[    0.000000] Memory: 515200KB available (3512K code, 578K data, 120K init, 0K highmem)
[    0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:114
[    0.000000] Console: colour dummy device 80x30
[   21.474959] Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776)
[   21.714922] Security Framework initialized
[   21.714940] SELinux:  Disabled at boot.
[   21.714965] Mount-cache hash table entries: 512
[   21.715254] Initializing cgroup subsys ns
[   21.715269] Initializing cgroup subsys cpuacct
[   21.715278] Initializing cgroup subsys devices
[   21.715287] Initializing cgroup subsys freezer
[   21.715295] Initializing cgroup subsys net_cls
[   21.715338] CPU: Testing write buffer coherency: ok
[   21.716045] devtmpfs: initialized
[   21.717732] regulator: core version 0.5
[   21.717935] NET: Registered protocol family 16
[   21.718423] Kirkwood: MV88F6281-A0, TCLK=200000000.
[   21.718435] Feroceon L2: Enabling L2
[   21.718467] Feroceon L2: Cache support initialised.
[   21.720459] bio: create slab <bio-0> at 0
[   21.720720] vgaarb: loaded
[   21.721164] Switching to clocksource orion_clocksource
[   21.724846] NET: Registered protocol family 2
[   21.725134] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[   21.725887] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[   21.726240] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[   21.726419] TCP: Hash tables configured (established 16384 bind 16384)
[   21.726428] TCP reno registered
[   21.726577] NET: Registered protocol family 1
[   21.726818] NetWinder Floating Point Emulator V0.97 (double precision)
[   21.727046] audit: initializing netlink socket (disabled)
[   21.727078] type=2000 audit(0.243:1): initialized
[   21.733597] VFS: Disk quotas dquot_6.5.2
[   21.733861] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   21.733953] JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[   21.734581] msgmni has been set to 1006
[   21.736161] alg: No test for stdrng (krng)
[   21.736282] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[   21.736295] io scheduler noop registered
[   21.736302] io scheduler anticipatory registered
[   21.736309] io scheduler deadline registered
[   21.736498] io scheduler cfq registered (default)
[   21.742381] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   21.742826] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[   22.058197] console [ttyS0] enabled
[   22.062249] NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-bit)
[   22.070909] Scanning device for bad blocks
[   22.154569] Bad eraseblock 2722 at 0x000015440000
[   22.199396] Creating 3 MTD partitions on "orion_nand":
[   22.204578] 0x000000000000-0x000000100000 : "u-boot"
[   22.210116] 0x000000100000-0x000000500000 : "uImage"
[   22.215592] 0x000000500000-0x000020000000 : "root"
[   22.221477] UBI: attaching mtd2 to ubi0
[   22.225329] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[   22.231640] UBI: logical eraseblock size:    129024 bytes
[   22.237065] UBI: smallest flash I/O unit:    2048
[   22.241800] UBI: sub-page size:              512
[   22.246439] UBI: VID header offset:          512 (aligned 512)
[   22.252306] UBI: data offset:                2048
[   22.664336] UBI: attached mtd2 to ubi0
[   22.668104] UBI: MTD device name:            "root"
[   22.673030] UBI: MTD device size:            507 MiB
[   22.678018] UBI: number of good PEBs:        4055
[   22.682753] UBI: number of bad PEBs:         1
[   22.687217] UBI: max. allowed volumes:       128
[   22.691864] UBI: wear-leveling threshold:    4096
[   22.696591] UBI: number of internal volumes: 1
[   22.701055] UBI: number of user volumes:     1
[   22.705528] UBI: available PEBs:             0
[   22.709994] UBI: total number of reserved PEBs: 4055
[   22.714989] UBI: number of PEBs reserved for bad PEB handling: 40
[   22.721112] UBI: max/mean erase counter: 26/3
[   22.725499] UBI: image sequence number: 0
[   22.729534] UBI: background thread "ubi_bgt0d" started, PID 26
[   22.735751] mice: PS/2 mouse device common for all mice
[   22.741355] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[   22.747278] i2c /dev entries driver
[   22.750956] cpuidle: using governor ladder
[   22.755217] cpuidle: using governor menu
[   22.759249] Registered led device: plug:green:health
[   22.764304] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[   22.770711] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[   22.811227] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[   22.851224] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[   22.891222] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[   22.931224] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[   22.937897] TCP cubic registered
[   22.941145] NET: Registered protocol family 17
[   22.945954] registered taskstats version 1
[   22.950684] rtc-mv rtc-mv: setting system clock to 2010-05-22 00:57:22 UTC (1274489842)
[   23.003420] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[   23.009459] UBIFS: file system size:   516096000 bytes (504000 KiB, 492 MiB, 4000 LEBs)
[   23.017518] UBIFS: journal size:       9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)
[   23.024875] UBIFS: media format:       w4/r0 (latest is w4/r0)
[   23.030733] UBIFS: default compressor: zlib
[   23.034945] UBIFS: reserved for root:  0 bytes (0 KiB)
[   23.040606] VFS: Mounted root (ubifs filesystem) on device 0:13.
[   23.046686] Freeing init memory: 120K
INIT: version 2.86 booting
Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...[   27.075623] usbcore: registered new interface driver usbfs
[   27.087590] usbcore: registered new interface driver hub
[   27.095667] usbcore: registered new device driver usb
[   27.176022] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   27.202724] mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
[   27.212898] orion-ehci orion-ehci.0: Marvell Orion EHCI
[   27.218199] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   27.261233] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   27.281198] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   27.287193] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   27.294033] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   27.301297] usb usb1: Product: Marvell Orion EHCI
[   27.306029] usb usb1: Manufacturer: Linux 2.6.32-3-kirkwood ehci_hcd
[   27.312424] usb usb1: SerialNumber: orion-ehci.0
[   27.317895] usb usb1: configuration #1 chosen from 1 choice
[   27.324084] hub 1-0:1.0: USB hub found
[   27.327876] hub 1-0:1.0: 1 port detected
[   27.332048] MV-643xx 10/100/1000 ethernet driver version 1.4
[   27.349424] mv643xx_eth smi: probed
[   27.364219] net eth0: port 0 with MAC address 00:50:43:01:c0:ab
[   27.651224] usb 1-1: new high speed USB device using orion-ehci and address 2
[   27.813627] usb 1-1: New USB device found, idVendor=1516, idProduct=8628
[   27.820363] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   27.827552] usb 1-1: Product: USB 2.0 0812
[   27.831679] usb 1-1: Manufacturer: A-JET
[   27.835621] usb 1-1: SerialNumber: 89900000000000025113590F
[   27.882333] usb 1-1: configuration #1 chosen from 1 choice
[   28.375245] SCSI subsystem initialized
[   28.417070] Initializing USB Mass Storage driver...
[   28.424118] scsi0 : SCSI emulation for USB Mass Storage devices
[   28.431419] usbcore: registered new interface driver usb-storage
[   28.440237] USB Mass Storage support registered.
done.
Setting the system clock.
....

-- 
Martin Michlmayr
http://www.cyrius.com/


Reply to: