linux kernel modules

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
Post Reply
sancho1980
Member
Member
Posts: 199
Joined: Fri Jul 13, 2007 6:37 am
Location: Stuttgart/Germany
Contact:

linux kernel modules

Post by sancho1980 »

hi

ive written a simple cmos driver and try to load it
but when i do insmod, i get

[ 9664.617003] cmos: I/O port 0x70 is not free.

how can i find out which other module is using this port?

thanks

martin
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Re: linux kernel modules

Post by Brynet-Inc »

sancho1980 wrote:hi

ive written a simple cmos driver and try to load it
but when i do insmod, i get

[ 9664.617003] cmos: I/O port 0x70 is not free.

how can i find out which other module is using this port?

thanks

martin
This is not a forum for Linux kernel questions, but stepping outside of this canned response.. perhaps it's conflicting with another module?

Now go eat a cookie, watch some television.. and forget that you posted here.
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: linux kernel modules

Post by Solar »

sancho1980 wrote:how can i find out which other module is using this port?
See Brynet-Inc's answer. Then perhaps grep dmesg output for 0x70...?
Every good solution is obvious once you've found it.
sancho1980
Member
Member
Posts: 199
Joined: Fri Jul 13, 2007 6:37 am
Location: Stuttgart/Germany
Contact:

Re: linux kernel modules

Post by sancho1980 »

Brynet-Inc wrote: This is not a forum for Linux kernel questions, but stepping outside of this canned response.. perhaps it's conflicting with another module?
Right, that's why I asked WHICH other module... (?!?!?)
User avatar
gravaera
Member
Member
Posts: 737
Joined: Tue Jun 02, 2009 4:35 pm
Location: Supporting the cause: Use \tabs to indent code. NOT \x20 spaces.

Re: linux kernel modules

Post by gravaera »

Brynet-Inc wrote: This is not a forum for Linux kernel questions...
True. @OP:

Hi, maybe you could try the http://kernelnewbies.org/KernelHacking Linux KErnel Hacking community instead. I'm sure they'll have something more useful to say. Most people here don't actually re-use parts of the linux kernel, as far as I can tell.

--Good luck
gravaera
17:56 < sortie> Paging is called paging because you need to draw it on pages in your notebook to succeed at it.
Post Reply