Gentoo Archives: gentoo-amd64

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Trying gentoo-sources - getting segfaults
Date: Sat, 31 Jan 2009 02:55:51
Message-Id: 5bdc1c8b0901301855g1958a218gb6c21a507e73ce89@mail.gmail.com
In Reply to: Re: [gentoo-amd64] Trying gentoo-sources - getting segfaults by Mark Knecht
1 Found radeon and building it now.
2
3 Back later
4
5 - Mark
6
7 On Fri, Jan 30, 2009 at 6:51 PM, Mark Knecht <markknecht@×××××.com> wrote:
8 > On Fri, Jan 30, 2009 at 6:39 PM, Drake Donahue <donahue95@×××××××.net> wrote:
9 >> On Fri, 2009-01-30 at 17:56 -0800, Mark Knecht wrote:
10 >>> Hi,
11 >>> I've been running rt-sources for quite a long time but with a small
12 >>> desire to try out vmware or one of the alternatives and some problems
13 >>> with emerging them I thought I'd take a look at gentoo-sources as a
14 >>> baseline. It's up and running - I'm writing this from it - but X just
15 >>> crashed and I'm seeing a couple of issues in dmesg:
16 >>>
17 >>> [ 76.601881] gnome-keyring-d[4606]: segfault at 73676e ip
18 >>> 000000000073676e sp 00007fffcc1e6728 error 14
19 >>> [ 149.819713] X[3804]: segfault at 1 ip 00007f21248f397c sp
20 >>> 00007fff388c1080 error 4 in libgcc_s.so.1[7f21248ec000+d000]
21 >>> mark@lightning ~ $
22 >>>
23 >>> mark@lightning ~ $ uname -a
24 >>> Linux lightning 2.6.27-gentoo-r8 #4 SMP Fri Jan 30 17:42:08 PST 2009
25 >>> x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux
26 >>> mark@lightning ~ $
27 >>>
28 >>> I think Duncan mentioned something earlier this week about problems
29 >>> with emerges of gcc and some tool chain problems. Is it possible that
30 >>> something like that could be the cause of this? I don't think that in
31 >>> general a kernel change should cause X to segfault but do I need to
32 >>> emerge X again? If so then I'd like to get an gcc issues cleaned up
33 >>> before doing that if possible.
34 >>>
35 >>> Note that under rt-sources-2.6.24-rt1 I saw a radeon driver loaded.
36 >>> Under gentoo-sources-2.6.26.8-r12 I do not:
37 >>>
38 >>> mark@lightning ~ $ lsmod
39 >>> Module Size Used by
40 >>> snd_seq_midi 7424 0
41 >>> snd_pcm_oss 38592 0
42 >>> snd_mixer_oss 14912 1 snd_pcm_oss
43 >>> snd_seq_dummy 3396 0
44 >>> snd_seq_oss 29888 0
45 >>> snd_seq_midi_event 7040 2 snd_seq_midi,snd_seq_oss
46 >>> snd_seq 50144 6
47 >>> snd_seq_midi,snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
48 >>> uhci_hcd 31648 0
49 >>> firewire_sbp2 15832 0
50 >>> snd_hdsp 47812 1
51 >>> snd_rawmidi 20992 2 snd_seq_midi,snd_hdsp
52 >>> snd_seq_device 6996 5
53 >>> snd_seq_midi,snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
54 >>> snd_pcm 72136 2 snd_pcm_oss,snd_hdsp
55 >>> snd_timer 20560 2 snd_seq,snd_pcm
56 >>> snd_page_alloc 8336 2 snd_hdsp,snd_pcm
57 >>> snd_hwdep 8072 1 snd_hdsp
58 >>> firewire_ohci 21828 0
59 >>> snd 56392 12
60 >>> snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_hdsp,snd_rawmidi,snd_seq_device,snd_pcm,snd_timer,snd_hwdep
61 >>> soundcore 7008 1 snd
62 >>> ehci_hcd 47384 0
63 >>> firewire_core 37152 2 firewire_sbp2,firewire_ohci
64 >>> crc_itu_t 2304 1 firewire_core
65 >>> i2c_nforce2 6976 0
66 >>> i2c_core 21408 1 i2c_nforce2
67 >>> ohci_hcd 37220 0
68 >>> mark@lightning ~ $
69 >>>
70 >>> Thanks in advance for any ideas.
71 >>>
72 >>> Cheers,
73 >>> Mark
74 >>>
75 >> Sometimes more enlightening than lsmod is lspci -nnk which links
76 >> hardware to built in drivers as well as to module drivers
77 >>
78 >>
79 >>
80 > Hi Drake,
81 > I've rebuilt the kernel a couple of times since I sent the note
82 > earlier but just saw the same failure again. Both times it occurred
83 > when exiting mythfrontend.
84 >
85 > As you requested:
86 >
87 > lightning ~ # lspci -nnk
88 > 00:00.0 Memory controller [0580]: nVidia Corporation CK804 Memory
89 > Controller [10de:005e] (rev a3)
90 > 00:01.0 ISA bridge [0601]: nVidia Corporation CK804 ISA Bridge
91 > [10de:0050] (rev a3)
92 > 00:01.1 SMBus [0c05]: nVidia Corporation CK804 SMBus [10de:0052] (rev a2)
93 > Kernel driver in use: nForce2_smbus
94 > Kernel modules: i2c-nforce2
95 > 00:02.0 USB Controller [0c03]: nVidia Corporation CK804 USB Controller
96 > [10de:005a] (rev a2)
97 > Kernel driver in use: ohci_hcd
98 > Kernel modules: ohci-hcd
99 > 00:02.1 USB Controller [0c03]: nVidia Corporation CK804 USB Controller
100 > [10de:005b] (rev a3)
101 > Kernel driver in use: ehci_hcd
102 > Kernel modules: ehci-hcd
103 > 00:04.0 Multimedia audio controller [0401]: nVidia Corporation CK804
104 > AC'97 Audio Controller [10de:0059] (rev a2)
105 > Kernel driver in use: Intel ICH
106 > Kernel modules: snd-intel8x0
107 > 00:06.0 IDE interface [0101]: nVidia Corporation CK804 IDE [10de:0053] (rev f2)
108 > Kernel driver in use: pata_amd
109 > 00:07.0 IDE interface [0101]: nVidia Corporation CK804 Serial ATA
110 > Controller [10de:0054] (rev f3)
111 > Kernel driver in use: sata_nv
112 > 00:08.0 IDE interface [0101]: nVidia Corporation CK804 Serial ATA
113 > Controller [10de:0055] (rev f3)
114 > Kernel driver in use: sata_nv
115 > 00:09.0 PCI bridge [0604]: nVidia Corporation CK804 PCI Bridge
116 > [10de:005c] (rev a2)
117 > 00:0a.0 Bridge [0680]: nVidia Corporation CK804 Ethernet Controller
118 > [10de:0057] (rev a3)
119 > Kernel driver in use: forcedeth
120 > 00:0b.0 PCI bridge [0604]: nVidia Corporation CK804 PCIE Bridge
121 > [10de:005d] (rev a3)
122 > Kernel driver in use: pcieport-driver
123 > 00:0c.0 PCI bridge [0604]: nVidia Corporation CK804 PCIE Bridge
124 > [10de:005d] (rev a3)
125 > Kernel driver in use: pcieport-driver
126 > 00:0d.0 PCI bridge [0604]: nVidia Corporation CK804 PCIE Bridge
127 > [10de:005d] (rev a3)
128 > Kernel driver in use: pcieport-driver
129 > 00:0e.0 PCI bridge [0604]: nVidia Corporation CK804 PCIE Bridge
130 > [10de:005d] (rev a3)
131 > Kernel driver in use: pcieport-driver
132 > 00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] K8
133 > [Athlon64/Opteron] HyperTransport Technology Configuration [1022:1100]
134 > 00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] K8
135 > [Athlon64/Opteron] Address Map [1022:1101]
136 > 00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] K8
137 > [Athlon64/Opteron] DRAM Controller [1022:1102]
138 > 00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] K8
139 > [Athlon64/Opteron] Miscellaneous Control [1022:1103]
140 > 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc RV370
141 > 5B60 [Radeon X300 (PCIE)] [1002:5b60]
142 > 01:00.1 Display controller [0380]: ATI Technologies Inc RV370 [Radeon
143 > X300SE] [1002:5b70]
144 > 05:06.0 Multimedia audio controller [0401]: Xilinx Corporation RME
145 > Hammerfall DSP [10ee:3fc5] (rev 68)
146 > Kernel driver in use: RME Hammerfall DSP
147 > Kernel modules: snd-hdsp
148 > 05:08.0 FireWire (IEEE 1394) [0c00]: Texas Instruments TSB82AA2
149 > IEEE-1394b Link Layer Controller [104c:8025] (rev 01)
150 > Kernel driver in use: ohci1394
151 > Kernel modules: firewire-ohci, ohci1394
152 > lightning ~ #
153 >
154 > Here are the modules I have been loading when using rt-sources-2.6.24-rt1
155 >
156 > lightning ~ # cat /etc/modules.autoload.d/kernel-2.6
157 > # /etc/modules.autoload.d/kernel-2.6: kernel modules to load when system boots.
158 > #
159 > # Note that this file is for 2.6 kernels.
160 > #
161 > # Add the names of modules that you'd like to load when the system
162 > # starts into this file, one per line. Comments begin with # and
163 > # are ignored. Read man modules.autoload for additional details.
164 >
165 > # For example:
166 > # 3c59x
167 > #fglrx
168 > radeon
169 > snd-intel8x0
170 > snd-hdsp
171 > #ieee1394
172 > #ohci1394
173 > firewire_core
174 > firewire_ohci
175 > firewire_sbp2
176 > #sbp2 serialize_io=0
177 > #realtime gid=600 any=1
178 > uhci-hcd
179 > ehci-hcd
180 > ohci-hcd
181 > lightning ~ #
182 >
183 > And here are the modules currently loaded after the config changes I made:
184 >
185 > lightning ~ # lsmod
186 > Module Size Used by
187 > snd_seq_midi 7232 0
188 > uhci_hcd 30368 0
189 > firewire_sbp2 15192 0
190 > firewire_ohci 21060 0
191 > firewire_core 35768 2 firewire_sbp2,firewire_ohci
192 > crc_itu_t 2112 1 firewire_core
193 > ohci1394 28148 0
194 > ieee1394 78944 1 ohci1394
195 > ehci_hcd 45656 0
196 > snd_hdsp 46596 0
197 > snd_intel8x0 31848 1
198 > snd_ac97_codec 110680 1 snd_intel8x0
199 > ohci_hcd 36324 0
200 > i2c_nforce2 6784 0
201 > ac97_bus 1984 1 snd_ac97_codec
202 > i2c_core 21144 1 i2c_nforce2
203 > snd_rawmidi 20096 2 snd_seq_midi,snd_hdsp
204 > snd_hwdep 7880 1 snd_hdsp
205 > lightning ~ #
206 >
207 > I do not see the radeon driver which is loaded under 2.6.24-rt1 so I'm
208 > wondering where it ran off to. I also have two 1394 stacks loading.
209 > I'll fix that next.
210 >
211 > Sound isn't working under this kernel yet. Much to debug...
212 > lightning ~ # slocate radeon | grep ko
213 > /usr/src/linux-2.6.26.8-rt12/drivers/char/drm/radeon.ko
214 > /usr/src/linux-2.6.26.8-rt12/drivers/char/drm/.radeon.ko.cmd
215 > /usr/src/linux-2.6.23-rt1/drivers/char/drm/radeon.ko
216 > /usr/src/linux-2.6.23-rt1/drivers/char/drm/.radeon.ko.cmd
217 > /usr/src/linux-2.6.24-rt1/drivers/char/drm/radeon.ko
218 > /usr/src/linux-2.6.24-rt1/drivers/char/drm/.radeon.ko.cmd
219 > /lib64/modules/2.6.26.6-rt11/kernel/drivers/char/drm/radeon.ko
220 > /lib64/modules/2.6.26.8-rt12/kernel/drivers/char/drm/radeon.ko
221 > /lib64/modules/2.6.23-rt1/kernel/drivers/char/drm/radeon.ko
222 > /lib64/modules/2.6.24-rt1/kernel/drivers/char/drm/radeon.ko
223 > lightning ~ #
224 >
225 > Thanks for looking at this.
226 >
227 > Cheers,
228 > Mark
229 >

Replies

Subject Author
Re: [gentoo-amd64] Trying gentoo-sources - getting segfaults Mark Knecht <markknecht@×××××.com>