Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Aug 2004 10:48:38 +0400
From:      Maxim Maximov <mcsi@mcsi.pp.ru>
To:        current@freebsd.org
Subject:   Re: acpi issue? (WAS: module cbb already present)
Message-ID:  <412058C6.5040401@mcsi.pp.ru>
In-Reply-To: <411E17FB.7070603@mcsi.pp.ru>
References:  <411E17FB.7070603@mcsi.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Maxim Maximov wrote:

> 
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.52-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
> 
> 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> 
> 
>   Hyperthreading: 2 logical CPUs
> real memory  = 536674304 (511 MB)
> avail memory = 514506752 (490 MB)
> ACPI APIC Table: <A M I  OEMAPIC >
> 
>     Also this kernel stops after 'Pre-seeding PRNG:' message and stops 
> until I enter DDB. I can press any keys and they are displayed at the 
> screen. Ctrl-C doesn't work. I dont have a console at the moment, I will 
> post output of DDB trace, show threads, show locks and ps in monday. I 
> wonder if anyone else see this?
>     It goes fine into single user mode. When I exit single user shell, 
> it boots fine.
>     Witness enabled, preemption disabled, htt enabled, SMP kernel, ACPI 
> enabled (when disabled, it panics at boot btw), cleanworld before
> buildworld, debug.mpsafenet=0 or 1, it doesn't matter on this subject.
> 

	Here it is. It seems /etc/rc.d/preseedrandom runs its commands to 
'sysctl -a' (proc 77) and then hangs.

ATAPI_RESET time = 4330us
acd0: DVDR <TOSHIBA DVD-ROM SD-R6112/1731> at ata0-slave UDMA33
ad2: 57231MB <IC25N060ATMR04-0/MO3OAD4A> [116280/16/63] at ata1-master 
UDMA100
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/ad2s3a
Pre-seeding PRNG:
~KDB: enter: Break sequence on console
[thread 100005]
Stopped at      kdb_enter+0x2b: nop
db> trace
kdb_enter(c08589ff) at kdb_enter+0x2b
siointr1(c1ccf000,c0944d00,0,c08587c3,6ad) at siointr1+0xd5
siointr(c1ccf000) at siointr+0x21
intr_execute_handlers(c1a90890,d4270ca8,4,d4270cec,c07bdc43) at 
intr_execute_handlers+0xa9
lapic_handle_intr(34) at lapic_handle_intr+0x2e
Xapic_isr1() at Xapic_isr1+0x33
--- interrupt, eip = 0xc0a67461, esp = 0xd4270cec, ebp = 0xd4270cec ---
acpi_cpu_c1(c0904000,c1a57a68,1,c1a57a68,c0632810) at acpi_cpu_c1+0x5
acpi_cpu_idle(d4270d1c,c0632839,d4270d34,c0632650,0) at acpi_cpu_idle+0xd9
cpu_idle(d4270d34,c0632650,0,d4270d48,0) at cpu_idle+0x28
idle_proc(0,d4270d48,0,c0632810,0) at idle_proc+0x29
fork_exit(c0632810,0,d4270d48) at fork_exit+0xa4
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xd4270d7c, ebp = 0 ---
db> show threads
   100085 (0xc1e44b00)  sched_switch(c1e44b00,0) at sched_switch+0x15b
   100084 (0xc1e449a0)  sched_switch(c1e449a0,0) at sched_switch+0x15b
   100103 (0xc1e94580)  sched_switch(c1e94580,0) at sched_switch+0x15b
   100101 (0xc1e942c0)  sched_switch(c1e942c0,0) at sched_switch+0x15b
   100094 (0xc1e93840)  sched_switch(c1e93840,0) at sched_switch+0x15b
   100083 (0xc1e44840)  sched_switch(c1e44840,0) at sched_switch+0x15b
   100082 (0xc1e446e0)  sched_switch(c1e446e0,0) at sched_switch+0x15b
   100081 (0xc1e44580)  sched_switch(c1e44580,0) at sched_switch+0x15b
   100046 (0xc1afc2c0)  sched_switch(c1afc2c0,0) at sched_switch+0x15b
   100045 (0xc1afc160)  sched_switch(c1afc160,0) at sched_switch+0x15b
   100044 (0xc1afc000)  sched_switch(c1afc000,0) at sched_switch+0x15b
   100043 (0xc1ab5dc0)  sched_switch(c1ab5dc0,0) at sched_switch+0x15b
   100042 (0xc1ab5c60)  sched_switch(c1ab5c60,0) at sched_switch+0x15b
   100041 (0xc1ab5b00)  sched_switch(c1ab5b00,0) at sched_switch+0x15b
   100040 (0xc1ab59a0)  sched_switch(c1ab59a0,0) at sched_switch+0x15b
   100039 (0xc1ab5840)  sched_switch(c1ab5840,0) at sched_switch+0x15b
   100069 (0xc1ba7420)  sched_switch(c1ba7420,0) at sched_switch+0x15b
   100068 (0xc1ba72c0)  sched_switch(c1ba72c0,0) at sched_switch+0x15b
   100067 (0xc1ba7160)  sched_switch(c1ba7160,0) at sched_switch+0x15b
   100066 (0xc1ba7000)  sched_switch(c1ba7000,0) at sched_switch+0x15b
   100065 (0xc1ba6dc0)  sched_switch(c1ba6dc0,0) at sched_switch+0x15b
   100064 (0xc1ba6c60)  sched_switch(c1ba6c60,0) at sched_switch+0x15b
   100030 (0xc1a64b00)  sched_switch(c1a64b00,0) at sched_switch+0x15b
   100029 (0xc1a649a0)  sched_switch(c1a649a0,0) at sched_switch+0x15b
   100028 (0xc1a64840)  sched_switch(c1a64840,0) at sched_switch+0x15b
   100027 (0xc1a646e0)  sched_switch(c1a646e0,0) at sched_switch+0x15b
   100026 (0xc1a64580)  sched_switch(c1a64580,0) at sched_switch+0x15b
   100025 (0xc1a64420)  sched_switch(c1a64420,0) at sched_switch+0x15b
   100053 (0xc1afcc60)  fork_trampoline() at fork_trampoline
   100052 (0xc1afcb00)  sched_switch(c1afcb00,0) at sched_switch+0x15b
   100051 (0xc1afc9a0)  fork_trampoline() at fork_trampoline
   100050 (0xc1afc840)  sched_switch(c1afc840,0) at sched_switch+0x15b
   100049 (0xc1afc6e0)  fork_trampoline() at fork_trampoline
   100048 (0xc1afc580)  sched_switch(c1afc580,0) at sched_switch+0x15b
   100047 (0xc1afc420)  sched_switch(c1afc420,0) at sched_switch+0x15b
   100015 (0xc1a5e580)  sched_switch(c1a5e580,0) at sched_switch+0x15b
   100014 (0xc1a5e420)  sched_switch(c1a5e420,0) at sched_switch+0x15b
   100013 (0xc1a5e2c0)  sched_switch(c1a5e2c0,0) at sched_switch+0x15b
   100012 (0xc1a5e160)  fork_trampoline() at fork_trampoline
   100038 (0xc1ab56e0)  sched_switch(c1ab56e0,0) at sched_switch+0x15b
   100037 (0xc1ab5580)  fork_trampoline() at fork_trampoline
   100036 (0xc1ab5420)  fork_trampoline() at fork_trampoline
   100035 (0xc1ab52c0)  fork_trampoline() at fork_trampoline
   100034 (0xc1ab5160)  fork_trampoline() at fork_trampoline
   100033 (0xc1ab5000)  fork_trampoline() at fork_trampoline
   100032 (0xc1a64dc0)  fork_trampoline() at fork_trampoline
   100031 (0xc1a64c60)  fork_trampoline() at fork_trampoline
   100001 (0xc1a58160)  sched_switch(c1a58160,0) at sched_switch+0x15b
   100000 (0xc1a58000)  fork_trampoline() at fork_trampoline
   100024 (0xc1a642c0)  fork_trampoline() at fork_trampoline
   100023 (0xc1a64160)  sched_switch(c1a64160,0) at sched_switch+0x15b
   100022 (0xc1a64000)  sched_switch(c1a64000,0) at sched_switch+0x15b
   100021 (0xc1a5edc0)  fork_trampoline() at fork_trampoline
   100020 (0xc1a5ec60)  fork_trampoline() at fork_trampoline
   100019 (0xc1a5eb00)  fork_trampoline() at fork_trampoline
   100018 (0xc1a5e9a0)  fork_trampoline() at fork_trampoline
   100017 (0xc1a5e840)  sched_switch(c1a5e840,0) at sched_switch+0x15b
   100016 (0xc1a5e6e0)  fork_trampoline() at fork_trampoline
   100011 (0xc1a5e000)  fork_trampoline() at fork_trampoline
   100010 (0xc1a58dc0)  sched_switch(c1a58dc0,0) at sched_switch+0x15b
   100009 (0xc1a58c60)  fork_trampoline() at fork_trampoline
   100008 (0xc1a58b00)  fork_trampoline() at fork_trampoline
   100007 (0xc1a589a0)  fork_trampoline() at fork_trampoline
   100006 (0xc1a58840)  sched_switch(c1a58840,0) at sched_switch+0x15b
   100005 (0xc1a586e0)  kdb_enter(c08589ff) at kdb_enter+0x2b
   100004 (0xc1a58580)  sched_switch(6,c07bdfd1,c0958ea0,18,10) at 
sched_switch+0x15b
AcpiGbl_BitRegisterInfo() at AcpiGbl_BitRegisterInfo+0x4
   100003 (0xc1a58420)  sched_switch(c1a58420,0) at sched_switch+0x15b
   100002 (0xc1a582c0)  sched_switch(c1a582c0,0) at sched_switch+0x15b
        0 (0xc0900480)  sched_switch(c0900480,0) at sched_switch+0x15b
db> ps
   pid   proc     uarea   uid  ppid  pgrp  flag   stat  wmesg    wchan  cmd
    77 c1e43c24 d98fa000    0    75    64 0004002 [SLPQ ACPI cmbat 
0xc0a777b0][SLP] sysctl
    75 c1e43de0 d991c000    0    73    64 0000002 [SLPQ wait 
0xc1e43de0][SLP] sh
    73 c1e92000 daac3000    0    71    64 0000002 [SLPQ wait 
0xc1e92000][SLP] sh
    71 c1e92378 dab07000    0    64    64 0000002 [SLPQ wait 
0xc1e92378][SLP] sh
    64 c1e97000 dab0e000    0     1    64 0004002 [SLPQ wait 
0xc1e97000][SLP] sh
    63 c1e45000 d991d000    0     0     0 0000204 [SLPQ - 
0xc093bfac][SLP] nfsiod 3
    62 c1e451bc d991e000    0     0     0 0000204 [SLPQ - 
0xc093bfa8][SLP] nfsiod 2
    61 c1e45378 d991f000    0     0     0 0000204 [SLPQ - 
0xc093bfa4][SLP] nfsiod 1
    60 c1afd1bc d5504000    0     0     0 0000204 [SLPQ - 
0xc093bfa0][SLP] nfsiod 0
    59 c1afd378 d5505000    0     0     0 0000204 [SLPQ syncer 
0xc090586c][SLP] syncer
    58 c1afd534 d5506000    0     0     0 0000204 [SLPQ vlruwt 
0xc1afd534][SLP] vnlru
    57 c1afd6f0 d5507000    0     0     0 0000204 [SLPQ psleep 
0xc0934acc][SLP] bufdaemon
    56 c1afd8ac d5508000    0     0     0 000020c [SLPQ pgzero 
0xc094290c][SLP] pagezero
    55 c1afda68 d5509000    0     0     0 0000204 [SLPQ psleep 
0xc0942960][SLP] vmdaemon
    54 c1afdc24 d550a000    0     0     0 0000204 [SLPQ psleep 
0xc094291c][SLP] pagedaemon
    53 c1afdde0 d550b000    0     0     0 0000204 [IWAIT] swi0: sio
    52 c1ba5000 d951e000    0     0     0 0000204 [SLPQ cbb cv 
0xc1b66ca0][SLP] cbb1
     9 c1ba51bc d9561000    0     0     0 0000204 [SLPQ cbb cv 
0xc1b674a0][SLP] cbb0
    51 c1ba5378 d9562000    0     0     0 0000204 [SLPQ usbevt 
0xc1bb4210][SLP] usb3
    50 c1ba5534 d9563000    0     0     0 0000204 [SLPQ usbevt 
0xc1bb0210][SLP] usb2
    49 c1ba56f0 d9564000    0     0     0 0000204 [SLPQ usbevt 
0xc1b99210][SLP] usb1
    48 c1ba58ac d9565000    0     0     0 0000204 [SLPQ usbtsk 
0xc08fd7d8][SLP] usbtask
    47 c1ac4a68 d54d6000    0     0     0 0000204 [SLPQ usbevt 
0xc1b6b210][SLP] usb0
    46 c1ac4c24 d54d7000    0     0     0 0000204 [SLPQ tzpoll 
0xc0a77654][SLP] acpi_thermal
     8 c1ac4de0 d54d8000    0     0     0 0000204 [SLPQ ACPI cmbat 
0xc0a777b0][SLP] acpi_task2
     7 c1afb000 d54d9000    0     0     0 0000204 [SLPQ ACPI cmbat 
0xc0a777b0][SLP] acpi_task1
     6 c1afb1bc d54da000    0     0     0 0000204 [SLPQ acpislp 
0xc0a779e4][SLP] acpi_task0
    45 c1afb378 d54db000    0     0     0 0000204 [IWAIT] swi6:+
    44 c1afb534 d54dc000    0     0     0 0000204 [IWAIT] swi6: task queue
    43 c1afb6f0 d54fe000    0     0     0 0000204 [IWAIT] swi3: cambio
    42 c1afb8ac d54ff000    0     0     0 0000204 [IWAIT] swi2: camnet
    41 c1afba68 d5500000    0     0     0 0000204 [IWAIT] swi6: acpitaskq
    40 c1afbc24 d5501000    0     0     0 0000204 [IWAIT] swi6:+
     5 c1afbde0 d5502000    0     0     0 0000204 [SLPQ - 
0xc1b11300][SLP] thread taskq
    39 c1afd000 d5503000    0     0     0 0000204 [SLPQ - 
0xc08fa3a0][SLP] yarrow
     4 c1ab4534 d54a9000    0     0     0 0000204 [SLPQ - 
0xc09001c8][SLP] g_down
     3 c1ab46f0 d54aa000    0     0     0 0000204 [SLPQ - 
0xc09001c4][SLP] g_up
     2 c1ab48ac d54ab000    0     0     0 0000204 [SLPQ - 
0xc09001bc][SLP] g_event
    38 c1ab4a68 d54ac000    0     0     0 0000204 [IWAIT] swi4: vm
    37 c1ab4c24 d54ad000    0     0     0 000020c [IWAIT] swi5: clock sio
    36 c1ab4de0 d54cf000    0     0     0 0000204 [IWAIT] swi1: net
    35 c1ac4000 d54d0000    0     0     0 0000204 [IWAIT] irq0: clk
    34 c1ac41bc d54d1000    0     0     0 0000204 [IWAIT] irq23:
    33 c1ac4378 d54d2000    0     0     0 0000204 [IWAIT] irq22:
    32 c1ac4534 d54d3000    0     0     0 0000204 [IWAIT] irq21:
    31 c1ac46f0 d54d4000    0     0     0 0000204 [IWAIT] irq20:
    30 c1ac48ac d54d5000    0     0     0 0000204 [IWAIT] irq19: uhci1
    29 c1a631bc d42aa000    0     0     0 0000204 [IWAIT] irq18: skc0 
fwohci+
    28 c1a63378 d42ab000    0     0     0 0000204 [IWAIT] irq17: cbb1 pcm0
    27 c1a63534 d42ac000    0     0     0 0000204 [IWAIT] irq16: cbb0 uhci0+
    26 c1a636f0 d42ce000    0     0     0 0000204 [IWAIT] irq15: ata1
    25 c1a638ac d42cf000    0     0     0 0000204 [IWAIT] irq14: ata0
    24 c1a63a68 d42d0000    0     0     0 0000204 [IWAIT] irq13:
    23 c1a63c24 d42d1000    0     0     0 0000204 [IWAIT] irq12: psm0
    22 c1a63de0 d42d2000    0     0     0 0000204 [IWAIT] irq11:
    21 c1ab4000 d54a6000    0     0     0 0000204 [IWAIT] irq10:
    20 c1ab41bc d54a7000    0     0     0 0000204 [IWAIT] irq9: acpi0
    19 c1ab4378 d54a8000    0     0     0 0000204 [IWAIT] irq8: rtc
    18 c1a57000 d425e000    0     0     0 0000204 [IWAIT] irq7: ppc0
    17 c1a571bc d42a1000    0     0     0 0000204 [IWAIT] irq6: fdc0
    16 c1a57378 d42a2000    0     0     0 0000204 [IWAIT] irq5:
    15 c1a57534 d42a3000    0     0     0 0000204 [IWAIT] irq4: sio0
    14 c1a576f0 d42a4000    0     0     0 0000204 [IWAIT] irq3: sio1
    13 c1a578ac d42a5000    0     0     0 0000204 [IWAIT] irq1: atkbd0
    12 c1a57a68 d42a6000    0     0     0 000020c [CPU 0] idle: cpu0
    11 c1a57c24 d42a7000    0     0     0 000020c [CPU 1] idle: cpu1
     1 c1a57de0 d42a8000    0     0     1 0004200 [SLPQ wait 
0xc1a57de0][SLP] init
    10 c1a63000 d42a9000    0     0     0 0000204 [SLPQ ktrace 
0xc0903a78][SLP] ktrace
     0 c09002c0 c0c1f000    0     0     0 0000200 [SLPQ sched 
0xc09002c0][SLP] swapper
db> show locks
db>

-- 
Maxim Maximov



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