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

Bug#502452: marked as done (kernel: UDF written file corrupted by zeros)



Your message dated Fri, 1 Apr 2011 21:57:13 +0200
with message-id <20110401195713.GA13374@pisco.westfalen.local>
and subject line Re: Bug#502452: Info received (kernel: UDF written file corrupted by  zeros)
has caused the Debian Bug report #502452,
regarding kernel: UDF written file corrupted by zeros
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
502452: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502452
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: kernel
Version: 2.6.24-etchnhalf.1-amd64
Severity: important


Due to existing bugs I had with UDF in kernel 2.6.18, I use 2.6.24 for 8
days.
With 2.6.18 some file were not copied/created, when my log file was mainly
right.
With 2.6.24 my log file is corrupt.

Some monthes ago, I made one script which copy files to the 33 Gbytes IOMEGA /dev/hda
drive I formatted just before, with udf filesystem, in the same time it
writes the text log file.

Everithing looks nice, but begin of log file contains null bytes till
around offset 0x06e3, when begin of this text file is missing.

The log file is obtained by redirecting stdout.

Disk was formated with:

dd if=/dev/zero of=$DEV bs=512 count=64
/usr/bin/mkudffs --lvid="$LABEL" --vid="$LABEL"  --vsid="$LABEL"
--fsid=$label --media-type=hd  $DEV  &&
mount -i -t udf $DEV $MNT &&
(
echo -e "Role:Archivage hebdomadaire\nnum:Cartouche $label" >
/mnt/iomega/identifiant.txt
umount $DEV
)


Log file is created with the following command:
sauvegarde >$DEST/log/log.log

Function sauvegarde begins with:

presente_date ()
{
  echo -n "          "
  date
}


indente ()
{
  sed -u 's/^/  /g'
}

sauvegarde ()
{
echo -n " A la date du   "; date # FIXME pour process de verification de
date
echo
echo Sauvegarde de $SOURCE vers $DEST
presente_date
cd $SOURCE
echo "i varie dans " *
for i in *
do
        if [ -d $i ]
        then
        (
        if pushd $i
        then
        echo "j varie dans " * &&
        for j in *
        do
            if [ ! -f  $toto ]
            then
                echo " bof"
                continue
            fi

                echo
                echo "** Traitement de  $i/$j"
                presente_date
                if [ $OPTION_CHERCHE_ANTIVIRUS -eq 1 ]
                then

                        echo " Recherche d'antivirus dans $i/$j"
                        clamscan -ri --detect-broken --block-encrypted
--block-max --max-files=2000 --max-space=100M $j
                        presente_date
                else
                        echo " Desactivation de la recherche antivirus,
pour les performances"
                fi

                echo "Archivage de  $i/$j"
                destname=$DEST/data/${i}_"$j"

                (
                echo "$destname"
                if [ -f "$j" ] # guillemets "" pour les noms de fichiers
à espace
                then
                        cp "$j"  $DEST/data/${i}_"$j"
                        #cp "$j"  "$destname"
                else
                        echo " " tar czf $DEST/data/${i}_"$j".tgz $j
                        echo " " tar czf "$destname".tgz $j
                        #tar czf "$destname".tgz $j  ||
                        tar cz  --ignore-failed-read -f
$DEST/data/${i}_"$j".tgz $j ||
                        (
                        echo "ECHEC ARCHIVAGE TAR non splité" &&





-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.24-etchnhalf.1-amd64
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)



--- End Message ---
--- Begin Message ---
On Tue, Aug 04, 2009 at 06:27:04PM +0200, jeanmichel.123@free.fr wrote:
> Selon Debian Bug Tracking System <owner@bugs.debian.org>:
> 
> >
> > Thank you for the additional information you have supplied regarding
> > this Bug report.
> 
> 
> In fact, UDF for those 33 Gbytes cartridge seams to work fine with linux debian
> both 32 bits and 64 bits, both kernel 2.6.18 (for reading) and 2.6.24, both IDE
> and USB.
> 
> However, cartridge written with linux is not fully readable under windows XP:
> 
> Cartridge is recognized as plug and play when connecting USB.
> Three directory in root are displayed in explorer.
> According to windows explorer,
> lost+found directory is empty (ok).
> log directory contain a single file witch is readable (ok).
> data directory containing about 20 or 40 files including some files up to 3-4
> Gyga bytes is marked as broken, so those 20-40 files are not displayed by
> explorer.

Closing the bug. Compability with Windows is beyond the scope of this bug.

Cheers,
        Moritz


--- End Message ---

Reply to: