Re: Cant boot 9-RELEASE on Intel L440GX+ based system
2012/8/3 jb jb.1234a...@gmail.com: Sergey Listopad psychosensor at gmail.com writes: Hi. I try to boot topic on retro dual PIII Intel L440GX+ based system. It is onboard AIC-7896 SCSI controller with 1 COMPAQ HDD. CDROM is IDE. When I try boot from installation CD, boot stuck on CD Loader 1.2 ... BTX loader 1.00 BTX version is 1.02 Consoles: internal video/keyboard BIOS CD is cd0 BIOS drive A: is disk0 If I remove HDD, system (/boot/loader) boot from CD just fine. Then I insert HDD (hotswap) and able to install on it. But after reboot (with installation CD disk removed from drive) system unable to boot. And stuck on the same place, after ... BIOS drive A: is disk0 Maybe anybody can help me to resolve this issue. I can post any additional information which may be helpful. Thanx. This has been reported for FreeBSD and PC-BSD for quite some time. The booting sequence always looks like this: ... BIOS drive A: is disk0 last message seen BIOS drive B: is disk1 or this ... Based on Google search results: - solved by disabling SATA in BIOS - combination of IDE (ATA) and SATA disks caused a problem, disconnecting either one solved it; it could also mean a problem with hd device driver - old/buggy firmware; BIOS update solved the problem - disable ACPI, or Firewire, or USB emulation, or ... in BIOS :-) - A wild guess could be that there's something on the RAID volume that's keeping the boot loader from working. Maybe the partition table is wrong in a subtle way? If you can get the RAID array to work *after* you boot from a FreeBSD installation CD (i.e. boot the machine without the drives, add drives later), try clearing the first megabyte of the array (dd if=/dev/zero of=/dev/yourdrive bs=1m count=1). - With my rocketraid somethingsomething PCI-SATA2 card with disks connected crashes the BTX loader. Connecting the disks to the internal via epia motherboard solved the problem ... I have a feeling that it might be some combinations of BTX, BIOS and RAID firmware that causes these crashes. - CC'ing John Baldwin on this, as he has knowledge of BTX's internals. For those of you who are adventurous: http://svnweb.freebsd.org/base/head/sys/boot/i386/loader/ I'he updated BIOS and now all works as expected. System is bootable from installation CD with HDD connected, system bootable from HDD. Thanks for help. -- S.Listopad ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cant boot 9-RELEASE on Intel L440GX+ based system
2012/8/1 jb jb.1234a...@gmail.com: Sergey Listopad psychosensor at gmail.com writes: Hi. I try to boot topic on retro dual PIII Intel L440GX+ based system. It is onboard AIC-7896 SCSI controller with 1 COMPAQ HDD. CDROM is IDE. When I try boot from installation CD, boot stuck on CD Loader 1.2 ... BTX loader 1.00 BTX version is 1.02 Consoles: internal video/keyboard BIOS CD is cd0 BIOS drive A: is disk0 If I remove HDD, system (/boot/loader) boot from CD just fine. Then I insert HDD (hotswap) and able to install on it. But after reboot (with installation CD disk removed from drive) system unable to boot. And stuck on the same place, after ... BIOS drive A: is disk0 Maybe anybody can help me to resolve this issue. I can post any additional information which may be helpful. Thanx. If FreeBSD boot loader can not find a root partition (slice), you can help with a boot parameter, for example vfs.root.mountfrom=ufs:ad4s4a After booting, verify and update /etc/fstab, otherwise add it to /boot/loader.conf . Also, the FreeBSD boot slice must be marked as bootable (active). jb As you can see, bootstrap process stuck much earlier kernel booting/root mounting. It stuck on loader stage (loader can't do something. But what exactly?) I've been able to boot system manually (so system on HDD is workable), by skipping loader stage (boot kernel directly from boot block prompt) FreeBSD/i386 BOOT Default: 0:ad(0p2)/boot/loader boot:/boot/kernel/kernel and then mountroot ufs:/dev/da0p2 -- S.Listopad ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cant boot 9-RELEASE on Intel L440GX+ based system
Sergey Listopad psychosensor at gmail.com writes: ... As you can see, bootstrap process stuck much earlier kernel booting/root mounting. It stuck on loader stage (loader can't do something. But what exactly?) I've been able to boot system manually (so system on HDD is workable), by skipping loader stage (boot kernel directly from boot block prompt) FreeBSD/i386 BOOT Default: 0:ad(0p2)/boot/loader boot:/boot/kernel/kernel and then mountroot ufs:/dev/da0p2 Some remarks that may be helpful. fdisk(8) ... In order for the BIOS to boot the kernel, certain conventions must be adhered to. Sector 0 of the disk must contain boot code, a slice table, and a magic number. BIOS slices can be used to break the disk up into several pieces. The BIOS brings in sector 0 and verifies the magic num- ber. The sector 0 boot code then searches the slice table to determine which slice is marked ``active''. This boot code then brings in the bootstrap from the active slice and, if marked bootable, runs it. ... boot0cfg(8) -- boot manager installation/configuration utility To see the first 512 bytes of your first harddisk: # dd if=/dev/ada0 count=1 | hexdump -C http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot-blocks.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-trouble.html ... here is this weird BIOS, IDE, SCSI disk numbering stuff ... jb ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cant boot 9-RELEASE on Intel L440GX+ based system
Sergey Listopad psychosensor at gmail.com writes: ... As you can see, bootstrap process stuck much earlier kernel booting/root mounting. It stuck on loader stage (loader can't do something. But what exactly?) I've been able to boot system manually (so system on HDD is workable), by skipping loader stage (boot kernel directly from boot block prompt) FreeBSD/i386 BOOT Default: 0:ad(0p2)/boot/loader boot:/boot/kernel/kernel OK. So it looks like you have succeeded with stage 1 and 2. At this point the boot slice is known - the boot process knows where to find defaults. After that stage 3 should be auto-executed, but it does not. At this point check if you have /boot.config by chance. This file, if exists, may contain options modifying stages of the boot process, in this case the transition from stage 2 to 3 is of interest. Check it out and, if applies, read BOOT.CONFIG(5) and its examples. jb ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cant boot 9-RELEASE on Intel L440GX+ based system
2012/8/2 jb jb.1234a...@gmail.com: Sergey Listopad psychosensor at gmail.com writes: ... As you can see, bootstrap process stuck much earlier kernel booting/root mounting. It stuck on loader stage (loader can't do something. But what exactly?) I've been able to boot system manually (so system on HDD is workable), by skipping loader stage (boot kernel directly from boot block prompt) FreeBSD/i386 BOOT Default: 0:ad(0p2)/boot/loader boot:/boot/kernel/kernel OK. So it looks like you have succeeded with stage 1 and 2. At this point the boot slice is known - the boot process knows where to find defaults. After that stage 3 should be auto-executed, but it does not. It is auto-executed, but stuck. So far I have system with GPT partitioning scheme. To exclude this layer, I've reinstall system with MBR scheme, but loader(8) stuck in the same place. BTX loader 1.00 BTX version is 1.02 Consoles: internal video/keyboard BIOS drive A: is disk0 At this point check if you have /boot.config by chance. This file, if exists, may contain options modifying stages of the boot process, in this case the transition from stage 2 to 3 is of interest. Check it out and, if applies, read BOOT.CONFIG(5) and its examples. jb ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- S.Listopad ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cant boot 9-RELEASE on Intel L440GX+ based system
BTX loader 1.00 BTX version is 1.02 Consoles: internal video/keyboard BIOS drive A: is disk0 all suggestions before seems like not reading your problem description. third stage boot loader fails. at that stage it still uses BIOS calls to access disks. Your controller's firmware do something wrong, or FreeBSD bootloader do something wrong. I suggest you to prepare bootable media with just /boot directory that can boot, and put vfs.root.mountfrom=ufs:yourrootpartition in loader.conf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cant boot 9-RELEASE on Intel L440GX+ based system
Sergey Listopad psychosensor at gmail.com writes: ... So far I have system with GPT partitioning scheme. To exclude this layer, I've reinstall system with MBR scheme, but loader(8) stuck in the same place. BTX loader 1.00 BTX version is 1.02 Consoles: internal video/keyboard BIOS drive A: is disk0 How about setting this (based on /boot/defaults/loader.conf) in file /boot/loader.conf: verbose_loading=YES# Set to YES for verbose loader output For the sake of debugging, I assume you do not have any of these: loader_conf_files=/boot/device.hints /boot/loader.conf /boot/loader.conf.local as it seems to be a new installation. Are you getting more debugging output ? jb ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cant boot 9-RELEASE on Intel L440GX+ based system
Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl writes: ... I suggest you to prepare bootable media with just /boot directory that can boot, and put vfs.root.mountfrom=ufs:yourrootpartition in loader.conf I have already suggested that in the post above. jb ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cant boot 9-RELEASE on Intel L440GX+ based system
Sergey Listopad psychosensor at gmail.com writes: Hi. I try to boot topic on retro dual PIII Intel L440GX+ based system. It is onboard AIC-7896 SCSI controller with 1 COMPAQ HDD. CDROM is IDE. When I try boot from installation CD, boot stuck on CD Loader 1.2 ... BTX loader 1.00 BTX version is 1.02 Consoles: internal video/keyboard BIOS CD is cd0 BIOS drive A: is disk0 If I remove HDD, system (/boot/loader) boot from CD just fine. Then I insert HDD (hotswap) and able to install on it. But after reboot (with installation CD disk removed from drive) system unable to boot. And stuck on the same place, after ... BIOS drive A: is disk0 Maybe anybody can help me to resolve this issue. I can post any additional information which may be helpful. Thanx. This has been reported for FreeBSD and PC-BSD for quite some time. The booting sequence always looks like this: ... BIOS drive A: is disk0 last message seen BIOS drive B: is disk1 or this ... Based on Google search results: - solved by disabling SATA in BIOS - combination of IDE (ATA) and SATA disks caused a problem, disconnecting either one solved it; it could also mean a problem with hd device driver - old/buggy firmware; BIOS update solved the problem - disable ACPI, or Firewire, or USB emulation, or ... in BIOS :-) - A wild guess could be that there's something on the RAID volume that's keeping the boot loader from working. Maybe the partition table is wrong in a subtle way? If you can get the RAID array to work *after* you boot from a FreeBSD installation CD (i.e. boot the machine without the drives, add drives later), try clearing the first megabyte of the array (dd if=/dev/zero of=/dev/yourdrive bs=1m count=1). - With my rocketraid somethingsomething PCI-SATA2 card with disks connected crashes the BTX loader. Connecting the disks to the internal via epia motherboard solved the problem ... I have a feeling that it might be some combinations of BTX, BIOS and RAID firmware that causes these crashes. - CC'ing John Baldwin on this, as he has knowledge of BTX's internals. For those of you who are adventurous: http://svnweb.freebsd.org/base/head/sys/boot/i386/loader/ jb ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cant boot 9-RELEASE on Intel L440GX+ based system
Sergey Listopad psychosensor at gmail.com writes: Hi. I try to boot topic on retro dual PIII Intel L440GX+ based system. It is onboard AIC-7896 SCSI controller with 1 COMPAQ HDD. CDROM is IDE. When I try boot from installation CD, boot stuck on CD Loader 1.2 ... BTX loader 1.00 BTX version is 1.02 Consoles: internal video/keyboard BIOS CD is cd0 BIOS drive A: is disk0 I would suggest that you get a Live CD from one of Linux distros: Knoppix, Debian, Fedora. It looks criticial to learn more about your disk (manufacturer, model, etc) - you get it with 'dmesg', and about your disk partitions - you get it with 'cfdisk',or 'fdisk', or 'parted' Post it all here. jb ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cant boot 9-RELEASE on Intel L440GX+ based system
jb jb.1234abcd at gmail.com writes: ... A follow-up: do not forget about BIOS setup - go over it slowly and pay attention to any settings related to boot order (hd, cd-rom, network, usb, etc), type of hd drive and parameters, hd controller, etc. Write it down and post here as well. jb ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cant boot 9-RELEASE on Intel L440GX+ based system
2012/8/1 jb jb.1234a...@gmail.com: Sergey Listopad psychosensor at gmail.com writes: Hi. I try to boot topic on retro dual PIII Intel L440GX+ based system. It is onboard AIC-7896 SCSI controller with 1 COMPAQ HDD. CDROM is IDE. When I try boot from installation CD, boot stuck on CD Loader 1.2 ... BTX loader 1.00 BTX version is 1.02 Consoles: internal video/keyboard BIOS CD is cd0 BIOS drive A: is disk0 I would suggest that you get a Live CD from one of Linux distros: Knoppix, Debian, Fedora. It looks criticial to learn more about your disk (manufacturer, model, etc) - you get it with 'dmesg', and about your disk partitions - you get it with 'cfdisk',or 'fdisk', or 'parted' Post it all here. HDD is COMPAQ AD00932372 9.1Gb 1RPM It is autopartitioned by bsd installer on step 2 (boot without HDD and insert it when kernel is booting). -- S.Listopad ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cant boot 9-RELEASE on Intel L440GX+ based system
Sergey Listopad psychosensor at gmail.com writes: ... I would suggest that you get a Live CD from one of Linux distros: Knoppix, Debian, Fedora. It looks criticial to learn more about your disk (manufacturer, model, etc) - you get it with 'dmesg', and about your disk partitions - you get it with 'cfdisk',or 'fdisk', or 'parted' Post it all here. HDD is COMPAQ AD00932372 9.1Gb 1RPM It is autopartitioned by bsd installer on step 2 (boot without HDD and insert it when kernel is booting). You want to boot your system with hd in place. Here is some additional info: Hardware supported by FB-9 http://www.freebsd.org/releases/9.0R/hardware.html ... The ahc(4) driver supports the following SCSI host adapter chips and SCSI controller cards: ... Adaptec AIC7896 host adapter chip ... ahc(4) driver: http://www.freebsd.org/cgi/man.cgi?query=ahcsektion=4manpath=FreeBSD+9.0-RELEASE Read it. On my FB-9: $ kldstat -v |grep -i ahc 55 ahc 52 pci/ahc_pci 51 isa/ahc_isa 50 eisa/ahc_eisa 48 pci/ahci 47 atapci/ahci 46 ahci/ahcich 72 pci/ata_ahci 71 atapci/ata_ahci_ata So, the kernel includes the drivers. Also: $ sysctl -a | grep -i ahc options AHC_REG_PRETTY_PRINT device ahci device ahc dev.ahci.0.%desc: Intel ICH8M AHCI SATA controller dev.ahci.0.%driver: ahci dev.ahci.0.%location: slot=31 function=2 handle=\_SB_.PCI0.SATA dev.ahci.0.%pnpinfo: vendor=0x8086 device=0x2829 subvendor=0x17aa subdevice=0x20a7 class=0x010601 dev.ahci.0.%parent: pci0 dev.ahcich.0.%desc: AHCI channel dev.ahcich.0.%driver: ahcich dev.ahcich.0.%location: channel=0 dev.ahcich.0.%parent: ahci0 dev.ahcich.1.%desc: AHCI channel dev.ahcich.1.%driver: ahcich dev.ahcich.1.%location: channel=2 dev.ahcich.1.%parent: ahci0 Do what I said in previous post - look at BIOS and get dmesg from Linux live CD (it may show a hint about something specific on controller/driver or hd, or cause of trouble if it does not boot with Linux too). jb ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cant boot 9-RELEASE on Intel L440GX+ based system
Sergey Listopad psychosensor at gmail.com writes: Hi. I try to boot topic on retro dual PIII Intel L440GX+ based system. It is onboard AIC-7896 SCSI controller with 1 COMPAQ HDD. CDROM is IDE. When I try boot from installation CD, boot stuck on CD Loader 1.2 ... BTX loader 1.00 BTX version is 1.02 Consoles: internal video/keyboard BIOS CD is cd0 BIOS drive A: is disk0 If I remove HDD, system (/boot/loader) boot from CD just fine. Then I insert HDD (hotswap) and able to install on it. But after reboot (with installation CD disk removed from drive) system unable to boot. And stuck on the same place, after ... BIOS drive A: is disk0 Maybe anybody can help me to resolve this issue. I can post any additional information which may be helpful. Thanx. If FreeBSD boot loader can not find a root partition (slice), you can help with a boot parameter, for example vfs.root.mountfrom=ufs:ad4s4a After booting, verify and update /etc/fstab, otherwise add it to /boot/loader.conf . Also, the FreeBSD boot slice must be marked as bootable (active). jb ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org