Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
See more:
Hello,
I have a PC with Ubuntu 14.04.
I'm writing some device drivers for Linux Kernel 2.6.x, i would like to test the modules using the insmod and rmmod utilities on my PC.
Is there some way to do it although the runing kernel on my PC is not 2.6.x?

Thanks.
Posted
Updated 10-Apr-16 15:08pm
Comments
Richard MacCutchan 12-Dec-15 4:56am    
If the kernel is not 2.6.x then how could you expect to test against it?
columbos14927 12-Dec-15 9:35am    
Hello,
Thanks for the comment.
I thought that there is some tool or utility for that purpose something in virtual machine style.
Richard MacCutchan 12-Dec-15 11:36am    
Well you could run a different version in a Virtual Machine, but the kernel on its own cannot do anything much.

1 solution

In order for you to test against a specific kernel version, you need to have that kernel version installed and running. You can do this within a virtual machine. Here are a few options from Ubuntu.[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900