9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Steve Simon <steve@quintile.net>
To: 9fans@9fans.net
Subject: [9fans] Partition problems
Date: Sun, 20 Nov 2016 23:07:03 +0000	[thread overview]
Message-ID: <7D744C7D-CE33-43A3-B86D-2CA69662E1FE@quintile.net> (raw)

Hi,

I run a modified labs kernel with a few bits of 9atom to support my atom
Motherboard.

I have added an ssd to the mirrored disks in my plan9 server.
The initialisation of devfs fails without a helpful error message (something I will sort out)

However the source of the problem seems to be boot/parts.c which fails to instantiate the last partition on my disks. This causes devfs to give up rather than continuing to retry other partitions. My kernel then cannot find its venti partition and dies with a panic.

If I boot using a different partition structure I can bring up the machine, and see that this one partition is indeed missing.

If I run disk/prep on the disk and rewrite the partition table unchanged, the missing partition appears.

Anyone seen problems with the partition table generation code in boot/part.c?
If not I will keep digging but I thought it was worth asking.

-Steve





             reply	other threads:[~2016-11-20 23:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-20 23:07 Steve Simon [this message]
2016-11-21  7:20 ` tlaronde
2016-11-23 15:13   ` Iruatã Souza
2016-11-23 17:58     ` Sigrid Haflinadóttir
2016-11-24 10:20       ` Iruatã Souza

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=7D744C7D-CE33-43A3-B86D-2CA69662E1FE@quintile.net \
    --to=steve@quintile.net \
    --cc=9fans@9fans.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;
as well as URLs for NNTP newsgroup(s).