public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Christian Mautner <linux@mautner.ca>
To: linux-kernel@vger.kernel.org
Cc: Norbert Preining <preining@logic.at>
Subject: Re: SOLUTION Re: 2.6.0-test3 cannot mount root fs
Date: Wed, 13 Aug 2003 09:24:39 -0400	[thread overview]
Message-ID: <20030813132439.GA24883@mautner.ca> (raw)
In-Reply-To: <20030813061546.GB24994@gamma.logic.tuwien.ac.at>

On Wed, Aug 13, 2003 at 08:15:46AM +0200, Norbert Preining wrote:
> On Die, 12 Aug 2003, Christian Mautner wrote:
> > Hast du auch einen kompletten Kernel tarball versucht? Wahrscheinlich
> 
> The solution is:
> 	Get a COMPLETE linux-2.6.0-test3.tar.bz2
> and 
> 	DO NOT USE patch

I'm pretty sure the problem is related to the file 
usr/initramfs_data.S. This file is automatically created by the
usr/Makefile, but not deleted by mrproper or distclean (in -test1). 

See l-k thread "remove initramfs temp files" of Aug 8.

The patch to -test2 contained the file usr/initramfs_data.S, and the
patch process fails since it's trying to create it. I ended up
accidently with garbage in usr/initramfs_data.S, to the effect that
the symbol .init.ramfs was empty (could be told from System.map),
which in turn had the effect that in init/initramfs.c the function
unpack_to_rootfs() was called with a length of 0 (&__initramfs_end ==
&__initramfs_start), which in turn prevented this very initial root
file system which is needed to mount root.

A warning message in unpack_to_rootfs() if it is called with a length
of 0 would have been very helpful.

Having make distclean remove initramfs_data.S would be very good
practice as well.

chm.

-- 
christian mautner -- chm bei istop punkt com -- ottawa, canada

      parent reply	other threads:[~2003-08-13 13:24 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-09 10:46 2.6.0-test3 cannot mount root fs gaxt
2003-08-09 10:40 ` Norbert Preining
2003-08-09  9:07   ` Norbert Preining
2003-08-09 11:56   ` Herbert Pötzl
     [not found]     ` <20030809130641.A8174@electric-eye.fr.zoreil.com>
2003-08-09 11:58   ` Henrik Storner
2003-08-09 13:48   ` Felipe Alfaro Solana
2003-08-09 14:32 ` Mr. James W. Laferriere
2003-08-09 14:48   ` gaxt
2003-08-09 14:38     ` Mr. James W. Laferriere
2003-08-09 15:19       ` DVD Problems 2.6.0-test3 & 2.6.0-test2-mm5 gaxt
2003-08-09 15:01     ` 2.6.0-test3 cannot mount root fs Henrik Ræder Clausen
2003-08-10 21:17 ` Norbert Preining
2003-08-10 22:43   ` Andrew Morton
2003-08-11  5:34     ` Norbert Preining
2003-08-11 14:59       ` Herbert Pötzl
2003-08-11 15:40         ` Norbert Preining
2003-08-11 18:53           ` Herbert Pötzl
2003-08-11 21:50             ` Norbert Preining
2003-08-11 22:21               ` Herbert Pötzl
2003-08-12  1:52                 ` Mark W. Alexander
2003-08-12  6:28                   ` Norbert Preining
2003-08-12  5:39                 ` Norbert Preining
2003-08-12 12:26                   ` Herbert Pötzl
2003-08-12 12:31                     ` Norbert Preining
2003-08-12 12:44                     ` jeff millar
2003-08-12 23:52                       ` Thomas Molina
2003-08-13 16:59                         ` Paul Dickson
2003-08-14  4:09                           ` jeff millar
2003-08-13  6:15 ` SOLUTION " Norbert Preining
2003-08-13  6:27   ` "Andrey Borzenkov" 
2003-08-13  6:30     ` Norbert Preining
2003-08-13 12:07   ` jeff millar
2003-08-13 12:30     ` Herbert Pötzl
     [not found]       ` <00bb01c36198$51cba650$6401a8c0@wa1hco>
2003-08-13 13:24         ` Herbert Pötzl
     [not found]           ` <009b01c362d5$13838b90$6401a8c0@wa1hco>
     [not found]             ` <20030815030013.GA9587@www.13thfloor.at>
     [not found]               ` <00a401c3632a$80dd2a20$6401a8c0@wa1hco>
     [not found]                 ` <20030815132619.GB3695@www.13thfloor.at>
2003-08-16  0:34                   ` 2.6.0-test3 _still_ " jeff millar
2003-08-16 15:00                     ` Herbert Pötzl
2003-08-13 13:24   ` Christian Mautner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030813132439.GA24883@mautner.ca \
    --to=linux@mautner.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=preining@logic.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox