From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Hutchings Subject: Re: Bug#620896: Bug when listing files/dirs on ncpfs Date: Tue, 05 Apr 2011 01:17:05 +0100 Message-ID: <1301962625.2935.102.camel@localhost> References: <4D9A5466.7020100@prms.mpf.gov.br> Mime-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-aFRjyl561yjaMDG4K/ci" Cc: 620896@bugs.debian.org, Diego Rubert , linux-fsdevel@vger.kernel.org To: Al Viro , Nick Piggin Return-path: Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:32876 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750812Ab1DEARU (ORCPT ); Mon, 4 Apr 2011 20:17:20 -0400 In-Reply-To: <4D9A5466.7020100@prms.mpf.gov.br> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: --=-aFRjyl561yjaMDG4K/ci Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Another report of ncpfs regression in 2.6.38: On Mon, 2011-04-04 at 19:29 -0400, Diego Rubert wrote: > Package: linux-2.6 > Version: 2.6.38-2 > Severity: grave > > Got a bug message when listing items on ncpfs filesystem with 'ls' comman= d. > Makes mounted filesystem useless. > Trace: >=20 > [ 48.940407] ------------[ cut here ]------------ > [ 48.941485] kernel BUG at /build/buildd- > linux-2.6_2.6.38-2-amd64-6G9fmV/linux-2.6-2.6.38/debian/build/source_amd6= 4_none/fs/dcache.c:2134! > [ 48.942559] invalid opcode: 0000 [#1] SMP > [ 48.943651] last sysfs file: /sys/devices/virtual/sound/timer/uevent > [ 48.944386] CPU 1 > [ 48.944386] Modules linked in: nls_cp437 nls_utf8 parport_pc ncpfs=20 > ppdev lp > parport snd_hrtimer fuse coretemp loop snd_hda_codec_analog snd_hda_intel > snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_midi > snd_rawmidi i915 snd_seq_midi_event snd_seq snd_timer snd_seq_device snd > soundcore snd_page_alloc drm_kms_helper drm i2c_algo_bit wmi pcspkr tpm_t= is > psmouse i2c_i801 tpm i2c_core tpm_bios serio_raw container video processo= r > thermal_sys evdev button ext4 mbcache jbd2 crc16 sg sd_mod sr_mod cdrom > crc_t10dif usb_storage usbhid hid uas uhci_hcd ata_generic ata_piix libat= a > ehci_hcd e1000e floppy usbcore scsi_mod nls_base [last unloaded: > scsi_wait_scan] > [ 48.944386] > [ 48.944386] Pid: 2176, comm: bash Not tainted 2.6.38-2-amd64 #1 LENOVO > 6234CY8/LENOVO > [ 48.944386] RIP: 0010:[] [] > dentry_update_name_case+0x17/0x4f > [ 48.944386] RSP: 0018:ffff88006fd8f9c8 EFLAGS: 00010246 > [ 48.944386] RAX: 0000000000000000 RBX: ffff88005dc853c0 RCX: > 00000000ffff0bcc > [ 48.944386] RDX: 0000000000000053 RSI: ffff88006fd8fa98 RDI: > ffff88005dc853c0 > [ 48.944386] RBP: ffff88006fd8fa98 R08: 0000000000000000 R09: > ffff88005dc853fc > [ 48.944386] R10: 0000000000000053 R11: ffff880075b0fdb0 R12: > ffff88005dc65b40 > [ 48.944386] R13: ffff88006fd8fc58 R14: 0000000000000001 R15: > ffff88005dc853c0 > [ 48.944386] FS: 00007f8a2d762700(0000) GS:ffff880075b00000(0000) > knlGS:0000000000000000 > [ 48.944386] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > [ 48.944386] CR2: 00007f23b106bac0 CR3: 000000006fc5b000 CR4: > 00000000000406e0 > [ 48.944386] DR0: 0000000000000000 DR1: 0000000000000000 DR2: > 0000000000000000 > [ 48.944386] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: > 0000000000000400 > [ 48.944386] Process bash (pid: 2176, threadinfo ffff88006fd8e000, task > ffff88006fdaca40) > [ 48.944386] Stack: > [ 48.944386] ffff88005dca6048 ffff88005dca6048 ffff880071919300 > ffffffffa038d1b5 > [ 48.944386] ffff88006fd8fac4 0000000000013700 0000000000000000 > 00000004810086fe > [ 48.944386] 0000000000000000 ffff88006fd8fe68 0000000000000002 > ffff88005e3aa000 > [ 48.944386] Call Trace: > [ 48.944386] [] ? ncp_fill_cache+0x1b5/0x42a [ncpfs] > [ 48.944386] [] ? filldir+0x0/0xc3 > [ 48.944386] [] ? virt_to_head_page+0x9/0x2d > [ 48.944386] [] ? ncp_do_request+0x30f/0x321 [ncpfs] > [ 48.944386] [] ? autoremove_wake_function+0x0/0x2a > [ 48.944386] [] ? ncp_request2+0x49/0x76 [ncpfs] > [ 48.944386] [] ? ncp_search_for_fileset+0x1a4/0x1e6 > [ncpfs] > [ 48.944386] [] ? ncp_do_readdir+0x139/0x18d [ncpfs] > [ 48.944386] [] ? filldir+0x0/0xc3 > [ 48.944386] [] ? alloc_pages_vma+0x108/0x124 > [ 48.944386] [] ? find_get_page+0x3b/0x5e > [ 48.944386] [] ? lock_page+0xe/0x2c > [ 48.944386] [] ? ncp_readdir+0x582/0x587 [ncpfs] > [ 48.944386] [] ? filldir+0x0/0xc3 > [ 48.944386] [] ? vma_merge+0x1ef/0x34a > [ 48.944386] [] ? filldir+0x0/0xc3 > [ 48.944386] [] ? vfs_readdir+0x67/0xa4 > [ 48.944386] [] ? sys_getdents+0x7d/0xcd > [ 48.944386] [] ? page_fault+0x25/0x30 > [ 48.944386] [] ? system_call_fastpath+0x16/0x1b > [ 48.944386] Code: 8b 52 24 89 50 24 c3 8b 48 24 8b 72 24 89 70 24 89= =20 > 4a 24 > c3 55 48 89 f5 53 48 89 fb 48 83 ec 08 48 8b 47 30 8b 40 28 ff c8 75 04= =20 > <0f> 0b > eb fe 8b 47 24 3b 46 04 74 04 0f 0b eb fe 48 8d 7f 5c e8 > [ 48.944386] RIP [] dentry_update_name_case+0x17/0x4= f > [ 48.944386] RSP > [ 49.009088] ---[ end trace 274c8a8a3c2d4f6d ]--- [...] --=20 Ben Hutchings Once a job is fouled up, anything done to improve it makes it worse. --=-aFRjyl561yjaMDG4K/ci Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIVAwUATZpffOe/yOyVhhEJAQpgJQ/+PvHuvitPudDqzFGp73K5KZ7E2AD4ZjG5 9hzL/U1CEWTn/Y23MvqODvC/c+3pVhrEphJv6+wy8sWphx7+N9kybD/Yx6faV/S/ 9M/VaMbFOS25Bi19pgYP9X4D3l0KWn9adDd68Vl/kfDTxvhZSF8mP4NM6+1MIMpe 3gqogHknP+y5bi56FT6OIjWKDvfGVrtuHDI0ZQ3fGecAHj0xRMaeqcVJNIUcAnDi Sm6h/oGwI5gkpHGMWg6jfw4rtL3W7F7LuqL7Tu6VbQyjB8Ysuk4bDr3J/4KaS0Ys rHYflv4mhqxxN1c0UL3CBdWQqytKFDTBjL/xeATnDlEuv96C5S0I4an7O+B2Rwid C/oGGTyYfpbM7jrvoJp/U422r1AfWf/aqs8eXL6MHzSFDUAvV2Bd/FOyfvB66l/R HQpQ4NKkxyxRnS0P3BR2KD311ZVqbCq03WwLL1KtMcTgkr4MbJOemaCuVSUfyM4k 4ECBpoG4a/YINwZ1P1X41/PwijEWr3TIPiXuuFYmxjAzP47c6bDrVAYtC3jAXfzO onNa58me6BdgAFAJW/GY0Z3Wq28rxt39mdiHPb+owq9kq29NI05p67+NvJ8kZzjy ctHCvOJgVqhjYfsAx/dx+ooyvOaGmfW7ZtLRu2U+F0pAHyMLSeAr5FRY+xrw3VfZ t4fny1sHeIQ= =kmoU -----END PGP SIGNATURE----- --=-aFRjyl561yjaMDG4K/ci--