>Пробывал играться в БИОС. Выключал UDMA, LBA - NORMAL. Не грузиться, только
>по разному.
>С ядром немного наврал:
>machine i386
># cpu
>I486_CPU
>cpu
> I586_CPU
>cpu
> I686_CPU
>ident myconf1
>
про это я уже писал.
># cat /etc/fstab
># Device
> Mountpoint
>FStype Options
>Dump Pass#
>/dev/ad0s1b
> none
> swap sw
> 0
> 0
>/dev/ad0s1a
> /
> ufs rw
>
> 1 1
ok
>/dev/ad0s1d
> /var
> ufs rw
> 2
> 2
>/dev/acd0
> /cdrom
> cd9660 ro,noauto
>0 0
>
># boot0cfg -v ad0
>boot0cfg: /dev/ad0: unknown or incompatible boot code
бутменеджер отсутствует, ok
># fdisk -s ad0
>/dev/ad0: 6296 cyl 16 hd 63 sec
>Part Start
> Size Type Flags
> 1:
> 63 6346305 0xa5 0x80
тоже ok.
># dmesg
>Copyright (c) 1992-2004 The FreeBSD Project.
>Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>
> The Regents of the
>University of California. All rights reserved.
>FreeBSD 5.3-BETA7 #0: Tue Oct 19 23:52:04 UTC 2004
> root@casper.home60.local:/usr/obj/usr/src/sys/myconf1
>Timecounter "i8254" frequency 1193182 Hz quality 0
>CPU: Pentium/P55C (200.46-MHz 586-class CPU)
> Origin = "GenuineIntel" Id = 0x543 Stepping =
>3
> Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
>real memory = 67108864 (64 MB)
>avail memory = 60243968 (57 MB)
>Intel Pentium detected, installing workaround for F00F bug
>npx0: [FAST]
>npx0: <math processor> on motherboard
>npx0: INT 16 interface
>pcib0: <Host to PCI bridge> pcibus 0 on motherboard
>pci0: <PCI bus> on pcib0
>isab0: <PCI-ISA bridge> at device 7.0 on pci0
>isa0: <ISA bus> on isab0
>atapci0: <Intel PIIX4 UDMA33 controller> port 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
>ata0: channel #0 on atapci0
>ata1: channel #1 on atapci0
>pci0: <serial bus, USB> at device 7.2 (no driver attached)
>piix0: <PIIX Timecounter> port 0x5f00-0x5f0f at device 7.3 on pci0
>Timecounter "PIIX" frequency 3579545 Hz quality 0
>fxp0: <Intel 82558 Pro/100 Ethernet> port 0x6500-0x651f mem 0xe0000000-0xe00fffff,0xe0100000-0xe0100fff irq 10 at device 19.0 on pci0
>miibus0: <MII bus> on fxp0
>inphy0: <i82555 10/100 media interface> on miibus0
>inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>fxp0: Ethernet address: 00:a0:c9:9c:dd:d4
>cpu0 on motherboard
>orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff on isa0
>pmtimer0 on isa0
>atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
>atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
>kbd0 at atkbd0
>atkbd0: [GIANT-LOCKED]
>fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5 irq 6 drq 2 on isa0
>fdc0: [FAST]
>ppc0: parallel port not found.
>sc0: <System console> at flags 0x100 on isa0
>sc0: VGA <16 virtual consoles, flags=0x300>
>sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
>sio0: type 16550A
>sio1 at port 0x2f8-0x2ff irq 3 on isa0
>sio1: type 16550A
>vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
>unknown: <PNP0303> can't assign resources (port)
>unknown: <PNP0a03> can't assign resources (port)
>unknown: <PNP0501> can't assign resources (port)
>unknown: <PNP0700> can't assign resources (port)
>unknown: <PNP0501> can't assign resources (port)
>Timecounter "TSC" frequency 200455644 Hz quality 800
>Timecounters tick every 10.000 msec
>ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to deny, logging limited
>to 10 packets/entry by default
>ad0: 3098MB <ST33210A/3.04> [6296/16/63] at ata0-master UDMA33
>
>Manual root filesystem specification:
> <fstype>:<device> Mount <device> using filesystem <fstype>
>
>
>eg. ufs:da0s1a
> ?
> List valid disk
>boot devices
> <empty line> Abort manual input
>
>mountroot> ufs:ad0s1a
>Mounting root from ufs:ad0s1a
>
>далее идет загрузка остальных устройств, но в dmesg не попадает.
# ls -la /boot
???
# bsdlabel ad0s1
???
попробуй заново прописать стандартный загрузчик:
# bsdlabel -w -B ad0s1
# man bsdlabel (покажет где берется загрузчик ls -la /boot/boot
/boot/boot Default boot image
# man 8 boot
...
/boot.config parameters for the boot blocks (optional)
/boot/boot1 first stage bootstrap file
/boot/boot2 second stage bootstrap file
/boot/loader third stage bootstrap
/boot/kernel/kernel
default kernel
...
внимание на static (в ядре это ATA_STATIC_ID)
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot-blocks.html
странно, в 4.x в man disklabel хорошо было расписано про /boot/boot[x]
файлы и стадии загрузки, а в 5.x этого в man bsdlabel нет.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html