From owner-freebsd-current Tue Apr 6 7:50:28 1999 Delivered-To: freebsd-current@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 93F261510C; Tue, 6 Apr 1999 07:47:11 -0700 (PDT) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 6 Apr 99 15:44:52 +0100 (BST) To: freebsd-current@freebsd.org, grog@freebsd.org Subject: New SiS 5591 ide chipset support. X-Request-Do: Date: Tue, 06 Apr 1999 15:44:51 +0100 From: David Malone Message-ID: <9904061544.aa29995@salmon.maths.tcd.ie> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm having trouble with a kernel built from this mornings make world. It seems to be related to the new SiS 5591 ide chipset support. It gets as far as the automatic reboot in progress and then says: wd0: interrupt timeout (status 50 error 0) wd0: wdtimeout() DMA status 0 wd0: interrupt timeout (status 50 error 1) wd0: wdtimeout() DMA status 0 wd0: interrupt timeout (status 50 error 1) wd0: wdtimeout() DMA status 0 wd0: interrupt timeout (status 50 error 1) wd0: wdtimeout() DMA status 0 . . . The first thing is that I guess the should be , the second is that it seems to sit there doing that for longer than I was willing to wait (it eventually prints a message saying that it presumes it is a laptop and shouldn't print any more of these messages). Backing out the last change to ide_pci.c seems to fix the problem. I've lots of flags turned on in the kernel config file (0xa0ffa0ff), the old kernel complains a little but works fine, the new kernel spots that it is a SiS 5591, but grinds to a halt. If it helps any, the older working kernel prints one timeout message when booting after the bad kernel has been booted, and my root filesystem is actually on wd1. Is my drive/controller not up to the flags I've set, or is this a problem with the new chipset support? Relivent quotes from boot messages/kernel config file below. All the messages from the new kernel are copied by hand, so there will be mistakes. David. In config file: --------------- controller wdc0 at isa? port "IO_WD1" bio irq 14 flags 0xa0ffa0ff The old kernel says: -------------------- ide_pci0: rev 0xc1 int a irq 14 on pci0.1.1 ide_pci: generic_dmainit 01f0:0: warning, IDE controller timing not set The new kernel reports this: ---------------------------- ide_pci0: rev 0xc1 int a irq 14 on pci0.1.1 New kernel with -v: ------------------- SiS 5591 dmainit: primary drive 0 setting ultra DMA mode 2 wd0: wdsetmode() setting transfer mode to 42 SiS 5591 status: CRTC 12 PCICLK, CATC12 PCICLK, applies to all IDE drives SiS 5591 status: burst cycles enabeled, fast post write control enabeled SiS 5591 status: primary drive 0 DRTC 1 PCICLK, DATC 3 PCICLK SiS 5591 status: primary drive 0 Ultra DMA enabeled, 1PCICLK data out SiS 5591 status: primary drive 0 postwrite enabeled, prefetch enabeled prefetch count is 512 SiS 5591 status: primary drive 0 has been configured for DMA wdc0: unit 0 (wd0) , DMA, 32-bit, multi-block-16 wd0: 2014MB (4124736 sectors), 4092 cyls, 16 heads, 63 S/T, 512 B/S wd0: ATA INQUIRE valid = 0007, dmaword = 0007, apio = 0003, vdma = 0407 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message