LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-10-2012, 06:17 AM   #1
klappnase
LQ Newbie
 
Registered: Oct 2003
Location: germany
Distribution: debian
Posts: 7

Rep: Reputation: 0
initrd fails to recognize pcmcia CF-card


Hi,

first, a happy new year to all of you!

I am trying to boot my Dell Latitude X1 netbook into a CompactFlash card. Unfortunately the BIOS does not recognize the card (at least the boot menu has entries for USB, CD drive, Floppy and net, but not for the CF card, which is apparently internally connected through the PCMCIA adapter).
So I tried to use /boot from the internal HDD and then mount the partition on the CF card as / .
However the initrd fails to recognize the CF card and so the boot process hangs at "Waiting for root file system..." . This seems odd, because when I boot into the system on the internal HDD, the card is properly recognized and appears to work flawless.
Btw., the system is a fresh install of debian squeeze.
On the running system, the card is recognized as /dev/hda , the relevant parts from dmesg look like:

[ 3.792170] pcmcia_socket pcmcia_socket0: pccard: PCMCIA card inserted into slot 0
[ 3.856480] lib80211_crypt: registered algorithm 'CCMP'
(...)
[ 4.194669] Uniform Multi-Platform E-IDE driver
[ 4.203419] ide-gd driver 1.18
(...)
[ 8.371256] pcmcia_socket pcmcia_socket0: cs: IO port probe 0x100-0x3af: clean.
[ 8.380154] pcmcia_socket pcmcia_socket0: cs: IO port probe 0x3e0-0x4ff: clean.
[ 8.387279] pcmcia_socket pcmcia_socket0: cs: IO port probe 0x820-0x8ff: clean.
[ 8.392121] pcmcia_socket pcmcia_socket0: cs: IO port probe 0xc00-0xcf7: clean.
[ 8.396625] pcmcia_socket pcmcia_socket0: cs: IO port probe 0xa00-0xaff: clean.
[ 8.400999] pcmcia_socket pcmcia_socket0: cs: memory probe 0xdfd00000-0xdfdfffff: excluding 0xdfd00000-0xdfd0ffff 0xdfdf0000-0xdfdfffff
[ 8.422076] pcmcia 0.0: pcmcia: registering new device pcmcia0.0
[ 8.467471] Probing IDE interface ide0...
[ 8.763149] hda: TS8GCF133, CFA DISK drive
[ 9.135563] firewire_ohci 0000:02:01.1: PCI INT B -> GSI 18 (level, low) -> IRQ 18
[ 9.232043] firewire_ohci: Added fw-ohci device 0000:02:01.1, OHCI version 1.10
[ 9.440213] ide0 at 0x100-0x107,0x10e on irq 3
[ 9.447151] isa bounce pool size: 16 pages
[ 9.453842] hda: max request size: 128KiB
[ 9.457556] hda: 15662304 sectors (8019 MB) w/1KiB Cache, CHS=15538/16/63
[ 9.461369] hda: hda1
[ 9.477875] ide-cs: hda: Vpp = 0.0

The part which is missing when trying to boot into the CF card is the lines beginning with "pcmcia_socket pcmcia_socket0: " , so actually the kernel seems to be somehow aware of the card (the "PCMCIA card inserted into slot 0" message is there, there are also alike messages when I remove and again plug in the card), but no /dev/hda is created. The first thought was that there might be one or the other driver module missing from the initrd, but I added *all* modules lsmod shows to /etc/initramfs-tools/modules and rebuilt the initrd, and cat /proc/modules from the rescue shell that i get when booting fails shows that they are present, but this did not help.

Does anyone have an idea, how I could "force" the initrd to probe the PCMCIA adapter for the CF card?

Btw. the relevant entry from grub.cfg looks like:

menuentry 'Janice' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 092a402c-c56d-494a-b689-85a36ad1f8aa
echo 'Loading Linux 2.6.32-5-686 ...'
linux /boot/vmlinuz-2.6.32-5-686 root=LABEL=JANICE ro
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-686
}

Thanks in advance

Michael
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub fails to recognize express card SSD pdxspork Linux - Software 3 04-26-2009 10:55 PM
Restoring SLES8 distro (initrd fails) javahollic Linux - Newbie 0 01-24-2005 05:48 AM
Mandrake does not recognize pcmcia? ben_build#2.1.0 Linux - Laptop and Netbook 7 11-04-2004 08:21 PM
Mandrake 10.0 does not seem to recognize any PCMCIA cards. lothario Linux - Hardware 6 10-03-2004 04:01 AM
How to make RH Linux 7.2 recognize pcmcia adapter? sceadu Linux - Newbie 0 05-22-2003 04:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration