* Beaver in Detox! @ 2003-11-26 20:55 Linus Torvalds 2003-11-26 22:00 ` Rik van Riel ` (2 more replies) 0 siblings, 3 replies; 10+ messages in thread From: Linus Torvalds @ 2003-11-26 20:55 UTC (permalink / raw) To: Kernel Mailing List Ok, for everybody who thought "stoned beaver" wasn't an appropriate name for a kernel (yeah, I'm sure IBM really minds my naming scheme, and is deathly afraid it will scare away customers), I'm happy to tell you that the beaver just went into detox, and I'm taking the Thanksgiving weekend off. I give you "Beaver in Detox", aka linux-2.6.0-test11. This is mainly brought on by the fact that the old aic7xxx driver was broken in -test10, and Ingo found this really evil test program that showed an error case in do_fork() that we had never handled right. Well, duh! While at it, this also pulls in some firewire fixes and a few potential skbuff leakage points. Please don't even bother sending me patches, because I'll be stuffing my face away from email over the next few days. And after that it will be up to Andrew to say how to go on from here. Mmmm. Turkey. Linus Summary of changes from v2.6.0-test10 to v2.6.0-test11 ============================================ Bart De Schuymer: o [BRIDGE]: Fix netfilter config tests Ben Collins: o Lastminute IEEE-1394 fixes Benjamin Herrenschmidt: o [libata] Fix flush of Device Control register to device Dave Kleikamp: o JFS: Avoid segfault when dirty inodes are written on readonly mount David Mosberger: o ia64: Correct FIXADDR_USER_END so that single-stepping in the gate DSO works again o ia64: Make core-dumps work even when executing in the gate DSO David S. Miller: o [NET]: In sock_queue_rcv_skb(), do not deref skb->len after it is queued to the socket o [PPPOE]: Do not leak SKB if sock_queue_rcv_skb() fails o [ECONET]: Do not leak SKBs if ec_queue_packet() fails David Stevens: o [IPV6]: Multicast output bypasses netfilter hooks, fix Hideaki Yoshifuji: o [IPV6]: Redo stateless addrconf properly James Bottomley: o Updated state model for SCSI devices o Fix locking problems in scsi_report_bus_reset() causing aic7xxx to hang Jan Marek: o fix smsc-ircc2.c double free Jean Tourrilhes: o [IRDA]: Fix SKB leaks Jeff Garzik: o [libata] bump versions for core and serverworks driver Linus Torvalds: o Fix error return on concurrent fork() with threaded exit() Mike Anderson: o scsi device ref count (update) Pekka Pietikäinen: o [libata] add Promise PCI id Pete Zaitcev: o [SPARC]: Add stub sched_clock() implementation o [SPARC]: Fix build failures in IGA frame buffer introduced by janitor changes Stephen Hemminger: o prevent oops from read of proc entry for tty drivers ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Beaver in Detox! 2003-11-26 20:55 Beaver in Detox! Linus Torvalds @ 2003-11-26 22:00 ` Rik van Riel 2003-11-27 0:20 ` Beaver in Detox! (compile stats) John Cherry 2003-11-28 18:26 ` USB scanner issue (Was: Re: Beaver in Detox!) Tom Rini 2 siblings, 0 replies; 10+ messages in thread From: Rik van Riel @ 2003-11-26 22:00 UTC (permalink / raw) To: Linus Torvalds; +Cc: Kernel Mailing List On Wed, 26 Nov 2003, Linus Torvalds wrote: > Please don't even bother sending me patches, because I'll be stuffing my > face away from email over the next few days. And after that it will be > up to Andrew to say how to go on from here. Does that mean you'll be ready to flame proposed 2.7 changes soon, even if integrating them will be a few months into the future ? ;) -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Beaver in Detox! (compile stats) 2003-11-26 20:55 Beaver in Detox! Linus Torvalds 2003-11-26 22:00 ` Rik van Riel @ 2003-11-27 0:20 ` John Cherry 2003-11-28 18:26 ` USB scanner issue (Was: Re: Beaver in Detox!) Tom Rini 2 siblings, 0 replies; 10+ messages in thread From: John Cherry @ 2003-11-27 0:20 UTC (permalink / raw) To: Linus Torvalds; +Cc: Kernel Mailing List Linux 2.6 Compile Statistics (gcc 3.2.2) Warnings/Errors Summary Kernel bzImage bzImage bzImage modules bzImage modules (defconfig) (allno) (allyes) (allyes) (allmod) (allmod) ----------- ----------- -------- -------- -------- -------- --------- 2.6.0-test11 0w/0e 0w/0e 170w/ 0e 12w/0e 3w/0e 209w/0e 2.6.0-test10 0w/0e 0w/0e 170w/ 0e 12w/0e 3w/0e 209w/0e 2.6.0-test9 0w/0e 0w/0e 174w/ 0e 12w/0e 3w/0e 217w/0e 2.6.0-test8 0w/0e 0w/0e 178w/ 0e 12w/0e 3w/0e 219w/0e 2.6.0-test7 0w/0e 0w/0e 173w/ 1e 8w/0e 3w/0e 226w/0e 2.6.0-test6 0w/0e 1w/0e 188w/ 1e 12w/0e 3w/0e 260w/2e 2.6.0-test5 0w/0e 2w/0e 205w/ 9e 15w/1e 0w/0e 305w/5e 2.6.0-test4 0w/0e 2w/0e 797w/55e 68w/1e 3w/0e 1016w/34e 2.6.0-test3 0w/0e 2w/0e 755w/66e 62w/1e 7w/9e 984w/42e 2.6.0-test2 0w/0e 1w/0e 952w/65e 63w/2e 7w/9e 1201w/43e 2.6.0-test1 0w/0e 1w/0e 1016w/60e 75w/1e 8w/9e 1319w/38e Web page with links to complete details: http://developer.osdl.org/cherry/compile/ Daily compiles (ia32): http://developer.osdl.org/cherry/compile/2.6/linus-tree/running.txt Daily compiles (ia64): http://developer.osdl.org/cherry/compile/2.6/linus-tree/running64.txt Latest changes in Linus' bitkeeper tree: http://linux.bkbits.net:8080/linux-2.5 John P.S. All compile data should be posted by 5PM PST. It is still building.... ^ permalink raw reply [flat|nested] 10+ messages in thread
* USB scanner issue (Was: Re: Beaver in Detox!) 2003-11-26 20:55 Beaver in Detox! Linus Torvalds 2003-11-26 22:00 ` Rik van Riel 2003-11-27 0:20 ` Beaver in Detox! (compile stats) John Cherry @ 2003-11-28 18:26 ` Tom Rini 2003-12-01 19:21 ` Greg KH 2003-12-06 18:49 ` [Linux-usb-users] " Henning Meier-Geinitz 2 siblings, 2 replies; 10+ messages in thread From: Tom Rini @ 2003-11-28 18:26 UTC (permalink / raw) To: Linus Torvalds, henning, greg; +Cc: Kernel Mailing List, linux-usb-users [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain; charset=unknown-8bit, Size: 12613 bytes --] On Wed, Nov 26, 2003 at 12:55:00PM -0800, Linus Torvalds wrote: [snip] > I give you "Beaver in Detox", aka linux-2.6.0-test11. This is mainly > brought on by the fact that the old aic7xxx driver was broken in -test10, > and Ingo found this really evil test program that showed an error case in > do_fork() that we had never handled right. Well, duh! I've found an odd problem that's in at least 2.6.0-test11. I've reproduced this twice now with an Epson 1240 USB scanner (0x04b8/0x010b). What happens is if I run xsane from gimp, acquire a preview, start to scan and then cancel, the scanner becomes unresponsive. If I try and quit xsane, it gets stuck. Unplugging / replugging and then trying to kill xsane locked the machine up hard. Here's ver_linux, dmesg and the versions of gimp/xsane I'm running (I've used the scanner during this boot, without trying to lock it up): --- If some fields are empty or look unusual you may have an old version. Compare to the current minimal requirements in Documentation/Changes. Linux Bill-The-Cat 2.6.0-test11 #1 Wed Nov 26 15:09:13 MST 2003 i686 GNU/Linux Gnu C 3.3.2 Gnu make 3.80 util-linux 2.12 mount 2.12 module-init-tools 0.9.15-pre3 e2fsprogs 1.35-WIP nfs-utils 1.0.6 Linux C Library 2.3.2 Dynamic linker (ldd) 2.3.2 Procps 3.1.14 Net-tools 1.60 Console-tools 0.2.3 Sh-utils 5.0 Modules Loaded mousedev hid scanner snd_usb_audio nfsd exportfs lockd sunrpc snd_seq_oss snd_seq_midi_event snd_seq snd_pcm_oss snd_mixer_oss snd_intel8x0 snd_ac97_codec snd_pcm snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore sis900 crc32 af_packet ohci_hcd usbcore rtc --- Linux version 2.6.0-test11 (root@Bill-The-Cat) (gcc version 3.3.2 (Debian)) #1 Wed Nov 26 15:09:13 MST 2003 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000ee000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000001fff0000 (usable) BIOS-e820: 000000001fff0000 - 000000001fff8000 (ACPI data) BIOS-e820: 000000001fff8000 - 0000000020000000 (ACPI NVS) BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000ffee0000 - 00000000fff00000 (reserved) BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved) 511MB LOWMEM available. On node 0 totalpages: 131056 DMA zone: 4096 pages, LIFO batch:1 Normal zone: 126960 pages, LIFO batch:16 HighMem zone: 0 pages, LIFO batch:1 DMI 2.3 present. ACPI: RSDP (v000 AMI ) @ 0x000fa340 ACPI: RSDT (v001 AMIINT SiS735XX 0x00001000 MSFT 0x0100000b) @ 0x1fff0000 ACPI: FADT (v001 AMIINT SiS735XX 0x00001000 MSFT 0x0100000b) @ 0x1fff0030 ACPI: DSDT (v001 SiS 735 0x00000100 MSFT 0x0100000d) @ 0x00000000 Building zonelist for node : 0 Kernel command line: root=/dev/hda1 ro video=1280x1024-8@85 hdc=scsi hdd=scsi ide_setup: hdc=scsi ide_setup: hdd=scsi Local APIC disabled by BIOS -- reenabling. Found and enabled local APIC! Initializing CPU#0 PID hash table entries: 2048 (order 11: 16384 bytes) Detected 1526.853 MHz processor. Console: colour dummy device 80x25 Memory: 515884k/524224k available (1451k kernel code, 7592k reserved, 641k data, 136k init, 0k highmem) Calibrating delay loop... 3022.84 BogoMIPS Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) CPU: After generic identify, caps: 0183fbff c1c3fbff 00000000 00000000 CPU: After vendor identify, caps: 0183fbff c1c3fbff 00000000 00000000 Enabling disabled K7/SSE Support. CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 256K (64 bytes/line) CPU: After all inits, caps: 0383fbff c1c3fbff 00000000 00000020 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU: AMD Athlon(tm) XP 1800+ stepping 00 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX enabled ExtINT on CPU#0 ESR value before enabling vector: 00000000 ESR value after enabling vector: 00000000 Using local APIC timer interrupts. calibrating APIC timer ... ..... CPU clock speed is 1526.0579 MHz. ..... host bus clock speed is 265.0492 MHz. NET: Registered protocol family 16 PCI: PCI BIOS revision 2.10 entry at 0xfdb01, last bus=1 PCI: Using configuration type 1 mtrr: v2.0 (20020519) ACPI: Subsystem revision 20031002 ACPI: IRQ 9 was Edge Triggered, setting to Level Triggerd spurious 8259A interrupt: IRQ7. ACPI: Interpreter enabled ACPI: Using PIC for interrupt routing ACPI: PCI Root Bridge [PCI0] (00:00) PCI: Probing PCI hardware (bus 00) ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: Power Resource [URP1] (off) ACPI: Power Resource [URP2] (off) ACPI: Power Resource [FDDP] (off) ACPI: Power Resource [LPTP] (off) ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 10 *11 12 14 15) ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 10 11 12 14 15) ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 *10 11 12 14 15) ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 10 11 *12 14 15) ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 10 11 12 14 15) ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 10 11 12 14 15) ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 10 *11 12 14 15) ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 *5 7 10 11 12 14 15) ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 12 ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 5 ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10 ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 11 ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11 PCI: Using ACPI for IRQ routing PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off' matroxfb: Matrox G450 detected matroxfb: MTRR's turned on matroxfb: 1280x1024x8bpp (virtual: 1280x65536) matroxfb: framebuffer at 0xCC000000, mapped to 0xe080c000, size 33554432 fb0: MATROX frame buffer device fb0: initializing hardware ikconfig 0.7 with /proc/config* ACPI: Processor [CPU1] (supports C1) Console: switching to colour frame buffer device 160x64 pty: 256 Unix98 ptys configured Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx SIS5513: IDE controller at PCI slot 0000:00:02.5 SIS5513: chipset revision 208 SIS5513: not 100% native mode: will probe irqs later SIS5513: SiS735 ATA 100 (2nd gen) controller ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hda:DMA, hdb:DMA ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdc:DMA, hdd:DMA hda: WDC WD1200JB-00DUA3, ATA DISK drive Using anticipatory io scheduler ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 hdc: ASUS DRW-0402P/D, ATAPI CD/DVD-ROM drive hdd: MATSHITADVD-ROM SR-8583, ATAPI CD/DVD-ROM drive ide1 at 0x170-0x177,0x376 on irq 15 hda: max request size: 1024KiB hda: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=16383/255/63, UDMA(100) hda: hda1 hda2 hda3 hda4 < hda5 hda6 > Console: switching to colour frame buffer device 160x64 matroxfb_crtc2: secondary head of fb0 was registered as fb1 NET: Registered protocol family 2 IP: routing cache hash table of 4096 buckets, 32Kbytes TCP: Hash tables configured (established 32768 bind 65536) NET: Registered protocol family 1 BIOS EDD facility v0.10 2003-Oct-11, 1 devices found Please report your BIOS at http://domsch.com/linux/edd30/results.html kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Freeing unused kernel memory: 136k freed Adding 498004k swap on /dev/hda3. Priority:-1 extents:1 EXT3 FS on hda1, internal journal Real Time Clock Driver v1.12 kjournald starting. Commit interval 5 seconds EXT3 FS on hda2, internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS on hda6, internal journal EXT3-fs: mounted filesystem with ordered data mode. drivers/usb/core/usb.c: registered new driver usbfs drivers/usb/core/usb.c: registered new driver hub ohci_hcd: 2003 Oct 13 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) ohci_hcd: block sizes: ed 64 td 64 ohci_hcd 0000:00:02.2: OHCI Host Controller ohci_hcd 0000:00:02.2: irq 12, pci mem e2856000 ohci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 1 hub 1-0:1.0: USB hub found hub 1-0:1.0: 3 ports detected ohci_hcd 0000:00:02.3: OHCI Host Controller ohci_hcd 0000:00:02.3: irq 5, pci mem e2858000 ohci_hcd 0000:00:02.3: new USB bus registered, assigned bus number 2 hub 2-0:1.0: USB hub found hub 2-0:1.0: 3 ports detected hub 2-0:1.0: new USB device on port 2, assigned address 2 hub 2-2:1.0: USB hub found hub 2-2:1.0: 4 ports detected NET: Registered protocol family 17 sis900.c: v1.08.06 9/24/2002 eth0: Realtek RTL8201 PHY transceiver found at address 1. eth0: Using transceiver found at address 1 as default eth0: SiS 900 PCI Fast Ethernet at 0xd400, IRQ 11, 00:0a:e6:14:a9:a5. hub 2-2:1.0: new USB device on port 1, assigned address 3 hub 2-2.1:1.0: USB hub found hub 2-2.1:1.0: 3 ports detected hub 2-2:1.0: new USB device on port 2, assigned address 4 hub 2-2:1.0: new USB device on port 3, assigned address 5 hub 2-2:1.0: new USB device on port 4, assigned address 6 hub 2-2.1:1.0: new USB device on port 1, assigned address 7 eth0: Media Link On 100mbps full-duplex eth0: Media Link On 100mbps full-duplex intel8x0: clocking to 48000 Installing knfsd (copyright (C) 1996 okir@monad.swb.de). drivers/usb/core/usb.c: registered new driver snd-usb-audio drivers/usb/image/scanner.c: USB scanner device (0x04b8/0x010b) now attached to usb/scanner0 drivers/usb/core/usb.c: registered new driver usbscanner drivers/usb/image/scanner.c: 0.4.15:USB Scanner Driver input: USB HID v1.00 Mouse [Microsoft Microsoft IntelliMouse® Optical] on usb-0000:00:02.3-2.4 drivers/usb/input/hid-core.c: ctrl urb status -2 received drivers/usb/input/hid-core.c: timeout initializing reports input: USB HID v1.10 Keyboard [Mitsumi Electric Apple Extended USB Keyboard] on usb-0000:00:02.3-2.1.1 input: USB HID v1.10 Device [Mitsumi Electric Apple Extended USB Keyboard] on usb-0000:00:02.3-2.1.1 drivers/usb/core/usb.c: registered new driver hid drivers/usb/input/hid-core.c: v2.0:USB HID core driver mice: PS/2 mouse device common for all mice [drm:drm_init] *ERROR* Cannot initialize the agpgart module. usb 2-2: USB disconnect, address 2 usb 2-2.1: USB disconnect, address 3 usb 2-2.1.1: USB disconnect, address 7 usb 2-2.2: USB disconnect, address 4 usb 2-2.3: USB disconnect, address 5 usb 2-2.4: USB disconnect, address 6 hub 2-0:1.0: new USB device on port 2, assigned address 8 hub 2-2:1.0: USB hub found hub 2-2:1.0: 4 ports detected hub 2-2:1.0: new USB device on port 1, assigned address 9 hub 2-2.1:1.0: USB hub found hub 2-2.1:1.0: 3 ports detected hub 2-2:1.0: new USB device on port 2, assigned address 10 hub 2-2:1.0: new USB device on port 3, assigned address 11 drivers/usb/image/scanner.c: USB scanner device (0x04b8/0x010b) now attached to usb/scanner0 hub 2-2:1.0: new USB device on port 4, assigned address 12 input: USB HID v1.00 Mouse [Microsoft Microsoft IntelliMouse® Optical] on usb-0000:00:02.3-2.4 hub 2-2.1:1.0: new USB device on port 1, assigned address 13 drivers/usb/input/hid-core.c: ctrl urb status -2 received drivers/usb/input/hid-core.c: timeout initializing reports input: USB HID v1.10 Keyboard [Mitsumi Electric Apple Extended USB Keyboard] on usb-0000:00:02.3-2.1.1 input: USB HID v1.10 Device [Mitsumi Electric Apple Extended USB Keyboard] on usb-0000:00:02.3-2.1.1 usb 2-2: USB disconnect, address 8 usb 2-2.1: USB disconnect, address 9 usb 2-2.1.1: USB disconnect, address 13 usb 2-2.2: USB disconnect, address 10 usb 2-2.3: USB disconnect, address 11 usb 2-2.4: USB disconnect, address 12 -- ii gimp1.2 1.2.3-2.4 The GNU Image Manipulation Program, stable ver ii gimpprint-loca 4.2.5-6 Locale data files for Gimp-Print ii libgimp1.2 1.2.3-2.4 Libraries necessary to run the GIMP, version 1 ii libgimpprint1 4.2.5-6 The Gimp-Print printer driver library ii xsane 0.91-6 A gtk-based X11 frontend for SANE (Scanner Acc -- Tom Rini http://gate.crashing.org/~trini/ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: USB scanner issue (Was: Re: Beaver in Detox!) 2003-11-28 18:26 ` USB scanner issue (Was: Re: Beaver in Detox!) Tom Rini @ 2003-12-01 19:21 ` Greg KH 2003-12-01 20:52 ` Tom Rini 2003-12-06 18:49 ` [Linux-usb-users] " Henning Meier-Geinitz 1 sibling, 1 reply; 10+ messages in thread From: Greg KH @ 2003-12-01 19:21 UTC (permalink / raw) To: Tom Rini; +Cc: Linus Torvalds, henning, Kernel Mailing List, linux-usb-users On Fri, Nov 28, 2003 at 11:26:25AM -0700, Tom Rini wrote: > On Wed, Nov 26, 2003 at 12:55:00PM -0800, Linus Torvalds wrote: > > [snip] > > I give you "Beaver in Detox", aka linux-2.6.0-test11. This is mainly > > brought on by the fact that the old aic7xxx driver was broken in -test10, > > and Ingo found this really evil test program that showed an error case in > > do_fork() that we had never handled right. Well, duh! > > I've found an odd problem that's in at least 2.6.0-test11. I've > reproduced this twice now with an Epson 1240 USB scanner > (0x04b8/0x010b). What happens is if I run xsane from gimp, acquire a > preview, start to scan and then cancel, the scanner becomes > unresponsive. If I try and quit xsane, it gets stuck. Unplugging / > replugging and then trying to kill xsane locked the machine up hard. > > Here's ver_linux, dmesg and the versions of gimp/xsane I'm running (I've > used the scanner during this boot, without trying to lock it up): Can't you use xsane without the scanner kernel driver? I thought the latest versions used libusb/usbfs to talk directly to the hardware. Because of this, the USB scanner driver is marked to be removed from the kernel sometime in the near future. thanks, greg k-h ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: USB scanner issue (Was: Re: Beaver in Detox!) 2003-12-01 19:21 ` Greg KH @ 2003-12-01 20:52 ` Tom Rini 2003-12-09 17:41 ` Greg KH 0 siblings, 1 reply; 10+ messages in thread From: Tom Rini @ 2003-12-01 20:52 UTC (permalink / raw) To: Greg KH; +Cc: Linus Torvalds, henning, Kernel Mailing List, linux-usb-users On Mon, Dec 01, 2003 at 11:21:58AM -0800, Greg KH wrote: > On Fri, Nov 28, 2003 at 11:26:25AM -0700, Tom Rini wrote: > > On Wed, Nov 26, 2003 at 12:55:00PM -0800, Linus Torvalds wrote: > > > > [snip] > > > I give you "Beaver in Detox", aka linux-2.6.0-test11. This is mainly > > > brought on by the fact that the old aic7xxx driver was broken in -test10, > > > and Ingo found this really evil test program that showed an error case in > > > do_fork() that we had never handled right. Well, duh! > > > > I've found an odd problem that's in at least 2.6.0-test11. I've > > reproduced this twice now with an Epson 1240 USB scanner > > (0x04b8/0x010b). What happens is if I run xsane from gimp, acquire a > > preview, start to scan and then cancel, the scanner becomes > > unresponsive. If I try and quit xsane, it gets stuck. Unplugging / > > replugging and then trying to kill xsane locked the machine up hard. > > > > Here's ver_linux, dmesg and the versions of gimp/xsane I'm running (I've > > used the scanner during this boot, without trying to lock it up): > > Can't you use xsane without the scanner kernel driver? I thought the > latest versions used libusb/usbfs to talk directly to the hardware. > Because of this, the USB scanner driver is marked to be removed from the > kernel sometime in the near future. After a bit of mucking around (and possibly finding a bug with debian's libusb/xsane/hotplug interaction, nothing seems to run /etc/hotplug/usb/libusbscanner and thus only root can scan, anyone whose got this working please let me know), the problem does not exist if I only use libusb xsane. How about the following: ===== drivers/usb/image/Kconfig 1.5 vs edited ===== --- 1.5/drivers/usb/image/Kconfig Thu Sep 25 11:22:48 2003 +++ edited/drivers/usb/image/Kconfig Mon Dec 1 13:51:48 2003 @@ -18,12 +18,14 @@ module will be called mdc800. config USB_SCANNER - tristate "USB Scanner support" + tristate "USB Scanner support (OBSOLETE)" depends on USB help Say Y here if you want to connect a USB scanner to your computer's USB port. Please read <file:Documentation/usb/scanner.txt> for more information. + + This driver has been obsoleted by support via libusb. To compile this driver as a module, choose M here: the module will be called scanner. -- Tom Rini http://gate.crashing.org/~trini/ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: USB scanner issue (Was: Re: Beaver in Detox!) 2003-12-01 20:52 ` Tom Rini @ 2003-12-09 17:41 ` Greg KH 0 siblings, 0 replies; 10+ messages in thread From: Greg KH @ 2003-12-09 17:41 UTC (permalink / raw) To: Tom Rini; +Cc: henning, Kernel Mailing List, linux-usb-users On Mon, Dec 01, 2003 at 01:52:16PM -0700, Tom Rini wrote: > After a bit of mucking around (and possibly finding a bug with debian's > libusb/xsane/hotplug interaction, nothing seems to run > /etc/hotplug/usb/libusbscanner and thus only root can scan, anyone whose > got this working please let me know), the problem does not exist if I > only use libusb xsane. > > How about the following: > ===== drivers/usb/image/Kconfig 1.5 vs edited ===== Nice, thanks. I've applied this. greg k-h ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Linux-usb-users] USB scanner issue (Was: Re: Beaver in Detox!) 2003-11-28 18:26 ` USB scanner issue (Was: Re: Beaver in Detox!) Tom Rini 2003-12-01 19:21 ` Greg KH @ 2003-12-06 18:49 ` Henning Meier-Geinitz 2003-12-07 4:48 ` Tom Rini 1 sibling, 1 reply; 10+ messages in thread From: Henning Meier-Geinitz @ 2003-12-06 18:49 UTC (permalink / raw) To: Tom Rini; +Cc: Kernel Mailing List, linux-usb-users Hi, On Fri, Nov 28, 2003 at 11:26:25AM -0700, Tom Rini wrote: > On Wed, Nov 26, 2003 at 12:55:00PM -0800, Linus Torvalds wrote: > > [snip] > > I give you "Beaver in Detox", aka linux-2.6.0-test11. This is mainly > > brought on by the fact that the old aic7xxx driver was broken in -test10, > > and Ingo found this really evil test program that showed an error case in > > do_fork() that we had never handled right. Well, duh! > > I've found an odd problem that's in at least 2.6.0-test11. Did it happen in older versions of Linux? I haven't heard of any similar bug reports until now. > I've > reproduced this twice now with an Epson 1240 USB scanner > (0x04b8/0x010b). What happens is if I run xsane from gimp, acquire a > preview, start to scan and then cancel, the scanner becomes > unresponsive. This may be a bug in the plustek backend which supports that scanner. The cancel handling is pretty complicated with some scanners. > If I try and quit xsane, it gets stuck. That sometimes happens with other scanners, too. E.g. some don't like to get a "stop scan" command in certain situations. They just hang after that command and further commands run into the USB timeout. > Unplugging / > replugging and then trying to kill xsane locked the machine up hard. Well, obviously that should't happen. But it's really hard to debug without any oops. There was a bug in the scanner driver that occured when a device was open, then unplugged and then an application wrote to it. But it's fixed since some time. Does the freeze also happen if no other USB devices are attached? I guess working without a keyboard is not that easy but it may be worth a test. Otherwise I don't have any ideas. Bye, Henning ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Beaver in Detox!) 2003-12-06 18:49 ` [Linux-usb-users] " Henning Meier-Geinitz @ 2003-12-07 4:48 ` Tom Rini 2003-12-07 10:21 ` [Linux-usb-users] " Henning Meier-Geinitz 0 siblings, 1 reply; 10+ messages in thread From: Tom Rini @ 2003-12-07 4:48 UTC (permalink / raw) To: Kernel Mailing List, linux-usb-users On Sat, Dec 06, 2003 at 07:49:01PM +0100, Henning Meier-Geinitz wrote: > Hi, > > On Fri, Nov 28, 2003 at 11:26:25AM -0700, Tom Rini wrote: > > On Wed, Nov 26, 2003 at 12:55:00PM -0800, Linus Torvalds wrote: > > > > [snip] > > > I give you "Beaver in Detox", aka linux-2.6.0-test11. This is mainly > > > brought on by the fact that the old aic7xxx driver was broken in -test10, > > > and Ingo found this really evil test program that showed an error case in > > > do_fork() that we had never handled right. Well, duh! > > > > I've found an odd problem that's in at least 2.6.0-test11. > > Did it happen in older versions of Linux? I haven't heard of any > similar bug reports until now. I hadn't tried. > > I've > > reproduced this twice now with an Epson 1240 USB scanner > > (0x04b8/0x010b). What happens is if I run xsane from gimp, acquire a > > preview, start to scan and then cancel, the scanner becomes > > unresponsive. > > This may be a bug in the plustek backend which supports that scanner. > The cancel handling is pretty complicated with some scanners. > > > If I try and quit xsane, it gets stuck. > > That sometimes happens with other scanners, too. E.g. some don't like > to get a "stop scan" command in certain situations. They just hang > after that command and further commands run into the USB timeout. > > > Unplugging / > > replugging and then trying to kill xsane locked the machine up hard. > > Well, obviously that should't happen. But it's really hard to debug > without any oops. There was a bug in the scanner driver that occured > when a device was open, then unplugged and then an application wrote > to it. But it's fixed since some time. > > Does the freeze also happen if no other USB devices are attached? I guess > working without a keyboard is not that easy but it may be worth a test. I can xhost things to another machine rather easily. But Greg KH talked me into switching to libusb for the scanner, and everything works perfectly now. Do you still want me to give it a go? Thanks. -- Tom Rini http://gate.crashing.org/~trini/ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Linux-usb-users] Re: Beaver in Detox!) 2003-12-07 4:48 ` Tom Rini @ 2003-12-07 10:21 ` Henning Meier-Geinitz 0 siblings, 0 replies; 10+ messages in thread From: Henning Meier-Geinitz @ 2003-12-07 10:21 UTC (permalink / raw) To: Tom Rini; +Cc: Kernel Mailing List, linux-usb-users Hi, On Sat, Dec 06, 2003 at 09:48:57PM -0700, Tom Rini wrote: > > Does the freeze also happen if no other USB devices are attached? I guess > > working without a keyboard is not that easy but it may be worth a test. > > I can xhost things to another machine rather easily. But Greg KH talked > me into switching to libusb for the scanner, and everything works > perfectly now. Do you still want me to give it a go? Thanks. If it doesn't happen with libusb it's really most probably a bug in the scanner driver so you don't need to test. However it's pretty much uncommon that nobody else sees this problem. I'll mention it on my website so it's not forgotten. Thanks, Henning ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2003-12-09 17:46 UTC | newest] Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2003-11-26 20:55 Beaver in Detox! Linus Torvalds 2003-11-26 22:00 ` Rik van Riel 2003-11-27 0:20 ` Beaver in Detox! (compile stats) John Cherry 2003-11-28 18:26 ` USB scanner issue (Was: Re: Beaver in Detox!) Tom Rini 2003-12-01 19:21 ` Greg KH 2003-12-01 20:52 ` Tom Rini 2003-12-09 17:41 ` Greg KH 2003-12-06 18:49 ` [Linux-usb-users] " Henning Meier-Geinitz 2003-12-07 4:48 ` Tom Rini 2003-12-07 10:21 ` [Linux-usb-users] " Henning Meier-Geinitz
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 NNTP newsgroup(s).