y_nik | 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 :
- sudo su
- #je tape mon password
- apt-get install kernel-package libncurses5-dev fakeroot wget bzip2 build-essential
- cd /usr/src
- wget http://www.kernel.org/pub/linux/ke [...] .bz2 # je télécharge la source la plus récente
- tar jxvf linux-2.6.35.tar.bz2
- cd linux-*
- make mrproper
- cp /boot/config-2.6.32-21-generic .config #reprend l'ancienne config
- make oldconfig
- make 2>errors # compile puis m'écris les erreurs dans un fichier "errors"
- make modules_install
- make install
- 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 :
- fs/btrfs/ordered-data.c: In function ‘tree_search’:
- fs/btrfs/ordered-data.c:144: warning: ‘prev’ may be used uninitialized in this function
- fs/btrfs/ordered-data.c: In function ‘btrfs_lookup_first_ordered_extent’:
- fs/btrfs/ordered-data.c:144: warning: ‘prev’ may be used uninitialized in this function
- fs/btrfs/ordered-data.c:144: note: ‘prev’ was declared here
- fs/btrfs/ordered-data.c: In function ‘btrfs_lookup_ordered_extent’:
- fs/btrfs/ordered-data.c:144: warning: ‘prev’ may be used uninitialized in this function
- fs/btrfs/ordered-data.c:144: note: ‘prev’ was declared here
- fs/btrfs/ordered-data.c: In function ‘btrfs_lookup_ordered_range’:
- fs/btrfs/ordered-data.c:144: warning: ‘prev’ may be used uninitialized in this function
- fs/btrfs/ordered-data.c:144: note: ‘prev’ was declared here
- fs/btrfs/ordered-data.c: In function ‘btrfs_dec_test_ordered_pending’:
- fs/btrfs/ordered-data.c:144: warning: ‘prev’ may be used uninitialized in this function
- fs/btrfs/ordered-data.c:144: note: ‘prev’ was declared here
- fs/ncpfs/inode.c: In function ‘ncp_fill_super’:
- fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[1u]’ may be used uninitialized in this function
- fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[2u]’ may be used uninitialized in this function
- fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[3u]’ may be used uninitialized in this function
- fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[4u]’ may be used uninitialized in this function
- fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[5u]’ may be used uninitialized in this function
- fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[6u]’ may be used uninitialized in this function
- fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[7u]’ may be used uninitialized in this function
- fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[8u]’ may be used uninitialized in this function
- fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[9u]’ may be used uninitialized in this function
- fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[10u]’ may be used uninitialized in this function
- fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[11u]’ may be used uninitialized in this function
- fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[12u]’ may be used uninitialized in this function
- fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[13u]’ may be used uninitialized in this function
- fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[14u]’ may be used uninitialized in this function
- fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[15u]’ may be used uninitialized in this function
- fs/ncpfs/inode.c:435: warning: ‘data.mounted_vol[16u]’ may be used uninitialized in this function
- drivers/char/tpm/tpm.c:1085: warning: ‘tpm_suspend_setup’ defined but not used
- drivers/infiniband/hw/amso1100/c2_vq.c: In function ‘vq_req_alloc’:
- drivers/infiniband/hw/amso1100/c2_vq.c:110: warning: cast from pointer to integer of different size
- drivers/infiniband/hw/amso1100/c2_vq.c: In function ‘vq_req_free’:
- drivers/infiniband/hw/amso1100/c2_vq.c:126: warning: cast from pointer to integer of different size
- drivers/infiniband/hw/amso1100/c2_vq.c: In function ‘vq_req_put’:
- drivers/infiniband/hw/amso1100/c2_vq.c:154: warning: cast from pointer to integer of different size
- In file included from /usr/src/linux-2.6.35/arch/x86/include/asm/uaccess.h:571,
- from include/net/checksum.h:25,
- from include/linux/skbuff.h:28,
- from drivers/isdn/hardware/avm/b1.c:17:
- In function ‘copy_from_user’,
- inlined from ‘b1_load_t4file’ at drivers/isdn/hardware/avm/b1.c:179:
- /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
- In function ‘copy_from_user’,
- inlined from ‘b1_load_config’ at drivers/isdn/hardware/avm/b1.c:227:
- /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
- drivers/isdn/icn/icn.c:721:4: warning: #warning TODO test headroom or use skb->nb to flag ACK
- In file included from /usr/src/linux-2.6.35/arch/x86/include/asm/uaccess.h:571,
- from include/net/checksum.h:25,
- from include/linux/skbuff.h:28,
- from include/linux/isdnif.h:57,
- from drivers/isdn/icn/icn.h:51,
- from drivers/isdn/icn/icn.c:12:
- In function ‘copy_from_user’,
- inlined from ‘icn_writecmd’ at drivers/isdn/icn/icn.c:1048:
- /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
- drivers/isdn/sc/init.c: In function ‘identify_board’:
- drivers/isdn/sc/init.c:487: warning: passing argument 1 of ‘readl’ makes pointer from integer without a cast
- /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’
- drivers/isdn/sc/init.c:497: warning: passing argument 1 of ‘readl’ makes pointer from integer without a cast
- /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’
- drivers/isdn/sc/init.c:507: warning: passing argument 1 of ‘readl’ makes pointer from integer without a cast
- /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’
- In file included from drivers/mca/mca-legacy.c:31:
- include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api"
- In file included from drivers/mca/mca-legacy.c:31:
- include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api"
- drivers/net/phy/marvell.c:652: warning: ‘marvell_tbl’ defined but not used
- drivers/net/phy/davicom.c:222: warning: ‘davicom_tbl’ defined but not used
- drivers/net/phy/cicada.c:162: warning: ‘cicada_tbl’ defined but not used
- drivers/net/phy/lxt.c:226: warning: ‘lxt_tbl’ defined but not used
- drivers/net/phy/qsemi.c:141: warning: ‘qs6612_tbl’ defined but not used
- drivers/net/phy/smsc.c:257: warning: ‘smsc_tbl’ defined but not used
- drivers/net/phy/vitesse.c:195: warning: ‘vitesse_tbl’ defined but not used
- drivers/net/phy/broadcom.c:912: warning: ‘broadcom_tbl’ defined but not used
- drivers/net/phy/icplus.c:135: warning: ‘icplus_tbl’ defined but not used
- drivers/net/phy/realtek.c:82: warning: ‘realtek_tbl’ defined but not used
- drivers/net/phy/et1011c.c:114: warning: ‘et1011c_tbl’ defined but not used
- drivers/net/phy/national.c:154: warning: ‘ns_tbl’ defined but not used
- drivers/net/phy/ste10Xp.c:135: warning: ‘ste10Xp_tbl’ defined but not used
- In file included from drivers/net/tokenring/smctr.c:43:
- include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api"
- drivers/net/vxge/vxge-main.c: In function ‘vxge_probe’:
- drivers/net/vxge/vxge-main.c:4430: warning: the frame size of 1028 bytes is larger than 1024 bytes
- drivers/net/wan/cycx_x25.c: In function ‘hex_dump’:
- drivers/net/wan/cycx_x25.c:1030: warning: the frame size of 1040 bytes is larger than 1024 bytes
- In file included from drivers/net/ne2.c:72:
- include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api"
- In file included from drivers/net/at1700.c:41:
- include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api"
- In file included from drivers/net/3c523.c:104:
- include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api"
- In file included from drivers/net/3c527.c:96:
- include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api"
- In file included from drivers/net/eexpress.c:114:
- include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api"
- drivers/scsi/lpfc/lpfc_debugfs.c: In function ‘T.965’:
- drivers/scsi/lpfc/lpfc_debugfs.c:429: warning: the frame size of 1048 bytes is larger than 1024 bytes
- drivers/scsi/mpt2sas/mpt2sas_scsih.c: In function ‘_scsih_sas_control_complete’:
- drivers/scsi/mpt2sas/mpt2sas_scsih.c:2645: warning: unused variable ‘mpi_reply’
- drivers/scsi/advansys.c:72:2: warning: #warning this driver is still not properly converted to the DMA API
- In file included from drivers/scsi/aha1542.c:41:
- include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api"
- In file included from drivers/scsi/fd_mcs.c:93:
- include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api"
- drivers/staging/cx25821/cx25821-video.c: In function ‘cx25821_vidioc_s_frequency’:
- drivers/staging/cx25821/cx25821-video.c:975: warning: ‘dev’ may be used uninitialized in this function
- drivers/staging/pohmelfs/inode.c: In function ‘pohmelfs_put_super’:
- drivers/staging/pohmelfs/inode.c:1269: warning: ‘count’ may be used uninitialized in this function
- drivers/staging/quatech_usb2/quatech_usb2.c:1852: warning: ‘qt2_box_flush’ defined but not used
- drivers/staging/rt2860/common/mlme.c: In function ‘BssTableSortByRssi’:
- drivers/staging/rt2860/common/mlme.c:4201: warning: the frame size of 1572 bytes is larger than 1024 bytes
- drivers/staging/rt2860/common/cmm_aes.c: In function ‘AES_GTK_KEY_WRAP’:
- drivers/staging/rt2860/common/cmm_aes.c:1250: warning: the frame size of 1092 bytes is larger than 1024 bytes
- drivers/staging/rt2860/sta/sync.c: In function ‘PeerBeaconAtScanAction’:
- drivers/staging/rt2860/sta/sync.c:663: warning: the frame size of 1252 bytes is larger than 1024 bytes
- drivers/staging/rt2860/sta/sync.c: In function ‘PeerBeacon’:
- drivers/staging/rt2860/sta/sync.c:1698: warning: the frame size of 1304 bytes is larger than 1024 bytes
- drivers/staging/rt2860/sta/sync.c: In function ‘PeerBeaconAtJoinAction’:
- drivers/staging/rt2860/sta/sync.c:1033: warning: the frame size of 1260 bytes is larger than 1024 bytes
- drivers/staging/rt2860/sta/sync.c: In function ‘MlmeStartReqAction’:
- drivers/staging/rt2860/sta/sync.c:545: warning: the frame size of 1064 bytes is larger than 1024 bytes
- drivers/staging/rt2860/sta/connect.c: In function ‘CntlOidScanProc’:
- drivers/staging/rt2860/sta/connect.c:321: warning: the frame size of 1600 bytes is larger than 1024 bytes
- drivers/staging/rt2860/rt_linux.c: In function ‘send_monitor_packets’:
- drivers/staging/rt2860/rt_linux.c:906: warning: the frame size of 1084 bytes is larger than 1024 bytes
- drivers/staging/rt2860/sta_ioctl.c: In function ‘rt_ioctl_iwaplist’:
- drivers/staging/rt2860/sta_ioctl.c:722: warning: the frame size of 1288 bytes is larger than 1024 bytes
- drivers/staging/rt2860/sta_ioctl.c: In function ‘rt_ioctl_siwmlme’:
- drivers/staging/rt2860/sta_ioctl.c:1619: warning: the frame size of 1584 bytes is larger than 1024 bytes
- In file included from drivers/staging/rt2870/common/mlme.c:1:
- drivers/staging/rt2870/common/../../rt2860/common/mlme.c: In function ‘BssTableSortByRssi’:
- drivers/staging/rt2870/common/../../rt2860/common/mlme.c:4201: warning: the frame size of 1572 bytes is larger than 1024 bytes
- In file included from drivers/staging/rt2870/common/cmm_aes.c:1:
- drivers/staging/rt2870/common/../../rt2860/common/cmm_aes.c: In function ‘AES_GTK_KEY_WRAP’:
- drivers/staging/rt2870/common/../../rt2860/common/cmm_aes.c:1250: warning: the frame size of 1092 bytes is larger than 1024 bytes
- In file included from drivers/staging/rt2870/sta/sync.c:1:
- drivers/staging/rt2870/sta/../../rt2860/sta/sync.c: In function ‘PeerBeaconAtScanAction’:
- drivers/staging/rt2870/sta/../../rt2860/sta/sync.c:663: warning: the frame size of 1252 bytes is larger than 1024 bytes
- In file included from drivers/staging/rt2870/sta/sync.c:1:
- drivers/staging/rt2870/sta/../../rt2860/sta/sync.c: In function ‘PeerBeacon’:
- drivers/staging/rt2870/sta/../../rt2860/sta/sync.c:1698: warning: the frame size of 1312 bytes is larger than 1024 bytes
- In file included from drivers/staging/rt2870/sta/sync.c:1:
- drivers/staging/rt2870/sta/../../rt2860/sta/sync.c: In function ‘PeerBeaconAtJoinAction’:
- drivers/staging/rt2870/sta/../../rt2860/sta/sync.c:1033: warning: the frame size of 1260 bytes is larger than 1024 bytes
- drivers/staging/rt2870/sta/../../rt2860/sta/sync.c: In function ‘MlmeStartReqAction’:
- drivers/staging/rt2870/sta/../../rt2860/sta/sync.c:545: warning: the frame size of 1064 bytes is larger than 1024 bytes
- In file included from drivers/staging/rt2870/sta/connect.c:1:
- drivers/staging/rt2870/sta/../../rt2860/sta/connect.c: In function ‘CntlOidScanProc’:
- drivers/staging/rt2870/sta/../../rt2860/sta/connect.c:321: warning: the frame size of 1600 bytes is larger than 1024 bytes
- In file included from drivers/staging/rt2870/rt_linux.c:1:
- drivers/staging/rt2870/../rt2860/rt_linux.c: In function ‘send_monitor_packets’:
- drivers/staging/rt2870/../rt2860/rt_linux.c:906: warning: the frame size of 1084 bytes is larger than 1024 bytes
- In file included from drivers/staging/rt2870/sta_ioctl.c:1:
- drivers/staging/rt2870/../rt2860/sta_ioctl.c: In function ‘rt_ioctl_iwaplist’:
- drivers/staging/rt2870/../rt2860/sta_ioctl.c:722: warning: the frame size of 1288 bytes is larger than 1024 bytes
- drivers/staging/rt2870/../rt2860/sta_ioctl.c: In function ‘rt_ioctl_siwmlme’:
- drivers/staging/rt2870/../rt2860/sta_ioctl.c:1619: warning: the frame size of 1584 bytes is larger than 1024 bytes
- drivers/staging/vt6656/main_usb.c: In function ‘device_ioctl’:
- drivers/staging/vt6656/main_usb.c:2145: warning: the frame size of 1868 bytes is larger than 1024 bytes
- drivers/staging/vt6656/iwctl.c: In function ‘iwctl_giwaplist’:
- drivers/staging/vt6656/iwctl.c:874: warning: the frame size of 1292 bytes is larger than 1024 bytes
- In file included from /usr/src/linux-2.6.35/arch/x86/include/asm/uaccess.h:571,
- from include/net/checksum.h:25,
- from include/linux/skbuff.h:28,
- from include/linux/if_ether.h:125,
- from include/linux/netdevice.h:29,
- from drivers/staging/vt6656/device.h:40,
- from drivers/staging/vt6656/wpactl.h:32,
- from drivers/staging/vt6656/wpactl.c:34:
- In function ‘copy_from_user’,
- inlined from ‘wpa_set_keys’ at drivers/staging/vt6656/wpactl.c:239:
- /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
- In function ‘copy_from_user’,
- inlined from ‘wpa_set_keys’ at drivers/staging/vt6656/wpactl.c:279:
- /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
- drivers/staging/winbond/phy_calibration.c: In function ‘_rx_iq_calibration_loop_winbond’:
- drivers/staging/winbond/phy_calibration.c:1249: warning: ‘val’ is used uninitialized in this function
- In file included from drivers/staging/wlan-ng/prism2usb.c:5:
- drivers/staging/wlan-ng/prism2fw.c: In function ‘T.1115’:
- drivers/staging/wlan-ng/prism2fw.c:795: warning: the frame size of 1076 bytes is larger than 1024 bytes
- drivers/staging/wlan-ng/prism2fw.c: In function ‘T.1111’:
- drivers/staging/wlan-ng/prism2fw.c:1116: warning: the frame size of 4252 bytes is larger than 1024 bytes
- drivers/staging/wlan-ng/p80211wext.c: In function ‘p80211wext_siwretry’:
- drivers/staging/wlan-ng/p80211wext.c:998: warning: unused variable ‘mibitem’
- drivers/staging/wlan-ng/p80211wext.c: In function ‘p80211wext_siwtxpow’:
- drivers/staging/wlan-ng/p80211wext.c:1061: warning: unused variable ‘msg’
- drivers/staging/wlan-ng/p80211wext.c:1060: warning: unused variable ‘mibitem’
- drivers/video/via/via-gpio.c: In function ‘viafb_gpio_probe’:
- drivers/video/via/via-gpio.c:216: warning: assignment from incompatible pointer type
- drivers/video/s1d13xxxfb.c:421: warning: ‘bltbit_wait_bitset’ defined but not used
- drivers/video/s1d13xxxfb.c:464: warning: ‘bltbit_fifo_status’ defined but not used
- In file included from /usr/src/linux-2.6.35/arch/x86/include/asm/uaccess.h:571,
- from sound/oss/os.h:21,
- from sound/oss/sound_config.h:20,
- from sound/oss/sb_audio.c:27:
- In function ‘copy_from_user’,
- inlined from ‘sb16_copy_from_user’ at sound/oss/sb_audio.c:905:
- /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
- firmware/ihex2fw.c: In function ‘output_records’:
- firmware/ihex2fw.c:261: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
- firmware/ihex2fw.c:266: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
- lib/decompress_bunzip2.c: In function ‘get_next_block’:
- lib/decompress_bunzip2.c:511: warning: the frame size of 1932 bytes is larger than 1024 bytes
- WARNING: modpost: Found 49 section mismatch(es).
- To see full details build your kernel with:
- 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
- arch/x86/boot/compressed/mkpiggy.c: In function ‘main’:
- arch/x86/boot/compressed/mkpiggy.c:65: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
- Root device is (8, 1)
- Setup is 13292 bytes (padded to 13312 bytes).
- System is 4005 kB
- CRC a1ffc963
- WARNING: modpost: Found 53 section mismatch(es).
- To see full details build your kernel with:
- 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
|
Message édité par y_nik le 10-08-2010 à 22:19:00
|