9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: tlaronde@polynum.com
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Partition problems
Date: Mon, 21 Nov 2016 08:20:42 +0100	[thread overview]
Message-ID: <20161121072042.GA73@polynum.com> (raw)
In-Reply-To: <7D744C7D-CE33-43A3-B86D-2CA69662E1FE@quintile.net>

Hello,

On Sun, Nov 20, 2016 at 11:07:03PM +0000, Steve Simon wrote:
> 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.

I had a problem (and still have) with the plan9 program because the code
rewrites the whole partition entry, recomputing the values of the start
and so on even with partitions "untouched" rendering the machine
unbootable because the starting block was not the correct one.

I have never found neither the time nor the incentive to correct this
part.

I don't know if this has anything to do with your problem at hand.

Best,
--
        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
                     http://www.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C



  reply	other threads:[~2016-11-21  7:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-20 23:07 Steve Simon
2016-11-21  7:20 ` tlaronde [this message]
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=20161121072042.GA73@polynum.com \
    --to=tlaronde@polynum.com \
    --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).