Driver output: > cm0 at port 0x2e0-0x2ef iomem 0xd0000-0xd07ff irq 5 on isa0 > cm0: [ITHREAD] > cm0: link addr 0xf5 (245) The problem is, the card's address is not 0xF5. The detection would take place in dev/cm/smc90cx6.c (cm_attach): > linkaddress = GETMEM(CMMACOFF); // CMMACOFF is 1 In fact, not only the offset 1, but any offset I read is "0xF5". This leads me to think there could be some breakage around memory handling. smc90cx6var.h: > #define GETMEM(off) \ > bus_space_read_1(rman_get_bustag((sc)->mem_res), \ > rman_get_bushandle((sc)->mem_res), \ > (off)) The card otherwise works fine in DOS and Linux (both can read the link address correctly). I also tried with another card, same model. It made no difference. Also tried setting the card to actually have 0xf5 link address, but it still didn't work. How-To-Repeat: Try to use it.
Responsible Changed From-To: freebsd-i386->freebsd-net Reclassify and assign. Note to submitter: I haven't heard of any ArcNet cards in a long time. Unfortunately, you may be the only person who is in a position to debug and fix this.
Tried older kernels, the last release from the v5.x tree was broken too. I can provide a test environment. Compensation will be given for the fix, if that's an incentive.
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped
A commit references this bug: Author: brooks Date: Fri Apr 13 21:18:07 UTC 2018 New revision: 332490 URL: https://svnweb.freebsd.org/changeset/base/332490 Log: Remove support for the Arcnet protocol. While Arcnet has some continued deployment in industrial controls, the lack of drivers for any of the PCI, USB, or PCIe NICs on the market suggests such users aren't running FreeBSD. Evidence in the PR database suggests that the cm(4) driver (our sole Arcnet NIC) was broken in 5.0 and has not worked since. PR: 182297 Reviewed by: jhibbits, vangyzen Relnotes: yes Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D15057 Changes: head/ObsoleteFiles.inc head/UPDATING head/contrib/bsnmp/snmp_mibII/mibII.c head/lib/libc/net/getnameinfo.c head/share/man/man4/Makefile head/share/man/man4/cm.4 head/stand/i386/libi386/pxe.h head/sys/conf/NOTES head/sys/conf/files head/sys/conf/files.i386 head/sys/dev/cm/if_cm_isa.c head/sys/dev/cm/smc90cx6.c head/sys/dev/cm/smc90cx6reg.h head/sys/dev/cm/smc90cx6var.h head/sys/modules/Makefile head/sys/modules/arcnet/Makefile head/sys/modules/cm/Makefile head/sys/net/if.c head/sys/net/if_arc.h head/sys/net/if_arcsubr.c head/sys/net/if_arp.h head/sys/netinet/if_ether.c head/sys/netinet6/in6.c head/sys/netinet6/in6_ifattach.c head/sys/netinet6/nd6.c head/sys/netinet6/nd6_nbr.c
Driver removed in CURRENT. It seems implausible anyone will try to fix it in older versions so close this now.
A commit references this bug: Author: eadler Date: Sat Apr 14 08:05:42 UTC 2018 New revision: 332500 URL: https://svnweb.freebsd.org/changeset/base/332500 Log: sys: remove 'cm' from notes Followup to r332490 MFC After: never PR: 182297 Changes: head/sys/conf/NOTES