From owner-freebsd-stable@FreeBSD.ORG Mon Jul 19 18:58:44 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB45C16A4CE for ; Mon, 19 Jul 2004 18:58:44 +0000 (GMT) Received: from mx0.rambler.ru (mx0.rambler.ru [81.19.66.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EC9943D5C for ; Mon, 19 Jul 2004 18:58:43 +0000 (GMT) (envelope-from Alex.Markelov@rambler.ru) Received: from mailc.rambler.ru (mailc.rambler.ru [81.19.66.27]) by mx0.rambler.ru (Postfix) with ESMTP id 390C54301AD for ; Mon, 19 Jul 2004 22:58:42 +0400 (MSD) Received: from rambler.ru (blueice1n1.uk.ibm.com [195.212.29.67]) (authenticated bits=0) by mailc.rambler.ru (8.12.10/8.12.10) with ESMTP id i6JIwYJ7018555 for ; Mon, 19 Jul 2004 22:58:41 +0400 (MSD) Message-ID: <40FC2795.9060506@rambler.ru> Date: Mon, 19 Jul 2004 19:57:09 +0000 From: "Alex N. Markelov" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040625 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Auth-User: Alex.Markelov, whoson: (null) Subject: Problem with aacp and HP 40x6 changer on STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Alex.Markelov@rambler.ru List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jul 2004 18:58:44 -0000 Hi Guys! I'm having problems on the latest STABLE with tape changer HP 40x6. The device correctly detected by sa0 and pass8 device drivers, but when I issue mtx -f /dev/pass8 status command, error appears: neptun# mtx -f /dev/pass8 status mtx: Request Sense: Long Report=yes mtx: Request Sense: Valid Residual=no mtx: Request Sense: Error Code=0 (Unknown?!) mtx: Request Sense: Sense Key=No Sense mtx: Request Sense: FileMark=no mtx: Request Sense: EOM=no mtx: Request Sense: ILI=no mtx: Request Sense: Additional Sense Code = 00 mtx: Request Sense: Additional Sense Qualifier = 00 mtx: Request Sense: BPV=no mtx: Request Sense: Error in CDB=no mtx: Request Sense: SKSV=no READ ELEMENT STATUS Command Failed In messages I have: (pass8:aacp1:0:5:1): READ ELEMENT STATUS. CDB: b8 12 0 0 0 40 0 0 16 1c 0 0 (pass8:aacp1:0:5:1): ILLEGAL REQUEST asc:24,0 (pass8:aacp1:0:5:1): Invalid field in CDB sks:cc,1 Here my dmesg: neptun# 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 4.10-STABLE #0: Mon Jul 19 11:00:31 GMT 2004 root@neptun:/usr/obj/usr/src/sys/IRON Timecounter "i8254" frequency 1193182 Hz CPU: Intel(R) Xeon(TM) CPU 3.20GHz (3199.11-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf25 Stepping = 5 Features=0xbfebfbff Hyperthreading: 2 logical CPUs real memory = 2146959360 (2096640K bytes) avail memory = 2087280640 (2038360K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 Programming 24 pins in IOAPIC #1 Programming 24 pins in IOAPIC #2 Programming 24 pins in IOAPIC #3 Programming 24 pins in IOAPIC #4 FreeBSD/SMP: Multiprocessor motherboard: 4 CPUs cpu0 (BSP): apic id: 0, version: 0x00050014, at 0xfee00000 cpu1 (AP): apic id: 6, version: 0x00050014, at 0xfee00000 cpu2 (AP): apic id: 1, version: 0x00050014, at 0xfee00000 cpu3 (AP): apic id: 7, version: 0x00050014, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00178020, at 0xfec00000 io1 (APIC): apic id: 3, version: 0x00178020, at 0xfec80000 io2 (APIC): apic id: 4, version: 0x00178020, at 0xfec80400 io3 (APIC): apic id: 5, version: 0x00178020, at 0xfec81000 io4 (APIC): apic id: 8, version: 0x00178020, at 0xfec81400 Preloaded elf kernel "kernel" at 0xc03ca000. Warning: Pentium 4 CPU: PSE disabled Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 29 entries at 0xc00fddf0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard IOAPIC #0 intpin 16 -> irq 2 IOAPIC #0 intpin 19 -> irq 10 IOAPIC #0 intpin 18 -> irq 11 pci0: on pcib0 pci0: (vendor=0x8086, dev=0x2541) at 0.1 pcib1: at device 2.0 on pci0 pci1: on pcib1 pci1: (vendor=0x8086, dev=0x1461) at 28.0 pcib2: at device 29.0 on pci1 pci2: on pcib2 pci1: (vendor=0x8086, dev=0x1461) at 30.0 pcib3: at device 31.0 on pci1 IOAPIC #1 intpin 0 -> irq 16 IOAPIC #1 intpin 4 -> irq 17 IOAPIC #1 intpin 5 -> irq 18 pci3: on pcib3 aac0: mem 0xf8000000-0xfbffffff irq 16 at device 1.0 on pci3 aac0: Unknown processor 100MHz, 48MB cache memory, optional battery present aac0: Kernel 4.1-0, Build 7244, S/N ba9aa7 aac0: Supported Options=11d7e aacp0: on aac0 aacp1: on aac0 em0: port 0x3000-0x303f mem 0xf4200000-0xf421ffff irq 17 at device 2.0 on pci3 em0: Speed:N/A Duplex:N/A em1: port 0x3040-0x307f mem 0xf4220000-0xf423ffff irq 18 at device 2.1 on pci3 em1: Speed:N/A Duplex:N/A pcib4: at device 3.0 on pci0 pci4: on pcib4 pci4: (vendor=0x8086, dev=0x1461) at 28.0 pcib5: at device 29.0 on pci4 pci5: on pcib5 pci4: (vendor=0x8086, dev=0x1461) at 30.0 pcib6: at device 31.0 on pci4 pci6: on pcib6 uhci0: port 0x2000-0x201f irq 2 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 uhci1: port 0x2020-0x203f irq 10 at device 29.1 on pci0 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 0x2040-0x205f irq 11 at device 29.2 on pci0 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 pcib7: at device 30.0 on pci0 pci7: on pcib7 pci7: at 1.0 irq 2 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x2060-0x206f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 irq 0 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: (vendor=0x8086, dev=0x2483) at 31.3 irq 0 orm0: