martin@cs.uchicago.edu (Charles Martin) (01/21/91)
Puzzle 1: In Macsbug 6.1, I did 'log hd:foo' and got the message: *** MacsBug was damaged by the command *** Puzzle 2: Subsequently trying the 'drvr' command, I got: Displaying Driver Control Entries dRef dNum Driver Flg Ver qHead Storage Window Dely Drvr at DCE at fffe 0001 .Sony bPO #2 000000 000000 000000 0000 86c3e0 800043d0 that's strange: dCtlRefNum = fffb fffc 0003 .Sound bPO #0 000000 000000 000000 0000 870570 8000473c fffb 0004 .Sony bPO #2 000000 000000 000000 0000 86c3e0 800043d0 fffa 0005 .AIn bPC #3 000000 000000 000000 0000 4086abca 800049b0 fff9 0006 .AOut bPC #3 000000 000000 000000 0000 4086abe2 800049ec fff8 0007 .BIn bPC #3 000000 000000 000000 0000 4086abfa 80004a28 fff7 0008 .BOut bPC #3 000000 000000 000000 0000 4086ac12 80004a64 ffdf 0020 .SCSI00 bPO #0 000000 007e0c 000000 0000 0066f6 80007a0c ffcf 0030 .Display_VI bHO #0 000000 002124 000000 0000 80005344 80004790 #64 Unit Table entries, #9 in use, #55 free Closing log IM I says unit 1 is the HD driver for the Lisa. Why is the unit 4 entry repeated in unit 1? Randomness or higher purpose? Charles Martin // martin@cs.uchicago.edu
das@Apple.COM (David Shayer) (01/21/91)
In article <1991Jan20.183701.27351@midway.uchicago.edu> martin@cs.uchicago.edu (Charles Martin) writes: >Puzzle 1: In Macsbug 6.1, I did 'log hd:foo' and got the message: > > *** MacsBug was damaged by the command *** > >Puzzle 2: Subsequently trying the 'drvr' command, I got: > > Displaying Driver Control Entries > dRef dNum Driver Flg Ver qHead Storage Window Dely Drvr at DCE at > fffe 0001 .Sony bPO #2 000000 000000 000000 0000 86c3e0 800043d0 > that's strange: dCtlRefNum = fffb > fffc 0003 .Sound bPO #0 000000 000000 000000 0000 870570 8000473c > fffb 0004 .Sony bPO #2 000000 000000 000000 0000 86c3e0 800043d0 > fffa 0005 .AIn bPC #3 000000 000000 000000 0000 4086abca 800049b0 > fff9 0006 .AOut bPC #3 000000 000000 000000 0000 4086abe2 800049ec > fff8 0007 .BIn bPC #3 000000 000000 000000 0000 4086abfa 80004a28 > fff7 0008 .BOut bPC #3 000000 000000 000000 0000 4086ac12 80004a64 > ffdf 0020 .SCSI00 bPO #0 000000 007e0c 000000 0000 0066f6 80007a0c > ffcf 0030 .Display_VI bHO #0 000000 002124 000000 0000 80005344 80004790 > #64 Unit Table entries, #9 in use, #55 free > Closing log > >IM I says unit 1 is the HD driver for the Lisa. Why is the unit 4 >entry repeated in unit 1? Randomness or higher purpose? I don't think these two things are related. The log command in Macsbug can fail for a number of reasons. It has to call the file system to write to the disk. If the file system, or the OS below it (the device manager or the device driver or the scsi manager) are damaged, it could fail. Also, if you issue the call at interrupt time it could fail. The Drvr dcmd worked fine. It simply pointed out that the driver in slot 1 had a refnum reserved for the driver in slot 4. Slot 4 is the Sony (floppy disk) driver, slot 1 is the driver for the old HD20 serial hard disk that Apple sold in 1985. In order to save space (I think) Apple combined them into the same driver, and simply has 2 entries in the unit table point to that driver. You will only get that error on Macs that support the HD20 hard disk, which means not Mac II, IIx, and IIfx's. David