Current-Users archive

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

Re: wm devices don't work under current amd64



Hi.

On 2016/03/10 2:40, Tom Ivar Helbekkmo wrote:
> Masanobu SAITOH <msaitoh%execsw.org@localhost> writes:
> 
>>  A bug must be exist. sborrill@ repored vlan related probem before. One of
>> the problem is that I can't reproduce the problem with my machines...
>> If I can reproduce the problem with my machine, I can fix it...
> 
> Well, I know a bit more about the problem with the laptop, now.  It's
> something to do with MSI.  I observed that the (non-working) kernel had
> logged exactly one MSI interrupt, which I figured was the one from the
> autoconfiguration.  There's a place in if_wm.c where MSI is masked out
> for a couple of versions of the Intel chip.  Adding the version in the
> Dell Latitude E640 laptop to that list, so it fell back to traditional
> IRQ handling, made the interface start working properly:
> 
> 	if ((sc->sc_type <= WM_T_82541_2) || (sc->sc_type == WM_T_82571)
> 	    || (sc->sc_type == WM_T_82572) || (sc->sc_type == WM_T_ICH9))
> 		pa->pa_flags &= ~PCI_FLAGS_MSI_OKAY;

 You mean your machine works with INTx but it doesn't work on MSI, right?
If so, could you show the full dmesg of the machine?

 And, did you test if your machine's problem does occur "without" vlan?


> (The WM_T_ICH9 is the one in the laptop.)  No idea yet about the Dell
> Poweredge 2650.  I'll see if I can take a closer look at that tomorrow.
> 
> -tih



-- 
-----------------------------------------------
                SAITOH Masanobu (msaitoh%execsw.org@localhost
                                 msaitoh%netbsd.org@localhost)


Home | Main Index | Thread Index | Old Index