Re: / on ramfs, possible?

2000-10-30 Thread Jeff Garzik
s size is far more dynamic than rd, and it shrinks as well as grows. Unless you are creating a lot of temporary files and such, though, initrd is indeed a much better solution from many perspectives. (IMHO) Jeff -- Jeff Garzik | "Mind if I drive?" -Sam Building

Re: [PATCH] Re: Negative scalability by removal of lock_kernel()?(Was: Strange performance behavior of 2.4.0-test9)

2000-10-28 Thread Jeff Garzik
concurrency could be achieved with reader-writer locks. Some of the lock test routines simply scan the list, without modifying it. -- Jeff Garzik | "Mind if I drive?" -Sam Building 1024 | "Not if you don't mind me claw

Re: test10-pre7 (LINK ordering)

2000-10-31 Thread Jeff Garzik
I don't have any local USB patches... -- Jeff Garzik | "Mind if I drive?" -Sam Building 1024 | "Not if you don't mind me clawing at the MandrakeSoft| dash and shrieking like a cheerleader." | -Max config.bz2

Re: [patch] NE2000

2000-11-01 Thread Jeff Garzik
ds there exists ne.c, ne2.c, ne2k-pci.c, and pcnet_cs.c, all of which do pretty much the same thing at their core. [and AFAICS, all but pcnet_cs might easily call a common ne2k library] Regards, Jeff -- Jeff Garzik | "Mind if I drive?" -Sam Building 1024

Re: Linux-2.4.0-test10

2000-11-01 Thread Jeff Garzik
rtnl_unlock(); Therefore for 2.4.x, our concern is whether a particular net driver needs further SMP protection internally, or if rtnl_lock (a semaphore, not a spinlock) is sufficient. Jeff -- Jeff Garzik | "Mind if I drive?" -Sam Building 1024 | &

Re: Where did kgcc go in 2.4.0-test10 ?

2000-11-01 Thread Jeff Garzik
miscompiled by gcc 2.95.2+fixes. I'm not so sure you are correct here... -- Jeff Garzik | "Mind if I drive?" -Sam Building 1024 | "Not if you don't mind me clawing at the MandrakeSoft| dash and shrieking like a cheerleader."

Re: Where did kgcc go in 2.4.0-test10 ?

2000-11-01 Thread Jeff Garzik
t seems to be working fine under gcc 2.95.2+fixes... Jeff -- Jeff Garzik | "Mind if I drive?" -Sam Building 1024 | "Not if you don't mind me clawing at the MandrakeSoft| dash and shrieking like a cheerleader."

Re: Where did kgcc go in 2.4.0-test10 ?

2000-11-01 Thread Jeff Garzik
"J . A . Magallon" wrote: > > On Thu, 02 Nov 2000 02:12:31 Jeff Garzik wrote: > >> > > You're not changing 2.4.x to use kgcc, are you? It seems to be working > > fine under gcc 2.95.2+fixes... > > > > What means "using kgcc&quo

Re: Announce: Via audio driver update

2000-11-01 Thread Jeff Garzik
TimO wrote: > > Jeff Garzik wrote: > > > > An update of the Via audio driver for Linux 2.4.x kernels has been > > posted at > > > > http://gtf.org/garzik/drivers/via82cxxx/ > > > > Hi Jeff, > > Somewhere between v1.1.8 and 1.1.10 (

Re: Where did kgcc go in 2.4.0-test10 ?

2000-11-01 Thread Jeff Garzik
s egcs-1.1.2 not gcc-2.95.2 on my system. > and why > another compiler even needs to be installed. Cuz the kernel should not dictate the compiler choice for the entire distro. -- Jeff Garzik | "Mind if I drive?" -Sam Building 1024 | "Not if you don&

Re: test10 won't boot

2000-11-01 Thread Jeff Garzik
ALi] M5229 IDE (rev c1) Does it boot with the attached patch? -- Jeff Garzik | "Mind if I drive?" -Sam Building 1024 | "Not if you don't mind me clawing at the MandrakeSoft| dash and shrieking like a cheerleader."

Re: vesafb doesn't work in 240t10?

2000-11-02 Thread Jeff Garzik
7 to decimal: [jgarzik@rum linux_2_4]$ perl -e 'printf "%d\n", 0x317;' 791 So, use "vga=791" in your lilo.conf. -- Jeff Garzik | Dinner is ready when Building 1024 | the smoke alarm goes off. MandrakeSoft| -/usr/games/f

Re: Poll and OSS API

2000-11-02 Thread Jeff Garzik
cannot be > allowed. Don't support such diatribe. We are stuck with the current OSS API, including warts aplenty, until ALSA replaces it. (but even then OSS will live on in infamy...) Jeff -- Jeff Garzik | Dinner is ready when Building 1024 | the smoke ala

Re: Poll and OSS API

2000-11-02 Thread Jeff Garzik
was the complaint? FWIW I highly recommend Rui Sousa's oss-test stuff. Check out the "emu10k1" module from Creative's CVS server, and look in the emu10k1/utils/oss-test directory. Regards, Jeff Creative CVS info: export CVSROOT=:pserver:[EMAIL PROTECTED]:/usr/local/cvs

Re: non-gcc linux?

2000-11-02 Thread Jeff Garzik
ady highly portable, and so it the kernel. This too gains us nothing. Removing gcc-isms without a pragmatic reason -- and no, ISO C compliancy is not a pragmatic reason -- is silly, extra work for little or no value. Jeff -- Jeff Garzik | Dinner is ready when Buildi

Re: 255.255.255.255 won't broadcast to multiple NICs

2000-11-02 Thread Jeff Garzik
Rob Landley wrote: > Under 2.2.16, broadcast packets addressed to > 255.255.255.255 do not go out to all interfaces in a > machine with multiple network cards. They're getting > routed out the default gateway's interface instead. Are the network cards on the same net

Re: PATCH 2.4.0.10: Update hotplug

2000-11-02 Thread Jeff Garzik
rap CONFIG_HOTPLUG around the /sbin/network code, because /sbin/network has utility outside the domain of hotplug. Jeff -- Jeff Garzik | Dinner is ready when Building 1024 | the smoke alarm goes off. MandrakeSoft| -/usr/games/fortune - To unsubscr

Re: Linux 2.4 Status / TODO page (Updated as of 2.4.0-test10)

2000-11-03 Thread Jeff Garzik
drivers. Part of that might be that serial doesn't support hotplug without patching. -- Jeff Garzik | Dinner is ready when Building 1024 | the smoke alarm goes off. MandrakeSoft| -/usr/games/fortune - To unsubscribe from this list: send the line "un

Re: Linux 2.4 Status / TODO page (Updated as of 2.4.0-test10)

2000-11-03 Thread Jeff Garzik
buggy > and will be buggy. It is inavoidable, as soon as you have hundreds > of drivers. de4x5 is becoming EISA-only in 2.5.x too, since its PCI support is duplicated now in tulip driver. Jeff -- Jeff Garzik | Dinner is ready when Building 1024 | the smoke

Re: Linux 2.4 Status / TODO page (Updated as of 2.4.0-test10)

2000-11-03 Thread Jeff Garzik
ANK To avoid Andi confusing the issue :) ... 1) The first item listed does not exist 2) the second item listed exists -- many net drivers are not SMP. They are most of the way there, but there are still small races which exist in some drivers. Jeff -- Jeff Garzik | Din

Re: Linux 2.4 Status / TODO page (Updated as of 2.4.0-test10)

2000-11-03 Thread Jeff Garzik
it is a duplicate of support in the tulip driver. Jeff -- Jeff Garzik | Dinner is ready when Building 1024 | the smoke alarm goes off. MandrakeSoft| -/usr/games/fortune - To unsubscribe from this list: send the line "unsubscribe linux-kernel&q

Re: Linux 2.4 Status / TODO page (Updated as of 2.4.0-test10)

2000-11-03 Thread Jeff Garzik
4x5 performs better than the tulip driver for their card. Jeff -- Jeff Garzik | Dinner is ready when Building 1024 | the smoke alarm goes off. MandrakeSoft| -/usr/games/fortune - To unsubscribe from this list: send the line "unsubscribe linux-

Re: linux-2.4.0-test9

2000-11-03 Thread Jeff Garzik
ve been named "page_get"? I looked through 'nm vmlinux' output at the public symbols, and there are definitely a ton of them. Though it is definitely C convention that macros are in all uppercase (gcc is good about this), the kernel has never really been good about that...

Re: Linux 2.4 Status / TODO page (Updated as of 2.4.0-test10)

2000-11-03 Thread Jeff Garzik
ibly. On 2.4.x: 1) insert CardBus serial or modem card, that reports itself as PCI_CLASS_COMMUNICATION_SERIAL. 2) modprobe serial, it sees and registers the PCI serial port. 3) eject card, which serial.c doesn't presently notice. ... Jeff -- Jeff Garzik | Dinner is ready when Building 1024

Re: Linux 2.4 Status / TODO page (Updated as of 2.4.0-test10)

2000-11-03 Thread Jeff Garzik
_cs (which is impossible at the moment, AFAIK). -- Jeff Garzik | Dinner is ready when Building 1024 | the smoke alarm goes off. MandrakeSoft| -/usr/games/fortune - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: linux-2.4.0-test9

2000-11-03 Thread Jeff Garzik
"Richard B. Johnson" wrote: > On Fri, 3 Nov 2000, Jeff Garzik wrote: > > "Richard B. Johnson" wrote: > > > (3) With the new kernel, I can't access screen memory anymore. When > > > testing software drivers for hardware that I don't hav

Re: Oops when loading 3c509-module in test10

2000-11-03 Thread Jeff Garzik
ISA modules, which actually does allocate its device structure correctly. Please apply this patch... Jeff -- Jeff Garzik | Dinner is ready when Building 1024 | the smoke alarm goes off. MandrakeSoft| -/usr/games/fortune Index: linux_2_4/drivers/net/

Re: Poll and OSS API

2000-11-03 Thread Jeff Garzik
S support into a single module, so that ALSA drivers aren't affected by OSS' ugliness) Jeff -- Jeff Garzik | Dinner is ready when Building 1024 | the smoke alarm goes off. MandrakeSoft| -/usr/games/fortune - To unsubscribe from this l

Re: Sample device driver - 2.2 and 2.4 support?

2000-11-03 Thread Jeff Garzik
large) data to device via DMA (page fixing, etc) > > Is there a cononical example (esp. wrt 2.2 <-> 2.4 changes) I should look > at ? That depends on both the changes and your driver... Every driver is different, so nothing is really canonical WRT driver API changes. If you

Re: Poll and OSS API

2000-11-03 Thread Jeff Garzik
Linus Torvalds wrote: > > On Sat, 4 Nov 2000, Jeff Garzik wrote: > > > So fix the stupid API. > > > > > > The above is just idiocy. > > > > We're pretty much stuck with the API, until we look at merging ALSA in > > 2.5.x. Broken API or

Re: Poll and OSS API

2000-11-03 Thread Jeff Garzik
h works, but isn't really correct. Jeff -- Jeff Garzik | Dinner is ready when Building 1024 | the smoke alarm goes off. MandrakeSoft| -/usr/games/fortune - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the bo

Re: USB init order dependencies.

2000-11-04 Thread Jeff Garzik
ry link order dependencies. I would say the link order of foo.o's in linux/Makefile is the most delicate/fragile of all the Makefiles... touching linux/Makefile link order this close to 2.4.0 is asking for trouble. Compared to that, adding a few lines to init/main.c isn't so bad. IMHO,

Re: linux-2.4.0-test9

2000-11-04 Thread Jeff Garzik
Ingo Oeser wrote: > > On Fri, Nov 03, 2000 at 10:12:31PM -0500, Jeff Garzik wrote: > > But if you are going to eliminate info->vxi_base, it seems like that > > would flush out all direct de-refs, whether they are buried in an > > obscure macro or not. And if you find

Re: kernel 2.4-test10: new wrapper.h brakes drivers

2000-11-04 Thread Jeff Garzik
end patch*/ > > yes, you'll notice i ripped this out of the older kernels.. > > good luck in finding an alternative, or just leave it in, or whatever. if the nvidia kernel shell needs to support multiple kernel versions, they should add #ifndef mem_map_inc_count ...compat code... #e

Re: Who will be responsible for 2.4.0 patches?

2000-11-04 Thread Jeff Garzik
minor and useful, maybe it can go in. Otherwise, yeah, you'll have to wait until 2.4.0 is released... Jeff -- Jeff Garzik | Dinner is ready when Building 1024 | the smoke alarm goes off. MandrakeSoft| -/usr/games/fortune - To unsubscribe from th

Re: Locking Between User Context and Soft IRQs in 2.4.0

2000-11-04 Thread Jeff Garzik
switched out of context when calling kernel entries and not be switched back > in when they finish ? should I beware of deadlocks in such case ? You should always beware of deadlocks! Jeff -- Jeff Garzik | Dinner is ready when Building 1

Re: USB init order dependencies.

2000-11-04 Thread Jeff Garzik
Russell King wrote: > There'll be quite a few extra init calls going in there then, with lots > and lots of ifdefs ;( I was talking about one or two init/main.c additions. If you know of "quite a few" link order problems outside of main USB subsystem init, speak up...

Re: Locking Between User Context and Soft IRQs in 2.4.0

2000-11-04 Thread Jeff Garzik
Andi Kleen wrote: > > On Sat, Nov 04, 2000 at 04:45:33AM -0500, Jeff Garzik wrote: > > > > > * What about dev->open and dev->stop ? > > > > Sleep all you want, we'll leave the light on for ya. > > ... but make sure you have no module un

Re: OOPS: 2.4.0-test10 3c509,isapnp,SMP

2000-11-04 Thread Jeff Garzik
Elmer Joandi wrote: > > At mandrake bootup, both isapnp and 3c509 as modules http://gtf.org/garzik/kernel/files/patches/2.4/2.4.0-test10/3c509-fix-2.4.0.10.patch.gz You need this patch for 3c509 to work as a module in 2.4.0-test10... -- Jeff Garzik | Dinner is ready when Bu

Re: Locking Between User Context and Soft IRQs in 2.4.0

2000-11-04 Thread Jeff Garzik
this, how can the driver be unloaded if dev->open is running? -- Jeff Garzik | Dinner is ready when Building 1024 | the smoke alarm goes off. MandrakeSoft| -/usr/games/fortune - To unsubscribe from this list: send the line "unsubscribe linux-kernel&quo

Re: PROBLEM: kernel oops on boot in 2.4.0 test10

2000-11-04 Thread Jeff Garzik
O (specified) > -m /usr/src/linux/System.map (specified) Are you certain you used the correct vmlinux and System.map here? Can you present your .config for kernel building? > Trace; c0194d36 Do you have any ISAPNP cards in your system? -- Jeff Garzik | Dinner is

Re: 3c509 Oops with 2.4.0-test10

2000-11-05 Thread Jeff Garzik
[EMAIL PROTECTED] wrote: > > When trying to load the 3c509 module into a 2.4.0-test10 kernel, I > got an Oops as follows. Any help would be appreciated. Apply this patch. http://gtf.org/garzik/kernel/files/patches/2.4/2.4.0-test10/3c509-fix-2.4.0.10.patch.gz -- Je

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-05 Thread Jeff Garzik
;s wanted. > > Implement a way for a userspace tool to get the correct mixer levels in > place at the time the sound hardware is reset, so there are no glitches in > the levels, and I'll agree with you. Linux-Mandrake's initscripts run aumix on bootup and shutdown, to take car

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-05 Thread Jeff Garzik
es you desire, without having to add special case module gunk for the subset of people who need correct mixer values Right Now(tm). Jeff -- Jeff Garzik | Dinner is ready when Building 1024 | the smoke alarm goes off. MandrakeSoft| -/usr/games/fortun

Re: Linux 2.4 Status / TODO page (Updated as of 2.4.0-test10)

2000-11-06 Thread Jeff Garzik
ested it on my Multia in fact :) (and my AS200 too) The fix should be in 2.2.17 tulip.c, as well as 2.4.x... Jeff -- Jeff Garzik | Dinner is ready when Building 1024 | the smoke alarm goes off. MandrakeSoft| -/usr/games/fortune - To unsubscribe

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread Jeff Garzik
t stop the feedback loop fast enough > > when a mic is plugged in > > This is why alsa starts up all devices totally muted. Maybe its time for > David to move to alsa ;) I wouldn't mind leaving devices totally muted until open()... -- Jeff Garzik | Dinner is ready wh

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread Jeff Garzik
ing. > > What I want is for the mixer settings not to change at all, when the module > is auto-unloaded and later auto-loaded again. I may have set them to pass > through the line input. The API allows for setup activity to occur on the fd before sound is actually started, mixer setup c

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread Jeff Garzik
uire any module data persistence... Jeff -- Jeff Garzik | Dinner is ready when Building 1024 | the smoke alarm goes off. MandrakeSoft| -/usr/games/fortune - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread Jeff Garzik
o pass through Good point. Also might need to flush default settings to the mixer, if you start playing w/out first setting the mixer to anything... -- Jeff Garzik | Dinner is ready when Building 1024 | the smoke alarm goes off. MandrakeSoft| -/usr/games/f

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread Jeff Garzik
/dev/audio > * Sound module is autoloaded again, default to zero levels. > This time it is _NOT_ fine. User is rightly pissed off :) If you create a post-action in /etc/modules.conf which initializes the mixer to proper levels, this problem does not exist. No kernel coding required

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread Jeff Garzik
the hardware, the driver is using hardware that is in an unknown state. (using hardware w/out resetting it == unknown state) You are depending on the hardware to keep its state -between- driver unload and driver reload. That seems inherently unstable to me. It amazes me that su

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread Jeff Garzik
efault and expecting a user-space app to fix it > later is not good enough. The one thing that you and I agree on: It would be nice if the driver did not init the mixer to a set of defaults, when a preferred set is available. However, since simply leaving the driver loaded solves all

Re: Persistent module storage [was Linux 2.4 Status / TODO page]

2000-11-06 Thread Jeff Garzik
vers/sound/sound_firmware.c says that this is a poor method, and that the recommended method for uploading firmware to a device is via ioctl. Jeff -- Jeff Garzik | "When I do this, my computer freezes." Building 1024 | -user MandrakeSoft

swapout vs. filemap_sync_pte...?

2000-11-06 Thread Jeff Garzik
it is going away, or not. I will admit I might be missing something obvious... I'm pretty new to this part of the code. Jeff -- Jeff Garzik | "When I do this, my computer freezes." Building 1024 | -user Mandr

Re: Linux 2.4 Status / TODO page (Updated as of 2.4.0-test10)

2000-11-07 Thread Jeff Garzik
cked out yet, correct? It has been backed out. Notifier register and deregister are locked, but not notifier call. -- Jeff Garzik | "When I do this, my computer freezes." Building 1024 | -user MandrakeSoft| "Don't do that."

Re: Linux 2.4 Status / TODO page (Updated as of 2.4.0-test10)

2000-11-07 Thread Jeff Garzik
[EMAIL PROTECTED] wrote: > >Date: Fri, 03 Nov 2000 16:10:50 -0500 > From: Jeff Garzik <[EMAIL PROTECTED]> > >Part of that might be that serial doesn't support hotplug without >patching. > > Did the patch which I sent out a few weeks ago actu

Re: Installing kernel 2.4

2000-11-07 Thread Jeff Garzik
o way to simply say "Pentium and nothing else". Jeff -- Jeff Garzik | "When I do this, my computer freezes." Building 1024 | -user MandrakeSoft| "Don't do that." | -level 1 - To

Re: Installing kernel 2.4

2000-11-07 Thread Jeff Garzik
the CPU detection module the -march=i386 flag hardcoded, or editing the bootstrap, or something like that... Jeff -- Jeff Garzik | "When I do this, my computer freezes." Building 1024 | -user MandrakeSoft| "Don't do that.&qu

Re: Installing kernel 2.4

2000-11-07 Thread Jeff Garzik
-include /spare/cvs/linux_2_4/include/linux/modversions.h -c -o emd.o emd.c Jeff -- Jeff Garzik | "When I do this, my computer freezes." Building 1024 | -user MandrakeSoft| "Don't do that." |

Re: Installing kernel 2.4

2000-11-07 Thread Jeff Garzik
your kernel on bootup, so this idea isn't new. It's a good idea though. Jeff -- Jeff Garzik | "When I do this, my computer freezes." Building 1024 | -user MandrakeSoft| "Don't do that."

Re: Installing kernel 2.4

2000-11-07 Thread Jeff Garzik
Jeff Merkey wrote: > The PE model uses flags to identify CPU type and capbilities So does ELF. -- Jeff Garzik | "When I do this, my computer freezes." Building 1024 | -user MandrakeSoft| "Don't do that."

Re: Question on new PCI architecture (2.4.x)

2000-11-07 Thread Jeff Garzik
i.h, drivers/pci/pci.c, and various PCI drivers are the only documentation available. Jeff -- Jeff Garzik | "When I do this, my computer freezes." Building 1024 | -user MandrakeSoft| "Don't do that." |

Re: PCI-PCI bridges mess in 2.4.x

2000-11-08 Thread Jeff Garzik
quot; is a poorly-chosen name, since "pdev_" is not a common prefix, and we already have pci_enable_device. Also, should we be setting PCI_CACHE_LINE_SIZE for PCI devices as well as bridges? Jeff -- Jeff Garzik | "When I do this,

Re: pcmcia

2000-11-08 Thread Jeff Garzik
boomerang support... -- Jeff Garzik | "When I do this, my computer freezes." Building 1024 | -user MandrakeSoft| "Don't do that." | -level 1 - To unsubscribe from this list: send the line "unsubs

Re: PCI-PCI bridges mess in 2.4.x

2000-11-08 Thread Jeff Garzik
bridges (two CardBus slots). Both worked fine... I am still worried that the conditions which generate the following message indicate a problem still exists. (this message exists w/out your patch..) Unknown bridge resource 0: assuming transparent Jeff -- Jeff Garzik | &

Re: accessing on-card ram/rom

2000-11-08 Thread Jeff Garzik
ory ? > Is it that bus_to_virt can be used only for the normal RAM ? Use ioremap. For more details, read linux/Documentation/IO-mapping.txt. Jeff -- Jeff Garzik | "When I do this, my computer freezes." Building 1024 |

Re: accessing on-card ram/rom

2000-11-08 Thread Jeff Garzik
n this ? Don't depend on architecture-specific guarantees like this, it could change, etc. Use ioremap, it's portable, it's standard, it's the way to go. ;-) Jeff -- Jeff Garzik | "When I do this, my computer freezes." Building 1024 |

Re: Linux 2.4.0test11pre1ac1

2000-11-08 Thread Jeff Garzik
*mapping = page->mapping; + + if (mapping && mapping->a_ops && mapping->a_ops->removepage) + mapping->a_ops->removepage(page); + And finally, don't you need to EXPORT_SYMBOL pm_devs_lock ? -- Jeff Garzik | Building 1024

Re: [PATCH] media/radio [check_region() removal... ]

2000-11-08 Thread Jeff Garzik
proc/interrupts. Jeff -- Jeff Garzik | Building 1024 | Would you like a Twinkie? MandrakeSoft| - 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/

Re: [PATCH] media/radio [check_region() removal... ]

2000-11-08 Thread Jeff Garzik
Bartlomiej Zolnierkiewicz wrote: > > On Wed, 8 Nov 2000, Jeff Garzik wrote: > > > Patch looks generally ok. Some of the whitespace/formatting changes are > > questionable, I usually leave that up to the maintainer unless it is > > very gratuitously opposite to

Re: [PATCH] media/radio [check_region() removal... ]

2000-11-09 Thread Jeff Garzik
orts. (ideally, of course, it should use the parport API...) Jeff -- Jeff Garzik | Building 1024 | Would you like a Twinkie? MandrakeSoft| - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message t

Re: [PATCH] media/radio [check_region() removal... ]

2000-11-09 Thread Jeff Garzik
user cannot see what is where as is Ditto for PCI... it's also a good idea to do it so that another driver doesn't trample on your I/O space. I don't think there are any de4x5/tulip type situations for MCA, but ya never know... -- Jeff Garzik | Building 1024

Re: [ANNOUNCE] Generalised Kernel Hooks Interface (GKHI)

2000-11-09 Thread Jeff Garzik
ular case, due to the modified kernel GPL, FSF is probably a bad target for copyright assignments. -- Jeff Garzik | Building 1024 | Would you like a Twinkie? MandrakeSoft| - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: OOPS loading cs46xx module, test11-pre1

2000-11-09 Thread Jeff Garzik
y: init_module() { return pci_module_init(&my_driver); } of course for cs46xx, you will want to keep the version printk... 8) xxx_MODULE_NAME was a dumb and overly-lengthy creation of mine. Use instead MODNAME. -- Jeff Garzik | Building 1024 | Would you like a Twi

Re: OOPS loading cs46xx module, test11-pre1

2000-11-09 Thread Jeff Garzik
Christoph Hellwig wrote: > > On Thu, Nov 09, 2000 at 12:02:45PM -0500, Jeff Garzik wrote: > > > I have an (untested) update for the cs46xx driver in Linux 2.4. > > > It includes Nils' 2.2 changes, use of initcalls (so compiled-in > > > should work) and use o

Re: catch 22 - porting net driver from 2.2 to 2.4

2000-11-09 Thread Jeff Garzik
-- Jeff Garzik | Building 1024 | Would you like a Twinkie? MandrakeSoft| - 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/

Re: Porting Linux v2.2.x Ethernet driver to v2.4.x?

2000-11-09 Thread Jeff Garzik
ros and static inline functions. I have an example of this sort of thing at http://gtf.org/garzik/drivers/kcompat24/ Jeff -- Jeff Garzik | Building 1024 | Would you like a Twinkie? MandrakeSoft| - To unsubscribe from this list: send the line "unsubs

Re: Porting Linux v2.2.x Ethernet driver to v2.4.x?

2000-11-09 Thread Jeff Garzik
...and the attached document, referred to in the previous mail. :) I think I posted this recently, but it's small so a repost is no big deal. -- Jeff Garzik | Building 1024 | Would you like a Twinkie? MandrakeSoft| Network Devices, the Kernel, an

Re: Module open() problems, Linux 2.4.0

2000-11-09 Thread Jeff Garzik
4 code. The kernel is free to bump the module reference count up and down as it pleases. For example, if a driver creates a kernel thread, that will increase its module usage count by one, for the duration of the kernel thread's lifetime. The only rule is that you cannot unload a modul

Re: Module open() problems, Linux 2.4.0

2000-11-09 Thread Jeff Garzik
decided that I didn't need > this tool. You assumed the module count == device open count, when that was in fact never the case. The 2.4.x kernel changes merely shattered false assumptions you held on your part. The kernel thread example I described in my last e-mail holds true for kernel

Re: test11-pre2 compile error undefined reference to `bust_spinlocks'

2000-11-09 Thread Jeff Garzik
st_spinlocks above the 'extern spinlock_t' declarations intended for it. My solution was to move the 'extern spinlock_t ...' also :) Jeff -- Jeff Garzik | Building 1024 | Would you like a Twinkie? MandrakeSoft| - To unsubscribe f

jiffies wrap question...

2000-11-09 Thread Jeff Garzik
(&timer); timer.expires = expire; timer.data = (unsigned long) current; timer.function = process_timeout; add_timer(&timer); schedule(); del_timer_sync(&timer); timeout = expire - jiffies; -- Jeff Garzik | B

Re: [PATCH] Re: [test11-pre2] rrunner.c compiler error

2000-11-10 Thread Jeff Garzik
ser failed we still load firmware [ie. questionable data] into EEPROM. -- Jeff Garzik | Building 1024 | Would you like a Twinkie? MandrakeSoft| Index: drivers/net/rrunner.c === RCS file: /cvsro

Re: [PATCH] NIC drivers check_region() removal continues

2000-11-10 Thread Jeff Garzik
sum & 0x100" line, you make the code comments incorrect. eth16i.c: Your diff was not created in the main linux directory... seeq8005.c: Applied, but you forgot dev->name in request_region -- Jeff Garzik | Building 1024 | Would you like a Twinkie? MandrakeSoft

Re: PATCH: Pcmcia/Cardbus/xircom_tulip in 2.4.0-test10.

2000-11-10 Thread Jeff Garzik
IA_RAYCS" = "y" -o \ > - "$CONFIG_PCMCIA_NETWAVE" = "y" -o "$CONFIG_PCMCIA_WAVELAN" = "y" ]; > then > + "$CONFIG_PCMCIA_NETWAVE" = "y" -o "$CONFIG_PCMCIA_WAVELAN" = "y" -o \ > + "$C

PATCH: 8139too kernel thread

2000-11-10 Thread Jeff Garzik
unsigned int mediasense:1; /* Media sensing in progress. */ spinlock_t lock; chip_t chipset; + wait_queue_head_t thr_wait; + int thr_shutdown; + pid_t thr_pid; }; MODULE_AUTHOR ("Jeff Garzik <[EMAIL PROTECTED]>"); @@ -538,7 +548,7 @@ static int mdi

Re: Intel's ANS Driver -vs- Bonding [was Re: Linux 2.2.18pre21]

2000-11-10 Thread Jeff Garzik
/pro100/100Linux.htm > > Maybe some of the code will help in the "bonding" driver development. I > much prefer bonding over Intel's ANS, because bonding is GPL and works > with any net card. Etc. etc. Alas, the license has the BSD documentation requirement, and thus is inc

Re: bzImage ~ 900K with i386 test11-pre2

2000-11-11 Thread Jeff Garzik
t;448k init, 0k highmem) (...with /dev/fd0u1722, 1.44M floppies becomes 1.722M floppies...) -- Jeff Garzik | Building 1024 | Would you like a Twinkie? MandrakeSoft| - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the b

sendfile(2) fails for devices?

2000-11-11 Thread Jeff Garzik
sendfile(2) fails with -EINVAL every time I try to read from a device file. This sounds like a bug... is it? (the man page doesn't mention such a restriction) I am using kernel 2.4.0-test11-pre2. All other tests with sendfile(2) succeed: file->file, file->STDOUT, STDIN->fil

Re: catch 22 - porting net driver from 2.2 to 2.4

2000-11-12 Thread Jeff Garzik
rtnl_lock and then complete the operation for you. If that doesn't work for you, it sounds like you are not setting up, or cleaning up, something correctly. Basically... it sounds like there are still bugs in your driver that need working out :) Jeff -- Jeff Garzik |

Re: catch 22 - porting net driver from 2.2 to 2.4

2000-11-12 Thread Jeff Garzik
pology is changing. dev->open and dev->do_ioctl are called with rtnl_lock already held. You can sleep in them. Use that to your advantage... -- Jeff Garzik | Building 1024 | Would you like a Twinkie? MandrakeSoft| - To unsubscribe from this list: send the

Re: 2.4.0-test11-pre3 doesn't compile (ax25 and md)

2000-11-12 Thread Jeff Garzik
.c:33: > /usr/src/linux/include/linux/sysctl.h:35: parse error before `size_t' Either md.c or sysctl.h needs to include . -- Jeff Garzik | Building 1024 | Would you like a Twinkie? MandrakeSoft| - To unsubscribe from this list: send the line "unsubscr

PATCH 2.4.0.10: Update hotplug

2000-11-02 Thread Jeff Garzik
to compile. -- Jeff Garzik | "Mind if I drive?" -Sam Building 1024 | "Not if you don't mind me clawing at the MandrakeSoft| dash and shrieking like a cheerleader." | -Max Index: linux_2_4/Docum

PATCH 2.4.0.11.3: sysctl.h fixes

2000-11-12 Thread Jeff Garzik
Rasmus Andersen wrote: > I tried to include in md.c and had to include > also. Otherwise I got the following: Here is the solution I prefer... md builds fine with this, core kernel builds fine with this, and I'm about 3/4 of the way through a "build everything" build with this. I tried to a

Re: PATCH 2.4.0.11.3: sysctl.h fixes

2000-11-12 Thread Jeff Garzik
But... that said. Provided no other kernel code is similarly broken, your fix to md.c, Neil, is definitely superior to adding includes and 'struct file;' to sysctl.h. Jeff -- Jeff Garzik | Building 1024 | Would you like a Twinkie? MandrakeSoft

Re: Linux 2.4 Status/TODO page (test11-pre3)

2000-11-12 Thread Jeff Garzik
o needlessly avoids the __init code drop, wasting memory. > 12. Probably Post 2.4 > * module remove race bugs (ipchains modules -- Rusty; won't fix for >2.4) Is this an ipchains bug, or a more general module subsystem bug? > * NCR5380 isnt smp safe (Frank D

initcalls in pre4?

2000-11-12 Thread Jeff Garzik
quot;.text.init"))) */ -- Jeff Garzik | Building 1024 | The chief enemy of creativity is "good" sense MandrakeSoft| -- Picasso - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAI

Re: [PATCH] pcmcia event thread. (fwd)

2000-11-13 Thread Jeff Garzik
_thread_exit_sem); Racy. Use waitpid() in the thread killer instead. You also need to reap the process, just like in userland... > +/* Start the thread for handling queued events for socket drivers */ > +kernel_thread (pcmcia_event_thread, NULL, > + CLONE_FS | CLONE_FILES | C

Re: [PATCH] pcmcia event thread. (fwd)

2000-11-13 Thread Jeff Garzik
eued events for socket drivers */ > +event_thread_pid = kernel_thread (pcmcia_event_thread, NULL, CLONE_FS | >CLONE_FILES); > + > +if (event_thread_pid < 0) { > + printk(KERN_ERR "init_pcmcia_cs: fork failed: errno %d\n", >-event_th

Re: [PATCH] pcmcia event thread. (fwd)

2000-11-13 Thread Jeff Garzik
cket driver code observe parse_events() usage, so I cannot say whether your problem description is accurate however :) Jeff -- Jeff Garzik | Building 1024 | The chief enemy of creativity is "good" sense MandrakeSoft| -- Picasso - To un

<    2   3   4   5   6   7   8   9   10   11   >