public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andy Pfiffer <andyp@osdl.org>
To: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Suparna Bhattacharya <suparna@in.ibm.com>,
	Petr Vandrovec <VANDROVE@vc.cvut.cz>,
	fastboot@osdl.org, Werner Almesberger <wa@almesberger.net>
Subject: Re: [Fastboot] [CFT] kexec syscall for 2.5.43 (linux booting linux)
Date: 22 Oct 2002 16:17:16 -0700	[thread overview]
Message-ID: <1035328636.29319.55.camel@andyp> (raw)
In-Reply-To: <m13cqzumx3.fsf@frodo.biederman.org>

On Mon, 2002-10-21 at 21:20, Eric W. Biederman wrote:

> Have you tried booting that 2.4.18 kernel with kexec.  

> My other question is does running mkelfImage-1.17 on your kernel
> before you boot it help? 
> ftp://ftp.lnxi.com/pub/src/mkelfImage/mkelfImage-1.17.tar.gz

Summary report of 12 combinations:

              kexec 1.2          kexec 1.2  kexec 1.3          kexec 1.3
        Test        raw             +mkelf        raw             +mkelf
  ---------- ----------         ---------- ----------         ----------
  kexec_test       runs              reset       runs              reset
linux-2.5.44       hang    boot,scsi panic       hang    boot,scsi panic
linux-2.4.18       hang    boot,bad eep100       hang    boot,bad eep100


Key:                                      
linux-2.4.18 == 2.4.18 + CGL              
linux-2.5.44 == 2.5.44 + kexec            
kexec 1.2    == kexec-tools-1.2           
kexec 1.3    == kexec-tools-1.3

kexec_test 1.2 was used for the 1.2 column,
kexec_test 1.3 was used for the 1.3 column.         

Notes:
1) kexec_test 1.[23] "runs to completion" when not
   massaged by mkelfImage.

2) kexec_test 1.[23] "resets" the system (firmware
   starts like cold boot) when massaged by mkelfImage.

3) all linux kernels tested on this system (same IBM
   eServer as yesterday) "hang" when started with
   kexec 1.[23] *unless* massaged by mkelfImage.

4) linux-2.5.44 + mkelfImage panic in the SCSI driver
   during reboot with kexec 1.[23].  <see below>

5) linux-2.4.18 + CGL + mkelfImage + "root=805" came -->this<--
   close to booting all the way, but it looks like the
   ethernet driver can't probe the card in whatever state
   it is left in... <see below> ...and there's that little
   blurb about "Verify that the card is a bus-master capable slot."
   Hmmm...  It's got a ServerWorks chipset...

6) no visible differences in success/failure between
   kexec-tools-1.2 and kexec-tools-1.3.

Wild Speculation:
Aside from driver issues, it would appear that whatever it is
that mkelfImage does, it is better to use it for this specific
system.  It would also appear that there may be several
lingering device shutdown/reprobe problems.


SCSI panic from a kexec'ed linux-2.5.44:
<snip>
ide: Assuming33MHz system bus speed for PIO modes; override with idebus=xx
hda: probing with STATUS(0x50) instead of ALTSTATUS(0x80)
hda: probing with STATUS(0x58) instead of ALTSTATUS(0x80)
SCSI subsystem driver Revision: 1.00
PCI: Enabling device 01:03.0 (0156 -> 0157)
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSIHBA DRIVER, Rev 6.2.4
        <Adaptec aic7892 Ultra160 SCSI adapter>
        aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

scsi0:0:0:0: Attempting to queue an ABORT message
scsi0: Dumping Card State in Message-in phase, at SEQADDR 0x168
ACCUM = 0x1, SINDEX = 0x61, DINDEX = 0x65, ARG_2 = 0xff
HCNT = 0x0
SCSISEQ = 0x12, SBLKCTL = 0xa
 DFCNTRL = 0x0, DFSTATUS = 0x89
LASTPHASE = 0xe0, SCSISIGI = 0xe6, SXFRCTL0 = 0x88
SSTAT0 = 0x2, SSTAT1 = 0x1
SCSIPHASE = 0x8
STACK == 0x175, 0x0, 0x0, 0xe7
SCB count = 4
Kernel NEXTQSCB = 2
Card NEXTQSCB = 2
QINFIFO entries: 
Waiting Queue entries: 
Disconnected Queue entries: 
QOUTFIFO entries: 
Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21  Pending list: 3
Kernel Free SCB list: 1 0 
Untagged Q(0): 3 
DevQ(0:0:0): 0 waiting
scsi0:0:0:0: Device is active, asserting ATN
Recovery code sleeping
Kernel panic: Attempted to kill the idle task!
In idle task - not syncing

ethernet driver diagnostics from kexec'ed linux-2.4.18:
<snip>
eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100leepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw@ssPCI: Enabling device 00:09.0 (0000 -> 0003)
PCI: Setting latency timer of device 00:09.0 to 64
eth0: Invalid EEPROM checksum 0x7f00, check settings before activating this dev!eth0: OEM i82557/i82558 10/100 Ethernet, FF:FF:FF:FF:FF:FF, IRQ 16.
  Board assembly ffffff-255, Physical connectors present: RJ45 BNC AUI MII
  Primary interface chip unknown-15 PHY #31.
    Secondary interface chip i82555.
Self test failed, status ffffffff:
 Failure to initialize the i82557.
 Verify that the card is a bus-master capable slot.
<snip>
Setting up network interfaces:
    lo                                                               done
    eth0      eepro100: wait_for_cmd_done timeout!
eepro100: wait_for_cmd_done timeout!
eepro100: wait_for_cmd_done timeout!
eepro100: wait_for_cmd_done timeout!
eepro100: wait_for_cmd_done timeout!
eepro100: wait_for_cmd_done timeout!
eepro100: wait_for_cmd_done timeout!
eepro100: wait_for_cmd_done timeout!
eepro100: wait_for_cmd_done timeout!
eepro100: wait_for_cmd_done timeout!
(DHCP) eepro100: wait_for_cmd_done timeout!
eepro100: wait_for_cmd_done timeout!
eepro100: wait_for_cmd_done timeout!
eepro100: wait_for_cmd_done timeout!
. . . eepro100: wait_for_cmd_done timeout!
eepro100: wait_for_cmd_done timeout!
invalid operand: 0000
CPU:    0
EIP:    0010:[<c0116014>]    Not tainted
EFLAGS: 00010213
eax: 00000000   ebx: e75c6000   ecx: e8806000   edx: ffffffff
esi: e666c7e0   edi: c1a6b800   ebp: e75c7e14   esp: e75c7df8
ds: 0018   es: 0018   ss: 0018
Process dhcpcd (pid: 359, stackpage=e75c7000)
Stack: e75c6000 e666c7e0 c1a6b800 c1a6b800 00000100 e8806002 00000282 e75c7e20 
       c0116406 e75c6000 e75c7e38 c02708b9 e75c6000 c1a6b800 00000000 e763ca00 
       e75c7e58 c02689fd c1a6b800 e763ca00 c1a6b800 0000024e e75c7e80 c02a5403 
Call Trace: [<c0116406>] [<c02708b9>] [<c02689fd>] [<c02a5403>] [<c02a5439>] 
   [<c02620fd>] [<c0263054>] [<c013a817>] [<c013a839>] [<c015112a>] [<c0151450>    [<c0151490>] [<c01518f4>] [<c026386f>] [<c01070db>] 

Code: 0f 0b b8 00 e0 ff ff 21 e0 ff 40 04 89 45 fc 69 40 20 a0 09 
 
Entering kdb (current=0xe75c6000, pid 359) on processor 0 Oops: invalid operand
due to oops @ 0xc0116014
eax = 0x00000000 ebx = 0xe75c6000 ecx = 0xe8806000 edx = 0xffffffff 
esi = 0xe666c7e0 edi = 0xc1a6b800 esp = 0xe75c7df8 eip = 0xc0116014 
ebp = 0xe75c7e14 xss = 0x00000018 xcs = 0x00000010 eflags = 0x00010213 
xds = 0x00000018 xes = 0x00000018 origeax = 0xffffffff &regs = 0xe75c7dc4
[0]kdb> reboot

lspci output for the system:
00:00.0 Host bridge: ServerWorks CNB20LE Host Bridge (rev 06)
00:00.1 Host bridge: ServerWorks CNB20LE Host Bridge (rev 06)
00:01.0 VGA compatible controller: S3 Inc. Savage 4 (rev 04)
00:09.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 08)
00:0f.0 ISA bridge: ServerWorks OSB4 South Bridge (rev 50)
00:0f.1 IDE interface: ServerWorks OSB4 IDE Controller
00:0f.2 USB Controller: ServerWorks OSB4/CSB5 OHCI USB Controller (rev 04)
01:03.0 SCSI storage controller: Adaptec AIC-7892P U160/m (rev 02)



Regards,
Andy



  parent reply	other threads:[~2002-10-22 23:10 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-18 19:59 [CFT] kexec syscall for 2.5.43 (linux booting linux) Eric W. Biederman
     [not found] ` <20021018173248.E14894@almesberger.net>
     [not found]   ` <m1bs5rz1d6.fsf@frodo.biederman.org>
     [not found]     ` <20021018231540.C7951@almesberger.net>
     [not found]       ` <20021019025309.A24579@almesberger.net>
     [not found]         ` <m17kgfyltc.fsf@frodo.biederman.org>
     [not found]           ` <20021019040600.D7951@almesberger.net>
2002-10-19  9:34             ` Eric W. Biederman
2002-10-19 17:18               ` Werner Almesberger
2002-10-19 17:37                 ` Eric W. Biederman
2002-10-21 23:11 ` [Fastboot] " Andy Pfiffer
2002-10-22  4:18   ` Eric W. Biederman
2002-10-22  6:04     ` Eric W. Biederman
2002-10-22  8:33       ` Eric W. Biederman
2002-10-22  3:57         ` Rob Landley
2002-10-22 14:48           ` Eric W. Biederman
2002-10-22 16:02             ` Eric W. Biederman
2002-10-22 16:27               ` erich
2002-10-23  2:23                 ` Eric W. Biederman
2002-10-22 16:30               ` erich
2002-10-22 23:27         ` Andy Pfiffer
2002-10-22 23:32           ` Andy Pfiffer
2002-10-22  8:30     ` Werner Almesberger
2002-10-22  8:55       ` Eric W. Biederman
2002-10-22 23:17     ` Andy Pfiffer [this message]
2002-10-23  6:29       ` Eric W. Biederman
2002-10-23 17:11         ` Andy Pfiffer
2002-10-24 17:10           ` Eric W. Biederman
2002-10-28  7:45 ` Kasper Dupont
2002-10-28  8:24   ` Eric W. Biederman
2002-10-28  8:48     ` Kasper Dupont
2002-10-28 17:14       ` Eric W. Biederman

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=1035328636.29319.55.camel@andyp \
    --to=andyp@osdl.org \
    --cc=VANDROVE@vc.cvut.cz \
    --cc=ebiederm@xmission.com \
    --cc=fastboot@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=suparna@in.ibm.com \
    --cc=wa@almesberger.net \
    /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