All of lore.kernel.org
 help / color / mirror / Atom feed
* Hot (un)plugging a Thunderbolt Ethernet adapter causes kernel panic
@ 2013-02-21 23:45 Cole Mickens
  2013-02-22  2:29 ` Greg KH
  2013-02-22  7:37 ` Gu Zheng
  0 siblings, 2 replies; 4+ messages in thread
From: Cole Mickens @ 2013-02-21 23:45 UTC (permalink / raw)
  To: linux-pci

Hello, I was instructed to send this issue to this mailing list:
https://bugzilla.kernel.org/show_bug.cgi?id=54131

--

I have a Macbook Air 2012 running Ubuntu 13.04 with the 3.8.0 kernel
(not an RC).

My Thunderbolt Ethernet adapter is usable but only if it is inserted at boot.

If it is removed after being available, the kernel will panic. Generally it
takes a minute or two or I have to fire up Chrome or something to stir it.

I assume the crash isn't written out on a Mac EFI system but I can easily
reproduce it and retype whatever bits are important. I did take a
snapshot with my camera: http://i.imgur.com/q2iuHWZ.jpg

Apologies if this is the wrong format or place for this; I'm reporting my first
kernel bug. Cheers.

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

* Re: Hot (un)plugging a Thunderbolt Ethernet adapter causes kernel panic
  2013-02-21 23:45 Hot (un)plugging a Thunderbolt Ethernet adapter causes kernel panic Cole Mickens
@ 2013-02-22  2:29 ` Greg KH
  2013-02-22  7:37 ` Gu Zheng
  1 sibling, 0 replies; 4+ messages in thread
From: Greg KH @ 2013-02-22  2:29 UTC (permalink / raw)
  To: Cole Mickens; +Cc: linux-pci

On Thu, Feb 21, 2013 at 05:45:29PM -0600, Cole Mickens wrote:
> Hello, I was instructed to send this issue to this mailing list:
> https://bugzilla.kernel.org/show_bug.cgi?id=54131
> 
> --
> 
> I have a Macbook Air 2012 running Ubuntu 13.04 with the 3.8.0 kernel
> (not an RC).
> 
> My Thunderbolt Ethernet adapter is usable but only if it is inserted at boot.
> 
> If it is removed after being available, the kernel will panic. Generally it
> takes a minute or two or I have to fire up Chrome or something to stir it.
> 
> I assume the crash isn't written out on a Mac EFI system but I can easily
> reproduce it and retype whatever bits are important. I did take a
> snapshot with my camera: http://i.imgur.com/q2iuHWZ.jpg

This doesn't happen in 3.7.0, right?  Any chance you can run 'git
bisect' to track down the offending patch?

If not, no big deal, I can do it tomorrow as I have one of these boxes
here as well.

thanks,

greg k-h

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

* Re: Hot (un)plugging a Thunderbolt Ethernet adapter causes kernel panic
  2013-02-21 23:45 Hot (un)plugging a Thunderbolt Ethernet adapter causes kernel panic Cole Mickens
  2013-02-22  2:29 ` Greg KH
@ 2013-02-22  7:37 ` Gu Zheng
  2013-02-22  9:57   ` Kirill A. Shutemov
  1 sibling, 1 reply; 4+ messages in thread
From: Gu Zheng @ 2013-02-22  7:37 UTC (permalink / raw)
  To: Cole Mickens; +Cc: linux-pci, kirill.shutemov

On 02/22/2013 07:45 AM, Cole Mickens wrote:

> Hello, I was instructed to send this issue to this mailing list:
> https://bugzilla.kernel.org/show_bug.cgi?id=54131
> 
> --
> 
> I have a Macbook Air 2012 running Ubuntu 13.04 with the 3.8.0 kernel
> (not an RC).
> 
> My Thunderbolt Ethernet adapter is usable but only if it is inserted at boot.
> 
> If it is removed after being available, the kernel will panic. Generally it
> takes a minute or two or I have to fire up Chrome or something to stir it.
> 
> I assume the crash isn't written out on a Mac EFI system but I can easily
> reproduce it and retype whatever bits are important. I did take a
> snapshot with my camera: http://i.imgur.com/q2iuHWZ.jpg
> 
> Apologies if this is the wrong format or place for this; I'm reporting my first
> kernel bug. Cheers.

Hi Cole,
It seems not a new issue, see these: 
https://lkml.org/lkml/2012/12/13/589
http://help.lockergnome.com/linux/Linux-Support-Thunderbolt-Apple-Monitor--ftopict553657.html
Maybe Thunderbolt hotplug is not well supported now.
If this issue does disturb you, you can try Kirill's patch <https://lkml.org/lkml/2012/12/13/589>,
maybe it can help you.:)

thanks,
Gu

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



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

* Re: Hot (un)plugging a Thunderbolt Ethernet adapter causes kernel panic
  2013-02-22  7:37 ` Gu Zheng
@ 2013-02-22  9:57   ` Kirill A. Shutemov
  0 siblings, 0 replies; 4+ messages in thread
From: Kirill A. Shutemov @ 2013-02-22  9:57 UTC (permalink / raw)
  To: Gu Zheng, Cole Mickens; +Cc: linux-pci, kirill.shutemov, Mika Westerberg

Gu Zheng wrote:
> On 02/22/2013 07:45 AM, Cole Mickens wrote:
> 
> > Hello, I was instructed to send this issue to this mailing list:
> > https://bugzilla.kernel.org/show_bug.cgi?id=54131
> > 
> > --
> > 
> > I have a Macbook Air 2012 running Ubuntu 13.04 with the 3.8.0 kernel
> > (not an RC).
> > 
> > My Thunderbolt Ethernet adapter is usable but only if it is inserted at boot.

It's expected behaviour.

Apple has different Thunderbolt implementation. On PC it's just a ACPI
Hotplug, on Apple kernel have to deal with Thunderbolt controller
directly. We don't have a driver for that yet. It's on todo list, but not
any time soon.

> > If it is removed after being available, the kernel will panic. Generally it
> > takes a minute or two or I have to fire up Chrome or something to stir it.

Hm. We will try to trigger it. Will see if we can do anything about that.

> > I assume the crash isn't written out on a Mac EFI system but I can easily
> > reproduce it and retype whatever bits are important. I did take a
> > snapshot with my camera: http://i.imgur.com/q2iuHWZ.jpg
> > 
> > Apologies if this is the wrong format or place for this; I'm reporting my first
> > kernel bug. Cheers.
> 
> Hi Cole,
> It seems not a new issue, see these: 
> https://lkml.org/lkml/2012/12/13/589
> http://help.lockergnome.com/linux/Linux-Support-Thunderbolt-Apple-Monitor--ftopict553657.html
> Maybe Thunderbolt hotplug is not well supported now.
> If this issue does disturb you, you can try Kirill's patch <https://lkml.org/lkml/2012/12/13/589>,
> maybe it can help you.:)

It will not help. :(

-- 
 Kirill A. Shutemov

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

end of thread, other threads:[~2013-02-22  9:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-21 23:45 Hot (un)plugging a Thunderbolt Ethernet adapter causes kernel panic Cole Mickens
2013-02-22  2:29 ` Greg KH
2013-02-22  7:37 ` Gu Zheng
2013-02-22  9:57   ` Kirill A. Shutemov

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.