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

Unable to access a IDE HDD sitting of an Silicon Image ATA PCI controller card



Hello,

I have a PC with a Silicon Image Chipset based IDE controller card. I
cannot access the drive thats plugged into it. eg.

first some info:

sol:~# uname -a
Linux sol 2.4.26 #1 Tue Jun 22 11:58:18 WST 2004 i686 unknown

sol:~# ls -alF /proc/ide/
total 0
dr-xr-xr-x    3 root     root            0 Jun 22 13:35 ./
dr-xr-xr-x   43 root     root            0 Jun 22 13:34 ../
-r--r--r--    1 root     root            0 Jun 22 13:35 drivers
lrwxrwxrwx    1 root     root            8 Jun 22 13:35 hda -> ide0/hda/
dr-xr-xr-x    3 root     root            0 Jun 22 13:35 ide0/
-r--r--r--    1 root     root            0 Jun 22 13:35 piix

sol:~# lsmod
Module                  Size  Used by    Not tainted
eepro100               18668   1
mii                     2384   0  [eepro100]
af_packet              11816   1
rtc                     6012   0  (autoclean)
unix                   13924   2  (autoclean)

-- lspci -vv snip --
02:02.0 RAID bus controller: CMD Technology Inc: Unknown device 0680
(rev 02)
        Subsystem: CMD Technology Inc: Unknown device 3680
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR+ FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 32, cache line size 01
        Interrupt: pin A routed to IRQ 17
        Region 0: I/O ports at cc00 [size=8]
        Region 1: I/O ports at c800 [size=4]
        Region 2: I/O ports at c400 [size=8]
        Region 3: I/O ports at c000 [size=4]
        Region 4: I/O ports at bc00 [size=16]
        Region 5: Memory at ff8ffc00 (32-bit, non-prefetchable)
[size=256]
        Expansion ROM at ff800000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 2
                Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=2 PME-
-- end snip --

... Ok. Now bring in the module ...

sol:~# modprobe siimage
sol:~# dmesg | tail -6
SiI680: IDE controller at PCI slot 02:02.0
SiI680: chipset revision 2
SiI680: not 100% native mode: will probe irqs later
SiI680: BASE CLOCK == 133
    ide2: MMIO-DMA , BIOS settings: hde:pio, hdf:pio
    ide3: MMIO-DMA , BIOS settings: hdg:pio, hdh:pio
sol:~# fdisk /dev/hde
 
Unable to open /dev/hde
sol:~# fdisk /dev/hdf
 
Unable to open /dev/hdf
sol:~# fdisk /dev/hdg
 
Unable to open /dev/hdg
sol:~# fdisk /dev/hdh
 
Unable to open /dev/hdh

The interesting thing is that /proc/ide remains unchanged

sol:~# ls -alF /proc/ide/
total 0
dr-xr-xr-x    3 root     root            0 Jun 22 13:43 ./
dr-xr-xr-x   43 root     root            0 Jun 22 13:34 ../
-r--r--r--    1 root     root            0 Jun 22 13:43 drivers
lrwxrwxrwx    1 root     root            8 Jun 22 13:43 hda -> ide0/hda/
dr-xr-xr-x    3 root     root            0 Jun 22 13:43 ide0/
-r--r--r--    1 root     root            0 Jun 22 13:43 piix

and I cannot remove the module from the kernel

sol:~# rmmod siimage
siimage: Device or resource busy
sol:~# lsmod
Module                  Size  Used by    Not tainted
siimage                 7520   1
eepro100               18668   1
mii                     2384   0  [eepro100]
af_packet              11816   1
rtc                     6012   0  (autoclean)
unix                   13924   3  (autoclean)

sol:~# cat /proc/interrupts
           CPU0
  0:      71719    IO-APIC-edge  timer
  1:          2    IO-APIC-edge  keyboard
  2:          0          XT-PIC  cascade
  8:          3    IO-APIC-edge  rtc
 14:       4398    IO-APIC-edge  ide0
 17:       3351   IO-APIC-level  eth0
NMI:          0
LOC:      71676
ERR:          0
MIS:          0

Any ideas of where I should go from here?

Kind Regards

Crispin Wellington
Network Administrator
Christ Church Grammar School




Reply to: