Messages in this thread | | | Date | Mon, 1 Nov 2004 10:21:19 -0700 | From | Paul Dickson <> | Subject | Re: 2.6.10-rc1: drivers/ide/ide-dma.o: value of -130 too large for field of 1 bytes at 911 |
| |
On Mon, 1 Nov 2004 15:32:38 +0100, Adrian Bunk wrote:
> On Mon, Nov 01, 2004 at 06:48:28AM -0700, Paul Dickson wrote: > > On Mon, 1 Nov 2004 13:12:56 +0100, Adrian Bunk wrote: > > > > > On Mon, Nov 01, 2004 at 03:54:02AM -0700, Paul Dickson wrote: > > > > With the attached .config, I'm getting this while compiling... > > > > > > > >... > > > > CC drivers/ide/ide-dma.o > > > > {standard input}: Assembler messages: > > > > {standard input}:607: Error: value of -130 too large for field of 1 bytes at 911 > > > > make[3]: *** [drivers/ide/ide-dma.o] Error 1 > > > > make[2]: *** [drivers/ide] Error 2 > > > > make[1]: *** [drivers] Error 2 > > > > make: *** [bzImage] Error 2 > > > > > > > > I got the same error with 2.6.9 too. > > > > > > > > GCC 3.2.2 and 3.4.1. > > > > > > > > Has this been fixed since 2.6.10-rc1? Searching my Linux-Kernel folder > > > > didn't find a match. > > > > > > I can't reproduce it with your .config in 2.6.10-rc1. > > > > > > Please send the output of ./scripts/ver_linux . > > > > The problem does not occur if I unselect "Generic PCI bus-master DMA > > support". > > That's not a surprise since in this case ide-dma.c won't be included > into your kernel. > > > I'm also using 0=../out.router.20041030 for an external directory: > > make O=../out.router.20041030/ bzImage > > Works for me... > > > >From the FC2 system: > >... > > >From the RH9 system: > >... > > The systems seem to be different enough for ruling out a problem with a > specific compiler or assembler version (in both cases, my versions > are between your versions).
As I mentioned, this is a problem with RH9; you might not want to take this further. :-)
> You don't have _any_ patches applied? > Your kernel comes directly from ftp.kernel.org (or one of it's mirrors)?
No patches. I downloaded 2.6.9 again last night and applied the 2.6.10-rc1 patch with ketchup-0.8.1. The downloaded 2.6.9 and my previous version created by ketchup had no differences.
I avoided a 2.6.10-rc1 problem by hand copying usr/initramfs_list to ../out.router.20041030/usr
> Does unsetting > General setup > Configure standard kernel features (for small systems) > Optimize for size > help?
Yes, that avoided the problem too.
> Please do the following: > - make V=1 O=../out.router.20041030/ bzImage > - cd ../out.router.20041030/ > - the first command should have given you the failed gcc command; > run it with the following changes: > - replace "-c" with "-S" > - replace "ide-dma.o" with "ide-dma.s" > - send me the resulting file drivers/ide/ide-dma.s > (please Cc linux-kernel)
Attached is the ide-dma.s with "Optimize for size" on.
-Paul
[unhandled content-type:application/octet-stream] | |