Are you still using devfs? Ernie
> -----Original Message----- > From: M Taha Masood [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 11, 2005 7:49 PM > To: Ernie Fontes; user-mode-linux-user@lists.sourceforge.net > Subject: [uml-user] ile: unable to allocate pty/tty pair > > Ernie , your mail was helpful , with the help of your > mail and some help from Jeff Dike at IRC , i got past > this issue , till the point where now i come to the > login prompt but then after giving the correct user > name and password , it gives the error of "ile: unable > to allocate pty/tty pair" see detail below > anyone seen this ? > thanks and regards > Taha > > -------------------------------------------------- > > ...Login as root. > > tty0 tomsrtbt login: root > Password: ile rev.2.01 > > --> ile: unable to allocate pty/tty pair <-- ( SEE > THIS ) > > Debug: sleeping function called from invalid context > at include/asm/arch/semaphore.h:102 > arch/um/drivers/stdio_console.c:133: > spin_lock(arch/um/drivers/line.c:a0255758) already > locked by arch/um/drivers/line.c/474 > in_atomic():0, irqs_disabled():1 > a03c79d0: [<a002e65b>] __might_sleep+0x9b/0xb8 > a03c7a00: [<a0021ff5>] unregister_winch+0x15/0xa0 > a03c7a20: [<a0021859>] line_close+0x145/0x174 > a03c7a30: [<a0021726>] line_close+0x12/0x174 > a03c7a40: [<a0121431>] release_dev+0x5fd/0x930 > a03c7a50: [<a0017989>] set_signals+0x79/0x178 > a03c7a70: [<a00178d9>] get_signals+0x15/0x4c > a03c7a80: [<a00178e7>] get_signals+0x23/0x4c > a03c7b10: [<a0121e00>] tty_release+0xc/0x14 > a03c7b30: [<a008f18b>] __fput+0x103/0x140 > a03c7b60: [<a008d235>] filp_close+0x41/0x7c > a03c7b70: [<a0035739>] exit_mm+0x125/0x244 > a03c7b80: [<a0035150>] put_files_struct+0x68/0xdc > a03c7bb0: [<a003635b>] do_exit+0x1c3/0x768 > a03c7bd0: [<a008df3b>] sys_write+0x3b/0x68 > a03c7bf0: [<a003692c>] next_thread+0x0/0xc > a03c7bfc: [<a01c15f7>] sigemptyset+0x17/0x30 > a03c7c00: [<a001c361>] execute_syscall_tt+0xc5/0xd8 > a03c7c80: [<a001c397>] syscall_handler_tt+0x23/0x40 > a03c7ca0: [<a001d323>] > sig_handler_common_tt+0xf3/0x148 > a03c7cb0: [<a001d315>] > sig_handler_common_tt+0xe5/0x148 > a03c7ce0: [<a001bcf2>] > finish_fork_handler+0x13e/0x16c > a03c7d00: [<a0027252>] sig_handler+0x1e/0x38 > a03c7d20: [<a01c12f8>] __restore+0x0/0x8 > > > > -------------------------------------------------- > > --- Ernie Fontes <[EMAIL PROTECTED]> wrote: > > > I had a similar problem. > > Here's how I fixed it: > > > > 1) Boot your UML with this option added on the > > command line: init=/bin/sh > > 2) That should allow you to poke around in /dev. > > Check for terminals (eg. > > tty0, tty1, tty/0, tty/1). > > 3) If there are none, and if you are using DevFS - > > which I suspect you are - > > you could use the vc/0, vc/1, etc. terminals, but I > > would recommend this: > > 4) Recompile UML without DevFS. > > 5) If you recompiled, go back to step 2 and poke > > around again. Either way, > > find which terminals you should be using, then halt > > the VM. > > 6) mount -o loop root_fs /mnt # or whatever you > > call it. > > 7) vi /mnt/etc/inittab > > 8) scroll down to the section that looks something > > like: > > 1:2345:/sbin/mingetty tty1 > > 9) comment those entries out and make a new entry > > for the terminal you > > picked in /dev. For instance, if I discovered that > > tty0 was available and > > decided that I wanted to call this entry c1, my > > entry would look something > > like this: > > c1:2345:/sbin/mingetty tty0 > > 10) unmount and boot, should work now. If you get > > problems with loading the > > filesystem, you might need to go tweak around in the > > guest filesystem's > > /etc/fstab. > > > > Hope it helps, worked for me, > > > > Ernie > > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software > > Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * > > Development Lifecycle Practices > > Agile & Plan-Driven Development * Managing Projects > > & Teams * Testing & QA > > Security * Process Improvement & Measurement * > > http://www.sqe.com/bsce5sf > > _______________________________________________ > > User-mode-linux-user mailing list > > User-mode-linux-user@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user