public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* gcc2.96 + prerelease BUG at inode.c:372
@ 2001-01-03 19:19 Diego Liziero
  2001-01-03 20:07 ` Daniel Phillips
  2001-01-03 23:40 ` Linus Torvalds
  0 siblings, 2 replies; 4+ messages in thread
From: Diego Liziero @ 2001-01-03 19:19 UTC (permalink / raw)
  To: linux-kernel; +Cc: pmcq

gcc2.96 + prerelease BUG at inode.c:372

I've compiled by mistake the kernel with the wrong compiler: gcc 2.96
(RedHat 7.0 without the upgrade to gcc 2.96-69)

->1: The sound module for my mad16 based card plays the bytes swapped
     (the same module recompiled with egcs-2.91.66 works fine).

->2: after two day under heavy load I've got the following BUG:
     (I don't know if it's related to the compiler, that's why I'm reporting
     this.)

kernel BUG at inode.c:372!
invalid operand: 0000
CPU:    0
EIP:    0010:[clear_inode+53/272]
EFLAGS: 00010286
eax: 0000001b   ebx: c11e2be0   ecx: ffffffff   edx: 00000000
esi: 00000f1a   edi: c11e2be0   ebp: 0002761b   esp: c2ce9ea4
ds: 0018   es: 0018   ss: 0018
Process wineserver (pid: 17050, stackpage=c2ce9000)
Stack: c01efd23 c01efda3 00000174 c1167800 00000f1a c11e2be0 0002761b c1167800
       c0151a20 c11e2be0 00000000 0000000a c3b02400 c3653ba0 c11e2c84 c11e2be0
       c11e2be0 c021e200 c11e2be0 c11e2be0 c021e200 c11e2be0 c1d7bbe0 c0144765
Call Trace: [tvecs+21919/42720] [tvecs+22047/42720] [ext2_free_inode+208/432] [iput+165/336] [dput+237/320] [ext2_release_file+20/32] [fput+113/208]
       [unmap_fixup+86/304] [do_munmap+550/672] [filp_close+85/96] [sys_munmap+41/64] [system_call+51/56] [startup_32+43/313]
Code: 0f 0b 83 c4 0c 8b 83 ec 00 00 00 a9 10 00 00 00 75 1f 68 76

I've lost the original System.map so I've to trust in klogd symbols.

Code;  c0143e35 [clear_inode+53/272]      <=====
   0:   0f 0b                     ud2a      <=====
Code;  c0143e37
   2:   83 c4 0c                  add    $0xc,%esp
Code;  c0143e3a
   5:   8b 83 ec 00 00 00         mov    0xec(%ebx),%eax
Code;  c0143e40
   b:   a9 10 00 00 00            test   $0x10,%eax
Code;  c0143e45
  10:   75 1f                     jne    31 <_EIP+0x31> c0143e66 No symbols available
Code;  c0143e47
  12:   68 76 00 00 00            push   $0x76


System info:
Linux nuovo 2.4.0-prerelease #166 lun gen 1 19:19:56 MET 2001 i686 unknown
CPU: Intel Pentium II (Klamath) stepping 04
ide info:
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
hda: Maxtor 90432D3, ATA DISK drive
hdb: FUJITSU MPE3136AT, ATA DISK drive
hdc: Conner Peripherals 340MB - CP30344, ATA DISK drive
hdd: LTN301, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15

Please, CC to pmcq@emmenet.it as I'm not subscribed to the list.

			Diego Liziero (pmcq@emmenet.it)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gcc2.96 + prerelease BUG at inode.c:372
  2001-01-03 19:19 gcc2.96 + prerelease BUG at inode.c:372 Diego Liziero
@ 2001-01-03 20:07 ` Daniel Phillips
  2001-01-03 23:40 ` Linus Torvalds
  1 sibling, 0 replies; 4+ messages in thread
From: Daniel Phillips @ 2001-01-03 20:07 UTC (permalink / raw)
  To: Diego Liziero, linux-kernel

Diego Liziero wrote:
> ->2: after two day under heavy load I've got the following BUG:
>      (I don't know if it's related to the compiler, that's why I'm reporting
>      this.)
> 
> kernel BUG at inode.c:372!

It's a known bug.  A fix is in process and may already be available at
ftp://ftp.kernel.org/pub/linux/kernel/testing

--
Daniel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gcc2.96 + prerelease BUG at inode.c:372
  2001-01-03 19:19 gcc2.96 + prerelease BUG at inode.c:372 Diego Liziero
  2001-01-03 20:07 ` Daniel Phillips
@ 2001-01-03 23:40 ` Linus Torvalds
  1 sibling, 0 replies; 4+ messages in thread
From: Linus Torvalds @ 2001-01-03 23:40 UTC (permalink / raw)
  To: linux-kernel

In article <200101031919.f03JJQU13197@interno.emmenet.it>,
Diego Liziero  <pmcq@interno.emmenet.it> wrote:
>
>->1: The sound module for my mad16 based card plays the bytes swapped
>     (the same module recompiled with egcs-2.91.66 works fine).

Could you try to figure this one out a bit more? This sounds like a real
compiler issue, whether it is because egcs just happens to get the right
result for bogus kernel source, of whether gcc-2.96 has problems..

>->2: after two day under heavy load I've got the following BUG:
>     (I don't know if it's related to the compiler, that's why I'm reporting
>     this.)

Unrelated. This one is a known bug that hits if you are a bit unlucky
with a race on deleting the pages from the inode page-lists. Fixed in
the current prerelease patches on ftp.kernel.org.

		Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gcc2.96 + prerelease BUG at inode.c:372
       [not found] <200101032340.PAA08324@penguin.transmeta.com>
@ 2001-01-04  1:34 ` Diego Liziero
  0 siblings, 0 replies; 4+ messages in thread
From: Diego Liziero @ 2001-01-04  1:34 UTC (permalink / raw)
  To: linux-kernel; +Cc: pmcq

> Diego Liziero  <pmcq@interno.emmenet.it> wrote:
> >
> >->1: The sound module for my mad16 based card plays the bytes swapped
> >     (the same module recompiled with egcs-2.91.66 works fine).
> 
> Could you try to figure this one out a bit more? This sounds like a real
> compiler issue, whether it is because egcs just happens to get the right
> result for bogus kernel source, of whether gcc-2.96 has problems..

I've just recompiled the kernel with the gcc 2.96-69 upgrade from RedHat
and the sound module works ok.

So it seems a known compiler bug.

			Diego Liziero (pmcq@emmenet.it)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-01-04  1:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-03 19:19 gcc2.96 + prerelease BUG at inode.c:372 Diego Liziero
2001-01-03 20:07 ` Daniel Phillips
2001-01-03 23:40 ` Linus Torvalds
     [not found] <200101032340.PAA08324@penguin.transmeta.com>
2001-01-04  1:34 ` Diego Liziero

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox