Date: Fri, 6 Dec 2002 23:07:36 +0200 From: Valentin Nechayev <netch@netch.kiev.ua> To: current@freebsd.org Subject: no psm interrupt; lock order reversal Message-ID: <20021206210736.GA276@iv.nn.kiev.ua>
index | next in thread | raw e-mail
5.0-RC of 2002.12.05.12.00.00-UTC
Lock order reversal without panic:
lock order reversal
1st 0xc2e30708 vnode interlock (vnode interlock) @ /var/HEAD/src/sys/kern/vfs_subr.c:939
2nd 0xc033c3c0 vm page queue mutex (vm page queue mutex) @ /var/HEAD/src/sys/vm/vm_kern.c:424
Bigger problem that it can't obtain interrupts from PS/2 mouse,
hence mouse fails to work. systat shows no int 12 issued at all.
It is in both variant of IRQ12 setting in BIOS: to PCI and reserved for ISA.
In 4.7-release, all previous 4.*, and 5.0-current of 20020315, mouse works ok.
Dmesg and kernel config follows. Versions of files in lock order reversal
report:
* $FreeBSD: src/sys/kern/vfs_subr.c,v 1.420 2002/11/27 16:45:54 robert Exp $
* $FreeBSD: src/sys/vm/vm_kern.c,v 1.87 2002/08/25 00:22:31 alc Exp $
Motherboard: Leadtek WinFast 9100AX, on i815E
What another information should be provided to fix?
==={{{
Copyright (c) 1992-2002 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.0-RC-2002120512 #3: Fri Dec 6 20:40:09 EET 2002
root@iv.nn.kiev.ua:/var/obj/var/HEAD/src/sys/nn15
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0474000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04740a8.
Timecounter "i8254" frequency 1193182 Hz
Timecounter "TSC" frequency 799435632 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (799.44-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x686 Stepping = 6
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory = 268369920 (255 MB)
avail memory = 255623168 (243 MB)
Initializing GEOMetry subsystem
Pentium Pro MTRR support enabled
VESA: v3.0, 8192k memory, flags:0x1, mode table:0xc03a9982 (1000022)
VESA: NVidia
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <IntelR AWRDACPI> on motherboard
ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
ACPI-0625: *** Info: GPE Block1 defined as GPE16 to GPE31
Using $PIR table, 10 entries at 0xc00fded0
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast" frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_tz0: <thermal zone> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0x4000-0x40f7,0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82815 (i815 GMCH) host to PCI bridge> mem 0xe4000000-0xe7ffffff at device 0.0 on pci0
pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 ATA100 controller> port 0xf000-0xf00f at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pcm0: <Intel 82801BA (ICH2)> port 0xdc00-0xdc3f,0xd800-0xd8ff irq 5 at device 31.5 on pci0
speaker0 port 0x61 on acpi0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
pmtimer0 on isa0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
Timecounters tick every 10.000 msec
ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to accept, logging unlimited
acpi_cpu: CPU throttling enabled, 2 steps from 100% to 50.0%
ad0: DMA limited to UDMA33, non-ATA66 cable or device
ad0: 14664MB <IBM-DJNA-351520> [29795/16/63] at ata0-master UDMA33
ad2: 39266MB <IC35L040AVER07-0> [79780/16/63] at ata1-master UDMA100
acd0: CDROM <CD-540E> at ata0-slave PIO4
MBREXT Slice 5 on ad0s2:
0000 00 01 41 02 a5 fe 7f c9 3f 00 00 00 89 06 31 00 |..A.....?.....1.|
[0] f:00 typ:165 s(CHS):2/1/65 e(CHS):201/254/127 s:63 l:3212937
0000 00 00 41 ca 05 fe 7f cd c8 06 31 00 04 fb 00 00 |..A.......1.....|
[1] f:00 typ:5 s(CHS):202/0/65 e(CHS):205/254/127 s:3213000 l:64260
MBREXT Slice 6 on ad0s2:
0000 00 01 41 ca 83 fe 7f cd 3f 00 00 00 c5 fa 00 00 |..A.....?.......|
[0] f:00 typ:131 s(CHS):202/1/65 e(CHS):205/254/127 s:63 l:64197
0000 00 00 41 ce 05 fe bf d0 cc 01 32 00 43 7d 3f 00 |..A.......2.C}?.|
[1] f:00 typ:5 s(CHS):206/0/65 e(CHS):208/254/191 s:3277260 l:4160835
MBREXT Slice 7 on ad0s2:
0000 00 01 41 ce 06 fe bf d0 3f 00 00 00 04 7d 3f 00 |..A.....?....}?.|
[0] f:00 typ:6 s(CHS):206/1/65 e(CHS):208/254/191 s:63 l:4160772
0000 00 00 81 d1 05 fe ff ca 0f 7f 71 00 7a 48 3d 00 |..........q.zH=.|
[1] f:00 typ:5 s(CHS):209/0/129 e(CHS):202/254/255 s:7438095 l:4016250
MBREXT Slice 8 on ad0s2:
0000 00 01 81 d1 03 fe ff ca 3f 00 00 00 3b 48 3d 00 |........?...;H=.|
[0] f:00 typ:3 s(CHS):209/1/129 e(CHS):202/254/255 s:63 l:4016187
0000 00 00 c1 cb 05 fe ff ff 89 c7 ae 00 da 52 d2 00 |.............R..|
[1] f:00 typ:5 s(CHS):203/0/193 e(CHS):255/254/255 s:11454345 l:13783770
MBREXT Slice 9 on ad0s2:
0000 00 01 c1 cb a5 fe ff ff 3f 00 00 00 9b 52 d2 00 |........?....R..|
[0] f:00 typ:165 s(CHS):203/1/193 e(CHS):255/254/255 s:63 l:13783707
0000 00 fe ff ff 05 fe ff ff 63 1a 81 01 28 ce 09 00 |........c...(...|
[1] f:00 typ:5 s(CHS):255/254/255 e(CHS):255/254/255 s:25238115 l:642600
MBREXT Slice 10 on ad0s2:
0000 00 fe ff ff 83 fe ff ff 3f 00 00 00 e9 cd 09 00 |........?.......|
[0] f:00 typ:131 s(CHS):255/254/255 e(CHS):255/254/255 s:63 l:642537
0000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
[1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
MBREXT Slice 5 on ad2s3:
0000 00 01 c1 f2 83 fe ff f5 3f 00 00 00 c5 fa 00 00 |........?.......|
[0] f:00 typ:131 s(CHS):242/1/193 e(CHS):245/254/255 s:63 l:64197
0000 00 00 c1 f6 05 fe ff f9 04 fb 00 00 04 fb 00 00 |................|
[1] f:00 typ:5 s(CHS):246/0/193 e(CHS):249/254/255 s:64260 l:64260
MBREXT Slice 6 on ad2s3:
0000 00 01 c1 f6 83 fe ff f9 3f 00 00 00 c5 fa 00 00 |........?.......|
[0] f:00 typ:131 s(CHS):246/1/193 e(CHS):249/254/255 s:63 l:64197
0000 00 00 c1 fa 05 fe ff ff 08 f6 01 00 fc 08 fa 00 |................|
[1] f:00 typ:5 s(CHS):250/0/193 e(CHS):255/254/255 s:128520 l:16386300
MBREXT Slice 7 on ad2s3:
0000 00 01 c1 fa a5 fe ff ff 3f 00 00 00 bd 08 fa 00 |........?.......|
[0] f:00 typ:165 s(CHS):250/1/193 e(CHS):255/254/255 s:63 l:16386237
0000 00 fe ff ff 05 fe ff ff 04 ff fb 00 fc 08 fa 00 |................|
[1] f:00 typ:5 s(CHS):255/254/255 e(CHS):255/254/255 s:16514820 l:16386300
MBREXT Slice 8 on ad2s3:
0000 00 fe ff ff 83 fe ff ff 3f 00 00 00 bd 08 fa 00 |........?.......|
[0] f:00 typ:131 s(CHS):255/254/255 e(CHS):255/254/255 s:63 l:16386237
0000 00 fe ff ff 05 fe ff ff 00 08 f6 01 01 ef 0f 00 |................|
[1] f:00 typ:5 s(CHS):255/254/255 e(CHS):255/254/255 s:32901120 l:1044225
MBREXT Slice 9 on ad2s3:
0000 00 fe ff ff 82 fe ff ff 3f 00 00 00 c2 ee 0f 00 |........?.......|
[0] f:00 typ:130 s(CHS):255/254/255 e(CHS):255/254/255 s:63 l:1044162
0000 00 fe ff ff 05 fe ff ff 01 f7 05 02 bf 21 1f 00 |.............!..|
[1] f:00 typ:5 s(CHS):255/254/255 e(CHS):255/254/255 s:33945345 l:2040255
MBREXT Slice 10 on ad2s3:
0000 00 fe ff ff 83 fe ff ff 3f 00 00 00 80 21 1f 00 |........?....!..|
[0] f:00 typ:131 s(CHS):255/254/255 e(CHS):255/254/255 s:63 l:2040192
0000 00 fe ff ff 05 fe ff ff c0 18 25 02 41 21 9d 00 |..........%.A!..|
[1] f:00 typ:5 s(CHS):255/254/255 e(CHS):255/254/255 s:35985600 l:10297665
MBREXT Slice 11 on ad2s3:
0000 00 fe ff ff 0c fe ff ff 3f 00 00 00 02 21 9d 00 |........?....!..|
[0] f:00 typ:12 s(CHS):255/254/255 e(CHS):255/254/255 s:63 l:10297602
0000 00 fe ff ff 05 fe ff ff 01 3a c2 02 da 13 11 01 |.........:......|
[1] f:00 typ:5 s(CHS):255/254/255 e(CHS):255/254/255 s:46283265 l:17896410
MBREXT Slice 12 on ad2s3:
0000 00 fe ff ff 0c fe ff ff 3f 00 00 00 9b 13 11 01 |........?.......|
[0] f:00 typ:12 s(CHS):255/254/255 e(CHS):255/254/255 s:63 l:17896347
0000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
[1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
Mounting root from ufs:/dev/ad0s4a
===}}}
==={{{
machine i386
cpu I486_CPU
cpu I586_CPU
cpu I686_CPU
ident nn15
maxusers 0
#To statically compile in device wiring instead of /boot/device.hints
hints "GENERIC.hints" #Default places to look for devices.
makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
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 MSDOSFS #MSDOS Filesystem
options CD9660 #ISO 9660 Filesystem
options PROCFS #Process filesystem (requires PSEUDOFS)
options PSEUDOFS #Pseudo-filesystem framework
options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 #Compatible with FreeBSD4
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
# Debugging for use in -current
options DDB #Enable the kernel debugger
options INVARIANTS #Enable calls of extra sanity checking
options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
options WITNESS #Enable checks to detect deadlocks and cycles
options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
device isa
device pci
# ATA and ATAPI devices
device ata
device atadisk # ATA disk drives
device atapicd # ATAPI CDROM drives
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
# syscons is the default console driver, resembling an SCO console
device sc
device agp # support several AGP chipsets
# Floating point support - do not disable.
device npx
# Add suspend/resume support for the i8254.
device pmtimer
# Serial (COM) ports
device sio # 8250, 16[45]50 based serial ports
# Pseudo devices - the number indicates how many units to allocate.
device random # Entropy device
device ether
device loop # Network loopback
device ppp # Kernel PPP
device tun # Packet tunnel.
device pty # Pseudo-ttys (telnet etc)
device md # Memory "disks"
# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device bpf # Berkeley packet filter
device speaker #Play IBM BASIC-style noises out your speaker
# To include support for VGA VESA video modes
options VESA
# Turn on extra debugging checks and output for VESA support.
options VESA_DEBUG
# Enable i386 a.out binary support
options COMPAT_AOUT
# Enable the linux-like proc filesystem support (requires COMPAT_LINUX
# and PSEUDOFS)
options COMPAT_LINUX
options LINPROCFS
options MSGBUF_SIZE=131072
options DDB_TRACE
options KTRACE #kernel tracing
options KTRACE_REQUEST_POOL=101
options IPFIREWALL #firewall
options IPFIREWALL_VERBOSE #enable logging to syslogd(8)
options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default
options RANDOM_IP_ID
options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN
options MSDOSFS #MS DOS File System (FAT, FAT32)
options NTIMECOUNTER=20
options LIBICONV
options SC_HISTORY_SIZE=1500 # number of history buffer lines
options SC_MOUSE_CHAR=0x3 # char code for text mode mouse cursor
options SC_KERNEL_CONS_ATTR=(FG_GREEN|BG_BLACK)
options SC_KERNEL_CONS_REV_ATTR=(FG_BLACK|BG_GREEN)
device pcm
device smbus # Bus support, required for smb below.
device intpm
device ichsmb
device smb
device iicbus # Bus support, required for ic/iic/iicsmb below.
device iicbb
device ic
device iic
device iicsmb # smb over i2c bridge
===}}}
-netch-
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021206210736.GA276>
