Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Apr 2002 08:16:49 +0300
From:      Valentin Nechayev <netch@iv.nn.kiev.ua>
To:        stable@FreeBSD.ORG
Subject:   Re: More 4.5-stable ATA problems
Message-ID:  <20020402081649.A384@iv.nn.kiev.ua>

next in thread | raw e-mail | index | archive | help
 Sat, Mar 30, 2002 at 21:56:06, craig (Craig Boston) wrote about "More 4.5-stable ATA problems": 

> Bah, thought I was just lucky after seeing all the trouble reports on the
> list about the new ATA drivers.  Just cvsupped my fileserver about an hour
> ago and am now getting these messages intermittently (each immediately
> following a 2-3 second total freeze of the box, including the console).
> 
> ad6: READ command timeout tag=0 serv=0 - resetting
> ata3: resetting devices .. done

My variant with ICH2, 4.5-STABLE of 2002.03.28.00.00.00:

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-20020328 #0: Mon Apr  1 19:53:54 EEST 2002
    root@iv.nn.kiev.ua:/var/obj/sys4/nn14
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 799435484 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (799.44-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  = 268369920 (262080K bytes)
avail memory = 257392640 (251360K bytes)
Preloaded elf kernel "kernel" at 0xc0368000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 10 entries at 0xc00fded0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82801BA/BAM (ICH2) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia Riva Vanta TNT2 graphics accelerator> at 0.0 irq 11
pcib2: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge> at device 30.0 on pci0
pci2: <PCI bus> on pcib2
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 0xf000-0xf00f at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pcm0: <Intel 82801BA (ICH2)> port 0xdc00-0xdc3f,0xd800-0xd8ff irq 5 at device 31.5 on pci0
orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
fdc0: direction bit not set
fdc0: cmd 3 failed at out byte 1 of 3
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
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 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
plip0: <PLIP network interface> on ppbus0
DUMMYNET initialized (011031)
IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to accept, logging limited to 100 packets/entry by default
ad0: DMA limited to UDMA33, non-ATA66 cable or device
ad0: 14664MB <IBM-DJNA-351520> [29795/16/63] at ata0-master UDMA33
ad2: 39266MB <IC35L040AVER07-0> [79780/16/63] at ata1-master tagged UDMA33
acd0: CDROM <CD-540E> at ata0-slave UDMA33
Mounting root from ufs:/dev/ad0s4a
ad2: timeout waiting for READY
ad2: invalidating queued requests
 - resetting
ata1: resetting devices .. ad2: invalidating queued requests
done
ad2: no request for tag=0
ad2: invalidating queued requests
ad2: READ command timeout tag=0 serv=0 - resetting
ad2: invalidating queued requests
ata1: resetting devices .. ad2: invalidating queued requests
done
ad2: no request for tag=0
ad2: invalidating queued requests
ad2: READ command timeout tag=0 serv=0 - resetting
ad2: invalidating queued requests
ata1: resetting devices .. ad2: invalidating queued requests
done
ad2: no request for tag=0
ad2: invalidating queued requests
ad2: READ command timeout tag=0 serv=0 - resetting
ad2: invalidating queued requests
ad2: trying fallback to PIO mode
ata1: resetting devices .. ad2: invalidating queued requests
done

Sysctl hw.atamodes isn't exist here.

Kernel config was:

machine		i386
cpu		I586_CPU
cpu		I686_CPU
ident		nn14
maxusers	64

options 	MATH_EMULATE		#Support for x87 emulation
options 	INET			#InterNETworking
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	MFS			#Memory Filesystem
options 	NFS			#Network Filesystem
options 	MSDOSFS			#MSDOS Filesystem
options 	CD9660			#ISO 9660 Filesystem
options 	PROCFS			#Process filesystem
options		EXT2FS
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	SCSI_DELAY=15000	#Delay (in ms) before probing SCSI
options 	INCLUDE_CONFIG_FILE
options 	USERCONFIG		#boot -c editor
options 	VISUAL_USERCONFIG	#visual boot -c editor
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	P1003_1B		#Posix P1003_1B real-time extensions
options 	_KPOSIX_PRIORITY_SCHEDULING
options		ICMP_BANDLIM		#Rate limit bad replies
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
options		VFS_AIO

device		isa
device		pci

# Floppy drives
device		fdc0	at isa? port IO_FD1 irq 6 drq 2
device		fd0	at fdc0 drive 0

# ATA and ATAPI devices
device		ata0	at isa? port IO_WD1 irq 14
device		ata1	at isa? port IO_WD2 irq 15
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
options 	ATA_STATIC_ID		#Static device numbering
#options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1 flags 0x0
device		psm0	at atkbdc? irq 12

device		vga0	at isa?

# splash screen/screen saver
pseudo-device	splash

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? flags 0x100
options		SC_HISTORY_SIZE=1500
options		SC_MOUSE_CHAR=3
options         SC_KERNEL_CONS_ATTR="(FG_GREEN|BG_BLACK)"

# Floating point support - do not disable.
device		npx0	at nexus? port IO_NPX irq 13

# Serial (COM) ports
device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 irq 3

# Parallel port
device		ppc0	at isa? irq 7
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer
device		plip		# TCP/IP over parallel
device		ppi		# Parallel port interface device

# Pseudo devices - the number indicates how many units to allocate.
pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
pseudo-device	sl	2	# Kernel SLIP
pseudo-device	ppp	2	# Kernel PPP
pseudo-device	tun		# Packet tunnel.
pseudo-device	pty		# Pseudo-ttys (telnet etc)
pseudo-device	md	4	# Memory "disks"
pseudo-device	gif	4	# IPv6 and IPv4 tunneling
pseudo-device	faith	1	# IPv6-to-IPv4 relaying (translation)
pseudo-device	vn	4

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device	bpf	4	#Berkeley packet filter

options 	DDB
options 	INVARIANT_SUPPORT
options 	NETGRAPH		#netgraph(4) system
options 	IPFIREWALL		#firewall
options 	IPFIREWALL_VERBOSE	#print information about
					# dropped packets
options 	IPFIREWALL_VERBOSE_LIMIT=100	#limit verbosity
options 	IPFIREWALL_DEFAULT_TO_ACCEPT	#allow everything by default
options 	DUMMYNET
options 	QUOTA			#enable disk quotas
options 	NTIMECOUNTER=20
options		MSGBUF_SIZE=131072

device		pcm
#- device		sbc0	at isa? port 0x220 irq 5 drq 1 flags 0x15
device		sbc
device		speaker

options         DEBUG_VFS_LOCKS


/netch

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?20020402081649.A384>