Date: Sun, 29 Dec 2002 13:57:31 -0600 (CST) From: Larry Rosenman <ler@lerctr.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: joe@FreeBSD.org Subject: kern/46618: USB (UHCI/ICH3) PALM connect/disconnect/connect on hotsync Message-ID: <200212291957.gBTJvVmG000765@lerlaptop.lerctr.org>
next in thread | raw e-mail | index | archive | help
>Number: 46618
>Category: kern
>Synopsis: USB (UHCI/ICH3) PALM connect/disconnect/connect on hotsync
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Dec 29 12:00:15 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Larry Rosenman
>Release: FreeBSD 4.7-STABLE i386
>Organization:
LERCTR Consulting
>Environment:
System: FreeBSD lerlaptop.lerctr.org 4.7-STABLE FreeBSD 4.7-STABLE #30: Sun Dec 29 13:17:20 CST 2002 ler@lerlaptop.lerctr.org:/usr/obj/usr/src/sys/LERLAPTOP i386
>Description:
When I press HOTSYNC on my USB connected Palm M515, I get the following SYSLOG
entries:
Dec 29 13:49:08 lerlaptop /kernel: ugen0: Palm, Inc. Palm Handheld , rev 1.00/1.00, addr 2
Dec 29 13:49:13 lerlaptop /kernel: ugen0: at uhub1 port 1 (addr 2) disconnected
Dec 29 13:49:13 lerlaptop /kernel: ugen0: detached
Dec 29 13:49:17 lerlaptop /kernel: ugen0: Palm, Inc. Palm Handheld , rev 1.00/1.00, addr 2
Dec 29 13:49:43 lerlaptop /kernel: ugen0: at uhub1 port 1 (addr 2) disconnected
Dec 29 13:49:43 lerlaptop /kernel: ugen0: detached
The Connect/Disconnect sequence will happen even without things listening
to the port. It also happens with ucom/uvisor loaded. This seems to cause
the coldsync port to not be able to connect.
Dmesg:
Copyright (c) 1992-2002 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.7-STABLE #30: Sun Dec 29 13:17:20 CST 2002
ler@lerlaptop.lerctr.org:/usr/obj/usr/src/sys/LERLAPTOP
Timecounter "i8254" frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (1129.57-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory = 527958016 (515584K bytes)
avail memory = 509452288 (497512K bytes)
Preloaded elf kernel "kernel" at 0xc0405000.
Preloaded elf module "vesa.ko" at 0xc040509c.
Preloaded elf module "agp.ko" at 0xc0405138.
VESA: v3.0, 8000k memory, flags:0x1, mode table:0xc03f72c0 (1000040)
VESA: Almador Graphics Chip Accelerated VGA BIOS
Pentium Pro MTRR support enabled
Using $PIR table, 9 entries at 0xc00fdf30
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82830 (i830M GMCH) SVGA controller> mem 0xe0000000-0xe007ffff,0xe8000000-0xefffffff irq 11 at device 2.0 on pci0
agp0: detected 8060k stolen memory
agp0: aperture size is 128M
pci0: <unknown card> (vendor=0x8086, dev=0x3577) at 2.1
uhci0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> port 0x18c0-0x18df irq 11 at device 29.0 on pci0
uhci0: LegSup = 0x00002f00
usb0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> 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
uhci1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> port 0x18e0-0x18ff irq 11 at device 29.1 on pci0
uhci1: LegSup = 0x00002f00
usb1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pcib1: <PCI to PCI bridge (vendor=8086 device=2448)> at device 30.0 on pci0
pci1: <PCI bus> on pcib1
pcic0: <TI PCI-1520 PCI-CardBus Bridge> irq 11 at device 10.0 on pci1
pcic0: PCI Memory allocated: 0x88000000
pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq]
pccard0: <PC Card 16-bit bus (classic)> on pcic0
pcic1: <TI PCI-1520 PCI-CardBus Bridge> irq 11 at device 10.1 on pci1
pcic1: PCI Memory allocated: 0x88001000
pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq]
pccard1: <PC Card 16-bit bus (classic)> on pcic1
rl0: <RealTek 8139 10/100BaseTX> port 0x2000-0x20ff mem 0xe0200800-0xe02008ff irq 11 at device 13.0 on pci1
rl0: Ethernet address: 00:e0:00:7e:d0:45
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
XXXfw: vendid=10cf, dev=2010
fwohci0: <1394 Open Host Controller Interface> mem 0xe0200000-0xe02007ff irq 11 at device 14.0 on pci1
fwohci0: PCI bus latency was changing to 250.
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channel is 32.
fwohci0: Link 1394a available S400, 3 ports, maxrec 2048 bytes.
fwohci0: EUI64 00:00:0e:10:00:70:a8:72
firewire0: <IEEE1394(FireWire) bus> on fwohci0
if_fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:00:0e:70:a8:72
sbp0: <SBP2/SCSI over firewire> on firewire0
isab0: <PCI to ISA bridge (vendor=8086 device=248c)> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH3 ATA100 controller> port 0x1c20-0x1c2f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 mem 0xe0100000-0xe01003ff at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ichsmb0: <Intel 82801CA (ICH3) SMBus controller> port 0x1c00-0x1c1f irq 11 at device 31.3 on pci0
smbus0: <System Management Bus> on ichsmb0
smb0: <SMBus general purpose I/O> on smbus0
pcm0: <Intel 82801CA (ICH3)> port 0x1880-0x18bf,0x1000-0x10ff irq 11 at device 31.5 on pci0
pci0: <unknown card> (vendor=0x8086, dev=0x2486) at 31.6 irq 11
orm0: <Option ROMs> at iomem 0xc0000-0xcc7ff,0xcc800-0xcefff on isa0
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> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/15 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
pca0: <AT-style speaker sound> at port 0x61 on isa0
unknown: <PNP0303> can't assign resources
unknown: <PNP0000> can't assign resources
unknown: <PNP0f13> can't assign resources
unknown: <PNP0700> can't assign resources
unknown: <PNP0501> can't assign resources
sio1: <Generic IRDA-compatible device> at port 0x2e8-0x2ef irq 3 on isa0
sio1: type 16550A
unknown: <PNP0401> can't assign resources
firewire0: BUS reset
firewire0: node_id = 0xc800ffc0, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: txd err= e unknown event
IPsec: Initialized Security Association Processing.
ata1-slave: ATAPI identify retries exceeded
pccard: card inserted, slot 0
pccard: card removed, slot 0
pccard: card inserted, slot 0
ad0: 19077MB <TOSHIBA MK2018GAP> [38760/16/63] at ata0-master UDMA100
acd0: DVD-ROM <HITACHI DVD-ROM GD-S250> at ata1-master UDMA33
Mounting root from ufs:/dev/ad0s1a
cd0 at ata1 bus 0 target 0 lun 0
cd0: <HITACHI DVD-ROM GD-S250 0012> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
wi0 at port 0x240-0x27f irq 11 slot 0 on pccard0
wi0: 802.11 address: 00:06:25:18:1a:37
wi0: using RF:PRISM3(PCMCIA)
wi0: Intersil Firmware: Primary 1.01.00, Station 1.04.02
Kernel Config:
#
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
# http://www.FreeBSD.org/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
machine i386
cpu I686_CPU
ident LERLAPTOP
maxusers 0
makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
options INET #InterNETworking
options INET6 #IPv6 communications protocols
options IPSEC #IP security
options IPSEC_ESP #IP security (crypto; define w/ IPSEC)
#options IPSEC_DEBUG #debug for IP security
options FFS #Berkeley Fast Filesystem
options FFS_ROOT #FFS usable as root device [keep this!]
options SOFTUPDATES #Enable FFS soft updates support
options UFS_DIRHASH #Improve performance on big directories
options PROCFS #Process filesystem
options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI
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 PNPBIOS
options PERFMON
# CPU_ENABLE_SSE enables SSE/MMX2 instructions support.
options CPU_ENABLE_SSE
options USER_LDT
device isa
device pci
# Floppy drives
device fdc0 at isa? port IO_FD1 irq 6 drq 2
device fd0 at fdc0 drive 0
#
# 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
device atapicam
options ATA_STATIC_ID #Static device numbering
# SCSI peripherals
device scbus # SCSI bus (required)
device da # Direct Access (disks)
device sa # Sequential Access (tape etc)
device cd # CD
device pass # Passthrough device (direct SCSI access)
# 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
options PSM_HOOKRESUME #hook the system resume event, useful
#for some laptops
options PSM_RESETAFTERSUSPEND #reset the device at the resume event
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
# Floating point support - do not disable.
device npx0 at nexus? port IO_NPX irq 13
# Power management support (see LINT for more options)
########################################vvvv was 0x20
device apm0 at nexus? flags 0x00 # 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
# 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 miibus # MII bus support
device rl # RealTek 8129/8139
# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
# exists only as a PCMCIA device, so there is no ISA attachment needed
# and resources will always be dynamically assigned by the pccard code.
device wi
# 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 1 # Kernel PPP
pseudo-device tun # Packet tunnel.
pseudo-device pty # Pseudo-ttys (telnet etc)
pseudo-device gif # 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 # UHCI PCI->USB interface
device usb # USB Bus (required)
device ugen # Generic
device uhid # "Human Interface Devices"
device ukbd # Keyboard
#device ulpt # Printer
#device ucom # Printer
#device uvisor # Printer
#device umass # Disks/Mass storage - Requires scbus and da
#device ums # Mouse
#device uscanner # Scanners
#device urio # Diamond Rio MP3 Player
options USB_DEBUG # usb debugging sysctl's
# USB com devices
#device ucom
#device uplcom
#device uvscom
#device uvisor
# USB Ethernet, requires mii
device aue # ADMtek USB ethernet
device cue # CATC USB ethernet
device kue # Kawasaki LSI USB ethernet
#####LER
device pcm # sound?
device smbus
device iicbus
device iicbb
device intpm
device ichsmb
device smb
device iic
device ic
device pca
device firewire
device sbp
device fwe
pseudo-device speaker
options MAXDSIZ="(1024*1024*1024)"
options MAXSSIZ="(256*1024*1024)"
options SC_PIXEL_MODE
The sources are from within the last week. I've seen no USB related commits
since the update.
>How-To-Repeat:
See above. Basically hit hotsync on a USB M515. I'm willing to work
with any Committer/Kernel person on fixing the issues with
the USB Palms.
>Fix:
None known.
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212291957.gBTJvVmG000765>
