public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/11870] New: Kernel panic when loading usb_storage.ko while running a SystemTap script
@ 2010-08-03 10:19 m dot j dot thayer at googlemail dot com
  2010-08-03 10:21 ` [Bug runtime/11870] " m dot j dot thayer at googlemail dot com
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: m dot j dot thayer at googlemail dot com @ 2010-08-03 10:19 UTC (permalink / raw)
  To: systemtap

When running a SystemTap script which I will attach to this report, I get a kernel panic.  The panic 
is triggered by:
 * inserting a USB stick (tested with two different sticks) with usb_storage.ko blacklisted
 * loading the script
 * modprobing usb_storage

I will also attach
 * the output of the stap-report script
 * my /proc/modules and /proc/kallsyms output after loading the script module but before the 
panic
 * the minicom log of the kernel output (captured via a serial cable on another system)
 * the output of the script, started with -vv (truncated for obvious reasons)
 * modinfo for the module

I tried getting a crash dump with kdump but failed.  I may still be able to if given instructions.

-- 
           Summary: Kernel panic when loading usb_storage.ko while running a
                    SystemTap script
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: m dot j dot thayer at googlemail dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=11870

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug runtime/11870] Kernel panic when loading usb_storage.ko while running a SystemTap script
  2010-08-03 10:19 [Bug runtime/11870] New: Kernel panic when loading usb_storage.ko while running a SystemTap script m dot j dot thayer at googlemail dot com
@ 2010-08-03 10:21 ` m dot j dot thayer at googlemail dot com
  2010-08-03 10:22 ` m dot j dot thayer at googlemail dot com
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: m dot j dot thayer at googlemail dot com @ 2010-08-03 10:21 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From m dot j dot thayer at googlemail dot com  2010-08-03 10:21 -------
Created an attachment (id=4894)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4894&action=view)
kallsyms output


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11870

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug runtime/11870] Kernel panic when loading usb_storage.ko while running a SystemTap script
  2010-08-03 10:19 [Bug runtime/11870] New: Kernel panic when loading usb_storage.ko while running a SystemTap script m dot j dot thayer at googlemail dot com
  2010-08-03 10:21 ` [Bug runtime/11870] " m dot j dot thayer at googlemail dot com
  2010-08-03 10:22 ` m dot j dot thayer at googlemail dot com
@ 2010-08-03 10:22 ` m dot j dot thayer at googlemail dot com
  2010-08-03 10:22 ` m dot j dot thayer at googlemail dot com
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: m dot j dot thayer at googlemail dot com @ 2010-08-03 10:22 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From m dot j dot thayer at googlemail dot com  2010-08-03 10:22 -------
Created an attachment (id=4897)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4897&action=view)
/proc/modules output


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11870

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug runtime/11870] Kernel panic when loading usb_storage.ko while running a SystemTap script
  2010-08-03 10:19 [Bug runtime/11870] New: Kernel panic when loading usb_storage.ko while running a SystemTap script m dot j dot thayer at googlemail dot com
                   ` (2 preceding siblings ...)
  2010-08-03 10:22 ` m dot j dot thayer at googlemail dot com
@ 2010-08-03 10:22 ` m dot j dot thayer at googlemail dot com
  2010-08-03 10:23 ` m dot j dot thayer at googlemail dot com
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: m dot j dot thayer at googlemail dot com @ 2010-08-03 10:22 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From m dot j dot thayer at googlemail dot com  2010-08-03 10:22 -------
Created an attachment (id=4896)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4896&action=view)
modinfo output


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11870

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug runtime/11870] Kernel panic when loading usb_storage.ko while running a SystemTap script
  2010-08-03 10:19 [Bug runtime/11870] New: Kernel panic when loading usb_storage.ko while running a SystemTap script m dot j dot thayer at googlemail dot com
  2010-08-03 10:21 ` [Bug runtime/11870] " m dot j dot thayer at googlemail dot com
@ 2010-08-03 10:22 ` m dot j dot thayer at googlemail dot com
  2010-08-03 10:22 ` m dot j dot thayer at googlemail dot com
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: m dot j dot thayer at googlemail dot com @ 2010-08-03 10:22 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From m dot j dot thayer at googlemail dot com  2010-08-03 10:21 -------
Created an attachment (id=4895)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4895&action=view)
build log


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11870

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug runtime/11870] Kernel panic when loading usb_storage.ko while running a SystemTap script
  2010-08-03 10:19 [Bug runtime/11870] New: Kernel panic when loading usb_storage.ko while running a SystemTap script m dot j dot thayer at googlemail dot com
                   ` (4 preceding siblings ...)
  2010-08-03 10:23 ` m dot j dot thayer at googlemail dot com
@ 2010-08-03 10:23 ` m dot j dot thayer at googlemail dot com
  2010-08-03 10:23 ` m dot j dot thayer at googlemail dot com
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: m dot j dot thayer at googlemail dot com @ 2010-08-03 10:23 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From m dot j dot thayer at googlemail dot com  2010-08-03 10:23 -------
Created an attachment (id=4900)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4900&action=view)
minicom log


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11870

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug runtime/11870] Kernel panic when loading usb_storage.ko while running a SystemTap script
  2010-08-03 10:19 [Bug runtime/11870] New: Kernel panic when loading usb_storage.ko while running a SystemTap script m dot j dot thayer at googlemail dot com
                   ` (5 preceding siblings ...)
  2010-08-03 10:23 ` m dot j dot thayer at googlemail dot com
@ 2010-08-03 10:23 ` m dot j dot thayer at googlemail dot com
  2010-08-03 10:24 ` m dot j dot thayer at googlemail dot com
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: m dot j dot thayer at googlemail dot com @ 2010-08-03 10:23 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From m dot j dot thayer at googlemail dot com  2010-08-03 10:23 -------
Created an attachment (id=4899)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4899&action=view)
script output


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11870

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug runtime/11870] Kernel panic when loading usb_storage.ko while running a SystemTap script
  2010-08-03 10:19 [Bug runtime/11870] New: Kernel panic when loading usb_storage.ko while running a SystemTap script m dot j dot thayer at googlemail dot com
                   ` (3 preceding siblings ...)
  2010-08-03 10:22 ` m dot j dot thayer at googlemail dot com
@ 2010-08-03 10:23 ` m dot j dot thayer at googlemail dot com
  2010-08-03 10:23 ` m dot j dot thayer at googlemail dot com
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: m dot j dot thayer at googlemail dot com @ 2010-08-03 10:23 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From m dot j dot thayer at googlemail dot com  2010-08-03 10:22 -------
Created an attachment (id=4898)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4898&action=view)
stap-report output


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11870

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug runtime/11870] Kernel panic when loading usb_storage.ko while running a SystemTap script
  2010-08-03 10:19 [Bug runtime/11870] New: Kernel panic when loading usb_storage.ko while running a SystemTap script m dot j dot thayer at googlemail dot com
                   ` (6 preceding siblings ...)
  2010-08-03 10:23 ` m dot j dot thayer at googlemail dot com
@ 2010-08-03 10:24 ` m dot j dot thayer at googlemail dot com
  2010-08-03 10:25 ` m dot j dot thayer at googlemail dot com
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: m dot j dot thayer at googlemail dot com @ 2010-08-03 10:24 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From m dot j dot thayer at googlemail dot com  2010-08-03 10:24 -------
Created an attachment (id=4901)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4901&action=view)
tail -f of captured script output, done over an ssh connection


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11870

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug runtime/11870] Kernel panic when loading usb_storage.ko while running a SystemTap script
  2010-08-03 10:19 [Bug runtime/11870] New: Kernel panic when loading usb_storage.ko while running a SystemTap script m dot j dot thayer at googlemail dot com
                   ` (7 preceding siblings ...)
  2010-08-03 10:24 ` m dot j dot thayer at googlemail dot com
@ 2010-08-03 10:25 ` m dot j dot thayer at googlemail dot com
  2010-08-03 10:26 ` m dot j dot thayer at googlemail dot com
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: m dot j dot thayer at googlemail dot com @ 2010-08-03 10:25 UTC (permalink / raw)
  To: systemtap



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #4899|script output               |script output, truncated
        description|                            |


http://sourceware.org/bugzilla/show_bug.cgi?id=11870

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug runtime/11870] Kernel panic when loading usb_storage.ko while running a SystemTap script
  2010-08-03 10:19 [Bug runtime/11870] New: Kernel panic when loading usb_storage.ko while running a SystemTap script m dot j dot thayer at googlemail dot com
                   ` (8 preceding siblings ...)
  2010-08-03 10:25 ` m dot j dot thayer at googlemail dot com
@ 2010-08-03 10:26 ` m dot j dot thayer at googlemail dot com
  2010-08-03 13:06 ` m dot j dot thayer at googlemail dot com
  2010-08-04  9:30 ` m dot j dot thayer at googlemail dot com
  11 siblings, 0 replies; 13+ messages in thread
From: m dot j dot thayer at googlemail dot com @ 2010-08-03 10:26 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From m dot j dot thayer at googlemail dot com  2010-08-03 10:26 -------
Created an attachment (id=4902)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4902&action=view)
The script itself


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11870

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug runtime/11870] Kernel panic when loading usb_storage.ko while running a SystemTap script
  2010-08-03 10:19 [Bug runtime/11870] New: Kernel panic when loading usb_storage.ko while running a SystemTap script m dot j dot thayer at googlemail dot com
                   ` (9 preceding siblings ...)
  2010-08-03 10:26 ` m dot j dot thayer at googlemail dot com
@ 2010-08-03 13:06 ` m dot j dot thayer at googlemail dot com
  2010-08-04  9:30 ` m dot j dot thayer at googlemail dot com
  11 siblings, 0 replies; 13+ messages in thread
From: m dot j dot thayer at googlemail dot com @ 2010-08-03 13:06 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From m dot j dot thayer at googlemail dot com  2010-08-03 13:06 -------
Tested a self-built SystemTap 1.3 as requested by fche on IRC, and that fixed the issue.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=11870

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug runtime/11870] Kernel panic when loading usb_storage.ko while running a SystemTap script
  2010-08-03 10:19 [Bug runtime/11870] New: Kernel panic when loading usb_storage.ko while running a SystemTap script m dot j dot thayer at googlemail dot com
                   ` (10 preceding siblings ...)
  2010-08-03 13:06 ` m dot j dot thayer at googlemail dot com
@ 2010-08-04  9:30 ` m dot j dot thayer at googlemail dot com
  11 siblings, 0 replies; 13+ messages in thread
From: m dot j dot thayer at googlemail dot com @ 2010-08-04  9:30 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From m dot j dot thayer at googlemail dot com  2010-08-04 09:30 -------
Update: rebuilding the Ubuntu .deb package with commit 
63db23df87bf6408c0947053288b771d863ecf36 ("PR11112: Check the full %m/M buffer, and limit 
the length") applied also prevents the panic.  I tried this after noticing that SystemTap 1.3 aborted 
my script with an error where 1.0 panicked the kernel.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11870

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

end of thread, other threads:[~2010-08-04  9:30 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-03 10:19 [Bug runtime/11870] New: Kernel panic when loading usb_storage.ko while running a SystemTap script m dot j dot thayer at googlemail dot com
2010-08-03 10:21 ` [Bug runtime/11870] " m dot j dot thayer at googlemail dot com
2010-08-03 10:22 ` m dot j dot thayer at googlemail dot com
2010-08-03 10:22 ` m dot j dot thayer at googlemail dot com
2010-08-03 10:22 ` m dot j dot thayer at googlemail dot com
2010-08-03 10:23 ` m dot j dot thayer at googlemail dot com
2010-08-03 10:23 ` m dot j dot thayer at googlemail dot com
2010-08-03 10:23 ` m dot j dot thayer at googlemail dot com
2010-08-03 10:24 ` m dot j dot thayer at googlemail dot com
2010-08-03 10:25 ` m dot j dot thayer at googlemail dot com
2010-08-03 10:26 ` m dot j dot thayer at googlemail dot com
2010-08-03 13:06 ` m dot j dot thayer at googlemail dot com
2010-08-04  9:30 ` m dot j dot thayer at googlemail dot com

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 read-only IMAP folder(s) and NNTP newsgroup(s).