Hello There,

I have set up a small server running Debian Linux. It is running Samba
and I have shared a couple of folders. It seems to work pretty well. I
can make use of the shares using my wifes WinXP machine and my Win2000.
In fact it went so well that I decided to have another crack at Linux
on my desktop.

I installed Fedora core 2 without indicent. I used yum to update my
software and install some other stuff (like the newsreader I am writing
this with)

First thing I noticed is that something called smartd fails to load at
bootup. I looked it up and it appears to be some kind of monitoring
software so I thought I would leave that problem till later. It fails
to load every time.

Then I started to connect to my Samba server. I use the follow command
to share my perhaps badly named share called home:

smbmount //tiny/home /home/david/tiny

This allows me to mount the share. But it does not work consistently.
It always asks for a password, so I guess I know it talks to the server.
Sometimes the mount appears to work and when I go to the
/home/david/tiny folder I can list the contents of the server share.
And sometimes the mount fails and if I try to ls it or open the folder
graphically it will crash the graphical window or make my terminal
window become unresponsive. Once it enters that state any attempt to
umount /home/david/tiny is greeted by:

umount: /home/david/tiny: device is busy

But the share can be mounted at another mountpoint or/and accessed from
another computer.

Shutting down after such failure will generate long series of errors
(unable to unmount drive) during the shutdown process. It will
eventually shut down cleanly though (I guess there is a timeout on the
unmounting of the drive).

I have used many other commands and options to try to mount the drives.
I have also used mount. All of them exhibit the same problem. (I
wasnt able to get entries in fstab to work at all, but I think they also
just use the mount program so I didnt try for too long).

I do hope somebody can help me with this.

Cheers,

David

I copied these messages from the /var/log/messages file.

Jul 3 00:10:39 localhost su(pam_unix)[2985]: session opened for user
root by david(uid=500)
Jul 3 00:12:46 localhost ntpd[2213]: synchronized to 66.187.233.4,
stratum=1
Jul 3 00:12:46 localhost ntpd[2213]: kernel time sync disabled 0041
Jul 3 00:15:08 localhost su(pam_unix)[3031]: session opened for user
root by david(uid=500)
Jul 3 00:18:09 localhost ntpd[2213]: kernel time sync enabled 0001
Jul 3 00:25:24 localhost kernel: <5>smb_lookup: find //.Trash-david
failed, error=-5
Jul 3 00:25:24 localhost kernel: Unable to handle kernel NULL pointer
dereference at virtual address 00000000
Jul 3 00:25:24 localhost kernel: printing eip:
Jul 3 00:25:24 localhost kernel: 00000000
Jul 3 00:25:24 localhost kernel: *pde = 00000000
Jul 3 00:25:24 localhost kernel: Oops: 0000 [#2]
Jul 3 00:25:24 localhost kernel: CPU: 0
Jul 3 00:25:24 localhost kernel: EIP: 0060:[<00000000>] Not tainted
Jul 3 00:25:24 localhost kernel: EFLAGS: 00210246 (2.6.5-1.358)
Jul 3 00:25:24 localhost kernel: EIP is at 0x0
Jul 3 00:25:24 localhost kernel: eax: 288cb880 ebx: 2b92ca90 ecx:
0214edcd edx: 24c36fa0
Jul 3 00:25:24 localhost kernel: esi: 2888c024 edi: 034d1180 ebp:
288cb880 esp: 24c36f14
Jul 3 00:25:24 localhost kernel: ds: 007b es: 007b ss: 0068
Jul 3 00:25:24 localhost kernel: Process nautilus (pid: 3161,
threadinfo=24c36000 task=2482b730)
Jul 3 00:25:24 localhost kernel: Stack: 3ab36976 24c36f38 00000000
2888c000 26707a54 24bf7818 2a98e080 0214edcd
Jul 3 00:25:24 localhost kernel: 24c36fa0 00000000 000cc7b6
288cb880 00000000 00000000 2888c000 00000002
Jul 3 00:25:24 localhost kernel: 00000000 00000000 00000001
00000004 00200246 3ab3e020 24bf7880 288cb880
Jul 3 00:25:24 localhost kernel: Call Trace:
Jul 3 00:25:24 localhost kernel: [<3ab36976>] smb_readdir+0x346/0x3f1
[smbfs]
Jul 3 00:25:24 localhost kernel: [<0214edcd>] filldir64+0x0/0x12e
Jul 3 00:25:24 localhost kernel: [<0214eaba>] vfs_readdir+0x7a/0x9b
Jul 3 00:25:24 localhost kernel: [<0214edcd>] filldir64+0x0/0x12e
Jul 3 00:25:24 localhost kernel: [<0214ef60>] sys_getdents64+0x65/0xaa
Jul 3 00:25:24 localhost kernel: [<0214e26c>]
generic_file_fcntl+0xd7/0x140
Jul 3 00:25:24 localhost kernel:
Jul 3 00:25:24 localhost kernel: Code: Bad EIP value.

----------------------------------------------------------
and the smard one

Jul 3 00:08:22 localhost smartd[1962]: smartd version 5.21 Copyright
(C) 2002-3 Bruce Allen
Jul 3 00:08:22 localhost smartd[1962]: Home page is
http://smartmontools.sourceforge.net/
Jul 3 00:08:22 localhost smartd[1962]: Opened configuration file
/etc/smartd.conf
Jul 3 00:08:22 localhost smartd[1962]: Configuration file
/etc/smartd.conf parsed.
Jul 3 00:08:22 localhost smartd[1962]: Device: /dev/hda, opened
Jul 3 00:08:22 localhost smartd[1962]: Device: /dev/hda, unable to read
Device Identity Structure
Jul 3 00:08:22 localhost smartd[1962]: Unable to register ATA device
/dev/hda at line 30 of file /etc/smartd.conf
Jul 3 00:08:22 localhost smartd[1962]: Unable to register device
/dev/hda (no Directive -d removable). Exiting.
Jul 3 00:08:22 localhost smartd: smartd startup failed