tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kernel module loading vs securelevel



> Could you rerun your testing after setting sysctl kern.module.verbose? 
> This should provide extra kernel debug printf() messages...

There are some info during boot (before securelevel is set to 1):

---
 :
Mounting all filesystems...
DEBUG: module: plist load returned error 2 for 
`/stand/sun3/5.99.39/modules/mfs/mfs.kmod'
DEBUG: module: plist load returned error 2 for 
`/stand/sun3/5.99.39/modules/kernfs/kernfs.kmod'
DEBUG: module: plist load returned error 2 for 
`/stand/sun3/5.99.39/modules/procfs/procfs.kmod'
DEBUG: module: plist load returned error 2 for 
`/stand/sun3/5.99.39/modules/ptyfs/ptyfs.kmod'
DEBUG: module: cannot unload module `mfs' error=16
DEBUG: module: cannot unload module `kernfs' error=16
DEBUG: module: cannot unload module `procfs' error=16
Clearing temporary files.
DEBUG: module: cannot unload module `ptyfs' error=16
Starting amd.
Creating a.out runtime link editor directory cache.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
 :
---

All file systems (mfs, kernfs, procfs, and ptyfs) are
mounted properly, though.

On multi user, there is no particular info:

---
# mount -t tmpfs tmpfs /mnt
mount_tmpfs: tmpfs on /mnt: Operation not supported by device
# shutdown now
Shutdown NOW!

 :

Enter pathname of shell or RETURN for /bin/sh: 
Terminal type is kterm.                                                 
We recommend creating a non-root account and using su(1) for root access.
# mount -t tmpfs tmpfs /mnt
DEBUG: module: plist load returned error 2 for 
`/stand/sun3/5.99.39/modules/tmpfs/tmpfs.kmod'
chariot# df /mnt
Filesystem   1K-blocks       Used      Avail %Cap Mounted on
tmpfs             49480          8      49472   0% /mnt
# DEBUG: module: cannot unload module `tmpfs' error=16

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index