9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] exception/interrupt 14 bug
@ 2002-05-14  1:18 Russ Cox
  2002-05-14 12:34 ` [9fans] exception/interrupt 14 bug - fixed Artem Letko
  0 siblings, 1 reply; 3+ messages in thread
From: Russ Cox @ 2002-05-14  1:18 UTC (permalink / raw)
  To: 9fans

> The fix doesn't seem to be related to my problem though -
> exception/interrupt 14 happens much earlier in my case, before the kernel is
> fully loaded. The new floppy still panics.

It was the same problem, though.  Here's your register
dump:

apm ax=f000 cx=f000 dx=0 di=1200 ebx=57a0 esi=c03e6
using fd0!dos!plan9.ini
dev A0 port 1F0 config 0C5A capabilities 2F00 mwdma 0007 udma 043F
pcirouting: 8086/7112 at pin 4 irq 7
found 9PCFLOP .GZ attr 0x0 start 0xf0 len 1168843
.....FLAGS=10246 TRAP=e ECODE=0 PC=80015b87
AX a48003b7 BX 8003b784 CX 00000800 DX 00000000
SI 8002dcc0 DI 8003b7a4 BP 8003b780
CS 0010 DS 0008 ES 0008 FS 0008 CS 0008
CR0 80000011 CR2 a48003b9 CR3 0000c000
panic: exception/interrupt 14

57a0+03e6 is 5b86.  Toss in the segment register and
you've got 80015b86.  Note that you died at 80015b87.

bootpass+0x5fc 0x80015b84	MOVL	0x24(BP),AX
bootpass+0x5ff 0x80015b87	MOVBSX	0x2(AX),AX

The magic increment turned the first instruction
into

bootpass+0x5fc 0x80015b84	MOVL	0x25(BP),AX

and you died dereferencing the shifted value.

As for why the disk didn't work, well, let's just
say that caches are not my friend this week.

If you download a disk now, it should work.

Russ


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] exception/interrupt 14 bug - fixed
  2002-05-14  1:18 [9fans] exception/interrupt 14 bug Russ Cox
@ 2002-05-14 12:34 ` Artem Letko
  2002-05-31 19:11   ` Axel Belinfante
  0 siblings, 1 reply; 3+ messages in thread
From: Artem Letko @ 2002-05-14 12:34 UTC (permalink / raw)
  To: 9fans

Russ is right - after getting the floppy again everything looks good.

Art.

----- Original Message -----
From: "Russ Cox" <rsc@plan9.bell-labs.com>
To: <9fans@cse.psu.edu>
Sent: Monday, May 13, 2002 9:18 PM
Subject: Re: [9fans] exception/interrupt 14 bug


> > The fix doesn't seem to be related to my problem though -
> > exception/interrupt 14 happens much earlier in my case, before the
kernel is
> > fully loaded. The new floppy still panics.
>
> It was the same problem, though.  Here's your register
> dump:
>
> apm ax=f000 cx=f000 dx=0 di=1200 ebx=57a0 esi=c03e6
> using fd0!dos!plan9.ini
> dev A0 port 1F0 config 0C5A capabilities 2F00 mwdma 0007 udma 043F
> pcirouting: 8086/7112 at pin 4 irq 7
> found 9PCFLOP .GZ attr 0x0 start 0xf0 len 1168843
> ...FLAGS=10246 TRAP=e ECODE=0 PC=80015b87
> AX a48003b7 BX 8003b784 CX 00000800 DX 00000000
> SI 8002dcc0 DI 8003b7a4 BP 8003b780
> CS 0010 DS 0008 ES 0008 FS 0008 CS 0008
> CR0 80000011 CR2 a48003b9 CR3 0000c000
> panic: exception/interrupt 14
>
> 57a0+03e6 is 5b86.  Toss in the segment register and
> you've got 80015b86.  Note that you died at 80015b87.
>
> bootpass+0x5fc 0x80015b84 MOVL 0x24(BP),AX
> bootpass+0x5ff 0x80015b87 MOVBSX 0x2(AX),AX
>
> The magic increment turned the first instruction
> into
>
> bootpass+0x5fc 0x80015b84 MOVL 0x25(BP),AX
>
> and you died dereferencing the shifted value.
>
> As for why the disk didn't work, well, let's just
> say that caches are not my friend this week.
>
> If you download a disk now, it should work.
>
> Russ



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] exception/interrupt 14 bug - fixed
  2002-05-14 12:34 ` [9fans] exception/interrupt 14 bug - fixed Artem Letko
@ 2002-05-31 19:11   ` Axel Belinfante
  0 siblings, 0 replies; 3+ messages in thread
From: Axel Belinfante @ 2002-05-31 19:11 UTC (permalink / raw)
  To: 9fans

the 9load bug has bitten once again --
and the fix (replacing 9load) has been applied sucessfully once again.
(when I tried to use an 'old' bootfloppy to boot a 'new' machine).

9fans is cool

Axel.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-05-31 19:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-14  1:18 [9fans] exception/interrupt 14 bug Russ Cox
2002-05-14 12:34 ` [9fans] exception/interrupt 14 bug - fixed Artem Letko
2002-05-31 19:11   ` Axel Belinfante

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).