Re: XHCI umass support breaks between r248085 and r252560 on 9-STABLE

2013-07-07 Thread Scot Hetzel
On Sun, Jul 7, 2013 at 3:09 PM, Alexandre Kovalenko
 wrote:
>
> SIde question (I have been off the lists for a while): is it now considered 
> polite to top-post? It was frowned upon way back when… if it still is not, I 
> do apologize, but I can see no good way to fix it at this point.
>
>

Side Answer:  I believe that it preferred that you don't top-post on
the lists.  To get around GMail's top-post issue:

- just delete the first 2 lines in the reply
- scroll thru the quoted message deleting what isn't relevant to your reply
- inline your responses to the relevant parts of the message

-- 
DISCLAIMER:

No electrons were maimed while sending this message. Only slightly bruised.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: XHCI umass support breaks between r248085 and r252560 on 9-STABLE

2013-07-07 Thread Alexandre Kovalenko
I do apologize for the typo below, which made my message unclear: I meant to 
say that I have reverted _/usr/src/sys/dev/usb/controller_ directory, 
specifically the following files:

root@twinhead:/usr/src/sys/dev/usb/controller # svn diff -r252560 | grep Index:
Index: xhci_pci.c
Index: ohci_pci.c
Index: xhci.c
Index: usb_controller.c
Index: xhcireg.h
root@twinhead:/usr/src/sys/dev/usb/controller # 

which (I think) are USB related and not CAM related. Please, let me know if I 
am wrong.

SIde question (I have been off the lists for a while): is it now considered 
polite to top-post? It was frowned upon way back when… if it still is not, I do 
apologize, but I can see no good way to fix it at this point.


Alexandre "Sunny" Kovalenko (Олександр Коваленко)


On Jul 7, 2013, at 3:36 AM, Hans Petter Selasky 
 wrote:

> Hi,
> 
> Check for CAM/SCSI related changes. There has not been so many USB changes 
> recently. Possibly not USB related.
> 
> Thank you,
> 
> --HPS
>  
> -Original message-
> > From:Alexandre Kovalenko 
> > Sent: Thursday 4th July 2013 20:58
> > To: freebsd-...@freebsd.org
> > Cc: freebsd-stable@freebsd.org
> > Subject: XHCI umass support breaks between r248085 and r252560 on 9-STABLE
> > 
> > Three different external hard drives (Seagate, Western Digital and noname 
> > USB 3.0 enclosure) refused to be recognized as the umass devices. Reverting 
> > /usr/src/sys/dev/bsd/controller to r248085, building and loading just xhci 
> > module makes drives appear again. Below are snippets from the log in both 
> > cases:
> > 
> > Non working:
> > 
> > Jul  4 14:35:17 twinhead kernel: xhci0:  
> > mem 0xfddfe000-0xfddf irq 16 at device 0.0 on pci2
> > Jul  4 14:35:17 twinhead kernel: xhci0: 64 byte context size.
> > Jul  4 14:35:17 twinhead kernel: usbus0 on xhci0
> > Jul  4 14:35:17 twinhead kernel: usbus0: 5.0Gbps Super Speed USB v3.0
> > Jul  4 14:35:17 twinhead kernel: ugen0.1: <0x1912> at usbus0
> > Jul  4 14:35:17 twinhead kernel: uhub0: <0x1912 XHCI root HUB, class 9/0, 
> > rev 3.00/1.00, addr 1> on usbus0
> > Jul  4 14:35:17 twinhead kernel: uhub0: 8 ports with 8 removable, self 
> > powered
> > Jul  4 14:35:24 twinhead kernel: ugen0.2:  at usbus0
> > Jul  4 14:35:24 twinhead kernel: umass0:  > 3.00/0.01, addr 1> on usbus0
> > Jul  4 14:35:29 twinhead kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 
> > 12 00 00 00 24 00 
> > Jul  4 14:35:29 twinhead kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB 
> > request completed with an error
> > Jul  4 14:35:29 twinhead kernel: (probe0:umass-sim0:0:0:0): Retrying command
> > Jul  4 14:35:30 twinhead kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 
> > 12 00 00 00 24 00 
> > Jul  4 14:35:30 twinhead kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB 
> > request completed with an error
> > Jul  4 14:35:30 twinhead kernel: (probe0:umass-sim0:0:0:0): Retrying command
> > Jul  4 14:35:35 twinhead kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 
> > 12 00 00 00 24 00 
> > Jul  4 14:35:35 twinhead kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB 
> > request completed with an error
> > Jul  4 14:35:35 twinhead kernel: (probe0:umass-sim0:0:0:0): Retrying command
> > Jul  4 14:35:36 twinhead kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 
> > 12 00 00 00 24 00 
> > Jul  4 14:35:36 twinhead kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB 
> > request completed with an error
> > Jul  4 14:35:36 twinhead kernel: (probe0:umass-sim0:0:0:0): Retrying command
> > Jul  4 14:35:41 twinhead kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 
> > 12 00 00 00 24 00 
> > Jul  4 14:35:41 twinhead kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB 
> > request completed with an error
> > Jul  4 14:35:41 twinhead kernel: (probe0:umass-sim0:0:0:0): Error 5, 
> > Retries exhausted
> > 
> > Working:
> > 
> > Jul  4 14:40:20 twinhead kernel: ugen0.2:  at usbus0 (disconnected)
> > Jul  4 14:40:20 twinhead kernel: umass0: at uhub0, port 2, addr 1 
> > (disconnected)
> > Jul  4 14:40:27 twinhead kernel: ugen0.2:  at usbus0
> > Jul  4 14:40:27 twinhead kernel: umass0:  > class 0/0, rev 3.00/0.01, addr 1> on usbus0
> > Jul  4 14:40:27 twinhead kernel: (probe0:umass-sim0:0:0:0): REPORT LUNS. 
> > CDB: a0 00 00 00 00 00 00 00 00 10 00 00 
> > Jul  4 14:40:27 twinhead kernel: (probe0:umass-sim0:0:0:0): CAM status: 
> > SCSI Status Error
> > Jul  4 14:40:27 twinhead kernel: (probe0:umass-sim0:0:0:0): SCSI status: 
> > Check Condition
> > Jul  4 14:40:27 twinhead kernel: (probe0:umass-sim0:0:0:0): SCSI sense: 
> > ILLEGAL REQUEST asc:20,0 (Invalid command operation code)
> > Jul  4 14:40:27 twinhead kernel: (probe0:umass-sim0:0:0:0): Error 22, 
> > Unretryable error
> > Jul  4 14:40:27 twinhead kernel: da0 at umass-sim0 bus 0 scbus4 target 0 
> > lun 0
> > Jul  4 14:40:27 twinhead kernel: da0:  Fixed 
> > Direct Access SCSI-5 device 
> > Jul  4 14:40:27 twinhead kernel: da0: 400.000MB/s transfers
> > Jul  4 14:40:27 twinhead kernel: da0: 190782MB (390721968 512 by

RE: XHCI umass support breaks between r248085 and r252560 on 9-STABLE

2013-07-07 Thread Hans Petter Selasky
Hi,

Check for CAM/SCSI related changes. There has not been so many USB changes 
recently. Possibly not USB related.

Thank you,

--HPS
 
-Original message-
> From:Alexandre Kovalenko mailto:bsd.gai...@gmail.com> >
> Sent: Thursday 4th July 2013 20:58
> To: freebsd-...@freebsd.org  
> Cc: freebsd-stable@freebsd.org  
> Subject: XHCI umass support breaks between r248085 and r252560 on 9-STABLE
> 
> Three different external hard drives (Seagate, Western Digital and noname USB 
> 3.0 enclosure) refused to be recognized as the umass devices. Reverting 
> /usr/src/sys/dev/bsd/controller to r248085, building and loading just xhci 
> module makes drives appear again. Below are snippets from the log in both 
> cases:
> 
> Non working:
> 
> Jul  4 14:35:17 twinhead kernel: xhci0:  
> mem 0xfddfe000-0xfddf irq 16 at device 0.0 on pci2
> Jul  4 14:35:17 twinhead kernel: xhci0: 64 byte context size.
> Jul  4 14:35:17 twinhead kernel: usbus0 on xhci0
> Jul  4 14:35:17 twinhead kernel: usbus0: 5.0Gbps Super Speed USB v3.0
> Jul  4 14:35:17 twinhead kernel: ugen0.1: <0x1912> at usbus0
> Jul  4 14:35:17 twinhead kernel: uhub0: <0x1912 XHCI root HUB, class 9/0, rev 
> 3.00/1.00, addr 1> on usbus0
> Jul  4 14:35:17 twinhead kernel: uhub0: 8 ports with 8 removable, self powered
> Jul  4 14:35:24 twinhead kernel: ugen0.2:  at usbus0
> Jul  4 14:35:24 twinhead kernel: umass0:  3.00/0.01, addr 1> on usbus0
> Jul  4 14:35:29 twinhead kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 
> 00 00 00 24 00 
> Jul  4 14:35:29 twinhead kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB 
> request completed with an error
> Jul  4 14:35:29 twinhead kernel: (probe0:umass-sim0:0:0:0): Retrying command
> Jul  4 14:35:30 twinhead kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 
> 00 00 00 24 00 
> Jul  4 14:35:30 twinhead kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB 
> request completed with an error
> Jul  4 14:35:30 twinhead kernel: (probe0:umass-sim0:0:0:0): Retrying command
> Jul  4 14:35:35 twinhead kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 
> 00 00 00 24 00 
> Jul  4 14:35:35 twinhead kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB 
> request completed with an error
> Jul  4 14:35:35 twinhead kernel: (probe0:umass-sim0:0:0:0): Retrying command
> Jul  4 14:35:36 twinhead kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 
> 00 00 00 24 00 
> Jul  4 14:35:36 twinhead kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB 
> request completed with an error
> Jul  4 14:35:36 twinhead kernel: (probe0:umass-sim0:0:0:0): Retrying command
> Jul  4 14:35:41 twinhead kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 
> 00 00 00 24 00 
> Jul  4 14:35:41 twinhead kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB 
> request completed with an error
> Jul  4 14:35:41 twinhead kernel: (probe0:umass-sim0:0:0:0): Error 5, Retries 
> exhausted
> 
> Working:
> 
> Jul  4 14:40:20 twinhead kernel: ugen0.2:  at usbus0 (disconnected)
> Jul  4 14:40:20 twinhead kernel: umass0: at uhub0, port 2, addr 1 
> (disconnected)
> Jul  4 14:40:27 twinhead kernel: ugen0.2:  at usbus0
> Jul  4 14:40:27 twinhead kernel: umass0:  0/0, rev 3.00/0.01, addr 1> on usbus0
> Jul  4 14:40:27 twinhead kernel: (probe0:umass-sim0:0:0:0): REPORT LUNS. CDB: 
> a0 00 00 00 00 00 00 00 00 10 00 00 
> Jul  4 14:40:27 twinhead kernel: (probe0:umass-sim0:0:0:0): CAM status: SCSI 
> Status Error
> Jul  4 14:40:27 twinhead kernel: (probe0:umass-sim0:0:0:0): SCSI status: 
> Check Condition
> Jul  4 14:40:27 twinhead kernel: (probe0:umass-sim0:0:0:0): SCSI sense: 
> ILLEGAL REQUEST asc:20,0 (Invalid command operation code)
> Jul  4 14:40:27 twinhead kernel: (probe0:umass-sim0:0:0:0): Error 22, 
> Unretryable error
> Jul  4 14:40:27 twinhead kernel: da0 at umass-sim0 bus 0 scbus4 target 0 lun 0
> Jul  4 14:40:27 twinhead kernel: da0:  Fixed 
> Direct Access SCSI-5 device 
> Jul  4 14:40:27 twinhead kernel: da0: 400.000MB/s transfers
> Jul  4 14:40:27 twinhead kernel: da0: 190782MB (390721968 512 byte sectors: 
> 255H 63S/T 24321C)
> Jul  4 14:40:27 twinhead kernel: da0: quirks=0x2
> 
> I can provide additional information or try  patches as necessary.
> 
> Alexandre "Sunny" Kovalenko (Олександр Коваленко)
> 
> ___
> freebsd-...@freebsd.org   mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-usb 
>  
> To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org 
>  "

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"