lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200708221926.39720.m.kozlowski@tuxland.pl>
Date:	Wed, 22 Aug 2007 19:26:39 +0200
From:	Mariusz Kozlowski <m.kozlowski@...land.pl>
To:	Andrew Morton <akpm@...ux-foundation.org>,
	Ingo Molnar <mingo@...e.hu>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: 2.6.23-rc3-mm1: locking boot-time self-test failure

Hello,

	Got that on my laptop:

------------------------
| Locking API testsuite:
----------------------------------------------------------------------------
                                 | spin |wlock |rlock |mutex | wsem | rsem |
  --------------------------------------------------------------------------
                     A-A deadlock:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
                 A-B-B-A deadlock:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
             A-B-B-C-C-A deadlock:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
             A-B-C-A-B-C deadlock:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
         A-B-B-C-C-D-D-A deadlock:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
         A-B-C-D-B-D-D-A deadlock:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
         A-B-C-D-B-C-D-A deadlock:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
                    double unlock:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
                  initialize held:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
                 bad unlock order:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
  --------------------------------------------------------------------------
              recursive read-lock:             |  ok  |             |  ok  |
           recursive read-lock #2:             |  ok  |             |  ok  |
            mixed read-write-lock:             |  ok  |             |  ok  |
            mixed write-read-lock:             |  ok  |             |  ok  |
  --------------------------------------------------------------------------
     hard-irqs-on + irq-safe-A/12:  ok  |  ok  |  ok  |
     soft-irqs-on + irq-safe-A/12:  ok  |  ok  |  ok  |
     hard-irqs-on + irq-safe-A/21:  ok  |  ok  |  ok  |
     soft-irqs-on + irq-safe-A/21:  ok  |  ok  |  ok  |
       sirq-safe-A => hirqs-on/12:  ok  |  ok  |irq event stamp: 452
hardirqs last  enabled at (452): [<c026ff85>] irqsafe2A_rlock_12+0x8d/0xcc
hardirqs last disabled at (451): [<c0115ce4>] cpu_clock+0xe/0x49
softirqs last  enabled at (448): [<c026ff70>] irqsafe2A_rlock_12+0x78/0xcc
softirqs last disabled at (444): [<c026ff04>] irqsafe2A_rlock_12+0xc/0xcc
FAILED| [<c0104b60>] dump_trace+0x1c7/0x1dc
 [<c0104b8f>] show_trace_log_lvl+0x1a/0x30
 [<c010558d>] show_trace+0x12/0x14
 [<c01056c1>] dump_stack+0x15/0x17
 [<c026dc34>] dotest+0x6e/0x416
 [<c02785cf>] locking_selftest+0x912/0x1a7f
 [<c0672a52>] start_kernel+0x1b7/0x2c5
 =======================

       sirq-safe-A => hirqs-on/21:irq event stamp: 456
hardirqs last  enabled at (456): [<c026fcb6>] irqsafe2A_spin_21+0x1c/0xc9
hardirqs last disabled at (455): [<c0115ce4>] cpu_clock+0xe/0x49
softirqs last  enabled at (448): [<c026ff70>] irqsafe2A_rlock_12+0x78/0xcc
softirqs last disabled at (444): [<c026ff04>] irqsafe2A_rlock_12+0xc/0xcc
  ok  |irq event stamp: 460
hardirqs last  enabled at (460): [<c026fe4b>] irqsafe2A_wlock_21+0x1c/0xc9
hardirqs last disabled at (459): [<c0115ce4>] cpu_clock+0xe/0x49
softirqs last  enabled at (448): [<c026ff70>] irqsafe2A_rlock_12+0x78/0xcc
softirqs last disabled at (444): [<c026ff04>] irqsafe2A_rlock_12+0xc/0xcc
  ok  |irq event stamp: 464
hardirqs last  enabled at (464): [<c026ffe0>] irqsafe2A_rlock_21+0x1c/0xc9
hardirqs last disabled at (463): [<c0115ce4>] cpu_clock+0xe/0x49
softirqs last  enabled at (448): [<c026ff70>] irqsafe2A_rlock_12+0x78/0xcc
softirqs last disabled at (444): [<c026ff04>] irqsafe2A_rlock_12+0xc/0xcc
FAILED| [<c0104b60>] dump_trace+0x1c7/0x1dc
 [<c0104b8f>] show_trace_log_lvl+0x1a/0x30
 [<c010558d>] show_trace+0x12/0x14
 [<c01056c1>] dump_stack+0x15/0x17
 [<c026dc34>] dotest+0x6e/0x416
 [<c0278625>] locking_selftest+0x968/0x1a7f
 [<c0672a52>] start_kernel+0x1b7/0x2c5
 =======================

         hard-safe-A + irqs-on/12:  ok  |  ok  |irq event stamp: 480
hardirqs last  enabled at (480): [<c0274470>] irqsafe2B_hard_rlock_12+0x86/0xc5
hardirqs last disabled at (479): [<c0115ce4>] cpu_clock+0xe/0x49
softirqs last  enabled at (448): [<c026ff70>] irqsafe2A_rlock_12+0x78/0xcc
softirqs last disabled at (444): [<c026ff04>] irqsafe2A_rlock_12+0xc/0xcc
FAILED| [<c0104b60>] dump_trace+0x1c7/0x1dc
 [<c0104b8f>] show_trace_log_lvl+0x1a/0x30
 [<c010558d>] show_trace+0x12/0x14
 [<c01056c1>] dump_stack+0x15/0x17
 [<c026dc34>] dotest+0x6e/0x416
 [<c027867b>] locking_selftest+0x9be/0x1a7f
 [<c0672a52>] start_kernel+0x1b7/0x2c5
 =======================

         soft-safe-A + irqs-on/12:  ok  |  ok  |irq event stamp: 514
hardirqs last  enabled at (514): [<c011f72e>] local_bh_enable+0xf6/0x212
hardirqs last disabled at (513): [<c0115ce4>] cpu_clock+0xe/0x49
softirqs last  enabled at (512): [<c02702aa>] irqsafe2B_soft_rlock_12+0x8c/0xca
softirqs last disabled at (510): [<c027029b>] irqsafe2B_soft_rlock_12+0x7d/0xca
FAILED| [<c0104b60>] dump_trace+0x1c7/0x1dc
 [<c0104b8f>] show_trace_log_lvl+0x1a/0x30
 [<c010558d>] show_trace+0x12/0x14
 [<c01056c1>] dump_stack+0x15/0x17
 [<c026dc34>] dotest+0x6e/0x416
 [<c02786d1>] locking_selftest+0xa14/0x1a7f
 [<c0672a52>] start_kernel+0x1b7/0x2c5
 =======================

         hard-safe-A + irqs-on/21:irq event stamp: 518
hardirqs last  enabled at (518): [<c0274344>] irqsafe2B_hard_spin_21+0x1c/0xc2
hardirqs last disabled at (517): [<c0115ce4>] cpu_clock+0xe/0x49
softirqs last  enabled at (512): [<c02702aa>] irqsafe2B_soft_rlock_12+0x8c/0xca
softirqs last disabled at (510): [<c027029b>] irqsafe2B_soft_rlock_12+0x7d/0xca
  ok  |irq event stamp: 522
hardirqs last  enabled at (522): [<c0274652>] irqsafe2B_hard_wlock_21+0x1c/0xc2
hardirqs last disabled at (521): [<c0115ce4>] cpu_clock+0xe/0x49
softirqs last  enabled at (512): [<c02702aa>] irqsafe2B_soft_rlock_12+0x8c/0xca
softirqs last disabled at (510): [<c027029b>] irqsafe2B_soft_rlock_12+0x7d/0xca
  ok  |irq event stamp: 526
hardirqs last  enabled at (526): [<c02744cb>] irqsafe2B_hard_rlock_21+0x1c/0xc2
hardirqs last disabled at (525): [<c0115ce4>] cpu_clock+0xe/0x49
softirqs last  enabled at (512): [<c02702aa>] irqsafe2B_soft_rlock_12+0x8c/0xca
softirqs last disabled at (510): [<c027029b>] irqsafe2B_soft_rlock_12+0x7d/0xca
FAILED| [<c0104b60>] dump_trace+0x1c7/0x1dc
 [<c0104b8f>] show_trace_log_lvl+0x1a/0x30
 [<c010558d>] show_trace+0x12/0x14
 [<c01056c1>] dump_stack+0x15/0x17
 [<c026dc34>] dotest+0x6e/0x416
 [<c0278727>] locking_selftest+0xa6a/0x1a7f
 [<c0672a52>] start_kernel+0x1b7/0x2c5
 =======================

         soft-safe-A + irqs-on/21:irq event stamp: 532
hardirqs last  enabled at (532): [<c011f72e>] local_bh_enable+0xf6/0x212
hardirqs last disabled at (531): [<c0115ce4>] cpu_clock+0xe/0x49
softirqs last  enabled at (530): [<c0270172>] irqsafe2B_soft_spin_21+0x1b/0xc7
softirqs last disabled at (528): [<c0270163>] irqsafe2B_soft_spin_21+0xc/0xc7
  ok  |irq event stamp: 538
hardirqs last  enabled at (538): [<c011f72e>] local_bh_enable+0xf6/0x212
hardirqs last disabled at (537): [<c0115ce4>] cpu_clock+0xe/0x49
softirqs last  enabled at (536): [<c0270494>] irqsafe2B_soft_wlock_21+0x1b/0xc7
softirqs last disabled at (534): [<c0270485>] irqsafe2B_soft_wlock_21+0xc/0xc7
  ok  |irq event stamp: 544
hardirqs last  enabled at (544): [<c011f72e>] local_bh_enable+0xf6/0x212
hardirqs last disabled at (543): [<c0115ce4>] cpu_clock+0xe/0x49
softirqs last  enabled at (542): [<c0270303>] irqsafe2B_soft_rlock_21+0x1b/0xc7
softirqs last disabled at (540): [<c02702f4>] irqsafe2B_soft_rlock_21+0xc/0xc7
FAILED| [<c0104b60>] dump_trace+0x1c7/0x1dc
 [<c0104b8f>] show_trace_log_lvl+0x1a/0x30
 [<c010558d>] show_trace+0x12/0x14
 [<c01056c1>] dump_stack+0x15/0x17
 [<c026dc34>] dotest+0x6e/0x416
 [<c027877d>] locking_selftest+0xac0/0x1a7f
 [<c0672a52>] start_kernel+0x1b7/0x2c5
 =======================

    hard-safe-A + unsafe-B #1/123:  ok  |  ok  |  ok  |
    soft-safe-A + unsafe-B #1/123:  ok  |  ok  |  ok  |
    hard-safe-A + unsafe-B #1/132:  ok  |  ok  |  ok  |
    soft-safe-A + unsafe-B #1/132:  ok  |  ok  |  ok  |
    hard-safe-A + unsafe-B #1/213:  ok  |  ok  |  ok  |
    soft-safe-A + unsafe-B #1/213:  ok  |  ok  |  ok  |
    hard-safe-A + unsafe-B #1/231:  ok  |  ok  |  ok  |
    soft-safe-A + unsafe-B #1/231:  ok  |  ok  |  ok  |
    hard-safe-A + unsafe-B #1/312:  ok  |  ok  |  ok  |
    soft-safe-A + unsafe-B #1/312:  ok  |  ok  |  ok  |
    hard-safe-A + unsafe-B #1/321:  ok  |  ok  |  ok  |
    soft-safe-A + unsafe-B #1/321:  ok  |  ok  |  ok  |
    hard-safe-A + unsafe-B #2/123:  ok  |  ok  |  ok  |
    soft-safe-A + unsafe-B #2/123:  ok  |  ok  |  ok  |
    hard-safe-A + unsafe-B #2/132:  ok  |  ok  |  ok  |
    soft-safe-A + unsafe-B #2/132:  ok  |  ok  |  ok  |
    hard-safe-A + unsafe-B #2/213:  ok  |  ok  |  ok  |
    soft-safe-A + unsafe-B #2/213:  ok  |  ok  |  ok  |
    hard-safe-A + unsafe-B #2/231:  ok  |  ok  |  ok  |
    soft-safe-A + unsafe-B #2/231:  ok  |  ok  |  ok  |
    hard-safe-A + unsafe-B #2/312:  ok  |  ok  |  ok  |
    soft-safe-A + unsafe-B #2/312:  ok  |  ok  |  ok  |
    hard-safe-A + unsafe-B #2/321:  ok  |  ok  |  ok  |
    soft-safe-A + unsafe-B #2/321:  ok  |  ok  |  ok  |
      hard-irq lock-inversion/123:  ok  |  ok  |  ok  |
      soft-irq lock-inversion/123:  ok  |  ok  |  ok  |
      hard-irq lock-inversion/132:  ok  |  ok  |  ok  |
      soft-irq lock-inversion/132:  ok  |  ok  |  ok  |
      hard-irq lock-inversion/213:  ok  |  ok  |  ok  |
      soft-irq lock-inversion/213:  ok  |  ok  |  ok  |
      hard-irq lock-inversion/231:  ok  |  ok  |  ok  |
      soft-irq lock-inversion/231:  ok  |  ok  |  ok  |
      hard-irq lock-inversion/312:  ok  |  ok  |  ok  |
      soft-irq lock-inversion/312:  ok  |  ok  |  ok  |
      hard-irq lock-inversion/321:  ok  |  ok  |  ok  |
      soft-irq lock-inversion/321:  ok  |  ok  |  ok  |
      hard-irq read-recursion/123:  ok  |
      soft-irq read-recursion/123:  ok  |
      hard-irq read-recursion/132:  ok  |
      soft-irq read-recursion/132:  ok  |
      hard-irq read-recursion/213:  ok  |
      soft-irq read-recursion/213:  ok  |
      hard-irq read-recursion/231:  ok  |
      soft-irq read-recursion/231:  ok  |
      hard-irq read-recursion/312:  ok  |
      soft-irq read-recursion/312:  ok  |
      hard-irq read-recursion/321:  ok  |
      soft-irq read-recursion/321:  ok  |
-----------------------------------------------------------------
BUG:   6 unexpected failures (out of 218) - debugging disabled! |
-----------------------------------------------------------------



Regards,

	Mariusz


Linux orion 2.6.23-rc3-mm1 #1 PREEMPT Wed Aug 22 18:07:16 CEST 2007 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux
 
Gnu C                  4.1.2
Gnu make               3.81
binutils               2.17
util-linux             2.12r
mount                  2.12r
module-init-tools      3.2.2
e2fsprogs              1.39
pcmciautils            014
pcmcia-cs              3.2.9
PPP                    2.4.4
Linux C Library        2.5
Dynamic linker (ldd)   2.5
Procps                 3.2.7
Net-tools              1.60
Kbd                    1.12
oprofile               0.9.1
Sh-utils               6.9
udev                   114
wireless-tools         29
Modules Loaded         orinoco_cs orinoco hermes pcmcia 8139too yenta_socket rsrc_nonstatic pcmcia_core 8250_pci 8250 serial_core

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Pentium(R) 4 CPU 2.40GHz
stepping        : 9
cpu MHz         : 2392.397
cache size      : 512 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 pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts sync_rdtsc cid xtpr
bogomips        : 4788.23
clflush size    : 64

View attachment ".config" of type "text/plain" (44878 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ