ts-7000
[Top] [All Lists]

[ts-7000] 2.6.34 on TS7300 without NFS - what am I doing wrong?

To:
Subject: [ts-7000] 2.6.34 on TS7300 without NFS - what am I doing wrong?
From: "andreas queisser" <>
Date: Tue, 12 Oct 2010 00:10:04 -0000
Hi all,

I rebuilt 2.6.34 + Matt's patches and used the ts72xx_eabi_small config file. I 
changed the kernel command line to boot from /dev/ram0 and use /linuxrc. 

I see that Ian T. has gotten something similar to work from this post:

http://tech.groups.yahoo.com/group/ts-7000/message/18419

I seem to have a problem with my initrd. When the kernel goes to unpack the ram 
disk I get this error:

    Unpacking initramfs...
    Initramfs unpacking failed: junk in compressed archive
    Freeing initrd memory: 4096K

and later the kernel panic:

    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)




Here's a little detail on my procedure:

1) Use 512mbsd-7400-linux2629-lenny-eabi.dd to create a bootable SD card for 
the 2.6.29 kernel (works)
2) Verify my tools work by rebuilding 2.6.21-ts kernel, writing to the second 
partition and booting that (works)
3) Build patched 2.6.34-ts700_matt_2 kernel with kernel command line to boot 
from /dev/ram0
4) Panic!

I think it must have something to do with a mismatch between the .34 kernel I 
built and the ramdisk image on the SD card. My questions:

- What's the correct procedure to build the initrd image for the patched .34 
kernel?
- Are there other kernel build options I need if I want to boot from SD vs. 
booting from NFS? I enabled ext2 support but I don't think that's the problem.


Thanks,
Andrew





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

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