Device 'i82365.0' does not have a release() function

Bug #74271 reported by Lars Pohlmann
16
Affects Status Importance Assigned to Milestone
linux-source-2.6.17 (Ubuntu)
Fix Released
High
Unassigned

Bug Description

(using ubuntu-feisty).

on one (sony vaio pcg-fx-501) of my two laptops (same feisty on both) hald uses more than 40% of cpu all the time.
preventing the fan to stop and making the system slow. the other laptop doesn't have these symptoms.

in the laptop there are two pcmcia-cards (wlan and pcmcia-to-usb2 [with one external harddrive attached to it]).

edit: this problem remains, when i boot the laptop without the pcmcia-cards attached.

I don't know how to debug problems like these, so please tell me the information you need (and how to get them, maybe).

Top (it looks like this all the time, even shortly after reboot, having done nothing before...):

top - 18:29:47 up 1:14, 2 users, load average: 2.22, 2.34, 2.38
Tasks: 108 total, 4 running, 104 sleeping, 0 stopped, 0 zombie
Cpu(s): 71.3%us, 25.4%sy, 0.2%ni, 2.1%id, 0.6%wa, 0.2%hi, 0.2%si, 0.0%st
Mem: 515880k total, 332264k used, 183616k free, 17784k buffers
Swap: 1212408k total, 0k used, 1212408k free, 200892k cached

  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
 4502 haldaemo 15 0 10640 9072 1724 R 41.5 1.8 32:20.73 hald
 2414 root 21 -4 2780 1176 396 S 5.7 0.2 3:15.74 udevd
 4435 root 15 0 1712 652 544 S 1.9 0.1 0:26.34 syslogd
 7281 lars 15 0 18768 5312 4140 S 1.9 1.0 1:01.74 gnome-volume-ma
 7364 lars 15 0 8416 3456 2864 S 1.9 0.7 0:53.82 gnome-vfs-daemo
 8083 lars 15 0 19628 8676 7376 S 1.9 1.7 0:38.19 battstat-applet
    1 root 15 0 1692 540 456 S 0.0 0.1 0:01.83 init
    2 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0

p.s.: it's not a duplicate of this bug:
https://launchpad.net/distros/ubuntu/+source/gnome-vfs2/+bug/54684

i installed the provided packages and nothing changed.

description: updated
description: updated
Revision history for this message
Lars Pohlmann (lars-pohlmann) wrote :

i found the problem:
it's the sonypi-module. this is not working properly with vaio-laptops of the fs-series.
deleted the module from the modules-directory, so it doesn't get loaded at boot-time.
problem went away.

though this shouldn't be the solution for the average user... ;)

Revision history for this message
Adam Klobukowski (adamklobukowski) wrote :
Download full text (6.5 KiB)

I've got similar problem, under Feisty, but on desktop PC: hal uses all possible CPU.

lsmod:
binfmt_misc 11272 1
rfcomm 37788 0
l2cap 22404 5 rfcomm
bluetooth 50788 4 rfcomm,l2cap
speedstep_lib 4868 0
cpufreq_userspace 4116 0
cpufreq_stats 5508 0
cpufreq_powersave 1920 0
cpufreq_ondemand 7676 0
freq_table 4740 2 cpufreq_stats,cpufreq_ondemand
cpufreq_conservative 6688 0
video 15364 0
sbs 14752 0
i2c_ec 4992 1 sbs
button 6672 0
battery 9988 0
container 4480 0
ac 5124 0
asus_acpi 15896 0
ext2 64136 1
nls_iso8859_1 4224 2
nls_cp437 5888 2
vfat 12928 2
fat 52508 1 vfat
dm_mod 56908 7
fuse 44564 0
w83627hf 25232 0
w83781d 31912 0
hwmon_vid 3200 2 w83627hf,w83781d
eeprom 7440 0
i2c_isa 5376 2 w83627hf,w83781d
lp 11460 0
ide_generic 1408 0 [permanent]
ide_cd 31520 0
rsrc_nonstatic 13184 0
pcmcia_core 39568 1 rsrc_nonstatic
sg 34460 0
sr_mod 16036 0
tsdev 7872 0
cdrom 36640 2 ide_cd,sr_mod
sd_mod 21136 2
snd_via82xx 27672 2
snd_ac97_codec 93856 1 snd_via82xx
ac97_bus 2304 1 snd_ac97_codec
snd_mpu401_uart 8064 1 snd_via82xx
snd_pcm_oss 42880 0
snd_pcm 75400 3 snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_page_alloc 10120 2 snd_via82xx,snd_pcm
snd_mixer_oss 16512 2 snd_pcm_oss
tuner 60968 0
snd_seq_dummy 3844 0
snd_seq_oss 31232 0
parport_pc 34852 1
parport 35144 2 lp,parport_pc
analog 11552 0
floppy 56804 0
cx8800 33932 1
snd_seq_midi 8704 0
snd_rawmidi 23680 2 snd_mpu401_uart,snd_seq_midi
snd_seq_midi_event 7296 2 snd_seq_oss,snd_seq_midi
snd_seq 47728 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
gameport 14856 2 snd_via82xx,analog
serio_raw 6916 0
cx88xx 66340 1 cx8800
snd_timer 21508 2 snd_pcm,snd_seq
snd_seq_device 8204 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
ir_common 30340 1 cx88xx
nvidia 4710708 22
psmouse 37512 0
i2c_viapro 8980 0
i2c_algo_bit 7944 1 cx88xx
rtc 12080 0
pcspkr 2816 0
pata_via 11652 3
video_buf 24964 2 cx8800,cx88xx
tveeprom 14992 1 cx88xx
i2c_core 21520 11 i2c_ec,w83627hf,w83781d,eeprom,i2c_isa,tuner,cx88xx,nvidia,i2c_viapro,i2c_algo_bit,t...

Read more...

Revision history for this message
Olaf Lüke (borg) wrote :
Download full text (7.0 KiB)

i can confirm the bug, same problem here on my desktop pc:

olaf@pc:~$ lsmod
Module Size Used by
binfmt_misc 11272 1
rfcomm 37788 0
hidp 16000 2
l2cap 22404 10 rfcomm,hidp
bluetooth 50788 5 rfcomm,hidp,l2cap
nfsd 214256 17
exportfs 5632 1 nfsd
nbd 20256 0
capifs 5896 1
speedstep_lib 4868 0
cpufreq_userspace 4116 0
cpufreq_stats 5508 0
cpufreq_powersave 1920 0
cpufreq_ondemand 7676 0
freq_table 4740 2 cpufreq_stats,cpufreq_ondemand
cpufreq_conservative 6688 0
video 15364 0
sbs 14752 0
i2c_ec 4992 1 sbs
button 6672 0
battery 9988 0
container 4480 0
ac 5124 0
nfs 233068 1
lockd 63112 3 nfsd,nfs
sunrpc 155196 12 nfsd,nfs,lockd
af_packet 20872 2
dm_mod 56908 6
fuse 44564 0
ndiswrapper 178608 0
sbp2 22660 0
lp 11460 0
rsrc_nonstatic 13184 0
pcmcia_core 39568 1 rsrc_nonstatic
snd_emu10k1_synth 7168 0
snd_emux_synth 33664 1 snd_emu10k1_synth
snd_seq_virmidi 6784 1 snd_emux_synth
snd_seq_midi_emul 6912 1 snd_emux_synth
snd_emu10k1 117920 2 snd_emu10k1_synth
tsdev 7872 0
snd_ac97_codec 93856 1 snd_emu10k1
snd_mpu401 8360 0
snd_mpu401_uart 8064 1 snd_mpu401
ac97_bus 2304 1 snd_ac97_codec
snd_pcm_oss 42880 0
snd_mixer_oss 16512 1 snd_pcm_oss
snd_pcm 75400 3 snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_page_alloc 10120 2 snd_emu10k1,snd_pcm
snd_util_mem 4864 2 snd_emux_synth,snd_emu10k1
usbhid 24544 0
hid 20740 1 usbhid
psmouse 37512 0
snd_hwdep 9092 2 snd_emux_synth,snd_emu10k1
snd_seq_dummy 3844 0
snd_seq_oss 31232 0
snd_seq_midi 8704 0
snd_rawmidi 23680 4 snd_seq_virmidi,snd_emu10k1,snd_mpu401_uart,snd_seq_midi
snd_seq_midi_event 7296 3 snd_seq_virmidi,snd_seq_oss,snd_seq_midi
snd_seq 47728 9 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 21508 3 snd_emu10k1,snd_pcm,snd_seq
snd_seq_device 8204 8 snd_emu10k1_synth,snd_emux_synth,snd_emu10k1,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
serio_raw 6916 0
parport_pc 34852 1
parport 35144 2 lp,parport_pc
analog 11552 0
irtty_sir 8576 0
sir_dev 15748 1 irtty_sir
floppy 56804 0
snd 51716 17 snd_emux_synth,snd_seq_virmidi,snd_emu10k1,snd_ac97_codec,snd_mpu401,snd_mpu401_uart,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hw...

Read more...

Changed in hal:
status: Unconfirmed → Confirmed
Sebastian Dröge (slomo)
Changed in hal:
importance: Undecided → High
Revision history for this message
Lars Pohlmann (lars-pohlmann) wrote :

i believe, we are talking about two different bugs here, as my bug is related to the sonypi-module.

On the console I get a sonypi-error-message multiple times per second when it's loaded.
The Problem goes away, when I delete the .ko file from /lib/...kernel/driver/char/sonypi.ko (or something like that) and reboot.

I'm at work right now, but when I get home, I'll post the exact error-message.

Revision history for this message
Olaf Lüke (borg) wrote :

setting "PCMCIA=no" and uncommenting the "PCIC=*" line in /etc/default/pcmcia and /etc/default/pcmciautils solves the problem for me.

Revision history for this message
Olaf Lüke (borg) wrote :

here is my dmesg output: http://pastebin.ca/286366

it seems like he attempts to load some pcmcia modules (there is no pcmcia in my desktop pc) incredible often.

Revision history for this message
DerekSlovin (derek-slovin) wrote :

I have a similar problem. My dmesg is filled up with:
[ 30.512000] Intel ISA PCIC probe: not found.
[ 30.552000] Intel ISA PCIC probe: not found.
[ 30.592000] Intel ISA PCIC probe: not found.
[ 30.624000] Intel ISA PCIC probe: not found.
[ 30.656000] Intel ISA PCIC probe: not found.
[ 30.688000] Intel ISA PCIC probe: not found.
[ 30.720000] Intel ISA PCIC probe: not found.
[ 30.752000] Intel ISA PCIC probe: not found.
[ 30.780000] Intel ISA PCIC probe: not found.
[ 30.816000] Intel ISA PCIC probe: not found.

Revision history for this message
Adam Klobukowski (adamklobukowski) wrote :

Turning off pcmcia in /etc/defaults/pcmcia and /etc/defaults/pcmciautils solved it for me.

Revision history for this message
Hervé Fache (rvfh) wrote :

Thanks for this! I was tired of using my CPU for PCMCIA on a... desktop!

BTW, how come we still have pcmcia-cs packages installed? Should they not have been removed when upgrading to Breezy (Linux 2.6.12, PCMCIA utils)?

Revision history for this message
Cody A.W. Somerville (cody-somerville) wrote :

I too got this problem. I found that it caused hald, ivman, and udevd to eat up my cpu cycles. dmesg is spammed with:

[ 5465.166744] Intel ISA PCIC probe: not found.
[ 5465.627287] Intel ISA PCIC probe: not found.
[ 5465.770735] Intel ISA PCIC probe: not found.
[ 5466.293698] Intel ISA PCIC probe: not found.
[ 5466.831200] Intel ISA PCIC probe: not found.
[ 5467.250304] Intel ISA PCIC probe: not found.
[ 5467.772821] Intel ISA PCIC probe: not found.
[ 5468.367177] Intel ISA PCIC probe: not found.
[ 5470.475152] Intel ISA PCIC probe: not found.
[ 5470.629482] Intel ISA PCIC probe: not found.

Revision history for this message
Cody A.W. Somerville (cody-somerville) wrote :

I found this in dmesg:

Intel ISA PCIC probe: not found.
Device 'i82365.0' does not have a release() function, it is broken and must be fixed.
Badness in device_release at drivers/base/core.c:83
 [<c01ba599>] kobject_cleanup+0xa9/0xb0
 [<c01ba5a0>] kobject_release+0x0/0x10
 [<c01bafb5>] kref_put+0x45/0x90
 [<c01ba5cf>] kobject_put+0x1f/0x30
 [<c01ba5cf>] kobject_put+0x1f/0x30
 [<c01ba5a0>] kobject_release+0x0/0x10
 [<c88013c9>] init_i82365+0x1c9/0x1df [i82365]
 [<c012f762>] sys_init_module+0x132/0x1c0
 [<c0102c89>] syscall_call+0x7/0xb

Revision history for this message
Cody A.W. Somerville (cody-somerville) wrote :

It appears this was fixed in the next kernel upload. Please reopen if this is not the case.

Changed in linux-source-2.6.17:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.