From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <4ecada1e0908130323l7e3ca87dk7118c6722e882a36@mail.gmail.com> References: <4ecada1e0908130203v8115224mf0326e09754816d5@mail.gmail.com> <56a297000908130218s6bcb8d98v24db34c7d93b7cf9@mail.gmail.com> <4ecada1e0908130244h220b3e98j4a30e2d50c370c01@mail.gmail.com> <56a297000908130254s5f87b4b7mc70d9c28c43eaf68@mail.gmail.com> <4ecada1e0908130323l7e3ca87dk7118c6722e882a36@mail.gmail.com> Date: Thu, 13 Aug 2009 13:01:13 +0200 Message-ID: <56a297000908130401w574b8934v6f33860e63d824ab@mail.gmail.com> From: Noah Evans To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] usbd error message Topicbox-Message-UUID: 459b8b56-ead5-11e9-9d60-3106f5b1d025 Can you mk all /sys/src/libthread. This is bogging down a bit. Take it off-= list? On Thu, Aug 13, 2009 at 12:23 PM, Bela Valek wrote: > First of all, i missed some pids, the total number of usbd processes is 8= : > > glenda =A0 =A0 =A0 =A0 =A0 =A05 =A0 =A00:00 =A0 0:00 =A0 =A0 =A0356K Slee= p =A0 =A0usbd > glenda =A0 =A0 =A0 =A0 =A0 =A06 =A0 =A00:00 =A0 0:00 =A0 =A0 =A0356K Prea= d =A0 =A0usbd > glenda =A0 =A0 =A0 =A0 =A0 =A07 =A0 =A00:00 =A0 0:00 =A0 =A0 =A0356K Rend= ez =A0 usbd > glenda =A0 =A0 =A0 =A0 =A0 =A08 =A0 =A00:00 =A0 0:00 =A0 =A0 =A0356K Rend= ez =A0 usbd > glenda =A0 =A0 =A0 =A0 =A0 95 =A0 =A00:00 =A0 0:00 =A0 =A0 =A0356K Sleep = =A0 =A0usbd > glenda =A0 =A0 =A0 =A0 =A0 96 =A0 =A00:00 =A0 0:00 =A0 =A0 =A0356K Pread = =A0 =A0usbd > glenda =A0 =A0 =A0 =A0 =A0 97 =A0 =A00:00 =A0 0:00 =A0 =A0 =A0356K Rendez= =A0 usbd > glenda =A0 =A0 =A0 =A0 =A0 98 =A0 =A00:00 =A0 0:00 =A0 =A0 =A0356K Rendez= =A0 usbd > > processes 5 - 8 give this an output like this: > > term% echo 'stacks()' | acid -l thread 5 > /proc/5/text:386 plan 9 executable > /sys/lib/acid/port > /sys/lib/acid/386 > /sys/lib/acid/thread:1: (error) pushfile: > /sys/src/libthread/sched.acid: '/sys/src/libthread/sched.acid' does > not exist > no symbol information > acid: :2: (error) no function stacks > acid: > echo kill > /proc/5/ctl > > processes 95 - 98 give this output (missing line: 'no symbol information'= ): > > term% echo 'stacks()' | acid -l thread 95 > /proc/5/text:386 plan 9 executable > /sys/lib/acid/port > /sys/lib/acid/386 > /sys/lib/acid/thread:1: (error) pushfile: > /sys/src/libthread/sched.acid: '/sys/src/libthread/sched.acid' does > not exist > acid: :2: (error) no function stacks > acid: > echo kill > /proc/95/ctl > > Greetings: B=E9la > > 2009/8/13 Noah Evans : >> Okay, could you run: >> >> =A0echo 'stacks()' | acid -l thread >> >> On Thu, Aug 13, 2009 at 11:44 AM, Bela Valek wrote: >>> Logged in with 'none': >>> >>> none =A0 =A0 =A0 =A0 =A0 =A0 91 =A0 =A00:00 =A0 0:00 =A0 =A0 =A0356K Sl= eep =A0 =A0usbd >>> none =A0 =A0 =A0 =A0 =A0 =A0 92 =A0 =A00:00 =A0 0:00 =A0 =A0 =A0356K Pr= ead =A0 =A0usbd >>> none =A0 =A0 =A0 =A0 =A0 =A0 93 =A0 =A00:00 =A0 0:00 =A0 =A0 =A0356K Re= ndez =A0 usbd >>> none =A0 =A0 =A0 =A0 =A0 =A0 94 =A0 =A00:00 =A0 0:00 =A0 =A0 =A0356K Re= ndez =A0 usbd >>> >>> Logged in with 'glenda': >>> >>> glenda =A0 =A0 =A0 =A0 =A0 =A05 =A0 =A00:00 =A0 0:00 =A0 =A0 =A0356K Sl= eep =A0 =A0usbd >>> glenda =A0 =A0 =A0 =A0 =A0 =A06 =A0 =A00:00 =A0 0:00 =A0 =A0 =A0356K Pr= ead =A0 =A0usbd >>> glenda =A0 =A0 =A0 =A0 =A0 =A07 =A0 =A00:00 =A0 0:00 =A0 =A0 =A0356K Re= ndez =A0 usbd >>> glenda =A0 =A0 =A0 =A0 =A0 =A08 =A0 =A00:00 =A0 0:00 =A0 =A0 =A0356K Re= ndez =A0 usbd >>> >>> Its a default install, nothing was modified. >>> >>> 2009/8/13 Noah Evans : >>>> Are you sure you're not running two usbds? Can send a listing of your >>>> process table? >>>> >>>> On Thu, Aug 13, 2009 at 11:03 AM, Bela Valek wrote: >>>>> I managed to reproduce the error in Bochs, the only thing I did was >>>>> turning on the USB support in the emulator (usb_uhci: enabled=3D1). >>>>> >>>>> Startup: >>>>> pcirouting: BIOS workaround: PCI.0.1.3 at pin 1 link 96 irq 11 -> 9 >>>>> #u/usb/ep1.0: uhci: port 0xC020 irq 9 >>>>> 256M memory: 105M kernel data, 151M user, 576M swap >>>>> usbd...root is from (tcp, local)[local!#S/sdC0/fossil]: >>>>> >>>>> The error message: >>>>> usb/usbd: opendevdata: /dev/usb/ep1.0: '/dev/usb/ep1.0/data' device o= r >>>>> object already in use >>>>> usb/usbd: /dev/usb/ep1.0: '/dev/usb/ep1.0/data' device or object alre= ady in use >>>>> >>>>> Do you know what happened? >>>>> >>>>> Greetings: B=E9la >>>>> >>>>> >>>> >>>> >>> >>> >> >> > >