more marvell marvels

Vincent Barus vibarus at googlemail.com
Thu Jan 15 06:43:33 PST 2009


On Fri, Jan 9, 2009 at 1:19 PM, Pyun YongHyeon <pyunyh at gmail.com> wrote:
> On Fri, Jan 09, 2009 at 01:48:24PM +0200, Danny Braniss wrote:
>  > hi, the mb is asus P5K-VM, the onboard nic is, acccording to pciconf:
>  >
>  > mskc0 at pci0:1:0:0:       class=0x020000 card=0x81f81043 chip=0x436411ab
>  > rev=0x12 hdr=0x00
>  >     vendor     = 'Marvell Semiconductor (Was: Galileo Technology Ltd)'
>  >     device     = '88E8056 Yukon PCI-E Gigabit Ethernet Controller'
>  >     class      = network
>  >     subclass   = ethernet
>  >     cap 01[48] = powerspec 3  supports D0 D1 D2 D3  current D0
>  >     cap 03[50] = VPD
>  >     cap 05[5c] = MSI supports 1 message, 64 bit
>  >     cap 10[e0] = PCI-Express 1 legacy endpoint
>  >
>  > nothing new here, problems have been reported before, but:
>  >
>  > my very first attempt - after a very long time - of booting 7.1-stable,
>  > produced
>  > a panic because msk could not find its physio, by the time i had the serial
>  > console
>  > attached and working, that problem disappeared :-(
>  > now, after reboot, it sometimes hangs - because the net is not working, and
>  > only if
>  > I unplug the ethernet, (no signs of the driver seeing this), and replug things
>  > begin
>  > to work. btw, i had to set
>  >       hw.msk.legacy_intr="1"
>  > to get things working.
>  >
>  > any patches for 7.1-stable to test?
>  >
>
> If memory serve me right you have Yukon EC Ultra with 88E1149 PHY,
> right? CURRENT has some stability fixes but the source wouldn't be
> compiled on stable/7 yet due to KPI differences. I have plan to add
> some features in next week which make it possible to use HEAD
> version on stable/7.
>
> I'm not sure the patch for 88E8040 could be applied to stable/7
> but the patch has some fixes for link state handling. Would you
> give it try?
> http://people.freebsd.org/~yongari/msk/msk.88E8040.patch14
> Note, the 88E8040 patch is not complete yet and may cause other
> problems too.
>
> --
> Regards,
> Pyun YongHyeon
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>

Hi  Pyun,

are if_msk.c and if_mskreg.h from
http://people.freebsd.org/~yongari/msk/ the patched version?
With this files I get an error Message regarding
MEXTADD(m, buf, MSK_JLEN, msk_jfree, buf,
	    (struct msk_if_softc *)sc_if, 0, EXT_NET_DRV);

Is there a "buf," too much? I deleted the second "buf," and I was able
to compile the Kernel.
But I can't assign an IP with dhcp because msk0 always goes up and down.

This is my nic:

pci3: domain=0, physical bus=3
found-> vendor=0x11ab, dev=0x4354, revid=0x13
domain=0, bus=3, slot=0, func=0
class=02-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=5
powerspec 3 supports D0 D1 D2 D3 current D0
MSI supports 1 message, 64 bit
map[10]: type Memory, range 64, base 0xf0200000, size 14, enabled

none2 at pci0:3:0:0: class=0x020000 card=0xca00144d chip=0x435411ab
rev=0x13 hdr=0x00
vendor = 'Marvell Semiconductor (Was: Galileo Technology Ltd)'
class = network
subclass = ethernet
cap 01[48] = powerspec 3 supports D0 D1 D2 D3 current D0
cap 05[5c] = MSI supports 1 message, 64 bit
cap 10[c0] = PCI-Express 2 legacy endpoint

Regards,

~ vb


More information about the freebsd-stable mailing list