Mounting an cdrom using ide-scsi give wrong major or minor message

2000-09-21 Thread SMU
I am stumped on this one. I recently installed Mandrake 7.1 on a new drive and then installed a 2.4.0-test8 kernel. When I boot using the stock kernel (2.2.15) I can mount my CD-Burner on /dev/scd0. But when I boot to 2.4.0-test8, mount complains that /dev/scd0 has the wrong major or minor

[PATCH] ISAPNP using an invalid IO_APIC IRQ

2000-09-21 Thread M.H.VanLeeuwen
Linus, Is this patch acceptable? info patch below. Martin Jaroslav Basically, this patch discards any unusable IO_APIC IRQs from the list of IRQs that ISA PNP is trying to allocate from - but only if IO_APIC IRQs are available.

Re: fsck

2000-09-21 Thread tytso
Date:Mon, 18 Sep 2000 12:06:22 +0200 From: octave klaba [EMAIL PROTECTED] I make the tests of fsck with raid-soft 2x18Go raid-1. We crash the server to see how much time does fsck take (power down) :) - with standard /etc/rc.d/rc.sysinit of redhat 6.2 it takes 1h30

Re: Software RAID

2000-09-21 Thread Steve Hill
On Wed, 20 Sep 2000, JorgeNerin wrote: Well I do have a 486dx2 (66Mhz-24Mb RAM) Root RAID 0 using three disks, and as far as I can see there are no spikes and the box runs smoothly. I've never had any problems with RAID 0, only RAID 1 - looks like every so often it does some kind of

Re: Ptrace broken since 2.4.0-test8pre4?...

2000-09-21 Thread Roderich Schupp
Yuri Pudgorodsky [EMAIL PROTECTED] said: Beeing an active user mode linux user :-) I can say that since 2.4.0-test8 (host kernel) I cannot run uml-linux successfully. "Andi Kleen" [EMAIL PROTECTED] said: The following patch added in 2.4.0test8-pre4 breaks ups (an alternative source level

2.4.0-test9-pre4 freezes and 2.4.0-test6 crashes

2000-09-21 Thread Giampaolo Gallo
Hi, I removed some messages from my netscape communicator 4.75 Inbox (25Mb), then I "Compacted all folders". The machine froze rock solid. After a reboot I tried to open (using netscape) the temporary netscape mailbox (Inbox.pid.0) the crash left in nsmail/. The system froze again. Today,

cpu reset on laptops and microcode update.

2000-09-21 Thread Tigran Aivazian
Hi guys, A long time ago I noticed a curious feature on my Dell Latitude CPx H-450GT laptop - rebooting it via "shutdown -r now" (and therefore going through BIOS) does not discard the microcode applied to the CPU. But I would expect it to be discarded as prescribed by Intel manuals, on #RESET.

[patch - critical] Fixes for VIA IDE driver

2000-09-21 Thread Vojtech Pavlik
Hi! I have found a couple bugs in the VIA IDE kernel I'm now maintaining that manifest themselves on hardware I don't have: 1) On old SWDMA devices the timing is programmed incorrectly. This will result in DMA timeouts or data corruption. 2) On UDMA devices used with vt82c596a (old buggy

Is there any T/TCP patch for kernel 2.2.*

2000-09-21 Thread Mao Yun
Hi all, Is there any T/TCP patch for kernel 2.2.16? thanks. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/

2.4.x vgacon causes SMP deadlock

2000-09-21 Thread Keith Owens
2.4.0-test9-pre5, although this has existed since at least 2.4.0-test1. VT console on vga. printk - vt_console_print - hide_cursor - vgacons_cursor - write_vga - cli - __global_cli - get_irqlock - wait_on_irq - show - printk - SMP deadlock! I hit this on an SMP box, one cpu was dead and inside

Re: [Oops] Unable to handle kernel NULL pointer dereference

2000-09-21 Thread Martin Diehl
On Wed, 20 Sep 2000, J Brook wrote: EIP; c01527b9 check_idq+d/118 = Trace; c015357b dquot_transfer+28b/4c8 this is the quota issue for which I've posted a fix some days ago. It's (as of 2.4.0-t9p5) waiting on the TODO list to be merged. I'd consider it "critical" (wrt what Linus

[RFC] ioctl(2) return value

2000-09-21 Thread Abramo Bagnara
In ALSA we use the return value from ioctl as a simple way to return a positive number to user space (if the return value is less than 0 we got error, of course) We got the doubt that this break some unknown standards or some linux conventions or Linus taste (at a first glance I'm unable to

Re: Oops: Unable to handle kernel null pointer

2000-09-21 Thread Martin Diehl
On Wed, 20 Sep 100, Sebastian Willing wrote: It's almost impossible to extract some useful information from your oops without your kernel symbols (Documentation/oops-tracing.txt). However, to make a guess, this Unable to handle kernel NULL pointer dereference at virtual address 0034

Re: [2.4.0-test9-pre5] SCSI still broken, trident/mixer still broken

2000-09-21 Thread Torben Mathiasen
On Thu, Sep 21 2000, Simon Kirby wrote: ... on test9pre5 and test9pre3: (scsi0:6:0) Synchronous Data Transfer Request was rejected Vendor: Model: Scanner Rev: 1.70 Type: ScannerANSI SCSI revision: 04 (scsi0:0:3:0) Synchronous at 8.0

Re: cpu reset on laptops and microcode update.

2000-09-21 Thread richardj_moore
I wouldn't have expected a reset to be done on shutdown -r since that doesn't force POST to run. My guess is that we go directly to the BIOS to read the bootstrap (INT 19 is it??) Richard Moore - RAS Project Lead - Linux Technology Centre.

[PATCH] 2.4.0 i386 debug register fix

2000-09-21 Thread James Cownie
The problem http://www.uwsg.iu.edu/hypermail/linux/kernel/0006.1/0841.html which was fixed in 2.2.17 still remains in 2.4.0. Here is a patch for 2.4.0 % diff -u traps.c-2.4.0-test7 traps.c --- traps.c-2.4.0-test7 Sat Aug 5 00:15:38 2000 +++ traps.c Thu Sep 21 11:51:29 2000 @@ -520,6 +520,9

Re: null TTY in tty_fasync?

2000-09-21 Thread Andrew Morton
Jeff Garzik wrote: Andrew Morton wrote: Having stared sleepily at the code for several evenings I see no way in which serial_driver.refcount can be non-zero while serial.o's module refcount is zero. But it happened. Is it possible to replace serial_driver.refcount with calls to

Re: [RFC] ioctl(2) return value

2000-09-21 Thread Andries Brouwer
On Thu, Sep 21, 2000 at 11:43:07AM +0200, Abramo Bagnara wrote: In ALSA we use the return value from ioctl as a simple way to return a positive number to user space (if the return value is less than 0 we got error, of course) We got the doubt that this break some unknown standards or some

Re: Question: Using floating point in the kernel

2000-09-21 Thread John Alvord
On Wed, 20 Sep 2000 22:37:29 -0700, "Lyle Coder" [EMAIL PROTECTED] wrote: Hi The real issue is that if you use MMX or FP state, the kernel _must_ save and restore the original state other wise user programs will see corruption. We all know this too well since redhat's 6.1 (I think) kernel had

Re: [RFC] ioctl(2) return value

2000-09-21 Thread Andi Kleen
On Thu, Sep 21, 2000 at 01:33:14PM +0200, Andries Brouwer wrote: The current manpage says: RETURN VALUE On success, zero is returned. On error, -1 is returned, and errno is set appropriately. Adding: "except on ALSA where certain other return values are used" would be

Re: Question: Using floating point in the kernel

2000-09-21 Thread Andi Kleen
On Thu, Sep 21, 2000 at 11:36:17AM +, John Alvord wrote: A 2.5-time problem is that portions of the kernel are planned to become interruptible... so saving and restoring around a certain usage would be insufficient. It is sufficient when you do tsk-flags |= PF_USEDFPU first. Anyways,

[PATCH] 2.4.0 i386 watchpoint problems

2000-09-21 Thread James Cownie
The problem http://www.geocrawler.com/archives/3/343/2000/8/0/4140605/ which is on Alan's list to be looked at for 2.2 remains in 2.4.0. Here is a patch for 2.4.0 diff -u traps.c-2.4.0-test7 traps.c --- traps.c-2.4.0-test7 Sat Aug 5 00:15:38 2000 +++ traps.c Thu Sep 21 12:47:37 2000 @@

kernel: nfs: task X can't get a request slot

2000-09-21 Thread Vincent Schultz
Hello gentlemen, We experience some troubles from time to time between our web servers and a NetApp 700 series. Sometimes, at hight loads (it seems), all servers crash at the same time. Here is a sample of /var/log/messages before they crash : Sep 20 02:42:03 web kernel: nfs: server

Re: [PATCH] Fix queued SIGIO

2000-09-21 Thread Jamie Lokier
Julian Anastasov wrote: I'm talking about test8. __SI_CODE is in 2.4, not in 2.2. The handling is very different. We can't wait for si_code==SI_SIGIO in 2.4 anymore. SI_SIGIO is used only in 2.2:fs/fcntl.c. 2.4 stores POLL_xxx in si_code instead of SI_SIGIO. Why does it do that?

Re: linux-kernel-digest ?

2000-09-21 Thread Joshua Jore
Huh? TAB *is* supposed to be equivalent to SPACE according to RFC822. From the spec: SPACE = ASCII SP, space; ( 40, 32.) HTAB= ASCII HT, horizontal-tab ; ( 11, 9.) LWSP-char = SPACE / HTAB ; semantics = SPACE

IDE Troubles - linux-2.4.0-test9-pre2

2000-09-21 Thread Byron Stanoszek
After about 3 days running 2.4.0-test9-pre2 (32mb i586 machine), I switched on the system console and saw these messages. Nothing seems to be wrong with the system. Can anyone enlighten me? Flags; bus-master 1, full 0; dirty 1267452(12) current 1267456(0). Transmit list 010c72f0 vs.

Re: NMI Watchdog detected LOCKUP on CPU1 (stext_lock)(2.4.0-test9-pre2)

2000-09-21 Thread Anton Blanchard
Yes, SYSRQ+P should definetly show the stack trace. And on SMP it would be nice to backtrace all cpus. (perhaps make this another sysrq option) Anton - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at

sbpcd bug in 2.4.0...

2000-09-21 Thread ismael ripoll
Hi! I have an old PC Pentium 100 with a CDROM x2 The CD driver used to work with: modprobe sbpcd sbpcd=0x340,0 It works fine with all version of Linux but 2.3.?? and above. Version 2.4.0-test5 also fails. I've tried to solve the bug... but no way. The module gets loaded

Re: lvm in 2.4.0-test9pre5

2000-09-21 Thread Jan Niehusmann
On Wed, Sep 20, 2000 at 08:54:55PM -0400, Mohammad A. Haque wrote: I think lvm and lvm-snap didn't get moved into the md dir. Or maybe the Makefile in md needs to be fixed. Yes, lvm.c and lvm-snap.c are missing from drivers/md/. Additionally, drivers/Makefile needs to be modified: If you use

Re: sbpcd bug in 2.4.0...

2000-09-21 Thread Jens Axboe
On Thu, Sep 21 2000, ismael ripoll wrote: The problem seems to be originatied by the new block devices interface.. Right The bug Is that in the function sbpcd_end_request the value of "req-q" is NULL.. and then: list_add(req-queue, req-q-queue_head); FAILS And I don't see why it

[patch] mousedev.c

2000-09-21 Thread Yoichi Imai
Hello. I think it's a bug. --- linux-2.4.0-test8/drivers/input/mousedev.c Wed Aug 23 01:06:31 2000 +++ linux/drivers/input/mousedev.c Thu Sep 21 22:20:22 2000 @@ -121,12 +121,12 @@ case BTN_TOUCH:

Re: cpu reset on laptops and microcode update.

2000-09-21 Thread H. Peter Anvin
Followup to: [EMAIL PROTECTED] By author:Tigran Aivazian [EMAIL PROTECTED] In newsgroup: linux.dev.kernel A long time ago I noticed a curious feature on my Dell Latitude CPx H-450GT laptop - rebooting it via "shutdown -r now" (and therefore going through BIOS) does not discard the

AW: kernel: nfs: task X can't get a request slot

2000-09-21 Thread Schulz, Michael (Presales)
Hi Vincent, I have the same Problem on a Proliant 2500 and my Workstation with a 3Com 3c509. Different Settings on the Network-Cards could be the Problem (i.e. Half vs. Full-Duplex). bye michael COMPAQ Computer GmbH Michael Schulz Competence Center Enterprise Computing Robert Bosch Str.5

Re: lvm in 2.4.0-test9pre5

2000-09-21 Thread Andrea Arcangeli
On Thu, Sep 21, 2000 at 04:11:46PM +0200, Jan Niehusmann wrote: Yes, lvm.c and lvm-snap.c are missing from drivers/md/. LVM and MD have nothing common. They're two completly orthogonal piece of code (you can put LVM on top of MD but that's just because of the nice reentrance of the blkdev API

Re: cpu reset on laptops and microcode update.

2000-09-21 Thread Timur Tabi
** Reply to message from [EMAIL PROTECTED] on Thu, 21 Sep 2000 06:01:08 -0700 I was curious about this when with OS/2, the Win-OS2 media player would not stop when I gave it the three-finger-salute while it was still playing a CD-ROM, that is, until it began to re-boot. When it re-boots,

strange BogoMIPS value

2000-09-21 Thread Erik McKee
Hello! It seems as if linux 2.2.17 is calculating a strange value for my bogomips value. I thought is was supposed to be somewhere near the processor speed. Perhaps I am missing something? Have a nice day ;) Erik p.s. dmesg output attatched... cc version 2.95.1 19990816 (release)) #8 Thu

Re: lvm in 2.4.0-test9pre5

2000-09-21 Thread Jan Niehusmann
On Thu, Sep 21, 2000 at 05:47:36PM +0200, Andrea Arcangeli wrote: On Thu, Sep 21, 2000 at 04:11:46PM +0200, Jan Niehusmann wrote: Yes, lvm.c and lvm-snap.c are missing from drivers/md/. LVM and MD have nothing common. Yes, I know. I'm not arguing about the right location for lvm. But lvm

can't login to X

2000-09-21 Thread Paavo Nikula
I can't figure out why i can't login to X as user with the latest kernels (test9-pre[2-4]). Maybe someone here can help? Tiesitkö, että Sunpoint.netin käyttäjät voivat lukea sähköpostinsa myös WAP-puhelimella.

Datapoint re: umount: device busy

2000-09-21 Thread Matthew Kirkwood
Hi, It seems that it's fairly easy to get a ramfs stuck: # mkdir bar # mount -t ramfs bar bar # umount bar # mount -t ramfs bar bar # chown nobody bar # umount bar umount: /root/bar: device is busy # This doesn't appear to affect ext2 filesystems, though. Matthew -- $ grep -c ramfs

Re: 2.4.0-test9-pre4: __alloc_pages(...) try_again:

2000-09-21 Thread Rik van Riel
On Wed, 20 Sep 2000, Roger Larsson wrote: I added a counter for try_again loops. ... __alloc_pages(...) int direct_reclaim = 0; unsigned int gfp_mask = zonelist-gfp_mask; struct page * page = NULL; + int try_again_loops = 0; - - - +

Re: Tailmerging for Ext2 - release 0.0

2000-09-21 Thread Marc Lehmann
On Sat, Sep 16, 2000 at 10:59:54PM +0200, Daniel Phillips [EMAIL PROTECTED] wrote: Here we are, finally: code. I do not make any claim that this code is elegant, correct, complete, esthetically pleasing or that it will refrain from eating your hard disk. What this code will do is let you

Re: BPF in the kernel

2000-09-21 Thread Marc Lehmann
On Mon, Sep 18, 2000 at 10:55:20PM -0700, Philippe Troin [EMAIL PROTECTED] wrote: Ideally, libpcap should be extended to support the LPFisms. A LSF Indeed, and I sent a patch to do so about 4 weeks after LSF was in the kernel, but nothing happened so far. ("Hey, the -s option suddenly works ;")

[patch *] VM deadlock fix

2000-09-21 Thread Rik van Riel
Hi, I've found and fixed the deadlocks in the new VM. They turned out to be single-cpu only bugs, which explains why they didn't crash my SMP tesnt box ;) They have to do with the fact that processes schedule away while holding IO locks after waking up kswapd. At that point kswapd spends its

Re: [User-mode-linux-user] Ptrace broken since 2.4.0-test8pre4?...

2000-09-21 Thread William Stearns
On Tue, 19 Sep 2000, Jeff Dike wrote: [EMAIL PROTECTED] said: I tested vanilla test7 with ptrace() patch. It breaks uml exactly like I see with any kernel test7. exec_user.c:29 ptrace(PTRACE_SYSCALL, 4901, 0, 0) = 0 And voila, we got SIGSEGV instead of happy running child: Child

Re: [2.4.0-test9-pre5] SCSI still broken, trident/mixer still broken

2000-09-21 Thread Douglas Gilbert
Simon Kirby wrote: Around 2.4.0-test9-pre2 (or so, definitely in pre3) both my SCSI scanner and trident sound card stopped being happy. They are still both broken in pre5. On test8, both work perfectly. On test8: (scsi0:6:0) Synchronous Data Transfer Request was rejected Vendor:

Re: [PATCH] 2.4.0 i386 watchpoint problems

2000-09-21 Thread Linus Torvalds
On Thu, 21 Sep 2000, James Cownie wrote: The problem http://www.geocrawler.com/archives/3/343/2000/8/0/4140605/ which is on Alan's list to be looked at for 2.2 remains in 2.4.0. Here is a patch for 2.4.0 I'm very nervous that this patch couldlead to horrible performance issues due to

scsi-ide lockup is fixed in test9-pre5

2000-09-21 Thread Frank van de Pol
Just tested it with a plain 2.4.0-test9-pre5 kernel and the problem is now fixed. Thanks to all involved, Frank. -- + --- -- - - -- |Frank van de Pol -o) | [EMAIL PROTECTED] /\\ | _\_v |Linux - Why use Windows,

Re: [2.4.0-test9-pre5] SCSI still broken, trident/mixer still broken

2000-09-21 Thread Torben Mathiasen
On Thu, Sep 21 2000, Douglas Gilbert wrote: [deleted] It is not clear to me what "hacking" sg requires as Torben Mathiasen suggested in his response. This seems like a mid level problem. I'll check with my scsi scanner this evening. Well first of all the sg driver needs to be updated the

Re: [PATCH] 2.4.0 i386 watchpoint problems

2000-09-21 Thread Linus Torvalds
On Thu, 21 Sep 2000, Linus Torvalds wrote: I would suggest an alternate patch, which would be something like if (SIGTRAP is pending in tsk) goto clear_dr7; Actually, even simpler approach: - always clear db7 after sending signal - don't test for pending or for

Re: [2.4.0-test9-pre5] SCSI still broken, trident/mixer still broken

2000-09-21 Thread Simon Kirby
On Thu, Sep 21, 2000 at 01:12:27PM -0400, Douglas Gilbert wrote: Interesting. 'cat /proc/scsi/scsi' should show the same devices as 'cat /proc/scsi/sg/device_strs' [and 'cat /proc/scsi/sg/devices']. If not, then the SCSI mid-level is not calling sg_detect() [in sg.c] for all new scsi

Re: 2.4.0-test9-pre4: __alloc_pages(...) try_again:

2000-09-21 Thread Roger Larsson
Rik van Riel wrote: On Wed, 20 Sep 2000, Roger Larsson wrote: I added a counter for try_again loops. ... __alloc_pages(...) int direct_reclaim = 0; unsigned int gfp_mask = zonelist-gfp_mask; struct page * page = NULL; + int try_again_loops = 0;

Re: [2.4.0-test9-pre5] SCSI still broken, trident/mixer still broken

2000-09-21 Thread Douglas Gilbert
Torben Mathiasen wrote: On Thu, Sep 21 2000, Douglas Gilbert wrote: [deleted] It is not clear to me what "hacking" sg requires as Torben Mathiasen suggested in his response. This seems like a mid level problem. I'll check with my scsi scanner this evening. Well first of all

Re: [2.4.0-test9-pre5] SCSI still broken, trident/mixer still broken

2000-09-21 Thread Douglas Gilbert
Simon Kirby wrote: On Thu, Sep 21, 2000 at 01:12:27PM -0400, Douglas Gilbert wrote: Interesting. 'cat /proc/scsi/scsi' should show the same devices as 'cat /proc/scsi/sg/device_strs' [and 'cat /proc/scsi/sg/devices']. If not, then the SCSI mid-level is not calling sg_detect() [in

Re: [2.4.0-test9-pre5] SCSI still broken, trident/mixer still broken

2000-09-21 Thread Simon Kirby
On Thu, Sep 21, 2000 at 02:34:01PM -0400, Douglas Gilbert wrote: I do nearly all of my testing with sg as a module. So this looks like (another recent) breakage. It is beginning to look like the sg driver is not (properly) initialized when it is built into the kernel. Perhaps you could

Re: [PATCH] 2.4.0 i386 watchpoint problems

2000-09-21 Thread H. Peter Anvin
Followup to: [EMAIL PROTECTED] By author:Linus Torvalds [EMAIL PROTECTED] In newsgroup: linux.dev.kernel Actually, even simpler approach: - always clear db7 after sending signal - don't test for pending or for kernel mode at all at that point. - re-load %db7 at the top of the

Re: [2.4.0-test9-pre5] SCSI still broken, trident/mixer still broken

2000-09-21 Thread Torben Mathiasen
On Thu, Sep 21 2000, Douglas Gilbert wrote: [delete] At one point before I followed some of the debug/logging commands listed at the top of sg.c and got an Oops as well... Seems as though I've got a lot of retesting to do. Please note that the changes to the scsi midlayer requires all

Re: [Oops] Unable to handle kernel NULL pointer dereference

2000-09-21 Thread J Brook
Thank you Martin! Upgrading to test9-pre5 and applying your patch works a treat. I've tried running through the steps that lead to the crash with the old kernel and there's now no trace of an oops! Thanks also to Igmar Palsenberg who pointed me in the right direction. John

Re: strange BogoMIPS value

2000-09-21 Thread David Riley
Erik McKee wrote: Hello! It seems as if linux 2.2.17 is calculating a strange value for my bogomips value. I thought is was supposed to be somewhere near the processor speed. Perhaps I am missing something? Have a nice day ;) Erik Detected 99547 kHz processor. ... Calibrating

Re: [RFC] ioctl(2) return value

2000-09-21 Thread Andries . Brouwer
Not only Sun does, Linux does too (e.g. in various networking ioctls). I would just fix the man page. Ach - more ugliness in Linux. New man page fragment: ... RETURN VALUE Usually, on success zero is returned. A few ioctls use the return value as an output parameter and

Re: [2.4.0-test9-pre5] SCSI still broken, trident/mixer still broken

2000-09-21 Thread Torben Mathiasen
Ok, small patch cooked up. Not tested, not compiled. Give it a try, and if it works please send it off to Linus. I really need to get some work done on a project... -- Torben Mathiasen [EMAIL PROTECTED] Linux ThunderLAN maintainer http://tlan.kernel.dk diff -ur --exclude-from=/root/torben

Re: [2.4.0-test9-pre5] SCSI still broken, trident/mixer still broken

2000-09-21 Thread Douglas Gilbert
.1.16 (2716)"; - static int sg_version_num = 30116; /* 2 digits for each component */ + static char * sg_version_str = "Version: 3.1.17 (2921)"; + static int sg_version_num = 30117; /* 2 digits for each component */ /* * D. P. Gilbert ([EMAIL PROTECTED], [EMAIL PROTECTED]), no

240-test[589] SMP lockups, confirming.

2000-09-21 Thread Elmer Joandi
Running here SMP dual celeron, 440BX, 2HD( Maxtor 1G IBM 9G) ISA 3c509, 128MB ram, nfsroot server for 2 clients, X, workstation, Once a day of serious usage computer locks up. Most part sysrq works. Now I had to work on text-console(test9 clean) for some days and got 2 lockups: 1. nfs was in

Re: strange BogoMIPS value

2000-09-21 Thread Marko Kreen
On Thu, Sep 21, 2000 at 10:39:27AM -0500, Erik McKee wrote: It seems as if linux 2.2.17 is calculating a strange value for my bogomips value. I thought is was supposed to be somewhere near the processor speed. Perhaps I am missing something? In 2.3.x they changed the BogoMIPS algorithm.

Re: [PATCH] ISAPNP using an invalid IO_APIC IRQ

2000-09-21 Thread Linus Torvalds
On Thu, 21 Sep 2000, M.H.VanLeeuwen wrote: Is this patch acceptable? Please explain. The test seems to be that "if there are IO_APICs, a PnP irq _has_ to be an IO_APIC irq". + if (!IO_APIC_IRQ(irq) io_apic_irqs) + return 1; Which makes no sense to me. Why would a

Re: [2.4.0-test9-pre5] SCSI still broken, trident/mixer still broken

2000-09-21 Thread Simon Kirby
On Thu, Sep 21, 2000 at 09:39:07PM +0200, Torben Mathiasen wrote: Ok, small patch cooked up. Not tested, not compiled. Give it a try, and if it works please send it off to Linus. I really need to get some work done on a project... This worked, thanks. :) Simon- [ Stormix Technologies Inc.

Re: [patch *] VM deadlock fix

2000-09-21 Thread Roger Larsson
Hi, Tried your patch on 2.2.4-test9-pre4 with the included debug patch applied. Rebooted, started mmap002 After a while it starts outputting (magic did not work this time - usually does): - - - "VM: try_to_free_pages (result: 1) try_again # 12345" "VM: try_to_free_pages (result: 1) try_again

Cannot boot with 2.4.0-test9-pre5

2000-09-21 Thread Carrer Yuri
Cannot boot with 2.4.0-test9-pre5 gcc 2.7.3 compiled as PIII the .config is the same of previous mails :) Yuri -- "I bambini nascono per essere felici" Jose' Marti'

Re: PROBLEM: umount report busy on r/o remount of root filesystem

2000-09-21 Thread Pavel Machek
Hi! Umount report "busy" when i try r/o remount the root filesystem at end of halt script. My halt script ends with: # Begin of halt kill -9 -1 umount -a mount -n -o remount,ro / BTW is this right? Does kill -9 guarantee that all syscalls are dead by the time it returns from kernel?

Re: [2.4.0-test9-pre5] SCSI still broken, trident/mixer still broken

2000-09-21 Thread Torben Mathiasen
On Thu, Sep 21 2000, Douglas Gilbert wrote: Torben Mathiasen wrote: Ok, small patch cooked up. Not tested, not compiled. Give it a try, and if it works please send it off to Linus. I really need to get some work done on a project... Here is a very similar patch that has been tested

Re: [IDE]2.4.0test9-pre1, CD drive on hpt366 not detected correctlyand locking up when activated

2000-09-21 Thread FORT David
Andre Hedrick wrote: The ATAPI-DMA code for the use of all addon cards is not native. You are not allowed to do ATAPI-DMA on these, yet. I do not care what the OEM claims with their drivers, Linux chipset code is not completed or started to do this in 95 % of the cases. Cheers, On Wed,

Re: [PATCH] Re: SCSI scanning

2000-09-21 Thread Michael Elizabeth Chastain
Torben Mathiasen wrote: I can't seem to find a clean way of getting the drivers outside "drivers/scsi" to link _after_ the other low-level drivers. Can you characterize the problem in more detail for me? That is, exactly what link order constraints you are trying to obey. I am thinking

Re: [PATCH] Re: SCSI scanning

2000-09-21 Thread Torben Mathiasen
On Thu, Sep 21 2000, Michael Elizabeth Chastain wrote: Torben Mathiasen wrote: I can't seem to find a clean way of getting the drivers outside "drivers/scsi" to link _after_ the other low-level drivers. Can you characterize the problem in more detail for me? That is, exactly what link

Re: linux-kernel-digest ?

2000-09-21 Thread Alan Cox
According to DaveM: No. (Sometimes he holds possibly bad opinnions as ferociously as Linus, but on the other hand, that Majordomo 1.x digester breaks structured MIME messages BADLY. It should be trivial to fix, but I don't hack Md, I hack ZMailer -- and also sometimes the

Re: Question: Using floating point in the kernel

2000-09-21 Thread Alan Cox
On Wed, 20 Sep 2000, Lyle Coder wrote: You cannot use MMX registers in the kernel either, since the kernel doesen't save and restore FX state (fxsave, fxrstor) either (just like (fsave/frstor). You might want to tell the software RAID maintainers that... RAID5 CRC calculations can be

Re: [RFC] ioctl(2) return value

2000-09-21 Thread Alan Cox
I've looked Singe UNIX Specification, Version 2 and there this seems perfectly acceptable. I'd like very much to have some feedback to do the RightThing (tm). The alternative of course would be to add a result field inside struct passed by pointer to ioctl call. Linux doesnt care. If

Re: Question: Using floating point in the kernel

2000-09-21 Thread Alan Cox
On Thu, Sep 21, 2000 at 11:36:17AM +, John Alvord wrote: A 2.5-time problem is that portions of the kernel are planned to become interruptible... so saving and restoring around a certain usage would be insufficient. It is sufficient when you do tsk-flags |= PF_USEDFPU first. Unless

Re: [RFC] ioctl(2) return value

2000-09-21 Thread Abramo Bagnara
Linus Torvalds wrote: On Thu, 21 Sep 2000, Abramo Bagnara wrote: In ALSA we use the return value from ioctl as a simple way to return a positive number to user space (if the return value is less than 0 we got error, of course) Looks fine to me. It's how most UNIX system calls work,

Re: [PATCH] Re: SCSI scanning

2000-09-21 Thread Michael Elizabeth Chastain
torben core-hosts/i2o-upper. Ok, I understand the problem. Can you elaborate some more on exactly which files go in "core", "hosts", and "upper"? My understanding is: # drivers/scsi scsi-core-files := scsi_mod.o scsi_syms.o scsi-hosts-files := ... everything not in core and upper

Re: [patch] mousedev.c

2000-09-21 Thread Vojtech Pavlik
On Fri, Sep 22, 2000 at 12:03:20AM +0900, Yoichi Imai wrote: I think it's a bug. I think it's a feature. --- linux-2.4.0-test8/drivers/input/mousedev.c Wed Aug 23 01:06:31 2000 +++ linux/drivers/input/mousedev.c Thu Sep 21 22:20:22 2000 @@ -121,12 +121,12 @@

USB behavior screwy for uhci.o in test9-pre5

2000-09-21 Thread Ari Pollak
Sometime between test9-pre3 and test9-pre5, the alternative UHCI driver (uhci.o) got screwed up - with my MS Natural Keyboard Pro in USB mode using the keybdev + hid + uhci driver, pressing one of caps/num/scroll lock turns the appropriate light on, but then when pressing the same

Re: strange BogoMIPS value

2000-09-21 Thread Alan Cox
It seems as if linux 2.2.17 is calculating a strange value for my bogomips value. I thought is was supposed to be somewhere near the processor speed. Perhaps I am missing something? bogo - see bogus ;) Its just an internal magic number - To unsubscribe from this list: send the line

Re: Question: Using floating point in the kernel

2000-09-21 Thread Andi Kleen
On Thu, Sep 21, 2000 at 11:08:36PM +0100, Alan Cox wrote: On Thu, Sep 21, 2000 at 11:36:17AM +, John Alvord wrote: A 2.5-time problem is that portions of the kernel are planned to become interruptible... so saving and restoring around a certain usage would be insufficient. It

Re: linux-kernel-digest ?

2000-09-21 Thread Steven Pritchard
Alan Cox said: Having slowly switched every list I have to run or help run to mailman I can recommend the pain of the switch over the pain of running majordomo There is a Majordomo 2 in development. I'm using it for all of my lists now. The upgrade from Majordomo 1 wasn't terribly painful.

Re: Question: Using floating point in the kernel

2000-09-21 Thread Alan Cox
It is sufficient when you do tsk-flags |= PF_USEDFPU first. Unless you sleep Unless I'm missing something the lazy FPU state save in the 2.4 switch_to will do the right thing at least on x86. Your kernel FPU state will overwrite the user FPU state in current, but that's ok because

Re: Question: Using floating point in the kernel

2000-09-21 Thread Andi Kleen
On Thu, Sep 21, 2000 at 11:28:26PM +0100, Alan Cox wrote: It is sufficient when you do tsk-flags |= PF_USEDFPU first. Unless you sleep Unless I'm missing something the lazy FPU state save in the 2.4 switch_to will do the right thing at least on x86. Your kernel FPU state will

Re: cPCI development

2000-09-21 Thread Alan Cox
} On Wed, 20 Sep 2000, Adrian Cox wrote: } cPCI is PCI + hotswap. Most people seem to ignore the hotswap, except at } tradeshows. } } ISPs certainly don't ignore hotswap. Unfortunately, Linux does. :) :( PowerPC has hotswap for Motorola boards thanks to Johnnie Peters and Matt Porter.

Re: Question: Using floating point in the kernel

2000-09-21 Thread Alan Cox
Well the code does a fnsave. Somebody never looked at the damn book! it Oh I did. And then I timed the performance for the copying cases Alan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at

Re: Strange virtual/physical address of global data

2000-09-21 Thread Alan Cox
unsigned long test_data; int init_module(void) { void *virt = test_data; unsigned long phys = virt_to_phys(virt); When I run this and check the valur of virt and phys, it appears that phys is outside the range of physical memory! That is, if I have 512MB of RAM, then phys is

Re: [Oops] Unable to handle kernel NULL pointer dereference

2000-09-21 Thread Igmar Palsenberg
EIP; c01527b9 check_idq+d/118 = Trace; c015357b dquot_transfer+28b/4c8 Trace; c01363d8 cached_lookup+10/54 Trace; c012c1e7 chown_common+ff/120 Trace; c01371a9 __user_walk+4d/58 Trace; c012c23b sys_chown+33/48 Trace; c011d630 sys_chown16+40/44 Trace; c0108d83

Re: Given an image, how can show its config?

2000-09-21 Thread Alan Cox
I would like to upgrade my kernel which is bundled with Red Hat. However, I don't want to lose modules/functions it has complied. How can I do it? Is there any command to check the current config and how can I check the modules it has as well? The Red Hat bundled source rpm package contains

Re: [PATCH] Re: SCSI scanning

2000-09-21 Thread Torben Mathiasen
On Thu, Sep 21 2000, Michael Elizabeth Chastain wrote: torben core-hosts/i2o-upper. Ok, I understand the problem. Can you elaborate some more on exactly which files go in "core", "hosts", and "upper"? My understanding is: # drivers/scsi scsi-core-files := scsi_mod.o

[DOC] Debugging early kernel hangs

2000-09-21 Thread Keith Owens
If a kernel hangs early in the boot process (before the console has been initialized) then printk is no use because you never see the output. There is a technique for using the video display to indicate boot progress so you can localize the problem. Reporting "my kernel hangs during boot at

ARP entry in /proc wrong?

2000-09-21 Thread his dad
Linux 2.4.0-test6 i386 I've just put a manual arp entry in for 192.168.56.1. arp -n does not show it. /proc/arp has the following line 192.168.56.10x10xc etc where the ipaddress and the HWtype are jammed against each other. dare i suggest this might be a bug? Regards hisdad -

Re: Question: Using floating point in the kernel

2000-09-21 Thread Richard B. Johnson
On Thu, 21 Sep 2000, Alan Cox wrote: It is sufficient when you do tsk-flags |= PF_USEDFPU first. Unless you sleep Unless I'm missing something the lazy FPU state save in the 2.4 switch_to will do the right thing at least on x86. Your kernel FPU state will overwrite the user

Re: /dev/f1

2000-09-21 Thread Michael Elizabeth Chastain
Hi Daniel, tar -cvf /dev/f1 . Take a look at the line before it: tar: tar -cvf /dev/f1 . This goal has been in the net/*/Makefile files a very long time. I see it in linux-0.99.1.tar! My guess is that the original author/user of this little goal liked to back up

Re: [DOC] Debugging early kernel hangs

2000-09-21 Thread Byron Stanoszek
On Fri, 22 Sep 2000, Keith Owens wrote: If a kernel hangs early in the boot process (before the console has been initialized) then printk is no use because you never see the output. There is a technique for using the video display to indicate boot progress so you can localize the problem.

[PATCH] RAID autorun fix (fwd)

2000-09-21 Thread Matthew Kirkwood
Tsk, forgot the cc. -- Forwarded message -- Date: Thu, 21 Sep 2000 23:59:09 +0100 (BST) From: Matthew Kirkwood [EMAIL PROTECTED] To: Linus Torvalds [EMAIL PROTECTED] Subject: [PATCH] RAID autorun fix Hi, The attached diff makes RAID autorun work for me. It transpired that

Re: [DOC] Debugging early kernel hangs

2000-09-21 Thread Keith Owens
On Thu, 21 Sep 2000 18:54:33 -0400 (EDT), Byron Stanoszek [EMAIL PROTECTED] wrote: On Fri, 22 Sep 2000, Keith Owens wrote: The idea is to write characters direct to the video screen during booting using a macro called VIDEO_CHAR. Why not just redirect printk() to output a string of characters

Re: lvm in 2.4.0-test9pre5

2000-09-21 Thread Peter Samuelson
[Andrea] LVM and MD have nothing common. They're two completly orthogonal piece of code Right. Functionally they overlap (lvm can do the equivalent of md linear) but structurally, the md drivers all operate under the md framework and user-toolset while lvm has its own framework and toolset.

Problem remains - page_launder? (Was: Re: [patch *] VM deadlock fix)

2000-09-21 Thread Roger Larsson
Hi again, Further hints. More testing (printks in refill_inactive and page_launder) reveals that refill_inactive works ok (16 pages) but page_launder never succeeds in my lockup state... (WHY) alloc fails since there is no inactive_clean and free is less than MIN. And then when page_launder

  1   2   3   >