DragonFly BSD
DragonFly bugs List (threaded) for 2004-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: smbfs problems?


From: Adam K Kirchhoff <adamk@xxxxxxxxxxxx>
Date: 17 Mar 2004 12:44:38 GMT

Hiten Pandya <hmp@xxxxxxxxxxxxx> wrote:
> Adam K Kirchhoff wrote:

>> Adam K Kirchhoff <adamk@xxxxxxxxxxxx> wrote:
>> 
>>>Adam K Kirchhoff <adamk@xxxxxxxxxxxx> wrote:
>>>
>>>>Hiten Pandya <hmp@xxxxxxxxxxxxx> wrote:
>>>>
>>>>>Adam K Kirchhoff wrote:
>> 
>> 
>>>>>>Is there something up with smbfs?
>>>>>>
>>>>>>[ root@sorrow - /home/adamk ]: kldload smbfs
>>>>>>kldload: can't load smbfs: Exec format error
>>>>>>
>>>>>>This is from a build from just last night.
>>>>>>
>>>>>>Adam
>>>>>>
>> 
>> 
>>>>>	Dear Adam,
>> 
>> 
>>>>>	I have been aware of this problem for quite a long time now,
>>>>>	but it got pushed down on my list of things to do.
>> 
>> 
>>>>>	Anyway, I have committed a fix to for this problem just a few
>>>>>	minutes ago.  You will need to build the SMBFS module,
>>>>>	libmchain and libiconv and install them into /modules.
>> 
>> 
>>>>>	Once you have done that, load libiconv, libmchain and finally
>>>>>	load smbfs.ko:
>> 
>> 
>>>>>	# cd /sys/vfs/smbfs && make && make install
>>>>>	# cd ../../libkern && make && make install
>>>>>	# cd ../kern/libmchain && make && make install
>> 
>> 
>>>>>	# kldload libiconv; kldload libmchain; kldload smbfs
>>>>>	netsmb_dev: loaded
>> 
>> 
>>>>>	Enjoy and thanks for reminding me! :-)
>> 
>> 
>>>>I'm getting closer :-)
>> 
>> 
>>>>I still have one problem, though:
>> 
>> 
>>>>[ root@sorrow - ~ ]: mount /home/adamk/thorn 
>>>>smbfs: can't get handle to requester (no /dev/nsmb* device)
>> 
>> 
>>>>I do have /dev/nsmb* devices:
>> 
>> 
>>>>[ root@sorrow - ~ ]: ls -l /dev/nsmb*
>>>>crw-------  1 root  wheel  144,   0 Mar 16 08:46 /dev/nsmb0
>>>>crw-------  1 root  wheel  144,   1 Mar 16 08:46 /dev/nsmb1
>>>>crw-------  1 root  wheel  144,   2 Mar 16 08:46 /dev/nsmb2
>>>>crw-------  1 root  wheel  144,   3 Mar 16 08:46 /dev/nsmb3
>> 
>> 
>>>>Any ideas?
>> 
>> 
>>>So a little more poking reveals the following showing up in dmesg:
>> 
>> 
>>>error: module compiled without SMP support
>>>netsmb_dev: unloaded
>>>module_register_init: MOD_LOAD (dev_netsmb, ddc6a134, 0) error 1
>>>error: module compiled without SMP support
>> 
>> 
>>>Could this be the cause of my current problems?
>> 
>> 
>> I did some googling and saw that you need options NETSMB and
>> NETSMBCRYPTO with FreeBSD in the kernel.  So I tried adding 
>> those two options and recompiling.  Unfortunately, the build dies:
>> 
>> http://memory.visualtech.com/build.txt
>> 

> 	Add LIBMCHAIN  and LIBICONV options to your kernel config
> 	too.  All mb_* errors are resulting from that, and so are
> 	the iconv_* errors.

New problem :-)

If I boot up and have loader.conf load libiconv, libmchain, and smbfs,
the kernel panic:

http://memory.visualtech.com/errors.txt

If I don't load them, and then try to mount a samba share, I get:

[ root@sorrow - /home/adamk ]: mount_smbfs //adamk@thorn/Media /mnt
mount_smbfs: vfsload(smbfs): File exists

Adam




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