[haiku] Re: Raw images: what am I doing wrong here?

  • From: Marcos Alves <retrojogos@xxxxxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Sun, 3 Jan 2010 22:19:58 +0000

Try using rdisk2 instead of disk2.

IIRC using disk2 means it'll try to write the bootsector in the beginning of
the partition instead of the beggining of the disk.

Marcos Alves.

On Sun, Jan 3, 2010 at 9:28 PM, Niels Reedijk <niels.reedijk@xxxxxxxxx>wrote:

> Hi,
> 2010/1/3 Jorge G. Mare <koki@xxxxxxxxxxxxx>:
> > Cameron Mac Millan wrote:
> >>
> >> I'm testing Haiku on a device (WebDT 366) that only allows three kinds
> of
> >> boot media: a USB-attached CD-ROM drive, USB flash drive, or its
> proprietary
> >> internal SSD (equivalent to /dev/hda).  Burning CDs ad infinitum to test
> >> nightlies or spec builds isn't really going to work out, so I've been
> trying
> >> to get raw images working with USB flash drives.
> >
> > According to...
> >
> >
> http://www.windowsfordevices.com/c/a/Windows-For-Devices-Articles/Device-Profile-DT-Research-WebDT-366-rugged-tablet/
> >
> > ...the WebDT 366 uses USB 1.1. I may be wrong, but I was under the
> > impression that Haiku only supports USB 2.0. If that were in fact the
> case,
> > would this not explain why Haiku fails to boot on your device?
> That is most definitely not the case.
> Let me explain it (as simple as possible). There are two USB standards
> (with the third on the way): 1.1 and 2.0. For 1.1 there are two types
> of host controllers (the hardware that communicates with the devices),
> OHCI and UHCI. For 2.0 there is one standard, EHCI.
> Haiku implements all three of the USB standards. Now you know that you
> can use USB 1.1 appliances without a hassle on computers that have USB
> 2.0. In fact, I think many keyboards and mice still use the USB 1.1
> standard (as they simply do not need the new bandwith features).
> Now EHCI does not support the USB 1.1 protocol. Actually, it does not
> have to. Because your USB controller (the hardware in your computer)
> speaks both EHCI (for USB 2) and UCHI/OHCI (for USB 1.1). So for Haiku
> uses two different drivers to communicate with your USB hardware, at
> least the EHCI and the UHCI.
> What your hardware does is when an USB device is connected, the
> hardware checks the version of USB it speaks. If it is USB 1.1, the
> UHCI/OHCI driver will be notified that there is a new device attached.
> If 2.0, the EHCI driver is notified. Note that on the hardware level
> it is the same device.
> So to come back to the summary: Haiku supports all three types of USB
> controllers. As such it supports both USB 1.1 and 2.0 devices.
> (Re Rene: Your conclusion is right, but your details are wrong.
> Although there might be computers that have two different controllers,
> the truth is that every EHCI (USB2) controller must speak UHCI or
> N>

Marcos Alves aka Xeon3D

Other related posts: