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

Re: Installing with 2.4.0-test8 and devfs, problem with floppy

Goswin Brederlow wrote:
> Over the last two weeks I made extensive changes to the boot-floppies
> to get it to work with a 2.4.0-test kernel and devfs mounted at boot
> time.
> I now have a 37K diff with a lot of changes and can install from a
> mounted medium but not from floppy.
> When I want to install from floppy and select /dev/fd0 as medium I get
> two "Bad file descriptor" errors displayed and then a dialogbox
> telling me that the extraction failed.
> I did add code to test for /dev/fd0 and /dev/floppy/0 and use the
> right one, so the device and mounting should be fine. Also I can mount
> the disk by hand, so floppy works and the filesystem is right.
> Can anyone give me a clue as to what causes the two "Bad file
> descriptor" errors and whats likely to fail?
> Anyone willing to test can get my diff from:
> ftp://rut.informatik.uni-tuebingen.de/boot-floppies-mrvn.diff.bz2
> But beware, its work in progress.
> May the Source be with you.
>                         Goswin

Hi, i checked out your diff, i havent gotten very far into it yet, but
see youve done some customisations to get init working with devfs.

There is a simpler solution, change the following lines from

>From this

# Start an "askfirst" shell on the console (whatever that may be).
# Start an "askfirst" shell on /dev/tty2-4

to this

# Start an "askfirst" shell on the console (whatever that may be).
# Start an "askfirst" shell on /dev/tty2-4

Then devfs will work with the defualt busybox init, i think this is a
bit simpler than what youve done, ill dig a bitdeeper see what else i
can find


Reply to: