Re: [Samba] Samba Printing Extremely Slow from Windows XP
On Tuesday 06 September 2005 17:16, david rankin wrote: > - Original Message - > From: "Cabbar Duzayak" <[EMAIL PROTECTED]> > I also have a very similar, but perhaps not identical problem. The samba server is on SuSE 9.3 (but the same thing has happened on all SuSEes since 7.0). I have one printer, viz hp psc950 and four DOS boxes in the net. 1 Windows 98 2 Windows 2000 3 Windows XP (home) 4 Windows XP (professional) With the exception of 2, all boxes print almost immediately. But the Windows 2000 takes up to 30 min (minutes not seconds) to print ten pages of a simple Word document. Starting to print the first page can take up to 3 minutes. Needless to say, all boxes are configured in a very similar way. Malcoln Agnew > > Hi, > > > > I have setup samba server on my linux box (Fedora Core 4 with latest > > samba, just updated via RHN) and has configured file sharing via samba > > for this server and connecting to it from my windows xp box. So far, > > everything works fine and it is very fast. > > > > Then, I configured a printer, and shared it via samba. And, I can > > see+connect to it from Windows XP and can even print. But, everything > > related to printing is extreemeeely slow on Windows XP, i.e. open > > notepad -> File Menu->Print, and at that point notepad just freezes > > for couple of minutes, and then brings the printer dialog... Send a > > print out, it just freezes for a while, then prints out fine. > > > > Below is the log file I am getting from Samba, and for some reason it > > tries to connect to the samba server on Windows XP??? Have no idea > > what this means, and how I can fix this. Can you please provide any > > suggestions? > > Cabbar, > > I am seeing the exact same problem. It first started seeing the problem > after moving to 3.0.20a. I have 3.0.20a running on SuSE 9.0 and I have the > exact printer problems you describe. I am also running 3.0.13 on Mdk 2005LE > and I have *no* problems at all. That pretty much eliminates the problem > being the latest xp patch since I connect with a laptop on both systems and > I can print fine under 3.0.13, but I have major slowness with printing > under 3.0.20. Ethereal shows some looping that seems to be caused by DCERPC > error in the communicatons. Since Bartlett did his thesis on DCERPC, maybe > he can shed some light on the issue. > > > -- > David C. Rankin, J.D., P.E. > RANKIN LAW FIRM, PLLC > 510 Ochiltree Street > Nacogdoches, Texas 75961 > (936) 715-9333 > (936) 715-9339 fax > www.rankinlawfirm.com > -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba Printing Extremely Slow from Windows XP
Gerald (Jerry) Carter wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 david rankin wrote: ... | Procedure: | 1. Edit the registry observing usual caution. | 2. Locate the key HKEY_CURRENT_USER\Printers\DevModePerUser | 3. Remove all VALUES for Network printers of the form: | \ | 4. Locate the key HKEY_CURRENT_USER\Printers\DevModes2 | 5. Remove all VALUES for Network printers of the form: | \ The Windows print cache is timestamp based. The client spooler gets in a loop where it continually asks the server for the timestamp (ChangeID) on a given printer. In spite of the fact that the timestamp has been incremented by some change to the printer, the client never updates its local cache of printer data. And so it continually thinks it is out of date. I'm afraid this is not enough: I have an XP machine with two users (domain logon, roaming profile, both have administrator privileges on the pc). User no. 2: 1. regedit, remove the values above. 2. exit regedit, log out&in 3. check regedit, no printers appear in DevModePerUser or DevModes2 4. start a program that uses a printer, access is fine. Exit program. 5. start regedit, no printers appear in DevModePerUser or DevModes2 User no. 1 1. regedit, remove the values above. 2. exit regedit, log out&in 3. check regedit, no printers appear in DevModePerUser or DevModes2 4. start a program that uses a printer, access is slow. Exit program. 5. start regedit, the default printer appears in DevModePerUser Why this difference between users? Mogens -- Mogens Kjaer, Carlsberg A/S, Computer Department Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark Phone: +45 33 27 53 25, Fax: +45 33 27 47 08 Email: [EMAIL PROTECTED] Homepage: http://www.crc.dk -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba Printing Extremely Slow from Windows XP
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 david rankin wrote: |> This is an XP client bug. It has been covered before in the |> Samba ml archives. You need to clean out the cached devmodes |> from the HCU portion of the registry on the client machine. |> Also check network traffic and I expect that you will see |> a stream of GetPrinterData() requests coming from the client |> looking up the value for "ChangeID" |> | | In English Jerry ... in English Is this what you | are talking about?? Ahhh David... You're *killing* me :-) Yes. This is exactly what I was talking about. | Procedure: | 1. Edit the registry observing usual caution. | 2. Locate the key HKEY_CURRENT_USER\Printers\DevModePerUser | 3. Remove all VALUES for Network printers of the form: | \ | 4. Locate the key HKEY_CURRENT_USER\Printers\DevModes2 | 5. Remove all VALUES for Network printers of the form: | \ The Windows print cache is timestamp based. The client spooler gets in a loop where it continually asks the server for the timestamp (ChangeID) on a given printer. In spite of the fact that the timestamp has been incremented by some change to the printer, the client never updates its local cache of printer data. And so it continually thinks it is out of date. cheers, jerry = Alleviating the pain of Windows(tm) --- http://www.samba.org GnuPG Key- http://www.plainjoe.org/gpg_public.asc "I never saved anything for the swim back." Ethan Hawk in Gattaca -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDICClIR7qMdg1EfYRAridAKDLjLZy+Qflz3YRySP8Zc/cA/CGpwCfVB10 6PfCuwLmYbe+Y7ChtwROjAc= =+55h -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba Printing Extremely Slow from Windows XP
- Original Message - From: "Gerald (Jerry) Carter" <[EMAIL PROTECTED]> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mogens Kjaer wrote: |> |>I am seeing the exact same problem. It first started seeing the |> problem after moving to 3.0.20a. I have 3.0.20a running on SuSE 9.0 |> and I have the exact printer problems you describe. I am also running |> 3.0.13 on Mdk 2005LE and I have *no* problems at all. | | Me Too: | | Server running: | | Redhat 9, samba-2.2.12-0.90.6.legacy:Slow print from XP | Fedora 3, samba-3.0.10-1.fc3:Fast print from XP | Fedora 4, samba-3.0.14a-2:Slow print from XP This is an XP client bug. It has been covered before in the Samba ml archives. You need to clean out the cached devmodes from the HCU portion of the registry on the client machine. Also check network traffic and I expect that you will see a stream of GetPrinterData() requests coming from the client looking up the value for "ChangeID" In English Jerry ... in English Is this what you are talking about?? Procedure: 1. Edit the registry observing usual caution. 2. Locate the key HKEY_CURRENT_USER\Printers\DevModePerUser 3. Remove all VALUES for Network printers of the form: \ 4. Locate the key HKEY_CURRENT_USER\Printers\DevModes2 5. Remove all VALUES for Network printers of the form: \ Also, the issues described in http://www.24help.info/t310486-samba-xp-bug-client-spooler-loop-ms-kb-329234.html seem to still me lurking around. As you put it, "Some old bugs never die I guess. cheers, jerry" This one still has some life left in it... The KB article describes the following: "When a client opens several network printers that are all on a *single* server and then selects printer properties and preferences on *all these printers at the same time*, the spooler on the client side may not respond as expected. Additionally, the CPU-utilization of the print server may increase and remain high. In this scenario, a network capture shows that the client repeatedly queries the print server for printer properties. A network capture displays the following remote procedure call (RPC) request from the client: MSRPC: c/o RPC Request: call 0x3845 opnum 0x8 context 0x0 hint 0x734" In our case now, the new xp service packs have been installed that were designed to remedy this. I dunno, something is still nuts. I get thousands of packets generated trying to access the printers. It seems to be some kind of loop. Here are the ethereal summary packet lines for 50 packets. Notice the SMB-DCERPC-TCP-TCP-TCP loop: No. TimeSourceDestination Protocol Info 1 0.00192.168.6.14 192.168.6.93 NBSS NBSS Continuation Message 2 0.000132192.168.6.93 192.168.6.14 SMB Read AndX Request, FID: 0x713f, 4280 bytes at offset 0 3 0.001936192.168.6.14 192.168.6.93 SMB Read AndX Response, FID: 0x713f, 4280 bytes 4 0.002445192.168.6.14 192.168.6.93 TCP [Continuation to #3] microsoft-ds > 1118 [ACK] Seq=2883 Ack=63 Win=10220 Len=1460 5 0.002460192.168.6.93 192.168.6.14 TCP 1118 > microsoft-ds [ACK] Seq=63 Ack=4343 Win=17520 Len=0 6 0.003420192.168.6.14 192.168.6.93 TCP [Continuation to #3] microsoft-ds > 1118 [PSH, ACK] Seq=4343 Ack=63 Win=10220 Len=1423 7 0.003509192.168.6.93 192.168.6.14 SMB Read AndX Request, FID: 0x713f, 4280 bytes at offset 0 8 0.005264192.168.6.14 192.168.6.93 SMB Read AndX Response, FID: 0x713f, 2352 bytes 9 0.005619192.168.6.14 192.168.6.93 TCP [Continuation to #8] microsoft-ds > 1118 [PSH, ACK] Seq=7226 Ack=126 Win=10220 Len=955 10 0.005639192.168.6.93 192.168.6.14 TCP 1118 > microsoft-ds [ACK] Seq=126 Ack=8181 Win=17520 Len=0 11 0.005973192.168.6.93 192.168.6.14 DCERPC Request: call_id: 1742 opnum: 53 ctx_id: 0 12 0.006004192.168.6.93 192.168.6.14 TCP [Continuation to #11] 1118 > microsoft-ds [ACK] Seq=1586 Ack=8181 Win=17520 Len=1460 13 0.006026192.168.6.93 192.168.6.14 TCP [Continuation to #11] 1118 > microsoft-ds [PSH, ACK] Seq=3046 Ack=8181 Win=17520 Len=1428 14 0.008359192.168.6.14 192.168.6.93 TCP microsoft-ds > 1118 [ACK] Seq=8181 Ack=3046 Win=10220 Len=0 15 0.008799192.168.6.14 192.168.6.93 SMB Write AndX Response, FID: 0x713f, 4280 bytes 16 0.008900192.168.6.93 192.168.6.14 DCERPC Request: call_id: 1742 opnum: 53 ctx_id: 0 17 0.008927192.168.6.93 192.168.6.14 TCP [Continuation to #16] 1118 > microsoft-ds [ACK] Seq=5934 Ack=8232 Win=17469 Len=1460 18 0.008948192.168.6.93 192.168.6.14 TCP [Continuation to #16] 1118 > microsoft-ds [PSH, ACK]
Re: [Samba] Samba Printing Extremely Slow from Windows XP
On Wed, 2005-09-07 at 17:15 -0500, Gerald (Jerry) Carter wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Mark Dowling wrote: > | Jerry Carter wrote: > | > | "This is an XP client bug. It has been covered before in the Samba ml > | archives. You need to clean out the cached devmodes from the HCU portion > | of the registry on the client machine." > | > | We use this workaround but it's pretty annoying as > | if you change the driver or add another printer (the > | latter happens often) you have to go into the reg > | and fix it. Is it known which XPSP2 patch caused > | this and whether a patch is due to resolve it? > > No idea. I saw a mention of it being "fixed" in SP2. But > obviously it's not. There's a pre-sp2 hotfix I've seen. > But nothing post SP2. It could be triggered by certain > drivers as well. I've never tried to figure out if there's > a higher occurence of v2 vs v3 drivers. thanks for mentioning this - my daughter uses my XP system all the time while I only have been using it as a lab to test networking things, software things etc. and lately to use iTunes to rip stuff to my new iPod. She has been complaining about the length of time it takes to get a print dialog and when I saw this post, I knew it had to be the issue and apparently it was just the thing. Thanks Craig -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba Printing Extremely Slow from Windows XP
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark Dowling wrote: | Jerry Carter wrote: | | "This is an XP client bug. It has been covered before in the Samba ml | archives. You need to clean out the cached devmodes from the HCU portion | of the registry on the client machine." | | We use this workaround but it's pretty annoying as | if you change the driver or add another printer (the | latter happens often) you have to go into the reg | and fix it. Is it known which XPSP2 patch caused | this and whether a patch is due to resolve it? No idea. I saw a mention of it being "fixed" in SP2. But obviously it's not. There's a pre-sp2 hotfix I've seen. But nothing post SP2. It could be triggered by certain drivers as well. I've never tried to figure out if there's a higher occurence of v2 vs v3 drivers. cheers, jerry -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDH2Z4IR7qMdg1EfYRAsnqAKCvODGDolu7mQNaQXOaHqKO7tLWRgCgyyHC ivsa+b/wIyh6I+OBWYeuC58= =DK7L -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba Printing Extremely Slow from Windows XP
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mogens Kjaer wrote: |> |>I am seeing the exact same problem. It first started seeing the |> problem after moving to 3.0.20a. I have 3.0.20a running on SuSE 9.0 |> and I have the exact printer problems you describe. I am also running |> 3.0.13 on Mdk 2005LE and I have *no* problems at all. | | Me Too: | | Server running: | | Redhat 9, samba-2.2.12-0.90.6.legacy:Slow print from XP | Fedora 3, samba-3.0.10-1.fc3:Fast print from XP | Fedora 4, samba-3.0.14a-2:Slow print from XP This is an XP client bug. It has been covered before in the Samba ml archives. You need to clean out the cached devmodes from the HCU portion of the registry on the client machine. Also check network traffic and I expect that you will see a stream of GetPrinterData() requests coming from the client looking up the value for "ChangeID" cheers, jerry -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDHxIOIR7qMdg1EfYRAjKLAJ9vNAdUPcsp8lLdplgVtXFrr4BjFACcDK3R 9MvEF83/pnUvOyx1JE/OsfE= =cuRc -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba Printing Extremely Slow from Windows XP
david rankin wrote: - Original Message - From: "Cabbar Duzayak" <[EMAIL PROTECTED]> Hi, I have setup samba server on my linux box (Fedora Core 4 with latest samba, just updated via RHN) and has configured file sharing via samba for this server and connecting to it from my windows xp box. So far, everything works fine and it is very fast. Then, I configured a printer, and shared it via samba. And, I can see+connect to it from Windows XP and can even print. But, everything related to printing is extreemeeely slow on Windows XP, i.e. open notepad -> File Menu->Print, and at that point notepad just freezes for couple of minutes, and then brings the printer dialog... Send a print out, it just freezes for a while, then prints out fine. Below is the log file I am getting from Samba, and for some reason it tries to connect to the samba server on Windows XP??? Have no idea what this means, and how I can fix this. Can you please provide any suggestions? Cabbar, I am seeing the exact same problem. It first started seeing the problem after moving to 3.0.20a. I have 3.0.20a running on SuSE 9.0 and I have the exact printer problems you describe. I am also running 3.0.13 on Mdk 2005LE and I have *no* problems at all. Me Too: Server running: Redhat 9, samba-2.2.12-0.90.6.legacy: Slow print from XP Fedora 3, samba-3.0.10-1.fc3: Fast print from XP Fedora 4, samba-3.0.14a-2: Slow print from XP Mogens -- Mogens Kjaer, Carlsberg A/S, Computer Department Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark Phone: +45 33 27 53 25, Fax: +45 33 27 47 08 Email: [EMAIL PROTECTED] Homepage: http://www.crc.dk -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba Printing Extremely Slow from Windows XP
- Original Message - From: "Chris" <[EMAIL PROTECTED]> On Tuesday 06 September 2005 11:16 am, david rankin wrote: after moving to 3.0.20a. I have 3.0.20a running 3.0.20a? Sorry, I meant: [EMAIL PROTECTED]:~> smbclient -U% -L localhost Domain=[RB_LAW] OS=[Unix] Server=[Samba 3.0.20-SUSE] [EMAIL PROTECTED]:~> rpm -qa | grep samba samba3-pdb-3.0.20-1 yast2-samba-client-2.8.10-3 samba3-python-3.0.20-1 samba3-vscan-0.3.6-1 samba3-doc-3.0.7-1 samba3-client-3.0.20-1 samba3-3.0.20-1 samba3-winbind-3.0.20-1 I've got "a's" on my brain. That sould be "-1" not "a" -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba Printing Extremely Slow from Windows XP
On Tuesday 06 September 2005 11:16 am, david rankin wrote: > after moving to 3.0.20a. I have 3.0.20a running 3.0.20a? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba Printing Extremely Slow from Windows XP
- Original Message - From: "Cabbar Duzayak" <[EMAIL PROTECTED]> Hi, I have setup samba server on my linux box (Fedora Core 4 with latest samba, just updated via RHN) and has configured file sharing via samba for this server and connecting to it from my windows xp box. So far, everything works fine and it is very fast. Then, I configured a printer, and shared it via samba. And, I can see+connect to it from Windows XP and can even print. But, everything related to printing is extreemeeely slow on Windows XP, i.e. open notepad -> File Menu->Print, and at that point notepad just freezes for couple of minutes, and then brings the printer dialog... Send a print out, it just freezes for a while, then prints out fine. Below is the log file I am getting from Samba, and for some reason it tries to connect to the samba server on Windows XP??? Have no idea what this means, and how I can fix this. Can you please provide any suggestions? Cabbar, I am seeing the exact same problem. It first started seeing the problem after moving to 3.0.20a. I have 3.0.20a running on SuSE 9.0 and I have the exact printer problems you describe. I am also running 3.0.13 on Mdk 2005LE and I have *no* problems at all. That pretty much eliminates the problem being the latest xp patch since I connect with a laptop on both systems and I can print fine under 3.0.13, but I have major slowness with printing under 3.0.20. Ethereal shows some looping that seems to be caused by DCERPC error in the communicatons. Since Bartlett did his thesis on DCERPC, maybe he can shed some light on the issue. -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba