From: Craig H. <cr...@gu...> - 2006-07-31 22:18:51
|
Reboot the gumstix with no card inserted. Then: modprobe pcmcia udevmonitor & <insert card now> What does it say? On Jul 31, 2006, at 3:16 PM, G Elliott wrote: > i have tried two compact flash cards (lexar and sandisk). neither is > readable/writeable by gumstix, but readable/writeable by everything > else. > > if i boot without any card in, and do > > modprobe ide-cs > modprobe ide-disk > > i get no errors. then i insert the cf card, i get > > # pccard: PCMCIA card inserted into slot 0 > > but nothing shows up in /dev > > pccardctl has no info on the card unless the card is in during boot. > if i boot up with a cf card inserted, i can get ide-disk to throw > some errors. if i just insert it after boot it's recognized by > pcmcia but that's all that happens. > > maybe an issue with hot plugging? > > > On Jul 31, 2006, at 2:44 PM, Craig Hughes wrote: > >> Do other CF cards work with your gumstix/CFstix? Since the gumstix >> can read the CIS from the card, it seems likely that the hardware is >> OK, but you never know... >> >> C >> >> On Jul 28, 2006, at 10:18 PM, G Elliott wrote: >> >>> hopefully this is an easy question to answer.. >>> >>> i want to mount my cf card using the cf stix. i have tried >>> formatting my card as FAT and ext2. the kernel recognizes the card, >>> pccardctl sees it, but no device shows up in /dev by default. if i >>> modprobe ide-disk, i get a /dev/hda, but all sorts of errors show >>> up. >>> >>> here's what i did and the messages i got: >>> >>> >>> i edited /etc/modules, commented out the first two mmc lines, and >>> then uncommented the pcmcia line. >>> rebooted. no block device shows up in /dev. >>> >>> here's what comes up during boot: >>> >>> Initializing random number generator... pccard: PCMCIA card inserted >>> into slot 0 >>> pcmcia: registering new device pcmcia0.0 >>> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 >>> ide: Assuming 50MHz system bus speed for PIO modes; override with >>> idebus=xx >>> done. >>> hda: SanDisk SDCFB-128, CFA DISK drive >>> ide0 at 0xc4860000-0xc4860007,0xc486000e on irq 49 >>> ide-cs: hda: Vpp = 0.0 >>> >>> >>> pccardctl returns >>> >>> # pccardctl ident >>> Socket 0: >>> product info: "SunDisk", "SDP", "5/3 0.6", "" >>> manfid: 0x0045, 0x0401 >>> function: 4 (fixed disk) >>> >>> # pccardctl info >>> PRODID_1="SunDisk" >>> PRODID_2="SDP" >>> PRODID_3="5/3 0.6" >>> PRODID_4="" >>> MANFID=0045,0401 >>> FUNCID=4 >>> >>> # pccardctl status >>> Socket 0: >>> 5.0V 16-bit PC Card >>> Subdevice 0 (function 0) bound to driver "ide-cs" >>> >>> >>> then i looked here: >>> >>> # ls -la /sys/bus/pcmcia/devices/ >>> drwxr-xr-x 2 root root 0 Dec 31 16:01 . >>> drwxr-xr-x 4 root root 0 Dec 31 16:00 .. >>> lrwxrwxrwx 1 root root 0 Dec 31 16:01 0.0 - >>>> ../../../devices/platform/pxa2xx-pcmcia/0.0 >>> >>> >>> # ls /dev >>> audio kmem mtd0 mtdblock1 random ttyS1 >>> console kmsg mtd0ro null shm ttyS2 >>> dsp log mtd1 port snd ttyS3 >>> full mem mtd1ro ptmx tty urandom >>> mixer mtdblock0 pts ttyS0 zero >>> >>> >>> now check this out: >>> >>> # modprobe ide-disk >>> hda: max request size: 128KiB >>> hda: 250880 sectors (128 MB) w/1KiB Cache, CHS=980/8/32 >>> hda:hda: status timeout: status=0xe0 { Busy } >>> ide: failed opcode was: unknown >>> hda: drive not ready for command >>> ide0: reset: master: error (0x0a?) >>> hda: status timeout: status=0xe0 { Busy } >>> ide: failed opcode was: unknown >>> hda: drive not ready for command >>> ide0: reset: master: error (0x0a?) >>> end_request: I/O error, dev hda, sector 0 >>> Buffer I/O error on device hda, logical block 0 >>> end_request: I/O error, dev hda, sector 0 >>> Buffer I/O error on device hda, logical block 0 >>> unable to read partition table >>> >>> but if i ls /dev again, hda now shows up. >>> >>> # ls /dev >>> audio kmem mtd0 mtdblock1 random ttyS1 >>> console kmsg mtd0ro null shm ttyS2 >>> dsp log mtd1 port snd ttyS3 >>> full mem mtd1ro ptmx tty urandom >>> hda mixer mtdblock0 pts ttyS0 zero >>> >>> >>> >>> >>> >>> >>> >>> -------------------------------------------------------------------- >>> - >>> - >>> --- >>> Take Surveys. Earn Cash. Influence the Future of IT >>> Join SourceForge.net's Techsay panel and you'll get the chance to >>> share your >>> opinions on IT & business topics through brief surveys -- and earn >>> cash >>> http://www.techsay.com/default.php? >>> page=join.php&p=sourceforge&CID=DEVDEV >>> _______________________________________________ >>> gumstix-users mailing list >>> gum...@li... >>> https://lists.sourceforge.net/lists/listinfo/gumstix-users >> >> >> --------------------------------------------------------------------- >> - >> --- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to >> share your >> opinions on IT & business topics through brief surveys -- and earn >> cash >> http://www.techsay.com/default.php? >> page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> gumstix-users mailing list >> gum...@li... >> https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys -- and earn > cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users |