Project

General

Profile

Bug #1537

Continuity erros when writing to a zpool with ZFS-on-Linux

Added by Jan-Jaap Stam almost 12 years ago. Updated almost 12 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
DVB
Target version:
-
Start date:
2013-01-15
Due date:
% Done:

0%

Estimated time:
Found in version:
3.3.354~g54e7e2c (and earlier)
Affected Versions:

Description

Hi everyone,

I encountered strange behaviour when using ZFS. Everytime there is I/O from / to ZFS, it seems to mangle my DVB stream.

zpool status:
pool: tank
state: ONLINE
scan: scrub repaired 0 in 8h30m with 0 errors on Mon Dec 17 21:01:42 2012
config:

NAME                                         STATE     READ WRITE CKSUM
tank ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
ata-ST31000524AS_9VPFVNCJ ONLINE 0 0 0
ata-WDC_WD10EACS-22D6B0_WD-WCAU44007741 ONLINE 0 0 0
ata-WDC_WD10EACS-22D6B0_WD-WCAU44382457 ONLINE 0 0 0

If I do a write to the zpool (downloading with 5 Mb/s is sufficient), TVHeadend floods with the following errors regardless of the tuned frequency and with 100% reception:

Jan 14 18:47:01 TS: Philips TDA10023 DVB-C/Ziggo Digitale Televisie 01: 444,000 kHz/RTL Crime: MPEG2VIDEO #581: Continuity counter error
Jan 14 18:47:22 TS: Philips TDA10023 DVB-C/Ziggo Digitale Televisie 01: 444,000 kHz/RTL Crime: Transport error indicator
Jan 14 18:47:26 TS: Philips TDA10023 DVB-C/Ziggo Digitale Televisie 01: 444,000 kHz/RTL Crime: Transport error indicator, 1 duplicate log lines suppressed
Jan 14 18:47:26 TS: Philips TDA10023 DVB-C/Ziggo Digitale Televisie 01: 444,000 kHz/RTL Crime: MPEG2VIDEO
#581: Continuity counter error
Jan 14 18:47:28 TS: Philips TDA10023 DVB-C/Ziggo Digitale Televisie 01: 444,000 kHz/RTL Crime: MPEG2VIDEO #581: Continuity counter error, 1 duplicate log lines suppressed
Jan 14 18:47:31 TS: Philips TDA10023 DVB-C/Ziggo Digitale Televisie 01: 444,000 kHz/RTL Crime: MPEG2VIDEO
#581: Continuity counter error, 3 duplicate log lines suppressed
Jan 14 18:47:34 TS: Philips TDA10023 DVB-C/Ziggo Digitale Televisie 01: 444,000 kHz/RTL Crime: MPEG2VIDEO #581: Continuity counter error, 4 duplicate log lines suppressed
Jan 14 18:47:41 TS: Philips TDA10023 DVB-C/Ziggo Digitale Televisie 01: 444,000 kHz/RTL Crime: MPEG2VIDEO
#581: Continuity counter error, 5 duplicate log lines suppressed
Jan 14 18:48:32 TS: Philips TDA10023 DVB-C/Ziggo Digitale Televisie 01: 444,000 kHz/RTL Crime: MPEG2VIDEO #581: Continuity counter error
Jan 14 18:48:32 TS: Philips TDA10023 DVB-C/Ziggo Digitale Televisie 01: 444,000 kHz/RTL Crime: MPEG2AUDIO
#582: Continuity counter error
Jan 14 18:48:32 TS: Philips TDA10023 DVB-C/Ziggo Digitale Televisie 01: 444,000 kHz/RTL Crime: Transport error indicator
Jan 14 18:48:33 TS: Philips TDA10023 DVB-C/Ziggo Digitale Televisie 01: 444,000 kHz/RTL Crime: Transport error indicator, 1 duplicate log lines suppressed
Jan 14 18:48:33 TS: Philips TDA10023 DVB-C/Ziggo Digitale Televisie 01: 444,000 kHz/RTL Crime: MPEG2VIDEO #581: Continuity counter error, 11 duplicate log lines suppressed
Jan 14 18:48:33 TS: Philips TDA10023 DVB-C/Ziggo Digitale Televisie 01: 444,000 kHz/RTL Crime: MPEG2AUDIO
#582: Continuity counter error, 11 duplicate log lines suppressed
Jan 14 18:48:33 TS: Philips TDA10023 DVB-C/Ziggo Digitale Televisie 01: 444,000 kHz/RTL Crime: CA #5008: Continuity counter error
Jan 14 18:48:33 TS: Philips TDA10023 DVB-C/Ziggo Digitale Televisie 01: 444,000 kHz/RTL Crime: CA
#4008: Continuity counter error
Jan 14 18:48:34 TS: Philips TDA10023 DVB-C/Ziggo Digitale Televisie 01: 444,000 kHz/RTL Crime: MPEG2VIDEO #581: Continuity counter error, 18 duplicate log lines suppressed
Jan 14 18:48:34 TS: Philips TDA10023 DVB-C/Ziggo Digitale Televisie 01: 444,000 kHz/RTL Crime: MPEG2AUDIO
#582: Continuity counter error, 18 duplicate log lines suppressed
Jan 14 18:48:34 TS: Philips TDA10023 DVB-C/Ziggo Digitale Televisie 01: 444,000 kHz/RTL Crime: Transport error indicator, 2 duplicate log lines suppressed
Jan 14 18:48:35 TS: Philips TDA10023 DVB-C/Ziggo Digitale Televisie 01: 444,000 kHz/RTL Crime: MPEG2AUDIO #582: Continuity counter error, 28 duplicate log lines suppressed
Jan 14 18:48:35 TS: Philips TDA10023 DVB-C/Ziggo Digitale Televisie 01: 444,000 kHz/RTL Crime: MPEG2VIDEO
#581: Continuity counter error, 26 duplicate log lines suppressed
Jan 14 18:48:35 TS: Philips TDA10023 DVB-C/Ziggo Digitale Televisie 01: 444,000 kHz/RTL Crime: Transport error indicator, 4 duplicate log lines suppressed
Jan 14 18:48:35 parser: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 709448400, last = 709452000
Jan 14 18:48:36 TS: Philips TDA10023 DVB-C/Ziggo Digitale Televisie 01: 444,000 kHz/RTL Crime: Transport error indicator, 7 duplicate log lines suppressed
Jan 14 18:48:36 TS: Philips TDA10023 DVB-C/Ziggo Digitale Televisie 01: 444,000 kHz/RTL Crime: MPEG2AUDIO #582: Continuity counter error, 41 duplicate log lines suppressed
Jan 14 18:48:36 TS: Philips TDA10023 DVB-C/Ziggo Digitale Televisie 01: 444,000 kHz/RTL Crime: MPEG2VIDEO
#581: Continuity counter error, 39 duplicate log lines suppressed
Jan 14 18:48:36 TS: Philips TDA10023 DVB-C/Ziggo Digitale Televisie 01: 444,000 kHz/RTL Crime: CA #5008: Continuity counter error, 1 duplicate log lines suppressed
Jan 14 18:48:36 TS: Philips TDA10023 DVB-C/Ziggo Digitale Televisie 01: 444,000 kHz/RTL Crime: CA
#4008: Continuity counter error, 1 duplicate log lines suppressed
Jan 14 18:48:36 parser: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 709506000, last = 709509600
Jan 14 18:48:36 parser: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 709524000, last = 709527600
Jan 14 18:48:37 TS: Philips TDA10023 DVB-C/Ziggo Digitale Televisie 01: 444,000 kHz/RTL Crime: Transport error indicator, 12 duplicate log lines suppressed
Jan 14 18:48:37 TS: Philips TDA10023 DVB-C/Ziggo Digitale Televisie 01: 444,000 kHz/RTL Crime: CA #5008: Continuity counter error, 2 duplicate log lines suppressed
Jan 14 18:48:37 TS: Philips TDA10023 DVB-C/Ziggo Digitale Televisie 01: 444,000 kHz/RTL Crime: MPEG2VIDEO
#581: Continuity counter error, 54 duplicate log lines suppressed

AFAICT, tvheandend doesn't buffer on the pool and testing with massive I/O on my root partition (ext4), I can't reproduce the errors.

Is this a bug in ZFS/SPL or in TVHeadend?

regards,

JJ

p.s. I also posted this issue on the ZoL issue tracker: https://github.com/zfsonlinux/zfs/issues/1203

History

#1

Updated by Adam Sutton almost 12 years ago

  • Status changed from New to Rejected

This implies that the system is doing something, that is delaying TVH from servicing the DVB adapter. My hunch would be that the ZFS kernel modules are either creating exclusive locks that are stopping TVH and/or the DVB driver code from servicing the device OR that the ZFS code is generating enough CPU load to simply stall TVH every so often.

ZFS is, I believe, pretty heavy weight in terms of processing compared to other FS since its actively maintaining hashes of the data to ensure the integrity of the data. But it could just be a simple inefficiency or someone being a bit over zealous with kernel locking.

However I don't believe this is likely to be a bug in TVH. However if you find something to suggest otherwise shout at me and I'll re-open this.

Adam

Also available in: Atom PDF