Hi

Some info about failures I see:

root:vallo# kldstat
Id Refs Address    Size     Name
 1    3 0xc0100000 3be9e0   kernel
 2    1 0xc04bf000 480d4    acpi.ko
root:vallo# smbutil view //vallo@poweredge
smbutil: smb_lib_init: can't find kernel module

It means kernel module will not be loaded upon first use of smbfs.
This can and can not be considered as bug.

root:vallo# cd /boot/kernel
root:vallo# kldload smbfs.ko 
root:vallo# kldstat 
Id Refs Address    Size     Name
 1    8 0xc0100000 3be9e0   kernel
 2    1 0xc04bf000 480d4    acpi.ko
 3    1 0xc17dc000 20000    smbfs.ko
root:vallo# smbutil view //vallo@poweredge
Password:
Share        Type       Comment
-------------------------------
IPC$         pipe       Remote IPC
work         disk
tools        disk
users        disk       
private      disk       
test         disk       

Now the writing part:

After creating 5MB file using /dev/urandom, I'm trying to copy it
over to users/vallo smb share mounted at /mnt, which fails. The copy
is interruptible using Ctrl-C. Examination at NT4 server shows 0
byte file. Umount of /mnt fails with device busy. Umount -f /mnt
fails to return prompt, but after interrupting the smbfs is
unmounted.  There is no kernel messages or something in syslog. The
copy operation returns failure ~3 seconds after start.

root:vallo# mount
/dev/ad0s1a on / (ufs, local, soft-updates)
devfs on /dev (devfs, local)
/dev/ad0s1d on /usr (ufs, NFS exported, local, soft-updates)
procfs on /proc (procfs, local)
myhakas:/opt/src-current/src on /usr/src (nfs)
myhakas:/opt/src-current/ports on /usr/ports (nfs, read-only)
//VALLO@POWEREDGE/USERS on /mnt (smbfs)
root:vallo# cd /home/vallo/
root:vallo# dd if=/dev/urandom of=testfile bs=1m count=5
5+0 records in
5+0 records out
5242880 bytes transferred in 0.518492 secs (10111784 bytes/sec)
root:vallo# cp testfile /mnt/vallo/
cp: /mnt/vallo/testfile: Operation timed out
^C
root:vallo#
root:vallo# ls -la /mnt/vallo
^C
root:vallo# 
root:vallo# umount /mnt
umount: unmount of /mnt failed: Device busy
root:vallo# umount -f /mnt
^C
root:vallo# mount
/dev/ad0s1a on / (ufs, local, soft-updates)
devfs on /dev (devfs, local)
/dev/ad0s1d on /usr (ufs, NFS exported, local, soft-updates)
procfs on /proc (procfs, local)
myhakas:/opt/src-current/src on /usr/src (nfs)
myhakas:/opt/src-current/ports on /usr/ports (nfs, read-only)
root:vallo# 
-- 

Vallo Kallaste
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to