9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] usb/serial - hangs
@ 2013-02-04 15:28 lucio
  2013-02-04 15:48 ` erik quanstrom
  0 siblings, 1 reply; 4+ messages in thread
From: lucio @ 2013-02-04 15:28 UTC (permalink / raw)
  To: 9fans

Does this look familiar to anyone?


	term% usb/serial
	usb/serial: startdevs: opening #0 /dev/usb/ep5.0
	serial: open i/o ep data: '/dev/usb/ep5.3/data' permission denied
	usb/serial: devmain: serial: no endpoints found for ifc 0
	serial 11096: suicide: sys: trap: fault read addr=0xd160d162 pc=0x00015973

The previous version:

	Jan 25 23:54:19 SAT 2013 /386/bin/usb/serial 213453 [proxima]
	Jan 25 23:54:19 SAT 2013 /n/dump/2013/0204/386/bin/usb/serial 213453 [proxima]
	Dec 11 05:27:37 SAT 2012 /n/dump/2013/0125/386/bin/usb/serial 211141 [proxima]

works fine.  This is a probe:

	ep1.0 roothub csp 0x000009 ports 2 uhci
	ep2.0 roothub csp 0x000009 ports 2 uhci
	ep3.0 roothub csp 0x000009 ports 2 uhci
	ep4.0 roothub csp 0x000009 ports 2 uhci
	ep5.0 255 csp 0x0000ff vid 0x067b did 0x2303 'Prolific Technology Inc.' 'USB-Serial Controller' uhci

Suggestions?

++L




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] usb/serial - hangs
  2013-02-04 15:28 [9fans] usb/serial - hangs lucio
@ 2013-02-04 15:48 ` erik quanstrom
  2013-02-04 15:53   ` lucio
  0 siblings, 1 reply; 4+ messages in thread
From: erik quanstrom @ 2013-02-04 15:48 UTC (permalink / raw)
  To: 9fans

On Mon Feb  4 10:29:57 EST 2013, lucio@proxima.alt.za wrote:
> Does this look familiar to anyone?
>
>
> 	term% usb/serial
> 	usb/serial: startdevs: opening #0 /dev/usb/ep5.0
> 	serial: open i/o ep data: '/dev/usb/ep5.3/data' permission denied
> 	usb/serial: devmain: serial: no endpoints found for ifc 0
> 	serial 11096: suicide: sys: trap: fault read addr=0xd160d162 pc=0x00015973

backtrace?

- erik



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] usb/serial - hangs
  2013-02-04 15:48 ` erik quanstrom
@ 2013-02-04 15:53   ` lucio
  2013-02-04 16:29     ` erik quanstrom
  0 siblings, 1 reply; 4+ messages in thread
From: lucio @ 2013-02-04 15:53 UTC (permalink / raw)
  To: 9fans

> On Mon Feb  4 10:29:57 EST 2013, lucio@proxima.alt.za wrote:
>> Does this look familiar to anyone?
>>
>>
>> 	term% usb/serial
>> 	usb/serial: startdevs: opening #0 /dev/usb/ep5.0
>> 	serial: open i/o ep data: '/dev/usb/ep5.3/data' permission denied
>> 	usb/serial: devmain: serial: no endpoints found for ifc 0
>> 	serial 11096: suicide: sys: trap: fault read addr=0xd160d162 pc=0x00015973
>
> backtrace?
>

term% acid 11096
/proc/11096/text:386 plan 9 executable
/sys/lib/acid/port
/sys/lib/acid/386
acid: stk()
treeinsert(node=0xd160d15e,tree=0x4d160)+0x15 /sys/src/libc/port/pool.c:264
pooldel(p=0x24ff8,node=0x4d160)+0xdd /sys/src/libc/port/pool.c:414
blockmerge(b=0x4d160,a=0x49140,pool=0x24ff8)+0x54 /sys/src/libc/port/pool.c:465
poolfreel(v=0x49148,p=0x24ff8)+0xd1 /sys/src/libc/port/pool.c:1213
poolfree(p=0x24ff8,v=0x49148)+0x41 /sys/src/libc/port/pool.c:1327
free(v=0x49150)+0x23 /sys/src/libc/port/malloc.c:250
_schedinit(arg=0x487b0)+0x105 /sys/src/libthread/sched.c:60
main(argc=0x1,argv=0xdfffefb4)+0x38 /sys/src/libthread/main.c:38
_main+0x31 /sys/src/libc/386/main9.s:16

Curiously, the shell prompt never reappears, I deleted the window.

++L




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] usb/serial - hangs
  2013-02-04 15:53   ` lucio
@ 2013-02-04 16:29     ` erik quanstrom
  0 siblings, 0 replies; 4+ messages in thread
From: erik quanstrom @ 2013-02-04 16:29 UTC (permalink / raw)
  To: 9fans

On Mon Feb  4 10:54:40 EST 2013, lucio@proxima.alt.za wrote:
> > On Mon Feb  4 10:29:57 EST 2013, lucio@proxima.alt.za wrote:
> >> Does this look familiar to anyone?
> >>
> >>
> >> 	term% usb/serial
> >> 	usb/serial: startdevs: opening #0 /dev/usb/ep5.0
> >> 	serial: open i/o ep data: '/dev/usb/ep5.3/data' permission denied
> >> 	usb/serial: devmain: serial: no endpoints found for ifc 0
> >> 	serial 11096: suicide: sys: trap: fault read addr=0xd160d162 pc=0x00015973
> >
> > backtrace?
> >
>
> term% acid 11096
> /proc/11096/text:386 plan 9 executable
> /sys/lib/acid/port
> /sys/lib/acid/386
> acid: stk()
> treeinsert(node=0xd160d15e,tree=0x4d160)+0x15 /sys/src/libc/port/pool.c:264
> pooldel(p=0x24ff8,node=0x4d160)+0xdd /sys/src/libc/port/pool.c:414
> blockmerge(b=0x4d160,a=0x49140,pool=0x24ff8)+0x54 /sys/src/libc/port/pool.c:465
> poolfreel(v=0x49148,p=0x24ff8)+0xd1 /sys/src/libc/port/pool.c:1213
> poolfree(p=0x24ff8,v=0x49148)+0x41 /sys/src/libc/port/pool.c:1327
> free(v=0x49150)+0x23 /sys/src/libc/port/malloc.c:250
> _schedinit(arg=0x487b0)+0x105 /sys/src/libthread/sched.c:60
> main(argc=0x1,argv=0xdfffefb4)+0x38 /sys/src/libthread/main.c:38
> _main+0x31 /sys/src/libc/386/main9.s:16
>
> Curiously, the shell prompt never reappears, I deleted the window.

i would hazzard a guess that since this is on the line where the stack is free'd
that the stack is too small.  try bumping up mainstacksize.

but the underlying problem is that you're getting permission denied.
nothing is immediately obvious to me on that.  maybe ratrace will
help narrow it down.

- erik



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-02-04 16:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-04 15:28 [9fans] usb/serial - hangs lucio
2013-02-04 15:48 ` erik quanstrom
2013-02-04 15:53   ` lucio
2013-02-04 16:29     ` erik quanstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).