URL: https://www.overclockers.at/community-hub/glossary-begriff_im_code-tag_218876/page_1 - zur Vollversion wechseln!
Gerade hab ich einen Auszug aus einer /etc/network/interfaces im Linux-Forum gepostet:
http://www.overclockers.at/showthre...018#post3064018
Es scheint als würde der Glossary-Eintrag "dhcp" irgendwie in die Generierung des copy-Buttons einfließen...
Weils bei einem Thread wiedermal ein Problem war:
Code:[173892.040963] ata6.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x0 [173892.040970] ata6.00: irq_stat 0x40000008 [173892.040978] ata6.00: failed command: READ FPDMA QUEUED [173892.040991] ata6.00: cmd 60/08:00:c8:7a:a8/00:00:ae:00:00/40 tag 0 ncq 4096 in [173892.040994] res 41/40:06:ca:7a:a8/00:00:ae:00:00/40 Emask 0x409 (media error) <F> [173892.041001] ata6.00: status: { DRDY ERR } [173892.041005] ata6.00: error: { UNC } [173892.053994] ata6.00: configured for UDMA/133 [173892.054018] ata6: EH complete [173894.495523] ata6.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x0 [173894.495530] ata6.00: irq_stat 0x40000008 [173894.495537] ata6.00: failed command: READ FPDMA QUEUED [173894.495550] ata6.00: cmd 60/08:00:c8:7a:a8/00:00:ae:00:00/40 tag 0 ncq 4096 in [173894.495553] res 41/40:06:ca:7a:a8/00:00:ae:00:00/40 Emask 0x409 (media error) <F> [173894.495560] ata6.00: status: { DRDY ERR } [173894.495564] ata6.00: error: { UNC } [173894.509607] ata6.00: configured for UDMA/133 [173894.509632] ata6: EH complete [173896.994854] ata6.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x0 [173896.994861] ata6.00: irq_stat 0x40000008 [173896.994868] ata6.00: failed command: READ FPDMA QUEUED [173896.994881] ata6.00: cmd 60/08:00:c8:7a:a8/00:00:ae:00:00/40 tag 0 ncq 4096 in [173896.994884] res 41/40:06:ca:7a:a8/00:00:ae:00:00/40 Emask 0x409 (media error) <F> [173896.994890] ata6.00: status: { DRDY ERR } [173896.994895] ata6.00: error: { UNC } [173897.008867] ata6.00: configured for UDMA/133 [173897.008894] sd 5:0:0:0: [sdf] Unhandled sense code [173897.008898] sd 5:0:0:0: [sdf] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [173897.008906] sd 5:0:0:0: [sdf] Sense Key : Medium Error [current] [descriptor] [173897.008915] Descriptor sense data with sense descriptors (in hex): [173897.008919] 72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00 [173897.008937] ae a8 7a ca [173897.008944] sd 5:0:0:0: [sdf] Add. Sense: Unrecovered read error - auto reallocate failed [173897.008954] sd 5:0:0:0: [sdf] CDB: Read(10): 28 00 ae a8 7a c8 00 00 08 00 [173897.008970] end_request: I/O error, dev sdf, sector 2930277066 [173897.008978] Buffer I/O error on device sdf, logical block 366284633 [173897.009013] ata6: EH complete [173899.567477] ata6.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x0 [173899.567484] ata6.00: irq_stat 0x40000008 [173899.567492] ata6.00: failed command: READ FPDMA QUEUED [173899.567505] ata6.00: cmd 60/08:00:c8:7a:a8/00:00:ae:00:00/40 tag 0 ncq 4096 in [173899.567508] res 41/40:06:ca:7a:a8/00:00:ae:00:00/40 Emask 0x409 (media error) <F> [173899.567514] ata6.00: status: { DRDY ERR } [173899.567519] ata6.00: error: { UNC } [173899.580527] ata6.00: configured for UDMA/133 [173899.580552] ata6: EH complete [173902.026684] ata6.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x0 [173902.026691] ata6.00: irq_stat 0x40000008 [173902.026698] ata6.00: failed command: READ FPDMA QUEUED [173902.026710] ata6.00: cmd 60/08:00:c8:7a:a8/00:00:ae:00:00/40 tag 0 ncq 4096 in [173902.026713] res 41/40:06:ca:7a:a8/00:00:ae:00:00/40 Emask 0x409 (media error) <F> [173902.026719] ata6.00: status: { DRDY ERR } [173902.026724] ata6.00: error: { UNC } [173902.039734] ata6.00: configured for UDMA/133 [173902.039759] ata6: EH complete [173904.481767] ata6.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x0 [173904.481775] ata6.00: irq_stat 0x40000008 [173904.481782] ata6.00: failed command: READ FPDMA QUEUED [173904.481795] ata6.00: cmd 60/08:00:c8:7a:a8/00:00:ae:00:00/40 tag 0 ncq 4096 in [173904.481798] res 41/40:06:ca:7a:a8/00:00:ae:00:00/40 Emask 0x409 (media error) <F> [173904.481804] ata6.00: status: { DRDY ERR } [173904.481809] ata6.00: error: { UNC } [173904.494805] ata6.00: configured for UDMA/133 [173904.494830] ata6: EH complete [173906.936855] ata6.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x0 [173906.936862] ata6.00: irq_stat 0x40000008 [173906.936869] ata6.00: failed command: READ FPDMA QUEUED [173906.936881] ata6.00: cmd 60/08:00:c8:7a:a8/00:00:ae:00:00/40 tag 0 ncq 4096 in [173906.936884] res 41/40:06:ca:7a:a8/00:00:ae:00:00/40 Emask 0x409 (media error) <F> [173906.936891] ata6.00: status: { DRDY ERR } [173906.936895] ata6.00: error: { UNC } [173906.949902] ata6.00: configured for UDMA/133 [173906.949927] ata6: EH complete [173909.391944] ata6.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x0 [173909.391952] ata6.00: irq_stat 0x40000008 [173909.391958] ata6.00: failed command: READ FPDMA QUEUED [173909.391971] ata6.00: cmd 60/08:00:c8:7a:a8/00:00:ae:00:00/40 tag 0 ncq 4096 in [173909.391974] res 41/40:06:ca:7a:a8/00:00:ae:00:00/40 Emask 0x409 (media error) <F> [173909.391981] ata6.00: status: { DRDY ERR } [173909.391985] ata6.00: error: { UNC } [173909.404977] ata6.00: configured for UDMA/133 [173909.405001] ata6: EH complete [173911.847027] ata6.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x0 [173911.847034] ata6.00: irq_stat 0x40000008 [173911.847041] ata6.00: failed command: READ FPDMA QUEUED [173911.847053] ata6.00: cmd 60/08:00:c8:7a:a8/00:00:ae:00:00/40 tag 0 ncq 4096 in [173911.847056] res 41/40:06:ca:7a:a8/00:00:ae:00:00/40 Emask 0x409 (media error) <F> [173911.847063] ata6.00: status: { DRDY ERR } [173911.847067] ata6.00: error: { UNC } [173911.860075] ata6.00: configured for UDMA/133 [173911.860102] sd 5:0:0:0: [sdf] Unhandled sense code [173911.860106] sd 5:0:0:0: [sdf] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [173911.860114] sd 5:0:0:0: [sdf] Sense Key : Medium Error [current] [descriptor] [173911.860123] Descriptor sense data with sense descriptors (in hex): [173911.860127] 72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00 [173911.860145] ae a8 7a ca [173911.860153] sd 5:0:0:0: [sdf] Add. Sense: Unrecovered read error - auto reallocate failed [173911.860162] sd 5:0:0:0: [sdf] CDB: Read(10): 28 00 ae a8 7a c8 00 00 08 00 [173911.860178] end_request: I/O error, dev sdf, sector 2930277066 [173911.860186] Buffer I/O error on device sdf, logical block 366284633 [173911.860218] ata6: EH complete
naja um das effektiv zu verhindern müsste man entweder von reinem pattern-matching auf einen richtigen Parser umsatteln, oder das Ganze als DOM-Tree behandeln (was ersterer Variante gleichkommt) - Oder man löst das alles per JavaScript.
@mat: Vielleicht könnte man übergangsweise, wenn ein [code] oder [php] Tag geparsed wird das Glossary deaktivieren für den Post?
Etwas sehr ähnliches passiert übrigens bei Bildernamen - ich hab vor einiger Zeit mal den Bugreport [1] dafür gepostet.
Die Idee mit dem deaktivieren halt ich für einen netten quick'n'dirty Workaround, sollte nur in den wenigsten Fällen auffallen.
[1] http://www.overclockers.at/bug_repo...e-bilder_215345
wenn urls im code stehen, endet das dann auch blöd, da ein [ url ]-Tag gemacht wird.
Das automatische parsen von URLs kann man aber deaktivieren.
Der Glossary-URL-Bug ist ja schon seit längerem gefixt. Das Code-Tag ist ein bisschen furchtbar, ich weiß. Wir werden uns darum kümmern ...
overclockers.at v4.thecommunity
© all rights reserved by overclockers.at 2000-2025