9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] usbd error message
@ 2009-08-13  9:03 Bela Valek
  2009-08-13  9:18 ` Noah Evans
  0 siblings, 1 reply; 14+ messages in thread
From: Bela Valek @ 2009-08-13  9:03 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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=1).

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 or
object already in use
usb/usbd: /dev/usb/ep1.0: '/dev/usb/ep1.0/data' device or object already in use

Do you know what happened?

Greetings: Béla



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

* Re: [9fans] usbd error message
  2009-08-13  9:03 [9fans] usbd error message Bela Valek
@ 2009-08-13  9:18 ` Noah Evans
  2009-08-13  9:44   ` Bela Valek
  0 siblings, 1 reply; 14+ messages in thread
From: Noah Evans @ 2009-08-13  9:18 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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<bvalek2@gmail.com> 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=1).
>
> 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 or
> object already in use
> usb/usbd: /dev/usb/ep1.0: '/dev/usb/ep1.0/data' device or object already in use
>
> Do you know what happened?
>
> Greetings: Béla
>
>



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

* Re: [9fans] usbd error message
  2009-08-13  9:18 ` Noah Evans
@ 2009-08-13  9:44   ` Bela Valek
  2009-08-13  9:54     ` Noah Evans
  0 siblings, 1 reply; 14+ messages in thread
From: Bela Valek @ 2009-08-13  9:44 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Logged in with 'none':

none             91    0:00   0:00      356K Sleep    usbd
none             92    0:00   0:00      356K Pread    usbd
none             93    0:00   0:00      356K Rendez   usbd
none             94    0:00   0:00      356K Rendez   usbd

Logged in with 'glenda':

glenda            5    0:00   0:00      356K Sleep    usbd
glenda            6    0:00   0:00      356K Pread    usbd
glenda            7    0:00   0:00      356K Rendez   usbd
glenda            8    0:00   0:00      356K Rendez   usbd

Its a default install, nothing was modified.

2009/8/13 Noah Evans <noah.evans@gmail.com>:
> 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<bvalek2@gmail.com> 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=1).
>>
>> 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 or
>> object already in use
>> usb/usbd: /dev/usb/ep1.0: '/dev/usb/ep1.0/data' device or object already in use
>>
>> Do you know what happened?
>>
>> Greetings: Béla
>>
>>
>
>



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

* Re: [9fans] usbd error message
  2009-08-13  9:44   ` Bela Valek
@ 2009-08-13  9:54     ` Noah Evans
  2009-08-13 10:23       ` Bela Valek
  0 siblings, 1 reply; 14+ messages in thread
From: Noah Evans @ 2009-08-13  9:54 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Okay, could you run:

 echo 'stacks()' | acid -l thread <pid>

On Thu, Aug 13, 2009 at 11:44 AM, Bela Valek<bvalek2@gmail.com> wrote:
> Logged in with 'none':
>
> none             91    0:00   0:00      356K Sleep    usbd
> none             92    0:00   0:00      356K Pread    usbd
> none             93    0:00   0:00      356K Rendez   usbd
> none             94    0:00   0:00      356K Rendez   usbd
>
> Logged in with 'glenda':
>
> glenda            5    0:00   0:00      356K Sleep    usbd
> glenda            6    0:00   0:00      356K Pread    usbd
> glenda            7    0:00   0:00      356K Rendez   usbd
> glenda            8    0:00   0:00      356K Rendez   usbd
>
> Its a default install, nothing was modified.
>
> 2009/8/13 Noah Evans <noah.evans@gmail.com>:
>> 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<bvalek2@gmail.com> 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=1).
>>>
>>> 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 or
>>> object already in use
>>> usb/usbd: /dev/usb/ep1.0: '/dev/usb/ep1.0/data' device or object already in use
>>>
>>> Do you know what happened?
>>>
>>> Greetings: Béla
>>>
>>>
>>
>>
>
>



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

* Re: [9fans] usbd error message
  2009-08-13  9:54     ` Noah Evans
@ 2009-08-13 10:23       ` Bela Valek
  2009-08-13 11:01         ` Noah Evans
  2009-08-13 11:47         ` erik quanstrom
  0 siblings, 2 replies; 14+ messages in thread
From: Bela Valek @ 2009-08-13 10:23 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

First of all, i missed some pids, the total number of usbd processes is 8:

glenda            5    0:00   0:00      356K Sleep    usbd
glenda            6    0:00   0:00      356K Pread    usbd
glenda            7    0:00   0:00      356K Rendez   usbd
glenda            8    0:00   0:00      356K Rendez   usbd
glenda           95    0:00   0:00      356K Sleep    usbd
glenda           96    0:00   0:00      356K Pread    usbd
glenda           97    0:00   0:00      356K Rendez   usbd
glenda           98    0:00   0:00      356K Rendez   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: <stdin>: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: <stdin>:2: (error) no function stacks
acid:
echo kill > /proc/95/ctl

Greetings: Béla

2009/8/13 Noah Evans <noah.evans@gmail.com>:
> Okay, could you run:
>
>  echo 'stacks()' | acid -l thread <pid>
>
> On Thu, Aug 13, 2009 at 11:44 AM, Bela Valek<bvalek2@gmail.com> wrote:
>> Logged in with 'none':
>>
>> none             91    0:00   0:00      356K Sleep    usbd
>> none             92    0:00   0:00      356K Pread    usbd
>> none             93    0:00   0:00      356K Rendez   usbd
>> none             94    0:00   0:00      356K Rendez   usbd
>>
>> Logged in with 'glenda':
>>
>> glenda            5    0:00   0:00      356K Sleep    usbd
>> glenda            6    0:00   0:00      356K Pread    usbd
>> glenda            7    0:00   0:00      356K Rendez   usbd
>> glenda            8    0:00   0:00      356K Rendez   usbd
>>
>> Its a default install, nothing was modified.
>>
>> 2009/8/13 Noah Evans <noah.evans@gmail.com>:
>>> 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<bvalek2@gmail.com> 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=1).
>>>>
>>>> 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 or
>>>> object already in use
>>>> usb/usbd: /dev/usb/ep1.0: '/dev/usb/ep1.0/data' device or object already in use
>>>>
>>>> Do you know what happened?
>>>>
>>>> Greetings: Béla
>>>>
>>>>
>>>
>>>
>>
>>
>
>



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

* Re: [9fans] usbd error message
  2009-08-13 10:23       ` Bela Valek
@ 2009-08-13 11:01         ` Noah Evans
  2009-08-13 12:42           ` Bela Valek
  2009-08-13 11:47         ` erik quanstrom
  1 sibling, 1 reply; 14+ messages in thread
From: Noah Evans @ 2009-08-13 11:01 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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<bvalek2@gmail.com> wrote:
> First of all, i missed some pids, the total number of usbd processes is 8:
>
> glenda            5    0:00   0:00      356K Sleep    usbd
> glenda            6    0:00   0:00      356K Pread    usbd
> glenda            7    0:00   0:00      356K Rendez   usbd
> glenda            8    0:00   0:00      356K Rendez   usbd
> glenda           95    0:00   0:00      356K Sleep    usbd
> glenda           96    0:00   0:00      356K Pread    usbd
> glenda           97    0:00   0:00      356K Rendez   usbd
> glenda           98    0:00   0:00      356K Rendez   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: <stdin>: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: <stdin>:2: (error) no function stacks
> acid:
> echo kill > /proc/95/ctl
>
> Greetings: Béla
>
> 2009/8/13 Noah Evans <noah.evans@gmail.com>:
>> Okay, could you run:
>>
>>  echo 'stacks()' | acid -l thread <pid>
>>
>> On Thu, Aug 13, 2009 at 11:44 AM, Bela Valek<bvalek2@gmail.com> wrote:
>>> Logged in with 'none':
>>>
>>> none             91    0:00   0:00      356K Sleep    usbd
>>> none             92    0:00   0:00      356K Pread    usbd
>>> none             93    0:00   0:00      356K Rendez   usbd
>>> none             94    0:00   0:00      356K Rendez   usbd
>>>
>>> Logged in with 'glenda':
>>>
>>> glenda            5    0:00   0:00      356K Sleep    usbd
>>> glenda            6    0:00   0:00      356K Pread    usbd
>>> glenda            7    0:00   0:00      356K Rendez   usbd
>>> glenda            8    0:00   0:00      356K Rendez   usbd
>>>
>>> Its a default install, nothing was modified.
>>>
>>> 2009/8/13 Noah Evans <noah.evans@gmail.com>:
>>>> 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<bvalek2@gmail.com> 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=1).
>>>>>
>>>>> 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 or
>>>>> object already in use
>>>>> usb/usbd: /dev/usb/ep1.0: '/dev/usb/ep1.0/data' device or object already in use
>>>>>
>>>>> Do you know what happened?
>>>>>
>>>>> Greetings: Béla
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>



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

* Re: [9fans] usbd error message
  2009-08-13 10:23       ` Bela Valek
  2009-08-13 11:01         ` Noah Evans
@ 2009-08-13 11:47         ` erik quanstrom
  2009-08-13 12:45           ` Bela Valek
  1 sibling, 1 reply; 14+ messages in thread
From: erik quanstrom @ 2009-08-13 11:47 UTC (permalink / raw)
  To: 9fans

On Thu Aug 13 06:25:14 EDT 2009, bvalek2@gmail.com wrote:
> First of all, i missed some pids, the total number of usbd processes is 8:
>
> glenda            5    0:00   0:00      356K Sleep    usbd
> glenda            6    0:00   0:00      356K Pread    usbd
> glenda            7    0:00   0:00      356K Rendez   usbd
> glenda            8    0:00   0:00      356K Rendez   usbd
> glenda           95    0:00   0:00      356K Sleep    usbd
> glenda           96    0:00   0:00      356K Pread    usbd
> glenda           97    0:00   0:00      356K Rendez   usbd
> glenda           98    0:00   0:00      356K Rendez   usbd

looks like the problem is that you're starting usbd twice.
perhaps in or from cpurc or termrc?

- erik



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

* Re: [9fans] usbd error message
  2009-08-13 11:01         ` Noah Evans
@ 2009-08-13 12:42           ` Bela Valek
  0 siblings, 0 replies; 14+ messages in thread
From: Bela Valek @ 2009-08-13 12:42 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

2009/8/13 Noah Evans <noah.evans@gmail.com>:
> Can you mk all /sys/src/libthread. This is bogging down a bit. Take it off-list?
>

I did mk, and i tried the command again, thread 5 has no process
information, thread 95 gives this:

term% echo 'stacks()' | acid -l thread 95
/proc/95/text:386 plan 9 executable
/sys/lib/acid/port
/sys/lib/acid/386
/sys/lib/acid/thread
acid: p=(Proc)0x38988    pid 95  Running
	t=(Thread)0x39328    Running    /sys/src/cmd/usb/usbd/usbd.c:585 work
		sleep()+0x7 /sys/src/libc/9syscall/sleep.s:5
		work(a=0x38948)+0x12c /sys/src/cmd/usb/usbd/usbd.c:585
		launcher386(arg=0x38948,f=0x2b0d)+0x10 /sys/src/libthread/386.c:10
		0xfefefefe ?file?:0


p=(Proc)0x52c88    pid 96  Running
	t=(Thread)0x53628    Running    /sys/src/cmd/usb/lib/fs.c:592 usbfs
		pread()+0x7 /sys/src/libc/9syscall/pread.s:5
		read(fd=0x5,buf=0x4efc4,n=0x4)+0x2f /sys/src/libc/9sys/read.c:7
		readn(n=0x4,av=0x4efc4,f=0x5)+0x3a /sys/src/libc/port/readn.c:13
		read9pmsg(abuf=0x4efc4,fd=0x5,n=0x2080)+0x24 /sys/src/libc/9sys/read9pmsg.c:14
		usbfs()+0x100 /sys/src/cmd/usb/lib/fs.c:592
		launcher386(arg=0x0,f=0xadd0)+0x10 /sys/src/libthread/386.c:10
		0xfefefefe ?file?:0

	t=(Thread)0x53748    Rendez     /sys/src/cmd/usb/lib/fs.c:119 schedproc
		alt(alts=0x49950)+0x12a /sys/src/libthread/channel.c:140
		schedproc()+0xbe /sys/src/cmd/usb/lib/fs.c:119
		launcher386(arg=0x0,f=0x9bb2)+0x10 /sys/src/libthread/386.c:10
		0xfefefefe ?file?:0


p=(Proc)0x499d8    pid 97  Sched
	t=(Thread)0x537e8    Rendez     /sys/src/cmd/usb/lib/fs.c:546 outproc
		recvp(c=0x38948)+0x2c /sys/src/libthread/channel.c:270
		outproc()+0x2f /sys/src/cmd/usb/lib/fs.c:546
		launcher386(arg=0x0,f=0xac11)+0x10 /sys/src/libthread/386.c:10
		0xfefefefe ?file?:0


p=(Proc)0x4e398    pid 98  Sched
	t=(Thread)0x53928    Rendez     /sys/src/cmd/usb/lib/fs.c:342 fsioproc
		recvp(c=0x538e8)+0x2c /sys/src/libthread/channel.c:270
		fsioproc(a=0x538e8)+0x51 /sys/src/cmd/usb/lib/fs.c:342
		launcher386(arg=0x538e8,f=0xa440)+0x10 /sys/src/libthread/386.c:10
		0xfefefefe ?file?:0


acid:
echo kill > /proc/98/ctl
echo kill > /proc/97/ctl
echo kill > /proc/96/ctl
echo kill > /proc/95/ctl



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

* Re: [9fans] usbd error message
  2009-08-13 11:47         ` erik quanstrom
@ 2009-08-13 12:45           ` Bela Valek
  2009-08-13 13:01             ` Noah Evans
  0 siblings, 1 reply; 14+ messages in thread
From: Bela Valek @ 2009-08-13 12:45 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Its a default install, i didnt modify it.

2009/8/13 erik quanstrom <quanstro@quanstro.net>:
> On Thu Aug 13 06:25:14 EDT 2009, bvalek2@gmail.com wrote:
>> First of all, i missed some pids, the total number of usbd processes is 8:
>>
>> glenda            5    0:00   0:00      356K Sleep    usbd
>> glenda            6    0:00   0:00      356K Pread    usbd
>> glenda            7    0:00   0:00      356K Rendez   usbd
>> glenda            8    0:00   0:00      356K Rendez   usbd
>> glenda           95    0:00   0:00      356K Sleep    usbd
>> glenda           96    0:00   0:00      356K Pread    usbd
>> glenda           97    0:00   0:00      356K Rendez   usbd
>> glenda           98    0:00   0:00      356K Rendez   usbd
>
> looks like the problem is that you're starting usbd twice.
> perhaps in or from cpurc or termrc?
>
> - erik
>
>



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

* Re: [9fans] usbd error message
  2009-08-13 12:45           ` Bela Valek
@ 2009-08-13 13:01             ` Noah Evans
  2009-08-13 13:35               ` Bela Valek
  0 siblings, 1 reply; 14+ messages in thread
From: Noah Evans @ 2009-08-13 13:01 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Can you reboot the machine and then pastebin the full transcript of
what happens from boot to your usbd error? AFAIK you shouldn't have
two instances of usbd running.

On Thu, Aug 13, 2009 at 2:45 PM, Bela Valek<bvalek2@gmail.com> wrote:
> Its a default install, i didnt modify it.
>
> 2009/8/13 erik quanstrom <quanstro@quanstro.net>:
>> On Thu Aug 13 06:25:14 EDT 2009, bvalek2@gmail.com wrote:
>>> First of all, i missed some pids, the total number of usbd processes is 8:
>>>
>>> glenda            5    0:00   0:00      356K Sleep    usbd
>>> glenda            6    0:00   0:00      356K Pread    usbd
>>> glenda            7    0:00   0:00      356K Rendez   usbd
>>> glenda            8    0:00   0:00      356K Rendez   usbd
>>> glenda           95    0:00   0:00      356K Sleep    usbd
>>> glenda           96    0:00   0:00      356K Pread    usbd
>>> glenda           97    0:00   0:00      356K Rendez   usbd
>>> glenda           98    0:00   0:00      356K Rendez   usbd
>>
>> looks like the problem is that you're starting usbd twice.
>> perhaps in or from cpurc or termrc?
>>
>> - erik
>>
>>
>
>



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

* Re: [9fans] usbd error message
  2009-08-13 13:01             ` Noah Evans
@ 2009-08-13 13:35               ` Bela Valek
  2009-08-13 13:46                 ` erik quanstrom
  2009-08-13 13:57                 ` Noah Evans
  0 siblings, 2 replies; 14+ messages in thread
From: Bela Valek @ 2009-08-13 13:35 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

2009/8/13 Noah Evans <noah.evans@gmail.com>:
> Can you reboot the machine and then pastebin the full transcript of
> what happens from boot to your usbd error? AFAIK you shouldn't have
> two instances of usbd running.
>

Its very short, the error message comes early:

Plan 9
E820: 00000000 0009f000 memory
E820: 0009f000 000a0000 reserved
E820: 000e8000 00100000 reserved
E820: 00100000 0fff0000 memory
E820: 0fff0000 10000000 acpi reclaim
E820: fffc0000 100000000 reserved
126 holes free
00019000 0009f000 548864
0040e000 0687f000 105320448
105869312 bytes free
cpu0: 50MHz GenuineIntel PentiumIV/Xeon (cpuid: AX 0x0F20 DX 0x78BFBFF)
ELCR: 0A00
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]:
user[none]: glenda
time...
fossil(#S/sdC0/fossil)...version...time...

init: starting /bin/rc
grep: exec header invalid
grep: exec header invalid
grep: exec header invalid
usb/usbd: opendevdata: /dev/usb/ep1.0: '/dev/usb/ep1.0/data' device or
object already in use
usb/usbd: /dev/usb/ep1.0: '/dev/usb/ep1.0/data' device or object already in use



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

* Re: [9fans] usbd error message
  2009-08-13 13:35               ` Bela Valek
@ 2009-08-13 13:46                 ` erik quanstrom
  2009-08-13 13:57                 ` Noah Evans
  1 sibling, 0 replies; 14+ messages in thread
From: erik quanstrom @ 2009-08-13 13:46 UTC (permalink / raw)
  To: 9fans

On Thu Aug 13 09:36:24 EDT 2009, bvalek2@gmail.com wrote:
> Plan 9
[...]
> init: starting /bin/rc
> grep: exec header invalid
> grep: exec header invalid
> grep: exec header invalid

i'm pretty sure this is not a pristine install.
somehow grep has gotten stomped on.

- erik



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

* Re: [9fans] usbd error message
  2009-08-13 13:35               ` Bela Valek
  2009-08-13 13:46                 ` erik quanstrom
@ 2009-08-13 13:57                 ` Noah Evans
  2009-08-13 14:25                   ` Bela Valek
  1 sibling, 1 reply; 14+ messages in thread
From: Noah Evans @ 2009-08-13 13:57 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Can add 'flag x +' to /rc/bin/usbstart and /rc/bin/termrc and post
that output? I think I know your problem now. Also could you:
echo  | grep -s hello; echo $status

My guess is that somehow your grep is borked and:

	if (! ps | grep -s ' usbd$')
		usb/usbd
is succeeding in /rc/bin/usbstart

On Thu, Aug 13, 2009 at 3:35 PM, Bela Valek<bvalek2@gmail.com> wrote:
> 2009/8/13 Noah Evans <noah.evans@gmail.com>:
>> Can you reboot the machine and then pastebin the full transcript of
>> what happens from boot to your usbd error? AFAIK you shouldn't have
>> two instances of usbd running.
>>
>
> Its very short, the error message comes early:
>
> Plan 9
> E820: 00000000 0009f000 memory
> E820: 0009f000 000a0000 reserved
> E820: 000e8000 00100000 reserved
> E820: 00100000 0fff0000 memory
> E820: 0fff0000 10000000 acpi reclaim
> E820: fffc0000 100000000 reserved
> 126 holes free
> 00019000 0009f000 548864
> 0040e000 0687f000 105320448
> 105869312 bytes free
> cpu0: 50MHz GenuineIntel PentiumIV/Xeon (cpuid: AX 0x0F20 DX 0x78BFBFF)
> ELCR: 0A00
> 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]:
> user[none]: glenda
> time...
> fossil(#S/sdC0/fossil)...version...time...
>
> init: starting /bin/rc
> grep: exec header invalid
> grep: exec header invalid
> grep: exec header invalid
> usb/usbd: opendevdata: /dev/usb/ep1.0: '/dev/usb/ep1.0/data' device or
> object already in use
> usb/usbd: /dev/usb/ep1.0: '/dev/usb/ep1.0/data' device or object already in use
>
>



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

* Re: [9fans] usbd error message
  2009-08-13 13:57                 ` Noah Evans
@ 2009-08-13 14:25                   ` Bela Valek
  0 siblings, 0 replies; 14+ messages in thread
From: Bela Valek @ 2009-08-13 14:25 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

2009/8/13 Noah Evans <noah.evans@gmail.com>:
> Can add 'flag x +' to /rc/bin/usbstart and /rc/bin/termrc and post
> that output? I think I know your problem now. Also could you:
> echo  | grep -s hello; echo $status
>
> My guess is that somehow your grep is borked and:
>
>        if (! ps | grep -s ' usbd$')
>                usb/usbd
> is succeeding in /rc/bin/usbstart
>

term% echo  | grep -s hello; echo $status
grep: exec header invalid
|rc 220: can't exec: exec header invalid

I wonder, what did I temper with, on two different installations. I
just tried a clean install, the error message is not there, and ps
show only 4 usbd threads.



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

end of thread, other threads:[~2009-08-13 14:25 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-13  9:03 [9fans] usbd error message Bela Valek
2009-08-13  9:18 ` Noah Evans
2009-08-13  9:44   ` Bela Valek
2009-08-13  9:54     ` Noah Evans
2009-08-13 10:23       ` Bela Valek
2009-08-13 11:01         ` Noah Evans
2009-08-13 12:42           ` Bela Valek
2009-08-13 11:47         ` erik quanstrom
2009-08-13 12:45           ` Bela Valek
2009-08-13 13:01             ` Noah Evans
2009-08-13 13:35               ` Bela Valek
2009-08-13 13:46                 ` erik quanstrom
2009-08-13 13:57                 ` Noah Evans
2009-08-13 14:25                   ` Bela Valek

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).