From owner-freebsd-bugs@FreeBSD.ORG Wed Apr 4 14:40:06 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 68CBA16A408 for ; Wed, 4 Apr 2007 14:40:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 4841913C4B7 for ; Wed, 4 Apr 2007 14:40:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l34Ee6R3092606 for ; Wed, 4 Apr 2007 14:40:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l34Ee6mJ092605; Wed, 4 Apr 2007 14:40:06 GMT (envelope-from gnats) Resent-Date: Wed, 4 Apr 2007 14:40:06 GMT Resent-Message-Id: <200704041440.l34Ee6mJ092605@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Maurizio Giunti Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9E18416A402 for ; Wed, 4 Apr 2007 14:39:02 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 825A313C45A for ; Wed, 4 Apr 2007 14:39:02 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l34Ed1IT066186 for ; Wed, 4 Apr 2007 14:39:01 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l34EY0bG065355; Wed, 4 Apr 2007 14:34:00 GMT (envelope-from nobody) Message-Id: <200704041434.l34EY0bG065355@www.freebsd.org> Date: Wed, 4 Apr 2007 14:34:00 GMT From: Maurizio Giunti To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: misc/111236: tar error in listing archive contents (-t command) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Apr 2007 14:40:06 -0000 >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 Features2=0x641d> AMD Features=0x20100000 AMD Features2=0x1 Logical CPUs per core: 2 real memory = 1072693248 (1023 MB) avail memory = 1040539648 (992 MB) MPTable: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Assuming intbase of 0 ioapic0 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: pcibus 0 on motherboard pci0: on pcib0 pci0: at device 2.0 (no driver attached) uhci0: port 0xe000-0xe01f irq 23 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: 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: port 0xdc00-0xdc1f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: 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: port 0xd880-0xd89f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: 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: port 0xd800-0xd81f irq 16 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: 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: 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: 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: at device 30.0 on pci0 pci1: on pcib1 ahc0: 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: port 0xc400-0xc4ff mem 0xff8efc00-0xff8efcff irq 20 at device 4.0 on pci1 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:16:17:49:45:ef isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 atapci1: port 0xe880-0xe887,0xe800-0xe803,0xe480-0xe487,0xe400-0xe403,0xe080-0xe08f irq 19 at device 31.2 on pci0 ata2: on atapci1 ata3: on atapci1 pci0: at device 31.3 (no driver attached) pmtimer0 on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse Explorer, device ID 4 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sc0: 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: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources (memory) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: 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 at ata0-slave UDMA33 ad4: 286188MB at ata2-master SATA150 GEOM_MIRROR: Device gm0 created (id=2613154795). GEOM_MIRROR: Device gm0: provider ad4 detected. ad5: 305245MB at ata2-slave SATA150 ad6: 286188MB 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: 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: