[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FFS Panic with CF Card
Hello all,
I'm about to do a Soekris router. I bought a CF-IDE adaptor which simulates
a ZIP-100, so I can Hot-Plug the CF.
OpenBSD (3.1) recognizes this adaptor as "atapiscsi" and I can access the CF
as sd0. But I always get the following error:
sd0(atapiscsi1:0:0): Check Condition on opcode 0x5a
SENSE KEY: Illegal Request
ASC/ASCQ: Illegal Field in CDB
And when I try to copy lots of files the whole system panics.
panic: ffs_clusteralloc: map mismatch
Here the trace:
_Debugger(43,1,1,e0289ea6,f38a4f04,10070,f396fbb8,e028a048,e0289dd4,eacc92e8
,44
,e01d9317,2,f38da80c,e0ad2800,e0aa4094,e0ad2800,e0ad2800,f396fbc8,8,ae4,30,2
,ea
cc9000,e0ad2800,e5c0ffe8,f396fbf8,e0289243,f38da80c,2,8008,2,f396fc98,f38da8
0c,
8008,e0aa4094,f396fc98,f38da8c8,2,f396fc2c,8000,2,f396fcf8,e02888,4d,f3ada80
c,2,
8008,2,e0289e3c,0,0,f38da8c8,0,e0b13c60,e0b13c78,f396fc5c,e0312358,e0aa4094,
e0a
a9060,4000,f38da8c8) at _Debugger+0x4
_panic(e0289dd4,eacc92e8,44,e01d9317,s) at _panic+0x81
_ffs_blkpref(f38da80c,2,8008,2) at _ffs_blkpref +0xf88
_ffs_blkpref(f38da80c,2,8008,2,e0289e3c) at _ffs_blkpref+0x183
_ffs_reallocblks(f396fd1c,0,2000,ffffffff,e0b13c74) at
_ffs_reallocblks+0x36d
_VOP_REALLOCBLKS(f38d98c0,e0b13c60,f396fd88,e01db2fc,f38d98c0,f38da830,e5c42
be8
,e01e5847) at _VOP_REALLOCBLKS+0x2e
_cluster_write(e5c42be8,f38da830,4000,0,f38d98c0) at _clustr_write+0x130
_ffs_write(f396fe44,300042,f38cc0c,1e06,2000) at _ffs_write+0x3df
_VOP_WRITE(f38d98c0,f396fed8,1,f3673140,f396ff88) at _VOP_WRITE+0x3b
_vn_write(f3899b70,f3899b8c,f396fed8,f3673140,f396ff88) at _vn_write+0x94
_dofilewrite(f38bcc0c,8,f3899b70,42774,2000) at _dofilewrite+0x81
_sys_write(f38bcc0c,f396ff88,f396fff80,e02f3131,0) at _sys_write+0x47
_syscall() at _syscall+0x242
--- syscall (number 4) ---
0x3891f::
What's going wrong?
I also have very mysterious behaviour of the CF. Sometimes the date of
written files is completely wrong, sometimes the size is negative and an
astronomical number.
Any help is highly appreciated.
Best regards,
-Harry