Re: mfii hanging on boot

2022-06-27 Thread Martin Husemann
On Tue, Jun 28, 2022 at 01:05:46AM +0900, Masanobu SAITOH wrote: > It's just to make the same line as of bus_space_write_8(). > I don't know why it's "&& 0"ed. I have no clue about the hardware, so can only guess: > --- > static void > mfii_start(struct mfii_softc *sc, struct mfii_ccb *cc

Re: mfii hanging on boot

2022-06-27 Thread Masanobu SAITOH
On 2022/06/23 18:33, Edgar Fuß wrote: >> I committed the change yesterday. > I don't get what the #if defined(__LP64__) && 0 is for. It's just to make the same line as of bus_space_write_8(). I don't know why it's "&& 0"ed. --- static void mfii_start(struct mfii_softc *sc, struct mfii_c

Re: mfii hanging on boot

2022-06-23 Thread John Klos
I saw almost the same situation. To recover from the error, I had to power-down the machine, unplug the battery, keep a few minutes, plug the battery and power-up again. I committed the change yesterday. I guess that it fixes kern/55192 and kern/56669. My machine is only 2500 km away, but it

Re: mfii hanging on boot

2022-06-23 Thread Edgar Fuß
> I committed the change yesterday. I don't get what the #if defined(__LP64__) && 0 is for.

Re: mfii hanging on boot

2022-06-22 Thread Masanobu SAITOH
On 2022/06/22 4:55, c...@sdf.org wrote: > Hello Masa - Hi, Stephen. > I was able to apply your patch to the 9.2 tree and built a kernel and > pxebooted it. Unfortunately the status now looks like this: > > mfii0 at pci5 dev 0 function 0mfii0: firmware fault > > https://sdf.org/eu (full boo

Re: mfii hanging on boot

2022-06-21 Thread cirr
Hello Masa - I was able to apply your patch to the 9.2 tree and built a kernel and pxebooted it. Unfortunately the status now looks like this: mfii0 at pci5 dev 0 function 0mfii0: firmware fault https://sdf.org/eu (full boot sequence) The machine is 8412km away in a data center and I don't h

Re: mfii hanging on boot

2022-06-21 Thread Masanobu SAITOH
I have 9272-8i and it have been working well on netbsd-9 since several weeks ago. > mfii0 at pci1 dev 0 function 0: "LSI MegaRAID SAS 9272-8i", firmware > 23.34.0-0019, 512MB cache > mfii0: interrupting at ioapic0 pin 16 Could you all who have problem with mfii(4) test with the following diff?

Re: mfii hanging on boot

2022-06-20 Thread Brian Buhrow
hello. Given that the system was running fine under 9.2 and you haven't updated anything immediately before it began hanging, I'm inclined to think you have a hardware issue. Some questions: 1. Does the raid card have any battery backed up cache on it? If so, what is the state of th

mfii hanging on boot

2022-06-20 Thread Stephen M. Jones
Hello, I've got a file server that has gotten into a state where it will no longer complete boot. I am wondering if this is related to kern/56669 "crash at MegaRAID SAS 9341-8i " In my case it happens to be an LSI MegaRAID SAS 9271-8i. This is a production server that was built about 3 years