After cvsuping today and making a new kernel, DMA is no longer working on
my IDE disk with Soren's ata driver. As far as I can see, the only
relevant change between my last working kernel and the new one is a fix
for DMA with the pcm driver (RealPlayer now finally works, thanks Grant).

Here is what I get:

ad0: HARD READ ERROR blk# 46887ad0: DMA problem encountered, fallback to PIO mode
ad0: DMA problem encountered, fallback to PIO mode
ad0: DMA problem encountered, fallback to PIO mode
ad0: DMA problem encountered, fallback to PIO mode
ad0: DMA problem encountered, fallback to PIO mode
ad0: DMA problem encountered, fallback to PIO mode
ad0: DMA problem encountered, fallback to PIO mode
ad0: HARD READ ERROR blk# 46999 status=59 error=01
ad0: DMA problem encountered, fallback to PIO mode

DMA was working fine on this motherboard (Intel AN430TX) and disk (IBM
DTTA-371440) before the recent kernel upgrade (which was done two days
ago). Any ideas?

Following is my kernel configuration and complete dmesg.


machine         i386
cpu             I586_CPU
ident           GOLD
maxusers        32
options         INET
options         FFS
options         FFS_ROOT
options         MFS
options         MSDOSFS
options         CD9660
options         PROCFS
options         COMPAT_43
options         UCONSOLE
options         USERCONFIG
options         VISUAL_USERCONFIG
options         KTRACE
options         SYSVSHM
options         SYSVMSG
options         SYSVSEM
options         AHC_ALLOW_MEMIO
options         SOFTUPDATES
options         COMPAT_LINUX
options         USER_LDT
options         TEL_S0_16_3
options         P1003_1B
options         _KPOSIX_PRIORITY_SCHEDULING
options         _KPOSIX_VERSION=199309L
options         DDB
options         INCLUDE_CONFIG_FILE
controller      isa0
controller      pnp0
controller      pci0
controller      fdc0    at isa? port IO_FD1 irq 6 drq 2
device          fd0     at fdc0 drive 0
controller      ahc0
controller      scbus0
device          da0
device          cd0
device          pass0
controller      ata0
device          atadisk0
controller      atkbdc0 at isa? port IO_KBD
device          atkbd0  at atkbdc? irq 1
device          psm0    at atkbdc? irq 12
device          vga0    at isa? port ? conflicts
pseudo-device   splash
device          sc0     at isa?
device          pcm0
device          joy0
device          npx0    at nexus? port IO_NPX irq 13
device          apm0    at nexus?
controller      card0
controller      pcic0   at isa? port 0x3e0 irq 10 iomem 0xd0000
device          sio0    at isa? port IO_COM1 flags 0x10 irq 4
device          sio1    at isa? port IO_COM2 irq 3
controller      smbus0
controller      intpm0
device          smb0    at smbus?
device          isic0   at isa? port 0xd80 irq 15 flags 3
device          ed0
device          wi0
#controller     ppc0    at isa? port? flags 0x40 irq 7
#controller     ppbus0
#device         lpt0
#device         plip0
#device         ppi0
#controller     vpo0
controller      uhci0
controller      usb0
device          ugen0
device          uhid0
device          ukbd0
device          ulpt0
controller      umass0
device          ums0
pseudo-device   loop
pseudo-device   ether
pseudo-device   tun
pseudo-device   ppp     2
pseudo-device   sppp    4
pseudo-device   pty
pseudo-device   gzip
pseudo-device   bpf
pseudo-device   streams
pseudo-device   "i4bq921"
pseudo-device   "i4bq931"
pseudo-device   "i4b"
pseudo-device   "i4btrc"        4
pseudo-device   "i4bctl"
pseudo-device   "i4brbch"       4
pseudo-device   "i4btel"        2
pseudo-device   "i4bipr"        4
pseudo-device   "i4bisppp"      4
pseudo-device   vinum
options         VINUMDEBUG






Copyright (c) 1992-1999 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 4.0-CURRENT #2: Sun Dec  5 21:59:47 CET 1999
    [EMAIL PROTECTED]:/delo/src/sys/compile/GOLD
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P55C (232.88-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x543  Stepping = 3
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  = 67108864 (65536K bytes)
avail memory = 61136896 (59704K bytes)
Preloaded elf kernel "kernel" at 0xc03cf000.
Intel Pentium detected, installing workaround for F00F bug
vinum: loaded
npx0: <math processor> on motherboard
npx0: INT 16 interface
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
ata-pci0: <Intel PIIX4 IDE controller> at device 7.1 on pci0
ata-pci0: Busmastering DMA supported
ata0 at 0x01f0 irq 14 on ata-pci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> irq 9 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
intpm0: <Intel 82371AB Power management controller> at device 7.3 on pci0
intpm0: I/O mapped 7000
intpm0: intr SMI disabled revision 0
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus general purpose I/O> on smbus0
intpm0: PM I/O mapped 8000 
ed0: <NE2000 PCI Ethernet (Compex)> irq 9 at device 13.0 on pci0
ed0: address 00:80:48:ca:93:de, type NE2000 (16 bit) 
ahc0: <Adaptec 2940 Ultra SCSI adapter> irq 9 at device 14.0 on pci0
ahc0: aic7880 Single Channel A, SCSI Id=7, 16/255 SCBs
vga-pci0: <S3 Trio graphics accelerator> irq 11 at device 15.0 on pci0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3d0-0x3db iomem 0xb8000-0xbffff on isa0
sc0: <System console> on isa0
sc0: CGA <16 virtual consoles, flags=0x200>
pcic0: <Vadem 469> at port 0x3e0 iomem 0xd0000 irq 10 on isa0
pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> on pcic0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
isic0 at port 0xd80 irq 15 flags 0x3 on isa0
isic0: Teles S0/16.3
isic0: ISAC 2085 Version A1/A2 or 2086/2186 Version 1.1 (IOM-2) (Addr=0x960)
isic0: HSCX 82525 or 21525 Version 2.1 (AddrA=0x160, AddrB=0x560)
pcm0: <Yamaha SA3> at port 0x220-0x22f,0x530-0x537,0x388-0x38f,0x330-0x331,0x370-0x371 
irq 5 drq 0,1 on isa0
joy0: <Generic PnP Joystick> at port 0x201 on isa0
i4b: ISDN call control device attached
i4bisppp: 4 ISDN SyncPPP device(s) attached
i4bctl: ISDN system control port attached
i4bipr: 4 IP over raw HDLC ISDN device(s) attached
i4btel: 2 ISDN telephony interface device(s) attached
i4brbch: 4 raw B channel access device(s) attached
i4btrc: 4 ISDN trace device(s) attached
ad0: <IBM-DTTA-371440/T71OA73A> ATA-4 disk at ata0 as master
ad0: 13783MB (28229040 sectors), 28005 cyls, 16 heads, 63 S/T, 512 B/S
ad0: 16 secs/int, 32 depth queue, UDMA33
pccard: card inserted, slot 0
Mounting root from ufs:/dev/wd0s1a
da1 at ahc0 bus 0 target 1 lun 0
da1: <NEC D3847 0307> Fixed Direct Access SCSI-2 device 
da1: 10.000MB/s transfers (10.000MHz, offset 15)
da1: 1547MB (3170160 512 byte sectors: 255H 63S/T 197C)
cd0 at ahc0 bus 0 target 3 lun 0
cd0: <TEAC CD-ROM CD-532S 3.0A> Removable CD-ROM SCSI-2 device 
cd0: 10.000MB/s transfers (10.000MHz, offset 15)
cd0: Attempt to query device size failed: NOT READY, Medium not present
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DORS-32160 WA6A> Fixed Direct Access SCSI-2 device 
da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
da0: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C)
ad0: HARD READ ERROR blk# 46887ad0: DMA problem encountered, fallback to PIO mode
ad0: DMA problem encountered, fallback to PIO mode
ad0: DMA problem encountered, fallback to PIO mode
ad0: DMA problem encountered, fallback to PIO mode
ad0: DMA problem encountered, fallback to PIO mode
ad0: DMA problem encountered, fallback to PIO mode
ad0: DMA problem encountered, fallback to PIO mode
ad0: HARD READ ERROR blk# 46999 status=59 error=01
ad0: DMA problem encountered, fallback to PIO mode
vinum: reading configuration from /dev/da1s1e
vinum: updating configuration from /dev/da0s1e
wi0: <WaveLAN/IEEE 802.11> at port 0x240-0x27f irq 7 slot 0 on pccard0
wi0: Ethernet address: 00:60:1d:04:af:db


Blaz Zupan, [EMAIL PROTECTED], http://home.amis.net/blaz/
Medinet d.o.o., Linhartova 21, 2000 Maribor, Slovenia



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to