From owner-freebsd-stable Thu Aug 17 6:56:32 2000 Delivered-To: freebsd-stable@freebsd.org Received: from fw1.riteaid.com (fw1.riteaid.com [204.28.140.2]) by hub.freebsd.org (Postfix) with ESMTP id CECE237B651 for ; Thu, 17 Aug 2000 06:56:21 -0700 (PDT) Received: by fw1.riteaid.com; id JAA25393; Thu, 17 Aug 2000 09:56:01 -0400 (EDT) Received: from unknown(10.1.3.133) by fw1.riteaid.com via smap (4.1) id xma025292; Thu, 17 Aug 00 09:55:54 -0400 Received: from halcyon.net (qmailr@[172.16.32.145]) by mail.corp.riteaid.com (8.7.3 Version 1.1 Build 562/8.7.3) with SMTP id JAA00176 for ; Thu, 17 Aug 2000 09:51:23 -0400 (Eastern Daylight Time) Received: (qmail 2832 invoked by uid 1001); 17 Aug 2000 14:51:30 -0000 Date: Thu, 17 Aug 2000 09:51:30 -0500 From: Jason Kasper To: "Sean O'Connell" Cc: freebsd-stable@FreeBSD.ORG Subject: Re: usb question Message-ID: <20000817095130.A2741@judea.firstblind.net> Reply-To: Jason Kasper References: <20000816162259.A24903@judea.rss.riteaid.com> <20000816234730.C57235@stat.Duke.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <20000816234730.C57235@stat.Duke.EDU>; from sean@stat.Duke.EDU on Wed, Aug 16, 2000 at 11:47:30PM -0400 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * After finishing his most recent algebra assignment, Sean O'Connell (sean@stat.Duke.EDU) did break forth in song on 08/17/00 at 14:15 and proclaim in a loud and joyful melody: > Jason Kasper stated: > : Hi there. I have just recently started trying to use the USB device on > : my laptop and recompiled my kernel with the following pertinent options > : for USB itself.... > : > : device ohci # OHCI PCI->USB interface > : device usb # USB Bus (required) > : device ugen # Generic > : device umass # Disks/Mass storage - Requires scbus and da > : > : and the following options for SCSI (I'm using a USB zip drive).... > : > : device scbus # SCSI bus (required) > : device da # Direct Access (disks) > : > : Now, I recompiled, installed, etc., and rebooted. Voila, I was able to > : use my USB zip drive (which is incredibly fast, btw), and all was good. > : I have two questions. First, when I had the Zip drive connected, I > : tried to start X and had two problems. First, my mouse simply would not > : work, and secondly, the whole system was much slower than it normally > : is. I didn't notice this until I started X. I realize that most > : probably, this is an IRQ conflict between the zip drive and my laptop > : mouse (?) but I've not investigated further. > : > : My second problem is that since I put the USB options in my new kernel > : (and use it without actually having any USB devices attached), I get the > : following message from the kernel all day.... > : > : usb0: scheduling overrun > : usb0: scheduling overrun > : usb0: scheduling overrun > : usb0: scheduling overrun > : Aug 16 13:05:58 judea last message repeated 12392 times > : > : It doesn't seem like it's hurting anything, but I'm just curious-- > : > : a) what does this mean, and > : b) what can I do to fix it? > : > : Also, anybody experience any oddities when using a USB device and > : then trying to use a PS/2 mouse? > > Jason- > > I have done this fine with an Iomega USB Zip 250. It might help > if you posted some relevant (or all) dmesg output during boot. You > are probably experiencing an IRQ conflict somewhere... hard to tell > where exactly. You also fail to mention what kind of laptop you have > .... there are some issues with certain makes and models (some HP Omni- > books come to mind). Okay. First, I'm running FreeBSD 4.1-STABLE on a Compaq Armada 7800 laptop. I'll paste my dmesg output to the bottom of this email.... > > See FreeBSD USB homepage at http://www.etla.net/~n_hibma/usb/usb.pl > > You also fail to mention if you are using XFree86-3.3.6 or XFree86-4.0.1 > or what not... there are some issues viz mouse support under 4.0.1 that > maybe coincidental. My apologies. I'm running XF86 4.0.1. And I've not seen anything on the FreeBSD-USB page that looks anything like the "usb0: scheduling overrun" error that I'm seeing. And I guess that that's my main concern--NOTHING is plugged into the USB port, so what could be causing that error? > > ps/2 mouse uses irq 12: you may want to see if the usb controller > or a pccard is attempting to usurp this irq... > > You may want to search (or ask on) the usb-bsd email list at egroups > > http://www.egroups.com/group/usb-bsd/ > > > S > -- > 1--------01---------01--------01--------01--------01--------01--------0 > Sean O'Connell sean@stat.Duke.EDU -- =-=-=-=-=-=-=-=-=-=-=-=-=-= Jason Kasper (vanRijn) Systems Engineer bash$ :(){ :|:&};: VORFA Copyright (c) 1992-2000 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.1-STABLE #20: Mon Aug 14 10:45:01 EST 2000 root@judea.rss.riteaid.com:/usr/src/sys/compile/JUDEA Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (300.01-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Features=0x183f9ff real memory = 67067904 (65496K bytes) avail memory = 62103552 (60648K bytes) Preloaded elf kernel "kernel" at 0xc0318000. Pentium Pro MTRR support enabled md0: Malloc disk npx0: on motherboard npx0: INT 16 interface apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 pcib0: on motherboard pci0: on pcib0 pcib1: at device 0.1 on pci0 pci1: on pcib1 pci1: at 0.0 pci0: (vendor=0x0e11, dev=0x0508) at 9.0 irq 11 tl0: port 0x1020-0x102f mem 0x44180000-0x4418000f irq 11 at device 10.0 on pci0 tl0: Ethernet address: 00:80:5f:47:6c:1a miibus0: on tl0 tlphy0: on miibus0 tlphy0: 10base2/BNC, 10base5/AUI, 10baseT, 10baseT-FDX, auto pcic-pci0: mem 0x7fffe000-0x7fffefff irq 11 at device 12.0 on pci0 pcic-pci0: TI12XX PCI Config Reg: [speaker enable][pwr save][CSC serial isa irq] pcic-pci1: mem 0x7ffff000-0x7fffffff irq 11 at device 12.1 on pci0 pcic-pci1: TI12XX PCI Config Reg: [speaker enable][pwr save][CSC serial isa irq] isab0: at device 14.0 on pci0 isa0: on isab0 atapci0: port 0x1030-0x103f,0-0x3,0-0x7,0-0x3,0-0x7 irq 0 at device 14.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 ohci0: mem 0x44080000-0x44080fff irq 11 at device 14.2 on pci0 usb0: OHCI version 1.0 usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered isab1: at device 15.0 on pci0 atapci1: port 0x1040-0x104f,0-0x3,0-0x7,0-0x3,0-0x7 irq 0 at device 15.1 on pci0 pcic-pci2: mem 0x7fffc000-0x7fffcfff irq 11 at device 16.0 on pci0 pcic-pci2: TI113X PCI Config Reg: [speaker enable][CSC serial isa irq] pcic-pci3: mem 0x7fffd000-0x7fffdfff irq 11 at device 16.1 on pci0 pcic-pci3: TI113X PCI Config Reg: [speaker enable][CSC serial isa irq] eisa0: on motherboard mainboard0: on eisa0 slot 0 vt0 on isa0 vt0: unkown s3, 80 col, color, 9 scr, unknown kbd, [R3.20-b24] vt0: driver is using old-style compatability shims fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 psm0: failed to get data. psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> pcic0: at port 0x3e0 iomem 0xd0000 irq 10 on isa0 pcic0: management irq 10 pccard0: on pcic0 pccard1: on pcic0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio2 at port 0x3e8-0x3ef irq 3 on isa0 sio2: type 16550A ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppi0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port plip0: on ppbus0 unknown0: at port 0xf0-0xff irq 13 on isa0 unknown1: at iomem 0-0x9ffff,0xf0000-0xfffff,0x100000-0x3ffffff on isa0 unknown2: at port 0xcf8-0xcff on isa0 unknown: can't assign resources unknown3: at port 0-0xf,0x80-0x8f,0xc0-0xdf drq 4 on isa0 unknown4: at port 0x40-0x43 irq 0 on isa0 unknown5: at port 0x61 on isa0 unknown6: at port 0x70-0x71,0x74,0x76 irq 8 on isa0 unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources unknown7: at port 0x2f8-0x2ff,0x100-0x107 irq 9 drq 5 on isa0 unknown8: at port 0x3e1-0x3e2 on isa0 unknown9: at port 0x250-0x257 on isa0 sbc0: at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 drq 1,0 on isa0 pcm0: on sbc0 unknown: can't assign resources unknown10: at port 0x10-0x1f,0x44-0x47,0x92,0xe0-0xef,0xbc-0xbf,0x130-0x131,0x134-0x137,0x270-0x271,0x260-0x261,0x2a0,0x370-0x371,0x374,0x400-0x47f,0x480-0x4ff,0xcf7,0xc48,0xc4a,0xc6c-0xc6d,0x800-0x87f,0xc1f-0xc20,0xc80-0xc9f iomem 0xfffc0000-0xffffffff,0xcc000-0xcffff on isa0 unknown11: on isa0 unknown12: at port 0x3e3-0x3e4 on isa0 unknown13: at port 0x201 on isa0 ad0: 7815MB [15880/16/63] at ata0-master using BIOSDMA acd0: DVD-ROM at ata0-slave using PIO4 acd1: CDROM at ata1-master using PIO3 Mounting root from ufs:/dev/ad0s2a logo_saver: no suitable graphics mode module_register_init: MOD_LOAD (logo_saver, c09efa74, 0) error 19 usb0: scheduling overrun usb0: scheduling overrun usb0: scheduling overrun usb0: scheduling overrun usb0: scheduling overrun usb0: scheduling overrun usb0: scheduling overrun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message