Closed GoogleCodeExporter closed 9 years ago
Consider: Laptops with no internal optical drive.
Original comment by stanley....@gmail.com
on 14 Apr 2011 at 1:55
i dont know if you need special code in the bootloader for
that but it doubt it. if the bios emulates the drive with
the extended disk read functions 9bootiso should have no
problem loading a kernel.
if you get as far as a booted kernel with a "root from:"
prompt it is a question of the kernels usbd to get us
started.
do we have a machine/usb cdrom that we can test?
Original comment by cinap_le...@felloff.net
on 14 Apr 2011 at 5:48
I have hardware. I'll do some testing.
Original comment by stanley....@gmail.com
on 14 Apr 2011 at 6:06
Tried booting the 20110414 iso with Thinkpad X41 and USB CD-ROM. The drive is
detected and I do make it to the "root from:" prompt.
http://farm6.static.flickr.com/5189/5620225035_7cef786fb0_z.jpg
http://farm6.static.flickr.com/5022/5620818538_74a3d61349_z.jpg
Combinations of "local!#S/sdD0/data", "local!sdD0/data", "data", etc., all fail
with "'#S/sdD0' file does not exist."
I tried !rc to escape to rc, but that failed with "ipconfig: /net/ipifc/clone:
bind ether /net/ether0: '/net/ether0' file does not exist." (The X41's Broadcom
ethernet is not detected by the kernel.)
http://farm6.static.flickr.com/5223/5620821574_fc103b4b1a_z.jpg
Original comment by stanley....@gmail.com
on 15 Apr 2011 at 1:29
notice the "usb/disk..." line. that means usbd has
detected the device... but it doesnt print the device
name! :-(
it would be tivial to print the device name tho. code
that needs to be changed is here:
/sys/src/cmd/usb/disk/disk.c
if /srv/usb is mounted to /dev (wich i think is the case),
the name would be something like /dev/sdU1.0
the !rc works only in the termrc vgasize/monitor/mouseport
questions... it doesnt work in boot/boot yet. iru muzgo is
working on this.
Original comment by cinap_le...@felloff.net
on 15 Apr 2011 at 6:02
added printing of usbfs subtree adds, try the current 9front.torrent :-)
Original comment by cinap_le...@felloff.net
on 15 Apr 2011 at 6:33
Original comment by a...@phicode.de
on 16 Apr 2011 at 11:23
After cinap's changes, the USB device name is correctly printed, but the drive
is apparently still not actually mounted in the expected place.
/dev/sdU0.0/data is not found. usbinit() in /sys/src/9/boot/boot.c just calls
/boot/usbd, which should put the right bits in the right places. Is the
embedded usbd different from the one that goes into /bin?
Original comment by stanley....@gmail.com
on 16 Apr 2011 at 6:27
no, or it wont print :-)
Original comment by cinap_le...@felloff.net
on 17 Apr 2011 at 1:00
Original comment by ur...@berlinblue.org
on 17 Apr 2011 at 2:13
Latest code works on X41 with USB CD-ROM. At the "root from:" prompt, type:
local!/dev/sdU0.0/data
Original comment by stanley....@gmail.com
on 17 Apr 2011 at 5:49
Original comment by stanley....@gmail.com
on 17 Apr 2011 at 5:51
Original comment by a...@phicode.de
on 26 May 2011 at 5:21
Original comment by stanley....@gmail.com
on 27 May 2011 at 4:07
Original issue reported on code.google.com by
stanley....@gmail.com
on 14 Apr 2011 at 1:36