9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Philipp <philipp@riseup.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] Problems with igbe
Date: Sun, 25 Nov 2007 14:45:52 +0100	[thread overview]
Message-ID: <20071125134552.GA9215@localdomain> (raw)
In-Reply-To: <493db713aadea2bcac0f0a9885f14f32@quanstro.net>

On 07:25 Sun 25 Nov     , erik quanstrom wrote:
> > Hi!
> > Commenting out /sys/src/9/pc/etherigbe.c:1767 worked for me, at
> > least, for a while. It was kind of obvious, so maybe my mail was
> > kind of spam. But commenting it out is not all. #l is set up now,
> > but /net/ether0/addr gives me now sth. like ffffffff, so maybe
> > that's why i never get a connection to my dhcpd. I think that
> > has sth. to do with some function which sets up/reads the mac
> > address and isn't (correctly) implemented for my controller,
> > but I don't know much about nic drivers.
> > 
> > Best regards,
> > Philipp
> 
> okay, the reason the eeprom checksum is wrong is that the data
> coming from your card.  this is where the station address aka mac is stored.
> and other important defaults. so either we're doing it wrong or it really is corrupt.
> 
> the first option is more attactive.  in at93c46r() there's a switch statement
> on what type of ctlr you have.  try adding your controller type after
> 	case i82546eb:
> perhaps igbe is using the wrong method.
> 
> - erik
Hi!
Yeah, exactly, that's it. And because igbe used the default case here (btw. we
had a discussion in irc about default cases at the beginning of the switch statement)
the some EEPROM stuff failed (there's also no bad EEPROM checksum message anymore),
resulting in a invalid mac address.
Thanks for this great remote diagnostics and keeping patient with me.

Best regards,
Philipp


  reply	other threads:[~2007-11-25 13:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-24 16:25 Philipp
2007-11-24 21:27 ` erik quanstrom
     [not found] ` <a9a2c5cdd51a6e4de496f3531b7b86f3@quanstro.net>
2007-11-24 23:51   ` Philipp
2007-11-25 12:25     ` erik quanstrom
2007-11-25 13:45       ` Philipp [this message]
2007-11-25 14:26         ` erik quanstrom

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=20071125134552.GA9215@localdomain \
    --to=philipp@riseup.net \
    --cc=9fans@cse.psu.edu \
    /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).