Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!sdd.hp.com!hp-pcd!hpfcso!hpfcdc!ses From: ses@hpfcdc.HP.COM (Steve Speer) Newsgroups: comp.sys.hp Subject: Re: SAM sucks (was Re: ARPA Services Problems on 7.0) Message-ID: <5570449@hpfcdc.HP.COM> Date: 10 Jul 90 18:12:05 GMT References: <9722@pt.cs.cmu.edu> Organization: HP Ft. Collins, Co. Lines: 48 / hpfcdc:comp.sys.hp / panguyen@vela.acs.oakland.edu (panguyen) / 9:56 am Jul 7, 1990 / >I agree totally. I was talking to a Tech Support SE from HP who wrote >the script in SAM. >He admitted that there were some bugs within SAM. >But when I ask him where are those bugs, he snowballed me at the end. >Just FYI, the bug that I spotted was in adding new peripherals, >particularly adding terminals and modems. When one use SAM, the entry >in /etc/inittab will not be correct. At the same time, the device >character file in /dev for the new terminal and / or modem will be >screwed up, particularly in the minor number field. Just to let you >guys know. >Peter Nguyen >---------- The script for 7.0 sam (/usr/sam/bin/mkterm.sh) that creates the device files and puts the appropriate entry into /etc/inittab was not written by an S.E. This script was derived from a previous one (perhaps the one the SE was referring to), but the bug was introduced in support of modems on series 300 machines in 7.0. It ONLY creates the wrong device file if you are adding a modem (terminals are not affected) on a series 300 machine with a select code greater than 9. All other configurations create the correct device file. I am not aware of any problems with the entry in /etc/inittab, if you are, I would very much appreciate any details that you can offer. We are always concerned about any bugs that have made it out the door and want very much to identify them as quickly as possible to get them corrected as soon as possible. The defect in the shell script has been corrected for 8.0 and there is a very simple workaround/patch available to you. If you want to do it yourself, just edit the script above and move line #335 which looks like: lu=`echo $lu |awk '{printf("%x",$1)}'` to line #295 immediately after the comment: # remove old device and recreate That will fix it. Again, I'm not aware of any problems with the entry created in /etc/inittab (except that if you add a modem in the manner described above, the entry obviously won't function as intended). Any more details that can be offered for any bugs you've seen here will be greatly appreciated. Thank you, -Steven Speer Disclaimer: This note is posted as a courtesy and in no way represents any official postion or opinion of Hewlett-Packard. Any mistakes in the posting are the sole responsibility of myself.