The usual way is to use "screen" to be able to put the console in the
background and bring it back.


> Hello,
>
> if I start an UML at the command line with a script and later try to put
> that
> script into a background job, then the guest system either cored directly
> :
>
> tfoerste@n22 ~ $ start_uml.sh
> Locating the bottom of the address space ... 0x1000
> Locating the top of the address space ... 0xc0000000
> Core dump limits :
>         soft - NONE
>         hard - NONE
> Checking that ptrace can change system call numbers...OK
> Checking syscall emulation patch for ptrace...OK
> Checking advanced syscall emulation patch for ptrace...OK
> Checking for tmpfs mount on /dev/shm...OK
> Checking PROT_EXEC mmap in /dev/shm/...OK
> Checking for the skas3 patch in the host:
>   - /proc/mm...not found: No such file or directory
>   - PTRACE_FAULTINFO...not found
>   - PTRACE_LDT...not found
> UML running in SKAS0 mode
> Adding 10686464 bytes to physical memory to account for exec-shield gap
> ^Z
> [2]+  Stopped                 start_uml.sh
> tfoerste@n22 ~ $ bg
> [2]+ start_uml.sh &
> tfoerste@n22 ~ $ l
> Desktop  Mail  SametimeMeetings  SametimeTranscripts  Wine  core  devel
> download  p  tlm  tmp  virtual  workspace
> [2]-  Terminated              start_uml.sh
> tfoerste@n22 ~ $ ls -l core
> -rw------- 1 tfoerste users 268886016 Jul 28 11:12 core
>
>
> - or - if it survives the Ctrl-Z + "bg" command I cannot stop it with this
> command :
>
> tfoerste@n22 ~ $ sudo ssh root@n22_uml "halt; exit"
> ssh_exchange_identification: read: Connection reset by peer
>
> At this point I've to halt the UML with uml_mconsole.
>
> Is this an expected behaviour ?
>
> (host and guest are running kernel 3.0).
>
> --
> MfG/Sincerely
> Toralf Förster
> pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3
>
> ------------------------------------------------------------------------------
> Got Input?   Slashdot Needs You.
> Take our quick survey online.  Come on, we don't ask for help often.
> Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> http://p.sf.net/sfu/slashdot-survey
> _______________________________________________
> User-mode-linux-user mailing list
> User-mode-linux-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
>


------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to