Re: [gentoo-user] 2.4 - 2.6 wierdness, solved!

2005-07-07 Thread creighto
I checked all of the following and found them matching perfectly, in the
end it was a simple change of the intel-agp module's name that had my
system in fits.  Thanks for all of your help everyone.

Now on to setting up the new sound system...


 Check /etc/udev/50-udev.rules.  You should have a line that says:

 KERNEL=agpgart, NAME=misc/%k, SYMLINK=%k

 A quick explanation of how udev works may help you find the real problem
 here:

 For drivers compiled into the kernel, their device nodes get created
 either:

   1. permanently by creating the device nodes manually and using the
 tarball feature in /etc/conf.d/rc

   2. When udevstart is executed by /sbin/rc during startup

 For modules, the device nodes are created when the kernel runs
 /sbin/udevsend when the module is loaded.  You *must* have hotplug
 support in the kernel for this though.

 You can cause udev to generate debug messages by setting udev_log = 7
 in /etc/udev/udev.conf.  The debug output goes to /var/log/messages.



-genkernel --udev --menuconfig all will not show me an option that refers
to AGP anything, is this a bus?



 Well, in the normal kernel configuration, It is under Device
 drivers-Character devices-/dev/apgart.

 You need both AGPGART and the chipset specific driver.  For example, my
 config has:

 carcharias linux # grep AGP /usr/src/linux/.config
 CONFIG_AGP=y
 # CONFIG_AGP_ALI is not set
 # CONFIG_AGP_ATI is not set
 # CONFIG_AGP_AMD is not set
 # CONFIG_AGP_AMD64 is not set
 CONFIG_AGP_INTEL=y
 # CONFIG_AGP_NVIDIA is not set
 # CONFIG_AGP_SIS is not set
 # CONFIG_AGP_SWORKS is not set
 # CONFIG_AGP_VIA is not set
 # CONFIG_AGP_EFFICEON is not set

-I tried compiling the kernel directly once and got a kernel panic, I
don't remember if AGP was mentioned in that case.




 Most common cause of this is not compiling the required drivers for your
 root filesystem (disk and filesystem drivers) into your kernel.  Such
 drivers cannot be modules without a great deal of effort.

 -Richard

 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2.4 - 2.6 wierdness

2005-07-06 Thread Holly Bostick
Jerry McBride schreef:
 On Tuesday 05 July 2005 06:00 pm, [EMAIL PROTECTED] wrote:
 
Trying to  Migrate to 2.6.  But when I reboot into my new genkerneled
system, I cannot use X.org anymore, it complains about agpgart not
working.  Even If I modprobe the kernel mod or even compile it in directly
it rejects it.
Any Ideas on how to proceed?

Creighton
 
 
 
 Without seeing the xorg logfile from /var/logs... I'd say you ahve to 
 re-emerge xorg or at the least run revdep-rebuild -p to see whta has to get 
 upgraded also.


I question whether that would work, without knowing what hardware
(motherboard, videocard) is involved, especially when I hear the word
'genkernel'.

To me, errors in agpgart first suggest that either support for your
motherboard's agp chipset is not compiled into the kernel, or --if
compiled as a module, is not loaded; and secondly, the outside chance
that-- if using an ATI card-- the InternalAGPGART setting is wrong; set
to YES when it should be set to NO because you have to use your
motherboard's kernel module (but this does not usually result in X.org
not starting, just complaints in the logs), or set to NO when it should
be set to YES because you don't use your motherboard's kernel support,
so no agpgart is being loaded at all (which I would imagine would
prevent X from starting).

What does dmesg or /var/log/messages say about agpgart? Did it try to
load and fail? What does lsmod say is loaded? If nothing, can you
modprobe your agpgart module? What is your mobo and video card? If an
ATI or nVidia video card, did you re-emerge the drivers after compiling
the kernel?

Basically, I'd just like to confirm that genkernel didn't drop the ball.

Holly

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2.4 - 2.6 wierdness

2005-07-06 Thread Martins Steinbergs
these are my autoload modules, commented are ones that some HOWTO pointed to 
but never worked. 

/etc/modules.autoload.d/kernel-2.6
agpgart
#via-agp
#ati-agp
fglrx
#radeon
rtc
snd-via82xx
r8169
#drm
amd64-agp


On Wednesday 06 July 2005 12:55, Holly Bostick wrote:
 Jerry McBride schreef:
  On Tuesday 05 July 2005 06:00 pm, [EMAIL PROTECTED] wrote:
 Trying to  Migrate to 2.6.  But when I reboot into my new genkerneled
 system, I cannot use X.org anymore, it complains about agpgart not
 working.  Even If I modprobe the kernel mod or even compile it in
  directly it rejects it.
 Any Ideas on how to proceed?
 
 Creighton
 
  Without seeing the xorg logfile from /var/logs... I'd say you ahve to
  re-emerge xorg or at the least run revdep-rebuild -p to see whta has to
  get upgraded also.

 I question whether that would work, without knowing what hardware
 (motherboard, videocard) is involved, especially when I hear the word
 'genkernel'.

 To me, errors in agpgart first suggest that either support for your
 motherboard's agp chipset is not compiled into the kernel, or --if
 compiled as a module, is not loaded; and secondly, the outside chance
 that-- if using an ATI card-- the InternalAGPGART setting is wrong; set
 to YES when it should be set to NO because you have to use your
 motherboard's kernel module (but this does not usually result in X.org
 not starting, just complaints in the logs), or set to NO when it should
 be set to YES because you don't use your motherboard's kernel support,
 so no agpgart is being loaded at all (which I would imagine would
 prevent X from starting).

 What does dmesg or /var/log/messages say about agpgart? Did it try to
 load and fail? What does lsmod say is loaded? If nothing, can you
 modprobe your agpgart module? What is your mobo and video card? If an
 ATI or nVidia video card, did you re-emerge the drivers after compiling
 the kernel?

 Basically, I'd just like to confirm that genkernel didn't drop the ball.

 Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2.4 - 2.6 wierdness

2005-07-06 Thread creighto
Okay, let's start over.  I have only posted the first post of this thread,
but I would say that all off the noise may imply that I am not alone here.

-I have a working setup in 2.4, less so now than before, but xorg does
still work.

-in 2.6, xorg will break and complain that /dev/agpgart does not exist.

-/dev/agpgart, in fact, does not exist when using Udev in 2.6, yet it does
exist when I reboot into 2.4

-modprobe agpgart will result in an error

-genkernel --udev --menuconfig all will not show me an option that refers
to AGP anything, is this a bus?

-I run this in an old HP Pavilion, 500 Mhertz Celeron, 128 meg ram with
i810 onboard chipsets, Xorg originally autodetected everything including
the resolution of my Komodo monitor.  I didn't know it went that high.

-I tried compiling the kernel directly once and got a kernel panic, I
don't remember if AGP was mentioned in that case.

Creighton

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2.4 - 2.6 wierdness

2005-07-06 Thread Holly Bostick
[EMAIL PROTECTED] schreef:
 Okay, let's start over.  I have only posted the first post of this thread,
 but I would say that all off the noise may imply that I am not alone here.
 
 -I have a working setup in 2.4, less so now than before, but xorg does
 still work.
 
 -in 2.6, xorg will break and complain that /dev/agpgart does not exist.
 
 -/dev/agpgart, in fact, does not exist when using Udev in 2.6, yet it does
 exist when I reboot into 2.4

Yes, but you see, my point is that-- as far as I know-- udev doesn't
create the agpgart device; the loading of the kernel module does that.
In the same way that the kernel modules are responsible for creating all
the motherboard resources that load at boot before udev comes into the
picture.

So that's why I'm feeling that the problem is with your kernel, not udev
per se. Although maybe coldplug wouldn't hurt to have in rc-update.

 
 -modprobe agpgart will result in an error

What is the error? Module doesn't exist? Module is already loaded?
Symbol errors?

 
 -genkernel --udev --menuconfig all will not show me an option that refers
 to AGP anything, is this a bus?

Yes, it's a speeded-up, dedicated form of the PCI bus.

The kernel configuration for it is

Device Drivers== Character devices.

HTH,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2.4 - 2.6 wierdness

2005-07-06 Thread creighto


 -modprobe agpgart will result in an error

 What is the error? Module doesn't exist? Module is already loaded?
 Symbol errors?

module not found



 -genkernel --udev --menuconfig all will not show me an option that
 refers
 to AGP anything, is this a bus?

 Yes, it's a speeded-up, dedicated form of the PCI bus.

 The kernel configuration for it is

 Device Drivers== Character devices.

I see it, thanks.

M and recompile should fix my issues.

 HTH,
 Holly


Thanks again, Holly.

Creighton.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2.4 - 2.6 wierdness

2005-07-06 Thread Richard Fish
[EMAIL PROTECTED] wrote:

Okay, let's start over.  I have only posted the first post of this thread,
but I would say that all off the noise may imply that I am not alone here.

-I have a working setup in 2.4, less so now than before, but xorg does
still work.

-in 2.6, xorg will break and complain that /dev/agpgart does not exist.

  


Check /etc/udev/50-udev.rules.  You should have a line that says:

KERNEL=agpgart, NAME=misc/%k, SYMLINK=%k

A quick explanation of how udev works may help you find the real problem
here:

For drivers compiled into the kernel, their device nodes get created either:

  1. permanently by creating the device nodes manually and using the
tarball feature in /etc/conf.d/rc

  2. When udevstart is executed by /sbin/rc during startup

For modules, the device nodes are created when the kernel runs
/sbin/udevsend when the module is loaded.  You *must* have hotplug
support in the kernel for this though.

You can cause udev to generate debug messages by setting udev_log = 7
in /etc/udev/udev.conf.  The debug output goes to /var/log/messages.



-genkernel --udev --menuconfig all will not show me an option that refers
to AGP anything, is this a bus?
  


Well, in the normal kernel configuration, It is under Device
drivers-Character devices-/dev/apgart.

You need both AGPGART and the chipset specific driver.  For example, my
config has:

carcharias linux # grep AGP /usr/src/linux/.config
CONFIG_AGP=y
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_ATI is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD64 is not set
CONFIG_AGP_INTEL=y
# CONFIG_AGP_NVIDIA is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not set
# CONFIG_AGP_VIA is not set
# CONFIG_AGP_EFFICEON is not set

-I tried compiling the kernel directly once and got a kernel panic, I
don't remember if AGP was mentioned in that case.

  


Most common cause of this is not compiling the required drivers for your
root filesystem (disk and filesystem drivers) into your kernel.  Such
drivers cannot be modules without a great deal of effort.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2.4 - 2.6 wierdness

2005-07-05 Thread Jerry McBride
On Tuesday 05 July 2005 06:00 pm, [EMAIL PROTECTED] wrote:
 Trying to  Migrate to 2.6.  But when I reboot into my new genkerneled
 system, I cannot use X.org anymore, it complains about agpgart not
 working.  Even If I modprobe the kernel mod or even compile it in directly
 it rejects it.
 Any Ideas on how to proceed?

 Creighton


Without seeing the xorg logfile from /var/logs... I'd say you ahve to 
re-emerge xorg or at the least run revdep-rebuild -p to see whta has to get 
upgraded also.

**
 Registered Linux User Number 185956
  FSF Associate Member number 2340 since 05/20/2004
 Join me in chat at #linux-users on irc.freenode.net
Buy an Xbox for $149.00, run linux on it and Microsoft loses $150.00!
 7:26pm  up 6 days, 8 min,  2 users,  load average: 0.10, 0.13, 0.09
-- 
gentoo-user@gentoo.org mailing list