Re: [2.6.23-rc1] ata_piix: EH pending after completion, repeating EH (cnt=4)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 26 Jul 2007 15:31:10 +0900, Tejun Heo wrote:
> Mikael Pettersson wrote:
> > On Tue, 24 Jul 2007 17:32:29 +0900, Tejun Heo wrote:
> >> Mikael Pettersson wrote:
> >>> This machine has a known good Samsung SATA DVD on ICH8 [8086:2820].
> >>> With kernel 2.6.23-rc1 I now get the following:
> >>>
> >>>> ata_piix 0000:00:1f.2: version 2.11
> >>>> ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
> >>>> ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19
> >>>> PCI: Setting latency timer of device 0000:00:1f.2 to 64
> >>>> scsi2 : ata_piix
> >>>> scsi3 : ata_piix
> >>>> ata3: SATA max UDMA/133 cmd 0x0001ec00 ctl 0x0001e882 bmdma 0x0001e400 irq 19
> >>>> ata4: SATA max UDMA/133 cmd 0x0001e800 ctl 0x0001e482 bmdma 0x0001e408 irq 19
> >>>> ata4.00: ATAPI: TSSTcorpCD/DVDW SH-S183A, SB00, max UDMA/33
> >>>> ata4.00: applying bridge limits
> >>>> ata4.00: configured for UDMA/33
> >>>> ata4: EH pending after completion, repeating EH (cnt=4)
> >>>> scsi 3:0:0:0: CD-ROM            TSSTcorp CD/DVDW SH-S183A SB00 PQ: 0 ANSI: 5
> >>> The "EH pending after completion" is new and did not occur with 2.6.22.
> >>> Apart from that message, things seem fine.
> >> Hmmm... That means someone requested EH while EH was in progress.
> >> Weird.  Can you apply the attached patch and report what the kernel
> >> says?  Thanks.
> > 
> > Here it is. As you can see from the traces, the machine also has a
> > pdc20269 controller driven by pata_pdc2027x.
> 
> Hmm... I missed one path.  Can you please try the attached patch?  Thanks.

Sure, here are the boot messages with the newer debug patch:

pata_pdc2027x 0000:04:02.0: PLL input clock 16660 kHz
scsi0 : pata_pdc2027x
scsi1 : pata_pdc2027x
ata1: PATA max UDMA/133 cmd 0xf88297c0 ctl 0xf8829fda bmdma 0xf8829000 irq 18
ata2: PATA max UDMA/133 cmd 0xf88295c0 ctl 0xf8829dda bmdma 0xf8829008 irq 18
EH scheduled with LOADING set
 [<c022bd0e>] ata_host_register+0x1ee/0x2c0
 [<c022c780>] ata_interrupt+0x0/0x200
 [<c022be59>] ata_host_activate+0x79/0x90
 [<c02342fa>] pdc2027x_init_one+0x23a/0x2d0
 [<c01cda96>] pci_device_probe+0x56/0x80
 [<c020e4a8>] driver_probe_device+0x88/0x190
 [<c0296395>] klist_next+0x55/0xb0
 [<c020e6fa>] __driver_attach+0x7a/0x80
 [<c020d8ba>] bus_for_each_dev+0x3a/0x60
 [<c020e326>] driver_attach+0x16/0x20
 [<c020e680>] __driver_attach+0x0/0x80
 [<c020dc7a>] bus_add_driver+0x8a/0x1b0
 [<c01cdc46>] __pci_register_driver+0x56/0x90
 [<c032b830>] kernel_init+0x140/0x310
 [<c0102a12>] ret_from_fork+0x6/0x1c
 [<c032b6f0>] kernel_init+0x0/0x310
 [<c032b6f0>] kernel_init+0x0/0x310
 [<c0103717>] kernel_thread_helper+0x7/0x10
 =======================
ata1: soft resetting port
ata1.00: ATA-7: ST3320620A, 3.AAD, max UDMA/100
ata1.00: 625142448 sectors, multi 16: LBA48 
ata1.00: configured for UDMA/100
ata1: EH complete
EH scheduled with LOADING set
 [<c022bd0e>] ata_host_register+0x1ee/0x2c0
 [<c022c780>] ata_interrupt+0x0/0x200
 [<c022be59>] ata_host_activate+0x79/0x90
 [<c02342fa>] pdc2027x_init_one+0x23a/0x2d0
 [<c01cda96>] pci_device_probe+0x56/0x80
 [<c020e4a8>] driver_probe_device+0x88/0x190
 [<c0296395>] klist_next+0x55/0xb0
 [<c020e6fa>] __driver_attach+0x7a/0x80
 [<c020d8ba>] bus_for_each_dev+0x3a/0x60
 [<c020e326>] driver_attach+0x16/0x20
 [<c020e680>] __driver_attach+0x0/0x80
 [<c020dc7a>] bus_add_driver+0x8a/0x1b0
 [<c01cdc46>] __pci_register_driver+0x56/0x90
 [<c032b830>] kernel_init+0x140/0x310
 [<c0102a12>] ret_from_fork+0x6/0x1c
 [<c032b6f0>] kernel_init+0x0/0x310
 [<c032b6f0>] kernel_init+0x0/0x310
 [<c0103717>] kernel_thread_helper+0x7/0x10
 =======================
ata2: soft resetting port
ata2: EH complete
scsi 0:0:0:0: Direct-Access     ATA      ST3320620A       3.AA PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 sda9 sda10 >
sd 0:0:0:0: [sda] Attached SCSI disk
...
ata_piix 0000:00:1f.2: version 2.11
ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:1f.2 to 64
scsi2 : ata_piix
scsi3 : ata_piix
ata3: SATA max UDMA/133 cmd 0x0001ec00 ctl 0x0001e882 bmdma 0x0001e400 irq 19
ata4: SATA max UDMA/133 cmd 0x0001e800 ctl 0x0001e482 bmdma 0x0001e408 irq 19
EH scheduled with LOADING set
 [<c022bd0e>] ata_host_register+0x1ee/0x2c0
 [<c02308dd>] ata_pci_init_one+0x12d/0x250
 [<f8822580>] piix_init_one+0x1d0/0x540 [ata_piix]
 [<c01cda96>] pci_device_probe+0x56/0x80
 [<c020e4a8>] driver_probe_device+0x88/0x190
 [<c0296395>] klist_next+0x55/0xb0
 [<c020e6fa>] __driver_attach+0x7a/0x80
 [<c020d8ba>] bus_for_each_dev+0x3a/0x60
 [<c020e326>] driver_attach+0x16/0x20
 [<c020e680>] __driver_attach+0x0/0x80
 [<c020dc7a>] bus_add_driver+0x8a/0x1b0
 [<c01cdc46>] __pci_register_driver+0x56/0x90
 [<f8834014>] piix_init+0x14/0x26 [ata_piix]
 [<c0139fc6>] sys_init_module+0x126/0x1860
 [<c0113f54>] do_page_fault+0x484/0x670
 [<c0227370>] ata_port_start+0x0/0x70
 [<c0102b2e>] syscall_call+0x7/0xb
 [<c0290000>] rtmsg_fib+0x70/0x180
 =======================
ata3: soft resetting port
ata3: EH complete
EH scheduled with LOADING set
 [<c022bd0e>] ata_host_register+0x1ee/0x2c0
 [<c02308dd>] ata_pci_init_one+0x12d/0x250
 [<f8822580>] piix_init_one+0x1d0/0x540 [ata_piix]
 [<c01cda96>] pci_device_probe+0x56/0x80
 [<c020e4a8>] driver_probe_device+0x88/0x190
 [<c0296395>] klist_next+0x55/0xb0
 [<c020e6fa>] __driver_attach+0x7a/0x80
 [<c020d8ba>] bus_for_each_dev+0x3a/0x60
 [<c020e326>] driver_attach+0x16/0x20
 [<c020e680>] __driver_attach+0x0/0x80
 [<c020dc7a>] bus_add_driver+0x8a/0x1b0
 [<c01cdc46>] __pci_register_driver+0x56/0x90
 [<f8834014>] piix_init+0x14/0x26 [ata_piix]
 [<c0139fc6>] sys_init_module+0x126/0x1860
 [<c0113f54>] do_page_fault+0x484/0x670
 [<c0227370>] ata_port_start+0x0/0x70
 [<c0102b2e>] syscall_call+0x7/0xb
 [<c0290000>] rtmsg_fib+0x70/0x180
 =======================
ata4: soft resetting port
ata4.00: ATAPI: TSSTcorpCD/DVDW SH-S183A, SB00, max UDMA/33
ata4.00: applying bridge limits
ata4.00: configured for UDMA/33
ata4: EH pending after completion, repeating EH (cnt=4)
ata4: EH complete
scsi 3:0:0:0: CD-ROM            TSSTcorp CD/DVDW SH-S183A SB00 PQ: 0 ANSI: 5
ata_piix 0000:00:1f.5: MAP [ P0 P2 P1 P3 ]
ACPI: PCI Interrupt 0000:00:1f.5[B] -> GSI 19 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:1f.5 to 64
scsi4 : ata_piix
scsi5 : ata_piix
ata5: SATA max UDMA/133 cmd 0x0001d400 ctl 0x0001d082 bmdma 0x0001c880 irq 19
ata6: SATA max UDMA/133 cmd 0x0001d000 ctl 0x0001cc02 bmdma 0x0001c888 irq 19
EH scheduled with LOADING set
 [<c022bd0e>] ata_host_register+0x1ee/0x2c0
 [<c02308dd>] ata_pci_init_one+0x12d/0x250
 [<f8822580>] piix_init_one+0x1d0/0x540 [ata_piix]
 [<c01cda96>] pci_device_probe+0x56/0x80
 [<c020e4a8>] driver_probe_device+0x88/0x190
 [<c0296395>] klist_next+0x55/0xb0
 [<c020e6fa>] __driver_attach+0x7a/0x80
 [<c020d8ba>] bus_for_each_dev+0x3a/0x60
 [<c020e326>] driver_attach+0x16/0x20
 [<c020e680>] __driver_attach+0x0/0x80
 [<c020dc7a>] bus_add_driver+0x8a/0x1b0
 [<c01cdc46>] __pci_register_driver+0x56/0x90
 [<f8834014>] piix_init+0x14/0x26 [ata_piix]
 [<c0139fc6>] sys_init_module+0x126/0x1860
 [<c0113f54>] do_page_fault+0x484/0x670
 [<c0227370>] ata_port_start+0x0/0x70
 [<c0102b2e>] syscall_call+0x7/0xb
 [<c0290000>] rtmsg_fib+0x70/0x180
 =======================
ata5: soft resetting port
ata5: EH complete
EH scheduled with LOADING set
 [<c022bd0e>] ata_host_register+0x1ee/0x2c0
 [<c02308dd>] ata_pci_init_one+0x12d/0x250
 [<f8822580>] piix_init_one+0x1d0/0x540 [ata_piix]
 [<c01cda96>] pci_device_probe+0x56/0x80
 [<c020e4a8>] driver_probe_device+0x88/0x190
 [<c0296395>] klist_next+0x55/0xb0
 [<c020e6fa>] __driver_attach+0x7a/0x80
 [<c020d8ba>] bus_for_each_dev+0x3a/0x60
 [<c020e326>] driver_attach+0x16/0x20
 [<c020e680>] __driver_attach+0x0/0x80
 [<c020dc7a>] bus_add_driver+0x8a/0x1b0
 [<c01cdc46>] __pci_register_driver+0x56/0x90
 [<f8834014>] piix_init+0x14/0x26 [ata_piix]
 [<c0139fc6>] sys_init_module+0x126/0x1860
 [<c0113f54>] do_page_fault+0x484/0x670
 [<c0227370>] ata_port_start+0x0/0x70
 [<c0102b2e>] syscall_call+0x7/0xb
 [<c0290000>] rtmsg_fib+0x70/0x180
 =======================
ata6: soft resetting port
ata6: EH complete
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux