Re: RFC: ATA to CAM integration patch (INTEL DX58SO)

From: Mike Tancsa <mike_at_sentex.net>
Date: Sun, 05 Jul 2009 07:29:05 -0400
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
Received on Sun Jul 05 2009 - 09:29:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:51 UTC