lkml.org 
[lkml]   [2008]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subjectkernel 2.6.25 with ide driver cs5520 does not boot.
From
HI, all.
(please CC to me, I'm not on LKML)

kernel 2.6.25 with ide driver cs5520 does not boot.
Attached part of dmesgs as dmesgs.txt

kernel 2.6.23 with cs5520 is works correct. cs5520 scans ide0 and ide1.
kernel 2.6.24 with cs5520 is works wrong, but it can boot. cs5520 scans ide0 only.
kernel 2.6.25 with cs5520 is works wrong, it cannot boot.
kernel 2.6.25 with ide-generic(CONFIG_IDE_GENERIC=y) is works correct.

cs5520 of 2.6.24 recognize access mode for hda as DMA. In 2.6.25 as DMA and PIO.
Summaries are:

DMA/PIO ide1 boot
2.6.18 DMA found OK
2.6.19 pio found OK
2.6.20 pio found OK
2.6.21 pio found OK
2.6.22 pio found OK
2.6.23 pio found OK
2.6.24 DMA conflict IO ports OK
2.6.25 DMA and PIO found hang
2.6.25(ide) (PIO?) found OK

Threre are 2 in timing to hang. When system hangs, The access LED of HDD turning on.
In addigion, I mind that an access mode is PIO, and it is DMA.

Timing to hangs are:
1:
hda: IC25N030ATCS04-0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 128KiB
(system hangs)

2:
hda: IC25N030ATCS04-0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 128KiB
hda: 58605120 sectors (300005 MB) w/1768KiB Cache, CHS=58140/16/63
hda: cache flushes not supported
(system hangs)

The pattern 1, I invested with printk() and I guess that system hangs at
idedisk_setup()
init_idedisk_capacity()
idedisk_chech_hpa()
idedisk_read_native_max_address()
ide_no_data_taskfile()
ide_raw_taskfile()
ide_do_drive_cmd() <-- did not return


The pattern 2, I guess that
idedisk_setup()
write_cache()
update_ordered()
blk_queue_ordered() <-- I confirm reached here

* in kernel 2.6.23 with cs5520
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Cyrix 5520: IDE controller at PCI slot 0000:00:12.0
ide0: BM-DMA at 0x5000-0x5007, BIOS settings: hda:pio, hdb:DMA
ide1: BM-DMA at 0x5008-0x500f, BIOS settings: hdc:pio, hdd:DMA
Probing IDE interface ide0...
Clocksource tsc unstable (delta = -214979047 ns)
Time: pit clocksource has been installed.
hda: IC25N030ATCS04-0, ATA DISK drive
PIO clocking = 4
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hda: max request size: 128KiB
hda: 58605120 sectors (30005 MB) w/1768KiB Cache, CHS=58140/16/63
hda: cache flushes not supported
hda: hda1 hda2 hda3

* in kernel 2.6.24 with cs5520
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Cyrix 5520: IDE controller (0x1078:0x0002 rev 0x00) at PCI slot 0000:00:12.0
PCI: Setting latency timer of device 0000:00:12.0 to 64
ide0: BM-DMA at 0x5000-0x5007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0x5000-0x5007 -- Error, ports in use.
Probing IDE interface ide0...
hda: IC25N030ATCS04-0, ATA DISK drive
hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hda: max request size: 128KiB
hda: 58605120 sectors (30005 MB) w/1768KiB Cache, CHS=58140/16/63
hda: cache flushes not supported
hda: hda1 hda2 hda3

* in kernel 2.6.25 with cs5520, 4 patterns
Uniform Multi-Platform E-IDE driver
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Cyrix 5520: IDE controller (0x1078:0x0002 rev 0x00) at PCI slot 0000:00:12.0
ide0: BM-DMA at 0x5000-0x5007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0x5008-0x500f, BIOS settings: hdd:DMA, hdd:DMA
Clocksource tsc unstable (delta = -205934842 ns)
hda: IC25N030ATCS04-0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 128KiB
(system hangs)

Uniform Multi-Platform E-IDE driver
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Cyrix 5520: IDE controller (0x1078:0x0002 rev 0x00) at PCI slot 0000:00:12.0
ide0: BM-DMA at 0x5000-0x5007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0x5008-0x500f, BIOS settings: hdd:DMA, hdd:DMA
Clocksource tsc unstable (delta = -205934842 ns)
hda: IC25N030ATCS04-0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 128KiB
hda: 58605120 sectors (300005 MB) w/1768KiB Cache, CHS=58140/16/63
hda: cache flushes not supported
(system hangs)

Uniform Multi-Platform E-IDE driver
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Cyrix 5520: IDE controller (0x1078:0x0002 rev 0x00) at PCI slot 0000:00:12.0
ide0: BM-DMA at 0x5000-0x5007, BIOS settings: hda:PIO, hdb:DMA
ide1: BM-DMA at 0x5008-0x500f, BIOS settings: hdd:PIO, hdd:DMA
Clocksource tsc unstable (delta = -212338808 ns)
hda: IC25N030ATCS04-0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 128KiB
(system hangs)

Uniform Multi-Platform E-IDE driver
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Cyrix 5520: IDE controller (0x1078:0x0002 rev 0x00) at PCI slot 0000:00:12.0
ide0: BM-DMA at 0x5000-0x5007, BIOS settings: hda:PIO, hdb:DMA
ide1: BM-DMA at 0x5008-0x500f, BIOS settings: hdd:PIO, hdd:DMA
Clocksource tsc unstable (delta = -212338808 ns)
hda: IC25N030ATCS04-0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 128KiB
hda: 58605120 sectors (300005 MB) w/1768KiB Cache, CHS=58140/16/63
hda: cache flushes not supported
(system hangs)

* in kernel 2.6.25 with IDE generic
Uniform Multi-Platform E-IDE driver
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Probing IDE interface ide0...
hda: IC25N030ATCS04-0, ATA DISK drive
Probing IDE interface ide1...
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 128KiB
hda: 58605120 sectors (30005 MB) w/1768KiB Cache, CHS=58140/16/63
hda: cache flushes not supported
hda: hda1 hda2 hda3
\
 
 \ /
  Last update: 2008-05-08 13:31    [W:0.058 / U:7.744 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site