| Summary: | amr(4) hangs system on -CURRENT or make panic, and conditionally | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Jason Li <delphij> | ||||
| Component: | kern | Assignee: | Andre Oppermann <andre> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | 5.0-CURRENT | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Jason Li
2002-12-26 09:30:00 UTC
I got the same problem when using new amr driver with dell PERC3/DC raid card. I tried the newest source (use cvsup tag=. and tag=RELENG_5_0), but it can not boot and hangs when probe amr device. I think it is a serious problem, because a lot of servers use this kind of raid card. Here is a workaround for this pr: rollback all files in src/sys/dev/amr to that dated OCT 30(or 31). I've not compare the differenet between newest driver and OCT's driver, but when rollback the system works fine. PS, 4.7 stable has the same problem, rollback is temporary way to get rid of this problem. Happy new year, daemons!! liukang=liukang->next; _________________________________________________________________ Help STOP SPAM: Try the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail I tried to enable debug option in amr driver by adding :"CFLAGS= -O -pipe -DAMR_DEBUG COPTFLAGS= -O -pipe -DAMR_DEBUG" in /etc/make.conf and add some printf() in amr.c for debug. I think I find the problem , but I do not know how to solve it. In amr.c (Revision 1.38) Line 1008: while(sc->amr_mailbox->mb_nstatus == 0xFF); The value of sc->amr_mailbox->mb_nstatus is always 255, it seems that amr card should change the value of mb_nstatus itself. (my card is dell PERC3/DC) In pr 45698 http://www.freebsd.org/cgi/query-pr.cgi?pr=45698 I find there is the same problem in HP's raid card on 5.0. 5.0 is about to release, device amr is widely used in servers, I think this problem should be considered as critical. I tried to enable debug option in amr driver by adding :"CFLAGS= -O -pipe -DAMR_DEBUG COPTFLAGS= -O -pipe -DAMR_DEBUG" in /etc/make.conf and add some printf() in amr.c for debug. I think I find the problem , but I do not know how to solve it. In amr.c (Revision 1.38) Line 1008: while(sc->amr_mailbox->mb_nstatus == 0xFF); The value of sc->amr_mailbox->mb_nstatus is always 255, it seems that amr card should change the value of mb_nstatus itself. (my card is dell PERC3/DC) In pr 45698 http://www.freebsd.org/cgi/query-pr.cgi?pr=45698 I find there is the same problem in HP's raid card on 5.0. 5.0 is about to release,Since the device amr is widely used in servers,this problem should be considered as critical. _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus Xin, do you still have the problem with FreeBSD 5.2 or -CURRENT? There have been many fixes to the amr driver since you filed the PR. -- Andre State Changed From-To: open->feedback There have been many changes and fixes to the amr driver. Check back with Originator if fixed. Responsible Changed From-To: freebsd-bugs->andre There have been many changes and fixes to the amr driver. Check back with Originator if fixed. This was believed to be fixed when 5.0 was released. If memory serves me right, it was fixed in revision 1.39 of sys/dev/amr/amr.c, and MFC'ed as 1.36.2.2 for 5.0-RELEASE, and 1.7.2.13 for 4-STABLE. Please close this. The problem no longer exists :) Thank you for your great work! Xin LI Frontfree Technology Network _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org" State Changed From-To: feedback->closed Fixed according to Originator. |