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

---Logopened Thu Sep 27 00:00:49 2007
00:25|-|jdike [~jdike@pool-71-248-190-161.bstnma.fios.verizon.net] has quit [Quit: Leaving]
00:31|-|anderiv [~anderiv@207-67-87-34.static.twtelecom.net] has joined #uml
00:45<anderiv>caker: what kernel versions will your token-limiter patch apply to cleanly? I've tried several kernel versions (all 2.6.20 and newer), and the patch has failed on all of them.
01:13<anderiv>caker: ...I was using the v5 patch, btw.
04:04|-|dex [~dex@xdsl-2443.lodz.dialog.net.pl] has joined #uml
04:28|-|tyler29 [~tyler@ARennes-256-1-52-71.w90-32.abo.wanadoo.fr] has joined #uml
04:32|-|tyler29 [~tyler@ARennes-256-1-52-71.w90-32.abo.wanadoo.fr] has quit [Read error: Connection reset by peer]
04:32|-|tyler29 [~tyler@ARennes-256-1-52-71.w90-32.abo.wanadoo.fr] has joined #uml
05:08|-|tyler29 [~tyler@ARennes-256-1-52-71.w90-32.abo.wanadoo.fr] has quit [Ping timeout: 480 seconds]
05:10|-|tyler29 [~tyler@ARennes-256-1-52-71.w90-32.abo.wanadoo.fr] has joined #uml
06:30|-|dex [~dex@xdsl-2443.lodz.dialog.net.pl] has quit [Ping timeout: 480 seconds]
06:43|-|dex [~dex@xdsl-2443.lodz.dialog.net.pl] has joined #uml
07:06|-|tyler29 [~tyler@ARennes-256-1-52-71.w90-32.abo.wanadoo.fr] has quit [Ping timeout: 480 seconds]
07:23|-|tyler29 [~tyler@ARennes-256-1-123-16.w90-32.abo.wanadoo.fr] has joined #uml
07:41|-|dang [~dang@nemesis.fprintf.net] has quit [Ping timeout: 480 seconds]
07:50<caker>anderiv: it takes a bit of munging .. I haven't updated the patch in a while
08:13|-|dang [~dang@aa-redwall.nexthop.com] has joined #uml
08:41|-|dex [~dex@xdsl-2443.lodz.dialog.net.pl] has quit [Remote host closed the connection]
08:50|-|krau [~cktakahas@200.184.118.132] has quit [Ping timeout: 480 seconds]
09:04<anderiv>caker: okay...how far back would I have to go to get a kernel version that would accept the patch cleanly?
09:05<caker>anderiv: if you apply it with fuzz, I think there are only two rejects -- and they're fairly obvious
09:05<anderiv>ok
09:06<anderiv>I'll dig in and see what I can do.
10:15|-|jdike [~jdike@pool-71-248-190-161.bstnma.fios.verizon.net] has joined #uml
10:15<jdike>Hi guys
10:30|-|hfb [~hfb@pool-71-106-223-11.lsanca.dsl-w.verizon.net] has joined #uml
10:56|-|tyler29 [~tyler@ARennes-256-1-123-16.w90-32.abo.wanadoo.fr] has quit [Read error: Connection reset by peer]
10:58|-|tyler29 [~tyler@ARennes-256-1-123-16.w90-32.abo.wanadoo.fr] has joined #uml
11:14|-|dang [~dang@aa-redwall.nexthop.com] has quit [Ping timeout: 480 seconds]
11:54|-|ram [~ram@pool-72-87-47-92.ptldor.fios.verizon.net] has quit [Ping timeout: 480 seconds]
11:59<kokoko1>Hello Jeff
12:01[~]jdike fixes yesterday's bogus patch
12:02<kokoko1>Off to mainline?
12:02<jdike>in 2.6.24
12:03<jdike>I forgot to remove some debugging stuff from it
12:03<kokoko1>hehe strip it
12:04<jdike>it was a pretend you're out of memory on every 100th packet
12:04<jdike>and make sure the network still runs
12:05<kokoko1>jdike, off topic wondering why there is no exit code list for yum
12:05<kokoko1>i can only find one code ie 100 (if updates available)
12:05<jdike>In the source, no doubt
12:06<kokoko1>yeah and i am in no mode to read yum source for finding yum exit values why they did't documetn it in man yum just like rsync
12:07<kokoko1>one fedora guy says 'the exit codes aren't very helpful for most transaction-operations'
12:07<kokoko1>he asked me to do ERRORS=`yum -d0 -e0 -y update 2>&1`
12:07<kokoko1>if [ "$ERRORS" != "" ]; then
12:07<kokoko1>heh
12:08<jdike>cool
12:10|-|krau [~cktakahas@200.184.118.132] has joined #uml
12:11|-|ram [~ram@bi01p1.co.us.ibm.com] has joined #uml
12:23|-|tyler29 [~tyler@ARennes-256-1-123-16.w90-32.abo.wanadoo.fr] has quit [Ping timeout: 480 seconds]
12:32|-|krau [~cktakahas@200.184.118.132] has quit [Ping timeout: 480 seconds]
12:45|-|tyler29 [~tyler@ARennes-256-1-42-36.w90-32.abo.wanadoo.fr] has joined #uml
13:09|-|dang [~dang@aa-redwall.nexthop.com] has joined #uml
13:19|-|krau [~cktakahas@200.184.118.132] has joined #uml
13:33|-|dang [~dang@aa-redwall.nexthop.com] has quit [Ping timeout: 480 seconds]
13:54|-|tyler29 [~tyler@ARennes-256-1-42-36.w90-32.abo.wanadoo.fr] has quit [Ping timeout: 480 seconds]
14:04|-|tyler29 [~tyler@ARennes-256-1-112-227.w90-32.abo.wanadoo.fr] has joined #uml
14:07|-|tyler29 [~tyler@ARennes-256-1-112-227.w90-32.abo.wanadoo.fr] has quit [Remote host closed the connection]
14:12|-|tyler29 [~tyler@ARennes-256-1-112-227.w90-32.abo.wanadoo.fr] has joined #uml
14:22|-|tyler29 [~tyler@ARennes-256-1-112-227.w90-32.abo.wanadoo.fr] has quit [Remote host closed the connection]
14:26|-|peterz [~peterz@i55087.upc-i.chello.nl] has quit [Quit: Coyote finally caught me]
14:26|-|peterz [~peterz@i55087.upc-i.chello.nl] has joined #uml
14:26|-|tyler29 [~tyler@ARennes-256-1-112-227.w90-32.abo.wanadoo.fr] has joined #uml
14:33|-|tyler29 [~tyler@ARennes-256-1-112-227.w90-32.abo.wanadoo.fr] has quit [Remote host closed the connection]
14:35|-|ram [~ram@bi01p1.co.us.ibm.com] has quit [Ping timeout: 480 seconds]
14:45|-|tyler29 [~tyler@ARennes-256-1-112-227.w90-32.abo.wanadoo.fr] has joined #uml
14:46|-|tyler29 [~tyler@ARennes-256-1-112-227.w90-32.abo.wanadoo.fr] has quit [Remote host closed the connection]
14:47|-|tyler29 [~tyler@ARennes-256-1-112-227.w90-32.abo.wanadoo.fr] has joined #uml
15:10|-|krau [~cktakahas@200.184.118.132] has quit [Quit: Varei!!!]
15:10|-|krau [~cktakahas@200.184.118.132] has joined #uml
15:21|-|ram [~ram@bi01p1.co.us.ibm.com] has joined #uml
15:53|-|tyler29 [~tyler@ARennes-256-1-112-227.w90-32.abo.wanadoo.fr] has quit [Read error: Connection reset by peer]
15:54|-|tyler29 [~tyler@ARennes-256-1-112-227.w90-32.abo.wanadoo.fr] has joined #uml
16:42|-|dex [~dex@acnn229.neoplus.adsl.tpnet.pl] has joined #uml
16:49|-|flamingo [~flamingo@lawn-128-61-24-120.lawn.gatech.edu] has joined #uml
16:52|-|psy [~psy@daisy-lnx.cc.gatech.edu] has joined #uml
16:53<psy>anybody around?
16:54<flamingo>I am writing a simple device driver in UML. The driver has open(), close(), read(), ioctl() operations. I'm simulating a device using iomem'd file on the host. I want the read() to block until the specific byte in the file has changed. I looked up the LDD3 and found that wait_event can be used for such a case.
16:55<flamingo>But this requires someone to call wake_up() on the wait queue. Host system will be writing bytes to the iomem'd file. When a byte is written, I want the sleeping read() to be notified.
16:56<flamingo>Is there a way for the host system to convey to the UML that something has been written to the file?
16:58<jdike>if you have something on the host cooperating with you, it can provide the notification
17:00<flamingo>yes, exactly. Is that through mconsole or is there any other way to do this?
17:01<jdike>any way you want, basically
17:01<jdike>a pipe to the process would be easy
17:03<flamingo>you mean to say a separate communicating process in the UML would open a pipe() just for communicating with the host?
17:04<jdike>no
17:05<jdike>your driver would open the pipe, attach an IRQ to it, declare an interrupt handler, and the handler would wait to be called
17:05<flamingo>and the host can easily use the pipe to convey messages
17:06<jdike>yup
17:06<flamingo>jdike, thanks
17:18|-|hfb [~hfb@pool-71-106-223-11.lsanca.dsl-w.verizon.net] has quit [Quit: Leaving]
17:21|-|tyler29 [~tyler@ARennes-256-1-112-227.w90-32.abo.wanadoo.fr] has quit [Ping timeout: 480 seconds]
17:50|-|flamingo [~flamingo@lawn-128-61-24-120.lawn.gatech.edu] has quit [Ping timeout: 480 seconds]
18:05|-|besonen_mobile_ [~besonen_m@71-220-225-14.eugn.qwest.net] has quit [Read error: Connection reset by peer]
18:05|-|besonen_mobile_ [~besonen_m@71-220-225-14.eugn.qwest.net] has joined #uml
18:38|-|psy [~psy@daisy-lnx.cc.gatech.edu] has quit [Quit: homeward bound!]
19:03|-|dex [~dex@acnn229.neoplus.adsl.tpnet.pl] has quit [Quit: Bye bye ...]
19:12|-|flamingo [~flamingo@c-71-199-170-118.hsd1.ga.comcast.net] has joined #uml
19:15<flamingo>I am trying to find a way to access the file descriptor of the pipe() call in the device driver inside UML from the host. I'm finding it hard to figure out a way to do this. Could you give me a hint as to where I can look?
19:38<flamingo>I call a pipe() and fork() in the device driver, I get two fds. Now I want to be able to write to one end from the host. How can I do this?
20:08|-|_Hunger [Hunger.hu@213.163.11.138] has joined #uml
20:17|-|cgf [~cgf@pool-71-174-251-188.bstnma.fios.verizon.net] has left #uml []
21:17|-|albertito [~net@host173.190-30-128.telecom.net.ar] has quit [Quit: q]
21:28|-|ram [~ram@bi01p1.co.us.ibm.com] has quit [Ping timeout: 480 seconds]
22:05|-|albertito [~net@host173.190-30-128.telecom.net.ar] has joined #uml
22:53|-|jdike [~jdike@pool-71-248-190-161.bstnma.fios.verizon.net] has quit [Quit: Leaving]
22:58|-|VS_ChanLog [~stats@ns.theshore.net] has left #uml [Rotating Logs]
22:58|-|VS_ChanLog [~stats@ns.theshore.net] has joined #uml
---Logclosed Fri Sep 28 00:00:44 2007