Re: [newbie] Building/Compiling a new kernel.
On Sunday 22 February 2004 12:24 am, John Drouhard wrote: On Sat, 21 Feb 2004 22:43:11 -0500 Marc Resnick [EMAIL PROTECTED] wrote: On Saturday 21 February 2004 04:09 pm, Marc Resnick wrote: nd the size is 32000... Still can't boot the new kernel. I get a Kernel Panic Error, Try passing Init option to kernel. Anyone know what I should do? One last suggestion: I am attaching a .config that I know works. It is for the 2.6.1 kernel, but I'm sure it would still work ok. Save this attachment to a temporary directory, become root, copy it to your source directory, and do a make oldconfig. When that's done, you can do a make xconfig for the better interface. Change the processor type to suit your needs, and anything else that may be wrong. I think I enabled almost everything. Type 'make all' then 'make modules_install' then 'cp arch/i386/boot/bzImage /boot/bzImage-2.6.3-mm1' then 'mkinitrd /boot/initrd-2.6.3-mm1.img 2.6.3-mm1' make sure your lilo.conf file corresponds with these correct filenames run lilo reboot John Well John, I used your .config, recompile the whole kernel. Still I get a Kernel Panic error. I looked around more when I got the error. It says a lot about not being able to mount fs ext3. I also get some sort of pivotroot error. Does this ring any bells? --Marc Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Building/Compiling a new kernel.
On Sun, 22 Feb 2004 20:49:11 -0500 Marc Resnick [EMAIL PROTECTED] wrote: On Sunday 22 February 2004 12:24 am, John Drouhard wrote: Well John, I used your .config, recompile the whole kernel. Still I get a Kernel Panic error. I looked around more when I got the error. It says a lot about not being able to mount fs ext3. I also get some sort of pivotroot error. Does this ring any bells? I forgot about something. become root and install the package module-init-tools-0.9.11a-4mdk. I'm not sure what mirror this is on, so just try urpmi'ing it. When it's done installing, type: 'generate-modprobe.conf /etc/modprobe.conf' When it's done (it may have a few errors), try rebooting and see if that fixes it. If that didn't work, then read the man page on mkinitrd. 'man mkinitrd' has alot of good info on this problem. I suggest first trying a new initrd, but creating it as follows: 'mkinitrd --preload=ext3 /boot/initrd-2.6.3-mm1.img 2.6.3-mm1' You have to delete the old one first, or pass the -f option to the command. Re-run lilo and try once more. John -- Sun Feb 22 21:00:18 CST 2004 -- Registered Linux User # 315649 Registered Machine # 201001 An aphorism is never exactly true; it is either a half-truth or one-and-a-half truths. -- Karl Kraus Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Building/Compiling a new kernel.
On Fri, 20 Feb 2004 08:39:00 -0500 Marc Resnick [EMAIL PROTECTED] wrote: On Thursday 19 February 2004 12:06 am, John Drouhard wrote: On Wed, 18 Feb 2004 23:56:03 -0500 I tried building the 2.4.25 kernel, but I have one problem. I did make dep and make clean etc. separately because make all wasn't working. But, I can't find the bzImage. I did 'make bzImage' twice, but It's not there. Any idea where it might be? Marc I don't know why you are trying to build a 2.4 kernel, unless there is a specific reason for it, but you have to type: make dep clean make modules bzImage then as root: make modules_install I highly suggest you try the 2.6 kernel first. As for your black screen problem, change the line that says vga=788 to vga=normal. Here is my entry for my 2.6 kernel (with vga=normal): image=/boot/bzImage-2.6.1 label=linux2.6.1 root=/dev/hdc5 initrd=/boot/initrd-2.6.1.img append=devfs=nomount splash=silent noapic acpi=off hdb=ide-cdrom hdd=ide-cdrom read-only vga=normal If that still doesn't work, I guess you could try following my instructions from the beginning, skipping the parts about bootsplash. But try vga=normal with your 2.6 kernel first. John -- Sat Feb 21 11:31:17 CST 2004 -- Registered Linux User # 315649 Registered Machine # 201001 Cleanliness is next to impossible. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Building/Compiling a new kernel.
On Saturday 21 February 2004 12:35 pm, John Drouhard wrote: On Fri, 20 Feb 2004 08:39:00 -0500 Marc Resnick [EMAIL PROTECTED] wrote: On Thursday 19 February 2004 12:06 am, John Drouhard wrote: On Wed, 18 Feb 2004 23:56:03 -0500 I tried building the 2.4.25 kernel, but I have one problem. I did make dep and make clean etc. separately because make all wasn't working. But, I can't find the bzImage. I did 'make bzImage' twice, but It's not there. Any idea where it might be? Marc I don't know why you are trying to build a 2.4 kernel, unless there is a specific reason for it, but you have to type: make dep clean make modules bzImage then as root: make modules_install I highly suggest you try the 2.6 kernel first. As for your black screen problem, change the line that says vga=788 to vga=normal. Here is my entry for my 2.6 kernel (with vga=normal): image=/boot/bzImage-2.6.1 label=linux2.6.1 root=/dev/hdc5 initrd=/boot/initrd-2.6.1.img append=devfs=nomount splash=silent noapic acpi=off hdb=ide-cdrom hdd=ide-cdrom read-only vga=normal If that still doesn't work, I guess you could try following my instructions from the beginning, skipping the parts about bootsplash. But try vga=normal with your 2.6 kernel first. John Just wondering...What does the 'devfs=nomount' mean, because all of my other lilo entries say 'devfs=mount'. Also, I was just trying the 2.4 kernel to see if it might work. In other words, I was in a hotel room in Delaware and I was bored. =) --Marc Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Building/Compiling a new kernel.
On Saturday 21 February 2004 12:46 pm, Marc Resnick wrote: On Saturday 21 February 2004 12:35 pm, John Drouhard wrote: On Fri, 20 Feb 2004 08:39:00 -0500 Marc Resnick [EMAIL PROTECTED] wrote: On Thursday 19 February 2004 12:06 am, John Drouhard wrote: On Wed, 18 Feb 2004 23:56:03 -0500 I tried building the 2.4.25 kernel, but I have one problem. I did make dep and make clean etc. separately because make all wasn't working. But, I can't find the bzImage. I did 'make bzImage' twice, but It's not there. Any idea where it might be? Marc I don't know why you are trying to build a 2.4 kernel, unless there is a specific reason for it, but you have to type: make dep clean make modules bzImage then as root: make modules_install I highly suggest you try the 2.6 kernel first. As for your black screen problem, change the line that says vga=788 to vga=normal. Here is my entry for my 2.6 kernel (with vga=normal): image=/boot/bzImage-2.6.1 label=linux2.6.1 root=/dev/hdc5 initrd=/boot/initrd-2.6.1.img append=devfs=nomount splash=silent noapic acpi=off hdb=ide-cdrom hdd=ide-cdrom read-only vga=normal If that still doesn't work, I guess you could try following my instructions from the beginning, skipping the parts about bootsplash. But try vga=normal with your 2.6 kernel first. John Just wondering...What does the 'devfs=nomount' mean, because all of my other lilo entries say 'devfs=mount'. Also, I was just trying the 2.4 kernel to see if it might work. In other words, I was in a hotel room in Delaware and I was bored. =) --Marc Okay let's condense this into one thread now Here's my lilo.conf: boot=/dev/hda map=/boot/map vga=normal default=linux keytable=/boot/us.klt prompt nowarn timeout=100 message=/boot/message menu-scheme=wb:bw:wb:bw image=/boot/vmlinuz label=linux root=/dev/hda5 initrd=/boot/initrd.img append=devfs=mount splash=silent hdc=ide-scsi resume=/dev/hda6 splash=silent vga=788 read-only image=/boot/vmlinuz label=linux-nonfb root=/dev/hda5 initrd=/boot/initrd.img append=devfs=mount splash=silent hdc=ide-scsi resume=/dev/hda6 read-only other=/dev/hda1 label=windows table=/dev/hda image=/boot/vmlinuz-2.4.22-10mdk label=old_linux-nonfb root=/dev/hda5 initrd=/boot/initrd-2.4.22-10mdk.img append=devfs=mount hdc=ide-scsi resume=/dev/hda6 read-only image=/boot/vmlinuz label=failsafe root=/dev/hda5 initrd=/boot/initrd.img append=failsafe devfs=nomount splash=silent hdc=ide-scsi resume=/dev/hda6 read-only image=/boot/bzImage-2.6.3 label=Linux-2.6.3 root=/dev/hda5 initrd=/boot/initrd-2.6.3.img append=devfs=nomount hdb=ide-cdrom hdd=ide-cdrom vga=normal read-only And my fstab: /dev/hda5 / ext3 noatime 1 1 none /dev/pts devpts mode=0620 0 0 /dev/hda7 /home ext3 noatime 1 2 none /mnt/cdrom supermount dev=/dev/hdc,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0 /dev/hda1 /mnt/windows ntfs iocharset=iso8859-1,umask=0,ro 0 0 none /proc proc defaults 0 0 /dev/hda6 swap swap defaults 0 0 And I just noticed, something odd is happening with my cdrom drive. I just tried to install a package, with CD 2, and it didn't eject my cdrom drive like it usually does, then it didn't detect the cd. It also said insert the disk into /dev/hdc... But the device is /dev/scd0. This probably has something to do with the cdrom device config during boot that I mentioned in the other thread. --Marc Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Building/Compiling a new kernel.
On Sat, 21 Feb 2004 12:46:24 -0500 Marc Resnick [EMAIL PROTECTED] wrote: On Saturday 21 February 2004 12:35 pm, John Drouhard wrote: On Fri, 20 Feb 2004 08:39:00 -0500 Just wondering...What does the 'devfs=nomount' mean, because all of my other lilo entries say 'devfs=mount'. Also, I was just trying the 2.4 kernel to see if it might work. In other words, I was in a hotel room in Delaware and I was bored. =) --Marc It just tells the kernel not to use the device filesystem. If your other entries all have devfs=mount and everything worked properly before, you can change it to devfs=mount. FYI, however, the 2.6 kernel is beginning to phase out the device filesystem in favor for the sysfs. To get that working, just do this as root: 'mkdir /sys'. Then reboot into the 2.6 kernel. You can go ahead and change it to devfs=mount. Just don't forget to run lilo when your finished. John -- Sat Feb 21 12:02:25 CST 2004 -- Registered Linux User # 315649 Registered Machine # 201001 -- Neophyte's serendipity. -- Exclusive dedication to necessitious chores without interludes of hedonistic diversion renders John a hebetudinous fellow. -- A revolving concretion of earthy or mineral matter accumulates no congeries of small, green bryophytic plant. -- The person presenting the ultimate cachinnation possesses thereby the optimal cachinnation. -- Abstention from any aleatory undertaking precludes a potential escallation of a lucrative nature. -- Missiles of ligneous or osteal consistency have the potential of fracturing osseous structure, but appellations will eternally remain innocuous. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Building/Compiling a new kernel.
On Sat, 21 Feb 2004 13:00:35 -0500 Marc Resnick [EMAIL PROTECTED] wrote: On Saturday 21 February 2004 12:46 pm, Marc Resnick wrote: On Saturday 21 February 2004 12:35 pm, John Drouhard wrote: On Fri, 20 Feb 2004 08:39:00 -0500 Marc Resnick [EMAIL PROTECTED] wrote: On Thursday 19 February 2004 12:06 am, John Drouhard wrote: On Wed, 18 Feb 2004 23:56:03 -0500 I tried building the 2.4.25 kernel, but I have one problem. I did make dep and make clean etc. separately because make all wasn't working. But, I can't find the bzImage. I did 'make bzImage' twice, but It's not there. Any idea where it might be? Marc I don't know why you are trying to build a 2.4 kernel, unless there is a specific reason for it, but you have to type: make dep clean make modules bzImage then as root: make modules_install I highly suggest you try the 2.6 kernel first. As for your black screen problem, change the line that says vga=788 to vga=normal. Here is my entry for my 2.6 kernel (with vga=normal): image=/boot/bzImage-2.6.1 label=linux2.6.1 root=/dev/hdc5 initrd=/boot/initrd-2.6.1.img append=devfs=nomount splash=silent noapic acpi=off hdb=ide-cdrom hdd=ide-cdrom read-only vga=normal If that still doesn't work, I guess you could try following my instructions from the beginning, skipping the parts about bootsplash. But try vga=normal with your 2.6 kernel first. John Just wondering...What does the 'devfs=nomount' mean, because all of my other lilo entries say 'devfs=mount'. Also, I was just trying the 2.4 kernel to see if it might work. In other words, I was in a hotel room in Delaware and I was bored. =) --Marc Okay let's condense this into one thread now Here's my lilo.conf: boot=/dev/hda map=/boot/map vga=normal default=linux keytable=/boot/us.klt prompt nowarn timeout=100 message=/boot/message menu-scheme=wb:bw:wb:bw image=/boot/vmlinuz label=linux root=/dev/hda5 initrd=/boot/initrd.img append=devfs=mount splash=silent hdc=ide-scsi resume=/dev/hda6 splash=silent vga=788 read-only image=/boot/vmlinuz label=linux-nonfb root=/dev/hda5 initrd=/boot/initrd.img append=devfs=mount splash=silent hdc=ide-scsi resume=/dev/hda6 read-only other=/dev/hda1 label=windows table=/dev/hda image=/boot/vmlinuz-2.4.22-10mdk label=old_linux-nonfb root=/dev/hda5 initrd=/boot/initrd-2.4.22-10mdk.img append=devfs=mount hdc=ide-scsi resume=/dev/hda6 read-only image=/boot/vmlinuz label=failsafe root=/dev/hda5 initrd=/boot/initrd.img append=failsafe devfs=nomount splash=silent hdc=ide-scsi resume=/dev/hda6 read-only image=/boot/bzImage-2.6.3 label=Linux-2.6.3 root=/dev/hda5 initrd=/boot/initrd-2.6.3.img append=devfs=nomount hdb=ide-cdrom hdd=ide-cdrom vga=normal read-only And my fstab: /dev/hda5 / ext3 noatime 1 1 none /dev/pts devpts mode=0620 0 0 /dev/hda7 /home ext3 noatime 1 2 none /mnt/cdrom supermount dev=/dev/hdc,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0 /dev/hda1 /mnt/windows ntfs iocharset=iso8859-1,umask=0,ro 0 0 none /proc proc defaults 0 0 /dev/hda6 swap swap defaults 0 0 And I just noticed, something odd is happening with my cdrom drive. I just tried to install a package, with CD 2, and it didn't eject my cdrom drive like it usually does, then it didn't detect the cd. It also said insert the disk into /dev/hdc... But the device is /dev/scd0. This probably has something to do with the cdrom device config during boot that I mentioned in the other thread. --Marc What kernel are you running? If its the 2.6 kernel, then change the cdrom line in your fstab file to: /dev/hdc /mnt/cdrom auto defaults,ro,user,noexec,noauto 0 0 The only problem with this is that supermount no longer works. To get supermount to work, you'd have to patch the kernel with the supermount patch and then recompile. The above line will not mount your cdrom, and you have to do it manually with this command: 'mount /dev/hdc'. Did the vga=normal thing fix your boot problem? John -- Sat Feb 21 12:19:53 CST 2004 -- Registered Linux User # 315649 Registered Machine # 201001 To err is humor. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Building/Compiling a new kernel.
On Saturday 21 February 2004 01:04 pm, John Drouhard wrote: On Sat, 21 Feb 2004 12:46:24 -0500 Marc Resnick [EMAIL PROTECTED] wrote: On Saturday 21 February 2004 12:35 pm, John Drouhard wrote: On Fri, 20 Feb 2004 08:39:00 -0500 Just wondering...What does the 'devfs=nomount' mean, because all of my other lilo entries say 'devfs=mount'. Also, I was just trying the 2.4 kernel to see if it might work. In other words, I was in a hotel room in Delaware and I was bored. =) --Marc It just tells the kernel not to use the device filesystem. If your other entries all have devfs=mount and everything worked properly before, you can change it to devfs=mount. FYI, however, the 2.6 kernel is beginning to phase out the device filesystem in favor for the sysfs. To get that working, just do this as root: 'mkdir /sys'. Then reboot into the 2.6 kernel. You can go ahead and change it to devfs=mount. Just don't forget to run lilo when your finished. John Well the Kernel begins to boot fine. Then I get a Kernel Panic Error, telling me to pass the init= option to kernel. So I make a new initrd, just to see if it would work, and my new Initrd= line in lilo.conf is initrd=/boot/initrd-linux-2.6.3.img That didn't work. What should I do? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Building/Compiling a new kernel.
On Saturday 21 February 2004 01:25 pm, John Drouhard wrote: On Sat, 21 Feb 2004 13:00:35 -0500 Marc Resnick [EMAIL PROTECTED] wrote: On Saturday 21 February 2004 12:46 pm, Marc Resnick wrote: On Saturday 21 February 2004 12:35 pm, John Drouhard wrote: On Fri, 20 Feb 2004 08:39:00 -0500 Marc Resnick [EMAIL PROTECTED] wrote: On Thursday 19 February 2004 12:06 am, John Drouhard wrote: On Wed, 18 Feb 2004 23:56:03 -0500 I tried building the 2.4.25 kernel, but I have one problem. I did make dep and make clean etc. separately because make all wasn't working. But, I can't find the bzImage. I did 'make bzImage' twice, but It's not there. Any idea where it might be? Marc I don't know why you are trying to build a 2.4 kernel, unless there is a specific reason for it, but you have to type: make dep clean make modules bzImage then as root: make modules_install I highly suggest you try the 2.6 kernel first. As for your black screen problem, change the line that says vga=788 to vga=normal. Here is my entry for my 2.6 kernel (with vga=normal): image=/boot/bzImage-2.6.1 label=linux2.6.1 root=/dev/hdc5 initrd=/boot/initrd-2.6.1.img append=devfs=nomount splash=silent noapic acpi=off hdb=ide-cdrom hdd=ide-cdrom read-only vga=normal If that still doesn't work, I guess you could try following my instructions from the beginning, skipping the parts about bootsplash. But try vga=normal with your 2.6 kernel first. John Just wondering...What does the 'devfs=nomount' mean, because all of my other lilo entries say 'devfs=mount'. Also, I was just trying the 2.4 kernel to see if it might work. In other words, I was in a hotel room in Delaware and I was bored. =) --Marc Okay let's condense this into one thread now Here's my lilo.conf: boot=/dev/hda map=/boot/map vga=normal default=linux keytable=/boot/us.klt prompt nowarn timeout=100 message=/boot/message menu-scheme=wb:bw:wb:bw image=/boot/vmlinuz label=linux root=/dev/hda5 initrd=/boot/initrd.img append=devfs=mount splash=silent hdc=ide-scsi resume=/dev/hda6 splash=silent vga=788 read-only image=/boot/vmlinuz label=linux-nonfb root=/dev/hda5 initrd=/boot/initrd.img append=devfs=mount splash=silent hdc=ide-scsi resume=/dev/hda6 read-only other=/dev/hda1 label=windows table=/dev/hda image=/boot/vmlinuz-2.4.22-10mdk label=old_linux-nonfb root=/dev/hda5 initrd=/boot/initrd-2.4.22-10mdk.img append=devfs=mount hdc=ide-scsi resume=/dev/hda6 read-only image=/boot/vmlinuz label=failsafe root=/dev/hda5 initrd=/boot/initrd.img append=failsafe devfs=nomount splash=silent hdc=ide-scsi resume=/dev/hda6 read-only image=/boot/bzImage-2.6.3 label=Linux-2.6.3 root=/dev/hda5 initrd=/boot/initrd-2.6.3.img append=devfs=nomount hdb=ide-cdrom hdd=ide-cdrom vga=normal read-only And my fstab: /dev/hda5 / ext3 noatime 1 1 none /dev/pts devpts mode=0620 0 0 /dev/hda7 /home ext3 noatime 1 2 none /mnt/cdrom supermount dev=/dev/hdc,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0 /dev/hda1 /mnt/windows ntfs iocharset=iso8859-1,umask=0,ro 0 0 none /proc proc defaults 0 0 /dev/hda6 swap swap defaults 0 0 And I just noticed, something odd is happening with my cdrom drive. I just tried to install a package, with CD 2, and it didn't eject my cdrom drive like it usually does, then it didn't detect the cd. It also said insert the disk into /dev/hdc... But the device is /dev/scd0. This probably has something to do with the cdrom device config during boot that I mentioned in the other thread. --Marc What kernel are you running? If its the 2.6 kernel, then change the cdrom line in your fstab file to: /dev/hdc /mnt/cdrom auto defaults,ro,user,noexec,noauto 0 0 The only problem with this is that supermount no longer works. To get supermount to work, you'd have to patch the kernel with the supermount patch and then recompile. The above line will not mount your cdrom, and you have to do it manually with this command: 'mount /dev/hdc'. Did the vga=normal thing fix your boot problem? John If you mean what kernel am I trying to run, then yes it's 2.6. Would there be any way to have it mount automatically on boot? You know, make a script and have it execute when I start up. The vga=normal fixed the blank screen, but read my other reply to see the new problem. Also, any thoughts about what happened with my cdrom drive and device scd0? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Building/Compiling a new kernel.
Marc Resnick wrote: On Saturday 21 February 2004 01:04 pm, John Drouhard wrote: Well the Kernel begins to boot fine. Then I get a Kernel Panic Error, telling me to pass the init= option to kernel. So I make a new initrd, just to see if it would work, and my new Initrd= line in lilo.conf is initrd=/boot/initrd-linux-2.6.3.img That didn't work. What should I do? in a terminal as root: mkinitrd /boot/initrd-linux-2.6.3.img 2.6.3 then run lilo and reboot into a new kernel. You will have a few problems to work out when switching kernels, make sure the directory /sys exists, and then try it out. John Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Building/Compiling a new kernel.
On Saturday 21 February 2004 01:39 pm, John Drouhard wrote: Marc Resnick wrote: On Saturday 21 February 2004 01:04 pm, John Drouhard wrote: Well the Kernel begins to boot fine. Then I get a Kernel Panic Error, telling me to pass the init= option to kernel. So I make a new initrd, just to see if it would work, and my new Initrd= line in lilo.conf is initrd=/boot/initrd-linux-2.6.3.img That didn't work. What should I do? in a terminal as root: mkinitrd /boot/initrd-linux-2.6.3.img 2.6.3 then run lilo and reboot into a new kernel. You will have a few problems to work out when switching kernels, make sure the directory /sys exists, and then try it out. John That's exactly what I did, but I still got the error. I'm going to try rebooting again just for the hell of it. I might get lucky. --Marc Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Building/Compiling a new kernel.
Marc Resnick wrote: On Saturday 21 February 2004 01:25 pm, John Drouhard wrote: On Sat, 21 Feb 2004 13:00:35 -0500 Marc Resnick [EMAIL PROTECTED] wrote: On Saturday 21 February 2004 12:46 pm, Marc Resnick wrote: On Saturday 21 February 2004 12:35 pm, John Drouhard wrote: On Fri, 20 Feb 2004 08:39:00 -0500 Marc Resnick [EMAIL PROTECTED] wrote: On Thursday 19 February 2004 12:06 am, John Drouhard wrote: On Wed, 18 Feb 2004 23:56:03 -0500 I tried building the 2.4.25 kernel, but I have one problem. I did make dep and make clean etc. separately because make all wasn't working. But, I can't find the bzImage. I did 'make bzImage' twice, but It's not there. Any idea where it might be? Marc I don't know why you are trying to build a 2.4 kernel, unless there is a specific reason for it, but you have to type: make dep clean make modules bzImage then as root: make modules_install I highly suggest you try the 2.6 kernel first. As for your black screen problem, change the line that says vga=788 to vga=normal. Here is my entry for my 2.6 kernel (with vga=normal): image=/boot/bzImage-2.6.1 label=linux2.6.1 root=/dev/hdc5 initrd=/boot/initrd-2.6.1.img append=devfs=nomount splash=silent noapic acpi=off hdb=ide-cdrom hdd=ide-cdrom read-only vga=normal If that still doesn't work, I guess you could try following my instructions from the beginning, skipping the parts about bootsplash. But try vga=normal with your 2.6 kernel first. John Just wondering...What does the 'devfs=nomount' mean, because all of my other lilo entries say 'devfs=mount'. Also, I was just trying the 2.4 kernel to see if it might work. In other words, I was in a hotel room in Delaware and I was bored. =) --Marc Okay let's condense this into one thread now Here's my lilo.conf: boot=/dev/hda map=/boot/map vga=normal default=linux keytable=/boot/us.klt prompt nowarn timeout=100 message=/boot/message menu-scheme=wb:bw:wb:bw image=/boot/vmlinuz label=linux root=/dev/hda5 initrd=/boot/initrd.img append=devfs=mount splash=silent hdc=ide-scsi resume=/dev/hda6 splash=silent vga=788 read-only image=/boot/vmlinuz label=linux-nonfb root=/dev/hda5 initrd=/boot/initrd.img append=devfs=mount splash=silent hdc=ide-scsi resume=/dev/hda6 read-only other=/dev/hda1 label=windows table=/dev/hda image=/boot/vmlinuz-2.4.22-10mdk label=old_linux-nonfb root=/dev/hda5 initrd=/boot/initrd-2.4.22-10mdk.img append=devfs=mount hdc=ide-scsi resume=/dev/hda6 read-only image=/boot/vmlinuz label=failsafe root=/dev/hda5 initrd=/boot/initrd.img append=failsafe devfs=nomount splash=silent hdc=ide-scsi resume=/dev/hda6 read-only image=/boot/bzImage-2.6.3 label=Linux-2.6.3 root=/dev/hda5 initrd=/boot/initrd-2.6.3.img append=devfs=nomount hdb=ide-cdrom hdd=ide-cdrom vga=normal read-only And my fstab: /dev/hda5 / ext3 noatime 1 1 none /dev/pts devpts mode=0620 0 0 /dev/hda7 /home ext3 noatime 1 2 none /mnt/cdrom supermount dev=/dev/hdc,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0 /dev/hda1 /mnt/windows ntfs iocharset=iso8859-1,umask=0,ro 0 0 none /proc proc defaults 0 0 /dev/hda6 swap swap defaults 0 0 And I just noticed, something odd is happening with my cdrom drive. I just tried to install a package, with CD 2, and it didn't eject my cdrom drive like it usually does, then it didn't detect the cd. It also said insert the disk into /dev/hdc... But the device is /dev/scd0. This probably has something to do with the cdrom device config during boot that I mentioned in the other thread. --Marc What kernel are you running? If its the 2.6 kernel, then change the cdrom line in your fstab file to: /dev/hdc /mnt/cdrom auto defaults,ro,user,noexec,noauto 0 0 The only problem with this is that supermount no longer works. To get supermount to work, you'd have to patch the kernel with the supermount patch and then recompile. The above line will not mount your cdrom, and you have to do it manually with this command: 'mount /dev/hdc'. Did the vga=normal thing fix your boot problem? John If you mean what kernel am I trying to run, then yes it's 2.6. Would there be any way to have it mount automatically on boot? You know, make a script and have it execute when I start up. The vga=normal fixed the blank screen, but read my other reply to see the new problem. Also, any thoughts about what happened with my cdrom drive and device scd0? Ya, to have your cd mount on boot (you would have to unmount it if you want to switch cd's then remount), just remove noauto from the cdrom line of you fstab. When the 2.6 kernel gets up and running, the cdrom drive and device scd0 will go away. It's complaining because your cdrom is currently scd0, but fstab says its hdc. With the 2.6 kernel, the device will be hdc and rpmdrake will work fine. John Want to buy your Pack or
Re: [newbie] Building/Compiling a new kernel.
On Saturday 21 February 2004 01:41 pm, John Drouhard wrote: Marc Resnick wrote: On Saturday 21 February 2004 01:25 pm, John Drouhard wrote: On Sat, 21 Feb 2004 13:00:35 -0500 Marc Resnick [EMAIL PROTECTED] wrote: On Saturday 21 February 2004 12:46 pm, Marc Resnick wrote: On Saturday 21 February 2004 12:35 pm, John Drouhard wrote: On Fri, 20 Feb 2004 08:39:00 -0500 Marc Resnick [EMAIL PROTECTED] wrote: On Thursday 19 February 2004 12:06 am, John Drouhard wrote: On Wed, 18 Feb 2004 23:56:03 -0500 I tried building the 2.4.25 kernel, but I have one problem. I did make dep and make clean etc. separately because make all wasn't working. But, I can't find the bzImage. I did 'make bzImage' twice, but It's not there. Any idea where it might be? Marc I don't know why you are trying to build a 2.4 kernel, unless there is a specific reason for it, but you have to type: make dep clean make modules bzImage then as root: make modules_install I highly suggest you try the 2.6 kernel first. As for your black screen problem, change the line that says vga=788 to vga=normal. Here is my entry for my 2.6 kernel (with vga=normal): image=/boot/bzImage-2.6.1 label=linux2.6.1 root=/dev/hdc5 initrd=/boot/initrd-2.6.1.img append=devfs=nomount splash=silent noapic acpi=off hdb=ide-cdrom hdd=ide-cdrom read-only vga=normal If that still doesn't work, I guess you could try following my instructions from the beginning, skipping the parts about bootsplash. But try vga=normal with your 2.6 kernel first. John Just wondering...What does the 'devfs=nomount' mean, because all of my other lilo entries say 'devfs=mount'. Also, I was just trying the 2.4 kernel to see if it might work. In other words, I was in a hotel room in Delaware and I was bored. =) --Marc Okay let's condense this into one thread now Here's my lilo.conf: boot=/dev/hda map=/boot/map vga=normal default=linux keytable=/boot/us.klt prompt nowarn timeout=100 message=/boot/message menu-scheme=wb:bw:wb:bw image=/boot/vmlinuz label=linux root=/dev/hda5 initrd=/boot/initrd.img append=devfs=mount splash=silent hdc=ide-scsi resume=/dev/hda6 splash=silent vga=788 read-only image=/boot/vmlinuz label=linux-nonfb root=/dev/hda5 initrd=/boot/initrd.img append=devfs=mount splash=silent hdc=ide-scsi resume=/dev/hda6 read-only other=/dev/hda1 label=windows table=/dev/hda image=/boot/vmlinuz-2.4.22-10mdk label=old_linux-nonfb root=/dev/hda5 initrd=/boot/initrd-2.4.22-10mdk.img append=devfs=mount hdc=ide-scsi resume=/dev/hda6 read-only image=/boot/vmlinuz label=failsafe root=/dev/hda5 initrd=/boot/initrd.img append=failsafe devfs=nomount splash=silent hdc=ide-scsi resume=/dev/hda6 read-only image=/boot/bzImage-2.6.3 label=Linux-2.6.3 root=/dev/hda5 initrd=/boot/initrd-2.6.3.img append=devfs=nomount hdb=ide-cdrom hdd=ide-cdrom vga=normal read-only And my fstab: /dev/hda5 / ext3 noatime 1 1 none /dev/pts devpts mode=0620 0 0 /dev/hda7 /home ext3 noatime 1 2 none /mnt/cdrom supermount dev=/dev/hdc,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0 /dev/hda1 /mnt/windows ntfs iocharset=iso8859-1,umask=0,ro 0 0 none /proc proc defaults 0 0 /dev/hda6 swap swap defaults 0 0 And I just noticed, something odd is happening with my cdrom drive. I just tried to install a package, with CD 2, and it didn't eject my cdrom drive like it usually does, then it didn't detect the cd. It also said insert the disk into /dev/hdc... But the device is /dev/scd0. This probably has something to do with the cdrom device config during boot that I mentioned in the other thread. --Marc What kernel are you running? If its the 2.6 kernel, then change the cdrom line in your fstab file to: /dev/hdc /mnt/cdrom auto defaults,ro,user,noexec,noauto 0 0 The only problem with this is that supermount no longer works. To get supermount to work, you'd have to patch the kernel with the supermount patch and then recompile. The above line will not mount your cdrom, and you have to do it manually with this command: 'mount /dev/hdc'. Did the vga=normal thing fix your boot problem? John If you mean what kernel am I trying to run, then yes it's 2.6. Would there be any way to have it mount automatically on boot? You know, make a script and have it execute when I start up. The vga=normal fixed the blank screen, but read my other reply to see the new problem. Also, any thoughts about what happened with my cdrom drive and device scd0? Ya, to have your cd mount on boot (you would have to unmount it if you want to switch cd's then remount), just remove noauto from the cdrom line of you fstab. When the 2.6
Re: [newbie] Building/Compiling a new kernel.
Marc Resnick wrote: On Saturday 21 February 2004 01:41 pm, John Drouhard wrote: Marc Resnick wrote: On Saturday 21 February 2004 01:25 pm, John Drouhard wrote: On Sat, 21 Feb 2004 13:00:35 -0500 Marc Resnick [EMAIL PROTECTED] wrote: On Saturday 21 February 2004 12:46 pm, Marc Resnick wrote: On Saturday 21 February 2004 12:35 pm, John Drouhard wrote: On Fri, 20 Feb 2004 08:39:00 -0500 Marc Resnick [EMAIL PROTECTED] wrote: On Thursday 19 February 2004 12:06 am, John Drouhard wrote: On Wed, 18 Feb 2004 23:56:03 -0500 I tried building the 2.4.25 kernel, but I have one problem. I did make dep and make clean etc. separately because make all wasn't working. But, I can't find the bzImage. I did 'make bzImage' twice, but It's not there. Any idea where it might be? Marc I don't know why you are trying to build a 2.4 kernel, unless there is a specific reason for it, but you have to type: make dep clean make modules bzImage then as root: make modules_install I highly suggest you try the 2.6 kernel first. As for your black screen problem, change the line that says vga=788 to vga=normal. Here is my entry for my 2.6 kernel (with vga=normal): image=/boot/bzImage-2.6.1 label=linux2.6.1 root=/dev/hdc5 initrd=/boot/initrd-2.6.1.img append=devfs=nomount splash=silent noapic acpi=off hdb=ide-cdrom hdd=ide-cdrom read-only vga=normal If that still doesn't work, I guess you could try following my instructions from the beginning, skipping the parts about bootsplash. But try vga=normal with your 2.6 kernel first. John Just wondering...What does the 'devfs=nomount' mean, because all of my other lilo entries say 'devfs=mount'. Also, I was just trying the 2.4 kernel to see if it might work. In other words, I was in a hotel room in Delaware and I was bored. =) --Marc Okay let's condense this into one thread now Here's my lilo.conf: boot=/dev/hda map=/boot/map vga=normal default=linux keytable=/boot/us.klt prompt nowarn timeout=100 message=/boot/message menu-scheme=wb:bw:wb:bw image=/boot/vmlinuz label=linux root=/dev/hda5 initrd=/boot/initrd.img append=devfs=mount splash=silent hdc=ide-scsi resume=/dev/hda6 splash=silent vga=788 read-only image=/boot/vmlinuz label=linux-nonfb root=/dev/hda5 initrd=/boot/initrd.img append=devfs=mount splash=silent hdc=ide-scsi resume=/dev/hda6 read-only other=/dev/hda1 label=windows table=/dev/hda image=/boot/vmlinuz-2.4.22-10mdk label=old_linux-nonfb root=/dev/hda5 initrd=/boot/initrd-2.4.22-10mdk.img append=devfs=mount hdc=ide-scsi resume=/dev/hda6 read-only image=/boot/vmlinuz label=failsafe root=/dev/hda5 initrd=/boot/initrd.img append=failsafe devfs=nomount splash=silent hdc=ide-scsi resume=/dev/hda6 read-only image=/boot/bzImage-2.6.3 label=Linux-2.6.3 root=/dev/hda5 initrd=/boot/initrd-2.6.3.img append=devfs=nomount hdb=ide-cdrom hdd=ide-cdrom vga=normal read-only And my fstab: /dev/hda5 / ext3 noatime 1 1 none /dev/pts devpts mode=0620 0 0 /dev/hda7 /home ext3 noatime 1 2 none /mnt/cdrom supermount dev=/dev/hdc,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0 /dev/hda1 /mnt/windows ntfs iocharset=iso8859-1,umask=0,ro 0 0 none /proc proc defaults 0 0 /dev/hda6 swap swap defaults 0 0 And I just noticed, something odd is happening with my cdrom drive. I just tried to install a package, with CD 2, and it didn't eject my cdrom drive like it usually does, then it didn't detect the cd. It also said insert the disk into /dev/hdc... But the device is /dev/scd0. This probably has something to do with the cdrom device config during boot that I mentioned in the other thread. --Marc What kernel are you running? If its the 2.6 kernel, then change the cdrom line in your fstab file to: /dev/hdc /mnt/cdrom auto defaults,ro,user,noexec,noauto 0 0 The only problem with this is that supermount no longer works. To get supermount to work, you'd have to patch the kernel with the supermount patch and then recompile. The above line will not mount your cdrom, and you have to do it manually with this command: 'mount /dev/hdc'. Did the vga=normal thing fix your boot problem? John If you mean what kernel am I trying to run, then yes it's 2.6. Would there be any way to have it mount automatically on boot? You know, make a script and have it execute when I start up. The vga=normal fixed the blank screen, but read my other reply to see the new problem. Also, any thoughts about what happened with my cdrom drive and device scd0? Ya, to have your cd mount on boot (you would have to unmount it if you want to switch cd's then remount), just remove noauto from the cdrom line of you fstab. When the 2.6 kernel gets up and running, the cdrom drive and device scd0 will go away. It's complaining because your cdrom is currently scd0, but fstab says its hdc. With the 2.6 kernel, the device will be hdc and rpmdrake will work
Re: [newbie] Building/Compiling a new kernel.
On Saturday 21 February 2004 04:09 pm, Marc Resnick wrote: On Saturday 21 February 2004 03:59 pm, John Drouhard wrote: On Sat, 21 Feb 2004 15:53:50 -0500 Marc Resnick [EMAIL PROTECTED] wrote: On Saturday 21 February 2004 02:13 pm, John Drouhard wrote: I've confirmed that the initrd is there, and so is the image. Any idea what the problem might be? Attach your /usr/src/linux-2.6.3/.config file so I can take a look at it. Did you enable initial ramdisk and set the size to 32000? Here's the .config... I checked, and yes, initial ramdisk is enabled, and the size is 32000... Still can't boot the new kernel. I get a Kernel Panic Error, Try passing Init option to kernel. Anyone know what I should do? --Marc Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Building/Compiling a new kernel.
On Thursday 19 February 2004 12:06 am, John Drouhard wrote: On Wed, 18 Feb 2004 23:56:03 -0500 Marc Resnick [EMAIL PROTECTED] wrote: On Wednesday 18 February 2004 11:49 pm, Marc Resnick wrote: On Wednesday 18 February 2004 11:09 pm, John Drouhard wrote: On Wed, 18 Feb 2004 21:59:46 -0500 Marc Resnick [EMAIL PROTECTED] wrote: I get this error message when trying to run make xconfig: [EMAIL PROTECTED] linux-2.6.3]# make xconfig HOSTCC scripts/fixdep SHIPPED scripts/kconfig/zconf.tab.h HOSTCC scripts/kconfig/conf.o sed scripts/kconfig/lkc_proto.h scripts/kconfig/lkc_defs.h 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/' HOSTCC scripts/kconfig/kconfig_load.o HOSTCC scripts/kconfig/mconf.o /usr/lib/qt3//bin/moc -i scripts/kconfig/qconf.h -o scripts/kconfig/qconf.moc HOSTCXX scripts/kconfig/qconf.o /bin/sh: line 1: g++: command not found make[1]: *** [scripts/kconfig/qconf.o] Error 127 make: *** [xconfig] Error 2 Nevermind, just had to install the gcc C++ compiler. But I got several 'trying to assign nonexistant symbol' errors. Is this fatal? Nah, it just means it that some of the options available for checking don't exist, but something was trying to set them. It's perfectly ok and normal to have those errors. Did you use the mm patch? if so, you might want to rename your source directory to compensate, ie: linux-2.6.3-mm1 This may save a headache later. That's just a suggestion though. Good luck, John John I tried building the 2.4.25 kernel, but I have one problem. I did make dep and make clean etc. separately because make all wasn't working. But, I can't find the bzImage. I did 'make bzImage' twice, but It's not there. Any idea where it might be? Marc Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Building/Compiling a new kernel.
On Friday 20 February 2004 12:33 am, Marc Resnick wrote: On Thursday 19 February 2004 08:45 pm, John Drouhard wrote: On Thu, 19 Feb 2004 20:06:38 -0500 Marc Resnick [EMAIL PROTECTED] wrote: On Thursday 19 February 2004 12:06 am, John Drouhard wrote: On Wed, 18 Feb 2004 23:56:03 -0500 Marc Resnick [EMAIL PROTECTED] wrote: On Wednesday 18 February 2004 11:49 pm, Marc Resnick wrote: On Wednesday 18 February 2004 11:09 pm, John Drouhard wrote: On Wed, 18 Feb 2004 21:59:46 -0500 Marc Resnick [EMAIL PROTECTED] wrote: I get this error message when trying to run make xconfig: [EMAIL PROTECTED] linux-2.6.3]# make xconfig HOSTCC scripts/fixdep SHIPPED scripts/kconfig/zconf.tab.h HOSTCC scripts/kconfig/conf.o sed scripts/kconfig/lkc_proto.h scripts/kconfig/lkc_defs.h 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/' HOSTCC scripts/kconfig/kconfig_load.o HOSTCC scripts/kconfig/mconf.o /usr/lib/qt3//bin/moc -i scripts/kconfig/qconf.h -o scripts/kconfig/qconf.moc HOSTCXX scripts/kconfig/qconf.o /bin/sh: line 1: g++: command not found make[1]: *** [scripts/kconfig/qconf.o] Error 127 make: *** [xconfig] Error 2 Nevermind, just had to install the gcc C++ compiler. But I got several 'trying to assign nonexistant symbol' errors. Is this fatal? Nah, it just means it that some of the options available for checking don't exist, but something was trying to set them. It's perfectly ok and normal to have those errors. Did you use the mm patch? if so, you might want to rename your source directory to compensate, ie: linux-2.6.3-mm1 This may save a headache later. That's just a suggestion though. Good luck, John I'm not sure if you saw my other e-mail, so I'll send it again: My screen goes completely blank when I try to boot the new kernel. All the paths are correct(fixed them after I got a kernel panic error at first), and I've tried noapic, acpi=off, acpi=on, acpi=ht, devfs=mount devfs=nomount. I just can't seem to get it to boot. Also, I don't think the bootsplash for kernel version 2.6.3, because I noticed I got an error when patching, and the option to enable it wasn't there when I ran make xconfig. I doubt that's the problem though. Any suggestions would be appreciated. Actually it does sound like the problem. I know this sounds like a lot of work, but you might want to follow my steps again and not patch the kernel with bootsplash. Or just change your lilo.conf. I suggest the first you try is changing the lilo.conf file (remember to run lilo afterwards). append=devfs=nomount noapic acpi=off hdb=ide-cdrom hdd=ide-cdrom I figured out how to make burning without scsi'em work. Make the hdb and hdd reflect your cdrom devices. When it's time to burn, you run (replace hdd with your burner): cdrecord dev=/dev/hdd iso image Otherwise, if that doesn't work, save your .config from the source directory, then delete it. Untar the sources again, patch it again with the mm patch, and copy your .config back into the source directory. The follow the steps in my earlier email. Make sure the append line is similar to the one above. HTH, John Still a blank screen. I don't know if I told you, but I had gotten kernel-2.4.25 to boot fine, it's just that i messed something up when building it, and had no modules installed. Do you think I should forgot the 2.6 and upgrade to 2.4.25? Nevermind. I think the problem was that I didn't have the package byacc installed. I'm going to try again when I get a chance. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Building/Compiling a new kernel.
On Wed, 18 Feb 2004 23:56:03 -0500 Marc Resnick [EMAIL PROTECTED] wrote: On Wednesday 18 February 2004 11:49 pm, Marc Resnick wrote: On Wednesday 18 February 2004 11:09 pm, John Drouhard wrote: On Wed, 18 Feb 2004 21:59:46 -0500 Marc Resnick [EMAIL PROTECTED] wrote: I get this error message when trying to run make xconfig: [EMAIL PROTECTED] linux-2.6.3]# make xconfig HOSTCC scripts/fixdep SHIPPED scripts/kconfig/zconf.tab.h HOSTCC scripts/kconfig/conf.o sed scripts/kconfig/lkc_proto.h scripts/kconfig/lkc_defs.h 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/' HOSTCC scripts/kconfig/kconfig_load.o HOSTCC scripts/kconfig/mconf.o /usr/lib/qt3//bin/moc -i scripts/kconfig/qconf.h -o scripts/kconfig/qconf.moc HOSTCXX scripts/kconfig/qconf.o /bin/sh: line 1: g++: command not found make[1]: *** [scripts/kconfig/qconf.o] Error 127 make: *** [xconfig] Error 2 Nevermind, just had to install the gcc C++ compiler. But I got several 'trying to assign nonexistant symbol' errors. Is this fatal? Nah, it just means it that some of the options available for checking don't exist, but something was trying to set them. It's perfectly ok and normal to have those errors. Did you use the mm patch? if so, you might want to rename your source directory to compensate, ie: linux-2.6.3-mm1 This may save a headache later. That's just a suggestion though. Good luck, John Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Building/Compiling a new kernel.
On Thursday 19 February 2004 12:06 am, John Drouhard wrote: On Wed, 18 Feb 2004 23:56:03 -0500 Marc Resnick [EMAIL PROTECTED] wrote: On Wednesday 18 February 2004 11:49 pm, Marc Resnick wrote: On Wednesday 18 February 2004 11:09 pm, John Drouhard wrote: On Wed, 18 Feb 2004 21:59:46 -0500 Marc Resnick [EMAIL PROTECTED] wrote: I get this error message when trying to run make xconfig: [EMAIL PROTECTED] linux-2.6.3]# make xconfig HOSTCC scripts/fixdep SHIPPED scripts/kconfig/zconf.tab.h HOSTCC scripts/kconfig/conf.o sed scripts/kconfig/lkc_proto.h scripts/kconfig/lkc_defs.h 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/' HOSTCC scripts/kconfig/kconfig_load.o HOSTCC scripts/kconfig/mconf.o /usr/lib/qt3//bin/moc -i scripts/kconfig/qconf.h -o scripts/kconfig/qconf.moc HOSTCXX scripts/kconfig/qconf.o /bin/sh: line 1: g++: command not found make[1]: *** [scripts/kconfig/qconf.o] Error 127 make: *** [xconfig] Error 2 Nevermind, just had to install the gcc C++ compiler. But I got several 'trying to assign nonexistant symbol' errors. Is this fatal? Nah, it just means it that some of the options available for checking don't exist, but something was trying to set them. It's perfectly ok and normal to have those errors. Did you use the mm patch? if so, you might want to rename your source directory to compensate, ie: linux-2.6.3-mm1 This may save a headache later. That's just a suggestion though. Good luck, John I'm not sure if you saw my other e-mail, so I'll send it again: My screen goes completely blank when I try to boot the new kernel. All the paths are correct(fixed them after I got a kernel panic error at first), and I've tried noapic, acpi=off, acpi=on, acpi=ht, devfs=mount devfs=nomount. I just can't seem to get it to boot. Also, I don't think the bootsplash for kernel version 2.6.3, because I noticed I got an error when patching, and the option to enable it wasn't there when I ran make xconfig. I doubt that's the problem though. Any suggestions would be appreciated. --Marc Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Building/Compiling a new kernel.
On Thu, 19 Feb 2004 20:06:38 -0500 Marc Resnick [EMAIL PROTECTED] wrote: On Thursday 19 February 2004 12:06 am, John Drouhard wrote: On Wed, 18 Feb 2004 23:56:03 -0500 Marc Resnick [EMAIL PROTECTED] wrote: On Wednesday 18 February 2004 11:49 pm, Marc Resnick wrote: On Wednesday 18 February 2004 11:09 pm, John Drouhard wrote: On Wed, 18 Feb 2004 21:59:46 -0500 Marc Resnick [EMAIL PROTECTED] wrote: I get this error message when trying to run make xconfig: [EMAIL PROTECTED] linux-2.6.3]# make xconfig HOSTCC scripts/fixdep SHIPPED scripts/kconfig/zconf.tab.h HOSTCC scripts/kconfig/conf.o sed scripts/kconfig/lkc_proto.h scripts/kconfig/lkc_defs.h 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/' HOSTCC scripts/kconfig/kconfig_load.o HOSTCC scripts/kconfig/mconf.o /usr/lib/qt3//bin/moc -i scripts/kconfig/qconf.h -o scripts/kconfig/qconf.moc HOSTCXX scripts/kconfig/qconf.o /bin/sh: line 1: g++: command not found make[1]: *** [scripts/kconfig/qconf.o] Error 127 make: *** [xconfig] Error 2 Nevermind, just had to install the gcc C++ compiler. But I got several 'trying to assign nonexistant symbol' errors. Is this fatal? Nah, it just means it that some of the options available for checking don't exist, but something was trying to set them. It's perfectly ok and normal to have those errors. Did you use the mm patch? if so, you might want to rename your source directory to compensate, ie: linux-2.6.3-mm1 This may save a headache later. That's just a suggestion though. Good luck, John I'm not sure if you saw my other e-mail, so I'll send it again: My screen goes completely blank when I try to boot the new kernel. All the paths are correct(fixed them after I got a kernel panic error at first), and I've tried noapic, acpi=off, acpi=on, acpi=ht, devfs=mount devfs=nomount. I just can't seem to get it to boot. Also, I don't think the bootsplash for kernel version 2.6.3, because I noticed I got an error when patching, and the option to enable it wasn't there when I ran make xconfig. I doubt that's the problem though. Any suggestions would be appreciated. Actually it does sound like the problem. I know this sounds like a lot of work, but you might want to follow my steps again and not patch the kernel with bootsplash. Or just change your lilo.conf. I suggest the first you try is changing the lilo.conf file (remember to run lilo afterwards). append=devfs=nomount noapic acpi=off hdb=ide-cdrom hdd=ide-cdrom I figured out how to make burning without scsi'em work. Make the hdb and hdd reflect your cdrom devices. When it's time to burn, you run (replace hdd with your burner): cdrecord dev=/dev/hdd iso image Otherwise, if that doesn't work, save your .config from the source directory, then delete it. Untar the sources again, patch it again with the mm patch, and copy your .config back into the source directory. The follow the steps in my earlier email. Make sure the append line is similar to the one above. HTH, John -- Thu Feb 19 19:33:43 CST 2004 -- Registered Linux User # 315649 Registered Machine # 201001 An apple a day makes 365 apples a year. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Building/Compiling a new kernel.
On Thursday 19 February 2004 08:45 pm, John Drouhard wrote: On Thu, 19 Feb 2004 20:06:38 -0500 Marc Resnick [EMAIL PROTECTED] wrote: On Thursday 19 February 2004 12:06 am, John Drouhard wrote: On Wed, 18 Feb 2004 23:56:03 -0500 Marc Resnick [EMAIL PROTECTED] wrote: On Wednesday 18 February 2004 11:49 pm, Marc Resnick wrote: On Wednesday 18 February 2004 11:09 pm, John Drouhard wrote: On Wed, 18 Feb 2004 21:59:46 -0500 Marc Resnick [EMAIL PROTECTED] wrote: I get this error message when trying to run make xconfig: [EMAIL PROTECTED] linux-2.6.3]# make xconfig HOSTCC scripts/fixdep SHIPPED scripts/kconfig/zconf.tab.h HOSTCC scripts/kconfig/conf.o sed scripts/kconfig/lkc_proto.h scripts/kconfig/lkc_defs.h 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/' HOSTCC scripts/kconfig/kconfig_load.o HOSTCC scripts/kconfig/mconf.o /usr/lib/qt3//bin/moc -i scripts/kconfig/qconf.h -o scripts/kconfig/qconf.moc HOSTCXX scripts/kconfig/qconf.o /bin/sh: line 1: g++: command not found make[1]: *** [scripts/kconfig/qconf.o] Error 127 make: *** [xconfig] Error 2 Nevermind, just had to install the gcc C++ compiler. But I got several 'trying to assign nonexistant symbol' errors. Is this fatal? Nah, it just means it that some of the options available for checking don't exist, but something was trying to set them. It's perfectly ok and normal to have those errors. Did you use the mm patch? if so, you might want to rename your source directory to compensate, ie: linux-2.6.3-mm1 This may save a headache later. That's just a suggestion though. Good luck, John I'm not sure if you saw my other e-mail, so I'll send it again: My screen goes completely blank when I try to boot the new kernel. All the paths are correct(fixed them after I got a kernel panic error at first), and I've tried noapic, acpi=off, acpi=on, acpi=ht, devfs=mount devfs=nomount. I just can't seem to get it to boot. Also, I don't think the bootsplash for kernel version 2.6.3, because I noticed I got an error when patching, and the option to enable it wasn't there when I ran make xconfig. I doubt that's the problem though. Any suggestions would be appreciated. Actually it does sound like the problem. I know this sounds like a lot of work, but you might want to follow my steps again and not patch the kernel with bootsplash. Or just change your lilo.conf. I suggest the first you try is changing the lilo.conf file (remember to run lilo afterwards). append=devfs=nomount noapic acpi=off hdb=ide-cdrom hdd=ide-cdrom I figured out how to make burning without scsi'em work. Make the hdb and hdd reflect your cdrom devices. When it's time to burn, you run (replace hdd with your burner): cdrecord dev=/dev/hdd iso image Otherwise, if that doesn't work, save your .config from the source directory, then delete it. Untar the sources again, patch it again with the mm patch, and copy your .config back into the source directory. The follow the steps in my earlier email. Make sure the append line is similar to the one above. HTH, John Still a blank screen. I don't know if I told you, but I had gotten kernel-2.4.25 to boot fine, it's just that i messed something up when building it, and had no modules installed. Do you think I should forgot the 2.6 and upgrade to 2.4.25? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Building/Compiling a new kernel.
On Wed, 18 Feb 2004 21:59:46 -0500 Marc Resnick [EMAIL PROTECTED] wrote: The Kernel HOWTO is 'being reviewed', so could someone kindly post a step by step on building and compiling a new kernel. I have the source, and i extracted it into /usr/src. I believe I start with make config? Ok, here we go! 1. Make sure the kernel you downloaded is a 2.6 kernel :). 2. Make sure the patches you would like are all downloaded. I usually apply the mm patches and the bootsplash patch. They aren't necessary but add nice features. The mm patch is available at kernel.org (make sure kernel and mm patch versions match) make sure you are in the kernel source directory, and apply the mm patch like so: bzcat /full/path/to/mmpatch.bz2 | patch -p1 3. download the bootsplash patch (if you like eyecandy) from bootsplash.org. As long as you download the version for the 2.6 kernel, it doesn't matter what the actual version number is. Apply this patch in almost the same way: cat /path/to/bootsplash.patch | patch -p1 4. In the source directory, type make xconfig. 5. Choose your options carefully In Block Devices, check both RAM disk support and Initial RAM disk (initrd) support. The Default RAM disk size is set to 32000 on my computer. Under Graphics Support, check Bootup splash screen under Bootsplash Configuration and UNCHECK Boot Logo under Logo Configuration. Besides those, I usually check almost everything in case there's something I need that I don't realize. 6. Save your config, and exit 7. Type make all 8. As root, type make modules_install 9. Then (still in source directory), type: cp arch/i386/boot/bzImage /boot/bzImage-kernel version 10. Then type: mkinitrd /boot/initrd-kernel version.img kernel version (On my comp, i typed 'mkinitrd /boot/initrd-2.6.1-mm1.img 2.6.1-mm1') 11. If you have the bootsplash-themes package installed, now is the time to utilize them. Go into /etc/bootsplash/themes/ and look at the config files. There should be paths to images. Look at those images and decide which theme in general you like best. When your ready, type: cat /etc/bootsplash/themes/your theme/config/bootsplash-1024x768.cfg /boot/initrd-kernel version.img 12. Edit /etc/lilo.conf to include your new kernel: image=/boot/bzImage-kernel version label=linux-2.6 #or whatever you want to call it root=/dev/hda5 #check other entries and make the same. should be partition that / is located on initrd=/boot/initrd-kernel version.imgappend=devfs=nomount splash=silent noapic acpi=off emulation read-only vga=791 13. on the append line above, splash can either be silent or verbose. Other than that, they can be the same as your other entries, but don't have any hd?=ide-scsi it's no longer necessary 14. Save the file, and run 'lilo' as root 15. Reboot and hope it works correctly Sorry if this was long and winded. If anything is confusing, let me know and I'll try to help. John -- Wed Feb 18 21:45:27 CST 2004 -- Registered Linux User # 315649 Registered Machine # 201001 If in doubt, mumble. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Building/Compiling a new kernel.
On Wednesday 18 February 2004 11:09 pm, John Drouhard wrote: On Wed, 18 Feb 2004 21:59:46 -0500 Marc Resnick [EMAIL PROTECTED] wrote: The Kernel HOWTO is 'being reviewed', so could someone kindly post a step by step on building and compiling a new kernel. I have the source, and i extracted it into /usr/src. I believe I start with make config? Ok, here we go! 1. Make sure the kernel you downloaded is a 2.6 kernel :). 2. Make sure the patches you would like are all downloaded. I usually apply the mm patches and the bootsplash patch. They aren't necessary but add nice features. The mm patch is available at kernel.org (make sure kernel and mm patch versions match) make sure you are in the kernel source directory, and apply the mm patch like so: bzcat /full/path/to/mmpatch.bz2 | patch -p1 3. download the bootsplash patch (if you like eyecandy) from bootsplash.org. As long as you download the version for the 2.6 kernel, it doesn't matter what the actual version number is. Apply this patch in almost the same way: cat /path/to/bootsplash.patch | patch -p1 4. In the source directory, type make xconfig. 5. Choose your options carefully In Block Devices, check both RAM disk support and Initial RAM disk (initrd) support. The Default RAM disk size is set to 32000 on my computer. Under Graphics Support, check Bootup splash screen under Bootsplash Configuration and UNCHECK Boot Logo under Logo Configuration. Besides those, I usually check almost everything in case there's something I need that I don't realize. 6. Save your config, and exit 7. Type make all 8. As root, type make modules_install 9. Then (still in source directory), type: cp arch/i386/boot/bzImage /boot/bzImage-kernel version 10. Then type: mkinitrd /boot/initrd-kernel version.img kernel version (On my comp, i typed 'mkinitrd /boot/initrd-2.6.1-mm1.img 2.6.1-mm1') 11. If you have the bootsplash-themes package installed, now is the time to utilize them. Go into /etc/bootsplash/themes/ and look at the config files. There should be paths to images. Look at those images and decide which theme in general you like best. When your ready, type: cat /etc/bootsplash/themes/your theme/config/bootsplash-1024x768.cfg /boot/initrd-kernel version.img 12. Edit /etc/lilo.conf to include your new kernel: image=/boot/bzImage-kernel version label=linux-2.6 #or whatever you want to call it root=/dev/hda5 #check other entries and make the same. should be partition that / is located on initrd=/boot/initrd-kernel version.img append=devfs=nomount splash=silent noapic acpi=off emulation read-only vga=791 13. on the append line above, splash can either be silent or verbose. Other than that, they can be the same as your other entries, but don't have any hd?=ide-scsi it's no longer necessary 14. Save the file, and run 'lilo' as root 15. Reboot and hope it works correctly Sorry if this was long and winded. If anything is confusing, let me know and I'll try to help. John I get this error message when trying to run make xconfig: [EMAIL PROTECTED] linux-2.6.3]# make xconfig HOSTCC scripts/fixdep SHIPPED scripts/kconfig/zconf.tab.h HOSTCC scripts/kconfig/conf.o sed scripts/kconfig/lkc_proto.h scripts/kconfig/lkc_defs.h 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/' HOSTCC scripts/kconfig/kconfig_load.o HOSTCC scripts/kconfig/mconf.o /usr/lib/qt3//bin/moc -i scripts/kconfig/qconf.h -o scripts/kconfig/qconf.moc HOSTCXX scripts/kconfig/qconf.o /bin/sh: line 1: g++: command not found make[1]: *** [scripts/kconfig/qconf.o] Error 127 make: *** [xconfig] Error 2 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Building/Compiling a new kernel.
On Wednesday 18 February 2004 11:49 pm, Marc Resnick wrote: On Wednesday 18 February 2004 11:09 pm, John Drouhard wrote: On Wed, 18 Feb 2004 21:59:46 -0500 Marc Resnick [EMAIL PROTECTED] wrote: The Kernel HOWTO is 'being reviewed', so could someone kindly post a step by step on building and compiling a new kernel. I have the source, and i extracted it into /usr/src. I believe I start with make config? Ok, here we go! 1. Make sure the kernel you downloaded is a 2.6 kernel :). 2. Make sure the patches you would like are all downloaded. I usually apply the mm patches and the bootsplash patch. They aren't necessary but add nice features. The mm patch is available at kernel.org (make sure kernel and mm patch versions match) make sure you are in the kernel source directory, and apply the mm patch like so: bzcat /full/path/to/mmpatch.bz2 | patch -p1 3. download the bootsplash patch (if you like eyecandy) from bootsplash.org. As long as you download the version for the 2.6 kernel, it doesn't matter what the actual version number is. Apply this patch in almost the same way: cat /path/to/bootsplash.patch | patch -p1 4. In the source directory, type make xconfig. 5. Choose your options carefully In Block Devices, check both RAM disk support and Initial RAM disk (initrd) support. The Default RAM disk size is set to 32000 on my computer. Under Graphics Support, check Bootup splash screen under Bootsplash Configuration and UNCHECK Boot Logo under Logo Configuration. Besides those, I usually check almost everything in case there's something I need that I don't realize. 6. Save your config, and exit 7. Type make all 8. As root, type make modules_install 9. Then (still in source directory), type: cp arch/i386/boot/bzImage /boot/bzImage-kernel version 10. Then type: mkinitrd /boot/initrd-kernel version.img kernel version (On my comp, i typed 'mkinitrd /boot/initrd-2.6.1-mm1.img 2.6.1-mm1') 11. If you have the bootsplash-themes package installed, now is the time to utilize them. Go into /etc/bootsplash/themes/ and look at the config files. There should be paths to images. Look at those images and decide which theme in general you like best. When your ready, type: cat /etc/bootsplash/themes/your theme/config/bootsplash-1024x768.cfg /boot/initrd-kernel version.img 12. Edit /etc/lilo.conf to include your new kernel: image=/boot/bzImage-kernel version label=linux-2.6 #or whatever you want to call it root=/dev/hda5 #check other entries and make the same. should be partition that / is located on initrd=/boot/initrd-kernel version.imgappend=devfs=nomount splash=silent noapic acpi=off emulation read-only vga=791 13. on the append line above, splash can either be silent or verbose. Other than that, they can be the same as your other entries, but don't have any hd?=ide-scsi it's no longer necessary 14. Save the file, and run 'lilo' as root 15. Reboot and hope it works correctly Sorry if this was long and winded. If anything is confusing, let me know and I'll try to help. John I get this error message when trying to run make xconfig: [EMAIL PROTECTED] linux-2.6.3]# make xconfig HOSTCC scripts/fixdep SHIPPED scripts/kconfig/zconf.tab.h HOSTCC scripts/kconfig/conf.o sed scripts/kconfig/lkc_proto.h scripts/kconfig/lkc_defs.h 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/' HOSTCC scripts/kconfig/kconfig_load.o HOSTCC scripts/kconfig/mconf.o /usr/lib/qt3//bin/moc -i scripts/kconfig/qconf.h -o scripts/kconfig/qconf.moc HOSTCXX scripts/kconfig/qconf.o /bin/sh: line 1: g++: command not found make[1]: *** [scripts/kconfig/qconf.o] Error 127 make: *** [xconfig] Error 2 Nevermind, just had to install the gcc C++ compiler. But I got several 'trying to assign nonexistant symbol' errors. Is this fatal? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com