Driver webcam intégrée microdia

Bonjour :slightly_smiling:
J’ai une webcam intégrée sur mon nouveau laptop (Dell Latitude E6440) mais elle n’est pas reconnue sous Debian

Lorsque je lance camorama :
’ Could not connect to video device (/dev/video0). Please check the connection. ’

J’aimerais savoir si quelqu’un a trouvé les pilotes à installer pour faire fonctionner cela :slightly_smiling:

PS : lsusb Bus 003 Device 003: ID 0c45:64d0 Microdia
Je ne sais pas pourquoi elle est détectée sur un bus usb.

déjà regarder

permettra peut être d y voir plus clair

D’après ce billet il y a des chances pour que le driver soit déjà dans le kernel: blog.zerodogg.org/2008/04/27/mic … -on-linux/
… bien que l’identifiant exact du périphérique ne correspond pas.
Le module qui gèrerait cette carte serait: [mono]sn9c20x[/mono]
Voir aussi: cateee.net/lkddb/web-lkddb/USB_G … 9C20X.html … où l’on trouve d’autres cams Microdia recensées, mais pas la tienne :-/

  1. tu peux déjà regarder dans [mono]dmesg[/mono] ce qui se dit au sujet de ta cam
  2. tu peux lister les modules chargés avec [mono]lsmod[/mono], et tu peux toujours tenter de le charger à la main avec [mono]modprobe sn9c20x[/mono], puis à nouveau voir ce qui se dit dans dmesg.

La caméra n’est pas détectée par lspci, mais par lsusb.

dmesg [ 86.268838] usb 3-1.5: Product: Laptop_Integrated_Webcam_HD

lsusb -v Bus 003 Device 003: ID 0c45:64d0 Microdia Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 239 Miscellaneous Device bDeviceSubClass 2 ? bDeviceProtocol 1 Interface Association bMaxPacketSize0 64 idVendor 0x0c45 Microdia idProduct 0x64d0 bcdDevice 42.14 iManufacturer 2 iProduct 1 iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 687 bNumInterfaces 2 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 500mA ** UNRECOGNIZED: 28 ff 42 49 53 54 00 01 06 01 10 00 00 00 00 00 d1 10 f4 01 d2 11 f4 01 d3 12 f4 01 d4 13 f4 01 d5 14 f4 01 d6 15 f4 01 Interface Association: bLength 8 bDescriptorType 11 bFirstInterface 0 bInterfaceCount 2 bFunctionClass 14 Video bFunctionSubClass 3 Video Interface Collection bFunctionProtocol 0 iFunction 5 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 1 Video Control bInterfaceProtocol 0 iInterface 5 VideoControl Interface Descriptor: bLength 13 bDescriptorType 36 bDescriptorSubtype 1 (HEADER) bcdUVC 1.00 wTotalLength 103 dwClockFrequency 15.000000MHz bInCollection 1 baInterfaceNr( 0) 1 VideoControl Interface Descriptor: bLength 9 bDescriptorType 36 bDescriptorSubtype 3 (OUTPUT_TERMINAL) bTerminalID 5 wTerminalType 0x0101 USB Streaming bAssocTerminal 0 bSourceID 4 iTerminal 0 VideoControl Interface Descriptor: bLength 26 bDescriptorType 36 bDescriptorSubtype 6 (EXTENSION_UNIT) bUnitID 3 guidExtensionCode {7033f028-1163-2e4a-ba2c-6890eb334016} bNumControl 8 bNrPins 1 baSourceID( 0) 2 bControlSize 1 bmControls( 0) 0x1f iExtension 0 VideoControl Interface Descriptor: bLength 26 bDescriptorType 36 bDescriptorSubtype 6 (EXTENSION_UNIT) bUnitID 4 guidExtensionCode {c385b80f-c268-4745-90f7-8f47579d95fc} bNumControl 8 bNrPins 1 baSourceID( 0) 3 bControlSize 1 bmControls( 0) 0x0f iExtension 0 VideoControl Interface Descriptor: bLength 18 bDescriptorType 36 bDescriptorSubtype 2 (INPUT_TERMINAL) bTerminalID 1 wTerminalType 0x0201 Camera Sensor bAssocTerminal 0 iTerminal 0 wObjectiveFocalLengthMin 0 wObjectiveFocalLengthMax 0 wOcularFocalLength 0 bControlSize 3 bmControls 0x00000000 VideoControl Interface Descriptor: bLength 11 bDescriptorType 36 bDescriptorSubtype 5 (PROCESSING_UNIT) Warning: Descriptor too short bUnitID 2 bSourceID 1 wMaxMultiplier 0 bControlSize 2 bmControls 0x0000157f Brightness Contrast Hue Saturation Sharpness Gamma White Balance Temperature Backlight Compensation Power Line Frequency White Balance Temperature, Auto iProcessing 0 bmVideoStandards 0x74 PAL - 625/50 NTSC - 625/50 PAL - 525/60 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0010 1x 16 bytes bInterval 6 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 5 VideoStreaming Interface Descriptor: bLength 15 bDescriptorType 36 bDescriptorSubtype 1 (INPUT_HEADER) bNumFormats 2 wTotalLength 401 bEndPointAddress 129 bmInfo 0 bTerminalLink 5 bStillCaptureMethod 0 bTriggerSupport 0 bTriggerUsage 0 bControlSize 1 bmaControls( 0) 27 bmaControls( 1) 27 VideoStreaming Interface Descriptor: bLength 27 bDescriptorType 36 bDescriptorSubtype 4 (FORMAT_UNCOMPRESSED) bFormatIndex 1 bNumFrameDescriptors 8 guidFormat {59555932-0000-1000-8000-00aa00389b71} bBitsPerPixel 16 bDefaultFrameIndex 1 bAspectRatioX 0 bAspectRatioY 0 bmInterlaceFlags 0x00 Interlaced stream or variable: No Fields per frame: 2 fields Field 1 first: No Field pattern: Field 1 only bCopyProtect 0 VideoStreaming Interface Descriptor: bLength 34 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 1 bmCapabilities 0x00 Still image unsupported wWidth 640 wHeight 480 dwMinBitRate 73728000 dwMaxBitRate 147456000 dwMaxVideoFrameBufferSize 614400 dwDefaultFrameInterval 333333 bFrameIntervalType 2 dwFrameInterval( 0) 333333 dwFrameInterval( 1) 666666 VideoStreaming Interface Descriptor: bLength 34 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 2 bmCapabilities 0x00 Still image unsupported wWidth 640 wHeight 360 dwMinBitRate 55296000 dwMaxBitRate 110592000 dwMaxVideoFrameBufferSize 460800 dwDefaultFrameInterval 333333 bFrameIntervalType 2 dwFrameInterval( 0) 333333 dwFrameInterval( 1) 666666 VideoStreaming Interface Descriptor: bLength 34 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 3 bmCapabilities 0x00 Still image unsupported wWidth 352 wHeight 288 dwMinBitRate 24330240 dwMaxBitRate 48660480 dwMaxVideoFrameBufferSize 202752 dwDefaultFrameInterval 333333 bFrameIntervalType 2 dwFrameInterval( 0) 333333 dwFrameInterval( 1) 666666 VideoStreaming Interface Descriptor: bLength 34 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 4 bmCapabilities 0x00 Still image unsupported wWidth 320 wHeight 240 dwMinBitRate 18432000 dwMaxBitRate 36864000 dwMaxVideoFrameBufferSize 153600 dwDefaultFrameInterval 333333 bFrameIntervalType 2 dwFrameInterval( 0) 333333 dwFrameInterval( 1) 666666 VideoStreaming Interface Descriptor: bLength 34 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 5 bmCapabilities 0x00 Still image unsupported wWidth 424 wHeight 240 dwMinBitRate 24422400 dwMaxBitRate 48844800 dwMaxVideoFrameBufferSize 203520 dwDefaultFrameInterval 333333 bFrameIntervalType 2 dwFrameInterval( 0) 333333 dwFrameInterval( 1) 666666 VideoStreaming Interface Descriptor: bLength 34 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 6 bmCapabilities 0x00 Still image unsupported wWidth 176 wHeight 144 dwMinBitRate 6082560 dwMaxBitRate 12165120 dwMaxVideoFrameBufferSize 50688 dwDefaultFrameInterval 333333 bFrameIntervalType 2 dwFrameInterval( 0) 333333 dwFrameInterval( 1) 666666 VideoStreaming Interface Descriptor: bLength 34 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 7 bmCapabilities 0x00 Still image unsupported wWidth 160 wHeight 120 dwMinBitRate 4608000 dwMaxBitRate 9216000 dwMaxVideoFrameBufferSize 38400 dwDefaultFrameInterval 333333 bFrameIntervalType 2 dwFrameInterval( 0) 333333 dwFrameInterval( 1) 666666 VideoStreaming Interface Descriptor: bLength 30 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 8 bmCapabilities 0x00 Still image unsupported wWidth 1280 wHeight 720 dwMinBitRate 162201600 dwMaxBitRate 162201600 dwMaxVideoFrameBufferSize 1843200 dwDefaultFrameInterval 909090 bFrameIntervalType 1 dwFrameInterval( 0) 909090 VideoStreaming Interface Descriptor: bLength 6 bDescriptorType 36 bDescriptorSubtype 13 (COLORFORMAT) bColorPrimaries 1 (BT.709,sRGB) bTransferCharacteristics 1 (BT.709) bMatrixCoefficients 4 (SMPTE 170M (BT.601)) VideoStreaming Interface Descriptor: bLength 11 bDescriptorType 36 bDescriptorSubtype 6 (FORMAT_MJPEG) bFormatIndex 2 bNumFrameDescriptors 2 bFlags 0 Fixed-size samples: No bDefaultFrameIndex 1 bAspectRatioX 0 bAspectRatioY 0 bmInterlaceFlags 0x00 Interlaced stream or variable: No Fields per frame: 1 fields Field 1 first: No Field pattern: Field 1 only bCopyProtect 0 VideoStreaming Interface Descriptor: bLength 34 bDescriptorType 36 bDescriptorSubtype 7 (FRAME_MJPEG) bFrameIndex 1 bmCapabilities 0x00 Still image unsupported wWidth 960 wHeight 540 dwMinBitRate 124486680 dwMaxBitRate 248973360 dwMaxVideoFrameBufferSize 1037389 dwDefaultFrameInterval 333333 bFrameIntervalType 2 dwFrameInterval( 0) 333333 dwFrameInterval( 1) 666666 VideoStreaming Interface Descriptor: bLength 34 bDescriptorType 36 bDescriptorSubtype 7 (FRAME_MJPEG) bFrameIndex 2 bmCapabilities 0x00 Still image unsupported wWidth 1280 wHeight 720 dwMinBitRate 221254680 dwMaxBitRate 442509360 dwMaxVideoFrameBufferSize 1843789 dwDefaultFrameInterval 333333 bFrameIntervalType 2 dwFrameInterval( 0) 333333 dwFrameInterval( 1) 666666 VideoStreaming Interface Descriptor: bLength 6 bDescriptorType 36 bDescriptorSubtype 13 (COLORFORMAT) bColorPrimaries 1 (BT.709,sRGB) bTransferCharacteristics 1 (BT.709) bMatrixCoefficients 4 (SMPTE 170M (BT.601)) Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 1 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 5 Transfer Type Isochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x0080 1x 128 bytes bInterval 1 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 2 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 5 Transfer Type Isochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x0100 1x 256 bytes bInterval 1 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 3 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 5 Transfer Type Isochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x0320 1x 800 bytes bInterval 1 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 4 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 5 Transfer Type Isochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x0b20 2x 800 bytes bInterval 1 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 5 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 5 Transfer Type Isochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x1320 3x 800 bytes bInterval 1 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 6 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 5 Transfer Type Isochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x1400 3x 1024 bytes bInterval 1

lsmod Module Size Used by nfnetlink_log 17396 0 nfnetlink 12989 1 nfnetlink_log ctr 12927 2 ccm 17777 2 hid_generic 12393 0 usbhid 40796 0 hid 82111 2 hid_generic,usbhid fuse 71728 3 cpufreq_conservative 14184 0 cpufreq_stats 12871 0 pci_stub 12429 1 cpufreq_powersave 12454 0 vboxpci 19094 0 cpufreq_userspace 12525 0 vboxnetadp 25443 0 vboxnetflt 23697 0 vboxdrv 234525 3 vboxnetadp,vboxnetflt,vboxpci ext2 59322 1 loop 22831 0 ppdev 12724 0 lp 13025 0 snd_hda_codec_realtek 46259 1 snd_hda_codec_generic 51449 1 snd_hda_codec_realtek snd_hda_codec_hdmi 37068 1 joydev 17188 0 arc4 12543 2 iwldvm 107443 0 snd_hda_intel 35595 6 mac80211 385974 1 iwldvm snd_hda_codec 84170 4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel i915 624922 5 x86_pkg_temp_thermal 13054 0 coretemp 12854 0 kvm_intel 123907 0 iwlwifi 69415 1 iwldvm snd_hwdep 13189 1 snd_hda_codec iTCO_wdt 12831 0 snd_pcm 68848 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel iTCO_vendor_support 12704 1 iTCO_wdt kvm 327490 1 kvm_intel cfg80211 333862 3 iwlwifi,mac80211,iwldvm snd_seq 45147 0 drm_kms_helper 31885 1 i915 snd_timer 22728 2 snd_pcm,snd_seq drm 213209 4 i915,drm_kms_helper dell_wmi 12477 0 sparse_keymap 12760 1 dell_wmi snd_seq_device 13176 1 snd_seq snd 53147 21 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device psmouse 75033 0 dell_laptop 17224 0 parport_pc 22409 0 lpc_ich 20860 0 dcdbas 13307 1 dell_laptop ehci_pci 12472 0 mfd_core 12601 1 lpc_ich parport 31855 3 lp,ppdev,parport_pc evdev 17598 12 ehci_hcd 40930 1 ehci_pci rfkill 19086 3 cfg80211,dell_laptop i2c_i801 17008 0 serio_raw 12894 0 i2c_algo_bit 12841 1 i915 pcspkr 12595 0 i2c_core 24304 5 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit soundcore 13026 1 snd video 17804 1 i915 wmi 13243 1 dell_wmi acpi_cpufreq 13196 0 processor 28058 1 acpi_cpufreq battery 13101 0 button 12944 1 i915 ac 12678 0 ext4 394714 1 crc16 12343 1 ext4 jbd2 76550 1 ext4 mbcache 13130 2 ext2,ext4 dm_crypt 22912 1 dm_mod 73340 9 dm_crypt sg 26057 0 sd_mod 40584 3 crct10dif_generic 12581 1 sr_mod 21988 0 crc_t10dif 12431 1 sd_mod cdrom 35173 1 sr_mod crct10dif_common 12356 2 crct10dif_generic,crc_t10dif crc32c_intel 21850 0 thermal 17468 0 thermal_sys 23550 4 video,thermal,processor,x86_pkg_temp_thermal ghash_clmulni_intel 13062 0 ahci 25244 2 libahci 23131 1 ahci libata 141793 2 ahci,libahci scsi_mod 167264 4 sg,libata,sd_mod,sr_mod xhci_hcd 92270 0 e1000e 139669 0 aesni_intel 147409 6 sdhci_pci 17956 0 sdhci 27200 1 sdhci_pci ptp 13364 1 e1000e usbcore 139344 4 ehci_hcd,ehci_pci,usbhid,xhci_hcd aes_x86_64 16719 1 aesni_intel ablk_helper 12572 1 aesni_intel cryptd 14600 4 ghash_clmulni_intel,aesni_intel,ablk_helper lrw 12871 1 aesni_intel gf128mul 13047 1 lrw glue_helper 12768 1 aesni_intel microcode 30342 0 mmc_core 82179 2 sdhci,sdhci_pci pps_core 13208 1 ptp usb_common 12440 1 usbcore

Désolé pour les pavés, mais j’avoue que dans lsmod je suis un peu perdu.

Le modprobe me renvoie une erreur, il ne connaît pas le module. J’ai essayé la manip dans le tuto, mais j’ai une erreur dans la compilation.

/home/tiix/microdia/sn9c20x-v4l2.c: In function ‘v4l_sn9c20x_register_video_device’: /home/tiix/microdia/sn9c20x-v4l2.c:1463:11: error: ‘struct video_device’ has no member named ‘parent’ /home/tiix/microdia/sn9c20x-v4l2.c:1465:11: error: ‘struct video_device’ has no member named ‘current_norm’ make[2]: *** [/home/tiix/microdia/sn9c20x-v4l2.o] Erreur 1 make[1]: *** [_module_/home/tiix/microdia] Erreur 2

Pas la peine de compiler, ça devrait déjà être dans le noyau, et vu que l’article date ça a peut-être même été remplacé depuis…

lsmod permettait juste de constater si un module noyau était chargé pour prendre en compte ta cam, ça n’est apparemment pas le cas.

Rien d’autre dans dmesg ? C’est bizarre qu’il la détecte à la 85ème seconde, tu as un interrupteur ou des touches clavier pour la (dés)activer ?

Quelle version de Debian et du noyau as-tu ?

Je ne pense pas avoir de bouton pour la désactiver, ou alors c’est une combinaison de touches à la noix :stuck_out_tongue:

J’ai rallumé mon pc, et elle a été détectée plus tôt cette fois :

Je suis en version 3.14.0, j’ai compilé le kernel moi-même pour un problème de détection VGA !

Cette info est plutôt cruciale, il faut cocher les bons modules pour que ta cam fonctionne.
Ta cam fonctionne avec un noyau standard ?

Il est étonnant que tu aies dû recompiler un kernel pour résoudre ton problème de VGA.

Il me semble que la caméra fonctionnait avec le noyau standard.

Le port VGA n’était pas reconnu avec le kernel 3.2, j’ai passé des heures à essayer de comprendre, j’ai posté des questions sur ce forum, et seul un upgrade du kernel a résolu mon problème. J’ai testé un kernel 3.14.4, mais beaucoup d’autres fonctionnalités ne fonctionnaient pas, et j’ai donc compilé le 3.14.0, sur un DD formaté et propre. Tout fonctionne à part la caméra, et c’est pour cela que j’aimerais trouver une solution sans changer de kernel si possible :slightly_smiling:

Là, il faudrait être plus précis. Comparer quels modules sont chargés, ainsi que les logs produits.
Si cette démarche de recompilation avait effectivement une utilité, c’est que tu as trouvé des bugs dans le kernel, et il serait assez intéressant de les repérer.
Si c’est juste un «ça fonctionne» fortuit, je te suggère de repasser sur un kernel standard, car a priori une compilation manuelle du kernel n’est pas une façon de résoudre un bug.

J’ai suivi beaucoup de tutos, et au final il me semble que tu m’as conseillé l’upgrade du kernel :

sortie-hdmi-t46002-25.html

L’upgrade, oui, la compilation, non.

Pour info:

% cat /boot/config-3.14-1-amd64| grep -i sn9c20x CONFIG_USB_GSPCA_SN9C20X=m

Une solution serait de regarder si ça fonctionne avec le kernel des backports (~3.12 ces temps-ci me semble)

J’ai regardé dans les backports de wheezy, il y a du 3.14 (linux-image-3.14-0.bpo.1-amd64).
Que signifie .bpo ? “backport” ?

Sinon il y a une question que je me pose : si j’installe le paquet linux-image-amd64, qu’est ce que j’obtiendrais ?

Si tu ne spécifies pas “je veux la version des backports”, tu obtiendras la version du dépot qui possède chez toi la plus haute priorité, Stable/Wheezy si j’ai bien retenu.

Fais un [mono]apt-cache policy linux-image-amd64[/mono] pour t’en rendre compte.

Par contre, ceci installera la version 3.14 des backports (oui, bpo veut dire backports):

Alors là, je ne comprend plus.

apt-cache policy linux-image-amd64 linux-image-amd64: Installé : 3.2+46 Candidat : 3.2+46 Table de version : 3.14+57~bpo70+1 0 100 http://http.debian.net/debian/ wheezy-backports/main amd64 Packages *** 3.2+46 0 500 http://http.debian.net/debian/ wheezy/main amd64 Packages 100 /var/lib/dpkg/status

ça veut dire que ma 3.14 n’est pas installée ? Pourtant au boot, le grub démarre bien sur la version 3.14 :

tiix@n0x:/boot$ ls -lh total 159M -rw-r--r-- 1 root root 129K mai 17 00:52 config-3.14.0 -rw-r--r-- 1 root root 127K mai 12 13:42 config-3.2.0-4-amd64 drwxr-xr-x 3 root root 1,0K mai 17 01:25 extlinux drwxr-xr-x 3 root root 5,0K mai 17 01:25 grub -rw-r--r-- 1 root root 136M mai 17 00:52 initrd.img-3.14.0 -rw-r--r-- 1 root root 12M mai 17 00:10 initrd.img-3.2.0-4-amd64 drwxr-xr-x 2 root root 12K mai 16 23:56 lost+found -rw-r--r-- 1 root root 173K nov. 13 2011 memtest86+.bin -rw-r--r-- 1 root root 175K nov. 13 2011 memtest86+_multiboot.bin -rw-r--r-- 1 root root 2,3M mai 17 00:52 System.map-3.14.0 -rw-r--r-- 1 root root 2,1M mai 12 13:42 System.map-3.2.0-4-amd64 -rw-r--r-- 1 root root 3,1M mai 17 00:52 vmlinuz-3.14.0 -rw-r--r-- 1 root root 2,8M mai 12 13:42 vmlinuz-3.2.0-4-amd64

Désolé pour toutes ces questions, mais j’aime comprendre ce que je fais et sur quoi je travaille :slightly_smiling:

Tu disais avoir compilé la version 3.14 du kernel.
Tant que tu n’as pas installé la version des backports avec la commande du dessus, elle ne sera pas proposée au boot.

Mais d’après ton ls, il me semble qu’elle est effectivement installée. Je n’ai pas en tête comment mieux vérifier.

Bon j’ai essayé de faire un update et un upgrade depuis les backports… Tout s’est bien passé jusqu’à :

[code]update-initramfs: Generating /boot/initrd.img-3.14.0

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.14.0 with 1.
dpkg: erreur de traitement de initramfs-tools (–configure) :
le sous-processus script post-installation installé a retourné une erreur de sortie d’état 1
Des erreurs ont été rencontrées pendant l’exécution :
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)[/code]

J’ai regardé dans ma partition /boot, et supprimé le kernel 3.2 ; mais ça ne change rien, il n’y a plus d’espace dispo.
Je me souviens avoir mis le maximum dans cette partition à l’installation, car j’ai déjà eu le même problème auparavant.

Quels sont les retours de:

et hop voilà !

tiix@n0x:~$ df -h Sys. fich. Taille Util. Dispo Uti% Monté sur rootfs 225G 144G 71G 68% / udev 10M 0 10M 0% /dev tmpfs 1,6G 508K 1,6G 1% /run /dev/mapper/n0x-root 225G 144G 71G 68% / tmpfs 5,0M 0 5,0M 0% /run/lock tmpfs 3,2G 27M 3,1G 1% /run/shm /dev/sda1 228M 145M 72M 67% /boot tiix@n0x:~$ tiix@n0x:~$ tiix@n0x:~$ du -hs /boot/* 130K /boot/config-3.14.0 807K /boot/extlinux 2,1M /boot/grub 136M /boot/initrd.img-3.14.0 12K /boot/lost+found 174K /boot/memtest86+.bin 176K /boot/memtest86+_multiboot.bin 2,3M /boot/System.map-3.14.0 3,1M /boot/vmlinuz-3.14.0 tiix@n0x:~$

Je crois que le système n’autorise pas d’allouer plus de mémoir à la partition boot.

Le fichier initrd de ton noyau est un peu fat, voilà chez moi pour comparer:

# du -sh /boot/* 146K /boot/config-3.12-1-rt-amd64 149K /boot/config-3.13-1-amd64 151K /boot/config-3.14-1-amd64 56K /boot/extlinux 9,1M /boot/grub 3,1M /boot/initrd.img-3.12-1-rt-amd64 3,1M /boot/initrd.img-3.13-1-amd64 3,1M /boot/initrd.img-3.14-1-amd64 12K /boot/lost+found 2,3M /boot/System.map-3.12-1-rt-amd64 2,3M /boot/System.map-3.13-1-amd64 2,4M /boot/System.map-3.14-1-amd64 2,8M /boot/vmlinuz-3.12-1-rt-amd64 2,8M /boot/vmlinuz-3.13-1-amd64 2,9M /boot/vmlinuz-3.14-1-amd64

J’aurais cependant espéré que 72Mo de libres sur la partition soient suffisants pour installer ce kernel des backports.

L’autre truc qui m’interroge, c’est qu’aptitude mentionne le fichier /boot/initrd.img-3.14.0 et qu’il existe déjà. Je ne suis pas certain que ce soit l’un des fichiers ajoutés par le paquet, mais plutôt le résultat de ton kernel compilé maison ?

Je ne suis pas assez calé là dedans, je ne sais pas comment fonctionne [mono]update-initramfs[/mono].

Peut-être que qqn d’autre te dira comment résoudre ce point.

Sinon, tu peux indiquer la méthode que tu as utilisée pour compiler ton noyau, ou te renseigner sur le net sur la raison de ce message d’erreur.

Sinon, si tu y parviens, tu peux réinstaller le kernel 3.2, et purger le kernel 3.14. Pour mettre ensuite à la place celui des backports.