routing question: Kernel being too helpful
Hi, I'm trying to set up a PC with two (gig)ether cards as a test system in which a router/firewall/what have you/ could be inserted between the two ether cards. Then I want to send various lumps of test traffic between the two. Unfortunatly Linux is being a little too helpful - whatever the routing tables are set as, any packets intended for one card just hops over internally and doesn't actually go over the wire. Two machines were originally going to be used but due to physical space constraints that has had to be given up. Where is the short-circuit routing done which does this? (I understand it is good and normal behaviour - I just want to turn it off). Thanks in advance, Dave -- Have a happy GNU millennium! -- / Dr. David Alan Gilbert | Running GNU/Linux on Alpha, | Happy \ \ gro.gilbert @ treblig.org | 68K,MIPS,x86,ARM and SPARC | In Hex / \ ___|___ http://www.treblig.org |___/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
css hang; somewhere between test12 and test13pre4ac2
Hi, Somewhere between test12 and test13pre4ac2 (sheesh the version numbers.) CSS on ATAPI DVD ROM drives has stopped working. Playing a CSS disc (using xine) causes a complete system hang (machine doesn't ping - sysrq-b still works) on test13pre4ac2. On test12 it is still OK. This is on an Alpha LX164. Dave -- Have a happy GNU millennium! -- / Dr. David Alan Gilbert | Running GNU/Linux on | Happy \ \ gro.gilbert @ treblig.org | Alpha, x86, ARM and SPARC | In Hex / \ ___|___ http://www.treblig.org |/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
shmat returning NULL with 0 sized segment
Hi, I'm trying to debug a weird problem with Xine - its screwing up its use of shared memory for regions I haven't sussed yet. One odd consequence is that it has apparently successfully managed to allocate a 0 byte chunk of shared memory; shmat is then called with shmaddr=0 and shmflg=0; the result of shmat is 0 Is this what shmat is supposed to do in this (admittedly odd) circumstance? The error behaviour is defined in the man page as returning -1 on error. (Linux/Alpha 2.4.0-test8) Back to trying to find out why it decided to allocate a 0 byte chunk Dave -- Have a happy GNU millennium! -- / Dr. David Alan Gilbert | Running GNU/Linux on | Happy \ \ gro.gilbert @ treblig.org | Alpha, x86, ARM and SPARC | In Hex / \ ___|___ http://www.treblig.org |/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: css hang; somewhere between test12 and test13pre4ac2
On Mon, 25 Dec 2000, Jens Axboe wrote: > The most likely suspect (as someone else pointed out) is not at > all css (I'm not even sure what you mean by css hang?) but UDF. I mean a complete system hang when playing a CSS disc - doesn't even ping. Doesn't recover. > Given the fs changes. Since sysrq still works, it would help a > lot if you could capture sysrq-p repeatedly and send it in. I think at this point the only thing that works is sysrq-b - at least the sysrq-u's and sysrq-s's that I've given don't seem to have cleanly unmounted the file system. > Do you have any non-css discs to beat on UDF? Yep one disc (Scanners) - it is fine - hence my reason for beleiving it is a CSSism (although I guess CSS makes other demands on the UDF code). Dave -- Have a happy GNU millennium! -- / Dr. David Alan Gilbert | Running GNU/Linux on | Happy \ \ gro.gilbert @ treblig.org | Alpha, x86, ARM and SPARC | In Hex / \ ___|___ http://www.treblig.org |/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: css hang; somewhere between test12 and test13pre4ac2
Hi Jens, Thanks for the patch; unfortunatly at the moment I can neither confirm or deny whether the patch works - since the damn thing won't crash on me with or without the patch - I suspect it depends on system mood. But I have a PDA logging console so if it happens I should catch it. Thanks again, Dave -- Have a happy GNU millennium! -- / Dr. David Alan Gilbert | Running GNU/Linux on | Happy \ \ gro.gilbert @ treblig.org | Alpha, x86, ARM and SPARC | In Hex / \ ___|___ http://www.treblig.org |/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: [Patch] shmmin behaviour back to 2.2 behaviour
On 27 Dec 2000, Christoph Rohland wrote: > Hi Linus, > > The following patchlet bring the handling of shmget with size zero > back to the 2.2 behaviour. There seem to be programs out, which > (erroneously) rely on this. Hi Christoph, I think I've come to the conclusion that Xine does not in the case I've found, rely on this - it is a separate bug related to Xv telling xine that it needs 0 bytes. Dave -- Have a happy GNU millennium! -- / Dr. David Alan Gilbert | Running GNU/Linux on | Happy \ \ gro.gilbert @ treblig.org | Alpha, x86, ARM and SPARC | In Hex / \ ___|___ http://www.treblig.org |/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
NFS oddity (2.4.0test13pre4ac2 server, 2.0.36/2.2.14 clients)
Hi, On the server: bash$ ls -l total 21 drwxrwxrwx 11 root root 2048 Jul 23 02:32 arm lrwxrwxrwx 1 root root 14 Aug 22 1999 dg -> /home/gilbertd drwxr-xr-x 6 root root 1024 Mar 21 1999 ftp drwx-- 5 g3oagg3oag1024 Oct 3 1999 g3oag drwxr-xr-x 164 gilbertd gilbertd12288 Dec 29 19:42 gilbertd drwxr-xr-x 5 root root 1024 Sep 21 1999 httpd drwxr-xr-x 2 root root 1024 Mar 8 2017 lost+found drwx-- 2 rmk rmk 1024 Apr 11 1999 rmk drwx-- 5 rt rt 1024 Sep 10 14:49 rt drwxr-xr-x 2 root nobody 1024 Apr 16 1999 samba on the client: [root@sol home]# ls -l ls: gilbertd: No such file or directory total 9 drwxrwxrwx 11 root root 2048 Jul 23 02:32 arm lrwxrwxrwx1 root root 14 Aug 22 1999 dg -> /home/gilbertd drwxr-xr-x6 root root 1024 Mar 21 1999 ftp drwx--5 1000 1000 1024 Oct 3 1999 g3oag drwxr-xr-x5 root root 1024 Sep 21 1999 httpd drwxr-xr-x2 root root 1024 Mar 8 2017 lost+found drwx--2 9032 9032 1024 Apr 11 1999 rmk drwx--5 9033 9033 1024 Sep 10 14:49 rt drwxr-xr-x2 root nobody 1024 Apr 16 1999 samba - So where did the gilbertd directory go ? The Server is Linux/Alpha 2.4.0-test13pre4ac2 The clients are Linux/x86 2.0.36 and Linux/SPARC 2.2.14 What gives ? Dave -- Have a happy GNU millennium! -- / Dr. David Alan Gilbert | Running GNU/Linux on | Happy \ \ gro.gilbert @ treblig.org | Alpha, x86, ARM and SPARC | In Hex / \ ___|___ http://www.treblig.org |/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: NFS oddity (2.4.0test13pre4ac2 server, 2.0.36/2.2.14 clients)
On Sat, 30 Dec 2000, Neil Brown wrote: > > So where did the gilbertd directory go ? > > Is there any chance that /home/gilbertd is a mount point? Nope; from the server: [root@tardis gcc]# mount /dev/hdc6 on / type ext2 (rw) none on /proc type proc (rw) /dev/hdc3 on /discs/c3 type ext2 (ro) /dev/hdc4 on /discs/c4 type ext2 (rw) /dev/hdc7 on /discs/c7 type ext2 (rw) /dev/hdc8 on /discs/c8 type ext2 (rw) (/home is actually /discs/c4/home). /etc/exports is: /discs/c4 sol(rw,no_root_squash,insecure) gort klaatu oaktree(rw,no_root_squash,insecure) /discs/c3 sol(rw,no_root_squash,insecure) gort klaatu oaktree(rw,no_root_squash,insecure) /mnt/dvd sol(rw,no_root_squash,insecure) Server is tardis, client is sol. > Can you get a tcpdump (-s 1024) of the network traffic while this is > happening? Yep; to avoid posting to the list I've put it at: http://www.treblig.org/nfs_bug_netlog its 14K and is the output of: /usr/sbin/tcpdump -vv -x -s 1024 host sol and tardis > /tmp/netlog 2>&1 Thanks, Dave -- Have a happy GNU millennium! -- / Dr. David Alan Gilbert | Running GNU/Linux on | Happy \ \ gro.gilbert @ treblig.org | Alpha, x86, ARM and SPARC | In Hex / \ ___|___ http://www.treblig.org |/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: NFS oddity (2.4.0test13pre4ac2 server, 2.0.36/2.2.14 clients)
On Sat, 30 Dec 2000, Neil Brown wrote: > On Friday December 29, [EMAIL PROTECTED] wrote: > > On Sat, 30 Dec 2000, Neil Brown wrote: > > > > > > So where did the gilbertd directory go ? > > It suffered the curse of the 8-character file name Ah well spotted! It also happens to 12 byte names. > Could you > gdb vmlinux > disassemble xdr_decode_string > disassemble memmove A job for tomorrow. > and see if the code looks right? > > You might like to try: > > 1/ move gilbertd to gilbertdd and see if you can then access it over > nfs. Yep - it starts working. > 2/ create a file called "ertdertd" and see if you get that when you > try to access gilbertd Hehe yes; accessing gilbertd gives you the contents or ertdertd. The server architecture is Alpha. (Client Sparc and x86). Dave -- Have a happy GNU millennium! -- / Dr. David Alan Gilbert | Running GNU/Linux on | Happy \ \ gro.gilbert @ treblig.org | Alpha, x86, ARM and SPARC | In Hex / \ ___|___ http://www.treblig.org |/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Alpha: memmove fix - worked!
Hi, Thanks to everyone who helped out on my NFS problem -> memmove screw up - pre7 built out of the box and seems to have fixed it. Dave -- Have a happy GNU millennium! -- / Dr. David Alan Gilbert | Running GNU/Linux on | Happy \ \ gro.gilbert @ treblig.org | Alpha, x86, ARM and SPARC | In Hex / \ ___|___ http://www.treblig.org |/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
2.4.0-prerel-ac1: Looking good on Alpha
Hi, 2.4.0-prerelease with the Alan Cox new-year-special ac1 patches is looking good for me on Alpha (LX164). My standard build went just fine; so I decided to push it; I've built in IPv6, a load of USB stuff, SCSI stuff, and a load of other stuff; loaded them all as modules, all loaded OK and unloaded OK - haven't actually stressed any of it. Just two (1 and a half?) problems: 1) When doing make modules_install: depmod: *** Unresolved symbols in /lib/modules/2.4.0-prerelease-ac1/kernel/drivers/usb/storage/usb-storage.o depmod: init_task_union 2) When I tried to play an audio CD this morning I got: Jan 1 12:55:48 tardis kernel: hdb: irq timeout: status=0xd0 { Busy } Jan 1 12:55:54 tardis kernel: hdb: ATAPI reset complete Jan 1 12:56:04 tardis kernel: hdb: irq timeout: status=0xc0 { Busy } Jan 1 12:56:10 tardis kernel: hdb: ATAPI reset complete Jan 1 12:56:20 tardis kernel: hdb: irq timeout: status=0xc0 { Busy } Jan 1 12:56:20 tardis kernel: end_request: I/O error, dev 03:40 (hdb), sector 0 Jan 1 12:56:20 tardis kernel: hdb: status timeout: status=0xc0 { Busy } Jan 1 12:56:20 tardis kernel: hdb: drive not ready for command Jan 1 12:56:27 tardis kernel: hdb: ATAPI reset complete Ejected the CD, put it back in and its fine, so I actually suspect the drive was just having a bad day but its best just to list there was the problem. (This on a CMD646 on the motherboard). Dave -- Have a happy GNU millennium! -- / Dr. David Alan Gilbert | Running GNU/Linux on | Happy \ \ gro.gilbert @ treblig.org | Alpha, x86, ARM and SPARC | In Hex / \ ___|___ http://www.treblig.org |/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
2.4.0-test9 boot failure (Linux/Alpha, EIDE CMD646)
Hi, 2.4.0-test9 failed to boot on my LX164 Alpha system; 2.4.0-test8 works fine. It looses interrupts in the IDE probes; it is a CMD646 controller and what appears to be happening is that it is getting the wrong IRQs; under 2.4.0-test8 we see: Oct 7 18:19:57 tardis kernel: CMD646: IDE controller on PCI bus 00 dev 58 Oct 7 18:19:57 tardis kernel: CMD646: chipset revision 1 Oct 7 18:19:57 tardis kernel: CMD646: not 100% native mode: will probe irqs later Oct 7 18:19:57 tardis kernel: CMD646: chipset revision 0x01, MultiWord DMA Limited, IRQ workaround enabled Oct 7 18:19:57 tardis kernel: ide0: BM-DMA at 0x8000-0x8007, BIOS settings: hda:pio, hdb:DMA Oct 7 18:19:57 tardis kernel: ide1: BM-DMA at 0x8008-0x800f, BIOS settings: hdc:DMA, hdd:DMA Oct 7 18:19:57 tardis kernel: hdb: , ATAPI CDROM drive Oct 7 18:19:57 tardis kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx Oct 7 18:19:57 tardis kernel: hdc: IBM-DPTA-373420, ATA DISK drive Oct 7 18:19:57 tardis kernel: hdd: MATSHITADVD-ROM SR-8582, ATAPI CDROM drive Oct 7 18:19:57 tardis kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 Oct 7 18:19:57 tardis kernel: ide1 at 0x170-0x177,0x376 on irq 15 On 2.4.0-test9 I can't easily get a log saved; however it looks like its saying that both ide0 and ide1 are on irq 21 and then complains that it is loosing them. It is not unusual for PCI devices on Alpha to have IRQs > 16 (indeed my ether is on 17). .config on request for anyone interested. Dave -- Have a happy GNU millennium! -- / Dr. David Alan Gilbert | Running GNU/Linux on | Happy \ \ gro.gilbert @ treblig.org | Alpha, x86, ARM and SPARC | In Hex / |___ http://www.treblig.org |/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Losing a keystroke or two?
Hi, I maybe going mad (or it may be too late) - but I've been starting X, quitting and restarting - and there are a couple of times over the last day where I could have sworn that I pressed return on the startx and had to hit return again. This is 2.4.1-ac2 with XFree 4.0.2 on Alpha. OK - it might be just going mad; but I'm fairly sure its loosing a key there. Dave -- Have a happy GNU millennium! -- / Dr. David Alan Gilbert | Running GNU/Linux on Alpha, | Happy \ \ gro.gilbert @ treblig.org | 68K,MIPS,x86,ARM and SPARC | In Hex / \ ___|___ http://www.treblig.org |___/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
2.4.5: Duplicate PCI devices
Hi, (On Alpha LX164, 2.4.5,built with Gcc 3.0 from CVS and binutils 2.9.11) This seems to be running fine, but I've noticed that 'lspci' is listing all devices twice: 00:06.0 SCSI storage controller: Adaptec AIC-7861 (rev 01) 00:06.0 SCSI storage controller: Adaptec AIC-7861 (rev 01) 00:07.0 Ethernet controller: Digital Equipment Corporation DECchip 21041 [Tulip Pass 3] (rev 21) 00:07.0 Ethernet controller: Digital Equipment Corporation DECchip 21041 [Tulip Pass 3] (rev 21) 00:08.0 Non-VGA unclassified device: Intel Corporation 82378IB [SIO ISA Bridge] (rev 43) 00:08.0 Non-VGA unclassified device: Intel Corporation 82378IB [SIO ISA Bridge] (rev 43) 00:09.0 VGA compatible controller: 3Dfx Interactive, Inc.: Unknown device 0005 (rev 01) 00:09.0 VGA compatible controller: 3Dfx Interactive, Inc.: Unknown device 0005 (rev 01) 00:0b.0 IDE interface: CMD Technology Inc PCI0646 (rev 01) 00:0b.0 IDE interface: CMD Technology Inc PCI0646 (rev 01) /proc/pci seems to be only listing it once. (dmesg on http://www.treblig.org/debug/2.4.5.dmesg ) Dave -- Have a happy GNU millennium! -- / Dr. David Alan Gilbert| Running GNU/Linux on Alpha,68K| Happy \ \ gro.gilbert @ treblig.org | MIPS,x86,ARM, SPARC and HP-PA | In Hex / \ _|_ http://www.treblig.org |___/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.4.5: Duplicate PCI devices (new pciutils fixed it)
On Sat, 26 May 2001, David S. Miller wrote: > > Dave Gilbert writes: > > /proc/pci seems to be only listing it once. > > lspci uses /prov/bus/pci/${BUS}/${DEVICE} > so likely it is showing up twice there. Hmm nope - /proc/bus/pci has two entries '00' and devices Devices has 5 lines in it; corresponding to the real 5 devices. The 00 directory has 5 files in it. Hmm - ah - cancel the report - I've just got pciutils 2.1.8 down and it is now happy. Should there be a version ref for pciutils in Documentation/Changes? Dave -- Have a happy GNU millennium! -- / Dr. David Alan Gilbert| Running GNU/Linux on Alpha,68K| Happy \ \ gro.gilbert @ treblig.org | MIPS,x86,ARM, SPARC and HP-PA | In Hex / \ _|_ http://www.treblig.org |___/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/