Re: The next ramfs bug ... Bad news - the patch is broken

From: wollny (wollny@cns.mpg.de)
Date: Fri Jun 16 2000 - 14:59:16 EDT

  • Next message: Christopher Zimmerman: "Re: ac17-18 OS freeze"

    The last time i didn't test what happens, when i unmount the ramfs and
    it's not empty - it hits a BUG():

    stack trace:
    0:fs/inode.c:353: hit BUG() since inode->i_data.nrpages != 0
    1:inode.c:861: iput
    2:dcache.c:83 prune_dcache
    3:dcache.c:501 shrink_dcache_parent
    4:super.c:833 kill_super your patch calls the above

    The output of ksymoops:
    >>
    ksymoops 2.3.4 on i686 2.4.0-wollny-test. Options used
         -V (default)
         -k /proc/ksyms (default)
         -l /proc/modules (default)
         -o /lib/modules/2.4.0-wollny-test/ (default)
         -m /usr/src/linux/System.map (default)

    Jun 16 20:39:06 bolide kernel: invalid operand: 0000
    Jun 16 20:39:06 bolide kernel: CPU: 1
    Jun 16 20:39:06 bolide kernel: EIP: 0010:[clear_inode+34/240]
    Jun 16 20:39:06 bolide kernel: EFLAGS: 00010282
    Jun 16 20:39:06 bolide kernel: eax: 0000001b ebx: f7377ac0 ecx: 00000097 edx: c02430cc
    Jun 16 20:39:06 bolide kernel: esi: f8929a60 edi: 00000000 ebp: 08052550 esp: f7399f08
    Jun 16 20:39:06 bolide kernel: ds: 0018 es: 0018 ss: 0018
    Jun 16 20:39:06 bolide kernel: Process umount (pid: 669, stackpage=f7399000)
    Jun 16 20:39:06 bolide kernel: Stack: c020412b c0204321 00000161 f7377ac0 c015048a f7377ac0 f73784c0 f7377ac0
    Jun 16 20:39:06 bolide kernel: 00000066 c014e3fa f7377ac0 f73bd360 f73bd360 00000000 c014e6dd 00000066
    Jun 16 20:39:06 bolide kernel: f7427400 c013f182 f73bd360 f7643680 f7427400 00000000 c013f5d2 f7427400
    Jun 16 20:39:06 bolide kernel: Call Trace: [tvecs+35679/84628]
                                    [tvecs+36181/84628]
                                    [iput+330/592]
                                    [prune_dcache+170/272]
                                    [shrink_dcache_parent+13/32]
                                    [kill_super+50/288]
                                    [do_umount+482/496]
    Jun 16 20:39:06 bolide kernel: Code: 0f 0b 83 c4 0c f6 83 f0 00 00 00 08 75 20 68 63 01 00 00 68
    Using defaults from ksymoops -t elf32-i386 -a i386

    Code; 00000000 Before first symbol
    00000000 <_EIP>:
    Code; 00000000 Before first symbol
    Code; 00000002 Before first symbol
       2: 83 c4 0c addl $0xc,%esp
    Code; 00000005 Before first symbol
       5: f6 83 f0 00 00 00 08 testb $0x8,0xf0(%ebx)
    Code; 0000000c Before first symbol
       c: 75 20 jne 2e <_EIP+0x2e> 0000002e Before first symbol
    Code; 0000000e Before first symbol
       e: 68 63 01 00 00 pushl $0x163
    Code; 00000013 Before first symbol
      13: 68 00 00 00 00 pushl $0x0

    7 warnings issued. Results may not be reliable.
    <<

    best wishes

    Gert

    --
    Please CC me when posting to linux-kernel
    

    - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Fri Jun 16 2000 - 14:57:45 EDT