From: Yann D. <yd...@al...> - 2000-11-14 00:58:13
|
Hi, The provided debian root_fs has an inittab entry for serial getty. However, can't find a "serial" config option in the config tree - the whole "character devices" menu doesn't show up for me. Did I overlooked something once again ? -- Yann Dirson <yd...@al...> | Why make M$-Bill richer & richer ? debian-email: <di...@de...> | Support Debian GNU/Linux: | Cheaper, more Powerful, more Stable ! http://ydirson.free.fr/ | Check <http://www.debian.org/> |
From: William S. <wst...@po...> - 2000-11-14 02:28:00
|
Good evening, Yann, On Tue, 14 Nov 2000, Yann Dirson wrote: > The provided debian root_fs has an inittab entry for serial getty. > However, can't find a "serial" config option in the config tree - the > whole "character devices" menu doesn't show up for me. > > Did I overlooked something once again ? I think so, but don't worry about it. I do it all the time with UML, to the point that Jeff's procmail scripts have an entire killfile section devoted to me. ;-) The serial line doesn't actually provide a usable serial port. Instead, it connects to a pty on the host system, allowing you to log into your uml right from the host without using the console or xterms. As the uml boots, look for a line like the following: serial line 0 assigned pty /dev/ptyp0 Once a getty has been started in the uml, you can use minicom on the host to talk to /dev/ptyp0. I think something like minicom -p /dev/ptyp0 should let you log into the uml from the host. Cheers, - Bill --------------------------------------------------------------------------- Failure is not an option. It comes bundled with your Microsoft product. -- Ferenc Mantfeld (Courtesy of Jim Thompson <ji...@wa...>) -------------------------------------------------------------------------- William Stearns (wst...@po...). Mason, Buildkernel, named2hosts, and ipfwadm2ipchains are at: http://www.pobox.com/~wstearns LinuxMonth; articles for Linux Enthusiasts! http://www.linuxmonth.com -------------------------------------------------------------------------- |
From: Yann D. <yd...@al...> - 2000-11-15 23:16:17
|
On Mon, Nov 13, 2000 at 09:27:15PM -0500, William Stearns wrote: > The serial line doesn't actually provide a usable serial port. Ah yes, I started to lack some sleep when I did those tests :( > As the uml boots, look for a line like the following: > > serial line 0 assigned pty /dev/ptyp0 He he, that surely is the problem, I don't have such a line on a test11 kernel, although I do have it on test10 :} Ah, my first real bug on UML ? Jeff, do you confirm ? Foreseeing virtual beer to be openned :) And I don't see an option that would turn this on. Best regards, -- Yann Dirson <yd...@al...> | Why make M$-Bill richer & richer ? debian-email: <di...@de...> | Support Debian GNU/Linux: | Cheaper, more Powerful, more Stable ! http://ydirson.free.fr/ | Check <http://www.debian.org/> |
From: Jeff D. <jd...@ka...> - 2000-11-18 01:13:57
|
yd...@al... said: > > serial line 0 assigned pty /dev/ptyp0 > He he, that surely is the problem, I don't have such a line on a > test11 kernel, although I do have it on test10 :} You mean that the host is test11 and it doesn't have /dev/ptyp*, but your test10 host does? > Ah, my first real bug on UML ? And what's the alleged bug? The option for turning on the virtual serial line is CONFIG_SSL, which is in the 'General Setup' menu. Jeff |
From: Yann D. <yd...@al...> - 2000-11-19 17:34:52
|
On Fri, Nov 17, 2000 at 09:22:24PM -0500, Jeff Dike wrote: > > Ah, my first real bug on UML ? > > And what's the alleged bug? > > The option for turning on the virtual serial line is CONFIG_SSL, which is in > the 'General Setup' menu. Hm... I do not have CONFIG_SSL, even commented out, in my .config's (test10 nor 11). I do not have a 'General Setup' top-level menu, it appears as subsection under 'Processor features' in test11 In make xconfig I can see CONFIG_SSL greyed out there, but it does not show with 'make menuconfig', which I probably used for the setup, which may explain I did not find it. Ah... config.in gives me the dep on UNIX98_PTYS... This should be documented in the online help for CONFIG_SSL (which appears empty for now). A section in the docs, describing the um-specific config options (and what makes them available for selection in menuconfig) would make it easier IMHO. OK I could have looked at the patch on the config.in files to find out, but for some reason I did not thought of it... > yd...@al... said: > > > serial line 0 assigned pty /dev/ptyp0 > > He he, that surely is the problem, I don't have such a line on a > > test11 kernel, although I do have it on test10 :} > > You mean that the host is test11 and it doesn't have /dev/ptyp*, but your > test10 host does? No, my host is 2.2.18pre21. The only 2.4.0test I run for now are the UML kernels. Described behaviour refers to test10 and test11 UMLs on the same 2.2 host. Er... looks like the kernel I was running was probably not the one I compiled, which should explain the difference :( Regards, -- Yann Dirson <yd...@al...> | Why make M$-Bill richer & richer ? debian-email: <di...@de...> | Support Debian GNU/Linux: | Cheaper, more Powerful, more Stable ! http://ydirson.free.fr/ | Check <http://www.debian.org/> |
From: Yann D. <yd...@al...> - 2000-11-19 17:47:27
|
On Sun, Nov 19, 2000 at 06:45:49PM +0100, Yann Dirson wrote: > Described behaviour refers to test10 and test11 UMLs on Oops... s/test11/test9/ -- Yann Dirson <yd...@al...> | Why make M$-Bill richer & richer ? debian-email: <di...@de...> | Support Debian GNU/Linux: | Cheaper, more Powerful, more Stable ! http://ydirson.free.fr/ | Check <http://www.debian.org/> |