|
Bugzilla – Full Text Bug Listing |
| Summary: | Module still loaded after device removal | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE Linux 10.1 | Reporter: | Michael Stather <kontakt> |
| Component: | YaST2 | Assignee: | Ladislav Slezák <lslezak> |
| Status: | RESOLVED WONTFIX | QA Contact: | Klaus Kämpf <kkaempf> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | Alpha 1 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | All | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | YaST2 logs | ||
|
Description
Michael Stather
2005-10-09 19:27:58 UTC
Created attachment 52045 [details]
YaST2 logs
According to the log file /etc/sysconfig/hardware/bus-pci-0000:04:06.0 was removed by the yast module. Could you check whether any of /etc/sysconfig/hardware/* files use bttv driver? (use "grep bttv /etc/sysconfig/hardware/*" command) The grep command didn´t return a result, so I guess bttv isn´t referenced. I checked again but it starts and detects my card. I removed the card from my system and the driver isn´t loaded anymore at startup. I just noticed that it´s the same with a soundcard. I installed one then removed it in YaST but the kernel module is still loaded. Is hardware removed from sysconfig automatically if I remove it from the system or so I have to remove the hardware in YaST prior to removing the cards. I just tested with another soundcard which doesn´t work. I removed it from YaST but I still have the errors about it in the messages log. I think that the drivers are loaded automatically by hotplug/udev. Can I prevent loading of a driver? What should yast do when user decides to remove a device? Just to remove all configuration (and leave hotplug to load the drivers) or to prevent loading of the drivers? IMHO all sevice setting and rules should be removed, since trying out new hardware shouldn´t harm the system configuration. Every physically conected device will be set up at startup via udev. udev calls hwup. hwup looks for a config file. If there is a config then hwup follows the settings from it. If there is no configuration it automatically detects the right driver and loads it. Thus you normally need no special config file for most devices. If you want to disable a physically conected device, then just create a config file (/etc/sysconfig/hardware/bus-pci-0000:04:06.0 in your case) and set STARTMODE=manual openSUSE10.3/11.0 do not use sysconfig anymore, the driver needs to be blacklisted... mass reopening all SuSE Linux bugs that are set to REMIND+LATER to change the resolution to WONTFIX (adapting to new policy) mass reopening all SuSE Linux bugs that are set to REMIND+LATER to change the resolution to WONTFIX (adapting to new policy) mass reopening all SuSE Linux bugs that are set to REMIND+LATER to change the resolution to WONTFIX (adapting to new policy) Closing old LATER+REMIND bugs as WONTFIX - if you still plan to work on it, feel free to reopen and set to ASSIGNED. In case the report saw repeated reopen comments, it's due to bugzilla timing out on the huge request ;( |