Re: Universal debug macros.

2000-11-27 Thread Rogier Wolff
Elmer Joandi wrote: > > > On Mon, 27 Nov 2000, Rogier Wolff wrote: > > > Now, how is say "Red Hat" (*) going to ship kernels? Of course they are > > going to turn off debugging. Then I'll be stuck with a non-recompiling > > user-in-trouble with a non-debugging-enabled kernel. > > Red Hat will

Re: [PATCH] removal of "static foo = 0"

2000-11-27 Thread Werner Almesberger
Adam J. Richter wrote: > At the moment, I have started daydreaming about instead > writing an "elf squeezer" to do this and other space optimizations > by modifying objdump. Hmm, this would require that gcc never calculates the location of an explicitly initialized static variable based on

eth0: trigger_send() called with the transmitter busy.

2000-11-27 Thread Juan
Hi! This error ocurrs when "named" is executed. It exists since 2.4.0-test10preX or so. I'm using RedHat 7.0 and my ethernet card is a "Kingston EtheRx KNE20 Plug and Play ISA Adapter". I'm unable to access the Internet because the ethernet card doesn't work :-(. Besides, the card uses two inter

Re: reproducible 2.2.1x nethangs

2000-11-27 Thread Clayton Weaver
(from layer above device driver, imho) The fact that the http hang does not happen when connecting to the httpd server from an http client running on the same host as the server implicates the ethernet interface, but I would be shocked to find that the cause is a bug in specifically the tulip dri

Re: [PATCH] removal of "static foo = 0"

2000-11-27 Thread Helge Hafting
Andries Brouwer wrote: > > On Sun, Nov 26, 2000 at 09:11:18AM +1100, Herbert Xu wrote: > > > No information is lost. > > Do I explain things so badly? Let me try again. > The difference between > > static int a; > > and > > static int a = 0; > > is the " = 0". The compiler may well gene

Re: setting up pppd dial-in on linux

2000-11-27 Thread Raivis Bucis
From: "Jeff V. Merkey" <[EMAIL PROTECTED]> Sent: Saturday, November 25, 2000 9:10 PM : On Fri, Nov 24, 2000 at 11:48:06PM -0800, J Sloan wrote: : > "Jeff V. Merkey" wrote: : > : > > Anyone out there a whiz at setting up a pppd dialin server? I am : > > trying to put together an RPM for pppd dia

Re: number of open fds?

2000-11-27 Thread Tigran Aivazian
never mind this question: a) I found count_open_files() b) for what I needed it for, close_files() is easily enhanceable to return this number as well, without having to walk the sets twice Regards, Tigran On Sun, 26 Nov 2000, Tigran Aivazian wrote: > Hi, > > The kernel/exit.c:put_files_s

[patch-2.4.0-test11] free_uid() optimization

2000-11-27 Thread Tigran Aivazian
Hi Alan, Instead of having SMP-specific code and doing a sequence of (on SMP): test if count is 0 take a spinlock test if count is still 0 we could make use of the atomic primitive atomic_dec_and_lock() and do it in one go, which is cleaner, imho. Regards, Tigran --- linux.kernel/user.c Mo

Re: Multi-Chanel ATA, was: Re: ATA-4, ATA-5 TCQ status

2000-11-27 Thread Uwe Bonnes
Hallo, the 3Ware Controllers have up to 8 channels. However I think you can only use one drive per chanel. Bye Uwe Bonnes[EMAIL PROTECTED] Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt - Tel. 06151 162516 Fax. 06151 164321 -- - To un

Re: asm-ppc/elf.h error

2000-11-27 Thread Franz Sirl
At 22:07 24.11.00, David Riley wrote: >In asm-ppc/elf.h, is not included. This breaks >compilations of anything that compiles it (e.g. binutils) because the >vector registers for Altivec aren't defined elsewhere. Included is a >quick diff. I didn't know which PPC maintainer to send this to, so

Re: access() says EROFS even for device files if /dev is mounted RO

2000-11-27 Thread Andries Brouwer
On Sun, Nov 26, 2000 at 11:35:22PM -0400, Peter Cordes wrote: > While doing some hdparm hacking, after booting with init=/bin/sh, I noticed > that open(1) doesn't work when / is mounted read only. Already long ago open(1) was renamed to openvt(1), so it may be that have a very old version. See

Re: Kernel Oops on locking sockets via fcntl()

2000-11-27 Thread Igor Yu. Zhbanov
On Fri, 24 Nov 2000, Andi Kleen wrote: > On Fri, Nov 24, 2000 at 04:32:26PM +0300, Igor Yu. Zhbanov wrote: > > Hello! > > > > One fine day accidentally I have opened an Xserver's socket placed in /tmp > > with my favourite text editor "le". I have got a message from the kernel similar > > to thi

OOps in exec_usermodehelper

2000-11-27 Thread Petr Vandrovec
Hi, I have one small problem with 2.4.0-test11 and exec_usermodehelper. When vmware modules shutdown (specifically vmnet-netifup), kernel tries to load some module through call_usermodehelper, but unfortunately from task which has current->files == NULL. So it prints message: waitpid(19457

Re: Kernel Oops on locking sockets via fcntl()

2000-11-27 Thread Andi Kleen
On Mon, Nov 27, 2000 at 03:59:05PM +0300, Igor Yu. Zhbanov wrote: > On Fri, 24 Nov 2000, Andi Kleen wrote: > > > On Fri, Nov 24, 2000 at 04:32:26PM +0300, Igor Yu. Zhbanov wrote: > > > Hello! > > > > > > One fine day accidentally I have opened an Xserver's socket placed in /tmp > > > with my fav

Re: Kernel bits

2000-11-27 Thread Chad Schwartz
int main(void) { printf("Size of an unsigned long is %d bytes\n",sizeof(unsigned long)); return(0); } That simple program will tell you that an unsigned long is 4 bytes, or 8 bytes. It is then a safe assumption - that if you get back '8', that you're running a 64bit kernel, on a

Re: Kernel bits

2000-11-27 Thread Keith Owens
On Mon, 27 Nov 2000 07:36:22 -0600 (CST), Chad Schwartz <[EMAIL PROTECTED]> wrote: >int main(void) { > printf("Size of an unsigned long is %d bytes\n",sizeof(unsigned long)); > return(0); >} > >That simple program will tell you that an unsigned long is 4 bytes, or 8 >bytes. > >It is t

Re: CDROMPLAYTRKIND causes an oops on aic7xxx

2000-11-27 Thread Brian Gerst
Jens Axboe wrote: > > On Sun, Nov 26 2000, Brian Gerst wrote: > > I get an oops from aic7xxx_buildscb() when CDROMPLAYTRKIND is used. > > I've tracked it down to sr_audio_ioctl() using SCSI_DATA_NONE for the > > direction of the command, which gets changed to PCI_DMA_NONE, which then > > triggers

Re: How to transfer memory from PCI memory directly to user space safely and portable?

2000-11-27 Thread Richard B. Johnson
On Sun, 26 Nov 2000, Anders Torger wrote: > > I'm writing a sound card driver where I need to transfer memory from the card > to user space using the CPU. Ideally I'd like to do that without needing to > have an intermediate buffer in kernel memory. I have implemented the copy > functions lik

[PATCH] Removal of gratiutous panic()

2000-11-27 Thread David Woodhouse
Index: kernel/module.c === RCS file: /inst/cvs/linux/kernel/module.c,v retrieving revision 1.1.1.1.2.11 diff -u -r1.1.1.1.2.11 module.c --- kernel/module.c 2000/11/10 14:56:37 1.1.1.1.2.11 +++ kernel/module.c 2000/11/27 13

Re: Kernel bits

2000-11-27 Thread Richard B. Johnson
On Mon, 27 Nov 2000, Chad Schwartz wrote: > int main(void) { > printf("Size of an unsigned long is %d bytes\n",sizeof(unsigned long)); > return(0); > } > > That simple program will tell you that an unsigned long is 4 bytes, or 8 > bytes. > > It is then a safe assumption - that if yo

Re: KERNEL BUG: console not working in linux

2000-11-27 Thread Gianluca Anzolin
Problem solved I had to bypass the following instructions in arch/i386/boot/setup.S # # You must preserve the other bits here. Otherwise embarrasing # things # like laptops powering off on boot happen. Corrected version by # Kira # Brown from Linux 2.2 # inb

Re: Kernel bits

2000-11-27 Thread Chad Schwartz
> No, that only tells you the size of a long under the compiler you used. > If you are on an Intel IA64 (64 bit kernel) but you compile with gcc > for ix86 (32 bit userspace) then sizeof(long) is 4. IA64 runs both > native and ix86 code, sizeof(any userspace field) tells you nothing > about the k

[Oops] apic, smp and k6

2000-11-27 Thread Torsten Duwe
> "Andreas" == Andreas Jellinghaus <[EMAIL PROTECTED]> writes: Andreas> a dual board (meant for pentium) with one k6 200 and a Andreas> 2.4.0-test11 kernel with APIC support enabled does oops Andreas> here. removed the APIC support, and now everything is fine. i Andreas> read

Re: [2.2.17] yes: oops again in /proc/scsi/scsi

2000-11-27 Thread Matthias Andree
On Thu, 23 Nov 2000, Kurt Garloff wrote: > While 2.0e3 contains a bug that can cause an OOps inside the driver (just > use the echo "INQUIRY 0" >/proc/scsi/tmscsim/?), the normal bus rescanning > should not be able to trigger it. The above looks like the bug is occuring > somewhere else. > Having

Re: [2.2.17] oops in /proc/scsi/scsi

2000-11-27 Thread Matthias Andree
Kurt Garloff schrieb am Donnerstag, den 23. November 2000: > On Wed, Nov 22, 2000 at 02:06:18AM +0100, Matthias Andree wrote: > > I ran that script several times since it did not collect all devices, > > Strange. > > While 2.0e3 contains a bug that can cause an OOps inside the driver (just > u

Re: [2.2.17] oops in /proc/scsi/scsi

2000-11-27 Thread Kurt Garloff
On Mon, Nov 27, 2000 at 08:57:03AM +0100, Matthias Andree wrote: > Good thing first: I can't trigger the oopses with 2.0e6. I tried hard, didn't > manage to. Nice to learn. > However, trying to trigger a race condition, I found that your script suffers > from too small a kernel API in this place

Re: [2.2.17] yes: oops again in /proc/scsi/scsi

2000-11-27 Thread Kurt Garloff
On Mon, Nov 27, 2000 at 09:10:05AM +0100, Matthias Andree wrote: > My previous mail was a tad too early. After I moved the bus back to the > Tekram DC-390U (sym53c8xx driver), I caught an oops again, and > rescan-scsi-bus.sh caught a SIGSEGV. There seems to be a kernel bug somewhere > in that SCSI

Re: gcc-2.95.2-51 is buggy

2000-11-27 Thread Pavel Pisa;research student
Hello all, I have used patch from GCC-PATCHES list posted by Bernd Schmidt . Because of high importance I am forwarding this patch to Linux-Kernel. Patch seems to solve problem. I have added warning print for case of problem, to find which parts of Linux kernel could be affected by this GCC bug.

Re: Universal debug macros.

2000-11-27 Thread Elmer Joandi
On Mon, 27 Nov 2000, Rogier Wolff wrote: > Turns out that people will > prefer to run the "performance" kernel, and they will send in useless > bugreports like "my just hangs" much more often than now. But look at positive side: 1. really few people run development kernels despite the "perform

Re: KERNEL BUG: console not working in linux

2000-11-27 Thread Alan Cox
> inb $0x92, %al # > orb $02, %al# "fast A20" version > outb%al, $0x92# some chips have only this > > Then my system worked without problems. > > Now what I ask is: > 1) Why did they disabl

Re: [Oops] apic, smp and k6

2000-11-27 Thread Alan Cox
> while now with an appropriate patch. Now Christoph Hellwig has identifi= > ed a > simpler solution (updated for -test11 by me): > > --- linux/arch/i386/kernel/setup.c~ Fri Jul 7 04:42:06 2000 > +++ linux/arch/i386/kernel/setup.cTue Jul 18 19:22:48 2000 > @@ -785,7 +785,8 @@ > /* >

Re: Universal debug macros.

2000-11-27 Thread Rogier Wolff
Elmer Joandi wrote: > > > On Mon, 27 Nov 2000, Rogier Wolff wrote: > > Turns out that people will > > prefer to run the "performance" kernel, and they will send in useless > > bugreports like "my just hangs" much more often than now. > > But look at positive side: I disagree: > 1. really few

Error after make bzImage

2000-11-27 Thread Kaustubh Phanse
Hello! I am trying to recompile my kernel after adding some patches... After making the changes, I first run make dep and then make clean...both run fine. However, after running make bzImage it gives me the following errors: make[2]: *** [ksyms.o] Error 1 make[2]: Leaving directory `/usr/

Possible SCSI or ISOFS Bug in 2.4.0-test11

2000-11-27 Thread Niels Happel
Hello everybody, first of all: I am new to the linux-kernel list, so I don't know wheather writing here is allowed for everybody or developers only. Anyway, here it is: Hardware (SCSI-only system): Tekram 390 U2W (SYM53C8XX support compiled into the kernel) IBM U2W SCSI disks HP DAT SCSI Stre

Re: Error after make bzImage

2000-11-27 Thread Richard B. Johnson
On Mon, 27 Nov 2000, Kaustubh Phanse wrote: > > Hello! > > I am trying to recompile my kernel after adding > some patches... After making the changes, I first run > make dep and then make clean...both run fine. However, > after running make bzImage it gives me the following > errors: > >

Re: Universal debug macros.

2000-11-27 Thread Elmer Joandi
well, really, look the other side: We dont make a way to take info away, we just put a lot more into it and give the option to take it away if it is not needed. With this you get your usual amount of debug info plus a way to have lots more. Oh, and one more point: if linux is going to have non

Re: Possible ISOFS Bug in 2.4.0-test11-pre7

2000-11-27 Thread Christian Gennerat
Niels Happel a écrit : > Hello everybody, > > first of all: I am new to the linux-kernel list, so I don't know wheather > writing here is allowed for everybody or developers only. > > Anyway, here it is: > > Hardware (SCSI-only system): > > Tekram 390 U2W (SYM53C8XX support compiled into the kern

Patch against 2.4-pre-8 for multiple boot-time root= root devices

2000-11-27 Thread T. Camp
This patch will allow you from something like lilo to do the following: linux root=/dev/hda1,/dev/hdb1,/dev/hdd1 which will cause the kernel to attempt to probe all three devices in order until it finds one with a valid filesytem. This is handy for people that move devices around a lot (ie the

Re: syslinux and 2.4.0 initrd size problems

2000-11-27 Thread Michael Peddemors
Happily using initrd on a 1.44 floppy here, and there should be no reason why you can't use it for a CDROM distro as well, you can have syslinux on the CDROM too... I believe their is a a syslinux mailing list to check if you have problems, and he has recently released updated versions of sysli

Re: Universal debug macros.

2000-11-27 Thread Andrew E. Mileski
Elmer Joandi wrote: > > Now if there would be simple _unified_ system for switching debug code > on/off, it would be a real win. That recompilation-capable enduser would > not need much knowledge to go "General Setup" or newly created > "Optimization" section and switch debugging off/on for _all

Re: [PATCH] modutils 2.3.20 and beyond

2000-11-27 Thread Jes Sorensen
> "Keith" == Keith Owens <[EMAIL PROTECTED]> writes: Keith> On Sun, 26 Nov 2000 16:36:55 -0700, "Jeff V. Merkey" Keith> <[EMAIL PROTECTED]> wrote: >> Keith, >> >> Please consider the attached patch for inclusion in all future >> versions of the modutils depmod program for compatiblity with >

Re: PROBLEM: crashing kernels

2000-11-27 Thread Mr. Big
> > In the afternoon we decided to put back the original mainboard+ram+cpu. > > We booted the kernel described above. > > With `noapic', I assume? Yes, of course > > It could be hardware or a driver or whatever. Suggest you > go to a more recent kernel and if the problems persist, > swap hard

Re: Universal debug macros.

2000-11-27 Thread Chmouel Boudjnah
"H. Peter Anvin" <[EMAIL PROTECTED]> writes: > Something RedHat & co may want to consider doing is providing a basic > kernel and have, as part of the install procedure or later, an > automatic recompile and install kernel procedure. It could be > automated very easily, and on all but the very s

Re: Strange lockup of the timer with 2.4.0-test10 SMP (and older)

2000-11-27 Thread Benjamin Monate
Hi, I just patched my kernel and here are my results: > systems. Please apply and give me the "IRQ to pin mappings:" part of the > bootstrap log. I'm pretty confident we get everything fine there, but > just in case... 0000 IRQ to pin mappings: IRQ0 -> 0:2 IRQ1 -> 0:1 IRQ3 -> 0:3 IRQ4

Re: [PATCH] modutils 2.3.20 and beyond

2000-11-27 Thread Jakub Jelinek
On Mon, Nov 27, 2000 at 05:48:28PM +0100, Jes Sorensen wrote: > > "Keith" == Keith Owens <[EMAIL PROTECTED]> writes: > > Keith> On Sun, 26 Nov 2000 16:36:55 -0700, "Jeff V. Merkey" > Keith> <[EMAIL PROTECTED]> wrote: > >> Keith, > >> > >> Please consider the attached patch for inclusion in a

Re: Universal debug macros.

2000-11-27 Thread Richard B. Johnson
On Mon, 27 Nov 2000, Andrew E. Mileski wrote: > Elmer Joandi wrote: > > > > Now if there would be simple _unified_ system for switching debug code > > on/off, it would be a real win. That recompilation-capable enduser would > > not need much knowledge to go "General Setup" or newly created > >

Re: syslinux and 2.4.0 initrd size problems

2000-11-27 Thread Jeff V. Merkey
On Mon, Nov 27, 2000 at 09:29:08AM -0800, Michael Peddemors wrote: > Happily using initrd on a 1.44 floppy here, and there should be no reason why > you can't use it for a CDROM distro as well, you can have syslinux on the > CDROM too... I believe their is a a syslinux mailing list to check if y

Re: Universal debug macros.

2000-11-27 Thread Andrew E. Mileski
"Richard B. Johnson" wrote: > > On Mon, 27 Nov 2000, Andrew E. Mileski wrote: > > > > Reminds me ... has a "#if DEBUG" statement that blows > > up if the debug code does something like "#define DEBUG(X...) printk(X...)". > > I came across this recently (think I was debugging PCI code ... not sur

[PATCH]: USB Audio 2.2.18pre

2000-11-27 Thread Thomas Sailer
This patch adds a workaround for the Dallas chip; the chip tags its 8bit formats with PCM8 but expects signed data. --- drivers/usb/audio.c.origMon Oct 2 15:23:28 2000 +++ drivers/usb/audio.c Mon Nov 27 00:08:54 2000 @@ -89,6 +89,9 @@ * Somewhat peculiar due to OSS interface l

Re: PROBLEM: crashing kernels

2000-11-27 Thread Maciej W. Rozycki
On Sun, 26 Nov 2000, Mr. Big wrote: > How could an APIC 'forget' how to deliver the interrupts? Could this mean > a problem with the mainboard, or with the CPU? Do you have an USB host controller in your system? If so, could you please send me an output of `/sbin/lspci' and the contents of /pr

[PATCH]: 2.4.0-testx: USB Audio

2000-11-27 Thread Thomas Sailer
This patch adds a workaround for the Dallas chip; the chip tags its 8bit formats with PCM8 but expects signed data. Also, the driver is less verbose; I forward ported Alan Cox's changes in 2.2.18pre Tom --- drivers/usb/audio.c.origFri Oct 13 21:13:29 2000 +++ drivers/usb/audio.c Mon Nov 27 1

Re: PROBLEM: crashing kernels

2000-11-27 Thread Mr. Big
> > How could an APIC 'forget' how to deliver the interrupts? Could this mean > > a problem with the mainboard, or with the CPU? > > Do you have an USB host controller in your system? If so, could you > please send me an output of `/sbin/lspci' and the contents of > /proc/interrupts? I wonder

[PATCH]: 2.4.0-testx: ac97_codec

2000-11-27 Thread Thomas Sailer
In the current ac97_codec, computation of attenuation values may overflow the register width, thus resulting in maximum volume when minimum was requested. This patch adds overflow checks and limitations. Tom --- ac97_codec.c.orig Thu Nov 23 13:13:13 2000 +++ ac97_codec.cThu Nov 23 13:2

Re: Universal debug macros.

2000-11-27 Thread H. Peter Anvin
Chmouel Boudjnah wrote: > > "H. Peter Anvin" <[EMAIL PROTECTED]> writes: > > > Something RedHat & co may want to consider doing is providing a basic > > kernel and have, as part of the install procedure or later, an > > automatic recompile and install kernel procedure. It could be > > automated

Re: Universal debug macros.

2000-11-27 Thread Chmouel Boudjnah
"H. Peter Anvin" <[EMAIL PROTECTED]> writes: > > > Something RedHat & co may want to consider doing is providing a basic > > > kernel and have, as part of the install procedure or later, an > > > automatic recompile and install kernel procedure. It could be > > > automated very easily, and on al

Re: Universal debug macros.

2000-11-27 Thread H. Peter Anvin
Chmouel Boudjnah wrote: > > "H. Peter Anvin" <[EMAIL PROTECTED]> writes: > > > > > Something RedHat & co may want to consider doing is providing a basic > > > > kernel and have, as part of the install procedure or later, an > > > > automatic recompile and install kernel procedure. It could be >

Re: [PATCH] removal of "static foo = 0"

2000-11-27 Thread Michael Meissner
On Mon, Nov 27, 2000 at 09:41:39AM +0100, Werner Almesberger wrote: > Adam J. Richter wrote: > > At the moment, I have started daydreaming about instead > > writing an "elf squeezer" to do this and other space optimizations > > by modifying objdump. > > Hmm, this would require that gcc never

Re: Universal debug macros.

2000-11-27 Thread Richard B. Johnson
On Mon, 27 Nov 2000, Andrew E. Mileski wrote: > "Richard B. Johnson" wrote: > > > > On Mon, 27 Nov 2000, Andrew E. Mileski wrote: > > > > > > Reminds me ... has a "#if DEBUG" statement that blows > > > up if the debug code does something like "#define DEBUG(X...) printk(X...)". > > > I came acr

Re: Universal debug macros.

2000-11-27 Thread Chmouel Boudjnah
"H. Peter Anvin" <[EMAIL PROTECTED]> writes: > It's not that slow compared to a whole distro install, although you would > of course want to do it *optionally*. that would be for sure, but keep in mind by experiences most people sent us a /lot/ of bug reports because they don't know how to do

Re: [PATCH] removal of "static foo = 0"

2000-11-27 Thread Richard B. Johnson
On Mon, 27 Nov 2000, Andrea Arcangeli wrote: > On Mon, Nov 27, 2000 at 12:39:55AM -0800, David S. Miller wrote: > > Also I believe linkers are allowed to arbitrarily reorder members in > > the data and bss sections. I could be wrong on this one though. > > I'm not sure either, but we certainly

Re: readonly /proc/sys/vm/freepages (was: Re: PROBLEM: crashing kernels)

2000-11-27 Thread Roger Larsson
On Sunday 26 November 2000 19:36, Rik van Riel wrote: > On Sun, 26 Nov 2000, Ingo Oeser wrote: > > On Sun, Nov 26, 2000 at 10:49:50AM +1100, Andrew Morton wrote: > > > You may also get some benefit from running: > > > > > > # echo "512 1024 1536" > /proc/sys/vm/freepages > > > > > > after booting.

Re: [PATCH]: 2.4.0-testx: USB Audio

2000-11-27 Thread Johannes Erdfelt
On Mon, Nov 27, 2000, Thomas Sailer <[EMAIL PROTECTED]> wrote: > This patch adds a workaround for the Dallas chip; the chip tags > its 8bit formats with PCM8 but expects signed data. > > Also, the driver is less verbose; I forward ported Alan Cox's changes > in 2.2.18pre Could you please send 2.

Re: Universal debug macros.

2000-11-27 Thread H. Peter Anvin
Chmouel Boudjnah wrote: > > "H. Peter Anvin" <[EMAIL PROTECTED]> writes: > > > It's not that slow compared to a whole distro install, although you would > > of course want to do it *optionally*. > > that would be for sure, but keep in mind by experiences most people > sent us a /lot/ of bug rep

Re: How to transfer memory from PCI memory directly to user space safely and portable?

2000-11-27 Thread H. Peter Anvin
Followup to: <[EMAIL PROTECTED]> By author:Philipp Rumpf <[EMAIL PROTECTED]> In newsgroup: linux.dev.kernel > > I hope count isn't provided by userspace here ? > > > 1. What happens if the user space memory is swapped to disk? Will > > verify_area() make sure that the memory is in physical

Re: Universal debug macros.

2000-11-27 Thread Chmouel Boudjnah
"H. Peter Anvin" <[EMAIL PROTECTED]> writes: > I'm talking about crap like the global compile options (processor, SMP, > etc.) that's could be only for the experienced user and the experienced user can find how to reboot and compile is own kernel (or even to generate a distribution with his pers

Re: Universal debug macros.

2000-11-27 Thread H. Peter Anvin
Chmouel Boudjnah wrote: > > "H. Peter Anvin" <[EMAIL PROTECTED]> writes: > > > I'm talking about crap like the global compile options (processor, SMP, > > etc.) > > that's could be only for the experienced user and the experienced user > can find how to reboot and compile is own kernel (or even

Re: KERNEL BUG: console not working in linux

2000-11-27 Thread Albert D. Cahalan
>> 1) Why did they disable my videocard ? > > Because your machine is not properly PC compatible The same can be said of systems that don't support the standard keyboard controller for A20 control. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: PROBLEM: crashing kernels

2000-11-27 Thread Maciej W. Rozycki
On Mon, 27 Nov 2000, Mr. Big wrote: > But maybe the /proc/interrupts could be usefull: >CPU0 CPU1 > 0: 413111 0 XT-PIC timer > 1:687 0 XT-PIC keyboard > 2: 0 0 XT-PIC cascade > 7: 75

Re: KERNEL BUG: console not working in linux

2000-11-27 Thread H. Peter Anvin
Followup to: <[EMAIL PROTECTED]> By author:"Albert D. Cahalan" <[EMAIL PROTECTED]> In newsgroup: linux.dev.kernel > > >> 1) Why did they disable my videocard ? > > > > Because your machine is not properly PC compatible > > The same can be said of systems that don't support the > standard key

Re: KERNEL BUG: console not working in linux

2000-11-27 Thread Petr Vandrovec
On Mon, Nov 27, 2000 at 11:08:10AM -0800, H. Peter Anvin wrote: > It would have been somewhat different if there had been a standard > BIOS function for enabling A20, but there isn't one. > > Sometimes, in the PC world, you just have to draw a line and say "this > is too broken to use". I think

Re: How to transfer memory from PCI memory directly to user space safely and portable?

2000-11-27 Thread Philipp Rumpf
On Mon, Nov 27, 2000 at 10:36:34AM -0800, H. Peter Anvin wrote: > Followup to: <[EMAIL PROTECTED]> > By author:Philipp Rumpf <[EMAIL PROTECTED]> > In newsgroup: linux.dev.kernel > > > > I hope count isn't provided by userspace here ? > > > > > 1. What happens if the user space memory is swa

Re: How to transfer memory from PCI memory directly to user space safely and portable?

2000-11-27 Thread H. Peter Anvin
Philipp Rumpf wrote: > > On Mon, Nov 27, 2000 at 10:36:34AM -0800, H. Peter Anvin wrote: > > Followup to: <[EMAIL PROTECTED]> > > By author:Philipp Rumpf <[EMAIL PROTECTED]> > > In newsgroup: linux.dev.kernel > > > > > > I hope count isn't provided by userspace here ? > > > > > > > 1. What h

Re: PROBLEM: crashing kernels

2000-11-27 Thread Mr. Big
On Mon, 27 Nov 2000, Maciej W. Rozycki wrote: > On Mon, 27 Nov 2000, Mr. Big wrote: > > > But maybe the /proc/interrupts could be usefull: > >CPU0 CPU1 > > 0: 413111 0 XT-PIC timer > > 1:687 0 XT-PIC keyboard > > 2:

Re: KERNEL BUG: console not working in linux

2000-11-27 Thread Albert D. Cahalan
H. Peter Anvin writes: > [Albert Cahalan] >> [Alan Cox] 1) Why did they disable my videocard ? >>> >>> Because your machine is not properly PC compatible >> >> The same can be said of systems that don't support the >> standard keyboard controller for A20 control. > > Yes, it can. Unfortunat

Re: Universal debug macros.

2000-11-27 Thread Andrew E. Mileski
"Richard B. Johnson" wrote: > > On Mon, 27 Nov 2000, Andrew E. Mileski wrote: > > Agreed, but that wasn't my point. There is debug code in the current > > kernel that defines DEBUG to something non-numeric, which causes > > the compile to barf on kernel.h in some cases (try defining DEBUG in > >

mm->rss modified without the page_table_lock held (revisited)

2000-11-27 Thread Rasmus Andersen
Hi. (The following (with minor differences in the text) was sent to linux-kernel Thursday. I have received no response and the item is still on Teds list of todo (www version anyway) so I'll risk a limb to the Quake monster :) by sending this to you.) Some time ago there was a thread about subj

Re: KERNEL BUG: console not working in linux

2000-11-27 Thread H. Peter Anvin
"Albert D. Cahalan" wrote: > > > > Yes, it can. Unfortunately, some "legacy-free" PCs apparently > > are starting to take the tack that the KBC is legacy. Therefore, > > the use of port 92h is mandatory on those systems. > > Not just embedded systems? > Nope. I was rather surprised to find t

2.4.0-test11-ac2 and ac4 SMP will not run KDE 2.0

2000-11-27 Thread Steven Cole
When I try to start KDE 2.0 with SMP builds of 2.4.0-test11-ac2 and ac4, the system locks up after "Loading Panel". Nothing odd gets logged to /var/log/messages. I can successfully run KDE 2.0 with UP builds of any of these kernels. I can successfully run Gnome or Fvwm1 with either UP or SMP bu

Re: 2.4.0-test11-ac2 and ac4 SMP will not run KDE 2.0

2000-11-27 Thread Alan Cox
> When I try to start KDE 2.0 with SMP builds > of 2.4.0-test11-ac2 and ac4, the system locks up > after "Loading Panel". Nothing odd gets logged > to /var/log/messages. > Precision 420 Dual P-III. All kernels are patched with > linux-2.4.0-test10-reiserfs-3.6.19-patch. I don't test -ac kernel tr

linux-2.4.0-test11: _isofs_bmap: block < 0

2000-11-27 Thread Jörg Schütter
Hello, after upgrading from test9 to test11, skipping test 10, I get the messages "_isofs_bmap: block < 0", "_isofs_bmap: block < ..." which also means I can't read the cd. I hope I don't missed a flag in the new kernel configuration. I will attach the configuration file which works fine with

Anyone else kernel mounting a filesystem that has a block device?

2000-11-27 Thread John Zielinski
I'm going to be mounting a filesystem that uses a block device from inside the kernel. This mount will not be visible from userland nor can it be unmounted from userland. Is anyone else doing something like this so we can coordinate on the changes needed to fs/super.c? John - To unsubscribe f

Re: Anyone else kernel mounting a filesystem that has a block device?

2000-11-27 Thread Alexander Viro
On Mon, 27 Nov 2000, John Zielinski wrote: > I'm going to be mounting a filesystem that uses a block device from inside > the kernel. This mount will not be visible from userland nor can it be > unmounted from userland. Is anyone else doing something like this so we can > coordinate on the ch

Re: About IP address

2000-11-27 Thread Michael H. Warfield
On Fri, Nov 24, 2000 at 05:30:03PM -0500, Mike A. Harris wrote: > On Fri, 24 Nov 2000, J. Dow wrote: > >Date: Fri, 24 Nov 2000 14:15:41 -0800 > >From: J. Dow <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED], [EMAIL PROTECTED] > >Cc: [EMAIL PROTECTED] > >Content-Type: text/plain; > >charset="is

Re: [PATCH] removal of "static foo = 0"

2000-11-27 Thread Albert D. Cahalan
Andries Brouwer writes: > Do I explain things so badly? Let me try again. > The difference between > > static int a; > > and > > static int a = 0; > > is the " = 0". The compiler may well generate the same code, > but I am not talking about the compiler. I am talking about > the programme

Re: About IP address

2000-11-27 Thread H. Peter Anvin
Followup to: <[EMAIL PROTECTED]> By author:"Michael H. Warfield" <[EMAIL PROTECTED]> In newsgroup: linux.dev.kernel > > Glad you can't understand it, because it's incorrect. They can > be used but they are both assigned to IANA (Internet Assigned Numbers > Authority) as reserved addre

Re: Anyone else kernel mounting a filesystem that has a block device?

2000-11-27 Thread John Zielinski
> On Mon, 27 Nov 2000, John Zielinski wrote: > > > I'm going to be mounting a filesystem that uses a block device from inside > > the kernel. This mount will not be visible from userland nor can it be > > unmounted from userland. Is anyone else doing something like this so we can > > coordinate

Re: Universal debug macros.

2000-11-27 Thread Gerhard Mack
On Mon, 27 Nov 2000, H. Peter Anvin wrote: > Chmouel Boudjnah wrote: > > > > "H. Peter Anvin" <[EMAIL PROTECTED]> writes: > > > > > > > Something RedHat & co may want to consider doing is providing a basic > > > > > kernel and have, as part of the install procedure or later, an > > > > > automa

USB-Storage drivers

2000-11-27 Thread Kurt Garloff
Hi Matthew, David, Linus, any particular reason why the support for special dongles in the usb-storage driver can not be selected during kernel configuration? (See attached patch). I can only tell about the Freecom support in the usb-storage driver: It works flawlessly for me driving some OnStre

Dell 5000e APM (fixed!)

2000-11-27 Thread Brad Douglas
Alan, here's the DMI info you requested. Sorry about the delay. The BIOS listed is a new test BIOS that has a *corrected* APM that I received this morning. I really want to take a second to thank the people at Compal (BizCom) for the short turnaround once we figured out who the right people wer

Re: [PATCH] removal of "static foo = 0"

2000-11-27 Thread Marcus Sundberg
[EMAIL PROTECTED] (Michael Meissner) writes: > On Mon, Nov 27, 2000 at 06:21:13PM +0100, Andrea Arcangeli wrote: > > On Mon, Nov 27, 2000 at 12:39:55AM -0800, David S. Miller wrote: > > > Also I believe linkers are allowed to arbitrarily reorder members in > > > the data and bss sections. I coul

awe64-bug in 2.4.0-test11

2000-11-27 Thread Kristian
Hi! Here're some notes about my problem: · problems with awe64 soundcard · maybe it has something to do with changes in sound.c in vers. 2.4.0-test11? a general description of the problem: · i'm getting some kernel-oopses while loading awe_wave.o . · This soundcard (Creative Soundblaster AWE

Re: access() says EROFS even for device files if /dev is mounted RO

2000-11-27 Thread Rogier Wolff
Andries Brouwer wrote: > > access("/dev/tty2", R_OK|W_OK) = -1 EROFS (Read-only file system) > You misunderstand the function of access(). The standard says > > [EROFS] write access shall fail if write access is requested > for a file on a read-only file system The intent of th

Hardware recognization error on Davicom 9102 with Tulip DS21140 driver

2000-11-27 Thread Udo Held
Hi! I didn't know which driver was the right one for my network card so I just compiled all network-card drivers that where listed into my kernel I tried it with test9 and test11. The DS21140 Tulip driver found my card and crashes the system during boot up. My card is a Davicom 9102(?). It's work

Re: USB-Storage drivers

2000-11-27 Thread Matthew Dharm
Some of these sub-drivers are immature, even for the CONFIG_EXPERIMENTAL label. AFAIK, a patch is pending to make Freecom support appear -- it's definately ready for prime-time, having been extensively tested by several people. Matt On Mon, Nov 27, 2000 at 10:16:23PM +0100, Kurt Garloff wrote:

Re: silly [< >] and other excess

2000-11-27 Thread Peter Samuelson
[Albert D. Cahalan] > > Somebody else posted a reasonable hack for the [<>] problem. His > > proposal involved letting multiple values share the same markers, > > something like this: [Russell King] > Yep, now that is one idea I like! Me too. (: Keith posed two objections: 1. The >] could

Re: USB-Storage drivers

2000-11-27 Thread Greg KH
On Mon, Nov 27, 2000 at 10:16:23PM +0100, Kurt Garloff wrote: > Hi Matthew, David, Linus, > > any particular reason why the support for special dongles in the usb-storage > driver can not be selected during kernel configuration? (See attached patch). A patch is pending that I submitted that adds

aironet4500_cs

2000-11-27 Thread Georg Nikodym
Am I foolish to expect the aironet4500_cs (and friends) to work with my shiny new Cisco Aironet 340 pcmcia card? If not, anybody got any helpful hints on how to get things off the ground? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: silly [< >] and other excess

2000-11-27 Thread Keith Owens
On Mon, 27 Nov 2000 16:02:13 -0600, Peter Samuelson <[EMAIL PROTECTED]> wrote: > > [Albert D. Cahalan] >> > Somebody else posted a reasonable hack for the [<>] problem. His >> > proposal involved letting multiple values share the same markers, >> > something like this: >Me too. (: Keith posed

Re: ATA-4, ATA-5 TCQ status

2000-11-27 Thread Sasi Peter
On Mon, 27 Nov 2000, Jens Axboe wrote: > On Mon, Nov 27 2000, Sasi Peter wrote: > > > implementation listed in the specs Linux might as well not support it :) > > > It's simply not worth it. > > But seriously, how come? > > I thought they just somewhat like copied the SCSI implementation... > I w

Re: Multi-Chanel ATA, was: Re: ATA-4, ATA-5 TCQ status

2000-11-27 Thread Sasi Peter
On Mon, 27 Nov 2000, Uwe Bonnes wrote: > the 3Ware Controllers have up to 8 channels. However I think you can > only use one drive per chanel. Hi! I'm afraid they have only one with intel RISC on board for hardware raid, which amkes these card rather exensive for me wanting multilple channels,

  1   2   >