Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jun 2008 20:39:33 -0700
From:      "Garrett Cooper" <yanefbsd@gmail.com>
To:        current@freebsd.org
Subject:   Re: Hard lockup with recent CURRENT when using mount_smbfs -- recursive lock message
Message-ID:  <7d6fde3d0806082039r2a49ab77lf6f92b3699c12c7e@mail.gmail.com>
In-Reply-To: <7d6fde3d0806081931h5df7b71dkdd4d6e3e2d144ff2@mail.gmail.com>
References:  <7d6fde3d0806081931h5df7b71dkdd4d6e3e2d144ff2@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 8, 2008 at 7:31 PM, Garrett Cooper <yanefbsd@gmail.com> wrote:
> Hi guys,
>       First hard lockup in a while.
>       Just synced current to latest sources yesterday after having to
> apply some patches to get things to cleanly compile. PR's posted at
> the bottom of the message.
>       When I run the following command:
>
> optimus# mount_smbfs -I 192.168.10.47 -W WORKGROUP
> //gcooper@orangebox/c$ /mnt/smbfs/
> Password:
>
>        My system just locked up. Nothing else that I can say other
> than it says the following on the console (and it refuses to let me
> login / interrupt the processor):
>
> smb_co_lock: recursive lock for object 1
>
>        The kernel hasn't panicked and I don't have any means of
> accessing the machine, so I can't capture output from the kernel right
> now :(.
>
>        I'll post my kernel / system stats in a second once I reboot
> the machine.
>
> -Garrett
>
> "Compile patches" PR's:
> 1. kern/124334
> 2. bin/124342
> 3. misc/124385
>

This issue is _definitely_ reproducible using the latest current and
my patches on my system. I'm not sure whether or not mount_smbfs and
its shims are MPSAFE...

Snippets of my system info (dmesg + kernel config) is currently
available at the bottom of the email (sorry, I don't have webspace
that I can post to right now).

Thanks,
-Garrett

# ----- DMESG OUTPUT ----
Copyright (c) 1992-2008 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.0-CURRENT #0: Fri Jun  6 01:36:23 PDT 2008
    gcooper@optimus:/usr/obj/usr/src/sys/OPTIMUS
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 CPU          6700  @ 2.66GHz (2672.74-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6f6  Stepping = 6
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0xe3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
  AMD Features=0x20100000<NX,LM>
  AMD Features2=0x1<LAHF>
  Cores per package: 2
real memory  = 2146959360 (2047 MB)
avail memory = 2097950720 (2000 MB)
ACPI APIC Table: <A_M_I_ OEMAPIC >
ioapic0 <Version 2.0> irqs 0-23 on motherboard
netsmb_dev: loaded
kbd1 at kbdmux0
acpi0: <A_M_I_ OEMXSDT> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 7ff00000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> mem
0xfd000000-0xfdffffff,0xd0000000-0xdfffffff,0xfc000000-0xfcffffff irq
16 at device 0.0 on pci1
uhci0: <Intel 82801I (ICH9) USB controller> port 0xb800-0xb81f irq 16
at device 26.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: <Intel 82801I (ICH9) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801I (ICH9) USB controller> port 0xb880-0xb89f irq 21
at device 26.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: <Intel 82801I (ICH9) USB controller> on uhci1
usb1: USB revision 1.0
uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801I (ICH9) USB controller> port 0xbc00-0xbc1f irq 18
at device 26.2 on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb2: <Intel 82801I (ICH9) USB controller> on uhci2
usb2: USB revision 1.0
uhub2: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
uhub2: 2 ports with 2 removable, self powered
ehci0: <Intel 82801I (ICH9) USB 2.0 controller> mem
0xfbfffc00-0xfbffffff irq 18 at device 26.7 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: <Intel 82801I (ICH9) USB 2.0 controller> on ehci0
usb3: USB revision 2.0
uhub3: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb3
uhub3: 6 ports with 6 removable, self powered
pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.0 on pci0
pci4: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> irq 17 at device 28.4 on pci0
pci3: <ACPI PCI bus> on pcib3
atapci0: <JMicron JMB363 SATA300 controller> port
0xdc00-0xdc07,0xd880-0xd883,0xd800-0xd807,0xd480-0xd483,0xd400-0xd40f
mem 0xfeafe000-0xfeafffff irq 16 at device 0.0 on pci3
atapci0: [ITHREAD]
atapci0: AHCI called from vendor specific driver
atapci0: AHCI Version 01.00 controller with 2 ports PM supported
ata2: <ATA channel 0> on atapci0
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci0
ata3: [ITHREAD]
ata4: <ATA channel 2> on atapci0
ata4: [ITHREAD]
pcib4: <ACPI PCI-PCI bridge> irq 16 at device 28.5 on pci0
pci2: <ACPI PCI bus> on pcib4
mskc0: <Marvell Yukon 88E8056 Gigabit Ethernet> port 0xc800-0xc8ff mem
0xfe9fc000-0xfe9fffff irq 17 at device 0.0 on pci2
msk0: <Marvell Technology Group Ltd. Yukon EC Ultra Id 0xb4 Rev 0x02> on mskc0
msk0: Ethernet address: 00:1b:fc:45:9b:5c
miibus0: <MII bus> on msk0
e1000phy0: <Marvell 88E1149 Gigabit PHY> PHY 0 on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto
mskc0: [FILTER]
uhci3: <Intel 82801I (ICH9) USB controller> port 0xb080-0xb09f irq 23
at device 29.0 on pci0
uhci3: [GIANT-LOCKED]
uhci3: [ITHREAD]
usb4: <Intel 82801I (ICH9) USB controller> on uhci3
usb4: USB revision 1.0
uhub4: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb4
uhub4: 2 ports with 2 removable, self powered
uhci4: <Intel 82801I (ICH9) USB controller> port 0xb400-0xb41f irq 19
at device 29.1 on pci0
uhci4: [GIANT-LOCKED]
uhci4: [ITHREAD]
usb5: <Intel 82801I (ICH9) USB controller> on uhci4
usb5: USB revision 1.0
uhub5: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb5
uhub5: 2 ports with 2 removable, self powered
uhci5: <Intel 82801I (ICH9) USB controller> port 0xb480-0xb49f irq 18
at device 29.2 on pci0
uhci5: [GIANT-LOCKED]
uhci5: [ITHREAD]
usb6: <Intel 82801I (ICH9) USB controller> on uhci5
usb6: USB revision 1.0
uhub6: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb6
uhub6: 2 ports with 2 removable, self powered
ehci1: <Intel 82801I (ICH9) USB 2.0 controller> mem
0xfbfff800-0xfbfffbff irq 23 at device 29.7 on pci0
ehci1: [GIANT-LOCKED]
ehci1: [ITHREAD]
usb7: EHCI version 1.0
usb7: companion controllers, 2 ports each: usb4 usb5 usb6
usb7: <Intel 82801I (ICH9) USB 2.0 controller> on ehci1
usb7: USB revision 2.0
uhub7: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb7
uhub7: 6 ports with 6 removable, self powered
pcib5: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci5: <ACPI PCI bus> on pcib5
em0: <Intel(R) PRO/1000 Network Connection 6.9.5> port 0xec00-0xec3f
mem 0xfebe0000-0xfebfffff,0xfebc0000-0xfebdffff irq 17 at device 1.0
on pci5
em0: [FILTER]
em0: Ethernet address: 00:1b:21:09:6a:25
fwohci0: <Lucent FW322/323> mem 0xfeb9f000-0xfeb9ffff irq 19 at device
3.0 on pci5
fwohci0: [FILTER]
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 8.
fwohci0: EUI64 00:11:d8:00:01:47:6f:7f
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <Intel ICH9R SATA300 controller> port
0xac00-0xac07,0xa880-0xa883,0xa800-0xa807,0xa480-0xa483,0xa400-0xa41f
mem 0xfbffe800-0xfbffefff irq 22 at device 31.2 on pci0
atapci1: [ITHREAD]
atapci1: AHCI called from vendor specific driver
atapci1: AHCI Version 01.20 controller with 6 ports PM supported
ata5: <ATA channel 0> on atapci1
ata5: [ITHREAD]
ata6: <ATA channel 1> on atapci1
ata6: [ITHREAD]
ata7: <ATA channel 2> on atapci1
ata7: [ITHREAD]
ata8: <ATA channel 3> on atapci1
ata8: [ITHREAD]
ata9: <ATA channel 4> on atapci1
ata9: [ITHREAD]
ata10: <ATA channel 5> on atapci1
ata10: [ITHREAD]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 900
cpu0: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xce800-0xcf7ff pnpid ORM0000 on isa0
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata0: [ITHREAD]
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
ata1: [ITHREAD]
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ugen0: <American Power Conversion Back-UPS XS 1500 LCD FW:837.H7 .D
USB FW:H7, class 0/0, rev 1.10/1.01, addr 2> on uhub4
ukbd0: <Dell Dell USB Keyboard, class 0/0, rev 1.10/2.00, addr 2> on uhub6
kbd2 at ukbd0
Timecounter "TSC" frequency 2672741280 Hz quality 800
Timecounters tick every 1.000 msec
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
acd0: DVDR <TSSTcorpCD/DVDW TS-H552U/US06> at ata4-master UDMA33
ad10: 76293MB <WDC WD800JD-75HKA1 14.03G14> at ata5-master SATA150
ad12: 715404MB <WDC WD7500AAKS-00RBA0 30.04G30> at ata6-master SATA300
ad14: 715404MB <WDC WD7500AAKS-00RBA0 30.04G30> at ata7-master SATA300
ad16: 715404MB <WDC WD7500AAKS-00RBA0 30.04G30> at ata8-master SATA300
ad18: 715404MB <WDC WD7500AAKS-00RBA0 30.04G30> at ata9-master SATA300
ad20: 715404MB <WDC WD7500AAKS-00RBA0 30.04G30> at ata10-master SATA300
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00
ar0: 2861610MB <Intel MatrixRAID RAID5 (stripe 128 KB)> status: READY
ar0: disk0 READY using ad12 at ata6-master
ar0: disk1 READY using ad14 at ata7-master
ar0: disk2 READY using ad16 at ata8-master
ar0: disk3 READY using ad18 at ata9-master
ar0: disk4 READY using ad20 at ata10-master
cd0 at ata4 bus 0 target 0 lun 0
cd0: <TSSTcorp CD/DVDW TS-H552U US06> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not
present - tray closed
Trying to mount root from ufs:/dev/ad10s1a

# ---- kernel config (comments stripped) ----
cpu		I686_CPU
ident		OPTIMUS
makeoptions	DEBUG=-g
options 	SCHED_ULE
options 	PREEMPTION
options 	INET
options 	FFS
options 	SOFTUPDATES
options 	UFS_ACL
options 	UFS_DIRHASH
options 	MD_ROOT
options 	NFSCLIENT
options 	NFSSERVER
options 	NFS_ROOT
options 	MSDOSFS
options 	CD9660
options 	PROCFS
options 	PSEUDOFS
options 	COMPAT_43
options 	COMPAT_FREEBSD4
options 	COMPAT_FREEBSD5
options	COMPAT_FREEBSD6
options 	KTRACE
options 	SYSVSHM
options 	SYSVMSG
options 	SYSVSEM
options 	_KPOSIX_PRIORITY_SCHEDULING
options 	KBD_INSTALL_CDEV
options	NTFS
options	NETSMB
options	SMBFS
options	LIBMCHAIN
options	LIBICONV
device	apic	
device	acpi
device	eisa
device	pci
device	ata
device	atadisk
device	ataraid
device	atapicd
options 	ATA_STATIC_ID
device	iir
device	aac
device	aacp
device	atapicam
device	scbus
device	ch
device	da
device	cd
device	pass
device	atkbdc
device	atkbd
device	psm
device	kbdmux
device	vga
device	splash
options	VESA
device	sc
device	agp
device	pmtimer
device	miibus
device	em
device	msk
device	loop
device	random
device	ether
device	tun
device	pty
device	md
device	bpf
device	uhci
device	ohci
device	ehci
device	usb
device	ugen
device	uhid
device	ukbd
device	umass
device	ums
device	firewire
device	sbp



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7d6fde3d0806082039r2a49ab77lf6f92b3699c12c7e>