From owner-freebsd-scsi@FreeBSD.ORG Sun May 25 03:06:24 2003 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCBC837B407; Sun, 25 May 2003 03:06:24 -0700 (PDT) Received: from is2.mh.itc.u-tokyo.ac.jp (is2.mh.itc.u-tokyo.ac.jp [133.11.205.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5262343F85; Sun, 25 May 2003 03:06:23 -0700 (PDT) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from is2.mh.itc.u-tokyo.ac.jp (is2.mh.itc.u-tokyo.ac.jp [127.0.0.1]) by is2.mh.itc.u-tokyo.ac.jp (Postfix) with ESMTP id 1613D3781B4; Sun, 25 May 2003 19:06:22 +0900 (JST) Received: from mailhosting.itc.u-tokyo.ac.jp (IDENT:mirapoint@mailhosting.itc.u-tokyo.ac.jp [133.11.205.3]) h4PA6LV0012661; Sun, 25 May 2003 19:06:21 +0900 Received: from ett.sat.t.u-tokyo.ac.jp (ett.sat.t.u-tokyo.ac.jp [133.11.135.3])3.3.5-GR) with ESMTP id AIT25684; Sun, 25 May 2003 19:06:21 +0900 (JST) Date: Sun, 25 May 2003 19:06:21 +0900 Message-ID: From: Hidetoshi Shimokawa To: Chuck McCrobie In-Reply-To: <20030512170820.41494.qmail@web14811.mail.yahoo.com> References: <20030512170820.41494.qmail@web14811.mail.yahoo.com> User-Agent: Wanderlust/2.11.0 (Wonderwall) REMI/1.14.3 (Matsudai) FLIM/1.14.3 (=?ISO-8859-1?Q?Unebigory=F2mae?=) APEL/10.3 MULE XEmacs/21.4 (patch 8) (Honest Recruiter) (i386--freebsd) X-Face: OE([KxWyJI0r[R~S/>7ia}SJ)i%a,$-9%7{*yihQk|]gl}2p#"oXmX/fT}Bn7: #j7i14gu$jgR\S*&C3R/pJX List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 May 2003 10:06:25 -0000 CC'ed to freebsd-scsi. At Mon, 12 May 2003 10:08:20 -0700 (PDT), Chuck McCrobie wrote: > > [1 ] > Please find attached the log file from a boot with the > PowerFile changer. One drive in the changer does not > support the "12 21 80 00 ff 00" command that is sent > during XPT probing. It seems that the second cd drive doesn't support INQUIRY command. We may need something like NO_INQUIRY in umass.c. > When the error comes back, it appears sbp endlessly > resends the command. > > Attached /var/log/message output. > > I managed to get the changer working by adding a > CAM_QUIRK_NOSERIAL to the cam_xpt.c file, but this > seems to be quite a hack. > > I can try debugging code, etc. since I still have > access to the PowerFile. > > Chuck McCrobie > mccrobie2000@yahoo.com /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html From owner-freebsd-scsi@FreeBSD.ORG Sun May 25 07:53:28 2003 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 451C737B401; Sun, 25 May 2003 07:53:28 -0700 (PDT) Received: from magic.adaptec.com (magic-mail.adaptec.com [208.236.45.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id A147D43F75; Sun, 25 May 2003 07:53:27 -0700 (PDT) (envelope-from scott_long@btc.adaptec.com) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.11.6/8.11.6) with ESMTP id h4PEmvZ11682; Sun, 25 May 2003 07:48:57 -0700 Received: from btc.adaptec.com (hollin.btc.adaptec.com [10.100.253.56]) by redfish.adaptec.com (8.8.8p2+Sun/8.8.8) with ESMTP id HAA04693; Sun, 25 May 2003 07:53:13 -0700 (PDT) Message-ID: <3ED0D8F6.2070001@btc.adaptec.com> Date: Sun, 25 May 2003 08:53:42 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.3.1) Gecko/20030425 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Hidetoshi Shimokawa References: <20030512170820.41494.qmail@web14811.mail.yahoo.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-scsi@freebsd.org cc: freebsd-firewire@freebsd.org Subject: Re: Errors during probe cause inifinite loop in sbp X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 May 2003 14:53:28 -0000 I don't subscribe to the freebsd-firewire list and I can't seem to extract the encoded log file that was posted there. Can you please send it to me? It's *HIGHLY* unlikely that the drive doesn't support the INQUIRY command, though CAM might be giving it a field that it doesn't like. Scott Hidetoshi Shimokawa wrote: > CC'ed to freebsd-scsi. > > At Mon, 12 May 2003 10:08:20 -0700 (PDT), > Chuck McCrobie wrote: > >>[1 ] >>Please find attached the log file from a boot with the >>PowerFile changer. One drive in the changer does not >>support the "12 21 80 00 ff 00" command that is sent >>during XPT probing. > > > It seems that the second cd drive doesn't support INQUIRY command. > We may need something like NO_INQUIRY in umass.c. > > >>When the error comes back, it appears sbp endlessly >>resends the command. >> >>Attached /var/log/message output. >> >>I managed to get the changer working by adding a >>CAM_QUIRK_NOSERIAL to the cam_xpt.c file, but this >>seems to be quite a hack. >> >>I can try debugging code, etc. since I still have >>access to the PowerFile. >> >>Chuck McCrobie >>mccrobie2000@yahoo.com > > > /\ Hidetoshi Shimokawa > \/ simokawa@sat.t.u-tokyo.ac.jp > PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html > _______________________________________________ > freebsd-scsi@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-scsi > To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org" From owner-freebsd-scsi@FreeBSD.ORG Sun May 25 08:05:16 2003 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B76FC37B401; Sun, 25 May 2003 08:05:16 -0700 (PDT) Received: from is2.mh.itc.u-tokyo.ac.jp (is2.mh.itc.u-tokyo.ac.jp [133.11.205.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id A80EB43F85; Sun, 25 May 2003 08:05:13 -0700 (PDT) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from is2.mh.itc.u-tokyo.ac.jp (is2.mh.itc.u-tokyo.ac.jp [127.0.0.1]) by is2.mh.itc.u-tokyo.ac.jp (Postfix) with ESMTP id 1B0EB378123; Mon, 26 May 2003 00:05:12 +0900 (JST) Received: from mailhosting.itc.u-tokyo.ac.jp (IDENT:mirapoint@mailhosting.itc.u-tokyo.ac.jp [133.11.205.3]) h4PF5BV0032323; Mon, 26 May 2003 00:05:11 +0900 Received: from ett.sat.t.u-tokyo.ac.jp (ett.sat.t.u-tokyo.ac.jp [133.11.135.3])3.3.5-GR) with ESMTP id AIT31066; Mon, 26 May 2003 00:05:10 +0900 (JST) Date: Mon, 26 May 2003 00:05:10 +0900 Message-ID: From: Hidetoshi Shimokawa To: Scott Long In-Reply-To: <3ED0D8F6.2070001@btc.adaptec.com> References: <20030512170820.41494.qmail@web14811.mail.yahoo.com> <3ED0D8F6.2070001@btc.adaptec.com> User-Agent: Wanderlust/2.11.0 (Wonderwall) REMI/1.14.3 (Matsudai) FLIM/1.14.3 (=?ISO-8859-1?Q?Unebigory=F2mae?=) APEL/10.3 MULE XEmacs/21.4 (patch 8) (Honest Recruiter) (i386--freebsd) X-Face: OE([KxWyJI0r[R~S/>7ia}SJ)i%a,$-9%7{*yihQk|]gl}2p#"oXmX/fT}Bn7: #j7i14gu$jgR\S*&C3R/pJX List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 May 2003 15:05:17 -0000 I attached the log in the end of this mail. As far as I can tell from the configuration ROM, the first and second logical unit are the same DVD-RAM drive and the third is a changer. /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html At Sun, 25 May 2003 08:53:42 -0600, Scott Long wrote: > > I don't subscribe to the freebsd-firewire list and I can't > seem to extract the encoded log file that was posted there. > Can you please send it to me? It's *HIGHLY* unlikely that > the drive doesn't support the INQUIRY command, though CAM > might be giving it a field that it doesn't like. > > Scott ------ messages.sbp.loop -------- May 7 17:21:17 falcon kernel: Copyright (c) 1992-2003 The FreeBSD Project. May 7 17:21:17 falcon kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 May 7 17:21:17 falcon kernel: The Regents of the University of California. All rights reserved. May 7 17:21:17 falcon kernel: FreeBSD 5.0-CURRENT #1: Mon May 5 11:06:51 EDT 2003 May 7 17:21:17 falcon kernel: root@falcon:/usr/src/sys/i386/compile/cvsup May 7 17:21:17 falcon kernel: Preloaded elf kernel "/boot/cvsup/kernel" at 0xc06d4000. May 7 17:21:17 falcon kernel: Preloaded elf module "/boot/cvsup/snd_pcm.ko" at 0xc06d4294. May 7 17:21:17 falcon kernel: Preloaded elf module "/boot/cvsup/snd_ich.ko" at 0xc06d4340. May 7 17:21:17 falcon kernel: Preloaded elf module "/boot/cvsup/radeon.ko" at 0xc06d43ec. May 7 17:21:17 falcon kernel: Preloaded elf module "/boot/cvsup/acpi.ko" at 0xc06d4498. May 7 17:21:17 falcon kernel: module_register: module pci/DRIVER_NAME already exists! May 7 17:21:17 falcon kernel: Module pci/DRIVER_NAME failed to register: 17 May 7 17:21:17 falcon kernel: Timecounter "i8254" frequency 1193182 Hz May 7 17:21:17 falcon kernel: Timecounter "TSC" frequency 1193110580 Hz May 7 17:21:17 falcon kernel: CPU: Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz (1193.11-MHz 686-class CPU) May 7 17:21:17 falcon kernel: Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 May 7 17:21:17 falcon kernel: Features=0xbfebf9ff May 7 17:21:17 falcon kernel: real memory = 536346624 (511 MB) May 7 17:21:17 falcon kernel: avail memory = 513499136 (489 MB) May 7 17:21:17 falcon kernel: Pentium Pro MTRR support enabled May 7 17:21:17 falcon kernel: npx0: on motherboard May 7 17:21:17 falcon kernel: npx0: INT 16 interface May 7 17:21:17 falcon kernel: acpi0: on motherboard May 7 17:21:17 falcon kernel: pcibios: BIOS version 2.10 May 7 17:21:17 falcon kernel: Using $PIR table, 7 entries at 0xc00fdf50 May 7 17:21:17 falcon kernel: ACPI-0351: *** Error: Could not install PciConfig handler for PCI0, AE_ALREADY_EXISTS May 7 17:21:17 falcon last message repeated 2 times May 7 17:21:17 falcon kernel: Timecounter "ACPI-fast" frequency 3579545 Hz May 7 17:21:17 falcon kernel: ACPI-0351: *** Error: Could not install PciConfig handler for PCI0, AE_ALREADY_EXISTS May 7 17:21:17 falcon kernel: acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 May 7 17:21:17 falcon kernel: acpi_cpu0: on acpi0 May 7 17:21:17 falcon kernel: acpi_tz0: on acpi0 May 7 17:21:17 falcon kernel: acpi_lid0: on acpi0 May 7 17:21:17 falcon kernel: acpi_button0: on acpi0 May 7 17:21:17 falcon kernel: pcib0: port 0xcf8-0xcff on acpi0 May 7 17:21:17 falcon kernel: pci0: on pcib0 May 7 17:21:17 falcon kernel: pcib0: slot 29 INTA is routed to irq 9 May 7 17:21:17 falcon kernel: pcib0: slot 29 INTB is routed to irq 9 May 7 17:21:17 falcon kernel: pcib0: possible interrupts: 9 May 7 17:21:17 falcon kernel: pcib0: slot 31 INTB routed to irq 9 via \_SB_.LNKB May 7 17:21:17 falcon kernel: agp0: mem 0xec000000-0xefffffff at device 0.0 on pci0 May 7 17:21:17 falcon kernel: pcib1: at device 1.0 on pci0 May 7 17:21:17 falcon kernel: pci1: on pcib1 May 7 17:21:17 falcon kernel: pcib1: slot 0 INTA is routed to irq 9 May 7 17:21:17 falcon kernel: drm0: port 0x3000-0x30ff mem 0xe8100000-0xe810ffff,0xf0000000-0xf7ffffff irq 9 at device 0.0 on pci1 May 7 17:21:17 falcon kernel: info: [drm] AGP at 0xec000000 64MB May 7 17:21:17 falcon kernel: info: [drm] Initialized radeon 1.8.0 20020828 on minor 0 May 7 17:21:17 falcon kernel: uhci0: port 0x1800-0x181f irq 9 at device 29.0 on pci0 May 7 17:21:17 falcon kernel: usb0: on uhci0 May 7 17:21:17 falcon kernel: usb0: USB revision 1.0 May 7 17:21:17 falcon kernel: uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 May 7 17:21:17 falcon kernel: uhub0: 2 ports with 2 removable, self powered May 7 17:21:17 falcon kernel: uhci1: port 0x1820-0x183f irq 9 at device 29.1 on pci0 May 7 17:21:17 falcon kernel: usb1: on uhci1 May 7 17:21:17 falcon kernel: usb1: USB revision 1.0 May 7 17:21:17 falcon kernel: uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 May 7 17:21:17 falcon kernel: uhub1: 2 ports with 2 removable, self powered May 7 17:21:17 falcon kernel: uhci2: port 0x1840-0x185f at device 29.2 on pci0 May 7 17:21:17 falcon kernel: pcib0: possible interrupts: 9 May 7 17:21:17 falcon kernel: pcib0: slot 29 INTC routed to irq 9 via \_SB_.LNKC May 7 17:21:17 falcon kernel: usb2: on uhci2 May 7 17:21:17 falcon kernel: usb2: USB revision 1.0 May 7 17:21:17 falcon kernel: uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 May 7 17:21:17 falcon kernel: uhub2: 2 ports with 2 removable, self powered May 7 17:21:17 falcon kernel: umass0: Sony USB Memory Stick Slot, rev 1.10/1.09, addr 2 May 7 17:21:17 falcon kernel: pcib2: at device 30.0 on pci0 May 7 17:21:17 falcon kernel: pci2: on pcib2 May 7 17:21:17 falcon kernel: pcib2: possible interrupts: 9 May 7 17:21:17 falcon kernel: pcib2: slot 5 INTA routed to irq 9 via \_SB_.LNKF May 7 17:21:17 falcon kernel: pcib2: slot 8 INTA is routed to irq 9 May 7 17:21:17 falcon kernel: pci2: at device 5.0 (no driver attached) May 7 17:21:17 falcon kernel: pci2: at device 5.1 (no driver attached) May 7 17:21:17 falcon kernel: pci2: at device 5.2 (no driver attached) May 7 17:21:17 falcon kernel: fxp0: port 0x4000-0x403f mem 0xe8200000-0xe8200fff irq 9 at device 8.0 on pci2 May 7 17:21:17 falcon kernel: fxp0: Ethernet address 08:00:46:79:fe:3b May 7 17:21:17 falcon kernel: miibus0: on fxp0 May 7 17:21:17 falcon kernel: inphy0: on miibus0 May 7 17:21:17 falcon kernel: inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto May 7 17:21:17 falcon kernel: isab0: at device 31.0 on pci0 May 7 17:21:17 falcon kernel: isa0: on isab0 May 7 17:21:17 falcon kernel: atapci0: port 0x1860-0x186f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 mem 0xe8000000-0xe80003ff at device 31.1 on pci0 May 7 17:21:17 falcon kernel: ata0: at 0x1f0 irq 14 on atapci0 May 7 17:21:17 falcon kernel: ata1: at 0x170 irq 15 on atapci0 May 7 17:21:17 falcon kernel: pci0: at device 31.3 (no driver attached) May 7 17:21:17 falcon kernel: pcm0: port 0x18c0-0x18ff,0x1c00-0x1cff irq 9 at device 31.5 on pci0 May 7 17:21:17 falcon kernel: pcm0: May 7 17:21:17 falcon kernel: pci0: at device 31.6 (no driver attached) May 7 17:21:17 falcon kernel: atkbdc0: port 0x64,0x60 irq 1 on acpi0 May 7 17:21:17 falcon kernel: atkbd0: flags 0x1 irq 1 on atkbdc0 May 7 17:21:17 falcon kernel: kbd0 at atkbd0 May 7 17:21:17 falcon kernel: psm0: irq 12 on atkbdc0 May 7 17:21:17 falcon kernel: psm0: model Generic PS/2 mouse, device ID 0 May 7 17:21:17 falcon kernel: acpi_ec0: port 0x66,0x62 on acpi0 May 7 17:21:17 falcon kernel: sio0 port 0x3f8-0x3ff irq 4 on acpi0 May 7 17:21:17 falcon kernel: sio0: type 16550A May 7 17:21:17 falcon kernel: ppc0 port 0x778-0x77f,0x378-0x37f irq 7 drq 3 on acpi0 May 7 17:21:17 falcon kernel: ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode May 7 17:21:17 falcon kernel: ppc0: FIFO with 16/16/15 bytes threshold May 7 17:21:17 falcon kernel: ppbus0: on ppc0 May 7 17:21:17 falcon kernel: plip0: on ppbus0 May 7 17:21:17 falcon kernel: lpt0: on ppbus0 May 7 17:21:17 falcon kernel: lpt0: Interrupt-driven port May 7 17:21:17 falcon kernel: ppi0: on ppbus0 May 7 17:21:18 falcon kernel: acpi_cmbat0: on acpi0 May 7 17:21:18 falcon kernel: acpi_cmbat1: on acpi0 May 7 17:21:18 falcon kernel: acpi_acad0: on acpi0 May 7 17:21:18 falcon kernel: orm0: