Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Aug 2000 09:51:30 -0500
From:      Jason Kasper <j_dot_kasper@usa.net>
To:        "Sean O'Connell" <sean@stat.Duke.EDU>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: usb question
Message-ID:  <20000817095130.A2741@judea.firstblind.net>
In-Reply-To: <20000816234730.C57235@stat.Duke.EDU>; from sean@stat.Duke.EDU on Wed, Aug 16, 2000 at 11:47:30PM -0400
References:  <20000816162259.A24903@judea.rss.riteaid.com> <20000816234730.C57235@stat.Duke.EDU>

next in thread | previous in thread | raw e-mail | index | archive | help
* 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
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: <math processor> on motherboard
npx0: INT 16 interface
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <PCI to PCI bridge (vendor=0e11 device=ae6c)> at device 0.1 on pci0
pci1: <PCI bus> on pcib1
pci1: <S3 ViRGE MX graphics accelerator> at 0.0
pci0: <unknown card> (vendor=0x0e11, dev=0x0508) at 9.0 irq 11
tl0: <Compaq NetFlex-3/P Integrated> port 0x1020-0x102f mem 0x44180000-0x4418000f irq 11 at device 10.0 on pci0
tl0: Ethernet address: 00:80:5f:47:6c:1a
miibus0: <MII bus> on tl0
tlphy0: <ThunderLAN 10baseT media interface> on miibus0
tlphy0:  10base2/BNC, 10base5/AUI, 10baseT, 10baseT-FDX, auto
pcic-pci0: <TI PCI-1250 PCI-CardBus Bridge> 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: <TI PCI-1250 PCI-CardBus Bridge> 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: <PCI to ISA bridge (vendor=0e11 device=ae69)> at device 14.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Generic PCI ATA controller> 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: <OHCI (generic) USB controller> mem 0x44080000-0x44080fff irq 11 at device 14.2 on pci0
usb0: OHCI version 1.0
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> 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: <PCI to ISA bridge (vendor=0e11 device=ae2b)> at device 15.0 on pci0
atapci1: <Generic PCI ATA controller> port 0x1040-0x104f,0-0x3,0-0x7,0-0x3,0-0x7 irq 0 at device 15.1 on pci0
pcic-pci2: <TI PCI-1131 PCI-CardBus Bridge> 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: <TI PCI-1131 PCI-CardBus Bridge> mem 0x7fffd000-0x7fffdfff irq 11 at device 16.1 on pci0
pcic-pci3: TI113X PCI Config Reg: [speaker enable][CSC serial isa irq]
eisa0: <EISA bus> on motherboard
mainboard0: <D@@0000 (System Board)> 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: <NEC 72065B or clone> 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: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: failed to get data.
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
pcic0: <VLSI 82C146> at port 0x3e0 iomem 0xd0000 irq 10 on isa0
pcic0: management irq 10
pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> 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: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppi0: <Parallel I/O> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
plip0: <PLIP network interface> on ppbus0
unknown0: <PNP0c04> at port 0xf0-0xff irq 13 on isa0
unknown1: <PNP0c01> at iomem 0-0x9ffff,0xf0000-0xfffff,0x100000-0x3ffffff on isa0
unknown2: <PNP0a03> at port 0xcf8-0xcff on isa0
unknown: <PNP0000> can't assign resources
unknown3: <PNP0200> at port 0-0xf,0x80-0x8f,0xc0-0xdf drq 4 on isa0
unknown4: <PNP0100> at port 0x40-0x43 irq 0 on isa0
unknown5: <PNP0800> at port 0x61 on isa0
unknown6: <PNP0b00> at port 0x70-0x71,0x74,0x76 irq 8 on isa0
unknown: <PNP0303> can't assign resources
unknown: <PNP0f13> can't assign resources
unknown: <PNP0700> can't assign resources
unknown: <PNP0401> can't assign resources
unknown: <PNP0501> can't assign resources
unknown7: <SMCf010> at port 0x2f8-0x2ff,0x100-0x107 irq 9 drq 5 on isa0
unknown8: <PNP0e03> at port 0x3e1-0x3e2 on isa0
unknown9: <ESS0009> at port 0x250-0x257 on isa0
sbc0: <ESS ES1879> at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 drq 1,0 on isa0
pcm0: <ESS 18xx DSP> on sbc0
unknown: <CPQb01d> can't assign resources
unknown10: <PNP0c02> 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: <CPQae4a> on isa0
unknown12: <PNP0e03> at port 0x3e3-0x3e4 on isa0
unknown13: <ESS0005> at port 0x201 on isa0
ad0: 7815MB <IBM-DYLA-28100> [15880/16/63] at ata0-master using BIOSDMA
acd0: DVD-ROM <COMPAQ DVD-ROM DV22E 11> at ata0-slave using PIO4
acd1: CDROM <COMPAQ CRD-S68P> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000817095130.A2741>