Re: FreeBSD-AMD64 on Xeon MP - SOLVED

2008-11-12 Thread Ivan Voras
2008/11/12 Eirik Øverby [EMAIL PROTECTED]:
 Hi all,

 the issue below has been solved by a new BIOS for the server in question. I
 recently received a beta BIOS from Supermicro, after having reported the
 issue and done a bit of troubleshooting with them. The tip that helped the
 most was the boot-linux-first trick.

 Anyone who wants the BIOS may mail me privately; otherwise it'll likely be
 released by Supermicro in the not-too-distant future.

Hi,

I'd like the update since it's likely I'll get another of those machines soon.
___
freebsd-hardware@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hardware
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: FreeBSD-AMD64 on Xeon MP

2008-10-20 Thread Eirik Øverby

Hi,


 Hi all,

 I try to run FreeBSD-7-AMD64 on a Quad Xeon (Xeon MP 7320) and  
32GB RAM.

 The Board is a X7QC3 by supermicro and the installation is done on
 another system, updated and plugged to this system. So I have a  
drive

 with 7-STABLE compiled today.

 The last line I see from dmesg is vga0- then the system freezes.

 Anyone using a similar configuration or knows what could be wrong? I
 still have some days left to play with it, before this box gets  
shipped

 to the customer.

This looks very, very similar to what I had once, on similar hardware
(4x Xeon 7xxx, SuperMicro). I didn't find a solution and didn't bother
since the box isn't intended for FreeBSD. I did find (by accident) a
curious workaround: I booted Linux (I used Ubuntu 8.04 amd64 LiveCD -
just to boot it, without installing), then rebooted and booted  
FreeBSD -

worked every time, but it's obviously not a long-term solution. If you
can also verify that this solves the problem, then someone might  
work

with you to produce a patch.


I just received four such servers, all intended for FreeBSD And  
I'm seeing exactly the same problem. I'm going to try booting Linux  
and then back into FreeBSD, but it's obviously not a solution. Anyone  
who might want to work on this can have a box like this to work on via  
remote KVM (including remote boot media capability) any time.


I'm going to go poke the supplier and Supermicro for some updated  
firmware.

Any progress on your end?

Some additional info: Safe mode boot gets a bit further, to the point  
where it tries to mount/read from /dev/md0, but then hangs hard.


/Eirik

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


Re: FreeBSD-AMD64 on Xeon MP

2008-09-03 Thread Ivan Voras
Don Bowman wrote:

 I tried putting a call to uhci_dumpregs() there, it hangs as well. So my
 assumption
 Is that a read to 0x3080 is hanging.
 
 Anyone have any suggestions?

If the same thing that worked for me works for you (booting Linux before
soft-rebooting into FreeBSD) than it would look like something isn't
initialized right.



signature.asc
Description: OpenPGP digital signature


RE: FreeBSD-AMD64 on Xeon MP

2008-09-03 Thread Don Bowman
From Ivan Voras
 Don Bowman wrote:
 
  I tried putting a call to uhci_dumpregs() there, it hangs as well.
So
  my assumption Is that a read to 0x3080 is hanging.
 
  Anyone have any suggestions?
 
 If the same thing that worked for me works for you (booting Linux
 before soft-rebooting into FreeBSD) than it would look like something
 isn't initialized right.

I am focusing in on SMM emulation.
http://www.ussg.indiana.edu/hypermail/linux/kernel/0407.3/0688.html
suggests something to me.

What if I am executing this on a processor other than the boot
processor,
and the SMM code doesn't expect this?

I'm not sure where I would try this patch in freebsd, but it seems
promising.

Ie I read 0xe090. This trips SMM for legacy(?). SMM is entered, does 
something, corrupts, leaves, and then a few instructions later I crash.

The suggested workaround for this (different machine and OS) is to
disable
the legacy mode. FreeBSD seems to do this already I think, calling:
pci_write_config(self, PCI_LEGSUP, PCI_LEGSUP_USBPIRQDEN, 2); in
uhci_pci_attach()


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


FreeBSD-AMD64 on Xeon MP

2008-09-02 Thread Don Bowman
On Mon Aug 11 21:23:58 UTC 2008 John Baldwin wrote:
On Monday 11 August 2008 11:25:01 am Michael Fuckner wrote:
  Hi all,
  
  I try to run FreeBSD-7-AMD64 on a Quad Xeon (Xeon MP 7320) and 32GB
RAM. 
  The Board is a X7QC3 by supermicro and the installation is done on 
  another system, updated and plugged to this system. So I have a
drive 
  with 7-STABLE compiled today.
 
  The last line I see from dmesg is vga0- then the system freezes.
 
  Anyone using a similar configuration or knows what could be wrong? I

  still have some days left to play with it, before this box gets
shipped 
  to the customer.

 It is probably waiting for a config intr hook to complete.  rwatson@
recently 
 added some code to HEAD to help with debugging hangs there.  That
patch 
 probably applies directly to 7.x and would be helpful in determining
what is 
 hanging.

So I have debugged this down (same board), using 32-bit kernel.
I have found it is hanging reading from the UHCI controller (register
0x10).
I am using HEAD.

In uhci_root_ctrl_start(), in case C(UR_GET_STATUS,
UT_READ_CLASS_OTHER):, it does:
x = UREAD2(sc, port);

now, this translates into a read from 0x3090 [UHCI base address is
0x3080, offset
is 0x10 for the PORTSC0 register.

I debugged this down by putting printf() in. I can't really fathom why
that read would hang, does anyone have a suggestion on where to go next
debugging?

The chipset on this board is 631xESB/632xESB ICH.

I tried putting a call to uhci_dumpregs() there, it hangs as well. So my
assumption
Is that a read to 0x3080 is hanging.

Anyone have any suggestions?

System has 4 XEON MP processors, Intel 7300 chipset, 1GB of RAM,
motherboard is described
http://www.supermicro.com/products/motherboard/Xeon7000/7300/X7QC3.cfm
The IPMI is not installed.



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


Re: FreeBSD-AMD64 on Xeon MP

2008-08-11 Thread Michael Fuckner

Simon wrote:

Are you trying to run a generic kernel, if not, have you tried?

-Simon


Yes, I am trying to boot GENERIC.

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


FreeBSD-AMD64 on Xeon MP

2008-08-11 Thread Michael Fuckner

Hi all,

I try to run FreeBSD-7-AMD64 on a Quad Xeon (Xeon MP 7320) and 32GB RAM. 
The Board is a X7QC3 by supermicro and the installation is done on 
another system, updated and plugged to this system. So I have a drive 
with 7-STABLE compiled today.


The last line I see from dmesg is vga0- then the system freezes.

Anyone using a similar configuration or knows what could be wrong? I 
still have some days left to play with it, before this box gets shipped 
to the customer.


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


Re: FreeBSD-AMD64 on Xeon MP

2008-08-11 Thread John Baldwin
On Monday 11 August 2008 11:25:01 am Michael Fuckner wrote:
 Hi all,
 
 I try to run FreeBSD-7-AMD64 on a Quad Xeon (Xeon MP 7320) and 32GB RAM. 
 The Board is a X7QC3 by supermicro and the installation is done on 
 another system, updated and plugged to this system. So I have a drive 
 with 7-STABLE compiled today.
 
 The last line I see from dmesg is vga0- then the system freezes.
 
 Anyone using a similar configuration or knows what could be wrong? I 
 still have some days left to play with it, before this box gets shipped 
 to the customer.

It is probably waiting for a config intr hook to complete.  rwatson@ recently 
added some code to HEAD to help with debugging hangs there.  That patch 
probably applies directly to 7.x and would be helpful in determining what is 
hanging.

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


Re: FreeBSD-AMD64 on Xeon MP

2008-08-11 Thread Ivan Voras

Michael Fuckner wrote:

Hi all,

I try to run FreeBSD-7-AMD64 on a Quad Xeon (Xeon MP 7320) and 32GB RAM. 
The Board is a X7QC3 by supermicro and the installation is done on 
another system, updated and plugged to this system. So I have a drive 
with 7-STABLE compiled today.


The last line I see from dmesg is vga0- then the system freezes.

Anyone using a similar configuration or knows what could be wrong? I 
still have some days left to play with it, before this box gets shipped 
to the customer.


This looks very, very similar to what I had once, on similar hardware 
(4x Xeon 7xxx, SuperMicro). I didn't find a solution and didn't bother 
since the box isn't intended for FreeBSD. I did find (by accident) a 
curious workaround: I booted Linux (I used Ubuntu 8.04 amd64 LiveCD - 
just to boot it, without installing), then rebooted and booted FreeBSD - 
worked every time, but it's obviously not a long-term solution. If you 
can also verify that this solves the problem, then someone might work 
with you to produce a patch.





signature.asc
Description: OpenPGP digital signature