Bug 57622

Summary: Boot-up hangs when initializing PCMCIA
Product: [Retired] Red Hat Linux Reporter: Petter Holmstrvm <petter.holmstrom>
Component: kernel-pcmcia-csAssignee: Dave Jones <davej>
Status: CLOSED WONTFIX QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: donj, nkudriavtsev, pfrields
Target Milestone: ---   
Target Release: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-11-25 07:30:32 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
A kernel patch to run Linux on ACL10 laptops (tested with kernel 2.4.18-5)
none
DMI BIOS dump for Compal ACL10 laptop none

Description Petter Holmstrvm 2001-12-17 19:26:10 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)

Description of problem:
I installed RH 7.2 on a MP978 (Chicony) laptop. When I tried to boot from 
CD, the installer hang when initializing PC-cards. I booted from a floppy 
and could continue the installation.
When the installation was finished and I booted up the computer, the boot-
up hung when initializing PCMCIA. This did not happen with RH 7.0.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Install RedHat 7.2
2. Reboot the computer
3. Wait
	

Actual Results:  The computer hung.

Expected Results:  The PCIMCIA services should have started and the boot-
up would have finished, allowing me to use the computer.

Additional info:

No error messages were reported.

Comment 1 Nicholas Kudriavtsev 2002-06-26 13:51:15 UTC
The same result with Compal CL10 based notebook and RedHat 7.1

Comment 2 Don Jordan 2002-06-27 23:25:30 UTC
I am using 7.3 with a Compal ACL10 and the same result.

Comment 3 Nicholas Kudriavtsev 2002-07-02 06:45:31 UTC
It is posible to install from cd-rom with 'pci=off' kernel option.

Comment 4 Nicholas Kudriavtsev 2002-07-05 07:22:42 UTC
Some more information.

Compal CL10 (ACL10) has O2 Micro&#8217;s OZ6933 CardBus Controller.

Tested OS &#8211; RedHat 7.3.

The first boot after installation runs OK. The second boot and others hang on
PCMCIA starting.

After booting with PCMCIA switched off, &#8216;modprobe pcmcia_core&#8217; is OK. &#8216;modprobe
yenta_socket&#8217; puts messages
	PCI: No IRQ known for interrupt pin A of device 02:04.0. Please try using
pci=biosirq.
	PCI: No IRQ known for interrupt pin B of device 02:04.1. Please try using
pci=biosirq.
and then hangs.

Pci=biosirq option provides no help.


Comment 5 Nicholas Kudriavtsev 2002-07-22 10:22:33 UTC
Created attachment 66244 [details]
A kernel patch to run Linux on ACL10 laptops (tested with kernel 2.4.18-5)

Comment 6 Nicholas Kudriavtsev 2002-07-22 10:24:05 UTC
OK! At last, I have found workarounds for running Linux on ACL10 laptops.

1. A patch for Redhat&#8217;s Linux kernel 2.4.18-5, but I think that patch is
suitable for other releases of 2.4 kernel. Patched file is
arch/i386/kernel/pci-pc.c. The pci-pc.acl10.diff patch in attachment to Bug# 57622.

2. To run nvidia driver you need an updated BIOS. The BIOS that I used from
http://www.v-service.ru/FTP_Files/Notebook/BIOS/CL10/130.zip. Last BIOS from
www.compal.com marked as v0.5A and I did not experiment with it.


Comment 7 Arjan van de Ven 2002-07-22 15:18:19 UTC
Ok unfortionatly I can't add this patch, since it affects ALL notebooks with
this chipset not just your model ;(

Maybe if you send dmidecode output (dmidecode is part of the kernel-utils
package) I can try to make it for your laptop only

Comment 8 Nicholas Kudriavtsev 2002-07-23 07:36:01 UTC
Sure pci-pc.c is not right place for that patch, it is only short cut workaround.

I tried to put the code in dmi_scan.c, but got conclusion that global pci_dev
info structure was not initialized at stage of execution of dmi_scan, so moved
the code to pci-pc.c.

In reference to dmidecode output, I will send it in a few day.

Comment 9 Nicholas Kudriavtsev 2002-07-24 07:25:51 UTC
Created attachment 66744 [details]
DMI BIOS dump for Compal ACL10 laptop

Comment 10 Nicholas Kudriavtsev 2002-07-24 07:32:00 UTC
Original BIOS on laptop was version "V0.05" release "02/09/2001"