public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: ebiederm@xmission.com (Eric W. Biederman)
To: Andy Pfiffer <andyp@osdl.org>
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: 24 Oct 2002 11:10:36 -0600	[thread overview]
Message-ID: <m1vg3rrcdv.fsf@frodo.biederman.org> (raw)
In-Reply-To: <1035393105.25019.73.camel@andyp>

Andy Pfiffer <andyp@osdl.org> writes:

> > > 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)
> 
> 
> > And please tell me what kexec_test-1.4 reports. I would love to find out which
> 
> > BIOS calls are hanging your system.
> 
> It's this one: call print_dasd_type

Cool, thanks.  

This is both good, and bad.
The Good: This BIOS call is only used to populate disk_info to get the
          disk geometry, which is only in hd.c, and further this call
          rests on a broken assumption that the both the first and the
          second BIOS disks are IDE, so it should be safe to remove
          the call from setup.S,  And there is another filter in 
           that makes it work.

The Bad: That would take patching the kernel, so on some machines
         older kernels will not work...

I have not setup the x86 pic so it may be worth setting that up and
testing to see if that helps. 
 
> If I comment it out, kexec_test-1.4 runs to completion.
> 
> FYI: My installation is on a scsi disk.  I'm beginning to wonder if
> there is something funky with the BIOS not being able to talk to
> the SCSI controller after the kernel has used it...  Hmmm.

I would not be surprised, if that is part of the problem.
Did you have to edit the aic7xxx reboot notifier to get scsi reboots
to work?  The reboot notifier should be what sets the controller up
so it can be reinitialized by Linux later.

I am attempting to figure out where to go with the user space side to 
get a useable, and useful ability to boot new kernels.

Pieces:
1) If loaded from loadlin or a sufficiently buggy BIOS is present
   we need to skip the 16bit BIOS calls already.
2) It is ideal to requery the system BIOS in case there are enhancements
   like the EDD work that make the new kernel more useable.

So my strategy will be:
1) As much as is reasonable fix setup.S to work in strange hostile environments,
   there is a lot to be gained and currently it usually works as is.
2) Query the existing kernel infrastructure and as much as possible
   fill in the table of data wants.  And I will skip to the 32bit entry point,
   with that information.

The second will take a bit more work, but having it as an option looks like
a very healthy thing to have.

Eric


  reply	other threads:[~2002-10-24 17:06 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
2002-10-23  6:29       ` Eric W. Biederman
2002-10-23 17:11         ` Andy Pfiffer
2002-10-24 17:10           ` Eric W. Biederman [this message]
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=m1vg3rrcdv.fsf@frodo.biederman.org \
    --to=ebiederm@xmission.com \
    --cc=VANDROVE@vc.cvut.cz \
    --cc=andyp@osdl.org \
    --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