当前位置: 技术问答>linux和unix
linux 2.6 下的sata驱动出错
来源: 互联网 发布时间:2016-06-06
本文导语: 请教大家我下面碰到的问题。内核在初始化加载sata驱动的时候出现了以下的打印错误。是因为中断的问题吗?指条明路~谢谢拉 SCSI subsystem initialized NetWinder Floating Point Emulator V0.97 (double precision) JFFS2 version 2.2....
请教大家我下面碰到的问题。内核在初始化加载sata驱动的时候出现了以下的打印错误。是因为中断的问题吗?指条明路~谢谢拉
SCSI subsystem initialized
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
Serial: 8250/16550 driver $Revision: 1.2 $ 4 ports, IRQ sharing disabled
ttyS0 at I/O 0xf9820000 (irq = 10) is a 16550A
ttyS1 at I/O 0xf9830000 (irq = 11) is a 16550A
ttyS2 at I/O 0xf9890000 (irq = 7) is a 16550A
ttyS3 at I/O 0xf9960000 (irq = 18) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
io scheduler old registered
RAMDISK driver initialized: 2 RAM disks of 24576K size 1024 blocksize
loop: loaded (max 8 devices)
PPP generic driver version 2.4.2
NET: Registered protocol family 24
Linux video capture interface: v1.00
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
PCI: enabling device 0000:00:0a.0 (0140 -> 0143)
sata_sil 0000:00:0a.0: Applying R_ERR on DMA activate FIS errata fix
ata1: SATA max UDMA/100 cmd 0xC8852080 ctl 0xC885208A bmdma 0xC8852000 irq 111
ata2: SATA max UDMA/100 cmd 0xC88520C0 ctl 0xC88520CA bmdma 0xC8852008 irq 111
ata3: SATA max UDMA/100 cmd 0xC8852280 ctl 0xC885228A bmdma 0xC8852200 irq 111
ata4: SATA max UDMA/100 cmd 0xC88522C0 ctl 0xC88522CA bmdma 0xC8852208 irq 111
ata1: SATA link up 1.5 Gbps (SStatus 113)
ata1: dev 0 ATA-8, max UDMA/133, 312581808 sectors: LBA48
irq111: nobody cared
Pid: 0, comm: swapper
CPU: 0
PC is at cpu_fa526_fa626_do_idle+0xc/0x10
LR is at fia320_default_idle+0x24/0x28
pc : [] lr : [] Not tainted
sp : c0ea3f9c ip : c0ea3fac fp : c0ea3fa8
r10: 0001cbc0 r9 : 66016261 r8 : 0001cbf0
r7 : c0f16800 r6 : c0f09494 r5 : c0c36d48 r4 : c0ea2000
r3 : 00000000 r2 : 00000001 r1 : c0ea4b84 r0 : 00000000
Flags: nZCv IRQs on FIQs on Mode SVC_32 Segment kernel
Control: 397F Table: 00004000 DAC: 00000017
[] (show_regs+0x0/0x4c) from [] (report_bad_irq+0x6c/0xcc)
r4 = C0EA3F54
[] (report_bad_irq+0x0/0xcc) from [] (do_level_IRQ+0x80/0xbc
)
r5 = 0000006F r4 = C0EFF990
[] (do_level_IRQ+0x0/0xbc) from [] (asm_do_IRQ+0x54/0x148)
r6 = 80000000 r5 = C0EA2000 r4 = FFFFFFFF
[] (asm_do_IRQ+0x0/0x148) from [] (__irq_svc+0x38/0xb8)
[] (fia320_default_idle+0x0/0x28) from [] (cpu_idle+0x54/0x8
8)
[] (cpu_idle+0x0/0x88) from [] (_text+0x3c/0x44)
r5 = C0EFDE9C r4 = 0000397D
[] (_text+0x0/0x44) from [] (start_kernel+0x188/0x1d0)
[] (start_kernel+0x0/0x1d0) from [] (0x8094)
r6 = C0EA5B7C r5 = C0EFFA3C r4 = 0000397D
handlers:
[] (ata_interrupt+0x0/0x1a0)
ata1: dev 0 configured for UDMA/100
scsi0 : sata_sil
ata2: SATA link down (SStatus 0)
scsi1 : sata_sil
ata3: SATA link down (SStatus 0)
scsi2 : sata_sil
ata4: SATA link down (SStatus 0)
scsi3 : sata_sil
Vendor: ATA Model: Hitachi HTS54321 Rev: FB2O
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
SCSI device sda: drive cache: write back
sda:irq111: nobody cared
Pid: 0, comm: swapper
CPU: 0
PC is at __do_softirq+0x44/0xd0
LR is at irq_exit+0x44/0x58
pc : [] lr : [] Not tainted
sp : c0ea3ee8 ip : c0ea3f0c fp : c0ea3f08
r10: c0ea3f54 r9 : c0efe304 r8 : c0f05c80
r7 : 0000000a r6 : c0ea2000 r5 : c0ea2000 r4 : 00000010
r3 : 20000013 r2 : 00000003 r1 : 00000001 r0 : 00000011
Flags: nzCv IRQs on FIQs on Mode SVC_32 Segment kernel
Control: 397F Table: 00004000 DAC: 00000017
[] (show_regs+0x0/0x4c) from [] (report_bad_irq+0x6c/0xcc)
r4 = C0EA3EA0
[] (report_bad_irq+0x0/0xcc) from [] (do_level_IRQ+0x80/0xbc
)
r5 = 0000006F r4 = C0EFF990
[] (do_level_IRQ+0x0/0xbc) from [] (asm_do_IRQ+0x54/0x148)
r6 = 80000000 r5 = C0EA2000 r4 = FFFFFFFF
[] (asm_do_IRQ+0x0/0x148) from [] (__irq_svc+0x38/0xb8)
[] (__do_softirq+0x0/0xd0) from [] (irq_exit+0x44/0x58)
r8 = 00000001 r7 = 00000002 r6 = 80000000 r5 = C0EA2000
r4 = C0EA2000
[] (irq_exit+0x0/0x58) from [] (asm_do_IRQ+0x134/0x148)
r4 = FFFFFFFF
[] (asm_do_IRQ+0x0/0x148) from [] (__irq_svc+0x38/0xb8)
[] (fia320_default_idle+0x0/0x28) from [] (cpu_idle+0x54/0x8
8)
[] (cpu_idle+0x0/0x88) from [] (_text+0x3c/0x44)
r5 = C0EFDE9C r4 = 0000397D
[] (_text+0x0/0x44) from [] (start_kernel+0x188/0x1d0)
[] (start_kernel+0x0/0x1d0) from [] (0x8094)
r6 = C0EA5B7C r5 = C0EFFA3C r4 = 0000397D
handlers:
[] (ata_interrupt+0x0/0x1a0)
sda1 sda2
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI subsystem initialized
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
Serial: 8250/16550 driver $Revision: 1.2 $ 4 ports, IRQ sharing disabled
ttyS0 at I/O 0xf9820000 (irq = 10) is a 16550A
ttyS1 at I/O 0xf9830000 (irq = 11) is a 16550A
ttyS2 at I/O 0xf9890000 (irq = 7) is a 16550A
ttyS3 at I/O 0xf9960000 (irq = 18) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
io scheduler old registered
RAMDISK driver initialized: 2 RAM disks of 24576K size 1024 blocksize
loop: loaded (max 8 devices)
PPP generic driver version 2.4.2
NET: Registered protocol family 24
Linux video capture interface: v1.00
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
PCI: enabling device 0000:00:0a.0 (0140 -> 0143)
sata_sil 0000:00:0a.0: Applying R_ERR on DMA activate FIS errata fix
ata1: SATA max UDMA/100 cmd 0xC8852080 ctl 0xC885208A bmdma 0xC8852000 irq 111
ata2: SATA max UDMA/100 cmd 0xC88520C0 ctl 0xC88520CA bmdma 0xC8852008 irq 111
ata3: SATA max UDMA/100 cmd 0xC8852280 ctl 0xC885228A bmdma 0xC8852200 irq 111
ata4: SATA max UDMA/100 cmd 0xC88522C0 ctl 0xC88522CA bmdma 0xC8852208 irq 111
ata1: SATA link up 1.5 Gbps (SStatus 113)
ata1: dev 0 ATA-8, max UDMA/133, 312581808 sectors: LBA48
irq111: nobody cared
Pid: 0, comm: swapper
CPU: 0
PC is at cpu_fa526_fa626_do_idle+0xc/0x10
LR is at fia320_default_idle+0x24/0x28
pc : [] lr : [] Not tainted
sp : c0ea3f9c ip : c0ea3fac fp : c0ea3fa8
r10: 0001cbc0 r9 : 66016261 r8 : 0001cbf0
r7 : c0f16800 r6 : c0f09494 r5 : c0c36d48 r4 : c0ea2000
r3 : 00000000 r2 : 00000001 r1 : c0ea4b84 r0 : 00000000
Flags: nZCv IRQs on FIQs on Mode SVC_32 Segment kernel
Control: 397F Table: 00004000 DAC: 00000017
[] (show_regs+0x0/0x4c) from [] (report_bad_irq+0x6c/0xcc)
r4 = C0EA3F54
[] (report_bad_irq+0x0/0xcc) from [] (do_level_IRQ+0x80/0xbc
)
r5 = 0000006F r4 = C0EFF990
[] (do_level_IRQ+0x0/0xbc) from [] (asm_do_IRQ+0x54/0x148)
r6 = 80000000 r5 = C0EA2000 r4 = FFFFFFFF
[] (asm_do_IRQ+0x0/0x148) from [] (__irq_svc+0x38/0xb8)
[] (fia320_default_idle+0x0/0x28) from [] (cpu_idle+0x54/0x8
8)
[] (cpu_idle+0x0/0x88) from [] (_text+0x3c/0x44)
r5 = C0EFDE9C r4 = 0000397D
[] (_text+0x0/0x44) from [] (start_kernel+0x188/0x1d0)
[] (start_kernel+0x0/0x1d0) from [] (0x8094)
r6 = C0EA5B7C r5 = C0EFFA3C r4 = 0000397D
handlers:
[] (ata_interrupt+0x0/0x1a0)
ata1: dev 0 configured for UDMA/100
scsi0 : sata_sil
ata2: SATA link down (SStatus 0)
scsi1 : sata_sil
ata3: SATA link down (SStatus 0)
scsi2 : sata_sil
ata4: SATA link down (SStatus 0)
scsi3 : sata_sil
Vendor: ATA Model: Hitachi HTS54321 Rev: FB2O
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
SCSI device sda: drive cache: write back
sda:irq111: nobody cared
Pid: 0, comm: swapper
CPU: 0
PC is at __do_softirq+0x44/0xd0
LR is at irq_exit+0x44/0x58
pc : [] lr : [] Not tainted
sp : c0ea3ee8 ip : c0ea3f0c fp : c0ea3f08
r10: c0ea3f54 r9 : c0efe304 r8 : c0f05c80
r7 : 0000000a r6 : c0ea2000 r5 : c0ea2000 r4 : 00000010
r3 : 20000013 r2 : 00000003 r1 : 00000001 r0 : 00000011
Flags: nzCv IRQs on FIQs on Mode SVC_32 Segment kernel
Control: 397F Table: 00004000 DAC: 00000017
[] (show_regs+0x0/0x4c) from [] (report_bad_irq+0x6c/0xcc)
r4 = C0EA3EA0
[] (report_bad_irq+0x0/0xcc) from [] (do_level_IRQ+0x80/0xbc
)
r5 = 0000006F r4 = C0EFF990
[] (do_level_IRQ+0x0/0xbc) from [] (asm_do_IRQ+0x54/0x148)
r6 = 80000000 r5 = C0EA2000 r4 = FFFFFFFF
[] (asm_do_IRQ+0x0/0x148) from [] (__irq_svc+0x38/0xb8)
[] (__do_softirq+0x0/0xd0) from [] (irq_exit+0x44/0x58)
r8 = 00000001 r7 = 00000002 r6 = 80000000 r5 = C0EA2000
r4 = C0EA2000
[] (irq_exit+0x0/0x58) from [] (asm_do_IRQ+0x134/0x148)
r4 = FFFFFFFF
[] (asm_do_IRQ+0x0/0x148) from [] (__irq_svc+0x38/0xb8)
[] (fia320_default_idle+0x0/0x28) from [] (cpu_idle+0x54/0x8
8)
[] (cpu_idle+0x0/0x88) from [] (_text+0x3c/0x44)
r5 = C0EFDE9C r4 = 0000397D
[] (_text+0x0/0x44) from [] (start_kernel+0x188/0x1d0)
[] (start_kernel+0x0/0x1d0) from [] (0x8094)
r6 = C0EA5B7C r5 = C0EFFA3C r4 = 0000397D
handlers:
[] (ata_interrupt+0x0/0x1a0)
sda1 sda2
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
|
用的跟我一样的芯片,sil_3512,你这多半是虚拟内存映射不对.