orangesquid (os) wrote,
orangesquid
os

500gb drive on ali15x3

I have a 500gb drive on an old machine (BIOS doesn't like drives more than a few gigs... 8.5gb limit maybe?), and linux kernel 2.6.10 has issues reading it...

boot dmesg:
...
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ALI15X3: IDE controller at PCI slot 0000:00:0b.0
ALI15X3: chipset revision 32
ALI15X3: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x7830-0x7837, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0x7838-0x783f, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: Maxtor 33073H3, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdd: WDC WD5000AAKB-00H8A0, ATA DISK drive
ide1 at 0x170-0x177,0x376 on irq 15
pnp: the driver 'ide' has been registered
Probing IDE interface ide2...
ide2: Wait for ready failed before probe !
Probing IDE interface ide3...
ide3: Wait for ready failed before probe !
Probing IDE interface ide4...
ide4: Wait for ready failed before probe !
Probing IDE interface ide5...
ide5: Wait for ready failed before probe !
hda: max request size: 128KiB
hda: 60032448 sectors (30736 MB) w/2048KiB Cache, CHS=59556/16/63, (U)DMA
hda: cache flushes not supported
hda: hda1 hda2 hda3
hdd: max request size: 128KiB
hdd: cannot use LBA48 DMA - PIO mode will be used for accessing sectors > 268435456
hdd: 976773168 sectors (500107 MB) w/16384KiB Cache, CHS=60801/255/63, (U)DMA
hdd: cache flushes supported
hdd:<4>hdd: dma_timer_expiry: dma status == 0x41
hdd: DMA timeout error
hdd: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest }

ide: failed opcode was: unknown
hdd: irq timeout: status=0xd0 { Busy }

ide: failed opcode was: unknown
ide1: reset: master: error (0x7f?)
hdd: dma_timer_expiry: dma status == 0x41
hdd: DMA timeout error
hdd: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest }

ide: failed opcode was: unknown
hdd: irq timeout: status=0xd0 { Busy }

ide: failed opcode was: unknown
ide1: reset: master: error (0x7f?)
end_request: I/O error, dev hdd, sector 8
Buffer I/O error on device hdd, logical block 1
end_request: I/O error, dev hdd, sector 8
Buffer I/O error on device hdd, logical block 1
Dev hdd: unable to read RDB block 8
end_request: I/O error, dev hdd, sector 24
Buffer I/O error on device hdd, logical block 3
end_request: I/O error, dev hdd, sector 24
Buffer I/O error on device hdd, logical block 3
unable to read partition table
...
irq 15: nobody cared!
[<c01036d6>] dump_stack+0x16/0x20
[<c012d243>] __report_bad_irq+0x23/0x80
[<c012d330>] note_interrupt+0x50/0x80
[<c012ce48>] __do_IRQ+0xe8/0x100
[<c01048f9>] do_IRQ+0x39/0x60
=======================
[<c010323a>] common_interrupt+0x1a/0x20
[<c01049fc>] do_softirq+0x3c/0x60
=======================
[<c0104900>] do_IRQ+0x40/0x60
[<c010323a>] common_interrupt+0x1a/0x20
handlers:
[<c0225d60>] (ide_intr+0x0/0x120)
Disabling IRQ #15

--

After playing with hdparm a good bit, here's /proc/ide/hdd/settings:
name                    value           min             max             mode
----                    -----           ---             ---             ----
acoustic                0               0               254             rw
address                 1               0               2               rw
bios_cyl                60801           0               65535           rw
bios_head               255             0               255             rw
bios_sect               63              0               63              rw
bswap                   0               0               1               r
current_speed           34              0               70              rw
failures                5               0               65535           rw
init_speed              34              0               70              rw
io_32bit                1               0               3               rw
keepsettings            1               0               1               rw
lun                     0               0               7               rw
max_failures            1               0               65535           rw
multcount               0               0               16              rw
nice1                   1               0               1               rw
nowerr                  0               0               1               rw
number                  3               0               3               rw
pio_mode                write-only      0               255             w
unmaskirq               1               0               1               rw
using_dma               0               0               1               rw
wcache                  1               0               1               rw


Calling hdparm -w /dev/hdd gives:
ide1: reset: master: error (0x7f?)
in the kernel ring buffer.

dd if=/dev/hdd of=/dev/null count=1 gives an I/O error and:
--
end_request: I/O error, dev hdd, sector 0
Buffer I/O error on device hdd, logical block 0
end_request: I/O error, dev hdd, sector 8
Buffer I/O error on device hdd, logical block 1
end_request: I/O error, dev hdd, sector 16
Buffer I/O error on device hdd, logical block 2
end_request: I/O error, dev hdd, sector 24
Buffer I/O error on device hdd, logical block 3
end_request: I/O error, dev hdd, sector 32
Buffer I/O error on device hdd, logical block 4
end_request: I/O error, dev hdd, sector 40
Buffer I/O error on device hdd, logical block 5
end_request: I/O error, dev hdd, sector 48
Buffer I/O error on device hdd, logical block 6
end_request: I/O error, dev hdd, sector 56
Buffer I/O error on device hdd, logical block 7
end_request: I/O error, dev hdd, sector 64
Buffer I/O error on device hdd, logical block 8
end_request: I/O error, dev hdd, sector 72
Buffer I/O error on device hdd, logical block 9
end_request: I/O error, dev hdd, sector 80
Buffer I/O error on device hdd, logical block 10
end_request: I/O error, dev hdd, sector 88
Buffer I/O error on device hdd, logical block 11
end_request: I/O error, dev hdd, sector 96
Buffer I/O error on device hdd, logical block 12
end_request: I/O error, dev hdd, sector 104
Buffer I/O error on device hdd, logical block 13
end_request: I/O error, dev hdd, sector 112
Buffer I/O error on device hdd, logical block 14
end_request: I/O error, dev hdd, sector 120
Buffer I/O error on device hdd, logical block 15
end_request: I/O error, dev hdd, sector 0
Buffer I/O error on device hdd, logical block 0
--
in the kernel ring buffer.

google doesn't have much to offer</a>.
I may be running into a 34GB limit or the 137GB limit...
  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

  • 0 comments