From: Andy on
Martin wrote:

> On 03/06/2010 12:10 AM, Andy wrote:
>> Martin wrote:
>>
>>> On 03/05/2010 11:22 PM, Andy wrote:
>>>> Martin wrote:
>>>>
>>>>> On 03/05/2010 11:00 PM, Andy wrote:
>>>>>> Martin wrote:
>>>>>>
>>>>>>> It seems that the recent updates broke my binary nvidia driver.
>>>>>>> The kernel and glibc is blacklisted so the slackpkg did not upgrade
>>>>>>> them. I'm still on 2.6.32.7
>>>>>>> I did not switch off my computer for a few days. Today I did it and
>>>>>>> bump - can't startx
>>>>>>> I got the latest nvidia binary driver from their website. It seems
>>>>>>> to install fine, but when I startx:
>>>>>>>
>>>>>>> Warning: Error inserting agpgart
>>>>>>> (/lib/modules/2.6.32.7/kernel/drivers/char/agp/agpgart.ko): Invalid
>>>>>>> module format
>>>>>>> Fatal: Error inserting nvidia
>>>>>>> (lib/modules/2.6.32.7/kernel/drivers/video/nvidia.ko): invalid
>>>>>>> module format EE nvidia: failed to load the nvidia kernel module.
>>>>>>> Failed to load module 'nvidia' (module-specific error, 0)
>>>>>>> No drivers available
>>>>>>> Fatal server error:
>>>>>>> no screens found
>>>>>>>
>>>>>>>
>>>>>>> How could I solve it?
>>>>>>>
>>>>>>> thank you
>>>>>>> Martin
>>>>>>
>>>>>> I had the same problem. As stupid as this sounds, try insmod.
>>>>>> Worked for
>>>>>> me. Something in the latest module-init-tools seems to be broken.
>>>>>>
>>>>>> Andy
>>>>> Thanks Andy
>>>>>
>>>>> insmod nvidia
>>>>> insmod: can't read 'nvidia': no such file or directory
>>>>>
>>>>>
>>>>> modprobe nvidia gives me the warning and fatal error from the original
>>>>> error message I posted.
>>>>
>>>> Try insmod /lib/modules/2.6.33/kernel/drivers/video/nvidia.ko
>>>>
>>>> Andy
>>>>
>>> Brilliant!!! It works. Thanks
>>> Where would I add it for it to be issued every time I restart the
>>> computer?
>>
>> I've discovered that downgrading udev-151 to udev-141 fixes this problem
>> as well as the other problem I had with booting using an initrd.
>>
>> Andy
>
> I think I'll wait until there's a fix for module-init-tools
>
> Out of curiosity, how did you find out that it's udev?
> Obviously, you didn't try to downgrade most of the packages just to see
> which one is responsible for that bug, did you?:)

Turns out CONFIG_SYSFS_DEPRECATED needs to be turned off in the kernel. See
the other threads on this topic.

Andy

From: .Martin. on
Andy <andy(a)asjohnson.com> writes:

> Martin wrote:
>
>> On 03/06/2010 12:10 AM, Andy wrote:
>>> Martin wrote:
>>>
>>>> On 03/05/2010 11:22 PM, Andy wrote:
>>>>> Martin wrote:
>>>>>
>>>>>> On 03/05/2010 11:00 PM, Andy wrote:
>>>>>>> Martin wrote:
>>>>>>>
>>>>>>>> It seems that the recent updates broke my binary nvidia driver.
>>>>>>>> The kernel and glibc is blacklisted so the slackpkg did not upgrade
>>>>>>>> them. I'm still on 2.6.32.7
>>>>>>>> I did not switch off my computer for a few days. Today I did it and
>>>>>>>> bump - can't startx
>>>>>>>> I got the latest nvidia binary driver from their website. It seems
>>>>>>>> to install fine, but when I startx:
>>>>>>>>
>>>>>>>> Warning: Error inserting agpgart
>>>>>>>> (/lib/modules/2.6.32.7/kernel/drivers/char/agp/agpgart.ko): Invalid
>>>>>>>> module format
>>>>>>>> Fatal: Error inserting nvidia
>>>>>>>> (lib/modules/2.6.32.7/kernel/drivers/video/nvidia.ko): invalid
>>>>>>>> module format EE nvidia: failed to load the nvidia kernel module.
>>>>>>>> Failed to load module 'nvidia' (module-specific error, 0)
>>>>>>>> No drivers available
>>>>>>>> Fatal server error:
>>>>>>>> no screens found
>>>>>>>>
>>>>>>>>
>>>>>>>> How could I solve it?
>>>>>>>>
>>>>>>>> thank you
>>>>>>>> Martin
>>>>>>>
>>>>>>> I had the same problem. As stupid as this sounds, try insmod.
>>>>>>> Worked for
>>>>>>> me. Something in the latest module-init-tools seems to be broken.
>>>>>>>
>>>>>>> Andy
>>>>>> Thanks Andy
>>>>>>
>>>>>> insmod nvidia
>>>>>> insmod: can't read 'nvidia': no such file or directory
>>>>>>
>>>>>>
>>>>>> modprobe nvidia gives me the warning and fatal error from the original
>>>>>> error message I posted.
>>>>>
>>>>> Try insmod /lib/modules/2.6.33/kernel/drivers/video/nvidia.ko
>>>>>
>>>>> Andy
>>>>>
>>>> Brilliant!!! It works. Thanks
>>>> Where would I add it for it to be issued every time I restart the
>>>> computer?
>>>
>>> I've discovered that downgrading udev-151 to udev-141 fixes this problem
>>> as well as the other problem I had with booting using an initrd.
>>>
>>> Andy
>>
>> I think I'll wait until there's a fix for module-init-tools
>>
>> Out of curiosity, how did you find out that it's udev?
>> Obviously, you didn't try to downgrade most of the packages just to see
>> which one is responsible for that bug, did you?:)
>
> Turns out CONFIG_SYSFS_DEPRECATED needs to be turned off in the kernel. See
> the other threads on this topic.
>
> Andy
>


Is it possible to just turn it off in /boot/.config?

--
regards

..Martin.
From: Andy on
..Martin. wrote:

> Andy <andy(a)asjohnson.com> writes:
>
>> Martin wrote:
>>
>>> On 03/06/2010 12:10 AM, Andy wrote:
>>>> Martin wrote:
>>>>
>>>>> On 03/05/2010 11:22 PM, Andy wrote:
>>>>>> Martin wrote:
>>>>>>
>>>>>>> On 03/05/2010 11:00 PM, Andy wrote:
>>>>>>>> Martin wrote:
>>>>>>>>
>>>>>>>>> It seems that the recent updates broke my binary nvidia driver.
>>>>>>>>> The kernel and glibc is blacklisted so the slackpkg did not
>>>>>>>>> upgrade them. I'm still on 2.6.32.7
>>>>>>>>> I did not switch off my computer for a few days. Today I did it
>>>>>>>>> and bump - can't startx
>>>>>>>>> I got the latest nvidia binary driver from their website. It seems
>>>>>>>>> to install fine, but when I startx:
>>>>>>>>>
>>>>>>>>> Warning: Error inserting agpgart
>>>>>>>>> (/lib/modules/2.6.32.7/kernel/drivers/char/agp/agpgart.ko):
>>>>>>>>> Invalid module format
>>>>>>>>> Fatal: Error inserting nvidia
>>>>>>>>> (lib/modules/2.6.32.7/kernel/drivers/video/nvidia.ko): invalid
>>>>>>>>> module format EE nvidia: failed to load the nvidia kernel module.
>>>>>>>>> Failed to load module 'nvidia' (module-specific error, 0)
>>>>>>>>> No drivers available
>>>>>>>>> Fatal server error:
>>>>>>>>> no screens found
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> How could I solve it?
>>>>>>>>>
>>>>>>>>> thank you
>>>>>>>>> Martin
>>>>>>>>
>>>>>>>> I had the same problem. As stupid as this sounds, try insmod.
>>>>>>>> Worked for
>>>>>>>> me. Something in the latest module-init-tools seems to be broken.
>>>>>>>>
>>>>>>>> Andy
>>>>>>> Thanks Andy
>>>>>>>
>>>>>>> insmod nvidia
>>>>>>> insmod: can't read 'nvidia': no such file or directory
>>>>>>>
>>>>>>>
>>>>>>> modprobe nvidia gives me the warning and fatal error from the
>>>>>>> original error message I posted.
>>>>>>
>>>>>> Try insmod /lib/modules/2.6.33/kernel/drivers/video/nvidia.ko
>>>>>>
>>>>>> Andy
>>>>>>
>>>>> Brilliant!!! It works. Thanks
>>>>> Where would I add it for it to be issued every time I restart the
>>>>> computer?
>>>>
>>>> I've discovered that downgrading udev-151 to udev-141 fixes this
>>>> problem as well as the other problem I had with booting using an
>>>> initrd.
>>>>
>>>> Andy
>>>
>>> I think I'll wait until there's a fix for module-init-tools
>>>
>>> Out of curiosity, how did you find out that it's udev?
>>> Obviously, you didn't try to downgrade most of the packages just to see
>>> which one is responsible for that bug, did you?:)
>>
>> Turns out CONFIG_SYSFS_DEPRECATED needs to be turned off in the kernel.
>> See the other threads on this topic.
>>
>> Andy
>>
>
>
> Is it possible to just turn it off in /boot/.config?

I don't see any sysctl parameters for sysfs, and a quick google for boot
parameters didn't turn up any sysfs mutating options either, so I'd say it
needs to be disabled in .config and the kernel recompiled.

Andy