hi,
On Fri, May 06, 2005 at 11:12:12PM +0200, Joerg Lenneis wrote:
> disk. Instead I would like to use a USB stick for mass storage, since
> they are a bit cheaper than equivalent IDE flash drives but more
> importantly, they can easily be pulled out and for instance swapped
> with another stick with patches, upgrades or a newer version of the OS.
>
> I have searched the archives and Goggle, but I have only found
> messages from people who have not managed to boot from a USB stick
> and/or mount a filesystem from it as root. Is there somebody out there
> who has succeeded using OpenBSD in such a configuration?
>
yes, on an openbrick-ng using a 512mb usb 2.0 stick.
reyk
OpenBSD 3.7-current (GENERIC) #23: Fri May 6 23:39:21 CEST 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: VIA Nehemiah ("CentaurHauls" 686-class) 1 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,SEP,MTRR,PGE,CMOV,PAT,MMX,FXSR,SSE
cpu0: RNG AES
real mem = 251240448 (245352K)
avail mem = 222445568 (217232K)
using 3092 buffers containing 12664832 bytes (12368K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(d6) BIOS, date 02/24/04, BIOS32 rev. 0 @ 0xfb4d0
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdf84
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdef0/144 (7 entries)
pcibios0: PCI Exclusive IRQs: 5 7 10 11
pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT82C596A ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0xf200! 0xd0000/0x8000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8623 PCI" rev 0x00
ppb0 at pci0 dev 1 function 0 "VIA VT8633 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "VIA CLE266" rev 0x03: aperture at 0xe4000000,
size 0x10000000
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
rl0 at pci0 dev 6 function 0 "Realtek 8139" rev 0x10: irq 11 address
00:06:43:bf:21:c1
rlphy0 at rl0 phy 0: RTL internal phy
rl1 at pci0 dev 7 function 0 "Realtek 8139" rev 0x10: irq 10 address
00:06:43:bf:21:c0
rlphy1 at rl1 phy 0: RTL internal phy
wi0 at pci0 dev 8 function 0 "Intersil PRISM2.5" rev 0x01: irq 5
wi0: PRISM2.5 ISL3874A(Mini-PCI), Firmware 1.0.5 (primary), 1.3.4 (station),
address 00:90:4b:0d:fd:87
uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x80: irq 5
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x80: irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x80: irq 10
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 16 function 3 "VIA VT6202 USB" rev 0x82: irq 7
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
pcib0 at pci0 dev 17 function 0 "VIA VT8235 ISA" rev 0x00
pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel
0 configured to compatibility, channel 1 configured to compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 disabled (no drives)
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
it0 at isa0 port 0x290/8: IT87
npx0 at isa0 port 0xf0/16: using exception 16
biomask fffd netmask fffd ttymask ffff
pctr: user-level cycle counter enabled
uhidev0 at uhub0 port 1 configuration 1 interface 0
uhidev0: Sun Microsystems Type 6 Keyboard, rev 1.00/1.02, addr 2, iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
umass0 at uhub3 port 3 configuration 1 interface 0
umass0: SMI Corporation USB DISK, rev 2.00/20.40, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets
wskbd1 at ukbd0 mux 1
sd0 at scsibus0 targ 1 lun 0: <USB, Flash Disk, 2040> SCSI0 0/direct removable
sd0: 481MB, 481 cyl, 64 head, 32 sec, 512 bytes/sec, 985088 sec total
wskbd1: connecting to wsdisplay0
dkcsum: sd0 matched BIOS disk 80
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
uhidev1 at uhub0 port 2 configuration 1 interface 0
uhidev1: Sun Microsystems Type 6 Mouse, rev 1.10/1.05, addr 3, iclass 3/1
ums0 at uhidev1: 3 buttons
wsmouse0 at ums0 mux 0