[mythtv-users] HEADS-UP: serial.o will get back into kernel proper (was: lirc + serial.o conflict?)

Axel Thimm Axel.Thimm at ATrpms.net
Thu Apr 8 19:12:35 EDT 2004


On Thu, Apr 08, 2004 at 05:54:21PM -0400, Bill Oberman wrote:
> But, when I went to /sbin/modprobe lirc_serial, I got a conflict error
> with serial.o.  I can't figure out what module loaded this??  But, if I:
> /sbin/rmmod serial
> I can then modprobe successfully.  Then everything works.
> 
> On boot, I had the same issue, so I added this to rc.local:
> /sbin/rmmod serial
> /sbin/modprobe lirc_serial
> 
> And, this seems to work, but seems like a hack to me.  I'll put the
> complete contents of /etc/modules.conf at the end of this e-mail.  My
> only guess right now is the kernel is loading serial?  

I would guess kudzu or rc.sysinit. You can try booting into single
user mode and see whether the serial module has been loaded or not.

But please be prepared that the next ATrpms' kernels will put the
serial module back into the kernel core. This is because otherwise the
serial console useful for debugging the kernel is unusable.

lirc serial users should the use the following advice from the lirc
developers on the lirc site: "[...] you call setserial /dev/ttySx uart
none to release the according port. setserial usually is already
called during boot-up in some init script whose location depends on
the distribution you use. Be aware that setserial might also be the
cause of trouble. The reason for this is a kernel bug (known to be
true for 2.2.20, patches are on the way). If you tell setserial to
configure a port that is already claimed by a LIRC module, the kernel
serial driver will steal the port from the LIRC module and LIRC will
stop working. So check your setserial configuration to only configure
available ports."
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20040409/07fa7284/attachment.pgp


More information about the mythtv-users mailing list