msk watchdog timeout

Pyun YongHyeon pyunyh at gmail.com
Mon Oct 1 17:49:05 PDT 2007


On Mon, Oct 01, 2007 at 10:07:34PM +0800, Kudo Chien wrote:
 > Hi,
 > 
 > I've applied the patch. But it seems not solve the problem.
 > After applied patch, mskc0 boot message changes from 'mskc0: [ITHREAD]' to
 > 'mskc0: [FILTER]'.
 > 

It just means it uses fast interrupt handler now. Previously you may
have disabled it.(hw.msk.legacy_intr=1).

 > And one thing I forgot to provide before is that a line in boot message
 > "mskc0: <Marvell Yukon 88E8056 Gigabit Ethernet> port 0xa000-0xa0ff mem
 > 0xf1000000-0xf1003fff irq 16 at device 0.0 on pci3"
 > 
 > 
 > I'm not sure if it could be helpful. But if you need any infomation, I could
 > provide it.
 > Thanks for your help.
 > 

As I said I don't have this hardware to experiment so it would take
long time to fix it. I'd like to know chaging PHY driver has any
effect in your case. Edit /usr/src/sys/dev/mii/e1000phy.c with
the following.

From:
     96 static const struct mii_phydesc e1000phys[] = {
     97         MII_PHY_DESC(MARVELL, E1000),
     98         MII_PHY_DESC(MARVELL, E1011),
     99         MII_PHY_DESC(MARVELL, E1000_3),
    100         MII_PHY_DESC(MARVELL, E1000S),
    101         MII_PHY_DESC(MARVELL, E1000_5),
    102         MII_PHY_DESC(MARVELL, E1000_6),
    103         MII_PHY_DESC(MARVELL, E3082),
    104         MII_PHY_DESC(MARVELL, E1112),
    105         MII_PHY_DESC(MARVELL, E1149),
    106         MII_PHY_DESC(MARVELL, E1111),
    107         MII_PHY_DESC(MARVELL, E1116),

To:
     96 static const struct mii_phydesc e1000phys[] = {
     97         MII_PHY_DESC(MARVELL, E1000),
     98         MII_PHY_DESC(MARVELL, E1011),
     99         MII_PHY_DESC(MARVELL, E1000_3),
    100         MII_PHY_DESC(MARVELL, E1000S),
    101         MII_PHY_DESC(MARVELL, E1000_5),
    102         MII_PHY_DESC(MARVELL, E1000_6),
    103         MII_PHY_DESC(MARVELL, E3082),
    104         MII_PHY_DESC(MARVELL, E1112),
    105         /*MII_PHY_DESC(MARVELL, E1149),*/
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    106         MII_PHY_DESC(MARVELL, E1111),
    107         MII_PHY_DESC(MARVELL, E1116),

Save and rebuild kernel. This makes ukphy(4) serve 88E1149 PHY.
Do you still see the same error from msk(4) after above change?
-- 
Regards,
Pyun YongHyeon


More information about the freebsd-current mailing list