Skip to contentSkip to conversation

Why backend permanent?

DISCUSSION Jae-Wan Jang 2 participants 2 messages May 31, 2007

lore
Share & tools
lore
#0 lore raw

Hello, friends

I wonder why netbk and all the backend device drivers are permanent module.
I think they are modules but don't have module_exit function.

In this case, how can I debug or develop new backend device driver without rebooting the whole system?

Sincerely yours,
Jae-Wan Jang

Signature · 4 lines
Jae-Wan Jang
[email protected]
+82-42-869-3559
http://camars.kaist.ac.kr/~jwjang
#1 lore raw
Quoted 5 lines · Jae-Wan Jang

Hello, friends

I wonder why netbk and all the backend device drivers are permanent module.
I think they are modules but don't have module_exit function.

If they do not have a module_exit, this means they are supposed to be compiled in the kernel statically and thus cannot be compiled a modules.

Quoted 3 lines

In this case, how can I debug or develop new backend device driver without rebooting the whole system?

I wonder if that is an obligation from a developer's point of view? Did you try building a dummy backend module?
Does it spits some warnings or crashes Xen on insmod?

Thanks
--psr

Quoted 18 lines

Sincerely yours,
Jae-Wan Jang

--

Jae-Wan Jang
[email protected]
+82-42-869-3559
http://camars.kaist.ac.kr/~jwjang

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Signature · 4 lines
---
pradeep singh rautela

"Genius is 1% inspiration, and 99% perspiration" - not me :)