Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Jul 2009 07:29:05 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        Alexander Motin <mav@freebsd.org>
Cc:        FreeBSD-Current <freebsd-current@freebsd.org>, scottl@freebsd.org
Subject:   Re: RFC: ATA to CAM integration patch (INTEL  DX58SO)
Message-ID:  <200907051126.n65BQhie032549@lava.sentex.ca>
In-Reply-To: <4A504B0C.2060406@FreeBSD.org>
References:  <4A4517BE.9040504@FreeBSD.org> <200906272303.n5RN3rTi070177@lava.sentex.ca> <4A471F44.7010108@FreeBSD.org> <200907021859.n62IxghN009931@lava.sentex.ca> <4A4D0B7E.8060503@FreeBSD.org> <200907022117.n62LHrvZ010791@lava.sentex.ca> <200907031326.n63DQCGM016627@lava.sentex.ca> <4A4E0D51.3080904@FreeBSD.org> <200907031413.n63ED2jl016885@lava.sentex.ca> <4A4E1525.2040809@FreeBSD.org> <200907031430.n63EUMH1016965@lava.sentex.ca> <4A4E1A6C.3090605@FreeBSD.org> <200907031858.n63IwDIt018455@lava.sentex.ca> <4A4E5C82.9070209@FreeBSD.org> <7.1.0.9.0.20090703165005.196d3ba0@sentex.net> <200907050030.n650UkEu028408@lava.sentex.ca> <4A504B0C.2060406@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 02:41 AM 7/5/2009, Alexander Motin wrote:

>>The drive we connected has some bad sectors, so I wanted to try a 
>>secure wipe as much as possible before RMAing the drive.  I also 
>>thought it would be useful to test with the new driver how it handles bad disks
>>Is this such an error ?
>>Jul  4 20:25:57 ich10 kernel: ahcich2: ahci_ch_intr ERROR is 
>>40000001 cs 00000004 ss 00000000 rs 00000004 tfd 451 serr 00000000
>
>This is AHCI driver debugging. I've removed it in latest patch. In 
>this case it means that drive signals some command error.


Actually, looks like the box panic'd, but it seems to be 
elsewhere.  After hitting the bad sectors for some time,

g_vfs_done():ada2[WRITE(offset=6193152, length=14336)]error = 5
ahcich2: Timeout on slot 17
ahcich2: Timeout on slot 5
ahcich2: Timeout on slot 25
ahcich2: Timeout on slot 13
ahcich2: Timeout on slot 1
g_vfs_done():ada2[WRITE(offset=65536, length=2048)]error = 5
ahcich2: Timeout on slot 21
ahcich2: Timeout on slot 8
ahcich2: Timeout on slot 27
ahcich2: Timeout on slot 14
ahcich2: Timeout on slot 1
g_vfs_done():ada2[WRITE(offset=98304, length=16384)]error = 5
panic: softdep_move_dependencies: need merge code
cpuid = 0
Uptime: 2h25m8s
(ada2:ahcich2:0:0:0): Synchronize cache failed
Physical memory: 3560 MB
Dumping 218 MB: 203 187 171 155 139 123 107 91 75 59 43 27 11

Reading symbols from /boot/kernel/ahci.ko...Reading symbols from 
/boot/kernel/ahci.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ahci.ko
Reading symbols from /boot/kernel/ichwd.ko...Reading symbols from 
/boot/kernel/ichwd.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ichwd.ko
#0  doadump () at pcpu.h:246
246     pcpu.h: No such file or directory.
         in pcpu.h
(kgdb) #0  doadump () at pcpu.h:246
#1  0xc0812787 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:419
#2  0xc0812a79 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:575
#3  0xc0a354d4 in softdep_move_dependencies (oldbp=0xdaede7f0,
     newbp=0xdaec2c50) at /usr/src/sys/ufs/ffs/ffs_softdep.c:991
#4  0xc0a3d48e in ffs_backgroundwritedone (bp=0xdaede7f0)
     at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1756
#5  0xc08854d7 in bufdone (bp=0xdaede7f0) at /usr/src/sys/kern/vfs_bio.c:3254
#6  0xc07b3765 in g_vfs_done (bip=0xc7d68c94)
     at /usr/src/sys/geom/geom_vfs.c:97
#7  0xc087faa9 in biodone (bp=0xc7d68c94) at /usr/src/sys/kern/vfs_bio.c:3095
#8  0xc07b0c0f in g_io_schedule_up (tp=0xc6e8f240)
     at /usr/src/sys/geom/geom_io.c:669
#9  0xc07b0fc8 in g_up_procbody () at /usr/src/sys/geom/geom_kern.c:95
#10 0xc07e8421 in fork_exit (callout=0xc07b0f60 <g_up_procbody>, arg=0x0,
     frame=0xc6937d38) at /usr/src/sys/kern/kern_fork.c:842
#11 0xc0b180a0 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:270





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