From rd at tilde.se Thu May 3 01:12:41 2007 From: rd at tilde.se (Rickard Dahlstrand) Date: Wed, 02 May 2007 17:12:41 +0200 Subject: [flashboot] New 4.1 kernels.. Message-ID: <4638AA69.4030002@tilde.se> Hi, New 4.1 kernels are up at http://tilde.se/flashboot/ please test and let me know if there are any problems with them. Rickard. From rd at tilde.se Thu May 3 17:27:40 2007 From: rd at tilde.se (Rickard Dahlstrand) Date: Thu, 03 May 2007 09:27:40 +0200 Subject: [flashboot] Syncing generic-rd to generic In-Reply-To: <4638AA69.4030002@tilde.se> References: <4638AA69.4030002@tilde.se> Message-ID: <46398EEC.4010301@tilde.se> Hi, When I was looking thru the GENERIC-RD kernel and synking it to the 4.1 GENERIC I found that there was little reason not to have all of the GENERIC configuration in the flashboot GENERIC-RD kernel. This would make it much easier to sync it in the future and also most users will get all what they except when the boot the generic-rd kernel. However there where some lines that I need comments on before I add them: ipmi0 at mainbus? disable # IPMI isadma0 at isa? disable # XXX all ISA DMA space used up From what I seen there is no need to keep ISADMA disabled anymore since the bootloader was fixed in 3.7 or 3.8. But what about IPMI?? Rickard. From pelzi at pelzi.net Sat May 5 23:34:26 2007 From: pelzi at pelzi.net (Jussi Peltola) Date: Sat, 5 May 2007 16:34:26 +0300 Subject: [flashboot] build-diskimage.sh sudo bug Message-ID: <20070505133426.GB3988@hemmo.net> Hi, build-diskimage.sh contains the line ${SUDO} sed "/^stty/s/19200/${TTYSPEED}/" < \ ${BASE}/initial-conf/boot.conf > ${MOUNTPOINT}/etc/boot.conf This does run sed as root, but the redirect is handled by the shell and writing to ${MOUNTPOINT}/etc/boot.conf fails. -- Jussi Peltola From piotr.kapczuk at gmail.com Sat May 12 00:12:02 2007 From: piotr.kapczuk at gmail.com (Piotrek Kapczuk) Date: Fri, 11 May 2007 16:12:02 +0200 Subject: [flashboot] Libraries version change in 4.1 Message-ID: Hi There are new versions of libkvm and libpthread in In OpenBSD 4.1-stable #./build-largekernel.sh SOEKRIS4801 [...] COPY ${DESTDIR}/usr/lib/libssl.so.11.0 usr/lib/libssl.so.11.0 COPY ${DESTDIR}/usr/lib/libkvm.so.8.0 usr/lib/libkvm.so.8.0 cp: /build/flashboot/flash-dist/usr/lib/libkvm.so.8.0: No such file or directory *** Error code 1 Stop in /build/flashboot (line 145 of /build/flashboot/Makefile). # ls -l /usr/lib/libkvm.so* -r--r--r-- 1 root bin 149031 May 10 21:10 /usr/lib/libkvm.so.9.0 # head -2 /var/run/dmesg.boot OpenBSD 4.1-stable (GENERIC) #0: Thu May 10 18:59:17 CEST 2007 root at buildbox.my.domain:/usr/src/sys/arch/i386/compile/GENERIC diff --- /build/download/flashboot/list.largekernel Tue Feb 6 15:12:22 2007 +++ list.largekernel Fri May 11 16:18:08 2007 @@ -23,6 +23,6 @@ #COPY ${DESTDIR}/usr/sbin/rpc.bootparamd usr/sbin/rpc.bootparamd COPY ${DESTDIR}/usr/lib/libssl.so.11.0 usr/lib/libssl.so.11.0 -COPY ${DESTDIR}/usr/lib/libkvm.so.8.0 usr/lib/libkvm.so.8.0 +COPY ${DESTDIR}/usr/lib/libkvm.so.9.0 usr/lib/libkvm.so.9.0 COPY ${DESTDIR}/usr/lib/libwrap.so.4.0 usr/lib/libwrap.so.4.0 -COPY ${DESTDIR}/usr/lib/libpthread.so.6.3 usr/lib/libpthread.so.6.3 +COPY ${DESTDIR}/usr/lib/libpthread.so.7.0 usr/lib/libpthread.so.7.0 From lists at boudewijnector.nl Wed May 16 21:59:31 2007 From: lists at boudewijnector.nl (Boudewijn Ector) Date: Wed, 16 May 2007 13:59:31 +0200 Subject: [flashboot] Getting flashboot to boot properly Message-ID: <464AF223.9000606@boudewijnector.nl> Hi I've been trying (as a openBSD newbie) to get flashboot images for WRAP from http://tilde.se/flashboot/ to work, on a PC-Engines WRAP board. For this I used the WRAP12 image. My host system is a i386 running OpenBSD 4.0 (which should be sufficient, I guess). I've done this: gunzip -c WRAP12.bsd | dd of=/dev/sd0c && /usr/mdec/installboot -b /boot /usr/mdec/biosboot sd0 After inserting into a PC-Engines board, it won't boot because the WRAP board says the stick isn't bootable. Can someone give me a hint about this problem? Boudewijn Ector From stu at spacehopper.org Wed May 16 23:11:16 2007 From: stu at spacehopper.org (Stuart Henderson) Date: Wed, 16 May 2007 14:11:16 +0100 Subject: [flashboot] Getting flashboot to boot properly In-Reply-To: <464AF223.9000606@boudewijnector.nl> References: <464AF223.9000606@boudewijnector.nl> Message-ID: <20070516131116.GD5246@bootes.spacehopper.org> On 2007/05/16 13:59, Boudewijn Ector wrote: > Hi > > I've been trying (as a openBSD newbie) to get flashboot images for WRAP > from http://tilde.se/flashboot/ to work, on a PC-Engines WRAP board. > For this I used the WRAP12 image. My host system is a i386 running > OpenBSD 4.0 (which should be sufficient, I guess). > > I've done this: > > gunzip -c WRAP12.bsd | dd of=/dev/sd0c && /usr/mdec/installboot -b /boot > /usr/mdec/biosboot sd0 > > After inserting into a PC-Engines board, it won't boot because the WRAP > board says the stick isn't bootable. > Can someone give me a hint about this problem? flashboot produces ramdisk kernels, not disk images. You need to fdisk+disklabel+newfs the CF, install the boot loader, and copy the kernel to the filesystem. From piotr.kapczuk at gmail.com Thu May 17 00:05:42 2007 From: piotr.kapczuk at gmail.com (Piotrek Kapczuk) Date: Wed, 16 May 2007 16:05:42 +0200 Subject: [flashboot] Getting flashboot to boot properly In-Reply-To: <464AF223.9000606@boudewijnector.nl> References: <464AF223.9000606@boudewijnector.nl> Message-ID: 2007/5/16, Boudewijn Ector : > Hi > > I've been trying (as a openBSD newbie) to get flashboot images for WRAP > from http://tilde.se/flashboot/ to work, on a PC-Engines WRAP board. > For this I used the WRAP12 image. My host system is a i386 running > OpenBSD 4.0 (which should be sufficient, I guess). > > I've done this: > > gunzip -c WRAP12.bsd | dd of=/dev/sd0c && /usr/mdec/installboot -b /boot > /usr/mdec/biosboot sd0 This is kernel image. Get one of 256 CF images. 256 MB Images with normal kernels: COMMELL-LE564.image GENERIC-RD.image SOEKRIS4501.image SOEKRIS4801.image WRAP12.image http://tilde.se/flashboot/download/?file=WRAP12.image They are bootable already, no need to run installboot. -- Regards Piotrek From rd at tilde.se Thu May 17 19:14:10 2007 From: rd at tilde.se (Rickard Dahlstrand) Date: Thu, 17 May 2007 11:14:10 +0200 Subject: [flashboot] Updated kernels.. (or not) and an update. Message-ID: <464C1CE2.3080106@tilde.se> As the latest patch (008) only seems to affect xserver components I will not build new kernels for that. Flashboot does not use the affected modules. I have sent the 4.1-patch to Jakob for committing to the CVS and if there is no objections we would like to make an official release of flashboot 4.1. Next week we will also try to release a new beta with new and exiting functionally including a cd-kernel (with included iso), newbie configuration scripts, configuration backup and more... Rickard. From jakob at rfc.se Thu May 17 21:51:27 2007 From: jakob at rfc.se (Jakob Schlyter) Date: Thu, 17 May 2007 20:51:27 +0900 Subject: [flashboot] Updated kernels.. (or not) and an update. In-Reply-To: <464C1CE2.3080106@tilde.se> References: <464C1CE2.3080106@tilde.se> Message-ID: On May 17, 2007, at 6:14 PM, Rickard Dahlstrand wrote: > As the latest patch (008) only seems to affect xserver components I > will > not build new kernels for that. Flashboot does not use the affected > modules. > > I have sent the 4.1-patch to Jakob for committing to the CVS and if > there is no objections we would like to make an official release of > flashboot 4.1. I will commit the 4.1-patch as soon as I'm back from Japan on May 29th. jakob From lists at boudewijnector.nl Fri May 18 20:46:58 2007 From: lists at boudewijnector.nl (Boudewijn Ector) Date: Fri, 18 May 2007 12:46:58 +0200 Subject: [flashboot] Getting flashboot to boot properly In-Reply-To: <20070516131116.GD5246@bootes.spacehopper.org> References: <464AF223.9000606@boudewijnector.nl> <20070516131116.GD5246@bootes.spacehopper.org> Message-ID: <464D8422.1030102@boudewijnector.nl> > flashboot produces ramdisk kernels, not disk images. You need to > fdisk+disklabel+newfs the CF, install the boot loader, and copy the > kernel to the filesystem. > > Hi Guys, I've been trying around a bit in order to make the flashboot card boot. Tried to things on my WRAP board, at first the 256MB image: (on freeBSD: gunzip -c IMAGE | dd ). Which resulted in : Press CTRL-A Z for help on special keys PC Engines WRAP.1C/1D/1E v1.08 640 KB Base Memory 130048 KB Extended Memory 01F0 Master 045A TRANSCEND Phys C/H/S 1006/16/63 Log C/H/S 1006/16/63 Using drive 0, partition 3; No O/S Now I'm still trying it again on OpenBSD (my box at the office), and I've done the following things (on a 512MB regular flash stick); fdisk -i sd0 Disklabeled it: 16 partitions: # size offset fstype [fsize bsize cpg] c: 1014048 0 unused 0 0 # Cyl 0 - 495* > a partition: [a] a offset: [32] size: [1013728] FS type: [4.2BSD] > w Ran newfs on it: root at foobar ~ # newfs sd0a Warning: 32 sector(s) in last cylinder unallocated /dev/rsd0a: 1013728 sectors in 990 cylinders of 32 tracks, 32 sectors 495.0MB in 4 cyl groups (323 c/g, 161.50MB/g, 20608 i/g) super-block backups (for fsck -b #) at: 32, 330816, 661600, 992384, Created the bootloader: root at foobar ~ # /usr/mdec/installboot -v /boot /usr/mdec/biosboot sd0 Mount, and copy the kernel: root at foobar ~ # mount /dev/sd0a /mnt/ root at foobar ~ # cp WRAP12.large.bsd /mnt/bsd What am I doing wrong? From stu at spacehopper.org Fri May 18 22:30:32 2007 From: stu at spacehopper.org (Stuart Henderson) Date: Fri, 18 May 2007 13:30:32 +0100 Subject: [flashboot] Getting flashboot to boot properly In-Reply-To: <464D8422.1030102@boudewijnector.nl> References: <464AF223.9000606@boudewijnector.nl> <20070516131116.GD5246@bootes.spacehopper.org> <464D8422.1030102@boudewijnector.nl> Message-ID: <20070518123032.GN24362@bootes.spacehopper.org> On 2007/05/18 12:46, Boudewijn Ector wrote: > root at foobar ~ # /usr/mdec/installboot -v /boot /usr/mdec/biosboot sd0 you don't copy the boot loader to /mnt, and you tell installboot to use /boot not /mnt/boot. From lists at boudewijnector.nl Fri May 18 23:50:39 2007 From: lists at boudewijnector.nl (Boudewijn Ector) Date: Fri, 18 May 2007 15:50:39 +0200 Subject: [flashboot] Getting flashboot to boot properly In-Reply-To: <20070518123032.GN24362@bootes.spacehopper.org> References: <464AF223.9000606@boudewijnector.nl> <20070516131116.GD5246@bootes.spacehopper.org> <464D8422.1030102@boudewijnector.nl> <20070518123032.GN24362@bootes.spacehopper.org> Message-ID: <464DAF2F.10304@boudewijnector.nl> Stuart Henderson wrote: > On 2007/05/18 12:46, Boudewijn Ector wrote: > >> root at foobar ~ # /usr/mdec/installboot -v /boot /usr/mdec/biosboot sd0 >> > > you don't copy the boot loader to /mnt, and you tell installboot to > use /boot not /mnt/boot. > How to copy the bootloader? Just did a : root at foobar /usr #mkdir /mnt/boot root at foobar /usr # /usr/mdec/installboot -v /mnt/boot /usr/mdec/biosboot sd0 boot: /mnt/boot proto: /usr/mdec/biosboot device: /dev/rsd0c /usr/mdec/biosboot: entry point 0 proto bootblock size 512 /mnt/boot is 1 blocks x 16384 bytes fs block shift 2; part offset 32; inode block 165416, offset 552 using MBR partition 3: type 166 (0xa6) offset 32 (0x20) Still isn't working. From stu at spacehopper.org Sat May 19 00:09:52 2007 From: stu at spacehopper.org (Stuart Henderson) Date: Fri, 18 May 2007 15:09:52 +0100 Subject: [flashboot] Getting flashboot to boot properly In-Reply-To: <464DAF2F.10304@boudewijnector.nl> References: <464AF223.9000606@boudewijnector.nl> <20070516131116.GD5246@bootes.spacehopper.org> <464D8422.1030102@boudewijnector.nl> <20070518123032.GN24362@bootes.spacehopper.org> <464DAF2F.10304@boudewijnector.nl> Message-ID: <20070518140952.GO24362@bootes.spacehopper.org> On 2007/05/18 15:50, Boudewijn Ector wrote: > Stuart Henderson wrote: >> On 2007/05/18 12:46, Boudewijn Ector wrote: >> >>> root at foobar ~ # /usr/mdec/installboot -v /boot /usr/mdec/biosboot sd0 >>> >> >> you don't copy the boot loader to /mnt, and you tell installboot to >> use /boot not /mnt/boot. >> > > How to copy the bootloader? cp - you can see an example in the installboot(8) EXAMPLES section. From lists at boudewijnector.nl Sat May 19 01:18:12 2007 From: lists at boudewijnector.nl (Boudewijn Ector) Date: Fri, 18 May 2007 17:18:12 +0200 Subject: [flashboot] Getting flashboot to boot properly In-Reply-To: <20070518140952.GO24362@bootes.spacehopper.org> References: <464AF223.9000606@boudewijnector.nl> <20070516131116.GD5246@bootes.spacehopper.org> <464D8422.1030102@boudewijnector.nl> <20070518123032.GN24362@bootes.spacehopper.org> <464DAF2F.10304@boudewijnector.nl> <20070518140952.GO24362@bootes.spacehopper.org> Message-ID: <464DC3B4.10007@boudewijnector.nl> >> How to copy the bootloader? >> > > cp - you can see an example in the installboot(8) EXAMPLES section. > Ok done that, still isn't working yet. I've done these steps on a new CF disk (clean). root at foobar ~ # fdisk -i sd0 fdisk: sysctl(machdep.bios.diskinfo): Device not configured ----------------------------------------------------- ------ ATTENTION - UPDATING MASTER BOOT RECORD ------ ----------------------------------------------------- Do you wish to write new MBR and partition table? [n] y 16 partitions: # size offset fstype [fsize bsize cpg] a: 1013728 32 4.2BSD 2048 16384 323 # Cyl 0*- 494 c: 1014048 0 unused 0 0 # Cyl 0 - 495* > d partition to delete: [] a > a a offset: [32] size: [1013728] FS type: [4.2BSD] > p device: /dev/rsd0c type: SCSI disk: SCSI disk label: Card Reader CF bytes/sector: 512 sectors/track: 32 tracks/cylinder: 64 sectors/cylinder: 2048 cylinders: 495 total sectors: 1014048 free sectors: 0 rpm: 3600 16 partitions: # size offset fstype [fsize bsize cpg] a: 1013728 32 4.2BSD 2048 16384 16 # Cyl 0*- 494 c: 101404 8 0 unused 0 0 # Cyl 0 - 495* > w > quit No label changes. root at foobar ~ # newfs sd0a Warning: 32 sector(s) in last cylinder unallocated /dev/rsd0a: 1013728 sectors in 990 cylinders of 32 tracks, 32 sectors 495.0MB in 4 cyl groups (323 c/g, 161.50MB/g, 20608 i/g) super-block backups (for fsck -b #) at: 32, 330816, 661600, 992384, root at foobar ~ # cp /usr/mdec/boot /mnt/boot root at foobar ~ # mkdir /mnt/conf root at foobar ~ # /usr/mdec/installboot -v /mnt/boot /usr/mdec/biosboot sd0 boot: /mnt/boot proto: /usr/mdec/biosboot device: /dev/rsd0c /usr/mdec/biosboot: entry point 0 proto bootblock size 512 /mnt/boot is 3 blocks x 16384 bytes fs block shift 2; part offset 32; inode block 24, offset 936 using MBR partition 3: type 166 (0xa6) offset 32 (0x20) root at foobar ~ # cp WRAP12.large.bsd /mnt/bsd From lists at boudewijnector.nl Thu May 24 18:22:18 2007 From: lists at boudewijnector.nl (Boudewijn Ector) Date: Thu, 24 May 2007 10:22:18 +0200 Subject: [flashboot] Getting flashboot to boot properly In-Reply-To: <20070518202353.GZ24362@bootes.spacehopper.org> References: <464AF223.9000606@boudewijnector.nl> <20070516131116.GD5246@bootes.spacehopper.org> <464D8422.1030102@boudewijnector.nl> <20070518123032.GN24362@bootes.spacehopper.org> <464DAF2F.10304@boudewijnector.nl> <20070518140952.GO24362@bootes.spacehopper.org> <464DC3B4.10007@boudewijnector.nl> <20070518202353.GZ24362@bootes.spacehopper.org> Message-ID: <46554B3A.2060305@boudewijnector.nl> > If that's a direct paste, you never mounted the partition after > running newfs on it... > > Hi Guys I'm still stuck, would someone be so kind to give me a hint? The commands below are entered on a 6GB MicroDrive system. This is a literal copy: root at foobar ~ # fdisk -i sd0 fdisk: sysctl(machdep.bios.diskinfo): Device not configured ----------------------------------------------------- ------ ATTENTION - UPDATING MASTER BOOT RECORD ------ ----------------------------------------------------- Do you wish to write new MBR and partition table? [n] y root at foobar ~ # fdisk sd0 fdisk: sysctl(machdep.bios.diskinfo): Device not configured Disk: sd0 geometry: 5859/64/32 [12000556 Sectors] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: id C H S - C H S [ start: size ] ------------------------------------------------------------------------ 0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused *3: A6 0 1 1 - 5858 63 32 [ 32: 11999200 ] OpenBSD root at foobar ~ # disklabel sd0 # Inside MBR partition 3: type A6 start 32 size 11999200 # /dev/rsd0c: type: SCSI disk: SCSI disk label: Card Reader CF flags: bytes/sector: 512 sectors/track: 32 tracks/cylinder: 64 sectors/cylinder: 2048 cylinders: 5859 total sectors: 12000556 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # microseconds track-to-track seek: 0 # microseconds drivedata: 0 16 partitions: # size offset fstype [fsize bsize cpg] a: 11999200 32 unused 0 0 # Cyl 0*- 5858 c: 12000556 0 unused 0 0 # Cyl 0 - 5859* root at foobar ~ # disklabel -E sd0 # Inside MBR partition 3: type A6 start 32 size 11999200 disklabel: Can't get bios geometry: Device not configured Treating sectors 32-11999232 as the OpenBSD portion of the disk. You can use the 'b' command to change this. Initial label editor (enter '?' for help at any prompt) > p device: /dev/rsd0c type: SCSI disk: SCSI disk label: Card Reader CF bytes/sector: 512 sectors/track: 32 tracks/cylinder: 64 sectors/cylinder: 2048 cylinders: 5859 total sectors: 12000556 free sectors: 11999200 rpm: 3600 16 partitions: # size offset fstype [fsize bsize cpg] a: 11999200 32 unused 0 0 # Cyl 0*- 5858 c: 12000556 0 unused 0 0 # Cyl 0 - 5859* > d partition to delete: [] a > p device: /dev/rsd0c type: SCSI disk: SCSI disk label: Card Reader CF bytes/sector: 512 sectors/track: 32 tracks/cylinder: 64 sectors/cylinder: 2048 cylinders: 5859 total sectors: 12000556 free sectors: 11999200 rpm: 3600 16 partitions: # size offset fstype [fsize bsize cpg] c: 12000556 0 unused 0 0 # Cyl 0 - 5859* > a partition: [a] offset: [32] size: [11999200] FS type: [4.2BSD] > p device: /dev/rsd0c type: SCSI disk: SCSI disk label: Card Reader CF bytes/sector: 512 sectors/track: 32 tracks/cylinder: 64 sectors/cylinder: 2048 cylinders: 5859 total sectors: 12000556 free sectors: 0 rpm: 3600 16 partitions: # size offset fstype [fsize bsize cpg] a: 11999200 32 4.2BSD 2048 16384 16 # Cyl 0*- 5858 c: 12000556 0 unused 0 0 # Cyl 0 - 5859* > w > q No label changes. root at foobar ~ # newfs sd0a Warning: 32 sector(s) in last cylinder unallocated /dev/rsd0a: 11999200 sectors in 11718 cylinders of 32 tracks, 32 sectors 5859.0MB in 37 cyl groups (323 c/g, 161.50MB/g, 20608 i/g) super-block backups (for fsck -b #) at: 32, 330816, 661600, 992384, 1323168, 1653952, 1984736, 2315520, 2646304, 2977088, 3307872, 3638656, 3969440, 4300224, 4631008, 4961792, 5292576, 5623360, 5954144, 6284928, 6615712, 6946496, 7277280, 7608064, 7938848, 8269632, 8600416, 8931200, 9261984, 9592768, 9923552, 10254336, 10584096, 10914880, 11245664, 11576448, 11907232, root at foobar ~ # mount /dev/sd0a /mnt/ root at foobar ~ # cp /usr/mdec/boot /mnt/boot root at foobar ~ # mkdir /mnt/conf root at foobar ~ # /usr/mdec/installboot -v /mnt/boot /usr/mdec/biosboot sd0 boot: /mnt/boot proto: /usr/mdec/biosboot device: /dev/rsd0c /usr/mdec/biosboot: entry point 0 proto bootblock size 512 /mnt/boot is 3 blocks x 16384 bytes fs block shift 2; part offset 32; inode block 24, offset 936 using MBR partition 3: type 166 (0xa6) offset 32 (0x20) root at foobar ~ # cp WRAP12.large.bsd /mnt/bsd root at foobar ~ # umount /bsd From russ at quist.ca Thu May 31 00:13:14 2007 From: russ at quist.ca (Russell Sutherland) Date: Wed, 30 May 2007 10:13:14 -0400 Subject: [flashboot] Additions to the SOEKRIS NET4801 kernel Message-ID: <52e934090705300713n66d17915w5a6d5b45d1f47953@mail.gmail.com> I might be a good idea to add the following lines to the kernel configuration file: ural* at uhub? # Ralink RT2500USB uath* at uhub? # Atheros AR5005UG/AR5005UX wi* at uhub? # WaveLAN IEEE 802.11DS Given that the net4801 has a USB port, this would allow for the use of a variety of USB wireless devices. Thanks in advance. -- Russell Sutherland russ AT madhaus . cns . utoronto . ca +1.416.978.0470 [ voice ] +1.416.978.6620 [ fax ]