linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Debug: sleeping function called from invalid context at include/linux/rwsem.h:43
@ 2003-07-23 17:58 Romit Dasgupta
  2003-07-26  8:08 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: Romit Dasgupta @ 2003-07-23 17:58 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 3771 bytes --]

Hi all,
            Just found some debug messages like the subject above, from 
the latest kernel compiled with debug options. Attached are the dmesg 
output and the .config file. Not sure if anyone has seen this.

Thanks.


Other relevant info
-------------------------


[root@feynman linux-2.5]# sh scripts/ver_linux
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.

 
Linux feynman 2.6.0-test1 #5 Tue Jul 22 11:37:12 SGT 2003 i686 i686 i386 
GNU/Linux
 
Gnu C                  3.2
Gnu make               3.79.1
util-linux             2.11r
mount                  2.11r
e2fsprogs              1.27
jfsutils               1.0.17
reiserfsprogs          3.6.2
pcmcia-cs              3.1.31
quota-tools            3.06.
PPP                    2.4.1
isdn4k-utils           3.1pre4
nfs-utils              1.0.1
Linux C Library        2.2.93
Dynamic linker (ldd)   2.2.93
Procps                 2.0.7
Net-tools              1.60
Kbd                    1.06
Sh-utils               2.0.12
Modules Loaded         isofs ide_cd cdrom e100 uhci_hcd mousedev hid 
usbcore rtc ext3 jbd





[root@feynman linux-2.5]# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 8
model name      : Pentium III (Coppermine)
stepping        : 3
cpu MHz         : 187.200
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de tsc msr pae mce cx8 sep mtrr pge mca cmov 
pat pse36 mmx fxsr sse
bogomips        : 851.96



[root@feynman linux-2.5]# cat /proc/modules
isofs 22980 0 - Live 0xd890b000
ide_cd 38432 0 - Live 0xd88df000
cdrom 33248 1 ide_cd, Live 0xd88ea000
e100 76324 0 - Live 0xd88f7000
uhci_hcd 40904 0 - Live 0xd88d4000
mousedev 7404 2 - Live 0xd8814000
hid 25664 0 - Live 0xd881f000
usbcore 119700 4 uhci_hcd,hid, Live 0xd8840000
rtc 19064 0 - Live 0xd8819000
ext3 109192 4 - Live 0xd8860000
jbd 81304 1 ext3, Live 0xd882b000


[root@feynman linux-2.5]# cat /proc/ioports
0000-001f : dma1
0020-0021 : pic1
0040-005f : timer
0060-006f : keyboard
0070-0077 : rtc
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0376-0376 : ide1
03bc-03be : parport0
03c0-03df : vga+
03f6-03f6 : ide0
0cf8-0cff : PCI conf1
1000-103f : Intel Corp. 82371AB/EB/MB PIIX4
1040-105f : Intel Corp. 82371AB/EB/MB PIIX4
1800-183f : Intel Corp. 82557/8/9 [Ethernet
  1800-183f : e100
1840-1847 : Xircom Mini-PCI V.90 56k Mo
1850-185f : Intel Corp. 82371AB/EB/MB PIIX4
1860-187f : Intel Corp. 82371AB/EB/MB PIIX4
  1860-187f : uhci-hcd




[root@feynman linux-2.5]# cat /proc/iomem
00000000-0009f7ff : System RAM
0009f800-0009ffff : reserved
000a0000-000bffff : Video RAM area
000cc000-000cd7ff : Extension ROM
000e0000-000effff : Extension ROM
000f0000-000fffff : System ROM
00100000-17feffff : System RAM
  00100000-0031c36f : Kernel code
  0031c370-003db53f : Kernel data
17ff0000-17ffebff : ACPI Tables
17ffec00-17ffffff : ACPI Non-volatile Storage
50000000-50000fff : Texas Instruments PCI1450
50100000-50100fff : Texas Instruments PCI1450 (#2)
e8000000-e80fffff : Cirrus Logic CS 4614/22/24 [Cryst
e8100000-e811ffff : Intel Corp. 82557/8/9 [Ethernet
  e8100000-e811ffff : e100
e8120000-e8120fff : Intel Corp. 82557/8/9 [Ethernet
  e8120000-e8120fff : e100
e8121000-e8121fff : Xircom Mini-PCI V.90 56k Mo
e8122000-e8122fff : Cirrus Logic CS 4614/22/24 [Cryst
f0000000-f7ffffff : PCI Bus #01
  f0000000-f7ffffff : S3 Inc. 86C270-294 Savage/IX
f8000000-fbffffff : Intel Corp. 440BX/ZX/DX - 82443B
fff80000-ffffffff : reserved






[-- Attachment #2: output.dmesg.gz --]
[-- Type: application/x-gzip, Size: 823 bytes --]

[-- Attachment #3: config.txt.gz --]
[-- Type: application/x-gzip, Size: 5673 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Debug: sleeping function called from invalid context at include/linux/rwsem.h:43
  2003-07-23 17:58 Debug: sleeping function called from invalid context at include/linux/rwsem.h:43 Romit Dasgupta
@ 2003-07-26  8:08 ` Andrew Morton
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2003-07-26  8:08 UTC (permalink / raw)
  To: Romit Dasgupta; +Cc: linux-kernel

Romit Dasgupta <romit@myrealbox.com> wrote:
>
>             Just found some debug messages like the subject above, from 
>  the latest kernel compiled with debug options. Attached are the dmesg 
>  output and the .config file. Not sure if anyone has seen this.

Probably some initcall has more spin_lock()s than spin_unlock()s and the
init process's preempt count ended up permanently out of whack.

Please boot with "initcall_debug=1" on the boot command line and if you see
a line of the form:

error in initcall at 0xXXXXXXXX: returned with preemption imbalance

then please look up 0xXXXXXXXX in System.map and let us know.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-07-26  7:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-23 17:58 Debug: sleeping function called from invalid context at include/linux/rwsem.h:43 Romit Dasgupta
2003-07-26  8:08 ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).