From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <49D1E3AC.4060106@domain.hid> Date: Tue, 31 Mar 2009 11:34:36 +0200 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <37f89760903310217o29fe3435j286d5fa10dd6aa82@domain.hid> In-Reply-To: <37f89760903310217o29fe3435j286d5fa10dd6aa82@domain.hid> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] Test xen_16500A.ko on different serial port List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Marcel Soulot Cc: xenomai@xenomai.org Marcel Soulot wrote: > Hi > > I start with xenomai so I patch the kernel 2.6.26.7 with the version 2.4.6. > > So I try to test the xeno_16550A.ko driver generated instead of the standard > 16550A on serial port ttyS0 ioaddr=0x3f8 irq=4 (standard one) and also on > serial port in PCI card ttyS6 ioaddr=0xe0000400 irq=10. > > I used the following command to substitute the 16550A driver used by the > xeno_16550A.ko: > >> setserial /dev/ttyS0 uart none >> insmod ./xeno_16550.ko ioaddr=0x3f8 irq=4 > > I got the error message : > > xeno_16550A: Unkonwn parameter 'ioaddr' > insmod: error inserting './xeno_16550A.ko': -1 Unknown symbol in module > > and I got the same thing with the other port. > > Can you explain me how I can load correctly the xeno_16550A.ko There is no ioaddr parameter to this module, as documented here: http://www.xenomai.org/index.php/16550A The "Unknown symbol in module" message alone does not tell us much, module related message appear clearly in the kernel logs, not on the terminal where modprobe is run. -- Gilles.