Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Nov 2012 12:18:09 -0700
From:      Gary Aitken <freebsd@dreamchaser.org>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   9.0 crash, ssd or filesystem problem?
Message-ID:  <50A53FF1.7050806@dreamchaser.org>

next in thread | raw e-mail | index | archive | help
Trying to rebuild ports, I'm consistently getting the following:

  ahcich1 Timeout on slot 13 port 0
                          ^---- slot varies
  g_vfs_done() ada0p6 [WRITE(offset=38838571008 length=4096)]error=6
  /usr got error 6 while accessing filesyustem cpuid=0
  panic: softdep_deallocate_dependencies:unrecovered I/O error
  KBD: stack backtrace:
  #0 ... kbd_backtrace+0x5e
  #1 ... panic+0x187
  #2 ... clear_remove+0
  #3 ... brelse+0x60
  (ada0:ahcich1:0:0:0): lost device
  #4 ... bufdone+0x68
  #5 ... g_io_schedule_up+0xa6
  #6 ... fork_exit+0x11f
  #7 ... fork_trampoline+0xe

This happens consistently when doing 
  
  portmaster www/firefox
    ...
  firefox-16.0.2,1 depends on file: /usr/local/bin/perl5.12.4 - found

The firefox build said it was going to build audio/alsa also, 
so to make things easier after rebooting I would do
  portmaster audio/alsa
which would succeed, and then again try
  portmaster www/firefox
which would always fail the same way.

The interesting part about the above is that after the crash,
the firefox build would say it needed to build audio/alsa again.

I tried doing
  portmaster lang/perl5.12
to rebuild perl and get it placed somewhere different on the ssd,
but I'm still getting a consistent crash after I get the 
"firefox-16.0.2,1 depends on file: /usr/local/bin/perl5.12.4 - found"
line.

I'm guessing it's crashing on something after the perl;
how to find out what it is?

Error 6 is ENXIO, device not configured; not sure exactly what that means.

This machine has:
  16G   mem 
   0.5G swap
   2G   /tmp
   4G   /var  
Is any of that likely to be related to the problem?

Given an addr in the failure error:
  g_vfs_done() ada0p6 [WRITE(offset=38838571008 length=4096)]error=6
how does one relate that addr to the partitioning scheme?

~$ gpart show ada0
=>       34  250069613  ada0  GPT  (119G)
         34        128     1  freebsd-boot  (64k)
        162   41943040     2  freebsd-ufs  (20G)      /
   41943202    1048576     3  freebsd-swap  (512M)    swap
   42991778    8388608     4  freebsd-ufs  (4.0G)     /var
   51380386    4194304     5  freebsd-ufs  (2.0G)     /tmp
   55574690  192216088     6  freebsd-ufs  (91G)      /usr
  247790778    2278869        - free -  (1.1G)

Thanks for any insights,

Gary



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50A53FF1.7050806>