Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2002 01:01:43 -0500
From:      David Kleiner <kleiner@panix.com>
To:        "Kenneth D. Merry" <ken@kdm.org>
Cc:        Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>, Dmitry Mottl <dima@sinp.msu.ru>, freebsd-firewire@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG
Subject:   Re: VAIO Firewire dock station with DVD-ROM
Message-ID:  <20021105060143.GA24764@panix.com>
In-Reply-To: <20021104210348.A41448@panzer.kdm.org>
References:  <ybs4rbasjfn.wl@ett.sat.t.u-tokyo.ac.jp> <20021025184837.C227-100000@localhost> <ybs1y6esb8n.wl@ett.sat.t.u-tokyo.ac.jp> <20021104073302.GA27648@panix.com> <ybs1y60loxq.wl@ett.sat.t.u-tokyo.ac.jp> <20021104210348.A41448@panzer.kdm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 04, 2002 at 09:03:48PM -0700, Kenneth D. Merry wrote:
> On Tue, Nov 05, 2002 at 11:40:01 +0900, Hidetoshi Shimokawa wrote:
> > At Mon, 4 Nov 2002 02:33:02 -0500,
> > David Kleiner wrote:
> > > 
> > > Hidetoshi-san,
> > > 
> > > I have just rebuilt my RELENG_4 world with just imported 
> > > firewire support. 
> > > 
> > > Here is what I am getting when trying to run cdcontrol:
> > ..
> > > (cd0:sbp0:0:0:0): MODE SENSE(06). CDB: 1a 0 e 0 1c 0 
> > > (cd0:sbp0:0:0:0): ILLEGAL REQUEST asc:20,0
> > > (cd0:sbp0:0:0:0): Invalid command operation code
> > 
> > Could you try the CAM patch which Ken posted to the list?
> 
> I've attached a -stable version of the patch.
> 
> Keep in mind that this version has a bit of extra debugging output, so
> don't be alarmed if it is a bit more chatty than you expect.
> 
> Ken
> -- 
> Kenneth Merry
> ken@kdm.org

Ken,

I had applied your patch and rebuilt kernel - when I tried
cdcontrol/cdplay, I got this streaming messages below (very 
chatty).  CD didn't play, system eventually crashed, unfortunately,
I don't have the dump.

Thank you,

David




=======================================================================
error messages after cdcontrol
=======================================================================

Nov  4 21:42:50 mal /kernel: (cd0:sbp0:0:0:0): MODE SENSE(06). CDB: 1a 0 e 0 1c
0
Nov  4 21:42:50 mal /kernel: (cd0:sbp0:0:0:0): ILLEGAL REQUEST asc:20,0
Nov  4 21:42:50 mal /kernel: (cd0:sbp0:0:0:0): Invalid command operation code
Nov  4 21:42:50 mal /kernel: sbp0:0:0 ORB status src:1 resp:0 dead:0 len:7 stat:
c orb:000026084
Nov  4 21:42:50 mal /kernel: sbp0:0:0 Request aborted
Nov  4 21:42:50 mal /kernel: sbp0:0:0 XPT_SCSI_IO: cmd: 1a 00 0e 00 1c 00 aa 00
0c 00, flags: 0x40, 6b cmd/32b data/32b sense
Nov  4 21:42:50 mal /kernel: sbp0:0:0 SCSI status 2 sfmt 0 valid 0 key 5 code 20
 qlfr 0 len 7
Nov  4 21:42:50 mal /kernel: (cd0:sbp0:0:0:0): MODE_SENSE(6)/MODE_SELECT(6) fail
ed, increasing minimum CDB size to 10 bytes
Nov  4 21:42:50 mal /kernel: CAM Status 0x8c
Nov  4 21:42:50 mal /kernel: SCSI Status 0x2
Nov  4 21:42:50 mal /kernel: (cd0:sbp0:0:0:0): MODE SENSE(06). CDB: 1a 0 e 0 1c
0
Nov  4 21:42:50 mal /kernel: (cd0:sbp0:0:0:0): ILLEGAL REQUEST asc:20,0
Nov  4 21:42:50 mal /kernel: (cd0:sbp0:0:0:0): Invalid command operation code
Nov  4 21:42:50 mal /kernel: sbp0:0:0 ORB status src:1 resp:0 dead:0 len:7 stat:
c orb:0000261b8
Nov  4 21:42:50 mal /kernel: sbp0:0:0 Request aborted
Nov  4 21:42:50 mal /kernel: sbp0:0:0 XPT_SCSI_IO: cmd: 1a 00 0e 00 1c 00 aa 00
0c 00, flags: 0x40, 6b cmd/32b data/32b sense
Nov  4 21:42:50 mal /kernel: sbp0:0:0 SCSI status 2 sfmt 0 valid 0 key 5 code 20
 qlfr 0 len 7
Nov  4 21:42:50 mal /kernel: (cd0:sbp0:0:0:0): MODE_SENSE(6)/MODE_SELECT(6) fail
ed, increasing minimum CDB size to 10 bytes
Nov  4 21:42:50 mal /kernel: CAM Status 0x8c
Nov  4 21:42:50 mal /kernel: SCSI Status 0x2
Nov  4 21:42:50 mal /kernel: (cd0:sbp0:0:0:0): MODE SENSE(06). CDB: 1a 0 e 0 1c
0
Nov  4 21:42:50 mal /kernel: (cd0:sbp0:0:0:0): ILLEGAL REQUEST asc:20,0
Nov  4 21:42:50 mal /kernel: (cd0:sbp0:0:0:0): Invalid command operation code
Nov  4 21:42:50 mal /kernel: sbp0:0:0 ORB status src:1 resp:0 dead:0 len:7 stat:
c orb:0000262ec
Nov  4 21:42:50 mal /kernel: sbp0:0:0 Request aborted
Nov  4 21:42:50 mal /kernel: sbp0:0:0 XPT_SCSI_IO: cmd: 1a 00 0e 00 1c 00 aa 00
0c 00, flags: 0x40, 6b cmd/32b data/32b sense
Nov  4 21:42:50 mal /kernel: sbp0:0:0 SCSI status 2 sfmt 0 valid 0 key 5 code 20
 qlfr 0 len 7
Nov  4 21:42:50 mal /kernel: (cd0:sbp0:0:0:0): MODE_SENSE(6)/MODE_SELECT(6) fail
ed, increasing minimum CDB size to 10 bytes
Nov  4 21:42:50 mal /kernel: CAM Status 0x8c
Nov  4 21:42:50 mal /kernel: SCSI Status 0x2
Nov  4 21:42:50 mal /kernel: (cd0:sbp0:0:0:0): MODE SENSE(06). CDB: 1a 0 e 0 1c
0
Nov  4 21:42:50 mal /kernel: (cd0:sbp0:0:0:0): ILLEGAL REQUEST asc:20,0
Nov  4 21:42:50 mal /kernel: (cd0:sbp0:0:0:0): Invalid command operation code
Nov  4 21:42:50 mal /kernel: sbp0:0:0 ORB status src:1 resp:0 dead:0 len:7 stat:
c orb:000026420


=======================================================================
My boot messages:
=======================================================================

Nov  4 21:46:47 mal /kernel: agp0: <Intel 82815 (i815 GMCH) SVGA controller> mem
 0xf4000000-0xf407ffff,0xf8000000-0xfbffffff irq 3 at device 2.0 on pci0
Nov  4 21:46:47 mal /kernel: pcib1: <PCI to PCI bridge (vendor=8086 device=2448)
> at device 30.0 on pci0
Nov  4 21:46:47 mal /kernel: pci1: <PCI bus> on pcib1
Nov  4 21:46:47 mal /kernel: fwohci0: <Texas Instruments TSB43AA22> mem 0xf41000
00-0xf4103fff,0xf4105000-0xf41057ff irq 3 at device 0.0 on pci1
Nov  4 21:46:47 mal /kernel: fwohci0: PCI bus latency was changing to 250.
Nov  4 21:46:47 mal /kernel: cache size 8.
Nov  4 21:46:47 mal /kernel: fwohci0: OHCI version 1.0 (ROM=1)
Nov  4 21:46:47 mal /kernel: fwohci0: No. of Isochronous channel is 4.
Nov  4 21:46:47 mal /kernel: fwohci0: resetting OHCI...done (0)
Nov  4 21:46:47 mal /kernel: fwohci0: BUS_OPT 0xa002 -> 0xf800a002
Nov  4 21:46:47 mal /kernel: fwohci0: Link 1394a available S400, 2 ports, maxrec
 2048 bytes.
Nov  4 21:46:47 mal /kernel: fwohci0: Enable 1394a Enhancements
Nov  4 21:46:47 mal /kernel: fwohci0: EUI64 08:00:46:03:00:c4:89:4d
Nov  4 21:46:47 mal /kernel: fwochi_set_intr: 1
Nov  4 21:46:47 mal /kernel: firewire0: <IEEE1394(Firewire) bus> on fwohci0
Nov  4 21:46:47 mal /kernel: firewire0: firewire bus attach
Nov  4 21:46:47 mal /kernel: sbp_identify
Nov  4 21:46:47 mal /kernel: sbp_probe
Nov  4 21:46:47 mal /kernel: sbp0: <SBP2/SCSI over firewire> on firewire0
Nov  4 21:46:47 mal /kernel: sbp_attach
Nov  4 21:46:47 mal /kernel: pcic0: <Ricoh RL5C475 PCI-CardBus Bridge> irq 0 at
device 2.0 on pci1
Nov  4 21:46:47 mal /kernel: pcic0: PCI Memory allocated: 0x88000000
Nov  4 21:46:47 mal /kernel: pcic0: Polling mode
Nov  4 21:46:47 mal /kernel: pccard0: <PC Card 16-bit bus (classic)> on pcic0
Nov  4 21:46:47 mal /kernel: fxp0: <Intel Pro/100 Ethernet> port 0x3000-0x303f m
em 0xf4104000-0xf4104fff irq 9 at device 8.0 on pci1
Nov  4 21:46:47 mal /kernel: fxp0: Ethernet address 08:00:46:18:28:94
Nov  4 21:46:47 mal /kernel: inphy0: <i82562ET 10/100 media interface> on miibus
0
Nov  4 21:46:47 mal /kernel: inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX
-FDX, auto
Nov  4 21:46:47 mal /kernel: isab0: <PCI to ISA bridge (vendor=8086 device=244c)
> at device 31.0 on pci0
Nov  4 21:46:47 mal /kernel: isa0: <ISA bus> on isab0
Nov  4 21:46:47 mal /kernel: atapci0: <Intel ICH2 ATA100 controller> port 0x1800
-0x180f at device 31.1 on pci0
Nov  4 21:46:47 mal /kernel: ata0: at 0x1f0 irq 14 on atapci0
Nov  4 21:46:47 mal /kernel: ata1: at 0x170 irq 15 on atapci0
Nov  4 21:46:47 mal /kernel: uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB

Nov  4 21:46:48 mal /kernel: firewire0: BUS reset
Nov  4 21:46:48 mal /kernel: firewire0: node_id = 0xc000ffc1, CYCLEMASTER mode
Nov  4 21:46:48 mal /kernel: firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me)
Nov  4 21:46:48 mal /kernel: fw_set_bus_manager: 63->1 (loop=0)
Nov  4 21:46:48 mal /kernel: send phy_config root_node=-1 gap_count=1
Nov  4 21:46:48 mal /kernel: start AT DMA status=0
Nov  4 21:46:48 mal /kernel: firewire0:Discover new S400 device ID:0800460300ca6
473
Nov  4 21:46:48 mal /kernel: bus_explore done
Nov  4 21:46:48 mal /kernel: Device SBP-II
Nov  4 21:46:48 mal /kernel: sbp_post_explore: EUI:0800460300ca6473 spec=1 key=1
.
Nov  4 21:46:48 mal /kernel: sbp0:0:0 LOGIN
Nov  4 21:46:48 mal /kernel: sbp0:0:0 ordered:1 type:5 EUI:0800460300ca6473 node
:0 speed:2 maxrec:10 new!
Nov  4 21:46:48 mal /kernel: sbp0:0:0 'Sony' 'PCGA-DSM5' 'ad1129'
Nov  4 21:46:48 mal /kernel: sbp0:0:0 login: len 12, ID 0, cmd 0000fffff0010100,
 recon_hold 0
Nov  4 21:46:48 mal /kernel: sbp0:0:0 sbp_busy_timeout
Nov  4 21:46:48 mal /kernel: sbp0:0:0 sbp_agent_reset
Nov  4 21:46:48 mal /kernel: sbp0:0:0 sbp_do_attach
Nov  4 21:46:48 mal /kernel: sbp0:0:0 sbp_cam_scan_lun
Nov  4 21:46:48 mal /kernel: sbp0:0:0 ORB status src:1 resp:0 dead:0 len:7 stat:
c orb:0000243a4
Nov  4 21:46:48 mal /kernel: sbp0:0:0 Request aborted
Nov  4 21:46:48 mal /kernel: sbp0:0:0 XPT_SCSI_IO: cmd: 12 01 80 00 ff 00 00 00
00 00, flags: 0x40, 6b cmd/255b data/18b sense
Nov  4 21:46:48 mal /kernel: sbp0:0:0 SCSI status 2 sfmt 0 valid 0 key 5 code 24
 qlfr 0 len 7
Nov  4 21:46:48 mal /kernel: sbp0:0:0 ORB status src:1 resp:0 dead:0 len:7 stat:
c orb:0000244d8
Nov  4 21:46:48 mal /kernel: sbp0:0:0 Request aborted
Nov  4 21:46:48 mal /kernel: sbp0:0:0 XPT_SCSI_IO: cmd: 00 00 00 00 00 00 00 00
00 00, flags: 0xc0, 6b cmd/0b data/32b sense
Nov  4 21:46:48 mal /kernel: sbp0:0:0 SCSI status 2 sfmt 0 valid 0 key 6 code 29
 qlfr 0 len 7
Nov  4 21:46:48 mal /kernel: ad0: 14403MB <HITACHI_DK23BA-15> [29264/16/63] at a
ta0-master UDMA66
Nov  4 21:46:48 mal /kernel: sbp0:0:0 ORB status src:1 resp:0 dead:0 len:7 stat:
c orb:00002460c
Nov  4 21:46:48 mal /kernel: sbp0:0:0 Request aborted
Nov  4 21:46:48 mal /kernel: sbp0:0:0 XPT_SCSI_IO: cmd: 00 00 00 00 00 00 00 00
00 00, flags: 0xc0, 6b cmd/0b data/32b sense
Nov  4 21:46:48 mal /kernel: sbp0:0:0 SCSI status 2 sfmt 0 valid 0 key 2 code 4
qlfr 1 len 7
Nov  4 21:46:48 mal /kernel: sbp0:0:0 ORB status src:1 resp:0 dead:0 len:7 stat:
c orb:000024740
Nov  4 21:46:48 mal /kernel: sbp0:0:0 Request aborted
Nov  4 21:46:48 mal /kernel: sbp0:0:0 XPT_SCSI_IO: cmd: 00 00 00 00 00 00 00 00
00 00, flags: 0xc0, 6b cmd/0b data/32b sense
Nov  4 21:46:48 mal /kernel: sbp0:0:0 SCSI status 2 sfmt 0 valid 0 key 6 code 28

Nov  4 21:46:48 mal /kernel: sbp0:0:0 SCSI status 2 sfmt 0 valid 0 key 6 code 28
 qlfr 0 len 7
Nov  4 21:46:48 mal /kernel: sbp0:0:0 ORB status src:1 resp:0 dead:0 len:7 stat:
c orb:000024c10
Nov  4 21:46:48 mal /kernel: sbp0:0:0 Request aborted
Nov  4 21:46:48 mal /kernel: sbp0:0:0 XPT_SCSI_IO: cmd: 12 01 80 00 ff 00 00 00
00 00, flags: 0x40, 6b cmd/255b data/18b sense
Nov  4 21:46:48 mal /kernel: sbp0:0:0 SCSI status 2 sfmt 0 valid 0 key 5 code 24
 qlfr 0 len 7
Nov  4 21:46:48 mal /kernel: (probe7:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 2
4 0
Nov  4 21:46:48 mal /kernel: (probe7:umass-sim0:0:0:0): NOT READY asc:3a,0
Nov  4 21:46:48 mal /kernel: (probe7:umass-sim0:0:0:0): Medium not present
Nov  4 21:46:48 mal /kernel: Mounting root from ufs:/dev/ad0s2a
Nov  4 21:46:48 mal /kernel: cd0 at sbp0 bus 0 target 0 lun 0
Nov  4 21:46:48 mal /kernel: cd0: <MATSHITA UJDA710 1.08> Removable CD-ROM SCSI-
0 device
Nov  4 21:46:48 mal /kernel: cd0: 50.000MB/s transfers
Nov  4 21:46:48 mal /kernel: cd0: cd present [209755 x 2048 byte records]


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-firewire" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021105060143.GA24764>