public inbox for linux-8086@vger.kernel.org
 help / color / mirror / Atom feed
* ELKS not runnable.... (once again)
@ 2002-05-15 17:31 Harry Kalogirou
  2002-05-15 18:46 ` pauln
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Harry Kalogirou @ 2002-05-15 17:31 UTC (permalink / raw)
  To: Linux-8086


Hi Riley,
  after syncing with the CVS tree, I can't run the system. It fails this
way :

ELKS version 0.1.0
hd: probing disc in /dev/fd0
hd: /dev/fd0 probably has 18 sectors and 80 cylinders
VFS: Mounted root (minix filesystem).
Loading init
init panic
hd: bad partition start=57196 sect=1 nr_sects=0.
BIOSHD:I/O error
dev 380, sector 122732
hd: bad partition start=57196 sect=1 nr_sects=0.
BIOSHD:I/O error
dev 380, sector 122732
hd: bad partition start=57196 sect=1 nr_sects=0.
BIOSHD:I/O error
dev 380, sector 122732

In the changelog you specificaly state that you checked that it runs on
your laptop. Is there any chance you missed something? My changes on the
tree was complitly irrelevant so I presume it is some of your changes.
If you find something inform me as soon as posible, cause I'm stuck.

Harry




^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: ELKS not runnable.... (once again)
  2002-05-15 17:31 ELKS not runnable.... (once again) Harry Kalogirou
@ 2002-05-15 18:46 ` pauln
  2002-05-15 19:30   ` Harry Kalogirou
  2002-05-15 21:25 ` ELKS not runnable.... (once again) Riley Williams
  2002-05-15 23:11 ` Riley Williams
  2 siblings, 1 reply; 15+ messages in thread
From: pauln @ 2002-05-15 18:46 UTC (permalink / raw)
  To: Linux-8086

On Wed, May 15, 2002 at 08:31:33PM +0300, Harry Kalogirou wrote:
> 

Can confirm here with slightly different numbers, unless my floppy is
fscked. (tried on two different ones though)

hd: bad partition start=57500 sect=1 nr_sects=0.
BIOSHD:I/O error
dev 380, sector 123036
hd: bad partition start=51152 sect=1 nr_sects=0.
BIOSHD:I/O error
dev 380, sector 116688
hd: bad partition start=57500 sect=1 nr_sects=0.
BIOSHD:I/O error
dev 380, sector 123036

Just trying to compile without HD support, however get:

undefined symbol: _bioshd_getfdinfo
tools/build boot/bootsect boot/setup boot/system FLOPPY > boot/Image
Root device is (0, 0)
Boot sector 512 bytes.
Setup is 1648 bytes.
Unable to open 'system'
make[1]: *** [Image] Error 1
make[1]: Leaving directory `/home/pauln/src/elks/arch/i86'
make: *** [Image] Error 2
 
Which needs to be fixed, biosfd depends on bioshd by the looks.

Can someone explain the difference between no h/w hd and bios hd

Paul


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: ELKS not runnable.... (once again)
  2002-05-15 18:46 ` pauln
@ 2002-05-15 19:30   ` Harry Kalogirou
  2002-05-17 20:15     ` ELKS not runnable.... (other thing) Stefan de Konink
  0 siblings, 1 reply; 15+ messages in thread
From: Harry Kalogirou @ 2002-05-15 19:30 UTC (permalink / raw)
  To: pauln; +Cc: Linux-8086

Την Τετ, 15-05-2002 στις 21:46, ο/η pauln@truemesh.com έγραψε:
> Just trying to compile without HD support, however get:
> 
> undefined symbol: _bioshd_getfdinfo
> tools/build boot/bootsect boot/setup boot/system FLOPPY > boot/Image
> Root device is (0, 0)
> Boot sector 512 bytes.
> Setup is 1648 bytes.
> Unable to open 'system'
> make[1]: *** [Image] Error 1
> make[1]: Leaving directory `/home/pauln/src/elks/arch/i86'
> make: *** [Image] Error 2
>  
> Which needs to be fixed, biosfd depends on bioshd by the looks.
> 
> Can someone explain the difference between no h/w hd and bios hd
> 
> Paul
> 

the bioshd also handles the floppy drives. If you disable bioshd you
loose floppies along with the HDs. So when an error from bioshd shows
up, it not always the hard drive. 

Harry



-
To unsubscribe from this list: send the line "unsubscribe linux-8086" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: ELKS not runnable.... (once again)
  2002-05-15 17:31 ELKS not runnable.... (once again) Harry Kalogirou
  2002-05-15 18:46 ` pauln
@ 2002-05-15 21:25 ` Riley Williams
  2002-05-15 23:11 ` Riley Williams
  2 siblings, 0 replies; 15+ messages in thread
From: Riley Williams @ 2002-05-15 21:25 UTC (permalink / raw)
  To: Harry Kalogirou; +Cc: Linux-8086

Hi Harry.

> After syncing with the CVS tree, I can't run the system.

Can I quote part of the diff between the current CVS tree and that of
'May 5 13:00:00 BST 2002' for you, as I refer to this section in my
comments below...

 Q> Index: arch/i86/drivers/block/doshd.c
 Q> ===================================================================
 Q> RCS file: /cvsroot/elks/elks/arch/i86/drivers/block/doshd.c,v
 Q> retrieving revision 1.16
 Q> retrieving revision 1.18
 Q> diff -u -5 -r1.16 -r1.18
 Q> --- arch/i86/drivers/block/doshd.c	26 Apr 2002 19:45:14 -0000	1.16
 Q> +++ arch/i86/drivers/block/doshd.c	14 May 2002 23:15:31 -0000	1.18
 Q> @@ -412,11 +414,11 @@
 Q>  #ifdef CONFIG_BLK_DEV_BFD
 Q>  
 Q>  	int count;
 Q>  	int i;
 Q>  
 Q> -	printk("hd: probing disc in /dev/fd%d\n", target % 2);
 Q> +	printk("fd: probing disc in /dev/fd%d\n", target % 2);
 Q>  
 Q>  /* The area between 32-64K is a 'scratch' area - we need a semaphore for it
 Q>   */
 Q>  
 Q>  	while (!dma_avail)
 Q> @@ -480,34 +482,48 @@
 Q>  /* I moved this out of for loop to prevent trashing the screen
 Q>   * with seducing (repeating) probe messages about disk types
 Q>   */
 Q>  
 Q>  	if (drivep->cylinders == 0 || drivep->sectors == 0)
 Q> -	    printk("hd: Floppy drive autoprobe failed!\n");
 Q> +	    printk("fd: Floppy drive autoprobe failed!\n");
 Q>  	else
 Q> -	    printk("hd: /dev/fd%d probably has %d sectors and %d cylinders\n",
 Q> +	    printk("fd: /dev/fd%d probably has %d sectors and %d cylinders\n",
 Q>  		   target % 2, drivep->sectors, drivep->cylinders);
 Q>  

I've extracted those two hunks out from the listing - there were several
others. However, you may wish to note the changes therein...

> It fails this way :
>
> ELKS version 0.1.0
> hd: probing disc in /dev/fd0
> hd: /dev/fd0 probably has 18 sectors and 80 cylinders

Those last two lines don't match the current CVS so something's wrong
here already. Look at the hunks quoted above to see why.

Can you check that you have indeed fully synchronised to the CVS tree,
as this makes me suspect a build problem somewhere rather than a code
problem.

> VFS: Mounted root (minix filesystem).
> Loading init
> init panic
> hd: bad partition start=57196 sect=1 nr_sects=0.
> BIOSHD:I/O error
> dev 380, sector 122732
> hd: bad partition start=57196 sect=1 nr_sects=0.
> BIOSHD:I/O error
> dev 380, sector 122732
> hd: bad partition start=57196 sect=1 nr_sects=0.
> BIOSHD:I/O error
> dev 380, sector 122732
>
> In the changelog you specificaly state that you checked that it runs
> on your laptop.

I did indeed.

> Is there any chance you missed something?

Always possible, so I'm double-checking the current CVS tree on my
laptop as I speak...and I can confirm the problems you report as well.

> My changes on the tree was complitly irrelevant so I presume it is
> some of your changes.

I can confirm that your changes were completely irrelevant to my test as
they only tweaked code that is #ifdef'd out by the config I use here
anyway, so it's not your fault. I'm doing a full diff between the CVS
tree as dated above and the current CVS tree, and wll be analysing it
to see what looks suspicious...

> If you find something inform me as soon as posible, cause I'm stuck.

I'm just back from Photography evening class at the local college, and
I'm due in to the Dental Sedation Clinic tomorrow afternoon for some
surgery, so I'm not likely to be able to do anything tomorrow. However,
I'll check everything out thoroughly tonight and report what I find.

Best wishes from Riley.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: ELKS not runnable.... (once again)
  2002-05-15 17:31 ELKS not runnable.... (once again) Harry Kalogirou
  2002-05-15 18:46 ` pauln
  2002-05-15 21:25 ` ELKS not runnable.... (once again) Riley Williams
@ 2002-05-15 23:11 ` Riley Williams
  2002-05-16  9:40   ` Riley Williams
  2002-05-16  9:52   ` Harry Kalogirou
  2 siblings, 2 replies; 15+ messages in thread
From: Riley Williams @ 2002-05-15 23:11 UTC (permalink / raw)
  To: Harry Kalogirou; +Cc: Linux-8086

Hi Harry.

> After syncing with the CVS tree, I can't run the system.

I've just checked, and I now get this problem by dropping the 0.1.0
release kernel on the current floppy image, so this isn't a recent
problem. I have to suspect that it's to do with other than the kernel
itself, so who's been patching the elkscmd package recently? I haven't.

Best wishes from Riley.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: ELKS not runnable.... (once again)
  2002-05-15 23:11 ` Riley Williams
@ 2002-05-16  9:40   ` Riley Williams
  2002-05-16 21:53     ` Harry Kalogirou
  2002-05-16  9:52   ` Harry Kalogirou
  1 sibling, 1 reply; 15+ messages in thread
From: Riley Williams @ 2002-05-16  9:40 UTC (permalink / raw)
  To: Harry Kalogirou; +Cc: Linux-8086

Hi Harry.

>> After syncing with the CVS tree, I can't run the system.

> I've just checked, and I now get this problem by dropping the 0.1.0
> release kernel on the current floppy image, so this isn't a recent
> problem. I have to suspect that it's to do with other than the
> kernel itself, so who's been patching the elkscmd package recently?
> I haven't.

I've just double-checked the above by doing...

	mkdir X
	cd X
	cvs get -r elks-0_1_0 elks
	cd elks
	make defconfig
	make dep
	make Image

...and then copying the resulting kernel image to a fresh copy of the
floppy image you released with the 0.1.0 kernel. When I boot from the
resulting floppy, I get exactly the same problem as you reported, so
whatever the problem is predates the 0.1.0 release !!!

I've also downloaded the images-0.1.0.zip file after following the
download link on the ELKS website, and dropped the full3 image on a
floppy, and I can confirm the following:

 1. The kernel image included on the floppy boots fine.

 2. Replacing it with the 0.1.0 kernel image compiled using the
    above sequence results in a disk that fails to boot.

Basically, I have to conclude that the kernel on the 0.1.0 images is
NOT the 0.1.0 kernel as labelled in the source tree, and that has me
VERY worried. Can somebody please advise what is going on here?

As I stated previously, I'm in for Dental Sedation Surgery at lunchtime
today, so I'm not likely to be in any condition to investigate this
after that. Can somebody please look into this problem and see what they
can come up with as this definitely needs sorting out.

Best wishes from Riley.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: ELKS not runnable.... (once again)
  2002-05-15 23:11 ` Riley Williams
  2002-05-16  9:40   ` Riley Williams
@ 2002-05-16  9:52   ` Harry Kalogirou
  1 sibling, 0 replies; 15+ messages in thread
From: Harry Kalogirou @ 2002-05-16  9:52 UTC (permalink / raw)
  To: Riley Williams; +Cc: Linux-8086

Την Πεμ, 16-05-2002 στις 02:11, ο/η Riley Williams έγραψε:
> Hi Harry.
> 
> > After syncing with the CVS tree, I can't run the system.
> 
> I've just checked, and I now get this problem by dropping the 0.1.0
> release kernel on the current floppy image, so this isn't a recent
> problem. I have to suspect that it's to do with other than the kernel
> itself, so who's been patching the elkscmd package recently? I haven't.
> 
> Best wishes from Riley.
> 

No, this _is_ a kernel problem. You can't cause a problem like that from
userspace. It is a long time since I had my root disk updated, and only
the latest kernel cause the problem. If I use some older kernels I have
precompiled it works fine.

Try reverting your changes one by one to find which one causes the
problem.

Harry


-
To unsubscribe from this list: send the line "unsubscribe linux-8086" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: ELKS not runnable.... (once again)
  2002-05-16  9:40   ` Riley Williams
@ 2002-05-16 21:53     ` Harry Kalogirou
  2002-05-16 22:42       ` Riley Williams
  0 siblings, 1 reply; 15+ messages in thread
From: Harry Kalogirou @ 2002-05-16 21:53 UTC (permalink / raw)
  To: Riley Williams; +Cc: Linux-8086

Την Πεμ, 16-05-2002 στις 12:40, ο/η Riley Williams έγραψε:
> Hi Harry.
> 
> >> After syncing with the CVS tree, I can't run the system.
> 
> > I've just checked, and I now get this problem by dropping the 0.1.0
> > release kernel on the current floppy image, so this isn't a recent
> > problem. I have to suspect that it's to do with other than the
> > kernel itself, so who's been patching the elkscmd package recently?
> > I haven't.
> 
> I've just double-checked the above by doing...
> 
> 	mkdir X
> 	cd X
> 	cvs get -r elks-0_1_0 elks
> 	cd elks
> 	make defconfig
> 	make dep
> 	make Image
> 
> ...and then copying the resulting kernel image to a fresh copy of the
> floppy image you released with the 0.1.0 kernel. When I boot from the
> resulting floppy, I get exactly the same problem as you reported, so
> whatever the problem is predates the 0.1.0 release !!!
> 
> I've also downloaded the images-0.1.0.zip file after following the
> download link on the ELKS website, and dropped the full3 image on a
> floppy, and I can confirm the following:
> 
>  1. The kernel image included on the floppy boots fine.
> 
>  2. Replacing it with the 0.1.0 kernel image compiled using the
>     above sequence results in a disk that fails to boot.
> 
> Basically, I have to conclude that the kernel on the 0.1.0 images is
> NOT the 0.1.0 kernel as labelled in the source tree, and that has me
> VERY worried. Can somebody please advise what is going on here?
> 
> As I stated previously, I'm in for Dental Sedation Surgery at lunchtime
> today, so I'm not likely to be in any condition to investigate this
> after that. Can somebody please look into this problem and see what they
> can come up with as this definitely needs sorting out.
> 
> Best wishes from Riley.
> 

I don't see how the things you describe can happen. On my side I just
downloaded the 0.1.0 version and reverted all the changes you did to the
minixfs. The thing booted fine. I thing it is the changes you made to
some datatypes.

Harry


-
To unsubscribe from this list: send the line "unsubscribe linux-8086" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: ELKS not runnable.... (once again)
  2002-05-16 21:53     ` Harry Kalogirou
@ 2002-05-16 22:42       ` Riley Williams
  2002-05-16 22:47         ` Dan Olson
  2002-05-17 14:10         ` Harry Kalogirou
  0 siblings, 2 replies; 15+ messages in thread
From: Riley Williams @ 2002-05-16 22:42 UTC (permalink / raw)
  To: Harry Kalogirou; +Cc: Linux-8086

Hi Harry.

>>>> After syncing with the CVS tree, I can't run the system.

>>> I've just checked, and I now get this problem by dropping the 0.1.0
>>> release kernel on the current floppy image, so this isn't a recent
>>> problem. I have to suspect that it's to do with other than the
>>> kernel itself, so who's been patching the elkscmd package recently?
>>> I haven't.

>> I've just double-checked the above by doing...
>> 
>> 	mkdir X
>> 	cd X
>> 	cvs get -r elks-0_1_0 elks
>> 	cd elks
>> 	make defconfig
>> 	make dep
>> 	make Image
>> 
>> ...and then copying the resulting kernel image to a fresh copy of the
>> floppy image you released with the 0.1.0 kernel. When I boot from the
>> resulting floppy, I get exactly the same problem as you reported, so
>> whatever the problem is predates the 0.1.0 release !!!

> I don't see how the things you describe can happen. On my side I
> just downloaded the 0.1.0 version and reverted all the changes you
> did to the minixfs. The thing booted fine. I thing it is the changes
> you made to some datatypes.

I don't understand it either. All I can be sure of is that th version
produced by `cvs get -r elks-0_1_0 elks` has exactly the same problem,
but the one produced by `cvs get -D 'Apr 30 12:00:00 2002' elks` does
not, so the problem lies somewhere between those two versions.

At the moment, I'm still drowsy from the sedation earlier today, so I'm
not even attempting to sort this out until after that wears off. I'll
have a thorough look into this tomorrow though, and deal with whatever I
find to get it fixed.

Best wishes from Riley.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: ELKS not runnable.... (once again)
  2002-05-16 22:42       ` Riley Williams
@ 2002-05-16 22:47         ` Dan Olson
  2002-05-17 14:10         ` Harry Kalogirou
  1 sibling, 0 replies; 15+ messages in thread
From: Dan Olson @ 2002-05-16 22:47 UTC (permalink / raw)
  To: Riley Williams; +Cc: Harry Kalogirou, Linux-8086

> At the moment, I'm still drowsy from the sedation earlier today, so I'm
> not even attempting to sort this out until after that wears off. I'll
> have a thorough look into this tomorrow though, and deal with whatever I
> find to get it fixed.

I hope everything went well, with all the problems that have been popping
up recently, you better enjoy the sedation while it lasts!

	Dan


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: ELKS not runnable.... (once again)
  2002-05-16 22:42       ` Riley Williams
  2002-05-16 22:47         ` Dan Olson
@ 2002-05-17 14:10         ` Harry Kalogirou
  2002-05-17 17:59           ` Riley Williams
  1 sibling, 1 reply; 15+ messages in thread
From: Harry Kalogirou @ 2002-05-17 14:10 UTC (permalink / raw)
  To: Riley Williams; +Cc: Linux-8086

Την Παρ, 17-05-2002 στις 01:42, ο/η Riley Williams έγραψε: 
s.
> 
> I don't understand it either. All I can be sure of is that th version
> produced by `cvs get -r elks-0_1_0 elks` has exactly the same problem,
> but the one produced by `cvs get -D 'Apr 30 12:00:00 2002' elks` does
> not, so the problem lies somewhere between those two versions.
> 
Why should we compare 0.1.0 with an older one? Concentrate on this facts

1) The bioshd block device fails because the FS tells it to read some
_wild_ sector. 
2) Replacing the minix FS sources in the current source code with the
ones from the 0.1.0, fixes the problem. 
3) The changes in the minix FS are very dangerous and require care. 

Harry 



-
To unsubscribe from this list: send the line "unsubscribe linux-8086" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: ELKS not runnable.... (once again)
  2002-05-17 14:10         ` Harry Kalogirou
@ 2002-05-17 17:59           ` Riley Williams
  2002-05-17 19:28             ` Harry Kalogirou
  0 siblings, 1 reply; 15+ messages in thread
From: Riley Williams @ 2002-05-17 17:59 UTC (permalink / raw)
  To: Harry Kalogirou; +Cc: Linux-8086

Hi Harry.

>> I don't understand it either. All I can be sure of is that the
>> version produced by `cvs get -r elks-0_1_0 elks` has exactly the
>> same problem, but the one produced by `cvs get -D 'Apr 30 12:00:00
>> 2002' elks` does not, so the problem lies somewhere between those
>> two versions.

> Why should we compare 0.1.0 with an older one?

We're not - we're comparing the official 0.1.0 release (which is the
version timestamped as above) with the tagged 0.1.0 release (which is
the one tagged elks-0_1_0 in the CVS tree) and finding they differ.

My comment above is pointing out that the version tagged as elks-0_1_0
in the CVS tree is NOT the version that was released as 0.1.0 but a
later version with some extra tweaks applied.

> Concentrate on this facts
>
> 1) The bioshd block device fails because the FS tells it to read some
>    _wild_ sector.

Agreed.

> 2) Replacing the minix FS sources in the current source code with the
>    ones from the 0.1.0 release fixes the problem.

Which 0.1.0 release? As stated above, there are TWO DIFFERENT releases
labelled as 0.1.0 depending on where one looks.

> 3) The changes in the minix FS are very dangerous and require care. 

Agreed. That's why I'm carefully reverting them.

Best wishes from Riley.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: ELKS not runnable.... (once again)
  2002-05-17 17:59           ` Riley Williams
@ 2002-05-17 19:28             ` Harry Kalogirou
  0 siblings, 0 replies; 15+ messages in thread
From: Harry Kalogirou @ 2002-05-17 19:28 UTC (permalink / raw)
  To: Riley Williams; +Cc: Linux-8086

Την Παρ, 17-05-2002 στις 20:59, ο/η Riley Williams έγραψε:
> Hi Harry.
> 
> >> I don't understand it either. All I can be sure of is that the
> >> version produced by `cvs get -r elks-0_1_0 elks` has exactly the
> >> same problem, but the one produced by `cvs get -D 'Apr 30 12:00:00
> >> 2002' elks` does not, so the problem lies somewhere between those
> >> two versions.
> 
> > Why should we compare 0.1.0 with an older one?
> 
> We're not - we're comparing the official 0.1.0 release (which is the
> version timestamped as above) with the tagged 0.1.0 release (which is
> the one tagged elks-0_1_0 in the CVS tree) and finding they differ.
> 
> My comment above is pointing out that the version tagged as elks-0_1_0
> in the CVS tree is NOT the version that was released as 0.1.0 but a
> later version with some extra tweaks applied.

If the tag elks-0_1_0 has the timestamp you say and you checkout that
timestamp and there are differences then CVS has some BUG, which I don't
think so.

> 
> Which 0.1.0 release? As stated above, there are TWO DIFFERENT releases
> labelled as 0.1.0 depending on where one looks.
>

I checked it out with the tag elks-0_1_0. 
 
> > 3) The changes in the minix FS are very dangerous and require care. 
> 
> Agreed. That's why I'm carefully reverting them.
> 

That is good to hear...

Harry



-
To unsubscribe from this list: send the line "unsubscribe linux-8086" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: ELKS not runnable.... (other thing)
  2002-05-17 20:15     ` ELKS not runnable.... (other thing) Stefan de Konink
@ 2002-05-17 19:40       ` Harry Kalogirou
  0 siblings, 0 replies; 15+ messages in thread
From: Harry Kalogirou @ 2002-05-17 19:40 UTC (permalink / raw)
  To: Stefan de Konink; +Cc: Linux-8086

[-- Attachment #1: Type: text/plain, Size: 827 bytes --]

Την Παρ, 17-05-2002 στις 23:15, ο/η Stefan de Konink έγραψε:
> When after loading the init and setting op the httpd deamon with the
> comb_net (0.1.0) image. I get a login prompt. When i type root followed
> with enter, the system loads, but doesn't show a prompt.
> 
> What can I do about this? (or is this the same bug as everybody is bugging
> about)
> 

No, this is a bug I found a couple of days ago. The fix is included in
the latest kernel in the CVS(but that has other problems now :( ). If
you apply the attached patch to the 0.1.0 source you will be ok. 

This bug affects "ash", so with an unpatched kernel you have to use
"sash" by editing the /etc/passwd file.

I was going to release some new precompiled kernels with the
patch(0.1.1) but this _unrunnability_ mess came up ... :(

Harry




[-- Attachment #2: exec.patch --]
[-- Type: text/plain, Size: 464 bytes --]

--- /tmp/elks/fs/exec.c	Mon Apr 29 03:02:28 2002
+++ fs/exec.c	Fri May 17 15:14:34 2002
@@ -266,16 +266,8 @@
      */
 
     ptr = ((char *) mh.dseg) + stack_top;
-    count = mh.bseg;
-    while (count) {
-	pokeb(dseg, ptr++, 0);
-	count--;
-    }
-    /* fmemset should work, but doesn't */
 
-#if 0
-    fmemset(ptr, dseg, 0, count);
-#endif
+    fmemset((char *)mh.dseg + stack_top, dseg, 0, mh.bseg);
 
     /*
      *      Copy the stack

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: ELKS not runnable.... (other thing)
  2002-05-15 19:30   ` Harry Kalogirou
@ 2002-05-17 20:15     ` Stefan de Konink
  2002-05-17 19:40       ` Harry Kalogirou
  0 siblings, 1 reply; 15+ messages in thread
From: Stefan de Konink @ 2002-05-17 20:15 UTC (permalink / raw)
  To: Linux-8086

When after loading the init and setting op the httpd deamon with the
comb_net (0.1.0) image. I get a login prompt. When i type root followed
with enter, the system loads, but doesn't show a prompt.

What can I do about this? (or is this the same bug as everybody is bugging
about)

Greetings,
Stefan de Konink


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2002-05-17 20:15 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-15 17:31 ELKS not runnable.... (once again) Harry Kalogirou
2002-05-15 18:46 ` pauln
2002-05-15 19:30   ` Harry Kalogirou
2002-05-17 20:15     ` ELKS not runnable.... (other thing) Stefan de Konink
2002-05-17 19:40       ` Harry Kalogirou
2002-05-15 21:25 ` ELKS not runnable.... (once again) Riley Williams
2002-05-15 23:11 ` Riley Williams
2002-05-16  9:40   ` Riley Williams
2002-05-16 21:53     ` Harry Kalogirou
2002-05-16 22:42       ` Riley Williams
2002-05-16 22:47         ` Dan Olson
2002-05-17 14:10         ` Harry Kalogirou
2002-05-17 17:59           ` Riley Williams
2002-05-17 19:28             ` Harry Kalogirou
2002-05-16  9:52   ` Harry Kalogirou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox