Messages in this thread Patch in this message | | | From | Bartlomiej Zolnierkiewicz <> | Subject | Re: 2.6.2-rc3-mm1 | Date | Wed, 4 Feb 2004 01:00:40 +0100 |
| |
On Wednesday 04 of February 2004 00:47, Alistair John Strachan wrote: > On Tuesday 03 February 2004 18:32, Bartlomiej Zolnierkiewicz wrote: > > 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-r > > > >c3 /2 .6 .2-rc3-mm1/ > > > > > > > > <...> > > > > > > > > > > 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: > > Neither suggestion changes the behaviour. I've got the BIOS enabled, but in > the past it's made no difference. I still see lost interrupts.
Please try this debugging patch to see it hangs on idedisk_setup()->write_cache().
--- linux/drivers/ide/ide-disk.c 2004-02-04 00:57:49.000000000 +0100 +++ linux-2.6.2-rc3-bk3/drivers/ide/ide-disk.c 2004-02-04 00:58:58.571025744 +0100 @@ -1668,8 +1668,10 @@ #endif /* CONFIG_IDEDISK_MULTI_MODE */ } drive->no_io_32bit = id->dword_io ? 1 : 0; + printk(KERN_INFO "%s: before write_cache()\n", drive->name); if (drive->id->cfs_enable_2 & 0x3000) write_cache(drive, (id->cfs_enable_2 & 0x3000)); + printk(KERN_INFO "%s: after write_cache()\n", drive->name); #ifdef CONFIG_BLK_DEV_IDE_TCQ_DEFAULT if (drive->using_dma) - 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/
| |