Re: [PATCH] nvidia nforce 1.0-261 nvnet for kernel 2.5

From: Andrew de Quincey (adq_dvb@lidskialf.net)
Date: Sun Jul 27 2003 - 06:19:05 EST


On Sunday 27 July 2003 06:59, Rahul Karnik wrote:
> Marcelo Penna Guerra wrote:
> > Hi,
> >
> >>From nvnet.c:
> >
> > /*
> > * Mac address is loaded at boot time into h/w reg, but it's loaded
> > backwards
> > * we get the address, save it, and reverse it. The saved value is
> > loaded * back into address at close time.
> > */
> >
> > PRINTK(DEBUG_INIT, "nvnet_init - get mac address\n");
> > priv->hwapi->pfnGetNodeAddress(priv->hwapi->pADCX, priv-
> >
> >>original_mac_addr);
>
> Well, I wanted to reload the module with debug on, so I tried:
>
> # modprobe -r nvnet
> Segmentation fault
>
> #lsmod
>
> At this point lsmod just hung.
>
> Tried shutting down the computer, and it was stuck during shutdown.
> Seems like the refcounting is not really working, or perhaps there are
> too many cycles happening. What happens if you do the following with a
> module:
>
> try_module_get
> MOD_INC_USE_COUNT
> MOD_DEC_USE_COUNT
> module_put
>
> > But I don't think the only thing missing is the MAC address. You could
> > try to manually set it in the source itself and see if anything works.
>
> I'll just add it in BIOS and try with AMD8111. No desire to futz around
> with the nvnet source, where half of what is going on is a complete
> black box (priv->hwapi, "priv" is definitely *private*).
>
> Thanks,
> Rahul
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:31 EST