Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  4 Oct 1999 11:09:29 -0700 (PDT)
From:      boxiao63@hotmail.com
To:        freebsd-gnats-submit@freebsd.org
Subject:   kern/14122: lnc driver is not working
Message-ID:  <19991004180929.62F18156E7@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         14122
>Category:       kern
>Synopsis:       lnc driver is not working
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct  4 11:10:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     bo xiao
>Release:        3.2 and 3.3
>Organization:
>Environment:
>Description:
3.2 and 3.3 claimed AMD fastether chips(79C752) were supported but 
it never worked (for me). Does anyone have it running?

GENERIC does NOT see lnc0. I built my own kernel. It found the card
as lnc1 but failed at port mapping. 

I went in the code pci/if_lnc_p.c and found it failed because 
pci_porten(pcicfgregs *cfg) returned 0 in pci_map_port(). cmdreg
was all 0. I tried to enable the port like many other drivers,
then re-read the cmdreg. It passed this point. So there is an 
order problem.

Then the kernel complains int 255 was too high although I config
it as 0x0a. intline was 0xff. I forced it to 0x0a. 

Now pci_wiredunit(cfg, dvp->pd_name) in pci_drvattach() gives a
huge negitive number. And my unit number is set to 1 after all.

Boots up fine. Finds the device and I can config the card.
But it is getting timeouts all the time and keeps resetting.
Never works. 

So after spending a day on this, it seems a better option
is to get another card. 

But I thought it was worth to report what I saw so some one 
else may get it fixed. 

Thanks.

Bo

>How-To-Repeat:
boot up the kernel.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991004180929.62F18156E7>