9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] usb/serial - hangs
Date: Mon,  4 Feb 2013 11:29:23 -0500	[thread overview]
Message-ID: <3243abe28febd221187665c1e00c59e1@kw.quanstro.net> (raw)
In-Reply-To: <7bf7b21d67c87a11fff5ebda89f0c34a@proxima.alt.za>

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



      reply	other threads:[~2013-02-04 16:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-04 15:28 lucio
2013-02-04 15:48 ` erik quanstrom
2013-02-04 15:53   ` lucio
2013-02-04 16:29     ` erik quanstrom [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3243abe28febd221187665c1e00c59e1@kw.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).