IBM eServer x225 - LSI 1030 SCSI - BTX Halted / infinite loop - Need help booting recompiled kernel so i can install

2008-08-07 Thread underligast
I'm trying to install FreeBSD 7.0 on my IBM eServer x225 (8647-5CG)
(1x Xeon 2.8GHz(512KB), 2x 2048MB PC2100 DDR SDRAM (ecc), 2x 74GB 10K rpm
U320 HDD, Ultra320 SCSI LSI 1030 controller, 48x CD-ROM, Broadcom NetXtreme
10/100/1000 Integrated Ethernet, ATI Rage XL)

The server/drives runs fine under windows 2003 and ubuntu server but the
FreeBSD installation just halts.

I've tried:
CD: disk1 from 6.2, 7.0,
CD: bootonly from 7.0-stable, 8.0-current
Floppys: 7.0

They all end the same, cds with an infinite loop of numbers, floppys with
BTX Halted and a lot of numbers.

int=000derr=efl=00010006eip=000219b2
eax=000219acebx=ecx=c080edx=000587d8
esi=0003e007edi=ebp=0008fcbcesp=00099c88
cs=0008   ds=0010   es=0010   fs=0010   gs=0010   ss=0010
cs:eip=0f 32 0d 00 01 00 00 0f-30 0f 20 e0 83 c8 30 0f
   22 e0 b8 00 c0 03 00 0f-22 d8 0f 20 c0 0d 00 00
ss:esp=90 95 00 00 00 80 fc 00-00 90 fc 00 07 e0 03 00
   00 00 00 00 07 d0 03 00-00 00 00 00 cc 87 05 00
BTX halted

The only difference is when i boot from 7.0-STABLE-200804-i386-bootonly.iso,
or 8.0-CURRENT-200807-i386-bootonly.iso, then i see

BTX loader 1.00 BTX version is 1.02
Consoles: internal video/keyboard
BIOS CD is cd0
BIOS drive A: is disk0

Then it stops.
If i remove both the harddrives i can boot into the freebsd installer,
but as there are no drives, there is nowhere to install.

Atleast when i started with the floppys it detected drive1 and 2 before BTX
halted..
I asked on questions@ and i was suggested to compile and boot a different
kernel on the machine.

There are three ways for me to do this, there are IDE-slots in it so i can
probably find an old IDE drive somewhere and install. I have access to a
rocketraid pci-x card for sata drives (might add yet another problem to the
machine) or i can do it with a usb-attached sata/ide drive. I'm guessing the
straight IDE approach is the best.

What i need to know is how to compile a different kernel, where do i find
drivers for the LSI 1030 SCSI-controller? What i see in the old kernel.conf
for freebsd 6.0 (or is it 6.2) contains
device  mpt # LSI-Logic MPT-Fusion
device  mfi # LSI MegaRAID SAS

I have no idea what they are but SAS is serial attached sata isn't it? And
if they're uncommented it should mean that they're active and that they're
most likely actually already running in the kernel i'm trying to boot from
the installation cd? Can i get other drivers/modules or whatever they're
called?

When i've compiled the new kernel, how do i transfer it to a cd so i can
boot the installation with it?

I hope i make any sense with my questions.

Thanks in advance :)
___
freebsd-hardware@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hardware
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IBM eServer x225 - LSI 1030 SCSI - BTX Halted / infinite loop - Need help booting recompiled kernel so i can install

2008-08-07 Thread Dieter
 I'm trying to install FreeBSD 7.0 on my IBM eServer x225 (8647-5CG)
 (1x Xeon 2.8GHz(512KB), 2x 2048MB PC2100 DDR SDRAM (ecc), 2x 74GB 10K rpm
 U320 HDD, Ultra320 SCSI LSI 1030 controller, 48x CD-ROM, Broadcom NetXtreme
 10/100/1000 Integrated Ethernet, ATI Rage XL)

 Then it stops.
 If i remove both the harddrives i can boot into the freebsd installer,
 but as there are no drives, there is nowhere to install.

 What i need to know is how to compile a different kernel, where do i find
 drivers for the LSI 1030 SCSI-controller? What i see in the old kernel.conf
 for freebsd 6.0 (or is it 6.2) contains
 device  mpt # LSI-Logic MPT-Fusion
 device  mfi # LSI MegaRAID SAS

If disconnecting the SCSI drives fixes the problem, I'd guess that you
already have a device driver for the SCSI-controller, but it has a problem.
You can look into debugging the driver, or you can use a different
controller (e.g. PATA/SATA/Firewire/USB or a different SCSI controller)

Is 1030 short for 53c1030 ?  The 7.0 mpt(4) man page lists
LSI Logic 53c1030, LSI Logic LSI2x320-X (Single and Dual Ultra320 SCSI)
as being supported.

 I have no idea what they are but SAS is serial attached sata isn't it?

serial attached scsi

 And
 if they're uncommented it should mean that they're active and that they're
 most likely actually already running in the kernel i'm trying to boot from
 the installation cd?

yes

 Can i get other drivers/modules or whatever they're
 called?

You can uncomment additional drivers and build a new kernel.
Or you can load additional drivers after booting with the
kldload(8) command (man kldload).  Obviously kldload is
not useful for drivers that are needed to boot.  But if
you install to SATA (or whatever), you could boot from
SATA and then kldload a custom driver for the LSI 1030 with
extra debugging printfs.
___
freebsd-hardware@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hardware
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IBM eServer x225 - LSI 1030 SCSI - BTX Halted / infinite loop - Need help booting recompiled kernel so i can install

2008-08-07 Thread Ivan Voras

underligast wrote:


I've tried:
CD: disk1 from 6.2, 7.0,
CD: bootonly from 7.0-stable, 8.0-current
Floppys: 7.0

They all end the same, cds with an infinite loop of numbers, floppys with
BTX Halted and a lot of numbers.

int=000derr=efl=00010006eip=000219b2
eax=000219acebx=ecx=c080edx=000587d8
esi=0003e007edi=ebp=0008fcbcesp=00099c88
cs=0008   ds=0010   es=0010   fs=0010   gs=0010   ss=0010
cs:eip=0f 32 0d 00 01 00 00 0f-30 0f 20 e0 83 c8 30 0f
   22 e0 b8 00 c0 03 00 0f-22 d8 0f 20 c0 0d 00 00
ss:esp=90 95 00 00 00 80 fc 00-00 90 fc 00 07 e0 03 00
   00 00 00 00 07 d0 03 00-00 00 00 00 cc 87 05 00
BTX halted

The only difference is when i boot from 7.0-STABLE-200804-i386-bootonly.iso,
or 8.0-CURRENT-200807-i386-bootonly.iso, then i see

BTX loader 1.00 BTX version is 1.02
Consoles: internal video/keyboard
BIOS CD is cd0
BIOS drive A: is disk0

Then it stops.
If i remove both the harddrives i can boot into the freebsd installer,
but as there are no drives, there is nowhere to install.


Did you clear the configuration of the RAID controller? Is there a way 
you can completely reset it? Can you blank the drives?



What i need to know is how to compile a different kernel, where do i find
drivers for the LSI 1030 SCSI-controller? What i see in the old kernel.conf
for freebsd 6.0 (or is it 6.2) contains
device  mpt # LSI-Logic MPT-Fusion
device  mfi # LSI MegaRAID SAS


Looking at the source, it seems LSI 1030 is supported by the mpt driver 
so it should work. Since you have problems with the boot loader, maybe 
it won't help to build another kernel.


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).



I have no idea what they are but SAS is serial attached sata isn't it? And
if they're uncommented it should mean that they're active and that they're
most likely actually already running in the kernel i'm trying to boot from
the installation cd? Can i get other drivers/modules or whatever they're
called?

When i've compiled the new kernel, how do i transfer it to a cd so i can
boot the installation with it?


You need to create a bootable CD, at least. Google around, there are 
several tutorials.




signature.asc
Description: OpenPGP digital signature


Re: IBM eServer x225 - LSI 1030 SCSI - BTX Halted / infinite loop - Need help booting recompiled kernel so i can install

2008-08-07 Thread Jeremy Chadwick
On Thu, Aug 07, 2008 at 11:44:58PM +0200, Jonas Lund wrote:
 BTX is the new bootloader that works in 32bit (it's actually been in
 for a few releases now). So the kernel has nothing to do with this.
 
 I originally subscribed to this list for an almost identical problem.
 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'm using gmirror raid now as
 apperantly the rocketraid card was just some software thing anyhow).
 
 I have a feeling that it might be some combinations of BTX, BIOS and
 RAID firmware that causes these crashes. FreeBSD being a marginal OS
 the BTX code just has a chance of triggering odd corner case being a
 32bit loader.
 
 I haven't kept up with linux but last i checked they use a 16bit
 bootloader unless the distro has migrated to grub. (Remembering
 correctly GRUB also crashed on my setup like btx).
 Never tried booting windows on my setup.

Please be aware of the following CVS commit, which was 4 months ago
(look at the top 3 commits shown, for RELENG_[467] branches):

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/boot/i386/btx/btx/Makefile

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

___
freebsd-hardware@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hardware
To unsubscribe, send any mail to [EMAIL PROTECTED]