Skip to contentSkip to conversation

regression: 2.6.9-rc2 (BK) tape error causes amanda to hang?

DISCUSSION Matthias Andree 1 participant 1 message Sep 17, 2004 SCSI

lore
Share & tools
lore
#0 lore raw

Hi,

on Wednesday night (2100 UTC), I was missing my Amanda backup log I should have received by mail around 1400 UTC.

I checked and amanda had two taper processes (the usual set) hung, and checked dmesg to find that the tape drive had failed to write a block, reporting Media Error/Excessive write errors.

In SuSE's default 2.6.5+susehacks kernel and in vanilla 2.6.7, errors are propagated properly back to the application, amanda logs the write error, mails the report and quits. With 2.6.9-rc2, nothing like that, the tapers just hung. Is there some return missing? The kernel was compiled late on Sept 13 (UTC).

Relevant hardware:
* Asus A7V600-X PC mobo (VIA chipset), AMD Athlon XP Barton, 1/2 GB RAM
* Tekram DC-390F (UWSCSI adaptor based on SYMBIOS 53C875)
* Tandberg TDC4222 ("SLR 4 DC") firmware =07:28CREATED073196

(Other stuff on the bus is a Plextor PX-32TS 1.02, a Fujitsu MAH-3182MP 0114 and a Tandberg SLR6 "SLR 24" 0404D.)

I know I should exchange the broken tape and have spare cartridges in the cupboard but I have seen so many quirks in Linux post-2.6.7 that I'll leave the broken tape in the cycle so we can test possible fixes...

Signature · 3 lines
Matthias Andree

Encrypted mail welcome: my GnuPG key ID is 0x052E7D95 (PGP/MIME preferred)