NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/59075: `gem0: no Ethernet address found'
>Number: 59075
>Category: kern
>Synopsis: `gem0: no Ethernet address found'
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 13 17:10:00 +0000 2025
>Originator: Emmanuel Nyarko
>Release: 10.0
>Organization:
>Environment:
NetBSD 10.99.12
>Description:
https://nxr.netbsd.org/xref/src/sys/dev/pci/if_gem_pci.c?r=1.52#156
https://nxr.netbsd.org/xref/src/sys/dev/pci/if_gem_pci.c?r=1.52#234
https://nxr.netbsd.org/xref/src/sys/dev/pci/if_gem_pci.c?r=1.52#265
https://nxr.netbsd.org/xref/src/sys/dev/pci/if_gem_pci.c?r=1.52#266
was broken by this commit:
https://mail-index.netbsd.org/source-changes/2020/05/30/msg117884.html
>How-To-Repeat:
Using gem device over a pci bus on a machine where the MAC address comes from the extended ROM
>Fix:
the wrong buffer size( sizeof pointer) used when reading data through the pci bus. so we should use the right size.
Home |
Main Index |
Thread Index |
Old Index