9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: lejatorn@gmail.com
To: 9fans@9fans.net
Subject: Re: [9fans] running in AMDs simnow
Date: Tue, 13 May 2008 22:13:27 -0400	[thread overview]
Message-ID: <2a380540f907abb1feb9f90d17685bdf@smgl.fr.eu.org> (raw)
In-Reply-To: <dbaca129216b2e89209baf9f00aac581@quanstro.net>

[-- Attachment #1: Type: text/plain, Size: 1460 bytes --]

Yeah, nice coincidence as I was about to mail 9fans about my progress
on that matter.

So yes, with the help of Erik I managed to bake a bootable iso for
this ibm eserver 325 I have here, which seems to behave in a pretty
similar way to the one you describe here (look for the thread "plan 9
on an ibm eserver 325).

I'm attaching the 9load I used for that iso, which incidentally is the
one that actually works on my T61.  I don't have the sources for it as
Erik had built it for me when I had trouble with the T61.  So you
should hope that Erik still has the sources somewhere around or
directly try with that one.

For the record - although I may write a short wiki page about that
later if it's deemed usefull - here's how I made the iso:

disk/format -t 3½QD -db /386/pbs /usr/lejatorn/iso/cddisk /usr/lejatorn/iso/9load /sys/src/9/pc/9pccd.gz /sys/src/9/pc/9pcflop.gz /usr/lejatorn/iso/plan9.ini /lib/vgadb
mount /srv/9660 /n/9660 /dev/sdC0/data
bind /usr/lejatorn/iso/cddisk /n/9660/bootdisk.img
disk/mk9660 -9cj -v 'myiso' -s /n/9660 -p /sys/lib/sysconfig/proto/allproto -b bootdisk.img cd0

I'm attaching the plan9.ini I used as well.

Of course now the installed system fails in the same way it does when
booting with the default iso, since the "non-working" 9load was
installed, so I'll have to replace that one with the one that works
for me.  (Not sure I am crystal clear here, sorry).


Hope that helps,
Mathieu.

[-- Attachment #2: Type: message/rfc822, Size: 4731 bytes --]

From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] running in AMDs simnow
Date: Tue, 13 May 2008 17:15:45 -0400
Message-ID: <dbaca129216b2e89209baf9f00aac581@quanstro.net>

> I'm trying to get plan 9 to boot in AMDs simnow as part of tracking a
> weird problem.
> 
> There's some weird issue between simnow and 9load.
> 
> Here is what happens, on floppy or iso:
> initial probe, to find plan9.ini...
> 
> I then see 661,504 reads (in the case of the ISO) or few number of
> reads (in the case of floppy)
> and then it just hangs, then finally gets exception 6.
> 
> ...FLAGS=10282 TRAP=6 ECODE=0 PC=3
>   AX 00000000  BX 80815788  CX 00000000  DX 800fdf30
>   SI 00001022  DI 00000024  BP 0000746b
>   CS 0010 DS 0008  ES 0008  FS 0008  GS 0008
>   CR0 80000011 CR2 00000000 CR3 0000c000
> panic: exception/interrupt 6
> 
> Press almost any key to reset..
> 
> PC=3 is not encouraging :-)
> 
> 
> The chipset is a standard 8111/8131 setup.
> 
> I'm confused, I'm going to try pointing it at the real ide drive next,
> but suggestions are welcome.
> 
> Well, besides, 'Give up now", that is.
> 
> ron

hey.  Mathieu Lonjaret reported exactly this problem with
an ibm eserver with the same chipset.

i don't recall if he got it working.  does it work for you without simnow?

one silly idea.  any chance legacy usb is on.  system management mode is
direkt aus der hölle.  does 9loads top-of-memory match the e820 scan?

- erik

----

ELCR: 0C80
apm ax=f000 cx=f000 dx=40 di=ffff ebx=5d84 esi=-1
initial probe, to find plan9.ini... dev A0 port 1F0 config 0040 capabilities 2F00 mwdma 0007 udma 407F
dev A0 port 170 config 85C0 capabilities 2F00 mwdma 0007 udma 0407
FLAGS=10282 TRAP=6 ECODE=0 PC=3
 AX 00000000 BX 80815d78 CX 00000000 DX 800fdfc0
 SI 00001022 DI 00000024 BP 0000746b
 CS 0010 DS 0008 ES 0008 FS 0008 GS 0008
 CR0 80000011 CR2 0000000 CR3 0000c000
panic: exception/interrupt 6


[-- Attachment #3: Type: text/plain, Size: 638 bytes --]

[menu]
menuitem=install, Install Plan 9 from this CD
menuitem=cdboot, Boot Plan 9 from this CD
menuitem=debug, Boot Plan 9 from this CD and debug 9load

[common]
*nobiosload=1
*nomp=1
*nodumpstack=1
partition=new
mouseport=ask
monitor=ask
vgasize=ask
dmamode=ask
adisk=/dev/sdD0/cdboot
cdboot=yes

[install]
bootargs=local!#S/sdD0/data
nobootprompt=local!/boot/bzroot
bootfile=sdD0!cdboot!9pcflop.gz
*nobiosload=1
#*noahciload=1

[cdboot]
bootargs=local!#S/sdD0/data
bootfile=sdD0!cdboot!9pccd.gz
*nobiosload=1
#*noahciload=1

[debug]
bootargs=local!#S/sdD0/data
bootfile=sdD0!cdboot!9pccd.gz
*debugload=1

[-- Attachment #4: Type: application/octet-stream, Size: 224956 bytes --]

  reply	other threads:[~2008-05-14  2:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-13 20:55 ron minnich
2008-05-13 21:15 ` erik quanstrom
2008-05-14  2:13   ` lejatorn [this message]
2008-05-13 22:59     ` ron minnich
2008-05-13 23:44       ` lejatorn
2008-05-13 23:10     ` erik quanstrom
2008-05-13 23:40       ` lejatorn
2008-05-13 23:50         ` erik quanstrom
2008-05-15  6:48           ` ron minnich
2008-05-13 21:24 ` Bakul Shah

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=2a380540f907abb1feb9f90d17685bdf@smgl.fr.eu.org \
    --to=lejatorn@gmail.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).