You are not logged in.

#1 2010-05-04 19:15:44

birdspider
Member
From: Vienna
Registered: 2007-12-29
Posts: 30
Website

[SOLVED] Kernel Bug on CIFS.umount

Hello there,

my PC's been haunted by this for at least a year, I suspect it has something to do with removed support for '_netdev' mount options in cifs mounts,
anyways

1. what is the/a appropriate way to mount and umount a samba share on startup/shutdown using a persistent wired ethernet connection

2. does this kernel bug log mean anything to anyone (esp why is the sound timer involved ?) http://pastebin.com/tuxZse6z

thx

Last edited by birdspider (2010-05-14 16:50:23)

Offline

#2 2010-05-05 08:37:51

Ber
Member
From: Belgium
Registered: 2006-07-05
Posts: 80
Website

Re: [SOLVED] Kernel Bug on CIFS.umount

Hi,

I don't know anything about this bug, sorry, but I just can tell you that the presence of the sound timer in the stack trace doens't mean it's related, it's just the last file used before your crash...

good luck


V=RI sweet V=RI

Offline

#3 2010-05-05 10:39:28

Zariel
Member
Registered: 2008-10-07
Posts: 446

Re: [SOLVED] Kernel Bug on CIFS.umount

netfs deamon is used to connect to shares, background it on startup to prevent you waiting ages when a timeout occurs.

Offline

#4 2010-05-05 11:37:51

birdspider
Member
From: Vienna
Registered: 2007-12-29
Posts: 30
Website

Re: [SOLVED] Kernel Bug on CIFS.umount

right now I have a network share in fstab

fstab:
//40.40.0.4/SHARE /media/SHARE cifs defaults,_netdev,iocharset=utf8,rw,exec,workgroup=GUILD 0 0

rc.conf:
DAEMONS=(syslog-ng hal fam network @opennptd @acpid @sshd @netfs @crond @cpufreq @alsa @cups @actkbd)

it mounts correctly but fails to umount on reboot/shutdown

@Zariel: does backgrounding apply to shutdown(umount) also ?

Offline

#5 2010-05-05 12:03:16

Zariel
Member
Registered: 2008-10-07
Posts: 446

Re: [SOLVED] Kernel Bug on CIFS.umount

No it doesnt, it also disables them backwards from the array, so your shares should get unmount before network is taken down, what error are you getting?

Offline

#6 2010-05-07 07:43:26

birdspider
Member
From: Vienna
Registered: 2007-12-29
Posts: 30
Website

Re: [SOLVED] Kernel Bug on CIFS.umount

well no error, just this kernel bug, at first I suspected tne '_netdev' option to be depreciated and tried 'autofs' with the exact same result

[edit]
by the way, sometimes when I umount it with 'umount' it unmounts but I get 'umount.cifs is only working for CIFS mounts' (or similar)

Last edited by birdspider (2010-05-07 07:45:04)

Offline

#7 2010-05-14 16:49:30

birdspider
Member
From: Vienna
Registered: 2007-12-29
Posts: 30
Website

Re: [SOLVED] Kernel Bug on CIFS.umount

it doesn't seem to happen anymore, maybe some config was broken using netfs and _netdev currently

Offline

Board footer

Powered by FluxBB