Discussion:
Bug#656683: kmod: Switching to kmod makes only one ATI driver between audio and video work
(too old to reply)
Matteo Settenvini
2012-01-20 22:00:02 UTC
Permalink
Package: kmod
Version: 3-1
Severity: important

Dear Maintainer,

I recently updated my experimental installation from
module-init-tools 3.16-1 to 4.0.3-1, which installed kmod as a
replacement.

Now, whenever I boot up, I can randomly get one of the following two
behaviours:

a) The fully booted system cannot set the framebuffer resolution,
nor I can run GNOME Shell any more since it says I miss the required
accelerated video drivers.

b) The fully booted system cannot play or record any audio. In the
sound preferences inside GNOME, I cannot see the audio card any
more, only a "dummy" device.

Maybe there is a race condition in loading the ATI modules? In fact,
my video card provides both video and audio (from lspci):

06:00.0 VGA compatible controller: ATI Technologies Inc Juniper [Radeon HD 5700 Series]
06:00.1 Audio device: ATI Technologies Inc Juniper HDMI Audio [Radeon HD 5700 Series]

Downgrading to module-init-tools 3.16-1 fixes this issue, so I am
convinced this is a kmod-related issue.

Here is the full output of lsmod when running the old module-init-tools:


Module Size Used by
fuse 61981 3
powernow_k8 17574 0
mperf 12453 1 powernow_k8
cpufreq_powersave 12454 0
cpufreq_conservative 13147 0
cpufreq_stats 12866 0
cpufreq_userspace 12576 0
binfmt_misc 12957 1
ppdev 12763 0
lp 17149 0
snd_hda_codec_hdmi 30783 1
snd_hda_codec_realtek 188560 1
snd_usb_audio 84836 1
arc4 12458 2
snd_usbmidi_lib 23420 1 snd_usb_audio
snd_hda_intel 26345 2
snd_hda_codec 77955 3 snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec_hdmi
uvcvideo 57744 0
snd_hwdep 13186 2 snd_hda_codec,snd_usb_audio
videodev 70889 1 uvcvideo
v4l2_compat_ioctl32 16655 1 videodev
media 18148 2 videodev,uvcvideo
joydev 17266 0
snd_pcm_oss 41081 0
snd_mixer_oss 17916 1 snd_pcm_oss
snd_pcm 63900 5 snd_pcm_oss,snd_hda_codec,snd_hda_intel,snd_usb_audio,snd_hda_codec_hdmi
radeon 643186 4
ttm 48725 1 radeon
drm_kms_helper 27227 1 radeon
drm 167629 6 drm_kms_helper,ttm,radeon
edac_mce_amd 17103 0
edac_core 35258 0
snd_page_alloc 13003 2 snd_pcm,snd_hda_intel
ath5k 129406 0
wmi 13243 0
ath 21370 1 ath5k
sp5100_tco 12900 0
power_supply 13475 1 radeon
evdev 17562 7
snd_seq_midi 12848 0
snd_seq_midi_event 13316 1 snd_seq_midi
i2c_piix4 12536 0
snd_rawmidi 23060 2 snd_seq_midi,snd_usbmidi_lib
snd_seq 45093 2 snd_seq_midi_event,snd_seq_midi
mac80211 192778 1 ath5k
snd_seq_device 13176 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 22917 2 snd_seq,snd_pcm
cfg80211 137140 3 mac80211,ath,ath5k
processor 28059 1 powernow_k8
thermal_sys 18040 1 processor
button 12937 0
k10temp 12611 0
pcspkr 12579 0
snd 52850 20 snd_timer,snd_seq_device,snd_seq,snd_rawmidi,snd_usbmidi_lib,snd_pcm,snd_mixer_oss,snd_pcm_oss,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_usb_audio,snd_hda_codec_realtek,snd_hda_codec_hdmi
psmouse 64455 0
parport_pc 22364 1
i2c_algo_bit 12841 1 radeon
rfkill 19012 2 cfg80211
i2c_core 23876 6 i2c_algo_bit,i2c_piix4,drm,drm_kms_helper,radeon,videodev
soundcore 13065 1 snd
serio_raw 12931 0
parport 31858 3 parport_pc,lp,ppdev
deflate 12551 0
zlib_deflate 25638 1 deflate
ctr 12979 0
twofish_generic 16569 0
twofish_x86_64_3way 25167 0
twofish_x86_64 12501 1 twofish_x86_64_3way
twofish_common 20544 3 twofish_x86_64,twofish_x86_64_3way,twofish_generic
camellia 29068 0
serpent 29015 0
blowfish_generic 12464 0
blowfish_x86_64 21201 0
blowfish_common 16447 2 blowfish_x86_64,blowfish_generic
cast5 24829 0
des_generic 20851 0
cbc 12754 0
cryptd 14517 0
aes_x86_64 16796 1
aes_generic 33026 1 aes_x86_64
xcbc 12709 0
rmd160 16640 0
sha512_generic 12625 0
sha256_generic 16797 0
sha1_generic 12539 0
hmac 12835 0
crypto_null 12732 0
af_key 31759 0
loop 22641 0
firewire_sbp2 17993 0
autofs4 27582 3
ext4 350370 3
crc16 12343 1 ext4
jbd2 62015 1 ext4
mbcache 13065 1 ext4
usb_storage 43919 0
uas 13296 0
usbhid 36379 0
hid 81288 1 usbhid
sr_mod 21899 0
cdrom 35401 1 sr_mod
sd_mod 36136 6
crc_t10dif 12348 1 sd_mod
firewire_ohci 35772 0
firewire_core 48407 2 firewire_ohci,firewire_sbp2
ata_generic 12479 0
crc_itu_t 12347 1 firewire_core
xhci_hcd 73208 0
ohci_hcd 22467 0
pata_atiixp 12736 0
ahci 24997 4
libahci 22860 1 ahci
pata_jmicron 12472 0
ehci_hcd 40215 0
libata 140589 5 pata_jmicron,libahci,ahci,pata_atiixp,ata_generic
scsi_mod 162417 6 libata,sd_mod,sr_mod,uas,usb_storage,firewire_sbp2
usbcore 128498 10 ehci_hcd,ohci_hcd,xhci_hcd,usbhid,uas,usb_storage,snd_usbmidi_lib,uvcvideo,snd_usb_audio
r8169 46980 0
mii 12675 1 r8169
usb_common 12354 1 usbcore


Let me know if you need further output.

Many thanks!
Matteo

-- System Information:
Debian Release: wheezy/sid
APT prefers experimental
APT policy: (800, 'experimental'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages kmod depends on:
ii libc6 2.13-24
ii libkmod1 3-1
ii lsb-base 3.2-28

kmod recommends no packages.

kmod suggests no packages.

-- no debconf information
--
To UNSUBSCRIBE, email to debian-bugs-dist-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Marco d'Itri
2012-01-20 22:10:02 UTC
Permalink
Post by Matteo Settenvini
Downgrading to module-init-tools 3.16-1 fixes this issue, so I am
convinced this is a kmod-related issue.
Please try the new, untested, package from http://www.bofh.it/~md/debian/
--
ciao,
Marco
Matteo Settenvini
2012-01-21 23:50:02 UTC
Permalink
Post by Marco d'Itri
Post by Matteo Settenvini
Downgrading to module-init-tools 3.16-1 fixes this issue, so I am
convinced this is a kmod-related issue.
Please try the new, untested, package from http://www.bofh.it/~md/debian/
Thanks Marco,

I just tried the new package (which I re-compiled for amd64 from that
link).

Unfortunately, rebooting results in a lot of disk thrashing, because of
four "modprobe" processes that start eating all available memory.

After consuming about ~2 GB memory each, the kernel first tries killing
some other processes to free memory, then panics with an "out of memory
error".

So it looks the new package actually makes things worse :-|.

Cheers,
--
Matteo Settenvini
FSF Associated Member
Email : ***@member.fsf.org


-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/E d--(-) s+: a- C+++ UL+++
P+ L++++>$ E++>+++ W+++ N+ o?
w--- O M- V- PS++ PE- Y+>++
PGP+++ t++ 5 X- R+ !tv b+++
DI++ D++ G++ e++ h+ r++ y+
------END GEEK CODE BLOCK------
--
To UNSUBSCRIBE, email to debian-bugs-dist-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Marco d'Itri
2012-01-29 04:40:01 UTC
Permalink
Post by Matteo Settenvini
Unfortunately, rebooting results in a lot of disk thrashing, because of
four "modprobe" processes that start eating all available memory.
Please try again: http://www.bofh.it/~md/debian/ .
--
ciao,
Marco
Marco d'Itri
2012-02-21 22:30:04 UTC
Permalink
Please test release 5-2.
--
ciao,
Marco
Matteo Settenvini
2012-02-22 13:00:01 UTC
Permalink
Post by Marco d'Itri
Please test release 5-2.
5-2 works for me, also with the lines in /etc/modprobe.d/alsa-base.conf
uncommented.

Thanks,
--
Matteo Settenvini
FSF Associated Member
Email : ***@member.fsf.org


-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/E d--(-) s+: a- C+++ UL+++
P+ L++++>$ E++>+++ W+++ N+ o?
w--- O M- V- PS++ PE- Y+>++
PGP+++ t++ 5 X- R+ !tv b+++
DI++ D++ G++ e++ h+ r++ y+
------END GEEK CODE BLOCK------
Loading...