Bug 18336

Summary: 3C905B-COMBO cannot find 10base-2 LAN
Product: Base System Reporter: tparquet <tparquet>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-RELEASE   
Hardware: Any   
OS: Any   

Description tparquet 2000-05-02 04:10:01 UTC
The 3C905B card worked correctly under 3.4-RELEASE connected to my
10base-2 lan.  The hardware didn't change.
I installed 4.0-RELEASE over the Internet and the problem started.
(I no longer have the 3.4-RELEASE available for comparison.)

After boot, the machine will not talk to, or see the 10base-2 lan.
Pings return Host is down, tcpdump returns nothing.  A 3.4-RELEASE
machine on the same segment shows activity when tcpdump is issued.

If you ping the 4.0-RELEASE machine, pings return host is down.

I don't know if it makes a difference or not but xl0 also has isc-dhcpd
bound to it.  This gateway is also the dhcp server for the segment attached
to the xl0 nic.

Fix: 

When the boot is complete, signon as root and enter:
ifconfg xl0 media 10base2/BNC.

At this point, the machine works normally.
This is the only repeatable way I have found to get around the problem.
How-To-Repeat: Set the nic to automatic configuration.  (I don't have the exact words
but it is supposed to automatically determine the media type.)

In rc.conf: 
ifconfig_xl0="inet 192.168.0.1 media autoselect netmask 255.255.255.224"
Boot the machine.
ifconfig xl0 returns:
xl0: flags=8843<up,broadcast,running,simplex,multicast> mtu 1500
inet 192.168.0.1 netmask 0xffffffe0 broadcast 192.168.0.31
ether: 00:50:04:6c:bf:21 media: autoselect(none) status: no carrier
Ping 192.168.0.6
Ping: sendto: host is down
Enter ifconfig xl0 media 10base2/BNC
Ping 192.168.0.6 
Ping works
Comment 1 iedowse freebsd_committer freebsd_triage 2001-12-02 21:02:58 UTC
State Changed
From-To: open->feedback


Does this still occur? I'm not sure if autonegotiation for 10base-2 
media is supposed to work on these cards, but adding the "media 
10base2/BNC" setting to the "ifconfig_xl0" line in /etc/rc.conf 
should work around the issue.
Comment 2 iedowse 2002-01-13 18:20:06 UTC
Adding to the audit trail:

In message <3C218D44.6DB791A6@twcny.rr.com>, Tom Parquette writes:
>iedowse@FreeBSD.org wrote:
>
>> Synopsis: 3C905B-COMBO cannot find 10base-2 LAN
>>
>> State-Changed-From-To: open->feedback
>> State-Changed-By: iedowse
>> State-Changed-When: Sun Dec 2 13:02:58 PST 2001
>> State-Changed-Why:
>>
>> Does this still occur? I'm not sure if autonegotiation for 10base-2
>> media is supposed to work on these cards, but adding the "media
>> 10base2/BNC" setting to the "ifconfig_xl0" line in /etc/rc.conf
>> should work around the issue.
>>
>> http://www.FreeBSD.org/cgi/query-pr.cgi?pr=18336
>
>Sorry it took me so long to get back to you.
>This grew out of, IMHO, an interaction between the 3C905B and a 3C900
>card I had in the same machine.
>When I took the 3C900 out of the box, the problem disappeared.  While
>this was not a conclusive test, I put the 3C900 in another machine and
>the 3C900 worked.
>
>Once I took the 3C900 card out, the 3C905B would figure out, correctly,
>what media type it was connected to.
>
>With the 3C900 card in place even the media command would not get the
>3C905B to recognize the 10base-2 connection.
>
>I no longer use both of these cards in the same machine.
>I "fixed" the problem by avoiding the problem.
>Sorry I can't be more help.
>Cheers...
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-bugs" in the body of the message
Comment 3 iedowse freebsd_committer freebsd_triage 2002-06-02 12:09:40 UTC
State Changed
From-To: feedback->closed


Submitter no longer uses the problematic configuration.