Skip site navigation (1)Skip section navigation (2)
Date:      12 Apr 2002 22:58:34 -0600
From:      John Merryweather Cooper <john_m_cooper@yahoo.com>
To:        Andrew Lankford <arlankfo@141.com>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: STABLE Tagged Queuing for DTLA acting up
Message-ID:  <1018673916.16617.8.camel@johncoop.MSHOME>
In-Reply-To: <200204122231484.SM01528@141.com>
References:  <200204122231484.SM01528@141.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
> 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 </modules/mytmp.ko> 15728640 bytes at 0xc03111c0
> md1: Malloc disk
> Using $PIR table, 10 entries at 0xc00f1310
> apm0: <APM BIOS> on motherboard
> apm: found APM BIOS v1.2, connected at v1.2
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> pcib0: <Host to PCI bridge> on motherboard
> pci0: <PCI bus> on pcib0
> agp0: <Intel 82815 (i815 GMCH) SVGA controller> mem 0xf7000000-0xf707ffff,0xf8000000-0xfbffffff irq 11 at device 2.0 on pci0
> pcib1: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge> at device 30.0 on pci0
> pci1: <PCI bus> on pcib1
> sis0: <NatSemi DP83815 10/100BaseTX> port 0xd800-0xd8ff mem 0xf6800000-0xf6800fff irq 9 at device 9.0 on pci1
> sis0: Ethernet address: 00:02:e3:1c:cf:9e
> miibus0: <MII bus> on sis0
> ukphy0: <Generic IEEE 802.3u media interface> 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: <MII bus> on xl0
> xlphy0: <3c905C 10/100 internal PHY> on miibus1
> xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> pcm0: <Creative CT5880-C> port 0xd000-0xd03f irq 3 at device 14.0 on pci1
> isab0: <Intel 82801BA/BAM (ICH2) PCI to LPC bridge> at device 31.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <Intel ICH2 ATA100 controller> port 0xb800-0xb80f at device 31.1 on pci0
> ata0: at 0x1f0 irq 14 on atapci0
> ata1: at 0x170 irq 15 on atapci0
> uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xb400-0xb41f irq 5 at device 31.2 on pci0
> usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> 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: <Intel 82801BA (ICH2) SMBus controller> port 0xe800-0xe80f irq 10 at device 31.3 on pci0
> smbus0: <System Management Bus> on ichsmb0
> smb0: <SMBus general purpose I/O> on smbus0
> uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0xb000-0xb01f irq 9 at device 31.4 on pci0
> usb1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> 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: <Option ROMs> at iomem 0xc0000-0xcbfff,0xcc000-0xcffff,0xd0000-0xd07ff on isa0
> fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,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,0x64 on isa0
> atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 16550A
> sio1: configured irq 3 not in bitmap of probed irqs 0
> ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
> ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
> ppc0: FIFO with 16/16/9 bytes threshold
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
> pcf0: can't reserve irq, polled mode.
> pcf0: <PCF8584 I2C bus controller> at port 0x320-0x321 irq 5 on isa0
> iicbus0: <Philips I2C bus> on pcf0 addr 0xaa
> iicsmb0: <I2C to SMB bridge> on iicbus0
> smbus1: <System Management Bus> on iicsmb0
> smb1: <SMBus general purpose I/O> on smbus1
> iic0: <I2C general purpose I/O> on iicbus0
> IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to deny, logging limited to 5 packets/entry by default
> ad0: 29314MB <IBM-DTLA-307030> [59560/16/63] at ata0-master tagged UDMA100
> acd0: CD-RW <PLEXTOR CD-R PX-W8432T> at ata1-master PIO4
> acd1: DVD-ROM <HITACHI DVD-ROM GD-7500> at ata1-slave PIO4
> 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
> 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
> ad0: invalidating queued requests
> ad0: READ command timeout tag=0 serv=0 - resetting
> ad0: invalidating queued requests
> ad0: trying fallback to PIO mode
> ata0: resetting devices .. ad0: invalidating queued requests
> done
> Root mount failed: 6
> 
> Manual root filesystem specification:
>   <fstype>:<device>  Mount <device> using filesystem <fstype>
>                        eg. ufs:/dev/da0s1a
>   ?                  List valid disk boot devices
>   <empty line>       Abort manual input
> 
> mountroot> ufs:/dev/ad0s3a
> Mounting root from ufs:/dev/ad0s3a
> swapon: adding /dev/ad0s3b as swap device
> Automatic boot in progress...
> /dev/ad0s3a: 
> FILESYSTEM CLEAN; SKIPPING CHECKS
> /dev/ad0s3a: 
> clean, 3030 free 
> (126 frags, 363 blocks, 0.1% fragmentation)
> /dev/ad0s3f: 
> FILESYSTEM CLEAN; SKIPPING CHECKS
> /dev/ad0s3f: 
> clean, 10667227 free 
> (58891 frags, 1326042 blocks, 0.4% fragmentation)
> /dev/ad0s3e: 
> FILESYSTEM CLEAN; SKIPPING CHECKS
> /dev/ad0s3e: 
> clean, 15347 free 
> (339 frags, 1876 blocks, 1.7% fragmentation)
> net.inet.tcp.always_keepalive: 
> 0
>  -> 
> 1
> 
> net.inet.tcp.blackhole: 
> 0
>  -> 
> 2
> 
> net.inet.udp.blackhole: 
> 0
>  -> 
> 1
> 
> net.inet.tcp.log_in_vain: 
> 0
>  -> 
> 1
> 
> net.inet.ip.fw.dyn_ack_lifetime: 
> 300
>  -> 
> 600
> 
> Doing initial network setup:
>  hostname
> .
> sis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> 	inet 10.10.10.11 netmask 0xffffff00 broadcast 10.10.10.255
> 	ether 00:02:e3:1c:cf:9e
> 	media: Ethernet autoselect (none)
> 	status: no carrier
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
> 	inet 127.0.0.1 netmask 0xff000000 
> Starting ppp as "root"
> Firewall rules loaded, starting divert daemons:
> .
> Firewall logging=YES
> Additional routing options:
>  IP gateway=YES
>  TCP keepalive=YES
> .
> Routing daemons:
> .
> Clearing /tmp:
> .
> Additional daemons:
>  syslogd
> .
> Doing additional network setup:
>  ntpd
> .
> Starting final network daemons:
> .
> ELF ldconfig path: /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib
> a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout /usr/X11R6/lib/aout
> Starting standard daemons:
>  inetd
>  cron
>  sshd
>  usbd
> .
> find: 
> /var/tmp/vi.recover: No such file or directory
> 
> Initial rc.i386 initialization:
>  apm
> .
> Configuring syscons:
>  cursor
>  font8x16
>  font8x14
>  font8x8
>  blanktime
>  screensaver
>  allscreens
> .
> Additional ABI support:
>  linux
> .
> Local package initialization:
> Apr 13 00:25:10 bogushost2 ntpd[87]: sendto(129.6.15.28): Permission denied
> Setting the mixer pcm to 75:75.
> Setting the mixer vol to 75:75.
> Setting the mixer cd to 75:75.
> Setting the mixer line1 to 75:75.
> Setting the mixer rec to 75:75.
> Recording source: 
> mic
> 
>  xdm
> .
> Additional TCP options:
> .
> 
> Sat Apr 13 00:25:11 EDT 2002
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message
-- 
         _
  | |V| / '                       ||  MacroHard --                   \
\_| | | \_,                       ||     the perfection of form over |
----------------------------------||     substance, marketing over   |
Web:  http://www.borgsdemons.com  ||     performance, and greed over |
AIM:  johnmcooper                 ||     design . . .                |
=====================================================================/
Public Key:  http://www.borgsdemons.com/Personal/pgpkey.asc          |
=====================================================================\


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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