Skip to contentSkip to conversation

Problems with new hotplug version and 2.5.69 kernel

DISCUSSION Sami Nieminen 2 participants 5 messages May 8, 2003 – May 9, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

After upgrading from hotplug-20020828 to hotplug-20030501, I have had some problems with loading modules.. First, loading radeon module gives me this:

Linux agpgart interface v0.100 (c) Dave Jones
[drm] Initialized radeon 1.8.0 20020828 on minor 0 [drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held [drm:radeon_unlock] *ERROR* Process 3971 using kernel context 0

While with old hotplug version I get this:

Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected SiS 646 chipset
agpgart: Maximum main memory to use for agp memory: 438M
agpgart: AGP aperture is 64M @ 0xe8000000
[drm] Initialized radeon 1.8.0 20020828 on minor 0
agpgart: Found an AGP 2.0 compliant device.
agpgart: Putting AGP V2 device at 00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 01:00.0 into 4x mode [drm] Loading R200 Microcode

Also some other modules don't load automatically when using the new hotplug version (e.g. alsa oss emulation). I am using devfs and module-init-tools-0.9.11a on Gentoo distribution. I went back to old version to have my system working ok again.

P.S. Please CC me any questions as I am not subscribed to the list.

Thanks, Sami

Signature · 12 lines
Linux 2.5.69-bk3


-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
#1 lore raw
Quoted 9 lines · Sami Nieminen

Hi,

After upgrading from hotplug-20020828 to hotplug-20030501, I have had some problems with loading modules.. First, loading radeon module gives me this:

Linux agpgart interface v0.100 (c) Dave Jones
[drm] Initialized radeon 1.8.0 20020828 on minor 0 [drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held [drm:radeon_unlock] *ERROR* Process 3971 using kernel context 0

I'd suggest posting this to the linux-kernel mailing list, as that's a kernel driver change, nothing the hotplug scripts could have changed there :)

Quoted 12 lines

While with old hotplug version I get this:

Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected SiS 646 chipset
agpgart: Maximum main memory to use for agp memory: 438M
agpgart: AGP aperture is 64M @ 0xe8000000
[drm] Initialized radeon 1.8.0 20020828 on minor 0
agpgart: Found an AGP 2.0 compliant device.
agpgart: Putting AGP V2 device at 00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 01:00.0 into 4x mode [drm] Loading R200 Microcode

Quoted 4 lines

Also some other modules don't load automatically when using the new hotplug version (e.g. alsa oss emulation). I am using devfs and module-init-tools-0.9.11a on Gentoo distribution. I went back to old version to have my system working ok again.

Does Gentoo patch the base hotplug scripts any?
What kind of modules do not load, pci ones? Do you need to add fields to the usermap files?

thanks,

greg k-h

-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com

_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#2 lore raw
In reply to Sami Nieminen
Quoted 8 lines · Greg KH
Quoted 4 lines

Linux agpgart interface v0.100 (c) Dave Jones
[drm] Initialized radeon 1.8.0 20020828 on minor 0 [drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held [drm:radeon_unlock] *ERROR* Process 3971 using kernel context 0

I'd suggest posting this to the linux-kernel mailing list, as that's a kernel driver change, nothing the hotplug scripts could have changed there :)

Ok, I'll post there. I was also thinking that this is a bug on radeon driver, but it only appears when I use this newer hotplug release.

Quoted 6 lines
Quoted 4 lines

Also some other modules don't load automatically when using the new hotplug version (e.g. alsa oss emulation). I am using devfs and module-init-tools-0.9.11a on Gentoo distribution. I went back to old version to have my system working ok again.

Does Gentoo patch the base hotplug scripts any?

Yes it does. The small patches are here:
http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/hotplug-20030501-gentoo-patches.tar.bz2

Quoted 2 lines

What kind of modules do not load, pci ones? Do you need to add fields to the usermap files?

SIS900 driver for the network adapter did not load. The problem with alsa oss emulation module is that it loads but the entry /dev/dsp does not appear until I remove the module and modprobe again. This may also be kernel bug, but again only appears with the newer hotpug release. I have not added any fields to usermap files for these modules.

Thanks, Sami

Signature · 12 lines
Linux 2.5.69-bk3


-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
#3 lore raw
In reply to Sami Nieminen
Quoted 4 lines · Sami Nieminen
Quoted 1 line

Does Gentoo patch the base hotplug scripts any?

Yes it does. The small patches are here:
http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/hotplug-20030501-gentoo-patches.tar.bz2

Thanks for the link.

Quoted 4 lines
Quoted 2 lines

What kind of modules do not load, pci ones? Do you need to add fields to the usermap files?

SIS900 driver for the network adapter did not load.

Is this a pci driver issue? It looks like Gentoo patched things in the scripts to work a bit differently in that area.

Quoted 4 lines

The problem with alsa oss
emulation module is that it loads but the entry /dev/dsp does not appear until I remove the module and modprobe again. This may also be kernel bug, but again only appears with the newer hotpug release.

If you change hotplug scripts this gets fixed? That's really wierd, as it seems to be a devfs issue more than a hotplug issue.

Sorry I don't have any more ideas.

greg k-h

-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com

_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#4 lore raw
In reply to Sami Nieminen
Quoted 4 lines · Greg KH
Quoted 1 line

SIS900 driver for the network adapter did not load.

Is this a pci driver issue? It looks like Gentoo patched things in the scripts to work a bit differently in that area.

Yes, it seems to be pci issue. This is a notebook with integrated SiS ethernet and sound chips.

Quoted 7 lines
Quoted 4 lines

The problem with alsa oss
emulation module is that it loads but the entry /dev/dsp does not appear until I remove the module and modprobe again. This may also be kernel bug, but again only appears with the newer hotpug release.

If you change hotplug scripts this gets fixed? That's really wierd, as it seems to be a devfs issue more than a hotplug issue.

Yes, only difference between working and non-working configuration is the version of hotplug.

Quoted 1 line

Sorry I don't have any more ideas.

Thanks for your replies, I'll try to tweak some things to find more info and check the gentoo patches, maybe I drop some parts of them.

BR, Sami

Signature · 12 lines
Linux 2.5.69-bk3


-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel