Date: Wed, 4 Apr 2007 14:34:00 GMT From: Maurizio Giunti<maurizio@mauriziogiunti.it> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/111236: tar error in listing archive contents (-t command) Message-ID: <200704041434.l34EY0bG065355@www.freebsd.org> Resent-Message-ID: <200704041440.l34Ee6mJ092605@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 111236 >Category: misc >Synopsis: tar error in listing archive contents (-t command) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 04 14:40:05 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Maurizio Giunti >Release: 6.2 >Organization: MGShareware >Environment: uname -a: FreeBSD gandalf.homegiunti 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Tue Jan 30 16:56:24 CET 2007 root@gandalf.homegiunti:/usr/src/sys/i386/compile/GANDALF i386 dmesg: Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-RELEASE #0: Tue Jan 30 16:56:24 CET 2007 root@gandalf.homegiunti:/usr/src/sys/i386/compile/GANDALF Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.52-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf49 Stepping = 9 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0x641d<SSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,<b14>> AMD Features=0x20100000<NX,LM> AMD Features2=0x1<LAHF> Logical CPUs per core: 2 real memory = 1072693248 (1023 MB) avail memory = 1040539648 (992 MB) MPTable: <Intel Lakeport > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Assuming intbase of 0 ioapic0 <Version 2.0> irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) cpu0 on motherboard cpu1 on motherboard pcib0: <MPTable Host-PCI bridge> pcibus 0 on motherboard pci0: <PCI bus> on pcib0 pci0: <display, VGA> at device 2.0 (no driver attached) uhci0: <UHCI (generic) USB controller> port 0xe000-0xe01f irq 23 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: <UHCI (generic) USB controller> on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: <UHCI (generic) USB controller> port 0xdc00-0xdc1f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: <UHCI (generic) USB controller> on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: <UHCI (generic) USB controller> port 0xd880-0xd89f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: <UHCI (generic) USB controller> on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: <UHCI (generic) USB controller> port 0xd800-0xd81f irq 16 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: <UHCI (generic) USB controller> on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem 0xffa3fc00-0xffa3ffff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb4: waiting for BIOS to give up control usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: <Intel 82801GB/R (ICH7) USB 2.0 controller> on ehci0 usb4: USB revision 2.0 uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered pcib1: <MPTable PCI-PCI bridge> at device 30.0 on pci0 pci1: <PCI bus> on pcib1 ahc0: <Adaptec 29160N Ultra160 SCSI adapter> port 0xc800-0xc8ff mem 0xff8ff000-0xff8fffff irq 16 at device 0.0 on pci1 ahc0: [GIANT-LOCKED] aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs rl0: <RealTek 8139 10/100BaseTX> port 0xc400-0xc4ff mem 0xff8efc00-0xff8efcff irq 20 at device 4.0 on pci1 miibus0: <MII bus> on rl0 rlphy0: <RealTek internal media interface> on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:16:17:49:45:ef isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH7 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0 ata0: <ATA channel 0> on atapci0 ata1: <ATA channel 1> on atapci0 atapci1: <Intel ICH7 SATA300 controller> port 0xe880-0xe887,0xe800-0xe803,0xe480-0xe487,0xe400-0xe403,0xe080-0xe08f irq 19 at device 31.2 on pci0 ata2: <ATA channel 0> on atapci1 ata3: <ATA channel 1> on atapci1 pci0: <serial bus, SMBus> at device 31.3 (no driver attached) pmtimer0 on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse Explorer, device ID 4 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: <Parallel port bus> on ppc0 plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: <PNP0c01> can't assign resources (memory) unknown: <PNP0501> can't assign resources (port) unknown: <PNP0501> can't assign resources (port) unknown: <PNP0400> can't assign resources (port) unknown: <PNP0303> can't assign resources (port) unknown: <PNP0f13> can't assign resources (irq) pwc0: vendor 0x046d product 0x08b4, rev 1.10/0.03, addr 2 pwc0: Logitech QuickCam Zoom (new model) USB webcam pwc0: This camera is equipped with a unknown type of sensor (112) ugen0: American Power Conversion Back-UPS RS 1000 FW:7.g8 .I USB FW:g8, rev 1.10/1.06, addr 2 Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, default to deny, logging disabled acd0: DVDR <BENQ DVD DD DW1640/BSHB> at ata0-slave UDMA33 ad4: 286188MB <Maxtor 6L300S0 BACE1G20> at ata2-master SATA150 GEOM_MIRROR: Device gm0 created (id=2613154795). GEOM_MIRROR: Device gm0: provider ad4 detected. ad5: 305245MB <MAXTOR STM3320820AS 3.AAE> at ata2-slave SATA150 ad6: 286188MB <Maxtor 6L300S0 BACE1G20> at ata3-master SATA150 Waiting 5 seconds for SCSI devices to settle GEOM_MIRROR: Device gm0: provider ad6 detected. GEOM_MIRROR: Device gm0: provider ad6 activated. GEOM_MIRROR: Device gm0: provider ad4 activated. GEOM_MIRROR: Device gm0: provider mirror/gm0 launched. sa0 at ahc0 bus 0 target 4 lun 0 sa0: <QUANTUM DLT7000 2561> Removable Sequential Access SCSI-2 device sa0: 10.000MB/s transfers (10.000MHz, offset 15) SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/mirror/gm0s1a rl0: link state changed to UP >Description: If I create a tar archive containing big files (over 1GB) I get errors when I try to list its content with -t tar command, while extracting (-x) works fine. Example: gandalf# ll -h /archive/dumps/19 total 6075088 -rw-r--r-- 1 root wheel 1.6G Mar 19 05:09 foto.dump.gz -rw-r--r-- 1 root wheel 2.1G Mar 19 04:59 home.dump.gz -rw-r--r-- 1 root wheel 1.5G Mar 19 05:23 mysql.dump.gz -rw-r--r-- 1 root wheel 44M Mar 19 04:50 root.dump.gz -rw-r--r-- 1 root wheel 608M Mar 19 05:04 usr.dump.gz -rw-r--r-- 1 root wheel 10M Mar 19 05:04 var.dump.gz gandalf# tar -cvf /disk2/test/test.tar 19 a 19 a 19/root.dump.gz a 19/home.dump.gz a 19/usr.dump.gz a 19/var.dump.gz a 19/foto.dump.gz a 19/mysql.dump.gz gandalf# cd /disk2/test/ gandalf# tar -tvf test.tar drwxr-xr-x 0 root wheel 0 Mar 19 05:09 19 -rw-r--r-- 0 root wheel 45711222 Mar 19 04:50 19/root.dump.gz -rw-r--r-- 0 root wheel 2210089943 Mar 19 04:59 19/home.dump.gz tar: (Empty error message) gandalf# tar -xvf test.tar x 19 x 19/root.dump.gz x 19/home.dump.gz .... Note: if I use as tar output device a tape driver (I own a DLT tape) I get a different error: gandalf# tar tv drwxr-xr-x 0 root wheel 0 Mar 28 04:49 archive/dumps drwxr-xr-x 0 root wheel 0 Mar 28 04:51 archive/dumps/28 -rw-r--r-- 0 root wheel 340251 Mar 28 04:49 archive/dumps/28/root.dump.gz tar: Unrecognized archive format: Inappropriate file type or format And again I have no problems in untarring files with tar xv command. >How-To-Repeat: Create over 1GB files and tar them. Then try use tar tv to list their contents. >Fix: none >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704041434.l34EY0bG065355>