NetBSD Problem Report #50355

From www@NetBSD.org  Wed Oct 21 22:02:02 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 63497A6531
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 21 Oct 2015 22:02:02 +0000 (UTC)
Message-Id: <20151021220201.3B0AEA6562@mollari.NetBSD.org>
Date: Wed, 21 Oct 2015 22:02:01 +0000 (UTC)
From: paulogeyer@gmail.com
Reply-To: paulogeyer@gmail.com
To: gnats-bugs@NetBSD.org
Subject: bce driver can't sense carrier
X-Send-Pr-Version: www-1.0

>Number:         50355
>Category:       kern
>Synopsis:       bce driver can't sense carrier
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 21 22:05:00 +0000 2015
>Last-Modified:  Wed Oct 28 07:50:00 +0000 2015
>Originator:     Paulo Geyer
>Release:        7.0
>Organization:
>Environment:
>Description:
The bce driver is loaded and I have a bce0 interface listed in ifconfig, but when I plug the ethernet cable, it doesn't change the carrier status

The computer is an Acer Aspire 5630
>How-To-Repeat:

>Fix:

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/50355: bce driver can't sense carrier
Date: Thu, 22 Oct 2015 09:54:11 +0200

 On Wed, Oct 21, 2015 at 10:05:00PM +0000, paulogeyer@gmail.com wrote:
 > The bce driver is loaded and I have a bce0 interface listed in
 > ifconfig, but when I plug the ethernet cable, it doesn't change the
 > carrier status

 Can you please show the part of dmesg that talks about bce0 ?

 Thanks,

 Martin

From: Paulo Geyer <paulogeyer@gmail.com>
To: gnats-bugs@netbsd.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: kern/50355: bce driver can't sense carrier
Date: Thu, 22 Oct 2015 09:15:08 -0200

 dmesg | grep bce
 bce at pci5 dev 1 function 0: Broadcom BCM4401-80 10/100 Ethernet
 bce0 interrupt at ioapic0 pin 21
 bmtphy0 at bce0 phy 1: BCM4401 10/100 media interface, rev. 0
 bce0: Ethernet address 00:16:d4:b4:ad:cf

 I've ordered some usb ethernet interfaces, so I can put this machine
 online and download debugging tools, I should have it in a few days

 On Thu, Oct 22, 2015 at 5:55 AM, Martin Husemann <martin@duskware.de> wrote:
 > The following reply was made to PR kern/50355; it has been noted by GNATS.
 >
 > From: Martin Husemann <martin@duskware.de>
 > To: gnats-bugs@NetBSD.org
 > Cc:
 > Subject: Re: kern/50355: bce driver can't sense carrier
 > Date: Thu, 22 Oct 2015 09:54:11 +0200
 >
 >  On Wed, Oct 21, 2015 at 10:05:00PM +0000, paulogeyer@gmail.com wrote:
 >  > The bce driver is loaded and I have a bce0 interface listed in
 >  > ifconfig, but when I plug the ethernet cable, it doesn't change the
 >  > carrier status
 >
 >  Can you please show the part of dmesg that talks about bce0 ?
 >
 >  Thanks,
 >
 >  Martin
 >

From: Martin Husemann <martin@duskware.de>
To: Paulo Geyer <paulogeyer@gmail.com>
Cc: gnats-bugs@netbsd.org
Subject: Re: kern/50355: bce driver can't sense carrier
Date: Fri, 23 Oct 2015 09:09:51 +0200

 On Thu, Oct 22, 2015 at 09:15:08AM -0200, Paulo Geyer wrote:
 > dmesg | grep bce
 > bce at pci5 dev 1 function 0: Broadcom BCM4401-80 10/100 Ethernet
 > bce0 interrupt at ioapic0 pin 21
 > bmtphy0 at bce0 phy 1: BCM4401 10/100 media interface, rev. 0
 > bce0: Ethernet address 00:16:d4:b4:ad:cf

 Can you try booting with -c and then "disable bmtphy"?

 Martin

From: Paulo Geyer <paulogeyer@gmail.com>
To: Martin Husemann <martin@duskware.de>
Cc: gnats-bugs@netbsd.org
Subject: Re: kern/50355: bce driver can't sense carrier
Date: Tue, 27 Oct 2015 15:52:38 -0200

 Hi Martin,

 I tried disabling bmtphy, but didn't work.

 I got the usb ethernet adapter today, now I can download any debugging
 tools I need to solve this

 On Fri, Oct 23, 2015 at 5:09 AM, Martin Husemann <martin@duskware.de> wrote:
 > On Thu, Oct 22, 2015 at 09:15:08AM -0200, Paulo Geyer wrote:
 >> dmesg | grep bce
 >> bce at pci5 dev 1 function 0: Broadcom BCM4401-80 10/100 Ethernet
 >> bce0 interrupt at ioapic0 pin 21
 >> bmtphy0 at bce0 phy 1: BCM4401 10/100 media interface, rev. 0
 >> bce0: Ethernet address 00:16:d4:b4:ad:cf
 >
 > Can you try booting with -c and then "disable bmtphy"?
 >
 > Martin

From: Martin Husemann <martin@duskware.de>
To: Paulo Geyer <paulogeyer@gmail.com>
Cc: gnats-bugs@netbsd.org
Subject: Re: kern/50355: bce driver can't sense carrier
Date: Wed, 28 Oct 2015 08:48:57 +0100

 On Tue, Oct 27, 2015 at 03:52:38PM -0200, Paulo Geyer wrote:
 > Hi Martin,
 > 
 > I tried disabling bmtphy, but didn't work.

 So you got ukphy0 instead and carrier status still did not change?
 Sounds like your chip needs some special quirks. Any bce experts?

 Martin

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.