Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jul 2002 00:05:53 -0400
From:      Gabriel Rocha <gabe@seul.org>
To:        freebsd-stable@freebsd.org
Subject:   ATA problems, out of ideas.
Message-ID:  <20020724000552.A12414@seul.org>

next in thread | raw e-mail | index | archive | help
Hi,
	
	I recently did a make buildworld on a 4.5-stable system over to
4.6-stable as of a few days ago and my system went haywire. I am nore
sure if my drive is bad, my controller is bad, both or the ata driver
doesn't like me. (By the way, the fact that the bad things happened
after the upgrade may well be a coincidence since other factors do point
to plain old hardware failure.) I am pasting the errors below, I
wouldn't mind a solution tot he problem in terms of FreeBSD, but since
the system is going to IBM for review anyway... I just would like to
know what is wrong. The system is an IBM T-20 laptop, the amusing thing
is, the hard drive on the T-20 gives similar problems while on 2 other
laptops, but 2 other hard drives that work perfectly well on those same
two other laptops don't work on the T-20. So the problem is either
FreeBSD or both the hard drive and the hard drive controller being bad
at the same time. It has to be a physical problem at some level, the
drive actually scratches and hisses and pops when things start to
happen. I thought it was write caching, but I have since turned that off
and the error persists. It may be the drive itself, because I get hard
errors while reading, but that might be the controller too(I couldn't
record those errors because the box crashes hard when they happen) 
ok, here are the errors, the output of dmesg, my kernel config and 
relevant sysctls. Thanks in advance. --Gabe


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.6-STABLE #0: Sat Jul 20 15:29:27 EDT 2002
    root@lurch.neutraldomain.org:/usr/src/sys/compile/lurch
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (498.27-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 335347712 (327488K bytes)
avail memory = 321724416 (314184K bytes)
Preloaded elf kernel "kernel" at 0xc03e9000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc03e909c.
VESA: v2.0, 4032k memory, flags:0x0, mode table:0xc036ae02 (1000022)
VESA: MagicMedia 256ZX  48K
netsmb_dev: loaded
Pentium Pro MTRR support enabled
md0: Malloc disk
pcibios: No call entry point
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: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NeoMagic MagicMedia 256ZX SVGA controller> at 0.0 irq 11
pcic0: <TI PCI-1450 PCI-CardBus Bridge> mem 0x50103000-0x50103fff irq 11 at device 2.0 on pci0
pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq]
pccard0: <PC Card bus (classic)> on pcic0
pcic1: <TI PCI-1450 PCI-CardBus Bridge> mem 0x50102000-0x50102fff irq 11 at device 2.1 on pci0
pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq]
pccard1: <PC Card bus (classic)> on pcic1
pci0: <unknown card> (vendor=0x11c1, dev=0x0449) at 3.0 irq 11
csa0: <CS4280/CS4614/CS4622/CS4624/CS4630> mem 0x50000000-0x500fffff,0x50100000-0x50100fff irq 11 at device 6.0 on pci0
csa: card is Thinkpad 600X/A20/T20
pcm0: <CS461x PCM Audio> on csa0
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xfcf0-0xfcff at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x4000-0x401f irq 11 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> port 0xefa0-0xefaf irq 9 at device 7.3 on pci0
intpm0: I/O mapped efa0
intpm0: intr IRQ 9 enabled revision 0
smbus0: <System Management Bus> on intsmb0
intpm0: PM I/O mapped ef00 
orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x2 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 0x180 on isa0
sc0: VGA <16 virtual consoles, flags=0x380>
sio0: configured irq 3 not in bitmap of probed irqs 0
IP packet filtering initialized, divert disabled, rule-based forwarding enabled, default to accept, logging limited to 250 packets/entry by default
DUMMYNET initialized (011031)
BRIDGE 020214 loaded
IPsec: Initialized Security Association Processing.
IP Filter: v3.4.27 initialized.  Default = pass all, Logging = enabled
ad0: 28615MB <IC25N030ATDA04-0> [58140/16/63] at ata0-master UDMA33
acd0: DVD-ROM <MATSHITADVD-ROM SR-8174> at ata1-master WDMA2
Mounting root from ufs:/dev/ad0s2a
pccard: card inserted, slot 1
ep0: <3Com Etherlink III 3C589> at port 0x240-0x24f irq 11 slot 1 on pccard1
ep0: Ethernet address 00:10:5a:d2:c0:9c
No debugger in kernel
ad0: WRITE command timeout tag=0 serv=0 - resetting
ata0: resetting devices .. done
ad0: WRITE command timeout tag=0 serv=0 - resetting
ata0: resetting devices .. done

hw.ata.ata_dma: 1
hw.ata.wc: 1
hw.ata.tags: 0

machine		i386
cpu		I686_CPU
ident		lurch
maxusers	0

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 	CD9660			#ISO 9660 Filesystem
options 	PROCFS			#Process filesystem
options         NTFS                    #NT File System
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	UCONSOLE		#Allow users to grab the console
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 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
options 	USER_LDT		#allow user-level control of i386 ldt
options         QUOTA
options         DUMMYNET
options         TCP_DROP_SYNFIN         #drop TCP packets with SYN+FIN
options		ICMP_BANDLIM		#Rate limit bad replies

options         RANDOM_IP_ID

options         IPFILTER                #ipfilter support
options         IPFILTER_LOG            #ipfilter logging
options         IPFIREWALL		#firewall
options         IPFIREWALL_VERBOSE	#print information about
options         IPFIREWALL_VERBOSE_LIMIT=250	#limit verbosity
options         IPFIREWALL_DEFAULT_TO_ACCEPT	#allow everything by default

device		isa
device		pci

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

device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives

device		atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1 flags 0x2
device		psm0	at atkbdc? irq 12

device		vga0	at isa? 
options		VESA

pseudo-device	splash

device		sc0	at isa? flags 0x0180
options		SC_PIXEL_MODE

device		npx0	at nexus? port IO_NPX irq 13

device		apm0    # Advanced Power Management

device		card
device		pcic0	at isa? irq 7 port 0x3e0 iomem 0xd0000
device		pcic1	at isa? irq 0 port 0x3e2 iomem 0xd4000 disable

device          uhci
device          usb
device          ugen
device          uhid
device          ukbd
device          ulpt
device          ums
device          umass

device		sio0	at isa? port IO_COM2 irq 3

device		miibus		# MII bus support
device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
device		ep

device		awi
device		wi

pseudo-device	tun		# Tunnel driver (ppp(8), nos-tun(8))
pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
pseudo-device	sl	1	# Kernel SLIP
pseudo-device	ppp	1	# Kernel PPP
options         PPP_BSDCOMP	#PPP BSD-compress support
options         PPP_DEFLATE	#PPP zlib/deflate/gzip support
pseudo-device	pty		# Pseudo-ttys (telnet etc)
pseudo-device	md		# Memory "disks"
pseudo-device   gzip            # Exec gzipped a.out's
pseudo-device	speaker		# Play IBM BASIC-style noises out your speaker
pseudo-device   vn              # Vnode driver (turns a file into a device)
pseudo-device	bpf		#Berkeley packet filter

device		pcm
device		csa

options         IPSEC		#IP security
options         IPSEC_ESP	#IP security (crypto; define w/ IPSEC)
options         IPSEC_DEBUG	#debug for IP security

options 	INCLUDE_CONFIG_FILE     # Include this file in kernel

options 	NETSMB			#SMB/CIFS requester
options 	NETSMBCRYPTO		#encrypted password support for SMB
options		SMBFS			#SMB/CIFS filesystem
options 	LIBMCHAIN		#mbuf management library
options 	LIBICONV

options 	BRIDGE
options         RANDOM_IP_ID

device ed
device ed
device el
device ie
device le
device		intpm
device		smbus		# Bus support, required for smb below.

device          scbus           # SCSI bus (required)
device          da              # Direct Access (disks)
device          cd              # CD
device          pass            # Passthrough device (direct SCSI access)

device		uhci		# UHCI PCI->USB interface
device		ohci		# OHCI PCI->USB interface
device		usb		# USB Bus (required)
device		ugen		# Generic
device		uhid		# "Human Interface Devices"
device		ukbd		# Keyboard
device		ulpt		# Printer
device		umass		# Disks/Mass storage - Requires scbus and da
device		ums		# Mouse
device		uscanner	# Scanners


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?20020724000552.A12414>