Hi list,
   i'm having big trouble in running emerge -e system after a gcc
upgrade (from gcc-3.4.4 to gcc-3.4.5. This is coming from dmesg:

------------[ cut here ]------------
kernel BUG at f (i < 5)
                        printk(":");
        }
        printk(".\n");
}

static void __ioc3_set_mac_address(struct net_device *dev)
{
        struct ioc3_private *ip = netdev_priv(dev);
        struct ioc3 *ioc3 = ip->regs;

        ioc3_w_emar_h((dev->dev_addr[5] <<  8) | dev->dev_addr[4]);
        ioc3_w_emar_l((dev->dev_addr[3] << 24) | (dev->dev_addr[2] << 16) |
                      (dev->dev_addr[1] <<  8) | dev->dev_addr[0]);
}

static int ioc3_set_mac_address(struct net_device *dev, void *addr)
{
        struct ioc3_private *ip = netdev_priv(dev);
        struct sockaddr *sa = addr;

        memcpy(dev->dev_addr, sa->sa_data, dev->addr_len);

        spin_lock_irq(&ip->ioc3_lock);
        __ioc3_set_mac_address(dev);
        spin_unlock_irq(&ip->ioc3_lock);

        return 0;
}

/*
 * Caller must hold the ioc3_lock ever for MII readers.  This is also
 * used to protect the transmitter side but it's low contention.
 */
static int ioc3_mdio_read(struct net_device *dev, int phy, int reg)
{
        struct ioc3_private *ip = netdev_priv(dev);
        struct ioc3 *ioc3 = ip->regs;

        while (ioc3_r_micr() & MICR<0>Bad page state at prep_new_page
(in process 'cc1', page c169d9c0)
flags:0x80000014 mapping:00000000 mapcount:-1 count:0
Backtrace:
 [<c013b132>] bad_page+0x5c/0x92
 [<c013b4ec>] prep_new_page+0x36/0x63
 [<c013b9f5>] buffered_rmqueue+0x142/0x1c4
 [<c013bb93>] get_page_from_freelist+0x85/0x9d
 [<c013bbf3>] __alloc_pages+0x48/0x25a
 [<c01452f9>] do_anonymous_page+0x3a/0x14d
 [<c014574b>] __handle_mm_fault+0xba/0x199
 [<c0112aea>] do_page_fault+0x177/0x4e7
 [<c0112973>] do_page_fault+0x0/0x4e7
 [<c01039bf>] error_code+0x4f/0x60
Trying to fix it up, but a reboot is needed
invalid operand: 0000 [#1]
SMP
Modules linked in: parport_pc parport floppy pcspkr 3c59x mii e1000
snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm snd_timer snd
snd_page_alloc i2c_i801 i2c_core intel_agp agpgart rtc eth1394
dm_mirror dm_mod sata_mv ata_piix ahci sata_qstor sata_vsc sata_uli
sata_sis sata_sx4 sata_nv sata_via sata_svw sata_sil sata_promise
libata sbp2 ohci1394 ieee1394 sl811_hcd ohci_hcd uhci_hcd usb_storage
usbhid ehci_hcd usbcore
CPU:    1
EIP:    0060:[<c01492fc>]    Tainted: G    B VLI
EFLAGS: 00010286   (2.6.15-gentoo-r5)
EIP is at page_remove_rmap+0x16/0x24
eax: ffffffff   ebx: c169d9c0   ecx: c169d9c0   edx: c169d9c0
esi: 00000020   edi: f4b461b8   ebp: 0806e000   esp: f6635dc8
ds: 007b   es: 007b   ss: 0068
Process i686-pc-linux-g (pid: 23595, threadinfo=f6635000 task=f6cdea70)
Stack: c0143ea8 c169d9c0 c16968cc fffffff7 ffffffff dfaa1900 080ff000 f732d080
       080ff000 f732d080 c0144029 c180d900 c1ae064c f732d080 0805f000 080ff000
       f6635e4c 00000000 f732d080 00000001 c1b5bcd4 080ff000 c1ae064c c0144149
Call Trace:
 [<c0143ea8>] zap_pte_range+0x163/0x241
 [<c0144029>] unmap_page_range+0xa3/0xed
 [<c0144149>] unmap_vmas+0xd6/0x1ad
 [<c0147c49>] exit_mmap+0x6b/0xdd
 [<c0117407>] mmput+0x21/0x78
 [<c011b458>] do_exit+0x171/0x33e
 [<c011b6db>] sys_exit_group+0x0/0x11
 [<c0122f49>] get_signal_to_deliver+0x2b1/0x2d8
 [<c01025d2>] do_signal+0x4f/0xcc
 [<c01bab66>] ext3_permission+0x12/0x16
 [<c0144a74>] do_wp_page+0x7f/0x292
 [<c0112e08>] do_page_fault+0x495/0x4e7
 [<c0112973>] do_page_fault+0x0/0x4e7
 [<c0102677>] do_notify_resume+0x28/0x41
 [<c010283e>] work_notifysig+0x13/0x25
Code: 42 08 0f 94 c0 84 c0 74 0b 6a 01 6a 10 e8 ec 2d ff ff 58 5a c3
8b 54 24 04 f0 83 42 08 ff 0f 98 c0 84 c0 74 13 8b 42 08 40 79 02 <0f>
0b 6a ff 6a 10 e8 c8 2d ff ff 59 58 c3 55 57 56 53 83 ec 0c
 <1>Fixing recursive fault but reboot is needed!


To what it can be due?

gcc -v:

Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/specs
Configured with: /var/tmp/portage/gcc-3.4.5/work/gcc-3.4.5/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.5
--includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/info
--with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/g++-v3
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec
--enable-nls --without-included-gettext --with-system-zlib
--disable-checking --disable-werror --disable-libunwind-exceptions
--disable-multilib --enable-java-awt=gtk
--enable-languages=c,c++,java,f77 --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9)


Best regards,
MC

-- 
gentoo-user@gentoo.org mailing list

Reply via email to