Re: [patch][rfc][rft] vm throughput 2.4.2-ac4

2001-03-06 Thread Mike Galbraith
On Tue, 6 Mar 2001, Marcelo Tosatti wrote: > On Fri, 2 Mar 2001, Mike Galbraith wrote: > > > On Thu, 1 Mar 2001, Rik van Riel wrote: > > > > > > > The merging at the elevator level only works if the requests sent to > > > > > it are right next to each other on disk. This means that randomly > > >

Re: 2.4.2-ac13 make modules_install error

2001-03-06 Thread Matt Johnston
Hi. I've had the same problem, it also happens in 2.4.2ac12 Cheers, Matt Johnston On Wed, 7 Mar 2001 13:04, Frank Davis wrote: > Hello, >While 'make modules_install' on 2.4.2-ac13, I receive the following > error: > > make -C kernel modules_install > make[1]: Entering directory '/usr/src

RAID, 2.4.2 and Buslogic

2001-03-06 Thread Jauder Ho
Leonard, My story is somewhat similar to what Dick Johnson has encountered except this is with 2.4.2 running on a pentium 200. I encountered an oops last night while untarring a file. Upon reboot, it appears that the partition labels disappeared along with the superblock. Unfortunately, I was n

Re: Mapping a piece of one process' addrspace to another?

2001-03-06 Thread Marcelo Tosatti
On Wed, 7 Mar 2001, Alexander Viro wrote: > > > You are reinventing the wheel. > man ptrace (see PTRACE_{PEEK,POKE}{TEXT,DATA} and PTRACE_{ATTACH,CONT,DETACH}) With ptrace data will be copied twice. As far as I understood, Jeremy wants to avoid that. - To unsubscribe from this list: send t

Re: Kernel 2.4.3 and new aic7xxx

2001-03-06 Thread Aaron Tiensivu
> I suspect it's easier to just make the PCI layer call the probe function > in that order, instead of working around it in your driver. Jeff? Would 'pci=reverse' do the trick already? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL P

Re: scsi vs ide performance on fsync's

2001-03-06 Thread Andre Hedrick
On Wed, 7 Mar 2001, Jonathan Morton wrote: > Still doesn't make a difference - there is one revolution between writes, > no matter where on disk it is. Oh it does, because you are hitting the same sector with the same data. Rotate your buffer and then you will see the difference. > >Because of

Re: SLAB vs. pci_alloc_xxx in usb-uhci patch

2001-03-06 Thread Manfred Spraul
David Brownell wrote: > > There are two problems I see. > > (1) CONFIG_SLAB_DEBUG breaks the documented > requirement that the slab cache return adequately aligned > data ... adequately aligned for the _cpu_, not for some controllers. It's neither documented that HW_CACHEALIGN aligns to 16 byte

Re: conducting TCP sessions with non-local IPs

2001-03-06 Thread David
> So, if I configure the interface as suggested ("/sbin/ip addr add > 10.0.0.0/24 dev eth0") can I really bind to any IP in 10.0.0.0/24 and > conduct TCP sessions (as a client or server) using that IP--assuming all > the ARP, etc, issues are worked out? hostA: ip a a 10.0.0.0/24 brd + dev lo hos

Re: 2.4.2-ac13 make modules_install error

2001-03-06 Thread Keith Owens
On Wed, 7 Mar 2001 00:04:08 -0500 (EST), Frank Davis <[EMAIL PROTECTED]> wrote: >make[2]: Entering directory '/usr/src/linux/drivers/atm' >mkdir -p /lib/modules/2.4.2-ac13/kernel/$(shell ($CONFIG_SHELL) >$(TOPDIR)/scripts/pathdown.sh) >/bin/sh: CONFIG_SHELL: command not found >/bin/sh: TOPDIR: c

Re: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-uhci patch

2001-03-06 Thread David Brownell
> > At the time, I didn't feel like creating a custom sub-allocator just > > for USB, ... > > > > I'd be good to get it done "properly" at some point though. > > Something like > > struct pci_pool *pci_alloc_consistent_pool(int objectsize, int align) struct pci_pool * pci_create_consist

Re: Kernel 2.4.3 and new aic7xxx

2001-03-06 Thread Linus Torvalds
In article <[EMAIL PROTECTED]>, Justin T. Gibbs <[EMAIL PROTECTED]> wrote: >>I've a Super P6SBS motherboard with a builtin dual channel Adaptec 7890 >>Ultra II scsi controller. I'm attaching the console grab when booting >>2.4.3-pre2. The controller BIOS is configured to boot off the disk with >>s

Re:IMS Twin Turbo 128 framebuffer

2001-03-06 Thread James Simmons
>Is there any particular reason why imsttfb isn't available in the >i386 arch? > >It doesn't work in X either in spite of being "supported", but >that's not for this list. I had this card while working at suse and I did try to get it to work on ix86. The problem is the card is initialzed by its

Re: scsi vs ide performance on fsync's

2001-03-06 Thread Jonathan Morton
>I am not going to bite on your flame bate, and are free to waste you money. I don't flamebait. I was trying to clear up some confusion... >No, SCSI does with queuing. >I am saying that the ata/ide driver rips the heart out of the >io_request_lock what to darn long. This means that upon execut

Re: Mapping a piece of one process' addrspace to another?

2001-03-06 Thread Alexander Viro
You are reinventing the wheel. man ptrace (see PTRACE_{PEEK,POKE}{TEXT,DATA} and PTRACE_{ATTACH,CONT,DETACH}) Cheers, Al - To unsubscribe from this list: send the line "unsub

Re: Kernel 2.4.3 and new aic7xxx

2001-03-06 Thread Justin T. Gibbs
>I've a Super P6SBS motherboard with a builtin dual channel Adaptec 7890 >Ultra II scsi controller. I'm attaching the console grab when booting >2.4.3-pre2. The controller BIOS is configured to boot off the disk with >scsi id 0 on channel B. It looks like Doug was right to think that the function

Re: Kernel 2.4.3 and new aic7xxx

2001-03-06 Thread Rafael E. Herrera
"Justin T. Gibbs" wrote: > Can you provide me with a dmesg from a boot with aic7xxx=verbose? > I just tested this on a 3940AUW and the behavior was as expected. > Perhaps you have a motherboard based controller that has no seeprom? > I don't know how to detect flipped channels in that configuratio

Re: Microsoft ZERO Sector Virus, Result of Taskfile WAR

2001-03-06 Thread J. Dow
From: "Jens Axboe" <[EMAIL PROTECTED]> To: "Andre Hedrick" <[EMAIL PROTECTED]> Cc: "Alan Cox" <[EMAIL PROTECTED]>; "Linus Torvalds" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > > This is a LIE, it does not destroy the drive, only the partition table. > > Please recally the limited effects of "DiskD

Re:Escape sequences & console

2001-03-06 Thread James Simmons
I would say the escape sequence are for /dev/ttyX since only Vt emulate Dec VT 100s. The web site to look for this info is http://www.vt100.net MS: (n) 1. A debilitating and surprisingly widespread affliction that renders the sufferer barely able to perform the simplest task. 2. A disease. Jam

Mapping a piece of one process' addrspace to another?

2001-03-06 Thread Jeremy Elson
Greetings, Is there some way to map a piece of process X's address space into process Y, without X's knowledge or cooperation? (The non-cooperating nature of process X is why I can't use plain old shared memory.) Put another way, I need to grant Process Y permission to write into a private buff

Re: Incoming TCP TOS: A simple question, I would have thought...

2001-03-06 Thread David Luyer
> getsockopt(fd, SOL_IP, IP_TOS, .. Doesn't work. Returns the TOS of outgoing packets, which defaults to 0 even if there is a TOS set on incoming traffic... that was what I tried in my first test program. David. > cheers, > > lincoln. > > At 03:00 PM 7/03/2001 +1100, David Luyer wrote: > >

2.4.2-ac13 make modules_install error

2001-03-06 Thread Frank Davis
Hello, While 'make modules_install' on 2.4.2-ac13, I receive the following error: make -C kernel modules_install make[1]: Entering directory '/usr/src/linux/kernel' make[1]: Nothing to be done for 'modules_install'. .. make -C drivers modules_install make[1]: Entering directory ;/usr/src/linux

Re: Drive corruption with VIA VT82C686A (ABIT KT7-RAID) - Still -

2001-03-06 Thread Jonathan Morton
>VP_IDE: IDE controller on PCI bus 00 dev 39 >VP_IDE: chipset revision 16 >VP_IDE: not 100% native mode: will probe irqs later >ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx >VP_IDE: VIA vt82c686a (rev 22) IDE UDMA66 controller on pci00:07.1 >ide0: BM-DMA at 0xd00

Re: kernel lock contention and scalability

2001-03-06 Thread Jeff Dike
[EMAIL PROTECTED] said: > Here it is: > http://oss.sgi.com/projects/postwait/ > Check out the download section for a 2.4.0 patch. After having thought about this a bit more, I don't see why pw_post and pw_wait can't be implemented in userspace as: int pw_post(uid_t uid) { return(

Re: Incoming TCP TOS: A simple question, I would have thought...

2001-03-06 Thread Lincoln Dale
getsockopt(fd, SOL_IP, IP_TOS, .. cheers, lincoln. At 03:00 PM 7/03/2001 +1100, David Luyer wrote: >I've scrolled through various code in net/ipv4, and I can't see how to query >the TOS of an incoming TCP stream (or at the least, the TOS of the SYN which >initiated the connection). > >Someone

Incoming TCP TOS: A simple question, I would have thought...

2001-03-06 Thread David Luyer
I've scrolled through various code in net/ipv4, and I can't see how to query the TOS of an incoming TCP stream (or at the least, the TOS of the SYN which initiated the connection). Someone has sent in a feature request for squid which would require this, presumably so they can set the TOS in t

Re: conducting TCP sessions with non-local IPs

2001-03-06 Thread Bryan Rittmeyer
Jeremy Jackson wrote: > What the hell kind of monster are you making? There's got to be another way. heh. As I mentioned in my other response, we're doing TCP/IP load balance testing--so we need one linux system to act as many hosts. The only solution, short of using bind/connect/accept/etc wit

Re: Hashing and directories

2001-03-06 Thread Linus Torvalds
In article <[EMAIL PROTECTED]>, Jamie Lokier <[EMAIL PROTECTED]> wrote: >Pavel Machek wrote: >> > the space allowed for arguments is not a userland issue, it is a kernel >> > limit defined by MAX_ARG_PAGES in binfmts.h, so one could tweak it if one >> > wanted to without breaking any userland. >>

RE: Error compiling aic7xxx driver on 2.4.2-ac13

2001-03-06 Thread Phil Oester
I actually had the problem with lack-of-lex also, but worked through that... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alan Cox Sent: Tuesday, March 06, 2001 4:51 PM To: J . A . Magallon Cc: Phil Oester; [EMAIL PROTECTED] Subject: Re: Error compilin

Re: conducting TCP sessions with non-local IPs

2001-03-06 Thread Bryan Rittmeyer
Gregory Maxwell wrote: > I didn't pick-up on the fact that you planned on have other computers > listening with those addresses. We won't--without getting into the specifics (NDA) we are developing a TCP/IP load balance tester that needs to act--similtaneously--as many machines. It is certainly

Re: eject weirdness on NEC disc changer, kernel 2.4.2

2001-03-06 Thread Jim Breton
From: Walter Hofmann ([EMAIL PROTECTED]) Date: Mon Mar 05 2001 - 15:19:10 EST >> cancelling a burn session with cdrecord I am unable to eject the disc. >> However that was on kernel 2.2.x and using "real" scsi (not ide-scsi). >This was a bug in cdrecord which used generic scsi access to lock

Re: 2.4.2 ext2 filesystem corruption ? (was 2.4.2: What happened ? (No

2001-03-06 Thread Ben Greear
Alan Cox wrote: > > > running a bad hdparm command while running a full GNOME desktop: > > (This was not a good idea...and I know, and knew that...but) > > > > hdparm -X34 -d1 -u1 /dev/hda > > (As found here: http://www.oreillynet.com/pub/a/linux/2000/06/29/hdparm.html?page=2 > > > > Sorry fo

Re: Linux 2.4.2-ac12

2001-03-06 Thread God
On Tue, 6 Mar 2001, Alan Cox wrote: > > I have not had problems with 2.4.2, just tried 2.4.2-ac12. About the IDE > > stage it just reboots. > > Does ac11 also reboot like that. -ac is currently testing versions of the new > VIA IDE driver so knowing if the latest update did that would be very

Re: 2.2.18 - do_try_to_free_pages failed

2001-03-06 Thread Wayne Whitney
In mailing-lists.linux-kernel, you wrote: > I know that 2.2.19 is still in the -pre state. [ . . . ] Have > significant VM problems been fixed? Yes, 2.2.19-pre incorporates what was known as Andrea's VM-global patch, and it is widely reported to fix the exact problem you mentioned. Wayne - To

Re: 2.2.18 - do_try_to_free_pages failed

2001-03-06 Thread Thiago Rondon
> I know that 2.2.19 is still in the -pre state. Is it that much > better? Have significant VM problems been fixed? Yes. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majo

Re: kernel lock contention and scalability

2001-03-06 Thread Rajagopal Ananthanarayanan
Jeff Dike wrote: [ ... ] > > > Another synchronization method popular with database peeps is "post/ > > wait" for which SGI have a patch available for Linux. I understand > > that this is relatively "light weight" and might be a better choice > > for PG. > > URL? > >

Re: Patch submissions

2001-03-06 Thread Rik van Riel
On Tue, 6 Mar 2001, Andrew Morton wrote: > With respect, Rik. You haven't finished the 2.4 VM yet. > > It needs better design description. > Could you please take the time to raise a commentary patch > which describes the underlying design intent? OK, I'll go work on this... You are right, t

Re: 2.2.18 - do_try_to_free_pages failed

2001-03-06 Thread David Relson
Thiago, I know that 2.2.19 is still in the -pre state. Is it that much better? Have significant VM problems been fixed? Thanks. David At 08:48 PM 3/6/01, Thiago Rondon wrote: > > Mar 6 16:35:32 osage kernel: VM: do_try_to_free_pages failed for kswapd... > >Update your kernel to 2.2.19 and

Re: conducting TCP sessions with non-local IPs

2001-03-06 Thread Jeremy Jackson
Mike Fedyk wrote: > > [snip] > > > > /sbin/ip addr add 10.2.0.0/24 dev eth0 > > > > Tada > How would you deal with the other computer responding to the host "port not > reachable"? What the hell kind of monster are you making? There's got to be another way. - To unsubscribe from this list: sen

Re: The IO problem on multiple PCI busses

2001-03-06 Thread Tony Mantler
At 5:01 PM -0600 3/6/2001, Oliver Xymoron wrote: >On Fri, 2 Mar 2001, David S. Miller wrote: > >> > On PPC, we don't have an "IO" space neither, all we have is a range of >> > memory addresses that will cause IO cycles to happen on the PCI bus. >> >> This is precisely what the "next MMAP is XXX

Re: conducting TCP sessions with non-local IPs

2001-03-06 Thread Gregory Maxwell
On Tue, Mar 06, 2001 at 05:46:39PM -0800, Mike Fedyk wrote: > Gregory Maxwell wrote: > > > > On Tue, Mar 06, 2001 at 12:30:58PM -0800, Bryan Rittmeyer wrote: > > > Hello linux-kernel, > > > > > > Is there any way to conduct TCP sessions (IE have a userland process > > > connect out, or accept con

Re: kernel lock contention and scalability

2001-03-06 Thread Jeff Dike
[EMAIL PROTECTED] said: > If you're a UP system, it never makes sense to spin in userland, since > you'll just burn up a timeslice and prevent the lock holder from > running. I haven't looked, but assume that their code only uses > spinlocks on SMP. If you're an SMP system, then you shouldn't be u

Re: Forcible removal of modules

2001-03-06 Thread Keith Owens
On Tue, 6 Mar 2001 14:17:28 -0800 (PST), Thomas Hood <[EMAIL PROTECTED]> wrote: >My question is: Is there some better way of blocking >all open() calls to a particular device driver while >processes using it are being killed off? Not yet. There have been some off list discussions about redoing

IP autoconfig via DHCP?

2001-03-06 Thread Kenn Humborg
Quick question... Back in 2.2, we could use DHCP to auto-config the IP setup. In fact, the choice was DHCP, BOOTP or RARP. Now there is only BOOTP or RARP. What happened to DHCP support? Later, Kenn - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a m

Re: Linux installation problem (Microchannel)

2001-03-06 Thread Rick Hohensee
> >Standard Red Hat has no MCA support (sorry much as I love my PS/2 its >rather >hard to make an honest business case for the huge amount of extra work to >build MCA boot disks/CD images). Debian I believe should install >straight >out >of the box on most MCA bus PC systems > >Alan > Hard if yo

Re: conducting TCP sessions with non-local IPs

2001-03-06 Thread Mike Fedyk
Gregory Maxwell wrote: > > On Tue, Mar 06, 2001 at 12:30:58PM -0800, Bryan Rittmeyer wrote: > > Hello linux-kernel, > > > > Is there any way to conduct TCP sessions (IE have a userland process > > connect out, or accept connections) using non-local IPs? By "non-local" > > I just mean IPs that are

Re: 2.2.18 - do_try_to_free_pages failed

2001-03-06 Thread Thiago Rondon
> Mar 6 16:35:32 osage kernel: VM: do_try_to_free_pages failed for kswapd... Update your kernel to 2.2.19 and try again. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordo

Re: Drive corruption with VIA VT82C686A (ABIT KT7-RAID) - Still -

2001-03-06 Thread Peter DeVries
tried both 2.4.3-pre2 and 2.4.2-ac12. Same results with each. Let me know which reports are most important so I don't post more than necassary. I was able to get lspci -vvxxx, dmesg, hdparm -i, cat/proc/ide/via. I did notice it is detecting a 40w cable even though I am using a 80w. Could t

Re: Interesting fs corruption story

2001-03-06 Thread Ettore Perazzoli
On 06 Mar 2001 17:01:02 -0800, Tim Wright wrote: > Hi Ettore, > I have no idea if this is related to your problem since you didn't mention > that key part, but with the same drive, I managed to trash my root partition > incredibly badly by trying to use DMA and then do APM suspend or hibernate. >

Re: [PATCH] 2.2.18 IDE tape problem, with ide-scsi

2001-03-06 Thread Andre Hedrick
Chip, I thought O grabbed that from you... On Tue, 6 Mar 2001, Chip Salzenberg wrote: > With Andre's IDE subsystem, I found the below patch necessary to use > my IDE tape drive (Exabyte Eagle TR-4). Frankly, it's been so long > since I created this patch that I can't remember the detailed rea

Re: Interesting fs corruption story

2001-03-06 Thread Tim Wright
Hi Ettore, I have no idea if this is related to your problem since you didn't mention that key part, but with the same drive, I managed to trash my root partition incredibly badly by trying to use DMA and then do APM suspend or hibernate. On wakeup, I'd get an 'hda: lost interrupt' but then things

Re: Error compiling aic7xxx driver on 2.4.2-ac13

2001-03-06 Thread Alan Cox
> Which distro is yours ? In my Mandrake 8.0beta there is no /usr/include/db. > Mdk offers the 3 db libs (db1, db2, db3), so I had to create a symlink > /usr/include/db3 -> /usr/include/db. > > Which is the standard path ? At least, Mdk and RH (Alan...) differ. Im not too worried about this righ

Re: your mail

2001-03-06 Thread Don Dugger
Ying- I'm a little confused here. It's very hard to compare a UP application vs. the same app. converted to use threads. Unless the app. is structured such that multiple threads can run at the same time then no, you won't see any improvement by going to SMP, in fact a true single threaded app.

Re: Error compiling aic7xxx driver on 2.4.2-ac13

2001-03-06 Thread Alan Cox
> make[5]: Entering directory > `/usr/src/linux-2.4.2-ac13/drivers/scsi/aic7xxx/aicasm' > lex -t aicasm_scan.l > aicasm_scan.c > gcc -I/usr/include -ldb aicasm_gram.c aicasm_scan.c aicasm.c > aicasm_symbol.c -o aicasm > aicasm_symbol.c:39: db/db_185.h: No such file or directory You need db3/db3-

Re: Hashing and directories

2001-03-06 Thread Jamie Lokier
Pavel Machek wrote: > > the space allowed for arguments is not a userland issue, it is a kernel > > limit defined by MAX_ARG_PAGES in binfmts.h, so one could tweak it if one > > wanted to without breaking any userland. > > Which is exactly what I done on my system. 2MB for command line is > very

Re: [PATCH] 2.2.18 IDE tape problem, with ide-scsi

2001-03-06 Thread Chip Salzenberg
With Andre's IDE subsystem, I found the below patch necessary to use my IDE tape drive (Exabyte Eagle TR-4). Frankly, it's been so long since I created this patch that I can't remember the detailed reasons for the changes. But I knew them once. :-) And it works for me. Reminder, this is again

Re: kernel lock contention and scalability

2001-03-06 Thread Tim Wright
On Tue, Mar 06, 2001 at 11:39:17PM +, Matthew Kirkwood wrote: > On Tue, 6 Mar 2001, Jonathan Lahr wrote: > > [ sorry to reply over another reply, but I don't have > the original of this ] > > > > Tridge and I tried out the postgresql benchmark you used here and this > > > contention is due

Re: Error compiling aic7xxx driver on 2.4.2-ac13

2001-03-06 Thread John Cavan
Phil Oester wrote: > > one more try... > > anyone else get the following: > > make[5]: Entering directory > `/usr/src/linux-2.4.2-ac13/drivers/scsi/aic7xxx/aicasm' > lex -t aicasm_scan.l > aicasm_scan.c > gcc -I/usr/include -ldb aicasm_gram.c aicasm_scan.c aicasm.c > aicasm_symbol.c -o aicasm

Re: threads

2001-03-06 Thread J . A . Magallon
On 03.07 Ying Chen wrote: > 2. We ran multi-threaded application using Linux pthread library on 2-way > SMP and UP intel platforms (with both 2.2 and 2.4 kernels). We see > significant increase in context switching when moving from UP to SMP, and > high CPU usage with no performance gain in tu

Re: [patch][rfc][rft] vm throughput 2.4.2-ac4

2001-03-06 Thread Marcelo Tosatti
On Fri, 2 Mar 2001, Mike Galbraith wrote: > On Thu, 1 Mar 2001, Rik van Riel wrote: > > > > > The merging at the elevator level only works if the requests sent to > > > > it are right next to each other on disk. This means that randomly > > > > sending stuff to disk really DOES DESTROY PERFORM

Re: Error compiling aic7xxx driver on 2.4.2-ac13

2001-03-06 Thread Justin T. Gibbs
>make[5]: Entering directory >`/usr/src/linux-2.4.2-ac13/drivers/scsi/aic7xxx/aicasm' >lex -t aicasm_scan.l > aicasm_scan.c >gcc -I/usr/include -ldb aicasm_gram.c aicasm_scan.c aicasm.c >aicasm_symbol.c -o aicasm >aicasm_symbol.c:39: db/db_185.h: No such file or directory >make[5]: *** [aicasm] E

2.2.18 - do_try_to_free_pages failed

2001-03-06 Thread David Relson
This is my first report of a kernel crash, so if there is more information wanted, please let me know and I'll do my best to supply it. I'm running Mandrake 7.2 with a 2.2.18 kernel and GNOME, PIII 500 mhz, 256MB ram, AIC789x SCSI on mobo, Fujitsu 18GB scsi HD, ATI video card. This evening, xs

Re: Error compiling aic7xxx driver on 2.4.2-ac13

2001-03-06 Thread J . A . Magallon
On 03.07 Phil Oester wrote: > one more try... > > anyone else get the following: > > make[5]: Entering directory > `/usr/src/linux-2.4.2-ac13/drivers/scsi/aic7xxx/aicasm' > lex -t aicasm_scan.l > aicasm_scan.c > gcc -I/usr/include -ldb aicasm_gram.c aicasm_scan.c aicasm.c > aicasm_symbol.c -o

No Subject

2001-03-06 Thread Ying Chen
Hi, I have two questions on Linux pthread related issues. Would anyone be able to help? 1. Does any one have some suggestions (pointers) on good kernel Linux thread libraries? 2. We ran multi-threaded application using Linux pthread library on 2-way SMP and UP intel platforms (with both 2.2 a

v2.4.1-v2.4.3pre2 doesnt power off by halt or shutdown -h

2001-03-06 Thread Eugene Danilchenko
Hello i have such problem, with 2.2.17 halt or shutdown -h - are ok. but with 2.4.1, 2.4.2, 2.4.3-pre2 aren`t. maybe i make wrong .config? # # Automatically generated make config: don't edit # CONFIG_X86=y CONFIG_ISA=y # CONFIG_SBUS is not set CONFIG_UID16=y # # Code maturity level options # CON

Re: spinlock help

2001-03-06 Thread Nigel Gamble
On Tue, 6 Mar 2001, Manoj Sontakke wrote: > 1. when spin_lock_irqsave() function is called the subsequent code is > executed untill spin_unloc_irqrestore()is called. is this right? Yes. The protected code will not be interrupted, or simultaneously executed by another CPU. > 2. is this sequence

Re: Patch submissions

2001-03-06 Thread Andrew Morton
Rik van Riel wrote: > > On Tue, 6 Mar 2001, Alan Cox wrote: > > > I'm getting a notable increase in people sending me patches that > > do major things and should be 2.5 stuff. Please if you want to > > rewrite the VM completely, redesign the scsi layer and the like > > wait until 2.5. > > VM fo

Error compiling aic7xxx driver on 2.4.2-ac13

2001-03-06 Thread Phil Oester
one more try... anyone else get the following: make[5]: Entering directory `/usr/src/linux-2.4.2-ac13/drivers/scsi/aic7xxx/aicasm' lex -t aicasm_scan.l > aicasm_scan.c gcc -I/usr/include -ldb aicasm_gram.c aicasm_scan.c aicasm.c aicasm_symbol.c -o aicasm aicasm_symbol.c:39: db/db_185.h: No such

Re: kernel lock contention and scalability

2001-03-06 Thread Matthew Kirkwood
On Tue, 6 Mar 2001, Jonathan Lahr wrote: [ sorry to reply over another reply, but I don't have the original of this ] > > Tridge and I tried out the postgresql benchmark you used here and this > > contention is due to a bug in postgres. From a quick strace, we found > > the threads do a load o

Error compiling aic7xxx driver on 2.4.2-ac13

2001-03-06 Thread Phil Oester
anyone else get the following: make[5]: Entering directory ` - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: Linux 2.4.2-ac12

2001-03-06 Thread God
On Tue, 6 Mar 2001, Scott M. Hoffman wrote: > On Tue, 6 Mar 2001, God wrote: > > > # iostat > > Linux 2.4.2 (scotch)03/06/2001 > > I have not had problems with 2.4.2, just tried 2.4.2-ac12. About the IDE > stage it just reboots. Same chipset/mb? > As for your iostat output, which ver

[patch] smbfs: d_add + re-open fixes

2001-03-06 Thread Urban Widmark
Hello Enough details in the ChangeLog I hope. Patch vs 2.4.2-ac12 but appears to be clean vs 2.4.3-pre2 and the recently released -ac13. Please apply. /Urban diff -urN -X exclude linux-2.4.2-ac12-orig/fs/smbfs/ChangeLog linux-2.4.2-ac12-smbfs/fs/smbfs/ChangeLog --- linux-2.4.2-ac12-orig/fs/

Drive corruption with VIA VT82C686A (ABIT KT7-RAID) - Still -

2001-03-06 Thread Peter DeVries
Still having drive corruption issues with 2.4+ when DMA mode is enabled. Drive corruption is almost instant. attached are output files for the system with kernel 2.4.2 without DMA mode and with DMA. Immediatley after running those commands I attempted to do a copy with DMA on and the system

Re: scsi vs ide performance on fsync's

2001-03-06 Thread Mark Hahn
> itself is a bad thing, particularly given the amount of CPU overhead that > IDE drives demand while attached to the controller (orders of magnitude > higher than a good SCSI controller) - the more overhead we can hand off to I know this is just a troll by a scsi-believer, but I'm biting anyway.

Re: SLAB vs. pci_alloc_xxx in usb-uhci patch

2001-03-06 Thread David Brownell
> Anyways, is this the end of the discussion regarding my patch? I think one of the maintainers for usb-uhci (Georg) said he'd want the general fix ... > Manfred said plainly "usb-uhci is broken", Alan kinda > manuevered around my small problem, Dave Brownell looks > unconvinced. So? There are

ES1371 problem (2.4.2)

2001-03-06 Thread Will Newton
Approx. 90% of the time my es1371 sound card refuses to work. dmesg reveals: es1371: version v0.27 time 16:38:48 Mar 3 2001 es1371: found chip, vendor id 0x1274 device id 0x1371 revision 0x08 PCI: Found IRQ 10 for device 00:0b.0 es1371: found es1371 rev 8 at io 0xa400 irq 10 es1371: features: jo

Re: Linux 2.4.2ac13

2001-03-06 Thread Andrzej Krzysztofowicz
"Alan Cox wrote:" > > ftp://ftp.kernel.org/pub/linux/kernel/people/alan/2.4/ > The .gz patch file still seems to have zero size. Same mirrored :( Andrzej - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo

Re: The IO problem on multiple PCI busses

2001-03-06 Thread Oliver Xymoron
On Fri, 2 Mar 2001, David S. Miller wrote: > > On PPC, we don't have an "IO" space neither, all we have is a range of > > memory addresses that will cause IO cycles to happen on the PCI bus. > > This is precisely what the "next MMAP is XXX space" ioctl I've > suggested is for. I think I've add

Re: Linux 2.4.2ac13

2001-03-06 Thread Sergey Kubushin
Against vanilla 2.4.2: === Cut === Patch #0 (patch-2.4.2-ac13.bz2): + /usr/bin/bzip2 -d + patch -p1 -s The next patch would create the file drivers/video/sis/Makefile, which already exists! Assume -R? [n] Apply anyway? [n] 1 out of 1 hunk ignored -- saving rejects to file drivers/video/sis/Makef

Re: kernel lock contention and scalability

2001-03-06 Thread Jonathan Lahr
> Tridge and I tried out the postgresql benchmark you used here and this > contention is due to a bug in postgres. From a quick strace, we found > the threads do a load of select(0, NULL, NULL, NULL, {0,0}). Basically all > threads are pounding on schedule(). ... > Our guess is that the app has s

Re: Linux 2.4.2-ac12

2001-03-06 Thread Andre Hedrick
On Tue, 6 Mar 2001, Alan Cox wrote: > > Just trying 2.4.3-pre2 now. It appears to be working fine. I used the > > same config from my ac11-12 attempts. My systems problem with ac11-12 must > > not be something common between them. Hope this helps. > > It helps a lot. I now know not to submit

Linux 2.4.2ac13

2001-03-06 Thread Alan Cox
ftp://ftp.kernel.org/pub/linux/kernel/people/alan/2.4/ 2.4.2-ac13 o Clean up mad16 detection stuff (Pavel Rabel) o Fix epca unload (Andrey Panin) o Change null apic handling (Maciej Rozycki) o

Re: Linux 2.4.2-ac12

2001-03-06 Thread Alan Cox
> Just trying 2.4.3-pre2 now. It appears to be working fine. I used the > same config from my ac11-12 attempts. My systems problem with ac11-12 must > not be something common between them. Hope this helps. It helps a lot. I now know not to submit the VIA ide driver to Linus until further inves

Forcible removal of modules

2001-03-06 Thread Thomas Hood
Hi. Here's my question, with a little introduction. Sometimes modules need to be reloaded in order to cause some sort of reinitialization (of the driver or of the hardware) to occur. Sometimes this has to be done every time a machine is suspended. E.g., some sound driver modules need to be relo

Re: setleds source and ppp

2001-03-06 Thread Andries . Brouwer
> after each byte, downloaded from the internet, the CAPS LOCK led blinks. [poor you - you must have a slow connection] Two possibilities: (i) blink from user space, (ii) blink from kernel space. There is a program setleds in the kbd distribution that sets the leds. Source fragment: int setled

Re: conducting TCP sessions with non-local IPs

2001-03-06 Thread Gregory Maxwell
On Tue, Mar 06, 2001 at 12:30:58PM -0800, Bryan Rittmeyer wrote: > Hello linux-kernel, > > Is there any way to conduct TCP sessions (IE have a userland process > connect out, or accept connections) using non-local IPs? By "non-local" > I just mean IPs that aren't assigned to an interface, but do

Re: USB-keyboard not recognize after connection

2001-03-06 Thread Khalid Aziz
Otto Wyss wrote: > 3. How can I get more information what's happening? Is there any > USB-log/-trace accessable after the restart of linux? And whom/where do > I have to send it? > If you compiled your kernel with "USB verbose debug messages" (CONFIG_USB_DEBUG) enabled, USB subsystem should log

Re: Linux 2.4.2-ac12

2001-03-06 Thread Scott M. Hoffman
On Mon, 5 Mar 2001, Linus Torvalds wrote: > In article <[EMAIL PROTECTED]>, > Scott M. Hoffman <[EMAIL PROTECTED]> wrote: > > > > It may not be related, but out of five boot attempts, only one got past > >the IDE driver stage(ie, below from 2.4.2 : > > VP_IDE: IDE controller on PCI bus 00 dev 39

Re: Info on adding system calls

2001-03-06 Thread Peter Samuelson
[T.L.Madhu] > I want to add a function defined in my loadeble kernel module as > system call. You can't. At least not without hackery -- anything is possible with a bit of hackery. And there are at least two good reasons for this. First: adding syscalls at runtime is a recipe for chaos in ter

Re: Microsoft ZERO Sector Virus, Result of Taskfile WAR

2001-03-06 Thread Andre Hedrick
> So EOD from me. ditto... Andre Hedrick Linux ATA Development - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/l

Re: Microsoft ZERO Sector Virus, Result of Taskfile WAR

2001-03-06 Thread Jens Axboe
On Tue, Mar 06 2001, Andre Hedrick wrote: > > But I might want to do this (write sector 0), why would we want > > to filter that? If someone a) uses an email client that will execute > > java script code (or whatever) and b) runs that as root (which > > he would have to do, surely no ordinary user

Re: Patch submissions

2001-03-06 Thread Jeff Garzik
Rik van Riel wrote: > On Tue, 6 Mar 2001, Kurt Garloff wrote: > > On Tue, Mar 06, 2001 at 02:22:58PM -0300, Rik van Riel wrote: > > > probably even out of linux-kernel ... > > > > No. I want to see experimental stuff on l-k. That's what it's meant for. > > Putting the experimental stuff which isn

Re: TCP vegas implementation

2001-03-06 Thread Dan Hollis
On Tue, 6 Mar 2001, Mordechai Ovits wrote: > On Tue, Mar 06, 2001 at 12:03:02PM -0500, Hao Sun wrote: > > > From Neal Cardwell ([EMAIL PROTECTED]) > > > Tue, 20 Jul 1999 03:08:21 -0700 (PDT) > > > A new TCP Vegas patch for 2.2.10/2.3.10 is available at: > > > http://www.cs.washington.edu/homes/car

Re: Microsoft ZERO Sector Virus, Result of Taskfile WAR

2001-03-06 Thread Andre Hedrick
On Tue, 6 Mar 2001, James A. Sutherland wrote: > > Jens we are not going therethe filter is the only way known to jam > > unknown commands, > > Erm... the hoax "virus" was about writing to the first sector of the disk, > overriding the partition table. If "write data" is an "unknown command"

Re: Microsoft ZERO Sector Virus, Result of Taskfile WAR

2001-03-06 Thread James A. Sutherland
On Tue, 6 Mar 2001, Andre Hedrick wrote: > On Tue, 6 Mar 2001, Jens Axboe wrote: > > > But I might want to do this (write sector 0), why would we want > > to filter that? If someone a) uses an email client that will execute > > java script code (or whatever) and b) runs that as root (which > > he

Re: TCP vegas implementation

2001-03-06 Thread Mordechai Ovits
linux-vegas: http://pictures.care2.com/view/2/459681070 Really. Mordy On Tue, Mar 06, 2001 at 12:03:02PM -0500, Hao Sun wrote: > > > From Neal Cardwell ([EMAIL PROTECTED]) > > Tue, 20 Jul 1999 03:08:21 -0700 (PDT) > > > > Hi all, > > > > A new TCP Vegas patch for 2.2.10/2.3.10 is available a

Re: VFS: Cannot open root device

2001-03-06 Thread Jeremy Jackson
Peter Samuelson wrote: > [Jeremy Jackson] > > try command 'man mkinitrd' under redhat for hints about initial > > ramdisk. > > I have been puzzled about this for quite some time. Why exactly does > everyone always recommend using 'mkinitrd' on Red Hat systems? It > seems to me that if you are c

Re: binfmt_script and ^M

2001-03-06 Thread Thorsten Glaser Geuer
- Original Message - From: "David Weinehall" <[EMAIL PROTECTED]> To: "Sean Hunter" <[EMAIL PROTECTED]>; "Laramie Leavitt" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, 6. March 2001 15:37 Subject: Re: binfmt_script and ^M > On Tue, Mar 06, 2001 at 03:12:42PM +, Sean Hunte

Re: binfmt_script and ^M

2001-03-06 Thread Dr. Kelsey Hudson
On Tue, 6 Mar 2001, Peter Samuelson wrote: > [Dr. Kelsey Hudson] > > umm, last i checked a carriage return wasn't whitespace... space, > > horizontal tab, vertical tab, form feed constitute whitespace IIRC... > > Where and when did you check? Several sources disagree with you. a long while ago

Re: binfmt_script and ^M

2001-03-06 Thread Thorsten Glaser Geuer
- Original Message - From: "Jesse Pollard" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Richard B. Johnson" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, 5. March 2001 19:14 Subject: Re: binfmt_script and ^M > John Kodis <[EMAIL PROTECTED]>: > > On Mon,

Re: Microsoft ZERO Sector Virus, Result of Taskfile WAR

2001-03-06 Thread Andre Hedrick
On Tue, 6 Mar 2001, Jens Axboe wrote: > But I might want to do this (write sector 0), why would we want > to filter that? If someone a) uses an email client that will execute > java script code (or whatever) and b) runs that as root (which > he would have to do, surely no ordinary user has privil

  1   2   3   >