[ag-automation] Problem reading RBF filesystem on SCSI disk

Piotr Czepek piotr.czepek at gmail.com
Mon Mar 26 20:37:29 CEST 2007


2007/3/21, Carsten Emde <Carsten.Emde at osadl.org>:
> Would you mind to check out version 0.63 that is available on the OSADL
> download page? Admittedly, I don't think that this will fix the problem,
> but just to make sure it does not.

Hello,
I checked 0.63 version (btw. there is missing Makefile in package).
Problem remains the same:

dmesg output:
RBF Filesystem Version 0.63 (alpha)
getblk(): invalid block size 256 requested
hardsect size: 256
 [<c017f23a>] __getblk+0x1da/0x210
 [<c01806f6>] __bread+0x6/0x90
  [<e0d0a8f0>] rbf_read_super+0x650/0xb60 [rbf]
  [<c02312ff>] snprintf+0x1f/0x30
 [<c01600a9>] get_sb_bdev+0xf9/0x130
  [<e0d0a0c1>] rbf_get_sb+0x21/0x30 [rbf]
  [<e0d0a2a0>] rbf_read_super+0x0/0xb60 [rbf]
 [<c015fe13>] vfs_kern_mount+0x43/0x90
 [<c015feb9>] do_kern_mount+0x39/0x60
 [<c01750e7>] do_mount+0x277/0x6c0
 [<c0174483>] mntput_no_expire+0x13/0x90
 [<c0167863>] link_path_walk+0x63/0xc0
 [<c014ce21>] __handle_mm_fault+0x5c1/0x930
 [<c014cf74>] __handle_mm_fault+0x714/0x930
 [<c01448e7>] __alloc_pages+0x57/0x2f0
 [<c0327344>] error_code+0x74/0x7c
 [<c0144b9a>] __get_free_pages+0x1a/0x40
 [<c0174043>] copy_mount_options+0x43/0x150
  [<c01667a3>] getname+0xb3/0xe0
 [<c01755a7>] sys_mount+0x77/0xc0
 [<c0103020>] sysenter_past_esp+0x5d/0x81
 [<c0320033>] unix_peer_get+0x13/0x40
 =======================
rbf: unable to read the superblock

Call to getblk()  in fs/buffer.c caused a kernel error:

       if (unlikely(size & (bdev_hardsect_size(bdev)-1) ||
                       (size < 512 || size > PAGE_SIZE))) {
               printk(KERN_ERR "getblk(): invalid block size %d requested\n",


I can dump the bootsector and root dir from disk, but I don't  know
much about data structure on os9 disk.
Could you explain me how to extract a bootsector and a root directory
from disk?

Gzipped disk image is over 20MB -  too large to attach to mail :(
I will try to make it available over ftp. But my internet connection
is slow and not reliable...

-- 
best regards piotr


More information about the ag-automation mailing list