lkml.org 
[lkml]   [2003]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] nvidia nforce 1.0-261 nvnet for kernel 2.5
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.042 / U:2.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site