#8 oops with cvsfs

closed
Petric
None
5
2003-08-01
2003-03-20
Anonymous
No

Mar 20 23:43:35 johannes kernel: <1>Unable to handle
kernel NULL pointer dereference at virtual address 00000000
Mar 20 23:43:35 johannes kernel: printing eip:
Mar 20 23:43:35 johannes kernel: c0115e04
Mar 20 23:43:35 johannes kernel: *pde = 00000000
Mar 20 23:43:35 johannes kernel: Oops: 0000
Mar 20 23:43:35 johannes kernel: CPU: 0
Mar 20 23:43:35 johannes kernel: EIP:
0010:[__wake_up_sync+36/176] Tainted: PF
Mar 20 23:43:35 johannes kernel: EFLAGS: 00210086
Mar 20 23:43:35 johannes kernel: eax: d924d2b4 ebx:
00000000 ecx: 00000001 edx: 00000001
Mar 20 23:43:35 johannes kernel: esi: d79312c0 edi:
c382fe88 ebp: c382fe30 esp: c382fe14
Mar 20 23:43:35 johannes kernel: ds: 0018 es: 0018
ss: 0018
Mar 20 23:43:35 johannes kernel: Process cvsmnt (pid:
9230, stackpage=c382f000)
Mar 20 23:43:35 johannes kernel: Stack: 00000001
00200286 00000001 d924d2b4 ccfcd4a0 d79312c0 c382fe88
ccfcd4a0
Mar 20 23:43:35 johannes kernel: d9248513
d924c478 00008080 d05ecb60 d05ec860 d3c6f800 d79312c0
d3c6f800
Mar 20 23:43:35 johannes kernel: d924b87f
ccfcd4a0 c382fe88 000000dc ccfcd040 d32c8da0 0804d000
d32c8dbc
Mar 20 23:43:35 johannes kernel: Call Trace:
[irda:proc_irda+1145708/241977068]
[irda:proc_irda+1125835/241996941]
[irda:proc_irda+1142064/241980712]
[irda:proc_irda+1138999/241983777] [do_page_fault+482/1277]
Mar 20 23:43:35 johannes kernel:
[__generic_copy_from_user+59/112]
[get_anon_super+172/240]
[irda:proc_irda+1144536/241978240]
[irda:proc_irda+1144536/241978240]
[irda:proc_irda+1144536/241978240] [get_sb_nodev+99/160]
Mar 20 23:43:35 johannes kernel:
[irda:proc_irda+1144536/241978240]
[do_kern_mount+256/320]
[irda:proc_irda+1144536/241978240]
[do_add_mount+147/400] [do_mount+352/432]
[copy_mount_options+121/208]
Mar 20 23:43:35 johannes kernel: [sys_mount+177/224]
[system_call+51/56]
Mar 20 23:43:35 johannes kernel:
Mar 20 23:43:35 johannes kernel: Code: 8b 13 0f 18 02
39 c3 74 6d 8d 76 00 8d 7b f8 8b 4f 04 8b 01
Mar 20 23:43:47 johannes kernel: <3>cvsfs read_super:
it is not allowed to use the same mount point twice
Mar 20 23:43:47 johannes kernel: cvsfs read_super: failed
Mar 20 23:45:01 johannes /USR/SBIN/CRON[9365]: (root)
CMD (test -x /usr/lib/sysstat/sa1 && /usr/lib/sysstat/sa1)
johannes:/home/johannes#

Discussion

  • Petric
    Petric
    2003-04-14

    • assigned_to: nobody --> petric
     
  • Petric
    Petric
    2003-04-14

    Logged In: YES
    user_id=194627

    If you read the post you did there is at the second line from bottom a message
    which may be the reason for the oops.
    Question: Are you using the device file system (devfs) or the static /dev file system ?

    regards
    Petric

     
  • Logged In: YES
    user_id=834793

    I get the same errors with cvsfs-1.1.9
    i am using devfs, a strace cvsfsd shows it tries to use the
    correct device (/dev/cvsfs/0) before segfaulting

     
  • Petric
    Petric
    2003-07-31

    Logged In: YES
    user_id=194627

    2 questions:

    1. did you use the same mount point twice ?
    This line from your syslog tells this:
    ---------------- cut -------------------
    Mar 20 23:43:47 johannes kernel: <3>cvsfs read_super:
    it is not allowed to use the same mount point twice
    ---------------- cut -------------------
    Actually this is not supported. Anyway it should not oops.

    2. Which /dev file system are you using ?
    Is it a static /dev filesysten or do you use devfs ?

    regards
    Petric

     
  • Logged In: YES
    user_id=834793

    i just reread my syslog, it's actually different from the
    one in the first message:
    (i use the device filesystem)
    Jul 31 16:10:15 Otherland kernel: Unable to handle kernel
    NULL pointer dereferen
    ce at virtual address 00000004
    Jul 31 16:10:15 Otherland kernel: printing eip:
    Jul 31 16:10:15 Otherland kernel: c0117aa3
    Jul 31 16:10:15 Otherland kernel: *pde = 00000000
    Jul 31 16:10:15 Otherland kernel: Oops: 0002
    Jul 31 16:10:15 Otherland kernel: CPU: 0
    Jul 31 16:10:15 Otherland kernel: EIP:
    0010:[add_wait_queue+35/96] Tainted
    : P
    Jul 31 16:10:15 Otherland kernel: EFLAGS: 00010002
    Jul 31 16:10:15 Otherland kernel: eax: d1b6acb0 ebx:
    c1dc1014 ecx: cf560000
    edx: c1dc100c
    Jul 31 16:10:15 Otherland kernel: esi: 00000000 edi:
    00000246 ebp: 00000010
    esp: cf561ef4
    Jul 31 16:10:15 Otherland kernel: ds: 0018 es: 0018 ss: 0018
    Jul 31 16:10:15 Otherland kernel: Process cvsfsd (pid:
    17182, stackpage=cf561000
    )
    Jul 31 16:10:15 Otherland kernel: Stack: c9c75ec0 cf561f44
    00000000 d1b65775 c9c
    75ec0 d1b6acb0 cf561f44 cf560000
    Jul 31 16:10:15 Otherland kernel: 00000000 c9c75ec0
    00000004 c014d509 c9c
    75ec0 cf561f44 cf560000 00000145
    Jul 31 16:10:15 Otherland kernel: cf560000 7fffffff
    00000000 cf561f44 000
    00000 c1dc1000 c098e7d4 bffff7f4
    Jul 31 16:10:15 Otherland kernel: Call Trace:
    [<d1b65775>] [<d1b6acb0>] [do_s
    elect+537/560] [sys_select+850/1264] [system_call+51/56]
    Jul 31 16:10:15 Otherland kernel:
    Jul 31 16:10:15 Otherland kernel: Code: 89 5e 04 89 72 08 89
    43 04 89 18 ff 49 0
    4 8b 41 14 39 41 04
    Jul 31 16:10:15 Otherland kernel: <6>note: cvsfsd[17182]
    exited with preempt_co
    unt 1

     
  • Petric
    Petric
    2003-07-31

    Logged In: YES
    user_id=194627

    Aaaaaaaaaaahhhhhhhh !

    It is a problem i have with devfs. Until recently i had no
    system using devfs. I traced it down. It is a simple fix:

    In file cvsfs/devfs.c you find the code fragment (around line
    385)
    ------------------- cut ---------------------
    cvsfs_device_major = device_id;

    init_waitqueue_head (&(cvsfs_restart_signal));
    #endif

    #ifdef __DEBUG__
    printk (KERN_DEBUG "cvsfs: devfs_init - successful
    completed\n");
    #endif

    return 0;
    ------------------- cut ---------------------

    Move the line "init_waitqueue_head ..." 2 lines lower
    (after the line with "#endif").

    Recompile, reinstall and you're (hopefully done).

    regards
    Petric

     
  • Logged In: NO

    that worked, it's running fine now

     
  • Petric
    Petric
    2003-08-01

    • status: open --> closed