Target: Arm9 Linux 2.4.18 or 2.4.20 with USB driver from 2.4.26
a PCI to USB 2.0 card (VIA 6212)
USB 2.0 Hard disk format as FAT32 file system
PC: Windows 2000
Connect Target from PC then copy a file bigger than 400MB to Target,
the Target will get oplock_break failed.
I check the source code and got
request_oplock_break()in oplock.c will compare
current pid and share_entry->pid
but this two pids are different
451 aaron 2060 D /usr/hddapp/sbin/smbd -D
466 aaron 2012 S /usr/hddapp/sbin/smbd -D
So a oplock_break request is sent to PC, but got no response.
Would you please give me a hint why the pid 451 go to 'D' state ?
In the ormal case it should not go to 'D' state and there should not have pid
466, any comment is appreciate.
I will attach my log.smbd later.
Created attachment 1140 [details]
This is a log file created by me, please extract it by winrar or winzip.
Created attachment 1141 [details]
configure file for samba
configure file used
please reopen if the bug still exists in a current release.
Oplock code has since been rewritten