Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264060AbTFWXgP (ORCPT ); Mon, 23 Jun 2003 19:36:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264181AbTFWXgP (ORCPT ); Mon, 23 Jun 2003 19:36:15 -0400 Received: from dvmwest.gt.owl.de ([62.52.24.140]:9479 "EHLO dvmwest.gt.owl.de") by vger.kernel.org with ESMTP id S264060AbTFWXgG (ORCPT ); Mon, 23 Jun 2003 19:36:06 -0400 Date: Tue, 24 Jun 2003 01:50:13 +0200 From: Jan-Benedict Glaw To: Bartlomiej Zolnierkiewicz Cc: axboe@suse.de, linux-kernel@vger.kernel.org Subject: Re: Testing IDE-TCQ and Taskfile - doesn't work nicely:) Message-ID: <20030623235013.GZ6353@lug-owl.de> Mail-Followup-To: Bartlomiej Zolnierkiewicz , axboe@suse.de, linux-kernel@vger.kernel.org References: <20030623194514.GW6353@lug-owl.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qKjsupNRLbaULa5O" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Operating-System: Linux mail 2.4.18 X-gpg-fingerprint: 250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 8399 E1BB X-gpg-key: wwwkeys.de.pgp.net Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4295 Lines: 117 --qKjsupNRLbaULa5O Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, 2003-06-23 23:18:00 +0200, Bartlomiej Zolnierkiewicz wrote in message : > On Mon, 23 Jun 2003, Jan-Benedict Glaw wrote: > > I've played a bit with my "mirror" machine > > > > - 200MHz Pentium-MMX > > - 64MB RAM > > - jbglaw@mirror:~$ cat /proc/ide/hd*/model > > WDC AC2850F # System drive > > IC35L040AVER07-0 # \ > > IC35L120AVV207-0 # > Storage (with DM/LVM) > > Maxtor 4W100H6 # / > > - jbglaw@mirror:~$ lspci |grep IDE > > 00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01) > > - Linux v2.5.73 > > - <*> Intel PIIXn chipsets support > > > > Basically, if I enable Taskfile I/O, the box refuses to boot (basically, > > the first drive sounds really broken like "clack clack clack" and no > > data comes off the drive so there's no partition table, no root FS, but > > a panic:) Is anybody interested in nailing this bug down? >=20 > YES I'll note down this one after having had a little sleep... > > Disabling Taskfile lets me boot the box, but hdc doesn't like TCQ and > > gives errors: > > > > ide_tcq_intr_timeout: timeout waiting for service interrupt > > ide_tcq_intr_timeout: missing isr! > > hdc: invalidating tag queue (0 commands) > > hdc: drive_cmd: status=3D0x51 { DriveReady SeekComplete Error } > > hdc: drive_cmd: error=3D0x04 { DriveStatusError } > > [above messages repeat...] >=20 > TCQ shouldn't be enabled on hdc, you have two drives on second ide > channel and current TCQ driver design allows only one drive per channel, > so proper fix is to not enable TCQ :-). Your patch works for me - TCQ gets no longer stitched on while I've configured to default ON, queue depth 32: Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=3D= xx PIIX4: IDE controller at PCI slot 00:07.1 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 hda: WDC AC2850F, ATA DISK drive hdb: IC35L040AVER07-0, ATA DISK drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 hdc: IC35L120AVV207-0, ATA DISK drive hdd: Maxtor 4W100H6, ATA DISK drive ide1 at 0x170-0x177,0x376 on irq 15 hda: max request size: 128KiB hda: task_no_data_intr: status=3D0x51 { DriveReady SeekComplete Error } hda: task_no_data_intr: error=3D0x04 { DriveStatusError } hda: 1667232 sectors (854 MB) w/64KiB Cache, CHS=3D1654/16/63, DMA hda: hda1 hda2 hda3 hdb: max request size: 128KiB hdb: host protected area =3D> 1 hdb: 80418240 sectors (41174 MB) w/1916KiB Cache, CHS=3D79780/16/63, UDMA(3= 3) hdb: hdb1 hdb2 hdb3 hdb4 hdc: max request size: 1024KiB hdc: host protected area =3D> 1 hdc: 241254720 sectors (123522 MB) w/1821KiB Cache, CHS=3D15017/255/63, UDM= A(33) hdc: hdc1 < hdc5 hdc6 hdc7 hdc8 hdc9 hdc10 hdc11 hdc12 hdc13 hdc14 hdc15 h= dc16 hdc17 > hdd: max request size: 128KiB hdd: host protected area =3D> 1 hdd: 195711264 sectors (100204 MB) w/2048KiB Cache, CHS=3D194158/16/63, UDM= A(33) hdd: hdd1 < hdd5 hdd6 hdd7 hdd8 hdd9 hdd10 hdd11 hdd12 hdd13 hdd14 > The box is now running for a couple of minuted hitting it's HDDs with rsync... MfG, JBG --=20 Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481 "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg fuer einen Freien Staat voll Freier B=FCrger" | im Internet! | im Ira= k! ret =3D do_actions((curr | FREE_SPEECH) & ~(IRAQ_WAR_2 | DRM | TCPA)); --qKjsupNRLbaULa5O Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+95I1Hb1edYOZ4bsRAu4wAJ93eR3DZhxZkNgfWgW8mLTgoOhosACePefe F45Rip1hZ5/QtXeM7jqeTXc= =wHHc -----END PGP SIGNATURE----- --qKjsupNRLbaULa5O-- - 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/