Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1769 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs
  Installation

  [UBUNTU] + [KERNEL PANIC] problème avec compilation kernel...

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

[UBUNTU] + [KERNEL PANIC] problème avec compilation kernel...

n°1232340
y_nik
Posté le 10-08-2010 à 22:16:33  profilanswer
 

Bonsoir tout le monde,
 
voilà, j'ai quelques soucis suite à une compilation de kernel sous ubuntu...
 
Je dois avoir une noyau supérieur à la 2.6.33 pour pouvoir utiliser la fonction "TRIM" de mon SSD. (donc je prend la dernière...)
 
J'ai donc cherché divers tutos et aide pour une compilation de noyau, c'est mon 3ème essai et j'arrive systématiquement sur un kernel panic...
 
Je chercher à compiler le noyau 2.6.35 depuis une 2.6.32-21 "Lucid Lynx"...
 
Je comprend pas trop ce que je fais de faux ou pouquoi ça plante car je me sers de l'ancien fichier de config et fais un make oldconfig...
 
voilà les commandes que j'ai effectué: principalement suivi ce tuto:
http://www.tux-planet.fr/compilation-du-noyau-linux/

Code :
  1. sudo su
  2. #je tape mon password
  3. apt-get install kernel-package libncurses5-dev fakeroot wget bzip2 build-essential
  4. cd /usr/src
  5. wget http://www.kernel.org/pub/linux/ke [...] .bz2  # je télécharge la source la plus récente
  6. tar jxvf linux-2.6.35.tar.bz2
  7. cd linux-*
  8. make mrproper
  9. cp /boot/config-2.6.32-21-generic .config #reprend l'ancienne config
  10. make oldconfig
  11. make 2>errors # compile puis m'écris les erreurs dans un fichier "errors"
  12. make modules_install
  13. make install
  14. update-grub


Mais si j'appuis sur SHIFT lors du boot et que je choisis l'ancien kernel, j'ai pas de soucis
 
les liens que j'ai essayer de suivre: (si quelqu'un à un problème similaire...)
http://www.commentcamarche.net/for [...] rnel-panic
http://www.infos-du-net.com/forum/ [...] nel-ubuntu
http://forum.hardware.fr/hfr/OSAlt [...] 2485_1.htm
http://formation-debian.via.ecp.fr [...] n_du_noyau
http://www.developpez.net/forums/d [...] -2-6-22-a/
http://formation-debian.via.ecp.fr [...] n_du_noyau
 
mon message d'erreur lors du boot (prit en photo) :
http://img576.imageshack.us/img576/9783/55132710.jpg
 
et voilà mon fichier "errors" créer lors du make, est-ce que l'erreur pourrait venir de cette étape là?

Merci beaucoup d'avance et bonne soirée à tous.

Code :
  1. fs/btrfs/ordered-data.c: In function ‘tree_search’:
  2. fs/btrfs/ordered-data.c:144: warning: ‘prev’ may be used uninitialized in this function
  3. fs/btrfs/ordered-data.c: In function ‘btrfs_lookup_first_ordered_extent’:
  4. fs/btrfs/ordered-data.c:144: warning: ‘prev’ may be used uninitialized in this function
  5. fs/btrfs/ordered-data.c:144: note: ‘prev’ was declared here
  6. fs/btrfs/ordered-data.c: In function ‘btrfs_lookup_ordered_extent’:
  7. fs/btrfs/ordered-data.c:144: warning: ‘prev’ may be used uninitialized in this function
  8. fs/btrfs/ordered-data.c:144: note: ‘prev’ was declared here
  9. fs/btrfs/ordered-data.c: In function ‘btrfs_lookup_ordered_range’:
  10. fs/btrfs/ordered-data.c:144: warning: ‘prev’ may be used uninitialized in this function
  11. fs/btrfs/ordered-data.c:144: note: ‘prev’ was declared here
  12. fs/btrfs/ordered-data.c: In function ‘btrfs_dec_test_ordered_pending’:
  13. fs/btrfs/ordered-data.c:144: warning: ‘prev’ may be used uninitialized in this function
  14. fs/btrfs/ordered-data.c:144: note: ‘prev’ was declared here
  15. fs/ncpfs/inode.c: In function ‘ncp_fill_super’:
  16. fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[1u]’ may be used uninitialized in this function
  17. fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[2u]’ may be used uninitialized in this function
  18. fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[3u]’ may be used uninitialized in this function
  19. fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[4u]’ may be used uninitialized in this function
  20. fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[5u]’ may be used uninitialized in this function
  21. fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[6u]’ may be used uninitialized in this function
  22. fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[7u]’ may be used uninitialized in this function
  23. fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[8u]’ may be used uninitialized in this function
  24. fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[9u]’ may be used uninitialized in this function
  25. fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[10u]’ may be used uninitialized in this function
  26. fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[11u]’ may be used uninitialized in this function
  27. fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[12u]’ may be used uninitialized in this function
  28. fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[13u]’ may be used uninitialized in this function
  29. fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[14u]’ may be used uninitialized in this function
  30. fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[15u]’ may be used uninitialized in this function
  31. fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[16u]’ may be used uninitialized in this function
  32. drivers/char/tpm/tpm.c:1085: warning: ‘tpm_suspend_setup’ defined but not used
  33. drivers/infiniband/hw/amso1100/c2_vq.c: In function ‘vq_req_alloc’:
  34. drivers/infiniband/hw/amso1100/c2_vq.c:110: warning: cast from pointer to integer of different size
  35. drivers/infiniband/hw/amso1100/c2_vq.c: In function ‘vq_req_free’:
  36. drivers/infiniband/hw/amso1100/c2_vq.c:126: warning: cast from pointer to integer of different size
  37. drivers/infiniband/hw/amso1100/c2_vq.c: In function ‘vq_req_put’:
  38. drivers/infiniband/hw/amso1100/c2_vq.c:154: warning: cast from pointer to integer of different size
  39. In file included from /usr/src/linux-2.6.35/arch/x86/include/asm/uaccess.h:571,
  40.                  from include/net/checksum.h:25,
  41.                  from include/linux/skbuff.h:28,
  42.                  from drivers/isdn/hardware/avm/b1.c:17:
  43. In function ‘copy_from_user’,
  44.     inlined from ‘b1_load_t4file’ at drivers/isdn/hardware/avm/b1.c:179:
  45. /usr/src/linux-2.6.35/arch/x86/include/asm/uaccess_32.h:212: warning: call to ‘copy_from_user_overflow’ declared with attribute warning: copy_from_user() buffer size is not provably correct
  46. In function ‘copy_from_user’,
  47.     inlined from ‘b1_load_config’ at drivers/isdn/hardware/avm/b1.c:227:
  48. /usr/src/linux-2.6.35/arch/x86/include/asm/uaccess_32.h:212: warning: call to ‘copy_from_user_overflow’ declared with attribute warning: copy_from_user() buffer size is not provably correct
  49. drivers/isdn/icn/icn.c:721:4: warning: #warning TODO test headroom or use skb->nb to flag ACK
  50. In file included from /usr/src/linux-2.6.35/arch/x86/include/asm/uaccess.h:571,
  51.                  from include/net/checksum.h:25,
  52.                  from include/linux/skbuff.h:28,
  53.                  from include/linux/isdnif.h:57,
  54.                  from drivers/isdn/icn/icn.h:51,
  55.                  from drivers/isdn/icn/icn.c:12:
  56. In function ‘copy_from_user’,
  57.     inlined from ‘icn_writecmd’ at drivers/isdn/icn/icn.c:1048:
  58. /usr/src/linux-2.6.35/arch/x86/include/asm/uaccess_32.h:212: warning: call to ‘copy_from_user_overflow’ declared with attribute warning: copy_from_user() buffer size is not provably correct
  59. drivers/isdn/sc/init.c: In function ‘identify_board’:
  60. drivers/isdn/sc/init.c:487: warning: passing argument 1 of ‘readl’ makes pointer from integer without a cast
  61. /usr/src/linux-2.6.35/arch/x86/include/asm/io.h:56: note: expected ‘const volatile void *’ but argument is of type ‘long unsigned int
  62. drivers/isdn/sc/init.c:497: warning: passing argument 1 of ‘readl’ makes pointer from integer without a cast
  63. /usr/src/linux-2.6.35/arch/x86/include/asm/io.h:56: note: expected ‘const volatile void *’ but argument is of type ‘long unsigned int
  64. drivers/isdn/sc/init.c:507: warning: passing argument 1 of ‘readl’ makes pointer from integer without a cast
  65. /usr/src/linux-2.6.35/arch/x86/include/asm/io.h:56: note: expected ‘const volatile void *’ but argument is of type ‘long unsigned int
  66. In file included from drivers/mca/mca-legacy.c:31:
  67. include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api"
  68. In file included from drivers/mca/mca-legacy.c:31:
  69. include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api"
  70. drivers/net/phy/marvell.c:652: warning: ‘marvell_tbl’ defined but not used
  71. drivers/net/phy/davicom.c:222: warning: ‘davicom_tbl’ defined but not used
  72. drivers/net/phy/cicada.c:162: warning: ‘cicada_tbl’ defined but not used
  73. drivers/net/phy/lxt.c:226: warning: ‘lxt_tbl’ defined but not used
  74. drivers/net/phy/qsemi.c:141: warning: ‘qs6612_tbl’ defined but not used
  75. drivers/net/phy/smsc.c:257: warning: ‘smsc_tbl’ defined but not used
  76. drivers/net/phy/vitesse.c:195: warning: ‘vitesse_tbl’ defined but not used
  77. drivers/net/phy/broadcom.c:912: warning: ‘broadcom_tbl’ defined but not used
  78. drivers/net/phy/icplus.c:135: warning: ‘icplus_tbl’ defined but not used
  79. drivers/net/phy/realtek.c:82: warning: ‘realtek_tbl’ defined but not used
  80. drivers/net/phy/et1011c.c:114: warning: ‘et1011c_tbl’ defined but not used
  81. drivers/net/phy/national.c:154: warning: ‘ns_tbl’ defined but not used
  82. drivers/net/phy/ste10Xp.c:135: warning: ‘ste10Xp_tbl’ defined but not used
  83. In file included from drivers/net/tokenring/smctr.c:43:
  84. include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api"
  85. drivers/net/vxge/vxge-main.c: In function ‘vxge_probe’:
  86. drivers/net/vxge/vxge-main.c:4430: warning: the frame size of 1028 bytes is larger than 1024 bytes
  87. drivers/net/wan/cycx_x25.c: In function ‘hex_dump’:
  88. drivers/net/wan/cycx_x25.c:1030: warning: the frame size of 1040 bytes is larger than 1024 bytes
  89. In file included from drivers/net/ne2.c:72:
  90. include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api"
  91. In file included from drivers/net/at1700.c:41:
  92. include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api"
  93. In file included from drivers/net/3c523.c:104:
  94. include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api"
  95. In file included from drivers/net/3c527.c:96:
  96. include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api"
  97. In file included from drivers/net/eexpress.c:114:
  98. include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api"
  99. drivers/scsi/lpfc/lpfc_debugfs.c: In function ‘T.965’:
  100. drivers/scsi/lpfc/lpfc_debugfs.c:429: warning: the frame size of 1048 bytes is larger than 1024 bytes
  101. drivers/scsi/mpt2sas/mpt2sas_scsih.c: In function ‘_scsih_sas_control_complete’:
  102. drivers/scsi/mpt2sas/mpt2sas_scsih.c:2645: warning: unused variable ‘mpi_reply’
  103. drivers/scsi/advansys.c:72:2: warning: #warning this driver is still not properly converted to the DMA API
  104. In file included from drivers/scsi/aha1542.c:41:
  105. include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api"
  106. In file included from drivers/scsi/fd_mcs.c:93:
  107. include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api"
  108. drivers/staging/cx25821/cx25821-video.c: In function ‘cx25821_vidioc_s_frequency’:
  109. drivers/staging/cx25821/cx25821-video.c:975: warning: ‘dev’ may be used uninitialized in this function
  110. drivers/staging/pohmelfs/inode.c: In function ‘pohmelfs_put_super’:
  111. drivers/staging/pohmelfs/inode.c:1269: warning: ‘count’ may be used uninitialized in this function
  112. drivers/staging/quatech_usb2/quatech_usb2.c:1852: warning: ‘qt2_box_flush’ defined but not used
  113. drivers/staging/rt2860/common/mlme.c: In function ‘BssTableSortByRssi’:
  114. drivers/staging/rt2860/common/mlme.c:4201: warning: the frame size of 1572 bytes is larger than 1024 bytes
  115. drivers/staging/rt2860/common/cmm_aes.c: In function ‘AES_GTK_KEY_WRAP’:
  116. drivers/staging/rt2860/common/cmm_aes.c:1250: warning: the frame size of 1092 bytes is larger than 1024 bytes
  117. drivers/staging/rt2860/sta/sync.c: In function ‘PeerBeaconAtScanAction’:
  118. drivers/staging/rt2860/sta/sync.c:663: warning: the frame size of 1252 bytes is larger than 1024 bytes
  119. drivers/staging/rt2860/sta/sync.c: In function ‘PeerBeacon’:
  120. drivers/staging/rt2860/sta/sync.c:1698: warning: the frame size of 1304 bytes is larger than 1024 bytes
  121. drivers/staging/rt2860/sta/sync.c: In function ‘PeerBeaconAtJoinAction’:
  122. drivers/staging/rt2860/sta/sync.c:1033: warning: the frame size of 1260 bytes is larger than 1024 bytes
  123. drivers/staging/rt2860/sta/sync.c: In function ‘MlmeStartReqAction’:
  124. drivers/staging/rt2860/sta/sync.c:545: warning: the frame size of 1064 bytes is larger than 1024 bytes
  125. drivers/staging/rt2860/sta/connect.c: In function ‘CntlOidScanProc’:
  126. drivers/staging/rt2860/sta/connect.c:321: warning: the frame size of 1600 bytes is larger than 1024 bytes
  127. drivers/staging/rt2860/rt_linux.c: In function ‘send_monitor_packets’:
  128. drivers/staging/rt2860/rt_linux.c:906: warning: the frame size of 1084 bytes is larger than 1024 bytes
  129. drivers/staging/rt2860/sta_ioctl.c: In function ‘rt_ioctl_iwaplist’:
  130. drivers/staging/rt2860/sta_ioctl.c:722: warning: the frame size of 1288 bytes is larger than 1024 bytes
  131. drivers/staging/rt2860/sta_ioctl.c: In function ‘rt_ioctl_siwmlme’:
  132. drivers/staging/rt2860/sta_ioctl.c:1619: warning: the frame size of 1584 bytes is larger than 1024 bytes
  133. In file included from drivers/staging/rt2870/common/mlme.c:1:
  134. drivers/staging/rt2870/common/../../rt2860/common/mlme.c: In function ‘BssTableSortByRssi’:
  135. drivers/staging/rt2870/common/../../rt2860/common/mlme.c:4201: warning: the frame size of 1572 bytes is larger than 1024 bytes
  136. In file included from drivers/staging/rt2870/common/cmm_aes.c:1:
  137. drivers/staging/rt2870/common/../../rt2860/common/cmm_aes.c: In function ‘AES_GTK_KEY_WRAP’:
  138. drivers/staging/rt2870/common/../../rt2860/common/cmm_aes.c:1250: warning: the frame size of 1092 bytes is larger than 1024 bytes
  139. In file included from drivers/staging/rt2870/sta/sync.c:1:
  140. drivers/staging/rt2870/sta/../../rt2860/sta/sync.c: In function ‘PeerBeaconAtScanAction’:
  141. drivers/staging/rt2870/sta/../../rt2860/sta/sync.c:663: warning: the frame size of 1252 bytes is larger than 1024 bytes
  142. In file included from drivers/staging/rt2870/sta/sync.c:1:
  143. drivers/staging/rt2870/sta/../../rt2860/sta/sync.c: In function ‘PeerBeacon’:
  144. drivers/staging/rt2870/sta/../../rt2860/sta/sync.c:1698: warning: the frame size of 1312 bytes is larger than 1024 bytes
  145. In file included from drivers/staging/rt2870/sta/sync.c:1:
  146. drivers/staging/rt2870/sta/../../rt2860/sta/sync.c: In function ‘PeerBeaconAtJoinAction’:
  147. drivers/staging/rt2870/sta/../../rt2860/sta/sync.c:1033: warning: the frame size of 1260 bytes is larger than 1024 bytes
  148. drivers/staging/rt2870/sta/../../rt2860/sta/sync.c: In function ‘MlmeStartReqAction’:
  149. drivers/staging/rt2870/sta/../../rt2860/sta/sync.c:545: warning: the frame size of 1064 bytes is larger than 1024 bytes
  150. In file included from drivers/staging/rt2870/sta/connect.c:1:
  151. drivers/staging/rt2870/sta/../../rt2860/sta/connect.c: In function ‘CntlOidScanProc’:
  152. drivers/staging/rt2870/sta/../../rt2860/sta/connect.c:321: warning: the frame size of 1600 bytes is larger than 1024 bytes
  153. In file included from drivers/staging/rt2870/rt_linux.c:1:
  154. drivers/staging/rt2870/../rt2860/rt_linux.c: In function ‘send_monitor_packets’:
  155. drivers/staging/rt2870/../rt2860/rt_linux.c:906: warning: the frame size of 1084 bytes is larger than 1024 bytes
  156. In file included from drivers/staging/rt2870/sta_ioctl.c:1:
  157. drivers/staging/rt2870/../rt2860/sta_ioctl.c: In function ‘rt_ioctl_iwaplist’:
  158. drivers/staging/rt2870/../rt2860/sta_ioctl.c:722: warning: the frame size of 1288 bytes is larger than 1024 bytes
  159. drivers/staging/rt2870/../rt2860/sta_ioctl.c: In function ‘rt_ioctl_siwmlme’:
  160. drivers/staging/rt2870/../rt2860/sta_ioctl.c:1619: warning: the frame size of 1584 bytes is larger than 1024 bytes
  161. drivers/staging/vt6656/main_usb.c: In function ‘device_ioctl’:
  162. drivers/staging/vt6656/main_usb.c:2145: warning: the frame size of 1868 bytes is larger than 1024 bytes
  163. drivers/staging/vt6656/iwctl.c: In function ‘iwctl_giwaplist’:
  164. drivers/staging/vt6656/iwctl.c:874: warning: the frame size of 1292 bytes is larger than 1024 bytes
  165. In file included from /usr/src/linux-2.6.35/arch/x86/include/asm/uaccess.h:571,
  166.                  from include/net/checksum.h:25,
  167.                  from include/linux/skbuff.h:28,
  168.                  from include/linux/if_ether.h:125,
  169.                  from include/linux/netdevice.h:29,
  170.                  from drivers/staging/vt6656/device.h:40,
  171.                  from drivers/staging/vt6656/wpactl.h:32,
  172.                  from drivers/staging/vt6656/wpactl.c:34:
  173. In function ‘copy_from_user’,
  174.     inlined from ‘wpa_set_keys’ at drivers/staging/vt6656/wpactl.c:239:
  175. /usr/src/linux-2.6.35/arch/x86/include/asm/uaccess_32.h:212: warning: call to ‘copy_from_user_overflow’ declared with attribute warning: copy_from_user() buffer size is not provably correct
  176. In function ‘copy_from_user’,
  177.     inlined from ‘wpa_set_keys’ at drivers/staging/vt6656/wpactl.c:279:
  178. /usr/src/linux-2.6.35/arch/x86/include/asm/uaccess_32.h:212: warning: call to ‘copy_from_user_overflow’ declared with attribute warning: copy_from_user() buffer size is not provably correct
  179. drivers/staging/winbond/phy_calibration.c: In function ‘_rx_iq_calibration_loop_winbond’:
  180. drivers/staging/winbond/phy_calibration.c:1249: warning: ‘val’ is used uninitialized in this function
  181. In file included from drivers/staging/wlan-ng/prism2usb.c:5:
  182. drivers/staging/wlan-ng/prism2fw.c: In function ‘T.1115’:
  183. drivers/staging/wlan-ng/prism2fw.c:795: warning: the frame size of 1076 bytes is larger than 1024 bytes
  184. drivers/staging/wlan-ng/prism2fw.c: In function ‘T.1111’:
  185. drivers/staging/wlan-ng/prism2fw.c:1116: warning: the frame size of 4252 bytes is larger than 1024 bytes
  186. drivers/staging/wlan-ng/p80211wext.c: In function ‘p80211wext_siwretry’:
  187. drivers/staging/wlan-ng/p80211wext.c:998: warning: unused variable ‘mibitem’
  188. drivers/staging/wlan-ng/p80211wext.c: In function ‘p80211wext_siwtxpow’:
  189. drivers/staging/wlan-ng/p80211wext.c:1061: warning: unused variable ‘msg’
  190. drivers/staging/wlan-ng/p80211wext.c:1060: warning: unused variable ‘mibitem’
  191. drivers/video/via/via-gpio.c: In function ‘viafb_gpio_probe’:
  192. drivers/video/via/via-gpio.c:216: warning: assignment from incompatible pointer type
  193. drivers/video/s1d13xxxfb.c:421: warning: ‘bltbit_wait_bitset’ defined but not used
  194. drivers/video/s1d13xxxfb.c:464: warning: ‘bltbit_fifo_status’ defined but not used
  195. In file included from /usr/src/linux-2.6.35/arch/x86/include/asm/uaccess.h:571,
  196.                  from sound/oss/os.h:21,
  197.                  from sound/oss/sound_config.h:20,
  198.                  from sound/oss/sb_audio.c:27:
  199. In function ‘copy_from_user’,
  200.     inlined from ‘sb16_copy_from_user’ at sound/oss/sb_audio.c:905:
  201. /usr/src/linux-2.6.35/arch/x86/include/asm/uaccess_32.h:212: warning: call to ‘copy_from_user_overflow’ declared with attribute warning: copy_from_user() buffer size is not provably correct
  202. firmware/ihex2fw.c: In function ‘output_records’:
  203. firmware/ihex2fw.c:261: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
  204. firmware/ihex2fw.c:266: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
  205. lib/decompress_bunzip2.c: In function ‘get_next_block’:
  206. lib/decompress_bunzip2.c:511: warning: the frame size of 1932 bytes is larger than 1024 bytes
  207. WARNING: modpost: Found 49 section mismatch(es).
  208. To see full details build your kernel with:
  209. 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
  210. arch/x86/boot/compressed/mkpiggy.c: In function ‘main’:
  211. arch/x86/boot/compressed/mkpiggy.c:65: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
  212. Root device is (8, 1)
  213. Setup is 13292 bytes (padded to 13312 bytes).
  214. System is 4005 kB
  215. CRC a1ffc963
  216. WARNING: modpost: Found 53 section mismatch(es).
  217. To see full details build your kernel with:
  218. 'make CONFIG_DEBUG_SECTION_MISMATCH=y'


Message édité par y_nik le 10-08-2010 à 22:19:00
mood
Publicité
Posté le 10-08-2010 à 22:16:33  profilanswer
 

n°1232368
thana54
made in concept
Posté le 11-08-2010 à 08:12:15  profilanswer
 

La compilation se fait bien ou pas du tout ?
Le mieux serait de créer des paquets .deb après le make (remplacer make modules_install et mak install par make deb-pkg), c'est plus propre pour désinstaller.

 

Dans mon cas, j'ai dû downgrader la version de initramfs-tools qui me créait des kernel panic du même genre.

 

[edit] le tuto que tu as suivi est un peu vieux (2007). Il se peut que la procédure ai changée depuis le temps.

 

[edit] un tuto qui me semble pas mal: http://linuxtweaking.blogspot.com/ [...] -1004.html


Message édité par thana54 le 11-08-2010 à 08:40:52
n°1232370
THRAK
- THR4K -
Posté le 11-08-2010 à 08:39:41  profilanswer
 

Pour commencer, le problème ne vient sans doute pas de la phase de compilation en elle-même, ça me paraît logique, puisque tu es quand même parvenu à compiler et installer ton nouveau noyau étant donné que tu peux sélectionner celui-ci à partir du menu GRUB lors du boot.
 
Ensuite, sachant que tu as utilisé un 'make oldconfig', il y a peu de chance que le problème vienne des options de compilation (ton fichier errors ne contient principalement que des 'warnings' ou avertissements, si c'était pas bon la compilation aurait de toute façon échouée).
 
 
Reste alors notamment 2 possibilités à l'étape où tu es parvenu :
 
- la plus probable : c'est un problème d'initrd. Ubuntu utilise des noyaux génériques avec le minimum de modules compilés en "dur", pour cela il est nécessaire d'utiliser conjointement des images initrd contenant les modules absolument nécessaires à la première phase d'initialisation du noyau (décompression de l'image vmlinuz à partir du disque système). Si tu n'as pas créé d'image initrd correspondant à ton nouveau noyau (à vérifier dans /boot), cherche pas plus loin, ça doit venir de là. Pour savoir comment procéder, cherche sur le net des tutos et docs relatifs au paquet initramfs-tools et aux commandes 'mkinitramfs' / 'update-initramfs'
 
- la moins probable (mais on ne sait jamais) : ton matos n'est toujours pas supporté par le 2.6.35...
 


---------------
THRAK (def.) : 1) A sudden and precise impact moving from intention, direction and commitment, in service of an aim. 2) 117 guitars almost striking the same chord simultaneously.
n°1232460
y_nik
Posté le 11-08-2010 à 14:59:55  profilanswer
 

Bonjour,
 
merci à vous deux, THRAK avait raison, mon problème était que je n'avais pas d'image initrd...
 
j'ai donc fais un  

Code :
  1. mkinitramfs -o initrd.img-2.6.35 2.6.35


puis remis le grub à jour avec  

Code :
  1. update-grub


 
et là, ça fonctionne :-)
 
Par contre, est-ce normale que ce soit énormément plus lent?
après l'affichage des infos BIOS, j'ai environ 10s avec un écran tout noir, puis 5s avec un écran noir mais un '_' clignotant en haut à gauche puis enfin le chargement du logo  d'ubuntu avec les points blancs qui deviennent rouges...
 
A noter que je n'ai pas encore branché mon SSD, je recommancerai l'installation complête lorsque tout sera au point :-)
 
Merci pour votre aide en tout cas!


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs
  Installation

  [UBUNTU] + [KERNEL PANIC] problème avec compilation kernel...

 

Sujets relatifs
[SOLVED][UBUNTU][DOMAINE SAMBA] Problème au logonproblème de collecte de logs iptables
[Bind]Problème de redirection [Resolu]Problème d'authentification AD avec Squid
probleme pour demonter un file systemGigabyte GA-H55-UD3H compatible avec Ubuntu ?
Aide sur partage samba ubuntuInstaller Ubuntu sur une session Mint?
faire coexister un ubuntu avec win7 sans CD de récup... 
Plus de sujets relatifs à : [UBUNTU] + [KERNEL PANIC] problème avec compilation kernel...


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR