Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 176327 Details for
Bug 251237
[post-2.6.18 regression] Kernel update to 2.6.26 caused usb-printer to stop after one page/job
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
usblp.c hang debugging
usblp_hang_debugging.patch (text/plain), 1.48 KB, created by
George Kadianakis (RETIRED)
on 2008-12-24 22:26:20 UTC
(
hide
)
Description:
usblp.c hang debugging
Filename:
MIME Type:
Creator:
George Kadianakis (RETIRED)
Created:
2008-12-24 22:26:20 UTC
Size:
1.48 KB
patch
obsolete
>Index: linux-2.6.27.8/drivers/usb/class/usblp.c >=================================================================== >--- linux-2.6.27.8.orig/drivers/usb/class/usblp.c >+++ linux-2.6.27.8/drivers/usb/class/usblp.c >@@ -259,9 +259,13 @@ static int usblp_ctrl_msg(struct usblp * > index = (usblp->ifnum<<8)|usblp->protocol[usblp->current_protocol].alt_setting; > } > >+ printk(KERN_INFO "usblp%d: in usblp_ctrl_msg: executing usb_control_msg\n", >+ usblp->minor); > retval = usb_control_msg(usblp->dev, > dir ? usb_rcvctrlpipe(usblp->dev, 0) : usb_sndctrlpipe(usblp->dev, 0), > request, type | dir | recip, value, index, buf, len, USBLP_CTL_TIMEOUT); >+ printk(KERN_INFO "usblp%d: in usblp_ctrl_msg: finished executing usb_control_msg\n", >+ usblp->minor); > dbg("usblp_control_msg: rq: 0x%02x dir: %d recip: %d value: %d idx: %d len: %#x result: %d", > request, !!dir, recip, value, index, len, retval); > return retval < 0 ? retval : 0; >@@ -346,8 +350,14 @@ static int usblp_check_status(struct usb > unsigned char status, newerr = 0; > int error; > >+ printk(KERN_INFO "usblp%d: in usblp_check_status: executing mutex_lock\n", >+ usblp->minor); > mutex_lock(&usblp->mut); >+ printk(KERN_INFO "usblp%d: in usblp_check_status: executing usblp_read_status\n", >+ usblp->minor); > if ((error = usblp_read_status(usblp, usblp->statusbuf)) < 0) { >+ printk(KERN_INFO "usblp%d: in usblp_check_status: executing mutex_unlock\n", >+ usblp->minor); > mutex_unlock(&usblp->mut); > if (printk_ratelimit()) > printk(KERN_ERR
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 251237
:
175515
|
175517
|
175519
|
175523
|
175577
|
175578
|
175714
|
175715
|
175729
|
175730
|
175909
|
176035
|
176036
|
176037
|
176039
|
176041
|
176043
|
176160
|
176327
|
176668
|
176826
|
176907
|
177124
|
177126
|
177145