FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 11-12-2010, 04:58 PM
Piotr Meyer
 
Default Bug#603301: linux-image-2.6.32-5-amd64: FS-Cache doesn't working with my NFS mount

Package: linux-2.6
Version: 2.6.32-27
Severity: normal
Tags: upstream patch


Adter enabling FS-Cache on my NFS mount (busy WWW node) I got following error
(more in dmesg below):

CacheFiles: I/O Error: Unlink failed
FS-Cache: Cache cachefiles stopped due to I/O error

I found thread about exact case on com.redhat.linux-cachefs: http://markmail.org/thread/qhmbiw2pre2bc7th
patches for this case are included in: http://markmail.org/message/xgpam5efdncbunm3 (I don't test it).


-- Package-specific info:
** Version:
Linux version 2.6.32-5-amd64 (Debian 2.6.32-27) (maks@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Sat Oct 30 14:18:21 UTC 2010

** Command line:
BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-amd64 root=UUID=40ddade4-b3e7-4abd-988b-ca704d61df2e ro quiet

** Not tainted

** Kernel log:
[ 7.131572] alloc kstat_irqs on node -1
[ 7.131574] alloc irq_2_iommu on node -1
[ 7.131577] bnx2 0000:01:00.1: irq 67 for MSI/MSI-X
[ 7.131578] alloc irq_desc for 68 on node -1
[ 7.131579] alloc kstat_irqs on node -1
[ 7.131581] alloc irq_2_iommu on node -1
[ 7.131584] bnx2 0000:01:00.1: irq 68 for MSI/MSI-X
[ 7.131585] alloc irq_desc for 69 on node -1
[ 7.131586] alloc kstat_irqs on node -1
[ 7.131588] alloc irq_2_iommu on node -1
[ 7.131591] bnx2 0000:01:00.1: irq 69 for MSI/MSI-X
[ 7.131592] alloc irq_desc for 70 on node -1
[ 7.131593] alloc kstat_irqs on node -1
[ 7.131595] alloc irq_2_iommu on node -1
[ 7.131598] bnx2 0000:01:00.1: irq 70 for MSI/MSI-X
[ 7.186099] bnx2: eth1: using MSIX
[ 7.187263] ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 7.539764] alloc irq_desc for 71 on node -1
[ 7.539766] alloc kstat_irqs on node -1
[ 7.539771] alloc irq_2_iommu on node -1
[ 7.539776] bnx2 0000:01:00.0: irq 71 for MSI/MSI-X
[ 7.539778] alloc irq_desc for 72 on node -1
[ 7.539779] alloc kstat_irqs on node -1
[ 7.539781] alloc irq_2_iommu on node -1
[ 7.539784] bnx2 0000:01:00.0: irq 72 for MSI/MSI-X
[ 7.539785] alloc irq_desc for 73 on node -1
[ 7.539786] alloc kstat_irqs on node -1
[ 7.539788] alloc irq_2_iommu on node -1
[ 7.539791] bnx2 0000:01:00.0: irq 73 for MSI/MSI-X
[ 7.539793] alloc irq_desc for 74 on node -1
[ 7.539794] alloc kstat_irqs on node -1
[ 7.539798] alloc irq_2_iommu on node -1
[ 7.539801] bnx2 0000:01:00.0: irq 74 for MSI/MSI-X
[ 7.539802] alloc irq_desc for 75 on node -1
[ 7.539804] alloc kstat_irqs on node -1
[ 7.539805] alloc irq_2_iommu on node -1
[ 7.539808] bnx2 0000:01:00.0: irq 75 for MSI/MSI-X
[ 7.539809] alloc irq_desc for 76 on node -1
[ 7.539810] alloc kstat_irqs on node -1
[ 7.539812] alloc irq_2_iommu on node -1
[ 7.539815] bnx2 0000:01:00.0: irq 76 for MSI/MSI-X
[ 7.539816] alloc irq_desc for 77 on node -1
[ 7.539817] alloc kstat_irqs on node -1
[ 7.539819] alloc irq_2_iommu on node -1
[ 7.539822] bnx2 0000:01:00.0: irq 77 for MSI/MSI-X
[ 7.539823] alloc irq_desc for 78 on node -1
[ 7.539824] alloc kstat_irqs on node -1
[ 7.539826] alloc irq_2_iommu on node -1
[ 7.539829] bnx2 0000:01:00.0: irq 78 for MSI/MSI-X
[ 7.539830] alloc irq_desc for 79 on node -1
[ 7.539831] alloc kstat_irqs on node -1
[ 7.539833] alloc irq_2_iommu on node -1
[ 7.539836] bnx2 0000:01:00.0: irq 79 for MSI/MSI-X
[ 7.592169] bnx2: eth0: using MSIX
[ 7.593307] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 7.707161] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 10.334339] bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
[ 10.335573] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 10.815554] bnx2: eth0 NIC Copper Link is Up, 1000 Mbps full duplex
[ 10.816804] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 17.744404] eth0.7: no IPv6 routers present
[ 17.960550] eth0.5: no IPv6 routers present
[ 20.528859] eth1: no IPv6 routers present
[ 21.450461] eth0: no IPv6 routers present
[ 886.113777] RPC: Registered udp transport module.
[ 886.113779] RPC: Registered tcp transport module.
[ 886.113780] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 886.158686] Slow work thread pool: Starting up
[ 886.159065] Slow work thread pool: Ready
[ 886.159116] FS-Cache: Loaded
[ 886.201082] FS-Cache: Netfs 'nfs' registered for caching
[ 967.827349] svc: failed to register lockdv1 RPC service (errno 97).
[ 3875.443508] TCP: Peer 87.112.8.24:58432/80 unexpectedly shrunk window 1318268351:1318274554 (repaired)
[ 3876.033919] TCP: Peer 87.112.8.24:58432/80 unexpectedly shrunk window 1318268351:1318274554 (repaired)
[ 3877.214786] TCP: Peer 87.112.8.24:58432/80 unexpectedly shrunk window 1318268351:1318274554 (repaired)
[ 5439.800560] TCP: Peer 93.204.38.212:50703/80 unexpectedly shrunk window 173165692:173181664 (repaired)
[ 5440.518634] TCP: Peer 93.204.38.212:50703/80 unexpectedly shrunk window 173165692:173181664 (repaired)
[ 8034.646417] TCP: Peer 78.86.59.124:57518/80 unexpectedly shrunk window 2342140109:2342145949 (repaired)
[ 8034.845881] TCP: Peer 78.86.59.124:57519/80 unexpectedly shrunk window 2355541751:2355543211 (repaired)
[ 8035.244810] TCP: Peer 78.86.59.124:57518/80 unexpectedly shrunk window 2342140109:2342145949 (repaired)
[ 8035.404381] TCP: Peer 78.86.59.124:57519/80 unexpectedly shrunk window 2355541751:2355543211 (repaired)
[ 8036.441605] TCP: Peer 78.86.59.124:57518/80 unexpectedly shrunk window 2342140109:2342145949 (repaired)
[ 8036.521394] TCP: Peer 78.86.59.124:57519/80 unexpectedly shrunk window 2355541751:2355543211 (repaired)
[ 8038.755410] TCP: Peer 78.86.59.124:57519/80 unexpectedly shrunk window 2355541751:2355543211 (repaired)
[ 8038.839185] TCP: Peer 78.86.59.124:57518/80 unexpectedly shrunk window 2342140109:2342145949 (repaired)
[ 8043.227430] TCP: Peer 78.86.59.124:57519/80 unexpectedly shrunk window 2355541751:2355543211 (repaired)
[ 8167.141207] process `sysctl' is using deprecated sysctl (syscall) net.ipv6.neigh.default.retrans_time; Use net.ipv6.neigh.default.retrans_time_ms instead.
[ 8530.390504] TCP: Peer 80.130.172.130:1589/80 unexpectedly shrunk window 1173036104:1173040460 (repaired)
[ 8704.121847] kjournald starting. Commit interval 5 seconds
[ 8704.122052] EXT3 FS on dm-1, internal journal
[ 8704.122059] EXT3-fs: mounted filesystem with ordered data mode.
[ 8797.193984] svc: failed to register lockdv1 RPC service (errno 97).
[ 8819.460224] CacheFiles: Loaded
[ 8819.628246] FS-Cache: Cache "mycache" added (type cachefiles)
[ 8819.628250] CacheFiles: File cache on dm-1 registered
[ 8857.591844] CacheFiles: I/O Error: Unlink failed
[ 8857.591914] FS-Cache: Cache cachefiles stopped due to I/O error
[ 8879.471290] CacheFiles: File cache on dm-1 unregistering
[ 8879.471292] FS-Cache: Withdrawing cache "mycache"

** Model information
sys_vendor: Dell Inc.
product_name: PowerEdge R610
product_version:
chassis_vendor: Dell Inc.
chassis_version:
bios_vendor: Dell Inc.
bios_version: 2.1.15
board_vendor: Dell Inc.
board_name: 0F0XJ6
board_version: A02

** Loaded modules:
Module Size Used by
cachefiles 31882 0
nfs 241066 1
lockd 57619 1 nfs
fscache 29834 2 cachefiles,nfs
nfs_acl 2031 1 nfs
auth_rpcgss 33476 1 nfs
sunrpc 161237 15 nfs,lockd,nfs_acl,auth_rpcgss
iptable_nat 4299 1
nf_nat 13388 1 iptable_nat
ipt_LOG 4518 1
ipt_REJECT 1953 3
xt_tcpudp 2319 11
xt_state 1303 1
iptable_filter 2258 1
ip_tables 13899 2 iptable_nat,iptable_filter
x_tables 12845 6 iptable_nat,ipt_LOG,ipt_REJECT,xt_tcpudp,xt_state, ip_tables
nf_conntrack_ipv4 9833 4 iptable_nat,nf_nat
nf_conntrack 46535 4 iptable_nat,nf_nat,xt_state,nf_conntrack_ipv4
nf_defrag_ipv4 1139 1 nf_conntrack_ipv4
8021q 17158 0
garp 5050 1 8021q
stp 1440 1 garp
loop 11799 0
snd_pcm 60503 0
snd_timer 15582 1 snd_pcm
snd 46446 2 snd_pcm,snd_timer
soundcore 4598 1 snd
snd_page_alloc 6249 1 snd_pcm
psmouse 49777 0
joydev 8459 0
serio_raw 3752 0
pcspkr 1699 0
dcdbas 5048 0
power_meter 8302 0
processor 29951 24
button 4650 0
evdev 7352 2
ext3 106534 2
jbd 37101 1 ext3
mbcache 5050 1 ext3
dm_mod 53786 5
sg 18744 0
sr_mod 12602 0
cdrom 29415 1 sr_mod
ata_generic 3015 0
usbhid 33292 0
hid 62857 1 usbhid
uhci_hcd 18521 0
sd_mod 29777 4
ses 5128 0
crc_t10dif 1276 1 sd_mod
enclosure 5503 1 ses
ata_piix 21124 0
megaraid_sas 29116 3
libata 133616 2 ata_generic,ata_piix
ehci_hcd 31135 0
usbcore 121954 4 usbhid,uhci_hcd,ehci_hcd
scsi_mod 122117 6 sg,sr_mod,sd_mod,ses,megaraid_sas,libata
nls_base 6377 1 usbcore
thermal 11674 0
thermal_sys 11942 2 processor,thermal
bnx2 57385 0

** PCI devices:
not available

** USB devices:
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 0624:0248 Avocent Corp.
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/24 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-image-2.6.32-5-amd64 depends on:
ii debconf [debconf-2.0] 1.5.36 Debian configuration management sy
ii initramfs-tools [linux-initra 0.98.5 tools for generating an initramfs
ii linux-base 2.6.32-27 Linux image base package
ii module-init-tools 3.12-1 tools for managing Linux kernel mo

Versions of packages linux-image-2.6.32-5-amd64 recommends:
ii firmware-linux-free 2.6.32-27 Binary firmware for various driver

Versions of packages linux-image-2.6.32-5-amd64 suggests:
pn grub | lilo <none> (no description available)
pn linux-doc-2.6.32 <none> (no description available)

Versions of packages linux-image-2.6.32-5-amd64 is related to:
ii firmware-bnx2 0.27 Binary firmware for Broadcom NetXt
pn firmware-bnx2x <none> (no description available)
pn firmware-ipw2x00 <none> (no description available)
pn firmware-ivtv <none> (no description available)
pn firmware-iwlwifi <none> (no description available)
pn firmware-linux <none> (no description available)
ii firmware-linux-nonfree 0.27 Binary firmware for various driver
pn firmware-qlogic <none> (no description available)
pn firmware-ralink <none> (no description available)
pn xen-hypervisor <none> (no description available)

-- debconf information:
linux-image-2.6.32-5-amd64/postinst/ignoring-do-bootloader-2.6.32-5-amd64:
linux-image-2.6.32-5-amd64/postinst/depmod-error-initrd-2.6.32-5-amd64: false
linux-image-2.6.32-5-amd64/prerm/removing-running-kernel-2.6.32-5-amd64: true
linux-image-2.6.32-5-amd64/postinst/missing-firmware-2.6.32-5-amd64:



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20101112175845.8230.11734.reportbug@smh14.smhost.p l">http://lists.debian.org/20101112175845.8230.11734.reportbug@smh14.smhost.p l
 
Old 11-15-2010, 02:31 AM
Ben Hutchings
 
Default Bug#603301: linux-image-2.6.32-5-amd64: FS-Cache doesn't working with my NFS mount

For future reference, the upstream commit is:

commit c61ea31dac0319ec64b33725917bda81fc293a25
Author: David Howells <dhowells@redhat.com>
Date: Tue May 11 16:51:39 2010 +0100

CacheFiles: Fix occasional EIO on call to vfs_unlink()

However I'm not going to apply this during the current deep freeze.

Ben.

--
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.
 
Old 09-07-2011, 08:54 PM
Jonathan Nieder
 
Default Bug#603301: linux-image-2.6.32-5-amd64: FS-Cache doesn't working with my NFS mount

Hi Piotr, Ben,

Piotr Meyer wrote[1]:

> Adter enabling FS-Cache on my NFS mount (busy WWW node) I got
> following error
> (more in dmesg below):
>
> CacheFiles: I/O Error: Unlink failed
> FS-Cache: Cache cachefiles stopped due to I/O error

On 2010-11-15, Ben Hutchings wrote:

> For future reference, the upstream commit is:
>
> commit c61ea31dac0319ec64b33725917bda81fc293a25
> Author: David Howells <dhowells@redhat.com>
> Date: Tue May 11 16:51:39 2010 +0100
>
> CacheFiles: Fix occasional EIO on call to vfs_unlink()
>
> However I'm not going to apply this during the current deep freeze.

Looks like that patch requires the following in order to apply:

commit 8f9941aeccc3
Author: David Howells <dhowells@redhat.com>
Date: Fri Feb 19 18:14:21 2010 +0000

CacheFiles: Fix a race in cachefiles_delete_object() vs rename

They both seem sane at a glance and apply cleanly to 2.6.32.y. Ben,
do you think these would be worth applying to the 2.6.32-longterm
tree? Piotr, do they work? (Feel free to ask if you'd like hints for
building a kernel with the patches applied, or --- slower --- for
someone to build one for you.)

Thanks,
Jonathan

[1] http://bugs.debian.org/603301



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110907205404.GA7370@elie.sbx02827.chicail.waypor t.net">http://lists.debian.org/20110907205404.GA7370@elie.sbx02827.chicail.waypor t.net
 

Thread Tools




All times are GMT. The time now is 02:32 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org