[LAU] can't compile realtime kernel: error: conflicting types for ‘irqreturn_t’

Dietrich Bollmann dietrichbollmann at web.de
Fri May 15 01:25:51 EDT 2009


Hi Mark and Roberto!

Sorry for answering twice...

I couldn't find my first answer - the reason was, that I send it
privately only to the two of you...  Sorry.  I am posting back to the
list as I hope others can make use of your knowledge also!

On Sun, 2009-05-10 at 07:42 -0700, Mark Knecht wrote:
> Hi Dietrich,
>    Sorry for the problems. 

?!? ... Thanks for your help :)

Sorry for asking stupid questions!

> I'm not clear. Is this your first Linux
> machine doing sound, or have you do this successfully before and are
> just having trouble with this machine? sounds like you certainly have
> some Linux experience. I'm just trying to understand who I'm talking
> to. :-)

I use linux since a long time - which doesn't mean that I know about
more than those parts I already had problems with :)

Who knows, maybe the information can be useful for others also?  So
maybe a language understandable by people without too much experience
would be helpful?

On my old laptop I used planet CCRMA without any glitches or problems.
Then the network card was not supported anymore by linux and I finally
had to buy a new laptop: an IBM/Lenovo X60s.

On the latter one I never made sound work (without glitches)...

  - Planet CCRMA didn't install (at least not when I bought the laptop,
    didn't try since...)

  - Debian (sid) with and without realtime kernel always has
    glitches.  I tried to shut down all services running on my
    computer (there are lots of them), but it didn't change anything.
    Sometimes sound works fine for some minutes, than there are regular
    or irregular glitches every some seconds again...
    I was never able to trace them down to some driver /
    application / ...

  - studio64 doesn't work either.  The pattern of 
    glitches is different though :)

Unfortunately I don't have too much time to play around and only try
from time to time.  I would like to work more in this field though :)
but unfortunately I have to do too many other things to survive...

>    Maybe you can send back the output of these commands, as a start.
> 
> uname -a

$ uname -a

Linux pippi 2.6.29.2-rt11-dietrich-vanilla-realtime #1 SMP PREEMPT RT
Sun May 10 11:28:58 JST 2009 i686 GNU/Linux

...I finally got it compiled thanks to the help of linux audio :)

> cat /proc/cpuinfo

$ cat /proc/cpuinfo

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 14
model name      : Genuine Intel(R) CPU           L2300  @ 1.50GHz
stepping        : 8
cpu MHz         : 1000.000
cache size      : 2048 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_ts
c arch_perfmon bts pni monitor vmx est tm2 xtpr pdcm
bogomips        : 2992.38
clflush size    : 64
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 14
model name      : Genuine Intel(R) CPU           L2300  @ 1.50GHz
stepping        : 8
cpu MHz         : 1000.000
cache size      : 2048 KB
physical id     : 0
siblings        : 1
core id         : 1
cpu cores       : 2
apicid          : 1
initial apicid  : 1
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_ts
c arch_perfmon bts pni monitor vmx est tm2 xtpr pdcm
bogomips        : 2992.39
clflush size    : 64
power management:

> cat /proc/asound/cards

$ cat /proc/asound/cards

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xee240000 irq 17

> lsmod

$ lsmod

Module                  Size  Used by
ppp_async               8004  1 
ppp_generic            21308  5 ppp_async
slhc                    4904  1 ppp_generic
binfmt_misc             7116  1 
i915                  129532  2 
drm                   133436  3 i915
i2c_algo_bit            4832  1 i915
ppdev                   6404  0 
lp                      8564  0 
rfcomm                 30776  0 
l2cap                  17348  5 rfcomm
bluetooth              47008  4 rfcomm,l2cap
autofs4                20852  0 
ipv6                  238336  37 
acpi_cpufreq            7380  0 
cpufreq_stats           3596  0 
cpufreq_powersave       1208  0 
cpufreq_userspace       2600  2 
cpufreq_conservative     5400  0 
reiserfs              180536  0 
option                 19048  1 
usbserial              26964  3 option
fuse                   47628  1 
sg                     20940  0 
sr_mod                 13604  0 
cdrom                  30636  1 sr_mod
firewire_sbp2          12888  0 
loop                   13208  0 
snd_hda_codec_analog    53600  1 
snd_hda_intel          21900  1 
snd_hda_codec          59188  2 snd_hda_codec_analog,snd_hda_intel
snd_hwdep               6376  1 snd_hda_codec
snd_pcm_oss            32848  0 
hid_gaff                3036  0 
snd_mixer_oss          12732  1 snd_pcm_oss
hid_pl                  3148  0 
hid_cypress             2308  0 
hid_zpff                2788  0 
hid_gyration            2164  0 
hid_sony                2792  0 
snd_pcm                63016  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
hid_ntrig               1716  0 
hid_samsung             2080  0 
hid_microsoft           3164  0 
hid_tmff                3592  0 
hid_monterey            2096  0 
hid_ezkey               1804  0 
hid_apple               5832  0 
hid_a4tech              2624  0 
snd_seq_dummy           2380  0 
hid_logitech            6636  0 
snd_seq_oss            25204  0 
ff_memless              4300  5
hid_gaff,hid_pl,hid_zpff,hid_tmff,hid_logitech
snd_seq_midi            5748  0 
arc4                    1504  2 
snd_rawmidi            18768  1 snd_seq_midi
hid_cherry              2072  0 
hid_sunplus             1940  0 
ecb                     2312  2 
snd_seq_midi_event      6268  2 snd_seq_oss,snd_seq_midi
hid_petalynx            2436  0 
snd_seq                42556  6
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
pcmcia                 23812  0 
hid_belkin              2256  0 
snd_timer              17700  2 snd_pcm,snd_seq
snd_seq_device          6060  5
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
iwl3945                71328  0 
hid_chicony             1972  0 
yenta_socket           21228  1 
thinkpad_acpi          51820  0 
snd                    49620  14
snd_hda_codec_analog,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
mac80211              135176  1 iwl3945
i2c_i801                8176  0 
rsrc_nonstatic          9700  1 yenta_socket
psmouse                37216  0 
soundcore               6404  1 snd
usbhid                 29420  5
hid_gaff,hid_pl,hid_zpff,hid_tmff,hid_logitech
rfkill                  9712  3 iwl3945,thinkpad_acpi
nsc_ircc               13944  0 
lib80211                5952  1 iwl3945
hid                    34276  21
hid_gaff,hid_pl,hid_cypress,hid_zpff,hid_gyration,hid_sony,hid_ntrig,hid_samsung,hid_microsoft,hid_tmff,hid_monterey,hid_ezkey,hid_apple,hid_a4tech,hid_logitech,hid_cherry,hid_sunplus,hid_petalynx,hid_belkin,hid_chicony,usbhid
usb_storage            83932  0 
parport_pc             22352  1 
pcmcia_core            31496  3 pcmcia,yenta_socket,rsrc_nonstatic
rng_core                3676  0 
video                  16324  0 
i2c_core               20880  4 i915,drm,i2c_algo_bit,i2c_i801
serio_raw               4592  0 
pcspkr                  2048  0 
irda                   95696  1 nsc_ircc
snd_page_alloc          8104  2 snd_hda_intel,snd_pcm
nvram                   6184  1 thinkpad_acpi
evdev                   8480  24 
parport                31752  3 ppdev,lp,parport_pc
battery                 5988  0 
cfg80211               32212  2 iwl3945,mac80211
output                  2608  1 video
ac                      2984  0 
button                  5776  0 
crc_ccitt               1748  2 ppp_async,irda
ext3                  106504  4 
jbd                    40956  1 ext3
mbcache                 7040  1 ext3
dm_mirror              12140  0 
dm_region_hash         10968  1 dm_mirror
dm_log                  8896  2 dm_mirror,dm_region_hash
dm_snapshot            17624  0 
dm_mod                 50160  3 dm_mirror,dm_log,dm_snapshot
sd_mod                 28464  6 
crc_t10dif              1564  1 sd_mod
ata_generic             4284  0 
ata_piix               21200  5 
sdhci_pci               6408  0 
libata                148164  2 ata_generic,ata_piix
firewire_ohci          18712  0 
sdhci                  14816  1 sdhci_pci
scsi_mod              132616  6
sg,sr_mod,firewire_sbp2,usb_storage,sd_mod,libata
firewire_core          33812  2 firewire_sbp2,firewire_ohci
mmc_core               43312  1 sdhci
ide_pci_generic         3368  0 
uhci_hcd               19104  0 
crc_itu_t               1744  1 firewire_core
led_class               3648  3 iwl3945,thinkpad_acpi,sdhci
ide_core               90256  1 ide_pci_generic
ehci_hcd               28880  0 
e1000e                 97688  0 
usbcore               126556  8
option,usbserial,hid_sony,usbhid,usb_storage,uhci_hcd,ehci_hcd
intel_agp              22520  1 
agpgart                31120  3 drm,intel_agp
thermal                15140  0 
processor              39472  4 acpi_cpufreq,thermal
fan                     4064  0 
thermal_sys            10348  4 video,thermal,processor,fan

> lspci

$ lspci

00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML
and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS,
943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME,
943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High
Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
Port 4 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI
Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface
Bridge (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA
IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller
(rev 02)
02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet
Controller
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG
[Golan] Network Connection (rev 02)
15:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b4)
15:00.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller
(rev 09)
15:00.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro
Host Adapter (rev 18)

>    That should give me a pretty good idea about the machine and we can
> go from there. I think you'll get more help overall going to the list
> instead of to me and Roberto specifically, but I'm happy to help
> either way.

Thank you very much :)

> Good luck,

That's what I need :)

Dietrich

---
Uppsa, that's why I couldn't find my answer ... I posted it to you
privately?  Sorry.  I repost it to the list as I hope others can profit
also...

> Mark
> 
> On Sun, May 10, 2009 at 4:31 AM, Dietrich Bollmann
> <dietrichbollmann at web.de> wrote:
> > Hi Roberto and Mark,
> >
> > Thanks for your replies.  I seem to not need the driver and finally
> > could compile the kernel.  Also I probably understood the procedure:
> > disabling all drivers which cause problems if not needed; and if I need
> > them write to the linux-rt-users mailing list at vger.kernel.org :)
> >
> > Still - as usual - there are plenty of glitches when generating the test
> > tone (or whatever other sound) with pd...
> >
> > For some reason I never got my laptop (IBM/Lenovo x60s) to produce some
> > usable sound :(  I once installed 64studio - but it was just the same...
> >
> > Do you know about some took which would allow to track down where the
> > problem is?
> >
> > Thanks, Dietrich
> >
> >
> > On Thu, 2009-05-07 at 16:11 +0200, Roberto Gordo Saez wrote:
> >> On Thu, May 07, 2009 at 07:51:58PM +0900, Dietrich Bollmann wrote:
> >> > ERROR:
> >> > "there_is_no_init_MUTEX_LOCKED_for_RT_semaphores" [drivers/staging/rt2870/rt2870sta.ko] undefined!
> >> > WARNING: modpost: Found 1 section mismatch(es).
> >>
> >> Well it looks that this time the driver for wireless Ralink 2870
> >> devices is having problems with the -rt patch. Disabling it may help
> >> (unless you need it), or try the linux-rt-users mailing list at
> >> vger.kernel.org.
> >
> >
> >> On Thu, 2009-05-07 at 07:23 -0700, Mark Knecht wrote:
> >> If this driver is important to you then it seems to be the sort of
> >> thing that gets fixed pretty quickly when reported directly to the
> >> rt-kernel mailing list.
> >>
> >> good luck,
> >> Mark
> >
> >




More information about the Linux-audio-user mailing list