From owner-freebsd-current@FreeBSD.ORG Mon Mar 2 15:11:59 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 218AD1065712 for ; Mon, 2 Mar 2009 15:11:58 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.swip.net [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id F006D8FC23 for ; Mon, 2 Mar 2009 15:11:57 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=4sHB8Di1SP0A:10 a=j+k/Ze5hWUCaCztCgEjzDQ==:17 a=99ken7_wBU7ZCM9ENBAA:9 a=AjZ2iKhLmWDd4U4NA5MA:7 a=jHues_4hfnqSa71krvGkMXV16nYA:4 a=LY0hPdMaydYA:10 a=XBZDdOuShoRSun-f:21 a=NW8jlEMrMGhF1neH:21 Received: from [81.191.55.181] (account mc467741@c2i.net HELO laptop) by mailfe12.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1031205221; Mon, 02 Mar 2009 16:11:55 +0100 From: Hans Petter Selasky To: "Nenhum_de_Nos" Date: Mon, 2 Mar 2009 16:14:22 +0100 User-Agent: KMail/1.9.7 References: <200903021453.44367.hselasky@c2i.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903021614.24159.hselasky@c2i.net> 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 15:12:18 -0000 On Monday 02 March 2009, Nenhum_de_Nos wrote: > 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 ? > Yes, you can add it to /boot/loader.conf --HPS