Skip to Content.
Sympa Menu

sm-users - Re: [SM-Users] no virtual console with kernel 2.6.1

sm-users AT lists.ibiblio.org

Subject: Sourcemage Users List

List archive

Chronological Thread  
  • From: Ondra Tomecka <otom7630 AT lucy.troja.mff.cuni.cz>
  • To: sm-users <sm-users AT lists.ibiblio.org>
  • Subject: Re: [SM-Users] no virtual console with kernel 2.6.1
  • Date: Fri, 30 Jan 2004 09:11:52 +0100 (CET)

On Thu, 29 Jan 2004, Andrew wrote:

> > But I have a problem. The program needs access to /dev/parport0.
> > Even after loading parport and parport_pc and creating the parport0 file
> > (with mknod /dev/parport0 c 99 0), the program complain about the file
> > not existing.
> you shouldn't assume that parport_pc and parport are going to be modules,
> the user may have them compiled into the kernel, or not at all.
> Im currently unaware of any mechanism to determine if the user has
> support for something compiled into the kernel or not...
>

Perhaps checking configuration of running kernel, first check for it in
/proc/config.gz, if it doesn't exist then /lib/modules/`uname
-r`/build/.config, and if this also doesn't exist, check kernel
configuration in /etc/sorcery/local/kernel.config.
Sorted in order of reliability ;-)

Andy





Archive powered by MHonArc 2.6.24.

Top of Page