2004-11-01 10:54:53

by Paul Dickson

[permalink] [raw]
Subject: 2.6.10-rc1: drivers/ide/ide-dma.o: value of -130 too large for field of 1 bytes at 911

With the attached .config, I'm getting this while compiling...

[...]
CC drivers/ide/pci/sis5513.o
CC drivers/ide/pci/via82cxxx.o
CC drivers/ide/pci/generic.o
LD drivers/ide/pci/built-in.o
CC drivers/ide/ide.o
CC drivers/ide/ide-default.o
CC drivers/ide/ide-io.o
CC drivers/ide/ide-iops.o
CC drivers/ide/ide-lib.o
CC drivers/ide/ide-probe.o
CC drivers/ide/ide-taskfile.o
CC drivers/ide/setup-pci.o
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.

-Paul


Attachments:
.config (17.61 kB)

2004-11-01 12:13:40

by Adrian Bunk

[permalink] [raw]
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, 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 .

> -Paul

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

2004-11-01 15:13:48

by Adrian Bunk

[permalink] [raw]
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, 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).

You don't have _any_ patches applied?
Your kernel comes directly from ftp.kernel.org (or one of it's mirrors)?

Does unsetting
General setup
Configure standard kernel features (for small systems)
Optimize for size
help?

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)

> -Paul

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

2004-11-01 15:57:47

by Paul Dickson

[permalink] [raw]
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 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".

I'm also using 0=../out.router.20041030 for an external directory:
make O=../out.router.20041030/ bzImage


>From the FC2 system:

Linux violet.pwd.internal 2.6.8-1.521 #1 Mon Aug 16 09:01:18 EDT 2004 i686 i686 i386 GNU/Linux

Gnu C 3.4.1
Gnu make 3.80
binutils 2.15.90.0.3
util-linux 2.12
mount 2.12
module-init-tools 2.4.26
e2fsprogs 1.35
reiserfsprogs line
reiser4progs line
pcmcia-cs 3.2.7
quota-tools 3.10.
PPP 2.4.2
nfs-utils 1.0.6
Linux C Library 2.3.3
Dynamic linker (ldd) 2.3.3
Procps 3.2.0
Net-tools 1.60
Kbd 1.12
Sh-utils 5.2.1
Modules Loaded snd_pcm_oss snd_mixer_oss snd_es1968 snd_ac97_codec snd_pcm snd_page_alloc snd_timer gameport snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore nfs lockd parport_pc lp parport autofs4 ide_cs ds yenta_socket pcmcia_core sunrpc 3c59x floppy sg scsi_mod microcode vfat fat dm_mod joydev uhci_hcd ext3 jbd



>From the RH9 system:

Linux red 2.4.20-18.9 #1 Thu May 29 07:08:16 EDT 2003 i686 athlon i386 GNU/Linux

Gnu C 3.2.2
Gnu make 3.79.1
binutils 2.13.90.0.18
util-linux 2.11y
mount 2.11y
module-init-tools writing
e2fsprogs 1.32
jfsutils 1.0.17
reiserfsprogs 2002------------->
reiser4progs line
pcmcia-cs 3.1.31
quota-tools 3.06.
PPP 2.4.1
isdn4k-utils 3.1pre4
nfs-utils 1.0.1
Linux C Library 2.3.2
Dynamic linker (ldd) 2.3.2
Procps 2.0.11
Net-tools 1.60
Kbd 1.08
Sh-utils 4.5.3
Modules Loaded w83781d i2c-proc i2c-viapro i2c-core parport_pc lp parport nfsd lockd sunrpc iptable_filter ip_tables autofs 3c59x loop keybdev mousedev hid input usb-uhci usbcore ext3 jbd lvm-mod


-Paul

2004-11-01 16:29:32

by Paul Dickson

[permalink] [raw]
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 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 .


Apparently, it was the RH9 system that was the problem. The FC2 system
does not have the problem. I was using the RH9 system for compiling
because it has a 1333 MHz Athlon, while the FC2 system only has a 300 MHz
PII (so I never allowed a complete compilation on that system). The RH9
system is scheduled for updating to FC3 this weekend or the next.

Thanks for the assistance.

-Paul

2004-11-01 17:27:20

by Paul Dickson

[permalink] [raw]
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


Attachments:
ide-dma.s (29.39 kB)