Fwd: Re: [FreeBSD 5.3-RC2] Processes STILL hanging in unkillable state

Jason Harmening gte990t at mail.gatech.edu
Wed Nov 3 20:13:44 PST 2004



----------  Forwarded Message  ----------

Subject: Re: [FreeBSD 5.3-RC2] Processes STILL hanging in unkillable state
Date: Wednesday 03 November 2004 22:33
From: Jason Harmening <gte990t at mail.gatech.edu>
To: Michael Nottebrock <michaelnottebrock at gmx.net>

On Wednesday 03 November 2004 21:29, you wrote:
> Could all people who are seeing this please post their kernel
> configurations, sysctl.conf and perhaps some system details (platform,
> UP/MP), too.
>
> Since I and nobody else of the KDE/FreeBSD people have yet seen this
> problem and we're practically all running RELENG_5/RELENG_5_3 all the time,
> I'm curious what might trigger this.

uname -a:
FreeBSD CORONA 5.3-RC2 FreeBSD 5.3-RC2 #0: Tue Nov  2 00:43:39 EST 2004
jason at CORONA:/usr/obj/usr/src/sys/CUSTOM  i386

System: Athlon (classic) 800/Asus K7V/256MB, uniprocessor

kldstat:
Id Refs Address    Size     Name
 1    1 0xc0400000 409d88   kernel

pciconf -v -l:
agp0 at pci0:0:0:  class=0x060000 card=0x80231043 chip=0x06911106 rev=0x02
hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT82C691/693A/694X Apollo Pro/133/133A System Controller'
    class    = bridge
    subclass = HOST-PCI
pcib1 at pci0:1:0: class=0x060400 card=0x00000080 chip=0x85981106 rev=0x00
hdr=0x01
    vendor   = 'VIA Technologies Inc'
    device   = 'VT82C598MVP/694x Apollo MVP3/Pro133x PCI to AGP Bridge'
    class    = bridge
    subclass = PCI-PCI
isab0 at pci0:4:0: class=0x060100 card=0x80231043 chip=0x06861106 rev=0x22
hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT82C686/A/B "Super South" PCI to ISA Bridge'
    class    = bridge
    subclass = PCI-ISA
atapci0 at pci0:4:1:       class=0x01018a card=0x00000000 chip=0x05711106
rev=0x10hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT82xxxx EIDE Controller (All VIA Chipsets)'
    class    = mass storage
    subclass = ATA
uhci0 at pci0:4:2: class=0x0c0300 card=0x12340925 chip=0x30381106 rev=0x10
hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
    class    = serial bus
    subclass = USB
uhci1 at pci0:4:3: class=0x0c0300 card=0x12340925 chip=0x30381106 rev=0x10
hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
    class    = serial bus
    subclass = USB
hostb0 at pci0:4:4:        class=0x060000 card=0x00000000 chip=0x30571106
rev=0x30hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT82C686A/B ACPI Power Management Controller'
    class    = bridge
    subclass = HOST-PCI
pcm0 at pci0:10:0: class=0x040100 card=0x80271102 chip=0x00021102 rev=0x06
hdr=0x00
    vendor   = 'Creative Labs'
    device   = 'EMU10000 Sound Blaster Live! (Also Live! 5.1) - OEM from DELL
-CT4780'
    class    = multimedia
    subclass = audio
emujoy0 at pci0:10:1:      class=0x098000 card=0x00201102 chip=0x70021102
rev=0x06hdr=0x00
    vendor   = 'Creative Labs'
    device   = 'EMU10000 Game Port'
    class    = input device
atapci1 at pci0:11:0:      class=0x010400 card=0x4d39105a chip=0x4d30105a
rev=0x02hdr=0x00
    vendor   = 'Promise Technology Inc'
    device   = 'PDC20267 FastTrack100 EIDE Controller'
    class    = mass storage
    subclass = RAID
sio4 at pci0:12:0: class=0x070002 card=0x00d312b9 chip=0x100812b9 rev=0x01
hdr=0x00
    vendor   = '3COM Corp, Modem Division (Formerly US Robotics)'
    device   = 'USR 56k Internal Modem'
    class    = simple comms
    subclass = UART
sis0 at pci0:13:0: class=0x020000 card=0xf3111385 chip=0x0020100b rev=0x00
hdr=0x00
    vendor   = 'National Semiconductor'
    device   = 'DP83815/16 Fast Ethernet Adapter (MacPhyter/MacPhyter-II)'
    class    = network
    subclass = ethernet
drm0 at pci1:0:0:  class=0x030000 card=0x00041002 chip=0x52461002 rev=0x00
hdr=0x00
    vendor   = 'ATI Technologies Inc.'
    device   = 'Rage 128 GL AGP 2x Rage Fury 16/32MB'
    class    = display
    subclass = VGA

dmesg

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-RC2 #0: Tue Nov  2 00:43:39 EST 2004
    jason at CORONA:/usr/obj/usr/src/sys/CUSTOM
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) Processor (800.03-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x621  Stepping = 1
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 268353536 (255 MB)
avail memory = 252952576 (241 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 8 Entries> on motherboard
pci0: <PCI bus> on pcib0
agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> mem 0xe4000000-0xe7ffffff 
atdevice 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
drm0: <ATI Rage 128 RF (AGP)> port 0xd800-0xd8ff mem 
0xdf000000-0xdf003fff,0xe0000000-0xe3ffffff irq 11 at device 0.0 on pci1
info: [drm] AGP at 0xe4000000 64MB
info: [drm] Initialized r128 2.5.0 20030725 on minor 0
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 9 at device 4.2 on 
pci0
uhci0: [GIANT-LOCKED]
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: Brother HL-1850_1870N series, rev 1.00/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode
uhub1: Texas Instruments UT-USB41 hub, class 9/0, rev 1.10/1.10, addr 3
uhub1: 4 ports with 4 removable, self powered
ums0: Microsoft Microsoft IntelliMouse\M-. Explorer, rev 1.10/1.14, addr 4, 
iclass 3/1
ums0: 5 buttons and Z dir.
uhci1: <VIA 83C572 USB controller> port 0xb000-0xb01f irq 9 at device 4.3 on 
pci0
uhci1: [GIANT-LOCKED]
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pcm0: <Creative EMU10K1> port 0x9400-0x941f irq 5 at device 10.0 on pci0
pcm0: <SigmaTel STAC9721/23 AC97 Codec>
atapci1: <Promise PDC20267 UDMA100 controller> port 
0x7400-0x743f,0x7800-0x7803,0x8000-0x8007,0x8400-0x8403,0x8800-0x8807 mem 
0xde800000-0xde81ffff irq 10 at device 11.0 on pci0
ata2: channel #0 on atapci1
ata3: channel #1 on atapci1
sio0: <3COM PCI FaxModem> port 0x7000-0x7007 irq 11 at device 12.0 on pci0
sio0: moving to sio4
sio4: type 16550A
sis0: <NatSemi DP8381[56] 10/100BaseTX> port 0x6800-0x68ff mem 
0xde000000-0xde000fff irq 9 at device 13.0 on pci0
sis0: Silicon Revision: DP83816A
miibus0: <MII bus> on sis0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis0: Ethernet address: 00:09:5b:1f:0c:d6
cpu0 on motherboard
orm0: <ISA Option ROMs> at iomem 
0xd0000-0xd7fff,0xcc000-0xcffff,0xc0000-0xc7fff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
can't re-use a leaf (%desc)!
can't re-use a leaf (%driver)!
can't re-use a leaf (%location)!
can't re-use a leaf (%pnpinfo)!
can't re-use a leaf (%parent)!
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
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0c01> can't assign resources (memory)
unknown: <PNP0303> can't assign resources (port)
Timecounter "TSC" frequency 800034660 Hz quality 800
Timecounters tick every 10.000 msec
ata0-slave: FAILURE - ATAPI_IDENTIFY status=1<ERROR> error=4<ABORTED> LBA=0
ata0-slave: FAILURE - ATAPI_IDENTIFY status=1<ERROR> error=4<ABORTED> LBA=0
acd0: CDRW <Hewlett-Packard CD-Writer Plus 9100/1.0c> at ata1-master UDMA33
ad4: 19623MB <IBM-DTLA-307020/TX3OA50C> [39870/16/63] at ata2-master UDMA100
ad6: 19623MB <IBM-DTLA-307020/TX3OA50C> [39870/16/63] at ata3-master UDMA100
ar0: 39246MB <ATA RAID0 array> [5003/255/63] status: READY subdisks:
 disk0 READY on ad4 at ata2-master
 disk1 READY on ad6 at ata3-master
cd0 at ata1 bus 0 target 0 lun 0
cd0: <HP CD-Writer+ 9100 1.0c> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
da0 at ata0 bus 0 target 0 lun 0
da0: <FUJITSU MCJ3230AP 0030> Removable Optical SCSI-4 device
da0: 33.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
(da0:ata0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:ata0:0:0:0): CAM Status: SCSI Status Error
(da0:ata0:0:0:0): SCSI Status: Check Condition
(da0:ata0:0:0:0): NOT READY asc:3a,0
(da0:ata0:0:0:0): Medium not present
(da0:ata0:0:0:0): Unretryable error
Opened disk da0 -> 6
(da0:ata0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:ata0:0:0:0): CAM Status: SCSI Status Error
(da0:ata0:0:0:0): SCSI Status: Check Condition
(da0:ata0:0:0:0): NOT READY asc:3a,0
(da0:ata0:0:0:0): Medium not present
(da0:ata0:0:0:0): Unretryable error
Opened disk da0 -> 6
(da0:ata0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:ata0:0:0:0): CAM Status: SCSI Status Error
(da0:ata0:0:0:0): SCSI Status: Check Condition
(da0:ata0:0:0:0): NOT READY asc:3a,0
(da0:ata0:0:0:0): Medium not present
(da0:ata0:0:0:0): Unretryable error
Opened disk da0 -> 6
Mounting root from ufs:/dev/ar0s1a

The problem occurs primarily when loading OpenOffice under a relatively heavy
load (almost always with KDE and Netbeans IDE also running, both of which are
memory hogs.)  The system has a 1GB swap partition, and this load never
created any problems for 5.2.1.  Also, my laptop, which has 512 megs of RAM
and runs fluxbox instead of KDE, has not yet encountered this problem under
similar loads.

I've recompiled parts of KDE and also the JDK (native 1.4.2), with no effect.
I also have libc_r libmapped to libpthread.

Currently, OpenOffice will not compile on my system, which leads me to the
next question:  Is it possible that OpenOffice, which was originally compiled
under 5.2.1, has the old libc_r (or at least part of it) statically compiled
in, so that it is somehow interfering with the new threading model?

Let me know if I can be of any help...

Thanks,
Jason Harmening

- -------------------------------------------------------
-------------- next part --------------
# $FreeBSD: src/etc/sysctl.conf,v 1.8 2003/03/13 18:43:50 mux Exp $
#
#  This file is read when going to multi-user and its contents piped thru
#  ``sysctl'' to adjust kernel values.  ``man 5 sysctl.conf'' for details.
#

# Uncomment this to prevent users from seeing information about processes that
# are being run under another UID.
#security.bsd.see_other_uids=0
net.inet6.ip6.v6only=0
-------------- next part --------------
hw.ata.atapi_dma="1"
-------------- next part --------------
#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.48 2002/08/31 20:28:26 obrien Exp $

machine		i386
cpu		I686_CPU
ident		CUSTOM

#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols

options 	SCHED_4BSD		#4BSD scheduler
options 	INET			#InterNETworking
options 	INET6			#IPv6 communications protocols
options 	FFS			#Berkeley Fast Filesystem
options 	SOFTUPDATES		#Enable FFS soft updates support
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 	NFSCLIENT		#Network Filesystem Client
options 	NFSSERVER		#Network Filesystem Server
options 	NFS_ROOT		#NFS usable as root device, requires NFSCLIENT
options 	MSDOSFS			#MSDOS Filesystem
options 	CD9660			#ISO 9660 Filesystem
options 	PROCFS			#Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS		#Pseudo-filesystem framework
options  	COMPAT_LINUX
options		LINPROCFS
options         GEOM_GPT
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	COMPAT_FREEBSD4		#Compatible with FreeBSD4
options 	SCSI_DELAY=15000	#Delay (in ms) before probing SCSI
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
options 	AHC_REG_PRETTY_PRINT	# Print register bitfields in debug
					# output.  Adds ~128k to driver.
options 	AHD_REG_PRETTY_PRINT	# Print register bitfields in debug
					# output.  Adds ~215k to driver.
options         ADAPTIVE_GIANT

device          apic

device		isa
device		eisa
device		pci
device		agp

# Minimum required SCSI devices
device		scbus		# SCSI bus (required)
device		da		# Direct Access (disks)
device		cd			#SCSI CD-ROMs
device		pass			#CAM passthrough driver

# ATA and ATAPI devices
device		ata
device		atadisk			# ATA disk drives
device		ataraid			# ATA RAID drives
device		atapicd			# ATAPI CDROM drives
device		atapicam	# emulate ATAPI devices as SCSI ditto via CAM
				# needs CAM to be present (scbus & pass)


options 	ATA_STATIC_ID		#Static device numbering

# atkbdc0 controls both the keyboard and the PS/2 mouse
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		"r128drm"

# syscons is the default console driver, resembling an SCO console
device		sc

# Enable this for the pcvt (VT220 compatible) console driver
#device		vt
#options 	XSERVER			# support for X server on a vt console
#options 	FAT_CURSOR		# start with block cursor

# Floating point support - do not disable.
device		npx

#device		puc

# Serial (COM) ports
device		sio		# 8250, 16[45]50 based serial ports

# PCI Ethernet NICs.
device		miibus		# MII bus support
device		sis		# Silicon Integrated Systems SiS 900/SiS 7016

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

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

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

device		sound
device          "snd_emu10k1"
-------------- next part --------------

# -- sysinstall generated deltas -- # Sat Mar 15 23:57:05 2003
# Created: Sat Mar 15 23:57:05 2003
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
hostname="CORONA"
ifconfig_sis0="DHCP"
kern_securelevel_enable="NO"
linux_enable="YES"
sendmail_enable="YES"
sshd_enable="YES"
usbd_enable="YES"
network_interfaces="lo0 sis0"
# This file now contains just the overrides from /etc/defaults/rc.conf.
# Please make all changes to this file, not to /etc/defaults/rc.conf.

# Enable network daemons for user convenience.
# Created: Wed Jun 16 00:29:02 2004


More information about the freebsd-current mailing list