Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Mar 2009 11:33:57 -0300 (BRT)
From:      "Nenhum_de_Nos" <matheus@eternamente.info>
To:        "Hans Petter Selasky" <hselasky@c2i.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: problem on usb boot from mini itx
Message-ID:  <ff4fd5b822337d287c8ca9f79b2f3968.squirrel@cygnus.homeunix.com>
In-Reply-To: <200903021453.44367.hselasky@c2i.net>
References:  <f8161e633a32c1fcde0661afb816cbcb.squirrel@cygnus.homeunix.com> <200903021453.44367.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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<FPU,VME,DE,PSE,TSC,MSR,CX8,SEP,CMOV,PN,MMX>
>> real memory  = 117374976 (111 MB)
>> avail memory = 100130816 (95 MB)
>> kbd1 at kbdmux0
>> pcib0: <Host to PCI bridge> pcibus 0 on motherboard
>> pir0: <PCI Interrupt Routing Table: 5 Entries> on motherboard
>> pci0: <PCI bus> on pcib0
>> pci0: <memory, RAM> at device 0.1 (no driver attached)
>> pci0: <memory, RAM> at device 0.2 (no driver attached)
>> pci0: <memory, RAM> at device 0.3 (no driver attached)
>> uhci0: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 15 at device
>> 9.0
>> on pci0
>> uhci0: [ITHREAD]
>> uhci0: LegSup = 0x201a
>> usbus0: <VIA 83C572 USB controller> on uhci0
>> uhci1: <VIA 83C572 USB controller> port 0xe100-0xe11f irq 5 at device
>> 9.1
>> on pci0
>> uhci1: [ITHREAD]
>> uhci1: LegSup = 0x2010
>> usbus1: <VIA 83C572 USB controller> on uhci1
>> ehci0: <VIA VT6202 USB 2.0 controller> mem 0xe8131000-0xe81310ff irq 10
>> at
>> device 9.2 on pci0
>> ehci0: [ITHREAD]
>> usbus2: EHCI version 1.0
>> usbus2: <VIA VT6202 USB 2.0 controller> on ehci0
>> vgapci0: <VGA-compatible display> port 0xe200-0xe2ff mem
>> 0xe0000000-0xe7ffffff,0xe8120000-0xe812ffff irq 11 at device 13.0 on
>> pci0
>> isab0: <PCI-ISA bridge> at device 17.0 on pci0
>> isa0: <ISA bus> on isab0
>> atapci0: <VIA 8231 UDMA100 controller> port
>> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe300-0xe30f at device 17.1 on pci0
>> ata0: <ATA channel 0> on atapci0
>> ata0: [ITHREAD]
>> ata1: <ATA channel 1> on atapci0
>> ata1: [ITHREAD]
>> pci0: <bridge> at device 17.4 (no driver attached)
>> vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0xe600-0xe6ff mem
>> 0xe8130000-0xe81300ff irq 15 at device 18.0 on pci0
>> vr0: Quirks: 0x0
>> vr0: Revision: 0x51
>> miibus0: <MII bus> on vr0
>> ukphy0: <Generic IEEE 802.3u media interface> 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 realtime clock> at port 0x70-0x71 irq 8 pnpid PNP0b00 on
>> isa0
>> atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 irq 1 pnpid
>> PNP0303 on isa0
>> atkbd0: <AT Keyboard> irq 1 on atkbdc0
>> kbd0 at atkbd0
>> atkbd0: [GIANT-LOCKED]
>> atkbd0: [ITHREAD]
>> unknown: <PNP0c01> can't assign resources (memory)
>> orm0: <ISA Option ROMs> at iomem 0xc0000-0xc8fff,0xcc000-0xd5fff 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.
>> unknown: <PNP0c01> 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: <VIA> at usbus0
>> ushub0: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
>> ugen1.1: <VIA> at usbus1
>> ushub1: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
>> ugen2.1: <VIA> at usbus2
>> ushub2: <VIA EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
>> ad0: 6149MB <SAMSUNG SV0643D KT100> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ff4fd5b822337d287c8ca9f79b2f3968.squirrel>