Re: uplcom write:Device not configured

From: Hans Petter Selasky <hselasky_at_c2i.net>
Date: Tue, 26 May 2009 10:47:58 +0200
On Tuesday 26 May 2009, Marten Vijn wrote:
> On Tue, 2009-05-26 at 09:56 +0200, Hans Petter Selasky wrote:
> > On Monday 25 May 2009, Marten Vijn wrote:
> > > I am using a uplcom usb to serial adapter
> > >
> > > while using Current it stops working
> > >
> > > On console appear:
> > > write: Device not configured
> > >
> > > After some time the machine hangs, and I have to power cycle the
> > > machine
> > >
> > > Current is from 2 hours ago: r192766
> > >
> > > demsg below, if more info is required please let me know.
> > >
> > >
> > >
> > > kind regards,
> > > Marten
> > >
> > >
> > > dmesg
> > > Copyright (c) 1992-2009 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 is a registered trademark of The FreeBSD Foundation.
> > > FreeBSD 8.0-CURRENT #2 r192766: Mon May 25 22:57:13 CEST 2009
> > >     root_at_dfd:/usr/obj/usr/src/sys/GENERIC
> > > WARNING: WITNESS option enabled, expect reduced performance.
> > > Timecounter "i8254" frequency 1193182 Hz quality 0
> > > CPU: Mobile Intel(R) Pentium(R) 4     CPU 3.06GHz (3059.22-MHz
> > > 686-class CPU)
> > >   Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
> > >
> > > Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG
> > >E,MC A,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
> > > Features2=0x4400<CNXT-ID,xTPR>
> > > real memory  = 1073741824 (1024 MB)
> > > avail memory = 1032486912 (984 MB)
> > > ACPI APIC Table: <PTLTD          APIC  >
> > > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
> > > FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 HTT threads
> > >  cpu0 (BSP): APIC ID:  0
> > >  cpu1 (AP/HT): APIC ID:  1
> > > ioapic0 <Version 2.0> irqs 0-23 on motherboard
> > > kbd1 at kbdmux0
> > > acpi0: <PTLTD   RSDT> on motherboard
> > > acpi0: [ITHREAD]
> > > acpi0: Power Button (fixed)
> > > Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
> > > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
> > > acpi_ec0: <Embedded Controller: GPE 0x1c> port 0x62,0x66 on acpi0
> > > acpi_button0: <Sleep Button> on acpi0
> > > acpi_lid0: <Control Method Lid Switch> on acpi0
> > > pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> > > pci0: <ACPI PCI bus> on pcib0
> > > agp0: <Intel 82865 host to AGP bridge> on hostb0
> > > pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
> > > pci1: <ACPI PCI bus> on pcib1
> > > vgapci0: <VGA-compatible display> mem
> > > 0xd1000000-0xd1ffffff,0xe0000000-0xefffffff irq 16 at device 0.0 on
> > > pci1 uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port
> > > 0x1cc0-0x1cdf irq 16 at device 29.0 on pci0
> > > uhci0: [ITHREAD]
> > > uhci0: LegSup = 0x003b
> > > usbus0: <Intel 82801EB (ICH5) USB controller USB-A> on uhci0
> > > uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0x1ce0-0x1cff
> > > irq 19 at device 29.1 on pci0
> > > uhci1: [ITHREAD]
> > > uhci1: LegSup = 0x0010
> > > usbus1: <Intel 82801EB (ICH5) USB controller USB-B> on uhci1
> > > uhci2: <Intel 82801EB (ICH5) USB controller USB-C> port 0x2000-0x201f
> > > irq 18 at device 29.2 on pci0
> > > uhci2: [ITHREAD]
> > > uhci2: LegSup = 0x0010
> > > usbus2: <Intel 82801EB (ICH5) USB controller USB-C> on uhci2
> > > uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0x2020-0x203f
> > > irq 16 at device 29.3 on pci0
> > > uhci3: [ITHREAD]
> > > uhci3: LegSup = 0x0010
> > > usbus3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3
> > > ehci0: <Intel 82801EB/R (ICH5) USB 2.0 controller> mem
> > > 0xd0000000-0xd00003ff irq 23 at device 29.7 on pci0
> > > ehci0: [ITHREAD]
> > > usbus4: EHCI version 1.0
> > > usbus4: <Intel 82801EB/R (ICH5) USB 2.0 controller> on ehci0
> > > pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
> > > pci3: <ACPI PCI bus> on pcib2
> > > cbb0: <TI6420 PCI-CardBus Bridge> at device 4.0 on pci3
> > > cardbus0: <CardBus bus> on cbb0
> > > pccard0: <16-bit PCCard bus> on cbb0
> > > cbb0: [FILTER]
> > > cbb1: <TI6420 PCI-CardBus Bridge> at device 4.1 on pci3
> > > cardbus1: <CardBus bus> on cbb1
> > > pccard1: <16-bit PCCard bus> on cbb1
> > > cbb1: [FILTER]
> > > fwohci0: <1394 Open Host Controller Interface> mem
> > > 0xd2015000-0xd20157ff,0xd2010000-0xd2013fff irq 23 at device 4.2 on
> > > pci3 fwohci0: [ITHREAD]
> > > fwohci0: OHCI version 1.10 (ROM=0)
> > > fwohci0: No. of Isochronous channels is 4.
> > > fwohci0: EUI64 12:34:56:78:12:34:56:78
> > > fwohci0: Phy 1394a available S400, 2 ports.
> > > fwohci0: Link S400, max_rec 2048 bytes.
> > > firewire0: <IEEE1394(FireWire) bus> on fwohci0
> > > dcons_crom0: <dcons configuration ROM> on firewire0
> > > dcons_crom0: bus_addr 0x1494000
> > > fwe0: <Ethernet over FireWire> on firewire0
> > > if_fwe0: Fake Ethernet address: 12:34:56:34:56:78
> > > fwe0: Ethernet address: 12:34:56:34:56:78
> > > fwip0: <IP over FireWire> on firewire0
> > > fwip0: Firewire address: 12:34:56:78:12:34:56:78 _at_ 0xfffe00000000,
> > > S400, maxrec 2048
> > > sbp0: <SBP-2/SCSI over FireWire> on firewire0
> > > fwohci0: Initiate bus reset
> > > fwohci0: fwohci_intr_core: BUS reset
> > > fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1,
> > > CYCLEMASTER mode
> > > pci3: <mass storage> at device 4.3 (no driver attached)
> > > rl0: <RealTek 8139 10/100BaseTX> port 0x3000-0x30ff mem
> > > 0xd2015800-0xd20158ff irq 19 at device 5.0 on pci3
> > > miibus0: <MII bus> on rl0
> > > rlphy0: <RealTek internal media interface> PHY 0 on miibus0
> > > rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> > > rl0: Ethernet address: 00:0a:e4:55:3b:8f
> > > rl0: [ITHREAD]
> > > ath0: <Atheros 5212> mem 0xd2000000-0xd200ffff irq 18 at device 6.0 on
> > > pci3
> > > ath0: [ITHREAD]
> > > ath0: AR5212 mac 5.9 RF5112 phy 4.3
> > > isab0: <PCI-ISA bridge> at device 31.0 on pci0
> > > isa0: <ISA bus> on isab0
> > > atapci0: <Intel ICH5 UDMA100 controller> port
> > > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2060-0x206f at device 31.1 on
> > > pci0 ata0: <ATA channel 0> on atapci0
> > > ata0: [ITHREAD]
> > > ata1: <ATA channel 1> on atapci0
> > > ata1: [ITHREAD]
> > > pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
> > > pci0: <multimedia, audio> at device 31.5 (no driver attached)
> > > pci0: <simple comms, generic modem> at device 31.6 (no driver attached)
> > > acpi_tz0: <Thermal Zone> on acpi0
> > > acpi_button1: <Power Button> on acpi0
> > > atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
> > > atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
> > > atkbd0: <AT Keyboard> irq 1 on atkbdc0
> > > kbd0 at atkbd0
> > > atkbd0: [GIANT-LOCKED]
> > > atkbd0: [ITHREAD]
> > > psm0: <PS/2 Mouse> irq 12 on atkbdc0
> > > psm0: [GIANT-LOCKED]
> > > psm0: [ITHREAD]
> > > psm0: model Generic PS/2 mouse, device ID 0
> > > uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
> > > uart0: [FILTER]
> > > battery0: <ACPI Control Method Battery> on acpi0
> > > acpi_acad0: <AC Adapter> on acpi0
> > > cpu0: <ACPI CPU> on acpi0
> > > acpi_perf0: <ACPI CPU Frequency Control> on cpu0
> > > p4tcc0: <CPU Frequency Thermal Control> on cpu0
> > > cpu1: <ACPI CPU> on acpi0
> > > p4tcc1: <CPU Frequency Thermal Control> on cpu1
> > > pmtimer0 on isa0
> > > orm0: <ISA Option ROMs> at iomem 0xd0000-0xd0fff,0xdc000-0xdffff pnpid
> > > ORM0000 on isa0
> > > sc0: <System console> at flags 0x100 on isa0
> > > sc0: VGA <16 virtual consoles, flags=0x300>
> > > vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
> > > isa0
> > > ppc0: parallel port not found.
> > > uart1: <16550 or compatible> at port 0x2f8-0x2ff irq 3 on isa0
> > > uart1: [FILTER]
> > > Timecounters tick every 1.000 msec
> > > firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0)  (me)
> > > firewire0: bus manager 0
> > > usbus0: 12Mbps Full Speed USB v1.0
> > > usbus1: 12Mbps Full Speed USB v1.0
> > > usbus2: 12Mbps Full Speed USB v1.0
> > > usbus3: 12Mbps Full Speed USB v1.0
> > > usbus4: 480Mbps High Speed USB v2.0
> > > ad0: 76319MB <IC25N080ATMR04 0 MO4OAD4A> at ata0-master UDMA100
> > > ugen0.1: <Intel> at usbus0
> > > uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on
> > > usbus0 ugen1.1: <Intel> at usbus1
> > > uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on
> > > usbus1 ugen2.1: <Intel> at usbus2
> > > uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on
> > > usbus2 ugen3.1: <Intel> at usbus3
> > > uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on
> > > usbus3 ugen4.1: <Intel> at usbus4
> > > uhub4: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on
> > > usbus4 acd0: DVDR <HL-DT-ST DVD-RW GWA-4040N/1.01> at ata1-master
> > > UDMA33 uhub0: 2 ports with 2 removable, self powered
> > > uhub1: 2 ports with 2 removable, self powered
> > > uhub2: 2 ports with 2 removable, self powered
> > > uhub3: 2 ports with 2 removable, self powered
> > > GEOM: ad0s2: geometry does not match label (255h,63s != 16h,63s).
> > > GEOM: ad0s3: geometry does not match label (255h,63s != 16h,63s).
> > > GEOM_LABEL: Label for provider ad0s2a is ufsid/46880ae48b7b4970.
> > > GEOM_LABEL: Label for provider ad0s2d is ufsid/46880ae5ec9b08d8.
> > > GEOM_LABEL: Label for provider ad0s2e is ufsid/46880ae4445f58df.
> > > GEOM_LABEL: Label for provider ad0s2f is ufsid/46880ae4d9762575.
> > > GEOM_LABEL: Label for provider ad0s3a is ufsid/48103c56d3be486d.
> > > GEOM_LABEL: Label for provider ad0s3d is ufsid/48103c58caf1aa62.
> > > GEOM_LABEL: Label for provider ad0s3e is ufsid/48103c56f2e0461f.
> > > GEOM_LABEL: Label for provider ad0s3f is ufsid/48103c5640d0eba0.
> > > uhub4: 8 ports with 8 removable, self powered
> > > SMP: AP CPU #1 Launched!
> > > WARNING: WITNESS option enabled, expect reduced performance.
> > > Trying to mount root from nfs:
> > > NFS ROOT: 10.11.11.1:/usr/tftpboot
> > > ugen1.2: <Prolific Technology Inc.> at usbus1
> > > uplcom0: <Prolific Technology Inc. USB-Serial Controller, class 0/0,
> > > rev 1.10/3.00, addr 2> on usbus1
> > > GEOM_LABEL: Label for provider md0 is ufsid/4a1b0abb3ab79c50.
> > > GEOM_LABEL: Label ufsid/4a1b0abb3ab79c50 removed.
> > > GEOM_LABEL: Label for provider md1 is ufsid/4a1b0abe0c17b575.
> > > GEOM_LABEL: Label ufsid/4a1b0abe0c17b575 removed.
> > > ugen1.2: <Prolific Technology Inc.> at usbus1 (disconnected)
> > > uplcom0: at uhub1, port 2, addr 2 (disconnected)
> >
> > When was the last time it worked?
>
> I think it is broken, more than ~1 month
> yesterday updated to be sure it wasn't fixed already,
>
> Kind regards,
> Marten
>
> > --HPS

Can you turn on USB debugging?

sysctl hw.usb.debug=15

Also:

sysctl hw.usb.uhci.debug=15
sysctl hw.usb.ohci.debug=15

--HPS
Received on Tue May 26 2009 - 06:43:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:48 UTC