All of lore.kernel.org
 help / color / mirror / Atom feed
* Unknown error
@ 2001-08-12  5:40 louisg00
  2001-08-12  7:36 ` Keith Owens
  0 siblings, 1 reply; 11+ 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] 11+ 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; 11+ 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] 11+ 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; 11+ 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] 11+ 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; 11+ 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] 11+ 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; 11+ 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] 11+ messages in thread

* unknown error
@ 2006-05-12  8:06 Angel Tsankov
  0 siblings, 0 replies; 11+ messages in thread
From: Angel Tsankov @ 2006-05-12  8:06 UTC (permalink / raw)
  To: ML: netfilter

Has anyone ever encountered error 4294967295 while using iptables?!


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Unknown error.
@ 2006-08-10 17:34 Justin Schoeman
  2006-08-11  7:08 ` Ming-Ching Tiew
  0 siblings, 1 reply; 11+ messages in thread
From: Justin Schoeman @ 2006-08-10 17:34 UTC (permalink / raw)
  To: netfilter

Hi again.

I was wondering if anybody could help me.  I am using kernel 2.6.17.8 
with iptables 1.3.5, and I get the following error:

iptables: Unknown error 4294967295

for this command:

/usr/local/sbin/iptables -A INPUT -j CONNMARK --save-mark

I see a large number of hits for the error message on google, mainly 
related to iptables 1.3.5, but I have not seen one thread with a 
conclusive solution.

Could anybody please give me some pointers on where to start looking? Is 
this an iptables bug, if so, what is the last good version.  If not, 
what else can I look for?

Thanks,

Justin


^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: Unknown error.
@ 2006-08-10 23:04 Daniel Williams
  0 siblings, 0 replies; 11+ messages in thread
From: Daniel Williams @ 2006-08-10 23:04 UTC (permalink / raw)
  To: Justin Schoeman, netfilter


The bug is an error message mapping. 

So in other words the command is failing for a legitimate reason,
iptables is just not giving you the useful error message. Try 1.3.4 and
see what the error message is, I don't believe you will find much
different.

Daniel 

-----Original Message-----
From: netfilter-bounces@lists.netfilter.org
[mailto:netfilter-bounces@lists.netfilter.org] On Behalf Of Justin
Schoeman
Sent: Friday, 11 August 2006 1:35 AM
To: netfilter@lists.netfilter.org
Subject: Unknown error.

Hi again.

I was wondering if anybody could help me.  I am using kernel 2.6.17.8 
with iptables 1.3.5, and I get the following error:

iptables: Unknown error 4294967295

for this command:

/usr/local/sbin/iptables -A INPUT -j CONNMARK --save-mark

I see a large number of hits for the error message on google, mainly 
related to iptables 1.3.5, but I have not seen one thread with a 
conclusive solution.

Could anybody please give me some pointers on where to start looking? Is

this an iptables bug, if so, what is the last good version.  If not, 
what else can I look for?

Thanks,

Justin



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Unknown error.
  2006-08-10 17:34 Unknown error Justin Schoeman
@ 2006-08-11  7:08 ` Ming-Ching Tiew
  2006-08-11  9:05   ` Ming-Ching Tiew
  0 siblings, 1 reply; 11+ messages in thread
From: Ming-Ching Tiew @ 2006-08-11  7:08 UTC (permalink / raw)
  To: netfilter


I don't think you can perform CONNMARK on the INPUT chain
of the filter table, try doing it on the mangle table :-

/usr/local/sbin/iptables -t mangle -A INPUT -j CONNMARK --save-mark

Cheers.
----- Original Message ----- 
From: "Justin Schoeman" <justin@expertron.co.za>
To: <netfilter@lists.netfilter.org>
Sent: Friday, August 11, 2006 1:34 AM
Subject: Unknown error.


> Hi again.
> 
> I was wondering if anybody could help me.  I am using kernel 2.6.17.8 
> with iptables 1.3.5, and I get the following error:
> 
> iptables: Unknown error 4294967295
> 
> for this command:
> 
> /usr/local/sbin/iptables -A INPUT -j CONNMARK --save-mark
> 
> I see a large number of hits for the error message on google, mainly 
> related to iptables 1.3.5, but I have not seen one thread with a 
> conclusive solution.
> 
> Could anybody please give me some pointers on where to start looking? Is 
> this an iptables bug, if so, what is the last good version.  If not, 
> what else can I look for?
> 
> Thanks,
> 
> Justin
> 





^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Unknown error.
  2006-08-11  7:08 ` Ming-Ching Tiew
@ 2006-08-11  9:05   ` Ming-Ching Tiew
  0 siblings, 0 replies; 11+ messages in thread
From: Ming-Ching Tiew @ 2006-08-11  9:05 UTC (permalink / raw)
  To: netfilter


Cheers.
From: "Ming-Ching Tiew" <mingching.tiew@redtone.com>


> 
> I don't think you can perform CONNMARK on the INPUT chain
> of the filter table, try doing it on the mangle table :-
> 
> /usr/local/sbin/iptables -t mangle -A INPUT -j CONNMARK --save-mark
> 

Hmm I issue the commands on the filter table and INPUT chain on my system,
it seems to work too. And therefore your error is likely due to iptables not 
compiled against the correct kernel source.






^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Unknown error.
       [not found] <PKEOKKLGKDAAJCECPIOOGEKOFLAA.rboucneau@tuckernt.net>
@ 2006-08-11 11:31 ` Justin Schoeman
  0 siblings, 0 replies; 11+ messages in thread
From: Justin Schoeman @ 2006-08-11 11:31 UTC (permalink / raw)
  To: Bob Boucneau, netfilter

OK - That one did it!  Got a meaningful error message, and realised that 
somehow I had not built the CONNMARK module ;-) .

Now, the next error, when I try to load a geoip match:

/usr/local/sbin/iptables -t mangle -A INPUT -m geoip --dst-cc ZA -j ACCEPT

I get:

iptables: Invalid argument

with the following in dmesg:

ip_tables: geoip match: invalid size 0 != 96

It seems like some critical piece of geoip /xt_tables integration is not 
in place... Is my analysis correct?  If so, is there a porting document 
somewhere covering the iptables updates since geoip last worked?

Thanks,

Justin

Bob Boucneau wrote:
> Hi Justin,
> 
> Should be fixed in current Netfilter.  This was a bug.
> 
> http://lists.netfilter.org/pipermail/netfilter-buglog/2006-April/000921.html
> 
> B
> 
> -----Original Message-----
> From: netfilter-bounces@lists.netfilter.org
> [mailto:netfilter-bounces@lists.netfilter.org]On Behalf Of Justin Schoeman
> Sent: Thursday, August 10, 2006 11:35 AM
> To: netfilter@lists.netfilter.org
> Subject: Unknown error.
> 
> Hi again.
> 
> I was wondering if anybody could help me.  I am using kernel 2.6.17.8
> with iptables 1.3.5, and I get the following error:
> 
> iptables: Unknown error 4294967295
> 
> for this command:
> 
> /usr/local/sbin/iptables -A INPUT -j CONNMARK --save-mark
> 
> I see a large number of hits for the error message on google, mainly
> related to iptables 1.3.5, but I have not seen one thread with a
> conclusive solution.
> 
> Could anybody please give me some pointers on where to start looking? Is
> this an iptables bug, if so, what is the last good version.  If not,
> what else can I look for?
> 
> Thanks,
> 
> Justin
> 


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2006-08-11 11:31 UTC | newest]

Thread overview: 11+ 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
  -- strict thread matches above, loose matches on Subject: below --
2006-05-12  8:06 unknown error Angel Tsankov
2006-08-10 17:34 Unknown error Justin Schoeman
2006-08-11  7:08 ` Ming-Ching Tiew
2006-08-11  9:05   ` Ming-Ching Tiew
2006-08-10 23:04 Daniel Williams
     [not found] <PKEOKKLGKDAAJCECPIOOGEKOFLAA.rboucneau@tuckernt.net>
2006-08-11 11:31 ` Justin Schoeman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.