From owner-freebsd-stable Fri Apr 12 21:58:37 2002 Delivered-To: freebsd-stable@freebsd.org Received: from smtp.bmi.net (smtp.bmi.net [204.57.191.31]) by hub.freebsd.org (Postfix) with ESMTP id 86D9637B400 for ; Fri, 12 Apr 2002 21:58:25 -0700 (PDT) Received: from johncoop.MSHOME ([206.63.201.3]) by smtp.bmi.net (Pro-8.9.3/Pro-8.9.3) with ESMTP id VAA20839; Fri, 12 Apr 2002 21:58:13 -0700 Subject: Re: STABLE Tagged Queuing for DTLA acting up From: John Merryweather Cooper Reply-To: john_m_cooper@yahoo.com To: Andrew Lankford Cc: FreeBSD Stable In-Reply-To: <200204122231484.SM01528@141.com> References: <200204122231484.SM01528@141.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 Date: 12 Apr 2002 22:58:34 -0600 Message-Id: <1018673916.16617.8.camel@johncoop.MSHOME> Mime-Version: 1.0 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have a 60 gig IBM hard drive of somewhat more recent manufacture and a VIA 686B UDMA100 controller on board that generates an identical trap with the most recent stable. I've previously posted the trap dump to this list. Although I've rebuilt world and kernel several times since then, the only thing I have to do to repeat the trap is to enable tagged mode. On Fri, 2002-04-12 at 22:31, Andrew Lankford wrote: > > I did a buildworld based on this afternoon's (Friday's) STABLE. Aside from > enabling SSE support in the kernel, I made no other changes before I recompiled. When I rebooted, I got this: > > Mounting root from ufs:/dev/ad0s3a > ad0: timeout waiting for READY > ad0: invalidating queued requests > - resetting > ata0: resetting devices .. ad0: invalidating queued requests > done > ad0: no request for tag=0 > ad0: invalidating queued requests > ad0: READ command timeout tag=0 serv=0 - resetting > ad0: invalidating queued requests > ata0: resetting devices .. ad0: invalidating queued requests > done > ad0: no request for tag=0 > > ...blah...blah...blah... > > Root mount failed: 6 > > ...blah...blah... > > mountroot> > > Anyway, once I got to the mountroot prompt and specified /dev/ad0s3a AGAIN, > everything was back to normal from then on. As you can see, I have an IBM > DTLA hardrive, and I normally have hw.ata.tags enabled in loader.conf. > Disabling that feature in loader.conf seems to fix the problem, but I the > hw.ata.tags feature worked just fine in the past. > > Also, The hw.atamodes sysctl that the ata(4) man page mentions isn't > available, but "atacontrol" now works: > > channel 0: > > Master = UDMA100 > Slave = ??? > > channel 1: > Master = PIO4 > Slave = PIO4 > > Here are relevant (?) portions from my kernel configuration > (I made no changes to my ATA related changes to the kernel config > with this upgrade). > ------------------------------------------------------- > makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols > > #options ROOTDEVNAME=\"ufs:ad0s3a\" #Fallback root device > # enabling this merely keeps me from getting the mountroot prompt > # but doesn't get rid of the drive errors. > . . . > > # ATA and ATAPI devices > device ata > device atadisk # ATA disk drives > device atapicd # ATAPI CDROM drives > options ATA_STATIC_ID #Static device numbering > > dmesg -a in its full glory: > ----------------------------- > > Copyright (c) 1992-2002 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD 4.5-STABLE #0: Fri Apr 12 23:09:53 EDT 2002 > root@bogushost2:/usr/obj/usr/src/sys/ARL0402 > Timecounter "i8254" frequency 1193182 Hz > CPU: Pentium III/Pentium III Xeon/Celeron (737.02-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x686 Stepping = 6 > Features=0x383f9ff > real memory = 535736320 (523180K bytes) > avail memory = 502468608 (490692K bytes) > Preloaded elf kernel "kernel" at 0xc1213000. > Preloaded elf module "vesa.ko" at 0xc121309c. > Preloaded elf module "green_saver.ko" at 0xc1213138. > Preloaded elf module "snd_es137x.ko" at 0xc12131dc. > Preloaded elf module "snd_pcm.ko" at 0xc1213280. > Preloaded elf module "usb.ko" at 0xc1213320. > Preloaded elf module "ugen.ko" at 0xc12133bc. > Preloaded elf module "uhid.ko" at 0xc1213458. > Preloaded elf module "ums.ko" at 0xc12134f4. > Preloaded elf module "agp.ko" at 0xc1213590. > Preloaded elf module "md.ko" at 0xc121362c. > Preloaded md_image "/modules/mytmp.ko" at 0xc12136c8. > VESA: v3.0, 1024k memory, flags:0x1, mode table:0xc02b6362 (1000022) > VESA: Intel(R) 815 Chipset Video BIOS > Pentium Pro MTRR support enabled > md0: Preloaded image 15728640 bytes at 0xc03111c0 > md1: Malloc disk > Using $PIR table, 10 entries at 0xc00f1310 > apm0: on motherboard > apm: found APM BIOS v1.2, connected at v1.2 > npx0: on motherboard > npx0: INT 16 interface > pcib0: on motherboard > pci0: on pcib0 > agp0: mem 0xf7000000-0xf707ffff,0xf8000000-0xfbffffff irq 11 at device 2.0 on pci0 > pcib1: at device 30.0 on pci0 > pci1: on pcib1 > sis0: port 0xd800-0xd8ff mem 0xf6800000-0xf6800fff irq 9 at device 9.0 on pci1 > sis0: Ethernet address: 00:02:e3:1c:cf:9e > miibus0: on sis0 > ukphy0: on miibus0 > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xd400-0xd47f mem 0xf6000000-0xf600007f irq 9 at device 12.0 on pci1 > xl0: Ethernet address: 00:01:02:73:ee:49 > miibus1: on xl0 > xlphy0: <3c905C 10/100 internal PHY> on miibus1 > xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > pcm0: port 0xd000-0xd03f irq 3 at device 14.0 on pci1 > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci0: port 0xb800-0xb80f at device 31.1 on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > uhci0: port 0xb400-0xb41f irq 5 at device 31.2 on pci0 > usb0: 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 > ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.00, addr 2, iclass 3/1 > ums0: 3 buttons and Z dir. > ugen0: Logitech Camera, rev 1.00/1.00, addr 3 > ichsmb0: port 0xe800-0xe80f irq 10 at device 31.3 on pci0 > smbus0: on ichsmb0 > smb0: on smbus0 > uhci1: port 0xb000-0xb01f irq 9 at device 31.4 on pci0 > usb1: on uhci1 > usb1: USB revision 1.0 > uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub1: 2 ports with 2 removable, self powered > uhub2: ALCOR Generic USB Hub, class 9/0, rev 1.10/1.00, addr 2 > uhub2: 4 ports with 4 removable, self powered > orm0: