From mail at kevin-wolf.de Tue Jul 1 22:31:27 2008 From: mail at kevin-wolf.de (Kevin Wolf) Date: Tue, 1 Jul 2008 22:31:27 +0200 Subject: [Lost] [Patch] [1/4] Service-Manager In-Reply-To: <200806292220.06495.toni@famkaufmann.info> References: <200803282231.37686.toni@famkaufmann.info> <200806281529.03572@kevin-wolf.de> <200806292220.06495.toni@famkaufmann.info> Message-ID: <200807012231.27430@kevin-wolf.de> Am Sonntag, 29. Juni 2008 22:20:06 schrieb Antoine Kaufmann: > Im Anhang die korrigierte Version Ack From mail at kevin-wolf.de Tue Jul 1 22:45:55 2008 From: mail at kevin-wolf.de (Kevin Wolf) Date: Tue, 1 Jul 2008 22:45:55 +0200 Subject: [Lost] =?utf-8?q?=5BPatch=5D_=5B4/4=5D_Service-Manager_-_Buildsys?= =?utf-8?q?tem=C3=A4nderungen?= In-Reply-To: <200806262300.03817.toni@famkaufmann.info> References: <200803282231.37686.toni@famkaufmann.info> <481447DB.8070106@kevin-wolf.de> <200806262300.03817.toni@famkaufmann.info> Message-ID: <200807012245.56852@kevin-wolf.de> Am Donnerstag, 26. Juni 2008 23:00:03 schrieb Antoine Kaufmann: > Noch ein Versuch, diesmal mit Anhang ;-) > Index: trunk/buildmk.sh > =================================================================== > --- trunk.orig/buildmk.sh > +++ trunk/buildmk.sh > @@ -37,7 +37,8 @@ shopt -s extglob >   >  INCLUDES=`echo $1 | sed -e 's#-I \?\([^ ]\+\)#-I ../\1#g'` >  NASMINCLUDES=`echo $1 | sed -e 's#-I \?\([^ ]\+\)#-I ../\1/#g'` > -LIBDIRS=`echo $2 | sed -e 's#lib/#../lib/#g'` > +LIBDIRS="$2" > + >   >  if [ -z $LOST_BUILDMK_ROOT ]; then >    export LOST_BUILDMK_ROOT="`pwd`" > @@ -59,20 +60,21 @@ FPCINCLUDES=`echo $INCLUDES | sed -e 's# >   >  if [ -d lib ]; then >      if [ -f lib/prt0.asm ]; then > -        LIBDIRS="lib/prt0.o $LIBDIRS" > +        LIBDIRS="`pwd`/lib/prt0.o $LIBDIRS" >      fi > -    LIBDIRS="lib/library.a $LIBDIRS" > +    LIBDIRS="`pwd`/lib/library.a $LIBDIRS" >  fi >   >  CC_FLAGS= > +CC_FLAGS_APPEND= >  if [ -f Makefile.conf ]; then >      source Makefile.conf >  fi >   >  cat < Makefile > -CC=$LOST_TOOLS_GCC $CC_FLAGS $INCLUDES > +CC=$LOST_TOOLS_GCC $CC_FLAGS $INCLUDES $CC_FLAGS_APPEND >  CPP=$LOST_TOOLS_GPP $INCLUDES > -PPC=fpc -n -Cn -CX -Tlost $FPCINCLUDES -Fu../lib/units -Fu../units > +PPC=$LOST_TOOLS_PPC -n -Cn -CX -Tlost $FPCINCLUDES -Fu../lib/units > -Fu../units >  ASM_ELF=nasm -felf -O99 $NASMINCLUDES >  ASM_BIN=nasm -fbin -O99 > @@ -215,7 +217,7 @@ clean: >         rm -f *.o *.a *.mod >         for file in *; do if [ -f "\$\$file/Makefile" -a ! -f > "\$\$file/.nobuild" ]; then make -sC "\$\$file" clean; rm > "\$\$file/Makefile"; fi done   > -.SILENT: all makefiles subdirs obj clean image > +.SILENT: all makefiles subdirs obj clean clean_root updateroot > image-floppy image-hd test-qemu test-qemu-hd EOF >   >  if [ "$LOST_BUILDMK_ROOT" == "`pwd`" ]; then > @@ -223,59 +225,27 @@ cat <> Makefile >  clean: clean_root >   >  clean_root: > -       @rm -f build/lost.img > -       @rm -f build/output/apps/* build/output/modules/* > build/output/kernel/* build/output/gz/*/* +       rm -rf build/images/* > build/root/* > +       rm -f build/output/apps/* build/output/modules/* > build/output/kernel/* build/output/gz/*/* +       rm -f qemu.log >   > -internal_image: > -       if ! [ -f build/lost.img ]; then \ > -        PATH=\$\$PATH:/sbin:/usr/sbin:/usr/local/sbin ;\ > -               dd if=/dev/zero of=build/lost.img bs=1024 count=1440 ;\ > -               mkfs.msdos build/lost.img ;\ > -               mmd -i build/lost.img ::/boot ;\ > -               mmd -i build/lost.img ::/boot/grub ;\ > -               mmd -i build/lost.img ::/modules ;\ > -               mmd -i build/lost.img ::/apps ;\ > -               mcopy -i build/lost.img /boot/grub/stage? ::/boot/grub ;\ > -               mcopy -i build/lost.img build/default.cfg > ::/boot/grub/menu.lst ;\ -               echo device '(fd0)' build/lost.img > > build/grub.txt ;\ -               echo root '(fd0)' >> build/grub.txt ;\ > -               echo setup '(fd0)' >> build/grub.txt ;\ > -               grub --batch < build/grub.txt ;\ > -               rm build/grub.txt ;\ > -       fi > -        > -       for i in build/output/kernel/*; do \ > -               gzip -c \$\$i > build/output/gz/kernel/\`basename \$\$i\` > ;\ -       done > -        > -       for i in build/output/modules/*; do \ > -               gzip -c \$\$i > build/output/gz/modules/\`basename \$\$i\` > ;\ -       done > - > -       for i in build/output/apps/*; do \ > -               gzip -c \$\$i > build/output/gz/apps/\`basename \$\$i\` ;\ > -       done > -        > -        > -       mcopy -D o -i build/lost.img build/default.cfg > ::/boot/grub/menu.lst - > -       mcopy -D o -i build/lost.img build/output/gz/kernel/* ::/boot/ > -       mcopy -D o -i build/lost.img build/output/gz/modules/* ::/modules/ > -       mcopy -D o -i build/lost.img build/output/gz/apps/* ::/apps/ > -       mcopy -D o -i build/lost.img build/root/* ::/ > - > -image: > -       make --no-print-directory -s all > -       make --no-print-directory -s internal_image > +updateroot: subdirs > +       build/scripts/updateroot >   > -simage: > -       make --no-print-directory -s subdirs > -       make --no-print-directory -s internal_image > +image-floppy: updateroot > +       build/scripts/image_floppy > + > +image-hd: updateroot > +       build/scripts/image_hd >          > -test-qemu: image > -       qemu -serial stdio -fda build/lost.img -boot a > +test-qemu: image-floppy > +       qemu -serial stdio -fda build/images/floppy.img -boot a -net user > -net nic,model=rtl8139 | tee qemu-serial.log + > +test-qemu-hd: image-hd > +       rm -f qemu.log > +       qemu -serial stdio -hda build/images/hd.img -net user -net > nic,model=rtl8139 | tee qemu.log qemu.log ist auch bei Festplatten ein schlechter Name. > Index: trunk/build/scripts/image_floppy > =================================================================== > --- /dev/null > +++ trunk/build/scripts/image_floppy > @@ -0,0 +1,83 @@ > +#!/bin/bash > + > +# Copyright (c) 2008 The LOST Project. All rights reserved. > +# > +# This code is derived from software contributed to the LOST Project > +# by Antoine Kaufmann. > +# > +# Redistribution and use in source and binary forms, with or without > +# modification, are permitted provided that the following conditions > +# are met: > +# 1. Redistributions of source code must retain the above copyright > +#    notice, this list of conditions and the following disclaimer. > +# 2. Redistributions in binary form must reproduce the above copyright > +#    notice, this list of conditions and the following disclaimer in the > +#    documentation and/or other materials provided with the distribution. > +# 3. All advertising materials mentioning features or use of this software > +#    must display the following acknowledgement: > +#     This product includes software developed by the LOST Project > +#     and its contributors. > +# 4. Neither the name of the LOST Project nor the names of its > +#    contributors may be used to endorse or promote products derived > +#    from this software without specific prior written permission. > +# > +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS > +# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT > LIMITED +# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A > PARTICULAR +# PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT > HOLDERS OR +# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, > SPECIAL, +# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED > TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR > PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF > LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING > NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS > SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. > + > +ROOT=build/root > +ROOT_COMMON=build/root-common > +ROOT_FLOPPY=build/root-floppy > +source build/config/image_floppy.sh > + > +export PATH="/sbin:/usr/sbin:$PATH" > +export MTOOLSRC=lostmtools.conf > + > +# Konfigurationsdatei fuer mtools generieren > +cat << EOF > $MTOOLSRC > +drive l: > +    file="$IMAGE_PATH" cylinders=80 heads=2 sectors=18 filter > +EOF > + > +# Wenn das Image neu erstellt werden muss, kommen noch ein paar schritte > mehr +# dazu. > +NEW=0 > +if ! [ -f $IMAGE_PATH ]; then > +    # Leeres Image erstellen und formatieren > +    dd if=/dev/zero of=$IMAGE_PATH bs=1024 count=1440 > +    mformat l: > +    NEW=1 > +fi > + > + > +mcopy -D o -s $ROOT/* $ROOT_COMMON/* $ROOT_FLOPPY/* l:/ > + > +# Grub-Konfiguration kopieren > +mcopy -D o build/config/grub_floppy.cfg l:/boot/grub/menu.lst > + > +if [ $NEW -ne 0 ]; then > +    # Grub kopieren und installieren > +    mmd -D s l:/boot/grub > +    mcopy -D o $LOST_GRUB_STAGESDIR/stage? l:/boot/grub/ > + > +    echo device '(fd0)' $IMAGE_PATH > build/grub.txt > +    echo root '(fd0)' >> build/grub.txt > +    echo setup '(fd0)' >> build/grub.txt > +    $LOST_TOOLS_GRUB --batch < build/grub.txt < +    device (fd0) $IMAGE_PATH > +    root (fd0) > +    setup (fd0) > +EOF Huch? Doppelt hält besser oder wieso trotzdem noch die Datei? > +    rm build/grub.txt > +fi > + > +# Konfigurationsdatei fuer mtools wieder loeschen > +rm -f $MTOOLSRC > Index: trunk/build/scripts/image_hd > =================================================================== > --- /dev/null > +++ trunk/build/scripts/image_hd > @@ -0,0 +1,110 @@ > +#!/bin/bash > + > +# Copyright (c) 2008 The LOST Project. All rights reserved. > +# > +# This code is derived from software contributed to the LOST Project > +# by Antoine Kaufmann. > +# > +# Redistribution and use in source and binary forms, with or without > +# modification, are permitted provided that the following conditions > +# are met: > +# 1. Redistributions of source code must retain the above copyright > +#    notice, this list of conditions and the following disclaimer. > +# 2. Redistributions in binary form must reproduce the above copyright > +#    notice, this list of conditions and the following disclaimer in the > +#    documentation and/or other materials provided with the distribution. > +# 3. All advertising materials mentioning features or use of this software > +#    must display the following acknowledgement: > +#     This product includes software developed by the LOST Project > +#     and its contributors. > +# 4. Neither the name of the LOST Project nor the names of its > +#    contributors may be used to endorse or promote products derived > +#    from this software without specific prior written permission. > +# > +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS > +# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT > LIMITED +# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A > PARTICULAR +# PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT > HOLDERS OR +# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, > SPECIAL, +# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED > TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR > PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF > LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING > NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS > SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. > + > +ROOT=build/root > +ROOT_COMMON=build/root-common > +ROOT_HD=build/root-hd > +MOUNT=build/mnt > +SUDO=sudo > + > +export LOST_BUILDMK_ROOT="`pwd`" > +source build/config/image_hd.sh > +source config.sh > + > +die() > +{ > +    echo $1 > +    exit -1 > +} > + > +# Wenn das Image neu erstellt werden muss, kommen noch ein paar schritte > mehr +# dazu. > +NEW=0 > +if ! [ -f $IMAGE_PATH ]; then > +    # Leeres Image erstellen und formatieren > +    dd if=/dev/zero of=$IMAGE_PATH bs=$((1024*1024)) count=$IMAGE_SIZE 2> > /dev/null +    build/scripts/create_partition $IMAGE_PATH > +    NEW=1 > +fi > + > + > +# Start und Ende der Partition einlesen > +PARTITIONS="`build/scripts/get_partition $IMAGE_PATH`" > +PART_START=`echo $PARTITIONS | awk '{print $1}'` > +PART_SIZE=`echo $PARTITIONS | awk '{print $2}'` > + > +if [ $NEW -ne 0 ]; then > +    PART_IMAGE=`tempfile` > +    dd if=$IMAGE_PATH of=$PART_IMAGE bs=512 skip=$PART_START > count=$PART_SIZE + > +    # Dateisystem erstellen > +    $LOST_TOOLS_MKE2FS -F -q -r0 $PART_IMAGE || die "Dateisystem konnte > nicht erstellt werden" + > +    dd if=$PART_IMAGE of=$IMAGE_PATH bs=512 seek=$PART_START > count=$PART_SIZE +    rm $PART_IMAGE > +fi > + > +# Partition mounten > +mkdir -p $MOUNT > +$SUDO mount $IMAGE_PATH $MOUNT -o loop,offset=$((${PART_START} * 512)) > +$SUDO chmod 777 -R $MOUNT > + > +# Daten Kopieren > +cp -rP --preserve=links,timestamps $ROOT/* $ROOT_COMMON/* $ROOT_HD/* > $MOUNT/ + > +# GRUB-Konfiguration kopieren > +mkdir -p $MOUNT/boot/grub > +cp build/config/grub_hd.cfg $MOUNT/boot/grub/menu.lst > + > + > +# Grub kopieren > +if [ $NEW -ne 0 ]; then > +    cp $LOST_GRUB_STAGESDIR/stage? $MOUNT/boot/grub/ > +fi > + > +# Partition unmounten und loopback-Device freigeben > +$SUDO umount $MOUNT > +rmdir $MOUNT > + > + > +# Grub installieren > +if [ $NEW -ne 0 ]; then > +    $LOST_TOOLS_GRUB --no-floppy --batch > /dev/null < +    device (hd0) $IMAGE_PATH > +    root (hd0,0) > +    setup (hd0) > +EOF Hier hast du es ja auch richtig ;-) > +fi > + > Index: trunk/build/scripts/updateroot > =================================================================== > --- /dev/null > +++ trunk/build/scripts/updateroot > @@ -0,0 +1,60 @@ > +#!/bin/bash > + > +# Copyright (c) 2006 The LOST Project. All rights reserved. > +# > +# This code is derived from software contributed to the LOST Project > +# by Kevin Wolf. > +# > +# Redistribution and use in source and binary forms, with or without > +# modification, are permitted provided that the following conditions > +# are met: > +# 1. Redistributions of source code must retain the above copyright > +#    notice, this list of conditions and the following disclaimer. > +# 2. Redistributions in binary form must reproduce the above copyright > +#    notice, this list of conditions and the following disclaimer in the > +#    documentation and/or other materials provided with the distribution. > +# 3. All advertising materials mentioning features or use of this software > +#    must display the following acknowledgement: > +#     This product includes software developed by the LOST Project > +#     and its contributors. > +# 4. Neither the name of the LOST Project nor the names of its > +#    contributors may be used to endorse or promote products derived > +#    from this software without specific prior written permission. > +# > +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS > +# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT > LIMITED +# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A > PARTICULAR +# PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT > HOLDERS OR +# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, > SPECIAL, +# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED > TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR > PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF > LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING > NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS > SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. > + > + > +ROOT=build/root > +OUTPUT=build/output > + > +# Verzeichnisstruktur anlegen > +mkdir -p $ROOT/boot/grub > +mkdir -p $ROOT/apps > +mkdir -p $ROOT/modules > + > +# Module Komprimieren und auf Image kopieren > +for f in $OUTPUT/modules/*; do > +    gzip -c $f > $ROOT/modules/`basename $f .mod` > +done > + > +# Anwendungen komprimieren und auf Image kopieren > +for f in $OUTPUT/apps/*; do > +    gzip -c $f > $ROOT/apps/`basename $f` > +done > + > +# Kernel komprimieren und auf Image kopieren > +for f in $OUTPUT/kernel/*; do > +    gzip -c $f > $ROOT/boot/`basename $f .krn` > +done > + > + Beim Rest fällt mir im Moment keine Kaputtheit auf. Du kannst nach dem Korrigieren direkt einchecken. From mail at kevin-wolf.de Wed Jul 2 23:42:13 2008 From: mail at kevin-wolf.de (Kevin Wolf) Date: Wed, 2 Jul 2008 23:42:13 +0200 Subject: [Lost] =?iso-8859-1?q?=5BPatch=5D_LostIO-read-Handler_bekommen_Bu?= =?iso-8859-1?q?ffer_=FCbergeben?= Message-ID: <200807022342.13882@kevin-wolf.de> * LostIO: read-Handler bekommen einen Buffer übergeben anstatt einen zu allozieren. Das spart im Fall von SHM eine Kopie der Daten ein und bei Daten über RPC immerhin noch das malloc bzw. realloc. -------------- nächster Teil -------------- Ein Dateianhang mit Binärdaten wurde abgetrennt... Dateiname : lostio-read-avoid-memcpy.patch Dateityp : text/x-diff Dateigröße : 33633 bytes Beschreibung: nicht verfügbar URL : From mail at kevin-wolf.de Wed Jul 2 23:58:46 2008 From: mail at kevin-wolf.de (Kevin Wolf) Date: Wed, 2 Jul 2008 23:58:46 +0200 Subject: [Lost] =?iso-8859-1?q?=5BPatch=5D_gcc_4=2E3=3A_Warnungen_=FCber_u?= =?iso-8859-1?q?nvollst=E4ndige_Prototypen?= Message-ID: <200807022358.46508@kevin-wolf.de> ! Immer komplette Prototypen spezifizieren, d.h. vor allem keine leere Parameterliste foo(), sondern foo(void) - behebt Warnungen mit gcc 4.3 -------------- nächster Teil -------------- Ein Dateianhang mit Binärdaten wurde abgetrennt... Dateiname : gcc43-warnings.patch Dateityp : text/x-diff Dateigröße : 1497 bytes Beschreibung: nicht verfügbar URL : From toni at famkaufmann.info Thu Jul 3 10:58:53 2008 From: toni at famkaufmann.info (Antoine Kaufmann) Date: Thu, 3 Jul 2008 10:58:53 +0200 Subject: [Lost] =?utf-8?q?=5BPatch=5D_gcc_4=2E3=3A_Warnungen_=C3=BCber_unv?= =?utf-8?q?ollst=C3=A4ndige_Prototypen?= In-Reply-To: <200807022358.46508@kevin-wolf.de> References: <200807022358.46508@kevin-wolf.de> Message-ID: <200807031058.53549.toni@famkaufmann.info> Am Mittwoch, 2. Juli 2008 23.58:46 schrieb Kevin Wolf: > ! Immer komplette Prototypen spezifizieren, d.h. vor allem keine leere > Parameterliste foo(), sondern foo(void) - behebt Warnungen mit gcc 4.3 Ack. From mail at kevin-wolf.de Fri Jul 4 00:03:34 2008 From: mail at kevin-wolf.de (Kevin Wolf) Date: Fri, 4 Jul 2008 00:03:34 +0200 Subject: [Lost] [Patch] kernel: Kernelspace-PDEs synchronisieren Message-ID: <200807040003.34955@kevin-wolf.de> ! kernel: Direkt unterhalb von 4 GB ist nicht das urspruengliche Kernel-PD gemappt, sondern das PD des aktuellen Tasks ! kernel: Wenn fuer den Kernelspace eine neue PT benoetigt wird, muss das Page Directory in allen Tasks geaendert werden -------------- nächster Teil -------------- Ein Dateianhang mit Binärdaten wurde abgetrennt... Dateiname : sync-kernel-pd.patch Dateityp : text/x-diff Dateigröße : 6424 bytes Beschreibung: nicht verfügbar URL : From toni at famkaufmann.info Fri Jul 4 22:31:40 2008 From: toni at famkaufmann.info (Antoine Kaufmann) Date: Fri, 4 Jul 2008 22:31:40 +0200 Subject: [Lost] [Patch] [3/4] Service-Manager - Konfiguration In-Reply-To: <200806262345.30191@kevin-wolf.de> References: <200803282231.37686.toni@famkaufmann.info> <200806262252.28428.toni@famkaufmann.info> <200806262345.30191@kevin-wolf.de> Message-ID: <200807042231.40936.toni@famkaufmann.info> Am Donnerstag, 26. Juni 2008 23.45:29 schrieb Kevin Wolf: > Am Donnerstag, 26. Juni 2008 22:52:28 schrieb Antoine Kaufmann: > > Die Konfiguration um den Bootprozess auf servmgr umzustellen > > Sieht im großen und ganzen ok aus, aber ich glaube, das meiste davon könnte > nach root-common. > > Außerdem bin ich aus zwei Gründen mit dem mount nicht ganz einverstanden: > Zum einen gefällt es mir nicht, daß das nur als Abhängigkeit von getterm > nachgezogen wird, es sollte eher auch in default rein. Zum anderen scheint > mir nowait nicht das richtige zu sein - servmgr sollte warten, bis mount > beendet ist. Ok ich habe jetzt ein waitterminate eingeführt. -------------- nächster Teil -------------- Ein Dateianhang mit Binärdaten wurde abgetrennt... Dateiname : servmgr-config.patch Dateityp : text/x-diff Dateigröße : 4812 bytes Beschreibung: nicht verfügbar URL : -------------- nächster Teil -------------- Ein Dateianhang mit Binärdaten wurde abgetrennt... Dateiname : servmgr-waitterm.patch Dateityp : text/x-diff Dateigröße : 2212 bytes Beschreibung: nicht verfügbar URL : From mail at kevin-wolf.de Fri Jul 4 22:51:08 2008 From: mail at kevin-wolf.de (Kevin Wolf) Date: Fri, 4 Jul 2008 22:51:08 +0200 Subject: [Lost] [Patch] [3/4] Service-Manager - Konfiguration In-Reply-To: <200807042231.40936.toni@famkaufmann.info> References: <200803282231.37686.toni@famkaufmann.info> <200806262345.30191@kevin-wolf.de> <200807042231.40936.toni@famkaufmann.info> Message-ID: <200807042251.08649@kevin-wolf.de> Am Freitag, 4. Juli 2008 22:31:40 schrieb Antoine Kaufmann: > Am Donnerstag, 26. Juni 2008 23.45:29 schrieb Kevin Wolf: > > Am Donnerstag, 26. Juni 2008 22:52:28 schrieb Antoine Kaufmann: > > > Die Konfiguration um den Bootprozess auf servmgr umzustellen > > > > Sieht im großen und ganzen ok aus, aber ich glaube, das meiste davon > > könnte nach root-common. > > > > Außerdem bin ich aus zwei Gründen mit dem mount nicht ganz einverstanden: > > Zum einen gefällt es mir nicht, daß das nur als Abhängigkeit von getterm > > nachgezogen wird, es sollte eher auch in default rein. Zum anderen > > scheint mir nowait nicht das richtige zu sein - servmgr sollte warten, > > bis mount beendet ist. > > Ok ich habe jetzt ein waitterminate eingeführt. Ack From toni at famkaufmann.info Sat Jul 5 00:09:21 2008 From: toni at famkaufmann.info (Antoine Kaufmann) Date: Sat, 5 Jul 2008 00:09:21 +0200 Subject: [Lost] =?utf-8?q?=5BPatch=5D_LostIO-read-Handler_bekommen_Buffer_?= =?utf-8?q?=C3=BCbergeben?= In-Reply-To: <200807022342.13882@kevin-wolf.de> References: <200807022342.13882@kevin-wolf.de> Message-ID: <200807050009.21802.toni@famkaufmann.info> Am Mittwoch, 2. Juli 2008 23.42:13 schrieb Kevin Wolf: > * LostIO: read-Handler bekommen einen Buffer übergeben anstatt einen zu > allozieren. Das spart im Fall von SHM eine Kopie der Daten ein und bei > Daten über RPC immerhin noch das malloc bzw. realloc. Endlich ack. ;-) From toni at famkaufmann.info Sat Jul 5 12:16:40 2008 From: toni at famkaufmann.info (Antoine Kaufmann) Date: Sat, 5 Jul 2008 12:16:40 +0200 Subject: [Lost] [Patch] sysinfo: Warnungen mit gcc-4.3.1 Message-ID: <200807051216.40263.toni@famkaufmann.info> ! sysinfo: Warnung in cpuid gefixt wegen uninitialisiertem verwenden der Parameter -------------- nächster Teil -------------- Ein Dateianhang mit Binärdaten wurde abgetrennt... Dateiname : lost-gcc431.patch Dateityp : text/x-diff Dateigröße : 508 bytes Beschreibung: nicht verfügbar URL : From mail at kevin-wolf.de Sat Jul 5 13:53:06 2008 From: mail at kevin-wolf.de (Kevin Wolf) Date: Sat, 5 Jul 2008 13:53:06 +0200 Subject: [Lost] [Patch] shell: bench-Befehl Message-ID: <200807051353.06946@kevin-wolf.de> + shell: bench für Lesebenchmarks auf einer Datei -------------- nächster Teil -------------- Ein Dateianhang mit Binärdaten wurde abgetrennt... Dateiname : shell-bench.patch Dateityp : text/x-diff Dateigröße : 5231 bytes Beschreibung: nicht verfügbar URL : From mail at kevin-wolf.de Sat Jul 5 14:40:39 2008 From: mail at kevin-wolf.de (Kevin Wolf) Date: Sat, 5 Jul 2008 14:40:39 +0200 Subject: [Lost] =?utf-8?q?=5BPatch=5D_LostIO-read-Handler_bekommen_Buffer_?= =?utf-8?q?=C3=BCbergeben?= In-Reply-To: <200807022342.13882@kevin-wolf.de> References: <200807022342.13882@kevin-wolf.de> Message-ID: <200807051440.40158@kevin-wolf.de> Am Mittwoch, 2. Juli 2008 23:42:13 schrieb Kevin Wolf: > * LostIO: read-Handler bekommen einen Buffer übergeben anstatt einen zu > allozieren. Das spart im Fall von SHM eine Kopie der Daten ein und bei > Daten über RPC immerhin noch das malloc bzw. realloc. Neue Version mit directory.c -------------- nächster Teil -------------- Ein Dateianhang mit Binärdaten wurde abgetrennt... Dateiname : lostio-read-avoid-memcpy.patch Dateityp : text/x-diff Dateigröße : 37846 bytes Beschreibung: nicht verfügbar URL : From mail at kevin-wolf.de Sat Jul 5 23:23:25 2008 From: mail at kevin-wolf.de (Kevin Wolf) Date: Sat, 5 Jul 2008 23:23:25 +0200 Subject: [Lost] [Patch] shell: bench-Befehl In-Reply-To: <200807051353.06946@kevin-wolf.de> References: <200807051353.06946@kevin-wolf.de> Message-ID: <200807052323.26706@kevin-wolf.de> Am Samstag, 5. Juli 2008 13:53:06 schrieb Kevin Wolf: > + shell: bench für Lesebenchmarks auf einer Datei So ist er besser -------------- nächster Teil -------------- Ein Dateianhang mit Binärdaten wurde abgetrennt... Dateiname : shell-bench.patch Dateityp : text/x-diff Dateigröße : 5378 bytes Beschreibung: nicht verfügbar URL : From toni at famkaufmann.info Sun Jul 6 16:15:32 2008 From: toni at famkaufmann.info (Antoine Kaufmann) Date: Sun, 6 Jul 2008 16:15:32 +0200 Subject: [Lost] [Patch] kernel: Kernelspace-PDEs synchronisieren In-Reply-To: <200807040003.34955@kevin-wolf.de> References: <200807040003.34955@kevin-wolf.de> Message-ID: <200807061615.33081.toni@famkaufmann.info> Am Freitag, 4. Juli 2008 00.03:34 schrieb Kevin Wolf: > ! kernel: Direkt unterhalb von 4 GB ist nicht das urspruengliche Kernel-PD > gemappt, sondern das PD des aktuellen Tasks > ! kernel: Wenn fuer den Kernelspace eine neue PT benoetigt wird, muss das > Page Directory in allen Tasks geaendert werden Sieht gut aus. From mail at kevin-wolf.de Sun Jul 6 17:05:03 2008 From: mail at kevin-wolf.de (Kevin Wolf) Date: Sun, 6 Jul 2008 17:05:03 +0200 Subject: [Lost] [Patch] sysinfo: Warnungen mit gcc-4.3.1 In-Reply-To: <200807051216.40263.toni@famkaufmann.info> References: <200807051216.40263.toni@famkaufmann.info> Message-ID: <200807061705.03773@kevin-wolf.de> Am Samstag, 5. Juli 2008 12:16:40 schrieb Antoine Kaufmann: > ! sysinfo: Warnung in cpuid gefixt wegen uninitialisiertem verwenden der > Parameter So geht's nicht. Ich nehme an, stultus hat eax absichtlich mit unterschiedlichen Werten befüllt, und nicht damit du es mit 0 überschreiben kannst... ;-) So ist es besser: Index: cpuid.c =================================================================== --- cpuid.c (Revision 790) +++ cpuid.c (Arbeitskopie) @@ -135,6 +135,7 @@ cpuid_1 cpuid_level_1() { cpuid_1 result; + memset(&result, 0, sizeof(result)); result.eax = 1; cpuid(&result.eax, &result.ebx, &result.ecx, &result.edx); return result; @@ -173,6 +174,7 @@ cpuid_e1 cpuid_level_e1() { cpuid_e1 result; + memset(&result, 0, sizeof(result)); result.eax = 0x80000001; cpuid(&result.eax, &result.ebx, &result.ecx, &result.edx); return result; From mail at kevin-wolf.de Sun Jul 27 12:06:11 2008 From: mail at kevin-wolf.de (Kevin Wolf) Date: Sun, 27 Jul 2008 12:06:11 +0200 Subject: [Lost] =?iso-8859-1?q?=5BPatch=5D_Fix_f=FCr_Race_in_rtl8139?= Message-ID: <200807271206.11890@kevin-wolf.de> ! rtl8139: Zuerst den nächsten Tx-Deskriptor auswählen und dann senden. Verhindert ein Race, wenn das TOK und damit möglicherweise auch der nächste Send zu früh kommt. -------------- nächster Teil -------------- Ein Dateianhang mit Binärdaten wurde abgetrennt... Dateiname : rtl8139.patch Dateityp : text/x-diff Dateigröße : 2602 bytes Beschreibung: nicht verfügbar URL : From toni at famkaufmann.info Mon Jul 28 17:02:20 2008 From: toni at famkaufmann.info (Antoine Kaufmann) Date: Mon, 28 Jul 2008 17:02:20 +0200 Subject: [Lost] =?utf-8?q?=5BPatch=5D_Tabcompletion_f=C3=BCr_readline=28?= =?utf-8?q?=29_und_shell?= Message-ID: <200807281702.20467.toni@famkaufmann.info> + libc: Tab-Completion fuer readline() + shell: Tab-Completion -------------- nächster Teil -------------- Ein Dateianhang mit Binärdaten wurde abgetrennt... Dateiname : completion.patch Dateityp : text/x-diff Dateigröße : 12232 bytes Beschreibung: nicht verfügbar URL : From mail at kevin-wolf.de Thu Jul 31 18:07:13 2008 From: mail at kevin-wolf.de (Kevin Wolf) Date: Thu, 31 Jul 2008 18:07:13 +0200 Subject: [Lost] [Patch] kernel2: Exceptions Message-ID: <200807311807.14020@kevin-wolf.de> * kernel2: Exceptionmeldungen haben roten Hintergrund + kernel2: Exceptionmeldungen enthalten PID und cmdline des aktuellen Prozesses -------------- nächster Teil -------------- Ein Dateianhang mit Binärdaten wurde abgetrennt... Dateiname : kernel2-exceptions.patch Dateityp : text/x-diff Dateigröße : 910 bytes Beschreibung: nicht verfügbar URL : From mail at kevin-wolf.de Thu Jul 31 18:09:28 2008 From: mail at kevin-wolf.de (Kevin Wolf) Date: Thu, 31 Jul 2008 18:09:28 +0200 Subject: [Lost] [Patch] kernel2: syscall_pm_v muss Prozess freigeben Message-ID: <200807311809.28636@kevin-wolf.de> ! kernel2: syscall_pm_v muss einen geblockten Prozess (Standardzustand nach dem Erstellen eines neuen Prozesses) freigeben -------------- nächster Teil -------------- Ein Dateianhang mit Binärdaten wurde abgetrennt... Dateiname : kernel2-fix-syscall-v.patch Dateityp : text/x-diff Dateigröße : 625 bytes Beschreibung: nicht verfügbar URL : From mail at kevin-wolf.de Thu Jul 31 18:24:09 2008 From: mail at kevin-wolf.de (Kevin Wolf) Date: Thu, 31 Jul 2008 18:24:09 +0200 Subject: [Lost] [Patch 1/3] kernel2: RPC Message-ID: <200807311824.09985@kevin-wolf.de> + kernel2: mmc_automap_user() mappt virtuell zusammenhängenden Speicher aus einem anderen Kontext (z.B. den Stack eines Tasks, der per RPC aufgerufen werden soll) + kernel2: syscall_fastrpc + kernel2: syscall_fastrpc_ret Dieser Patch ist irgendwas zwischen ziemlich und extrem kaputt. Ich würde es trotzdem vorziehen, ihn erstmal so einzuchecken und die Details später zu fixen. -------------- nächster Teil -------------- Ein Dateianhang mit Binärdaten wurde abgetrennt... Dateiname : kernel2-rpc.patch Dateityp : text/x-diff Dateigröße : 22298 bytes Beschreibung: nicht verfügbar URL : From mail at kevin-wolf.de Thu Jul 31 18:26:50 2008 From: mail at kevin-wolf.de (Kevin Wolf) Date: Thu, 31 Jul 2008 18:26:50 +0200 Subject: [Lost] [Patch 2/3] kernel2: wait_for_rpc In-Reply-To: <200807311824.09985@kevin-wolf.de> References: <200807311824.09985@kevin-wolf.de> Message-ID: <200807311826.50215@kevin-wolf.de> + kernel2: syscall_wait_for_rpc -------------- nächster Teil -------------- Ein Dateianhang mit Binärdaten wurde abgetrennt... Dateiname : kernel2-wait-for-rpc.patch Dateityp : text/x-diff Dateigröße : 1618 bytes Beschreibung: nicht verfügbar URL : From toni at famkaufmann.info Thu Jul 31 18:33:35 2008 From: toni at famkaufmann.info (Antoine Kaufmann) Date: Thu, 31 Jul 2008 18:33:35 +0200 Subject: [Lost] [Patch] kernel2: Exceptions In-Reply-To: <200807311807.14020@kevin-wolf.de> References: <200807311807.14020@kevin-wolf.de> Message-ID: <200807311833.35958.toni@famkaufmann.info> Am Donnerstag, 31. Juli 2008 18.07:13 schrieb Kevin Wolf: > * kernel2: Exceptionmeldungen haben roten Hintergrund > + kernel2: Exceptionmeldungen enthalten PID und cmdline des aktuellen > Prozesses Ack From toni at famkaufmann.info Thu Jul 31 18:41:30 2008 From: toni at famkaufmann.info (Antoine Kaufmann) Date: Thu, 31 Jul 2008 18:41:30 +0200 Subject: [Lost] [Patch] kernel2: syscall_pm_v muss Prozess freigeben In-Reply-To: <200807311809.28636@kevin-wolf.de> References: <200807311809.28636@kevin-wolf.de> Message-ID: <200807311841.30840.toni@famkaufmann.info> Am Donnerstag, 31. Juli 2008 18.09:28 schrieb Kevin Wolf: > ! kernel2: syscall_pm_v muss einen geblockten Prozess (Standardzustand nach > dem Erstellen eines neuen Prozesses) freigeben Sieht gut aus, falls das keine Probleme macht wenn ich pid=0x133742 übergbe. ;-) From mail at kevin-wolf.de Thu Jul 31 18:27:27 2008 From: mail at kevin-wolf.de (Kevin Wolf) Date: Thu, 31 Jul 2008 18:27:27 +0200 Subject: [Lost] [Patch 3/3] kernel2: v_and_wait_for_rpc In-Reply-To: <200807311824.09985@kevin-wolf.de> References: <200807311824.09985@kevin-wolf.de> Message-ID: <200807311827.27929@kevin-wolf.de> + kernel2: v_and_wait_for_rpc -------------- nächster Teil -------------- Ein Dateianhang mit Binärdaten wurde abgetrennt... Dateiname : kernel2-v-and-wait-for-rpc.patch Dateityp : text/x-diff Dateigröße : 1651 bytes Beschreibung: nicht verfügbar URL :