Back to Home / #uml / 2007 / 09 / Prev Day | Next Day
#uml IRC Logs for 2007-09-25

---Logopened Tue Sep 25 00:00:37 2007
00:04|-|ElectricElf [~dbharris@bas1-toronto48-1242462066.dsl.bell.ca] has quit [Ping timeout: 480 seconds]
00:08|-|ElectricElf [~dbharris@bas1-toronto48-1242461864.dsl.bell.ca] has joined #uml
00:16|-|ElectricElf [~dbharris@bas1-toronto48-1242461864.dsl.bell.ca] has quit [Ping timeout: 480 seconds]
00:22|-|flatronf700B [~flatronf7@ns1.clipsalportal.com] has joined #uml
00:23|-|ElectricElf [~dbharris@bas1-toronto48-1279276674.dsl.bell.ca] has joined #uml
01:35|-|besonen_mobile [~besonen_m@71-220-234-148.eugn.qwest.net] has quit [Read error: Connection reset by peer]
01:50|-|huslu [~huslu@c-67-174-108-150.hsd1.co.comcast.net] has quit [Read error: Connection reset by peer]
01:50|-|huslu [~huslu@c-67-174-108-150.hsd1.co.comcast.net] has joined #uml
03:01|-|besonen_mobile [~besonen_m@71-220-234-148.eugn.qwest.net] has joined #uml
04:02|-|Baltam [~WIKIMOKI@tor-irc.dnsbl.oftc.net] has quit [Remote host closed the connection]
04:10|-|tyler [~tyler@ARennes-256-1-83-184.w90-32.abo.wanadoo.fr] has joined #uml
05:42|-|tyler [~tyler@ARennes-256-1-83-184.w90-32.abo.wanadoo.fr] has quit [Ping timeout: 480 seconds]
05:59|-|tyler [~tyler@ARennes-256-1-132-39.w90-32.abo.wanadoo.fr] has joined #uml
05:59|-|jjkola [~jjkola@dsl-olubrasgw1-fec8de00-184.dhcp.inet.fi] has joined #uml
05:59<jjkola>hi
07:09|-|krau [~cktakahas@200.184.118.132] has quit [Read error: Operation timed out]
07:34|-|mjf [~mjf@r5bb59.net.upc.cz] has joined #uml
07:43|-|krau [~cktakahas@200.184.118.132] has joined #uml
07:52|-|Baltam [~WIKIMOKI@tor-irc.dnsbl.oftc.net] has joined #uml
08:00|-|dang [~dang@aa-redwall.nexthop.com] has joined #uml
08:13|-|jjkola [~jjkola@dsl-olubrasgw1-fec8de00-184.dhcp.inet.fi] has quit [Quit: *pop*]
08:18|-|mjf [~mjf@r5bb59.net.upc.cz] has quit [Quit: leaving]
09:15|-|tyler [~tyler@ARennes-256-1-132-39.w90-32.abo.wanadoo.fr] has quit [Read error: Connection reset by peer]
09:16|-|tyler [~tyler@ARennes-256-1-132-39.w90-32.abo.wanadoo.fr] has joined #uml
09:19|-|krau [~cktakahas@200.184.118.132] has quit [Quit: Varei!!!]
09:23|-|krau [~cktakahas@200.184.118.132] has joined #uml
09:23|-|Groundy [~normanr@dsl-241-60-184.telkomadsl.co.za] has joined #uml
09:24<Groundy>sup
09:24<Groundy>I'm baaaack :-)
09:24<Groundy>btw: does anyone know (or know where I can find out), when (at which version) uml kernels started to support TLS
09:25<Groundy>the wikipedia article for UML says 'Often cited as a strength of Xen is support for TLS. This is now also supported in the latest UML kernels'
09:26<Groundy>the blaisorblade patches only go to 2.6.20, so my guess is maybe 2.6.21??
09:29<Groundy>actually the guest patches end with 2.6.18.1 hmmm,
10:11<cgf>should I be able to do something like "echo hello | linux -init /bin/cat" and have cat display "hello"? I have a working uml kernel but it hangs when I attempt something like that.
10:12|-|dan1 [~dang@aa-redwall.nexthop.com] has joined #uml
10:13|-|dang [~dang@aa-redwall.nexthop.com] has quit [Read error: Connection reset by peer]
10:17|-|dan1 changed nick to dang
10:18<caker>Groundy: I think since 2.6.16
10:18|-|hfb [~hfb@pool-71-106-223-11.lsanca.dsl-w.verizon.net] has joined #uml
10:19<caker>Groundy: http://www.linode.com/forums/viewtopic.php?t=2193 <-- a -bb, so that wasn't in vanilla yet
10:19<caker>also, http://www.linode.com/forums/viewtopic.php?t=2246
10:20<Groundy>and 2314
10:23<Groundy>wow, linode prices are pretty good
11:09|-|kos_tom [~thomas@humanoidz.org] has joined #uml
11:41|-|Groundy [~normanr@dsl-241-60-184.telkomadsl.co.za] has left #uml []
11:41|-|Groundy [~normanr@dsl-241-60-184.telkomadsl.co.za] has joined #uml
12:11|-|jdike [~jdike@pool-71-248-190-161.bstnma.fios.verizon.net] has joined #uml
12:11<jdike>Hi guys
12:19<peterz>morning jeff
12:20<kokoko1>hello jdike
12:38|-|Groundy [~normanr@dsl-241-60-184.telkomadsl.co.za] has left #uml []
12:39|-|Groundy [~normanr@dsl-241-60-184.telkomadsl.co.za] has joined #uml
12:40|-|Groundy [~normanr@dsl-241-60-184.telkomadsl.co.za] has left #uml []
12:57|-|hfb [~hfb@pool-71-106-223-11.lsanca.dsl-w.verizon.net] has quit [Ping timeout: 480 seconds]
13:09|-|hfb [~hfb@pool-71-106-223-11.lsanca.dsl-w.verizon.net] has joined #uml
13:11|-|mgross [~mgross@jffwprtest.jf.intel.com] has joined #uml
13:11|-|mgross [~mgross@jffwprtest.jf.intel.com] has quit []
13:19|-|Baltam [~WIKIMOKI@tor-irc.dnsbl.oftc.net] has quit [Remote host closed the connection]
13:24|-|Baltam [~WIKIMOKI@tor-irc.dnsbl.oftc.net] has joined #uml
13:43|-|tyler [~tyler@ARennes-256-1-132-39.w90-32.abo.wanadoo.fr] has quit [Ping timeout: 480 seconds]
13:46<cgf>Should I be able to do something like "echo hello | linux -init /bin/cat" and have cat display "hello"? I have a working uml kernel but it hangs when I attempt something like that.
13:46<cgf>2.6.22, stock kernel that is.
13:54<dang>No, I don't think that's possible.
13:55<dang>cat has it's own stdin and stdout inside the UML that points to it's console.
13:55<dang>It would be like trying to redirect stdin for init of a normal linux kernel in grub...
14:03|-|tyler [~tyler@ARennes-256-1-118-51.w90-32.abo.wanadoo.fr] has joined #uml
14:07|-|Baltam [~WIKIMOKI@tor-irc.dnsbl.oftc.net] has quit [Remote host closed the connection]
14:15|-|Baltam [~WIKIMOKI@tor-irc.dnsbl.oftc.net] has joined #uml
14:45<ctrace>l
14:51<jdike>cgf, with a delay, that might work
14:53<jdike>actually, no
14:53<jdike>something needs to open a console
14:53<jdike>then, that should work
14:54|-|tyler [~tyler@ARennes-256-1-118-51.w90-32.abo.wanadoo.fr] has quit [Quit: ++]
15:02|-|tyler29 [~tyler@ARennes-256-1-118-51.w90-32.abo.wanadoo.fr] has joined #uml
15:28<dang>Right... If init was a script that opened /dev/con0 and the 0 console was stdin:stdout, then it might work...
15:29<jdike>/dev/console
15:30<cgf>Thanks. I'll try that.
15:32|-|tyler29 [~tyler@ARennes-256-1-118-51.w90-32.abo.wanadoo.fr] has quit [Ping timeout: 480 seconds]
15:35<cgf>I have this script:
15:35<cgf>#!/bin/sh
15:35<cgf>pwd; pwd
15:35<cgf>exec >/dev/console 2>&1 </dev/console
15:35<cgf>ps auwx
15:35<cgf>cat
15:37<cgf>When I run this with piped stdin and init=thescript, only the first pwd prints. Without the pipe as stdin, I get the expected behavior.
15:37<jdike>what's the UML command line
15:38<cgf>linux noprocmm rootfstype=hostfs rw init=/u/cgf/doit
15:38<cgf>Actually it's:
15:39<cgf>(echo hello; echo there; echo hqwer) | linux noprocmm rootfstype=hostfs rw init=/u/cgf/doit
15:42|-|tyler29 [~tyler@ARennes-256-1-115-80.w90-32.abo.wanadoo.fr] has joined #uml
15:43<cgf>If I put a sleep 10; after the opening parentheses the script eventually produces output and exits but does not print the hello, etc.
15:43<jdike>can you do 'init=/u/cgf/doit.strace', where doit.strace is strace -f /u/cgf/doit?
15:45<jdike>gotta go for a bit
16:12<cgf>good idea. I'll do that.
16:12<cgf>(sorry for the delay)
16:16|-|tyler29 [~tyler@ARennes-256-1-115-80.w90-32.abo.wanadoo.fr] has quit [Ping timeout: 481 seconds]
16:21|-|dang [~dang@aa-redwall.nexthop.com] has quit [Quit: Leaving.]
16:35|-|tyler29 [~tyler@ARennes-256-1-115-80.w90-32.abo.wanadoo.fr] has joined #uml
16:56|-|ram [~ram@pool-72-87-47-92.ptldor.fios.verizon.net] has quit [Ping timeout: 480 seconds]
17:01|-|kos_tom [~thomas@humanoidz.org] has quit [Remote host closed the connection]
17:06|-|hfb [~hfb@pool-71-106-223-11.lsanca.dsl-w.verizon.net] has quit [Quit: Leaving]
17:44<cgf>34 read(0, "hello\n", 1024) = 6
17:44<cgf>134 write(1, "hello\n", 6) = -1 EBADF (Bad file descriptor)
17:44<cgf>134 write(2, "cat: ", 5) = -1 EBADF (Bad file descriptor)
17:44<cgf>134 write(2, "write error", 11) = -1 EBADF (Bad file descriptor)
17:44<cgf>134 write(2, ": Bad file descriptor", 21) = -1 EBADF (Bad file descriptor)
17:44<cgf>134 write(2, "\n", 1) = -1 EBADF (Bad file descriptor)
17:44<cgf>134 exit_group(1) = ?
17:44<cgf>Looks like fd 1 disappears at some point.
17:48<cgf>jdike: If I add a sleep before and after the echos I get output. Is this just because the shell script thinks its running as a 'tty' and is maybe waiting for a ^D?
17:49<cgf>Yup. That makes the script exit. Interesting.
17:49<cgf>(sleep 3; echo hello; echo there; echo hqwer; echo -n '^D'; sleep 1)| | ...
17:49<cgf>The script exits when I do that.
17:59|-|ram [~ram@bi01p1.co.us.ibm.com] has joined #uml
18:02|-|ram [~ram@bi01p1.co.us.ibm.com] has quit [Read error: Connection reset by peer]
18:09|-|Electric1lf [~dbharris@bas1-toronto48-1279297539.dsl.bell.ca] has joined #uml
18:14|-|ElectricElf [~dbharris@bas1-toronto48-1279276674.dsl.bell.ca] has quit [Ping timeout: 480 seconds]
18:15|-|ElectricElf [~dbharris@bas1-toronto48-1279296987.dsl.bell.ca] has joined #uml
18:19|-|Electric1lf [~dbharris@bas1-toronto48-1279297539.dsl.bell.ca] has quit [Ping timeout: 480 seconds]
18:20|-|Electric1lf [~dbharris@bas1-toronto48-1279297178.dsl.bell.ca] has joined #uml
18:26|-|ElectricElf [~dbharris@bas1-toronto48-1279296987.dsl.bell.ca] has quit [Ping timeout: 480 seconds]
18:26|-|Electric1lf changed nick to Guest2
18:38|-|tyler29 [~tyler@ARennes-256-1-115-80.w90-32.abo.wanadoo.fr] has quit [Ping timeout: 480 seconds]
18:51|-|ram [~ram@bi01p1.co.us.ibm.com] has joined #uml
19:00<jdike>hmm
19:01<caker>hmmmmmm
19:01<jdike>looks like something's wrong with stdout
19:01<jdike>(assuming cgf is still awake)
19:02<jdike>the >/dev/console 2>&1 formulation looks right, though
19:03|-|jdike [~jdike@pool-71-248-190-161.bstnma.fios.verizon.net] has quit [Quit: Leaving]
19:48|-|ram [~ram@bi01p1.co.us.ibm.com] has quit [Ping timeout: 480 seconds]
20:40|-|quasisane [~sanep@c-76-118-191-64.hsd1.nh.comcast.net] has joined #uml
22:34|-|ram [~ram@pool-72-87-47-92.ptldor.fios.verizon.net] has joined #uml
22:55|-|tchan [~tchan@c-24-13-84-219.hsd1.il.comcast.net] has quit [Quit: WeeChat 0.2.7-dev]
22:58|-|VS_ChanLog [~stats@ns.theshore.net] has left #uml [Rotating Logs]
22:58|-|VS_ChanLog [~stats@ns.theshore.net] has joined #uml
23:08|-|tchan [~tchan@c-24-13-84-219.hsd1.il.comcast.net] has joined #uml
---Logclosed Wed Sep 26 00:00:14 2007