Re: [PATCH] Atari EtherNAT (SMC91C111) driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 28 Oct 2007, Michael Schmitz wrote:
You mean MII? Doesn't `select MII' do the right thing?

Did fail (MII compiled in when driver was modular) at least once for me.

Strange. Do you remember what went wrong? Missing exports in MII?

To the contrary - duplicate symbols in both kernel and module. I'll try to
reproduce it.

mii: exports duplicate symbol mii_link_ok (owned by kernel)

(MII was builtin even after I switched to ethernat as module)

The error actually results from a leftover mii.ko with no known function.
Deleted that, and the module loads fine, using the builtin MII. Why it
even attempts to load the obsolete module - no idea. Does depmod double
check that symbols aren't already in the kernel symbol table?

Probably not.

I've seen similar issues with switching from modular to builtin driver
builds: udev will happily load the (old) driver module after scanning
sysfs, while the driver is already builtin.
Always make sure to remove the old *.ko files...

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux