Re: kobject: delayed kobject release: help find buggy drivers

From: Dave Jones
Date: Thu Sep 05 2013 - 11:47:27 EST


On Thu, Sep 05, 2013 at 08:34:57AM -0700, Greg KH wrote:

> > Trace:
> > <IRQ>
> > run_timer_softirq
> > __do_softirq
> > irq_exit
> > smp_apic_timer_interrupt
> > apic_timer_interrupt
> > <EOI>
> > vprintk_emit
> > dev_vprintk_emit
> > dev_vprint_emit
> > __dev_printk
> > _dev_info
> > ahci_print_info
> > ahci_init_one
> > local_pci_probe
> > pci_device_probe
> > driver_probe_device
> > __driver_attach
> > bus_for_each_dev
> > driver_attach
> > bus_add_driver
> > driver_register
> > __pci_register_driver
> > ahci_pci_driver_init
>
> So we are loading a ahci driver here. Any hint as to which
> driver/device this is? Is it a device that fails for this driver, and
> then falls back to another more "specific" one?

It's "ahci.ko" (though it's built in).
For a boring onboard intel sata controller...
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 04)


When I disable the debug option, usually it looks like..

[ 6.382970] ahci 0000:00:1f.2: version 3.0
[ 6.384753] ahci 0000:00:1f.2: irq 43 for MSI/MSI-X
[ 6.385039] ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 6 ports 6 Gbps 0x6 impl SATA mode
[ 6.385067] ahci 0000:00:1f.2: flags: 64bit ncq pm led clo pio slum part ems apst
[ 6.385101] ahci 0000:00:1f.2: setting latency timer to 64
[ 6.402536] scsi0 : ahci
[ 6.403669] scsi1 : ahci
[ 6.404208] scsi2 : ahci
[ 6.404756] scsi3 : ahci
[ 6.405342] scsi4 : ahci
[ 6.405951] scsi5 : ahci
[ 6.406345] ata1: DUMMY
[ 6.406364] ata2: SATA max UDMA/133 abar m2048@0xc043b000 port 0xc043b180 irq 43
[ 6.406393] ata3: SATA max UDMA/133 abar m2048@0xc043b000 port 0xc043b200 irq 43
[ 6.406416] ata4: DUMMY
[ 6.406427] ata5: DUMMY
[ 6.406438] ata6: DUMMY

Dave

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/