PATA Sil680 Disabling IRQ

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

 



Hi All,

Attached is the source code to Identify Device through sg (courtesy of
Mark Lord).  I intentionally change the data transfer from
SG_DXFER_FROM_DEV to SG_DXFER_TO_DEV to expose the problem.  When the
code is run on SATA Sil3124 controller,  it's working well. But when
it is run on PATA Sil680,  IRQ was disabled right away (see dmesg log
below). I have a old kernel 2.6.18 rc2 but I suspect the same problem
exists in latest kernel release as well.  Please execute above code in
your system and see what happens.

dmesg log:
[1204070913 936910] irq 15: nobody cared (try booting with the "irqpoll" option)
[1204070913 936978]  [<c0127037>] __report_bad_irq+0x2b/0x69
[1204070913 937039]  [<c012720f>] note_interrupt+0x19a/0x1d3
[1204070913 937089]  [<c0126848>] handle_IRQ_event+0x21/0x47
[1204070913 937138]  [<c01268de>] __do_IRQ+0x70/0x9f
[1204070913 937183]  [<c01044a9>] do_IRQ+0x43/0x52
[1204070913 937236]  [<c0102d7a>] common_interrupt+0x1a/0x20
[1204070913 937283]  [<c0114d58>] __do_softirq+0x27/0x6e
[1204070913 937341]  [<c0114dc1>] do_softirq+0x22/0x26
[1204070913 937386]  [<c01044ae>] do_IRQ+0x48/0x52
[1204070913 937430]  [<c0102d7a>] common_interrupt+0x1a/0x20
[1204070913 937478]  [<c01014b4>] default_idle+0x31/0x59
[1204070913 937523]  [<c010151b>] cpu_idle+0x3f/0x57
[1204070913 937568]  [<c02de63a>] start_kernel+0x2ba/0x2bc
[1204070913 937617] handlers:
[1204070913 937651] [<c01e2bb0>] (ata_interrupt+0x0/0x173)
[1204070913 937703] Disabling IRQ #15
[1204070917 801261] ata5 port frozen
[1204070917 801335] ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0
action 0x0 frozen
[1204070917 801407] ata5.00: tag 0 cmd 0xec Emask 0x6 stat 0x58 err
0x0 (timeout)
[1204070917 801476] ata5.00: lba 0x0 hob_lba 0x0 device 0x0

Thanks,
Fajun

Attachment: sg_identify.c
Description: Binary data


[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