View unanswered posts | View active topics It is currently Fri Sep 20, 2019 9:36 am



Reply to topic  [ 7 posts ] 
 Ubuntu 9.10 Freezes when many files copied to SAMBA share 
Author Message

Joined: Tue Sep 01, 2009 2:04 pm
Posts: 9
Post Ubuntu 9.10 Freezes when many files copied to SAMBA share
I have a new installation of Ubuntu 9.10. I followed all directions and am having the following issue.

When copying a large number of files (large or small files) to or from a Samba share, the system freezes. It's running headless at the moment, but the system stops responding on the network. I also created a little daemon that outputs the time every second to a file. The last time in the file corresponds to when the system crashed. It actually crashes before the copy starts. It crashes when the windows box is enumerating the files to be copied.

I have no issue copying a small number of large files.

Any help or direction would be greatly appreciated.


Tue Jul 13, 2010 11:56 pm
Profile
Site Admin

Joined: Mon Mar 16, 2009 2:11 pm
Posts: 2340
Post Re: Ubuntu 9.10 Freezes when many files copied to SAMBA share
Check viewtopic.php?f=43&t=1408

_________________
-------------------------
Irad Stavi
fit-PC forum admin

-------------------------


Wed Jul 14, 2010 9:15 am
Profile

Joined: Tue Sep 01, 2009 2:04 pm
Posts: 9
Post Re: Ubuntu 9.10 Freezes when many files copied to SAMBA share
Thank you. This did fix the issue. Can you elaborate on what the actual problem is? I'd rather not have to turn off power management. Under 9.04 this didn't seem to be an issue.

I appreciate the help...


Wed Jul 14, 2010 10:01 pm
Profile
Site Admin

Joined: Mon Mar 16, 2009 2:11 pm
Posts: 2340
Post Re: Ubuntu 9.10 Freezes when many files copied to SAMBA share
The problem involves a too-aggressive ACPI design in the CPU/chipset that overlooks devices activity when entering low-power C-states which results in ungraceful termination of data transfers on these devices.

_________________
-------------------------
Irad Stavi
fit-PC forum admin

-------------------------


Thu Jul 15, 2010 10:11 am
Profile

Joined: Tue Mar 23, 2010 5:32 am
Posts: 16
Post Re: Ubuntu 9.10 Freezes when many files copied to SAMBA share


Thank you Irads. This was very helpful. I'd been having problems moving large files from the Fit-PC2 to a Windows machine (both Win2K and Win7 Pro 64). Tried it with Samba and with SCP, and both would get about 50 megs into the transfer and then things would hang. Found in testing after reading the link above that tapping the keyboard on the Fit-PC2 and then re-entering the password for the WinSCP copy session would let things resume, but the workaround of disabling the C-states in the BIOS fixed the problem and a 300 meg transfer went through without a hitch.

Since one of the reasons for using the Fit-PC2 is low power use, disabling C-states to get the network to function properly isn't ideal. Is this something that can be fixed in some other way? BIOS change, use of watchdog timer, etc? Or would I have to rig up a device to tap on the keyboard every few seconds to keep it alive? ;-)

-- Mike B.


Thu Jul 15, 2010 10:26 pm
Profile
Site Admin

Joined: Mon Mar 16, 2009 2:11 pm
Posts: 2340
Post Re: Ubuntu 9.10 Freezes when many files copied to SAMBA share
The additional power consumption is up to 0.5W in most scenarios. You decide how bad it is.
Some users reported that supported C-States can be defined in Linux rather than BIOS. Maybe you can tune consumption better this way.

_________________
-------------------------
Irad Stavi
fit-PC forum admin

-------------------------


Sun Jul 18, 2010 3:30 pm
Profile

Joined: Tue Mar 23, 2010 5:32 am
Posts: 16
Post Re: Ubuntu 9.10 Freezes when many files copied to SAMBA share
Thanks for the info. 0.5w isn't much compared to any normal PC's use, so I'm still way ahead with the Fit-PC2, but it's a largish percentage of the total for the Fit-PC2. I'll look into the Linux options for dealing with C-state problems. Just wasn't sure if it was a hardware issue or a BIOS issue. Sounds like it's hardware-based.


Sun Jul 18, 2010 4:13 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.