Big thanks to William Enestvedt [Will.Enestvedt@jwu.edu] and Connolly, Michael [Michael.Connolly@itt.com] to fix this problem all you need to do is put the line forceload: misc/md_sp in the MOD root info section of /etc/system BTW, when I broke all mirrors and metadb replicas and recreated mirrors from scratch, that line come to the proper place automatically. crashing the box was related to the different problem with disk under SRC/P. I'm still investigate it. Thanks and regards -Alex -----Original Message----- From: Kruchkoff, A (Alex) [mailto:Alex.Kruchkoff@SYD.RABOBANK.COM] Sent: Tuesday, 30 October 2001 21:09 To: sunmanagers@sunmanagers.org Subject: How to force the loading of md_sp driver. Hi, Here is my environment. The e450: SunOS Release 5.8 Version Generic_108528-10 64-bit with SDS 4.2.1 with the patch: $ showrev -p | grep 108693 Patch: 108693-07 Obsoletes: Requires: Incompatibles: Packages: SUNWmdg, SUNWmdnu, SUNWmdr, SUNWmdu, SUNWmdx The problem. When the box is booted, I got the message: NOTICE: md: could not load misc/md_sp If I try to see the module info - there is no such thing: modinfo | grep md_sp $ I created a soft partition but without md_sp: $ metastat -p ... d50 1 1 d30 metastat: titanic: d30: unit not set up And as a result: If I try to do something with that devices the box will crash: $ sudo prtvtoc /dev/md/rdsk/d50 panic[cpu1]/thread=3000300c5c0: BAD TRAP: type=31 rp=2a100a1d410 addr=32 mmu_f sr=0 occurred in module "md" due to a NULL pointer dereference prtvtoc: trap type = 0x31 addr=0x32 pid=998, pc=0x101fb890, sp=0x2a100a1ccb1, tstate=0x4400001600, context=0x1c9 g1-g7: 1047ac00, ffffffff, ffffffff, 3000005e1a0, f0, 0, 3000300c5c0 000002a100a1d030 unix:die+80 (31, 32, 10414f50, 0, 2a100a1d410, ca172032) %l0-3: 0000000000000002 0000000000000005 0000005500000032 000002a100a1d990 %l4-7: 0000030000a95748 0000000000000000 00000300028b5120 00000300028b5038 000002a100a1d110 unix:trap+8dc (0, 1, 5, 0, 2a100a1d410, 0) %l0-3: 0000000000000001 0000000000023230 0000030003072010 0000000000000000 %l4-7: 0000000000000031 0000030002f9f530 0000000000010000 000000007fffffff 000002a100a1d250 unix:sfmmu_tsb_miss+640 (104285f8, 0, 3000005df88, 0, 3000005df 88, 19) %l0-3: 0000000000000000 0000000000000004 0000000000011788 00000310000bf100 %l4-7: 0000000000000000 0000000000000000 0000000000000000 0000000000000003 000002a100a1d360 unix:prom_rtt+0 (1047a400, 0, 20, 2a100a1d3ec, 5500000032, 4) %l0-3: 0000000000000001 0000000000001400 0000004400001600 00000000100190d4 %l4-7: 0000000010433588 0000000000000000 0000000000000000 000002a100a1d410 000002a100a1d4b0 md:md_layered_open+58 (0, 30000a95f28, 1e, 2a100a1d618, 0, 3000 0a95f28) %l0-3: 000002a100a1d618 0000000000000055 0000000000000013 0000000000000004 %l4-7: 0000005500000032 00000300030ce350 0000000000000000 0000000000000000 000002a100a1d560 md_stripe:stripe_open_all_devs+8c (30000a91768, 30000a917d8, 0, 30000a917d8, 0, 32) %l0-3: 0000030000030780 0000030000a917c4 0000000000000000 0000000000000000 %l4-7: 0000000000000001 0000000000000000 0000000000000000 0000030000a917c4 000002a100a1d620 md_stripe:stripe_open+7c (30000a91768, 2, 0, 5, 3000005b268, 32 ) %l0-3: 0000030000060d28 0000000000000012 0000000000000000 0000030001e01e18 %l4-7: 0000030000a95748 000002a100a1d990 0000030001dd6f60 00000300028b4f40 000002a100a1d6d0 md:mdopen+1f4 (0, 1047abf8, 1fff, 30000a95748, 2a100a1d8a8, 0) %l0-3: 000000001021ea74 0000000000000002 0000000000000005 000003000005b268 %l4-7: 0000030003072010 0000000000000000 000000007efefeff 0000000081010100 000002a100a1d780 specfs:spec_open+678 (55, ffffffff, 30000a95748, 55, 300028b4f3 8, 300028b4f40) %l0-3: 0000000000000001 0000000000000005 0000005500000032 000002a100a1d990 %l4-7: 0000030000a95748 0000000000000000 00000300028b5120 00000300028b5038 000002a100a1d8b0 genunix:vn_open+30c (5, 0, 230, 0, 100, 0) %l0-3: 0000000010146ff0 0000000000023230 0000000000000000 0000000000000005 %l4-7: 0000000000000000 0000000000000012 0000000000000000 000000007fffffff 000002a100a1da20 genunix:copen+94 (23230, 5, 23230, 5, 0, 0) 000002a100a1d780 specfs:spec_open+678 (55, ffffffff, 30000a95748, 55, 300028b4f3 8, 300028b4f40) %l0-3: 0000000000000001 0000000000000005 0000005500000032 000002a100a1d990 %l4-7: 0000030000a95748 0000000000000000 00000300028b5120 00000300028b5038 000002a100a1d8b0 genunix:vn_open+30c (5, 0, 230, 0, 100, 0) %l0-3: 0000000010146ff0 0000000000023230 0000000000000000 0000000000000005 %l4-7: 0000000000000000 0000000000000012 0000000000000000 000000007fffffff 000002a100a1da20 genunix:copen+94 (23230, 5, 23230, 5, 0, 0) %l0-3: 0000000000000005 00000000ff3a0018 0000000000011788 0000000000022550 %l4-7: 00000000ff316570 0000000000000000 00000000ff3e3c40 0000000000000000 syncing file systems... done dumping to /dev/dsk/c0t0d0s3, offset 65536 100% done: 17385 pages dumped, compression ratio 6.66, dump succeeded rebooting... Resetting ... :( But if I create a new soft partition with $ metainit d31 -p c4t0d0s4 2000m d31: Soft Partition is setup the driver will be loaded automatically: $ modinfo | grep md_sp 39 1031ebf6 3520 - 1 md_sp (Meta disk soft partition module and the metastat shows everything as expected: $ metastat -p ... d50 1 1 d30 d30 -p c4t0d0s4 -o 1 -b 4096000 d31 -p c4t0d0s4 -o 1 -b 4096000 So, my question is how to force the loading of md_sp driver and avoid the crashing of the box? I will summarise. Thanks and regards -Alex ================================================================== De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt wordt u verzocht de inhoud niet te gebruiken en de afzender direct te informeren door het bericht te retourneren. ================================================================== The information contained in this message may be confidential and is intended to be exclusively for the addressee. Should you receive this message unintentionally, please do not use the contents herein and notify the sender immediately by return e-mail. ================================================================== _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers ================================================================== De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt wordt u verzocht de inhoud niet te gebruiken en de afzender direct te informeren door het bericht te retourneren. ================================================================== The information contained in this message may be confidential and is intended to be exclusively for the addressee. Should you receive this message unintentionally, please do not use the contents herein and notify the sender immediately by return e-mail. ================================================================== ================================================================== De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt wordt u verzocht de inhoud niet te gebruiken en de afzender direct te informeren door het bericht te retourneren. ================================================================== The information contained in this message may be confidential and is intended to be exclusively for the addressee. Should you receive this message unintentionally, please do not use the contents herein and notify the sender immediately by return e-mail. ==================================================================Received on Thu Nov 1 00:15:31 2001
This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:32:34 EDT