Skip to contentSkip to conversation

Problem with delo

DISCUSSION Jan-Benedict Glaw 2 participants 4 messages Feb 22, 2002 – Feb 25, 2002 MIPS

lore
Share & tools
lore
#0 lore raw

Hi!

I've just installed delo on my /125, but it doesn't boot the kernel. It *seems* (to me) that it successfully load it's second stage, but second stage bootloader failed to load /etc/delo.conf. Layout is like this:

/dev/sda1 Small Linux/ext2 partition containing
nothing
/dev/sda2 Large Linux/ext2 partition containing
the / filesystem (including /boot directory)
/dev/sda3 Linux swap

My delo.conf looks like this:

	label=linux
		image=/boot/vmlinux
		append="root=/dev/sda2 init=/bin/bash"

I recompiled delo with -DDEBUG and now, I'm getting this bootup message:

Quoted 1 line
Quoted 1 line

boot 3/rz1 2/linux

delo V0.7 Copyright 2000 Florian Lohoff <[email protected]> callv addr a0002f88
clo: 0 boot
clo: 1 3/rz1
clo: 2 2/linux
Getting partition info
Partition '2' 2
bootread returned 512
DOS disklabel found
1 0 83 62 98146
2 0 83 98208 5665374
delo_open: called
delo_open: bootinit returned 0
delo_set_blksize: called 1024
delo_read_blk: called for 98210 count 1024 to 805402f8
delo_set_blksize: called 4096
delo_read_blk: called for 98216 count 4096 to 805406f8
delo_read_blk: called for 98240 count 4096 to 80542710
delo_read_blk: called for 102264 count 4096 to 805416f8
delo_read_blk: called for 3506112 count 4096 to 80542710
delo_read_blk: called for 364520 count 4096 to 805416f8
delo_read_blk: called for 364528 count 4096 to 805416f8
delo_read_blk: called for 364536 count 4096 to 805416f8
delo_read_blk: called for 156648 count 4096 to 805416f8
readfile: ext2fs_namei_follow returned 2133571404 extfs_open returned Unknown ext2 error(2133571404) Couldnt fetch config.file /etc/delo.conf

I'm not exactly familiar with delo's code. Flo, do you have a hint?

MfG, JBG

Signature · 3 lines
Jan-Benedict Glaw   .   [email protected]   .   +49-172-7608481
	 -- New APT-Proxy written in shell script --
	   http://lug-owl.de/~jbglaw/software/ap2/
#1 lore raw
Quoted 17 lines · Jan-Benedict Glaw

/dev/sda1 Small Linux/ext2 partition containing
/dev/sda2 Large Linux/ext2 partition containing
/dev/sda3 Linux swap

Quoted 1 line
Quoted 1 line

boot 3/rz1 2/linux

delo V0.7 Copyright 2000 Florian Lohoff <[email protected]> callv addr a0002f88
clo: 0 boot
clo: 1 3/rz1
clo: 2 2/linux
Getting partition info
Partition '2' 2
bootread returned 512
DOS disklabel found
1 0 83 62 98146
2 0 83 98208 5665374

Quoted 2 lines

extfs_open returned Unknown ext2 error(2133571404) Couldnt fetch config.file /etc/delo.conf

Hmmm - looks strange ...

Flo

Signature · 2 lines
Florian Lohoff                  [email protected]             +49-5201-669912
Nine nineth on september the 9th              Welcome to the new billenium
#2 lore raw

On Sat, 2002-02-23 20:11:26 +0100, Florian Lohoff <[email protected]> wrote in message <[email protected]>:

Quoted 5 lines · Jan-Benedict Glaw
Quoted 2 lines

extfs_open returned Unknown ext2 error(2133571404) Couldnt fetch config.file /etc/delo.conf

Hmmm - looks strange ...

From my understanding, the stage-2 part is loaded by a known block list, but the kernel is then fetched with the help of the e2fs lib. Delo contains an own version of this lib. Does it work with the current ext2 code? ...or is there maybe a Problem with only supporting the "old" ext2 code (from 2.0.x time)? I'll test this as soon as I've again placed the box on a desk.

MfG, JBG
PS: Windowmaker is running fine on it, but the keyboard mapping is a bit wrong when running X11. There's no space on the space key:-(

Signature · 3 lines
Jan-Benedict Glaw   .   [email protected]   .   +49-172-7608481
	 -- New APT-Proxy written in shell script --
	   http://lug-owl.de/~jbglaw/software/ap2/
#3 lore raw
Quoted 2 lines · Jan-Benedict Glaw

From my understanding, the stage-2 part is loaded by a known block list, but the kernel is then fetched with the help of the e2fs lib.

Which is in the first 512 byte of the DISK

Quoted 4 lines

Delo contains an own version of this lib. Does it work with the current ext2 code? ...or is there maybe a Problem with only supporting the "old" ext2 code (from 2.0.x time)? I'll test this as soon as I've again placed the box on a desk.

Nope - The lib should be quiet recent - My guess was that either you have a /boot partition and delo trys to follow an interpartition symlink (Which it cant)

Delo needs a major cleanup - The ELF loader needs to be fully rewritten which i already did in Konstanz (Untestet - Unfinished).

Flo

Signature · 2 lines
Florian Lohoff                  [email protected]             +49-5201-669912
Nine nineth on september the 9th              Welcome to the new billenium