Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Sep 1998 16:12:52 GMT
From:      Gilad Rom <lickyou@localhost.my.domain>
To:        current@FreeBSD.ORG
Subject:   UDMA Problems.
Message-ID:  <199809191612.QAA00309@localhost.my.domain>

next in thread | raw e-mail | index | archive | help

I have been having problems enabling my EIDE controller's support for DMA.

The controller works fine when setting the flags to 0x80ff, but it barfs whenever
trying to set the flags to 0xa0ff. 

dmesg says the controller is busmaster capable, yet it hangs when trying to mount
the filesystem. Here is an output of dmesg, together with the error messages:

pentium% dmesg 
Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 3.0-CURRENT #7: Sat Sep 19 15:52:21 GMT 1998
    lickyou@pentium:/usr/src/sys/compile/KERNEL
Timecounter "i8254"  frequency 1193182 Hz  cost 1479 ns
Timecounter "TSC"  frequency 233288116 Hz  cost 98 ns
CPU: Pentium/P55C (233.29-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x543  Stepping=3
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  = 100663296 (98304K bytes)
avail memory = 95539200 (93300K bytes)
Probing for devices on PCI bus 0:
chip0: <Host to PCI bridge (vendor=10b9 device=1531)> rev 0xb3 on pci0.0.0
chip1: <PCI to ISA bridge (vendor=10b9 device=1533)> rev 0xb4 on pci0.2.0
vga0: <ATI model 4755 graphics accelerator> rev 0x9a on pci0.5.0
ide_pci0: <PCI IDE controller (busmaster capable)> rev 0x20 int a irq 0 on pci0.11.0
ide_pci: controller is simplex, no DMA on secondary channel
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio1 at 0x3f8-0x3ff irq 4 on isa
sio1: type 16550A
sio2 at 0x2f8-0x2ff irq 3 on isa
sio2: type 16550A
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa
ide_pci: generic_dmainit 01f0:1: warning, IDE controller timing not set
wdc0: unit 0 (wd0): <WDC AC34300L>, DMA, 32-bit, multi-block-16
wd0: 4104MB (8406720 sectors), 8896 cyls, 15 heads, 63 S/T, 512 B/S
wdc0: unit 1 (atapi): <BCD-20X 1997-05-25/VER 2.0>, removable, accel, dma, iordy
wcd0: 515/1718Kb/sec, 128Kb cache, audio play, 255 volume levels, ejectable tray
wcd0: 120mm data disc loaded, unlocked
npx0 flags 0x1 on motherboard
npx0: INT 16 interface
sb0 at 0x220 irq 5 drq 1 on isa
snd0: <SoundBlaster 16 4.13> 
sbxvi0 at ? drq 5 on isa
snd0: <SoundBlaster 16 4.13> 
sbmidi0 at 0x330 on isa
snd0: <SoundBlaster MPU-401> 
Intel Pentium F00F detected, installing workaround
changing root device to wd0s2a
--> (now the system hangs, with the hard drive LED on, timing out for 5-10 seconds, 
     and then the output:)
wd0: interrupt timeout:
wd0: status50<rdy, seekdone> error 0
wd0: wdtimeout() DMA status 0
--> ( now another short timeout... )
wd0: interrupt timeout:
wd0: status 50<rdy, seekdone> error 1<no_dam>

Now the system hangs completely and stops responding.
It works fine when I set the wdc0 flags to 0x80ff, however, I was hoping
to find out what is wrong with it.
The motherboard Chipset is a TXPro one, are there any known problems/faults with
this kind of chipset?

Thanks, Gilad.

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?199809191612.QAA00309>