From owner-freebsd-current@FreeBSD.ORG Mon Mar 2 14:34:09 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 51CB41065672 for ; Mon, 2 Mar 2009 14:34:09 +0000 (UTC) (envelope-from matheusber@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by mx1.freebsd.org (Postfix) with ESMTP id F1C9C8FC18 for ; Mon, 2 Mar 2009 14:34:08 +0000 (UTC) (envelope-from matheusber@gmail.com) Received: by yw-out-2324.google.com with SMTP id 2so1277145ywt.13 for ; Mon, 02 Mar 2009 06:34:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:received :message-id:in-reply-to:references:date:subject:from:to:cc :user-agent:mime-version:content-type:content-transfer-encoding :x-priority:importance; bh=2lCcDfKS8qP52P5RyNkKBADL4BQfZJ0S1B1DirA82Is=; b=Wz+L30kkPmIWwg8iccv8JsRL++69ocxw++cOITC7FIpXwC8JuUSm93qCyaBtS5nAsD r0M1P+HMR/+ylsYKMq6Lbc7UpfialkQFsmvSZhV1x3RkPlIVZN3q41PvFxikNPC48LCy gB7YKx/vHNf5HshfDrDID+gUrIfOe1Mm7YVmM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:in-reply-to:references:date:subject:from:to:cc :user-agent:mime-version:content-type:content-transfer-encoding :x-priority:importance; b=wVedVVtDoVz+jepfdl7/kWKmG7aDcLnUVtJlZyHAjdak/6MnOV/0QhJg34gu1LdN9c yazuftMAtjp7fFWbLnbiGsdEshpLVIeht9raVJxcKMS5nI8dWDzwUENRr3v2bolCmoU/ JrVsSby7T0u4LWHKAlz5CJVzeMVl2Wv2/Z7tk= Received: by 10.151.6.2 with SMTP id j2mr778180ybi.51.1236004448307; Mon, 02 Mar 2009 06:34:08 -0800 (PST) Received: from cygnus.homeunix.com ([189.71.8.138]) by mx.google.com with ESMTPS id d25sm16515324elf.3.2009.03.02.06.34.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 02 Mar 2009 06:34:07 -0800 (PST) Sender: Nenhum_de_Nos Received: by cygnus.homeunix.com (Postfix, from userid 80) id C7E4EB8074; Mon, 2 Mar 2009 11:33:57 -0300 (BRT) Received: from 189.92.25.207 (SquirrelMail authenticated user matheus) by cygnus.homeunix.com with HTTP; Mon, 2 Mar 2009 11:33:57 -0300 (BRT) Message-ID: In-Reply-To: <200903021453.44367.hselasky@c2i.net> References: <200903021453.44367.hselasky@c2i.net> Date: Mon, 2 Mar 2009 11:33:57 -0300 (BRT) From: "Nenhum_de_Nos" To: "Hans Petter Selasky" User-Agent: SquirrelMail/1.4.15 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-current@freebsd.org Subject: Re: problem on usb boot from mini itx 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: Mon, 02 Mar 2009 14:34:09 -0000 On Mon, March 2, 2009 10:53, Hans Petter Selasky wrote: > On Monday 02 March 2009, Nenhum_de_Nos wrote: >> hail, >> >> I'm trying to make a router from a mini itx, but can't get it to boot >> from >> usb disk or stick. I can boot from usb cdrom and install ok, 7.1 and >> 7.0. >> but when I try to boot, I get to the point: >> >> F1 FreeBSD >> >> and press enter. >> >> then I get: >> Can't work out which disk we are booting from. >> Guessed BIOS device 0x80 not found by probes, defaulting to disk0: >> >> can't load 'kernel' >> >> Type '?' for a list of commands, 'help' for more detailed help. >> OK >> >> lsdev gives me: >> >> cd devices: >> disk devices: >> pxe devices: >> >> so, I got to the point it can't find my usb disk, but I don't know why >> as >> in boot cd it says the disk0 ok. so I copied all cd boot stuff >> (boot/cdboot/etc) to see if I can use that to again see my disk, but I >> got >> nowhere :( >> >> I used the usb disk on other pc and all went fine, even compiled current >> (my target branch) to see if most recent usb boot things (read some from >> two threads here, not got deep though) and also nothing :( >> >> is there anything I can do ? >> >> dmesg follows >> >> thanks, >> >> matheus >> >> the 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 #0: Sun Mar 1 22:52:45 BRT 2009 >> root@cygnus.apartnet:/usr/obj/usr/src/sys/Cygnus8 >> Timecounter "i8254" frequency 1193182 Hz quality 0 >> CPU: Transmeta(tm) Crusoe(tm) Processor TM5700 (798.13-MHz 586-class >> CPU) >> Origin = "GenuineTMx86" Id = 0x543 Stepping = 3 >> Features=0x84893f >> real memory = 117374976 (111 MB) >> avail memory = 100130816 (95 MB) >> kbd1 at kbdmux0 >> pcib0: pcibus 0 on motherboard >> pir0: on motherboard >> pci0: on pcib0 >> pci0: at device 0.1 (no driver attached) >> pci0: at device 0.2 (no driver attached) >> pci0: at device 0.3 (no driver attached) >> uhci0: port 0xe000-0xe01f irq 15 at device >> 9.0 >> on pci0 >> uhci0: [ITHREAD] >> uhci0: LegSup = 0x201a >> usbus0: on uhci0 >> uhci1: port 0xe100-0xe11f irq 5 at device >> 9.1 >> on pci0 >> uhci1: [ITHREAD] >> uhci1: LegSup = 0x2010 >> usbus1: on uhci1 >> ehci0: mem 0xe8131000-0xe81310ff irq 10 >> at >> device 9.2 on pci0 >> ehci0: [ITHREAD] >> usbus2: EHCI version 1.0 >> usbus2: on ehci0 >> vgapci0: port 0xe200-0xe2ff mem >> 0xe0000000-0xe7ffffff,0xe8120000-0xe812ffff irq 11 at device 13.0 on >> pci0 >> isab0: at device 17.0 on pci0 >> isa0: on isab0 >> atapci0: port >> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe300-0xe30f at device 17.1 on pci0 >> ata0: on atapci0 >> ata0: [ITHREAD] >> ata1: on atapci0 >> ata1: [ITHREAD] >> pci0: at device 17.4 (no driver attached) >> vr0: port 0xe600-0xe6ff mem >> 0xe8130000-0xe81300ff irq 15 at device 18.0 on pci0 >> vr0: Quirks: 0x0 >> vr0: Revision: 0x51 >> miibus0: on vr0 >> ukphy0: PHY 1 on miibus0 >> ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto >> vr0: Ethernet address: 00:13:21:ee:26:00 >> vr0: [ITHREAD] >> cpu0 on motherboard >> pmtimer0 on isa0 >> atrtc0: at port 0x70-0x71 irq 8 pnpid PNP0b00 on >> isa0 >> atkbdc0: at port 0x60,0x64 irq 1 pnpid >> PNP0303 on isa0 >> atkbd0: irq 1 on atkbdc0 >> kbd0 at atkbd0 >> atkbd0: [GIANT-LOCKED] >> atkbd0: [ITHREAD] >> unknown: can't assign resources (memory) >> orm0: at iomem 0xc0000-0xc8fff,0xcc000-0xd5fff 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. >> unknown: can't assign resources (memory) >> Timecounter "TSC" frequency 798131036 Hz quality 800 >> Timecounters tick every 1.000 msec >> usbus0: 12Mbps Full Speed USB v1.0 >> usbus1: 12Mbps Full Speed USB v1.0 >> usbus2: 480Mbps High Speed USB v2.0 >> ugen0.1: at usbus0 >> ushub0: on usbus0 >> ugen1.1: at usbus1 >> ushub1: on usbus1 >> ugen2.1: at usbus2 >> ushub2: on usbus2 >> ad0: 6149MB at ata0-master UDMA33 >> GEOM: ad0s1: geometry does not match label (255h,63s != 15h,63s). >> ushub0: 2 ports with 2 removable, self powered >> ushub1: 2 ports with 2 removable, self powered >> Root mount waiting for: usbus2 >> Root mount waiting for: usbus2 >> ushub2: 4 ports with 4 removable, self powered >> Trying to mount root from ufs:/dev/ad0s1a >> usb2_alloc_device:1463: set address 2 failed (ignored) >> usb2_alloc_device:1499: getting device descriptor at addr 2 failed! >> usb2_req_re_enumerate:1414: addr=2, set address failed! (ignored) >> usb2_req_re_enumerate:1427: getting device descriptor at addr 2 failed! >> usb2_req_re_enumerate:1414: addr=2, set address failed! (ignored) >> usb2_req_re_enumerate:1427: getting device descriptor at addr 2 failed! >> ugen0.2: <> at usbus0 (disconnected) >> uhub_reattach_port:414: could not allocate new device! > > Hi, > > What happens if you put an external USB HUB in between ? nops, I'll try :) > There is also a ehci.no_hs sysctl which you can try setting to one. it passes info to loader, right ? > Also try enabling uhub debugging during boot. > > sysctl hw.usb2.uhub.debug=15 will this take effect even if I can't get to where freebsd kernel takes command ? > --HPS thanks, matheus _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- We will call you cygnus, The God of balance you shall be