Problem with Initrd Images(cramfs) on embedded devices using busybox

From: Anes Lihovac (anes.lihovac_at_web.de)
Date: 05/02/05

  • Next message: Joaco: "4th release quick&easy embedded Slackware SDK"
    Date: Mon, 02 May 2005 19:56:56 +0200
    
    

    Hi all

    I have made an initrd image for an embedded device. The image is packed with
    mkcramfs to one big image and everything runs great like expected.
    I can start X, fire up Firefox and so on. The image and Kernel
    are flashed to a Compact Flash Card( 64 MB) which is formatted ext2,
    and fires the system up by loading grub, and grub loads the kernel and
    initrd image.

    Then I have split up the big image in modules (root(busybox),X, icewm,
    firefox ...). I did this cause I would like to be able to update the
    modules on the fly, if e.g. a newer version / bug fix is released for the
    specific module. So, I copied all the modules to to Compact Flash Card
    and mounted them via loop during startup.

    The system start up fine, and all the modules are mounted like expected.

    Now the problem is, that when I want to start X, I get an Kernel oops.
    I tried to strace the call, but even the strace will oops.
    The only thing which is running is ash(the busybox default shell).

    I am running Kernel 2.6.8.1 and busybox is latest released (1.0).
    My next test would be to try a newer Kernel, but I am not that confident.
    If anyone has an idea, plase let me know.

    Thanks in advance and best regards.
    Anes


  • Next message: Joaco: "4th release quick&easy embedded Slackware SDK"

    Relevant Pages

    • Re: adding modules to an initrd image
      ... I am using a SATA HD, which is on a ULI SATA controller. ... > I am able to install to the hard-drive after I load the module ... > When the initrd image tries to pivot_root, kernel panic happens ...
      (Debian-User)
    • Re: SATA - How to access disk ???
      ... protocol here by attaching a related question to this thread (However ... I am struggling to build the initrd image. ... Decided to build my own kernel based upon 3.6.8 ... You'd be much better off with Etch on a new system. ...
      (Debian-User)
    • Booting issue on Omap3430 due to Initrd
      ... to a point where it tries to find the initrd image but cannot find it. ... My kernel version is 2.6.27. ... The kernel boots up fine to a point where it tries to mount root. ...
      (Linux-Kernel)
    • Re: Generic VESA framebuffer driver and Video card BOOT?
      ... >> would have to come from the initrd image I expect) then the only option ... > kernel to fire off userspace programs. ... > kernel video. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • initrd and ATA raid
      ... I've a big problem with my fresh installed woody with 2.4.18 kernel: ... my disks are configured in raid with an external pci card, ... I've now an initrd image with this module that can mount my real root at ...
      (Debian-User)