Mounting windows shares (CIFS) segmentation fault!

Questions about IPKG can go here!
Forum rules
1) On 12/25, Synology Forums will be getting a new layout. During this time, content will still be accessible but you will be unable to make new threads and posts.

2) This is a user forum for Synology users to share experience/help out each other: if you need direct assistance from the Synology technical support team, please use the following form:

3) To avoid putting users' DiskStation at risk, please don't paste links to any patches provided by our Support team as we will systematically remove them. Our Support team will provide the correct patch for your DiskStation model.
I'm New!
I'm New!
Posts: 3
Joined: Fri Apr 03, 2009 2:12 pm

Mounting windows shares (CIFS) segmentation fault!

Postby baalamb » Sat Apr 11, 2009 8:24 pm

Hi All,
Bit of a cross-post, but my message here: has no takers. This one's really driving me nuts, because my backup system is simply broken now, and nothing I do seems to help! Anyone here involved with the ipkg feed able to help??

I've just upgraded to the latest firmware (DSM 2.1-0839) on my DS-107+, and it seems to have broken my CIFS mounting. I've got optware installed, with the kernel-module-cifs inserted. I have a script set up to wake one of my PCs, mount some shared folders, then rsync to backup their contents. However, after the upgrade, the "mount -t cifs ..." seems to work, but any attempt to access the folder causes an instant segmentation fault! :shock:

dmesg tells me:

<1>Unable to handle kernel NULL pointer dereference at virtual address 00000158
pgd = c2e14000
[00000158] *pgd=029b7031, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#9]
Modules linked in: cifs tun usbhid usblp usb_storage uhci_hcd ohci_hcd ehci_hcd ds107+_synobios nfsd exportfs ppp_async crc_ccitt ppp_generic slhc snd_pcm_oss snd_mixer_oss snd_usb_audio snd_pcm snd_timer snd_hwdep snd_usb_lib snd_rawmidi snd snd_page_alloc soundcore quota_v2 usbcore sg ntfs vfat fat appletalk psnap llc
CPU: 0
PC is at cifs_revalidate+0x8c/0x39c [cifs]
LR is at cifs_revalidate+0x50/0x39c [cifs]
pc : [<bf146170>] lr : [<bf146134>] Tainted: P
sp : c16dbe4c ip : c16dbe4c fp : c16dbe94
r10: 00000000 r9 : c16da000 r8 : bf146480
r7 : c16dbf40 r6 : bf164340 r5 : 00000022 r4 : c273b94c
r3 : 00000000 r2 : 00000023 r1 : 00000008 r0 : c273b94c
Flags: nZcv IRQs on FIQs on Mode SVC_32 Segment user
Control: 5317F Table: 02E14000 DAC: 00000015
Process umount (pid: 4126, stack limit = 0xc16da194)
Stack: (0xc16dbe4c to 0xc16dc000)
be40: 49d5d016 00000000 49d5d016 c5f6ae3c 00000000
be60: 00000000 be857af4 c16dbf40 c16dbf40 c273b94c be859e8b c16dbf40 bf146480
be80: c16da000 be858ba0 c16dbeac c16dbe98 bf14649c bf1460f4 00000000 c5f6ae60
bea0: c16dbed0 c16dbeb0 c00efe84 bf146490 00000000 c16dbed4 be859e8b 000000c4
bec0: c0043cdc c16dbf3c c16dbed4 c00eff7c c00efe6c c273b94c c0c14c20 00000000
bee0: 00001000 00000000 00001000 00000000 00000001 49ca5010 00000001 49d5d016
bf00: 00000000 49d5d016 49d3cae8 00010001 00000000 be857af4 c16dbf40 be859e86
bf20: 000000c4 c0043cdc be857af4 c16dbf40 c16dbfa4 c16dbf40 c00f0d5c c00eff50
bf40: 00010001 00800001 000041ed 00000001 00000006 00000000 00000000 00000000
bf60: 00001000 00000000 49ca5010 00000000 49d5d016 00000000 49d5d016 00000000
bf80: 49d3cae8 00000000 00001000 00000008 be859e87 be857ba9 00000000 c16dbfa8
bfa0: c0043b40 c00f0d4c be859e87 c0092998 be857ba0 be857af4 be857af4 00000070
bfc0: be859e87 be857ba9 be859e8b be857ba0 00000000 be857ba0 be858ba0 be857b7c
bfe0: be857b80 be857ae0 0008147c 000b7530 60000010 be857ba0 00000000 00000000
[<bf1460e4>] (cifs_revalidate+0x0/0x39c [cifs]) from [<bf14649c>] (cifs_getattr+0x1c/0x38 [cifs])
[<bf146480>] (cifs_getattr+0x0/0x38 [cifs]) from [<c00efe84>] (vfs_getattr+0x28/0x90)
r5 = C5F6AE60 r4 = 00000000
[<c00efe5c>] (vfs_getattr+0x0/0x90) from [<c00eff7c>] (vfs_lstat+0x3c/0x54)
r8 = C0043CDC r7 = 000000C4 r6 = BE859E8B r5 = C16DBED4
r4 = 00000000
[<c00eff40>] (vfs_lstat+0x0/0x54) from [<c00f0d5c>] (sys_lstat64+0x20/0x44)
r5 = C16DBF40 r4 = BE857AF4
[<c00f0d3c>] (sys_lstat64+0x0/0x44) from [<c0043b40>] (ret_fast_syscall+0x0/0x2c)
r5 = BE857BA9 r4 = BE859E87
Code: e1a02005 eb3db02a e594304c e1a00004 (e5937158)

i.e. CIFS has caused some kind of major issue in the bit called "cifs_revalidate". I've tried completely force re-installing all of my optware packages, and have searched exhaustively around the web. Does anyone have any ideas? Has the kernel somehow changed to mean the CIFS module (cifs.ko) no longer works with it?

Thanks in advance to anyone who can help! :?
Posts: 200
Joined: Wed Oct 21, 2009 3:05 pm

Re: Mounting windows shares (CIFS) segmentation fault!

Postby klen » Wed Oct 21, 2009 3:15 pm


I encounter the same problem. Did you ever manage to solve it?

Thanks in advance.
DSM latest
DSM 2.3-1157
DSM latest
Posts: 200
Joined: Wed Oct 21, 2009 3:05 pm

Re: Mounting windows shares (CIFS) segmentation fault!

Postby klen » Fri Oct 23, 2009 9:26 am

I contacted synology on this and got the following response:

The file you installed is build from the old firmware we release so it would compatible with the latest firmware your DS107+ use now. Please wait for the GPL source of new firmware releasing and contact the third party organization to build a new file.

I assume I have to wait for the GPL code to be released and ask the original mod-er to build a new module.
I also think that in the response from Synology the line should read 'would not be compatible'
DSM latest
DSM 2.3-1157
DSM latest

Return to “IPKG”

Who is online

Users browsing this forum: No registered users and 1 guest