Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Kernel Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #51  
Old 19th April 2006, 14:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by Jamesk5
Can I make a RAM disk outside of being in Debian - If so, will knoppix work, and do I just use the usual bash prompt?
You should make it on the system where you installed the new kernel.

Quote:
Originally Posted by Jamesk5
Also, what kernel number should I use, I'm not sure what it updated to - is there any way I can find out in system logs or something??
Have a look at the /boot directory - you should find your new kernel there.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Sponsored Links
  #52  
Old 19th April 2006, 16:05
Jamesk5 Jamesk5 is offline
Junior Member
 
Join Date: Apr 2006
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
Have a look at the /boot directory - you should find your new kernel there.
What am I looking for in the /boot directory of the drive that holds Debian (As I said, I can't boot into Debian therefor I have to mount the drive in a knoppix session to see the contents of the drive)

In the /boot directory I have:
System.map-2.6.15-1-486
vmlinuz-2.6.15-1-486
config-2.6.15-1-486
initrd.img-2.6.15-1-486
grub/

My /boot/grub/menu.lst points to the /boot/initrd..... (initrd) and /boot/vmlinux..... (kernel) files and yet still wont boot.
Reply With Quote
  #53  
Old 19th April 2006, 22:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

You only have a 2.6.15-1 kernel in /boot, but there's already an initrd.img for it...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #54  
Old 24th April 2006, 00:02
nrundle nrundle is offline
Junior Member
 
Join Date: Apr 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Cannot get 2.6.8 kernel to work

I installed Debian 3.1r2 today and wanted to upgrade the kernel (2.4.27) to (2.6.8). Tried a kernel image from the Debian dist with the resulting error

Code:
pivot_root: No such file or directory
/sbin/init: 432: cannot open dev/console: No such file
Kernel panic: Attempted to kill init!
I tried following your walkthrough to compiling a kernel. I even loaded my config for 2.4.27 to start from and it comes up with same error. Some output I noticed just prior to the error looks like this:

Code:
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 3580 blocks [1 disk] into ram disk... done.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 204k freed
initrd-tools: 0.1.81.1
NET: Registered protocol family 1
SCSI subsystem initialized
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebux=xx
ide0: I/O resource 0x1F0-0x1F7 not free.
ide0: ports already in use, skipping probe
hdc: SONY DVD+/-RW DW-Q58A, ATAPI CD/DVD-ROM drive
Using anticipatory io scheduler
ide1 at 0x170-0x177,0x376 on irq 15
It appears like it can't find the primary hd when loading the 2.6.8 kernel, but works fine under 2.4.27.

Any ideas what I need to do differently?
Reply With Quote
  #55  
Old 24th April 2006, 09:57
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by nrundle
I installed Debian 3.1r2 today and wanted to upgrade the kernel (2.4.27) to (2.6.8).
Why don't you install Sarge with a 2.6.8 kernel right from the beginning? When you boot from the install CD, type linux26 at the boot prompt, and Debian will be installed with kernel 2.6.8.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #56  
Old 24th April 2006, 23:07
nrundle nrundle is offline
Junior Member
 
Join Date: Apr 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok I tried installing with linux26 and think I've come to the real problem. During the installation I get this error:

Quote:
No partitionable media were found.

Please check that a hard disk is attached to this machine.
An excerpt from the syslog (during installation) reveals this:
Quote:
hw-detect: Missing module 'b44'.
hw-detect: Missing module 'ipw2200'.
hw-detect: Missing module 'ide-mod'.
hw-detect: Missing module 'ide-probe-mod'.
hw-detect: Missing module 'ide-detect'.
hw-detect: Missing module 'ide-floppy'.
...
kernel: ide0: I/O resource 0x1F0-0x1F7 not free.
kernel: ide0: ports already in use, skipping probe
Any ideas why it won't seem to detect my hd properly under 2.6.8 but it works fine with 2.4.27?
Reply With Quote
  #57  
Old 25th April 2006, 16:24
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Is it some kind of exotic hard disk?
Make sure it's connected properly.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #58  
Old 25th April 2006, 17:05
nrundle nrundle is offline
Junior Member
 
Join Date: Apr 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No this is not 'some kind of exotic' hard disk. It is a Hitachi HTS541060G9AT00 60 GB Ultra-ATA laptop hard drive. In a Dell Inspiron 6000. Like I said before, it loads up fine using kernel 2.4.27, but I need at least 2.6.8. I read somewhere the the 2.6 kernels went to ide-core instead of the ide-mod, ide-probe-mod and all that. I see that the ide-core module loads fine but it still doesn't explain why the I/O resource for the ide0 is busy when trying to detect hardware.

I am not sure what else to try. I've tried passing boot parameters such as hd=116280/16/63 to describe the CHS of the hd.
Reply With Quote
  #59  
Old 26th April 2006, 03:47
nrundle nrundle is offline
Junior Member
 
Join Date: Apr 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

There must be a bug in the 2.6.8 kernel. I downloaded and compiled the 2.8.16.11 kernel and it loaded up fine. Searching the internet I found a lot of people had the same problem with the Dell Inspiron 6000 and the 2.6.8 kernel.
Reply With Quote
  #60  
Old 19th May 2006, 01:59
nithin nithin is offline
Junior Member
 
Join Date: May 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default partial compilation

hi,
Is there a way to compile just the updated files ? I know that in the vanilla kernel, doing a make compiles just the updated files and builds the kernel. However, under my sarge, doing a:

fakeroot make-kpkg --initrd --revision=custom.1.0 kernel_image

does not have the same behaviour.

- Nithin
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:59.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.