[Prev][Next][Index][Thread]

fsread failed to boot



Greeting
Hello, all.

I compiled oskit-20000505.tar.gz.
And the compiling was successful. Some of test-kernels run on my machine.
But fsread and vgatest fail to boot.

>From booting messages, I think that is because they cannot recognize my disk 
and partations.

So, I fixed fsread.c as written in Mail-archive of <Oskit-user>.
Bellow is what I fixed.

----original-
#if 1
# define DISK_NAME      "sd0"           /* shaky */
# define PART_NAME      "a"
#else
# define DISK_NAME      "wd0"           /* pencil */
# define PART_NAME      "a"
#endif

CHECK(err, fsread_ffs_open, (part, filename, &fbio));
        oskit_blkio_release(part);      /* fbio has a ref */
----mine-
#if 0
# define DISK_NAME      "sd0"           /* shaky */
# define PART_NAME      "a"
#else
# define DISK_NAME      "hd0"           /* pencil */
# define PART_NAME      "s1"
#endif


CHECK(err, fsread_ext2_open, (part, filename, &fbio));
        oskit_blkio_release(part);      /* fbio has a ref */
----
Sorry, I do not use 'diff' because I use oskit on another machine....

But when I boot new 'fsread', this freezes at' >>Opening the disk %s\n'.

Like,

>>Opening the disk hd0
oskit_linux_block_open failed : Unknown error 0x8f100de1 (0x8f100de1)

Could any of you tell me what's wrong??
More, I tested another kernel from another fsread.c.
The difference is 
# define DISK_NAME      "wd0" 
instead of 
# define DISK_NAME      "hd0".
 
The message from this is bellow,

>>>Opening the disk wd0
(Just freeze)

Please help me.

TIA.

H.Higuchi<hirohito@msi.biglobe.ne.jp>
PS.
My ext2fs partation is /dev/hda1 and was formatted by mke2fs which version was
1.06.