Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-28 Thread Rusty Russell
On Sunday 27 January 2008 17:42:28 Linus Torvalds wrote: > My problem is that the *driver* already exists (because it's compiled in), > and has already initialized itself, and has already registered. > > Then, initrd tries to load an old module for that driver. I hate to say it, but this is user e

Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-28 Thread Helge Hafting
Peter Zijlstra wrote: My wish is that distros would just boot without requiring an initrd. I know how to make them for redhat and debian based distros, but the fact that you can't (easily) cross-build them makes it a very tedious construct. Debian is easy enough - make sure the drivers for th

Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-26 Thread Linus Torvalds
On Sat, 26 Jan 2008, Rusty Russell wrote: > > module.c:1832 (in load_module) > > if (find_module(mod->name)) { > err = -EEXIST; > goto free_mod; > } > > That's pretty early, and before this backtrace. > > Even for simultaneous loads, there's a mutex whi

Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-26 Thread Rusty Russell
On Saturday 26 January 2008 16:35:09 Greg KH wrote: > On Sat, Jan 26, 2008 at 03:50:57PM +1100, Rusty Russell wrote: > > That's pretty early, and before this backtrace. > > But that doesn't catch the case here, of trying to load a module when > the code itself is already built into the kernel. Ah,

Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-25 Thread Arjan van de Ven
On Fri, 25 Jan 2008 11:11:48 -0800 (PST) Linus Torvalds <[EMAIL PROTECTED]> wrote: > > > On Fri, 25 Jan 2008, Greg KH wrote: > > > > That's really wierd, I don't see that at all here just running with > > your 2.6.24 + my git tree and lots of USB drivers built into the > > kernel also (like ehc

Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-25 Thread Greg KH
On Sat, Jan 26, 2008 at 03:50:57PM +1100, Rusty Russell wrote: > On Saturday 26 January 2008 06:42:19 Greg KH wrote: > > On Fri, Jan 25, 2008 at 10:44:59AM -0800, Linus Torvalds wrote: > > > On Thu, 24 Jan 2008, Greg KH wrote: > > > > Here are a pretty large number of kobject, documentation, and dr

Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-25 Thread Rusty Russell
On Saturday 26 January 2008 06:42:19 Greg KH wrote: > On Fri, Jan 25, 2008 at 10:44:59AM -0800, Linus Torvalds wrote: > > On Thu, 24 Jan 2008, Greg KH wrote: > > > Here are a pretty large number of kobject, documentation, and driver > > > core patches against your 2.6.24 git tree. > > > > I've merg

Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-25 Thread Valdis . Kletnieks
On Sat, 26 Jan 2008 01:05:26 +0100, Ingo Molnar said: > all it takes for me on Fedora is to boot a modular distro kernel once, > then copy the /dev to the real (persistent) /dev: > >mkdir /tmp2 >mount /dev/sda1 /tmp2 >cp -a /dev/* /tmp2/dev/ > > and from that point on a bzImage/vmli

Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-25 Thread Jon Masters
On Sat, 2008-01-26 at 01:27 +0100, Peter Zijlstra wrote: > On Sat, 2008-01-26 at 01:05 +0100, Ingo Molnar wrote: > > * Peter Zijlstra <[EMAIL PROTECTED]> wrote: > > > > > My wish is that distros would just boot without requiring an initrd. I > > > know how to make them for redhat and debian base

Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-25 Thread Peter Zijlstra
On Sat, 2008-01-26 at 01:05 +0100, Ingo Molnar wrote: > * Peter Zijlstra <[EMAIL PROTECTED]> wrote: > > > My wish is that distros would just boot without requiring an initrd. I > > know how to make them for redhat and debian based distros, but the > > fact that you can't (easily) cross-build th

Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-25 Thread Ingo Molnar
* Peter Zijlstra <[EMAIL PROTECTED]> wrote: > My wish is that distros would just boot without requiring an initrd. I > know how to make them for redhat and debian based distros, but the > fact that you can't (easily) cross-build them makes it a very tedious > construct. all it takes for me on

Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-25 Thread Peter Zijlstra
On Fri, 2008-01-25 at 13:58 -0800, Jeremy Fitzhardinge wrote: > Linus Torvalds wrote: > > On Fri, 25 Jan 2008, Jon Masters wrote: > > > >> Right. I assumed that Linus was calling mkinitrd but was being bitten by > >> one of the occasional assumptions (I believe we make in that script) > >>

Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-25 Thread Jeremy Fitzhardinge
Linus Torvalds wrote: On Fri, 25 Jan 2008, Jon Masters wrote: Right. I assumed that Linus was calling mkinitrd but was being bitten by one of the occasional assumptions (I believe we make in that script) No. I really am not. My /etc/grub.conf looks like this: title Linux

Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-25 Thread Linus Torvalds
On Fri, 25 Jan 2008, Jon Masters wrote: > > Right. I assumed that Linus was calling mkinitrd but was being bitten by > one of the occasional assumptions (I believe we make in that script) No. I really am not. My /etc/grub.conf looks like this: title Linux root (hd0,0)

Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-25 Thread Jon Masters
On Fri, 2008-01-25 at 11:56 -0800, Jeremy Fitzhardinge wrote: > Linus Torvalds wrote: > > I'm too lazy to want to do my own initrd. I just use the prepackaged ones > > and rely on the fact that my private kernel will refuse to load modules > > that aren't meant for it anyway. > initrds generall

Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-25 Thread Jon Masters
On Fri, 2008-01-25 at 10:44 -0800, Linus Torvalds wrote: > and the problem seems to be that it does all these checks even for modules > that will never be loaded, because I use my own kernel, but with the > default Fedora initrd (which is trying to load modules for stuff that I > already have b

Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-25 Thread Greg KH
On Fri, Jan 25, 2008 at 12:23:25PM -0800, Linus Torvalds wrote: > On Fri, 25 Jan 2008, Greg KH wrote: > > Linus, does the patch below (built tested only) fix the above call trace > > noise for you? It shouldn't change the taint flag, that's a different > > issue it seems. > > Sadly, I'm now in th

Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-25 Thread Linus Torvalds
On Fri, 25 Jan 2008, Greg KH wrote: > On Fri, Jan 25, 2008 at 10:44:59AM -0800, Linus Torvalds wrote: > > > > - from the purely broken ones: > > > > ehci_hcd: no version for "struct_module" found: kernel tainted. > > Ok, in looking at the code, this should also be showing up for you on a

Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-25 Thread Jeremy Fitzhardinge
Linus Torvalds wrote: I'm too lazy to want to do my own initrd. I just use the prepackaged ones and rely on the fact that my private kernel will refuse to load modules that aren't meant for it anyway. initrds generally aren't prepackaged, but generated on install (at least with Fedora). Y

Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-25 Thread Greg KH
On Fri, Jan 25, 2008 at 10:44:59AM -0800, Linus Torvalds wrote: > > > On Thu, 24 Jan 2008, Greg KH wrote: > > > > Here are a pretty large number of kobject, documentation, and driver > > core patches against your 2.6.24 git tree. > > I've merged it all, but it causes lots of scary warnings: >

Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-25 Thread Greg KH
On Fri, Jan 25, 2008 at 11:11:48AM -0800, Linus Torvalds wrote: > > > On Fri, 25 Jan 2008, Greg KH wrote: > > > > That's really wierd, I don't see that at all here just running with your > > 2.6.24 + my git tree and lots of USB drivers built into the kernel also > > (like ehci_hcd). > > But do

Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-25 Thread Greg KH
On Fri, Jan 25, 2008 at 11:11:48AM -0800, Linus Torvalds wrote: > > > On Fri, 25 Jan 2008, Greg KH wrote: > > > > That's really wierd, I don't see that at all here just running with your > > 2.6.24 + my git tree and lots of USB drivers built into the kernel also > > (like ehci_hcd). > > But do

Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-25 Thread Linus Torvalds
On Fri, 25 Jan 2008, Greg KH wrote: > > That's really wierd, I don't see that at all here just running with your > 2.6.24 + my git tree and lots of USB drivers built into the kernel also > (like ehci_hcd). But do you use an initrd that tries to load the same driver too? I'm too lazy to want to

Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-25 Thread Greg KH
On Fri, Jan 25, 2008 at 10:44:59AM -0800, Linus Torvalds wrote: > > > On Thu, 24 Jan 2008, Greg KH wrote: > > > > Here are a pretty large number of kobject, documentation, and driver > > core patches against your 2.6.24 git tree. > > I've merged it all, but it causes lots of scary warnings: >

Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-25 Thread Linus Torvalds
On Thu, 24 Jan 2008, Greg KH wrote: > > Here are a pretty large number of kobject, documentation, and driver > core patches against your 2.6.24 git tree. I've merged it all, but it causes lots of scary warnings: - from the purely broken ones: ehci_hcd: no version for "struct_module"

[GIT PATCH] driver core patches against 2.6.24

2008-01-24 Thread Greg KH
Due to the low level nature of these patches, and because they touch so many different parts of the kernel, a number of the subsystem maintainers have asked me to get them in first to make merging other trees easier. Here are a pretty large number of kobject, documentation, and driver core patches