From: "??" <kevin@gv.com.tw>
To: "Jun Sun" <jsun@mvista.com>
Cc: "Ralf Baechle" <ralf@linux-mips.org>, "Fang Li" <fanky@gv.com.tw>,
<linux-mips@linux-mips.org>
Subject: Re: usb hotplug function with linux mips kernel
Date: Wed, 20 Nov 2002 11:25:13 +0800 [thread overview]
Message-ID: <00ba01c29044$707cd400$df0210ac@gv.com.tw> (raw)
In-Reply-To: 20021119095444.C18134@mvista.com
dear jun,
do you have the patch to fix "non-coherent MIPS cache"?
thanks in advanced!:)
and thanks you all who reply to this so quickly:)
btw, i don't mean usb not function with linux mips kernel
i mean using the "hotplug"-usb
support(http://linux-hotplug.sourceforge.net/?selected=usb) with linux mips
kernel
for example, after we plug in usb cable with a mips board,
the mips kernel try to execute "/sbin/hotplug" shell script,
then kernel wait_for_complete() for "/sbin/hotplug" with spin_lock_irq(),
the do_execve() of "/sbin/hotplug" return 0(successfully),
however, wait_for_complete() never return,
then kernel is reseted by hardware watchdog(timeout 3 secs)
we already trace this problem over a month,
but still can't figure out is it a userland
problem(cross-compiler/shell(bash))
or a problem with linux mips kernel
best regards,
----- Original Message -----
From: "Jun Sun" <jsun@mvista.com>
To: "Ralf Baechle" <ralf@linux-mips.org>
Cc: "??" <kevin@gv.com.tw>; <linux-mips@linux-mips.org>; <jsun@mvista.com>
Sent: Wednesday, November 20, 2002 1:54 AM
Subject: Re: usb hotplug function with linux mips kernel
> On Tue, Nov 19, 2002 at 01:29:22PM +0100, Ralf Baechle wrote:
> > Hello double questionmark ;-)
> >
> > On Tue, Nov 19, 2002 at 08:09:07PM +0800, ?? wrote:
> >
> > > anyone successfully using usb hotplug function with linux mips kernel?
> > >
> > >
http://marc.theaimsgroup.com/?l=linux-hotplug-devel&m=102954820511328&w=2
> >
> > There is nothing in the USB code that should be MIPS specific. Despite
> > what Tom suspects everything is fine. 32-bit kernel symbols always
start
> > with 0xffffffff and the value of usbdevfs_cleanup is an artefact of the
> > function having been discarded by the linker.
> >
>
> Additional info:
>
> USB has been working on MIPS for well over a year now. There was a
problem
> early on due to non-coherent MIPS cache, but it was solved back then.
>
> We have been using USB on global span IVR successfully. Maybe there are
> still some patches missing in linux-mips tree. I will take a look later.
>
> Jun
WARNING: multiple messages have this Message-ID (diff)
From: "??" <kevin@gv.com.tw>
To: Jun Sun <jsun@mvista.com>
Cc: Ralf Baechle <ralf@linux-mips.org>, Fang Li <fanky@gv.com.tw>,
linux-mips@linux-mips.org
Subject: Re: usb hotplug function with linux mips kernel
Date: Wed, 20 Nov 2002 11:25:13 +0800 [thread overview]
Message-ID: <00ba01c29044$707cd400$df0210ac@gv.com.tw> (raw)
Message-ID: <20021120032513.Qn5TTJ6ChMBe2DZ1SrLI7zXlMUxwhsn3FQN-cxPWae4@z> (raw)
In-Reply-To: 20021119095444.C18134@mvista.com
dear jun,
do you have the patch to fix "non-coherent MIPS cache"?
thanks in advanced!:)
and thanks you all who reply to this so quickly:)
btw, i don't mean usb not function with linux mips kernel
i mean using the "hotplug"-usb
support(http://linux-hotplug.sourceforge.net/?selected=usb) with linux mips
kernel
for example, after we plug in usb cable with a mips board,
the mips kernel try to execute "/sbin/hotplug" shell script,
then kernel wait_for_complete() for "/sbin/hotplug" with spin_lock_irq(),
the do_execve() of "/sbin/hotplug" return 0(successfully),
however, wait_for_complete() never return,
then kernel is reseted by hardware watchdog(timeout 3 secs)
we already trace this problem over a month,
but still can't figure out is it a userland
problem(cross-compiler/shell(bash))
or a problem with linux mips kernel
best regards,
----- Original Message -----
From: "Jun Sun" <jsun@mvista.com>
To: "Ralf Baechle" <ralf@linux-mips.org>
Cc: "??" <kevin@gv.com.tw>; <linux-mips@linux-mips.org>; <jsun@mvista.com>
Sent: Wednesday, November 20, 2002 1:54 AM
Subject: Re: usb hotplug function with linux mips kernel
> On Tue, Nov 19, 2002 at 01:29:22PM +0100, Ralf Baechle wrote:
> > Hello double questionmark ;-)
> >
> > On Tue, Nov 19, 2002 at 08:09:07PM +0800, ?? wrote:
> >
> > > anyone successfully using usb hotplug function with linux mips kernel?
> > >
> > >
http://marc.theaimsgroup.com/?l=linux-hotplug-devel&m=102954820511328&w=2
> >
> > There is nothing in the USB code that should be MIPS specific. Despite
> > what Tom suspects everything is fine. 32-bit kernel symbols always
start
> > with 0xffffffff and the value of usbdevfs_cleanup is an artefact of the
> > function having been discarded by the linker.
> >
>
> Additional info:
>
> USB has been working on MIPS for well over a year now. There was a
problem
> early on due to non-coherent MIPS cache, but it was solved back then.
>
> We have been using USB on global span IVR successfully. Maybe there are
> still some patches missing in linux-mips tree. I will take a look later.
>
> Jun
next prev parent reply other threads:[~2002-11-20 3:25 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-18 13:42 Origin patches, take 2 Ralf Baechle
2002-11-19 12:09 ` usb hotplug function with linux mips kernel ??
2002-11-19 12:09 ` ??
2002-11-19 12:29 ` Ralf Baechle
2002-11-19 17:54 ` Jun Sun
2002-11-19 18:03 ` Pete Popov
2002-11-20 2:49 ` Yoichi Yuasa
2002-11-20 3:50 ` ??
2002-11-20 3:50 ` ??
2002-11-21 15:37 ` Ralf Baechle
2002-11-20 3:25 ` ?? [this message]
2002-11-20 3:25 ` ??
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='00ba01c29044$707cd400$df0210ac@gv.com.tw' \
--to=kevin@gv.com.tw \
--cc=fanky@gv.com.tw \
--cc=jsun@mvista.com \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.