lkml.org 
[lkml]   [2000]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: SMBFS: recvmsg called within BH (was: Re: One more boobytrap needed for 2.2.15pre ?)
Date
On Sat, 26 Feb 2000, Manfred Spraul wrote:
>
> Andris Pavenis wrote:
> >
> > On Wed, 23 Feb 2000, Manfred Spraul wrote:
> > > Andris, do you use smbfs?
> >
> > Yes.
> >
> > And there are also some problems with SMBFS (new with 2.2.X):
> > After some time connection to shares (shared from WinNT 4.0) is lost.
> > This problem appeared when I upgraded to 2.2.X. Therefore I used some
> > periodic task (once per some minutes called 'df -t smbfs') to keep
> > connection alive
> >
> Could you try the attached patch?
>
> Changes:
> * recvmsg() is now called from tq_scheduler, this should prevent the
> runqueue corruptions.
>
> * it seems that the keepalive implementation works again. I set
> "keepalive=1" in my smb.conf, and the connection remains alive for 5
> minute. tcpdump shows both the keepalive packet and the ack's.
>

I put keepalive=60 and removed periodic running of 'df -t smbfs' (earlier I did
it after each some minutes).

Results:
- no attempts to remove from runqueue task which is not there in about
1.5 days uptime (so it's likely that patch fixed of of my problems)

- this morning I found that connections to WinNT shares were still lost
(see output of 'dmesg' in attachment)

Andris

PS. I used samba-2.0.5a


Linux version 2.2.15pre10 (root@hal) (gcc version 2.95.2 19991024 (release)) #2 Sat Feb 26 20:42:16 EET 2000
Detected 200457414 Hz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 399.77 BogoMIPS
Memory: 63332k/65536k available (896k kernel code, 412k reserved, 848k data, 48k init)
Dentry hash table entries: 8192 (order 4, 64k)
Buffer cache hash table entries: 65536 (order 6, 256k)
Page cache hash table entries: 16384 (order 4, 64k)
CPU: Intel Pentium MMX stepping 03
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
Intel Pentium with F0 0F bug - workaround enabled.
POSIX conformance testing by UNIFIX
PCI: PCI BIOS revision 2.10 entry at 0xfb050
PCI: Using configuration type 1
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
TCP: Hash tables configured (ehash 65536 bhash 65536)
Starting kswapd v 1.5
parport0: PC-style at 0x378 [SPP,PS2,EPP]
Serial driver version 4.27 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
pty: 256 Unix98 ptys configured
lp0: using parport0 (polling).
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.12)
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
hda: FUJITSU MPE3064AT, ATA DISK drive
hdb: FUJITSU MPB3043ATU E, ATA DISK drive
hdc: 8X, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: FUJITSU MPE3064AT, 6187MB w/512kB Cache, CHS=788/255/63
hdb: FUJITSU MPB3043ATU E, 4125MB w/0kB Cache, CHS=525/255/63, UDMA
hdc: ATAPI 7X CD-ROM drive, 120kB Cache
Uniform CDROM driver Revision: 2.56
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
scsi : 0 hosts.
scsi : detected total.
ne2k-pci.c:vpre-1.00e 5/27/99 D. Becker/P. Gortmaker http://cesdis.gsfc.nasa.gov/linux/drivers/ne2k-pci.html
ne2k-pci.c: PCI NE2000 clone 'RealTek RTL-8029' at I/O 0x6500, IRQ 10.
eth0: RealTek RTL-8029 found at 0x6500, IRQ 10, 00:C0:DF:E6:B3:F1.
Partition check:
hda: hda1 hda2 hda3
hdb: hdb1 hdb2 < hdb5 > hdb3
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 48k freed
Adding Swap: 136544k swap-space (priority -1)
MSDOS FS: Using codepage 775
MSDOS FS: IO charset iso8859-4
MSDOS FS: Using codepage 775
MSDOS FS: IO charset iso8859-4
MSDOS FS: Using codepage 775
MSDOS FS: IO charset iso8859-4
CSLIP: code copyright 1989 Regents of the University of California
SLIP: version 0.8.4-NET3.019-NEWTTY-MODULAR (dynamic channels, max=256) (6 bit encapsulation enabled).
SLIP linefill/keepalive option.
PPP: version 2.3.7 (demand dialling)
PPP line discipline registered.
PPP BSD Compression module registered
ad1848/cs4248 codec driver Copyright (C) by Hannu Savolainen 1993-1996
YM3812 and OPL-3 driver Copyright (C) by Hannu Savolainen, Rob Hooft 1993-1996
smb_trans2_request: result=-32, setting invalid
smb_retry: new pid=135, generation=2
smb_trans2_request: result=-32, setting invalid
smb_retry: new pid=141, generation=2
smb_trans2_request: result=-32, setting invalid
smb_retry: new pid=151, generation=2
smb_trans2_request: result=-32, setting invalid
smb_trans2_request: result=-32, setting invalid
smb_trans2_request: result=-32, setting invalid
smb_retry: signal failed, error=-3
smb_retry: signal failed, error=-3
smb_retry: signal failed, error=-3
smb_retry: signal failed, error=-3
smb_retry: signal failed, error=-3
smb_retry: signal failed, error=-3
\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.166 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site