--neYutvxvOLaeuPCA
Content-Type: multipart/mixed; boundary="x+6KMIRAuhnl3hBn"
Content-Disposition: inline
--x+6KMIRAuhnl3hBn
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Attach my kernel configuration here, just in case.=20
On 00:12 Tue 23 Nov, Jeremy Chadwick wrote:
> Forwarding back to the mailing list since the OP didn't CC it on his
> reply to me.
>=20
> ----- Forwarded message from Zhihao Yuan <lichray@gmail.com> -----
>=20
> > From: Zhihao Yuan <lichray@gmail.com>
> > To: Jeremy Chadwick <freebsd@jdc.parodius.com>
> > Date: Tue, 23 Nov 2010 01:18:57 -0600
> > Subject: Re: Fail to use Dtrace on FreeBSD 8.1-STABLE
> >=20
> > I followed the instructions, but still can not run any D-scripts. All
> > scripts shows the error message that I just posted.
> >=20
> > On Tue, Nov 23, 2010 at 12:29 AM, Jeremy Chadwick
> > <freebsd@jdc.parodius.com>wrote:
> >=20
> > > On Mon, Nov 22, 2010 at 11:45:38PM -0600, Zhihao Yuan wrote:
> > > > ~> uname -a
> > > > FreeBSD compaq.yuetime 8.1-STABLE FreeBSD 8.1-STABLE #0: Thu Nov 18
> > > 01:32:06
> > > > CST
> > > > 2010 root@compaq.yuetime:/usr/obj/usr/src/sys/HOUKAGO amd64
> > > >
> > > > I added the required options to the kernel config file:
> > > >
> > > > Code:
> > > >
> > > > options KDTRACE_FRAME
> > > > options KDTRACE_HOOKS
> > > > options DDB_CTF
> > > >
> > > > and compiled/installed the kernel WITH_CTF=3D1 successfully.
> > > >
> > > > sudo make buildkernel KERNCONF=3DHOUKAGO WITH_CTF=3D1
> > > > sudo make installkernel KERNCONF=3DHOUKAGO WITH_CTF=3D1
> > > >
> > > > The dtraceall is loaded, and dtrace -l works. But whenever I want t=
o run
> > > a
> > > > dtrace command, I get something like:
> > > >
> > > > ~> sudo dtrace -lP syscall
> > > > dtrace: invalid probe specifier syscall: "/usr/lib/dtrace/psinfo.d"=
, line
> > > > 37: syntax error near "uid_t"
> > > >
> > > > The error message looks like what you got when WITH_CTF=3D1 is not
> > > presented.
> > > > Any idea?
> > >
> > > I don't know if this will help, but I followed the procedure here:
> > >
> > > http://wiki.freebsd.org/DTrace
> > >
> > > Which worked fine. See this thread for verification that the above
> > > works correctly:
> > >
> > > http://lists.freebsd.org/pipermail/freebsd-fs/2010-October/009780.html
> > >
> > > --
> > > | Jeremy Chadwick jdc@parodius.com |
> > > | Parodius Networking http://www.parodius.com/ |
> > > | UNIX Systems Administrator Mountain View, CA, USA |
> > > | Making life hard for others since 1977. PGP: 4BD6C0CB |
> > >
> > >
> >=20
> >=20
> > --=20
> > Zhihao Yuan
> > The best way to predict the future is to invent it.
>=20
> ----- End forwarded message -----
>=20
> --=20
> | Jeremy Chadwick jdc@parodius.com |
> | Parodius Networking http://www.parodius.com/ |
> | UNIX Systems Administrator Mountain View, CA, USA |
> | Making life hard for others since 1977. PGP: 4BD6C0CB |
>=20
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
--=20
Zhihao Yuan, nickname lichray
The best way to predict the future is to invent it.
--------------------------------------------------
let focus =3D 'computing' in here:
http://let-in.blogspot.com
(let (me Program!)):
http://lichray.blogspot.com
--x+6KMIRAuhnl3hBn
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: attachment; filename=HOUKAGO
cpu HAMMER
ident HOUKAGO
# To statically compile in device wiring instead of /boot/device.hints
hints "GENERIC.hints" # Default places to look for devices.
# Use the following to compile in values accessible to the kernel
# through getenv() (or kenv(1) in userland). The format of the file
# is 'variable=value', see kenv(1)
#
# env "GENERIC.env"
#makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
options SCHED_ULE # ULE scheduler
options PREEMPTION # Enable kernel thread preemption
options INET # InterNETworking
options INET6 # IPv6 communications protocols
options NETGRAPH # Graph based kernel networking subsystem
options SCTP # Stream Control Transmission Protocol
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 UFS_GJOURNAL # Enable gjournal-based UFS journaling
#options MD_ROOT # MD is a potential root device
options NFSCLIENT # Network Filesystem Client
options NFSSERVER # Network Filesystem Server
options NFSLOCKD # Network Lock Manager
#options NFS_ROOT # NFS usable as /, requires NFSCLIENT
options MSDOSFS # MSDOS Filesystem
options LIBICONV # Preload iconv
options MSDOSFS_ICONV # MSDOS Filesystem with iconv support
options EXT2FS # Ext2/3 Filesystem
options CD9660 # ISO 9660 Filesystem
#options PROCFS # Process filesystem (requires PSEUDOFS)
#options PSEUDOFS # Pseudo-filesystem framework
options GEOM_PART_GPT # GUID Partition Tables.
options GEOM_LABEL # Provides labelization
options COMPAT_43TTY # BSD 4.3 TTY compat (sgtty)
options COMPAT_FREEBSD32 # Compatible with i386 binaries
#options COMPAT_FREEBSD4 # Compatible with FreeBSD4
#options COMPAT_FREEBSD5 # Compatible with FreeBSD5
#options COMPAT_FREEBSD6 # Compatible with FreeBSD6
options COMPAT_FREEBSD7 # Compatible with FreeBSD7
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
options KTRACE # ktrace(1) support
options STACK # stack(9) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options P1003_1B_SEMAPHORES # POSIX-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed.
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)
#options AUDIT # Security event auditing
options MAC # TrustedBSD MAC Framework
options FLOWTABLE # per-cpu routing cache
options KDTRACE_FRAME # Ensure frames are compiled in
options KDTRACE_HOOKS # Kernel DTrace hooks
options DDB_CTF # Kernel ELF linker loads CTF data
#options INCLUDE_CONFIG_FILE # Include this file in kernel
# Make an SMP-capable kernel by default
options SMP # Symmetric MultiProcessor Kernel
# CPU frequency control
device cpufreq
# Bus support.
device acpi
device acpi_wmi
device pci
# ATA and ATAPI devices
device ata
device atadisk # ATA disk drives
device ataraid # ATA RAID drives
device atapicd # ATAPI CDROM drives
device atapifd # ATAPI floppy drives
device atapist # ATAPI tape drives
options ATA_STATIC_ID # Static device numbering
# SCSI peripherals
device scbus # SCSI bus (required for SCSI)
device ch # SCSI media changers
device da # Direct Access (disks)
device cd # CD
device pass # Passthrough device (direct SCSI access)
# 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 kbdmux # keyboard multiplexer
device vga # VGA video card driver
device splash # Splash screen and screen saver support
# syscons is the default console driver, resembling an SCO console
device sc
#options SC_PIXEL_MODE
#options X86BIOS
#device vesa # enable VESA console
device agp # support several AGP chipsets
# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
device cbb # cardbus (yenta) bridge
device pccard # PC Card (16-bit) bus
device cardbus # CardBus (32-bit) bus
# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device miibus # MII bus support
device bge # Broadcom BCM570xx Gigabit Ethernet
# Wireless NIC cards
device wlan # 802.11 support
#options IEEE80211_DEBUG # enable debug msgs
options IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's
#options IEEE80211_SUPPORT_MESH # enable 802.11s draft support
device wlan_wep # 802.11 WEP support
device wlan_ccmp # 802.11 CCMP support
device wlan_tkip # 802.11 TKIP support
device wlan_amrr # AMRR transmit rate control algorithm
# Pseudo devices.
device loop # Network loopback
device random # Entropy device
device ether # Ethernet support
device vlan # 802.1Q VLAN support
device tun # Packet tunnel.
device pty # BSD-style compatibility pseudo ttys
device md # Memory "disks"
device gif # IPv6 and IPv4 tunneling
device faith # IPv6-to-IPv4 relaying (translation)
device firmware # firmware assist module
# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device bpf # Berkeley packet filter
# USB support
#options USB_DEBUG # enable debug msgs
device uhci # UHCI PCI->USB interface
device ohci # OHCI PCI->USB interface
device ehci # EHCI PCI->USB interface (USB 2.0)
device usb # USB Bus (required)
device udbp # USB Double Bulk Pipe devices
device uhid # "Human Interface Devices"
device ukbd # Keyboard
device ulpt # Printer
device umass # Disks/Mass storage - Requires scbus and da
device ums # Mouse
#device urio # Diamond Rio 500 MP3 player
# FireWire support
device firewire # FireWire bus code
#device sbp # SCSI over FireWire (Requires scbus and da)
#device fwe # Ethernet over FireWire (non-standard!)
#device fwip # IP over FireWire (RFC 2734,3146)
# Sound subsystem
device sound
device snd_hda
--x+6KMIRAuhnl3hBn--
--neYutvxvOLaeuPCA
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)
iEYEARECAAYFAkzreV0ACgkQflQ9HU+rZa1RfQCfRViZp60NSqp43/4ozN+QdAPT
GpEAn2HvQZiGWz7QCdI39JwYdQUjmV4c
=FT0A
-----END PGP SIGNATURE-----
--neYutvxvOLaeuPCA--