Known bug related to NPTL. Rolling back to kernel 2.4.20-13.8 from Red Hat 8.0 fixes it, but it's an annoying workaround. See the following bugzilla entry: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=90036 I don't know if it's fixed in the latest RH 9 kernel. On Wed, 2003-06-04 at 08:11, Ronny Aasen wrote: > On Sat, 2003-05-24 at 02:58, Y Makki wrote: > > I am experiencing the same problem. > > the client is 2 RHL9 with all errata. > as a workstation installation. on differnet hardware. > > i use > security = server (also tried with security=domain behave the same) > password server = 192.168.1.10 (tried with netbios name too) > wins server = 192.168.1.10 > > i have tried with adding names to hosts and lmhosts file to avoid name > lookup problems. > > the w2k server is also the only ip in the resolv.conf file > > the password server is a w2k server > and this server works fine against RHL 7.2 - 7.3 - 8 > > the samba server is a rhl 7.3 with all errata, > and a gentoo linux with a barebone system + samba. > the RHL9 client behaves identical against both servers. > > the behavior is as folows. > > i always try to mount/umount the same share over and over again > > every second/third mount couses the mount to hang, i can return to the > prompt with ctrl+c > > > i have tried using > -fstab (hang on boot) > -autofs (hang when entering directory) > -mount -t smbfs (hang on command line) > > all behave in same fashion and create the same prosesses > > if the mount goes well i end up with one mount.smbfs prosess running as > a 'deamon' with PPID = 1 > F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY TIME > COMMAND > 1 0 4464 1 24 0 4488 1696 pause S ? 0:00 > /sbin/mount.smbfs //filsrv/linux /mnt/filsrv/linux/ -o rw userna > me ronny password XXXXX > > pstree output > |├─mount.smbfs > | > > as expected > > > if it hangs i have 2 mount.smbfs and my hanging mount command like this > > F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY TIME > COMMAND > 0 0 4261 3645 15 0 3460 480 wait4 S pts/0 0:00 mount > -t smbfs //filsrv/linux /mnt/filsrv/linux/ -o > username=ronny,password=ronny > 4 0 4262 4261 22 0 4612 1804 schedu S pts/0 0:00 > /sbin/mount.smbfs //filsrv/linux /mnt/filsrv/linux/ -o rw username ronny > password XXXXX > 1 0 4263 4262 22 0 4488 1696 pause S ? 0:00 > /sbin/mount.smbfs //filsrv/linux /mnt/filsrv/linux/ -o rw username ronny > password XXXXX > > > pstree output > |├─gnome-terminal─┬─bash───su───bash───mount───mount.smbfs───mount.smbfs > | > > the mount point function as normal and i can read/read write files in > both conditions. > > i can provide a strace on request. > > it seams like the last mount.smbfs dosn't go deamon properly. > > anyone have anything else i can try? i'm running out of ideas. > > adding & isn't an option, it returns to the shell ofcouse, but the > prosess is hanging in the background. > > mvh > Ronny Aasen > > > > > > > My mistake, I did forget to append & to the commands, I'll try that on > > next reboot. However mounting via console as I mentioned hangs on the > > second command; they are both identical, the second one just refers to > > another share on the same machine. The end result is they are both > > mounted correctly of course, but I have to ctrl-c out of it. > > Very strange, I won't bust my head over it if it works through > > rc.local.. > > > > #!/bin/sh > > # > > # This script will be executed *after* all the other init scripts. > > # You can put your own initialization stuff in here if you don't > > # want to do the full Sys V style init stuff. > > > > touch /var/lock/subsys/local > > > > # Mount SMB shares > > > > mount -t smbfs -o username=*****,password=*****,uid=500 //fs1/storage1 > > /mnt/storage1 > > # mount -t smbfs -o username=*****,password=*****,uid=500 //fs1/storage2 > > /mnt/storage2 > > > > # lm_sensors > > # modprobe i2c-i801 > > # modprobe w83781d > > > > > > > > On Fri, 2003-05-23 at 07:57, ddembrow@xxxxxxxxxxx wrote: > > > Y Makki: > > > > > > It is hard to tell what is wrong without a sample rc.local script file. > > > However, I suspect the commands being executed with rc.local script are not > > > being run as a background task so the script waits for the command to > > > return and it never does. > > > > > > Original message: > > > >Hello again > > > > > > > >Something I just tried which I think is worth mentioning, mounting from > > > >the console does work fine, except the mount command hangs on the second > > > >smb mount I try. I can however ctrl-c out of it, and it is actually > > > >mounted properly. > > > > > > > >Thanks again > > > > > > > > > > > >On Thu, 2003-05-22 at 10:30, Y Makki wrote: > > > >> Hello > > > >> > > > >> Thanks to everyone who responded last time I posted about this problem. > > > >> It was suggested I use /etc/rc.local for my smb mounting needs, which I > > > >> did. Now the problem is, I don't remember if this started happening > > > >> immediately, or worked fine a couple of times, but right now booting up > > > >> the system hangs on the last service it usually starts: > > > >> Starting Red Hat Network Daemon [OK] > > > >> I tried disabling that service, it would hang on service 'local'. > > > >> Commenting out anything related to smb mounts in /etc/rc.local fixes the > > > >> problem. Any ideas here? > > > >> > > > >> Thanks > > > >> > > > > > > > > > > -- > Ronny Aasen <list@xxxxxxxxxxxxxx> -- Edward Simmonds Oracle Certified DBA: 8i, 9i Red Hat Linux release 8.0 (Psyche) running Kernel 2.4.20-13.9.1 Uptime: 11:07:01 up 2:34, 1 user, load average: 0.12, 0.07, 0.06 - Real men don't send html email.