Skip to contentSkip to conversation

why cannot unload ipv6 module ?

DISCUSSION Zheng Jianping 3 participants 5 messages Nov 14, 2002

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

I complie IPv6 as module and install it. But when I try to unload it, I failed. How can I make IPv6 module unload?

Thanks,
Zheng

[[HTML alternate version deleted]]

#1 lore raw

In article <001801c28bb8$cd749c50$6c06a8c0@zhengjp> (at Thu, 14 Nov 2002 16:35:35 +0800), "Zheng Jianping" <[email protected]> says:

Quoted 2 lines

I complie IPv6 as module and install it. But when I try to unload it, I failed. How can I make IPv6 module unload?

unloading ipv6 module is not supported.

Signature · 2 lines
Hideaki YOSHIFUJI @ USAGI Project <[email protected]>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA
#2 lore raw
Quoted 2 lines
Quoted 2 lines

I complie IPv6 as module and install it. But when I try to unload it, I

failed.

Quoted 4 lines
Quoted 1 line

How can I make IPv6 module unload?

unloading ipv6 module is not supported.

Can I modify the IPv6 source code to make unloading supported? If yes, how to modify it?

Zheng

#3 lore raw

--On Thursday, November 14, 2002 07:35:57 PM +0800 Zheng Jianping

Quoted 10 lines · <[email protected]> wrote:
Quoted 3 lines
Quoted 3 lines

I complie IPv6 as module and install it. But when I try to unload it, I

failed.

Quoted 4 lines
Quoted 1 line

How can I make IPv6 module unload?

unloading ipv6 module is not supported.

Can I modify the IPv6 source code to make unloading supported? If yes, how to modify it?

A little bit offtopic:

does anyone know the state about the work on the ipv*4* module? There was some rumour some months ago.

Would be nice if some day in the future an IPv6-only Linux box would be possible.

Peter

---
Dr. Peter Bieringer
mailto: pb at bieringer dot de
http://www.bieringer.de/pb/
Key 0x958F422D : B501 24F4 9418 23E2 C0F3 F833 7B57 AA7B 958F 422D

#4 lore raw
In reply to Zheng Jianping

In article <000e01c28bd1$ffdaf2c0$6c06a8c0@zhengjp> (at Thu, 14 Nov 2002 19:35:57 +0800), "Zheng Jianping" <[email protected]> says:

Quoted 7 lines
Quoted 1 line
Quoted 1 line

I complie IPv6 as module and install it. But when I try to unload it, I

failed.

Quoted 4 lines
Quoted 1 line

How can I make IPv6 module unload?

unloading ipv6 module is not supported.

Can I modify the IPv6 source code to make unloading supported?

You could.

Quoted 1 line

If yes, how to modify it?

In fact, you can unload if you pass "unloading=1" when loading. But, rmmod ipv6 does not work properly and we cannot insmod ipv6 again. We've fixed this (and code is in our (USAGI Project
<http://www.linux-ipv6.org>'s) tree), but kernel panics if we unloaded ipv6 module when *any* ipv6 sockets exist.

BTW, Don't you think that if we knew all, we've done it? :-)

Signature · 2 lines
Hideaki YOSHIFUJI @ USAGI Project <[email protected]>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA