Re: I Need Help Getting A Custom Kernel To Boot
On Tue, Apr 19, 2005 at 12:46:25PM +0000, Kathy Wills wrote:
> I have been trying for three days now to get my own kernel to boot using
> Debian. I've customized an lot of kernels in the past and don't remember
> ever having this much trouble. Would someone please take a look at what
> I have and tell me what I'm missing. I keep getting a kernel panic when
> I try to boot into my kernel. The stock Debian Kernels boot just fine. A
> copy of my kernel configuration can be seen at
> http://www.brannanorwills.com/kernel-config .
>
> The kernel panic says:
>
> "not syncing: VFS: Unable to mount root fs on unknow block(0,0).
>
> Here is the result of lspci from a working kernel:
>
> 0000:00:00.0 Host bridge: Intel Corp. 82820 820 (Camino) Chipset Host
> Bridge (MCH) (rev 04)
> 0000:00:01.0 PCI bridge: Intel Corp. 82820 820 (Camino) Chipset AGP
> Bridge (rev04)
> 0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 02)
> 0000:00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 02)
> 0000:00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 02)
> 0000:00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 02)
> 0000:00:1f.3 SMBus: Intel Corp. 82801BA/BAM SMBus (rev 02)
> 0000:00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 02)
> 0000:01:00.0 VGA compatible controller: nVidia Corporation: Unknown
> device 0343(rev a1)
> 0000:02:0b.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1
> (rev 08)
> 0000:02:0b.1 Input device controller: Creative Labs SB Live! MIDI/Game
> Port (rev 08)
> 0000:02:0e.0 Ethernet controller: Linksys NC100 Network Everywhere Fast
> Ethernet 10/100 (rev 11)
>
> Here is the result of lsmod from a working kernel:
>
> Module Size Used by
> ipv6 254720 8
> lp 11780 0
> af_packet 21704 2
> parport_pc 35972 1
> parport 36936 2 lp,parport_pc
> floppy 60176 0
> pcspkr 3364 0
> rtc 11832 0
> i2c_i801 8620 0
> i2c_core 22320 1 i2c_i801
> hw_random 5268 0
> pci_hotplug 33136 0
> intel_agp 23132 1
> agpgart 34792 1 intel_agp
> tulip 51968 0
> emu10k1_gp 3648 0
> gameport 4480 1 emu10k1_gp
> snd_emu10k1 100708 1
> snd_rawmidi 24032 1 snd_emu10k1
> snd_seq_device 8652 2 snd_emu10k1,snd_rawmidi
> snd_ac97_codec 78360 1 snd_emu10k1
> snd_pcm_oss 53344 0
> snd_mixer_oss 19872 1 snd_pcm_oss
> snd_pcm 92712 4 snd_emu10k1,snd_ac97_codec,snd_pcm_oss
> snd_timer 24580 2 snd_emu10k1,snd_pcm
> snd_page_alloc 10020 2 snd_emu10k1,snd_pcm
> snd_util_mem 4512 1 snd_emu10k1
> snd_hwdep 9152 1 snd_emu10k1
> snd 55300 10
> snd_emu10k1,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep
> soundcore 9664 1 snd
> uhci_hcd 32400 0
> usbcore 120312 2 uhci_hcd
> tsdev 7776 0
> mousedev 11640 1
> evdev 9568 0
> capability 4712 0
> commoncap 6880 1 capability
> psmouse 29320 0
> ide_cd 41892 0
> cdrom 41216 1 ide_cd
> ext2 68712 0
> ext3 143368 4
> jbd 58200 1 ext3
> mbcache 9444 2 ext2,ext3
> ide_disk 18016 6
> ide_generic 1216 0 [permanent]
> via82cxxx 13820 0 [permanent]
> trm290 4260 0 [permanent]
> triflex 3712 0 [permanent]
> slc90e66 5792 0 [permanent]
> sis5513 16424 0 [permanent]
> siimage 12576 0 [permanent]
> serverworks 9192 0 [permanent]
> sc1200 7296 0 [permanent]
> rz1000 2496 0 [permanent]
> piix 10308 0 [permanent]
> pdc202xx_old 11296 0 [permanent]
> opti621 4452 0 [permanent]
> ns87415 4264 0 [permanent]
> hpt366 20064 0 [permanent]
> hpt34x 5216 0 [permanent]
> generic 3904 0 [permanent]
> cy82c693 4708 0 [permanent]
> cs5530 5248 0 [permanent]
> cs5520 4640 0 [permanent]
> cmd64x 12028 0 [permanent]
> atiixp 5840 0 [permanent]
> amd74xx 14332 0 [permanent]
> alim15x3 12140 0 [permanent]
> aec62xx 7168 0 [permanent]
> pdc202xx_new 9024 0 [permanent]
> ide_core 130384 28
> ide_cd,ide_disk,ide_generic,via82cxxx,trm290,triflex,slc90e66,sis5513,siimage,serverworks,sc1200,rz1000,piix,pdc202xx_old,opti621,ns87415,hpt366,hpt34x,generic,cy82c693,cs5530,cs5520,cmd64x,atiixp,amd74xx,alim15x3,aec62xx,pdc202xx_new
> sd_mod 19024 0
> ata_piix 9572 0
> libata 48452 1 ata_piix
> scsi_mod 137064 2 sd_mod,libata
> unix 27476 336
> fbcon 38656 0
> font 8192 1 fbcon
> bitblit 5664 1 fbcon
> vesafb 8088 0
> cfbcopyarea 4000 1 vesafb
> cfbimgblt 2944 1 vesafb
> cfbfillrect 3648 1 vesafb
>
> Here is mount from a working kernel:
>
> /dev/hda3 on / type ext3 (rw)
> proc on /proc type proc (rw)
> sysfs on /sys type sysfs (rw)
> devpts on /dev/pts type devpts (rw,gid=5,mode=620)
> tmpfs on /dev/shm type tmpfs (rw)
> /dev/hda1 on /boot type ext3 (rw)
> /dev/hda5 on /data type ext3 (rw)
> /dev/hda6 on /home type ext3 (rw)
> usbfs on /proc/bus/usb type usbfs (rw)
> none on /dev type tmpfs (rw,size=10M,mode=0755)
>
> Please let me know if you need any more information.
>
Perhaps, you are not using make-kpkg which can be found in the debian
package, kernel-package. I think it will help, particularly read its
man page. For a config file, start with the config file that came with
a stock debian kernel that works on your computer. It can be found in
/boot. Edit it to contain just the changes that you know you want. If
that doesn't work, do revert half your changes and see if that
works. Continue, until you find the change that kills your kernel.
Then fix that, or ask for help about fixing it, or why you don't really
want that change.
The above will take time, but the good news is that you know already
that a kernel for your equipment can be make to work.
For starters, you might try constructing a clone of the stock kernel
under a slightly modified name. If this doesn't work, you need to
come back to this list with questions about the use of make-kpkg.
HTH
--
Paul E Condon
pecondon@mesanetworks.net
Reply to: