* RE: portfw on iptables 2.4 kernel problem.
From: Reckhard, Tobias @ 2002-12-12 7:33 UTC (permalink / raw)
To: netfilter
> Thanks for those people who replied, But still i can't get it to work.
> Ill be posting my rule set here.
Have you tried the more complicated rule set that I'd posted (in
pseudo-code)? At a first, casual glance, your NAT rules don't look good to
me.
Cheers,
Tobias
^ permalink raw reply
* RE: portfw on iptables 2.4 kernel problem.
From: Reckhard, Tobias @ 2002-12-12 7:31 UTC (permalink / raw)
To: netfilter
[snip]
> > The above takes care of the control connection only. Since the
> > Internet machine believes it is accessing an FTP server on the
> > firewall itself, the latter is addressed by its FTP control
> > connection. This means that the packets cross the firewall's INPUT
> > chain, before they can be DNATed in the PREROUTING chain. I'm not
> > entirely sure about the outbound packets, but most things netfilter
> > apart from NAT require symmetric rules, so I suppose you need an
> > OUTPUT rule to match the INPUT one.
>
> I don't see how this would be. The first chain that a packet
> entering
> the firewall hits is mangle-PREROUTING, second is nat-PREROUTING. At
> that point it is DNATted, and then hits a routing decision that
> determines if it is local or not, IE INPUT or FORWARD. It
> should never
> 'cross' INPUT at all, unless my understanding (and most sources I've
> read, and traversal tests performed) is faulty.
Then that's where our impression differs. I have thought up to now that
INPUT is hit before PREROUTING before FORWARD before POSTROUTING before
OUTPUT. And that a packet may stop being processed between PREROUTING and
FORWARD as well as between POSTROUTING and OUTPUT.
I may check the one NATing firewall I have running.. later.
Cheers,
Tobias
^ permalink raw reply
* Re: [parisc-linux] Re: Solved: Kernel crash when loggin in via ssh
From: Randolph Chung @ 2002-12-12 7:32 UTC (permalink / raw)
To: M. Grabert; +Cc: parisc-linux
In-Reply-To: <Pine.LNX.4.44.0212112313290.861-100000@sal.ucc.ie>
> It IS a gcc issue.
>
> gcc-3.0_3.0.4-13 produces a working kernel, gcc-3.2-3.2.2-0pre0 produces
> a miscompiled kernel (faulty networking, causes kernel crash).
> I made NO updates whatsoever; same kernel configuration, just using gcc-3.0
> insted of gcc-3.2. I just make a make clean; make dep; make vmlinux ...
btw, i just built this:
$ ssh -p 1022 -2 tausq@gsyprf10.external.hp.com
tausq@a500:~$ dmesg|grep gcc
Linux version 2.4.20-pa13 (tausq@a500) (gcc version 3.2.2 20021202 (Debian prerelease)) #12 SMP Wed Dec 11 23:02:01 PST 2002
still need to try 32-bit...
randolph
^ permalink raw reply
* RE: Need help on diald
From: Clint Sim @ 2002-12-12 7:24 UTC (permalink / raw)
To: Duncan Haldane, linux-diald, michael chileshe
In-Reply-To: <XFMail.20021211220409.f.duncan.m.haldane@worldnet.att.net>
Hi,
I suspect that you may have a default route set already, diald wants to make
tap0 the default route, hence the "RTNETLINK answers: File exists".
Regards
Clint
> -----Original Message-----
> From: linux-diald-owner@vger.kernel.org
> [mailto:linux-diald-owner@vger.kernel.org]On Behalf Of Duncan Haldane
> Sent: Thursday, December 12, 2002 5:04 AM
> To: linux-diald@vger.kernel.org; michael chileshe
> Subject: FWD: Need help on diald
>
>
> Can anyone recognize what this guy's problem is?
>
> -----FW: <20021211084938.79910.qmail@web21303.mail.yahoo.com>-----
>
> Date: Wed, 11 Dec 2002 00:49:38 -0800 (PST)
> From: michael chileshe <michaelchileshe@yahoo.com>
> To: duncan_haldane@users.sourceforge.net
> Subject: Need help on diald
>
> Hi
>
> I have been stuggling with diald for a while now until
> i finally got the logic of how it works.That was after
> i managed to do a dail on demand with pppd.
>
> However i seem to be stuck. When ever i run diald i
> get the following...
>
> **
> > Removed stale lock on tap0 (pid 2769)
> > Dec 8 15:13:29 mail diald[2856]: start
> > tap0:SIOCSIFMETRIC: Operation not supported <-- this is OK
> (not a problem)
> > Dec 8 15:13:29 mail diald[2856]: start tap0:
> > RTNETLINK answers: File exists <------------------????? I'd
> guess this is...
> > Dec 8 15:13:29 mail diald[2856]: start tap0:
> > RTNETLINK answers: No such process
> > Dec 8 15:13:29 mail diald[2856]: start tap0:
> > RTNETLINK answers: File exits
> > ***
>
> The diald version i am using 0.993 and kernel version
> is 2.4.7-10.
>
> Please help
>
> Regards
>
> Michael
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-diald" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
^ permalink raw reply
* Re: [LARTC] Trafic shaping
From: Marijus Spakovskis @ 2002-12-12 7:21 UTC (permalink / raw)
To: lartc
In-Reply-To: <marc-lartc-103956857410379@msgid-missing>
Hi,
I have similar config. I'm sorting traffic on root filter (2 filter only,
localnet and internet) by packet mark(all localnet is marked via mangle
table based on bgp table). Then 2 slave clases dealing with custom users to
set speed acording localnet/internet.
It would be intresting to hear other opinions about setup like this.
Localnet consist of 209 rules:)
----- Original Message -----
From: "Gabriel Corcodel" <gabi@alsys.ro>
To: <lartc@mailman.ds9a.nl>
Sent: Wednesday, December 11, 2002 3:01 AM
Subject: [LARTC] Trafic shaping
> Our Internet connection with our ISP is on optical fiber, and we can
> achieve in the so called "Metropolitan Area Network" speeds up to 50Mbps
> or more. The so called external connection which we have, using same
> provider, in order to reach the Internet, is, let's say, 2mbps.
> We have also, our own AS number, we're using zebra for bgp.
> Question: I want to limit/to queue incoming traffic from the so-called
> "external" connection. So, for example, if a computer A, in our network,
> is downloading something from one ftp server connected to the
> metropolitan network, I want no limits. If the same computer wants to
> download something from the external network, the download should be
> shaped.
> Let's say that I have network addresses from "metropolitan area network"
> or AS numbers from "metropolitan area network".
> Any suggestions?
>
> Gabriel Corcodel
>
>
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply
* Re: a question about ip_conntrack_max
From: Patrick Schaaf @ 2002-12-12 7:21 UTC (permalink / raw)
To: jump lee; +Cc: netfilter-devel
In-Reply-To: <F78gEj4v5iJarnJ3kEP000004e7@hotmail.com>
Hello,
(removed Harald Welte from Cc: - I'm sure he's reading the list, anyway)
> i am hacking ip_conntrack.
What is your goal?
> ip_conntrack_max=8*ip_conntrack_htable_size;
>
> what's the reason of multiplying ip_conntrack_htable_size by 8?
It gives you 8 times as much conntrack entries as you have
conntrack hash buckets. Isn't 8 a nice number? What number
would you prefer, and why? The kernel has to derive ip_conntrack_max
SOMEHOW, and that's the way it does it now. There is another equally
arbitrary choice of ip_conntrack_htable_size, which is calculated
from the amount of memory in your machine. Again, the kernel has to do
SOMETHING in the absence of configuration information.
best regards
Patrick
^ permalink raw reply
* Re: Aic7xxx v6.2.22 and Aic79xx v1.3.0Alpha2 Released
From: Jens Axboe @ 2002-12-12 7:16 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: Justin T. Gibbs, James Bottomley, linux-scsi
In-Reply-To: <20021211162318.A24958@infradead.org>
On Wed, Dec 11 2002, Christoph Hellwig wrote:
> > I have no problem with interfaces changing for good reason, but, for
> > example,
> > a driver that alread sets unchecked_isa_dma to 0 and uses the PCI dma mask
> > shouldn't have to set addition flags (with different names in different
> > vendor's trees) to enable HIGHIO. It's yet-another *stupid* interface
> > change.
>
> Maybe you could have complained about that more than one year ago when the
> patch came up first?
And I still dont see a better way to do it. Remember that this is 2.4
and we must be able to toggle the highmem io capability on a per-driver
basis easily and default to off until a given piece of hardware (and
driver) has been verified.
Saying the high io stuff could have been done with zero impact to
drivers just shows that you have no idea what you are talking about
here and are living in your Justin world again. Tons of drivers needed
to be changed to be able to deal with highmem pages sanely.
--
Jens Axboe
^ permalink raw reply
* Re: hostname forwarding
From: Blizzards @ 2002-12-12 7:16 UTC (permalink / raw)
To: raymondl; +Cc: Patrick Maartense, bernard, Netfilter Mailing List
In-Reply-To: <1039671369.4125.12.camel@rayw.knowledgefactory.co.za>
The host A and Host B share the same ip address.
In this case -s is no useful because resolving host a and host b return
the same address, and the 1st match win.
You can use APACHE name virtual host to handle this correctly.
G.
>>
>>
>>
>Ummm, what is the -s parameter for then?
>iptables -t nat -A PREROUTING -p tcp -s <hostname A> --dport 80 -j
>REDIRECT --to-destination 192.168.1.1:80
>iptables -t nat -A PREROUTING -p tcp -s <hostname B> --dport 80 -j
>REDIRECT --to-destination 192.168.1.2:80
>
>Or am I missing something?
>
>Ray
>
>
^ permalink raw reply
* Re: 2.5.50 Up and running but
From: Matt Reppert @ 2002-12-12 7:21 UTC (permalink / raw)
To: wz6b; +Cc: linux-kernel, rusty
In-Reply-To: <200212112259.10079.wz6b@arrl.net>
On Wed, 11 Dec 2002 22:59:10 -0800
Matt Young <wz6b@arrl.net> wrote:
> Boot couldn't find the module dependency file, even though I did make modules
> and make modules_install
Yeah, the make rule for depmod got removed in one of the module merges. This
will put it back. (Untested, my init scripts run depmod so it's not a big deal
for me.) Rusty, am I being stupid or is this okay now that depmod works?
--- a/Makefile Sun Nov 10 19:05:55 2002
+++ b/Makefile Fri Nov 8 20:08:32 2002
@@ -157,7 +157,6 @@
OBJDUMP = $(CROSS_COMPILE)objdump
AWK = awk
GENKSYMS = /sbin/genksyms
+DEPMOD = /sbin/depmod
KALLSYMS = /sbin/kallsyms
PERL = perl
MODFLAGS = -DMODULE
@@ -516,7 +515,7 @@
# Install modules
.PHONY: modules_install
-modules_install: _modinst_ $(patsubst %, _modinst_%, $(SUBDIRS))
+modules_install: _modinst_ $(patsubst %, _modinst_%, $(SUBDIRS)) _modinst_post
.PHONY: _modinst_
_modinst_:
@@ -524,20 +523,6 @@
@rm -f $(MODLIB)/build
@mkdir -p $(MODLIB)/kernel
@ln -s $(TOPDIR) $(MODLIB)/build
+
+# If System.map exists, run depmod. This deliberately does not have a
+# dependency on System.map since that would run the dependency tree on
+# vmlinux. This depmod is only for convenience to give the initial
+# boot a modules.dep even before / is mounted read-write. However the
+# boot script depmod is the master version.
+ifeq "$(strip $(INSTALL_MOD_PATH))" ""
+depmod_opts :=
+else
+depmod_opts := -b $(INSTALL_MOD_PATH) -r
+endif
+.PHONY: _modinst_post
+_modinst_post:
+ if [ -r System.map ]; then $(DEPMOD) -ae -F System.map $(depmod_opts) $(KERNELRELEASE); fi
.PHONY: $(patsubst %, _modinst_%, $(SUBDIRS))
$(patsubst %, _modinst_%, $(SUBDIRS)) :
.
> Also the make config did not select the right Intel processor
???
> nor is there a mouse driver
What kind of mouse? What config option?
Matt
^ permalink raw reply
* Re:kernel for 405 w/ FPU available
From: Laurent Mohin @ 2002-12-12 7:13 UTC (permalink / raw)
To: mark.pilon; +Cc: linuxppc-embedded
Mark,
I haven't been able to find information concerning this 405pm chip on the
IBM site. Where did you hear about it?
Laurent
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply
* Re: hostname forwarding
From: Raymond Leach @ 2002-12-12 7:13 UTC (permalink / raw)
To: Blizzards; +Cc: Patrick Maartense, bernard, Netfilter Mailing List
In-Reply-To: <3DF837BA.5000908@libero.it>
[-- Attachment #1: Type: text/plain, Size: 1447 bytes --]
OK, that makes sense...
On Thu, 2002-12-12 at 09:16, Blizzards wrote:
> The host A and Host B share the same ip address.
> In this case -s is no useful because resolving host a and host b return
> the same address, and the 1st match win.
> You can use APACHE name virtual host to handle this correctly.
>
> G.
>
> >>
> >>
> >>
> >Ummm, what is the -s parameter for then?
> >iptables -t nat -A PREROUTING -p tcp -s <hostname A> --dport 80 -j
> >REDIRECT --to-destination 192.168.1.1:80
> >iptables -t nat -A PREROUTING -p tcp -s <hostname B> --dport 80 -j
> >REDIRECT --to-destination 192.168.1.2:80
> >
> >Or am I missing something?
> >
> >Ray
> >
> >
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
( Raymond Leach )
) Knowledge Factory (
( )
) Tel: +27 11 445 8100 (
( Fax: +27 11 445 8101 )
) (
( http://www.knowledgefactory.co.za/ )
) http://www.saptg.co.za/ (
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
o o
o o
.--. .--.
| o_o| |o_o |
| \_:| |:_/ |
/ / \\ // \ \
( | |) (| | )
/`\_ _/'\ /'\_ _/`\
\___)=(___/ \___)=(___/
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply
* Re: [PATCH] Notifier for significant events on i386
From: Vamsi Krishna S . @ 2002-12-12 7:34 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: Alan Cox, John Levon, Linux Kernel Mailing List
In-Reply-To: <1039652384.1649.17.camel@dell_ss3.pdx.osdl.net>
On Thu, Dec 12, 2002 at 12:25:47AM +0000, Stephen Hemminger wrote:
>
> This patch changes notifier to use RCU. No interface change, just a little
> more memory in each notifier_block. Also some formatting cleanup.
> Please review and give comments.
>
> <snip patch>
This looks good. I have a few of comments:
- add read_lock_rcu() / read_unlock_rcu() around the loop in
notifier_call_chain() to be preempt-safe.
- I would suggest using struct list_head in the notifier_block
and use the RCU list routines from include/linux/list.h
instead of spreading subtle RCU memory-barrier black magic.
- Even though RCU list reading is lockless, premption needs to
be disabled while reading as mentioned above. So, we do
need an __notifier_call_chain() version for those handlers
that could sleep inside the handler: they will have to
handle the required locking themselves.
--
Vamsi Krishna S.
Linux Technology Center,
IBM Software Lab, Bangalore.
Ph: +91 80 5044959
Internet: vamsi@in.ibm.com
^ permalink raw reply
* R_MIPS_26 etc.
From: yaelgilad @ 2002-12-12 7:07 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: text/plain, Size: 702 bytes --]
Looking in the assembly code of my driver, I see the following
pattern repeating with every function call.
4ce4: 0c000000 jal 0
4ce4: R_MIPS_26 rx_wait_packet
(R_MIPS_26 is sometimes replaces by a similar command)
What is R_MIPS_26 ? What are the rest of them ?
I am guessing it has to do with relocatable addresses, but this specific
function is in the same C file. Marking it as "static" does change the code
and get rid of this command.
TIA
Gilad
P.S. I am building assembler files in two different methods:
- gmake <path-to-file>.lst
- mips-linux-odjdump -x -S <path-to-C-file> > <path-to-file.lst>
The outputs are similar but not identical.
What's the more "correct" way ?
TIA-2
[-- Attachment #2: Type: text/html, Size: 2789 bytes --]
^ permalink raw reply
* R_MIPS_26 etc.
From: yaelgilad @ 2002-12-12 7:07 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: text/plain, Size: 702 bytes --]
Looking in the assembly code of my driver, I see the following
pattern repeating with every function call.
4ce4: 0c000000 jal 0
4ce4: R_MIPS_26 rx_wait_packet
(R_MIPS_26 is sometimes replaces by a similar command)
What is R_MIPS_26 ? What are the rest of them ?
I am guessing it has to do with relocatable addresses, but this specific
function is in the same C file. Marking it as "static" does change the code
and get rid of this command.
TIA
Gilad
P.S. I am building assembler files in two different methods:
- gmake <path-to-file>.lst
- mips-linux-odjdump -x -S <path-to-C-file> > <path-to-file.lst>
The outputs are similar but not identical.
What's the more "correct" way ?
TIA-2
[-- Attachment #2: Type: text/html, Size: 2789 bytes --]
^ permalink raw reply
* 2.5.50 Up and running but
From: Matt Young @ 2002-12-12 6:59 UTC (permalink / raw)
To: linux-kernel
Boot couldn't find the module dependency file, even though I did make modules
and make modules_install
Also the make config did not select the right Intel processor
nor is there a mouse driver
Having fun anyway.
^ permalink raw reply
* Re: [parisc-linux] ["CSA Test Drive" <TestDrive@compaq.com>] FW: Some issues
From: Randolph Chung @ 2002-12-12 6:50 UTC (permalink / raw)
To: John David Anglin; +Cc: Carlos O'Donell, bdale, parisc-linux
In-Reply-To: <200212112305.gBBN5Bdj021432@hiauly1.hia.nrc.ca>
> The code doesn't seem to trap on a A500 which I believe is a PA8500.
> I think we need to look at bits 0..1 of the coprocessor configuration
> register to determine instruction validity. See table 8-6 on page 8-11.
it does cause a trap actually, we just don't usually print it.
FP assist exception at 0x10433
FP VZOUICxxxxCQCQCQCQCQCRMxxTDVZOUI ->
00000000000000000000000001000000
i'm confused tho because that iaoq doesn't point where i thought it
might point. is this because of delayed exceptions?
(oh, as an aside, looks like there's a small objdump bug :-)
00010428 <ull2dbl>:
10428: 0f d9 12 81 stw r25,-10(sr0,sp)
1042c: 0f da 12 89 stw r26,-c(sr0,sp)
10430: 2f c1 10 16 fldd -10(sr0,sp),fr22
10434: e8 40 d0 00 bve (rp)
10438: 32 c2 aa 04 fcnv Disassembler botch.
(should be fcnv,udw,dbl %fr22,%fr4)
randolph
--
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/
^ permalink raw reply
* a question about ip_conntrack_max
From: jump lee @ 2002-12-12 6:35 UTC (permalink / raw)
To: laforge; +Cc: netfilter-devel
i am hacking ip_conntrack.
in function ip_conntrack_init (ip_conntrack_core.c), i can not understand
this statement:
ip_conntrack_max=8*ip_conntrack_htable_size;
what's the reason of multiplying ip_conntrack_htable_size by 8?
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus
^ permalink raw reply
* 2.5.51 bttv oops.
From: Michael @ 2002-12-12 6:40 UTC (permalink / raw)
To: linux-kernel
I added the 20_tda9887-2.5.50.diff patch to be able to compile it.
Then when I boot it tries to modprobe bttv automatically, it zombies, I press alt+sysrq+k and I get the oops.
For some reason I have no /proc/ksyms in 2.5.51, so I don't know if this is useful at all.
Thanks.
lsmod output :
bttv 78516 0
video_buf 10324 1 bttv [permanent]
i2c_algo_bit 7462 2 bttv [unsafe]
i2c_core 15345 2 bttv i2c_algo_bit
v4l2_common 2656 1 bttv [permanent]
videodev 3455 1 bttv
emu10k1 49952 0
soundcore 3926 2 bttv emu10k1
ac97_codec 9704 1 emu10k1 [permanent]
ksymoops :
ksymoops 2.4.8 on i586 2.5.51. Options used
-V (default)
-k /proc/ksyms (default)
-l /proc/modules (default)
-o /lib/modules/2.5.51/ (default)
-m /usr/src/linux/System.map (default)
Warning: You did not tell me where to find symbol information. I will
assume that the log matches the kernel and modules that are running
right now and I'll use the default options above for symbol resolution.
If the current kernel and/or modules do not match the log, you can get
more accurate output by telling me the kernel version and where to find
map, modules, ksyms etc. ksymoops -h explains the options.
Error (regular_file): read_ksyms stat /proc/ksyms failed
No modules in ksyms, skipping objects
No ksyms, skipping lsmod
Unable to handle kernel NULL pointer dereference at virtual address 00000000
c0124709
*pde = 00000000
Oops: 0002
CPU: 0
EIP: 0060:[<c0124709>] Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010286
eax: e7ffe800 ebx: e7360000 ecx: 00000000 edx: e77ba080
esi: 00000000 edi: 00000000 ebp: e7361f80 esp: e7361f74
ds: 0068 es: 0068 ss: 0068
Stack: e7360000 e77ba080 00000000 e7361fb0 c0124593 00000000 00000000 00000000
00000000 00000000 00000000 c027b180 e7360000 e77ba080 00000000 e7361fc0
c0124027 c0124160 e8915d9d e7361fec c01241b3 c027f5e0 e7361fd4 c027f6e0
Call Trace: [<c0124593>] [<c0124027>] [<c0124160>] [<e8915d9d>] [<c01241b3>]
[<e8915d9d>] [<c0124160>] [<c01072d9>] [<e8915d9d>]
Code: ff 4e 00 0f 94 c0 84 c0 75 0d 8d 65 f4 5b 5e 5f c9 c3 90 8d
>>EIP; c0124709 <put_namespace+9/71> <=====
Trace; c0124593 <use_init_fs_context+33/1a0>
Trace; c0124027 <exec_usermodehelper+27/160>
Trace; c0124160 <exec_modprobe+0/a0>
Trace; e8915d9d <END_OF_CODE+2862f969/????>
Trace; c01241b3 <exec_modprobe+53/a0>
Trace; e8915d9d <END_OF_CODE+2862f969/????>
Trace; c0124160 <exec_modprobe+0/a0>
Trace; c01072d9 <kernel_thread_helper+5/c>
Trace; e8915d9d <END_OF_CODE+2862f969/????>
Code; c0124709 <put_namespace+9/71>
00000000 <_EIP>:
Code; c0124709 <put_namespace+9/71> <=====
0: ff 4e 00 decl 0x0(%esi) <=====
Code; c012470c <put_namespace+c/71>
3: 0f 94 c0 sete %al
Code; c012470f <put_namespace+f/71>
6: 84 c0 test %al,%al
Code; c0124711 <put_namespace+11/71>
8: 75 0d jne 17 <_EIP+0x17>
Code; c0124713 <put_namespace+13/71>
a: 8d 65 f4 lea 0xfffffff4(%ebp),%esp
Code; c0124716 <put_namespace+16/71>
d: 5b pop %ebx
Code; c0124717 <put_namespace+17/71>
e: 5e pop %esi
Code; c0124718 <put_namespace+18/71>
f: 5f pop %edi
Code; c0124719 <put_namespace+19/71>
10: c9 leave
Code; c012471a <put_namespace+1a/71>
11: c3 ret
Code; c012471b <put_namespace+1b/71>
12: 90 nop
Code; c012471c <put_namespace+1c/71>
13: 8d 00 lea (%eax),%eax
1 warning and 1 error issued. Results may not be reliable.
^ permalink raw reply
* Re: 2.5.51 ide module problem (fwd)
From: Jeff Chua @ 2002-12-12 6:22 UTC (permalink / raw)
To: Rusty Russell; +Cc: Adam J. Richter, Linux Kernel
Rusty,
Any chance that module-init-tools-0.9.3 can be modified to stop looping
when it detected it has repeated scanning the same module again?
I'm still having problem loading ide as a module under 2.5.51
Thanks,
Jeff
[ jchua@fedex.com ]
---------- Forwarded message ----------
Date: Wed, 11 Dec 2002 15:07:33 +0800 (SGT)
From: Jeff Chua <jchua@fedex.com>
To: Adam J. Richter <adam@yggdrasil.com>
Cc: jchua@fedex.com, <linux-kernel@vger.kernel.org>
Subject: Re: 2.5.51 ide module problem
On Tue, 10 Dec 2002, Adam J. Richter wrote:
> >depmod will ecounter "Segmentation fault" if the ide.ko and ide-io.ps
> >modules are in /lib/modules/2.5.51/kernel
>
> I think the new depmod recurses infinitely when it encounters
> circular dependencies. It eventually segfaults and leaves a huge
> modules.dep file from the infinite loop. If you look at the final
> huge line in that file, you can see where the loop occurred.
>
> depmod has no need to do any recursion, since it only needs
> to determine the immediate dependencies of each module. However,
> noticing such loops and printing them out would be a handy feature.
>
> I use IDE as a module, but I had to change the Makefile to
> build a big ide-mod.o from most of the core objects rather than
> allowing each one to be its own module. I believe I posted IDE
> modularization patches at least once a couple of months ago, but it
> seems to have fallen between the cracks. I could repost it if need
> be
Yes, please, send me your patch. I hope this patch works for
module-init-tools-0.9.3
>, although I have not yet booted 2.5.51.
I had same problem with pre 2.5.51. With 2.5.51, kernel now boot and I'm
able to get login prompt using ramdisk. Only catch is I've to specify
root=/dev/ram0 instead of /dev/ram for it to boot.
Thanks,
Jeff.
>
> Also note that I have not used the in kernel-based module
> loader recently, as I have been patching my kernels to use the user
> level module code. I am planning to try the kernel-base module loader
> in 2.5.51 once I fix other problems it has finding the root device
> under devfs. So, it's remotely possible that you may also see module
> problems that I've missed.
>
> Adam J. Richter __ ______________ 575 Oroville Road
> adam@yggdrasil.com \ / Milpitas, California 95035
> +1 408 309-6081 | g g d r a s i l United States of America
> "Free Software For The Rest Of Us."
>
^ permalink raw reply
* Re: Aic7xxx v6.2.22 and Aic79xx v1.3.0Alpha2 Released
From: Andrew Morton @ 2002-12-12 5:51 UTC (permalink / raw)
To: James Bottomley
Cc: Christoph Hellwig, Justin T. Gibbs, linux-scsi, Alan Cox,
Marcelo Tosatti, Linus Torvalds
In-Reply-To: <200212101602.gBAG2Hi02930@localhost.localdomain>
James Bottomley wrote:
>
> The tarball contained a lot of extraneous files, but I think I got them all
> weeded out. I've but the result at:
>
> http://linux-scsi.bkbits.net/scsi-aic7xxx-2.5
>
Well I would test (and distribute) it too, but the above format is useless
to me, as it is to most others.
^ permalink raw reply
* Re: 2.5.50 - sound driver issues with i810_audio
From: Valdis.Kletnieks @ 2002-12-12 5:51 UTC (permalink / raw)
To: Doug Ledford; +Cc: linux-kernel
In-Reply-To: <20021211225928.GC6513@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 1056 bytes --]
On Wed, 11 Dec 2002 17:59:28 EST, Doug Ledford said:
> This sounds like the problem some chipsets had with wrapping counters in
> the dma pointer read code. Basically, when the sg segment is advanced to
> the next segment, the offset counter would not be simultaneously cleared
> but instead would be momentarily delayed before the clear occured and a
> read at just the wrong time could result in us thinking that the buffer
> was a full sg segment farther than it was. There were changes made to the
> oss i810 driver around version 0.18 to solve this problem if I remember
> correctly. Similar code may be needed in the alsa driver, I'm not sure
> because I have looked at it or tried it (my machine with an i810 doesn't
> run 2.5 kernels).
Ahh... That would exactly explain what I was seeing, and why it worked under
2.4.18 for me, and gives me a good idea where to look (the relevant code in the
alsa and oss drivers is pretty similar, there's only so many ways to code a
ring buffer when the other part is cast in silicon. ;)
/Valdis
[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]
^ permalink raw reply
* 2.5.51 + devfs root + SMP = lockup
From: Adam J. Richter @ 2002-12-12 5:41 UTC (permalink / raw)
To: linux-kernel, rgooch, viro
Linux 2.5.51 with SMP and devfs hangs at boot time when trying
to find the initial root device (/dev/ram0 in my case). 2.5.50 does
not have this problem. That hang occurs when find_in_devfs in
init/do_mounts.c descends into the /dev/shm directory, eventually
resulting to a call to devfs_lookup (in fs/devfs/base.c), which hangs
at line 2685, waiting for a lock, at least on my single processor
running an SMP kernel:
out:
dentry->d_op = &devfs_dops;
dentry->d_fsdata = NULL;
write_lock (&parent->u.dir.lock); <----------- Hangs here
wake_up (&lookup_info.wait_queue);
write_unlock (&parent->u.dir.lock);
devfs_put (de);
return retval;
} /* End Function devfs_lookup */
Actually, I am running slightly modified versions of both
files, although I believe that my modificatiosn are not the cause.
In init/do_mounts.c, I am running the patch that I posted back in ~2.5.48
so that reading /dev under devfs works at all (I think the patch
has fallen through the cracks and I plan to resubmit it, but I want
to get 2.5.51 working first, in case the patch really is the culprit).
The other difference in my system is the removable device
"support" in devfs (having the kernel reread the partition table when
you didn't ask it to, unlike a non-devfs system). I removed it.
Anyhow, I haven't exhausted my debugging efforts, but it has
been a little slow going, so I'm reporting what I know now, in case
anyone recognizes the problem. If nobody beats me to it, I expect to
track down the problem in the next day or so and post a patch then.
Adam J. Richter __ ______________ 575 Oroville Road
adam@yggdrasil.com \ / Milpitas, California 95035
+1 408 309-6081 | g g d r a s i l United States of America
"Free Software For The Rest Of Us."
^ permalink raw reply
* Re: hostname forwarding
From: Raymond Leach @ 2002-12-12 5:36 UTC (permalink / raw)
To: Patrick Maartense; +Cc: bernard, Netfilter Mailing List
In-Reply-To: <Pine.LNX.4.33.0212111606240.17876-100000@www.csbenter.at>
[-- Attachment #1: Type: text/plain, Size: 1879 bytes --]
On Wed, 2002-12-11 at 17:06, Patrick Maartense wrote:
> this is not possible using ipotables
>
Ummm, what is the -s parameter for then?
iptables -t nat -A PREROUTING -p tcp -s <hostname A> --dport 80 -j
REDIRECT --to-destination 192.168.1.1:80
iptables -t nat -A PREROUTING -p tcp -s <hostname B> --dport 80 -j
REDIRECT --to-destination 192.168.1.2:80
Or am I missing something?
Ray
> Apache however can very well handle this ..
>
>
> On Wed, 11 Dec 2002, bernard wrote:
>
> > I'm using iptables to redirect external requests depending on their
> > port/protocol like this :
> >
> > hostname A:80 -> public ip -> iptables -> 192.168.1.1:80
> > hostname B:80 -> public ip -> iptables -> 192.168.1.1:80
> >
> > It works pretty well, thanks to iptables :-)
> >
> > Now I want to redirect on a hostname basis on different private ip's
> > like this :
> >
> > hostname A:80 -> public ip -> iptables -> 192.168.1.1:80
> > hostname B:80 -> public ip -> iptables -> 192.168.1.2:80
> >
> > Does anyone know a solution ?
> >
> > Thanks for your help.
> >
> > Bernard
> >
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
( Raymond Leach )
) Knowledge Factory (
( )
) Tel: +27 11 445 8100 (
( Fax: +27 11 445 8101 )
) (
( http://www.knowledgefactory.co.za/ )
) http://www.saptg.co.za/ (
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
o o
o o
.--. .--.
| o_o| |o_o |
| \_:| |:_/ |
/ / \\ // \ \
( | |) (| | )
/`\_ _/'\ /'\_ _/`\
\___)=(___/ \___)=(___/
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply
* Re: Perl Or PhP?
From: Stephen Satchell @ 2002-12-12 5:17 UTC (permalink / raw)
To: vick Julius, linux-admin
In-Reply-To: <F42L1vQNLyWDxSLZxMH0000413f@hotmail.com>
At 04:37 AM 12/12/02 +0000, vick Julius wrote:
>I heard a lot about PhP but I did not have the opportunity to play with it.
>1) Is it better than Perl?
A religious question if I ever heard one. I believe both packages have
their uses, and so you need to evaluate how each tool meets the problem you
need to solve. My personal tendency is to prototype in PHP to get the user
interface reasonably set, but use Perl, CGI.pm, and Pq.pm for the
bet-the-company assignments.
Many of the things I do involve Postgresql, and I find the Perl method, as
opposed to the PHP method, allows for a smaller RAM footprint during page
building.
The integration of static and active page content is more intituitive in
PHP than in Perl. This is especially true for Web pages which have only a
small amount of dynamic content: you can use a standard HTML tool to build
the static stuff to your liking, then add just the PHP you need for the
active side.
>2) Are there tasks that you can do with PhP that cannot be done with perl?
I haven't found any. On the other hand, I've found things that Perl can do
that PHP can't, but the significance is minor. The one thing I do use a
lot in Perl that is just damn difficult in PHP is C "helper" code,
particular output from Lex/Yacc.
>3)Can someone, who knows perl, stick with perl without learning Php?
If you want to, I would guess. PHP isn't that hard, but it is a little
different. Again, it depends on how many tools you want in your toolbox to
solve problems.
Stephen Satchell
--
The human mind treats a new idea the way the body treats a strange
protein: it rejects it. -- P. Medawar
This posting is for entertainment purposes only; it is not a legal opinion.
^ permalink raw reply
* Re: Trouble with kernel 2.4.18-18.7.x
From: Tom Diehl @ 2002-12-12 5:18 UTC (permalink / raw)
To: Alan Cox; +Cc: Karina, Linux Kernel Mailing List
In-Reply-To: <1039553498.14302.58.camel@irongate.swansea.linux.org.uk>
On 10 Dec 2002, Alan Cox wrote:
> On Tue, 2002-12-10 at 19:33, Karina wrote:
> > Hi, i've just installed kernel 2.4.18-18.7.x (from RPM) and now it
> > seems there are problems with my scsi devices.
> > I have attached an adaptec scsi AIC7XXX adapter, the system detects the
> > device, but in the logs appears messages: "blk: queue c24afa18, I/0
> > limit 4095Mb (mask0xfffffff)", these messages didn't appear before with
> > my old kernel.
>
> Thats a perfectly normal message. Its giving parameters for your scsi
>
> > Also, there are another messages in the dmesg results:
> >
> > kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter errno = 2
>
> That one is a bit stranger. I'd have expected it to put the scsi adapter
> in the initrd which apparently it hasnt
I get the exact same message on an intel L440GX (VA Linux) machine. I
attributed it to the routing problem this board has. Looks like I was
wrong or was I? FWIW I do not have any SCSI devices attached.
> So it looks like its ok. Do file the kmod: failed to exec report in
> https://bugzilla.redhat.com/bugzilla however. Regardless of it not being
> a problem in your case it does want fixing
Assuming that you still want it in bugzilla if Karina does not do it I will.
Karina if you do bugzilla this please let me know the number.
Enjoy,
--
.............Tom "Nothing would please me more than being able to
tdiehl@rogueind.com hire ten programmers and deluge the hobby market
with good software." -- Bill Gates 1976
We are still waiting ....
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
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.