Converting form the old MSM driver to the new MSM driver There are three major differences between the new & old msm driver: 1. Only 1 driver is now required for all discs. 2. The major & minor device numbers for msm4 & greater change. 3. The removable cartridge for the Ampex CDD drive was referenced as file system 'g'. It now can be defined as though it were a seperate disk. ( see old & new ). These major changes have some minor side effects worth noting: 1. It is now possible to have multiple file system definitions, ( ie. layouts ) for any given spindle. This is how the removable CDD is handled. When you use "mkconf" you will get a warring reguarding the multiple definition of a device. This is a warring only, & will be received if your system has a CDD drive. Ignore it. You will receive the above warring when you use multiple definitions for the same spindle. Pay attention it may really be an error. NOTE: The use of multiple definitions is not a way of increasing the ammount of storage on a pack !!! It is to allow you to have multiple packs with different layouts & different device names. Packs should be labeled accordingly. You must be careful when mounting the device to be sure you use the correct device name. If you make a mistake, especially when you do 'mkfs' on the pack, you could destroy a lot of data!! If you receive the warring for any device other than a disk, it probably is a real error. Go fix it. 2. 'mkconf' produces a file called mkdev.sh. This file containes the procedure for making most of the required nodes in '/dev'. If you intend on using this file it will probibly have to be edited. Some of the nodes will already be there & you will get errors if you try to make a node that already exists. 3. If your system has only one disk controler: No node changes are required. 4. If your systen has more than one disk controler: The nodes for the drives on the first controler will be correct. The nodes for the drives on the additional controlers will be wrong & must removed & remade, using the edited version of 'mkdev.sh' Procedure: 1. Make a new 'conf' file to describe your system. 2. Make a new system using 'mkconf'. 3. Copy this new system to '/', DO NOT call it 'unix' yet. 4. Edit the 'mkdev.sh' file to reflect the node changes. 'msm[0-3]' & 'rmsm[0-3] should not be in this file. Only 'msm4' & greater, & 'rmsm4' & greater. 5. Copy this file to '/'. 6. Bring the system down. 7. Bring up the new system. DO NOT go multi-user yet. 8. Remove the nodes which referance 'msm4' & greater, & 'rmsm4' & greater. 9. Execute the 'mkdev.sh' file to make the new nodes. 10. Thats it!! _____________________________________________________________________________ _____________________________________________________________________________ * OLD way to define discs. * CDC 'MSM1 80' disk msm dev 0xFC 0xFD cntl 0xFB selch 0xF0 size 67m * 67 megabyte capacity map 0 9600 * msm[01]a 9600 9600 * msm[01]b 19200 9600 * msm[01]c 28800 51200 * msm[01]d 80000 51200 * msm[01]e 28800 102400 * msm[01]f 0 0 * msm[01]g 0 131520 * msm[01] * CDD 'MSM 80' disk fixed/removable msm1 dev 0xEC 0xED cntl 0xEB selch 0xF1 size 67m * 67 megabyte capacity map 0 9600 * msm[4]a 9600 9600 * msm[4]b 19200 9600 * msm[4]c 28800 51200 * msm[4]d 80000 51200 * msm[4]e 28800 102400 * msm[4]f 0 26304 * msm[4]g CDD cartridge. 0 131520 * msm[4] * CDC 'MSM 256' disk msm2 dev 0xDC cntl 0xDB selch 0xF2 size 256m * 256 megabyte capacity map 0 9600 * msm[8]a 9600 9600 * msm[8]b 19200 9600 * msm[8]c 28800 51200 * msm[8]d 80000 51200 * msm[8]e 28800 102400 * msm[8]f 131200 368576 * msm[8]g 0 499776 * msm[8] _____________________________________________________________________________ _____________________________________________________________________________ * NEW way to define discs. layout mapa 0 9600 * msm[014]a 9600 9600 * msm[014]b 19200 9600 * msm[014]c 28800 51200 * msm[014]d 80000 51200 * msm[014]e 28800 102400 * msm[014]f 0 0 * msm[014]g 0 131520 * msm[014] layout mapb 0 9600 * msm[8]a 9600 9600 * msm[8]b 19200 9600 * msm[8]c 28800 51200 * msm[8]d 80000 51200 * msm[8]e 28800 102400 * msm[8]f 131200 368576 * msm[8]g 0 499776 * msm[8] layout mapc 0 0 * msm[5]a 0 0 * msm[5]b 0 0 * msm[5]c 0 0 * msm[5]d 0 0 * msm[5]e 0 0 * msm[5]f 0 0 * msm[5]g 0 26304 * msm[5] CDD cartridge. * MSM DISC DEFINITIONS : msm dev 0xFC 0xFD 0xEC 0xDC 0xEC cntl 0xFB 0xFB 0xEB 0xDB 0xEB selch 0xF0 0xF0 0xF1 0xF2 0xF1 type d67 d67 c67f d256 c13r pict mapa mapa mapa mapb mapc name msm0 msm1 msm4 msm8 msm5 _____________________________________________________________________________ _____________________________________________________________________________