From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sun, 25 Nov 2007 00:51:50 +0100 From: Philipp To: 9fans@cse.psu.edu Subject: Re: [9fans] Problems with igbe Message-ID: <20071124235150.GB12094@localdomain> References: <20071124162501.GA4476@localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) Topicbox-Message-UUID: 0adfb80e-ead3-11e9-9d60-3106f5b1d025 On 16:27 Sat 24 Nov , erik quanstrom wrote: > the datasheet for this part says that the eeprom checksum > for this part must be 0xbaba. its calculated at the end of > /sys/src/9/pc/etherigbe.c:^/at93c46r. > > the reason for two bad checksum messages is likely that you > have a two port card. both ports share the same eeprom. > if this is true, you may need to change :1775 from > if ((ctlr->id == i82546gb || ctlr->id == i82546eb) && > to > if ((ctlr->id == i82546gb || ctlr->id == i82546eb || ctlr->id == i82547ei) && > (this isn't really the correct test, but i don't have the datasheet > for the 82547 handy. close enough.) > > it is possible that the eeprom does have an invalid signature > but will still work. you can attempt this by commenting out > /sys/src/9/pc/etherigbe.c:1767. > > - erik 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