make Fehler bei deutschem Keyboard Layout im Kernel

crotchmaster

happy BSD user
Hi,

ich habe mal wieder eine OpenBSD-Problem.

Ich möchte gerne ein deutsches Keyboardlayout im single user mode haben und habe entsprechend der man Page von pckbd die GENERIC Kernelkonfigurationsdatei bearbeitet und folgende Zeile eingefügt:

Code:
option  PCKBD_LAYOUT="(KB_DE|KB_NODEAD)"

config GENERIC läuft noch ohne Fehler durch. Gehe ich ins Verzeichnis ../compile/GENERIC und mache dort ein make clean, make depend o. make, erhalte ich eine Fehlermeldung wie folgende für make clean:

Code:
# cd ../compile/GENERIC/
# make clean
mkdir -p /usr/src/sys/arch/i386/compile/GENERIC/lib/kern
cleaning the kern library objects
rm -f a.out [Ee]rrs mklog core *.core libkern.o libkern.po
rm -f libkern.a __main.o imax.o imin.o lmax.o lmin.o max.o min.o ulmax.o ulmin.o memchr.o memcmp.o bcmp
.o ffs.o memset.o strcmp.o strlcat.o strlcpy.o strlen.o strncmp.o strncpy.o scanc.o skpc.o locc.o htonl
.o htons.o ntohl.o ntohs.o strncasecmp.o adddi3.o anddi3.o ashldi3.o ashrdi3.o cmpdi2.o divdi3.o iordi3
.o lshldi3.o lshrdi3.o moddi3.o muldi3.o negdi2.o notdi2.o qdivrem.o subdi3.o ucmpdi2.o udivdi3.o umodd
i3.o xordi3.o getsn.o srandom.o bcd.o strchr.o
rm -f libkern_g.a __main.go imax.go imin.go lmax.go lmin.go max.go min.go ulmax.go ulmin.go memchr.go m
emcmp.go bcmp.go ffs.go memset.go strcmp.go strlcat.go strlcpy.go strlen.go strncmp.go strncpy.go scanc
.go skpc.go locc.go htonl.go htons.go ntohl.go ntohs.go strncasecmp.go adddi3.go anddi3.go ashldi3.go a
shrdi3.go cmpdi2.go divdi3.go iordi3.go lshldi3.go lshrdi3.go moddi3.go muldi3.go negdi2.go notdi2.go q
divrem.go subdi3.go ucmpdi2.go udivdi3.go umoddi3.go xordi3.go getsn.go srandom.go bcd.go strchr.go
rm -f libkern_p.a __main.po imax.po imin.po lmax.po lmin.po max.po min.po ulmax.po ulmin.po memchr.po m
emcmp.po bcmp.po ffs.po memset.po strcmp.po strlcat.po strlcpy.po strlen.po strncmp.po strncpy.po scanc
.po skpc.po locc.po htonl.po htons.po ntohl.po ntohs.po strncasecmp.po adddi3.po anddi3.po ashldi3.po a
shrdi3.po cmpdi2.po divdi3.po iordi3.po lshldi3.po lshrdi3.po moddi3.po muldi3.po negdi2.po notdi2.po q
divrem.po subdi3.po ucmpdi2.po udivdi3.po umoddi3.po xordi3.po getsn.po srandom.po bcd.po strchr.po __m
ain.po imax.po imin.po lmax.po lmin.po max.po min.po ulmax.po ulmin.po memchr.po memcmp.po bcmp.po ffs.
po memset.po strcmp.po strlcat.po strlcpy.po strlen.po strncmp.po strncpy.po scanc.po skpc.po locc.po h
tonl.po htons.po ntohl.po ntohs.po strncasecmp.po adddi3.po anddi3.po ashldi3.po ashrdi3.po cmpdi2.po d
ivdi3.po iordi3.po lshldi3.po lshrdi3.po moddi3.po muldi3.po negdi2.po notdi2.po qdivrem.po subdi3.po u
cmpdi2.po udivdi3.po umoddi3.po xordi3.po getsn.po srandom.po bcd.po strchr.po mcount.po
rm -f libkern_pic.a libkern.so.*.* __main.so imax.so imin.so lmax.so lmin.so max.so min.so ulmax.so ulm
in.so memchr.so memcmp.so bcmp.so ffs.so memset.so strcmp.so strlcat.so strlcpy.so strlen.so strncmp.so
 strncpy.so scanc.so skpc.so locc.so htonl.so htons.so ntohl.so ntohs.so strncasecmp.so adddi3.so anddi
3.so ashldi3.so ashrdi3.so cmpdi2.so divdi3.so iordi3.so lshldi3.so lshrdi3.so moddi3.so muldi3.so negd
i2.so notdi2.so qdivrem.so subdi3.so ucmpdi2.so udivdi3.so umoddi3.so xordi3.so getsn.so srandom.so bcd
.so strchr.so
rm -f llib-lkern.ln  __main.ln imax.ln imin.ln lmax.ln lmin.ln max.ln min.ln ulmax.ln ulmin.ln strlcat.
ln strlcpy.ln strncmp.ln strncpy.ln strncasecmp.ln adddi3.ln anddi3.ln ashldi3.ln ashrdi3.ln cmpdi2.ln
divdi3.ln iordi3.ln lshldi3.ln lshrdi3.ln moddi3.ln muldi3.ln negdi2.ln notdi2.ln qdivrem.ln subdi3.ln
ucmpdi2.ln udivdi3.ln umoddi3.ln xordi3.ln getsn.ln srandom.ln bcd.ln strchr.ln
cleaning the compat library objects
/bin/sh: syntax error: `(' unexpected
*** Error code 1

Ich habe schon mit den verschiedensten Varianten vom Escapen der " rumprobiert, bei Verwendung von ' anstatt von " meckert config schon rum.
Hat jemand das irgendwie hinbekommen?

Nach dem die zweite Sache (1. siehe meine Prob mit boot prompt auf serieller Konsole) habe ich langsam ein Problem mit OpenBSD im Allgemeinen. :grumble:

Gruß c.
 
OpenBSD ist nicht Linux, Du brauchst Dir nicht fuer jedes Gedoens einen eigenen Kernel zu bauen, schon gar nicht fuer Einstellungen wie das Keyboardlayout.

Siehe z.B. kbd(8).
 
Hi kili,

das OpenBSD kein linux ist, war mir schon lange klar, um genau zu sein, von anfang an.

Wie ich in meinem ersten Post geschrieben habe, möchte ich die deutsche Tastatur bereits im single user mode haben. Natürlich kann ich ein kbd de eingeben.

Ich würde es nur gerne so machen wollen, wie es in der man-Page von pckbd drinsteht. Nicht mehr und nicht weniger. Und so wie es da steht, geht es nicht. Ein ähnliches Problem ist das mit der Ausgabe des boot prompt auf die serielle Konsole, siehe dazu http://www.bsdforen.de/showthread.php?t=15359. Nach man-Page und diversen HowTos sollte es mit zwei Einträgen in /etc/boot.conf gehen. Ich habe zwei Systeme, eins davon nochmal ganz neu aufgesetzt, wo es nicht geht.

Und das ist auch langsam das Problem, da ich mit OpenBSD habe.

Gruß c.
 
crotchmaster schrieb:
Ich würde es nur gerne so machen wollen, wie es in der man-Page von pckbd drinsteht. Nicht mehr und nicht weniger. Und so wie es da steht, geht es nicht.

Wenn Du drauf bestehst...

Sieht nach einem fehlendem Quoting (bzw. einem Unquoting zu viel) im generierten Makefile aus. Mit

Code:
option PCKBD_LAYOUT="\(KB_DE\|KB_NODEAD\)"

sollte es funktionieren.

(Nachtrag: tut es aber leider nicht). Sieht nach einem Problem mit config(8) aus.

Ein ähnliches Problem ist das mit der Ausgabe des boot prompt auf die serielle Konsole, siehe dazu http://www.bsdforen.de/showthread.php?t=15359.

Werde ich mal draufsehen -- im Moment kann ich nur sagen, dass hier eine Installation in qemu mit -nographics einen zauberhaften boot-prompt liefert.
 
Zuletzt bearbeitet:
Zurück
Oben