#159 mount proc somewhere other than proc inside a chroot - crash

open
nobody
3
2008-07-05
2008-05-19
John Hughes
No

on node 1:

# chroot /somewhere /bin/sh
# mkdir /new-proc
# mount -t proc proc /new-proc

RPCOCFS_NOTIFY failed -2------------[ cut here ]------------
kernel BUG at cluster/ssi/vproc/procfs_mount.c:135!
invalid operand: 0000 [#1]
SMP
Modules linked in: button ac battery dm_snapshot dm_mirror dm_mod loop i2c_piix4 i2c_core joydev parport_pc parport floppy ext3 jbd ne2k_pci 8390
CPU: 0
EIP: 0060:[<c025039a>] Not tainted VLI
EFLAGS: 00000286 (2.6.12-ssi-686-smp)
EIP is at proc_notify_all+0x17a/0x190
eax: 0000001e ebx: cd745ff6 ecx: c04f4a0c edx: 00000200
esi: cca88740 edi: cca95ea4 ebp: cca95eb8 esp: cca95e6c
ds: 007b es: 007b ss: 0068
Process mount (pid: 67223, threadinfo=cca94000 task=cf746840)
Stack: c04a71d8 fffffffe 40000800 00000000 00000000 cd745ff6 0000000a 00000032
00000000 0000000a 00000000 00000000 cd745000 fffffffe 00000003 00000032
00000000 c13b4ec0 cca95f38 cca95ed8 c0193b87 c13b4ec0 cca95f38 40000800
Call Trace:
[<c01079ff>] show_stack+0x7f/0xa0
[<c0107ba4>] show_registers+0x164/0x230
[<c0107f54>] die+0xf4/0x1a0
[<c0108086>] do_trap+0x86/0xd0
[<c0108378>] do_invalid_op+0xb8/0xd0
[<c010761b>] error_code+0x4f/0x54
[<c0193b87>] do_add_mount+0x207/0x280
[<c0193963>] do_new_mount+0x93/0xb0
[<c01941bc>] do_mount+0x18c/0x2f0
[<c0194413>] sys_mount+0x93/0xd0
[<c0106a41>] syscall_call+0x7/0xb
Code: 89 44 24 04 89 14 24 89 4c 24 08 e8 91 f9 fc ff 85 c0 75 95 8b 45 e8 85 c0 74 8e 89 44 24 04 c7 04 24 d8 71 4a c0 e8 36 9b ed ff <0f> 0b 87 00 68 e8 4a c0 89 74 24 04 e9 71 ff ff ff 90 8d 74 26

Entering kdb (current=0xcf746840, pid 67223) on processor 0 Oops: invalid operand
due to oops @ 0xc025039a
eax = 0x0000001e ebx = 0xcd745ff6 ecx = 0xc04f4a0c edx = 0x00000200
esi = 0xcca88740 edi = 0xcca95ea4 esp = 0xcca95e6c eip = 0xc025039a
ebp = 0xcca95eb8 xss = 0x00000068 xcs = 0x00000060 eflags = 0x00000286
xds = 0x0000007b xes = 0x0000007b origeax = 0xffffffff &regs = 0xcca95e38

Related

Bugs: #1

Discussion

  • Roger Tsang
    Roger Tsang
    2008-05-23

    • milestone: 767946 -->
     
  • Roger Tsang
    Roger Tsang
    2008-05-23

    Logged In: YES
    user_id=1246761
    Originator: NO

    changed group to 'none' for 2.6.12-ssi

     
  • Roger Tsang
    Roger Tsang
    2008-07-05

    • priority: 5 --> 3