Opened 18 years ago
Closed 18 years ago
#1120 closed bug (fixed)
invalid block number
Reported by: | kaliber | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | - General | Version: | R1/pre-alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | x86 |
Description
During tar xvf ... a get this error:
PANIC: get_writable_cached_block: invalid block number 768634 (max 767999) Welcome to Kernel Debugging Land... Running on CPU 0 kdebug> bt stack trace for thread 0x89 "tar"
kernel stack: 0x9060d000 to 0x90610000
user stack: 0x7efe7000 to 0x7ffe7000
frame caller <image>:function + offset 9060f814 (+ 48) 80079bd5 <kernel>:kernel_debugger_loop + 0x00dd 9060f844 (+ 32) 8007a64a <kernel>:kernel_debugger + 0x009a 9060f864 (+ 176) 8007a5a6 <kernel>:panic + 0x0036 9060f914 (+ 64) 8005612f <kernel>:get_writable_cached_blockFP11block_cachexxxlb + 0x003f 9060f954 (+ 80) 80057677 <kernel>:block_cache_get_writable_etc + 0x008b 9060f9a4 (+ 64) 800576da <kernel>:block_cache_get_writable + 0x0022 9060f9e4 (+ 96) 8022f73c <bfs>:InternalSetTo10CachedNodeP11Transactionx + 0x0128 9060fa44 (+ 64) 8022f607 <bfs>:SetToWritableHeader10CachedNodeR11Transaction + 0x0067 9060fa84 (+ 80) 8022fd6b <bfs>:SetTo9BPlusTreeR11TransactionP5Inodel + 0x0083 9060fad4 (+ 48) 8022fb39 <bfs>:9BPlusTreeR11TransactionP5Inodel + 0x0059 9060fb04 (+ 80) 80236cc7 <bfs>:CreateTree14InodeAllocator + 0x0067 9060fb54 (+ 144) 8023cbae <bfs>:Create5InodeR11TransactionP5InodePCcliUlPxPP5Inode + 0x0666 9060fbe4 (+ 80) 80246416 <bfs>:bfs_create_dirFPvT0PCciPx + 0x0102 9060fc34 (+ 320) 80042a4a <kernel>:dir_createFiPcib + 0x0082 9060fd74 (+ 64) 80047934 <kernel>:_user_create_dir + 0x0094 9060fdb4 (+ 336) 80030393 <kernel>:syscall_dispatcher + 0x08a3 9060ff04 (+ 160) 80080234 <kernel>:i386_handle_trap + 0x0238 iframe at 0x9060ffac (end = 0x90610000)
eax 0x4c ebx 0x2c6c4c ecx 0x218fa4 edx 0x18010340 esi 0x1 edi 0x1ff ebp 0x7ffe6d7c esp 0x9060ffdc eip 0xffff0102 eflags 0x217 vector: 0x63, error code: 0x0
9060ffa4 (+ 0) ffff0102 7ffe6d7c (+ 336) 0020f310 </bin/tar@0x00200000>:unknown + 0xf310 7ffe6ecc (+ 112) 00212555 </bin/tar@0x00200000>:unknown + 0x12555 7ffe6f3c (+ 48) 0021ce78 </bin/tar@0x00200000>:unknown + 0x1ce78 7ffe6f6c (+ 64) 00207663 </bin/tar@0x00200000>:unknown + 0x7663 7ffe6fac (+ 48) 001007ae 1327:runtime_loader_seg0ro@0x00100000 + 0x7ae 7ffe6fdc (+ 0) 7ffe6fec 1326:/bin/tar_main_stack@0x7efe7000 + 0xffffec kdebug>
Also in serial output there is strange line: bfs: volume reports 247970 used blocks, correct is 431905
Attachments (1)
Change History (5)
by , 18 years ago
Attachment: | invalid-block.txt added |
---|
comment:1 by , 18 years ago
After many "continue" in KDL I get:
kdebug> co
bfs: InternalSetTo:238: I/O error
bfs: SetTo:403: General system error
PANIC: get_writable_cached_block: invalid block number 769477 (max 767999)
Welcome to Kernel Debugging Land...
Running on CPU 0
kdebug> co
PANIC: get_cached_block: invalid block number 769477 (max 767999)
Welcome to Kernel Debugging Land...
Running on CPU 0
kdebug> co
bfs: InternalSetTo:238: I/O error
bfs: SetTo:403: General system error
bfs: we have to panic... switch to read-only mode!
bfs: * invalid run(46,19086,64)
bfs: SetTo:403: General system error
bfs: bfs_create_dir:1382: Read-only file system
Last message repeated 7 times.
bfs: Create:2238: Read-only file system
Last message repeated 7 times.
bfs: bfs_create_dir:1382: Read-only file system
Last message repeated 62 times.
bfs: Create:2238: Read-only file system
Last message repeated 27 times.
bfs: bfs_create_dir:1382: Read-only file system
Last message repeated 6 times.
bfs: Create:2238: Read-only file system
Last message repeated 9 times.
bfs: bfs_create_dir:1382: Read-only file system
Last message repeated 19 times.
bfs: Create:2238: Read-only file system
Last message repeated 14 times.
bfs: bfs_create_dir:1382: Read-only file system
Last message repeated 20 times.
bfs: Create:2238: Read-only file system
Last message repeated 14 times.
bfs: bfs_write_stat:684: Read-only file system
Last message repeated 2 times.
bfs: Create:2238: Read-only file system
Last message repeated 2 times.
bfs: bfs_create_dir:1382: Read-only file system
Last message repeated 56 times.
bfs: Create:2238: Read-only file system
bfs: Create:2238: Read-only file system
bfs: bfs_create_dir:1382: Read-only file system
Last message repeated 21 times.
bfs: Create:2238: Read-only file system
Last message repeated 6 times.
bfs: bfs_write_stat:684: Read-only file system
Last message repeated 2 times.
df command show that I have Total: 750M and free 299.9M
comment:2 by , 18 years ago
How large was the tar file? Can you reproduce this with a revision after hrev21482?
comment:3 by , 18 years ago
As I remember it was about 4MB http://ftp.gnome.org/pub/GNOME/sources/glib/2.12/glib-2.12.11.tar.gz
It's working now. Good work! Thanks.
comment:4 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Ok, I'm closing this bug, then, thanks for the update!
serial output