From: Mark Jacob <mjacob1@san.rr.com>
To: linux-kernel@vger.kernel.org
Subject: PROBLEM: Reboot while processing gunzip() in decompress_kernel()
Date: Tue, 28 Sep 2004 09:41:24 -0700 [thread overview]
Message-ID: <41599434.7010300@san.rr.com> (raw)
1. Reboot while processing gunzip() in decompress_kernel()
2. System reboots when calling gunzip() from
linux-2.4.27/arch/i386/boot/compressed/misc.c:decompress_kernel()
3. i386 boot
4. vanilla 2.4.27 (also tried with vanilla 2.4.24, same result)
5. No Oops output.
6. N/A
7.1 ver_linux output from the machine I build the kernel on:
Linux mythical 2.4.27 #2 SMP Sun Aug 22 21:56:02 PDT 2004 i686 i686 i386
GNU/Linux
Gnu C 3.3.2
Gnu make 3.79.1
util-linux 2.11y
mount 2.11y
modutils 2.4.25
e2fsprogs 1.34
jfsutils 1.1.3
reiserfsprogs 3.6.8
pcmcia-cs 3.1.31
quota-tools 3.06.
PPP 2.4.1
Linux C Library 2.3.2
Dynamic linker (ldd) 2.3.2
Procps 2.0.17
Net-tools 1.60
Kbd 1.08
Sh-utils 5.0
Modules Loaded ivtv msp3400 saa7115 tuner i2c-algo-bit videodev
i2c-core nfsd lockd sunrpc autofs e100 microcode nls_iso8859-1 jfs loop
ext3 jbd lvm-mod
7.2 Can't get at the /proc/cpuinfo since the system won't boot. The
system is a diskless Via EPIA M6000 mini-itx system with 128 MB RAM.
From what I remember it's a pentium clone. It network boots with PXE
and syslinux, and pulls the compressed kernel in via tftp.
7.3 No modules.
7.4 No loaded drivers.
7.5 Can't boot system to get lspci -vvv
7.6 No SCSI
I've tracked it to the call to gunzip() in decompress_kernel() by moving
a while(1); loop around in the code. Placing the while(1); before the
call to gunzip keeps the machine from rebooting and causes a hang as
expected. Moving the while(1) loop reverts it back to an infinite reboot
cycle.
I've only found two recent list threads that describe similar problems,
but the solutions did not work for me. One of them is here:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=120685
And the other is here:
http://www.uwsg.iu.edu/hypermail/linux/kernel/0303.3/0639.html
Here's the rub. I have a similar VIA EPIA M10000 setup and the kernel
boots! Thinking that the problem was CPU specific, I trimmed down the
CPU type to plain old i386 in the kernel config file. Alas, this did not
help. :( I've also verified that I'm running the latest BIOS firmware
(the M10K and the M6K are both flashed to the same bios rev). Lastly, I
know for sure that it's not a firmware issue because the precompiled
kernel provided by the linpvr project
(http://www.linpvr.org/dl.php?filename=rel-0.5.1/bzImage) boots the M6K
board with no issues. Please help!
Thank You,
Mark Jacob
reply other threads:[~2004-09-28 16:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=41599434.7010300@san.rr.com \
--to=mjacob1@san.rr.com \
--cc=linux-kernel@vger.kernel.org \
/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