Re: [PATCH] Broken NR_RESERVED_FILES

2000-12-07 Thread Tigran Aivazian
Hi, Another comment on your patch. You removed the goto used_one (probably a good idea, I hated it as well and preferred to put it into the if()) but you forgot to remove the label itself. Regards, Tigran - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: 64bit offsets for block devices ?

2000-12-07 Thread Alan Cox
> Is there any way of getting a standardized way of doing I/O to a block > device which could handle 64bit addresses for the block number? Submit patches early into 2.5 to extend the block range ? > Don't you think that we will run into problems anyway because soon there > will be raid systems

Re: [PATCH] Broken NR_RESERVED_FILES

2000-12-07 Thread Tigran Aivazian
On Thu, 7 Dec 2000, Szabolcs Szakacsits wrote: > Reserved fd's for superuser doesn't work. It does actually work, but remember that the concept of "reserved file structures for superuser" is defined as "file structures to be taken from the freelist" whereas your patch below: > + total_free

Re: [PATCH] New user space serial port driver

2000-12-07 Thread Jamie Lokier
Pavel Machek wrote: > > Please consider including this user space serial driver. It was writen for > > the Pele 833 RAS Server but is also usable for other serial device drivers > > in user space. > > Good, someone finally implemented this. This is going to be mandatory > if we want to support

Re: Microsecond accuracy

2000-12-07 Thread Tigran Aivazian
Hi, How about TSC? I know this has disadvantages such as: a) not all machines have TSC b) not all machines that claim to have TSC have a usable one. c) on SMP the kernel makes a best effort to synchronize TSC but this may or may not be guaranteed d) you still need a userspace implementation

[PATCH] Broken NR_RESERVED_FILES

2000-12-07 Thread Szabolcs Szakacsits
Reserved fd's for superuser doesn't work. Patch for 2.2 is below, kernel 2.4.x also has this problem, fix is similar. The default NR_RESERVED_FILES value also had to be increased (e.g. ssh, login needs 36, ls 16, man 45 fd's, etc). BTW, I have an updated version of my reserved VM for superuser

Microsecond accuracy

2000-12-07 Thread Kotsovinos Vangelis
Is there any way to measure (with microsecond accuracy) the time of a program execution (without using Machine Specific Registers) ? I've already tried getrusage(), times() and clock() but they all have 10 millisecond accuracy, even though they claim to have microsecond acuracy. The only thing

Re: [patch] Re: [patch-2.4.0-test12-pre6] truncate(2) permissions

2000-12-07 Thread Tigran Aivazian
On Thu, 7 Dec 2000, Tigran Aivazian wrote: > a) we don't hit that test because permission takes care of it (for > regulars/dirs/symlinks but here only regulars are important) omit what is in brackets but everything in email and the patch itself are valid and tested. The detail in bracket above

[patch] Re: [patch-2.4.0-test12-pre6] truncate(2) permissions

2000-12-07 Thread Tigran Aivazian
On Wed, 6 Dec 2000, Alexander Viro wrote: > On Wed, 6 Dec 2000, Linus Torvalds wrote: > > Why remove the EROFS test? > > there, so if it's not a regular file we die before the call of permission(), > if it is and fs is readonly - we get -EROFS from permission() and die > there. In either case we

Re: HPT366 + SMP = slight corruption in 2.3.99 - 2.4.0-11

2000-12-07 Thread Gerard Sharp
"[EMAIL PROTECTED]" wrote: > On 2.2.17 I had good luck with BP6. Never tried the 2.2 series with this controller - probably should get around to doing that this weekend. :S > EX: > [root@animal /root]# uptime > 3:17am up 51 days, 20:17, 2 users, load average: 0.00, 0.04, 0.02 Uptime

USB-related lockup in test12-pre5

2000-12-07 Thread David Woodhouse
Haven't tried test12-pre7 yet. Is enabling bus mastering likely to make this magically go away? I doubt it. This happened when trying to run excel under wine. Dual Celeron with CONFIG_USB_UHCI. NMI Watchdog detected LOCKUP on CPU1, registers: CPU:1 EIP:0010:[] Using defaults from

Re: Out of socket memory? (2.4.0-test11)

2000-12-07 Thread Dan Kegel
Daniel Walton ([EMAIL PROTECTED]) wrote: > I've been having a problem with a high volume Linux web server. This > particular web server used to be a FreeBSD machine and I've been trying to > successfully make the switch for some time now. I've been trying the 2.4 > development kernels as they

Re: Out of socket memory? (2.4.0-test11)

2000-12-07 Thread Dan Kegel
Daniel Walton ([EMAIL PROTECTED]) wrote: I've been having a problem with a high volume Linux web server. This particular web server used to be a FreeBSD machine and I've been trying to successfully make the switch for some time now. I've been trying the 2.4 development kernels as they come

USB-related lockup in test12-pre5

2000-12-07 Thread David Woodhouse
Haven't tried test12-pre7 yet. Is enabling bus mastering likely to make this magically go away? I doubt it. This happened when trying to run excel under wine. Dual Celeron with CONFIG_USB_UHCI. NMI Watchdog detected LOCKUP on CPU1, registers: CPU:1 EIP:0010:[c0270c21] Using defaults

Re: HPT366 + SMP = slight corruption in 2.3.99 - 2.4.0-11

2000-12-07 Thread Gerard Sharp
"[EMAIL PROTECTED]" wrote: On 2.2.17 I had good luck with BP6. Never tried the 2.2 series with this controller - probably should get around to doing that this weekend. :S EX: [root@animal /root]# uptime 3:17am up 51 days, 20:17, 2 users, load average: 0.00, 0.04, 0.02 Uptime proves

[patch] Re: [patch-2.4.0-test12-pre6] truncate(2) permissions

2000-12-07 Thread Tigran Aivazian
On Wed, 6 Dec 2000, Alexander Viro wrote: On Wed, 6 Dec 2000, Linus Torvalds wrote: Why remove the EROFS test? there, so if it's not a regular file we die before the call of permission(), if it is and fs is readonly - we get -EROFS from permission() and die there. In either case we don't

Microsecond accuracy

2000-12-07 Thread Kotsovinos Vangelis
Is there any way to measure (with microsecond accuracy) the time of a program execution (without using Machine Specific Registers) ? I've already tried getrusage(), times() and clock() but they all have 10 millisecond accuracy, even though they claim to have microsecond acuracy. The only thing

[PATCH] Broken NR_RESERVED_FILES

2000-12-07 Thread Szabolcs Szakacsits
Reserved fd's for superuser doesn't work. Patch for 2.2 is below, kernel 2.4.x also has this problem, fix is similar. The default NR_RESERVED_FILES value also had to be increased (e.g. ssh, login needs 36, ls 16, man 45 fd's, etc). BTW, I have an updated version of my reserved VM for superuser

Re: Microsecond accuracy

2000-12-07 Thread Tigran Aivazian
Hi, How about TSC? I know this has disadvantages such as: a) not all machines have TSC b) not all machines that claim to have TSC have a usable one. c) on SMP the kernel makes a best effort to synchronize TSC but this may or may not be guaranteed d) you still need a userspace implementation

Re: [PATCH] New user space serial port driver

2000-12-07 Thread Jamie Lokier
Pavel Machek wrote: Please consider including this user space serial driver. It was writen for the Pele 833 RAS Server but is also usable for other serial device drivers in user space. Good, someone finally implemented this. This is going to be mandatory if we want to support winmodems

Re: [PATCH] Broken NR_RESERVED_FILES

2000-12-07 Thread Tigran Aivazian
On Thu, 7 Dec 2000, Szabolcs Szakacsits wrote: Reserved fd's for superuser doesn't work. It does actually work, but remember that the concept of "reserved file structures for superuser" is defined as "file structures to be taken from the freelist" whereas your patch below: + total_free =

Re: [PATCH] Broken NR_RESERVED_FILES

2000-12-07 Thread Tigran Aivazian
Hi, Another comment on your patch. You removed the goto used_one (probably a good idea, I hated it as well and preferred to put it into the if()) but you forgot to remove the label itself. Regards, Tigran - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: 64bit offsets for block devices ?

2000-12-07 Thread Alan Cox
Is there any way of getting a standardized way of doing I/O to a block device which could handle 64bit addresses for the block number? Submit patches early into 2.5 to extend the block range ? Don't you think that we will run into problems anyway because soon there will be raid systems with

Re: [patch] Re: [patch-2.4.0-test12-pre6] truncate(2) permissions

2000-12-07 Thread Alexander Viro
On Thu, 7 Dec 2000, Tigran Aivazian wrote: The rationale for being compatible with 4.4BSD on append-only but not on immutable is -- for immutable we can do the test by means of permission() fast but for append-only we would need an extra if() above permission so let's just be

Re: 2.4.0-test12-pre4 + cs46xx + KDE 2.0 = frozen system

2000-12-07 Thread Alan Cox
I copied the cs46xx.c driver from 2.4.0-test11 to 2.4.0-test11-ac1, rebuilt, and I got a test11-ac1 kernel which works with KDE 2.0 and sound. Excellent, that really narrows it down. Once 2.2.18 is out I will try and get to the bottom of this - To unsubscribe from this list: send the line

Re: [PATCH] Broken NR_RESERVED_FILES

2000-12-07 Thread Szabolcs Szakacsits
On Thu, 7 Dec 2000, Tigran Aivazian wrote: On Thu, 7 Dec 2000, Szabolcs Szakacsits wrote: Reserved fd's for superuser doesn't work. It does actually work, What do you mean under "work"? I meant user apps are able to exhaust fd's completely and none is left for superuser. but remember that

Re: YMF PCI - thanks, glitches, patches (fwd)

2000-12-07 Thread Alan Cox
The Linux-sound list appears to be dead (I don't see my message in http://www.kernelnotes.org/lnxlists/linux-sound/), so I'm sending to the [EMAIL PROTECTED] is alive and well however. An additional problem is that opl3 cannot find the device unless I load and unload the old driver

Re: [patch] Re: [patch-2.4.0-test12-pre6] truncate(2) permissions

2000-12-07 Thread Tigran Aivazian
On Thu, 7 Dec 2000, Alexander Viro wrote: So correct solution may very well be to change the return value of permission(9). FWIW, MAY_TRUNCATE might be a good idea - notice that knfsd already has something like that. It makes sense for directories, BTW - having may_delete() drop the

64 bit s390 and 2.4.0-test11 (was Memory management bug)

2000-12-07 Thread schwidefsky
Hi, good news (at least for us): linux on the 64 bit S/390 (aka zServer) is now running pretty stable. Our implementation of ptep_get_and_clear didn't clear the pte if the invalid bit was already set. But a swapped page has the invalid bit set too and in that case we didn't clear the pte. That

Re: [PATCH] Broken NR_RESERVED_FILES

2000-12-07 Thread Tigran Aivazian
On Thu, 7 Dec 2000, Szabolcs Szakacsits wrote: On Thu, 7 Dec 2000, Tigran Aivazian wrote: On Thu, 7 Dec 2000, Szabolcs Szakacsits wrote: Reserved fd's for superuser doesn't work. It does actually work, What do you mean under "work"? I meant user apps are able to exhaust fd's

Re: Out of socket memory? (2.4.0-test11)

2000-12-07 Thread Andi Kleen
On Wed, Dec 06, 2000 at 10:56:32PM -0600, Daniel Walton wrote: Hello, I've been having a problem with a high volume Linux web server. This particular web server used to be a FreeBSD machine and I've been trying to successfully make the switch for some time now. I've been trying the

Re: D-LINK DFE-530-TX

2000-12-07 Thread James Bourne
On Wed, 6 Dec 2000, Mike A. Harris wrote: Which ethernet module works with this card? 2.2.17 kernel Should be the rtl8139 driver. Regards, Jim -- Mike A. Harris - Linux advocate - Open source advocate

Re: [RFC-2] Configuring Synchronous Interfaces in Linux

2000-12-07 Thread Alan Cox
I think we need few ioctl calls: get + set media (int argument), get + set speed (probably two - RX and TX), etc. In my 2.4 HDLC stuff - to be published :-( - there something like that (in private ioctl range, of course). I think we are agreeing I'm saying use something like

Re: Microsecond accuracy

2000-12-07 Thread Tigran Aivazian
On Thu, 7 Dec 2000, Tigran Aivazian wrote: Hi, How about TSC? I know this has disadvantages such as: a) not all machines have TSC while we are on this subject, please let me emphasize that you should _not_ be using cpuid instruction to detect the presence of TSC but should parse the

Re: [RFC-2] Configuring Synchronous Interfaces in Linux

2000-12-07 Thread Jeff Garzik
Alan Cox wrote: I think we need few ioctl calls: get + set media (int argument), get + set speed (probably two - RX and TX), etc. In my 2.4 HDLC stuff - to be published :-( - there something like that (in private ioctl range, of course). I think we are agreeing I'm saying use

2.2.18pre24 ooops

2000-12-07 Thread Gbor Lnrt
Hi, Running both of 2.2.18pre21 and pre24 casues this ooops with mpegp when it tries to produce sound (with -nosound option, it's okey). mpegp is out mpeg player based on libac3,libmpeg2,mpg123,libvo. It can be found at ftp://esp-team.scene.hu/esp-team/linux/MPlayer/ Problem occured when I

Re: 2.4.0-test12-pre4 + cs46xx + KDE 2.0 = frozen system

2000-12-07 Thread Steven Cole
On Thursday 07 December 2000 06:28, Alan Cox wrote: I copied the cs46xx.c driver from 2.4.0-test11 to 2.4.0-test11-ac1, rebuilt, and I got a test11-ac1 kernel which works with KDE 2.0 and sound. Excellent, that really narrows it down. Once 2.2.18 is out I will try and get to the bottom

Re: [RFC-2] Configuring Synchronous Interfaces in Linux

2000-12-07 Thread Alan Cox
struct hdlc_protocol struct fr_protocol struct eth_physical Not yet another one for eth... We now have ethtool for this. And a generic netdevice::set_config wrapper can be created that simply calls the ethtool

related to pthread

2000-12-07 Thread Rajiv Majumdar
Hi I am trying to write a multithreaded tcp/ip daemon using the pthread interface. The server compiles well but during an exec it gives the following error message : "Pthread internal error : message : __libc__reinit() failed" and creates a core dump. I would highly appreciate any help.

Re: [patch] Re: [patch-2.4.0-test12-pre6] truncate(2) permissions

2000-12-07 Thread Tigran Aivazian
On Thu, 7 Dec 2000, Alexander Viro wrote: On Thu, 7 Dec 2000, Tigran Aivazian wrote: The rationale for being compatible with 4.4BSD on append-only but not on immutable is -- for immutable we can do the test by means of permission() fast but for append-only we would need an extra if()

related to pthread

2000-12-07 Thread Rajiv Majumdar
Hi I am trying to write a multithreaded tcp/ip daemon using the pthread interface. The server compiles well but during an exec it gives the following error message : "Pthread internal error : message : __libc__reinit() failed" and creates a core dump. I would highly appreciate any help.

Re: 2.4.0-test12-pre7

2000-12-07 Thread Russell King
Linus Torvalds writes: - me: UHCI drivers really need to enable bus mastering. But it'll already be turned on if pci_assign_unassigned_resources() is called. This calls pdev_enable_device for every single device, which turns on the bus master bit in the PCI command register. Is it

getcwd() returning -ENOENT???

2000-12-07 Thread Russell King
Hi, Can someone explain why I'm seeing the following on test12-pre7: bash# /bin/pwd /bin/pwd: cannot get current directory: No such file or directory bash# vdir /proc/self/. ... lrwxrwxrwx1 root root 0 Dec 7 14:52 cwd - /net/raistlin/raistlin-v2.4/linux-ebsa285 (deleted) ...

Re: [patch] Re: [patch-2.4.0-test12-pre6] truncate(2) permissions

2000-12-07 Thread Alexander Viro
On Thu, 7 Dec 2000, Tigran Aivazian wrote: yet. So far you only said that a different implementation, i.e. a different place to put the checks, is preferrable. -EPERM returned by permission() if we ask for write access to immutable. Al, currently walking through the /usr/share/man/man2 and

Re: The horrible hack from hell called A20

2000-12-07 Thread Andrew Morton
Linus Torvalds wrote: On Wed, 6 Dec 2000, Miles Lane wrote: Here is what goes wrong: Dec 6 04:21:32 agate kernel: eth0: Host error, FIFO diagnostic register . But it continues to work, right? I bet that your ethernet card is just unhappy that it couldn't get DMA in time,

Re: getcwd() returning -ENOENT???

2000-12-07 Thread Alexander Viro
On Thu, 7 Dec 2000, Russell King wrote: Hi, Can someone explain why I'm seeing the following on test12-pre7: bash# /bin/pwd /bin/pwd: cannot get current directory: No such file or directory Directory is unhashed. Normally it means that sucker had been deleted. bash# vdir

Re: Microsecond accuracy

2000-12-07 Thread H. Peter Anvin
Followup to: [EMAIL PROTECTED] By author:Tigran Aivazian [EMAIL PROTECTED] In newsgroup: linux.dev.kernel while we are on this subject, please let me emphasize that you should _not_ be using cpuid instruction to detect the presence of TSC but should parse the /proc/cpuinfo file. There

Re: [PATCH] Broken NR_RESERVED_FILES

2000-12-07 Thread Tigran Aivazian
On Thu, 7 Dec 2000, Szabolcs Szakacsits wrote: again. The failed logic is also clear from the kernel code [user happily allocates when freelist NR_RESERVED_FILES]. is it clear to you? it is not clear to me, or rather the opposite seems clear. This is what the code looks like (in 2.4): struct

attempt to access beyond end of device

2000-12-07 Thread Jan Niehusmann
ll_rw_blk.c: generic_make_request() contains the following code: if (maxsector count || maxsector - count sector) { bh-b_state = (1 BH_Lock) | (1 BH_Mapped); if (blk_size[major][MINOR(bh-b_rdev)]) { /* This may well happen - the kernel calls bread()

Re: [PATCH] Broken NR_RESERVED_FILES

2000-12-07 Thread Szabolcs Szakacsits
On Thu, 7 Dec 2000, Tigran Aivazian wrote: On Thu, 7 Dec 2000, Szabolcs Szakacsits wrote: again. The failed logic is also clear from the kernel code [user happily allocates when freelist NR_RESERVED_FILES]. is it clear to you? it is not clear to me, or rather the opposite seems clear.

[Fwd: 2.4.0-test12-pre7]

2000-12-07 Thread Randy Dunlap
From: Russell King [mailto:[EMAIL PROTECTED]] Linus Torvalds writes: - me: UHCI drivers really need to enable bus mastering. But it'll already be turned on if pci_assign_unassigned_resources() is called. This calls pdev_enable_device for every single device, which turns on the bus

Re: [patch] Re: [patch-2.4.0-test12-pre6] truncate(2) permissions

2000-12-07 Thread Andries Brouwer
On Thu, Dec 07, 2000 at 08:23:59AM -0500, Alexander Viro wrote: looking at the truncate(2) manpage Oh, lovely - where the hell had the following come from? % man truncate ... EINVAL The pathname contains a character with the high- order bit set. ... Andries, would

Why is double_fault serviced by a trap gate?

2000-12-07 Thread richardj_moore
Why is double_fault serviced by a trap gate? The problem with this is that any double-fault caused by a stack-fault, which is the usual reason, becomes a triple-fault. And a triple-fault results in a processor reset or shutdown making the fault damn near impossible to get any information on.

Re: [PATCH] Broken NR_RESERVED_FILES

2000-12-07 Thread Tigran Aivazian
On Thu, 7 Dec 2000, Szabolcs Szakacsits wrote: Read the whole get_empty_filp function, especially this part, note the goto new_one below and the part you didn't include above [from the new_one label], if (files_stat.nr_files files_stat.max_files) {

Re: Microsecond accuracy

2000-12-07 Thread Maciej W. Rozycki
On 7 Dec 2000, H. Peter Anvin wrote: Unfortunately the most important instance of the in-kernel flag -- the global one in the somewhat misnamed boot_cpu_data.x86_features -- isn't actually readable in the /proc/cpuinfo file. It is perfectly possible (e.g. the "notsc" option) for ALL the

Re: Why is double_fault serviced by a trap gate?

2000-12-07 Thread Andi Kleen
On Thu, Dec 07, 2000 at 04:04:21PM +, [EMAIL PROTECTED] wrote: Why is double_fault serviced by a trap gate? The problem with this is that any double-fault caused by a stack-fault, which is the usual reason, becomes a triple-fault. And a triple-fault results in a processor reset or

Re: [patch] Re: [patch-2.4.0-test12-pre6] truncate(2) permissions

2000-12-07 Thread Andries Brouwer
On Thu, Dec 07, 2000 at 10:24:31AM -0500, Alexander Viro wrote: Al, currently walking through the /usr/share/man/man2 and swearing silently... Swearing? At the POSIX decisions or at the man page quality? In the latter case, additions and corrections are very welcome. Make sure that you have

alpha pci fixes (test12-pre7)

2000-12-07 Thread Ivan Kokshaysky
This should fix at least some of the boot problems reported recently. - boot failure on Miata with 1Gb of memory, fixed by Jay Estabrook. Address written to the Translated Base Registers of CIA/Pyxis must be shifted by 2. - fix oops on DP264 caused by Cypress quirk. We cannot call

java (and possibly other threaded apps) hanging in rt_sigsuspend

2000-12-07 Thread Frank de Lange
Hi Ulrich, I saw your remarks on the kernel mailing list wrt. 'threaded processes get stuck in rt_sigsuspend/fillonedir/exit_notify' dd. 2911-12, and thought you might be interested in the fact that something quite like this also happens on 2.4.0-test11 with glibc-2.2 (release), BUT NOT

Re: [Fwd: 2.4.0-test12-pre7]

2000-12-07 Thread Alan Cox
I think that Linus's patch is correct and that pci/setup_res.c::pdev_enable_device() shouldn't be doing this: /* ??? Always turn on bus mastering. If the device doesn't support it, the bit will go into the bucket. */ cmd |= PCI_COMMAND_MASTER; First, the ??? makes

Re: Why is double_fault serviced by a trap gate?

2000-12-07 Thread Richard B. Johnson
On Thu, 7 Dec 2000, Andi Kleen wrote: On Thu, Dec 07, 2000 at 04:04:21PM +, [EMAIL PROTECTED] wrote: Why is double_fault serviced by a trap gate? The problem with this is that any double-fault caused by a stack-fault, which is the usual reason, becomes a triple-fault. And a

Re: [PATCH] Broken NR_RESERVED_FILES

2000-12-07 Thread Szabolcs Szakacsits
On Thu, 7 Dec 2000, Tigran Aivazian wrote: On Thu, 7 Dec 2000, Szabolcs Szakacsits wrote: Read the whole get_empty_filp function, especially this part, note the goto new_one below and the part you didn't include above [from the new_one label], if (files_stat.nr_files

bug: merge_segments vs. lock_vma_mappings?

2000-12-07 Thread Ulrich . Weigand
Hello, since test11, the merge_segments() routine assumes that every VMA that it frees has been locked with lock_vma_mappings(). While most callers have been adapted to perform this locking, at least two, do_mlock and sys_mprotect, do *not* currently. This causes a deadlock in certain

Re: attempt to access beyond end of device

2000-12-07 Thread Andries Brouwer
On Thu, Dec 07, 2000 at 04:56:59PM +0100, Jan Niehusmann wrote: ll_rw_blk.c: generic_make_request() contains the following code: if (maxsector count || maxsector - count sector) { bh-b_state = (1 BH_Lock) | (1 BH_Mapped); if (blk_size[major][MINOR(bh-b_rdev)]) {

Re: D-LINK DFE-530-TX

2000-12-07 Thread Alan Cox
Should be the rtl8139 driver. AFAIK, it uses the via-rhine driver. The DFE-538TX is rtl8139 based. Mike, if you have problems, search list archives: a few people (including me) reported problems under load. I've never solved them. 2.2.18pre24 has the 8139too driver that Jeff Garzik built

Re: 64bit offsets for block devices ?

2000-12-07 Thread Stephen C. Tweedie
Hi, On Wed, Dec 06, 2000 at 06:50:15AM -0800, Reto Baettig wrote: Imagine we have a virtual disk which provides a 64bit (sparse) address room. Unfortunately we can not use it as a block device because in a lot of places (including buffer_head structure), we're using a long or even an int

Re: YMF PCI - thanks, glitches, patches (fwd)

2000-12-07 Thread Alan Cox
So, it's not just a matter of changing the constants under "case SNDCTL_DSP_SPEED" in ymf_ioctl()? Actually, I hacked them to be 4000rate5 and it worked fine, but I'll drop this part of my patch if you believe it's unsafe. I'd keep it in the absence of other evidence. 8KHz is normally

Re: D-LINK DFE-530-TX

2000-12-07 Thread James Bourne
On Thu, 7 Dec 2000, Alan Cox wrote: Should be the rtl8139 driver. AFAIK, it uses the via-rhine driver. The DFE-538TX is rtl8139 based. Mike, if you have problems, search list archives: a few people (including me) reported problems under load. I've never solved them. 2.2.18pre24 has

Re: D-LINK DFE-530-TX

2000-12-07 Thread Marco Colombo
On Thu, 7 Dec 2000, Alan Cox wrote: Should be the rtl8139 driver. AFAIK, it uses the via-rhine driver. The DFE-538TX is rtl8139 based. Mike, if you have problems, search list archives: a few people (including me) reported problems under load. I've never solved them. 2.2.18pre24

Re: D-LINK DFE-530-TX

2000-12-07 Thread Marco Colombo
On Thu, 7 Dec 2000, James Bourne wrote: On Thu, 7 Dec 2000, Alan Cox wrote: Should be the rtl8139 driver. AFAIK, it uses the via-rhine driver. The DFE-538TX is rtl8139 based. Mike, if you have problems, search list archives: a few people (including me) reported problems under

[patch-2.2.18-pre24] microcode driver fixes

2000-12-07 Thread Tigran Aivazian
Hi Alan, I have looked at the state of microcode driver in 2.2.18-pre24 and found that it needs a lot of changes -- a bugfix for the case when BIOS did not update, fix to work correctly on Pentium 4 and lots of cleanups which are in 2.4 but not in 2.2. Tested under 2.2.18-pre24. Please consider

[whitevampire@MINDLESS.COM: Naptha - New DoS]

2000-12-07 Thread Rodrigo Barbosa (aka morcego)
I'm just forwarding it. I know nothing about it. I don't know how it works. I don't know how to protect agains it. I don't know what is a Kernel. I don't know what is Linux. I don't know what is e-mail. Who am I ? Where am I ? What are all those green dots in the sky ? A :-) Anyway,

Re: D-LINK DFE-530-TX

2000-12-07 Thread James Bourne
On Thu, 7 Dec 2000, Marco Colombo wrote: On Thu, 7 Dec 2000, James Bourne wrote: The DFE-530TX is the viacom chipset, but the DFE530TX+ (Which I guess replaces the 538 as that is no longer listed on the Dlink site) is an rtl8139 chip. You mean that D-Link made a card named DFE530TX VIA

Re: Microsecond accuracy

2000-12-07 Thread Christopher Friesen
Kotsovinos Vangelis wrote: Is there any way to measure (with microsecond accuracy) the time of a program execution (without using Machine Specific Registers) ? I've already tried getrusage(), times() and clock() but they all have 10 millisecond accuracy, even though they claim to have

Re: [whitevampire@MINDLESS.COM: Naptha - New DoS]

2000-12-07 Thread Alan Cox
Unaffected operating systems: * OpenBSD seems to be unaffected * Windows 2000 seems to be unaffected Someone isnt trying hard enough ;) Linux 2.4 is designed to handle some of these issues, but you need to address aspects of this in applications, protocols and elsewhere. Its basically no

Re: attempt to access beyond end of device

2000-12-07 Thread John Kennedy
On Thu, Dec 07, 2000 at 05:34:28PM +0100, Andries Brouwer wrote: On Thu, Dec 07, 2000 at 04:56:59PM +0100, Jan Niehusmann wrote: That means that if blk_size[major][MINOR(bh-b_rdev)] == 0, the request is canceled but no message is printed. Shouldn't there be a warning message? Maybe that

Re: [Fwd: lost need_resched flag re-introduced?]

2000-12-07 Thread kuznet
Hello! A while back I reported the lost need_resched flag bug ( it happens if need_resched is set right before switch_to() is called). Later on a one-line fix is added to __schedule_tail(). current-need_resched |= prev-need_resched; I looked at the latest kernel and

Re: Why is double_fault serviced by a trap gate?

2000-12-07 Thread Maciej W. Rozycki
On Thu, 7 Dec 2000, Andi Kleen wrote: Why is double_fault serviced by a trap gate? The problem with this is that any double-fault caused by a stack-fault, which is the usual reason, becomes a triple-fault. And a triple-fault results in a processor reset or shutdown making the fault damn

40Gig IDE disk wrapping around at 32Gig?

2000-12-07 Thread Stephen Williams
During an install of RedHat 6.1 onto a Dell Dimension L600cx, I partitioned the internal 40gig disk to include 4 partitions. I initially let the disk druid do it, but it rendered the partition table unreadable. So I used fdisk and partitioned it with primary partitions like so: (sectors = 255,

New CD-R high capacity drive specs are coming. (fwd)

2000-12-07 Thread M Sweger
Hi, See the article below. I just read that the specs are out for three different types of CD-R drives in terms of disk capacity and speeds from Constellation 3D,and it is heading towards manufacturing. It's great for movies and coporate archiving, but was degraded for the consumer market

Re: 2.4.0-test12-pre7

2000-12-07 Thread Linus Torvalds
On Thu, 7 Dec 2000, Russell King wrote: Is it intentional that pci_assign_unassigned_resources should: 1. enable all devices? 2. enable bus master on all devices? Probably intentional, but probably for all the wrong reasons. The device enabling is still required for all drivers that

Re: linux-2.4.0-test11 and sysklogd-1.3-31

2000-12-07 Thread Georg Nikodym
"KO" == Keith Owens [EMAIL PROTECTED] writes: KO I would prefer to see the oops decoding completely removed from KO klogd. The only justification for klogd converting the oops is KO to save users from running ksymoops by hand. I would not mind KO klogd capturing the oops text, forking to

2.4.0-test9 Root no longer permitted to format floppies?

2000-12-07 Thread Richard B. Johnson
Script started on Thu Dec 7 11:44:01 2000 # fdformat /dev/fd0h1440 Double-sided, 80 tracks, 18 sec/track. Total capacity 1440 kB. Formatting ... ioctl(FDFMTBEG): Operation not permitted # exit exit Script done on Thu Dec 7 11:44:42 2000 Who do you have to be in order to format floppy drives?

Re: 2.4.0-test9 Root no longer permitted to format floppies?

2000-12-07 Thread Tigran Aivazian
there was an issue with floppy ioctls and permission checks in block device -open routine recently. Just use test12-pre7 or other sufficiently recent kernel and it will work. If you _do_ want to know what's going on -- look for the thread where I reported that floppies can't me mounted readonly,

Re: Why is double_fault serviced by a trap gate?

2000-12-07 Thread Andi Kleen
On Thu, Dec 07, 2000 at 05:55:07PM +0100, Maciej W. Rozycki wrote: The NMI should be left alone, though, I think as we want it to be fast for the NMI watchdog. Task gates are not necessarily fast (depending on how you define "fast"). How often does the NMI watchdog handler run ? -Andi -

Re: New CD-R high capacity drive specs are coming. (fwd)

2000-12-07 Thread Andre Hedrick
Why bother, Calimetrics has a native driver solution that does a modulation on the beam power of the laser that will triple or quadruple the current media densities with out getting new media or new drives. Just so you know that all of these new drive specs that claim to be coming, I have more

Re: Why is double_fault serviced by a trap gate?

2000-12-07 Thread Maciej W. Rozycki
On Thu, 7 Dec 2000, Petr Vandrovec wrote: No. If interrupt uses task gate, task switch happens. Nothing is stored in context of old process except registers into TSS. There is only one (bad) problem. If you want to get it 100% proof (it is not needed for double fault, but it is definitely

Re: Out of socket memory? (2.4.0-test11)

2000-12-07 Thread kuznet
Hello! What am I doing wrong? You change parameters without investigating why failure happened. This approach cannot succeed, of course. problem? Is there any way I can get runtime information from the kernel on things like amount of socket memory used and amount available? cat

bug in scsi.c

2000-12-07 Thread Andreas Klein
hello, I have found a problem in scsi.c which in present in the 2.2 and 2.4 series. the scsi error handler thread is created with: kernel_thread((int (*)(void *)) scsi_error_handler, (void *) shpnt, 0); This will lead to problems, when you have to umount the

Re: 40Gig IDE disk wrapping around at 32Gig?

2000-12-07 Thread Stephen Williams
[EMAIL PROTECTED] said: My understanding is that the part you're accessing, above 33.6 gig, wraps around the int or whatever they use(i'm not a programmer, and i'm not going to think about what it'd actually be grin) 2.2.17 solves the problem. The 2.2.12 kernel definitely goes berserk when

kernel oops: test12-pre7, xmms, emu10k

2000-12-07 Thread J Sloan
Greetings, 2.4.0-test12-preXX has been pretty stable here on a K6/2-450 running ipchains and various net services in addition to workstation use. I went to bed last night while others were listening to xmms on my workstation while working in the room. This morning I found that xmms was frozen,

Re: Why is double_fault serviced by a trap gate?

2000-12-07 Thread Maciej W. Rozycki
On Thu, 7 Dec 2000, Andi Kleen wrote: How often does the NMI watchdog handler run ? HZ times per second. -- + Maciej W. Rozycki, Technical University of Gdansk, Poland + +--+ +e-mail: [EMAIL PROTECTED], PGP key

Re: PCI irq routing..

2000-12-07 Thread Martin Diehl
On Wed, 6 Dec 2000, Linus Torvalds wrote: On Wed, 6 Dec 2000, Martin Diehl wrote: [Cardbus config space lost after APM suspend/resume] Can you remind me in a day or two if I haven't gotten back to you? I don't have any machines that need this, but I've seen ones that do, and if you're

Re: PCI irq routing..

2000-12-07 Thread Linus Torvalds
On Thu, 7 Dec 2000, Martin Diehl wrote: btw, I'm thinking I could guess the routing from the VLSI config space, but I don't have any doc's. Would it be worth to try to add some specific get/set methods for this device? What about testers (or people who have access to the docs)? Please

Re: 2.4.0-test9 Root no longer permitted to format floppies?

2000-12-07 Thread Richard B. Johnson
On Thu, 7 Dec 2000, Tigran Aivazian wrote: there was an issue with floppy ioctls and permission checks in block device -open routine recently. Just use test12-pre7 or other sufficiently recent kernel and it will work. If you _do_ want to know what's going on -- look for the thread where I

Re: USB-related lockup in test12-pre5

2000-12-07 Thread Johannes Erdfelt
On Thu, Dec 07, 2000, David Woodhouse [EMAIL PROTECTED] wrote: Haven't tried test12-pre7 yet. Is enabling bus mastering likely to make this magically go away? I doubt it. Probably not. Enabling bus mastering is the difference between USB working at all (transfering data to the device) and not

Re: Why is double_fault serviced by a trap gate?

2000-12-07 Thread Maciej W. Rozycki
On Thu, 7 Dec 2000, Andi Kleen wrote: Interesting. One of my ports references for PCs lists 0044r/w PIT counter 3 (PS/2, EISA) used as fail-safe timer. generates an NMI on time out. for user generated NMI see at 0462. Oh no, we don't use that.

Re: [Fwd: lost need_resched flag re-introduced?]

2000-12-07 Thread Jun Sun
[EMAIL PROTECTED] wrote: Hello! A while back I reported the lost need_resched flag bug ( it happens if need_resched is set right before switch_to() is called). Later on a one-line fix is added to __schedule_tail(). current-need_resched |= prev-need_resched; I

Re: [Fwd: lost need_resched flag re-introduced?]

2000-12-07 Thread kuznet
Hello! I think wake_up_process() is called in interrupt routine quite often and it will set need_resched flag (through reschedule_idle()). ??? It sets _right_ flag cpu_curr(this_cpu)-need_resched, rather than current-need_resched. happening. Ether some new code takes care of it. Or it

Re: 2.4.0-test12-pre7

2000-12-07 Thread Kai Germaschewski
On Thu, 7 Dec 2000, Russell King wrote: Linus Torvalds writes: - me: UHCI drivers really need to enable bus mastering. But it'll already be turned on if pci_assign_unassigned_resources() is called. This calls pdev_enable_device for every single device, which turns on the bus master

<    1   2   3   4   5   >