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

Replies

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