Bug 112459

Summary: init script fails to load socket driver on 2.6 kernel
Product: [Fedora] Fedora Reporter: Bastien Nocera <bnocera>
Component: pcmcia-csAssignee: Arjan van de Ven <arjanv>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-12-20 09:46:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
also check that the driver is loaded before not loading any modules none

Description Bastien Nocera 2003-12-20 00:23:47 UTC
Description of problem:
On startup of a 2.6 kernel, the yenta_socket driver isn't loaded when
under 2.4 it is.

Version-Release number of selected component (if applicable):
kernel-pcmcia-cs-3.1.31-13

How reproducible:
Every time
  
On startup, the network script loads my PCMCIA WLAN card's driver, and
its dependencies, but not the socket driver (expected).
When the pcmcia script is launched, there's already a "pcmcia" entry
in /proc/devices which wouldn't be there under a 2.4 kernel.
So in addition to checking that pcmcia is present under /proc/devices,
it should check that the driver for the socket is loaded.

Trivial patch attached below.

Comment 1 Bastien Nocera 2003-12-20 00:25:02 UTC
Created attachment 96647 [details]
also check that the driver is loaded before not loading any modules

Comment 2 Arjan van de Ven 2003-12-20 09:46:57 UTC
patch added to package