* Unknown error
@ 2001-08-12 5:40 louisg00
2001-08-12 7:36 ` Keith Owens
0 siblings, 1 reply; 5+ messages in thread
From: louisg00 @ 2001-08-12 5:40 UTC (permalink / raw)
To: linux-kernel
I'm running kernel-2.4.8-ac1 on RH beta and I'm this:
modprobe: modprobe: Can't locate module char-major-226
Did I forget a to compile a module?
Louis
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Unknown error
2001-08-12 5:40 Unknown error louisg00
@ 2001-08-12 7:36 ` Keith Owens
2001-08-12 11:47 ` Alan Cox
0 siblings, 1 reply; 5+ messages in thread
From: Keith Owens @ 2001-08-12 7:36 UTC (permalink / raw)
To: louisg00; +Cc: linux-kernel, device
On Sun, 12 Aug 2001 1:40:01 -0400,
<louisg00@bellsouth.net> wrote:
>I'm running kernel-2.4.8-ac1 on RH beta and I'm this:
>
>modprobe: modprobe: Can't locate module char-major-226
>Did I forget a to compile a module?
2.4.8 says that device 228 is unassigned, but ...
drivers/char/drm/drm.h:#define DRM_MAJOR 226
drivers/net/wan/sdla_chdlc.c:#define WAN_TTY_MAJOR 226
Somebody has been naughty and used a code not assigned to them.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Unknown error
2001-08-12 7:36 ` Keith Owens
@ 2001-08-12 11:47 ` Alan Cox
2001-08-12 19:40 ` H. Peter Anvin
2001-08-12 19:55 ` Rogier Wolff
0 siblings, 2 replies; 5+ messages in thread
From: Alan Cox @ 2001-08-12 11:47 UTC (permalink / raw)
To: Keith Owens; +Cc: louisg00, linux-kernel, device
> On Sun, 12 Aug 2001 1:40:01 -0400,
> <louisg00@bellsouth.net> wrote:
> >I'm running kernel-2.4.8-ac1 on RH beta and I'm this:
> >
> >modprobe: modprobe: Can't locate module char-major-226
> >Did I forget a to compile a module?
>
> 2.4.8 says that device 228 is unassigned, but ...
>
> drivers/char/drm/drm.h:#define DRM_MAJOR 226
> drivers/net/wan/sdla_chdlc.c:#define WAN_TTY_MAJOR 226
>
> Somebody has been naughty and used a code not assigned to them.
The 2.4.8 tables are _completely_ out of date.
The up to date tables say:
226 char Direct Rendering Infrastructure (DRI)
0 = /dev/dri/card0 First graphics card
1 = /dev/dri/card1 Second graphics card
Peter - was this dual issued, or do Sangoma need to be spanked. The obvious
place to put the sdla tty would I think be 229, since its not physically
possible to put one in an iSeries machine.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Unknown error
2001-08-12 11:47 ` Alan Cox
@ 2001-08-12 19:40 ` H. Peter Anvin
2001-08-12 19:55 ` Rogier Wolff
1 sibling, 0 replies; 5+ messages in thread
From: H. Peter Anvin @ 2001-08-12 19:40 UTC (permalink / raw)
To: linux-kernel
Followup to: <E15Vti5-0005ao-00@the-village.bc.nu>
By author: Alan Cox <alan@lxorguk.ukuu.org.uk>
In newsgroup: linux.dev.kernel
>
> > On Sun, 12 Aug 2001 1:40:01 -0400,
> > <louisg00@bellsouth.net> wrote:
> > >I'm running kernel-2.4.8-ac1 on RH beta and I'm this:
> > >
> > >modprobe: modprobe: Can't locate module char-major-226
> > >Did I forget a to compile a module?
> >
> > 2.4.8 says that device 228 is unassigned, but ...
> >
> > drivers/char/drm/drm.h:#define DRM_MAJOR 226
> > drivers/net/wan/sdla_chdlc.c:#define WAN_TTY_MAJOR 226
> >
> > Somebody has been naughty and used a code not assigned to them.
>
> The 2.4.8 tables are _completely_ out of date.
>
> The up to date tables say:
>
> 226 char Direct Rendering Infrastructure (DRI)
> 0 = /dev/dri/card0 First graphics card
> 1 = /dev/dri/card1 Second graphics card
>
>
> Peter - was this dual issued, or do Sangoma need to be spanked. The obvious
> place to put the sdla tty would I think be 229, since its not physically
> possible to put one in an iSeries machine.
>
226 is assigned to DRI. I don't know anything about an "sdla tty"
unless it is in my post-Linus-prononucement queue, which I have yet to
deal with.
The current list is dated 3 June 2001 (I just noticed it wasn't up on
www.lanana.org; I just fixed that.) It includes all registrations I
had received up to Linus' "no new majors" pronouncement -- it should
be included in both Linus' and your trees.
http://www.lanana.org/docs/device-list/devices.txt
-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt <amsp@zytor.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Unknown error
2001-08-12 11:47 ` Alan Cox
2001-08-12 19:40 ` H. Peter Anvin
@ 2001-08-12 19:55 ` Rogier Wolff
1 sibling, 0 replies; 5+ messages in thread
From: Rogier Wolff @ 2001-08-12 19:55 UTC (permalink / raw)
To: Alan Cox; +Cc: Keith Owens, louisg00, linux-kernel, device
Alan Cox wrote:
> > 2.4.8 says that device 228 is unassigned, but ...
> >
> > drivers/char/drm/drm.h:#define DRM_MAJOR 226
> > drivers/net/wan/sdla_chdlc.c:#define WAN_TTY_MAJOR 226
> >
> > Somebody has been naughty and used a code not assigned to them.
> 226 char Direct Rendering Infrastructure (DRI)
> 0 = /dev/dri/card0 First graphics card
> 1 = /dev/dri/card1 Second graphics card
>
>
> Peter - was this dual issued, or do Sangoma need to be spanked. The obvious
> place to put the sdla tty would I think be 229, since its not physically
> possible to put one in an iSeries machine.
Speaking of which...
I always (try to) write my drivers to do:
#ifndef MY_MAJOR
#define MY_MAJOR xyz
#endif
This allows "test-compilation" with -Dtest_major , but is also
preparing for having a "majors.h" which defines ALL the major numbers
in one place. The place where it /completly/ obvious if two devices
are trying to use the same major....
Roger.
--
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
* There are old pilots, and there are bold pilots.
* There are also old, bald pilots.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-08-13 7:48 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-12 5:40 Unknown error louisg00
2001-08-12 7:36 ` Keith Owens
2001-08-12 11:47 ` Alan Cox
2001-08-12 19:40 ` H. Peter Anvin
2001-08-12 19:55 ` Rogier Wolff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox