天嵌 ARM开发社区

 找回密码
 注册
查看: 2763|回复: 5

内核中IDE驱动

[复制链接]
zuiqiang 发表于 2011-3-7 10:19:07 | 显示全部楼层 |阅读模式
下面是我的调试信息,这个错误是怎么回事哪
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
I'm ide arm init
S3C2440 IDE Init -wyj!!
I'm in ide generic init
I'm in ideprobe_init
I'm in probe_hwif
I'm in probe for drive
I'm in do probe
hda: IC25N020ATMR04-0, ATA DISK drive
I'm out do probe
I'm out probe for drive
I'm in probe for drive
I'm in do probe
I'm out do probe
I'm in do probe
I'm out do probe
I'm out probe_hwif
I'm in probe_hwif
ide1: I/O resource 0x0-0x0 not free.
ide1: ports already in use, skipping probe
I'm in probe_hwif
ide2: I/O resource 0x0-0x0 not free.
Trying to free nonexistent resource <0000000000000000-0000000000000000>
Trying to free nonexistent resource <0000000000000000-0000000000000000>
Trying to free nonexistent resource <0000000000000000-0000000000000000>
。。。。。。。。。。。。。。。
Trying to free nonexistent resource <0000000000000000-0000000000000000>
 楼主| zuiqiang 发表于 2011-3-7 10:58:37 | 显示全部楼层
修改了下ide_arm_init的位置,出现hda: IRQ probe failed (0x0),但是硬件都连接了,用的eint0,怎么会失败那,看代码这个同名函数太多了,不知道调用的那个
回复

使用道具 举报

 楼主| zuiqiang 发表于 2011-3-7 17:11:58 | 显示全部楼层
已解决。。。。。。。。。。
回复

使用道具 举报

天嵌_support1 发表于 2011-3-7 17:24:53 | 显示全部楼层
2# zuiqiang


出现hda: IRQ probe failed (0x0)
是驱动中断处理的问题吧。
把你解决的心沥路程和网友们分享分享哦
回复

使用道具 举报

 楼主| zuiqiang 发表于 2011-3-8 14:22:57 | 显示全部楼层
init_ide_data()函数写错了,中断用的默认的而不是自己编写的代码
回复

使用道具 举报

天嵌_support1 发表于 2011-3-8 14:42:31 | 显示全部楼层
:)
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2025-5-3 23:48 , Processed in 2.035176 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表