mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andre Hedrick <andre@linuxdiskcert.org>
To: Arkadiusz Miskiewicz <misiek@pld.ORG.PL>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Andre IDE patches + Promise, UDMA detection
Date: Wed, 16 Jan 2002 16:26:22 -0800 (PST)	[thread overview]
Message-ID: <Pine.LNX.4.10.10201161624120.30663-100000@master.linux-ide.org> (raw)
In-Reply-To: <87n0zd25qx.fsf@arm.t19.ds.pwr.wroc.pl>


Because sometimes the decay rate of the capacitance check after execute
drive diagnostics command from POST is faster than boot.

Also if this problem happens only after a cold boot, but a warm boot is
valid, you can set the CONFIG_IDEDMA_IVB=y

Regards,

On 17 Jan 2002, Arkadiusz Miskiewicz wrote:

> 
> Hi,
> 
> I'm using 2.4.17 with ide.2.4.16.12102001.patch.bz2 + other
> patches (listed here: http://cvs.pld.org.pl/SPECS/kernel.spec?rev=1.70.2.390)
> on FIC LX based (quite old) mainboard + external PCI controller:
> 
> 00:07.1 IDE interface: Intel Corp. 82371AB PIIX4 IDE (rev 01)
> 00:08.0 Unknown mass storage controller: Promise Technology, Inc. 20268 (rev 01)
> 
> My IDE setup is fully modular (well, whole kernel is):
> xfs                   479200   4  (autoclean)
> xfs_support             6216   0  (autoclean) [xfs]
> pagebuf                22112   4  (autoclean) [xfs xfs_support]
> nls_iso8859-1           2880   1  (autoclean)
> nls_cp437               4384   1  (autoclean)
> vfat                    9788   1  (autoclean)
> fat                    30680   0  (autoclean) [vfat]
> sr_mod                 13656   0  (autoclean) (unused)
> scsi_mod               86776   1  (autoclean) [sr_mod]
> ide-cd                 27552   0 
> cdrom                  28320   0  [sr_mod ide-cd]
> ext3                   58772   1  (autoclean)
> ide-disk                9712   8  (autoclean)
> ide-mod               153756   8  (autoclean) [ide-cd ide-disk]
> jbd                    34424   1  (autoclean) [ext3]
> 
> Kernel boots fine:
> Linux version 2.4.17 (builder@kenny) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 Tue Jan 15 13:19:47 UTC 2002
> ...
> Freeing initrd memory: 174k freed
> VFS: Mounted root (romfs filesystem) readonly.
> Journalled Block Device driver loaded
> Uniform Multi-Platform E-IDE driver Revision: 6.31
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> PIIX4: IDE controller on PCI bus 00 dev 39
> PIIX4: chipset revision 1
> PIIX4: not 100% native mode: will probe irqs later
>     ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:pio, hdb:pio
>     ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
> PDC20268: IDE controller on PCI bus 00 dev 40
> PCI: Found IRQ 11 for device 00:08.0
> PDC20268: chipset revision 1
> PDC20268: not 100% native mode: will probe irqs later
> PDC20268: ROM enabled at 0xea000000
>     ide2: BM-DMA at 0xe400-0xe407, BIOS settings: hde:pio, hdf:pio
>     ide3: BM-DMA at 0xe408-0xe40f, BIOS settings: hdg:pio, hdh:pio
> hda: ASUS CD-S500/A, ATAPI CD/DVD-ROM drive
> hde: IBM-DTLA-307030, ATA DISK drive
> hdf: IBM-DTLA-305040, ATA DISK drive
> hdh: ST360021A, ATA DISK drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide2 at 0xd400-0xd407,0xd802 on irq 11
> ide3 at 0xdc00-0xdc07,0xe002 on irq 11
> hde: 60036480 sectors (30739 MB) w/1916KiB Cache, CHS=59560/16/63, UDMA(33)
> hdf: 80418240 sectors (41174 MB) w/380KiB Cache, CHS=79780/16/63, UDMA(33)
> hdh: 117231408 sectors (60022 MB) w/2048KiB Cache, CHS=116301/16/63, UDMA(33)
> Partition check:
>  /dev/ide/host2/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 >
>  /dev/ide/host2/bus0/target1/lun0: p1 p2
>  /dev/ide/host2/bus1/target1/lun0: p1
> kjournald starting.  Commit interval 5 seconds
> EXT3-fs: mounted filesystem with ordered data mode.
> VFS: Mounted root (ext3 filesystem) readonly.
> 
> Unfortunately it thinks that all my harddrives (connected to promise
> via 80wire cable) are UDMA33! Now _sometimes_ after boot it detects
> these (properly) as UDMA100 and sometimes (seems more frequently)
> as UDMA33.
> 
> Now when ide module detect my disk as UDMA33 and I have in my
> initscripts hdparm (4.6) -X69 -c1 -d1 -m16 then some my processes
> hang in D-state accessing hardrive (hdh for example).
> Removing -X69 fixes that even if my kernel thinks that my drivers
> are UDMA33 only... 
> 
> So now it will be great to get ide module properly detecting UDMA.
> -- 
> Arkadiusz Mi¶kiewicz   IPv6 ready PLD Linux at http://www.pld.org.pl
> misiek(at)pld.org.pl   AM2-6BONE, 1024/3DB19BBD, arekm(at)ircnet, PWr
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 

Andre Hedrick
Linux Disk Certification Project                Linux ATA Development


  reply	other threads:[~2002-01-17  0:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-17  0:14 Arkadiusz Miskiewicz
2002-01-17  0:26 ` Andre Hedrick [this message]
2002-01-17  8:31   ` Arkadiusz Miskiewicz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.10.10201161624120.30663-100000@master.linux-ide.org \
    --to=andre@linuxdiskcert.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=misiek@pld.ORG.PL \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®