Results 1 to 5 of 5

Thread: Knoppix 3.3 hangs inserting a PCMCIA Compact Flash

  1. #1
    Junior Member
    Join Date
    Dec 2003
    Posts
    3

    Knoppix 3.3 hangs inserting a PCMCIA Compact Flash

    I dont know if this is the right forum for my problem.
    Feel free to redirect me to the correct one.


    I have a MSI Hermes-651P desktop computer

    http://www.msi.com.tw/program/produc...il.php?UID=418

    with a PCMCIA slot.

    I use a Knoppix 3.3 (19 nov 2003) both from CDROM,
    and from HD (the system is working without glitches
    with Slackware, Mandrake,RedHat and Window$ XP too).

    Running Knoppix, inserting a 64 MB Compact Flash into slot 0, the machine hang.
    The /var/log/messages follows:

    -----------------------------------------------------------------
    ---- This are the messages for embedded IDE controllers
    -----------------------------------------------------------------
    Dec 8 14:00:55 andrewh3 kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
    Dec 8 14:00:55 andrewh3 kernel: ide1 at 0x170-0x177,0x376 on irq 15
    Dec 8 14:00:55 andrewh3 kernel: hda: attached ide-disk driver.
    Dec 8 14:00:55 andrewh3 kernel: hda: host protected area => 1
    Dec 8 14:00:55 andrewh3 kernel: hda: 156355584 sectors (80054 MB) w/1819KiB Cache, CHS=9732/255/63
    Dec 8 14:00:55 andrewh3 kernel: ide-cd: passing drive hdc to ide-scsi emulation.
    Dec 8 14:00:55 andrewh3 kernel: hdc: attached ide-scsi driver.
    Dec 8 14:00:55 andrewh3 kernel: Partition check:
    Dec 8 14:00:55 andrewh3 kernel: hda: hda1 hda2 < hda5 hda6 hda7 > hda4
    Dec 8 14:00:55 andrewh3 kernel: ide: late registration of driver.
    ...
    ...
    ...
    --- Insert the PCMCIA card
    Dec 8 14:02:13 andrewh3 kernel: hde: SanDisk SDCFB-64, CFA DISK drive
    Dec 8 14:02:13 andrewh3 kernel: ide2 at 0x100-0x107,0x10e on irq 7
    Dec 8 14:02:13 andrewh3 kernel: hde: attached ide-disk driver.
    --- System hangs -----


    Note that on same system RedHat 8.0 is able to get the card
    inserted:

    Dec 8 14:25:26 andrewh2 kernel: hde: SanDisk SDCFB-64, ATA DISK drive
    Dec 8 14:25:26 andrewh2 kernel: ide2 at 0x100-0x107,0x10e on irq 9
    Dec 8 14:25:26 andrewh2 kernel: ide-floppy driver 0.99.newide
    Dec 8 14:25:26 andrewh2 kernel: hde: 125440 sectors (64 MB) w/1KiB Cache, CHS=490/8/32
    Dec 8 14:25:26 andrewh2 kernel: hde: hde1
    Dec 8 14:25:26 andrewh2 kernel: ide_cs: hde: Vcc = 3.3, Vpp = 0.0
    Dec 8 14:25:26 andrewh2 cardmgr[604]: executing: './ide start hde'
    ...
    ---- Is now possible to mount the file system on the card


    Last, the same card is working without problems on a IBM laptop
    with the same Knoppix 3.3 bootstraped from CDROM.

    Any suggestions ?

    Thanks in advance

    *am*

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: Knoppix 3.3 hangs inserting a PCMCIA Compact Flash

    Quote Originally Posted by amontefusco

    --- Insert the PCMCIA card
    Dec 8 14:02:13 andrewh3 kernel: hde: SanDisk SDCFB-64, CFA DISK drive
    Dec 8 14:02:13 andrewh3 kernel: ide2 at 0x100-0x107,0x10e on irq 7
    Dec 8 14:02:13 andrewh3 kernel: hde: attached ide-disk driver.
    --- System hangs -----
    It is getting attached to the ide-disk driver instead of the ide_cs that the redhat install is using below.

    Dec 8 14:25:26 andrewh2 kernel: ide_cs: hde: Vcc = 3.3, Vpp = 0.0
    Now if the ide-disk driver works like the ide-cd driver and you can pass the option to tell it to ignore say a hdc which is a burner and you want it to use the ide-scsi instead of ide-cd so you can burn then you should be able to create a file in /etc/modutils/ and have the contents put into the /etc/modules.conf to have the option used at boot.

    To do this create a file say pcmciafix in the directory /etc/modutils with these contents:
    Code:
    ## Added by me to fix pcmcia being detected incorrectly as ide-disk
    options ide-disk ignore=hde
    Then you would run update-modules to update the /etc/modules.conf with the changes to be used for the next boot. Now this is just a shot in the dark with me assuming that the ide-disk works the same as the ide-cd driver I have never tried it so I'm not sure it will work, all of this done as root.

    A last thought it may be as simple as modifying the append line in the /etc/lilo.conf and instead of there being a hde=scsi make it hde=ide-cs and then run /sbin/lilo -v to update lilo with the changes and have them used on next boot this done as root also, now this one is totally a guess. Anyways the problem is the ide-disk taking over the card when inserted instead of ide-cs so if these suggestions do not work that is where you need to start searching for the cause of the problem.

  3. #3
    Junior Member
    Join Date
    Dec 2003
    Posts
    3

    Re: Knoppix 3.3 hangs inserting a PCMCIA Compact Flash

    Quote Originally Posted by Stephen

    Now if the ide-disk driver works like the ide-cd driver and you can pass the option to tell it to ignore say a hdc which is a burner and you want it to use the ide-scsi instead of ide-cd so you can burn then you should be able to create a file in /etc/modutils/ and have the contents put into the /etc/modules.conf to have the option used at boot.

    To do this create a file say pcmciafix in the directory /etc/modutils with these contents:
    Code:
    ## Added by me to fix pcmcia being detected incorrectly as ide-disk
    options ide-disk ignore=hde
    Then you would run update-modules to update the /etc/modules.conf with the changes to be used for the next boot. Now this is just a shot in the dark with me assuming that the ide-disk works the same as the ide-cd driver I have never tried it so I'm not sure it will work, all of this done as root.

    A last thought it may be as simple as modifying the append line in the /etc/lilo.conf and instead of there being a hde=scsi make it hde=ide-cs and then run /sbin/lilo -v to update lilo with the changes and have them used on next boot this done as root also, now this one is totally a guess. Anyways the problem is the ide-disk taking over the card when inserted instead of ide-cs so if these suggestions do not work that is where you need to start searching for the cause of the problem.

    I did it

    cat /proc/cmdline
    BOOT_IMAGE=Linux ro root=304 hda=scsi hdb=scsi hdc=scsi hde=ide-cs apm=power-off nomce

    but without luck.
    Inserting the card I got again
    Code:
    Dec  8 21:53:51 andrewh3 cardmgr[276]: initializing socket 0
    Dec  8 21:53:51 andrewh3 cardmgr[276]: socket 0: ATA/IDE Fixed Disk
    Dec  8 21:53:51 andrewh3 cardmgr[276]:   product info: "SunDisk", "SDP", "5/3 0.6"
    Dec  8 21:53:51 andrewh3 cardmgr[276]:   manfid: 0x0045, 0x0401  function: 4 (fixed disk)
    Dec  8 21:53:51 andrewh3 cardmgr[276]: executing: 'modprobe ide-cs'
    Dec  8 21:53:53 andrewh3 kernel: hde: SanDisk SDCFB-64, CFA DISK drive
    Dec  8 21:53:53 andrewh3 kernel: ide2 at 0x100-0x107,0x10e on irq 7
    Dec  8 21:53:53 andrewh3 kernel: hde: attached ide-disk driver.
    the cardmgr is loading the correct module ide-cs but, as you pointed out,
    the ide-disk prevails.

    *am*

  4. #4
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    You do not mention if you tried the the option ignore file have you? Other than that I think I am out of ideas.

  5. #5
    Junior Member
    Join Date
    Dec 2003
    Posts
    3
    Quote Originally Posted by Stephen
    You do not mention if you tried the the option ignore file have you? Other than that I think I am out of ideas.
    Yes, I tried but without changes on the error pattern.

    *am*

Similar Threads

  1. Install to Compact Flash option like Flash Puppy
    By monckywrench in forum Ideas
    Replies: 4
    Last Post: 04-20-2005, 06:46 PM
  2. Usb Compact flash problems
    By Randy in forum Hardware & Booting
    Replies: 2
    Last Post: 02-03-2005, 09:48 PM
  3. booting knoppix off compact flash card?
    By drews in forum Customising & Remastering
    Replies: 3
    Last Post: 08-30-2004, 05:20 PM
  4. SMC 2632W, Compact Flash, PCMCIA on IBM TP T21 47U
    By knewbex in forum Hardware & Booting
    Replies: 0
    Last Post: 06-09-2004, 02:00 AM
  5. Install knoppix to Compact Flash card, how?
    By diablo266 in forum General Support
    Replies: 1
    Last Post: 03-28-2004, 05:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A picture

8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A

$12.00



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L picture

A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L

$27.98



Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM picture

Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM

$13.25



Samsung 16GB (2x8GB) PC3L-12800S Lap Top Memory RAM picture

Samsung 16GB (2x8GB) PC3L-12800S Lap Top Memory RAM

$20.00



Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP picture

Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP

$35.99



A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$287.96



A-Tech 256GB 8x 32GB 4Rx4 PC4-17000L DDR4 2133 MHz ECC LRDIMM Server Memory RAM picture

A-Tech 256GB 8x 32GB 4Rx4 PC4-17000L DDR4 2133 MHz ECC LRDIMM Server Memory RAM

$319.92