Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Note for CentOS 4 users
PostPosted: Fri May 18, 2007 11:44 am 
Offline
Senior Member
User avatar

Joined: Fri Aug 15, 2003 2:15 pm
Posts: 111
Website: http://fubegra.net/
Centos 4.5 just got pushed out, so a yum update will upgrade your system. It will install the kudzu package (hardware detection - useless on a UML system), which will cause a hang (or perhaps just a long delay - I lost patience) when booting. To prevent this, once the update has finished, use the command:

chkconfig kudzu off

before you reboot to prevent it from running during the boot process.

_________________
Bus error (passengers dumped)


Top
   
PostPosted: Sat May 19, 2007 9:46 pm 
Offline
Senior Member
User avatar

Joined: Tue Apr 13, 2004 6:54 pm
Posts: 833
rjp wrote:
Centos 4.5 just got pushed out, so a yum update will upgrade your system. It will install the kudzu package (hardware detection - useless on a UML system), which will cause a hang (or perhaps just a long delay - I lost patience) when booting. To prevent this, once the update has finished, use the command:

chkconfig kudzu off

before you reboot to prevent it from running during the boot process.


It takes 3 minutes to run kudzu because it detects 64 serial ports (ttyS*) - UML maps those to pty's on the host and so kudzu tries to probe them to see if there's any equipment on them.

Not sure why linode has that feature enabled (Chris?) but removing the ttyS* entries from /dev before kudzu runs (eg via an rc script) will also work.

_________________
Rgds
Stephen
(Linux user since kernel version 0.11)


Top
   
PostPosted: Sun May 20, 2007 4:12 pm 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
sweh wrote:
It takes 3 minutes to run kudzu because it detects 64 serial ports (ttyS*) - UML maps those to pty's on the host and so kudzu tries to probe them to see if there's any equipment on them.

I don't believe this is accurate. It depends on the command line arguments to UML. For instance, our UMLs map ttyS0 to standard in/out on the host, and that's how we run it inside a screen. The rest of the ttyS devices are nulled (not host:/dev/null, just null :)).

-Chris


Top
   
PostPosted: Sun May 20, 2007 8:09 pm 
Offline
Senior Member
User avatar

Joined: Tue Apr 13, 2004 6:54 pm
Posts: 833
caker wrote:
sweh wrote:
It takes 3 minutes to run kudzu because it detects 64 serial ports (ttyS*) - UML maps those to pty's on the host and so kudzu tries to probe them to see if there's any equipment on them.

I don't believe this is accurate. It depends on the command line arguments to UML. For instance, our UMLs map ttyS0 to standard in/out on the host, and that's how we run it inside a screen. The rest of the ttyS devices are nulled (not host:/dev/null, just null :)).

-Chris


If I cat /dev/ttyS0, cat /dev/ttyS1, cat /dev/ttyS2 on my linode then dmesg output says:
Code:
Serial line 0 assigned device '/dev/ptyp0'
Serial line 1 assigned device '/dev/ptyp1'
Serial line 2 assigned device '/dev/ptyp2'


Are you sure it's not assigning pty's on the host?

The console is assigned to /dev/tty0 and *not* ttyS0. Any output I send to /dev/ttyS0 (eg "echo hello > /dev/ttyS0") doesn't show on the console

Hmm, the command line passed is
Code:
Kernel command line: mem=256M fake_ide fakehd con=null con0=fd:0,fd:1 devfs=nomount root=/dev/ubda ubda=/dev/vg1/sweh-36078 ubdb=/dev/vg1/sweh-7867 ubdc=/dev/vg1/sweh-7870 ubdd=/dev/vg1/sweh-8496 eth0=tuntap,sweh_0,fe:fd:42:a0:8d:69 token_max=800000 token_refill=512 ro


I see no "ssl" option there to turn off the serial ports which the FAQ ( http://user-mode-linux.sourceforge.net/ ... html#ss5.1 ) suggests is the right option.

Or am I missing something?

_________________
Rgds

Stephen

(Linux user since kernel version 0.11)


Top
   
PostPosted: Sun May 20, 2007 9:38 pm 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
sweh wrote:
Or am I missing something?

Nope, you are correct; I am wrong, all because of this:

Code:
2.6.21.1-linode32 --showconfig | grep pty
CONFIG_SSL_CHAN="pty"

I get that removed next kernel release. I could have sworn I tuned that off. And you're right about the tty0 console. My brain gets full, ya know? I need BrainDoubler [reference to RamDoubler on ancient Mac systems (it did on disk virtual memory)]

Thanks for the heads up.

-Chris


Top
   
PostPosted: Mon May 21, 2007 11:10 am 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
caker wrote:
I need BrainDoubler

I've got BrainDoubler - but it keeps cra

_________________
/ Peter


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group