Possible missing file in hal installation

Nick Withers nick at nickwithers.com
Mon Mar 19 10:23:53 UTC 2007


Hello all,

Firstly, I've just pasted the existing thread in from
"http://lists.freebsd.org/pipermail/freebsd-gnome/2007-January/016501.html",
sorry if I stuffed it up at all and my apologies to those with
threaded mail clients...

> On Wed, 2007-01-03 at 21:13 +0800, manphiz at gmail.com wrote:
> > Joe Marcus Clarke wrote:
> > > No, there is nothing useful here.  The ktrace looks good.  The last
> > > thing hald does is read the PCI config registers (part of the initial
> > > PCI bus probe).  You need to get a full backtrace from hald once it
> > > appears to lock up.  To do that, you should run hald manually, then use
> > > gdb to bind to it once it's locked up.  Then get a full backtrace.
> > >
> > > Joe
> > >
> > >   
> > Thanks a lot for the instruction! I attached to the deadlocked process, 
> > and get this backtrace:
> > 
> > (gdb) bt
> > #0  hf_pci_probe () at hf-pci.c:150
> > #1  0x0805ced7 in osspec_probe () at osspec.c:96
> > #2  0x080551dd in main (argc=3, argv=0xbfbfeb5c) at hald.c:578
> 
> This backtrace doesn't make sense.  Line 150 of hf-pci.c is not in
> hf_pci_probe().  The real line 150 represents a loop that iterates
> through the devices list.  This list must be finite.  I don't see how
> this problem could occur based on this information.

I appear to be in a similar scenario on my HP Compaq Presario B3820
(believe I'm using the latest firmware versions).

Some basic details (sorry, probably totally silly!):
____

%uname -a
FreeBSD presario.shmon.net 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #0: Sun Mar 18 00:29:02 EST 2007     nick at presario.shmon.net:/usr/obj/usr/src/sys/PRESARIO  i386

%pkg_info
ORBit2-2.14.7       High-performance CORBA ORB with support for the C language
Terminal-0.2.6      Terminal emulator for the X windowing system
Thunar-0.8.0_2      XFce 4 file manager
a2ps-a4-4.13b_3     Formats an ascii file for printing on a postscript printer
aalib-1.4.r5_2      An ascii art library
adns-1.4            Easy to use, asynchronous-capable DNS client library and ut
amspsfnt-1.0_4      AMSFonts PostScript Fonts (Adobe Type 1 format)
anjuta-1.2.4_6      Integrated Development Environment for C and C++
arc-5.21o_1         Create & extract files from DOS .ARC files
arj-3.10.22         Open-source ARJ
arts-1.5.6,1        Audio system for the KDE integrated X11 desktop
aspell-0.60.5       Spelling checker with better suggestion logic than ispell
atk-1.18.0          A GNOME accessibility toolkit (ATK)
audacity-1.2.4b     Audacity is a GUI editor for digital audio waveforms
autoconf-2.13.000227_5 Automatically configure source code on many Un*x platforms 
automake-1.4.6_2    GNU Standards-compliant Makefile generator (1.4)
avahi+libdns-0.6.17 Service discovery on a local network
bison-1.75_2,1      A parser generator from FSF, (mostly) compatible with Yacc
bitstream-vera-1.10_2 Bitstream Vera TrueType font collection
brasero-0.5.1_1     CD/DVD mastering tool for the GNOME desktop
bug-buddy-2.18.0    A bug reporting tool for GNOME 2
cairo-1.4.0         Vector graphics library with cross-device output support
cdparanoia-3.9.8_8  A CDDA extraction tool (also known as ripper)
cdrdao-1.2.1        Record CD-R[W]s in disk-at-once mode
cdrtools-2.01_5     CD/CD-R[W] and ISO-9660 image creation and extraction tools
clamav-0.90.1_1     Command line virus scanner written entirely in C
cmpsfont-1.0_5      Computer Modern PostScript Fonts (Adobe Type 1 format)
cscope-15.6         An interactive C program browser
cups-base-1.2.8     Common UNIX Printing System
curl-7.16.1         Non-interactive tool to get files from FTP, GOPHER, HTTP(S)
db41-4.1.25_4       The Berkeley DB package, revision 4.1
dbus-1.0.2          A message bus system for inter-application communication
dbus-glib-0.73      GLib bindings for the D-BUS messaging system
desktop-file-utils-0.12 A couple of command line utilities for working with desktop
dirmngr-0.9.6_2     A client for managing and downloading certificate revocatio
djbfft-0.76_2       An extremely fast library for floating-point convolution
dmidecode-2.8       A tool for dumping DMI (SMBIOS) contents in human-readable 
docbook-3.1_2       V3.1 of the DocBook DTD, designed for technical documentati
docbook-4.1_2       V4.1 of the DocBook DTD, designed for technical documentati
docbook-sk-4.1.2_4  XML version of the DocBook DTD version controlled for Scrol
docbook-utils-0.6.14_1 Generates various output formats from DocBook SGML document
docbook-xml-4.2_1   XML version of the DocBook DTD
docbook-xml-4.3     DocBook/XML DTD V4.3, designed for technical documentation
docbook-xml-4.4     DocBook/XML DTD V4.4, designed for technical documentation
docbook-xsl-1.71.1_2 XSL DocBook stylesheets
downtime-0.2.2      A GTK-based shutdown manager using shutdown(8)
dri-6.4.1,2         OpenGL hardware acceleration drivers for the DRI
dsniff-2.3_2        Various sniffing utilities for penetration testing
dsssl-docbook-modular-1.79,1 DSSSL stylesheets for the DocBook DTD by Norman Walsh
dvd+rw-tools-6.1    DVD burning software
eel-2.18.0.1        Generally useful classes and extensions to GNOME
en-openoffice.org-GB-2.1.0 Integrated wordprocessor/dbase/spreadsheet/drawing/chart/br
enchant-1.3.0       Dictionary/spellchecking framework
eog-2.18.0.1        The Eye Of Gnome image viewer
epiphany-2.18.0     An extremely lightweight and simple web browser for GNOME 2
esound-0.2.37_1     A sound library for enlightenment package
evince-0.8.0        GNOME 2 multi-format document viewer
evolution-2.10.0    An integrated mail, calendar and address book distributed s
evolution-data-server-1.10.0 The data backends for the Evolution integrated mail/PIM sui
expat-2.0.0_1       XML 1.0 parser written in C
file-roller-2.18.0,1 An archive manager for zip files, tar, etc
firefox-2.0.0.2,1   Web browser based on the browser portion of Mozilla
flac-1.1.2_1        Free lossless audio codec
fontconfig-2.4.2,1  An XML-based font configuration API for X Windows
fontforge-20060822  Type 1/TrueType/OpenType/bitmap font editor
freetype2-2.2.1_1   A free and portable TrueType font rendering engine
frozenbubble-2.1.0  Throw colourful bubbles to build groups and destroy the gro
gail-1.18.0         An implementation of the ATK interfaces for GTK+ widgets
gaim-1.5.0_10       Multi-protocol instant messaging client
gamin-0.1.8         A file and directory monitoring system
gawk-3.1.5          The GNU version of Awk
gcalctool-5.9.14,2  A GNOME 2 calculator tool based on the old calctool for Ope
gconf-editor-2.18.0,1 A gconf database editor for the GNOME 2 environment
gconf2-2.18.0.1     A configuration database system for GNOME
gd-2.0.34,1         A graphics library for fast creation of images
gdbm-1.8.3_3        The GNU database manager
gdm-2.18.0          GNOME 2 version of xdm display manager
gedit-2.18.0        A small but powerful text editor for GNOME 2 Desktop Enviro
gettext-0.16.1      GNU gettext package
ghostscript-gnu-7.07_15 GNU Postscript interpreter
gimp-gnome-2.2.13_2,1 A GNU Image Manipulation Program
gimp-print-4.2.7_2  GIMP Print Printer Driver
gle-3.1.0           A GL Tubing and Extrusion Library
glib-1.2.10_12      Some useful routines of C programming (previous stable vers
glib-2.12.11        Some useful routines of C programming (current stable versi
glitz-0.5.6         OpenGL image compositing library
gmake-3.81_1        GNU version of 'make' utility
gnome-applets-2.18.0 Applets components for the GNOME 2 Desktop Environment
gnome-audio-2.0.0_1 Sound files for use with GNOME 2
gnome-control-center-2.18.0 Control center for GNOME 2 project
gnome-desktop-2.18.0 Additional UI API for GNOME 2
gnome-doc-utils-0.10.1 GNOME doc utils
gnome-games-2.18.0  The game applications package for the GNOME 2 Desktop Envir
gnome-icon-theme-2.18.0 A collection of icons for the GNOME 2 desktop
gnome-keyring-0.8   A program that keeps passwords and other secrets
gnome-media-2.18.0  Multimedia applications for the GNOME 2 desktop
gnome-menus-2.18.0  Implementation of the FreeDesktop Desktop Menu Spec
gnome-mime-data-2.4.3 A MIME and Application database for GNOME
gnome-mount-0.5_6   A front-end to mount, umount, and eject using HAL
gnome-panel-2.18.0_1 Panel component for the GNOME 2 Desktop
gnome-power-manager-2.18.0 Power management system for the GNOME Desktop
gnome-screensaver-2.18.0 GNOME screen saver and locker
gnome-session-2.18.0_3 Session component for the GNOME 2 desktop
gnome-spell-1.0.7_2 A GNOME/Bonobo component for spell checking
gnome-system-monitor-2.18.0 GNOME 2 system monitor program
gnome-terminal-2.18.0 Terminal component for the GNOME 2 Desktop
gnome-themes-2.18.0_1 A collection of themes and icons for GNOME2
gnome-user-docs-2.18.0 GNOME 2 users guide
gnome-utils-2.18.0,1 GNOME 2 support utilities
gnome-vfs-2.18.0.1  GNOME Virtual File System
gnome-volume-manager-2.17.0_3 Automatically mount removable media, and more
gnome2-lite-2.18.0  The "meta-port" of the GNOME desktop slimmed down for FreeB
gnome_subr-1.0      Common startup and shutdown subroutines used by GNOME scrip
gnomebaker-0.6.1    A CD/DVD recording GUI for Gnome
gnomehier-2.2       A utility port that creates the GNOME directory tree
gnu-autoconf-2.61   Automatically configure source code on many Un*x platforms 
gnu-automake-1.10   GNU Standards-compliant Makefile generator (GNU unmodified)
gnupg-2.0.3         The GNU Privacy Guard
gnutls-1.6.1_2      GNU Transport Layer Security library
google-earth-4.0.2414 Explore, Search and Discover
gpgme-1.1.3_3       A library to make access to GnuPG easier
gphoto2-2.3.1       A command-line frontend to libgphoto2
gsfonts-8.11_2      Fonts used by GNU Ghostscript (or X)
gstreamer-0.10.12   Development framework for creating media applications
gstreamer-ffmpeg-0.10.2 GStreamer plug-in for manipulating MPEG video streams
gstreamer-plugins-0.10.12,3 GStreamer written collection of plugins handling several me
gstreamer-plugins-a52dec-0.10.5_1,3 Gstreamer ATSC A/52 stream aka AC-3 (dvd audio) plugin
gstreamer-plugins-bad-0.10.4,3 Bad gstreamer-plugins
gstreamer-plugins-cdparanoia-0.10.12_2,3 Gstreamer CDDA extraction (aka audio ripping) plugin
gstreamer-plugins-core-0.10_7 Core set of typical audio and video gstreamer-plugins
gstreamer-plugins-dts-0.10.4_1,3 Gstreamer dts plugin
gstreamer-plugins-dvd-0.10.5,3 Gstreamer dvd plugin set
gstreamer-plugins-esound-0.10.5_1,3 Gstreamer enlightenment sound library plugin
gstreamer-plugins-flac-0.10.5_1,3 Gstreamer free lossless audio encoder/decoder plugin
gstreamer-plugins-flac80-0.8.12_2,1 Gstreamer flac plugin
gstreamer-plugins-gconf-0.10.5_3,3 Gstreamer gconf plugin
gstreamer-plugins-gnomevfs-0.10.12_1,3 Gstreamer gnomevfs plugin
gstreamer-plugins-good-0.10.5,3 Good gstreamer-plugins
gstreamer-plugins-hal-0.10.5,3 Gstreamer hal plugin
gstreamer-plugins-jpeg-0.10.5_1,3 Gstreamer jpeg encoder/decoder plugin
gstreamer-plugins-libpng-0.10.5_1,3 Gstreamer png plugin
gstreamer-plugins-mad-0.10.5_2,3 Gstreamer mp3 decoder plugin
gstreamer-plugins-mad80-0.8.12_3,1 Gstreamer mad plugin
gstreamer-plugins-mpeg2dec-0.10.5_1,3 Gstreamer mpeg decode plugin
gstreamer-plugins-ogg-0.10.12_1,3 Gstreamer Ogg bitstream plugin
gstreamer-plugins-ogg80-0.8.12_2,1 Gstreamer ogg plugin
gstreamer-plugins-pango-0.10.12_1,3 Gstreamer pango textoverlay plugin
gstreamer-plugins-theora-0.10.12_2,3 Gstreamer theora plugin
gstreamer-plugins-ugly-0.10.5_2,3 Ugly gstreamer-plugins
gstreamer-plugins-vorbis-0.10.12_1,3 Gstreamer vorbis encoder/decoder plugin
gstreamer-plugins-vorbis80-0.8.12_2,1 Gstreamer vorbis plugin
gstreamer-plugins-xvid-0.10.4,3 Gstreamer xvid plugin
gstreamer-plugins80-0.8.12_2,1 GStreamer written collection of plugins handling several me
gstreamer80-0.8.12_2 Development framework for creating media applications
gtar-1.16.1         GNU version of the traditional tar archiver
gthumb-2.8.1        An image viewer and browser for the GNOME 2 environment
gtk-2.10.11         Gimp Toolkit for X11 GUI (current stable version)
gtk-engines2-2.10.0 Theme engine for the gtk+-2.0 toolkit
gtk-xfce-engine-2.4.0 An XFCE engine for GTK 2.0
gtkhtml3-3.14.0     Lightweight HTML rendering/printing/editing engine
gtksourceview-1.8.5 A text widget that adds syntax highlighting to the GtkTextV
gtkspell-2.0.11_4   A GTK+ 2 spell checking component
gucharmap-gnome-1.10.0 A Unicode/ISO10646 character map and font viewer
guile-1.6.8_3       GNU Ubiquitous Intelligent Language for Extension
hal-0.5.8.20070210  Hardware Abstraction Layer for simplifying device access
hicolor-icon-theme-0.10_1 A high-color icon theme shell from the FreeDesktop project
icon-naming-utils-0.8.2 Utilities of the Tango project
icu-3.6             International Components for Unicode (from IBM)
imake-6.9.0_1       Imake and other utilities from X.Org
intltool-0.35.5_2   Tools to internationalize various kinds of data files
iso-codes-0.58      Lists of the country, language and currency iso names
iso8879-1986_2      Character entity sets from ISO 8879:1986 (SGML)
iwi-firmware-kmod-3.0_2 Intel PRO/Wireless 2200 Firmware Kernel Module
jackit-0.102.28.20061216_1 A low-latency audio server
jade-1.2.1_9        An object-oriented SGML/XML parser toolkit and DSSSL engine
jadetex-3.13_1      A TeX backend for Jade, for typesetting SGML documents
jpeg-6b_4           IJG's jpeg compression utilities
kqemu-kmod-1.3.0.p11 Kernel Acceralator for QEMU CPU Emulator (development versi
lcms-1.16_1,1       Light Color Management System -- a color management library
lha-1.14i_6         Archive files using LZSS and Huffman compression (.lzh file
libIDL-0.8.8        A library for creating trees of CORBA IDL files
libXft-2.1.7_1      A client-sided font API for X applications
liba52-0.7.4_1      A free library for decoding ATSC A/52 streams, aka AC-3
libao-esound-0.8.5_5 Portable audio output library
libart_lgpl-2.3.19,1 Library for high-performance 2D graphics
libaudiofile-0.2.6  A sound library for SGI audio file
libbonobo-2.18.0    A component and compound document system for GNOME2
libbonoboui-2.18.0  GUI frontend to the libbonobo component of GNOME 2
libcddb-1.2.2       A library to access data on a CDDB server
libcdio-0.77_1      Compact Disc Input and Control Library
libcroco-0.6.1      CSS2 parsing library
libdaemon-0.10_1    Lightweight C library that eases the writing of UNIX daemon
libdrm-2.0.2        Userspace interface to kernel Direct Rendering Module servi
libdvdcss-1.2.9_2   Portable abstraction library for DVD decryption
libdvdnav-0.1.10_1  The library for the xine-dvdnav plugin
libdvdread-0.9.4_1  This is needed by ogle, which is a DVD player that supports
libexif-0.6.13      Library to read digital camera file meta-data
libexo-0.3.2_1      Terminal library, extensions to Xfce by os-cillation
libfame-0.9.1_2     A video encoding library
libgcrypt-1.2.4_1   "General purpose crypto library based on code used in GnuPG
libglade2-2.6.0_2   GNOME glade library
libglut-6.4.2       A graphics library similar to SGI's OpenGL
libgmp-4.2.1_2      A free library for arbitrary precision arithmetic
libgnome-2.18.0     Libraries for GNOME, a GNU desktop environment
libgnomecanvas-2.14.0_2 A graphics library for GNOME
libgnomecups-0.2.2_2,1 Support library for gnome cups admistration
libgnomekbd-2.18.0  GNOME keyboard shared library
libgnomeprint-2.18.0 Gnome print support library
libgnomeprintui-2.18.0 Gnome print support library
libgnomeui-2.18.1   Libraries for the GNOME GUI, a GNU desktop environment
libgpg-error-1.4_1  Common error values for all GnuPG components
libgphoto2-2.3.1    A universal digital camera picture control tool
libgpod-0.4.2       A library for direct access of iPod's contents
libgsf-1.14.3       An extensible i/o abstraction for dealing with structured f
libgtkhtml-2.11.0_2 Lightweight HTML rendering/printing/editing engine
libgtop-2.14.8      GNOME 2 top library
libiconv-1.9.2_2    A character set conversion library
libid3tag-0.15.1b   ID3 tags library (part of MAD project)
libijs-0.35_1       C library that supports plugin printer driver for Ghostscri
libksba-1.0.0_2     KSBA is an X.509 Library
libltdl-1.5.22_2    System independent dlopen wrapper
libmad-0.15.1b_2    Libmad library (part of MAD project)
libmikmod-esound-3.1.11_2 MikMod Sound Library
libmng-1.0.9        Multiple-image Network Graphics (MNG) reference library
libmodplug-0.8.4    ModPlug mod-like music shared libraries
libmpeg2-0.4.1      A free library for decoding mpeg-2 and mpeg-1 video streams
libmspack-0.0.20040308_3 A library for Microsoft compression formats
libmusicbrainz-2.1.4 2nd generation incarnation of the CD Index - audio metadata
libnotify-0.4.3     A library for desktop notifications
libogg-1.1.3,3      Ogg bitstream library
liboil-0.3.10_1     Library of optimized inner loops
librsvg2-2.16.1     Library for parsing and rendering SVG vector-graphic files
libsexy-0.1.10      Extension widgets for GTK+
libsndfile-1.0.17   Reading and writing files containing sampled sound (like WA
libsoup-2.2.100     A SOAP (Simple Object Access Protocol) implementation in C
libtasn1-0.3.8      ASN.1 structure parser library
libtheora-1.0.a7    Theora video codec for the Ogg multimedia streaming system
libtool-1.5.22_4    Generic shared library support script
libungif-4.1.4_2    Tools and library routines for working with GIF images
libuninameslist-20050712 A library of Unicode annotation data
libusb-0.1.12_1     Library giving userland programs access to USB devices
libvolume_id-0.71.0_1 Library to provide file system type information
libvorbis-1.1.2,3   Audio compression codec library
libwmf-0.2.8.4      Tools and library for converting Microsoft WMF (windows met
libwnck-2.18.0      Library used for writing pagers and taskslists
libwww-5.4.0_4      The W3C Reference Library
libxfce4gui-4.4.0   XFce 4 widget library required by xfce4 and xfwm4
libxfce4mcs-4.4.0   XFce 4 settings management library used by most XFce 4 modu
libxfce4util-4.4.0  XFce 4 library with non-graphical helper functions
libxine-1.1.4_2     Libraries for xine multimedia player
libxklavier-3.1,1   An utility library to make XKB stuff easier
libxml2-2.6.27      XML parser library for GNOME
libxslt-1.1.20      The XSLT C library for GNOME
linc-1.0.3_6        A library for writing networked servers & clients
linux-atk-1.9.1     Accessibility Toolkit, Linux/i386 binary
linux-expat-1.95.8  Linux/i386 binary port of Expat XML-parsing library
linux-firefox-2.0.0.2 Web browser based on the browser portion of Mozilla
linux-flashplugin-7.0r69 Adobe Flash Player NPAPI Plugin
linux-fontconfig-2.2.3_6 Linux/i386 binary of Fontconfig
linux-glib2-2.6.6   Version 2.X Linux/i386 binary port of GLib
linux-gtk2-2.6.10   GTK+ library, version 2.X, Linux binary
linux-hicolor-icon-theme-0.5_1 A high-color icon theme shell from the FreeDesktop project
linux-jpeg-6b.34    RPM of the JPEG lib
linux-openssl-0.9.7f SSL and crypto library (Linux Version)
linux-pango-1.8.1   Linux pango binary
linux-png-1.2.8_2   RPM of the PNG lib
linux-tiff-3.7.1    TIFF library, Linux/i386 binary
linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries
linux_base-fc-4_9   Base set of packages needed in Linux mode (for i386/amd64)
linux_dri-6.5       Binary Linux DRI libraries for 3D hardware acceleration of 
m4-1.4.8_1          GNU m4
mbmon-205_3         A tty motherboard monitor for LM78/79, W8378x, AS99127F, VT
metacity-2.18.0     A window manager for the adult in you
mime-support-3.39.1 MIME Media Types list
mousepad-0.2.12     Simple xfce editor
nas-1.8             Network Audio System
nautilus-2.18.0.1_1 File manager for the GNOME desktop
nautilus-cd-burner-2.18.0 CD burner view for Nautilus
net-snmp-5.3.1_2    An extendable SNMP implementation
nmap-4.20           Port scanning utility for large networks
nspr-4.6.5          A platform-neutral API for system level and libc like funct
nss-3.11.4_4        Libraries to support development of security-enabled applic
open-motif-2.2.3_2  Motif X11 Toolkit (industry standard GUI (IEEE 1295))
openldap-client-2.3.34 Open source LDAP client implementation
openssl-0.9.8e      SSL and crypto library
orage-4.4.0         A calendar application to manage your time with XFce 4
p5-Authen-SASL-2.10_1 Perl5 module for SASL authentication
p5-Compress-Raw-Zlib-2.004 Low-Level Interface to zlib compression library
p5-Compress-Zlib-2.003 Perl5 interface to zlib compression library
p5-Digest-1.15      Modules that calculate message digests
p5-Digest-HMAC-1.01 Perl5 interface to HMAC Message-Digest Algorithms
p5-Digest-MD5-2.36  Perl5 interface to the MD5 algorithm
p5-Digest-SHA1-2.11 Perl interface to the SHA-1 Algorithm
p5-GSSAPI-0.24      Perl extension providing access to the GSSAPIv2 library
p5-Glade2-1.006     Gtk2-Perl bindings to libglade2
p5-Glib2-1.144      This module provides access to Glib and GObject libraries
p5-Gnome2-1.041     Allows a perl developer to use the Gnome libraries
p5-Gnome2-Canvas-1.002_1 Allows a perl developer to use the GnomeCanvas widget with 
p5-Gnome2-VFS-1.001_5 Allows you to use the GNOME Virtual File System library fro
p5-Gtk2-1.143       Perl module for Gtk+ 2.x graphical user interface library
p5-HTML-Parser-3.56 Perl5 module for parsing HTML documents
p5-HTML-Tagset-3.10 Some useful data table in parsing HTML
p5-HTML-Tree-3.23   A collection of modules to manupulate HTML syntax trees
p5-IO-Compress-Base-2.004 Base Class for IO::Uncompress modules
p5-IO-Compress-Zlib-2.003 Perl5 interface for reading and writing of (g)zip files
p5-MIME-Base64-3.07 Perl5 module for Base64 and Quoted-Printable encodings
p5-Net-1.20_1,1     Perl5 modules to access and use network protocols
p5-Net-DBus-0.33.4  Perl extension for the DBus message system
p5-SGMLSpm-1.03     Perl module for postprocessing the output from sgmls and ns
p5-Test-Harness-2.64 Run perl standard test scripts with statistics
p5-Test-Simple-0.70 Basic utilities for writing tests in perl
p5-Text-Iconv-1.4   Perl interface to iconv() codeset conversion function
p5-Tie-IxHash-1.21  Perl module implementing ordered in-memory associative arra
p5-Time-HiRes-1.9705,1 A perl5 module implementing High resolution time, sleep, an
p5-URI-1.35         Perl5 interface to Uniform Resource Identifier (URI) refere
p5-XML-Filter-BufferText-1.01 Filter to put all characters() in one event
p5-XML-Grove-0.46.a Perl-style XML objects
p5-XML-Handler-YAWriter-0.23 Yet another Perl SAX XML Writer
p5-XML-NamespaceSupport-1.09_1 A simple generic namespace support class
p5-XML-Parser-2.34_2 Perl extension interface to James Clark's XML parser, expat
p5-XML-SAX-0.15     Simple API for XML
p5-XML-SAX-Expat-0.38 Simple API for XML
p5-XML-SAX-Writer-0.50 SAX2 XML Writer
p5-XML-Simple-2.16_1 Trivial API for reading and writing XML (esp config files)
p5-XML-Twig-3.29    Process huge XML documents by chunks via a tree interface
p5-XML-XPath-1.13   Modules for parsing and evaluating XPath statements
p5-gettext-1.05_1   Message handling functions
p5-libwww-5.805     Perl5 library for WWW access
p5-libxml-0.08      Collection of Perl5 modules for working with XML
p5-sdl-1.20.3_5     Perl Bindings for SDL
pango-1.16.1        An open-source framework for the layout and rendering of i1
pciids-20070225     Database of all known ID's used in PCI devices
pcre-7.0_1          Perl Compatible Regular Expressions library
perl-5.8.8          Practical Extraction and Report Language
pkg-config-0.21     A utility to retrieve information about installed libraries
pkg_cutleaves-20061113 Interactive script for deinstalling 'leaf' packages
png-1.2.14          Library for manipulating PNG images
policykit-0.1.20060514_3 Framework for controlling access to system-wide components
poppler-0.5.4_2     A PDF rendering library
poppler-data-0.1    Poppler encoding data
poppler-gtk-0.5.4_1 Gtk bindings to poppler
popt-1.7_2          A getopt(3) like library with a number of enhancements, fro
portaudio-18.1_2    Portable cross-platform Audio API
portaudit-0.5.11    Checks installed ports against a list of security vulnerabi
portupgrade-2.2.6_2,2 FreeBSD ports/packages administration and management tool s
pth-2.0.7           GNU Portable Threads
py24-cairo-1.4.0    Python bindings for Cairo
py24-gnome-2.18.0   A set of Python bindings for GNOME 2
py24-gnome-desktop-2.18.0_1 A set of Python bindings used by modules in the GNOME Deskt
py24-gobject-2.12.3 Python bindings for GObject
py24-gtk-2.10.4     A set of Python bindings for GTK
py24-libxml2-2.6.27 Python interface for XML parser library for GNOME
py24-numeric-24.2   The Numeric Extension to Python
py24-orbit-2.14.2   Python bindings for ORBit2
python24-2.4.4      An interpreted object-oriented programming language
qemu-0.9.0          QEMU CPU Emulator
qemu-launcher-1.7.3 A GTK front-end to Qemu
qmake-3.3.7         The build utility of the Qt project
qt-3.3.7_1          Multiplatform C++ application framework
rdesktop-1.5.0      RDP client for Windows NT/2000/2003 Terminal Server
rhythmbox-0.9.8_1   Audio player for GNOME
rpm-3.0.6_13        The Red Hat Package Manager
ruby-1.8.5.12,1     An object-oriented interpreted scripting language
ruby18-bdb-0.6.0    Ruby interface to Sleepycat's Berkeley DB revision 2 or lat
samba-libsmbclient-3.0.24 Shared libs from the samba package
scrollkeeper-0.3.14_7,1 An Open Document Cataloging Project
sdl-1.2.11,2        Cross-platform multi-media development API
sdl_gfx-2.0.13_2    SDL graphics drawing primitives and other support functions
sdl_image-1.2.5     A simple library to load images of various formats as SDL s
sdl_mixer-1.2.7     A sample multi-channel audio mixer library
sdl_net-1.2.6       A small sample cross-platform networking library
sdl_pango-0.1.2_1   SDL_Pango is the SDL API to the Pango text rendering engine
sdl_ttf-2.0.8_1     A library to use TrueType fonts to render text in SDL appli
sdocbook-xml-1.1,1  "Simplified" DocBook XML DTD
sensors-applet-1.6.1_2 A GNOME applet displaying hardware sensor values
shared-mime-info-0.20 A MIME type database from the FreeDesktop project
silc-toolkit-1.0.2  Secure Internet Live Conferencing (SILC) network toolkit
smartmontools-5.37  S.M.A.R.T. disk monitoring tools
smpeg-0.4.4_6       A free MPEG1 video player library with sound support
speex-1.2.b1_1,1    An open-source patent-free voice codec
startup-notification-0.9 Library that supports startup notification spec from freede
sudo-1.6.8.12_1     Allow others to run commands as root
svgalib-1.4.3_5     A low level console graphics library
sylpheed-2.3.1      A lightweight, featureful, and fast GTK+ based e-mail clien
system-tools-backends-2.2.0 Backend system admin scripts for gnome-system-tools
t1lib-5.1.1,1       A Type 1 Rasterizer Library for UNIX/X11
teTeX-base-3.0_10   Thomas Esser's distribution of TeX & friends (binaries)
teTeX-texmf-3.0_5   Thomas Esser's distribution of TeX & friends (texmf tree)
tex-texmflocal-1.9  Meta-port that creates a site-local $TEXMF directory
texi2html-1.76_1,1  Texinfo to HTML converter
tiff-3.8.2_1        Tools and library routines for working with TIFF images
totem-2.18.0        A gstreamer-based video player for the GNOME 2 Desktop
unzip-5.52_3        List, test and extract compressed files in a ZIP archive
unzoo-4.4_2         A zoo archive extractor
vcdimager-0.7.23_3  GNU VCDImager/VCDRip -- The GNU VideoCD Image Maker/Ripping
vte-0.16.0          Terminal widget with improved accessibility and I18N suppor
win32-codecs-3.1.0.r1,1 Huge compilation of Win32 binary video codecs
wine-0.9.33,1       Microsoft Windows compatibility layer for Unix-like systems
wireshark-0.99.5_1  A powerful network analyzer/capture tool
wxgtk2-2.6.3_2      The wxWidgets GUI toolkit with GTK+ bindings
wxgtk2-common-2.6.3_2 The wxWidgets GUI toolkit (common files)
xfce-4.4.0          The "meta-port" for the XFce 4 desktop environment
xfce4-appfinder-4.4.0 Find application in the system supporting Desktop entry for
xfce4-desktop-4.4.0_1 XFce 4 desktop background manager and root menu
xfce4-icon-theme-4.4.0 Icon themes for XFce 4
xfce4-mcs-manager-4.4.0 XFce 4 settings manager
xfce4-mcs-plugins-4.4.0 XFce 4 settings manager plugins
xfce4-mixer-4.4.0   XFce 4 volume mixer module for xfce4-panel
xfce4-panel-4.4.0   XFce 4 panel module
xfce4-print-4.4.0   XFce 4 graphical frontend for printing
xfce4-session-4.4.0 Session manager for the Xfce 4 desktop environment
xfce4-utils-4.4.0_1 XFce 4 essential utilities and scripts
xfce4-wm-4.4.0      XFce 4 window manager
xfce4-wm-themes-4.4.0 XFce 4 window decoration themes for xfwm4
xine-0.99.4_9       An X11 multimedia player
xmlcatmgr-2.2       SGML and XML catalog manager
xorg-6.9.0          X.Org distribution metaport
xorg-clients-6.9.0_3 X client programs and related files from X.Org
xorg-documents-6.9.0 Documentation of X11 protocol and libraries from X.Org
xorg-fonts-100dpi-6.9.0_1 X.Org 100dpi bitmap fonts
xorg-fonts-75dpi-6.9.0_1 X.Org 75dpi bitmap fonts
xorg-fonts-cyrillic-6.9.0_1 X.Org Cyrillic bitmap fonts
xorg-fonts-encodings-6.9.0_1 X.Org font encoding files
xorg-fonts-miscbitmaps-6.9.0_1 X.Org miscellaneous bitmap fonts
xorg-fonts-truetype-6.9.0 X.Org TrueType fonts
xorg-fonts-type1-6.9.0 X.Org Type1 fonts
xorg-fontserver-6.9.0_1 X font server from X.Org
xorg-libraries-6.9.0_1 X11 libraries and headers from X.Org
xorg-manpages-6.9.0 X.Org library manual pages
xorg-nestserver-6.9.0_1 Nesting X server from X.Org
xorg-printserver-6.9.0_2 X Print server from X.Org
xorg-server-6.9.0_6 X.Org X server and related programs
xorg-vfbserver-6.9.0_2 X virtual framebuffer server from X.Org
xpdf-3.01_3         Display PDF files, and convert them to other formats
xscreensaver-gnome-hacks-4.24_1 Save your screen while you entertain your cat (for GNOME us
xterm-224           Terminal emulator for the X Window System
xvid-1.1.2,1        An opensource MPEG-4 codec, based on OpenDivx
yelp-2.18.0         A help browser for the GNOME 2 desktop
zenity-2.18.0       Display GNOME dialogs from the command line
zip-2.32            Create/update ZIP files compatible with pkzip

%env
LOGNAME=nick
GDMSESSION=gnome
GNOME_KEYRING_SOCKET=/var/tmp/keyring-KIBmP4/socket
GDM_XSERVER_LOCATION=local
FTP_PASSIVE_MODE=YES
GNOME_DESKTOP_SESSION_ID=Default
TERM=xterm
USERNAME=nick
XAUTHORITY=/home/nick/.Xauthority
USER=nick
MAIL=/var/mail/nick
SSH_AGENT_PID=1017
DESKTOP_STARTUP_ID=
no_proxy=localhost,127.0.0.0/8
SSH_AUTH_SOCK=/tmp/ssh-qGjktA6XAW/agent.1000
DBUS_SESSION_BUS_ADDRESS=unix:path=/var/tmp/dbus-LgjsnWdcXN,guid=6956607bd80de0986daa7c0045fde1d8
WINDOWID=23093843
SHELL=/bin/csh
SESSION_MANAGER=local/presario.shmon.net:/tmp/.ICE-unix/1000
HOME=/home/nick
DISPLAY=:0.0
DESKTOP_SESSION=gnome
ENV=/home/nick/.shrc
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/nick/bin
EDITOR=ee
COLORTERM=gnome-terminal
http_proxy=http://proxy1.shmon.net:3128/
PAGER=less
BLOCKSIZE=K
GTK_RC_FILES=/usr/local/etc/gtk/gtkrc:/home/nick/.gtkrc-1.2-gnome2
HOSTTYPE=FreeBSD
VENDOR=intel
OSTYPE=FreeBSD
MACHTYPE=i386
SHLVL=1
PWD=/home/nick
GROUP=nick
HOST=presario.shmon.net
HTTP_PROXY=http://proxy1:3128
FTP_PROXY=http://proxy1:3128
____

Running hald:
____

presario# hald --daemon=no --verbose=yes 
19:48:41.228 [I] hald.c:469: hal 0.5.8
19:48:41.229 [I] hald.c:534: Will not daemonize
19:48:41.229 [I] hald_dbus.c:3238: local server is listening at unix:path=/var/run/hald/dbus-1n0O5nPv5j,guid=7b4ae55f3dda5caed642550045fe4e69
19:48:41.246 [I] hald_runner.c:116: Runner has pid 71503
Runner started - allowed paths are '/usr/local/libexec:/usr/local/libexec/hal/scripts:/usr/local/bin'
19:48:41.267 [I] hf-usb.c:575: unable to open /dev/usb: Device busy
Run started hald-probe-smbios (10000) (0) 
!  full path is '/usr/local/libexec/hald-probe-smbios', program_dir is '/usr/local/libexec'
19:48:41.304 [I] hald_dbus.c:3197: 71502: Got a connection
19:48:41.306 [I] hald_dbus.c:3198: dbus_connection_get_is_connected = 1
19:48:41.307 [D] hald_dbus.c:1194: udi=/org/freedesktop/Hal/devices/computer, key=smbios.bios.vendor
hald-probe-smbios info: Setting smbios.bios.vendor='Phoenix'
19:48:41.307 [D] hald_dbus.c:1194: udi=/org/freedesktop/Hal/devices/computer, key=smbios.bios.version
hald-probe-smbios info: Setting smbios.bios.version='F.08'
19:48:41.307 [D] hald_dbus.c:1194: udi=/org/freedesktop/Hal/devices/computer, key=smbios.bios.release_date
hald-probe-smbios info: Setting smbios.bios.release_date='01/26/2005'
19:48:41.308 [D] hald_dbus.c:1194: udi=/org/freedesktop/Hal/devices/computer, key=smbios.system.manufacturer
hald-probe-smbios info: Setting smbios.system.manufacturer='Hewlett-Packard'
19:48:41.308 [D] hald_dbus.c:1194: udi=/org/freedesktop/Hal/devices/computer, key=smbios.system.product
hald-probe-smbios info: Setting smbios.system.product='Presario B3820 (PV142PA#ABG)'
19:48:41.309 [D] hald_dbus.c:1194: udi=/org/freedesktop/Hal/devices/computer, key=smbios.system.version
hald-probe-smbios info: Setting smbios.system.version='F.07'
19:48:41.309 [D] hald_dbus.c:1194: udi=/org/freedesktop/Hal/devices/computer, key=smbios.system.serial
hald-probe-smbios info: Setting smbios.system.serial='CNC55601RV'
19:48:41.309 [D] hald_dbus.c:1194: udi=/org/freedesktop/Hal/devices/computer, key=smbios.system.uuid
hald-probe-smbios info: Setting smbios.system.uuid='4DA042B5-A695-4F26-A117-132110B07700'
19:48:41.310 [D] hald_dbus.c:1194: udi=/org/freedesktop/Hal/devices/computer, key=smbios.chassis.manufacturer
hald-probe-smbios info: Setting smbios.chassis.manufacturer='HP'
19:48:41.310 [D] hald_dbus.c:1194: udi=/org/freedesktop/Hal/devices/computer, key=smbios.chassis.type
hald-probe-smbios info: Setting smbios.chassis.type='Notebook'
/usr/local/libexec/hald-probe-smbios exited
19:48:41.341 [I] hald_dbus.c:3175: Client to local_server was disconnected
19:48:41.341 [I] hald_dbus.c:3185: unregistered
19:48:41.346 [I] device_info.c:1427: *** Matched file /usr/local/share/hal/fdi/policy/10osvendor/10-power-mgmt-policy.fdi
19:48:41.346 [I] device_info.c:1427: *** Matched file /usr/local/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi
19:48:41.347 [I] util.c:972: Add callouts for udi=/org/freedesktop/Hal/devices/computer
Run started hal-system-storage-cleanup-mountpoints (10000) (0) 
!  full path is '/usr/local/libexec/hal/scripts/hal-system-storage-cleanup-mountpoints', program_dir is '/usr/local/libexec/hal/scripts'
/usr/local/libexec/hal/scripts/hal-system-storage-cleanup-mountpoints exited
19:48:41.397 [I] hald.c:82: Added device to GDL; udi=/org/freedesktop/Hal/devices/computer
Run started hald-addon-acpi (0) (0) 
!  full path is 'hald-addon-acpi', program_dir is '(null)'
19:48:41.397 [I] hald.c:95: Started addon hald-addon-acpi for udi /org/freedesktop/Hal/devices/computer
____

..Whereupon the process hangs, using as much CPU as it can get its
hands on.

Attempting to provide a backtrace of the running process (am I doing
the wrong thing here?):
____

presario# ps -ax | grep hal | grep -v grep
71502  p0  TX+    6:12.47 hald --daemon=no --verbose=yes
71503  p0  I+     0:00.02 hald-runner

presario# gdb hald -p 71502
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...
Attaching to program: /usr/local/sbin/hald, process 71502
Reading symbols from /usr/local/lib/libpolkit.so.0...done.
Loaded symbols for /usr/local/lib/libpolkit.so.0
Reading symbols from /usr/local/lib/libdbus-glib-1.so.2...done.
Loaded symbols for /usr/local/lib/libdbus-glib-1.so.2
Reading symbols from /usr/local/lib/libdbus-1.so.3...done.
Loaded symbols for /usr/local/lib/libdbus-1.so.3
Reading symbols from /usr/local/lib/libgobject-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libgobject-2.0.so.0
Reading symbols from /usr/local/lib/libglib-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libglib-2.0.so.0
Reading symbols from /usr/local/lib/compat/pkg/libintl.so.6...done.
Loaded symbols for /usr/local/lib/compat/pkg/libintl.so.6
Reading symbols from /usr/local/lib/libiconv.so.3...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /lib/libm.so.4...done.
Loaded symbols for /lib/libm.so.4
Reading symbols from /usr/local/lib/libexpat.so.6...done.
Loaded symbols for /usr/local/lib/libexpat.so.6
Reading symbols from /lib/libcam.so.3...done.
Loaded symbols for /lib/libcam.so.3
Reading symbols from /lib/libpthread.so.2...done.

warning: Unable to get location for thread creation breakpoint: generic error
[New LWP 100122]
Loaded symbols for /lib/libpthread.so.2
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libsbuf.so.3...done.
Loaded symbols for /lib/libsbuf.so.3
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
[Switching to LWP 100122]
0x080632b5 in hf_pci_probe () at hf-pci.c:154
154               if (info->secondary_bus == bus)
(gdb) bt
#0  0x080632b5 in hf_pci_probe () at hf-pci.c:154
#1  0x0805cee7 in osspec_probe () at osspec.c:96
#2  0x080551ed in main (argc=3, argv=0xbfbfea14) at hald.c:578
(gdb) bt full
#0  hf_pci_probe () at hf-pci.c:154
        info = (DeviceInfo *) 0x808d2e0
        parent = (HalDevice *) 0x0
        pc = {pat_buf_len = 0, num_patterns = 0, patterns = 0x0, 
  match_buf_len = 10200, num_matches = 18, matches = 0xbfbfbe40, offset = 18, 
  generation = 18, status = PCI_GETCONF_LAST_DEVICE}
        conf = {{pc_sel = {pc_bus = 0 '\0', pc_dev = 0 '\0', 
      pc_func = 0 '\0'}, pc_hdr = 0 '\0', pc_subvendor = 4156, 
    pc_subdevice = 12425, pc_vendor = 32902, pc_device = 13120, 
    pc_class = 6 '\006', pc_subclass = 0 '\0', pc_progif = 0 '\0', 
    pc_revid = 33 '!', pd_name = "agp", '\0' <repeats 13 times>, pd_unit = 0}, 
  {pc_sel = {pc_bus = 0 '\0', pc_dev = 1 '\001', pc_func = 0 '\0'}, 
    pc_hdr = 1 '\001', pc_subvendor = 0, pc_subdevice = 0, pc_vendor = 32902, 
    pc_device = 13121, pc_class = 6 '\006', pc_subclass = 4 '\004', 
    pc_progif = 0 '\0', pc_revid = 33 '!', 
    pd_name = "pcib", '\0' <repeats 12 times>, pd_unit = 1}, {pc_sel = {
      pc_bus = 0 '\0', pc_dev = 29 '\035', pc_func = 0 '\0'}, pc_hdr = 0 '\0', 
    pc_subvendor = 4156, pc_subdevice = 12425, pc_vendor = 32902, 
    pc_device = 9410, pc_class = 12 '\f', pc_subclass = 3 '\003', 
    pc_progif = 0 '\0', pc_revid = 3 '\003', 
    pd_name = "uhci", '\0' <repeats 12 times>, pd_unit = 0}, {pc_sel = {
      pc_bus = 0 '\0', pc_dev = 29 '\035', pc_func = 1 '\001'}, 
    pc_hdr = 0 '\0', pc_subvendor = 4156, pc_subdevice = 12425, 
---Type <return> to continue, or q <return> to quit---
    pc_vendor = 32902, pc_device = 9412, pc_class = 12 '\f', 
    pc_subclass = 3 '\003', pc_progif = 0 '\0', pc_revid = 3 '\003', 
    pd_name = "uhci", '\0' <repeats 12 times>, pd_unit = 1}, {pc_sel = {
      pc_bus = 0 '\0', pc_dev = 29 '\035', pc_func = 2 '\002'}, 
    pc_hdr = 0 '\0', pc_subvendor = 4156, pc_subdevice = 12425, 
    pc_vendor = 32902, pc_device = 9415, pc_class = 12 '\f', 
    pc_subclass = 3 '\003', pc_progif = 0 '\0', pc_revid = 3 '\003', 
    pd_name = "uhci", '\0' <repeats 12 times>, pd_unit = 2}, {pc_sel = {
      pc_bus = 0 '\0', pc_dev = 29 '\035', pc_func = 7 '\a'}, pc_hdr = 0 '\0', 
    pc_subvendor = 4156, pc_subdevice = 12425, pc_vendor = 32902, 
    pc_device = 9421, pc_class = 12 '\f', pc_subclass = 3 '\003', 
    pc_progif = 32 ' ', pc_revid = 3 '\003', 
    pd_name = "ehci", '\0' <repeats 12 times>, pd_unit = 0}, {pc_sel = {
      pc_bus = 0 '\0', pc_dev = 30 '\036', pc_func = 0 '\0'}, 
    pc_hdr = 1 '\001', pc_subvendor = 0, pc_subdevice = 0, pc_vendor = 32902, 
    pc_device = 9288, pc_class = 6 '\006', pc_subclass = 4 '\004', 
    pc_progif = 0 '\0', pc_revid = 131 '\203', 
    pd_name = "pcib", '\0' <repeats 12 times>, pd_unit = 2}, {pc_sel = {
      pc_bus = 0 '\0', pc_dev = 31 '\037', pc_func = 0 '\0'}, pc_hdr = 0 '\0', 
    pc_subvendor = 0, pc_subdevice = 0, pc_vendor = 32902, pc_device = 9420, 
    pc_class = 6 '\006', pc_subclass = 1 '\001', pc_progif = 0 '\0', 
    pc_revid = 3 '\003', pd_name = "isab", '\0' <repeats 12 times>, 
    pd_unit = 0}, {pc_sel = {pc_bus = 0 '\0', pc_dev = 31 '\037',

(Culled a bit - this went on for around 20-30 "continue"s)

    pd_unit = 675146208}, {pc_sel = {pc_bus = 80 'P', pc_dev = 186 '�', 
      pc_func = 7 '\a'}, pc_hdr = 8 '\b', pc_subvendor = 13403, 
    pc_subdevice = 2055, pc_vendor = 13386, pc_device = 2055, 
    pc_class = 0 '\0', pc_subclass = 144 '\220', pc_progif = 7 '\a', 
    pc_revid = 8 '\b', 
    pd_name = "PQ\t\b`\235\a\b\200Q\t\b\001\000\000\000\001", pd_unit = 1}...}
        p = (struct pci_conf *) 0xbfbfc110
        devices = (GSList *) 0x808d2d8
        __FUNCTION__ = "hf_pci_probe"
        __PRETTY_FUNCTION__ = "hf_pci_probe"
#1  0x0805cee7 in osspec_probe () at osspec.c:96
        i = 1
#2  0x080551ed in main (argc=3, argv=0xbfbfea14) at hald.c:578
        child_pid = 675388896
        dev_null_fd = 675388896
        pf = 675388896
        pid = "\000G3(\024\000\000\000\001"
        loop = (GMainLoop *) 0x807b770
        path = 0x8092b80 "\002\t"
        newpath = "/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/usr/local/libexec:/usr/local/libexec/hal/scripts\000\000\000\000\000\001��\t(\200R\n(\000\000\000\000����+�\a(\026�\004\b\004�\212\006\000M\n(\001\000\000\000@���$���\024���"...
---Type <return> to continue, or q <return> to quit---
        __FUNCTION__ = "main"
____

Line 154 of hf-pci.c is in hf_pci_lookup(), though.

A few steps:
____

(gdb) step
182           if (new_root)
(gdb) step
184               root = new_root;
(gdb) step
172       info = root->data;
(gdb) step
174       bus = info->p.pc_sel.pc_bus;
(gdb) step
186               bus = info->p.pc_sel.pc_bus;
(gdb) step
146       if (bus != 0)
(gdb) step
150           HF_LIST_FOREACH(l, devices)
(gdb) step
152               DeviceInfo *info = l->data;
(gdb) step
154               if (info->secondary_bus == bus)
(gdb) step
150           HF_LIST_FOREACH(l, devices)
(gdb) step
152               DeviceInfo *info = l->data;
(gdb) step
154               if (info->secondary_bus == bus)
(gdb) step
150           HF_LIST_FOREACH(l, devices)
(gdb) step
152               DeviceInfo *info = l->data;
(gdb) step
154               if (info->secondary_bus == bus)
(gdb) step
150           HF_LIST_FOREACH(l, devices)
(gdb) step
152               DeviceInfo *info = l->data;
(gdb) step
154               if (info->secondary_bus == bus)
(gdb) step
150           HF_LIST_FOREACH(l, devices)
(gdb) step
152               DeviceInfo *info = l->data;
(gdb) step
154               if (info->secondary_bus == bus)
(gdb) step
182           if (new_root)
____

A "bt full" at this point produces:
____

(gdb) bt full
#0  hf_pci_probe () at hf-pci.c:182
        info = (DeviceInfo *) 0x808d2e0
        parent = (HalDevice *) 0x0
        pc = {pat_buf_len = 0, num_patterns = 0, patterns = 0x0, 
  match_buf_len = 10200, num_matches = 18, matches = 0xbfbfbe40, offset = 18, 
  generation = 18, status = PCI_GETCONF_LAST_DEVICE}
        conf = {{pc_sel = {pc_bus = 0 '\0', pc_dev = 0 '\0', 
      pc_func = 0 '\0'}, pc_hdr = 0 '\0', pc_subvendor = 4156, 
    pc_subdevice = 12425, pc_vendor = 32902, pc_device = 13120, 
    pc_class = 6 '\006', pc_subclass = 0 '\0', pc_progif = 0 '\0', 
    pc_revid = 33 '!', pd_name = "agp", '\0' <repeats 13 times>, pd_unit = 0}, 
  {pc_sel = {pc_bus = 0 '\0', pc_dev = 1 '\001', pc_func = 0 '\0'}, 
    pc_hdr = 1 '\001', pc_subvendor = 0, pc_subdevice = 0, pc_vendor = 32902, 
    pc_device = 13121, pc_class = 6 '\006', pc_subclass = 4 '\004', 
    pc_progif = 0 '\0', pc_revid = 33 '!', 
    pd_name = "pcib", '\0' <repeats 12 times>, pd_unit = 1}, {pc_sel = {
      pc_bus = 0 '\0', pc_dev = 29 '\035', pc_func = 0 '\0'}, pc_hdr = 0 '\0', 
    pc_subvendor = 4156, pc_subdevice = 12425, pc_vendor = 32902, 
    pc_device = 9410, pc_class = 12 '\f', pc_subclass = 3 '\003', 
    pc_progif = 0 '\0', pc_revid = 3 '\003', 
    pd_name = "uhci", '\0' <repeats 12 times>, pd_unit = 0}, {pc_sel = {
      pc_bus = 0 '\0', pc_dev = 29 '\035', pc_func = 1 '\001'}, 
    pc_hdr = 0 '\0', pc_subvendor = 4156, pc_subdevice = 12425, 
---Type <return> to continue, or q <return> to quit---
    pc_vendor = 32902, pc_device = 9412, pc_class = 12 '\f', 
    pc_subclass = 3 '\003', pc_progif = 0 '\0', pc_revid = 3 '\003', 
    pd_name = "uhci", '\0' <repeats 12 times>, pd_unit = 1}, {pc_sel = {
      pc_bus = 0 '\0', pc_dev = 29 '\035', pc_func = 2 '\002'}, 
    pc_hdr = 0 '\0', pc_subvendor = 4156, pc_subdevice = 12425, 
    pc_vendor = 32902, pc_device = 9415, pc_class = 12 '\f', 
    pc_subclass = 3 '\003', pc_progif = 0 '\0', pc_revid = 3 '\003', 
    pd_name = "uhci", '\0' <repeats 12 times>, pd_unit = 2}, {pc_sel = {
      pc_bus = 0 '\0', pc_dev = 29 '\035', pc_func = 7 '\a'}, pc_hdr = 0 '\0', 
    pc_subvendor = 4156, pc_subdevice = 12425, pc_vendor = 32902, 
    pc_device = 9421, pc_class = 12 '\f', pc_subclass = 3 '\003', 
    pc_progif = 32 ' ', pc_revid = 3 '\003', 
    pd_name = "ehci", '\0' <repeats 12 times>, pd_unit = 0}, {pc_sel = {
      pc_bus = 0 '\0', pc_dev = 30 '\036', pc_func = 0 '\0'}, 
    pc_hdr = 1 '\001', pc_subvendor = 0, pc_subdevice = 0, pc_vendor = 32902, 
    pc_device = 9288, pc_class = 6 '\006', pc_subclass = 4 '\004', 
    pc_progif = 0 '\0', pc_revid = 131 '\203', 
    pd_name = "pcib", '\0' <repeats 12 times>, pd_unit = 2}, {pc_sel = {
      pc_bus = 0 '\0', pc_dev = 31 '\037', pc_func = 0 '\0'}, pc_hdr = 0 '\0', 
    pc_subvendor = 0, pc_subdevice = 0, pc_vendor = 32902, pc_device = 9420, 
    pc_class = 6 '\006', pc_subclass = 1 '\001', pc_progif = 0 '\0', 
    pc_revid = 3 '\003', pd_name = "isab", '\0' <repeats 12 times>, 
    pd_unit = 0}, {pc_sel = {pc_bus = 0 '\0', pc_dev = 31 '\037',

(Again, culled a bit)

    pd_unit = 675146208}, {pc_sel = {pc_bus = 80 'P', pc_dev = 186 '�', 
      pc_func = 7 '\a'}, pc_hdr = 8 '\b', pc_subvendor = 13403, 
    pc_subdevice = 2055, pc_vendor = 13386, pc_device = 2055, 
    pc_class = 0 '\0', pc_subclass = 144 '\220', pc_progif = 7 '\a', 
    pc_revid = 8 '\b', 
    pd_name = "PQ\t\b`\235\a\b\200Q\t\b\001\000\000\000\001", pd_unit = 1}...}
        p = (struct pci_conf *) 0xbfbfc110
        devices = (GSList *) 0x808d2d8
        __FUNCTION__ = "hf_pci_probe"
        __PRETTY_FUNCTION__ = "hf_pci_probe"
#1  0x0805cee7 in osspec_probe () at osspec.c:96
        i = 1
#2  0x080551ed in main (argc=3, argv=0xbfbfea14) at hald.c:578
        child_pid = 675388896
        dev_null_fd = 675388896
        pf = 675388896
        pid = "\000G3(\024\000\000\000\001"
        loop = (GMainLoop *) 0x807b770
        path = 0x808d2e0 "\200*\t\b��\b\b"
        newpath = "/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/usr/local/libexec:/usr/local/libexec/hal/scripts\000\000\000\000\000\001��\t(\200R\n(\000\000\000\000����+�\a(\026�\004\b\004�\212\006\000M\n(\001\000\000\000@���$���\024���"...
---Type <return> to continue, or q <return> to quit---
        __FUNCTION__ = "main"
____

Looks like GDB's feeding me bollocks, yeah?

If anyone's got an idea or two up their sleeves about how I might
go about fixing this, I'd be very grateful to hear about it!

Appreciate your time!
-- 
Nick Withers
email: nick at nickwithers.com
Web: http://www.nickwithers.com
Mobile: +61 414 397 446


More information about the freebsd-gnome mailing list