Re: Oddity with 4.5 and linode.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, May 18, 2007 at 10:37:45PM -0400, Stephen Harris wrote:
> But on reboot it took 3 minutes to do the "checking for new hardware" stage.
> I initially thought that's because of a new release, so I did another reboot.
> That also took 2 minutes.
> 
> OK, a minor issue (I don't reboot often) but... dunno if this is a UML
> issue or a linode specific issue, but 2 minutes in kudzu is a little odd!

OK, the problem is to do with serial ports, ttyS*.  Under UML these can be
mapped to pty's on the host and it takes a while for kudzu to work through
the resulting devices entries.

My quick kludge is to simply add an rc script that deletes the serial ports
before kudzu runs, but is there a better way of configuring udev so it doesn't
create them in the first place?

#!/bin/sh
#
# STOP_TTY - delete serial ports
#
# chkconfig: 345 04 99
# description:  Delete serial ports
#
case "$1" in
  start)
        /bin/rm -f /dev/ttyS*
        ;;
  stop)
        ;;
  restart|reload)
        ;;
  condrestart)
        ;;
  status)
        ;;
  *)
        echo $"Usage: $0 {start|stop|restart|condrestart|status}"
        exit 1
esac

exit 0

-- 

rgds
Stephen
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux