linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
To: s0348365@sms.ed.ac.uk, Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: 2.6.2-rc3-mm1
Date: Tue, 3 Feb 2004 19:32:52 +0100	[thread overview]
Message-ID: <200402031932.52913.bzolnier@elka.pw.edu.pl> (raw)
In-Reply-To: <200402031739.43321.s0348365@sms.ed.ac.uk>

On Tuesday 03 of February 2004 18:39, Alistair John Strachan wrote:
> On Tuesday 03 February 2004 07:58, Andrew Morton wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.2-rc3/2
> >.6 .2-rc3-mm1/
> >
> >
> > - There is a debug patch in here which detects when someone calls
> >   i_size_write() without holding the inode's i_sem.  It generates a
> > warning and a stack backtrace.  We know that XFS generates such a trace. 
> > It will turn itself off after the first ten warnings.  Please don't
> > report the XFS case.
> >
> > - Added the CPU hotplug code.
> >
> > - This kernel is currently broken on ppc64.  Something to do with the
> >   sched-domains patch although at this stage we do not know whether the
> >   problem lies with that patch or with the ppc64 code.
> >
> > - A big Altix update
> >
> > - Latest versions of various other developers' trees.  See below for
> >   details.
> >
> > - Various other fixes
>
> Doesn't boot on this machine. It hangs after:
>
> NFORCE2: 0000:00:09.0 (rev a2) UDMA133 controller
>     ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
>     ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
> hda: Maxtor 6Y080P0, ATA DISK drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> hdc: CD-RW CR52, ATAPI CD/DVD-ROM drive
> hdd: SAMSUNG DVD-ROM SD-616Q, ATAPI CD/DVD-ROM drive
> ide1 at 0x170-0x177,0x376 on irq 15
> PDC20270: IDE controller at PCI slot 0000:01:09.0
> PDC20270: chipset revision 2
> PDC20270: 100% native mode on irq 17
>     ide2: BM-DMA at 0xd000-0xd007, BIOS settings: hde:pio, hdf:pio
>     ide3: BM-DMA at 0xd008-0xd00f, BIOS settings: hdg:pio, hdh:pio
> hde: Maxtor 6Y120P0, ATA DISK drive
> ide2 at 0xc000-0xc007,0xc402 on irq 17
> hdg: Maxtor 6Y120P0, ATA DISK drive
> ide3 at 0xc800-0xc807,0xcc02 on irq 17
> hda: max request size: 128KiB
> hda: 160086528 sectors (81964 MB) w/7936KiB Cache, CHS=65535/16/63,
> UDMA(133) /dev/ide/host0/bus0/target0/lun0: p1 p2 p3
> hde: max request size: 128KiB
>
> 30 seconds later, I get something like:
>
> hde: lost interrupt
> hde: lost interrupt

It seems kernel hangs in ide-disk.c, idedisk_setup()->write_cache()->...

> The kernel does not recover. Presumably it is a problem specific to my PDC
> IDE controller.

Do you run with Promise BIOS disabled?  If so please try booting kernel with
"hde=autotune hdg=autotune" parameters.  If still no-go, try this patch:

 linux-2.6.2-rc3-bk3-root/drivers/ide/pci/pdc202xx_new.c |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff -puN drivers/ide/pci/pdc202xx_new.c~pdc202xx_new_pio_fix drivers/ide/pci/pdc202xx_new.c
--- linux-2.6.2-rc3-bk3/drivers/ide/pci/pdc202xx_new.c~pdc202xx_new_pio_fix	2004-02-03 19:19:38.946159184 +0100
+++ linux-2.6.2-rc3-bk3-root/drivers/ide/pci/pdc202xx_new.c	2004-02-03 19:31:19.744621624 +0100
@@ -140,6 +140,7 @@ static int check_in_drive_lists (ide_dri
 	return 0;
 }
 
+#if 0
 static int pdcnew_tune_chipset (ide_drive_t *drive, u8 xferspeed)
 {
 	ide_hwif_t *hwif	= HWIF(drive);
@@ -241,6 +242,7 @@ static int pdcnew_tune_chipset (ide_driv
 
 	return (ide_config_drive_speed(drive, speed));
 }
+#endif
 
 static int pdcnew_new_tune_chipset (ide_drive_t *drive, u8 xferspeed)
 {
@@ -294,8 +296,8 @@ static int config_chipset_for_pio (ide_d
 
 	if (pio == 5) pio = 4;
 	speed = XFER_PIO_0 + ide_get_best_pio_mode(drive, 255, pio, NULL);
-        
-	return ((int) pdcnew_tune_chipset(drive, speed));
+
+	return pdcnew_new_tune_chipset(drive, speed);
 }
 
 static void pdcnew_tune_drive (ide_drive_t *drive, u8 pio)
@@ -590,10 +592,7 @@ static void __init init_hwif_pdc202new (
 	hwif->speedproc = &pdcnew_new_tune_chipset;
 	hwif->resetproc = &pdcnew_new_reset;
 
-	if (!hwif->dma_base) {
-		hwif->drives[0].autotune = hwif->drives[1].autotune = 1;
-		return;
-	}
+	hwif->drives[0].autotune = hwif->drives[1].autotune = 1;
 
 	hwif->ultra_mask = 0x7f;
 	hwif->mwdma_mask = 0x07;

_


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>

  reply	other threads:[~2004-02-03 18:32 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-03  7:58 2.6.2-rc3-mm1 Andrew Morton
2004-02-03  9:58 ` 2.6.2-rc3-mm1 Prakash K. Cheemplavam
2004-02-03 10:10   ` 2.6.2-rc3-mm1 Prakash K. Cheemplavam
2004-02-03 10:16 ` 2.6.2-rc3-mm1 Helge Hafting
2004-02-03 10:33 ` 2.6.2-rc3-mm1 Andrew Morton
2004-02-03 17:39 ` 2.6.2-rc3-mm1 Alistair John Strachan
2004-02-03 18:32   ` Bartlomiej Zolnierkiewicz [this message]
2004-02-03 23:47     ` 2.6.2-rc3-mm1 Alistair John Strachan
2004-02-04  0:00       ` 2.6.2-rc3-mm1 Bartlomiej Zolnierkiewicz
2004-02-04  0:17         ` 2.6.2-rc3-mm1 Alistair John Strachan
2004-02-04  0:35           ` 2.6.2-rc3-mm1 Bartlomiej Zolnierkiewicz
2004-02-04  1:03             ` 2.6.2-rc3-mm1 Alistair John Strachan
2004-02-04  1:29               ` 2.6.2-rc3-mm1 Bartlomiej Zolnierkiewicz
     [not found]       ` <Pine.LNX.4.58.0402031941560.665@uberdeity>
2004-02-04 10:05         ` 2.6.2-rc3-mm1 Alistair John Strachan

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=200402031932.52913.bzolnier@elka.pw.edu.pl \
    --to=b.zolnierkiewicz@elka.pw.edu.pl \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=s0348365@sms.ed.ac.uk \
    /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