From owner-freebsd-hackers Thu Jul 22 1:55:21 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from des.follo.net (des.follo.net [195.204.143.216]) by hub.freebsd.org (Postfix) with ESMTP id 18875155A0; Thu, 22 Jul 1999 01:55:12 -0700 (PDT) (envelope-from des@des.follo.net) Received: (from des@localhost) by des.follo.net (8.9.3/8.9.3) id KAA94340; Thu, 22 Jul 1999 10:53:14 +0200 (CEST) (envelope-from des) To: hackers@freebsd.org, bde@freebsd.org Subject: IDE breakage Organization: Yes Interactive Visit-Us-At: http://www.yes.no/ From: Dag-Erling Smorgrav Date: 22 Jul 1999 10:53:14 +0200 Message-ID: Lines: 262 X-Mailer: Gnus v5.5/Emacs 19.34 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm experiencing serious problems with DMA (even normal DMA, not UDMA) on recent versions of -STABLE. Here's an excerpt from messages; kernel #3 is a recent -STABLE (yesterday's sources), while kernel #2 is 3.2-RELEASE. The config file for both is identical. Jul 22 10:19:35 xxx /kernel.old: Copyright (c) 1992-1999 FreeBSD Inc. Jul 22 10:19:35 xxx /kernel.old: Copyright (c) 1982, 1986, 1989, 1991, 1993 Jul 22 10:19:35 xxx /kernel.old: The Regents of the University of California. All rights reserved. Jul 22 10:19:35 xxx /kernel.old: FreeBSD 3.2-STABLE #3: Wed Jul 21 16:21:55 CEST 1999 Jul 22 10:19:35 xxx /kernel.old: root@xxx.xxxxx.xx:/usr/src/sys/compile/XXXXX Jul 22 10:19:35 xxx /kernel.old: Timecounter "i8254" frequency 1193182 Hz Jul 22 10:19:35 xxx /kernel.old: Timecounter "TSC" frequency 348205681 Hz Jul 22 10:19:35 xxx /kernel.old: CPU: Pentium II/Xeon/Celeron (348.21-MHz 686-class CPU) Jul 22 10:19:35 xxx /kernel.old: Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Jul 22 10:19:35 xxx /kernel.old: Features=0x183f9ff Jul 22 10:19:35 xxx /kernel.old: real memory = 134217728 (131072K bytes) Jul 22 10:19:35 xxx /kernel.old: avail memory = 127774720 (124780K bytes) Jul 22 10:19:35 xxx /kernel.old: Preloaded elf kernel "kernel" at 0xc023c000. Jul 22 10:19:35 xxx /kernel.old: Probing for devices on PCI bus 0: Jul 22 10:19:35 xxx /kernel.old: chip0: rev 0x02 on pci0.0.0 Jul 22 10:19:35 xxx /kernel.old: chip1: rev 0x02 on pci0.1.0 Jul 22 10:19:35 xxx /kernel.old: xl0: <3Com 3c905-TX Fast Etherlink XL> rev 0x00 int a irq 11 on pci0.13.0 Jul 22 10:19:35 xxx /kernel.old: xl0: Ethernet address: 00:60:08:e8:6b:1d Jul 22 10:19:35 xxx /kernel.old: xl0: autoneg complete, link status good (full-duplex, 100Mbps) Jul 22 10:19:35 xxx /kernel.old: chip2: rev 0x02 on pci0.20.0 Jul 22 10:19:35 xxx /kernel.old: ide_pci0: rev 0x01 on pci0.20.1 Jul 22 10:19:35 xxx /kernel.old: chip3: rev 0x02 on pci0.20.3 Jul 22 10:19:35 xxx /kernel.old: Probing for devices on PCI bus 1: Jul 22 10:19:35 xxx /kernel.old: vga0: rev 0x5c int a irq 11 on pci1.0.0 Jul 22 10:19:35 xxx /kernel.old: Probing for PnP devices: Jul 22 10:19:35 xxx /kernel.old: Probing for devices on the ISA bus: Jul 22 10:19:35 xxx /kernel.old: sc0 on isa Jul 22 10:19:35 xxx /kernel.old: sc0: VGA color <16 virtual consoles, flags=0x0> Jul 22 10:19:35 xxx /kernel.old: atkbdc0 at 0x60-0x6f on motherboard Jul 22 10:19:35 xxx /kernel.old: atkbd0 irq 1 on isa Jul 22 10:19:35 xxx /kernel.old: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa Jul 22 10:19:35 xxx /kernel.old: fdc0: FIFO enabled, 8 bytes threshold Jul 22 10:19:35 xxx /kernel.old: fd0: 1.44MB 3.5in Jul 22 10:19:35 xxx /kernel.old: wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa Jul 22 10:19:35 xxx /kernel.old: wdc0: unit 0 (wd0): , DMA, 32-bit, multi-block-16 Jul 22 10:19:35 xxx /kernel.old: wd0: 6149MB (12594960 sectors), 13328 cyls, 15 heads, 63 S/T, 512 B/S Jul 22 10:19:35 xxx /kernel.old: wdc1 at 0x170-0x177 irq 15 flags 0xa0ffa0ff on isa Jul 22 10:19:35 xxx /kernel.old: wdc1: unit 0 (atapi): , removable, accel, dma, iordis Jul 22 10:19:35 xxx /kernel.old: acd0: drive speed 1723KB/sec, 256KB cache Jul 22 10:19:35 xxx /kernel.old: acd0: supported read types: CD-R, CD-RW, CD-DA Jul 22 10:19:35 xxx /kernel.old: acd0: Audio: play, 16 volume levels Jul 22 10:19:35 xxx /kernel.old: acd0: Mechanism: ejectable tray Jul 22 10:19:35 xxx /kernel.old: acd0: Medium: no/blank disc inside, unlocked Jul 22 10:19:35 xxx /kernel.old: npx0 on motherboard Jul 22 10:19:35 xxx /kernel.old: npx0: INT 16 interface Jul 22 10:19:35 xxx /kernel.old: vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa Jul 22 10:19:35 xxx /kernel.old: IP packet filtering initialized, divert disabled, rule-based forwarding disabled, unlimited logging Jul 22 10:19:35 xxx /kernel.old: DUMMYNET initialized (990504) Jul 22 10:19:35 xxx /kernel.old: changing root device to wd0s1a Jul 22 10:19:35 xxx /kernel.old: wd0: DMA failure, DMA status 5 Jul 22 10:19:35 xxx last message repeated 11 times Jul 22 10:19:35 xxx /kernel.old: Copyright (c) 1992-1999 FreeBSD Inc. Jul 22 10:19:35 xxx /kernel.old: Copyright (c) 1982, 1986, 1989, 1991, 1993 Jul 22 10:19:35 xxx /kernel.old: The Regents of the University of California. All rights reserved. Jul 22 10:19:35 xxx /kernel.old: FreeBSD 3.2-RELEASE #2: Mon Jul 12 20:41:42 CEST 1999 Jul 22 10:19:35 xxx /kernel.old: root@xxx.xxxxx.xx:/usr/src/sys/compile/XXXXX Jul 22 10:19:35 xxx /kernel.old: Timecounter "i8254" frequency 1193182 Hz Jul 22 10:19:35 xxx /kernel.old: Timecounter "TSC" frequency 348205021 Hz Jul 22 10:19:35 xxx /kernel.old: CPU: Pentium II/Xeon/Celeron (348.21-MHz 686-class CPU) Jul 22 10:19:35 xxx /kernel.old: Origin = "GenuineIntel" Id = 0x652 Stepping=2 Jul 22 10:19:35 xxx /kernel.old: Features=0x183f9ff> Jul 22 10:19:35 xxx /kernel.old: real memory = 134217728 (131072K bytes) Jul 22 10:19:35 xxx /kernel.old: avail memory = 127832064 (124836K bytes) Jul 22 10:19:35 xxx /kernel.old: Preloaded elf kernel "kernel.old" at 0xc023a000. Jul 22 10:19:35 xxx /kernel.old: Probing for devices on PCI bus 0: Jul 22 10:19:35 xxx /kernel.old: chip0: rev 0x02 on pci0.0.0 Jul 22 10:19:35 xxx /kernel.old: chip1: rev 0x02 on pci0.1.0 Jul 22 10:19:35 xxx /kernel.old: xl0: <3Com 3c905-TX Fast Etherlink XL> rev 0x00 int a irq 11 on pci0.13.0 Jul 22 10:19:35 xxx /kernel.old: xl0: Ethernet address: 00:60:08:e8:6b:1d Jul 22 10:19:35 xxx /kernel.old: xl0: autoneg complete, link status good (full-duplex, 100Mbps) Jul 22 10:19:35 xxx /kernel.old: chip2: rev 0x02 on pci0.20.0 Jul 22 10:19:35 xxx /kernel.old: ide_pci0: rev 0x01 on pci0.20.1 Jul 22 10:19:35 xxx /kernel.old: chip3: rev 0x02 on pci0.20.3 Jul 22 10:19:35 xxx /kernel.old: Probing for devices on PCI bus 1: Jul 22 10:19:35 xxx /kernel.old: vga0: rev 0x5c int a irq 11 on pci1.0.0 Jul 22 10:19:35 xxx /kernel.old: Probing for PnP devices: Jul 22 10:19:35 xxx /kernel.old: Probing for devices on the ISA bus: Jul 22 10:19:35 xxx /kernel.old: sc0 on isa Jul 22 10:19:35 xxx /kernel.old: sc0: VGA color <16 virtual consoles, flags=0x0> Jul 22 10:19:35 xxx /kernel.old: atkbdc0 at 0x60-0x6f on motherboard Jul 22 10:19:35 xxx /kernel.old: atkbd0 irq 1 on isa Jul 22 10:19:35 xxx /kernel.old: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa Jul 22 10:19:35 xxx /kernel.old: fdc0: FIFO enabled, 8 bytes threshold Jul 22 10:19:35 xxx /kernel.old: fd0: 1.44MB 3.5in Jul 22 10:19:35 xxx /kernel.old: wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa Jul 22 10:19:35 xxx /kernel.old: wdc0: unit 0 (wd0): , DMA, 32-bit, multi-block-16 Jul 22 10:19:35 xxx /kernel.old: wd0: 6149MB (12594960 sectors), 13328 cyls, 15 heads, 63 S/T, 512 B/S Jul 22 10:19:35 xxx /kernel.old: wdc1 at 0x170-0x177 irq 15 flags 0xa0ffa0ff on isa Jul 22 10:19:35 xxx /kernel.old: wdc1: unit 0 (atapi): , removable, accel, dma, iordis Jul 22 10:19:35 xxx /kernel.old: acd0: drive speed 1723KB/sec, 256KB cache Jul 22 10:19:35 xxx /kernel.old: acd0: supported read types: CD-R, CD-RW, CD-DA Jul 22 10:19:35 xxx /kernel.old: acd0: Audio: play, 16 volume levels Jul 22 10:19:35 xxx /kernel.old: acd0: Mechanism: ejectable tray Jul 22 10:19:35 xxx /kernel.old: acd0: Medium: no/blank disc inside, unlocked Jul 22 10:19:35 xxx /kernel.old: npx0 on motherboard Jul 22 10:19:35 xxx /kernel.old: npx0: INT 16 interface Jul 22 10:19:35 xxx /kernel.old: vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa Jul 22 10:19:35 xxx /kernel.old: IP packet filtering initialized, divert disabled, rule-based forwarding disabled, unlimited logging Jul 22 10:19:35 xxx /kernel.old: DUMMYNET initialized (990504) Jul 22 10:19:35 xxx /kernel.old: changing root device to wd0s1a Jul 22 10:19:36 xxx savecore: no core dump Jul 22 10:19:36 xxx named[132]: starting. named 8.1.2 Wed Jul 21 15:47:47 CEST 1999 root@xxx.xxxxx.xx:/usr/obj/usr/src/usr.sbin/named Jul 22 10:19:36 xxx named[133]: Ready to answer queries. Jul 22 10:19:37 xxx xntpd[138]: xntpd version=3.4e (beta multicast); Wed Jul 21 15:48:21 CEST 1999 (1) Jul 22 10:19:37 xxx xntpd[138]: tickadj = 5, tick = 10000, tvu_maxslew = 495 Jul 22 10:19:37 xxx xntpd[138]: using xntpd phase-lock loop Jul 22 10:21:24 xxx su: des to root on /dev/ttyp0 root@xxx /# strings -n 3 /kernel | grep '^___' ___# ___# Kernel configuration for XXXXX servers. ___# ___ ___machine "i386" ___cpu "I586_CPU" ___cpu "I686_CPU" ___ident XXXXX ___maxusers 256 ___ ___# General options ___options "COMPAT_43" ___options KTRACE ___options SYSVSHM ___options SYSVMSG ___options SYSVSEM ___options INCLUDE_CONFIG_FILE ___options USERCONFIG ___options VISUAL_USERCONFIG ___ ___config kernel root on wd0 ___ ___# Buses ___controller isa0 ___controller pnp0 ___controller pci0 ___ ___device npx0 at isa? port IO_NPX irq 13 ___ ___# File system ___options FFS ___options FFS_ROOT ___options MFS ___options MFS_ROOT ___options PROCFS ___options SOFTUPDATES ___ ___controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 ___disk fd0 at fdc0 drive 0 ___controller wdc0 at isa? port "IO_WD1" bio irq 14 flags 0xa0ffa0ff ___disk wd0 at wdc0 drive 0 ___disk wd1 at wdc0 drive 1 ___controller wdc1 at isa? port "IO_WD2" bio irq 15 flags 0xa0ffa0ff ___disk wd2 at wdc1 drive 0 ___disk wd3 at wdc1 drive 1 ___options ATAPI ___options ATAPI_STATIC ___device acd0 ___pseudo-device vn 2 ___ ___# Networking ___options INET ___options IPFIREWALL ___options IPFIREWALL_VERBOSE ___options DUMMYNET ___options NMBCLUSTERS=8192 ___device fxp0 ___device xl0 ___pseudo-device ether ___pseudo-device loop 2 ___pseudo-device bpfilter 4 ___pseudo-device pty 64 ___ ___# Console ___controller atkbdc0 at isa? port IO_KBD tty ___device atkbd0 at isa? tty irq 1 ___device vga0 at isa? port ? conflicts ___device sc0 at isa? tty ___options "MSGBUF_SIZE=40960" ___ ___ root@xxx /# strings -n 3 /kernel.old | grep '^___' ___# ___# Kernel configuration for XXXXX servers. ___# ___ ___machine "i386" ___cpu "I586_CPU" ___cpu "I686_CPU" ___ident XXXXX ___maxusers 256 ___ ___# General options ___options "COMPAT_43" ___options KTRACE ___options SYSVSHM ___options SYSVMSG ___options SYSVSEM ___options INCLUDE_CONFIG_FILE ___options USERCONFIG ___options VISUAL_USERCONFIG ___ ___config kernel root on wd0 ___ ___# Buses ___controller isa0 ___controller pnp0 ___controller pci0 ___ ___device npx0 at isa? port IO_NPX irq 13 ___ ___# File system ___options FFS ___options FFS_ROOT ___options MFS ___options MFS_ROOT ___options PROCFS ___options SOFTUPDATES ___ ___controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 ___disk fd0 at fdc0 drive 0 ___controller wdc0 at isa? port "IO_WD1" bio irq 14 flags 0xa0ffa0ff ___disk wd0 at wdc0 drive 0 ___disk wd1 at wdc0 drive 1 ___controller wdc1 at isa? port "IO_WD2" bio irq 15 flags 0xa0ffa0ff ___disk wd2 at wdc1 drive 0 ___disk wd3 at wdc1 drive 1 ___options ATAPI ___options ATAPI_STATIC ___device acd0 ___pseudo-device vn 2 ___ ___# Networking ___options INET ___options IPFIREWALL ___options IPFIREWALL_VERBOSE ___options DUMMYNET ___options NMBCLUSTERS=8192 ___device fxp0 ___device xl0 ___pseudo-device ether ___pseudo-device loop 2 ___pseudo-device bpfilter 4 ___pseudo-device pty 64 ___ ___# Console ___controller atkbdc0 at isa? port IO_KBD tty ___device atkbd0 at isa? tty irq 1 ___device vga0 at isa? port ? conflicts ___device sc0 at isa? tty ___options "MSGBUF_SIZE=40960" ___ ___ DES -- Dag-Erling Smorgrav - des@yes.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message