You are not logged in.

#1 2011-04-03 11:14:41

kveras
Member
From: Uppsala, Sweden
Registered: 2011-03-22
Posts: 54

[SOLVED]System reboots when copying files over NFS RTL8111/8168B

Hi.

I have tried to find some information about this problem, but not been able to find the information I need so I thought I would give the forum a try.

Problem:

When copying large files or folders from my server to my ssd over nfs the system reboots without warning after a few seconds. This happens with cp, nautilus, mv, thunar, as well as when indexing files on the server in Exaile.

What have I tried:

Tried different kernels: (kernel26, kernel26-lts, kernel26-ck, kernel26-ck-lts). I have tried with and without LVM as well as encryption. This does not seem to do any difference.

I have no problem what so ever on my desktop, running on vanilla kernel26 from repo. So, it seems that the problem is not with the server. The problem is only on my notebook. I did not encounter this problem during the short time I tried Ubuntu 10.10 on the same notebook.

System info:

Asus u36jc with custom ssd (Corsair Force120GB)

Please advice me in what logs or other info is needed to troubleshoot this problem.

Last edited by kveras (2011-04-04 19:19:47)

Offline

#2 2011-04-03 12:01:27

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,382
Website

Re: [SOLVED]System reboots when copying files over NFS RTL8111/8168B

I'm guessing that you don't have an hdd in the machine too, right?  How much RAM do you have?  If you have enough to hold a large you as you put it, what happens if you try copying it to /dev/shm?  Same reboot?  (Trying to rule out the SSD).

Also, have you seen this thread?

Last edited by graysky (2011-04-03 12:06:15)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2011-04-03 12:10:40

kveras
Member
From: Uppsala, Sweden
Registered: 2011-03-22
Posts: 54

Re: [SOLVED]System reboots when copying files over NFS RTL8111/8168B

graysky wrote:

I'm guessing that you don't have an hdd in the machine too, right?  How much RAM do you have?  If you have enough to hold a large you as you put it, what happens if you try copying it to /dev/shm?  Same reboot?  (Trying to rule out the SSD).

Also, have you seen this thread?

I have 4GB of RAM and 2GB Swap. When copying a relatively small file, like the Arch iso, it seems to work fine. When I try to do the same thing with a 2.6GB mkv the system reboots.

That is, both when copying to disk, and to /dev/shm.

Checking that other thread, seems like a similar issue.

Offline

#4 2011-04-03 12:18:52

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,382
Website

Re: [SOLVED]System reboots when copying files over NFS RTL8111/8168B

Sorry, in my case, nearly any sized file caused the reboot.  It also didn't matter if I used scp (nothing mounted from the other machine) or if I used cp, rsync, etc. on the nfs mount.  Hope the BIOS reload helps.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#5 2011-04-03 12:27:36

kveras
Member
From: Uppsala, Sweden
Registered: 2011-03-22
Posts: 54

Re: [SOLVED]System reboots when copying files over NFS RTL8111/8168B

Thanks anyway.

Loading BIOS defaults did not solve the issue.

Any logs that would be of interest for anyone else taking a look at the problem?

Offline

#6 2011-04-04 14:10:39

kveras
Member
From: Uppsala, Sweden
Registered: 2011-03-22
Posts: 54

Re: [SOLVED]System reboots when copying files over NFS RTL8111/8168B

I just confirmed that this only happens when using my ethernet cable. When I do the same thing over wifi, it works.

Also, I watched Htop when doing the transfer. The memory bar slowly filled up to full. When it reached full, the computer restarted without any error message.

I don't know what logs to submit. Here are some of them taken on reboot after the crash.

dmesg.log http://pastebin.com/e02UEZ9U
kernel.log http://pastebin.com/vdH6zJKR
errors.log http://pastebin.com/RfgSHxaL

Offline

#7 2011-04-04 18:48:24

dunz0r
Member
From: Sweden
Registered: 2009-03-30
Posts: 258
Website

Re: [SOLVED]System reboots when copying files over NFS RTL8111/8168B

Sounds like you might have a buggy driver/NIC. Tried changing some settings or looking for an alternate driver?

What type of chip does your NIC have btw?


RTFM or GTFO
hax0r.se

Offline

#8 2011-04-04 19:00:14

kveras
Member
From: Uppsala, Sweden
Registered: 2011-03-22
Posts: 54

Re: [SOLVED]System reboots when copying files over NFS RTL8111/8168B

lspci | grep Ethernet
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)

Have not looked into changing driver. Will explore.

Offline

#9 2011-04-04 19:18:24

kveras
Member
From: Uppsala, Sweden
Registered: 2011-03-22
Posts: 54

Re: [SOLVED]System reboots when copying files over NFS RTL8111/8168B

I followed the suggestion in this thread: https://bbs.archlinux.org/viewtopic.php?id=101836 and recompiled the driver from the manufacturers web site. Seems like the wrong driver was chosen by the kernel.

This seems to have solved the problem. Now I was able to copy a folder larger than my RAM from NFS to my harddrive. When I watched my memory usage in Htop it first went all the way up to full, then started to write to the disk, going down a bit, then up again and so on - like I would expect it to do (not rebooting when memory gets filled up).

Thx for the advice about the driver. Was for sure it was my disk until I noticed that wireless and wired gave different results.

Should I report this as a bug to the kernel upstream (if there is none already), or is it not the kernel that fails to detect the correct driver (and there is somewhere else I should report it)?

Offline

Board footer

Powered by FluxBB