Subject: Dell Optiplex 745
To: NetBSD Current Users <current-users@netbsd.org>
From: Phil Nelson <phil@cs.wwu.edu>
List: current-users
Date: 08/02/2007 22:05:15
--nextPart3198712.3DNmoRg32h
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,

  I've recently had a bunch of 745s appear on which I want NetBSD
to work.  The Broadcom BCM5754 network was recognized but not
configured.   I added the extra lines to sys/dev/if_bge.c to recognize
that card as supported by the bge driver.   I didn't add anything to
the quirks area so I'm not sure I got the generic quirks set up properly.

  In any case, I get the following at configure time.

bge0 at pci2 dev 0 function 0: Broadcom BCM5754 10/100/1000 Ethernet
bge0: interrupting at ioapic0 pin 16 (irq 11)
bge0: firmware handshake timed out, val =3D 4b657654
bge0: unknown ASIC (0xb002), Ethernet address 00:1a:a0:4d:f5:2e

I don't know if the firmware handshake time out is due to a completely
different handshake or if it is just some missing quirk definition.

When I run "ifconfig bge0 x.y.z.t ..." I got:

bge0: block failed to stop: reg 0x3800, bit 0x00000002
bge0: firmware handshake timed out, val =3D 4b657654
uhci0: host controller halted

The timeout looks similar.

"ifconfig bge" returns:

bge0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        capabilities=3D3f80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM=
_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx>
        enabled=3D0
        address: 00:1a:a0:4d:f5:2e
        media: Ethernet autoselect (100baseTX full-duplex,flowcontrol,rxpau=
se,txpause)
        status: active
        inet  192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
        inet6 fe80::21a:a0ff:fe4d:f52e%bge0 prefixlen 64 scopeid 0x1

So it appears to be doing something.  I'd really like to get this working i=
f someone can help me
get the proper clue, I should be able to do some debugging.

This is done with current of Aug 2.

=2D-Phil

p.s.  This machine needed to have the on-board audio turned off so the boot=
 wouldn't hang=20
between the cd0 and the boot device lines below.  Then turned on, the audio=
 appears as
azalia0.  I didn't break to the debugger yet, but that is on my list to do =
at some point.
Also this was running GENERIC.MP with all of the pci audio except azalia co=
mmented out.

cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
boot device: wd0

=2D-=20
Phil Nelson (phil@cs.wwu.edu) http://www.cs.wwu.edu/nelson
NetBSD: http://www.NetBSD.org  Coda: http://www.coda.cs.cmu.edu


--nextPart3198712.3DNmoRg32h
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)

iD8DBQBGsreLzbodwsP3RI0RAmv0AKCE5Vo5C/HloN/01hZBG/ttkUB/+QCfTX+v
cfuaDqqm3GVTaZUcuF2uaHs=
=aF4f
-----END PGP SIGNATURE-----

--nextPart3198712.3DNmoRg32h--