9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: arisawa <arisawa@ar.aichi-u.ac.jp>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] 9pccpu: can't open /dev/sdXX/nvram
Date: Sat, 28 Jul 2012 22:41:07 +0900	[thread overview]
Message-ID: <80E911F7-A1A7-4070-BB9F-791ECC526887@ar.aichi-u.ac.jp> (raw)
In-Reply-To: <20120728101900.7dc2f9a1@gmail.com>


> You can simply mount the first FAT partition
> from the USB disk, edit the plan9.ini and add
> the "readparts=" parameter in the [common] section,
> just before the "nvram=" parameter, like this:
>
> readparts=
> nvram=/dev/sdXX/nvram
>

That is exactly what I did.
The problem is in the message "no usb disk",  which is confirmed by
at% ls /dev/sd*
/dev/sdctl
at%

I believe my 9pccpu kernel is sufficiently recent.
--rwxrwxr-x M 221 sys sys 2368300 May 18 07:16 /386/9pccpu

and my script in creating bootable usb disk is as follows:
disk/partfs /dev/sdU0.0/data	# create /dev/sdXX
disk/mbr -m /386/mbr /dev/sdXX/data
disk/fdisk -baw /dev/sdXX/data
disk/prep -bw -a^(9fat nvram) /dev/sdXX/plan9
cp /dev/sdC0/nvram /dev/sdXX/nvram
cp /386/9loadusb 9load
cp /386/9pc 9pc
cp /386/9pccpu 9pccpu
disk/format -b /386/pbslba -d -r 2 /dev/sdXX/9fat 9load 9pc 9pccpu plan9.ini

If the problem is only to me, I am disliked by 9pccpu kernel.

Kenji Arisawa




  reply	other threads:[~2012-07-28 13:41 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-28  3:30 arisawa
2012-07-28  8:19 ` David du Colombier
2012-07-28 13:41   ` arisawa [this message]
2012-07-28 14:33     ` David du Colombier
2012-07-29  7:30       ` arisawa
2012-07-29  9:43         ` Richard Miller
2012-07-29 11:45           ` arisawa
2012-07-29 14:16             ` Richard Miller
2012-07-29 22:49               ` arisawa
2012-07-30  9:19                 ` arisawa
2012-07-30 14:46                   ` erik quanstrom
2012-07-30 20:45                     ` cinap_lenrek
2012-08-17  2:15                       ` arisawa
2012-08-17  3:27                         ` cinap_lenrek
2013-05-13 16:37                   ` Skip Tavakkolian
2013-05-13 21:32                     ` arisawa
2013-05-13 21:53                       ` Matthew Veety
2013-05-13 23:06                       ` erik quanstrom
2013-05-15  9:56                         ` arisawa
2013-05-15 20:56                           ` arisawa
2013-05-15 21:18                             ` erik quanstrom
2013-05-16  0:16                               ` arisawa
2013-05-16  1:25                                 ` erik quanstrom
2013-05-16 13:44                                 ` kernel panic
2013-05-17 12:36                                   ` arisawa

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=80E911F7-A1A7-4070-BB9F-791ECC526887@ar.aichi-u.ac.jp \
    --to=arisawa@ar.aichi-u.ac.jp \
    --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).