NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rump vs. smbfs



On Fri, Jun 26, 2009 at 10:55:26AM +0100, Matthias Scheler wrote:
> That patch works for me as well:
> 
> tron@lyssa:~tron#mount_smbfs //xxxx/babylon4 /mnt
> Password:
> tron@lyssa:~tron#ls -l /mnt/backups 
> total 127
> -rwxr-xr-x  1 root  wheel  15364 Jun 13 05:44 .DS_Store
> drwxr-xr-x  1 root  wheel  16384 Jun 20 04:41 colwyn-20090620-040316
> drwxr-xr-x  1 root  wheel  16384 Jun 21 04:40 colwyn-20090621-040317
> drwxr-xr-x  1 root  wheel  16384 Jun 22 04:39 colwyn-20090622-040247
> drwxr-xr-x  1 root  wheel  16384 Jun 23 04:40 colwyn-20090623-040237
> drwxr-xr-x  1 root  wheel  16384 Jun 24 04:42 colwyn-20090624-040429
> drwxr-xr-x  1 root  wheel  16384 Jun 25 04:38 colwyn-20090625-040150
> drwxr-xr-x  1 root  wheel  16384 Jun 26 04:39 colwyn-20090626-040230
> 
> I can even read files without problems:
> 
> tron@lyssa:~tron#gzip -tv 
> /mnt/backups/colwyn-20090626-040230/root-20090626-040230.dump.gz
> /mnt/backups/colwyn-20090626-040230/root-20090626-040230.dump.gz:       OK
> 
> Can you please ask for a review on "tech-kern" and eventually commit
> this change?

No there is another problem which might or might not be related to
your patch: the machine kernel crashed during unmount.

gdb) target kvm netbsd.18.core
#0  0xc02451a6 in cpu_reboot ()
(gdb) where
#0  0xc02451a6 in cpu_reboot ()
#1  0xc0315884 in panic ()
#2  0xc0345fe9 in trap ()
#3  0xc010cd37 in calltrap ()
#4  0xc015a170 in db_read_bytes ()
#5  0xc0155539 in db_get_value ()
#6  0xc015c121 in db_stack_trace_print ()
#7  0xc0315849 in panic ()
#8  0xc0345fe9 in trap ()
#9  0xc010cd37 in calltrap ()
#10 0xcf80cfaf in smbfs_root ()
#11 0xc03b9e7c in VFS_ROOT ()
#12 0xc03b7ef1 in lookup ()
#13 0xc03b8646 in namei ()
#14 0xc03c09b8 in do_sys_stat ()
#15 0xc03c0a0f in sys___lstat50 ()
#16 0xc0327094 in syscall ()
#17 0xc010058e in syscall1 ()

It doesn't happen if I don't try to list a directory between mount
and unmount.

        Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/


Home | Main Index | Thread Index | Old Index