Bug#320091: kernel-image-2.6.8-2-386: Boot fails with a syntax error in /scripts/ext3-add-journal.sh
On Tue, Jul 26, 2005 at 03:23:57PM -0700, Dustin Laurence wrote:
> Package: kernel-image-2.6.8-2-386
> Version: 2.6.8-16
> Severity: important
> I am currently running kernel-image-2.6.8-1-386 on this up-to-date
> Debian Sarge system. That kernel seems to run fine. I attempted to
> upgrade to kernel-image-2.6.8-2-386, but it fails to boot and does not
> appear to even get as far as mounting /. These seem like the relevant
> /scripts/ext3-add-journal.sh: 27: arith: syntax error: "0x"
> /sbin/init: 426: arith: syntax error: "0x"
> Kernel panic: Attempted to kill init!
> but I don't know what scrolled out of sight first. Obviously I had to
> copy them down by hand.
> Not finding it on the system, I mounted the initrd files and found a
> script named ext3-add-journal.sh, which I presume is the problem. They
> are clearly different between the two kernel versions but the syntax
> error doesn't make any obvious sense just from an inspection of the
> Any help or pointers for further investigation would be appreciated.
This sounds like you are seeing two problems.
1. Your root device hasn't been detected properly and
2. The script isn't doing proper error checking
Lets focus on problem 1.
Could you take a look at what modules are needed to access your root
partition using kernel-image-2.6.8-1-386? You should be able to
work this out using dmsg and lsmod. Then compare this to the modules
that are included in your initrd image and its /loadmodules script.
If you can't get anywhere could you send the output of dmsg and lsmod
from kernel-image-2.6.8-1-386, and from the initrd image of
kernel-image-2.6.8-2-386, find . and the loadmodules script.