Hi everyone,

I already tried it somewhere else, but as no one knew help, I hope it
is ok to bother you, too ;)

I am trying to boot my Dell Latitude X1 netbook into a CompactFlash card.
The system is debian squeeze.
The card is inserted into the netbook's built-in CF card slot, which
apparently is connected internally through a Pcmcia adapter.

Because the netbook is not able to boot from the card itself (it does not
show up in the netbook's BIOS bot menu), I have a
spearate /boot partition on the netbbok's internal HDD (on /dev/sda1).
Now, when I boot into the squeeze install on the HDD (on /dev/sda2), the
CF card is detected as /dev/hda and appears to work flawlessly.

So I copied the squeeze install onto the CF card (/dev/hda1), with
the /boot partition on /dev/sda1, and try to boot this, however the initrd
fails to detect the CF card and leaves the system hanging at "Waiting for
root file system..." and after 30 seconds or so I am dropped onto a
rescue shell.

My first thought was that one or the other driver module needed for the
CF card was missing from the initrd, however after I rebuilt the initrd
with every single module that lsmod from the running system reports
included, it still is the same :(

When I do
    $ cat /proc/modules
from the rescue shell, I can verify that
the modules are actually present, but
    $ ls /dev | grep hd
shows that the device files for the CF card are still missing, so it is
no surprise that the file system is not found.

Shortly before the system hangs, the boot message

    pcmcia_socket pcmcia_socket0: pccard: PCMCIA card inserted into slot 0

appears, and when I eject and re-insert the card, there are alike messages,
too, so apparently the slot itself is recognized, and even the card seems to
be detected somehow, but not recognized as compactflash card.

So it seems that there is some kind of "magic" missing from the initrd that
is responsible for probing the pcmcia port; I guess that the lines:

pcmcia_socket pcmcia_socket0: cs: memory probe 0xdfd00000-0xdfdfffff:
                          excluding 0xdfd00000-0xdfd0ffff 0xdfdf0000-0xdfdfffff
pcmcia 0.0: pcmcia: registering new device pcmcia0.0

from the dmesg output show that the card is finally detected, but
"who" is responsible for this (probably some udev rule? but how to set it up?),
and how to add this to the initrd?

I cannot believe that it is not possible to have the root file system on such
a card, but I have no idea what else to try.
Any ideas are much appreciated.

Below I attached some of the output of dmesg and lspci I get when I boot
into the working system on /dev/sda2, in case it might help to track
down the problem.

Regards and thanks in advance.

Michael

$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express 
Processor to DRAM Controller (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML 
Express Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express 
Graphics Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI 
Express Port 1 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) 
USB UHCI #1 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) 
USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) 
USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) 
USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW 
(ICH6 Family) AC'97 Audio Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge 
(rev 03)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) 
IDE Controller (rev 03)
02:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b3)
02:01.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 08)
02:01.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host 
Adapter (rev 17)
02:03.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] 
Network Connection (rev 05)


$ dmesg
(...)
[    8.610412] pcmcia_socket pcmcia_socket0: pccard: PCMCIA card inserted into 
slot 0
[    8.616028] mmc0: SDHCI controller on PCI [0000:02:01.2] using DMA
[    8.659306] udev[312]: renamed network interface eth0 to eth1
[    8.922665] composite sync not supported
[    9.091638] pcmcia_socket pcmcia_socket0: cs: IO port probe 0x100-0x3af: 
clean.
[    9.093498] pcmcia_socket pcmcia_socket0: cs: IO port probe 0x3e0-0x4ff: 
clean.
[    9.094287] pcmcia_socket pcmcia_socket0: cs: IO port probe 0x820-0x8ff: 
clean.
[    9.094945] pcmcia_socket pcmcia_socket0: cs: IO port probe 0xc00-0xcf7: 
clean.
[    9.095837] pcmcia_socket pcmcia_socket0: cs: IO port probe 0xa00-0xaff: 
clean.
[    9.096622] pcmcia_socket pcmcia_socket0: cs: memory probe 
0xdfd00000-0xdfdfffff: excluding 0xdfd00000-0xdfd0ffff 0xdfdf0000-0xdfdfffff
[    9.107820] pcmcia 0.0: pcmcia: registering new device pcmcia0.0
[    9.436177] Console: switching to colour frame buffer device 160x48
[    9.448250] fb0: inteldrmfb frame buffer device
[    9.448253] registered panic notifier
[    9.456235] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
[    9.459171] Intel ICH 0000:00:1e.2: PCI INT A -> GSI 16 (level, low) -> IRQ 
16
[    9.459345] Intel ICH 0000:00:1e.2: setting latency timer to 64
[    9.498109] Uniform Multi-Platform E-IDE driver
[    9.582113] Probing IDE interface ide0...
[    9.868535] hda: TS8GCF133, CFA DISK drive
[   10.284039] intel8x0_measure_ac97_clock: measured 55253 usecs (2662 samples)
[   10.284170] intel8x0: clocking to 48000
[   10.540132] ide0 at 0x100-0x107,0x10e on irq 3
[   10.540267] isa bounce pool size: 16 pages
[   10.540398] ide-cs: hda: Vpp = 0.0
[   10.619136] ide-gd driver 1.18
[   10.619247] hda: max request size: 128KiB
[   10.619323] hda: 15662304 sectors (8019 MB) w/1KiB Cache, CHS=15538/16/63
[   10.619530]  hda: hda1
(...)

.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

Space: the final frontier.  These are the voyages of the starship
Enterprise. Its five-year mission: to explore strange new worlds; to seek
out new life and new civilizations; to boldly go where no man has gone
before.
                -- Captain James T. Kirk


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120117210827.7f61cec9.klappn...@freenet.de

Reply via email to