Hi, This didn't solve the problem either. While booting the new kernel, I get errors from aic7xxx.o module saying it cannot memory map some device. I have a SCSI hard drive, what are the modules that I need to compile into the kernel ? BTW, is there a way to capture kernel boot logs, when kernel panics, so that I can cut and paste them ? Thanks, Sarat On 13 Jan 2005 08:48:26 -0000, sounak chakraborty <sounakr@xxxxxxxxxxxxxx> wrote: > > > > > > On Thu, 13 Jan 2005 Sarath Kamisetty wrote : > >Hi, > > > >After installing 0.9.13 version of module-init-tools and recompiling > >whole thing make modules_install did succeed with no errors. I did > >make install and it copied the compiled image, System.map file to > >/boot/ partition and also updated the grub.conf file (new initrd.img > >is created too) . So far so good. Some of the docs are suggesting that > >I create /sys and edit /etc/rc.sysinit file to mount /sys. Is it > >really needed ? Will it create any problem if I want to boot my old > >kernel (2.4.x-y). If there is a problem in booting to my newly > >compiled 2.6 kernel I want to be able to go back to 2.4.x-y without > >any problems.] > regarding the problem of booting up you can easily boot into the old and the > new kernel as you wish as you have changed the paths in the grub.conf > do one thing while giving the option root= in grub.conf check the partition > with rdev command and put the root partion name in the root= option > after booting you may face some problem with X but you can move in command > mode it can be solved by typin X -configure > hope this will help > > > > > >Thanks, > >Sarath > > > > > >On Wed, 12 Jan 2005 15:47:21 +0530, ashwin.shirvanthe@xxxxxxxxx > ><ashwin.shirvanthe@xxxxxxxxx> wrote: > > > Sarath Kamisetty wrote: > > > > > > >Hi, > > > > > > > > > > > >This is exactly what I am doing. I messed up the sequence in e-mail :( > > > >make modules_install is dumping lot of depmod errors. > > > > > > > > > > > >This step is failing - I get the error message saying "No module > > > >aic7xxx found for kernel 2.6.10-saratk" (saratk is my EXTRAVERSION in > > > >Makefile) > > > > > > > You have 2 problems. > > > 1. compiling the modules > > > 2. compiling the kernel > > > > > > Regarding the modules. > > > This is the root of the problem for not having a successfull > > > make modules_install > > > Do you have the module-init-tools to compile the modules. > > > The modules are treated in a different manner in 2.6 series > > > Get module-init-tools for the 2.6 kernel and install > > > them. > > > The insmod depmod modrobe + .... of 2.4 series donot work > > > in 2.6 series. > > > _Read_ README before that. > > > > > > >My /etc/fstab looks like this: > > > > > > > >LABEL=/ / ext3 defaults 1 > 1 > > > >LABEL=/boot /boot ext3 defaults 1 > 2 > > > >none /dev/pts devpts gid=5,mode=620 > 0 0 > > > >none /proc proc defaults > 0 0 > > > >none /dev/shm tmpfs defaults > 0 0 > > > >/dev/sda3 swap swap defaults > 0 0 > > > >/dev/cdrom /mnt/cdrom udf,iso9660 > > > >noauto,owner,kudzu,ro 0 0 > > > > > > > > > > > >and my grub.conf is like this: > > > > > > > >default=0 > > > >timeout=10 > > > >splashimage=(hd0,0)/grub/splash.xpm.gz > > > >title Red Hat Linux (2.4.20-8) > > > > root (hd0,0) > > > > kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ > > > > initrd /initrd-2.4.20-8.img > > > >title Red Hat Linux (2.6.10-saratk) > > > > root (hd0,0) > > > > kernel /vmlinuz-2.6.10-saratk ro root=LABEL=/ > > > > initrd /initrd-2.4.20-8.img > > > > > > > > > > > > > > > Regarding the kernel : > > > * Have you taken ext3 support in the kernel. > > > By default it is taken as a module. > > > * Compile the kernel and copy the bzImage to desired location > > > Have the following in the grub.conf file > > > > > > title Red Hat Linux (2.6.10-saratk) > > > root (hd0,0) > > > kernel /boot/vmlinuz-2.6.10-saratk ro root=/LABEL=/ > > > > > > I presume you are copying the bzImage to /boot partition (as mentioned > in > > > the previous mail) and not the / partition > > > kernel /XXXXXXXXXXXX > > > where XXXXXXXXXXXX is the path + file name of the zipped kernel binary > > > if you are copying bzImage in / please put /vmlinuz-.... > > > Leave the initrd for the time being , > > > once the modules are compiled you can create it. > > > > > > * If this doesnt help > > > Run the mount command to find out which parition the LABEL / corresponds > to > > > you should get the output as > > > > > > ......... > > > /dev/XXX on / type ext3 (rw) [/] > > > ....... > > > ....... > > > > > > My intension is to find out on which device is / located. > > > once you know the device /dev/XXX > > > > > > title Red Hat Linux (2.6.10-saratk) > > > root (hd0,0) > > > kernel /boot/vmlinuz-2.6.10-saratk ro root=/dev/XXX > > > > > > Regards, > > > Ashwin > > > > > > >-- > >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/