kgdb not loading symbols?
Scot Hetzel
swhetzel at gmail.com
Wed Jan 9 23:41:48 PST 2008
I was trying to trace a panic loading a Dell Windows XP driver for the
Broadcom Wireless Adapter that had been converted using ndisgen.
I had rebuilt my kernel using:
cd /usr/src/sys/amd64/conf
config DV8135NR
cd ../compile/DV8135NR
make cleandepend && make depend
make
make gdbinit
make install
After rebooting, I loaded the Dell bcmwl564_sys.ko driver, and it
paniced. I then had it save the panic to the swap partition and
rebooted. After it booted and saved the core I ran:
cd /usr/src/sys/amd64/compile/DV8135NR
kgdb -n 11 kernel.debug
:
(kgdb) kldsyms
(kgdb)
When I had done this on 7.0-CURRENT a while back, I would see kgdb
loading the symbol files, but when I used kldsyms today it didn't
display them. Is loading symbols broken on 8.0-CURRENT or do we no
longer display the loading of the symbol files?
If you want to see the full kgdb output, see my post to the "Hung
laptop now will not boot 7.0-RC1" thread on this list.
Scot
-------------- next part --------------
options CONFIG_AUTOGENERATED
ident DV8135NR-debug
machine amd64
cpu HAMMER
makeoptions KODIR=/boot/${KERNEL}_hp_debug
makeoptions DEBUG=-g
options INCLUDE_CONFIG_FILE
options WITNESS_SKIPSPIN
options WITNESS
options INVARIANT_SUPPORT
options INVARIANTS
options GDB
options DDB
options KDB
options ATA_STATIC_ID
options SMP
options AUDIT
options STOP_NMI
options KBD_INSTALL_CDEV
options _KPOSIX_PRIORITY_SCHEDULING
options SYSVSEM
options SYSVMSG
options SYSVSHM
options STACK
options KTRACE
options SCSI_DELAY=5000
options COMPAT_FREEBSD6
options COMPAT_FREEBSD5
options COMPAT_FREEBSD4
options COMPAT_IA32
options COMPAT_43TTY
options GEOM_LABEL
options GEOM_PART_GPT
options PSEUDOFS
options PROCFS
options CD9660
options MSDOSFS
options NTFS
options NFS_ROOT
options NFSSERVER
options NFSCLIENT
options MD_ROOT
options UFS_GJOURNAL
options UFS_DIRHASH
options UFS_ACL
options SOFTUPDATES
options FFS
options SCTP
options INET6
options INET
options PREEMPTION
options SCHED_ULE
options KSE
options GEOM_MBR
options GEOM_BSD
device isa
device mem
device io
device uart_ns8250
device cpufreq
device acpi
device pci
device fdc
device ata
device atadisk
device ataraid
device atapicd
device atapifd
device atapist
device scbus
device ch
device da
device sa
device cd
device pass
device ses
device atkbdc
device atkbd
device psm
device kbdmux
device vga
device splash
device sc
device agp
device cbb
device pccard
device cardbus
device sio
device uart
device miibus
device rl
device loop
device random
device ether
device sl
device ppp
device tun
device pty
device md
device gif
device faith
device firmware
device bpf
device uhci
device ohci
device ehci
device usb
device ugen
device uhid
device ukbd
device ulpt
device umass
device ums
device urio
device uscanner
device ucom
device uark
device ubsa
device ubser
device uftdi
device uipaq
device uplcom
device uvisor
device uvscom
device firewire
device sbp
device fwe
device fwip
device dcons
device dcons_crom
-------------- next part --------------
kernel="kernel_hp_debug"
dumpdev="/dev/ad0s3b"
loader_logo="beastie"
cpufreq_load="YES"
radeon_load="YES"
smbus_load="YES"
iic_load="YES"
iicb_load="YES"
iicbb_load="YES"
iicbus_load="YES"
iicsmb_load="YES"
amdpm_load="YES"
amdsmb_load="YES"
smb_load="YES"
coretemp_load="YES"
wlan_load="YES"
#wlan_acl_load="YES"
wlan_amrr_load="YES"
wlan_ccmp_load="YES"
wlan_tkip_load="YES"
wlan_wep_load="YES"
wlan_xauth_load="YES"
wlan_scan_ap_load="YES"
wlan_scan_sta_load="YES"
#
sound_load="YES"
snd_atiixp_load="YES"
speaker_load="YES"
#
uplcom_load="YES"
# Maximum files to open
kern.maxfiles="25000"
#increase semaphore limits
kern.ipc.semmni=40
kern.ipc.semmns=300
kern.ipc.maxpipekva=34201600
hint.acpi_throttle.0.disabled="1"
#hint.powernow.0.disabled="1"
zfs_load="YES"
vm.kmem_size="1073741824"
vm.kmem_size_max="1073741824"
More information about the freebsd-current
mailing list