Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Current on a Dell OptiPlex 760



Trying to get -current running on an OptiPlex 760 and it generally runs but 
I've found two glitches so far:

1) When you "halt -p", file systems unmount, kernel prints

        acpi0: entering state 5

but it never powers off.

2) -current doesn't recognise the onboard ethernet

So added the following:

Index: pcidevs
===================================================================
RCS file: /src/cvs/netbsd/src/sys/dev/pci/pcidevs,v
retrieving revision 1.960
diff -u -r1.960 pcidevs
--- pcidevs     1 Oct 2008 15:38:14 -0000       1.960
+++ pcidevs     26 Nov 2008 03:31:59 -0000
@@ -2208,6 +2208,7 @@
 product INTEL 82801H_IFE_GT    0x10c4  i82801H IFE (GT) LAN Controller
 product INTEL 82801H_IFE_G     0x10c5  i82801H IFE (G) LAN Controller
 product INTEL 82567V           0x10ce  i82567V LAN controller
+product INTEL 82567LM_3                0x10de  i82567LM-3 LAN Controller
 product INTEL 82815_DC100_HUB  0x1100  82815 Hub
 product INTEL 82815_DC100_AGP  0x1101  82815 AGP
 product INTEL 82815_DC100_GRAPH        0x1102  82815 Graphics
Index: if_wm.c
===================================================================
RCS file: /src/cvs/netbsd/src/sys/dev/pci/if_wm.c,v
retrieving revision 1.161
diff -u -r1.161 if_wm.c
--- if_wm.c     9 Sep 2008 05:54:23 -0000       1.161
+++ if_wm.c     26 Nov 2008 03:36:47 -0000
@@ -848,6 +848,9 @@
        { PCI_VENDOR_INTEL,     PCI_PRODUCT_INTEL_82801I_IGP_C,
          "82801I (C) LAN Controller",
          WM_T_ICH9,            WMP_F_1000T },
+       { PCI_VENDOR_INTEL,     PCI_PRODUCT_INTEL_82567LM_3,
+         "82567LM-3 (C) LAN Controller",
+         WM_T_ICH9,            WMP_F_1000T },
        { 0,                    0,
          NULL,
          0,                    0 },


With the above it sort of works.  dmesg gives:

wm0 at pci0 dev 25 function 0: 82567LM-3 (C) LAN Controller, rev. 2
wm0: interrupting at ioapic0 pin 21
wm0: PCI-Express bus
wm0: FLASH
wm0: Ethernet address 00:21:9b:18:a2:e7
ukphy0 at wm0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000000, model 0x0000, rev. 0
ukphy0: no media present
ifmedia_set: no match for 0x20/0xfffffff

ifconfig gives:

wm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        capabilities=7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,
TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx,TCP6CSUM_Tx,UDP6CSUM_Rx,
UDP6CSUM_Tx,TSO6>
        enabled=0
        address: 00:21:9b:18:a2:e7
        media: Ethernet none
        status: no carrier
        inet 130.195.5.46 netmask 0xffffff00 broadcast 130.195.5.255
        inet6 fe80::221:9bff:fe18:a2e7%wm0 prefixlen 64 scopeid 0x1


The network works but note the no media/no carrier messages.  Presumably 
the PHY isn't being matched/setup properly.

Suggestions on how to fix either or both of the above?

cheers
mark


Home | Main Index | Thread Index | Old Index