isp(4) WWNs / ISP2532

2011-10-26 Thread Dennis Koegel
Cheers,

we have a Qlogic ISP 2532 PCI FC-AL Adapter here, on 9.0-RC1, which
seems to work fine with isp(4).

But: We had some trouble finding the WWNs -- per man page, there should
be sysctl entries like dev.isp.N.{wwnn,wwpn}, but they ain't here. dmesg
didn't show them either.

Booting verbose does print them.

Is the man page outdated, or a strange behaviour because this chip
isn't explicitly supported?

Thanks,
- D.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


gmultipath: act/act, path checking?

2011-10-26 Thread Dennis Koegel
Cheers,

are there any plans to have gmultipath support for active/active?

Also, is there any way to check available paths periodically? As far as
I unterstand, once gmultipath kicks a certain path due to failure, it
will never come back automatically. (And it won't ever be used if it
isn't working at boot time)

I've found some discussion about this from 2008, but nothing since...

Thanks,
- D.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Fresh installed Freebsd 9 don't boot from hd

2011-10-24 Thread Dennis Koegel
On Mon, Oct 24, 2011 at 11:33:23AM -0400, John Baldwin wrote:
 Perhaps try http://www.freebsd.org/~jhb/patches/edd_params.patch

GCC chokes here in drv.c:{49,50}: cannot convert to a pointer type:

v86.ds = VTOPSEG(params);
v86.esi = VTOPOFF(params);

Changed this to params. Also changed sector_size to uint16_t as noted
by Andriy. Boots perfectly! (Tested with gcc and clang)

Thanks!
- D.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Fresh installed Freebsd 9 don't boot from hd

2011-10-23 Thread Dennis Koegel
On Fri, Oct 21, 2011 at 04:33:38PM -0400, John Baldwin wrote:
 Working offline with Dennis, we found that changing the CFLAGS in 
 sys/boot/i386/gptboot/Makefile from -O1 to -Os -mrtd (partially reverting 
 an earlier commit) fixed gptboot.  The next test for someone to do would be 
 to 
 try just adding -mrtd and leaving -O1 as-is to see if that fixes it.

More test results:

gcc -Os -fno-guess-branch-probability -fomit-frame-pointer -fno-unit-at-a-time \
-mno-align-long-strings -mrtd [from before r225530]: Boots OK
gcc -Os -mrtd: Boots OK
gcc -O1 -mrtd: Fails
gcc -O1: Fails
gcc -O0: Fails
gcc -Os: Boots OK

clang -O1: Fails
clang -Os: Fails
clang -Oz: Fails

I've put some printf()s into gpt{,boot}.c to trace where the reboot is
triggered. It appears to be in drvsize() (called from gptread()). OTOH
the debug output may have changed where the problem occurs, I don't
know about that.

With 9.0R drawing near, CFLAGS should be s/-O1/-Os/, until we can figure
out what happens. But as for why gcc's magic -Os is required and clang's
output doesn't work at all, I'm clueless.

- D.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Fresh installed Freebsd 9 don't boot from hd

2011-10-23 Thread Dennis Koegel
On Sun, Oct 23, 2011 at 08:57:59PM +0300, Andriy Gapon wrote:
 I found a document that suggests a possibility of BIOS writing more bytes to 
 the
 array than its current size of 0x42: [...]
 Could you please test this hypothesis by trying the following patch?

With -O1 and this patch, it boots. Thank you!

- D.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Fresh installed Freebsd 9 don't boot from hd

2011-10-21 Thread Dennis Koegel
On Thu, Oct 20, 2011 at 11:28:08AM +0400, Pavel Timofeev wrote:
 I used FreeBSD 9 amd64 on my HP Proliant DL360 G5 (smart array p400i mirror)
 as test. [...]
 It was fresh install and I choose guided partitioning (GPT)
 But after reboot my server don't boot from hd.

We have the same issue on a DL580 G7. Install runs fine, but when it's
time for the first boot, the bootcode emits a single '-' (where usually
it would be spinning for a moment while loading), hangs for about two
seconds, and then reboots.

I've used the BETA3 bsdinstall on other (amd64) hardware with GPT and it
worked fine. Also, manually adding the GPT label, partitions and
bootcode using gpart, then rebooting, shows the exact same behaviour
(this was done using the BETA3 Live CD).

I suspect it's something in the vicinity of pmbr bootcode vs.  newer
HP BIOS.

(BTW, not related to this issue: hw.memtest.tests=0 should be default.
The kernel on a system with 128 GB of RAM needs about two minutes (!)
before emitting a single line of output. At first we didn't know about
this test and thought there was a serious problem.)

- D.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org