Freebsd error code 1

I have tried installing VIM, PHP, and a few other programs. all give me some version of this.(this is VIM) ***Error Code 1 Stop in /usr/ports/editors/vim/work/vim72/src ***Error Code 1 Stop in /usr/ports/editors/vim I have no idea what is going on because I have internet connection...

  • #1

I have tried installing VIM, PHP, and a few other programs.
all give me some version of this.(this is VIM)

Code:

***Error Code 1


Stop in /usr/ports/editors/vim/work/vim72/src
***Error Code 1

Stop in /usr/ports/editors/vim

I have no idea what is going on because I have internet connection
ifconfig -na shows eth0 active and IPv4 shows the IP.

  • #2

Do you update your port tree ?

  • Thread Starter

  • #3

Not since I installed. which was…last week, also I missed this before

Code:

Script "configure" failed unexpectedly

since I am not running X-11 windows I will try and copy the log file that is supposed to be included in this and post it here as well.

  • Thread Starter

  • #4

yeah I just tried installing

same error

  • Thread Starter

  • #6

Code:

Snapshot appears to have been created more than one day into the future!
(is the system clock correct?)
Cowardly refusing to proceed any further

is what I get.

  • #7

Run date(1). You may find your date and time are incorrect.

I have a similar issue with FreeBSD 8 in a VM. Use ntp to make your life easy.

  • Thread Starter

  • #8

They are, I am corecting that right now. Try and sync them as well

  • Thread Starter

  • #9

runs for a couple minutes before

Code:

panic: worklist_remove: not on list
cpuid = 1
uptime: varies
Cannot dump. Device not defined or unavailable. 
Automatic reboot in 15 seconds - press a key on the console to abort

and that is all. won’t reboot or anything.

  • #10

Normally I don’t say to just reinstall but if you just installed, you might try installing again.

Maybe something wasn’t installed correctly.

  • Thread Starter

  • #11

May have to cause this time I got this:

Code:

Fatal trap 12:page fault while in kernel mode
cpuid: 1; apic id =01
fatal virtual address = 0x64e0398
fault code = supervisor read, page not present
instruction pointer = 0x20:0xc0aa92c3
stack pointer = similar number
frame pointer 0x28:similar number
code segment = base 0x0, limit oxfffff, type 0x1b

So I may just reinstall and try it again. might even burn another copy of the CD to rule that out too.

  • Thread Starter

  • #12

It still panics when I install anything, just tried PHP and it this time I got:

Code:

panic: bad pte
panic: bufwrite: buffer not busy???

  • Thread Starter

  • #13

Now watching the system load in order to install

Code:

cda0: FAILURE READ_BIG_MEDIUM_ERROR

at least I think its cda could be confusing it with Linux or something, but it is the CD drive…maybe acd. I have even tried a bootonly and then install over FTP. that takes to long and also hangs or panics. The board Ran it perfectly before and has not been touched, PSU is new and CPU is also brand new (well for this board its a 3.0 p4) and 2 GB of RAM.

I am pretty confused, esp since I am fairly new to Free BSD.

  • Thread Starter

  • #14

I went ahead and installed with the above error showing.
and everything runs, installation went through without a hitch.
However the system will still panic
or produce an Error Code 1.
I am using a hub to access the Internet since I need 2 machines in one spot instead of running 2 cables to them.
However I can access the Internet no problem on the second machine. FreeBSD is even downloading the packages and sucessfully
I have no idea what to look for or what to do

So for now I am going back to 7.2, except it also is giving me panics

DutchDaemon


  • #15

At this point one should probably consider running some hardware and memory tests. We’ve had threads about panics caused by stressing the system (i.e. compiling), overheating, etc.

  • Thread Starter

  • #16

I have one more attempt and then thats what I am going to result to
Thanks for all your help everyone

  • Thread Starter

  • #17

Well 7.2 through Network boot worked over 8.0 Passive FTP, CD/DVD, FTP, and HTTP installs. oh well it just finished installing Bash and VIM and is installing PHP no problem from the ports

DutchDaemon


  • #18

Well 7.2 through Network boot worked over 8.0

What does this mean? ;) You switched OS versions?

  • Thread Starter

  • #19

Yes, I went back to 7.2 which I still have on disc. It worked through a network install, but not CD/DVD

  • #20

Note to posterity…
I just encountered the same issue on a FreeBSD 12.2 system following and upgrade from 12.1 using
freebsd-update upgrade -r 12.2-RELEASE
I noticed it was happening during stage-qa and removing DEVELOPER=yes from /etc/make.conf eliminated the problem.
I traced the problem to the stripped file check in /usr/ports/Mk/Scripts/qa.sh, but it was not obvious what was going wrong with the check, so I suspect a corrupt system file.
This happened on an old laptop with an old installation that had been through at least two freebsd-update upgrade rounds and has gone down hard more than a few times due to a bad battery + a few more due to my negligence.
So I backed up my important files, did a fresh 12.2 install from a USB stick, ran desktop-installer and everything’s peachy now. Rebuilding took less than an hour, which is probably faster than I could diagnose the issue (and be left wondering if there are other problems).
This is why I like to do a fresh install once every year or two rather than keep upgrading rotting old bits.

  • #21

Scratch that. The error came back on the fresh install as well as two 12.1 installations, still mitigated by removing the «stripped» check from qa.sh. Continuing to investigate…

  • #22

This is a new qa.sh bug and someone has already provided two alternative patches that seem to work:

Hi all,

I’ve had NAS4Free 9.1.0.1 running for ages smoothly with SABNZBD, Couchpotato, Sickbeard in a jail I created.

Today I’ve spent the entire day trying to install Pyload, Plexmediacenter, Motion, and Zoneminder all unsuccessfully, and they all result in the same error messages. It’s odd cause I followed instructions for each of them exactly as tutorials stated, but all run into errors when I do a make install clean.

Sorry for the long post, but trying to give as much info as possible. Appreciate any help I can get. cheers.

Here’s a run down of what happened for all 3 of them:-

Pyload
Basically what I did was create a brand new jail and followed the steps in this video:
https://asciinema.org/a/15324 (which basically is updating all my port packages and installing relevant packages for Pyload, installing git and cloning a git copy or Pyload from https://github.com/mrhanky17/pyload-freebsd.git)

Code:

root@pyload:/usr/ports/www/pyload # make install clean
===>  License GPLv3 accepted by the user
===>  Found saved configuration for pyload-0.4.9_1
===>   pyload-0.4.9_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by pyload-0.4.9_1 for building
===>  Extracting for pyload-0.4.9_1
=> No SHA256 checksum recorded for pyload-pyload-0.4.9-0-gc297f27_GH0.tar.gz.
=> No suitable checksum found for pyload-pyload-0.4.9-0-gc297f27_GH0.tar.gz.
*** [checksum] Error code 1

Stop in /usr/ports/www/pyload.
*** [install] Error code 1

Stop in /usr/ports/www/pyload.

Note: the makefile states
PORTVERSION= 0.4.9
PORTREVISION= 1

but the distinfo has pyload-0.4.9-0. Somehow others dont encounter the same problems as I do :(

Plex
Next up Plex via these instructions: http://forums.nas4free.org/viewtopic.php?t=4971

All good until:-

Code:

root@pyload:/usr/ports/www/pyload # cd /usr/ports/multimedia/plexmediaserver/ && make install clean
===>  plexmediaserver-0.9.12.3.1173 is only for amd64, while you are running i386 (reason: binary-only program, source code not available).
*** [install] Error code 1

Stop in /usr/ports/multimedia/plexmediaserver.

Motion

Code:

{standard input}: Assembler messages:
{standard input}:28512: Warning: end of file not at end of a line; newline inserted
{standard input}:29130: Error: unbalanced parenthesis in operand 1.
c++: Internal error: Killed: 9 (program cc1plus)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Makefile:842: recipe for target 'incremental.o' failed
gmake[4]: *** [incremental.o] Error 1
gmake[4]: *** Waiting for unfinished jobs....
mv -f .deps/layout.Tpo .deps/layout.Po
gmake[4]: Leaving directory '/usr/ports/devel/binutils/work/binutils-2.25/gold'
Makefile:865: recipe for target 'all-recursive' failed
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory '/usr/ports/devel/binutils/work/binutils-2.25/gold'
Makefile:616: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory '/usr/ports/devel/binutils/work/binutils-2.25/gold'
Makefile:6071: recipe for target 'all-gold' failed
gmake[1]: *** [all-gold] Error 2
gmake[1]: Leaving directory '/usr/ports/devel/binutils/work/binutils-2.25'
Makefile:831: recipe for target 'all' failed
gmake: *** [all] Error 2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1

Stop in /usr/ports/devel/binutils.
*** [install] Error code 1

Stop in /usr/ports/devel/binutils.
*** [build-depends] Error code 1

Stop in /usr/ports/multimedia/ffmpeg0.
*** [install] Error code 1

Stop in /usr/ports/multimedia/ffmpeg0.
*** [lib-depends] Error code 1

Stop in /usr/ports/multimedia/motion.
*** [install] Error code 1

Stop in /usr/ports/multimedia/motion.

ZoneMinder — https://www.freshports.org/multimedia/zoneminder/

Basically just ran this command cd /usr/ports/multimedia/zoneminder/ && make install clean and the errors were similar to Motion above, where its all error code 1.

I want to install Git but it gives me error.

I enter make clean install and it says:

===>  git-2.1.0 using GITWEB support requires PERL support.
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/git

What can I do?

Note: When I first tried to install Git, I didn’t choose PERL, and I choose GITWEB. Then it gave me this error above. Now, I cannot get rid of this error.

davidcondrey's user avatar

davidcondrey

33.4k16 gold badges113 silver badges135 bronze badges

asked Oct 5, 2014 at 23:14

ilhan's user avatar

3

Simply do «pkg install git», as root.

answered Jan 22, 2015 at 13:47

Edward Tomasz Napierala's user avatar

Using the ports:

cd /usr/ports/devel/git 
sudo make
sudo make install
sudo make clean

answered Jan 17, 2015 at 20:50

Ali's user avatar

AliAli

18.2k20 gold badges104 silver badges136 bronze badges

From the link below, it says for FreeBSD you should be able to install git simply using

pkg_add -r git

or

yum -y install gcc gcc-c++ make gettext-devel expat-devel curl-devel zlib-devel openssl-devel bzip2 readline-devel libpcap-devel git.<arch> 

Replace <arch> with your machine’s architecture. (e.g. git.i386,git.i686,git.x86_64)

Further

  • Git Install
  • Installing Git and Gitweb on FreeBSD

answered Oct 5, 2014 at 23:19

davidcondrey's user avatar

davidcondreydavidcondrey

33.4k16 gold badges113 silver badges135 bronze badges

6

Решено: Ошибка установки из портов (*** Error code 1)

Модератор: arachnid

Аватара пользователя

Bobre

Сообщения: 88
ОС: openSUSE 11.0 kde4
Контактная информация:

Решено: Ошибка установки из портов

FreeBSD 6.3

поставил новые порты через /usr/sbin/sysinstall с пасивное ftp

запускаю установку samba3

#cd /usr/ports/net/samba3
#make config

Выдает эти ошибки

Код: Выделить всё

*** Error code 1

Stop in /usr/ports/net/samba3/work/samba-3.0.28/source.
*** Error code 1

Stop in /usr/ports/net/samba3.
*** Error code 1

Stop in /usr/ports/net/samba3.

Кто-нибудь сталкивался с такими проблемами? Остальные порты ставятся нормально.

а у бобра хвост лопаткой!

спасибо дем кто написал и перевел handbook

Аватара пользователя

Bobre

Сообщения: 88
ОС: openSUSE 11.0 kde4
Контактная информация:

Re: Решено: Ошибка установки из портов

Сообщение

Bobre » 08.08.2008 14:02

Есть ли вариант решения этой проблемы без использывания cvsu? Что-то мне старший админ говорил, что не надо это ставить на сервер.

а у бобра хвост лопаткой!

спасибо дем кто написал и перевел handbook

Аватара пользователя

arachnid

Модератор
Сообщения: 1099
ОС: freeBSD

Re: Решено: Ошибка установки из портов

Сообщение

arachnid » 08.08.2008 15:26

Bobre писал(а): ↑

08.08.2008 14:02

Есть ли вариант решения этой проблемы без использывания cvsu? Что-то мне старший админ говорил, что не надо это ставить на сервер.

речь идет о cvsup’е? если да, то это стандартное средство обновления и дерева портов, и исходных текстов системы и до недавнего времени никакого другого способа обновится не существовало :)

и что Вы понимаете под «установил новые порты через sysinstall» ? может просто дерево портов?

-= freeBSD stable, fluxbox =-
«если ты будешь со мной спорить, я тебя запишу в книжечку!» (с) Ежик

Аватара пользователя

Bobre

Сообщения: 88
ОС: openSUSE 11.0 kde4
Контактная информация:

Re: Решено: Ошибка установки из портов

Сообщение

Bobre » 08.08.2008 15:52

Да извините сглупил, обновил через portsnap. Все хорошо прошло, порты обновились, запустил
#make
новые скачались с сервера, но опять та же ошибка *** Error code 1. Так что дело было не в старых портах

Код: Выделить всё

Compiling libsmb/clikrb5.c
libsmb/clikrb5.c: In function `krb5_set_real_time':
libsmb/clikrb5.c:128: error: dereferencing pointer to incomplete type
libsmb/clikrb5.c:129: error: dereferencing pointer to incomplete type
The following command failed:
cc -I. -I/usr/ports/net/samba3/work/samba-3.0.31/source  -O2 -fno-strict-aliasing -pipe -DLDAP_DEPRECATED -D_SAMBA_BUILD_=3  -I/usr/ports/net/samba3/work/samba-3.0.31/source/iniparser/src -Iinclude -I./include  -I. -I. -I./lib/replace -I./lib/talloc -I./tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H  -I/usr/local/include -DLDAP_DEPRECATED    -I/usr/ports/net/samba3/work/samba-3.0.31/source/lib -D_SAMBA_BUILD_=3 -fPIC -DPIC -c libsmb/clikrb5.c -o libsmb/clikrb5.o
*** Error code 1

Stop in /usr/ports/net/samba3/work/samba-3.0.31/source.
*** Error code 1

Stop in /usr/ports/net/samba3.
*** Error code 1

последнии строчки перед ошибкой

а у бобра хвост лопаткой!

спасибо дем кто написал и перевел handbook

Аватара пользователя

Bobre

Сообщения: 88
ОС: openSUSE 11.0 kde4
Контактная информация:

Re: Решено: Ошибка установки из портов

Сообщение

Bobre » 08.08.2008 16:12

спасибо, надеюсь поможет, отправляюсь учиться пользоваться поисковиками

конфиг стандартный

Все заработало, всем спасибо

а у бобра хвост лопаткой!

спасибо дем кто написал и перевел handbook

Модератор: terminus

Правила форума
Убедительная просьба юзать теги [cоde] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.

a09

рядовой
Сообщения: 25
Зарегистрирован: 2007-04-11 8:01:37

make installworld (*** Error code 1)

Здравствуйте.
Проблема следующая.
Имеется дистрибутив FreeBSD 6.2 amd64, машина с камнем athlon64.

Последовательность действий

1. Устанавливаю систему.

2. создаю sup-file (/usr/csup-6.2).

*default host=cvsup6.ru.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_6_2
*default delete use-rel-suffix
*default compress
src-all

3.

4.

5

6.

Код: Выделить всё

shutdown now
mergemaster -p
cd /usr/src
make installworld

а далее имеем следующее
.

Код: Выделить всё

..
===> share/zoneinfo (install)
umask 022; cd /usr/src/share/zoneinfo;  zic -D -d /usr/share/zoneinfo -p America/New_York  -u root -g wheel -m 444   -y /usr/obj/usr/src/share/zoneinfo/yearistype africa antarctica asia australasia etcetera europe  factory northamerica southamerica
install -o root -g wheel -m 444  /usr/src/share/zoneinfo/zone.tab /usr/share/zoneinfo/
===> sys (install)
===> sys/boot (install)
===> sys/boot/ficl (install)
===> sys/boot/i386 (install)
===> sys/boot/i386/mbr (install)
install  -o root -g wheel -m 444   mbr /boot
===> sys/boot/i386/boot0 (install)
install  -o root -g wheel -m 444   boot0 /boot
===> sys/boot/i386/boot0sio (install)
install  -o root -g wheel -m 444   boot0 /boot/boot0sio
===> sys/boot/i386/btx (install)
===> sys/boot/i386/btx/btx (install)
===> sys/boot/i386/btx/btxldr (install)
===> sys/boot/i386/btx/lib (install)
===> sys/boot/i386/boot2 (install)
cc -Os  -fno-guess-branch-probability  -fomit-frame-pointer  -fno-unit-at-a-time  -mno-align-long-strings  -mrtd  -mno-mmx -mno-3dnow -mno-sse -mno-sse2  -DUFS1_AND_UFS2  -DFLAGS=0x80  -DSIOPRT=0x3f8  -DSIOFMT=0x3  -DSIOSPD=9600  -I/usr/src/sys/boot/i386/boot2/../../common  -I/usr/src/sys/boot/i386/boot2/../btx/lib -I.  -Wall -Waggregate-return -Wbad-function-cast -Wcast-align  -Wmissing-declarations -Wmissing-prototypes -Wnested-externs  -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -ffreestanding -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -m32 -march=i386  -S -o boot2.s.tmp /usr/src/sys/boot/i386/boot2/boot2.c
sed -e '/align/d' -e '/nop/d' < boot2.s.tmp > boot2.s
rm -f boot2.s.tmp
as  --32 -o boot2.o boot2.s
ld -static -N --gc-sections -nostdlib -m elf_i386_fbsd -Ttext 0x2000 -o boot2.out /usr/obj/usr/src/sys/boot/i386/boot2/../btx/lib/crt0.o boot2.o sio.o
objcopy -S -O binary boot2.out boot2.bin
btxld -v -E 0x2000 -f bin -b /usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr  -o boot2.ld -P 1 boot2.bin
btxld:No such file or directory
*** Error code 1

Stop in /usr/src/sys/boot/i386/boot2.
*** Error code 1

Stop in /usr/src/sys/boot/i386.
*** Error code 1

Stop in /usr/src/sys/boot.
*** Error code 1

Stop in /usr/src/sys.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

В чем тут дело?


Хостинговая компания Host-Food.ru

Хостинг HostFood.ru

 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/


Аватара пользователя

zorg

лейтенант
Сообщения: 665
Зарегистрирован: 2006-03-01 22:25:36
Откуда: Санкт-Петербург

Непрочитанное сообщение

zorg » 2007-04-24 11:23:42

мне кажется что дистр у тебя под 64, а собираешь мир под 386. :!: :?:

Всё дело в перце!! :)


a09

рядовой
Сообщения: 25
Зарегистрирован: 2007-04-11 8:01:37

Непрочитанное сообщение

a09 » 2007-04-24 12:13:25

Дистрибутив, да, под amd64.
Но ведь я ни где не указываю что устанавливаю мир под какую либо определенную платформу.
Последовательность действий строго такая как описано.


a09

рядовой
Сообщения: 25
Зарегистрирован: 2007-04-11 8:01:37

Непрочитанное сообщение

a09 » 2007-04-24 12:40:44

Причем, началось все с того, что я впервые поставил систему, последовательность действий, аналогична, описанной выше, за исключением того, что ядро собирал и устанавлива с опцией KERNCONF=some-kern, а компилящию и ядра и мира производил с опцией -j4. Сдро собралось и установилось нормально, мир не установился, с той же ошибкой.
Переустановил все по новой, действовал так как описал в самом начале один в один. Все встало нормально.
Решил докопаться в чем ошибка.
Вновь сношу систему, но теперь делаю компиляцию с опциями -j4. Ядро GENERIC. Все нормально.
Сношу систему, компиляция -j4, ядро my-kernel, ошибка установки мира.
Далее следует последовательность действий описанная в первом сообщении.


Аватара пользователя

zorg

лейтенант
Сообщения: 665
Зарегистрирован: 2006-03-01 22:25:36
Откуда: Санкт-Петербург

Непрочитанное сообщение

zorg » 2007-04-24 14:03:36

тогда вопрос как ядро собирал??

Всё дело в перце!! :)


a09

рядовой
Сообщения: 25
Зарегистрирован: 2007-04-11 8:01:37

Непрочитанное сообщение

a09 » 2007-04-24 14:31:36

В последний раз так

make buildkernel

Ну и сразу же после этого

make installkernel

Т.е. я так понимаю это ошибка имеет несистематический характер, или я где-то чего-то упускаю

p.s. Ядро всегда собирается и ставится без ошибок, ошибок при сборе world так же не замечено. Единственно, ошибка возникает после make installworld


Аватара пользователя

zorg

лейтенант
Сообщения: 665
Зарегистрирован: 2006-03-01 22:25:36
Откуда: Санкт-Петербург

Непрочитанное сообщение

zorg » 2007-04-24 20:15:16

я имел ввиду по какому пути???

Всё дело в перце!! :)


a09

рядовой
Сообщения: 25
Зарегистрирован: 2007-04-11 8:01:37

Непрочитанное сообщение

a09 » 2007-04-25 3:54:45

Честно говоря, не понял вопроса, если имелось в виду из какого текущего каталога происходит запуск команды make, то
cd /usr/src
make buildkernel


Аватара пользователя

alex3

лейтенант
Сообщения: 872
Зарегистрирован: 2006-11-20 16:47:56
Откуда: Переславль
Контактная информация:

Непрочитанное сообщение

alex3 » 2007-04-25 7:38:58

он имеет в виду, что возможно конфиг и ядро сделали под 386. Я, признаться, тоже про это подумываю…. компилить ядро и пр надо под (в вашем случае) amd64

Если ipfw можно считать речью обычного человека, то pf — речь политика. За каждой ошибкой -ядерный песец.


a09

рядовой
Сообщения: 25
Зарегистрирован: 2007-04-11 8:01:37

Непрочитанное сообщение

a09 » 2007-04-25 9:02:14

Я дико извеняюсь, FreeBSD начал изучать недавно, о каком именно конфиге идет речь.
Каким образом можно сделать ядро под i386, если собирется оно просто командой make buildkernel ни каких дополнительных параметров типа TARGET_ARCH не использую.


Аватара пользователя

alex3

лейтенант
Сообщения: 872
Зарегистрирован: 2006-11-20 16:47:56
Откуда: Переславль
Контактная информация:

Непрочитанное сообщение

alex3 » 2007-04-25 10:53:52

устанавливал FreeBSD с какого дистрибутива (они делятся на i386 и amd64)?

Если ipfw можно считать речью обычного человека, то pf — речь политика. За каждой ошибкой -ядерный песец.


a09

рядовой
Сообщения: 25
Зарегистрирован: 2007-04-11 8:01:37

Непрочитанное сообщение

a09 » 2007-04-25 13:04:51

Имеется дистрибутив FreeBSD 6.2 amd64


a09

рядовой
Сообщения: 25
Зарегистрирован: 2007-04-11 8:01:37

Непрочитанное сообщение

a09 » 2007-04-25 14:40:51

В общем…
Плюнул на эту ошибку, перезагрузился, при закгрузке нажал 6.
boot kernel.old
Загрузились.
rm -r /usr/obj
cd /usr/src
make cleandir (незнаю зачем…)
make cleandir (… тем более дважды, но где-то про это читал)
И понеслась…
make buildworld
make buildkernel
make installkernel
shutdown now
mergemaser -p
make installworld (прошло отлично без ошибок)
make delete-old
mergemaster
shutdown -r now

cd /usr/src
make delete-old-libs

Тут вот возник вопрос, правильно ли поступал в плане очистки от предыдущих компиляций. И вобще как следует поступать в подобных случаях если система работающая.

Далее cp /usr/src/sys/amd64/conf/GENERIC /usr/src/sys/amd64/conf/CORE
Правлю CORE
кроме всего прочего комментирую строку
#device acpi
так как в /usr/src/sys/amd64/conf/NOTES присутствует следующее
# Note that building ACPI into the kernel is deprecated; the module is
# normally loaded automatically by the loader.
что я понял как встраивать необязательно, т.к. и без этого нормально подгрузится лоадером (? кто это)

rm -r /usr/obj
cd /usr/src
make buildkernel KERNCONF=CORE
make installkernel KERNCONF=CORE
shutdown -r now

При загрузке наблюдаю следующюю строку
ACPI autoload failed — no such file or directory

Google мне сказал
If you get the following message when booting: «ACPI autoload failed — no such file or directory», change module_path=»/boot/modules» to
module_path=»/boot/kernel;/boot/modules»
in /boot/defaults/loader.conf.

Не смотря на то что в /boot/defaults/loader.conf написано следующее
# This is loader.conf — a file full of useful variables that you can
# set to change the default load behavior of your system. You should
# not edit this file! Put any overrides into one of the
# loader_conf_files instead and you will be able to update these
# defaults later without spamming your local configuration information.
поменял именно в нем
презагрузился, та же ерунда.
(кстати «one of the loader_conf_files» это какие именно файлы?)

Вот такие дела.


a09

рядовой
Сообщения: 25
Зарегистрирован: 2007-04-11 8:01:37

Непрочитанное сообщение

a09 » 2007-04-26 14:02:51

Уважаемые, так что мне ни кто ни чего не подскажет?


Rastomon

рядовой
Сообщения: 15
Зарегистрирован: 2007-05-31 7:51:36

Непрочитанное сообщение

Rastomon » 2007-06-05 15:13:15

я тут тоже начал фрю изучать

хорошо что прочел твой топик

вот у меня слава богу i386 и все нормально собралось

надеюсь ты разобрался


Agama

проходил мимо

Re: make installworld (*** Error code 1)

Непрочитанное сообщение

Agama » 2008-08-22 21:52:37

cd /usr/src/sys/boot/i386
make install
cd /usr/src
make installworld


Аватара пользователя

zingel

beastie
Сообщения: 6204
Зарегистрирован: 2007-10-30 3:56:49
Откуда: Moscow
Контактная информация:

Re: make installworld (*** Error code 1)

Непрочитанное сообщение

zingel » 2008-08-22 21:59:37

оформляйте нормально свои сообщения плз

Z301171463546 — можно пожертвовать мне денег


Аватара пользователя

vintovkin

ВДВ
Сообщения: 1288
Зарегистрирован: 2007-05-11 9:39:11
Откуда: CSKA

Re: make installworld (*** Error code 1)

Непрочитанное сообщение

vintovkin » 2008-08-22 22:39:28

zingel писал(а):оформляйте нормально свои сообщения плз

чуваг ф танке :smile:

Junos OS kernel based on FreeBSD UNIX.


Аватара пользователя

zingel

beastie
Сообщения: 6204
Зарегистрирован: 2007-10-30 3:56:49
Откуда: Moscow
Контактная информация:

Re: make installworld (*** Error code 1)

Непрочитанное сообщение

zingel » 2008-08-22 22:40:36

Код: Выделить всё

а компилящию и ядра и мира производил с опцией -j4

_не надо так делать_

Z301171463546 — можно пожертвовать мне денег


Аватара пользователя

weec

лейтенант
Сообщения: 948
Зарегистрирован: 2007-07-24 11:17:35
Откуда: Afghanistan
Контактная информация:

Re: make installworld (*** Error code 1)

Непрочитанное сообщение

weec » 2008-08-23 0:00:28

zingel, ты опиши коммиттерам доков, пусть уберуть ключик -j из handbook )
чувствую ты тут вспотел на каждом углу всем свою песню петь ;)

а09, наверняка ты что-то упустил, бывает …
за модуль acpi не переживай, пусть находится статически в ядре (по умолчанию — предпочтение разработчиков amd64 платформы)

по возможности выложи тут вывод `uname -a`
далее, перед сборкой мира удали содержимое /usr/obj
после сборки сразу-же устанавливай мир, так ты будешь уверен в том, что в /usr/src не проводилось никаких изменений

совет один: больше экспериментируй

удаление старых библиотек и файлов системы: с этим поосторожнее, можно нарваться на неприятности
к примеру: стоит старый bash использующий старые библиотеки, ты обновляешь систему и необдуманно удаляешь старые библиотеки, такими действиями ты закрываешь доступ пользователям использующим bash

надеюсь ты уже догадался, что нужно сделать для безболезненного удаления старого мусора в системе


Аватара пользователя

zingel

beastie
Сообщения: 6204
Зарегистрирован: 2007-10-30 3:56:49
Откуда: Moscow
Контактная информация:

Re: make installworld (*** Error code 1)

Непрочитанное сообщение

zingel » 2008-08-23 0:27:25

ты опиши коммиттерам доков, пусть уберуть ключик -j из handbook )

чего и кому отписать я сам разберусь.

топикстартер: у тебя ничего не выйдет, потому, что оба ядра у тебя собраны неверно и текущая система — каша из разного мусора, как тебе надоест это дело — отпиши мне в личку, я тебе всё сделаю (если рута даш)

Z301171463546 — можно пожертвовать мне денег


tankistua

проходил мимо
Сообщения: 5
Зарегистрирован: 2008-08-30 13:21:12

Re: make installworld (*** Error code 1)

Непрочитанное сообщение

tankistua » 2011-10-09 8:54:09

понимаю что топик старый, но может кому и поможет, потому как в гугле он находится первым.

во время сборки было установлено неверное время. Нужно удалить rm -rf /usr/obj и пересобрать мир и ядро.


Понравилась статья? Поделить с друзьями:

Читайте также:

  • Freebsd config error device tun is unknown
  • Fortnite ошибка 0000142
  • Freebsd bus error
  • Fortnite не поддерживается на вашем устройстве как исправить на андроид
  • Free pascal syntax error

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии