All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: XEN CD --> USB stick
@ 2005-02-28 21:07 Ian Pratt
  2005-02-28 22:53 ` Eivind
  2005-03-01  3:15 ` Mark Williamson
  0 siblings, 2 replies; 11+ messages in thread
From: Ian Pratt @ 2005-02-28 21:07 UTC (permalink / raw)
  To: Mark Williamson, xen-devel, Eivind; +Cc: jared, ian.pratt


> > As you probably know, XEN does not yet support USB. Although, with a
> > new BIOS I am able to boot the XEN cd from my usb stick 
> using the same
> > image - a pure cp -Ra xencd/* /mnt/usb/.
> 
> It does support USB - you need to select it in your kernel 
> config, as for 
> vanilla Linux.

Do you regard the USB stuff as ready for prime time? Should we be
enabling it in the default config?

Ian


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click

^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: XEN CD --> USB stick
@ 2005-03-01 21:54 Ian Pratt
  0 siblings, 0 replies; 11+ messages in thread
From: Ian Pratt @ 2005-03-01 21:54 UTC (permalink / raw)
  To: Mark Williamson; +Cc: xen-devel, Eivind, jared, ian.pratt


> Take a look at 
> 2.6/drivers/usb/host/uhci-hcd.c::uhci_submit_common.  It 
> doesn't do the conversions required to cope with 
> pseudophysical memory.  As 
> far as I can tell, USB client drivers cheerfully pass 
> kmalloc'd memory down to this function.

Sounds like this should be changed to dma_alloc_coherent.

Ian



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click

^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: XEN CD --> USB stick
@ 2005-03-01  8:37 Ian Pratt
  2005-03-01  9:09 ` Harry Butterworth
  2005-03-01 16:13 ` Mark Williamson
  0 siblings, 2 replies; 11+ messages in thread
From: Ian Pratt @ 2005-03-01  8:37 UTC (permalink / raw)
  To: Mark Williamson; +Cc: xen-devel, Eivind, jared, ian.pratt


> The Linux USB stack seems to work OK.  I never convinced 
> myself that the 
> default Linux HCD drivers really understood pseudophysical 
> memory but it 
> doesn't seem to have bitten me in practice *touch wood*

All the pseudophysical memory issues shoud be taken care of within the
Linux macros. It's only if the driver is buggy that its an issue.
 
Please could you checkin a patch that enables what you believe works. 

> usbfront / usbback need more development to support all sorts 
> of random 
> devices, so although it's stable and functional for me right 
> now I don't 
> think this should be enabled by default.

OK, thanks, that's good to know. 
Has usbfront/back been forwarded ported to work on 2.6 yet?
Is there stuff we could do to make it more stable, perhaps restricting
the set of devices it attempts to virtualize?

Thanks,
Ian


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click

^ permalink raw reply	[flat|nested] 11+ messages in thread
* XEN CD --> USB stick
@ 2005-02-28 19:59 Eivind
  2005-02-28 20:04 ` Mark Williamson
  0 siblings, 1 reply; 11+ messages in thread
From: Eivind @ 2005-02-28 19:59 UTC (permalink / raw)
  To: xen-devel, jared

Hello all, 
(cc'd Jared, the author of XenCD)

I have moreover a general question regarding the construction of XenCD.

As you probably know, XEN does not yet support USB. Although, with a
new BIOS I am able to boot the XEN cd from my usb stick using the same
image - a pure cp -Ra xencd/* /mnt/usb/.

Now, since I cannot mount a usb stick to the /dev/sda* it becomes more
complicated to start other example domains as available on the CD
(there is no /boot/<kernel>).

Reverse engineering the image by taking the user space ram disk, unzip
it and mount it through a loopback device gives me access to the
filesystem which I can modify. However, the disk is too small so I
need to use 'dd if=/dev/zero of=...' to make another image which I
copy the entire existing FS to, compress it and then try to boot from
it.

This does not work - kernel panic. Could someone please get me some
instruction on how this work?

Thanks in advance
- Eivind


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-03-01 21:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-28 21:07 XEN CD --> USB stick Ian Pratt
2005-02-28 22:53 ` Eivind
2005-03-01  3:15 ` Mark Williamson
  -- strict thread matches above, loose matches on Subject: below --
2005-03-01 21:54 Ian Pratt
2005-03-01  8:37 Ian Pratt
2005-03-01  9:09 ` Harry Butterworth
2005-03-01 16:13 ` Mark Williamson
2005-03-01 17:57   ` Nivedita Singhvi
2005-03-01 21:03     ` Mark Williamson
2005-02-28 19:59 Eivind
2005-02-28 20:04 ` Mark Williamson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.