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

Re: "unable to open initial console" overcame



On Mon, Aug 09, 2004 at 06:45:00PM -0500, Stephen R Marenka wrote:
> On Mon, Aug 09, 2004 at 11:38:10PM +0200, Wouter Verhelst wrote:
> 
> > wouter@rock:~/debian/debian-installer$ svn diff -r18429:18430
> > Index: installer/build/userdevfs-dev.txt
> > ===================================================================
> > --- installer/build/userdevfs-dev.txt   (revision 18429)
> > +++ installer/build/userdevfs-dev.txt   (revision 18430)
> > @@ -1,5 +1,5 @@
> >  drwx           /dev
> > -crw-   4,0     /dev/console
> > +crw-   5,1     /dev/console
> >  crw-   5,0     /dev/tty
> >  crw-   4,64    /dev/ttyS0
> >  crw-   4,65    /dev/ttyS1
> > 
> > I stumbled upon this when trying to get d-i to work on my VME box. It
> > didn't occur on other architectures, since those that do support a 2.4
> > kernel use DevFS anyway; m68k is a corner case in that it doesn't have a
> > working 2.4 for some of its subarchitectures.
> 
> /dev/console is 5,1 per kernel/Documentation/devices.txt. 

Yes. However, at first you were mistaken, and had made /dev/console 4,0.
When I tried to run d-i on my VME box, I received the same error
message. As I said, I didn't think it was related, because the symptoms
were different.

> Furthermore, all the other archs also define /dev/console as 5,1 (see
> installer/build/Makefile).
> 
> /dev/vc/0 is 4,0 (as we mimic devfs). 
> 
> Are you saying we need something different than everyone else?

No. I'm saying you (or whoever wrote userdevfs-dev.txt) was in error,
and made /dev/console to be 4,0 instead of 5,1.

> > Also, if you try to use d-i on a 2.2 serial console, you may need the
> > (not yet released) rootskel 0.89, which can be retrieved from svn.
> > Without that, you'll get quite a few messages which you probably don't
> > want to have...
> 
> Cool, sounds like vme is making some progress.

yup :-)

Haven't really started on vmelilo-installer yet; it's summer over here,
we've had ~30°C the last few days...

-- 
         EARTH
     smog  |   bricks
 AIR  --  mud  -- FIRE
soda water |   tequila
         WATER
 -- with thanks to fortune



Reply to: