Bug#428508: linux-image-2.6.18-4-686: Reinserting FireWire CardBus card causes kernel to freeze
Package: linux-image-2.6.18-4-686
Version: 2.6.18.dfsg.1-12etch2
Severity: normal
I have a FireWire CardBus card which I use together with kino to create
MPEG movies from MiniDV data.
marte@sternmull:~$ lspci
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host
bridge (rev 03)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP
bridge (rev 03)
00:03.0 CardBus bridge: Texas Instruments PCI1225 (rev 01)
00:03.1 CardBus bridge: Texas Instruments PCI1225 (rev 01)
00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
01:00.0 VGA compatible controller: Neomagic Corporation NM2360
[MagicMedia 256ZX]
01:00.1 Multimedia audio controller: Neomagic Corporation NM2360
[MagicMedia 256ZX Audio]
02:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host
Controller (rev 46)
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8180L
802.11b MAC (rev 20)
Inserting and ejecting the card without /dev/raw1394 in use results in
the following messages:
Jun 11 21:16:29 sternmull kernel: pccard: CardBus card inserted into slot 0
Jun 11 21:16:29 sternmull kernel: PCI: Enabling device 0000:02:00.0
(0080 -> 0083)
Jun 11 21:16:29 sternmull kernel: ohci1394: fw-host0: OHCI-1394 1.0
(PCI): IRQ=[11] MMIO=[22000000-220007ff] Max Packet=[1024] IR/IT
contexts=[4/8]
Jun 11 21:16:29 sternmull kernel: eth1394: eth0: IEEE-1394 IPv4 over
1394 Ethernet (fw-host0)
Jun 11 21:16:38 sternmull kernel: ieee1394: raw1394: /dev/raw1394 device
initialized
Jun 11 21:16:40 sternmull kernel: pccard: card ejected from slot 0
So everything works fine except I have to modprobe raw1394 manually.
When module raw1394 is loaded and /dev/raw1394 is in use by kino,
ejecting the card
causes the following error messages:
Jun 11 21:19:40 sternmull kernel: pccard: card ejected from slot 0
Jun 11 21:19:41 sternmull kernel: d11363c4
Jun 11 21:19:41 sternmull kernel: Modules linked in: dv1394 raw1394
ppdev lp ipv6 dm_snapshot dm_mirror dm_mod ndiswrapper apm eth1394
snd_nm256 tsdev snd_ac97_codec snd_ac97_bus joydev snd_pcm_oss
snd_mixer_oss snd_pcm floppy ohci1394 ieee1394 pcmcia firmware_class
snd_timer snd_page_alloc parport_pc parport snd soundcore rtc i2c_piix4
psmouse serio_raw pcspkr i2c_core yenta_socket rsrc_nonstatic
pcmcia_core intel_agp agpgart shpchp pci_hotplug evdev reiserfs
ide_generic ide_disk uhci_hcd usbcore piix generic ide_core processor
Jun 11 21:19:41 sternmull kernel: EIP: 0060:[<d11363c4>] Tainted:
P VLI
Jun 11 21:19:41 sternmull kernel: EFLAGS: 00010282 (2.6.18-4-686 #1)
Jun 11 21:19:41 sternmull kernel: [<d0d3327e>]
__unregister_host+0x19/0x8e [ieee1394]
Jun 11 21:19:41 sternmull kernel: [<d0d33472>]
highlevel_remove_host+0x21/0x42 [ieee1394]
Jun 11 21:19:41 sternmull kernel: [<d0d32f4b>]
hpsb_remove_host+0x38/0x59 [ieee1394]
Jun 11 21:19:41 sternmull kernel: [<d0d21e4b>]
ohci1394_pci_remove+0x41/0x1c0 [ohci1394]
Jun 11 21:19:41 sternmull kernel: [<c01c178b>] pci_device_remove+0x16/0x28
Jun 11 21:19:41 sternmull kernel: [<c0210a0a>]
__device_release_driver+0x5a/0x72
Jun 11 21:19:41 sternmull kernel: [<c0210bdc>]
device_release_driver+0x17/0x26
Jun 11 21:19:41 sternmull kernel: [<c0210414>] bus_remove_device+0x78/0x8a
Jun 11 21:19:41 sternmull kernel: [<c020f5b4>] device_del+0xf0/0x121
Jun 11 21:19:41 sternmull kernel: [<c020f5ed>] device_unregister+0x8/0x10
Jun 11 21:19:41 sternmull kernel: [<c01bfa1d>]
pci_remove_bus_device+0x39/0xd1
Jun 11 21:19:41 sternmull kernel: [<c01bfacf>]
pci_remove_behind_bridge+0x1a/0x2b
Jun 11 21:19:41 sternmull kernel: [<d0c90525>]
socket_shutdown+0x6d/0xd1 [pcmcia_core]
Jun 11 21:19:41 sternmull kernel: [<d0c90b76>] pccardd+0x137/0x1e9
[pcmcia_core]
Jun 11 21:19:41 sternmull kernel: [<c0117778>]
default_wake_function+0x0/0xc
Jun 11 21:19:41 sternmull kernel: [<d0c90a3f>] pccardd+0x0/0x1e9
[pcmcia_core]
Jun 11 21:19:41 sternmull kernel: [<c012d85f>] kthread+0xc2/0xef
Jun 11 21:19:41 sternmull kernel: [<c012d79d>] kthread+0x0/0xef
Jun 11 21:19:41 sternmull kernel: [<c0101005>] kernel_thread_helper+0x5/0xb
Reinserting the card the causes the kernel to freeze due to a fatal
exception in an interrupt handler (unhandled kernel paging request or null
pointer dereferencing).
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (990, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-4-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages linux-image-2.6.18-4-686 depends on:
ii coreutils 5.97-5.3 The GNU core utilities
ii debconf [debconf-2.0] 1.5.13 Debian configuration
management sy
ii initramfs-tools [linux-initra 0.85g tools for generating an
initramfs
ii module-init-tools 3.3-pre4-2 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-4-686 recommends:
ii libc6-i686 2.3.6.ds1-13 GNU C Library: Shared
libraries [i
-- debconf information:
linux-image-2.6.18-4-686/preinst/failed-to-move-modules-2.6.18-4-686:
* linux-image-2.6.18-4-686/preinst/lilo-initrd-2.6.18-4-686: false
linux-image-2.6.18-4-686/preinst/elilo-initrd-2.6.18-4-686: true
linux-image-2.6.18-4-686/preinst/overwriting-modules-2.6.18-4-686: true
linux-image-2.6.18-4-686/prerm/removing-running-kernel-2.6.18-4-686: true
linux-image-2.6.18-4-686/prerm/would-invalidate-boot-loader-2.6.18-4-686:
true
* linux-image-2.6.18-4-686/postinst/bootloader-test-error-2.6.18-4-686:
linux-image-2.6.18-4-686/preinst/abort-overwrite-2.6.18-4-686:
linux-image-2.6.18-4-686/postinst/old-system-map-link-2.6.18-4-686: true
linux-image-2.6.18-4-686/postinst/depmod-error-2.6.18-4-686: false
linux-image-2.6.18-4-686/preinst/abort-install-2.6.18-4-686:
linux-image-2.6.18-4-686/postinst/depmod-error-initrd-2.6.18-4-686: false
linux-image-2.6.18-4-686/postinst/old-initrd-link-2.6.18-4-686: true
linux-image-2.6.18-4-686/preinst/bootloader-initrd-2.6.18-4-686: true
linux-image-2.6.18-4-686/preinst/already-running-this-2.6.18-4-686:
linux-image-2.6.18-4-686/postinst/old-dir-initrd-link-2.6.18-4-686: true
linux-image-2.6.18-4-686/postinst/kimage-is-a-directory:
shared/kernel-image/really-run-bootloader: true
linux-image-2.6.18-4-686/preinst/lilo-has-ramdisk:
linux-image-2.6.18-4-686/postinst/bootloader-error-2.6.18-4-686:
linux-image-2.6.18-4-686/preinst/initrd-2.6.18-4-686:
linux-image-2.6.18-4-686/postinst/create-kimage-link-2.6.18-4-686: true
Reply to: