5.3-BETA4 hangs (ata2 dma problems)

Andreas Klemm andreas at freebsd.org
Sat Sep 18 03:37:29 PDT 2004


experienced 3 hangs in the last 2 weeks regarding dma problems
when having heavy disk i/o.

a) 2 times when trying to copy DVDs from one drive to the other

b) Just a few minutes ago when checking out /usr/ports.
   CVS repository and /usr are on the same disk ad2.

to b). I was under X11/kde3.
I was only able to move the mouse cursor and noticed
dma trouble in the xconsole window.
Sorry I should have written down the messages.
Bad thing is, they didnt make it in the syslog.

What would be the best thing to hunt this down ?
2nd PC on serial console and trying to troubleshoot there ?

I tried to quit X11 via Ctrl-ALT-BS, but then I only hung
somewhere in X11 ...
Ctrl-Alt-Delete was not possible. Via Telnet dunno.
Didnt had a 2nd PC near. I power cycled.

It might be the case that it happens again.

So what would be best to give you better information ?

Filesystem         1K-blocks     Used    Avail Capacity  Mounted on
/dev/ad2s1a           253678    88866   144518    38%    /
devfs                      1        1        0   100%    /dev
/dev/md0              447966       52   412078     0%    /tmp
/dev/ad2s1f         16244334 10631840  4312948    71%    /home
/dev/ad2s1e          8122126  5060014  2412342    68%    /usr
/dev/ad2s1d          4058062  1747830  1985588    47%    /var
/dev/ad2s1g         54949394 44481186  6072258    88%    /export
/dev/ad0s4g         39871456 19791912 16889828    54%    /backup
/dev/ad0s1          10241404  3761888  6479516    37%    /dosc
/dev/ad0s6          32748560 24949344  7799216    76%    /dose
/dev/ad0s7          32748560 13298496 19450064    41%    /dosf
/dev/ad0s8          32756576 20374608 12381968    62%    /dosg
procfs                     4        4        0   100%    /proc
linprocfs                  4        4        0   100%    /usr/compat/linux/proc
pid377 at titan:/host         0        0        0   100%    /host
pid377 at titan:/net          0        0        0   100%    /net

Copyright (c) 1992-2004 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 5.3-BETA4 #0: Sun Sep 12 21:25:23 CEST 2004
    root at titan.klemm.apsfilter.org:/usr/src/sys/i386/compile/TITAN
WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant
WARNING: MPSAFE network stack disabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (997.46-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
real memory  = 536854528 (511 MB)
avail memory = 519884800 (495 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ASUS MED_2001> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
cpu0: <ACPI CPU (3 Cx states)> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> mem 0xf0000000-0xf7ffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.AGP_ - AE_NOT_FOUND
pci1: <ACPI PCI bus> on pcib1
pcib0: no PRT entry for 0.1.INTA
pci1: <display, VGA> at device 0.0 (no driver attached)
pci1: <display> at device 0.1 (no driver attached)
isab0: <PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686A UDMA66 controller> port 0xb800-0xb80f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 4.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xb400-0xb41f irq 11 at device 4.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ulpt0: Hewlett-Packard PSC 2200 Series, rev 2.00/1.00, addr 2, iclass 255/204
ulpt0: using bi-directional mode
umass0: Hewlett-Packard PSC 2200 Series, rev 2.00/1.00, addr 2
ugen0: Syncrosoft Protected Executer, rev 1.10/1.01, addr 3
uhci1: <VIA 83C572 USB controller> port 0xb000-0xb01f irq 11 at device 4.3 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
fxp0: <Intel 82559 Pro/100 Ethernet> port 0xa800-0xa83f mem 0xd5800000-0xd58fffff,0xd6000000-0xd6000fff irq 10 at device 9.0 on pci0
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:d0:b7:ba:c1:c2
pci0: <multimedia, audio> at device 10.0 (no driver attached)
fdc0: <floppy drive controller> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse Explorer, device ID 4
orm0: <ISA Option ROMs> at iomem 0xd0000-0xd17ff,0xc0000-0xccfff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 997461207 Hz quality 800
Timecounters tick every 10.000 msec
IPsec: Initialized Security Association Processing.
ipfw2 initialized, divert enabled, rule-based forwarding disabled, default to deny, logging unlimited
acpi_cpu: throttling enabled, 16 steps (100% to 6.2%), currently 100.0%
ATAPI_RESET time = 60us
ad0: 176700MB <IC35L180AVV207-1/V26OA63A> [359010/16/63] at ata0-master UDMA66
acd0: DVDROM <LITEON DVD-ROM LTD122/IHNC> at ata0-slave UDMA33
ATAPI_RESET time = 1680us
ad2: 176700MB <IC35L180AVV207-1/V26OA63A> [359010/16/63] at ata1-master UDMA66
acd1: DVDR <HL-DT-ST DVDRAM GSA-4082B/A201> at ata1-slave UDMA33
cd0 at ata0 bus 0 target 1 lun 0
cd0: <LITEON DVD-ROM LTD122 IHNC> Removable CD-ROM SCSI-0 device 
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
cd1 at ata1 bus 0 target 1 lun 0
cd1: <HL-DT-ST DVDRAM GSA-4082B A201> Removable CD-ROM SCSI-0 device 
cd1: 33.000MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Medium not present
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <HP psc 2210 1.00> Removable Direct Access SCSI-2 device 
da0: 1.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 -> 6
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 -> 6
Mounting root from ufs:/dev/ad2s1a
WARNING: / was not properly dismounted
WARNING: /home was not properly dismounted
/home: mount pending error: blocks 12 files 1
/home: superblock summary recomputed
WARNING: /usr was not properly dismounted
/usr: mount pending error: blocks 16 files 4
/usr: superblock summary recomputed
WARNING: /var was not properly dismounted
/var: mount pending error: blocks 16 files 3
/var: superblock summary recomputed

machine		i386
cpu		I686_CPU
ident		TITAN
options 	INCLUDE_CONFIG_FILE     # Include this file in kernel
options 	SCHED_4BSD		#4BSD scheduler
options 	INET			#InterNETworking
options 	FFS			#Berkeley Fast Filesystem
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	UFS_EXTATTR
options 	UFS_ACL			#Support for access control lists
options 	UFS_DIRHASH		#Improve performance on big directories
options 	MD_ROOT			#MD is a potential root device
options 	CD9660			#ISO 9660 Filesystem
options 	PSEUDOFS		#Pseudo-filesystem framework
options 	PROCFS			#Process filesystem (requires PSEUDOFS)
options 	FDESCFS			#File descriptor filesystem
options 	MSDOSFS			#MS DOS File System (FAT, FAT32)
options		GEOM_BDE		#Disk Encryption
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	COMPAT_FREEBSD4		#Compatible with FreeBSD4
options 	KTRACE			#ktrace(1) support
options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
options 	IPFIREWALL		#firewall
options 	IPFIREWALL_VERBOSE	#enable logging to syslogd(8)
options		PFIL_HOOKS
options 	IPDIVERT		#divert sockets
options 	IPSTEALTH		#support for stealth forwarding
options 	DUMMYNET
options		IPSEC			#IP security
options		IPSEC_ESP		#IP security (crypto; define w/ IPSEC)
# Postgresql database
options         SYSVSHM
options         SYSVSEM
options         SYSVMSG
options         SHMMAXPGS=65536
options         SEMMNI=40
options         SEMMNS=240
options         SEMUME=40
options         SEMMNU=120
device		isa
device		pci
device		fdc
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
device		atapifd			# ATAPI floppy drives
options 	ATA_STATIC_ID		#Static device numbering
device		scbus		# base SCSI code
device		da		# SCSI direct access devices (aka disks)
device		cd		#
device		pass		# CAM passthrough driver
device		atapicam	# emulate ATAPI devices as SCSI ditto via CAM
device		atkbdc		# AT keyboard controller
device		atkbd		# AT keyboard
device		psm		# PS/2 mouse
device		vga		# VGA video card driver
device		splash		# Splash screen and screen saver support
device		sc
options 	SC_HISTORY_SIZE=512	# number of history buffer lines
device		agp		# support several AGP chipsets
device		npx
device		sio		# 8250, 16[45]50 based serial ports
device		miibus		# MII bus support
device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
device		random		# Entropy device
device		loop		# Network loopback
device		ether		# Ethernet support
device		pty		# Pseudo-ttys (telnet etc)
device		md		# Memory "disks"
device		bpf		# Berkeley packet filter
device          mem             # Memory and kernel memory devices
device          io              # I/O device
device		uhci		# UHCI PCI->USB interface
device		ohci		# OHCI PCI->USB interface
device		ehci		# OHCI PCI->USB interface
device		usb		# USB Bus (required)
device		ugen		# Generic
device		uhid		# "Human Interface Devices"
device		ulpt		# Printer
device		umass		# Disks/Mass storage - Requires scbus and da
device		urio		# Diamond Rio 500 MP3 player
device		uscanner	# Scanners
device		ucom		# USB serial support

	Andreas ///

Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? -> http://www.apsfilter.org/

More information about the freebsd-current mailing list