9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Kenji Okamoto okamoto@earth.cias.osakafu-u.ac.jp
Subject: Bug of 3C509 driver in 9/pc/9pc ?
Date: Tue, 10 Oct 1995 04:59:41 -0400	[thread overview]
Message-ID: <19951010085941.IecutwZJGb2wkbxS9ppET_Yo69afGPiZ0wmPeQkQhqM@z> (raw)

When I tried to set-up a 486 machine as a file server, the boot floppy
hang after showing several messages on the display:

found 9pcfs  attr 0x1, start 0x79a

<next page>

ether0: 3C509: port 300 irq 5 addr 0 size 0 width 16: xxxxxxxxxxxx
                                                        ^---real address

<next page>
tcm509: activate  (hang-up here, with the floppy LED is ON forever).

My 3C509B has the feature as follows:

Adapter type:                combo
Date of manufacture:          6/13/95
Division code:                6
Product code:                 BZ
I/O base address:             300H
Interrupt request level:      5
Boot PROM size:               disabled
Transceiver type:             auto select


On this 3C509B card, I'm also experiencing strange behaviour when I
use the machine as a terminal with local disk of fully installed CDROM.
At the boot time (still in CGA mode (I think in b.com mode), I can see
the messages on the display as below:

2508 free pages, 10032K bytes, swap 52912K, highwater 500K, headroom 624K
CPU is a 33 MHz Intel486DX (cpuid: ax 400 dx 0)
ether0: 3C509: port 300 irq 5 addr 0 size 0 width 16: xxxxxxxxxxxx
scsi0: aha1542: port 330 irq 11, dma 5,

and after VGA mode,

/bin/dossrv 21: serving #s/dos

ipconfig: local IP address not found, IP not configured.
            To use IP, edit /lib/ndb/local and reboot.

Of course, I have 'sys' entry for this machine in /lib/ndb/local.

This never happenes when I forced to set the sysname in /rc/bin/termrc,
like sysname=andesite.

Then, I looked into the source of /sys/src/cmd/ndb/cs.c, and I got
the conclusion that it failed to get 'myetheraddr' from the 3C509 board
(before the line 725 of cs.c (if(*ipa==0 && isether)).
However, we can get the data from the b.com, as I showed above.  

Therefore, I'm now doubting the 3C509B driver of the 9pc.  In fact,
it's different from that in boot/pc.

I'd be happy, if sopmeone could point me the real reason.

Thanks in advance.

Kenji







             reply	other threads:[~1995-10-10  8:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-10-10  8:59 Kenji [this message]
1995-10-10 16:50 jmk
1995-10-13 20:22 James

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=19951010085941.IecutwZJGb2wkbxS9ppET_Yo69afGPiZ0wmPeQkQhqM@z \
    --to=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).