AMD-Viper & Maxtor 91536U6 dieing

2000-12-21 Thread Kurt Garloff
Hi Andre, I wonder if you know anything about a issues with AMD-Irongate IDE controller and a Maxtor IDE disk? Here's what happens: The thing runs fine in (hdparm -d1 -m8 -c1) mode, giving good performance and no problems for some time (something like some days, a week, a month). Then,

Re: TIOCGDEV ioctl

2000-12-21 Thread Dr. Werner Fink
On Fri, Dec 15, 2000 at 05:11:07PM -0800, Linus Torvalds wrote: > > > On Sat, 16 Dec 2000, Kurt Garloff wrote: > > > > The kernel provides this information -- sort of: > > It contains the TIOCTTYGSTRUCT syscall which returns a struct. Of course, > > it changes between different kernel archs

Problems in 2.4.0-test12

2000-12-21 Thread Arthur Pedyczak
Hi all, I had been running 2.4.0-test12 for 7 days. Worked great. Then the system just froze. No oopses, no log entries, no telneting to the box, no SysRq. Hard reboot. Some 12 hrs. later I got the following Oops in xfs. At that time I was installing Corel Photopaint and the install was going

[PATCH] typo in toshoboe driver

2000-12-21 Thread Christian Gennerat
with this error, receiving size was 0xf0f = 3855 instead of 0xfff = 4095 as specified diff -Bbu /src/linux/drivers/net/irda/toshoboe.c.orig /src/linux/drivers/net/irda/toshoboe.c --- toshoboe.c.orig Mon Nov 13 13:11:37 2000 +++ toshoboe.c Thu Dec 21 14:47:54 2000 @@ -191,8 +191,8 @@

Re: fs corruption in 2.4.0-test11?

2000-12-21 Thread David Weinehall
On Thu, Dec 21, 2000 at 10:31:56AM -0300, Horst von Brand wrote: > David Weinehall <[EMAIL PROTECTED]> said: > > On Wed, Dec 20, 2000 at 04:47:42PM -0800, Larry McVoy wrote: > > > I just need a sanity check - do other pages/blocks sometimes show > > > up in recently created files in 2.4.0-test11?

Re: fs corruption in 2.4.0-test11?

2000-12-21 Thread Horst von Brand
David Weinehall <[EMAIL PROTECTED]> said: > On Wed, Dec 20, 2000 at 04:47:42PM -0800, Larry McVoy wrote: > > I just need a sanity check - do other pages/blocks sometimes show up in > > recently created files in 2.4.0-test11? > Mmmm. Yes. I think the final fixes for this went into

Re: Mount system call hangs up the system

2000-12-21 Thread bert hubert
On Thu, Dec 21, 2000 at 05:47:10PM +0530, [EMAIL PROTECTED] wrote: > Hello Everybody > > I am trying to mount a filesystem on Linux 2.4.0-test10 kernel using the > mount() function. > When I call this function the system just hangs up. I have to restart > linux by switching off and on. > Can

Re: lockups from heavy IDE/CD-ROM usage

2000-12-21 Thread Zdenek Kabelac
> Problem: When i am using my harddrive and cdrom, my computer will freeze. > It freezes in two different ways.. sometimes just the harddrive access > will freeze (can still do things in X as long as they dont require the > harddrive), and then everything freezes within a few seconds. or else >

Re: Mount system call hangs up the system

2000-12-21 Thread Tigran Aivazian
On Thu, 21 Dec 2000 [EMAIL PROTECTED] wrote: > Can somebody tell me why mount call just hangs? Is there anyway to take a > dump when the call is being executed. You don't need a dump. Just go to the source and start inserting printk() statements all over the sys_mount/do_mount etc. and sooner

Re: OS Software?

2000-12-21 Thread Alex Belits
On Thu, 21 Dec 2000 [EMAIL PROTECTED] wrote: > Are you interested in Office 2000? I am selling perfectly working > copies > of Microsoft Office 2000 SR-1 Premium Edition for a flat price of > $50 USD. > The suite contains 4 discs and includes: > > Word > Excel > Outlook > PowerPoint >

Re: linux 2.2.19pre1 oops on cpuid (fwd)

2000-12-21 Thread M Sweger
-- Forwarded message -- Date: Wed, 20 Dec 2000 15:56:38 -0500 (EST) From: Alan Cox <[EMAIL PROTECTED]> To: M Sweger <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Subject: Re: linux 2.2.19pre1 oops on cpuid (fwd) > How would I activate the usb-serial in such a way as to activate the

Mount system call hangs up the system

2000-12-21 Thread sswapnee
Hello Everybody I am trying to mount a filesystem on Linux 2.4.0-test10 kernel using the mount() function. When I call this function the system just hangs up. I have to restart linux by switching off and on. Can somebody tell me why mount call just hangs? Is there anyway to take a dump when

Re: Weird vmstat reports in 2.2.18

2000-12-21 Thread john slee
On Wed, Dec 20, 2000 at 11:55:37AM -0300, [EMAIL PROTECTED] wrote: > I'm getting some strange reports with vmstat on a dual iPPro running 2.2.18, > it doesnt happen very frequently, but i see it a lot when compiling something > (kernel and mysql specially, not when compiling small stuff), though

[PATCH] Quota patches for test12

2000-12-21 Thread Jan Kara
Hello. I've ported my quota patches for 2.4.0-test12. You can download the patches from ftp://atrey.karlin.mff.cuni.cz/pub/local/jack/quota/v2.4/ quota-fix-2.4.0-test12-1.diff.gz and quota-patch-2.4.0-test12-1.diff.gz Honza - To unsubscribe from this

Re: Startup IPI (was: Re: test13-pre3)

2000-12-21 Thread Maciej W. Rozycki
On Wed, 20 Dec 2000, Petr Vandrovec wrote: > /usr/bin/time says that program runs for 3.40 - 3.56secs, so after dividing Well, the test looks reasonable if the system load is low. Still the performance is surprisingly low -- after changing the transfer width to 16 bits I ran the test on my

Re: [PATCH] swap write clustering

2000-12-21 Thread Marcelo Tosatti
On Thu, 21 Dec 2000, Andrew Morton wrote: > Marcelo Tosatti wrote: > > > > Hi, > > > > Basically this new swap_writepage function looks for dirty swapcache pages > > which may be contiguous (reverse and forward searching wrt to the physical > > address of the page being passed to

Re: [PATCH] swap write clustering

2000-12-21 Thread Andrew Morton
Marcelo Tosatti wrote: > > Hi, > > Basically this new swap_writepage function looks for dirty swapcache pages > which may be contiguous (reverse and forward searching wrt to the physical > address of the page being passed to swap_writepage) and builds a page list > which is written "at once". >

lockups from heavy IDE/CD-ROM usage

2000-12-21 Thread xOr
Hi, I've been experiencing this problem for a long time now (it occured even in 2.2, and now in 2.4), but its Areally starting to bother me so i thought i'd better post it here and see what you people have to say. Problem: When i am using my harddrive and cdrom, my computer will freeze. It

Re: Linux 2.2.19pre2

2000-12-21 Thread Andrew Morton
Andrea Arcangeli wrote: > > The fact you could mix non-exclusive and exlusive wakeups in the same waitqueue > was a feature not a misfeature. Then of course you cannot register in two > waitqueues one with wake-one and one with wake-all but who does that anyways? > Definitely not an issue for

Re: [Patch] performance enhancement for simple_strtoul

2000-12-21 Thread Bernd Schmidt
On Thu, 21 Dec 2000, Matthias Andree wrote: > > x * 10 can be written as: > > (x << 2 + x) << 1 = (4x+x) * 2 > (x << 3) + (x << 1) = 8x + 2x Or as "x * 10". Which has the advantage of actually being readable, and letting the compiler optimize it into one of the other forms if that's

OS Software?

2000-12-21 Thread heesun9
Are you interested in Office 2000? I am selling perfectly working copies of Microsoft Office 2000 SR-1 Premium Edition for a flat price of $50 USD. The suite contains 4 discs and includes: Word Excel Outlook PowerPoint Access FrontPage Publisher Small Business Tools PhotoDraw

Re: set_rtc_mmss: can't update from 0 to 59

2000-12-21 Thread Russell King
Paul Gortmaker writes: > It smells like policy in the kernel to me. What if a user wants to run NTP > but wants the CMOS RTC time as an independent clock to do something else > (possibly with the option of having a meaningful /etc/adjtime too) ? NTP and adjtime are synomonous - NTP uses the

Re: Strange warnings about .modinfo when compiling 2.2.18 on Alpha

2000-12-21 Thread Jesper Juhl <[EMAIL PROTECTED]>
On Thu, 21 Dec 2000, Keith Owens wrote: > The way .modinfo is created is a kludge to prevent the .modinfo section > being loaded as part of the module. The initial reference to .modinfo > creates it as non-allocated, later references try to allocate data in > the section. Older versions of

Re: kapm-idled : is this a bug?

2000-12-21 Thread Igmar Palsenberg
> > What's the problem with using PID 0 as the idle task ? That's 'standard' > > with OS'ses that display the idle task. > > Linux has already another thread with pid 0, called "swapper" which is > in fact idle. kidle-apmd is different beast. Agree that it is different. But it confuses people

Re: set_rtc_mmss: can't update from 0 to 59

2000-12-21 Thread Paul Gortmaker
Matthew Dharm wrote: > > On Sun, Dec 17, 2000 at 09:54:18PM +0100, [EMAIL PROTECTED] wrote: > > > Of course, messing with the cmos clock at all was a rather bad idea, > > but that is a different discussion. > > True enough... but, the question is, how do we fix this? Make the logic > more

Re: Extreme IDE slowdown with 2.2.18

2000-12-21 Thread Mike A. Harris
On Wed, 20 Dec 2000, Barry K. Nathan wrote: >[snip] >> message saying UDMA 3/4/5 is not supported. It also claims the >> MVP3 chipset is UDMA-33 only, whereas all relevant docs I can >> muster including the mobo manual state the board is UDMA-66 >> capable. Mental note to myself: Do not enable

Re: [Patch] performance enhancement for simple_strtoul

2000-12-21 Thread Matthias Andree
On Wed, 20 Dec 2000, Steve Grubb wrote: > +while (isdigit(c)) { > +result = (result*10) + (c & 0x0f); > +c = *(++cp); > +} x * 10 can be written as: (x << 2 + x) << 1 = (4x+x) * 2

Re: Unknown PCI device?

2000-12-21 Thread Mike A. Harris
On 21 Dec 2000, Thierry Vignaud wrote: >Date: 21 Dec 2000 10:07:12 +0100 >From: Thierry Vignaud <[EMAIL PROTECTED]> >To: Mike A. Harris <[EMAIL PROTECTED]> >Cc: Linux Kernel mailing list <[EMAIL PROTECTED]> >Content-Type: text/plain; charset=us-ascii >Subject: Re: Unknown PCI device? > >"Mike A.

Re: Unknown PCI device?

2000-12-21 Thread Thierry Vignaud
"Mike A. Harris" <[EMAIL PROTECTED]> writes: > Anyone know what this is? > > 00:07.3 Host bridge: VIA Technologies, Inc.: Unknown device 3050 (rev 30) > Flags: medium devsel if its pci id is 0x11063050, then it's a VIA Power Management Controller. - To unsubscribe from this list: send

Unknown PCI device?

2000-12-21 Thread Mike A. Harris
Anyone know what this is? 00:07.3 Host bridge: VIA Technologies, Inc.: Unknown device 3050 (rev 30) Flags: medium devsel Kernel 2.2.18 + IDE patches. -- Mike A. Harris - Linux advocate - Open source

Re: Extreme IDE slowdown with 2.2.18

2000-12-21 Thread Barry K. Nathan
Mike A. Harris wrote: [snip] > message saying UDMA 3/4/5 is not supported. It also claims the > MVP3 chipset is UDMA-33 only, whereas all relevant docs I can > muster including the mobo manual state the board is UDMA-66 > capable. Mental note to myself: Do not enable WORD93 invalidate. > ;o)

Re: Extreme IDE slowdown with 2.2.18

2000-12-21 Thread Barry K. Nathan
Mike A. Harris wrote: [snip] message saying UDMA 3/4/5 is not supported. It also claims the MVP3 chipset is UDMA-33 only, whereas all relevant docs I can muster including the mobo manual state the board is UDMA-66 capable. Mental note to myself: Do not enable WORD93 invalidate. ;o) I'm

Unknown PCI device?

2000-12-21 Thread Mike A. Harris
Anyone know what this is? 00:07.3 Host bridge: VIA Technologies, Inc.: Unknown device 3050 (rev 30) Flags: medium devsel Kernel 2.2.18 + IDE patches. -- Mike A. Harris - Linux advocate - Open source

Re: Unknown PCI device?

2000-12-21 Thread Thierry Vignaud
"Mike A. Harris" [EMAIL PROTECTED] writes: Anyone know what this is? 00:07.3 Host bridge: VIA Technologies, Inc.: Unknown device 3050 (rev 30) Flags: medium devsel if its pci id is 0x11063050, then it's a VIA Power Management Controller. - To unsubscribe from this list: send the

Re: Unknown PCI device?

2000-12-21 Thread Mike A. Harris
On 21 Dec 2000, Thierry Vignaud wrote: Date: 21 Dec 2000 10:07:12 +0100 From: Thierry Vignaud [EMAIL PROTECTED] To: Mike A. Harris [EMAIL PROTECTED] Cc: Linux Kernel mailing list [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii Subject: Re: Unknown PCI device? "Mike A. Harris"

Re: [Patch] performance enhancement for simple_strtoul

2000-12-21 Thread Matthias Andree
On Wed, 20 Dec 2000, Steve Grubb wrote: +while (isdigit(c)) { +result = (result*10) + (c 0x0f); +c = *(++cp); +} x * 10 can be written as: (x 2 + x) 1 = (4x+x) * 2 (x 3) +

Re: Extreme IDE slowdown with 2.2.18

2000-12-21 Thread Mike A. Harris
On Wed, 20 Dec 2000, Barry K. Nathan wrote: [snip] message saying UDMA 3/4/5 is not supported. It also claims the MVP3 chipset is UDMA-33 only, whereas all relevant docs I can muster including the mobo manual state the board is UDMA-66 capable. Mental note to myself: Do not enable WORD93

Re: set_rtc_mmss: can't update from 0 to 59

2000-12-21 Thread Paul Gortmaker
Matthew Dharm wrote: On Sun, Dec 17, 2000 at 09:54:18PM +0100, [EMAIL PROTECTED] wrote: Of course, messing with the cmos clock at all was a rather bad idea, but that is a different discussion. True enough... but, the question is, how do we fix this? Make the logic more buff? Or

Re: kapm-idled : is this a bug?

2000-12-21 Thread Igmar Palsenberg
What's the problem with using PID 0 as the idle task ? That's 'standard' with OS'ses that display the idle task. Linux has already another thread with pid 0, called "swapper" which is in fact idle. kidle-apmd is different beast. Agree that it is different. But it confuses people to have

Re: set_rtc_mmss: can't update from 0 to 59

2000-12-21 Thread Russell King
Paul Gortmaker writes: It smells like policy in the kernel to me. What if a user wants to run NTP but wants the CMOS RTC time as an independent clock to do something else (possibly with the option of having a meaningful /etc/adjtime too) ? NTP and adjtime are synomonous - NTP uses the

OS Software?

2000-12-21 Thread heesun9
Are you interested in Office 2000? I am selling perfectly working copies of Microsoft Office 2000 SR-1 Premium Edition for a flat price of $50 USD. The suite contains 4 discs and includes: Word Excel Outlook PowerPoint Access FrontPage Publisher Small Business Tools PhotoDraw

Re: [Patch] performance enhancement for simple_strtoul

2000-12-21 Thread Bernd Schmidt
On Thu, 21 Dec 2000, Matthias Andree wrote: x * 10 can be written as: (x 2 + x) 1 = (4x+x) * 2 (x 3) + (x 1) = 8x + 2x Or as "x * 10". Which has the advantage of actually being readable, and letting the compiler optimize it into one of the other forms if that's profitable on the

Re: Linux 2.2.19pre2

2000-12-21 Thread Andrew Morton
Andrea Arcangeli wrote: The fact you could mix non-exclusive and exlusive wakeups in the same waitqueue was a feature not a misfeature. Then of course you cannot register in two waitqueues one with wake-one and one with wake-all but who does that anyways? Definitely not an issue for 2.2.x.

lockups from heavy IDE/CD-ROM usage

2000-12-21 Thread xOr
Hi, I've been experiencing this problem for a long time now (it occured even in 2.2, and now in 2.4), but its Areally starting to bother me so i thought i'd better post it here and see what you people have to say. Problem: When i am using my harddrive and cdrom, my computer will freeze. It

Re: [PATCH] swap write clustering

2000-12-21 Thread Andrew Morton
Marcelo Tosatti wrote: Hi, Basically this new swap_writepage function looks for dirty swapcache pages which may be contiguous (reverse and forward searching wrt to the physical address of the page being passed to swap_writepage) and builds a page list which is written "at once". The

Re: Startup IPI (was: Re: test13-pre3)

2000-12-21 Thread Maciej W. Rozycki
On Wed, 20 Dec 2000, Petr Vandrovec wrote: /usr/bin/time says that program runs for 3.40 - 3.56secs, so after dividing Well, the test looks reasonable if the system load is low. Still the performance is surprisingly low -- after changing the transfer width to 16 bits I ran the test on my

[PATCH] Quota patches for test12

2000-12-21 Thread Jan Kara
Hello. I've ported my quota patches for 2.4.0-test12. You can download the patches from ftp://atrey.karlin.mff.cuni.cz/pub/local/jack/quota/v2.4/ quota-fix-2.4.0-test12-1.diff.gz and quota-patch-2.4.0-test12-1.diff.gz Honza - To unsubscribe from this

Mount system call hangs up the system

2000-12-21 Thread sswapnee
Hello Everybody I am trying to mount a filesystem on Linux 2.4.0-test10 kernel using the mount() function. When I call this function the system just hangs up. I have to restart linux by switching off and on. Can somebody tell me why mount call just hangs? Is there anyway to take a dump when

Re: linux 2.2.19pre1 oops on cpuid (fwd)

2000-12-21 Thread M Sweger
-- Forwarded message -- Date: Wed, 20 Dec 2000 15:56:38 -0500 (EST) From: Alan Cox [EMAIL PROTECTED] To: M Sweger [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: linux 2.2.19pre1 oops on cpuid (fwd) How would I activate the usb-serial in such a way as to activate the

Re: OS Software?

2000-12-21 Thread Alex Belits
On Thu, 21 Dec 2000 [EMAIL PROTECTED] wrote: Are you interested in Office 2000? I am selling perfectly working copies of Microsoft Office 2000 SR-1 Premium Edition for a flat price of $50 USD. The suite contains 4 discs and includes: Word Excel Outlook PowerPoint Access

Re: lockups from heavy IDE/CD-ROM usage

2000-12-21 Thread Zdenek Kabelac
Problem: When i am using my harddrive and cdrom, my computer will freeze. It freezes in two different ways.. sometimes just the harddrive access will freeze (can still do things in X as long as they dont require the harddrive), and then everything freezes within a few seconds. or else

Re: Mount system call hangs up the system

2000-12-21 Thread Tigran Aivazian
On Thu, 21 Dec 2000 [EMAIL PROTECTED] wrote: Can somebody tell me why mount call just hangs? Is there anyway to take a dump when the call is being executed. You don't need a dump. Just go to the source and start inserting printk() statements all over the sys_mount/do_mount etc. and sooner or

Re: Mount system call hangs up the system

2000-12-21 Thread bert hubert
On Thu, Dec 21, 2000 at 05:47:10PM +0530, [EMAIL PROTECTED] wrote: Hello Everybody I am trying to mount a filesystem on Linux 2.4.0-test10 kernel using the mount() function. When I call this function the system just hangs up. I have to restart linux by switching off and on. Can somebody

Re: fs corruption in 2.4.0-test11?

2000-12-21 Thread Horst von Brand
David Weinehall [EMAIL PROTECTED] said: On Wed, Dec 20, 2000 at 04:47:42PM -0800, Larry McVoy wrote: I just need a sanity check - do other pages/blocks sometimes show up in recently created files in 2.4.0-test11? Mmmm. Yes. I think the final fixes for this went into v2.4.0-test12pre5, but

[PATCH] typo in toshoboe driver

2000-12-21 Thread Christian Gennerat
with this error, receiving size was 0xf0f = 3855 instead of 0xfff = 4095 as specified diff -Bbu /src/linux/drivers/net/irda/toshoboe.c.orig /src/linux/drivers/net/irda/toshoboe.c --- toshoboe.c.orig Mon Nov 13 13:11:37 2000 +++ toshoboe.c Thu Dec 21 14:47:54 2000 @@ -191,8 +191,8 @@

Re: fs corruption in 2.4.0-test11?

2000-12-21 Thread David Weinehall
On Thu, Dec 21, 2000 at 10:31:56AM -0300, Horst von Brand wrote: David Weinehall [EMAIL PROTECTED] said: On Wed, Dec 20, 2000 at 04:47:42PM -0800, Larry McVoy wrote: I just need a sanity check - do other pages/blocks sometimes show up in recently created files in 2.4.0-test11? Mmmm.

Problems in 2.4.0-test12

2000-12-21 Thread Arthur Pedyczak
Hi all, I had been running 2.4.0-test12 for 7 days. Worked great. Then the system just froze. No oopses, no log entries, no telneting to the box, no SysRq. Hard reboot. Some 12 hrs. later I got the following Oops in xfs. At that time I was installing Corel Photopaint and the install was going

Re: TIOCGDEV ioctl

2000-12-21 Thread Dr. Werner Fink
On Fri, Dec 15, 2000 at 05:11:07PM -0800, Linus Torvalds wrote: On Sat, 16 Dec 2000, Kurt Garloff wrote: The kernel provides this information -- sort of: It contains the TIOCTTYGSTRUCT syscall which returns a struct. Of course, it changes between different kernel archs and

AMD-Viper Maxtor 91536U6 dieing

2000-12-21 Thread Kurt Garloff
Hi Andre, I wonder if you know anything about a issues with AMD-Irongate IDE controller and a Maxtor IDE disk? Here's what happens: The thing runs fine in (hdparm -d1 -m8 -c1) mode, giving good performance and no problems for some time (something like some days, a week, a month). Then,

Want to join

2000-12-21 Thread ttt tttt
want to join linux-kernel __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: fs corruption in 2.4.0-test11?

2000-12-21 Thread Horst von Brand
David Weinehall [EMAIL PROTECTED] said: On Thu, Dec 21, 2000 at 10:31:56AM -0300, Horst von Brand wrote: David Weinehall [EMAIL PROTECTED] said: On Wed, Dec 20, 2000 at 04:47:42PM -0800, Larry McVoy wrote: I just need a sanity check - do other pages/blocks sometimes show up in

Limiting disk-io

2000-12-21 Thread Erik Tews
Hi I am going to create a shell-server for a networking-meeting with cd-writer. Usually, this is not a problem, but I would like to know if there are any kernel-patches which can limit the io-bandwidth for a user to the harddisk so that a user which is using the cd-writer has at least x kb/s.

Re: Linux 2.2.19pre2

2000-12-21 Thread Andrea Arcangeli
On Thu, Dec 21, 2000 at 09:38:43PM +1100, Andrew Morton wrote: Andrea Arcangeli wrote: The fact you could mix non-exclusive and exlusive wakeups in the same waitqueue was a feature not a misfeature. Then of course you cannot register in two waitqueues one with wake-one and one with

Re: memmove() in 2.4.0-test12, alpha platform

2000-12-21 Thread Ivan Kokshaysky
On Wed, Dec 20, 2000 at 10:03:42PM +0300, Alexander Zarochentcev wrote: New (since test12) optimized memmove function seems to be broken on alpha platform. Indeed it is. If dest and src arguments are misaligned, new memmove does wrong things. Actually it broke when dest src. Incrementing

2.4.0-12: Hard Hang related to Serial Mouse

2000-12-21 Thread Jim Bray
I'm not on this list, so please respond directly to me for more info. I was running 2.4.0-12 (back to -10 now), K6-2 chip. With -12, the system would hard-hang quite frequently. Complete lockup: no response to alt-sysrq, so no info available. Eventually I figured out that this was only

Re: [Patch] performance enhancement for simple_strtoul

2000-12-21 Thread Alan Cox
On Wed, 20 Dec 2000, Steve Grubb wrote: +while (isdigit(c)) { +result = (result*10) + (c 0x0f); +c = *(++cp); +} x * 10 can be written as: (x 2 + x) 1 = (4x+x) * 2

Re: [RFC] Semaphores used for daemon wakeup

2000-12-21 Thread Tim Wright
On Wed, Dec 20, 2000 at 02:34:56AM +0100, Daniel Phillips wrote: Yes, I see. There are a lot of similarities to the situation I described. The main difference between this situation and bdflush is that dmabuf_free isn't really waiting on dmabuf_alloc to fullfill a condition (other than to

Re: [PATCH] Quota patches for test12

2000-12-21 Thread Jan Kara
I've ported my quota patches for 2.4.0-test12. You can download the patches from ftp://atrey.karlin.mff.cuni.cz/pub/local/jack/quota/v2.4/ quota-fix-2.4.0-test12-1.diff.gz and quota-patch-2.4.0-test12-1.diff.gz Sorry to follow up myself. I had better tell what those patches do :-):

Re: tighter compression for x86 kernels

2000-12-21 Thread John Reiser
Both source (GPLv2) and pre-compiled binary for x86 are available. ^ That's not true. Read http://wildsau.idv.uni-linz.ac.at/mfx/upx-license.html The UPX team owns all copyright in all of UPX and in each part of UPX. Therefore, the UPX team may choose which license(s),

[PATCH] few fixes for ymf_sb.c in test13pre3-ac3

2000-12-21 Thread Pavel Roskin
Hello, Alan! Thank you for applying my patch to test13pre3-ac3! However, there is a glaring bug in drivers/sound/Config.in - CONFIG_SOUND_YMFPCI is declared twice - once outside CONFIG_OSS, then inside CONFIG_OSS. I'm removing the later declaration. CONFIG_SOUND_YMPCI should be disabled if the

Re: [PATCH] few fixes for ymf_sb.c in test13pre3-ac3

2000-12-21 Thread Alan Cox
CONFIG_SOUND_YMFPCI is declared twice - once outside CONFIG_OSS, then inside CONFIG_OSS. I'm removing the later declaration. Its an in progress thing. The next stage is to remove ymf_sb completely as we have done in 2.2.19pre and to put the ymf_sb midi magic into it - To unsubscribe from this

Oop in 2.4.0-test12

2000-12-21 Thread Ian Hastie
Looks like page_launder is still causing problems. I was using ReiserFS version 3.6.23. As far as I remember it was running Seti@Home 3.03 and compile qt-2.2.3. I was able to run ksymoops without rebooting. ksymoops 2.3.5 on i686 2.4.0-test12. Options used -v /boot/vmlinux-2.4.0-test12

Re: Linux 2.2.19pre2

2000-12-21 Thread Rik van Riel
On Thu, 21 Dec 2000, Andrea Arcangeli wrote: The key question is: which of the following do we want? a) A simple, specific accept()-accelerator, and 2.2 remains without an exclusive wq API or To make the accellerator we need a minimal wake-one support. So a) doesn't make sense to

Re: Linux 2.2.19pre2

2000-12-21 Thread Andrea Arcangeli
On Thu, Dec 21, 2000 at 03:07:08PM -0200, Rik van Riel wrote: c) will also implement a) in an obviously right and simple way. So go ahead. If you think that's so simple and obviously right you can post here a patch here against 2.2.19pre2 that implements C) to show real facts. My B is here:

Re: CPU attachent and detachment in a running Linux system

2000-12-21 Thread Heiko . Carstens
Hi, That's a good point and it would probably work for attachment of cpus, but it won't work for detachment because there are some data structures that need to be updated if a cpu gets detached. For example it would be nice [...] So at least for detaching it would make sense to register

Re: 2.2.18 signal.h

2000-12-21 Thread Thomas Dodd
Andrea Arcangeli wrote: On Fri, Dec 15, 2000 at 05:55:08PM -0200, Rik van Riel wrote: On Fri, 15 Dec 2000, Andrea Arcangeli wrote: x() { switch (1) { case 0: case 1: case 2: case 3: ; } } Why am I required to put a `;' only

IDE woes:linux and BIOS won't agree on C/H/S detection

2000-12-21 Thread Ishikawa
IDE woes. Sorry for this lengthy post, I read ide.txt, large-disk-howto.txt and experimented with fdisk (DOS/WIN), dd, and a few other tricks, but can't seem to be able to solve a question. Big Question - 1: I have a 20GB seagate ATA disk. My Board BIOS recognizes the CHS geometry when it

strange nfs behavior in 2.2.18 and 2.4.0-test12

2000-12-21 Thread John Covici
Hi. I am having strange nfs problems in both my 2.x and 2.4.0-test12 kernels. What is happening is that when the machine boots up and exports the directories for nfs, it complains that ccs2:/ invalid argument . The exports entry is / ccs2(rw,no_root_squash) Now in Kernel 2.2.18, if I stop

Re: Unknown PCI device?

2000-12-21 Thread Bruce Korb
"Mike A. Harris" wrote: Anyone know what this is? 00:07.3 Host bridge: VIA Technologies, Inc.: Unknown device 3050 (rev 30) Flags: medium devsel if its pci id is 0x11063050, then it's a VIA Power Management Controller. 00:07.3 Class 0600: 1106:3050 (rev 30) Flags:

2.4.0 kernels and vpn

2000-12-21 Thread John Covici
Hi. Is there a way to support vpn in the 2.4.0 kernels like we had with the patch for the 2.2.x kernels? Any assistance would be appreciated. -- John Covici [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: Oops with 2.4.0-test13pre3 - swapoff

2000-12-21 Thread Marcelo Tosatti
On Wed, 20 Dec 2000, Zdenek Kabelac wrote: Zdenek Kabelac wrote: This is oops I've got when rebooting after some heavy disk activity on my SMP system: Written by hand: kernel BUG swap_state.c:78! [snip] Same here during a halt of a RH 6.2 based K6-2 500 MHz UP

Re: strange nfs behavior in 2.2.18 and 2.4.0-test12

2000-12-21 Thread Charles Wilkins
I can confirm this problem exists in Mandrake-7.2 as well with kernel 2.2.17-21. - Original Message - From: "John Covici" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 21, 2000 1:37 PM Subject: strange nfs behavior in 2.2.18 and 2.4.0-test12 Hi. I am having strange

Re: kapm-idled : is this a bug?

2000-12-21 Thread Albert D. Cahalan
Agree that it is different. But it confuses people to have two idle-tasks. I suggest that we throw it one big pile, unless having a separate apm idle task has a purpose. You can't do that. Sure you can, and it makes perfect sense. Doing it this way is _way_ better for system stability,

Re: Oop in 2.4.0-test12

2000-12-21 Thread Mike Galbraith
On Thu, 21 Dec 2000, Ian Hastie wrote: Looks like page_launder is still causing problems. I was using ReiserFS version 3.6.23. As far as I remember it was running Seti@Home 3.03 and compile qt-2.2.3. I was able to run ksymoops without rebooting. So, can you (or anyone) reproduce any

Re: [RFC] Semaphores used for daemon wakeup

2000-12-21 Thread Paul Cassella
The mechanism being developed here seems a lot like synchronization variables (aka condition variables), which are a part of the "monitor" synchronization construct. There is a simple implementation of them in the xfs patch. I've been working on a more general version in order to aid porting

Re: lockups from heavy IDE/CD-ROM usage

2000-12-21 Thread safemode
Zdenek Kabelac wrote: > Problem: When i am using my harddrive and cdrom, my computer will freeze. > It freezes in two different ways.. sometimes just the harddrive access > will freeze (can still do things in X as long as they dont require the > harddrive), and then everything freezes within a

Wiring down Pages

2000-12-21 Thread Sourav Sen
Hi, I am a novice in this exciting kernel world, so my questions may be a bit naive, please bear with me.(I am student at IISc, Bangalore). Suppose I want to wire-down( as they call in BSD ) a page in memory, how I go about doing that? (I guess by setting the PG_locked bit of

Re: Blow Torch (Re: lockups from heavy IDE/CD-ROM usage)

2000-12-21 Thread Richard B. Johnson
On Thu, 21 Dec 2000, Andre Hedrick wrote: On Thu, 21 Dec 2000, safemode wrote: I get this on the 440LX with the same DMA timeout message. Everyone says it's the board's fault as well. Funny. Anyways this happens accross just about any Dev kernel but more so in the -test12 and up

bigphysarea support in 2.2.19 and 2.4.0 kernels

2000-12-21 Thread Jeff V. Merkey
A question related to bigphysarea support in the native Linux 2.2.19 and 2.4.0 kernels. I know there are patches for this support, but is it planned for rolling into the kernel by default to support Dolphin SCI and some of the NUMA Clustering adapters. I see it there for some of the video

Re: Wiring down Pages

2000-12-21 Thread Rik van Riel
On Fri, 22 Dec 2000, Sourav Sen wrote: Suppose I want to wire-down( as they call in BSD ) a page in memory, how I go about doing that? (I guess by setting the PG_locked bit of the flags field in the struct page, I can do it, am I right?) Linux simply uses page-count for this. By using

Re: IDE woes:linux and BIOS won't agree on C/H/S detection

2000-12-21 Thread Guest section DW
On Fri, Dec 22, 2000 at 03:25:20AM +0900, Ishikawa wrote: [a long and very well documented story] How can I "erase" this 2940/255/63 CHS setting from the disk It is far from clear that it is on your disk, so it is far from clear that something can be erased. First a few warnings - probably

Re: bigphysarea support in 2.2.19 and 2.4.0 kernels

2000-12-21 Thread Alan Cox
A question related to bigphysarea support in the native Linux 2.2.19 and 2.4.0 kernels. I know there are patches for this support, but is it planned for rolling into the kernel by default to support Dolphin SCI and some of the NUMA Clustering adapters. I see it there for some of the

Re: lockups from heavy IDE/CD-ROM usage

2000-12-21 Thread Daniel Stone
I get this on the 440LX with the same DMA timeout message. Everyone says it's the board's fault as well. Funny. Anyways this happens accross just about any Dev kernel but more so in the -test12 and up versions. . Test10 works fine without locking. Blaming the hardware reminds me of the

Re: bigphysarea support in 2.2.19 and 2.4.0 kernels

2000-12-21 Thread Jeff V. Merkey
On Thu, Dec 21, 2000 at 09:32:46PM +, Alan Cox wrote: A question related to bigphysarea support in the native Linux 2.2.19 and 2.4.0 kernels. I know there are patches for this support, but is it planned for rolling into the kernel by default to support Dolphin SCI and some of

[PATCH] generic_file_map drop-behind fix

2000-12-21 Thread Rik van Riel
Hi Ingo, the attached patch (against 2.4.0-test12-pre3) should fix the problem where generic_file_write() causes a page to be moved to the inactive list when the program is still writing to it. Does this patch fix the web benching bottleneck in tux2 ? ;) regards, Rik -- Hollywood goes for

Re: bigphysarea support in 2.2.19 and 2.4.0 kernels

2000-12-21 Thread Jeff V. Merkey
Alan, I am looking over the 2.4 bigphysarea patch, and I think I agree there needs to be a better approach. It's a messy hack -- I agree. :-) Jeff - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ

Re: Laptop system clock slow after suspend to disk. (2.4.0-test9/hinote VP)

2000-12-21 Thread Keith Owens
On Thu, 21 Dec 2000 02:26:12 + (GMT), Ian Stirling [EMAIL PROTECTED] wrote: I've not noticed this on earlier kernel versions, is there something silly I'm missing that's making my DEC hinote VP (p100 laptop)s system clock slow by a factor of five or so after resume? Not the CPU or cmos

Re: strange nfs behavior in 2.2.18 and 2.4.0-test12

2000-12-21 Thread Neil Brown
On Thursday December 21, [EMAIL PROTECTED] wrote: Hi. I am having strange nfs problems in both my 2.x and 2.4.0-test12 kernels. What is happening is that when the machine boots up and exports the directories for nfs, it complains that ccs2:/ invalid argument . The exports entry is

Re: [RFC] Semaphores used for daemon wakeup

2000-12-21 Thread Tim Wright
Looks good. I'd like to play with you patch, but certainly from a first glance, it would seem to be sufficiently powerful, and significantly cleaner/clearer (at least to me :-) than the current mechanism involving the wait queue games. Regards, Tim -- Tim Wright - [EMAIL PROTECTED] or [EMAIL

Cleanup (PCI API and general) of drivers/net/rcpci.c (240t13p3)

2000-12-21 Thread Rasmus Andersen
Hi. This is the final version of my rcpci45.c patch. It is somewhat more ambitious than the last one (which only cleaned up the PCI API), so I would appreciate feedback since I don't know half of what I am doing (questions galore below). It features: o Conversion to new PCI API. o Removal of

<    1   2   3   >