From: Florian E. <ec...@fs...> - 2005-08-23 21:26:07
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I was trying to have fbcon and nvidiafb as modules, however, the console stays plain VGA when I load both. fbset complains about "no such device: /dev/fb0".. (the device itself exists, and works when everything is compiled into the kernel). Moreover, how can I pass the "video=.." option from the kernel commandline to the modules? Yours, Florian - -- Preserve wildlife - pickle a squirrel today! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDC5Rp7CzyshGvatgRAnmVAJ9/rSgpFLiDt1cInWXJ8yJHlcwkAQCgypJk /TRE7j3tH1clhkSSptlSJNk= =FzKY -----END PGP SIGNATURE----- |
From: Antonino A. D. <ad...@gm...> - 2005-08-23 22:06:23
|
Florian Echtler wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, I was trying to have fbcon and nvidiafb as modules, however, > the console stays plain VGA when I load both. fbset complains > about "no such device: /dev/fb0".. (the device itself exists, and > works when everything is compiled into the kernel). What kernel version are you using? Can you post your dmesg after doing a modprobe nvidiafb and modprobe fbcon? Note that you can load the modules in any order, it does not matter. > > Moreover, how can I pass the "video=.." option from the kernel > commandline to the modules? modprobe nvidiafb options <name>=<value> Tony |
From: Sven L. <sve...@wa...> - 2005-08-24 15:08:30
|
On Wed, Aug 24, 2005 at 06:05:34AM +0800, Antonino A. Daplas wrote: > Florian Echtler wrote: > >-----BEGIN PGP SIGNED MESSAGE----- > >Hash: SHA1 > > > >Hi, I was trying to have fbcon and nvidiafb as modules, however, > >the console stays plain VGA when I load both. fbset complains > >about "no such device: /dev/fb0".. (the device itself exists, and > >works when everything is compiled into the kernel). > > What kernel version are you using? BTW, would it be possible to use the new initramfs infrastructure, to move the fbdev drivers out of the kernel and into their own initramfs thingy, and still be able to start them as early as possible ? Friendly, Sven Luther |
From: Antonino A. D. <ad...@gm...> - 2005-08-26 14:07:19
|
Sven Luther wrote: > On Wed, Aug 24, 2005 at 06:05:34AM +0800, Antonino A. Daplas wrote: >> Florian Echtler wrote: >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA1 >>> >>> Hi, I was trying to have fbcon and nvidiafb as modules, however, >>> the console stays plain VGA when I load both. fbset complains >>> about "no such device: /dev/fb0".. (the device itself exists, and >>> works when everything is compiled into the kernel). >> What kernel version are you using? > > BTW, would it be possible to use the new initramfs infrastructure, to move the > fbdev drivers out of the kernel and into their own initramfs thingy, and still > be able to start them as early as possible ? I don't see why not. You can compile fbcon statically, and the drivers as modules. Or both fbcon and drivers as modules. Tony |
From: Sven L. <sve...@wa...> - 2005-08-26 20:04:38
|
On Fri, Aug 26, 2005 at 10:06:53PM +0800, Antonino A. Daplas wrote: > Sven Luther wrote: > >On Wed, Aug 24, 2005 at 06:05:34AM +0800, Antonino A. Daplas wrote: > >>Florian Echtler wrote: > >>>-----BEGIN PGP SIGNED MESSAGE----- > >>>Hash: SHA1 > >>> > >>>Hi, I was trying to have fbcon and nvidiafb as modules, however, > >>>the console stays plain VGA when I load both. fbset complains > >>>about "no such device: /dev/fb0".. (the device itself exists, and > >>>works when everything is compiled into the kernel). > >>What kernel version are you using? > > > >BTW, would it be possible to use the new initramfs infrastructure, to move > >the > >fbdev drivers out of the kernel and into their own initramfs thingy, and > >still > >be able to start them as early as possible ? > > I don't see why not. You can compile fbcon statically, and the drivers as > modules. > Or both fbcon and drivers as modules. Yeah, well, the constraint is that this is on powerpc, and there is no vgacon or whatever, and we still like to have debug output as soon as possible. Friendly, Sven Luther |
From: Antonino A. D. <ad...@gm...> - 2005-08-27 00:20:38
|
Sven Luther wrote: > On Fri, Aug 26, 2005 at 10:06:53PM +0800, Antonino A. Daplas wrote: >> Sven Luther wrote: >>> On Wed, Aug 24, 2005 at 06:05:34AM +0800, Antonino A. Daplas wrote: >>>> Florian Echtler wrote: >>>>> -----BEGIN PGP SIGNED MESSAGE----- >>>>> Hash: SHA1 >>>>> >>>>> Hi, I was trying to have fbcon and nvidiafb as modules, however, >>>>> the console stays plain VGA when I load both. fbset complains >>>>> about "no such device: /dev/fb0".. (the device itself exists, and >>>>> works when everything is compiled into the kernel). >>>> What kernel version are you using? >>> BTW, would it be possible to use the new initramfs infrastructure, to move >>> the >>> fbdev drivers out of the kernel and into their own initramfs thingy, and >>> still >>> be able to start them as early as possible ? >> I don't see why not. You can compile fbcon statically, and the drivers as >> modules. >> Or both fbcon and drivers as modules. > > Yeah, well, the constraint is that this is on powerpc, and there is no vgacon > or whatever, and we still like to have debug output as soon as possible. > The framebuffer can load as early as you can load initrd. So you'll basically miss bugs before the filesystem gets loaded. The screen is buffered, so the contents are there. So if you are fortunate enough to load the framebuffer system even if the bug happened a bit earlier, you might still be able to see the message. Note that the framebuffer system loads a little bit late compared to 2.4. It gets loaded after PCI, PARISC and rapidio. Tony |
From: Sven L. <sve...@wa...> - 2005-08-27 01:23:22
|
On Sat, Aug 27, 2005 at 08:20:11AM +0800, Antonino A. Daplas wrote: > Sven Luther wrote: > >On Fri, Aug 26, 2005 at 10:06:53PM +0800, Antonino A. Daplas wrote: > >>Sven Luther wrote: > >>>On Wed, Aug 24, 2005 at 06:05:34AM +0800, Antonino A. Daplas wrote: > >>>>Florian Echtler wrote: > >>>>>-----BEGIN PGP SIGNED MESSAGE----- > >>>>>Hash: SHA1 > >>>>> > >>>>>Hi, I was trying to have fbcon and nvidiafb as modules, however, > >>>>>the console stays plain VGA when I load both. fbset complains > >>>>>about "no such device: /dev/fb0".. (the device itself exists, and > >>>>>works when everything is compiled into the kernel). > >>>>What kernel version are you using? > >>>BTW, would it be possible to use the new initramfs infrastructure, to > >>>move the > >>>fbdev drivers out of the kernel and into their own initramfs thingy, and > >>>still > >>>be able to start them as early as possible ? > >>I don't see why not. You can compile fbcon statically, and the drivers as > >>modules. > >>Or both fbcon and drivers as modules. > > > >Yeah, well, the constraint is that this is on powerpc, and there is no > >vgacon > >or whatever, and we still like to have debug output as soon as possible. > > > > The framebuffer can load as early as you can load initrd. So you'll > basically > miss bugs before the filesystem gets loaded. The screen is buffered, so the > contents are there. So if you are fortunate enough to load the framebuffer > system > even if the bug happened a bit earlier, you might still be able to see the > message. > > Note that the framebuffer system loads a little bit late compared to 2.4. > It gets > loaded after PCI, PARISC and rapidio. I guess we have always the serial console if earlier debugging is needed. Friendly, Sven Luther |
From: Geert U. <ge...@li...> - 2005-08-28 10:17:41
|
On Sat, 27 Aug 2005, Sven Luther wrote: > On Sat, Aug 27, 2005 at 08:20:11AM +0800, Antonino A. Daplas wrote: > > Sven Luther wrote: > > >On Fri, Aug 26, 2005 at 10:06:53PM +0800, Antonino A. Daplas wrote: > > >>Sven Luther wrote: > > >>>On Wed, Aug 24, 2005 at 06:05:34AM +0800, Antonino A. Daplas wrote: > > >>>>Florian Echtler wrote: > > >>>>>-----BEGIN PGP SIGNED MESSAGE----- > > >>>>>Hash: SHA1 > > >>>>> > > >>>>>Hi, I was trying to have fbcon and nvidiafb as modules, however, > > >>>>>the console stays plain VGA when I load both. fbset complains > > >>>>>about "no such device: /dev/fb0".. (the device itself exists, and > > >>>>>works when everything is compiled into the kernel). > > >>>>What kernel version are you using? > > >>>BTW, would it be possible to use the new initramfs infrastructure, to > > >>>move the > > >>>fbdev drivers out of the kernel and into their own initramfs thingy, and > > >>>still > > >>>be able to start them as early as possible ? > > >>I don't see why not. You can compile fbcon statically, and the drivers as > > >>modules. > > >>Or both fbcon and drivers as modules. > > > > > >Yeah, well, the constraint is that this is on powerpc, and there is no > > >vgacon > > >or whatever, and we still like to have debug output as soon as possible. > > > > > > > The framebuffer can load as early as you can load initrd. So you'll > > basically > > miss bugs before the filesystem gets loaded. The screen is buffered, so the > > contents are there. So if you are fortunate enough to load the framebuffer > > system > > even if the bug happened a bit earlier, you might still be able to see the > > message. > > > > Note that the framebuffer system loads a little bit late compared to 2.4. > > It gets > > loaded after PCI, PARISC and rapidio. > > I guess we have always the serial console if earlier debugging is needed. Don't we have promcon, on some PPCs? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li... In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds |
From: Sven L. <sve...@wa...> - 2005-08-28 18:18:48
|
On Sun, Aug 28, 2005 at 12:16:54PM +0200, Geert Uytterhoeven wrote: > On Sat, 27 Aug 2005, Sven Luther wrote: > > On Sat, Aug 27, 2005 at 08:20:11AM +0800, Antonino A. Daplas wrote: > > > Sven Luther wrote: > > > >On Fri, Aug 26, 2005 at 10:06:53PM +0800, Antonino A. Daplas wrote: > > > >>Sven Luther wrote: > > > >>>On Wed, Aug 24, 2005 at 06:05:34AM +0800, Antonino A. Daplas wrote: > > > >>>>Florian Echtler wrote: > > > >>>>>-----BEGIN PGP SIGNED MESSAGE----- > > > >>>>>Hash: SHA1 > > > >>>>> > > > >>>>>Hi, I was trying to have fbcon and nvidiafb as modules, however, > > > >>>>>the console stays plain VGA when I load both. fbset complains > > > >>>>>about "no such device: /dev/fb0".. (the device itself exists, and > > > >>>>>works when everything is compiled into the kernel). > > > >>>>What kernel version are you using? > > > >>>BTW, would it be possible to use the new initramfs infrastructure, to > > > >>>move the > > > >>>fbdev drivers out of the kernel and into their own initramfs thingy, and > > > >>>still > > > >>>be able to start them as early as possible ? > > > >>I don't see why not. You can compile fbcon statically, and the drivers as > > > >>modules. > > > >>Or both fbcon and drivers as modules. > > > > > > > >Yeah, well, the constraint is that this is on powerpc, and there is no > > > >vgacon > > > >or whatever, and we still like to have debug output as soon as possible. > > > > > > > > > > The framebuffer can load as early as you can load initrd. So you'll > > > basically > > > miss bugs before the filesystem gets loaded. The screen is buffered, so the > > > contents are there. So if you are fortunate enough to load the framebuffer > > > system > > > even if the bug happened a bit earlier, you might still be able to see the > > > message. > > > > > > Note that the framebuffer system loads a little bit late compared to 2.4. > > > It gets > > > loaded after PCI, PARISC and rapidio. > > > > I guess we have always the serial console if earlier debugging is needed. > > Don't we have promcon, on some PPCs? Some, but not all. My main problem is that i build a generic powerpc kernel for debian, and right now we need many frambuffers builtin for the different machines. My idea is to build all those as modules, and put them in initramfs, and still call them early enough. Since initramfs, from what i am told, is accessed earlier than the initrd was, it will be more usable this way. Friendly, Sven Luther |
From: Geert U. <ge...@li...> - 2005-08-28 18:56:10
|
On Sun, 28 Aug 2005, Sven Luther wrote: > On Sun, Aug 28, 2005 at 12:16:54PM +0200, Geert Uytterhoeven wrote: > > On Sat, 27 Aug 2005, Sven Luther wrote: > > > On Sat, Aug 27, 2005 at 08:20:11AM +0800, Antonino A. Daplas wrote: > > > > Sven Luther wrote: > > > > >Yeah, well, the constraint is that this is on powerpc, and there is no > > > > >vgacon > > > > >or whatever, and we still like to have debug output as soon as possible. > > > > > > > > The framebuffer can load as early as you can load initrd. So you'll > > > > basically > > > > miss bugs before the filesystem gets loaded. The screen is buffered, so the > > > > contents are there. So if you are fortunate enough to load the framebuffer > > > > system > > > > even if the bug happened a bit earlier, you might still be able to see the > > > > message. > > > > > > > > Note that the framebuffer system loads a little bit late compared to 2.4. > > > > It gets > > > > loaded after PCI, PARISC and rapidio. > > > > > > I guess we have always the serial console if earlier debugging is needed. > > > > Don't we have promcon, on some PPCs? > > Some, but not all. My main problem is that i build a generic powerpc kernel > for debian, and right now we need many frambuffers builtin for the different > machines. My idea is to build all those as modules, and put them in initramfs, > and still call them early enough. Since initramfs, from what i am told, is > accessed earlier than the initrd was, it will be more usable this way. Another option would be to use offb, and find a way to `overtake' offb later by a chipset-specific frame buffer device. A bit like vgacon is overtaken by fbdev on other systems. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li... In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds |
From: Sven L. <sve...@wa...> - 2005-08-28 19:07:01
|
On Sun, Aug 28, 2005 at 08:55:16PM +0200, Geert Uytterhoeven wrote: > On Sun, 28 Aug 2005, Sven Luther wrote: > > On Sun, Aug 28, 2005 at 12:16:54PM +0200, Geert Uytterhoeven wrote: > > > On Sat, 27 Aug 2005, Sven Luther wrote: > > > > On Sat, Aug 27, 2005 at 08:20:11AM +0800, Antonino A. Daplas wrote: > > > > > Sven Luther wrote: > > > > > >Yeah, well, the constraint is that this is on powerpc, and there is no > > > > > >vgacon > > > > > >or whatever, and we still like to have debug output as soon as possible. > > > > > > > > > > The framebuffer can load as early as you can load initrd. So you'll > > > > > basically > > > > > miss bugs before the filesystem gets loaded. The screen is buffered, so the > > > > > contents are there. So if you are fortunate enough to load the framebuffer > > > > > system > > > > > even if the bug happened a bit earlier, you might still be able to see the > > > > > message. > > > > > > > > > > Note that the framebuffer system loads a little bit late compared to 2.4. > > > > > It gets > > > > > loaded after PCI, PARISC and rapidio. > > > > > > > > I guess we have always the serial console if earlier debugging is needed. > > > > > > Don't we have promcon, on some PPCs? > > > > Some, but not all. My main problem is that i build a generic powerpc kernel > > for debian, and right now we need many frambuffers builtin for the different > > machines. My idea is to build all those as modules, and put them in initramfs, > > and still call them early enough. Since initramfs, from what i am told, is > > accessed earlier than the initrd was, it will be more usable this way. > > Another option would be to use offb, and find a way to `overtake' offb later by > a chipset-specific frame buffer device. A bit like vgacon is overtaken by fbdev > on other systems. Yep, but less clean. How early is initrramfs compared to when fbdev needs his stuff. I mean, you could access those modules pretty early. Friendly, Sven Luther |
From: Antonino A. D. <ad...@gm...> - 2005-08-23 22:14:21
|
Forgot to CC. Florian Echtler wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, I was trying to have fbcon and nvidiafb as modules, however, > the console stays plain VGA when I load both. fbset complains > about "no such device: /dev/fb0".. (the device itself exists, and > works when everything is compiled into the kernel). What kernel version are you using? Can you post your dmesg after doing a modprobe nvidiafb and modprobe fbcon? Note that you can load the modules in any order, it does not matter. > > Moreover, how can I pass the "video=.." option from the kernel > commandline to the modules? modprobe nvidiafb options <name>=<value> Tony |