ts-7000
[Top] [All Lists]

[ts-7000] Re: Cannot open root device with 2.6.34/TS-7800

To:
Subject: [ts-7000] Re: Cannot open root device with 2.6.34/TS-7800
From: "Jaan" <>
Date: Mon, 21 Feb 2011 10:53:08 -0000
Hi,

Not sure, but as I understand, 2.6.34 kernel from ftp.embeddedarm.com is not 
related to the kernel orion5x branch. You should try "make ts7800_defconfig" 
instead of "make orion5x_defconfig". And then, no  patching (no devio stuff) is 
needed. The message you refer to, 18727, is for kernel.org kernels.

Jaan

--- In  "swtvdg" <> wrote:
>
> Hello - 
>
> I have the both the source and 512MB image of 2.6.34 from 
> ftp.embeddedarm.com.  I'm able to put the image to a SD card and boot it just 
> fine to a linux login prompt on my Rev B TS-7800.  When I compile the source 
> and copy the my compiled zImage to the second partition of the same SD card I 
> keep hitting against "VFS: Cannot open root device...".  In this specific 
> attempt the final death throws are (the full boot output will be at the 
> bottom of this post):
>
> Root-NFS: No NFS server available, giving up.
> VFS: Unable to mount root fs via NFS, trying floppy.
> VFS: Cannot open root device "ram0" or unknown-block(2,0)
> Please append a correct "root=" boot option; here are the available 
> partitions:
> Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
>
> and my kernel command line for this attempt was:
>
> Kernel command line: console=ttyS0,115200n8 init=/inuxrc root=/dev/ram0 rw 
> lpj=1662976
>
> This was based off of what the good 2.6.34 512MB image that boots.  I've also 
> tried other root devices of /dev/tssdcardb3, /dev/tssdcardb2, /dev/ram0 
> (without the lpj) and /dev/mtdblock2.
>
> My build box is a intel debian 5.0.3 VirtualBox VM session running on a intel 
> Mac and I'm using the Codesourcery lite 2010.09-51 eabi toolchain (gcc 
> 4.5.1).  The build steps I'm taking are:
>
> 1) make clean
> 2) make orion5x_defconfig
> 3) make menuconfig
> 4) make
> 5) run the patch (step 8 of message # 18727 from this group)
> 6) dd the zImage.fixed to partition 2 of the working SD card
>
> So, what am I missing? 
>
> Thanks in advance for your help  and below is the whole typescript of the 
> boot sequence.
>
> -Steve
>
> ---begin typescript of boot sequence---
>
> >> TS-BOOTROM - built Nov 27 2007
> >> Copyright (c) 2007, Technologic Systems
> >> Booting from SD card...
> .
> .
> .
> .
> Uncompressing Linux... done, booting the kernel.
> Linux version 2.6.34  (gcc version 4.5.1 (Sourcery G++ Lite 
> 2010.09-51) ) #3 PREEMPT Sun Feb 20 00:30:27 CST 2011
> CPU: Feroceon [41069260] revision 0 (ARMv5TEJ), cr=b0053177
> CPU: VIVT data cache, VIVT instruction cache
> Machine: Technologic Systems TS-78xx SBC
> Memory policy: ECC disabled, Data cache writeback
> Calling iotable_init(),  orion5x_io_desc[0].pfn = 0x000F1000, 
> orion5x_io_desc[0].virtual = 0xFDD00000, orion5x_io_desc[0].length = 1048576
> BUG: mapping for 0xee000000 at 0xee000000 overlaps vmalloc space
> Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
> Kernel command line: console=ttyS0,115200n8 init=/inuxrc root=/dev/ram0 rw 
> lpj=1662976
> PID hash table entries: 512 (order: -1, 2048 bytes)
> Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
> Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
> Memory: 128MB = 128MB total
> Memory: 125544k/125544k available, 5528k reserved, 0K highmem
> Virtual kernel memory layout:
>     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
>     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
>     DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
>     vmalloc : 0xc8800000 - 0xfd800000   ( 848 MB)
>     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
>     modules : 0xbf000000 - 0xc0000000   (  16 MB)
>       .init : 0xc0008000 - 0xc0027000   ( 124 kB)
>       .text : 0xc0027000 - 0xc03c5000   (3704 kB)
>       .data : 0xc0408000 - 0xc042f720   ( 158 kB)
> SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
> Hierarchical RCU implementation.
> NR_IRQS:96
> Calibrating delay loop (skipped) preset value.. 332.59 BogoMIPS (lpj=1662976)
> Mount-cache hash table entries: 512
> CPU: Testing write buffer coherency: ok
> NET: Registered protocol family 16
> Orion ID: MV88F5182-A2. TCLK=166666667.
> TS-78xx FPGA: magic=0x00b480, rev=0x03
> bio: create slab <bio-0> at 0
> SCSI subsystem initialized
> usbcore: registered new interface driver usbfs
> usbcore: registered new interface driver hub
> usbcore: registered new device driver usb
> TS-7800 DMA controller init.
> Switching to clocksource orion_clocksource
> NET: Registered protocol family 2
> IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
> TCP established hash table entries: 4096 (order: 3, 32768 bytes)
> TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
> TCP: Hash tables configured (established 4096 bind 4096)
> 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.
> NetWinder Floating Point Emulator V0.97 (double precision)
> JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
> msgmni has been set to 245
> 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 = 3) is a 16550A
> console [ttyS0] enabled
> serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 4) is a 16550A
> loop: module loaded
> sata_mv sata_mv.0: version 1.28
> sata_mv sata_mv.0: slots 32 ports 2
> scsi0 : sata_mv
> scsi1 : sata_mv
> ata1: SATA max UDMA/133 irq 29
> ata2: SATA max UDMA/133 irq 29
> MV-643xx 10/100/1000 ethernet driver version 1.4
> mv643xx_eth smi: probed
> net eth0: port 0 with MAC address 00:d0:69:40:f7:e6
> 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 17, 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
> orion-ehci orion-ehci.1: Marvell Orion EHCI
> orion-ehci orion-ehci.1: new USB bus registered, assigned bus number 2
> orion-ehci orion-ehci.1: irq 12, io mem 0xf10a0000
> orion-ehci orion-ehci.1: USB 2.0 started, EHCI 1.00
> hub 2-0:1.0: USB hub found
> hub 2-0:1.0: 1 port detected
> usbcore: registered new interface driver usblp
> 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
> rtc-m48t86 rtc-m48t86: rtc core: registered m48t86 as rtc0
> rtc-m48t86 rtc-m48t86: battery ok
> i2c /dev entries driver
> mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
> mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
> mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
> usbcore: registered new interface driver usbhid
> usbhid: USB HID core driver
> oprofile: using timer interrupt.
> TCP cubic registered
> NET: Registered protocol family 17
> ata1: SATA link down (SStatus 0 SControl 300)
> VFP support v0.3: not present
> rtc-m48t86 rtc-m48t86: setting system clock to 2011-02-19 23:30:10 UTC 
> (1298158210)
> ata2: SATA link down (SStatus 0 SControl 300)
> Root-NFS: No NFS server available, giving up.
> VFS: Unable to mount root fs via NFS, trying floppy.
> VFS: Cannot open root device "ram0" or unknown-block(2,0)
> Please append a correct "root=" boot option; here are the available 
> partitions:
> Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
> ---End Typescript---
>




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
    
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU