intallation hangs up on SUN Enterprise450 server

FreeBSD, NetBSD, OpenBSD, DragonFly и т. д.

Модератор: arachnid

dustcore
Сообщения: 171

intallation hangs up on SUN Enterprise450 server

Сообщение dustcore »

добрый день!

у меня проблема с установкой FreeBSD6/sparc64 на
Enterprise450 server. когда грузится кернель я вижу следующее:

Booting [/boot/kernel/kernel]
nothing to autoload yet
jumping to kernel entry at 0xc0048000

на этом машина вмертвую повисает..

Может кто-нибудь знает от чего это происходит?
Заранее спасибо =)

UPD
на ту же машину бес проблем вставала NetBSD 2.0.1 и начинал ставить freebsd 5.4/sparc64, никаких подвисаний не было
с песней по жизни
Спасибо сказали:
Аватара пользователя
Paul7
Сообщения: 40

Re: intallation hangs up on SUN Enterprise450 server

Сообщение Paul7 »

[offtopic]
Если вам нечего делать с этой машиной - подарите ее лучше мне.
Только от нечего делать можно придумать ставить на E450 FreeBSD
[offtopic]
HP i2000 Dual Itanium / Debian Sarge & Win2k3
Sun Ultra 5 M270 / OpenSolaris Nevada-41
DEC Multia VX42 / OpenBSD 3.8
HP 9000 Model C100 / HP-UX B.11.00
Спасибо сказали:
galki
Сообщения: 231

Re: intallation hangs up on SUN Enterprise450 server

Сообщение galki »

У меня точно так же подвисла 6.1-RC1, только "jumping to kernel entry at 0xc0060000."

А когда ты 5.4 ставил у тебя конфигурация была такая же?
Может быть 5.4 ты ставил через консоль и не зависало,
а сейчас поставил через видеокарточку и зависло?

P.S. Эта фигня описана в конце FreeBSD 5.4 Errata:
(24 Jun 2005) The FreeBSD/sparc64 5.4-RELEASE should have stated that the FreeBSD/sparc64 GENERIC kernel prior to the upcoming 6.0-RELEASE officially only supports serial consoles. This is especially true for the FreeBSD/sparc64 5.4-RELEASE GENERIC kernel because the ofw_console(4) driver which also provides limited indirect support for graphical consoles has been replaced with the uart(4) driver in favor better serial support.

Due to this limitation to serial consoles the screen will stop working after the message ``jumping to kernel entry at...'' is displayed when trying to use the FreeBSD/sparc64 5.4-RELEASE GENERIC kernel with a graphical console, while FreeBSD itself continues working actually.

If you want to use FreeBSD/sparc64 with a graphical console anyway you can do one of the following:

*

In case your machine is equipped with a Sun Creator, Sun Creator3D, or Sun Elite3D frame buffer card and a Sun RS232 keyboard you can install FreeBSD/sparc64 5.4-RELEASE with a serial console and afterwards compile a custom kernel with the following additional options:

device sc
device creator
options KBD_INSTALL_CDEV

Additionally you have to enable the tty[1-7] entries in /etc/ttys like so:

ttyv0 "/usr/libexec/getty Pc" cons25 on secure
# Virtual terminals
ttyv1 "/usr/libexec/getty Pc" cons25 on secure
ttyv2 "/usr/libexec/getty Pc" cons25 on secure
ttyv3 "/usr/libexec/getty Pc" cons25 on secure
ttyv4 "/usr/libexec/getty Pc" cons25 on secure
ttyv5 "/usr/libexec/getty Pc" cons25 on secure
ttyv6 "/usr/libexec/getty Pc" cons25 on secure
ttyv7 "/usr/libexec/getty Pc" cons25 on secure

This will yield native support for these keyboards and frame buffers including VTY switching and X Window System. Note that this really requires at least FreeBSD/sparc64 5.4-RELEASE otherwise it will not work on most of the UltraSPARC models.
*

In case your machine is equipped with a ATI Mach64 frame buffer (found on-board in e.g. Sun Blade 100/150 and Sun Ultra 5/10 as well as on Sun PGX8 and Sun PGX64 add-on cards) or a PS/2 or a USB keyboard update to a FreeBSD/sparc64 6.0 from June 10 2005 or later. If you use the stock GENERIC kernel and /etc/ttys from there no further action is required.

This will yield native support for these keyboards and frame buffers including VTY switching and X Window System.
*

In case your machine is equipped with hardware other than those mentioned above or you refuse to update to FreeBSD/sparc64 6.0 you can re-enable the ofw_console(4) driver as a last resort. To do so build a custom kernel with the following additional options:

device ofw_console
device sab
device zs

and make sure to comment out the following kernel option:

device uart

This will yield limited indirect support for any graphical console hardware, however with poor performance, and VTY switching as well as X Window System do not work with this. Note that ofw_console(4) is not really MPSAFE and therefore can result in panics under certain conditions.


Правда в Errata от 6.0 этой записи уже нет.
Спасибо сказали:
galki
Сообщения: 231

Re: intallation hangs up on SUN Enterprise450 server

Сообщение galki »

Аналогичный завис (правда с перезагрузкой) есть и при загрузке GENERIC ядра по сети.

Если пересобрать ядро с такими изменениями (как написано в Errata, только без zs, которого в 6.1 уже нету просто):

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

device          ofw_console     # Open Firmware console device          #добавил
device          sab             # Siemens SAB82532 based serial ports   #добавил
#device         uart            # Multi-uart driver             #убрал
#device         puc             # Multi-channel uarts           #убрал

то FreeBSD уже нормально грузится.

Только надо ещё добавить в /etc/gettytab:

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

# 8 bit clean Sun console
suncons|Sun Console:\
        :np:sp#9600:


И в /etc/ttys выключить ttyv* и включить ofw_консоль:

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

console "/usr/libexec/getty suncons"    sun on secure
#
ttyv0   "/usr/libexec/getty Pc"         cons25  off  secure
# Virtual terminals
ttyv1   "/usr/libexec/getty Pc"         cons25  off  secure
ttyv2   "/usr/libexec/getty Pc"         cons25  off  secure
ttyv3   "/usr/libexec/getty Pc"         cons25  off  secure
ttyv4   "/usr/libexec/getty Pc"         cons25  off  secure
ttyv5   "/usr/libexec/getty Pc"         cons25  off  secure
ttyv6   "/usr/libexec/getty Pc"         cons25  off  secure
ttyv7   "/usr/libexec/getty Pc"         cons25  off  secure
Спасибо сказали: