*BSD News Article 32020


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!MathWorks.Com!panix!not-for-mail
From: scibp6p@panix.com (Boris Pitel)
Newsgroups: comp.os.386bsd.questions
Subject: Again config
Date: 22 Jun 1994 20:30:30 -0400
Organization: PANIX Public Access Internet and Unix, NYC
Lines: 49
Message-ID: <2ual36$rg6@panix3.panix.com>
NNTP-Posting-Host: panix3.panix.com
X-Newsreader: TIN [version 1.2 PL2]


    Hi, everybody!
 I still have some questions, hope you will be able to find time to answer
them.
  Reminder: I am using FreeBSD 1.01

Question 1.
   In one of your letters you mentioned, that looking at the conf.c
one can find the major and minor numbers of the device driver of interest
 (If you are interested in one listed there :) ). I understand how to find
major number, but how minor ... I cannot figure out! BTW, what exactly these
numbers mean? ( I realize that when you're mknod you must use them as 
last 2 parameters, but still what is the meaning?)

Question 2.
   I'm trying to add a sound blaster driver which came with sources distr.
of my system to the kernel. In order to acomplish this seemed to be not 
difficult task I :
    1)  cp GENERICAH to boris.1
    2)  removed all unnecessary ( in my opinion :) ) drivers;
    3)  added sound blaster driver line from LINT example;
    4)  config boris.1
    5)  cd /sys/compile/boris.1
    6)  make depend
    7)  make
    8)  cp 386bsd /boris.1
    9) reboot
    10) typed boris.1 when booting
Ok, the system booted up correctly, it even found some sound board!
All file system were in place, all necessary devices operatable.
Only 2 ( two ) really small things were weird:
Thing #1: When I do dmesg the system tells me 
          "dmesg : magic number incorrect" - not a big deal - may be,
          but what the .... is it?
Thing #2: I figured out that major number of Sound Blaster is 20,
          so I issued mknod snd c 20 0, and tried
          cat > /dev/snd     - The answer - "device not configured"
          What am I missing???
 
Question 3. 
  
    A lot of people recommend me upgrade to higher version of FreeBSD -
    I just a month ago went thru all the pains of diskette copying, installing
    X etc. . Do I have to do it again, or there is some less painfull way?
  
        Please help me!
   
				Boris Pitel.