Gentoo Archives: gentoo-user

From: Marco Calviani <marco.calviani@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] emerge -e system problem.... kernel error
Date: Sat, 11 Mar 2006 19:27:55
Message-Id: da5cd1900603111122q41a520e8m@mail.gmail.com
1 Hi list,
2 i'm having big trouble in running emerge -e system after a gcc
3 upgrade (from gcc-3.4.4 to gcc-3.4.5. This is coming from dmesg:
4
5 ------------[ cut here ]------------
6 kernel BUG at f (i < 5)
7 printk(":");
8 }
9 printk(".\n");
10 }
11
12 static void __ioc3_set_mac_address(struct net_device *dev)
13 {
14 struct ioc3_private *ip = netdev_priv(dev);
15 struct ioc3 *ioc3 = ip->regs;
16
17 ioc3_w_emar_h((dev->dev_addr[5] << 8) | dev->dev_addr[4]);
18 ioc3_w_emar_l((dev->dev_addr[3] << 24) | (dev->dev_addr[2] << 16) |
19 (dev->dev_addr[1] << 8) | dev->dev_addr[0]);
20 }
21
22 static int ioc3_set_mac_address(struct net_device *dev, void *addr)
23 {
24 struct ioc3_private *ip = netdev_priv(dev);
25 struct sockaddr *sa = addr;
26
27 memcpy(dev->dev_addr, sa->sa_data, dev->addr_len);
28
29 spin_lock_irq(&ip->ioc3_lock);
30 __ioc3_set_mac_address(dev);
31 spin_unlock_irq(&ip->ioc3_lock);
32
33 return 0;
34 }
35
36 /*
37 * Caller must hold the ioc3_lock ever for MII readers. This is also
38 * used to protect the transmitter side but it's low contention.
39 */
40 static int ioc3_mdio_read(struct net_device *dev, int phy, int reg)
41 {
42 struct ioc3_private *ip = netdev_priv(dev);
43 struct ioc3 *ioc3 = ip->regs;
44
45 while (ioc3_r_micr() & MICR<0>Bad page state at prep_new_page
46 (in process 'cc1', page c169d9c0)
47 flags:0x80000014 mapping:00000000 mapcount:-1 count:0
48 Backtrace:
49 [<c013b132>] bad_page+0x5c/0x92
50 [<c013b4ec>] prep_new_page+0x36/0x63
51 [<c013b9f5>] buffered_rmqueue+0x142/0x1c4
52 [<c013bb93>] get_page_from_freelist+0x85/0x9d
53 [<c013bbf3>] __alloc_pages+0x48/0x25a
54 [<c01452f9>] do_anonymous_page+0x3a/0x14d
55 [<c014574b>] __handle_mm_fault+0xba/0x199
56 [<c0112aea>] do_page_fault+0x177/0x4e7
57 [<c0112973>] do_page_fault+0x0/0x4e7
58 [<c01039bf>] error_code+0x4f/0x60
59 Trying to fix it up, but a reboot is needed
60 invalid operand: 0000 [#1]
61 SMP
62 Modules linked in: parport_pc parport floppy pcspkr 3c59x mii e1000
63 snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm snd_timer snd
64 snd_page_alloc i2c_i801 i2c_core intel_agp agpgart rtc eth1394
65 dm_mirror dm_mod sata_mv ata_piix ahci sata_qstor sata_vsc sata_uli
66 sata_sis sata_sx4 sata_nv sata_via sata_svw sata_sil sata_promise
67 libata sbp2 ohci1394 ieee1394 sl811_hcd ohci_hcd uhci_hcd usb_storage
68 usbhid ehci_hcd usbcore
69 CPU: 1
70 EIP: 0060:[<c01492fc>] Tainted: G B VLI
71 EFLAGS: 00010286 (2.6.15-gentoo-r5)
72 EIP is at page_remove_rmap+0x16/0x24
73 eax: ffffffff ebx: c169d9c0 ecx: c169d9c0 edx: c169d9c0
74 esi: 00000020 edi: f4b461b8 ebp: 0806e000 esp: f6635dc8
75 ds: 007b es: 007b ss: 0068
76 Process i686-pc-linux-g (pid: 23595, threadinfo=f6635000 task=f6cdea70)
77 Stack: c0143ea8 c169d9c0 c16968cc fffffff7 ffffffff dfaa1900 080ff000 f732d080
78 080ff000 f732d080 c0144029 c180d900 c1ae064c f732d080 0805f000 080ff000
79 f6635e4c 00000000 f732d080 00000001 c1b5bcd4 080ff000 c1ae064c c0144149
80 Call Trace:
81 [<c0143ea8>] zap_pte_range+0x163/0x241
82 [<c0144029>] unmap_page_range+0xa3/0xed
83 [<c0144149>] unmap_vmas+0xd6/0x1ad
84 [<c0147c49>] exit_mmap+0x6b/0xdd
85 [<c0117407>] mmput+0x21/0x78
86 [<c011b458>] do_exit+0x171/0x33e
87 [<c011b6db>] sys_exit_group+0x0/0x11
88 [<c0122f49>] get_signal_to_deliver+0x2b1/0x2d8
89 [<c01025d2>] do_signal+0x4f/0xcc
90 [<c01bab66>] ext3_permission+0x12/0x16
91 [<c0144a74>] do_wp_page+0x7f/0x292
92 [<c0112e08>] do_page_fault+0x495/0x4e7
93 [<c0112973>] do_page_fault+0x0/0x4e7
94 [<c0102677>] do_notify_resume+0x28/0x41
95 [<c010283e>] work_notifysig+0x13/0x25
96 Code: 42 08 0f 94 c0 84 c0 74 0b 6a 01 6a 10 e8 ec 2d ff ff 58 5a c3
97 8b 54 24 04 f0 83 42 08 ff 0f 98 c0 84 c0 74 13 8b 42 08 40 79 02 <0f>
98 0b 6a ff 6a 10 e8 c8 2d ff ff 59 58 c3 55 57 56 53 83 ec 0c
99 <1>Fixing recursive fault but reboot is needed!
100
101
102 To what it can be due?
103
104 gcc -v:
105
106 Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/specs
107 Configured with: /var/tmp/portage/gcc-3.4.5/work/gcc-3.4.5/configure
108 --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.5
109 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include
110 --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5
111 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/man
112 --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/info
113 --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/g++-v3
114 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec
115 --enable-nls --without-included-gettext --with-system-zlib
116 --disable-checking --disable-werror --disable-libunwind-exceptions
117 --disable-multilib --enable-java-awt=gtk
118 --enable-languages=c,c++,java,f77 --enable-shared
119 --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
120 Thread model: posix
121 gcc version 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9)
122
123
124 Best regards,
125 MC
126
127 --
128 gentoo-user@g.o mailing list