[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

bttv et plantage du noyau



Bonjour,

Après 10 ans d'utilisation de linux me voilà face à mon premier plantage
du noyau !

J'ai installé un serveur debian qui fonctionne bien depuis quelques
années pour une asso. Je l'administre via ssh et jusqu'à il y a peu il
n'avais ni écran ni clavier... L'association à acquis un combiné
magnétoscope vhs / graveur dvd et ayant un moniteur et une pctv en rabe
j'ai décidé de les monter sur le serveur pour pouvoir "monitorer" l'engin.

J'ai monté la carte pctv, mis # defoptions=vga=786 dans mon menu.lst,
j'en ai profité pour mettre à jour en 2.6.18-6, installé mplayer et rebooté.

Je me suis logué en tant que simple utilisateur (faisant partie du
groupe video) et j'ai lancé la commande :

~$ exec mplayer -tv
driver=v4l:width=640:height=480:outfmt=i420:device=/dev/video0:input=1
-vc rawi420 -vo fbdev tv://

Nickel, le serveur fait maintenant office de télévision.

Ce matin je reçois un appel me disant que le réseau ne fonctionne pas,
je tente de me connecter via ssh : "No route to host", je ping la
connexion : pas de soucis, je vais voir mes mails logcheck : pas de
nouvelles depuis 30 heures ! Donc je vais voir sur place ce qu'il en est :
L'écran du serveur affiche bien l'image du magnétoscope !
Le serveur ne répond plus au ping.
Le clavier ne répond plus.
Les magic SysRq keys ne fonctionnement pas.
Le bouton "power" ne répond pas nonplus (normalement ça reboot par acpi)

J'ai donc coupé l'alimentation :,((( pour rebooter (le bouton reset
n'étant pas branché) et c'est évidemment reparti "comme en 40".

Malgré tout je me dis que ça ne devait pas être totalement planté vu que
l'image n'était pas figée et que les voyants du clavier ne clignotaient
pas (il me semble qu'ils clignotent en cas de kernel panic).

altair:~# uname -a
Linux altair 2.6.18-6-686 #1 SMP Wed Jan 23 03:23:22 UTC 2008 i686 GNU/Linux
altair:~# apt-cache policy mplayer
mplayer:
  Installé : 1.0~rc1-12etch1
  Candidat : 1.0~rc1-12etch1
 Table de version :
 *** 1.0~rc1-12etch1 0
        990 http://security.debian.org etch/updates/main Packages
        990 http://ftp.fr.debian.org etch/main Packages
        100 /var/lib/dpkg/status
altair:~# grep -C 10 bttv /var/log/syslog
Feb  3 01:02:02 altair postfix/qmgr[2831]: 8F9F31A3F: removed
Feb  3 01:06:01 altair /USR/SBIN/CRON[21989]: (root) CMD ([ -x
/usr/share/mdadm/checkarray ] && [ $(date +%d) -le 7 ] &&
/usr/share/mdadm/checkarray --cron --all --quiet)
Feb  3 01:06:01 altair kernel: md: syncing RAID array md0
Feb  3 01:06:01 altair kernel: md: minimum _guaranteed_ reconstruction
speed: 1000 KB/sec/disc.
Feb  3 01:06:01 altair kernel: md: using maximum available idle IO
bandwidth (but not more than 200000 KB/sec) for reconstruction.
Feb  3 01:06:01 altair kernel: md: using 128k window, over a total of
5453952 blocks.
Feb  3 01:06:01 altair kernel: md: delaying resync of md1 until md0 has
finished resync (they share one or more physical units)
Feb  3 01:06:01 altair kernel: md: delaying resync of md2 until md1 has
finished resync (they share one or more physical units)
Feb  3 01:06:01 altair kernel: md: delaying resync of md1 until md0 has
finished resync (they share one or more physical units)
Feb  3 01:06:01 altair mdadm: RebuildStarted event detected on md device
/dev/md0
Feb  3 01:06:03 altair kernel: bttv0: OCERR @ 1eccb008,bits: HSYNC OFLOW
FBUS FDSR OCERR*
Feb  3 01:06:03 altair kernel: bttv0: OCERR @ 1eccb008,bits: HSYNC OFLOW
FBUS FDSR OCERR*
Feb  3 01:06:03 altair kernel: bttv0: OCERR @ 1eccb008,bits: VSYNC*
HSYNC OFLOW FBUS FDSR OCERR*
Feb  3 01:06:03 altair kernel: bttv0: OCERR @ 1eccb008,bits: VSYNC*
HSYNC OFLOW FBUS FDSR OCERR*
Feb  3 01:06:04 altair kernel: bttv0: OCERR @ 1eccb008,bits: HSYNC OFLOW
FBUS OCERR*
Feb  3 01:06:04 altair kernel: bttv0: OCERR @ 1eccb014,bits: VSYNC*
HSYNC OFLOW FBUS FDSR OCERR*
Feb  3 01:06:06 altair kernel: bttv0: OCERR @ 1eccb008,bits: HSYNC OFLOW
FBUS FDSR OCERR*
Feb  3 01:06:06 altair kernel: bttv0: OCERR @ 1eccb008,bits: HSYNC OFLOW
FBUS FDSR OCERR*
Feb  3 01:06:07 altair kernel: bttv0: OCERR @ 1eccb008,bits: VSYNC*
HSYNC OFLOW FBUS FDSR OCERR*
Feb  3 01:06:07 altair kernel: bttv0: OCERR @ 1eccb008,bits: VSYNC*
HSYNC OFLOW FBUS FDSR OCERR*
Feb  3 01:06:07 altair kernel: bttv0: OCERR @ 1eccb008,bits: HSYNC OFLOW
FBUS FDSR OCERR*
Feb  3 01:06:07 altair kernel: bttv0: OCERR @ 1eccb008,bits: VSYNC*
HSYNC OFLOW FBUS OCERR*
Feb  3 01:06:07 altair kernel: bttv0: OCERR @ 1eccb014,bits: HSYNC OFLOW
FBUS FDSR OCERR*
Feb  3 01:06:07 altair kernel: bttv0: OCERR @ 1eccb014,bits: VSYNC*
HSYNC OFLOW FBUS FDSR OCERR*
Feb  3 01:06:07 altair kernel: bttv0: OCERR @ 1eccb008,bits: HSYNC OFLOW
FBUS FDSR OCERR*
Feb  3 01:06:08 altair kernel: bttv0: OCERR @ 1eccb00c,bits: OFLOW OCERR*
Feb  3 01:06:08 altair kernel: bttv0: OCERR @ 1eccb008,bits: HSYNC OFLOW
FBUS FDSR OCERR*
Feb  3 01:06:12 altair last message repeated 5 times
Feb  3 01:06:12 altair kernel: bttv0: OCERR @ 1eccb014,bits: VSYNC*
HSYNC OFLOW FBUS FDSR OCERR*
Feb  3 01:06:12 altair kernel: bttv0: OCERR @ 1eccb008,bits: HSYNC OFLOW
FBUS FDSR OCERR*
Feb  3 01:06:12 altair kernel: bttv0: OCERR @ 1eccb008,bits: HSYNC OFLOW
FBUS FDSR OCERR*
Feb  3 01:06:13 altair kernel: bttv0: OCERR @ 1eccb008,bits: HSYNC OFLOW
FBUS OCERR*
Feb  3 01:06:14 altair kernel: bttv0: OCERR @ 1eccb008,bits: HSYNC OFLOW
FBUS OCERR*
Feb  3 01:06:14 altair kernel: bttv0: OCERR @ 1eccb008,bits: HSYNC OFLOW
FBUS FDSR OCERR*
Feb  3 01:06:15 altair last message repeated 2 times
Feb  3 01:06:15 altair kernel: bttv0: OCERR @ 1eccb014,bits: HSYNC OFLOW
FBUS OCERR*
Feb  4 09:42:10 altair syslogd 1.4.1#18: restart.
Feb  4 09:42:10 altair kernel: klogd 1.4.1#18, log source = /proc/kmsg
started.
Feb  4 09:42:11 altair kernel: Linux version 2.6.18-6-686 (Debian
2.6.18.dfsg.1-17etch1) (dannf@debian.org) (gcc version 4.1.2 20061115
(prerelease) (Debian 4.1.1-21)) #1 SMP Wed Jan 23 03:23:22 UTC 2008
Feb  4 09:42:11 altair kernel: BIOS-provided physical RAM map:
Feb  4 09:42:11 altair kernel:  BIOS-e820: 0000000000000000 -
000000000009fc00 (usable)
Feb  4 09:42:11 altair kernel:  BIOS-e820: 000000000009fc00 -
00000000000a0000 (reserved)
Feb  4 09:42:11 altair kernel:  BIOS-e820: 00000000000f0000 -
0000000000100000 (reserved)
Feb  4 09:42:11 altair kernel:  BIOS-e820: 0000000000100000 -
000000001fff0000 (usable)
Feb  4 09:42:11 altair kernel:  BIOS-e820: 000000001fff0000 -
000000001fff8000 (ACPI data)
Feb  4 09:42:11 altair kernel:  BIOS-e820: 000000001fff8000 -
0000000020000000 (ACPI NVS)
--
Feb  4 09:42:12 altair kernel: ReiserFS: md0: using ordered data mode
Feb  4 09:42:12 altair kernel: ReiserFS: md0: journal params: device
md0, size 8192, journal first block 18, max trans len 1024, max batch
900, max commit age 30, max trans age 30
Feb  4 09:42:12 altair kernel: ReiserFS: md0: checking transaction log (md0)
Feb  4 09:42:12 altair kernel: ReiserFS: md0: replayed 2 transactions in
0 seconds
Feb  4 09:42:12 altair kernel: ReiserFS: md0: Using r5 hash to sort names
Feb  4 09:42:12 altair kernel: input: PC Speaker as /class/input/input2
Feb  4 09:42:12 altair kernel: Real Time Clock Driver v1.12ac
Feb  4 09:42:12 altair kernel: pci_hotplug: PCI Hot Plug PCI Core
version: 0.5
Feb  4 09:42:12 altair kernel: shpchp: Standard Hot Plug PCI Controller
Driver version: 0.4
Feb  4 09:42:12 altair kernel: Linux video capture interface: v2.00
Feb  4 09:42:12 altair kernel: bttv: driver version 0.9.16 loaded
Feb  4 09:42:12 altair kernel: bttv: using 8 buffers with 2080k (520
pages) each for capture
Feb  4 09:42:12 altair kernel: bttv: Bt8xx card found (0).
Feb  4 09:42:12 altair kernel: ACPI: PCI Interrupt 0000:00:0a.0[A] ->
GSI 18 (level, low) -> IRQ 201
Feb  4 09:42:12 altair kernel: bttv0: Bt878 (rev 17) at 0000:00:0a.0,
irq: 201, latency: 32, mmio: 0xdfdfe000
Feb  4 09:42:12 altair kernel: bttv0: detected: Pinnacle PCTV [card=39],
PCI subsystem ID is 11bd:0012
Feb  4 09:42:12 altair kernel: bttv0: using: Pinnacle PCTV Studio/Rave
[card=39,autodetected]
Feb  4 09:42:12 altair kernel: bttv0: gpio: en=00000000, out=00000000
in=00ff27ff [init]
Feb  4 09:42:12 altair kernel: bttv0: i2c: checking for MSP34xx @
0x80... not found
Feb  4 09:42:12 altair kernel: bttv0: miro: id=9 tuner=3 radio=no stereo=no
Feb  4 09:42:12 altair kernel: bttv0: using tuner=3
Feb  4 09:42:12 altair kernel: bttv0: i2c: checking for MSP34xx @
0x80... not found
Feb  4 09:42:12 altair kernel: bttv0: i2c: checking for TDA9875 @
0xb0... not found
Feb  4 09:42:12 altair kernel: bttv0: i2c: checking for TDA7432 @
0x8a... not found
Feb  4 09:42:12 altair kernel: bttv0: i2c: checking for TDA9887 @
0x86... not found
Feb  4 09:42:12 altair kernel: tuner 0-0060: All bytes are equal. It is
not a TEA5767
Feb  4 09:42:12 altair kernel: tuner 0-0060: chip found @ 0xc0 (bt878 #0
[sw])
Feb  4 09:42:12 altair kernel: tuner 0-0060: type set to 3 (Philips
(SECAM+PAL_BG) (FI1216MF, FM1216MF, FR1216MF))
Feb  4 09:42:12 altair kernel: bttv0: registered device video0
Feb  4 09:42:12 altair kernel: bttv0: registered device vbi0
Feb  4 09:42:12 altair kernel: bttv0: PLL: 28636363 => 35468950 .. ok
Feb  4 09:42:12 altair kernel: Floppy drive(s): fd0 is 1.44M
Feb  4 09:42:12 altair kernel: FDC 0 is a post-1991 82077
Feb  4 09:42:12 altair kernel: parport: PnPBIOS parport detected.
Feb  4 09:42:12 altair kernel: parport0: PC-style at 0x378 (0x778), irq
7, dma 0 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
Feb  4 09:42:12 altair kernel: Linux agpgart interface v0.101 (c) Dave Jones
Feb  4 09:42:12 altair kernel: atkbd.c: Spurious ACK on isa0060/serio0.
Some program might be trying access hardware directly.
Feb  4 09:42:12 altair kernel: agpgart: Detected VIA PT800 chipset
Feb  4 09:42:12 altair kernel: agpgart: AGP aperture is 128M @ 0xe0000000
Feb  4 09:42:12 altair kernel: ACPI: PCI Interrupt 0000:00:11.5[C] ->
GSI 22 (level, low) -> IRQ 209
Feb  4 09:42:12 altair kernel: PCI: Setting latency timer of device
0000:00:11.5 to 64



Je ne saisis pas bien le sens des dernières lignes concernant bttv juste
avant le plantage... une idée ?


Reply to: