Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755833AbXLJNVT (ORCPT ); Mon, 10 Dec 2007 08:21:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752598AbXLJNVK (ORCPT ); Mon, 10 Dec 2007 08:21:10 -0500 Received: from fwstl1-1.wul.qc.ec.gc.ca ([205.211.132.24]:62575 "EHLO ecqcmtlbh.quebec.int.ec.gc.ca" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751896AbXLJNVJ (ORCPT ); Mon, 10 Dec 2007 08:21:09 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C83B2F.76A6330B" Subject: RE: 2.6.22.14 oops msg with commvault galaxy ? Date: Mon, 10 Dec 2007 08:20:42 -0500 Message-ID: In-Reply-To: <20071207171455.b2eecb60.randy.dunlap@oracle.com> X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: 2.6.22.14 oops msg with commvault galaxy ? Thread-Index: Acg5N/wX3ZMbwBQdSvmkaHSQ+29ndQB9wO4g References: <20071207151113.e9841341.akpm@linux-foundation.org> <20071207171455.b2eecb60.randy.dunlap@oracle.com> From: "Fortier,Vincent [Montreal]" To: "Randy Dunlap" , "Andrew Morton" Cc: X-OriginalArrivalTime: 10 Dec 2007 13:20:42.0489 (UTC) FILETIME=[76EE4E90:01C83B2F] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 6081 Lines: 116 This is a multi-part message in MIME format. ------_=_NextPart_001_01C83B2F.76A6330B Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable > -----Message d'origine----- > De : Randy Dunlap [mailto:randy.dunlap@oracle.com]=20 > Envoy=E9 : 7 d=E9cembre 2007 20:15 >=20 > On Fri, 7 Dec 2007 15:11:13 -0800 Andrew Morton wrote: >=20 > > On Fri, 7 Dec 2007 14:15:36 -0800 > > Randy Dunlap wrote: > >=20 > > > > Help would really be appreciated. > > >=20 > > > Let's try the last_sysfs_file (name) patch. > > > I've attempted to update it for 2.6.22.14. > > > Andrew, does this change in fs/sysfs/file.c look OK? > >=20 > > umm, yup. > >=20 > >=20 > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-r > >=20 > c6/2.6.21-rc6-mm1/broken-out/gregkh-driver-sysfs-crash-debugging.patch > >=20 > > should work. >=20 > Thanks. =20 > I produced a cleanly applying version of it for 2.6.22.14. >=20 > Vincent, please apply this patch so we can know which file in=20 > sysfs these oopses are happening with. >=20 It did not applied cleanly on a 2.6.22.14... copy/paste might be the = issue here... Anyhow, I corrected the patch failure to apply and here is = my version of it... Hoping I got this (attached patch). Compiling at the moment... will try this out with commvault 5.9 probably = in the morning and get back with the results. Let me know I got the patch wrong. - vin ------_=_NextPart_001_01C83B2F.76A6330B Content-Type: application/octet-stream; name="display_most-recently-opened_sysfs_file_name_when_oopsing.patch" Content-Transfer-Encoding: base64 Content-Description: display_most-recently-opened_sysfs_file_name_when_oopsing.patch Content-Disposition: attachment; filename="display_most-recently-opened_sysfs_file_name_when_oopsing.patch" ZGlmZiAtdXByTiBsaW51eC0yLjYuMjIuMTQvYXJjaC9pMzg2L2tlcm5lbC90cmFwcy5jIGxpbnV4 LTIuNi4yMi4xNC1uZXcvYXJjaC9pMzg2L2tlcm5lbC90cmFwcy5jCi0tLSBsaW51eC0yLjYuMjIu MTQvYXJjaC9pMzg2L2tlcm5lbC90cmFwcy5jCTIwMDctMTEtMjEgMTc6MzA6NTkuMDAwMDAwMDAw ICswMDAwCisrKyBsaW51eC0yLjYuMjIuMTQtbmV3L2FyY2gvaTM4Ni9rZXJuZWwvdHJhcHMuYwky MDA3LTEyLTEwIDEzOjAyOjIwLjAwMDAwMDAwMCArMDAwMApAQCAtNDExLDYgKzQxMSw3IEBAIHZv aWQgZGllKGNvbnN0IGNo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vYmplY3QgKmtvYmosCkBAIC0y NDAsNiArMjQxLDExIEBAIHN0YXRpYyBpbmxpbmUgaW50IF9fbXVzdF9jaGVjayBzeXNmc19pbmkK IAlyZXR1cm4gMDsKIH0KIAorc3RhdGljIGlubGluZSB2b2lkIHN5c2ZzX3ByaW50a19sYXN0X2Zp bGUodm9pZCkKK3sKKyAgICAgICA7Cit9CisKICNlbmRpZiAvKiBDT05GSUdfU1lTRlMgKi8KIAog I2VuZGlmIC8qIF9TWVNGU19IXyAqLwo= ------_=_NextPart_001_01C83B2F.76A6330B-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/