From owner-freebsd-current@FreeBSD.ORG Thu Jan 22 03:51:15 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA8DC16A4CE for ; Thu, 22 Jan 2004 03:51:15 -0800 (PST) Received: from mail.dti.supsi.ch (mail.die.supsi.ch [193.5.153.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id F06CD43D31 for ; Thu, 22 Jan 2004 03:51:10 -0800 (PST) (envelope-from roberto.nunnari@supsi.ch) Received: from supsi.ch (pcm2027.dti.supsi.ch [193.5.152.27]) by mail.dti.supsi.ch (8.11.6/8.11.6) with ESMTP id i0MBp8X31470 for ; Thu, 22 Jan 2004 12:51:08 +0100 Message-ID: <400FB92C.4090207@supsi.ch> Date: Thu, 22 Jan 2004 12:51:08 +0100 From: Roberto Nunnari User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <400EC37A.6000505@supsi.ch> In-Reply-To: <400EC37A.6000505@supsi.ch> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: problem with scsi device (please help) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jan 2004 11:51:15 -0000 ok ok.. not all at once, please.. hehehehe well.. I'm sorry to post again.. but as this is quite a problem for us and I'd be grateful if somebody could give some support. As I've seen no answer here, this morning I posted to -scsi as well.. and got no answers either.. so.. that's why I ask again.. and I'll also add some more info by saying that last week I installed another OS on that same machine.. just to make sure it's not a hardware problem.. and it worked without a problem.. went back to FreeBSD and the problem is again there.. The server and the tape drive are younger than 1 year old and the tapes are of good quality. I'd be grateful if somebody could look into these logs and tell me what's the problem... Please ask me if you want more details. Thank you. Roberto Nunnari wrote: > Hi all. > > I've got some problem with a SCSI DDS-4 tape streamer.. > > the system identifies it as: > > Removable Sequential Access SCSI-3 device > > while the BIOS sais: > > Python 06408-XXX 80.0 > > it just doesn't behave as expected... the same problem > is present since I first installed 5.0-RELEASE, then with > 5.1-RELEASE and now with 5.2-RELEASE > > it seams that if I use a new tape, then I can dump on it.. > but if I try to overwrite the tape, it starts behaving funny. > also.. anytime I try to write to a non new tape, it will > make errors and turn on the dirt led. > The result is that it's not possible to make any reliable > dump/restore on it. > > the tape drive is less than 1 year old and the tapes are > of good quality. > > Thank you. > ********************************************* > web.dti.supsi.ch# uname -a > FreeBSD web.dti.supsi.ch 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Tue Jan 13 > 14:28:57 CET 2004 root@web.dti.supsi.ch:/usr/obj/usr/src/sys/WEB i386 > > web.dti.supsi.ch# cat mydump00.sh > #!/bin/sh > /sbin/dump -0uLaf /dev/nsa0 / > /sbin/dump -0uLaf /dev/nsa0 /usr > /sbin/dump -0uLaf /dev/nsa0 /var > > web.dti.supsi.ch# df > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/amrd0s1a 257838 60070 177142 25% / > devfs 1 1 0 100% /dev > /dev/amrd0s1e 257838 12 237200 0% /tmp > /dev/amrd0s1f 32123334 5850974 23702494 20% /usr > /dev/amrd0s1d 257838 54726 182486 23% /var > B:/usr/users 17782536 6544189 11062576 37% /usr/users > > web.dti.supsi.ch# dmesg > Copyright (c) 1992-2004 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 5.2-RELEASE #0: Tue Jan 13 14:28:57 CET 2004 > root@web.dti.supsi.ch:/usr/obj/usr/src/sys/WEB > Preloaded elf kernel "/boot/kernel/kernel" at 0xc098c000. > Preloaded elf module "/boot/kernel/acpi.ko" at 0xc098c21c. > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.30-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 > > Features=0xbfebfbff > > Hyperthreading: 2 logical CPUs > real memory = 1073610752 (1023 MB) > avail memory = 1033445376 (985 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > cpu2 (AP): APIC ID: 2 > cpu3 (AP): APIC ID: 3 > ioapic0: Changing APIC ID to 4 > ioapic1: Changing APIC ID to 5 > ioapic2: Changing APIC ID to 6 > ioapic2: WARNING: intbase 72 != expected base 48 > ioapic3: Changing APIC ID to 7 > ioapic3: WARNING: intbase 120 != expected base 96 > ioapic4: Changing APIC ID to 8 > ioapic0 irqs 0-23 on motherboard > ioapic1 irqs 24-47 on motherboard > ioapic2 irqs 72-95 on motherboard > ioapic3 irqs 120-143 on motherboard > ioapic4 irqs 144-167 on motherboard > Pentium Pro MTRR support enabled > npx0: [FAST] > npx0: on motherboard > npx0: INT 16 interface > acpi0: on motherboard > pcibios: BIOS version 2.10 > Using $PIR table, 12 entries at 0xc00fc160 > acpi0: Power Button (fixed) > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 > acpi_cpu0: on acpi0 > acpi_cpu1: on acpi0 > acpi_cpu2: on acpi0 > acpi_cpu3: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pcib1: at device 2.0 on pci0 > pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.PCI2 - > AE_NOT_FOUND > pci1: on pcib1 > pci1: at device 28.0 (no driver > attached) > pcib2: at device 29.0 on pci1 > pci2: on pcib2 > ahc0: port 0xec00-0xecff mem > 0xfeaff000-0xfeafffff irq 24 at device 2.0 on pci2 > aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs > ahc1: port 0xe800-0xe8ff mem > 0xfeafe000-0xfeafefff irq 25 at device 2.1 on pci2 > aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs > pci1: at device 30.0 (no driver > attached) > pcib3: at device 31.0 on pci1 > pci3: on pcib3 > em0: port > 0xdce0-0xdcff mem 0xfe8c0000-0xfe8dffff,0xfe8e0000-0xfe8fffff irq 28 at > device 1.0 on pci3 > em0: Speed:N/A Duplex:N/A > pcib4: at device 3.0 on pci0 > pcib4: could not get PCI interrupt routing table for \\_SB_.PCI0.PCI3 - > AE_NOT_FOUND > pci4: on pcib4 > pci4: at device 28.0 (no driver > attached) > pcib5: at device 29.0 on pci4 > pci5: on pcib5 > pci4: at device 30.0 (no driver > attached) > pcib6: at device 31.0 on pci4 > pci6: on pcib6 > pcib7: at device 4.0 on pci0 > pcib7: could not get PCI interrupt routing table for \\_SB_.PCI0.PCI4 - > AE_NOT_FOUND > pci7: on pcib7 > pci7: at device 28.0 (no driver > attached) > pcib8: at device 29.0 on pci7 > pci8: on pcib8 > amr0: mem 0xfbff0000-0xfbffffff irq 120 at device > 8.0 on pci8 > amr0: Firmware 2.24, BIOS 1.03, 128MB RAM > pci7: at device 30.0 (no driver > attached) > pcib9: at device 31.0 on pci7 > pci10: on pcib9 > uhci0: port > 0xbce0-0xbcff irq 16 at device 29.0 on pci0 > 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 > pcib10: at device 30.0 on pci0 > pci11: on pcib10 > pci11: at device 4.0 (no driver attached) > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci0: port > 0xfc00-0xfc0f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata0: [MPSAFE] > ata1: at 0x170 irq 15 on atapci0 > ata1: [MPSAFE] > fdc0: port > 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 > fdc0: FIFO enabled, 8 bytes threshold > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > atkbdc0: port 0x64,0x60 irq 1 on acpi0 > atkbd0: flags 0x1 irq 1 on atkbdc0 > kbd0 at atkbd0 > psm0: irq 12 on atkbdc0 > psm0: model Generic PS/2 mouse, device ID 0 > sio0 port 0x3f8-0x3ff irq 4 on acpi0 > sio0: type 16550A > sio1 port 0x2f8-0x2ff irq 3 on acpi0 > sio1: type 16550A > ppc0 port 0x778-0x77f,0x378-0x37f irq 7 drq 1 on acpi0 > ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode > ppc0: FIFO with 16/16/8 bytes threshold > ppbus0: on ppc0 > plip0: on ppbus0 > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus0 > orm0: