Re: Trying to build 2.5.46 (now 47)

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

 



Thanks for the suggestion, but I think I've that particular dilemma solved.
I started over today with 2.5.47.  I ran into many of the same issues I had
before, but I got it compiling and loading -- and then I ran into the same
problem as before.  By pure luck, I noticed some messages that were produced
by my good configuration that led me to turn on the PROMISE PDC... drivers,
which eliminated this problem.

Pure luck.  Isn't there a better way?  I for one would rather not rely on
pure luck.  Does anyone know how to get a listing of drivers that are in
use?  I know you can use lsmod to get a list of modules, but I can't find
anything to list drivers compiled into the kernel.

Anyway, my next problem was that I had no keyboard control, but I got
through that following instructions from the kernel.org mailing list.

My problem now (I'm almost there...) is that when I try to boot into
X-Windows, I get a black screen, so I think I don't have the right setup for
my video controller.  I plan on poking around some more tomorrow, but can
anyone give me some idea of how I might find out what specific drivers are
necessary under my old (working) configuration so I can just turn those
drivers on in the new one?

Thanks for any/all suggestions.
Mark


----- Original Message -----
From: "Jeffrey Lim" <jfsworld@fastmail.fm>
To: "Mark Hamblin" <MarkHamblin@cox.net>
Cc: "David Hawkins" <dwh@ovro.caltech.edu>; "Bernd Petrovitsch"
<bernd@gams.at>; <kernelnewbies@nl.linux.org>
Sent: Thursday, November 14, 2002 7:38 PM
Subject: Re: Trying to build 2.5.46



Could you try building ext3 into the kernel instead of as a module?
the thing is, the kernel is not loading the partition somehow.
(previously mentioned by Dave too)

-jf



On Wed, 13 Nov 2002 14:17:55 -0700, "Mark Hamblin" <MarkHamblin@cox.net>
said:
> I can't find any of this in any log file, so I typed the last few lines
> in
> manually.  The first error I see is when mount returns error 6.  From
> these
> errors, it looks like it has trouble mounting root with ext3.  Ext3 is in
> the config as a module (I attached .config).  Ext2 is in the config as
> part
> of the kernel.
>
> ...
> Freeing initrd memory. 107k freed
> VFS: Mounted root (ext2 filesystem).
> Red Hat nash version 3.3.10 starting
> Loading ext3 module
> Mounting /proc filesystem
> Creating root device
> Mounting root filesystem
> mount: error 6 mounting ext3
> pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2
> Freeing unused kernel memory. 124k freed
> Kernel panic: No init found.  Try passing init= option to kernel.
>
>
>
> ----- Original Message -----
> From: "David Hawkins" <dwh@ovro.caltech.edu>
> To: "Mark Hamblin" <MarkHamblin@cox.net>; "Bernd Petrovitsch"
> <bernd@gams.at>; <kernelnewbies@nl.linux.org>
> Sent: Wednesday, November 13, 2002 12:44 PM
> Subject: RE: Trying to build 2.5.46
>
>
> >
> > The messages may have been logged in /var/log/messages.
> >
> > The normal kernel build process I use is something
> > like:
> >
> > cd /usr/src/linux-<version>
> >
> > make xconfig
> > edit Makefile to add new extension to kernel name
> > make clean
> > make dep
> > make bzImage
> > make modules
> >
> > cp arch/i386/boot/bzImage /boot/vmlinuz-<version>
> > cp System.map /boot/System.map-<version>
> >
> > make modules_install
> >
> > mkinitrd /boot/initrd-<version>.img <version>
> >
> > edit /boot/grub/grub.conf
> >
> > I'm not a kernel building guru myself, but maybe
> > the order here is required.
> >
> > Dave
> >
> >
> >
> > > -----Original Message-----
> > > From: Mark Hamblin [mailto:MarkHamblin@cox.net]
> > > Sent: Wednesday, November 13, 2002 11:12 AM
> > > To: David Hawkins; Bernd Petrovitsch; kernelnewbies@nl.linux.org
> > > Subject: Re: Trying to build 2.5.46
> > >
> > >
> > > I did the mkinitrd to create a new image (mkinitrd
> /boot/initrd-2.5.46.img
> > > 2.5.46).  I then edited the initrd accordingly in grub.conf.  As for
my
> > > setup, I know my primary controller is indeed a Promise SCSI/IDE
> > > controller.
> > > And lines 13-16 do represent my original working configuration.  When
I
> > > rebooted, I got the same error as before.  There is some
> > > information leading
> > > up to this that may also be useful.  Are these messages logged
> somewhere?
> > > If so, I can post that and that might help.  Also, I was playing
> > > with a lot
> > > of configuration options without really knowing what I was doing, so
is
> it
> > > possible I screwed up something there?
> > >
> > >
> > > ----- Original Message -----
> > > From: "Bernd Petrovitsch" <bernd@gams.at>
> > > To: <kernelnewbies@nl.linux.org>
> > > Sent: Wednesday, November 13, 2002 10:53 AM
> > > Subject: Re: Trying to build 2.5.46
> > >
> > >
> > > > [ fixed TOFU quoting ]
> > > >
> > > > "Usman S. Ansari" <uansari@yahoo.com> wrote:
> > > > >--- Bernd Petrovitsch <bernd@gams.at> wrote:
> > > > >> "Mark Hamblin" <MarkHamblin@cox.net> wrote:
> > > > >> >13    title Red Hat Linux (2.4.18-3)
> > > > >> >14     root (hd0,0)
> > > > >> >15     kernel /vmlinuz-2.4.18-3 ro root=/dev/hde2
> > > > >> >16     initrd /initrd-2.4.18-3.img
> > > > >> >17    title Red Hat Linux (2.5.46)
> > > > >> >18     root (hd0,0)
> > > > >> >19     kernel /bzImage-2.5.46 ro root=/dev/hde2
> > > > >> >20     initrd /initrd-2.4.18-3.img
> > > > >> >
> > > > >> >I added lines 17-20.  Note that I use bzImage instead of
> > > vmlinuz.  I'm
> > > not
> > > > >> >sure about that.  I also don't know if I should modify the
initrd
> > > line.
> > > > >>
> > > > >> Line 20 as of above is definitely wrong. Either you create an
> initrd
> > > > >> for your kernel version or (which is probably the simpler thing)
is
> > > > >> compile all drivers statically into kernel which are necessary to
> > > > >> mount / (the root filesystem), i.e. usually the IDE or SCSI
driver
> > > > >> and the filesystem driver (ext2, ext3, or whatever) and delete
line
> > > > >> 20 from above.
> > > >
> > > > >On line 15 and 19, are you sure it is /dev/hde, which means
> > > that (correct
> > > me i
> > > > >f wrong), your
> > > >
> > > > I assumed line 13-16 is the original working boot configuration.
> > > >
> > > > >harddisk is 5th ide device on your system. Usually
> > > motherboards only have
> > > supp
> > > > >ort for 4 ide device.
> > > >
> > > > Actually I have here a motherboard (Asus A7V) which a primary VIA
IDE
> > > > controller and a secondary/external/"SCSI" Promise IDE controller.
> > > > So yes, having hda-hdh is actually quite possible.
> > > >
> > > > Bernd
> > > >
> > > > --
> > > > Bernd Petrovitsch                              Email : bernd@gams.at
> > > > g.a.m.s gmbh                                  Fax : +43 1 205255-900
> > > > Prinz-Eugen-Straße 8                    A-1040 Vienna/Austria/Europe
> > > >                      LUGA : http://www.luga.at
> > > >
> > > >
> > > > --
> > > > Kernelnewbies: Help each other learn about the Linux kernel.
> > > > Archive:       http://mail.nl.linux.org/kernelnewbies/
> > > > FAQ:           http://kernelnewbies.org/faq/
> > > >
> >
> > --
> > Kernelnewbies: Help each other learn about the Linux kernel.
> > Archive:       http://mail.nl.linux.org/kernelnewbies/
> > FAQ:           http://kernelnewbies.org/faq/
> >


--
  "It's an extraordinary world!" - jfsworld <at> fastmail.fm



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux