From owner-freebsd-current@FreeBSD.ORG Tue May 26 11:40:33 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E55871065679 for ; Tue, 26 May 2009 11:40:32 +0000 (UTC) (envelope-from info@martenvijn.nl) Received: from smtp-vbr4.xs4all.nl (smtp-vbr4.xs4all.nl [194.109.24.24]) by mx1.freebsd.org (Postfix) with ESMTP id 6B8F28FC1D for ; Tue, 26 May 2009 11:40:32 +0000 (UTC) (envelope-from info@martenvijn.nl) Received: from [192.168.178.47] (martenvijn.xs4all.nl [80.101.161.153]) by smtp-vbr4.xs4all.nl (8.13.8/8.13.8) with ESMTP id n4QBeUVd088740; Tue, 26 May 2009 13:40:30 +0200 (CEST) (envelope-from info@martenvijn.nl) From: Marten Vijn To: Hans Petter Selasky In-Reply-To: <200905261047.58476.hselasky@c2i.net> References: <1243288231.4621.90.camel@mvn-desktop> <200905260956.45919.hselasky@c2i.net> <1243326345.4558.1.camel@mvn-desktop> <200905261047.58476.hselasky@c2i.net> Content-Type: text/plain Date: Tue, 26 May 2009 13:40:29 +0200 Message-Id: <1243338029.4558.41.camel@mvn-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-current Subject: Re: uplcom write:Device not configured X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2009 11:40:33 -0000 On Tue, 2009-05-26 at 10:47 +0200, Hans Petter Selasky wrote: > 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@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 > > >E,MC A,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > > > > Features2=0x4400 > > > > real memory = 1073741824 (1024 MB) > > > > avail memory = 1032486912 (984 MB) > > > > ACPI APIC Table: > > > > 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 irqs 0-23 on motherboard > > > > kbd1 at kbdmux0 > > > > acpi0: 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: port 0x62,0x66 on acpi0 > > > > acpi_button0: on acpi0 > > > > acpi_lid0: on acpi0 > > > > pcib0: port 0xcf8-0xcff on acpi0 > > > > pci0: on pcib0 > > > > agp0: on hostb0 > > > > pcib1: at device 1.0 on pci0 > > > > pci1: on pcib1 > > > > vgapci0: mem > > > > 0xd1000000-0xd1ffffff,0xe0000000-0xefffffff irq 16 at device 0.0 on > > > > pci1 uhci0: port > > > > 0x1cc0-0x1cdf irq 16 at device 29.0 on pci0 > > > > uhci0: [ITHREAD] > > > > uhci0: LegSup = 0x003b > > > > usbus0: on uhci0 > > > > uhci1: port 0x1ce0-0x1cff > > > > irq 19 at device 29.1 on pci0 > > > > uhci1: [ITHREAD] > > > > uhci1: LegSup = 0x0010 > > > > usbus1: on uhci1 > > > > uhci2: port 0x2000-0x201f > > > > irq 18 at device 29.2 on pci0 > > > > uhci2: [ITHREAD] > > > > uhci2: LegSup = 0x0010 > > > > usbus2: on uhci2 > > > > uhci3: port 0x2020-0x203f > > > > irq 16 at device 29.3 on pci0 > > > > uhci3: [ITHREAD] > > > > uhci3: LegSup = 0x0010 > > > > usbus3: on uhci3 > > > > ehci0: mem > > > > 0xd0000000-0xd00003ff irq 23 at device 29.7 on pci0 > > > > ehci0: [ITHREAD] > > > > usbus4: EHCI version 1.0 > > > > usbus4: on ehci0 > > > > pcib2: at device 30.0 on pci0 > > > > pci3: on pcib2 > > > > cbb0: at device 4.0 on pci3 > > > > cardbus0: on cbb0 > > > > pccard0: <16-bit PCCard bus> on cbb0 > > > > cbb0: [FILTER] > > > > cbb1: at device 4.1 on pci3 > > > > cardbus1: 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: on fwohci0 > > > > dcons_crom0: on firewire0 > > > > dcons_crom0: bus_addr 0x1494000 > > > > fwe0: on firewire0 > > > > if_fwe0: Fake Ethernet address: 12:34:56:34:56:78 > > > > fwe0: Ethernet address: 12:34:56:34:56:78 > > > > fwip0: on firewire0 > > > > fwip0: Firewire address: 12:34:56:78:12:34:56:78 @ 0xfffe00000000, > > > > S400, maxrec 2048 > > > > sbp0: 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: at device 4.3 (no driver attached) > > > > rl0: port 0x3000-0x30ff mem > > > > 0xd2015800-0xd20158ff irq 19 at device 5.0 on pci3 > > > > miibus0: on rl0 > > > > rlphy0: PHY 0 on miibus0 > > > > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > > > > rl0: Ethernet address: 00:0a:e4:55:3b:8f > > > > rl0: [ITHREAD] > > > > ath0: mem 0xd2000000-0xd200ffff irq 18 at device 6.0 on > > > > pci3 > > > > ath0: [ITHREAD] > > > > ath0: AR5212 mac 5.9 RF5112 phy 4.3 > > > > isab0: at device 31.0 on pci0 > > > > isa0: on isab0 > > > > atapci0: port > > > > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2060-0x206f at device 31.1 on > > > > pci0 ata0: on atapci0 > > > > ata0: [ITHREAD] > > > > ata1: on atapci0 > > > > ata1: [ITHREAD] > > > > pci0: at device 31.3 (no driver attached) > > > > pci0: at device 31.5 (no driver attached) > > > > pci0: at device 31.6 (no driver attached) > > > > acpi_tz0: on acpi0 > > > > acpi_button1: on acpi0 > > > > atrtc0: port 0x70-0x71 irq 8 on acpi0 > > > > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > > > > atkbd0: irq 1 on atkbdc0 > > > > kbd0 at atkbd0 > > > > atkbd0: [GIANT-LOCKED] > > > > atkbd0: [ITHREAD] > > > > psm0: 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: on acpi0 > > > > acpi_acad0: on acpi0 > > > > cpu0: on acpi0 > > > > acpi_perf0: on cpu0 > > > > p4tcc0: on cpu0 > > > > cpu1: on acpi0 > > > > p4tcc1: on cpu1 > > > > pmtimer0 on isa0 > > > > orm0: at iomem 0xd0000-0xd0fff,0xdc000-0xdffff pnpid > > > > ORM0000 on isa0 > > > > sc0: at flags 0x100 on isa0 > > > > sc0: VGA <16 virtual consoles, flags=0x300> > > > > vga0: 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 at ata0-master UDMA100 > > > > ugen0.1: at usbus0 > > > > uhub0: on > > > > usbus0 ugen1.1: at usbus1 > > > > uhub1: on > > > > usbus1 ugen2.1: at usbus2 > > > > uhub2: on > > > > usbus2 ugen3.1: at usbus3 > > > > uhub3: on > > > > usbus3 ugen4.1: at usbus4 > > > > uhub4: on > > > > usbus4 acd0: DVDR 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: at usbus1 > > > > uplcom0: > > > 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: 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 > I get a lot info on the console everything works for a while when I go to a second console and do cu -l /dev/cuaU0 -s 9600 booting a soekris (flash or pxe) goes fine for 4-5 times I also change the cable between systeems I couple of times (with cu still open) then my system becomes slowly inreponsive I got a lot adata scrollingby on the first console (unreadable fast). When I unplug the serial device the scrolling slows down. But I still can't move to another console. the last info I get from dmesg: http://martenvijn.nl/log.txt I hope it has something usefull Thanks, Marten > --HPS -- http://martenvijn.nl Marten Vijn http://martenvijn.nl/trac/wiki/soas Sugar on a Stick http://bsd.wifisoft.org/nek/ The Network Event Kit http://har2009.org 13th-16th August http://opencommunitycamp.org 26th Jul - 2nd August