sysml / clickos

The Click modular router: fast modular packet processing and analysis
http://www.read.cs.ucla.edu/click/
Other
136 stars 35 forks source link

when starting vm with vale bridge, after starting click app, crash #26

Closed zhangwei1984 closed 8 years ago

zhangwei1984 commented 8 years ago

Hi,

After launching the click app, the vm will get crash. The state become to "sc". Any idea?

FromDevice(0)->Print("vm1")->ToDevice(0)
Thread "main": pointer: 0x2000803760, stack: 0x210000
sparsing 0MB at 177000
"main" 
[on_status:205] router id 0
[on_status:206] status change to Running
Thread "click": pointer: 0x2000810a00, stack: 0x230000
Failed to read /local/domain/0/backend/vif/3/0/feature-netmap-tx-desc.
Failed to read /local/domain/0/backend/vif/3/0/feature-netmap-rx-desc.
backend dom 0
Failed to read device/vif/0/tx-ring-refs.
Failed to read device/vif/0/tx-ring-ref0.
Page fault at linear address 0x0, rip 0xc4f64, regs 0x23f738, sp 0x23f7e8, our_sp 0x23f6d0, code 2
Thread: click
RIP: e030:[<00000000000c4f64>] 
RSP: e02b:000000000023f7e8  EFLAGS: 00010202
RAX: 00000000ffffffff RBX: 0000002000816ac0 RCX: 000000000015e8b0
RDX: 0000002000810a00 RSI: 000000000015e8e0 RDI: 000000000015f0c0
RBP: 000000000023fb68 R08: 00000020008119e0 R09: 000000000015e8e0
R10: 00000000000005e5 R11: 00000000000005e5 R12: 0000000000000001
R13: 0000000000000000 R14: 00000020008117e0 R15: 0000000000000004
base is 0x23fb68 caller is 0xc5b58
base is 0x23fcb8 caller is 0x81101
base is 0x23fdd8 caller is 0x47fb2
base is 0x23ff98 caller is 0x38f8
base is 0x23ffe8 caller is 0x35a6

23f7d0: e8 f7 23 00 00 00 00 00 2b e0 00 00 00 00 00 00
23f7e0: 5d 4f 0c 00 00 00 00 00 00 00 00 00 00 00 00 00
23f7f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
23f800: 30 1d 81 00 20 00 00 00 00 00 00 00 00 00 00 00

23fb50: 00 00 00 00 00 00 00 00 b0 4d 0b 00 00 00 00 00
23fb60: c0 6a 81 00 20 00 00 00 b8 fc 23 00 00 00 00 00
23fb70: 58 5b 0c 00 00 00 00 00 40 0a 81 00 20 00 00 00
23fb80: 00 00 00 00 00 00 00 00 64 65 76 69 63 65 2f 76

c4f50: 2e 48 8d bd d0 fe ff ff e8 83 9b ff ff 4d 01 fd
c4f60: 49 83 c7 04 41 89 45 00 45 3b 66 30 72 ba e9 55
c4f70: ff ff ff 31 c0 bf e8 ff 13 00 e8 d1 bb fe ff 4c
c4f80: 89 f7 e8 49 d0 ff ff 49 8b 46 18 41 8b 96 c8 00
Pagetable walk from virt 0, base 1c2000:
 L4 = 00000001763c3067 (0x1c3000)  [offset = 0]
  L3 = 00000001763c4067 (0x1c4000)  [offset = 0]
   L2 = 00000001763c5067 (0x1c5000)  [offset = 0]
    L1 = 0000000000000000 [offset = 0]
zhangwei1984 commented 8 years ago

change to v0.1 6.4M img file.