9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Lucio De Re <lucio@proxima.alt.za>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Strange boot behaviour
Date: Fri, 13 Feb 2004 08:15:48 +0200	[thread overview]
Message-ID: <20040213081548.K4743@cackle.proxima.alt.za> (raw)
In-Reply-To: <7264eca72458d500639cb8fcb8c4ca79@plan9.bell-labs.com>; from David Presotto on Thu, Feb 12, 2004 at 09:35:59AM -0500

On Thu, Feb 12, 2004 at 09:35:59AM -0500, David Presotto wrote:
>
> On Thu Feb 12 08:50:42 EST 2004, lucio@proxima.alt.za wrote:
>
> > 1.  Why does 9load not pick up #S/sd00 as a valid boot location?  It
> > only offers fd0 and ether0 as options.  Is the missing #S/
> > significant?  If so, then the installation is faulty.
>
> The #S isn't a problem.  9load doesn't know about # stuff.
> Whatever is wrong, this isn't it.
>
There is no 9pcf in 9fat, but the error message suggests that the
"device" is unknown.  New trace below.
> >
> > 2.  Why does the fossil kernel 9pcf.gz not find #S/sd00/fossil?  It
> > was created by the installation procedure and 9pcdisk.gz is aware of
> > it.  Hm, a missing "disk"?
>
> So, if you load a 9pcf and a 9pcdisk both built from the same sources,
> one can see #S/sd00/fossil and the other can't?  That should be
> impossible.  I have no idea why that would be.
>
It isn't impossible, unless I'm misreading the new trace (appended
below).  It is extremely unlikely that the 9pcdisk and 9pcf kernels
are significantly different because of something I did and I suppose
supplying sources etc won't really help unless I supply the hardware
too :-(
>
> I take it that this:
> 	sd53c8xx: SYM53C1010 rev. 0x01 intr=5 command=2300007

and the next one, I'm not sure which one was used.  Maybe there's a
problem with a twin controller?

> is your disk.  If so, both the 9pcf kernel and 9load found it.  They
> just didn't find the partitions.  Can you boot 9pcf off of a
> network file server and see if you can look at the device at
> all?  Maybe its not sd00?  What partitions do you see.
>
9pcf is loaded off the network, it turned out to be the easiest route.
But I think you're asking something else, really.

> This would be the easiest way to figure it all out.
>
> > Lastly, 9loaddebug differs from 9load only in the absence of a -H3
> > load option and two hash out commands.  It doesn't work, either,
> > unless the -H3 is entered, in which case it is not different from
> > 9load.  Is it worth keeping?
> >
>
> It's there so we have something to run acid over that is in a format
> acid understands.  Acid doesn't do well with the -H3 format.

That explains.  I was hoping it was a version with debug enabled, but
that's not applicable.  I'll do some homework.

Here is the new boot trace, using 9pcdisk.gz instead of 9pcf.gz,
annotated:

----- cut here -----
sd53c8xx: SYM53C1010 rev. 0x01 intr=5 command=2300007
sd53c8xx: SYM53C1010 rev. 0x01 intr=10 command=2300007
sd53c8xx: bios scntl3(70) stest2(00)
sd53c8xx: bios scntl3(70) stest2(00)
ether#0: elnk3: port 0x300 irq 11: 00A0244026C9
Unknown boot device: sd00!9fat!9pcf
^^^^^^^ I can put 9pcf on 9fat, if it helps
Boot devices: fd0 ether0
boot from: ether0!/386/9pcdisk.gz
           ^^^^^^^^^^^^^^^^^^^^^^ note network boot
tickle (192.96.32.69!67): /386/9pcdisk.gz
gz...729520 => 867796+818960+108996=1795752
entry: 80100020
Plan 9
apicbase 0xFEE00100
cpu0: 501MHz GenuineIntel Celeron (cpuid: AX 0x0665 DX 0x183F9FF)
ELCR: 1420
#l0: elnk3: 10Mbps port 0x300 irq 11: 00A0244026C9
sd53c8xx: SYM53C1010 rev. 0x01 intr=5 command=2300007
sd53c8xx: SYM53C1010 rev. 0x01 intr=10 command=2300007
#U/usb0: uhci: port 0xE400 irq 10
19335 free pages, 77340K bytes, 309340K swap
root is from (tcp, il, local)[local!#S/sd00/fossil]: il
^^^^^^^^^^^^                                         ^^ and network FS
user[none]: glenda
sd53c8xx: bios scntl3(00) stest2(00)
sd53c8xx: bios scntl3(00) stest2(00)
version...
!Adding key: dom=proxima.alt.za proto=p9sk1
user[glenda]:
password:
!
time...
init: starting /bin/rc
dossrv: serving #s/dos
9660srv 68: serving /srv/9660
----- cut here -----


  parent reply	other threads:[~2004-02-13  6:15 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-12 13:48 Lucio De Re
2004-02-12 14:35 ` David Presotto
2004-02-12 16:16   ` [9fans] seeking for the truth rog
2004-02-12 16:32     ` David Presotto
2004-02-12 17:10       ` rog
2004-02-12 16:50     ` Dave Lukes
2004-02-12 16:59       ` Rob Pike
2004-02-12 17:03         ` Fco.J.Ballesteros
2004-02-12 17:17           ` Charles Forsyth
2004-02-12 17:22             ` Charles Forsyth
2004-02-12 18:00               ` rob pike, esq.
2004-02-12 18:05                 ` Charles Forsyth
2004-02-12 18:10                 ` rog
2004-02-12 18:10                   ` David Presotto
2004-02-12 17:26             ` Fco.J.Ballesteros
2004-02-12 17:35             ` Dave Lukes
2004-02-12 20:19     ` boyd, rounin
2004-02-13  6:15   ` Lucio De Re [this message]
2004-02-13 12:58     ` [9fans] Strange boot behaviour Lucio De Re
2004-02-14 21:49     ` David Presotto
2004-02-16  5:52       ` Lucio De Re
2004-02-16  6:39       ` Lucio De Re
2004-02-16  9:22         ` Lucio De Re
2004-02-17 15:20           ` Lucio De Re

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=20040213081548.K4743@cackle.proxima.alt.za \
    --to=lucio@proxima.alt.za \
    --cc=9fans@cse.psu.edu \
    /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;
as well as URLs for NNTP newsgroup(s).