[GELÖST] [7390] Neue Busybox Quellen - viele Abfragen beim Compilieren...

cando

Aktives Mitglied
Mitglied seit
28 Nov 2008
Beiträge
1,080
Punkte für Reaktionen
0
Punkte
0
Ich habe gerade mal ein neues svn up gemacht und dabei einen neuen dropbear / busybox verpasst bekommen.

Der fragt sehr viele unanständige Fragen beim Compilieren (Unicode, bloat header wegen compatibilität, diverse neue Funktionen). Ist Euch das auch schon aufgefallen und gibt es einen Patch, um für freetz sinnvolle Antworten vorzubelegen - mit den default Werten ist der Kernel too big.

Code:
merging kernel image
  kernel image size: 12202752 (max: 3866624, free: -8336128)
ERROR: kernel image is 8336128 bytes too big. See http://trac.freetz.org/wiki/FAQ#Filesystemimagetoobig for details
make: *** [firmware-nocompile] Error 1
 
Zuletzt bearbeitet:
Sicher? Einen neuen Dropbear gibt es aber doch garnicht, die letzte Änderung im make-Ordner vom Dropbear war, dass vor fünf Wochen der Startlevel mal angepasst wurde, aber sonst??

Jörg

EDIT ... und es gab noch ein paar cgi-Änderungen heute, aber die sollten nicht mit dem Übersetzen zu tun haben...
 
Dann war's die busybox...

Ich habe jetzt mal ein make distclean gemacht, und dann neu aufgesetzt, der Compiler läuft noch. Ich melde mich wieder, falls wieder Probleme auftreten.

Code:
make[1]: Entering directory `/data/freetz-7390/source/target-mips_uClibc-0.9.29/ref-16mb_26/busybox-1.17.1'
scripts/kconfig/conf -o Config.in
#
# using defaults found in .config
#
.config:27:warning: trying to assign nonexistent symbol FEATURE_ASSUME_UNICODE
*
* Busybox Configuration
*
*
* Busybox Settings
*
*
* General Configuration
*
Enable options for full-blown desktop systems (DESKTOP) [N/y/?] n
Provide compatible behavior for rare corner cases (bigger code) (EXTRA_COMPAT) [N/y/?] n
Enable obsolete features removed before SUSv3 (INCLUDE_SUSv2) [N/y/?] n
Avoid using GCC-specific code constructs (USE_PORTABLE_CODE) [N/y/?] n
Buffer allocation policy
  1. Allocate with Malloc (FEATURE_BUFFERS_USE_MALLOC)
> 2. Allocate on the Stack (FEATURE_BUFFERS_GO_ON_STACK)
  3. Allocate in the .bss section (FEATURE_BUFFERS_GO_IN_BSS)
choice[1-3?]: 2
Show terse applet usage messages (SHOW_USAGE) [Y/n/?] y
  Show verbose applet usage messages (FEATURE_VERBOSE_USAGE) [Y/n/?] y
  Store applet usage messages in compressed form (FEATURE_COMPRESS_USAGE) [N/y/?] n
Support --install [-s] to install applet links at runtime (FEATURE_INSTALLER) [N/y/?] n
Enable locale support (system needs locale for this to work) (LOCALE_SUPPORT) [N/y/?] n
[B]Support Unicode (UNICODE_SUPPORT) [Y/n/?] (NEW) n[/B]
Support for --long-options (LONG_OPTS) [N/y/?] n
Use the devpts filesystem for Unix98 PTYs (FEATURE_DEVPTS) [Y/n/?] y
Clean up all memory before exiting (usually not needed) (FEATURE_CLEAN_UP) [N/y/?] n
Support utmp file (FEATURE_UTMP) [N/y/?] n
Support wtmp file (FEATURE_WTMP) [N/y/?] n
Support writing pidfiles (FEATURE_PIDFILE) [Y/n/?] y
Support for SUID/SGID handling (FEATURE_SUID) [Y/?] y
  Runtime SUID/SGID configuration via /etc/busybox.conf (FEATURE_SUID_CONFIG) [N/y/?] n
Support NSA Security Enhanced Linux (SELINUX) [N/y/?] n
exec prefers applets (FEATURE_PREFER_APPLETS) [Y/n/?] y
Path to BusyBox executable (BUSYBOX_EXEC_PATH) [/bin/busybox] /bin/busybox
*
* Build Options
*
Build BusyBox as a static binary (no shared libs) (STATIC) [N/y/?] n
  Build BusyBox as a position independent executable (PIE) [N/y/?] n
Force NOMMU build (NOMMU) [N/y/?] n
Build with Large File Support (for accessing files > 2 GB) (LFS) [Y/n/?] y
Cross Compiler prefix (CROSS_COMPILER_PREFIX) [] 
Additional CFLAGS (EXTRA_CFLAGS) [] 
*
* Debugging Options
*
Build BusyBox with extra Debugging symbols (DEBUG) [N/y/?] n
Abort compilation on any warning (WERROR) [N/y/?] n
Additional debugging library
> 1. None (NO_DEBUG_LIB)
  2. Dmalloc (DMALLOC)
  3. Electric-fence (EFENCE)
choice[1-3?]: 1
*
* Installation Options
*
Don't use /usr (INSTALL_NO_USR) [N/y/?] n
Applets links
> 1. as soft-links (INSTALL_APPLET_SYMLINKS)
  2. as hard-links (INSTALL_APPLET_HARDLINKS)
  3. as script wrappers (INSTALL_APPLET_SCRIPT_WRAPPERS)
  4. not installed (INSTALL_APPLET_DONT)
choice[1-4?]: 1
BusyBox installation prefix (PREFIX) [./_install] ./_install
*
* Busybox Library Tuning
*
Minimum password length (PASSWORD_MINLEN) [6] 6
MD5: Trade bytes for speed (0:fast, 3:slow) (MD5_SIZE_VS_SPEED) [2] 2
Faster /proc scanning code (+100 bytes) (FEATURE_FAST_TOP) [N/y/?] n
Support for /etc/networks (FEATURE_ETC_NETWORKS) [N/y/?] n
Command line editing (FEATURE_EDITING) [Y/n/?] y
  Maximum length of input (FEATURE_EDITING_MAX_LEN) [1024] 1024
  vi-style line editing commands (FEATURE_EDITING_VI) [N/y/?] n
  History size (FEATURE_EDITING_HISTORY) [15] 15
  History saving (FEATURE_EDITING_SAVEHISTORY) [N/y/?] n
  Tab completion (FEATURE_TAB_COMPLETION) [Y/n/?] y
    Username completion (FEATURE_USERNAME_COMPLETION) [N/y/?] n
  Fancy shell prompts (FEATURE_EDITING_FANCY_PROMPT) [Y/n/?] y
  Query cursor position from terminal (FEATURE_EDITING_ASK_TERMINAL) [N/y/?] n
Non-POSIX, but safer, copying to special nodes (FEATURE_NON_POSIX_CP) [Y/n/?] y
Give more precise messages when copy fails (cp, mv etc) (FEATURE_VERBOSE_CP_MESSAGE) [N/y/?] n
Copy buffer size, in kilobytes (FEATURE_COPYBUF_KB) [4] 4
Use clock_gettime(CLOCK_MONOTONIC) syscall (MONOTONIC_SYSCALL) [Y/n/?] y
Use ioctl names rather than hex values in error messages (IOCTL_HEX2STR_ERROR) [Y/n/?] y
Support infiniband HW (FEATURE_HWIB) [Y/n/?] y
*
* Applets
*
*
* Archival Utilities
*
[B]Make tar, rpm, modprobe etc understand .xz data (FEATURE_SEAMLESS_XZ) [Y/n/?] (NEW) [/B]
...
und viele weitere Fragen
 
Zuletzt bearbeitet:
Es ist die busybox-1.17.1, die hat viele neue features und tools, die mit Y vorbelegt sind. Man muss sie wohl gezielt abwählen.
Code:
STEP 3: PACK
  checking for left over Subversion directories
  integrate freetz info file into image
packing var.tar
creating filesystem image
  squashfs blocksize: 65536
merging kernel image
  kernel image size: 11506432 (max: 3866624, free: -7639808)
ERROR: kernel image is 7639808 bytes too big. See http://trac.freetz.org/wiki/FAQ#Filesystemimagetoobig for details
make: *** [firmware-nocompile] Error 1

Nachtrag: hat nichts geholfen
 
Zuletzt bearbeitet:
Das sind die Abfragen beim Compilieren:

Code:
Support Unicode (UNICODE_SUPPORT) [Y/n/?] (NEW) 

Make tar, rpm, modprobe etc understand .xz data (FEATURE_SEAMLESS_XZ) [Y/n/?] (NEW)

unxz (UNXZ) [Y/n/?] (NEW) 

 Support %[num]N nanosecond format specifier (FEATURE_DATE_NANO) [N/y/?] (NEW) 

fgconsole (FGCONSOLE) [Y/n/?] (NEW)

 Use 'tell me cursor position' ESC sequence to measure window (FEATURE_VI_ASK_TERMINAL) [Y/n/?] (NEW)

bootchartd (BOOTCHARTD) [Y/n/?] (NEW) 

tune2fs (TUNE2FS) [N/y/?] (NEW) 

modinfo (MODINFO) [Y/n/?] (NEW)

rev (REV) [Y/n/?] (NEW) 

flock (FLOCK) [Y/n/?] (NEW)

Create new loopback devices if needed (FEATURE_MOUNT_LOOP_CREATE) [Y/n/?] (NEW)

conspy (CONSPY) [N/y/?] (NEW)

ubiattach (UBIATTACH) [N/y/?] (NEW)

ubidetach (UBIDETACH) [N/y/?] (NEW)

rfkill (RFKILL) [N/y/?] (NEW)

Netcat 1.10 compatibility (+2.5k) (NC_110_COMPAT) [N/y/?] (NEW)

smemcap (SMEMCAP) [Y/n/?] (NEW) 

Choose which shell is aliased to 'bash' name
  1. ash (FEATURE_BASH_IS_ASH) (NEW)
> 2. none (FEATURE_BASH_IS_NONE) (NEW)
choice[1-2?]:

  Read buffer size in bytes (FEATURE_SYSLOGD_READ_BUFFER_SIZE) [256] (NEW)
 
Ich hab die busybox config aktualisiert. Die Abfragen sollten jetzt nicht mehr kommen.

Mfg Oliver
 
Im Verzeichnis


7390/build/modified/filesystem/bin


ist die Busybox 583,4 kB groß - eigentlich unverdächtig, ich weiss nicht was neuerdings so groß wird. Ich habe keine Pakete hinzugefügt, kann aber das Image nicht mehr erstellen. Ich habe auch einen frischen Checkout gemacht und neu compiliert - mit dem selben Ergebnis.

Anbei habe ich mal meine Config angehängt und den build log.

Was ich so gar nicht verstehe ist, wieso das Image maximal 3866624 Bytes groß sein soll bei der 7390, das sind ja gerade mal 3,68 MB und es fehlen angeblich 7,7MB an Speicherplatz. Da ist doch der Wurm drin.
 

Anhänge

  • make.txt.tar.gz
    3.8 KB · Aufrufe: 0
  • config.tar.gz
    5.7 KB · Aufrufe: 0
Zuletzt bearbeitet:
Schau mal in build/modified/filesystem.log nach.

MfG Oliver
 
Hallo Olistudent,

Anbei das Filesystem.log - IMHO ist das unverdächtig, jedenfalls ist nichts 7 MB zu groß. Wieso ist das Image auf 3,7 MB begrenzt?
 

Anhänge

  • filesystem.log.tar.gz
    27.8 KB · Aufrufe: 0
Moin,
wollte nur mal eben cando's Probleme bestätigen, auch hier:
Code:
STEP 3: PACK
  checking for left over Subversion directories
  integrate freetz info file into image
packing var.tar
creating filesystem image
  squashfs blocksize: 65536
merging kernel image
  kernel image size: 10150656 (max: 3866624, free: -6284032)
ERROR: kernel image is 6284032 bytes too big. See http://trac.freetz.org/wiki/FAQ#Filesystemimagetoobig for details
make: *** [firmware-nocompile] Fehler 1
Größe bb Binary:
Code:
rwxrwxrwx  1 guido guido 584996 2010-08-03 09:27 busybox
 
Das mag ja sein, aber wo steht die und wie hoch darf sie sein - und warum hat die sich geändert?
 
In Config.in gibt es eine Stelle
Code:
config FREETZ_KERNEL_MTD_SIZE
        int "Kernel (64K blocks)"       if FREETZ_TYPE_CUSTOM
Vermutlich paßt da etwas nicht, so daß der erste Eintrag für 4MB gewählt wird.
 
[Edit frank_m24: Vollzitat vom Beitrag direkt darüber gelöscht, siehe Forumregeln.]

Keinerlei Einträge für die 7390 in der Config.in zu finden.
 
Nicht?!?
klick

[EDIT] ach sorry, hatte deinen post nicht richtig gelesen.
Hatte es erst so verstanden, als hättest du die Passage gar nicht gefunden
 
Meine sieht so aus..
 

Anhänge

  • Config.txt
    79.7 KB · Aufrufe: 4
Oliver hats grad eingebaut. Also wenn mal jemand testen könnte, ich hab grad keinen baufähigen Rechner mehr zur Hand
 
STEP 3: PACK
checking for left over Subversion directories
integrate freetz info file into image
packing var.tar
creating filesystem image
squashfs blocksize: 65536
merging kernel image
kernel image size: 10081024 (max: 16121856, free: 6040832)
Aproximately free time for the answering machine: 2879s (47min 59s)
packing 7390_04.84freetz-devel-5390.de_20100803-103538.image
Image files can be found in the ./images/ subfolder
done.

@OLIVER :groesste:
 

Neueste Beiträge

Statistik des Forums

Themen
244,691
Beiträge
2,216,608
Mitglieder
371,308
Neuestes Mitglied
Chrischan 79
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.