IP checksum broken in 2.2 .18 ip_decrease_ttl

2001-05-16 Thread Ulrich . Weigand
Hi Alan, the fast IP checksum update in ip_decrease_ttl appears to be broken (at least on big endian machines) since 2.2.18. Even on little endian machines IMO the overflow is incorrect in two cases: 0xfeff goes to 0x instead of 0x 0x goes to 0x instead of 0x0100 On big

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread H. Peter Anvin
Richard Gooch wrote: > > Geert Uytterhoeven writes: > > On Tue, 15 May 2001, Richard Gooch wrote: > > > Alan Cox writes: > > > > > len = readlink ("/proc/self/3", buffer, buflen); > > > > > if (strcmp (buffer + len - 2, "cd") != 0) { > > > > > fprintf (stderr,

Re: wrong /dev/sd... order with multiple adapters in kernel 2.4.4

2001-05-16 Thread Massimo Dal Zotto
> On Wed, 16 May 2001, Massimo Dal Zotto wrote: > > > Hi, > > > > I have recently upgraded the kernel from 2.2.19 to 2.4.4 and discovered > > that it assigns the /dev/sd... devices in the wrong order with respect both > > to the behavior of kernel 2.2.19 and to the `scsihosts' boot option which

Re: [PATCH] rootfs (part 1)

2001-05-16 Thread Christoph Rohland
Hi Linus, On Wed, 16 May 2001, Linus Torvalds wrote: > > On 16 May 2001, Christoph Rohland wrote: >> >> cr:/speicher/src/u4ac9 $ ls -l mm/shmem.o* >> -rw-r--r--1 cr users 154652 Mai 16 19:27 mm/shmem.o-tmpfs >> -rw-r--r--1 cr users 180764 Mai 16 19:24

Re: [PATCH] rootfs (part 1)

2001-05-16 Thread Alexander Viro
On Wed, 16 May 2001, Linus Torvalds wrote: > > On Wed, 16 May 2001, Alexander Viro wrote: > > > > Linus, patch is the first chunk of rootfs stuff. I've tried to > > get it as small as possible - all it does is addition of absolute root > > on ramfs and necessary changes to

locked 3c905B with 2.4.5pre2

2001-05-16 Thread Julian Anastasov
Hello, eth0 locked after 20-30 seconds stress test, different setups: - SMP with 2 CPUs and 2 3c905B Cyclone 100baseTx cards - SMP with 1 CPU (maxcpus=1) and the same 2 cards No eth lock problems with 2.2.19 UP The scenario, a throughput test setup: flood ->

Re: [PATCH] rootfs (part 1)

2001-05-16 Thread Alexander Viro
On 16 May 2001, Christoph Rohland wrote: > cr:/speicher/src/u4ac9 $ ls -l fs/ramfs/ramfs.o > -rw-r--r--1 cr users 141452 Mai 16 19:27 fs/ramfs/ramfs.o _What_? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Why O_SYNC and fsync are slow in Linux?

2001-05-16 Thread Heikki Tuuri
(Please CC your replies to me because I am not on the list.) Hi! Does anyone happen to know who is responsible for the file cache and disk management in Linux? On different systems I have measured strange differences in performance depending on whether I open a file with O_SYNC and let the

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Hacksaw
>This is the problem with all sorts of ID-based naming. In this case >the kernel could simply change the conflicting names a bit, >and leave the cleanup to the administrator. (Who probably >is around as he just inserted those disks) NO, NO, NO, NO, NO. The kernel, when asked to report on

Re: wrong /dev/sd... order with multiple adapters in kernel 2.4.4

2001-05-16 Thread Richard B. Johnson
On Wed, 16 May 2001, Massimo Dal Zotto wrote: > Hi, > > I have recently upgraded the kernel from 2.2.19 to 2.4.4 and discovered > that it assigns the /dev/sd... devices in the wrong order with respect both > to the behavior of kernel 2.2.19 and to the `scsihosts' boot option which I > specified

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Richard Gooch
Geert Uytterhoeven writes: > On Tue, 15 May 2001, Richard Gooch wrote: > > Alan Cox writes: > > > > len = readlink ("/proc/self/3", buffer, buflen); > > > > if (strcmp (buffer + len - 2, "cd") != 0) { > > > > fprintf (stderr, "Not a CD-ROM! Bugger off.\n"); > > > >

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Richard Gooch
Andrzej Krzysztofowicz writes: > > > > OK, just correct me if I get this wrong, but this code is taking the LAST 2 > > characters of the device name and verifying that it is "cd". Which would > > mean that the standard states that "/dev/ginsucd" would be a CD-ROM drive? > > > > That is why I

Re: [PATCH] rootfs (part 1)

2001-05-16 Thread Alexander Viro
On 16 May 2001, Christoph Rohland wrote: > Why do you use ramfs? Most of it is duplicated in tmpfs and ramfs is a > minimal _example_ fs. There was some agreement that this should stay > so. Because what I need is an absolute minimum. Heck, I don't even use regular files (in the full variant

/dev/poll patch ?

2001-05-16 Thread Krzysztof Sierota
Hi there, has anyone possibly ported the /dev/poll patch from linux-scalability project to 2.2.19 kernel ? Thank you in advance. Krzysztof - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: wrong /dev/sd... order with multiple adapters in kernel 2.4.4

2001-05-16 Thread Michael Meissner
On Wed, May 16, 2001 at 01:38:37PM +0200, Massimo Dal Zotto wrote: > Hi, > > I have recently upgraded the kernel from 2.2.19 to 2.4.4 and discovered > that it assigns the /dev/sd... devices in the wrong order with respect both > to the behavior of kernel 2.2.19 and to the `scsihosts' boot option

Re: [PATCH] move aic7xxx ld in drivers/scsi/Makefile

2001-05-16 Thread Justin T. Gibbs
>Hi, > >while examining the makefiles of kernel-2.4.4 I noticed that the top Makefile >contains a specific reference to the aic7xxx driver which should IMHO be >referenced only by the drivers/scsi/Makefile. This was changed post v6.1.5 of the aic7xxx driver. Apply the latest patch for 2.4.4

Re: [PATCH] rootfs (part 1)

2001-05-16 Thread David L. Parsley
Linus Torvalds wrote: > What the hell are you doing? Compiling with debugging or something? I'll bet he's using a rootkit 'ls' that shows file sizes in bits. ;-) regards, David -- David L. Parsley Network Administrator, Roanoke College "If I have seen further it is by standing on ye

Re: [PATCH] rootfs (part 1)

2001-05-16 Thread Jeff Garzik
Christoph Rohland wrote: > > Hi Linus, > > On Wed, 16 May 2001, Linus Torvalds wrote: > > Looks ok, but it also feels like 2.5.x stuff to me. > > > > Also, there's the question of whether to make ramfs just built-in, > > or make _tmpfs_ built in - ramfs is certainly simpler, but tmpfs > > does

Re: [PATCH] rootfs (part 1)

2001-05-16 Thread Christoph Rohland
Hi Linus, On Wed, 16 May 2001, Linus Torvalds wrote: > Looks ok, but it also feels like 2.5.x stuff to me. > > Also, there's the question of whether to make ramfs just built-in, > or make _tmpfs_ built in - ramfs is certainly simpler, but tmpfs > does the same things and you need that one for

Re: [PATCH] rootfs (part 1)

2001-05-16 Thread Linus Torvalds
On 16 May 2001, Christoph Rohland wrote: > > cr:/speicher/src/u4ac9 $ ls -l mm/shmem.o* > -rw-r--r--1 cr users 154652 Mai 16 19:27 mm/shmem.o-tmpfs > -rw-r--r--1 cr users 180764 Mai 16 19:24 mm/shmem.o+tmpfs > cr:/speicher/src/u4ac9 $ ls -l fs/ramfs/ramfs.o >

wrong /dev/sd... order with multiple adapters in kernel 2.4.4

2001-05-16 Thread Massimo Dal Zotto
Hi, I have recently upgraded the kernel from 2.2.19 to 2.4.4 and discovered that it assigns the /dev/sd... devices in the wrong order with respect both to the behavior of kernel 2.2.19 and to the `scsihosts' boot option which I specified at the boot prompt. I have a scsi-only machine with an

Re: RH 7.1 on IBM xSeries 240

2001-05-16 Thread Leah Cunningham
Well, if you want I can try and reproduce your issue once I have access to this machine. It may be about a week or so. RH 7.1 has been tested on this machine, but not with ServeRaid 4.71. ps ([EMAIL PROTECTED]) [010516 10:29]: - > Yes, I have the newest BIOS and SR Firmware. - > I have 2 x

Re: 2.2.20pre2aa1

2001-05-16 Thread Andrea Arcangeli
On Wed, May 16, 2001 at 10:25:32AM -0700, dean gaudet wrote: > On Wed, 16 May 2001, Andrea Arcangeli wrote: > > > On Tue, May 15, 2001 at 08:33:05PM -0700, dean gaudet wrote: > > > apache since 1.3.15 has defined SINGLE_LISTEN_UNSERIALIZED_ACCEPT ... > > > > That's definitely a good thing. > >

Re: RH 7.1 on IBM xSeries 240

2001-05-16 Thread ps
Yes, I have the newest BIOS and SR Firmware. I have 2 x 1GHz CPUs and IBM PCI ServeRAID 4.71.00 -- Piotr Szymanek Leah Cunningham wrote: > > This may be way off, but have you flashed the BIOS to the most > current revision? This machine should work properly. How many > processors and

Re: 2.2.20pre2aa1

2001-05-16 Thread dean gaudet
On Wed, 16 May 2001, Andrea Arcangeli wrote: > On Tue, May 15, 2001 at 08:33:05PM -0700, dean gaudet wrote: > > apache since 1.3.15 has defined SINGLE_LISTEN_UNSERIALIZED_ACCEPT ... > > That's definitely a good thing. hmm, i'm not so sure -- 1.3.x is our stable release, and it sounds like this

Transmit time out on eth1 (rtl8139) / dirty entry in queue [again]

2001-05-16 Thread Axel Siebenwirth
hi, this old problem I had been faced with had been solved with 2.4.3-ac13/14, but now with kernel 2.4.4-ac9 and all other 2.4.4-acx it came up again. It's a Realtek 8139C chip on a AT2500 (allied telesyn or sumpin like that) Instead the former Apr 24 16:16:57 bello kernel: eth1: Setting

VIA/PDC/Athlon

2001-05-16 Thread Jussi Laako
I tested 2.4.4-ac9 today on A7V133 machine. It booted up, but can't stand any load. It will deadlock (without oops) when the network/disk system faces any load. There is also some new bug in VIA IDE driver. It misdetects cable as 80-w when it's only 40-w and causes some CRC errors and speed

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Mathieu Chouquet-Stringer
[EMAIL PROTECTED] (Hacksaw) writes: > >So what is your solution for preventing a boot failure after disks/partitions > >change ? > >volume labels/UUID ? > > As a sys-admin, let me add a vote for this. Having (one day) a prom monitor > program that looks at all the disks, and gives a menu of

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread James Simmons
> mmap is fine for a fb, but please don't remove read/write. > I can now do a screendump with "cat /dev/fb/0 > file", > because everything is a file. > Having > /dev/fb/0/brightness > /dev/fb/0/opengl > and so on seems to be a better approach. One I like to name of the file system to be

Re: [PATCH] rootfs (part 1)

2001-05-16 Thread Linus Torvalds
On Wed, 16 May 2001, Alexander Viro wrote: > > Linus, patch is the first chunk of rootfs stuff. I've tried to > get it as small as possible - all it does is addition of absolute root > on ramfs and necessary changes to mount_root/change_root/sys_pivot_root > and follow_dotdot. Real root is

NTFS with Win2k - Write Support broken?

2001-05-16 Thread Axel Siebenwirth
Hallo, I have a linux system with kernel 2.4.4-ac9 and a win2k partition with ntfs. Since because of the new ntfs version rw support is disabled, I wondered how much rw support is broken, why and if I could try at least. Or maybe some help is appreciated? Thanks a lot, Axel Siebenwirth - To

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Hacksaw
>So what is your solution for preventing a boot failure after disks/partitions >change ? >volume labels/UUID ? As a sys-admin, let me add a vote for this. Having (one day) a prom monitor program that looks at all the disks, and gives a menu of which one to boot from would make life so nice. I

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Heinz J. Mauelshagen
On Wed, May 16, 2001 at 02:09:32PM +0200, Thomas Kotzian wrote: > From: "Helge Hafting" <[EMAIL PROTECTED]> > > Partition id's seems more interesting than disk id's - we normally > > mount partitions not whole disks. > > > > RAID do this well - the raid autodetect partition stores an ID in the >

Re: RH 7.1 on IBM xSeries 240

2001-05-16 Thread Leah Cunningham
This may be way off, but have you flashed the BIOS to the most current revision? This machine should work properly. How many processors and what SR card are you using? ps ([EMAIL PROTECTED]) [010516 03:07]: - > I'm trying to run Linux RH 7.1 on the rack-mounted - > IBM xSeries 240 with

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread James Simmons
> > At this point of the discussion I would like to point to the Device Registry > > patch (http://www.tjansen.de/devreg) that already solves these problems and > > offers stable device ids for the identification of devices and finding their > > /dev nodes. > > Does your approach solve the

Re: PATCH: export linux_logo_bw for hgafb.c

2001-05-16 Thread H . J . Lu
On Wed, May 16, 2001 at 03:41:40PM +0200, Geert Uytterhoeven wrote: > On Tue, 15 May 2001, H . J . Lu wrote: > > Here is a patch for 2.4.4. linux_logo_bw is used in hgafb.c, which > > can be compiled as a module. But linux_logo_bw is not exported. > > > > linux_logo_bw is __initdata. > How

Re: Getting FS access events

2001-05-16 Thread H. Peter Anvin
Anton Altaparmakov wrote: > > True, but I was under the impression that Linus' master plan was that the > two would be in entirely separate name spaces using separate cached copies > of the device blocks. > Nothing was said about the superblock at all. -hpa -- <[EMAIL PROTECTED]> at

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Michael Meissner
On Tue, May 15, 2001 at 01:18:09PM -0700, Linus Torvalds wrote: > > On Tue, 15 May 2001, Jonathan Lundell wrote: > > > > > >Keep it informational. And NEVER EVER make it part of the design. > > > > What about: > > > > 1 (network domain). I have two network interfaces that I connect to > > two

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Michael Meissner
On Wed, May 16, 2001 at 09:30:46AM -0700, Miles Lane wrote: > On 16 May 2001 15:28:03 +0200, Helge Hafting wrote: > > Oystein Viggen wrote: > > > > > > Quoth Helge Hafting: > > > > > > > This could be extended to non-raid use - i.e. use the "raid autodetect" > > > > partition type for non-raid

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Miles Lane
On 16 May 2001 15:28:03 +0200, Helge Hafting wrote: > Oystein Viggen wrote: > > > > Quoth Helge Hafting: > > > > > This could be extended to non-raid use - i.e. use the "raid autodetect" > > > partition type for non-raid as well. The autodetect routine could > > > then create

Re: rwsem, gcc3 again

2001-05-16 Thread mirabilos
Andrea, I doubt that it applies against -ac and I have only very few hard disk space, so please don't beat me I could not try... (I tried the second-to-last but it didn't apply either) But 2.4.3-ac7 works very fine with your older patch. As noticed, I now solved by CONFIG_RWSEM_GENERIC_SPINLOCK=y

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Kurt Garloff
Hi HPA, Linus, Alan, On Mon, May 14, 2001 at 12:19:34PM -0700, H. Peter Anvin wrote: > Linus Torvalds has requested a moratorium on new device number > assignments. His hope is that a new and better method for device space > handing will emerge as a result. > > Alan Cox has requested that I

Re: Bad udelay usage in drivers/net/aironet4500_card.c

2001-05-16 Thread H . J . Lu
On Wed, May 16, 2001 at 05:33:12AM -0700, Jalaja Devi wrote: > Hi! > Could you please tell me how you fixed the udelay > problem. cuz, I am encountering the same problem in my > driver. > I am not a kernel expert. You should ask it on the kernel mailing list. > Thanks for your time, > Jalaja >

Possible race in interruptible_sleep_on_timeout()

2001-05-16 Thread Richard B. Johnson
I lifted the following kernel-thread code from ../linux/drivers/net/8139too.c, just added a procedure to call. static int gpib_thread(void *unused) { unsigned long timeout; daemonize(); spin_lock_irq(>sigmask_lock); sigemptyset(>blocked); recalc_sigpending(current);

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Mo McKinlay
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yesterday, Timothy A. Seufert ([EMAIL PROTECTED]) wrote: > Why not take it a step further than just devices? This is a perfect > model for supporting named forks. Because this only works on filesystems where directories can't themselves have

Re: [linux-lvm] LVM 1.0 release decision

2001-05-16 Thread Rik van Riel
On Wed, 16 May 2001, Heinz J. Mauelshagen wrote: > Linus, Alan et al.: maybe you could think about it again and > accept one larger LVM patch. Thanks. I'm all for it right now. I'm running LVM on practically all my machines and would really like to have the latest bugfixes

ide-floppy

2001-05-16 Thread Mark Phalan
Hi, Whenever I boot (2.4.4-ac6) I get this error message if there is a zip disk in the drive. hdb: 98288kB, 196576 blocks, 512 sector size, hdb: 98304kB, 96/64/32 CHS, 4096 kBps, 512 sector size, 2941 rpm ide-floppy: hdb: I/O error, pc = 5a, key = 5, asc = 24, ascq = 0 The drive seems to work

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Jonathan Lundell
At 4:57 PM +0200 2001-05-16, Vojtech Pavlik wrote: >On Wed, May 16, 2001 at 07:37:45AM -0700, Jonathan Lundell wrote: >> At 10:02 AM +0200 2001-05-16, Vojtech Pavlik wrote: >> > > It's also true that some buses simply don't yield up physical >> >> locations (ISA springs to mind, >> > >>

Re: Oops with 2.4.3-XFS

2001-05-16 Thread Matt Bernstein
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> However, in testing a directory with lots (~177000) of files, we get the >> following oops (copied by hand, and run through ksymoops on a Red Hat box >> since the Debian one segfaulted :( ) >Can you describe your testing beyond using a directory

RE: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Jonathan Lundell
At 11:56 AM +0200 2001-05-16, Chemolli Francesco (USI) wrote: >We could do something like baptizing disks.. Fix some location >(i.e. the absolutely last sector of the disk or the partition table or >whatever) and store there some 32-bit ID >(could be a random number, a progressive number,

RE: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Khachaturov, Vassilii
Well, even if you spank the future violators, what about the current overlaps? E.g., the CD-ROM ioctls are overlapping with the STREAMS ioctls (the latter ones used by LiS and honored by glibc). V. > -Original Message- > From: H. Peter Anvin [mailto:[EMAIL PROTECTED]] > Alan Cox wrote:

Re: 2.4.5pre2aa1

2001-05-16 Thread Douglas J. Hunley
On Wednesday 16 May 2001 09:52, Andrea Arcangeli babbled: > > These descriptions are very helpful. Are they available somewhere > personally, I wish all kernel announcements were as nice as this. Kudos to Andrea. -- Douglas J. Hunley (Linux User #174778) http://hunley.homeip.net/

RE: IRQ usage for PCI devices, Kernel 2.4.4

2001-05-16 Thread Khachaturov, Vassilii
If your PCI devices advertised they don't mind sharing the IRQs with each other, ignore it if they're really capable of it. Otherwise, you'll probably have to force one of the drivers and/or the bios to make them use separate ones. > -Original Message- > From: Joachim Backes

No Subject

2001-05-16 Thread siva prasad
Sorry for the newbie question.. Is it true that the ipc calls like msgget(),shmget()... are not really system calls? Cos in the file "asm/unistd.h" where the system calls are listed as __NR_xxx we dont find the appropriate listing for the ipc calls. What I guessed was that all the ipc calls

Re: Oops with 2.4.3-XFS

2001-05-16 Thread Steve Lord
> -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > > [ I'm not subscribed to linux-xfs, please cc me ] > > We have managed to get a Debian potato system (with the 2.4 updates from > http://people.debian.org/~bunk/debian plus xfs-tools which we imported > from woody) to run 2.4.3-XFS.

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Vojtech Pavlik
On Wed, May 16, 2001 at 07:37:45AM -0700, Jonathan Lundell wrote: > At 10:02 AM +0200 2001-05-16, Vojtech Pavlik wrote: > > > It's also true that some buses simply don't yield up physical > >> locations (ISA springs to mind, > > > >ISA is quite fine, you can use the i/o space as physical

Re: [PATCH] rootfs (part 1)

2001-05-16 Thread Christoph Rohland
Hi Al, On Wed, 16 May 2001, Alexander Viro wrote: > One point that might be better done differently - since we > need ramfs for boot I've just made fs/Config.in declare CONFIG_RAMFS > as define_bool CONFIG_RAMFS y. If ramfs grows (e.g. gets resource > limits patches from -ac) we might be

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Jonathan Lundell
At 10:02 AM +0200 2001-05-16, Vojtech Pavlik wrote: > > It's also true that some buses simply don't yield up physical >> locations (ISA springs to mind, > >ISA is quite fine, you can use the i/o space as physical locations. I meant physical not as in physical-vs-virtual addresses (all ISA

Re: rwsem, gcc3 again

2001-05-16 Thread Andrea Arcangeli
On Wed, May 16, 2001 at 02:52:04PM +0100, David Howells wrote: > > Hi Andrea: > > Here you go: > > /usr/local/bin/gcc -D__KERNEL__ -I/inst-kernels/linux-2.4.5-pre2-aa/include -Wall >-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe >-mpreferred-stack-boundary=2

Re: 2.2.20pre2aa1

2001-05-16 Thread Andrea Arcangeli
On Tue, May 15, 2001 at 08:33:05PM -0700, dean gaudet wrote: > On Tue, 15 May 2001, Andrea Arcangeli wrote: > > > o fixed race in wake-one LIFO in accept(2). Apache must be compiled with > > -DSINGLE_LISTEN_UNSERIALIZED_ACCEPT to take advantage of that. > > > > 00_wake-one-4 > > > >

Re: 2.4.5pre2aa1

2001-05-16 Thread Andrea Arcangeli
On Tue, May 15, 2001 at 08:42:03PM -0300, Rik van Riel wrote: > On Tue, 15 May 2001, Andrea Arcangeli wrote: > > > Detailed description of 2.4.5pre2aa1 follows. > > > 00_buffer-2 > > > > Reschedule during oom while allocating buffers, still getblk > > can deadlock with oom but this

Re: CONFIG_APUS

2001-05-16 Thread David Balazic
[EMAIL PROTECTED] wrote on Wed May 16 2001 - 09:33:05 EDT : > When is the 'CONFIG_APUS' flag used ? On APUS systems ( Amiga PowerUp System - amigas with PPC cards ) -- David Balazic -- "Be excellent to each other." - Bill & Ted - - - - - - - - - - - - - - - - - - - - - - - To

Re: rwsem, gcc3 again

2001-05-16 Thread David Howells
Hi Andrea: Here you go: /usr/local/bin/gcc -D__KERNEL__ -I/inst-kernels/linux-2.4.5-pre2-aa/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686-DEXPORT_SYMTAB -c sys.c sys.c: In function `sys_gethostname':

Re: PATCH: export linux_logo_bw for hgafb.c

2001-05-16 Thread Geert Uytterhoeven
On Tue, 15 May 2001, H . J . Lu wrote: > Here is a patch for 2.4.4. linux_logo_bw is used in hgafb.c, which > can be compiled as a module. But linux_logo_bw is not exported. > > > H.J. > --- > --- linux-2.4.4-ac9/drivers/video/fbcon.c.mod Tue May 15 15:39:17 2001 > +++

Re: parport problems with devfs

2001-05-16 Thread Nico Schottelius
Hmm..seems you are exactly right! Sorry for that wrong though! Nico Philip Blundell wrote: > >I attached the problem occured with parport and devfs. > >I don't exactly know where the problem in the parport source > >is. If someone has a patch for it, I will test it. > > I don't think this is

CONFIG_APUS

2001-05-16 Thread mdaljeet
When is the 'CONFIG_APUS' flag used ? Daljeet Maini IBM Global Services Ltd. - Bangalore Ph. No. - 5267117 Extn 2954 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

2.4.4/2.4.5-pre2 process semi stuck in n_tty.c:write_chan

2001-05-16 Thread Andreas Schultz
Hi, I just installed a new system using 2.4.4 and later tried 2.4.5pre2 and 2.4.4ac6 and ac9. All versions show the same behaivior. When doing a "cat /var/log/messages", the output slows down after the first 30 lines and comes to an almost complete stop, with a few lines showing up every

Re: parport problems with devfs

2001-05-16 Thread Philip Blundell
>I attached the problem occured with parport and devfs. >I don't exactly know where the problem in the parport source >is. If someone has a patch for it, I will test it. I don't think this is a bug. You need to load the `lp' module. p. - To unsubscribe from this list: send the line

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Helge Hafting
Oystein Viggen wrote: > > Quoth Helge Hafting: > > > This could be extended to non-raid use - i.e. use the "raid autodetect" > > partition type for non-raid as well. The autodetect routine could > > then create /dev/partitions/home, /dev/partitions/usr or > > /dev/partitions/name_of_my_choice

2.4.5-pre2: Bogus ARP packets containing NFS file data?

2001-05-16 Thread Frank van Maarseveen
As the subject already says, reproduced in 2.4.5-pre2. -- Frank - 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

parport problems with devfs

2001-05-16 Thread Nico Schottelius
Hello! I attached the problem occured with parport and devfs. I don't exactly know where the problem in the parport source is. If someone has a patch for it, I will test it. Nico # Loading the parport and parport_pc modules for my parallelport flapp:/home/user/nico/gpm-1.19.3 # modprobe

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread mike_phillips
> The same situation appears when using bonding.o. For several years, > Don Becker's (and derived) network drivers support changing MAC address > when the interface is down. So Al's /dev/eth//MAC has different values > depending on whether bonding is active or not. Should /dev/eth//MAC > always

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Jesse Pollard
Bob Glamm <[EMAIL PROTECTED]>: > Finally, there has to be an *easy* way of identifying devices from software. > You're right, I don't care if my network cards are numbered 0-1-2, 2-0-1, > or in any other permutation, *as long as I can write something like this*: > > # start up networking >

Re: rwsem, gcc3 again

2001-05-16 Thread Andrea Arcangeli
On Wed, May 16, 2001 at 11:03:27AM +0200, [EMAIL PROTECTED] wrote: > David, > I am using the gcc-3.0 snapshot of 14.5.2001 from codesourcery (i686 binary). > I have now tried to mimic CPU=386 behaviour (patch posted yesterday night) > and it compiles (just sound fails), by exchanging y and n in >

Re: LVM 1.0 release decision

2001-05-16 Thread Heinz J. Mauelshagen
On Fri, May 11, 2001 at 03:32:46PM +0100, Alan Cox wrote: > > This leads to the dilemma, that trying to avoid further differences between > > our LVM releases and the stock kernel code would force us into postponing > > the pending LVM 1.0 release accordingly which OTOH is incovenient for the LVM

Re: kernel2.2 to kernel2.4!!

2001-05-16 Thread Jalajadevi Ganapathy
So, Is there any alternative. Archives sez not to use mdelay. - 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

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Jens Axboe
On Wed, May 16 2001, Daniel Phillips wrote: > On Tuesday 15 May 2001 17:34, Linus Torvalds wrote: > > On Tue, 15 May 2001, Neil Brown wrote: > > > Ofcourse setting the "queue" function that __blk_get_queue call to > > > do a lookup of the minor and choose an appropriate queue for the > > > "real"

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Josh Fryman
Oystein Viggen wrote: > What happens if I insert a hard drive from another computer which also > has partitions named "home", "usr", and soforth? not to belabor the obvious, but there are a lot of issues with this particular approach. for those who advocate writing some form of signature into

Re: Read-only memory on x86?

2001-05-16 Thread Erik Mouw
On Wed, May 16, 2001 at 05:10:33AM -0700, A Dell'elce wrote: > Can I set a memory area or "page" to be read-only, i.e. > generate an interrupt when writing is attempted to a certain > page/area? man mmap and catch SIGSEGV. Or see how the DOSemu VGA emulator manipulates the virtual VGA memory.

Re: kernel2.2 to kernel2.4!!

2001-05-16 Thread Erik Mouw
On Wed, May 16, 2001 at 08:05:01AM -0400, Jalajadevi Ganapathy wrote: > Hi , I encounter an unresolved symbol __bad_udelay when i ported a network > driver from kernel2.2 to 2.4. > Could anyone plz tell me what is the corresponding fxn in 2.4?? It means that you're udelay()ing way to long in

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Bogdan Costescu
On Tue, 15 May 2001, Jonathan Lundell wrote: > >The 2.4 kernel allows you to rename an interface. So you can build > >a little database of (MAC address/name) pairs. Apply this after booting > >and before bringing up the interfaces and everything has the name > >you wanted, based on MAC address.

Re: kernel2.2 to kernel2.4!!

2001-05-16 Thread Brian Gerst
Jalajadevi Ganapathy wrote: > > Hi , I encounter an unresolved symbol __bad_udelay when i ported a network > driver from kernel2.2 to 2.4. > Could anyone plz tell me what is the corresponding fxn in 2.4?? > > Thanks > Jalaja You used too large of a value for udelay(). Switch to using mdelay()

Re: 2.4.2 - Locked keyboard

2001-05-16 Thread Chris Meadors
On Tue, 15 May 2001, Anuradha Ratnaweera wrote: > > On Thu, 10 May 2001, Jorge Boncompte [DTI2] wrote: > > > After the reboot, the keyboard was working 5 minutes and then it > > locked. The console was working. I rebooted the machine again and has > > been working for 2 days, that the keyboard

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Oystein Viggen
Quoth Helge Hafting: > This could be extended to non-raid use - i.e. use the "raid autodetect" > partition type for non-raid as well. The autodetect routine could > then create /dev/partitions/home, /dev/partitions/usr or > /dev/partitions/name_of_my_choice > for autodetect partitions not

Read-only memory on x86?

2001-05-16 Thread A Dell'elce
Probably it is somewhere hidden on a faq.. but I will ask again ... Can I set a memory area or "page" to be read-only, i.e. generate an interrupt when writing is attempted to a certain page/area? Thanks, Antonio = Antonio Dell'elce * http://www.dellelce.com/MyHome/ [EMAIL PROTECTED]

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Thomas Kotzian
From: "Helge Hafting" <[EMAIL PROTECTED]> > Partition id's seems more interesting than disk id's - we normally > mount partitions not whole disks. > > RAID do this well - the raid autodetect partition stores an ID in the > last block, > the remaining N-1 blocks are available for a fs. > > This

[PATCH] rootfs (part 1)

2001-05-16 Thread Alexander Viro
Linus, patch is the first chunk of rootfs stuff. I've tried to get it as small as possible - all it does is addition of absolute root on ramfs and necessary changes to mount_root/change_root/sys_pivot_root and follow_dotdot. Real root is mounted atop of the "absolute" one. More

kernel2.2 to kernel2.4!!

2001-05-16 Thread Jalajadevi Ganapathy
Hi , I encounter an unresolved symbol __bad_udelay when i ported a network driver from kernel2.2 to 2.4. Could anyone plz tell me what is the corresponding fxn in 2.4?? Thanks Jalaja - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Hidden interfaces on 2.4.x kernels

2001-05-16 Thread rsaura
Hi all. Several months ago I set up a lvs cluster on smtp servers on 2.2.16 kernels, which now I'm planning to move to 2.4.4. I am using direct routing alternative so I configure a lo:0 interface with the address of the virtualserver on every local node so it can

[PATCH] turn device_init() into an initcall

2001-05-16 Thread Alexander Viro
Damn. /me writes a patch /me tests and finds an obvious typo /me fixes and diffs fixed (and tested) version /me sends the original one. My apologies. Correct patch (taken between clean tree and result of make distclean on the tree that gave a kernel that passes all tests) follows. Please, apply

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Erik Mouw
On Wed, May 16, 2001 at 02:59:30AM +0200, Daniel Phillips wrote: > On Tuesday 15 May 2001 23:20, Nicolas Pitre wrote: > > Personally, I'd really like to see /dev/ttyS0 be the first detected > > serial port on a system, /dev/ttyS1 the second, etc. > > There are well-defined rules for the first

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Helge Hafting
"Chemolli Francesco (USI)" wrote: > > > The argument that "if you use numbering based on where in the > > SCSI chain > > the disk is, disks don't pop in and out" is absolute crap. > > It's not true > > even for SCSI any more (there are devices that will aquire > > their location > >

RE: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Alex Bligh - linux-kernel
> I believe thats why there are persistant superblocks on the RAID > partitions. You can switch them around, and it still knows which drive > holds which RAID partition... That's the only way booting off RAID > works, and the only reason for the "RAID Autodetect" partition type... > you can find

Oops with 2.4.3-XFS

2001-05-16 Thread Matt Bernstein
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, [ I'm not subscribed to linux-xfs, please cc me ] We have managed to get a Debian potato system (with the 2.4 updates from http://people.debian.org/~bunk/debian plus xfs-tools which we imported from woody) to run 2.4.3-XFS. However, in testing

PATCH: wd7000 missing release_region

2001-05-16 Thread Marcus Meissner
Hi, One else case in wd7000.c did not have a release_region(). Ciao, Marcus Index: drivers/scsi/wd7000.c === RCS file: /build/mm/work/repository/linux-mm/drivers/scsi/wd7000.c,v retrieving revision 1.7 diff -u -r1.7 wd7000.c ---

RH 7.1 on IBM xSeries 240

2001-05-16 Thread ps
I'm trying to run Linux RH 7.1 on the rack-mounted IBM xSeries 240 with ServeRAID but without success. I've tried some kernels from 2.2.19-7.0.1smp up to 2.4.3-2.14.14.i686 and 2.4.4. During boot all kernels reported errors (attached at the end). When I try to write to disk (untar 100MB)

PATCH: missing release_region in qlogicfas.c

2001-05-16 Thread Marcus Meissner
Hi, qlogicfas was missing a release_region in autoprobing too. Ciao, Marcus Index: drivers/scsi/qlogicfas.c === RCS file: /build/mm/work/repository/linux-mm/drivers/scsi/qlogicfas.c,v retrieving revision 1.13 diff -u -r1.13

PATCH: NCR53c406 missing release_region

2001-05-16 Thread Marcus Meissner
Hi, There was a missing release_region in NCR53c406a.c, which fscked up probing with 'modprobe NCR53c406' like one mode of our installer does. (Tested by checking the contents of /proc/ioports before and after. After modprobe it contained junk for the probed port range. It no longer does.)

RE: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Chemolli Francesco (USI)
> The argument that "if you use numbering based on where in the > SCSI chain > the disk is, disks don't pop in and out" is absolute crap. > It's not true > even for SCSI any more (there are devices that will aquire > their location > dynamically), and it has never been true anywhere else. Give

Re: LANANA: To Pending Device Number Registrants

2001-05-16 Thread Malcolm Beattie
Alexander Viro writes: > thing, we could turn mount(2) into > open appropriate fs type > convince the sucker that you are allowed, tell which device you want, > etc. > open mountpoint > mount(fs_fd, dir_fd) > Would work like charm, especially since we could fit the network

<    1   2   3   4   5   >