booting hangs at "Waiting for SCSI devices to settle"

Peter Avalos pavalos at theshell.com
Mon Jul 20 23:49:58 PDT 2009


I'm having a really hard time booting one of my machines.  It keeps
getting stuck at:

Waiting 2 seconds for SCSI devices to settle

I'm able to break to debugger.  Here's what a ps looks like:

CPU0 stopping CPUs: 0x00000002
 stopped
Stopped at      siointr1+0xdc:  movl    $0,brk_state2.11395
db> ps
  pid      lwp  uid  ppid  pgrp  pflag  lflag stat  wmesg    wchan cmd
    1 d397d730    0     0     0 000200 000000  1 1                  swapper
    0 c03dfc20    0     0     0 000200 000000  2 3 conifhk c03c1220 swapper
oops, ran out of processes early!
cpu 0 tdrunqmask 00000000 curthread 0xff8003c0 reqflags 0000
      INCOMING IPIQS:
  tdq     thread pid    flags pri/cs/mp        sp    wmesg comm

  tdq     thread pid    flags pri/cs/mp        sp    wmesg comm
   32 0xff8003c0  -1 00200001 12/02/02 0xff807cc4        - idle_0
   32 0xc03dfd40   0 00020080 12/02/01 0xc0573c98  conifhk swapper
   32 0xc03ea200  -1 00010400 12/01/01 0xc3f2cd88        - ithread emerg
   32 0xc03e0da4  -1 00210400 28/01/00 0xc3f2fd88        - ithread 0
   32 0xc04654b4  -1 00010400 12/01/01 0xc3f32d88        - softclock 0
   32 0xc03e5c44  -1 00210400 14/01/00 0xd73c9d88        - ithread 68
   32 0xc045c0a0  -1 00000400 12/01/01 0xd73ccd88        - usched 0
   32 0xc045d104  -1 00000400 12/01/01 0xd73d2d88        - dsched 0
   32 0xda3ba500   1 00000600 10/01/01 0xd73d8d34        - swapper
   32 0xc0469580  -1 02240400 12/02/00 0xd73dbcc8 waitport netisr_cpu 0
   32 0xc0467c40  -1 02240400 12/02/00 0xda35ecc8 waitport ifnet 0
   32 0xda3ba600  -1 00020680 12/03/01 0xda3c5ca4    tqthr taskqueue 0
   32 0xc03e5d6c  -1 00210400 14/01/00 0xda3cbd88        - ithread 69
   32 0xda3ba800  -1 00020e80 12/02/01 0xda3cec9c ccb_scan xpt_thrd
   32 0xc03e5b1c  -1 00210400 14/01/00 0xda3d1d88        - ithread 67
   32 0xda3ba900  -1 00040e00 12/02/01 0xda3d4ccc waitport acpi_task
   32 0xc03e180c  -1 00210400 28/01/00 0xda3dbd88        - ithread 9
   32 0xc03e57a4  -1 00210400 14/02/01 0xda3decf0        - ithread 64
   32 0xc03e1244  -1 00210400 28/01/00 0xda582d88        - ithread 4
   32 0xc03e111c  -1 00210400 28/01/00 0xda585d88        - ithread 3
   32 0xc03e1494  -1 00210400 28/02/01 0xda588cf0        - ithread 6
   32 0xc03e2274  -1 00210400 28/01/00 0xda67dd88        - ithread 18
   32 0xda3bac00  -1 00020e80 12/02/01 0xda6a2c94     idle aic_recovery0
   32 0xc03e239c  -1 00210400 28/01/00 0xda6f7d88        - ithread 19
   32 0xda3bad00  -1 00020e80 12/02/01 0xda6fac94     idle aic_recovery1
   32 0xc03e2024  -1 00210400 28/01/00 0xda722d88        - ithread 16
   32 0xc03e214c  -1 00210400 28/01/00 0xda74ad88        - ithread 17
   32 0xda3baf00  -1 00020680 12/02/01 0xda74dc8c    rwait random
   32 0xc048fa80  -1 02240400 12/02/00 0xda754cc8 waitport udp_thread 0
   32 0xc048eac0  -1 02240400 12/02/00 0xda75acc0 waitport tcp_thread 0
   32 0xda3bbb00  -1 00040600 12/02/01 0xde51accc waitport rtable_cpu 0
cpu 1 tdrunqmask 00000000 curthread 0xff8083c0 reqflags 0000
      INCOMING IPIQS:
  tdq     thread pid    flags pri/cs/mp        sp    wmesg comm

  tdq     thread pid    flags pri/cs/mp        sp    wmesg comm
   32 0xff8083c0  -1 00200001 12/00/00 0xff80fd3c        - idle_1
   32 0xc04655c4  -1 00010400 14/02/01 0xc3f35d24        - softclock 1
   32 0xc045c1a4  -1 00000400 12/01/01 0xd73cfd88        - usched 1
   32 0xc045d208  -1 00000400 12/01/01 0xd73d5d88        - dsched 1
   32 0xc046967c  -1 02240400 12/02/00 0xd73decc8 waitport netisr_cpu 1
   32 0xc0467d3c  -1 02240400 12/02/00 0xda3c2cc8 waitport ifnet 1
   32 0xda3ba700  -1 00020680 12/03/01 0xda3c8ca4    tqthr taskqueue 1
   32 0xc048fb7c  -1 02240400 12/02/00 0xda757cc8 waitport udp_thread 1
   32 0xc048ebbc  -1 02240400 12/02/00 0xda75dcc0 waitport tcp_thread 1
   32 0xda3bbc00  -1 00040600 12/02/01 0xde51dccc waitport rtable_cpu 1
CURCPU 0 CURTHREAD 0xff8003c0 (-1)

I have to keep rebooting the machine until it finally decides to work.
What else can I try?

--Peter
Attachment:
pgp00000.pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00000.pgp
Type: application/octet-stream
Size: 197 bytes
Desc: "Description: PGP signature"
URL: <http://lists.dragonflybsd.org/pipermail/bugs/attachments/20090720/feb8be1e/attachment-0021.obj>


More information about the Bugs mailing list