Diferencia entre revisiones de «Kernel 2.6»
De gacq wiki
Línea 46: | Línea 46: | ||
</nowiki></pre> | </nowiki></pre> | ||
Por alguna razon desconocida (algun upgrade) se cambio el device /boot/grub/menu.lst de hda2 a hda1 con cambiarlo se arreglo. Para esto hay que bootear con un INSERT o similar | Por alguna razon desconocida (algun upgrade) se cambio el device /boot/grub/menu.lst de hda2 a hda1 con cambiarlo se arreglo. Para esto hay que bootear con un INSERT o similar | ||
+ | |||
+ | |||
+ | ==Colgada con RaiserFS== | ||
+ | <pre><nowiki> | ||
+ | Aug 3 04:15:01 geacequ kernel: ReiserFS: hdc1: found reiserfs format "3.6" with standard journal | ||
+ | Aug 3 04:15:07 geacequ kernel: ReiserFS: hdc1: using ordered data mode | ||
+ | Aug 3 04:15:07 geacequ kernel: ReiserFS: hdc1: journal params: device hdc1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 | ||
+ | Aug 3 04:15:07 geacequ kernel: ReiserFS: hdc1: checking transaction log (hdc1) | ||
+ | Aug 3 04:15:07 geacequ kernel: ReiserFS: hdc1: Using r5 hash to sort names | ||
+ | Aug 3 04:28:19 geacequ kernel: Unable to handle kernel paging request at virtual address 00010000 | ||
+ | Aug 3 04:28:19 geacequ kernel: printing eip: | ||
+ | Aug 3 04:28:19 geacequ kernel: f8d149dd | ||
+ | Aug 3 04:28:19 geacequ kernel: *pde = 00000000 | ||
+ | Aug 3 04:28:19 geacequ kernel: Oops: 0002 [#1] | ||
+ | Aug 3 04:28:19 geacequ kernel: Modules linked in: nls_cp437 isofs ipt_MARK ipt_mark iptable_mangle ip_nat_ftp ip_nat_irc iptable_nat ipt_REJECT ip_conntrack_ftp ip_conntrack_irc iptable_filter ipt_state ip_conntrack ip_tables nfsd exportfs lockd sunrpc af_packet ipv6 snd_intel8x0 snd_ac97_codec snd_pcm snd_timer snd soundcore snd_page_alloc i2c_nforce2 i2c_core reiserfs capability commoncap ext3 jbd mbcache parport_pc parport pcspkr 8139cp shpchp pci_hotplug forcedeth amd64_agp agpgart ide_scsi tsdev mousedev evdev psmouse genrtc raid5 xor raid0 eth1394 8139too mii yenta_socket rsrc_nonstatic pcmcia_core sr_mod sbp2 sd_mod ide_cd cdrom ide_disk ide_generic pdc202xx_new aec62xx alim15x3 amd74xx atiixp cmd64x cs5520 cs5530 cy82c693 generic hpt34x ns87415 opti621 pdc202xx_old piix rz1000 sc1200 serverworks siimage sis5513 slc90e66 triflex trm290 via82cxxx floppy usb_storage ide_core ohci1394 ieee1394 vga16fb vgastate usbserial usbhid usbkbd ohci_hcd usbcore thermal processor fan sata_nv libata scsi_mod raid1 md un | ||
+ | Aug 3 04:28:19 geacequ kernel: x fbcon font bitblit vesafb cfbcopyarea cfbimgblt cfbfillrect | ||
+ | Aug 3 04:28:19 geacequ kernel: CPU: 0 | ||
+ | Aug 3 04:28:19 geacequ kernel: EIP: 0060:[pg0+949414365/1069908992] Not tainted VLI | ||
+ | Aug 3 04:28:19 geacequ kernel: EFLAGS: 00010217 (2.6.11-1-k7) | ||
+ | Aug 3 04:28:19 geacequ kernel: EIP is at reiserfs_clear_inode+0x1d/0x70 [reiserfs] | ||
+ | Aug 3 04:28:19 geacequ kernel: eax: f8d39b40 ebx: d929368c ecx: f7c80600 edx: 00010000 | ||
+ | Aug 3 04:28:19 geacequ kernel: esi: 00000000 edi: 00000011 ebp: dfe77ed8 esp: dfe77e90 | ||
+ | Aug 3 04:28:19 geacequ kernel: ds: 007b es: 007b ss: 0068 | ||
+ | Aug 3 04:28:19 geacequ kernel: Process kswapd0 (pid: 184, threadinfo=dfe76000 task=dfe44a80) | ||
+ | Aug 3 04:28:19 geacequ kernel: Stack: d92936d8 d92936d8 c016946e d92936d8 d92936d8 dfe77ed8 c01694ef d92936d8 | ||
+ | Aug 3 04:28:19 geacequ kernel: ffffffff dfe77eb4 e2778c40 e2778c38 00000080 c01697d9 dfe77ed8 c016a3c5 | ||
+ | Aug 3 04:28:19 geacequ kernel: 00000000 00000080 d9293858 cbf3d898 00000087 00000000 00000000 dfffea20 | ||
+ | Aug 3 04:28:19 geacequ kernel: Call Trace: | ||
+ | Aug 3 04:28:19 geacequ kernel: [clear_inode+222/288] clear_inode+0xde/0x120 | ||
+ | Aug 3 04:28:19 geacequ kernel: [dispose_list+63/128] dispose_list+0x3f/0x80 | ||
+ | Aug 3 04:28:19 geacequ kernel: [prune_icache+153/448] prune_icache+0x99/0x1c0 | ||
+ | Aug 3 04:28:19 geacequ kernel: [iput+85/112] iput+0x55/0x70 | ||
+ | Aug 3 04:28:19 geacequ kernel: [shrink_icache_memory+31/80] shrink_icache_memory+0x1f/0x50 | ||
+ | Aug 3 04:28:19 geacequ kernel: [shrink_slab+338/400] shrink_slab+0x152/0x190 | ||
+ | Aug 3 04:28:19 geacequ kernel: [balance_pgdat+662/864] balance_pgdat+0x296/0x360 | ||
+ | Aug 3 04:28:19 geacequ kernel: [kswapd+222/256] kswapd+0xde/0x100 | ||
+ | Aug 3 04:28:19 geacequ kernel: [autoremove_wake_function+0/96] autoremove_wake_function+0x0/0x60 | ||
+ | Aug 3 04:28:19 geacequ kernel: [autoremove_wake_function+0/96] autoremove_wake_function+0x0/0x60 | ||
+ | Aug 3 04:28:19 geacequ kernel: [kswapd+0/256] kswapd+0x0/0x100 | ||
+ | Aug 3 04:28:19 geacequ kernel: [kernel_thread_helper+5/20] kernel_thread_helper+0x5/0x14 | ||
+ | Aug 3 04:28:19 geacequ kernel: Code: 89 34 24 89 44 24 04 e8 32 28 01 00 eb a2 83 ec 08 89 5c 24 04 8b 5c 24 0c 83 eb 4c 8b 53 38 85 d2 74 11 81 fa 18 fc ff ff 77 09 <ff> 0a 0f 94 c0 84 c0 75 38 8b 53 3c c7 43 38 00 00 00 00 85 d2 | ||
+ | </nowiki></pre> |
Revisión del 06:57 3 ago 2006
Contenido
Compilando
* Building your own v2.6.x Kernel in the Debian manner
Resumen
apt-get install linux-source-2.6.12 cd /usr/src tar jxf linux-source-2.6.12.tar.bz2 cd linux-source-2.6.12 apt-get install libncurses5-dev make menuconfig apt-get install kernel-package make-kpkg --initrd --revision examplerev01 kernel_image make-kpkg --initrd --revision examplerev01 kernel_headers cd .. dpkg -i kernel-image-2.6.8_2.6.8-3examplerev01_i386.deb dpkg -i kernel-headers-2.6.8_2.6.8-3examplerev01_i386.deb mkinitrd /boot/config-2.6.8 2.6.8
Errores
After first booting before building a new kernel image
VFS: Cannot open root device "302" or unknown-block(3,2) Please append a correct "root=" boot option Kernel panic: VFS: Unable to mount root fs on unknown-block(3,2)
I found two posibilities:
* You don't have your root fstype loaded into the kernel
OR
* You are not using the initrd.img, to create one:
mkinitrd -o /boot/initrd.img-2.6.3 /lib/modules/2.6.3
then add it to your lilo.conf
Kernel Panic
/sbin/init: 431: cannot open dev/console: no such file Kernel Panic - not syncing: Attempted to kill init!
Por alguna razon desconocida (algun upgrade) se cambio el device /boot/grub/menu.lst de hda2 a hda1 con cambiarlo se arreglo. Para esto hay que bootear con un INSERT o similar
Colgada con RaiserFS
Aug 3 04:15:01 geacequ kernel: ReiserFS: hdc1: found reiserfs format "3.6" with standard journal Aug 3 04:15:07 geacequ kernel: ReiserFS: hdc1: using ordered data mode Aug 3 04:15:07 geacequ kernel: ReiserFS: hdc1: journal params: device hdc1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 Aug 3 04:15:07 geacequ kernel: ReiserFS: hdc1: checking transaction log (hdc1) Aug 3 04:15:07 geacequ kernel: ReiserFS: hdc1: Using r5 hash to sort names Aug 3 04:28:19 geacequ kernel: Unable to handle kernel paging request at virtual address 00010000 Aug 3 04:28:19 geacequ kernel: printing eip: Aug 3 04:28:19 geacequ kernel: f8d149dd Aug 3 04:28:19 geacequ kernel: *pde = 00000000 Aug 3 04:28:19 geacequ kernel: Oops: 0002 [#1] Aug 3 04:28:19 geacequ kernel: Modules linked in: nls_cp437 isofs ipt_MARK ipt_mark iptable_mangle ip_nat_ftp ip_nat_irc iptable_nat ipt_REJECT ip_conntrack_ftp ip_conntrack_irc iptable_filter ipt_state ip_conntrack ip_tables nfsd exportfs lockd sunrpc af_packet ipv6 snd_intel8x0 snd_ac97_codec snd_pcm snd_timer snd soundcore snd_page_alloc i2c_nforce2 i2c_core reiserfs capability commoncap ext3 jbd mbcache parport_pc parport pcspkr 8139cp shpchp pci_hotplug forcedeth amd64_agp agpgart ide_scsi tsdev mousedev evdev psmouse genrtc raid5 xor raid0 eth1394 8139too mii yenta_socket rsrc_nonstatic pcmcia_core sr_mod sbp2 sd_mod ide_cd cdrom ide_disk ide_generic pdc202xx_new aec62xx alim15x3 amd74xx atiixp cmd64x cs5520 cs5530 cy82c693 generic hpt34x ns87415 opti621 pdc202xx_old piix rz1000 sc1200 serverworks siimage sis5513 slc90e66 triflex trm290 via82cxxx floppy usb_storage ide_core ohci1394 ieee1394 vga16fb vgastate usbserial usbhid usbkbd ohci_hcd usbcore thermal processor fan sata_nv libata scsi_mod raid1 md un Aug 3 04:28:19 geacequ kernel: x fbcon font bitblit vesafb cfbcopyarea cfbimgblt cfbfillrect Aug 3 04:28:19 geacequ kernel: CPU: 0 Aug 3 04:28:19 geacequ kernel: EIP: 0060:[pg0+949414365/1069908992] Not tainted VLI Aug 3 04:28:19 geacequ kernel: EFLAGS: 00010217 (2.6.11-1-k7) Aug 3 04:28:19 geacequ kernel: EIP is at reiserfs_clear_inode+0x1d/0x70 [reiserfs] Aug 3 04:28:19 geacequ kernel: eax: f8d39b40 ebx: d929368c ecx: f7c80600 edx: 00010000 Aug 3 04:28:19 geacequ kernel: esi: 00000000 edi: 00000011 ebp: dfe77ed8 esp: dfe77e90 Aug 3 04:28:19 geacequ kernel: ds: 007b es: 007b ss: 0068 Aug 3 04:28:19 geacequ kernel: Process kswapd0 (pid: 184, threadinfo=dfe76000 task=dfe44a80) Aug 3 04:28:19 geacequ kernel: Stack: d92936d8 d92936d8 c016946e d92936d8 d92936d8 dfe77ed8 c01694ef d92936d8 Aug 3 04:28:19 geacequ kernel: ffffffff dfe77eb4 e2778c40 e2778c38 00000080 c01697d9 dfe77ed8 c016a3c5 Aug 3 04:28:19 geacequ kernel: 00000000 00000080 d9293858 cbf3d898 00000087 00000000 00000000 dfffea20 Aug 3 04:28:19 geacequ kernel: Call Trace: Aug 3 04:28:19 geacequ kernel: [clear_inode+222/288] clear_inode+0xde/0x120 Aug 3 04:28:19 geacequ kernel: [dispose_list+63/128] dispose_list+0x3f/0x80 Aug 3 04:28:19 geacequ kernel: [prune_icache+153/448] prune_icache+0x99/0x1c0 Aug 3 04:28:19 geacequ kernel: [iput+85/112] iput+0x55/0x70 Aug 3 04:28:19 geacequ kernel: [shrink_icache_memory+31/80] shrink_icache_memory+0x1f/0x50 Aug 3 04:28:19 geacequ kernel: [shrink_slab+338/400] shrink_slab+0x152/0x190 Aug 3 04:28:19 geacequ kernel: [balance_pgdat+662/864] balance_pgdat+0x296/0x360 Aug 3 04:28:19 geacequ kernel: [kswapd+222/256] kswapd+0xde/0x100 Aug 3 04:28:19 geacequ kernel: [autoremove_wake_function+0/96] autoremove_wake_function+0x0/0x60 Aug 3 04:28:19 geacequ kernel: [autoremove_wake_function+0/96] autoremove_wake_function+0x0/0x60 Aug 3 04:28:19 geacequ kernel: [kswapd+0/256] kswapd+0x0/0x100 Aug 3 04:28:19 geacequ kernel: [kernel_thread_helper+5/20] kernel_thread_helper+0x5/0x14 Aug 3 04:28:19 geacequ kernel: Code: 89 34 24 89 44 24 04 e8 32 28 01 00 eb a2 83 ec 08 89 5c 24 04 8b 5c 24 0c 83 eb 4c 8b 53 38 85 d2 74 11 81 fa 18 fc ff ff 77 09 <ff> 0a 0f 94 c0 84 c0 75 38 8b 53 3c c7 43 38 00 00 00 00 85 d2