Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Apr 1999 15:44:51 +0100
From:      David Malone <dwmalone@maths.tcd.ie>
To:        freebsd-current@freebsd.org, grog@freebsd.org
Subject:   New SiS 5591 ide chipset support.
Message-ID:   <9904061544.aa29995@salmon.maths.tcd.ie>

next in thread | raw e-mail | index | archive | help
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<rdy,seekdone> error 0)
wd0: wdtimeout() DMA status 0
wd0: interrupt timeout (status 50<rdy,seekdone> error 1<no_dam>)
wd0: wdtimeout() DMA status 0
wd0: interrupt timeout (status 50<rdy,seekdone> error 1<no_dam>)
wd0: wdtimeout() DMA status 0
wd0: interrupt timeout (status 50<rdy,seekdone> error 1<no_dam>)
wd0: wdtimeout() DMA status 0
.
.
.

The first thing is that I guess the <no_dam> should be <no_dma>,
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: <PCI IDE controller (busmaster capable)> 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: <SiS 5591 Bus-Master IDE controler> 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) <ST32122A>, 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi? <9904061544.aa29995>