Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 148441 Details for
Bug 226701
netdump client misses COMM_REBOOT with large number of console messages
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Make netdump queue packets while dumping state to the console
netdump-pause_and_queue.patch (text/plain), 1.36 KB, created by
Bryn M. Reeves
on 2007-02-20 20:52:50 UTC
(
hide
)
Description:
Make netdump queue packets while dumping state to the console
Filename:
MIME Type:
Creator:
Bryn M. Reeves
Created:
2007-02-20 20:52:50 UTC
Size:
1.36 KB
patch
obsolete
>Index: linux-2.6.9/drivers/net/netdump.c >=================================================================== >--- linux-2.6.9.orig/drivers/net/netdump.c >+++ linux-2.6.9/drivers/net/netdump.c >@@ -93,6 +93,14 @@ static LIST_HEAD(request_list); > static unsigned long long t0, jiffy_cycles = 1000 * (1000000/HZ); > void *netdump_stack; > >+#define MAX_PAUSED_REQ 20 >+static unsigned netdump_paused = 0; >+ >+static void pause_netdump(unsigned p) >+{ >+ netdump_mode = !p; >+ netdump_paused = p; >+} > > static void update_jiffies(void) > { >@@ -164,8 +172,9 @@ void netdump_rx(struct netpoll *np, shor > { > req_t *req, *__req = (req_t *)data; > >- if (!netdump_mode) >+ if (!netdump_mode && !netdump_paused) > return; >+ > #if DEBUG > { > static int packet_count; >@@ -178,6 +187,11 @@ void netdump_rx(struct netpoll *np, shor > return; > } > >+ if(netdump_paused && (nr_req >= MAX_PAUSED_REQ)){ >+ printk("request queue overflow - dropping it.\n"); >+ return; >+ } >+ > req = alloc_req(); > if (!req) { > printk("no more RAM to allocate request - dropping it.\n"); >@@ -475,12 +489,13 @@ static asmlinkage void netpoll_netdump(s > > send_netdump_msg(&np, tmp, strlen(tmp), &reply); > >- netdump_mode = 0; >+ /* pause netdump to allow console output */ >+ pause_netdump(1); > if (regs) > show_regs(regs); > show_state(); > show_mem(); >- netdump_mode = 1; >+ pause_netdump(0); > break; > > default:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 226701
:
147064
|
147065
|
148441
|
148827
|
148828
|
148947
|
149359