From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.back-rdu.redhat.com (8.11.6/8.11.6) with ESMTP id h9RAYYE30831 for ; Mon, 27 Oct 2003 05:34:34 -0500 Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id h9RAdaU13427 for axp-list@listman.back-rdu.redhat.com; Mon, 27 Oct 2003 05:39:36 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id h9RAda613421 for ; Mon, 27 Oct 2003 05:39:36 -0500 Received: from jurassic.park.msu.ru (jurassic.park.msu.ru [195.208.223.243]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id h9RAdZM31336 for ; Mon, 27 Oct 2003 05:39:35 -0500 Received: (from ink@localhost) by jurassic.park.msu.ru (8.11.6/8.11.6) id h9RAdJM25767 for axp-list@redhat.com; Mon, 27 Oct 2003 13:39:19 +0300 Date: Mon, 27 Oct 2003 13:39:19 +0300 From: Ivan Kokshaysky To: axp-list@redhat.com Subject: Re: 2.6.0-test9 partial success Message-ID: <20031027133919.A25565@jurassic.park.msu.ru> References: <00A27FA5.D7FADA49.110@shells.dls.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <00A27FA5.D7FADA49.110@shells.dls.net>; from achapkis@shells.dls.net on Mon, Oct 27, 2003 at 12:00:49AM -0500 X-loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.13 Precedence: junk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: On Mon, Oct 27, 2003 at 12:00:49AM -0500, Arkadiy Chapkis - Arc wrote: > Oct 26 23:05:24 baltika kernel: module snd_page_alloc: Relocation overflow vs > section 20 I've seen that too. > My guess is that the first line is the culprit - because snd_page_alloc > doesn't load, everything else is not loading either. Exactly. > My question is: should I file kernel bug report, or is it something I do > wrong? I think there is a problem with incorrect sign extension in calculation of GPRELHIGH value in alpha/kernel/module.c. The appended patch works for me, though I'm not sure it's right way to fix that - I've sent this to rth 3 or 4 times, but it wasn't applied... Ivan. --- 2.6/arch/alpha/kernel/module.c Wed May 28 01:05:20 2003 +++ linux/arch/alpha/kernel/module.c Mon Aug 11 23:23:02 2003 @@ -259,7 +259,7 @@ apply_relocate_add(Elf64_Shdr *sechdrs, *(u64 *)location = value; break; case R_ALPHA_GPRELHIGH: - value = (value - gp + 0x8000) >> 16; + value = (long)(value - gp + 0x8000) >> 16; if ((short) value != value) goto reloc_overflow; *(u16 *)location = value;