Re: get DMI information in kernel

2006-08-24 Thread Adrian Steinmann
On Wed, Aug 23, 2006 at 02:48:10PM +0200, [EMAIL PROTECTED] wrote: > I can get the "System Informations" [using smbios] , but how do > i get "OEM Strings"? You can poke around in BIOS memory using bios_oem_strings() from sys/i386/i386/bios.c These two show you how it's done for Soekris, Advantech

Need some help on a pivot_root() syscall implementation

2006-04-26 Thread Adrian Steinmann
I have been working on an implementation of pivot_root() system call which should be a clone of the same linux system call. Description from my code (and linux/fs/namespace.c): * pivot_root Semantics: * Moves the root file system of the current process to the directory put_old, * makes new_roo

Re: Mostly static binaries with crunchgen

2005-12-21 Thread Adrian Steinmann
Excuse me, TORTIOUS vs TORTUOUS was my tort. We should never change license disclaimers however tortuous, I agree! The dynamically linked programs will clearly fail without existing /libexec/ld-elf.so and /lib/libc.so but we are speaking here of an *extension* to crunchgen configuration files whi

Re: WRAP.1E and geode.c

2005-05-22 Thread Adrian Steinmann
Walter C. Pelissero <[EMAIL PROTECTED]> started this thread with message-id <[EMAIL PROTECTED]>: it was noted that bios_string(0xf9000, 0xf9000, "PC Engines WRAP.1C " was indeed not working correctly on WRAP.1E platforms. I had been working on this problem recently and have just submitted a p

Remote installs without FD/CD

2004-01-10 Thread Adrian Steinmann
The "Discussion on the future of floppies in 5.x and 6.x" thread prompts me to report how we have been upgrading FreeBSD remotely since FreeBSD 3.x. First, we build: . custom minimal kernels for each HW type in the field; we store this kernel in /boot/maint/k.HW.gz . custom MD image for each ma

Re: BTX loader reboot on Soekris comBIOS1.22 fails (patches for btx.s and loader/main.c enclosed)

2003-11-16 Thread Adrian Steinmann
Soren We seem to have localized the loader reboot hang back to the first far jump happening in btx.s: <[EMAIL PROTECTED]> observed: > warm boot (writes 0x1234 to 0x472) and then jumps to the BIOS reboot > handler: > - ljmp $0x,$0x0 # reboot the machine >

BTX loader reboot on Soekris comBIOS1.22 fails (patches for btx.s and loader/main.c enclosed)

2003-11-15 Thread Adrian Steinmann
After "reboot" in the FreeBSD-stable BTX loader just hangs on Soekris comBIOS 1.22 Soren asked me: ... how does the loader do the actual reboot ? And does it differ from how FreeBSD otherwise reboots ? I have investigated this now: from FreeeBSD, /sbin/reboot first tries a 8042 keyboard rese

rarpd on laptops doesn't find interfaces, fix athttp://www.webgroup.ch/ast/rarpd/

2002-07-24 Thread Adrian Steinmann
FreeBSD rarpd returns "no interfaces" on say, laptops, which have removable Ethernet NICs. This can be corrected by replacing the SIOCGIFCONF ioctl() in the init() routine with getifaddrs(). OpenBSD rarpd.c (version 1.29) does it this way and hence I ported that version to -stable retrofitting th