Date: Tue, 2 Oct 2007 09:45:21 +0900 From: Pyun YongHyeon <pyunyh@gmail.com> To: Kudo Chien <ckchien@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: msk watchdog timeout Message-ID: <20071002004521.GH18658@cdnetworks.co.kr> In-Reply-To: <8bebfc960710010707o4b7e9b2cif086e35b4f8f736d@mail.gmail.com> References: <8bebfc960710010039q3ae744b9h71f785f6e3a4634d@mail.gmail.com> <20071001080058.GE18658@cdnetworks.co.kr> <8bebfc960710010707o4b7e9b2cif086e35b4f8f736d@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071002004521.GH18658>
