[Bug 16378] New: backtrace on removing Silicon Image based eSATA PCMCIA controller

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Tue Jul 13 10:03:03 EDT 2010


https://bugzilla.kernel.org/show_bug.cgi?id=16378

           Summary: backtrace on removing Silicon Image based eSATA PCMCIA
                    controller
           Product: Drivers
           Version: 2.5
    Kernel Version: 2.6.34.1 and 2.6.33.2
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: PCMCIA
        AssignedTo: linux-pcmcia at lists.infradead.org
        ReportedBy: Martin at Lichtvoll.de
        Regression: No


Created an attachment (id=27089)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=27089)
hardware of my ThinkPad T42, lspci -nnvv

While looking for stuff in the logs for bug #16376, I found the following
backtrace in the log:

Jul  7 00:06:57 shambhala kernel: ------------[ cut here ]------------
Jul  7 00:06:57 shambhala kernel: WARNING: at drivers/ata/libata-core.c:6351
ata_host_detach+0xb6/0xc0()
Jul  7 00:06:57 shambhala kernel: Hardware name: 2373CXG
Jul  7 00:06:57 shambhala kernel: Modules linked in: snd_usb_audio snd_hwdep
snd_usb_lib sata_sil tp_smapi hdaps thin
kpad_ec vboxnetadp vboxnetflt vboxdrv acpi_cpufreq cpufreq_userspace
cpufreq_stats cpufreq_conservative cpufreq_power
save ipv6 ppdev lp microcode fuse tun usblp ohci_hcd usb_storage usb_libusual
nls_iso8859_15 nls_iso8859_1 nls_cp850 
ntfs vfat msdos fat reiserfs isofs udf crc_itu_t smbfs pktcdvd uinput radeon
ttm drm_kms_helper drm i2c_algo_bit inpu
t_polldev dm_crypt snd_intel8x0 snd_intel8x0m snd_ac97_codec ac97_bus
snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy
 snd_seq_oss pcmcia snd_seq_midi ipw2200 libipw thinkpad_acpi snd_rawmidi
snd_seq_midi_event hwmon snd_seq yenta_sock
et led_class cfg80211 intel_agp rtc_cmos rsrc_nonstatic parport_pc evdev
rtc_core nvram pcmcia_core parport video rfk
ill agpgart snd_timer joydev output rtc_lib i2c_i801 lib80211 snd_seq_device
snd ac battery processor snd_page_alloc 
button dm_mod raid10 raid456 async_pq async_xor xor async_memcpy
async_raid6_recov raid6_pq as
Jul  7 00:06:57 shambhala kernel: ync_tx raid1 raid0 linear md_mod btrfs
zlib_deflate crc32c libcrc32c usbhid uhci_hc
d sg ehci_hcd sr_mod thermal cdrom usbcore [last unloaded: hdaps]
Jul  7 00:06:57 shambhala kernel: Pid: 1108, comm: pccardd Not tainted
2.6.34.1-tp42-toi-3.1.1.1-04990-g3a7d1f4 #3
Jul  7 00:06:57 shambhala kernel: Call Trace:
Jul  7 00:06:57 shambhala kernel: [<c1034912>] warn_slowpath_common+0x72/0xa0
Jul  7 00:06:57 shambhala kernel: [<c1329c96>] ? ata_host_detach+0xb6/0xc0
Jul  7 00:06:57 shambhala kernel: [<c1329c96>] ? ata_host_detach+0xb6/0xc0
Jul  7 00:06:57 shambhala kernel: [<c103495a>] warn_slowpath_null+0x1a/0x20
Jul  7 00:06:57 shambhala kernel: [<c1329c96>] ata_host_detach+0xb6/0xc0
Jul  7 00:06:57 shambhala kernel: [<c1329cb5>] ata_pci_remove_one+0x15/0x20
Jul  7 00:06:57 shambhala kernel: [<c128deae>] pci_device_remove+0x1e/0x40
Jul  7 00:06:57 shambhala kernel: [<c12fdf60>]
__device_release_driver+0x50/0xb0
Jul  7 00:06:57 shambhala kernel: [<c12fe0a5>] device_release_driver+0x25/0x40
Jul  7 00:06:57 shambhala kernel: [<c12fd31d>] bus_remove_device+0x7d/0xa0
Jul  7 00:06:57 shambhala kernel: [<c12fb65d>] device_del+0xed/0x170
Jul  7 00:06:57 shambhala kernel: [<c12fb6f0>] device_unregister+0x10/0x20
Jul  7 00:06:57 shambhala kernel: [<c1289886>] pci_stop_bus_device+0x56/0x70
Jul  7 00:06:57 shambhala kernel: [<c1289922>] pci_remove_bus_device+0x12/0xb0
Jul  7 00:06:57 shambhala kernel: [<c12899ef>]
pci_remove_behind_bridge+0x2f/0x50
Jul  7 00:06:57 shambhala kernel: [<f867ea27>] cb_free+0x17/0x20 [pcmcia_core]
Jul  7 00:06:57 shambhala kernel: [<f867d85d>] socket_shutdown+0xad/0x100
[pcmcia_core]
Jul  7 00:06:57 shambhala kernel: [<c1405007>] ? printk+0x1d/0x26
Jul  7 00:06:57 shambhala kernel: [<f867dacc>] socket_remove+0x4c/0x60
[pcmcia_core]
Jul  7 00:06:57 shambhala kernel: [<f867e337>] pccardd+0x307/0x480
[pcmcia_core]
Jul  7 00:06:57 shambhala kernel: [<c140556a>] ? schedule+0x4ba/0x4d0
Jul  7 00:06:57 shambhala kernel: [<f867e030>] ? pccardd+0x0/0x480
[pcmcia_core]
Jul  7 00:06:57 shambhala kernel: [<c1050d14>] kthread+0x74/0x80
Jul  7 00:06:57 shambhala kernel: [<c1050ca0>] ? kthread+0x0/0x80
Jul  7 00:06:57 shambhala kernel: [<c100347e>] kernel_thread_helper+0x6/0x10
Jul  7 00:06:57 shambhala kernel: ---[ end trace 0e18180f61acfe17 ]---
Jul  7 00:06:57 shambhala kernel: sd 6:0:0:0: [sdd] Synchronizing SCSI cache
Jul  7 00:07:27 shambhala kernel: ata6.00: disabled
Jul  7 00:07:27 shambhala kernel: ata6.00: device reported invalid CHS sector 0
Jul  7 00:07:27 shambhala kernel: sd 6:0:0:0: [sdd] Result: hostbyte=0x04
driverbyte=0x00
Jul  7 00:07:27 shambhala kernel: sd 6:0:0:0: [sdd] Stopping disk
Jul  7 00:07:27 shambhala kernel: sd 6:0:0:0: [sdd] START_STOP FAILED
Jul  7 00:07:27 shambhala kernel: sd 6:0:0:0: [sdd] Result: hostbyte=0x04
driverbyte=0x00
Jul  7 00:07:27 shambhala kernel: sata_sil 0000:03:00.0: PCI INT A disabled
Jul  7 00:08:02 shambhala kernel: e1000: eth0 NIC Link is Down

I believe they have been introduced with some recent kernels, as I do not
remember having seen them before. At least 2.6.34 and 2.6.33 are affected:

shambhala:~> zgrep pccardd /var/log/syslog*
/var/log/syslog.1:Jul  7 00:06:57 shambhala kernel: Pid: 1108, comm: pccardd
Not tainted 2.6.34.1-tp42-toi-3.1.1.1-04990-g3a7d1f4 #3
/var/log/syslog.1:Jul  7 00:06:57 shambhala kernel: [<f867e337>]
pccardd+0x307/0x480 [pcmcia_core]
/var/log/syslog.1:Jul  7 00:06:57 shambhala kernel: [<f867e030>] ?
pccardd+0x0/0x480 [pcmcia_core]
/var/log/syslog.1:Jul  9 12:59:37 shambhala kernel: Pid: 1108, comm: pccardd
Tainted: G        W  2.6.34.1-tp42-toi-3.1.1.1-04990-g3a7d1f4 #3
/var/log/syslog.1:Jul  9 12:59:37 shambhala kernel: [<f867e337>]
pccardd+0x307/0x480 [pcmcia_core]
/var/log/syslog.1:Jul  9 12:59:37 shambhala kernel: [<f867e030>] ?
pccardd+0x0/0x480 [pcmcia_core]
/var/log/syslog.3.gz:May 31 23:42:36 shambhala kernel: Pid: 1103, comm: pccardd
Not tainted 2.6.33.2-tp42-toi-3.1-lowmem-free-991-992-04964-gf00c7ec-dirty #3
/var/log/syslog.3.gz:May 31 23:42:36 shambhala kernel: [<f83673ff>]
pccardd+0x1ef/0x2b0 [pcmcia_core]
/var/log/syslog.3.gz:May 31 23:42:36 shambhala kernel: [<f8367210>] ?
pccardd+0x0/0x2b0 [pcmcia_core]
/var/log/syslog.3.gz:Jun 13 17:31:19 shambhala kernel: Pid: 1103, comm: pccardd
Tainted: G        W 
2.6.33.2-tp42-toi-3.1-lowmem-free-991-992-04964-gf00c7ec-dirty #3
/var/log/syslog.3.gz:Jun 13 17:31:19 shambhala kernel: [<f83673ff>]
pccardd+0x1ef/0x2b0 [pcmcia_core]
/var/log/syslog.3.gz:Jun 13 17:31:19 shambhala kernel: [<f8367210>] ?
pccardd+0x0/0x2b0 [pcmcia_core]
/var/log/syslog.6.gz:May  9 11:20:09 shambhala kernel: Pid: 1113, comm: pccardd
Not tainted 2.6.33.2-tp42-toi-3.1-lowmem-free-991-992-04964-gf00c7ec-dirty #3
/var/log/syslog.6.gz:May  9 11:20:09 shambhala kernel: [<f835b3ff>]
pccardd+0x1ef/0x2b0 [pcmcia_core]
/var/log/syslog.6.gz:May  9 11:20:09 shambhala kernel: [<f835b210>] ?
pccardd+0x0/0x2b0 [pcmcia_core]
/var/log/syslog.6.gz:May  9 23:46:17 shambhala kernel: Pid: 1113, comm: pccardd
Tainted: G        W 
2.6.33.2-tp42-toi-3.1-lowmem-free-991-992-04964-gf00c7ec-dirty #3
/var/log/syslog.6.gz:May  9 23:46:17 shambhala kernel: [<f835b3ff>]
pccardd+0x1ef/0x2b0 [pcmcia_core]
/var/log/syslog.6.gz:May  9 23:46:17 shambhala kernel: [<f835b210>] ?
pccardd+0x0/0x2b0 [pcmcia_core]

But there have been lots of card removals without that backtrace.

Its a warning. Is it harmless?

This is happening on a ThinkPad T42. I will attach the hardware configuration
with the PCMCIA card attached. As an excerpt here the Silicon Image eSATA
controller from Delock:

03:00.0 Mass storage controller [0180]: Silicon Image, Inc. SiI 3512
[SATALink/SATARaid] Serial ATA Controller [1095:3512] (rev 01)
        Subsystem: Silicon Image, Inc. SiI 3512 SATALink Controller [1095:3512]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64, Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 11
        Region 0: I/O ports at 4010 [size=8]
        Region 1: I/O ports at 4020 [size=4]
        Region 2: I/O ports at 4018 [size=8]
        Region 3: I/O ports at 4024 [size=4]
        Region 4: I/O ports at 4000 [size=16]
        Region 5: Memory at c4000000 (32-bit, non-prefetchable) [size=512]
        [virtual] Expansion ROM at e8000000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 2
                Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=2 PME-
        Kernel driver in use: sata_sil

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the linux-pcmcia mailing list