1 Apr 2008 01:12
Re: [PATCH] evdev: Release eventual input device grabs when getting disconnected
Benjamin Herrenschmidt <benh <at> kernel.crashing.org>
2008-03-31 23:12:44 GMT
2008-03-31 23:12:44 GMT
> I do agree that this might want reverting, unless there is some rally good > reason for it. People may have pefectly valid reasons to expect topology > and reachability to remain valid - it's certainly what we guarantee in the > VFS code for similar rules (ie the parent of a dentry is only free'd after > all children have gone away). > > Greg, is it possible to get the old lifetime rules back wrt his? They seem > valid and sane.. Looks like we are seeing something similar with suspend, I just got this oops log. I think what happens is that appletouch suspend causes it to disconnect and then X console switches or closes the evdev, whatever, kaboom ... sd 0:0:0:0: [sda] Synchronizing SCSI cache sd 0:0:0:0: [sda] Result: hostbyte=0x01 driverbyte=0x00 usbcore: deregistering interface driver appletouch input: appletouch disconnected PM: Syncing filesystems ... done. Oops: Kernel access of bad area, sig: 11 [#1] PowerMac Modules linked in: sg sd_mod binfmt_misc appletalk psnap llc hci_usb radeon drm rfcomm l2cap bluetooth cpufreq_userspace cpufreq_powersave cpufreq_ondemand cpufreq_conservative xt_tcpudp nf_conntrack_ipv4 xt_state nf_conntrack iptable_filter ip_tables x_tables fuse i2c_dev therm_adt746x sr_mod sbp2 apm_emu apm_emulation arc4 ecb snd_aoa_codec_tas snd_aoa_fabric_layout snd_aoa b43 mac80211 joydev pcmcia cfg80211 rng_core ohci1394 snd_aoa_i2sbus ieee1394 snd_pcm snd_page_alloc snd_seq_midi snd_rawmidi pmac_zilog serial_core snd_seq_midi_event snd_seq snd_timer snd_seq_device snd soundcore snd_aoa_soundbus yenta_socket rsrc_nonstatic pcmcia_core ssb uninorth_agp agpgart [last unloaded: appletouch](Continue reading)
RSS Feed