#19 erro: fuse: wrote too many bytes and linux kernel error.

open
nobody
5
2008-10-22
2008-10-22
Anonymous
No

copy a file( file size > 0 ) to kfs file system. cp command fault. kfs_fuse show(sudo ./kfs_fuse /mnt/kfs/mount/ -f):
fuse: wrote too many bytes

machines.cfg:
[metaserver]
node: localhost
rundir: /mnt/kfs/meta
baseport: 20000
clusterkey: test-cluster
[chunkserver1]
node: localhost
rundir: /mnt/kfs/chunk1
baseport: 30000
space: 30 G
[chunkserver2]
node: localhost
rundir: /mnt/kfs/chunk2
baseport: 40000
space: 30000 M

there are some kernel fault info(dmesg):
[ 821.539013] kernel BUG at /build/buildd/linux-2.6.24/mm/filemap.c:1757!
[ 821.539016] invalid opcode: 0000 [#3] SMP
[ 821.539019] Modules linked in: af_packet i915 drm binfmt_misc rfkill_input vboxdrv kqemu snd_atiixp_modem snd_via82xx_modem snd_intel8x0m speedstep_centrino cpufreq_powersave cpufreq_stats cpufreq_userspace cpufreq_ondemand cpufreq_conservative freq_table sbs bay sbshc dock ipt_LOG xt_limit ipt_addrtype xt_state xt_tcpudp nf_conntrack_ipv4 xt_conntrack ip6table_filter ip6_tables ipv6 nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack iptable_filter ip_tables x_tables ext3 jbd mbcache aes_i586 dm_crypt ib_iser rdma_cm ib_cm iw_cm ib_sa ib_mad ib_core ib_addr iscsi_tcp libiscsi scsi_transport_iscsi parport_pc lp parport pcmcia arc4 ecb blkcipher b43 rfkill mac80211 wmi_acer evdev cfg80211 snd_intel8x0 snd_ac97_codec led_class ac97_bus psmouse serio_raw input_polldev snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy pcspkr iTCO_wdt iTCO_vendor_support yenta_socket rsrc_nonstatic pcmcia_core snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd soundcore snd_page_alloc battery container ac video output button intel_agp shpchp pci_hotplug agpgart reiserfs sg sr_mod cdrom sd_mod pata_acpi ata_generic b44 ata_piix libata scsi_mod ssb mii ehci_hcd uhci_hcd usbcore dm_mirror dm_snapshot dm_mod thermal processor fan fbcon tileblit font bitblit softcursor fuse
[ 821.539094]
[ 821.539097] Pid: 9075, comm: cp Tainted: G D (2.6.24-21-generic #1)
[ 821.539100] EIP: 0060:[<c016cd70>] EFLAGS: 00010287 CPU: 0
[ 821.539109] EIP is at iov_iter_advance+0x20/0x80
[ 821.539111] EAX: c59b5dfc EBX: 00004000 ECX: 00000000 EDX: 00004000
[ 821.539114] ESI: 00004000 EDI: 00000000 EBP: c6d949a4 ESP: c59b5d7c
[ 821.539116] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[ 821.539119] Process cp (pid: 9075, ti=c59b4000 task=c59ca5c0 task.ti=c59b4000)
[ 821.539121] Stack: c5819178 00004000 00004000 00004000 00000000 c6d949a4 c016ebec 00004000
[ 821.539127] 00000000 00001000 00001000 c10a7600 c59b5e6c 00000000 c59b5edc e9a7e600
[ 821.539132] c6d949a4 f8845200 c6d94900 00000000 00001000 00000000 f8845200 001201d2
[ 821.539137] Call Trace:
[ 821.539163] [<c016ebec>] generic_file_buffered_write+0x18c/0x640
[ 821.539236] [<f89d4b40>] reiserfs_readpages+0x0/0x20 [reiserfs]
[ 821.539288] [<c016f344>] __generic_file_aio_write_nolock+0x2a4/0x540
[ 821.539340] [<c0131523>] current_fs_time+0x13/0x20
[ 821.539351] [<c01a63a9>] touch_atime+0x79/0x110
[ 821.539368] [<c016f645>] generic_file_aio_write+0x65/0xe0
[ 821.539401] [<c01917f5>] do_sync_write+0xd5/0x120
[ 821.539439] [<c017db27>] handle_mm_fault+0x387/0x730
[ 821.539447] [<c0140b00>] autoremove_wake_function+0x0/0x40
[ 821.539495] [<c0191720>] do_sync_write+0x0/0x120
[ 821.539503] [<c01920f9>] vfs_write+0xb9/0x170
[ 821.539520] [<c0192831>] sys_write+0x41/0x70
[ 821.539538] [<c01043b2>] sysenter_past_esp+0x6b/0xa9
[ 821.539577] =======================
[ 821.539579] Code: 14 c3 89 f6 8d bc 27 00 00 00 00 55 57 56 53 83 ec 08 39 50 0c 72 14 83 78 04 01 75 12 01 50 08 29 50 0c 83 c4 08 5b 5e 5f 5d c3 <0f> 0b eb fe 8b 08 89 d5 8b 58 08 89 4c 24 04 8b 71 04 89 34 24
[ 821.539604] EIP: [<c016cd70>] iov_iter_advance+0x20/0x80 SS:ESP 0068:c59b5d7c
[ 821.539611] ---[ end trace 00cea639435d04b7 ]---

------------------------------------------------------
ubuntu 8.04 LTS
kernel: 2.6.24-21-generic

Discussion


Log in to post a comment.