From owner-freebsd-questions Mon Feb 18 2:53: 8 2002 Delivered-To: freebsd-questions@freebsd.org Received: from io.88.net (209-9-230-109.sdsl.cais.net [209.9.230.109]) by hub.freebsd.org (Postfix) with ESMTP id B3BDF37B400 for ; Mon, 18 Feb 2002 02:52:54 -0800 (PST) Received: from zog.net (localhost [127.0.0.1]) by io.88.net (Postfix) with ESMTP id 1E881238 for ; Mon, 18 Feb 2002 10:52:47 +0000 (GMT) Message-ID: <3C70DD06.1040704@zog.net> Date: Mon, 18 Feb 2002 11:52:54 +0100 From: John Morgan Salomon User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.7) Gecko/20020113 X-Accept-Language: en-us MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Thinkpad Hangs with USB Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi there, I have an IBM Thinkpad X20, running 4.4-R. Generally, it works fine, but when I attempt to access a USB device, the box just freezes irretrievably. Attaching the device works, but actually running something to access it, such as s10sh, stops the box dead. I have tried with both a Canon IXUS 300 and a Logitech Quickcam. I would appreciate any help--I can't find any references to Thinkpads hanging with USB. I have seen similar behavior with a 600E a while ago when attaching a serial device--the laptop just froze--no error messages, nothing. Attached are my kernel config, dmesg, and an output of usbd -dv. Thanks in advance for any help, this is frustrating! Cheers, -John bolo# usbd -dv usbd: opened /dev/usb0 usbd: reading configuration file /etc/usbd.conf usbd: opened /dev/usb usbd: detach event at 1014029213.739788000, product 0x2036, Texas Instruments: vndr=0x0451 prdct=0x2036 rlse=0x0101 clss=0x0009 subclss=0x0000 prtcl=0x0000 device names: uhub1 usbd: Found action 'USB device' for product 0x2036, Texas Instruments at uhub1 usbd: attach event at 1014029221.850270000, General Purpose USB Hub, Texas Instruments: vndr=0x0451 prdct=0x2036 rlse=0x0101 clss=0x0009 subclss=0x0000 prtcl=0x0000 device names: uhub1 usbd: Found action 'USB device' for General Purpose USB Hub, Texas Instruments at uhub1 usbd: attach event at 1014029222.230177000, Camera, Logitech, Inc.: vndr=0x046d prdct=0x0850 rlse=0x0100 clss=0x00ff subclss=0x00ff prtcl=0x00ff device names: ugen0 usbd: Found action 'USB device' for Camera, Logitech, Inc. at ugen0 bolo# cat /usr/src/sys/i386/conf/thinkpad machine i386 cpu I686_CPU ident GENERIC maxusers 32 #makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options SOFTUPDATES #Enable FFS soft updates support options MFS #Memory Filesystem options MD_ROOT #MD is a potential root device options NFS #Network Filesystem options NFS_ROOT #NFS usable as root device, NFS required options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options CD9660_ROOT #CD-ROM usable as root, CD9660 required options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options P1003_1B #Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options ICMP_BANDLIM #Rate limit bad replies options KBD_INSTALL_CDEV # install a CDEV entry in /dev options IPFILTER # enable IPF options IPFILTER_LOG # enable packet logging options COMPAT_LINUX options DEBUG_LINUX options IPSEC # allow ipsec in kernel options IPSEC_ESP # allow ipsec tunneling options PSM_HOOKRESUME # Both required to avoid mouse out of options PSM_RESETAFTERSUSPEND # sync messages after apm sleep # Hopefully this will allow me to use the modem options PNPBIOS # Required for Mom's idiotic DSL provider options NETGRAPH options NETGRAPH_PPPOE # required by avifile & WINE options USER_LDT device isa device eisa device pci device miibus # Floppy drives device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 device fd1 at fdc0 drive 1 # ATA and ATAPI devices device ata0 at isa? port IO_WD1 irq 14 device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x1 device psm0 at atkbdc? irq 12 device vga0 at isa? # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? flags 0x100 # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver #device vt0 at isa? #options XSERVER # support for X server on a vt console #options FAT_CURSOR # start with block cursor #options PCVT_FREEBSD # If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines #options PCVT_SCANSET=2 # IBM keyboards are non-std # Floating point support - do not disable. device npx0 at nexus? port IO_NPX irq 13 # Power management support (see LINT for more options) device apm0 at nexus? flags 0x20 # Advanced Power Management # PCCARD (PCMCIA) support device card device pcic0 at isa? irq 0 port 0x3e0 iomem 0xd0000 device pcic1 at isa? irq 0 port 0x3e2 iomem 0xd4000 disable # Serial (COM) ports device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 device sio2 at isa? disable port IO_COM3 irq 5 device sio3 at isa? disable port IO_COM4 irq 9 # Parallel port device ppc0 at isa? irq 7 device ppbus # Parallel port bus (required) device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device #device vpo # Requires scbus and da # PCI Ethernet NICs. device fxp # Intel EtherExpress PRO/100B (82557, 82558) # USB ethernet adapter device aue # Sound driver - We think ThinkPad have a Crystal card in them #device pcm0 at isa? irq 10 drq 1 flags 0x0 device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device #device vpo # Requires scbus and da # PCI Ethernet NICs. device fxp # Intel EtherExpress PRO/100B (82557, 82558) # USB ethernet adapter device aue # Sound driver - We think ThinkPad have a Crystal card in them #device pcm0 at isa? irq 10 drq 1 flags 0x0 device pcm # Crystal Semiconductor cards device csa0 # Pseudo devices - the number indicates how many units to allocate. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device sl 1 # Kernel SLIP pseudo-device ppp 4 # Kernel PPP (give it a few more -John) pseudo-device tun # Packet tunnel. pseudo-device pty # Pseudo-ttys (telnet etc) pseudo-device md # Memory "disks" pseudo-device gif 4 # IPv6 and IPv4 tunneling pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation) # The `bpf' pseudo-device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! pseudo-device bpf #Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device usb # USB Bus (required) device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device ums # Mouse device uscanner # Scanners bolo# dmesg Copyright (c) 1992-2001 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.4-RELEASE-p3 #8: Mon Feb 18 11:16:53 CET 2002 root@bolo.zog.net:/usr/src/sys/compile/thinkpad Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (597.41-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x683 Stepping = 3 Features=0x383f9ff real memory = 201261056 (196544K bytes) config> di sn0 No such device: sn0 Invalid command or syntax. Type `?' for help. config> di lnc0 No such device: lnc0 Invalid command or syntax. Type `?' for help. config> di ie0 No such device: ie0 Invalid command or syntax. Type `?' for help. config> di fe0 No such device: fe0 Invalid command or syntax. Type `?' for help. config> di ed0 No such device: ed0 Invalid command or syntax. Type `?' for help. config> di cs0 No such device: cs0 Invalid command or syntax. Type `?' for help. config> di bt0 No such device: bt0 Invalid command or syntax. Type `?' for help. config> di aic0 No such device: aic0 Invalid command or syntax. Type `?' for help. config> di aha0 No such device: aha0 Invalid command or syntax. Type `?' for help. config> di adv0 No such device: adv0 Invalid command or syntax. Type `?' for help. config> q avail memory = 191729664 (187236K bytes) Preloaded elf kernel "kernel" at 0xc0406000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc040609c. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 11 entries at 0xc00fdee0 apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 11 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1800-0x180f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x1820-0x183f irq 11 at de vice 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhub1: Texas Instruments General Purpose USB Hub, class 9/0, rev 1.10/1.01, addr 2 uhub1: 2 ports with 2 removable, self powered ugen0: Logitech, Inc. Camera, rev 1.00/1.00, addr 3 chip1: port 0x1040-0x104f at device 7.3 on pci0 pcic0: mem 0x50000000-0x50000fff irq 11 at de vice 8.0 on pci0 pccard0: on pcic0 pcic1: mem 0x50100000-0x50100fff irq 11 at de vice 8.1 on pci0 pccard1: on pcic1 fxp0: port 0x1840-0x187f mem 0xf4020000-0xf403 ffff,0xf4010000-0xf4010fff irq 11 at device 10.0 on pci0 fxp0: Ethernet address 00:10:a4:a6:63:4c inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: (vendor=0x115d, dev=0x000c) at 10.1 irq 11 pcm0: mem 0xf4000000-0xf400ffff,0xf4012000-0xf401 2fff irq 11 at device 11.0 on pci0 orm0: