From: Greg KH <greg@kroah.com>
To: Pete Zaitcev <zaitcev@redhat.com>
Cc: torvalds@transmeta.com, linux-kernel@vger.kernel.org
Subject: Re: Problems with USB
Date: Mon, 13 Jan 2003 11:09:35 -0800 [thread overview]
Message-ID: <20030113190935.GB8394@kroah.com> (raw)
In-Reply-To: <200301131859.h0DIx9s10713@devserv.devel.redhat.com>
On Mon, Jan 13, 2003 at 01:59:09PM -0500, Pete Zaitcev wrote:
> > On Sun, Jan 12, 2003 at 09:44:42PM +0100, Petr.Titera@whitesoft.cz wrote:
> >> I have problems with USB in recent kernels (tested on 2.5.56) and
> >> RedHat 8.0. Right after end of script '/etc/rc.d/rc.sysinit' and before
> >> script '/etc/rc.d/rc' which runs after USB daemon khubd gets some signal
> >> and ends.
>
> > greg k-h
> >
> > # USB: Fix from Jeff and Pete to keep khubd from being able to be killed
> > # by a signal
> >
> > diff -Nru a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
> > --- a/drivers/usb/core/hub.c Sun Jan 12 22:03:13 2003
> > +++ b/drivers/usb/core/hub.c Sun Jan 12 22:03:13 2003
> > @@ -1085,6 +1085,12 @@
> >
> > daemonize();
> >
> > + /* keep others from killing us */
> > + spin_lock_irq(¤t->sig->siglock);
> > + sigemptyset(¤t->blocked);
> > + recalc_sigpending();
> > + spin_unlock_irq(¤t->sig->siglock);
> > +
> > /* Setup a nice name */
> > strcpy(current->comm, "khubd");
> >
>
> For the record, I disagree with this strongly.
Ok, Arjan also just convinced me to revert this patch, as Ingo's patch
is the correct fix.
thanks,
greg k-h
next prev parent reply other threads:[~2003-01-13 19:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-12 20:44 Problems with USB Petr.Titera
2003-01-13 5:55 ` Greg KH
[not found] ` <mailman.1042437481.27105.linux-kernel2news@redhat.com>
2003-01-13 18:59 ` Pete Zaitcev
2003-01-13 19:09 ` Greg KH [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-01-13 8:13 Petr.Titera
2003-01-13 17:20 ` Greg KH
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=20030113190935.GB8394@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
--cc=zaitcev@redhat.com \
/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