netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* option: oops on unload (2.6.27.4)
@ 2008-11-28 21:32 Marcin Slusarz
  2008-11-28 21:50 ` Greg KH
  0 siblings, 1 reply; 7+ messages in thread
From: Marcin Slusarz @ 2008-11-28 21:32 UTC (permalink / raw)
  To: LKML
  Cc: linux-usb-u79uwXL29TY76Z2rM5mHXA, netdev-u79uwXL29TY76Z2rM5mHXA,
	Greg Kroah-Hartman

It's not new bug - I've seen this oops many times but on much older
kernels (2.6.18, probably on 2.6.24 too).

I tried to rmmod it (and all usb modules) because sometimes it helps when
modem disconnects and can't connect again.

[25350.138850] BUG: unable to handle kernel paging request at e0857fb4
[25350.138866] IP: [<e0a22e80>] :usbcore:unlink1+0xab/0xb9
[25350.138921] *pde = 1f80f067 *pte = 00000000 
[25350.138934] Oops: 0000 [#1] PREEMPT SMP 
[25350.138945] Modules linked in: r128 drm ipt_REDIRECT ipt_MASQUERADE xt_tcpudp xt_multiport iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack iptable_filter ip_tables ppp_deflate zlib_deflate zlib_inflate bsd_comp ppp_async crc_ccitt ppp_generic slhc ipt_REJECT x_tables loop option usbserial snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm snd_timer snd 8139cp i2c_i801 floppy 8139too 3c59x psmouse intel_agp soundcore snd_page_alloc sg mii usbcore agpgart i2c_core sr_mod evdev dcdbas cdrom [last unloaded: uhci_hcd]
[25350.139052] 
[25350.139059] Pid: 2807, comm: pppd Not tainted (2.6.27.4 #5)
[25350.139065] EIP: 0060:[<e0a22e80>] EFLAGS: 00010286 CPU: 0
[25350.139088] EIP is at unlink1+0xab/0xb9 [usbcore]
[25350.139095] EAX: df9fdc00 EBX: e0857f80 ECX: fffffffe EDX: dafe5e80
[25350.139101] ESI: df9fdc00 EDI: dafe5e80 EBP: dad89e80 ESP: dad89e6c
[25350.139107]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[25350.139114] Process pppd (pid: 2807, ti=dad88000 task=d9614380 task.ti=dad88000)
[25350.139119] Stack: fffffffe 00000246 dafe5e80 daff3480 dafe56b8 dad89e8c e0a23672 dafe5e80 
[25350.139140]        dad89eb0 e0a240fc 00000246 dafe56bc dafe5680 daff3480 dafe56b8 00000000 
[25350.139160]        dafe56b8 dad89ecc e088e8fc dece9000 decf3800 e0890ca0 dece9000 dece90c4 
[25350.139181] Call Trace:
[25350.139188]  [<e0a23672>] ? usb_hcd_unlink_urb+0x15/0x22 [usbcore]
[25350.139218]  [<e0a240fc>] ? usb_kill_urb+0x4b/0xc2 [usbcore]
[25350.139246]  [<e088e8fc>] ? option_close+0x7b/0x9b [option]
[25350.139267]  [<e08ab741>] ? serial_close+0x82/0xf3 [usbserial]
[25350.139285]  [<c0210fc3>] ? release_dev+0x180/0x3c3
[25350.139302]  [<c013b450>] ? __lock_acquire+0x651/0x697
[25350.139315]  [<c0211218>] ? tty_release+0x12/0x1c
[25350.139324]  [<c0167617>] ? __fput+0x99/0x13b
[25350.139336]  [<c016790e>] ? fput+0x17/0x19
[25350.139345]  [<c01652ba>] ? filp_close+0x50/0x5a
[25350.139355]  [<c01662c6>] ? sys_close+0x73/0xab
[25350.139364]  [<c0102dad>] ? sysenter_do_call+0x12/0x35
[25350.139376]  =======================
[25350.139380] Code: 89 f0 e8 f7 fe ff ff b8 84 91 a3 e0 e8 30 3c 8a df 8b 55 f0 b8 84 91 a3 e0 e8 b2 40 8a df eb 10 8b 9e b4 00 00 00 8b 4d ec 89 f0 <ff> 53 34 89 c3 89 d8 5f 5a 5b 5e 5f 5d c3 55 89 e5 57 56 53 83 
[25350.139497] EIP: [<e0a22e80>] unlink1+0xab/0xb9 [usbcore] SS:ESP 0068:dad89e6c
[25350.139527] ---[ end trace 8506998287f38ab7 ]---

Full dmesg and config can be found at:
http://www.kadu.net/~joi/kernel/2008.11.28/option-usb.oops/

Marcin
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: option: oops on unload (2.6.27.4)
  2008-11-28 21:32 option: oops on unload (2.6.27.4) Marcin Slusarz
@ 2008-11-28 21:50 ` Greg KH
       [not found]   ` <20081128215021.GA25391-l3A5Bk7waGM@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Greg KH @ 2008-11-28 21:50 UTC (permalink / raw)
  To: Marcin Slusarz
  Cc: LKML, linux-usb-u79uwXL29TY76Z2rM5mHXA,
	netdev-u79uwXL29TY76Z2rM5mHXA

On Fri, Nov 28, 2008 at 10:32:59PM +0100, Marcin Slusarz wrote:
> It's not new bug - I've seen this oops many times but on much older
> kernels (2.6.18, probably on 2.6.24 too).
> 
> I tried to rmmod it (and all usb modules) because sometimes it helps when
> modem disconnects and can't connect again.
> 
> [25350.138850] BUG: unable to handle kernel paging request at e0857fb4
> [25350.138866] IP: [<e0a22e80>] :usbcore:unlink1+0xab/0xb9
> [25350.138921] *pde = 1f80f067 *pte = 00000000 
> [25350.138934] Oops: 0000 [#1] PREEMPT SMP 
> [25350.138945] Modules linked in: r128 drm ipt_REDIRECT ipt_MASQUERADE xt_tcpudp xt_multiport iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack iptable_filter ip_tables ppp_deflate zlib_deflate zlib_inflate bsd_comp ppp_async crc_ccitt ppp_generic slhc ipt_REJECT x_tables loop option usbserial snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm snd_timer snd 8139cp i2c_i801 floppy 8139too 3c59x psmouse intel_agp soundcore snd_page_alloc sg mii usbcore agpgart i2c_core sr_mod evdev dcdbas cdrom [last unloaded: uhci_hcd]
> [25350.139052] 
> [25350.139059] Pid: 2807, comm: pppd Not tainted (2.6.27.4 #5)
> [25350.139065] EIP: 0060:[<e0a22e80>] EFLAGS: 00010286 CPU: 0
> [25350.139088] EIP is at unlink1+0xab/0xb9 [usbcore]

Yes, I've seen this before, what module are you unloading, uhci-hcd or
the option module?

Can you try 2.6.28-rc6?  I think we have fixed a few things in this area
that should resolve this, if it is the uhci-hcd driver you are
unloading.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: option: oops on unload (2.6.27.4)
       [not found]   ` <20081128215021.GA25391-l3A5Bk7waGM@public.gmane.org>
@ 2008-11-28 22:01     ` Marcin Slusarz
  2008-11-28 23:50       ` Greg KH
  0 siblings, 1 reply; 7+ messages in thread
From: Marcin Slusarz @ 2008-11-28 22:01 UTC (permalink / raw)
  To: Greg KH
  Cc: LKML, linux-usb-u79uwXL29TY76Z2rM5mHXA,
	netdev-u79uwXL29TY76Z2rM5mHXA

On Fri, Nov 28, 2008 at 01:50:21PM -0800, Greg KH wrote:
> On Fri, Nov 28, 2008 at 10:32:59PM +0100, Marcin Slusarz wrote:
> > It's not new bug - I've seen this oops many times but on much older
> > kernels (2.6.18, probably on 2.6.24 too).
> > 
> > I tried to rmmod it (and all usb modules) because sometimes it helps when
> > modem disconnects and can't connect again.
> > 
> > [25350.138850] BUG: unable to handle kernel paging request at e0857fb4
> > [25350.138866] IP: [<e0a22e80>] :usbcore:unlink1+0xab/0xb9
> > [25350.138921] *pde = 1f80f067 *pte = 00000000 
> > [25350.138934] Oops: 0000 [#1] PREEMPT SMP 
> > [25350.138945] Modules linked in: r128 drm ipt_REDIRECT ipt_MASQUERADE xt_tcpudp xt_multiport iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack iptable_filter ip_tables ppp_deflate zlib_deflate zlib_inflate bsd_comp ppp_async crc_ccitt ppp_generic slhc ipt_REJECT x_tables loop option usbserial snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm snd_timer snd 8139cp i2c_i801 floppy 8139too 3c59x psmouse intel_agp soundcore snd_page_alloc sg mii usbcore agpgart i2c_core sr_mod evdev dcdbas cdrom [last unloaded: uhci_hcd]
> > [25350.139052] 
> > [25350.139059] Pid: 2807, comm: pppd Not tainted (2.6.27.4 #5)
> > [25350.139065] EIP: 0060:[<e0a22e80>] EFLAGS: 00010286 CPU: 0
> > [25350.139088] EIP is at unlink1+0xab/0xb9 [usbcore]
> 
> Yes, I've seen this before, what module are you unloading, uhci-hcd or
> the option module?

I don't know :| I invoked "rmmod option usbserial uhci_hcd usbcore"
 
> Can you try 2.6.28-rc6? 

Yes. I'll check it in few days.

> I think we have fixed a few things in this area
> that should resolve this, if it is the uhci-hcd driver you are
> unloading.

Marcin
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: option: oops on unload (2.6.27.4)
  2008-11-28 22:01     ` Marcin Slusarz
@ 2008-11-28 23:50       ` Greg KH
       [not found]         ` <20081128235010.GB27130-l3A5Bk7waGM@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Greg KH @ 2008-11-28 23:50 UTC (permalink / raw)
  To: Marcin Slusarz
  Cc: LKML, linux-usb-u79uwXL29TY76Z2rM5mHXA,
	netdev-u79uwXL29TY76Z2rM5mHXA

On Fri, Nov 28, 2008 at 11:01:43PM +0100, Marcin Slusarz wrote:
> On Fri, Nov 28, 2008 at 01:50:21PM -0800, Greg KH wrote:
> > On Fri, Nov 28, 2008 at 10:32:59PM +0100, Marcin Slusarz wrote:
> > > It's not new bug - I've seen this oops many times but on much older
> > > kernels (2.6.18, probably on 2.6.24 too).
> > > 
> > > I tried to rmmod it (and all usb modules) because sometimes it helps when
> > > modem disconnects and can't connect again.
> > > 
> > > [25350.138850] BUG: unable to handle kernel paging request at e0857fb4
> > > [25350.138866] IP: [<e0a22e80>] :usbcore:unlink1+0xab/0xb9
> > > [25350.138921] *pde = 1f80f067 *pte = 00000000 
> > > [25350.138934] Oops: 0000 [#1] PREEMPT SMP 
> > > [25350.138945] Modules linked in: r128 drm ipt_REDIRECT ipt_MASQUERADE xt_tcpudp xt_multiport iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack iptable_filter ip_tables ppp_deflate zlib_deflate zlib_inflate bsd_comp ppp_async crc_ccitt ppp_generic slhc ipt_REJECT x_tables loop option usbserial snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm snd_timer snd 8139cp i2c_i801 floppy 8139too 3c59x psmouse intel_agp soundcore snd_page_alloc sg mii usbcore agpgart i2c_core sr_mod evdev dcdbas cdrom [last unloaded: uhci_hcd]
> > > [25350.139052] 
> > > [25350.139059] Pid: 2807, comm: pppd Not tainted (2.6.27.4 #5)
> > > [25350.139065] EIP: 0060:[<e0a22e80>] EFLAGS: 00010286 CPU: 0
> > > [25350.139088] EIP is at unlink1+0xab/0xb9 [usbcore]
> > 
> > Yes, I've seen this before, what module are you unloading, uhci-hcd or
> > the option module?
> 
> I don't know :| I invoked "rmmod option usbserial uhci_hcd usbcore"

Try them one at a time:
	rmmod option
	rmmod uhci-hcd

that should be all you need if you really need to remove all usb
devices.

But why do you need to do this?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: option: oops on unload (2.6.27.4)
       [not found]         ` <20081128235010.GB27130-l3A5Bk7waGM@public.gmane.org>
@ 2008-11-29  0:51           ` Arjan van de Ven
       [not found]             ` <20081128165120.4d587db0-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
  2008-11-29 17:00           ` Marcin Slusarz
  1 sibling, 1 reply; 7+ messages in thread
From: Arjan van de Ven @ 2008-11-29  0:51 UTC (permalink / raw)
  To: Greg KH
  Cc: Marcin Slusarz, LKML, linux-usb-u79uwXL29TY76Z2rM5mHXA,
	netdev-u79uwXL29TY76Z2rM5mHXA

On Fri, 28 Nov 2008 15:50:10 -0800
Greg KH <gregkh-l3A5Bk7waGM@public.gmane.org> wrote:
> > > > i2c_core sr_mod evdev dcdbas cdrom [last unloaded: uhci_hcd]

... last unloaded was uhci_hcd ;)

-- 
Arjan van de Ven 	Intel Open Source Technology Centre
For development, discussion and tips for power savings, 
visit http://www.lesswatts.org
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: option: oops on unload (2.6.27.4)
       [not found]             ` <20081128165120.4d587db0-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
@ 2008-11-29  1:02               ` Greg KH
  0 siblings, 0 replies; 7+ messages in thread
From: Greg KH @ 2008-11-29  1:02 UTC (permalink / raw)
  To: Arjan van de Ven
  Cc: Greg KH, Marcin Slusarz, LKML, linux-usb-u79uwXL29TY76Z2rM5mHXA,
	netdev-u79uwXL29TY76Z2rM5mHXA

On Fri, Nov 28, 2008 at 04:51:20PM -0800, Arjan van de Ven wrote:
> On Fri, 28 Nov 2008 15:50:10 -0800
> Greg KH <gregkh-l3A5Bk7waGM@public.gmane.org> wrote:
> > > > > i2c_core sr_mod evdev dcdbas cdrom [last unloaded: uhci_hcd]
> 
> ... last unloaded was uhci_hcd ;)

Ah, good point, option wasn't unloaded first.  Yeah, this is a known
issue.  Try unloading option first.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: option: oops on unload (2.6.27.4)
       [not found]         ` <20081128235010.GB27130-l3A5Bk7waGM@public.gmane.org>
  2008-11-29  0:51           ` Arjan van de Ven
@ 2008-11-29 17:00           ` Marcin Slusarz
  1 sibling, 0 replies; 7+ messages in thread
From: Marcin Slusarz @ 2008-11-29 17:00 UTC (permalink / raw)
  To: Greg KH
  Cc: LKML, linux-usb-u79uwXL29TY76Z2rM5mHXA,
	netdev-u79uwXL29TY76Z2rM5mHXA

On Fri, Nov 28, 2008 at 03:50:10PM -0800, Greg KH wrote:
> On Fri, Nov 28, 2008 at 11:01:43PM +0100, Marcin Slusarz wrote:
> > On Fri, Nov 28, 2008 at 01:50:21PM -0800, Greg KH wrote:
> > > On Fri, Nov 28, 2008 at 10:32:59PM +0100, Marcin Slusarz wrote:
> > > > It's not new bug - I've seen this oops many times but on much older
> > > > kernels (2.6.18, probably on 2.6.24 too).
> > > > 
> > > > I tried to rmmod it (and all usb modules) because sometimes it helps when
> > > > modem disconnects and can't connect again.
> > > > 
> > > > [25350.138850] BUG: unable to handle kernel paging request at e0857fb4
> > > > [25350.138866] IP: [<e0a22e80>] :usbcore:unlink1+0xab/0xb9
> > > > [25350.138921] *pde = 1f80f067 *pte = 00000000 
> > > > [25350.138934] Oops: 0000 [#1] PREEMPT SMP 
> > > > [25350.138945] Modules linked in: r128 drm ipt_REDIRECT ipt_MASQUERADE xt_tcpudp xt_multiport iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack iptable_filter ip_tables ppp_deflate zlib_deflate zlib_inflate bsd_comp ppp_async crc_ccitt ppp_generic slhc ipt_REJECT x_tables loop option usbserial snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm snd_timer snd 8139cp i2c_i801 floppy 8139too 3c59x psmouse intel_agp soundcore snd_page_alloc sg mii usbcore agpgart i2c_core sr_mod evdev dcdbas cdrom [last unloaded: uhci_hcd]
> > > > [25350.139052] 
> > > > [25350.139059] Pid: 2807, comm: pppd Not tainted (2.6.27.4 #5)
> > > > [25350.139065] EIP: 0060:[<e0a22e80>] EFLAGS: 00010286 CPU: 0
> > > > [25350.139088] EIP is at unlink1+0xab/0xb9 [usbcore]
> > > 
> > > Yes, I've seen this before, what module are you unloading, uhci-hcd or
> > > the option module?
> > 
> > I don't know :| I invoked "rmmod option usbserial uhci_hcd usbcore"
> 
> Try them one at a time:
> 	rmmod option
> 	rmmod uhci-hcd
> 
> that should be all you need if you really need to remove all usb
> devices.
> 
> But why do you need to do this?

> > > > I tried to rmmod it (and all usb modules) because sometimes it helps when
> > > > modem disconnects and can't connect again.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2008-11-29 17:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-28 21:32 option: oops on unload (2.6.27.4) Marcin Slusarz
2008-11-28 21:50 ` Greg KH
     [not found]   ` <20081128215021.GA25391-l3A5Bk7waGM@public.gmane.org>
2008-11-28 22:01     ` Marcin Slusarz
2008-11-28 23:50       ` Greg KH
     [not found]         ` <20081128235010.GB27130-l3A5Bk7waGM@public.gmane.org>
2008-11-29  0:51           ` Arjan van de Ven
     [not found]             ` <20081128165120.4d587db0-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2008-11-29  1:02               ` Greg KH
2008-11-29 17:00           ` Marcin Slusarz

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