Hello,
Happens every time I reattach usb pen drive.
usb 1-2: new high speed USB device using ehci_hcd and address 10
usb 1-2: configuration #1 chosen from 1 choice
scsi6 : SCSI emulation for USB Mass Storage devices
usb 1-2: new device found, idVendor=13fe, idProduct=1a00
usb 1-2: new
Happens every time I reattach usb pen drive.
usb 1-2: new high speed USB device using ehci_hcd and address 10
usb 1-2: configuration #1 chosen from 1 choice
scsi6 : SCSI emulation for USB Mass Storage devices
usb 1-2: new device found, idVendor=13fe, idProduct=1a00
usb 1-2:
Second issue as reported earilier allmodconfig fails to build on imac
g3.
CC arch/powerpc/kernel/lparmap.s
AS arch/powerpc/kernel/head_64.o
lparmap.c: Assembler messages:
lparmap.c:84: Error: file number 1 already allocated
make[1]: *** [arch/powerpc/kernel/head_64.o]
Hello,
usb 2-1: USB disconnect, address 2
BUG: atomic counter underflow at:
[c010456a] show_trace_log_lvl+0x1a/0x30
[c010508d] show_trace+0x12/0x14
[c01051e0] dump_stack+0x15/0x17
[c01418cf] __free_pages+0x50/0x52
[c01418f0] free_pages+0x1f/0x21
[c010783d]
===
uhci_hcd :00:0c.0: dma_pool_free buffer-32, 6b6b6b6b/6b6b6b6b
(bad dma)
Mariusz,
I guess the patch below (which I have just added to my tree) fixes
that, right? Thanks.
Yes - that's correct. This patch fixes the bug. Thanks.
Does it
Hello,
I get this warning. Looking at the comment in kernel/irq/resend.c
it's harmless. Is it?
WARNING: at kernel/irq/resend.c:69 check_irq_resend()
[c010456a] show_trace_log_lvl+0x1a/0x30
[c010508d] show_trace+0x12/0x14
[c01051e0] dump_stack+0x15/0x17
[c013b001]
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
drivers/usb/misc/ftdi-elan.c | 121253 - 121196 (-57 bytes)
drivers/usb/misc/ftdi-elan.o | 209425 - 209265 (-160 bytes)
drivers/usb/misc/ftdi-elan.c |8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
--- linux-2.6.23-rc1-mm1
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
drivers/net/wireless/zd1201.c | 47231 - 47205 (-26 bytes)
drivers/net/wireless/zd1201.o | 216884 - 216984 (+100 bytes)
drivers/net/wireless/zd1201.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
--- linux-2.6.23-rc1-mm1
run some tests and as expected - no failure so far.
Regards,
Mariusz Kozlowski
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
reserved pages
66453 pages shared
6 pages swap cached
18 pages dirty
0 pages writeback
21032 pages mapped
3634 pages slab
390 pages pagetables
Nothing unusual happening in system. Some music playing, etc.
Unable to reproduce so far.
Regards,
Mariusz Kozlowski
Linux orion 2.6.21-rc3-mm1 #2
18407 pages mapped
13461 pages slab
424 pages pagetables
Regards,
Mariusz Kozlowski
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
the patch it would have probably
failed by now so I guess the patch is ok. Not sure how to make usb mouse
plugging/unplugging process automatic ;-)
Thanks,
Mariusz Kozlowski
-
Take Surveys. Earn Cash. Influence the Future
- ../../../../module/usbhid
--w--- 1 root root 4096 Mar 10 17:17 new_id
--w--- 1 root root0 Mar 10 17:22 unbind
# echo 2-2:1.0 /sys/bus/usb/drivers/usbhid/unbind
bash: echo: write error: No such device
Any thoughts?
Regards,
Mariusz Kozlowski
Hello,
Without the patch below namelist[0] will not be freed in case
of kmalloc error.
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
sound/usb/usbmixer.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -upr linux-2.6.20-rc2-mm1-a/sound/usb/usbmixer.c
linux-2.6.20
replaced
- missing scsi_host_put() added
Here it goes:
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
drivers/usb/image/microtek.c |8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
--- linux-2.6.19-rc5-mm2-a/drivers/usb/image/microtek.c 2006-11-08
03:24:20.0 +0100
Hello,
If at some point cypress_init() fails deregister
only the resources that were registered until that point.
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
drivers/usb/serial/cypress_m8.c |9 -
1 file changed, 4 insertions(+), 5 deletions(-)
--- linux-2.6.19-rc5
Hello,
We should free urbs starting at [i-1] not [i].
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
drivers/media/video/pwc/pwc-if.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff -upr linux-2.6.19-rc5-mm2-a/drivers/media/video/pwc/pwc-if.c
linux-2.6.19-rc5-mm2-b
Hello,
This is a bug. When checking for ati_remote-outbuf we free
freeing ati_remote-inbuf so we end up freeing ati_remote-inbuf twice.
Also the checks for 'ati_remote-inbuf != NULL' and
'ati_remote-outbuf != NULL' are redundant as usb_buffer_free() does
this.
Signed-off-by: Mariusz
Hello,
This should fix possible memory leak in mts_usb_probe() on error path.
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
drivers/usb/image/microtek.c | 20 +++-
1 file changed, 11 insertions(+), 9 deletions(-)
--- linux-2.6.19-rc5-mm2-a/drivers/usb/image
the resources are allocated and
if something goes wrong deallocated. Hence the numbers.
Anyway if that's a problem I can rewrite it.
--
Regards,
Mariusz Kozlowski
-
Take Surveys. Earn Cash. Influence the Future of IT
Join
digging the code. All those
patches are against 2.6.19-rc4.
--
Regards,
Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/Documentation/DocBook/writing_usb_driver.tmpl
2006-11-06 17:06:39.0 +0100
+++ linux-2.6.19-rc4/Documentation
Hello,
- usb_free_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/drivers/input/joystick/iforce/iforce-usb.c
2006-11-06 17:07:30.0 +0100
+++ linux-2.6.19-rc4/drivers/input/joystick/iforce/iforce-usb.c 2006-11-06
19:52:04.0 +0100
Hello,
- usb_free_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/drivers/char/watchdog/pcwd_usb.c 2006-11-06
17:07:20.0 +0100
+++ linux-2.6.19-rc4/drivers/char/watchdog/pcwd_usb.c 2006-11-06
19:51:32.0 +0100
@@ -561,8 +561,7
Hello,
- usb_free_urb() cleanup
- usb_kill_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/drivers/isdn/gigaset/usb-gigaset.c2006-11-06
17:07:30.0 +0100
+++ linux-2.6.19-rc4/drivers/isdn/gigaset/usb-gigaset.c 2006-11-07
16:51:17.0
Hello,
- usb_free_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/drivers/media/dvb/ttusb-dec/ttusb_dec.c
2006-11-06 17:07:39.0 +0100
+++ linux-2.6.19-rc4/drivers/media/dvb/ttusb-dec/ttusb_dec.c2006-11-06
19:55:08.0 +0100
Hello,
- usb_free_urb() cleanup
- usb_unlink_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/drivers/media/video/pvrusb2/pvrusb2-hdw.c
2006-11-06 17:07:44.0 +0100
+++ linux-2.6.19-rc4/drivers/media/video/pvrusb2/pvrusb2-hdw.c 2006-11-06
Hello,
- usb_free_urb() cleanup
- usb_kill_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/drivers/media/dvb/cinergyT2/cinergyT2.c
2006-11-06 17:07:38.0 +0100
+++ linux-2.6.19-rc4/drivers/media/dvb/cinergyT2/cinergyT2.c2006-11-07
16
Hello,
- usb_free_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/drivers/media/video/pvrusb2/pvrusb2-io.c
2006-11-06 17:07:44.0 +0100
+++ linux-2.6.19-rc4/drivers/media/video/pvrusb2/pvrusb2-io.c 2006-11-06
19:56:35.0 +0100
Hello,
- usb_free_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/drivers/media/video/pwc/pwc-if.c 2006-11-06
17:07:44.0 +0100
+++ linux-2.6.19-rc4/drivers/media/video/pwc/pwc-if.c 2006-11-06
19:57:00.0 +0100
@@ -867,8 +867,7
Hello,
- usb_free_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/drivers/media/video/usbvideo/quickcam_messenger.c
2006-11-06 17:07:45.0 +0100
+++ linux-2.6.19-rc4/drivers/media/video/usbvideo/quickcam_messenger.c
2006-11-06 19:58
Hello,
- usb_free_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/drivers/media/video/sn9c102/sn9c102_core.c
2006-11-06 17:07:45.0 +0100
+++ linux-2.6.19-rc4/drivers/media/video/sn9c102/sn9c102_core.c 2006-11-06
19:57:35.0 +0100
Hello,
- usb_free_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/drivers/media/video/zc0301/zc0301_core.c
2006-11-06 17:07:46.0 +0100
+++ linux-2.6.19-rc4/drivers/media/video/zc0301/zc0301_core.c 2006-11-06
19:58:40.0 +0100
Hello,
- usb_free_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/drivers/net/irda/irda-usb.c 2006-11-06
17:07:55.0 +0100
+++ linux-2.6.19-rc4/drivers/net/irda/irda-usb.c2006-11-06
19:59:15.0 +0100
@@ -1793,10 +1793,8
Hello,
- usb_free_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/drivers/net/wireless/zd1201.c 2006-11-06
17:07:59.0 +0100
+++ linux-2.6.19-rc4/drivers/net/wireless/zd1201.c 2006-11-06
19:59:49.0 +0100
@@ -1828,10 +1828,8
Hello,
- usb_free_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/drivers/usb/input/ati_remote.c2006-11-06
17:08:20.0 +0100
+++ linux-2.6.19-rc4/drivers/usb/input/ati_remote.c 2006-11-06
19:23:09.0 +0100
@@ -630,11 +630,8
Hello,
- usb_free_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/drivers/usb/input/ati_remote2.c 2006-11-06
17:08:20.0 +0100
+++ linux-2.6.19-rc4/drivers/usb/input/ati_remote2.c2006-11-06
19:24:20.0 +0100
@@ -372,8 +372,7
Hello,
- usb_free_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/drivers/usb/input/hid-core.c 2006-11-06
17:08:20.0 +0100
+++ linux-2.6.19-rc4/drivers/usb/input/hid-core.c 2006-11-06
19:25:20.0 +0100
@@ -2037,13 +2037,9
Hello,
- usb_free_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/drivers/usb/input/usbkbd.c2006-11-06
17:08:20.0 +0100
+++ linux-2.6.19-rc4/drivers/usb/input/usbkbd.c 2006-11-06 19:26:18.0
+0100
@@ -208,10 +208,8 @@ static int
Hello,
- usb_free_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/drivers/usb/misc/phidgetkit.c 2006-11-06
17:08:21.0 +0100
+++ linux-2.6.19-rc4/drivers/usb/misc/phidgetkit.c 2006-11-06
19:27:48.0 +0100
@@ -650,8 +650,7 @@ out2
Hello,
- usb_free_urb() cleanup
- auerbuf_setup() memleak fix
- usb_kill_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/drivers/usb/misc/auerswald.c 2006-11-06
17:08:20.0 +0100
+++ linux-2.6.19-rc4/drivers/usb/misc/auerswald.c 2006-11
Hello,
- usb_free_urb() cleanup
- usb_kill_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/drivers/usb/misc/legousbtower.c 2006-11-06
17:08:21.0 +0100
+++ linux-2.6.19-rc4/drivers/usb/misc/legousbtower.c2006-11-07
17:01:19.0
Hello,
- usb_free_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/drivers/usb/misc/phidgetmotorcontrol.c
2006-11-06 17:08:21.0 +0100
+++ linux-2.6.19-rc4/drivers/usb/misc/phidgetmotorcontrol.c 2006-11-06
19:28:17.0 +0100
Hello,
- usb_kill_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/drivers/usb/serial/ftdi_sio.c 2006-11-06
17:08:21.0 +0100
+++ linux-2.6.19-rc4/drivers/usb/serial/ftdi_sio.c 2006-11-07
17:39:20.0 +0100
@@ -1386,8 +1386,7
Hello,
- usb_free_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/drivers/usb/net/catc.c2006-11-06
17:08:21.0 +0100
+++ linux-2.6.19-rc4/drivers/usb/net/catc.c 2006-11-06 19:29:53.0
+0100
@@ -786,14 +786,10 @@ static int
Hello,
- usb_free_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/drivers/usb/serial/keyspan.c 2006-11-06
17:08:21.0 +0100
+++ linux-2.6.19-rc4/drivers/usb/serial/keyspan.c 2006-11-06
19:32:46.0 +0100
@@ -2306,22 +2306,16
Hello,
- usb_kill_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/drivers/usb/serial/io_edgeport.c 2006-11-06
17:08:21.0 +0100
+++ linux-2.6.19-rc4/drivers/usb/serial/io_edgeport.c 2006-11-07
17:03:34.0 +0100
@@ -1038,9 +1038,7
Hello,
- usb_kill_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/drivers/usb/serial/kobil_sct.c2006-11-06
17:08:21.0 +0100
+++ linux-2.6.19-rc4/drivers/usb/serial/kobil_sct.c 2006-11-07
17:05:56.0 +0100
@@ -355,8 +355,7
Hello,
- usb_free_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/drivers/usb/serial/mct_u232.c 2006-11-06
17:08:21.0 +0100
+++ linux-2.6.19-rc4/drivers/usb/serial/mct_u232.c 2006-11-07
17:40:34.0 +0100
@@ -358,10 +358,8
Hello,
- usb_kill_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/drivers/usb/serial/navman.c 2006-11-06
17:08:21.0 +0100
+++ linux-2.6.19-rc4/drivers/usb/serial/navman.c2006-11-07
17:06:28.0 +0100
@@ -95,8 +95,7 @@ static
Hello,
- usb_kill_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/drivers/usb/serial/visor.c2006-11-06
17:08:21.0 +0100
+++ linux-2.6.19-rc4/drivers/usb/serial/visor.c 2006-11-07 17:07:07.0
+0100
@@ -348,8 +348,7 @@ static void
Hello,
- usb_free_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/drivers/usb/serial/usb-serial.c 2006-11-06
17:08:21.0 +0100
+++ linux-2.6.19-rc4/drivers/usb/serial/usb-serial.c2006-11-06
19:36:24.0 +0100
@@ -952,32 +952,28
Hello,
- usb_kill_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/sound/usb/usbmidi.c 2006-11-06 17:09:28.0
+0100
+++ linux-2.6.19-rc4/sound/usb/usbmidi.c2006-11-07 17:08:32.0
+0100
@@ -981,7 +981,7 @@ void
Hello,
- usb_free_urb() cleanup
- usb_kill_urb() cleanup
Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]
--- linux-2.6.19-rc4-orig/sound/usb/usbmixer.c 2006-11-06 17:09:28.0
+0100
+++ linux-2.6.19-rc4/sound/usb/usbmixer.c 2006-11-07 17:09:16.0
+0100
@@ -1620,8
of these (proposed)
changes?
--
Regards,
Mariusz Kozlowski
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM
to free ati_remote-inbuf.
Hopefully these patches will shake some more bugs out :-)
--
Regards,
Mariusz Kozlowski
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly
here is the dumb part. Do I send the next diff against the work I already
did?
Regards,
Mariusz Kozlowski
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre
(struct urb *urb)
{
if (!urb)
return;
might_sleep();
if (!urb-dev || !urb-dev-bus))
return;
...
Or maybe there is no need for this?
For now here is the patch against 2.6.19-rc4 (not -mm).
Regards,
Mariusz Kozlowski
Signed
57 matches
Mail list logo