It is probably because the port is in use by the linux serial driver.


Here are a few previous messages that may help.

Regards,

Rich

-----Original Message-----
From: Pfistner [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 13, 1999 8:18 AM
To: [EMAIL PROTECTED]
Subject: [rtl] rt_com: insmod failed
Importance: Low


insmod rt_com fails with
'init_module: Device or resource busy'

check_region( p->port, 8 ) seems to fail in init_module() in rt_com.c

How to get it working? Is there anything I'm missing? I need to get it
running as soon as possible!!!
Help is appreciated!

---------------------------------------------------------------
Firma TWI GmbH                 Phone:  +49 (0)721 950 77-0
Dipl.-Ing. Norbert Pfistner    Fax:    +49 (0)721 57 48 32
Industriestr. 6                E-Mail: [EMAIL PROTECTED]
D-76189 Karlsruhe              WWW:    www.TWI-germany.com
Germany


-----Original Message-----
From: Jochen [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 16, 1999 2:22 AM
To: Real-Time Linux
Cc: Pfistner; [EMAIL PROTECTED]
Subject: Re: [rtl] rt_com: insmod failed


On Sam, 14 Aug 1999 Tomasz Motylewski wrote:
>On Fri, 13 Aug 1999, Jose Guilberto wrote:
>
>>      release the region with release_region(ADDRESS, 8) before you
>> check it or don't check it with check_region. That region is already in

No, that is not a good choice.

>> use by the serial port drivers.

Yes. So don't take it away from serial.o without telling it !

>> > insmod rt_com fails with
>> > 'init_module: Device or resource busy'
>> > 
>> > check_region( p->port, 8 ) seems to fail in init_module() in rt_com.c
>
>Or just use setserial and set UART type to "none".
>
>setserial /dev/ttyS_whatever_you_need uart none

Yes.
Or patch your standard serial port driver not to use the port you wanna
use with rt_com.
Or load the serial.o module after rt_com.

-- Jochen
 Heinrich-Heine-Universität Düsseldorf          [EMAIL PROTECTED]
 Institut für Physikalische Chemie I               phone ++49-211-8113681
 Universitätsstr. 26.43.02.29                      fax   ++49-211-8115195
 40225 Düsseldorf, Germany       www-public.rz.uni-duesseldorf.de/~jochen
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

-----Original Message-----
From: Tomasz Motylewski [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 13, 1999 3:38 PM
To: Jose Guilberto
Cc: Pfistner; [EMAIL PROTECTED]
Subject: Re: [rtl] rt_com: insmod failed
Importance: Low


On Fri, 13 Aug 1999, Jose Guilberto wrote:

>       release the region with release_region(ADDRESS, 8) before you
> check it or don't check it with check_region. That region is already in
> use by the serial port drivers.

> > insmod rt_com fails with
> > 'init_module: Device or resource busy'
> > 
> > check_region( p->port, 8 ) seems to fail in init_module() in rt_com.c

Or just use setserial and set UART type to "none".

setserial /dev/ttyS_whatever_you_need uart none

--
Tomek

--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/




-----Original Message-----
From: A.Han [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 14, 2001 12:07 AM
To: [EMAIL PROTECTED]
Subject: [rtl] rt_com problem


hi,
  I failed to insmod rt_com.o, the error message is:
  rt_com.o:init_module:device or resourece busy

  I got this rt_com driver from rtlinux2.2. I have studied
the source code in rough, but I still do not konw what the
reason might be and how to resolve the problem.
  thanks for you advice!

A.han 
2001.9.14





=============================
CMM»ï°é¼ƻ®£¬ESIÃOEṩÃZÃzÏÃzÃ?̻ú
   
http://www.cmmcn.com
=============================

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/

Reply via email to