--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: linux-image-2.6.18-1-686: Oops with irda driver
- From: Romain Chantereau <romain@mezimail.com>
- Date: Tue, 24 Oct 2006 14:00:04 +0200
- Message-id: <20061024120004.5409.41921.reportbug@localhost.localdomain>
Package: linux-image-2.6.18-1-686
Version: 2.6.18-3
Severity: important
Hi !
I am using gnokii, via xgnokii, and I have strange behaviour. When I
quit (after being
connected, or after the phone crashed) xgnokii, I have this kernel
oops :
Oct 24 13:17:04 localhost kernel: IrLAP, no activity on link!
Oct 24 13:17:13 localhost last message repeated 3 times
Oct 24 13:17:14 localhost kernel: irlap_change_speed(), setting speed to
9600
Oct 24 13:17:14 localhost kernel: irda_poll(), POLLHUP
Oct 24 13:17:14 localhost kernel: irda_poll(), POLLHUP
Oct 24 13:17:42 localhost kernel: BUG: unable to handle kernel NULL
pointer dereference at virtual address 00000000
Oct 24 13:17:42 localhost kernel: printing eip:
Oct 24 13:17:42 localhost kernel: c1304908
Oct 24 13:17:42 localhost kernel: *pde = 00000000
Oct 24 13:17:42 localhost kernel: Oops: 0002 [#1]
Oct 24 13:17:42 localhost kernel: SMP
Oct 24 13:17:42 localhost kernel: Modules linked in: nls_utf8 nls_cp437
vfat fat radeon drm binfmt_misc cpufreq_ondemand nfs lockd nfs_acl
sunrpc irtty_sir sir_dev ipv6 button ac battery xfs sd_mod
cpufreq_powersave cpufreq_userspace acpi_cpufreq freq_table ide_generic
usbhid usb_storage scsi_mod eth1394 ehci_hcd ohci_hcd ohci1394 ieee1394
pcmcia firmware_class joydev snd_intel8x0m snd_seq_dummy snd_seq_oss
snd_intel8x0 tsdev snd_ac97_codec snd_seq_midi snd_rawmidi
snd_seq_midi_event snd_seq snd_ac97_bus snd_seq_device evdev snd_pcm_oss
snd_mixer_oss shpchp pci_hotplug intel_agp agpgart snd_pcm snd_timer snd
soundcore snd_page_alloc yenta_socket rsrc_nonstatic pcmcia_core psmouse
parport_pc parport pcspkr rtc serio_raw floppy irda crc_ccitt ext3 jbd
mbcache dm_mirror dm_snapshot dm_mod ide_disk ide_cd cdrom piix generic
ide_core uhci_hcd usbcore 3c59x mii thermal processor fan
Oct 24 13:17:42 localhost kernel: CPU: 0
Oct 24 13:17:42 localhost kernel: EIP: 0060:[<c1304908>] Not
tainted VLI
Oct 24 13:17:42 localhost kernel: EFLAGS: 00210086 (2.6.18-1-686 #1)
Oct 24 13:17:42 localhost kernel: EIP is at 0xc1304908
Oct 24 13:17:42 localhost kernel: eax: d5627db0 ebx: d5627d90 ecx:
00000000
edx: 00000001
Oct 24 13:17:42 localhost kernel: esi: 00100100 edi: 00000000 ebp:
d5627df0
esp: d5627dd0
Oct 24 13:17:42 localhost kernel: ds: 007b es: 007b ss: 0068
Oct 24 13:17:42 localhost kernel: Process xgnokii (pid: 4635,
ti=d5626000 task=caf1faa0 task.ti=d5626000)
Oct 24 13:17:42 localhost kernel: Stack: c0116251 00000000 00000001
cb37c0d8 00000000 cb37c0d8 00000000 00000000
Oct 24 13:17:42 localhost kernel: d5627e14 c01166a2 00000000
00000000 00000001 00200286 cb37c0d8 caed9000
Oct 24 13:17:42 localhost kernel: cb37c0c0 d4d89910 c0222358
00000000 cb37c0c0 caed9000 d896e785 cb37c0c0
Oct 24 13:17:42 localhost kernel: Call Trace:
Oct 24 13:17:42 localhost kernel: [<c0116251>] __wake_up_common
+0x2f/0x53
Oct 24 13:17:42 localhost kernel: [<c01166a2>] __wake_up+0x2a/0x3d
Oct 24 13:17:42 localhost kernel: [<c0222358>] sock_def_wakeup
+0x2e/0x39
Oct 24 13:17:42 localhost kernel: [<d896e785>] irda_release+0x49/0x129
[irda]
Oct 24 13:17:42 localhost kernel: [<d896dbf5>]
__lock_irda_stream_release+0xf/0x1a [irda]
Oct 24 13:17:42 localhost kernel: [<c0220847>] sock_release+0x11/0x86
Oct 24 13:17:42 localhost kernel: [<c0220b0f>] sock_close+0x26/0x2a
Oct 24 13:17:42 localhost kernel: [<c015af41>] __fput+0x8a/0x13f
Oct 24 13:17:42 localhost kernel: [<c0158aaa>] filp_close+0x4e/0x54
Oct 24 13:17:42 localhost kernel: [<c011ead7>] put_files_struct
+0x65/0xa7
Oct 24 13:17:42 localhost kernel: [<c011fa47>] do_exit+0x1d1/0x71b
Oct 24 13:17:42 localhost kernel: [<c0120007>] sys_exit_group+0x0/0xd
Oct 24 13:17:42 localhost kernel: [<c0127aa5>] get_signal_to_deliver
+0x395/0x3bc
Oct 24 13:17:42 localhost kernel: [<c01023a6>] do_notify_resume
+0x71/0x5d7
Oct 24 13:17:42 localhost kernel: [<c012dabf>] remove_wait_queue
+0xf/0x34
Oct 24 13:17:42 localhost kernel: [<c0221005>] sys_recv+0x19/0x1d
Oct 24 13:17:42 localhost kernel: [<c0221416>] sys_socketcall
+0xfc/0x181
Oct 24 13:17:42 localhost kernel: [<c0102d0a>] work_notifysig+0x13/0x19
Oct 24 13:17:42 localhost kernel: Code: 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
01 00 00 00 02
00 00 00 <00> 01 00 00 80 00 00 00 50 00 00 00 32 00 00 00 20 0d 08 00
00
Oct 24 13:17:42 localhost kernel: EIP: [<c1304908>] 0xc1304908 SS:ESP
0068:d5627dd0
Oct 24 13:17:42 localhost kernel: <1>Fixing recursive fault but reboot
is needed!
And according to this, I cannot kill xgnokii (-15, -9, whatever :-(),
and I have to reboot if I want to launch it again.
Thanks for your work,
Romain.
-- System Information:
Debian Release: testing/unstable
APT prefers experimental
APT policy: (500, 'experimental'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Versions of packages linux-image-2.6.18-1-686 depends on:
ii initramfs-tools [linux-initra 0.84 tools for generating an initramfs
ii module-init-tools 3.2.2-3 tools for managing Linux kernel mo
ii yaird [linux-initramfs-tool] 0.0.12-18 Yet Another mkInitRD
Versions of packages linux-image-2.6.18-1-686 recommends:
ii libc6-i686 2.3.6.ds1-7 GNU C Library: Shared libraries [i
-- debconf information:
linux-image-2.6.18-1-686/postinst/bootloader-error-2.6.18-1-686:
linux-image-2.6.18-1-686/postinst/depmod-error-initrd-2.6.18-1-686: false
linux-image-2.6.18-1-686/preinst/initrd-2.6.18-1-686:
linux-image-2.6.18-1-686/preinst/elilo-initrd-2.6.18-1-686: true
linux-image-2.6.18-1-686/preinst/abort-overwrite-2.6.18-1-686:
* linux-image-2.6.18-1-686/preinst/already-running-this-2.6.18-1-686:
linux-image-2.6.18-1-686/postinst/bootloader-test-error-2.6.18-1-686:
linux-image-2.6.18-1-686/postinst/depmod-error-2.6.18-1-686: false
linux-image-2.6.18-1-686/preinst/lilo-initrd-2.6.18-1-686: true
linux-image-2.6.18-1-686/prerm/removing-running-kernel-2.6.18-1-686: true
linux-image-2.6.18-1-686/postinst/old-system-map-link-2.6.18-1-686: true
linux-image-2.6.18-1-686/preinst/bootloader-initrd-2.6.18-1-686: true
linux-image-2.6.18-1-686/preinst/abort-install-2.6.18-1-686:
shared/kernel-image/really-run-bootloader: true
linux-image-2.6.18-1-686/postinst/create-kimage-link-2.6.18-1-686: true
linux-image-2.6.18-1-686/postinst/old-initrd-link-2.6.18-1-686: true
linux-image-2.6.18-1-686/preinst/lilo-has-ramdisk:
linux-image-2.6.18-1-686/postinst/old-dir-initrd-link-2.6.18-1-686: true
linux-image-2.6.18-1-686/preinst/overwriting-modules-2.6.18-1-686: true
linux-image-2.6.18-1-686/preinst/failed-to-move-modules-2.6.18-1-686:
linux-image-2.6.18-1-686/prerm/would-invalidate-boot-loader-2.6.18-1-686: true
linux-image-2.6.18-1-686/postinst/kimage-is-a-directory:
--- End Message ---
--- Begin Message ---
- To: Ben Hutchings <ben@decadent.org.uk>
- Cc: 395008-done@bugs.debian.org
- Subject: Re: linux-image-2.6.18-1-686: Oops with irda driver
- From: Moritz Muehlenhoff <jmm@inutil.org>
- Date: Mon, 27 Jul 2009 01:29:26 +0200
- Message-id: <20090726232926.GA8363@galadriel.inutil.org>
- In-reply-to: <1244310225.21215.77.camel@deadeye>
- References: <1244310225.21215.77.camel@deadeye>
Version: 2.6.19-1
On Sat, Jun 06, 2009 at 06:43:45PM +0100, Ben Hutchings wrote:
> This may have been fixed by this upstream change between 2.6.18 and .19:
>
> commit da349f1c2e0a0bf8958cdaf14e8f33acdf3182a5
> Author: Samuel Ortiz <samuel@sortiz.org>
> Date: Wed Sep 27 20:05:38 2006 -0700
>
> [IrDA]: af_irda.c cleanups
>
> We lock the socket when both releasing and getting a disconnected
> notification. In the latter case, we also ste the socket as orphan.
> This fixes a potential kernel bug that can be triggered when we get the
> disconnection notification before closing the socket.
Marking as closed in 2.6.19. If anyone encounters this problem again
with a later kernel, please reopen.
Cheers,
Moritz
--- End Message ---