WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TC3 creates no /tce ?  (Read 2836 times)

Offline bpoterie

  • Newbie
  • *
  • Posts: 3
TC3 creates no /tce ?
« on: September 17, 2010, 10:24:01 AM »
Hello,
i currently run latest TC2.x on an embedded machine (PC104 card), running on a CompactFlash card. For various reasons, i need to upgrade to TC3.
I tried to install TC3 on another CF card, using the USB Install tool on a PC booted over the TC3 distrib CD. Install fine, creates 2 partitions, ...., boot fine, but then :
 -pb 1- do not see the eth0 port /SOLVED/ -> add firmware.tcz through an usb stick (cumbersome, but works)
 -pb 2- i install kmaps.tcz the same way, but the command to change keyboard has no effect whatsoever :
       % sudo loadkmap < /usr/share/kmap/fr-latin1.kmap
 -pb 3- Backup won't work -> there is no /tce dir ! So, no mydata.gz and so on ...
Looking further, i discover that there is no trace of the CF card in /dev. None. With TC2 i can see (and work with) /dev/hda1 and /dev/hda2, but with TC3 there is nothing, neither hdxx nor sdxx. "fdisk -l" returns only ramdisk and the usb stick. So i am stuck.

Does someone had the same problem ? My CF card is a PQi 2GB, my PC104 board a Versalogic P-EPM5-E rev5 (2006) with onboard CF slot.

Thanks for any info !
Bruno

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: TC3 creates no /tce ?
« Reply #1 on: September 17, 2010, 02:12:50 PM »
Try adding the boot code "waitusb=5"
This will insert a delay that might be necessary to allow the CF card to be read.
( I know that it is not USB, but the delay may help .)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: TC3 creates no /tce ?
« Reply #2 on: September 17, 2010, 03:09:12 PM »
Find out what driver was used in tc 2.x (lspci -k), and check if there's anything related in 3.x dmesg.
The only barriers that can stop you are the ones you create yourself.

Offline bpoterie

  • Newbie
  • *
  • Posts: 3
Re: TC3 creates no /tce ?
« Reply #3 on: September 24, 2010, 07:50:53 AM »
sorry for not being able to react faster
@gerald_clark : there already was "waitusb=5" in the boot line, thanks anyway
thank you for giving the lspci hint, i think i got the culprit :
Quote
   amd74xxx IDE port disabled
   AMD_IDE: probe of 0000:00:0f.2 failed with error -12
   cs5536: disabled by bios
   ide_generic: please use "probe_mask=0x3f" module parameter ...
The USB part seems ok
What strikes me is the "disabled by bios" part, as it works fine under 2.x ...

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: TC3 creates no /tce ?
« Reply #4 on: September 24, 2010, 02:11:58 PM »
Quote
   ide_generic: please use "probe_mask=0x3f" module parameter ...
Did you try this suggestion?

Offline bpoterie

  • Newbie
  • *
  • Posts: 3
Re: TC3 creates no /tce ?
« Reply #5 on: September 28, 2010, 09:56:48 AM »
i tried, but no method did work out :
- there is no /etc/modules.conf (and anyway it has to be persistent, which is the problem to be solved)
- sudo echo 0x3f > /sys/module/ide_pci_generic/parameters/probe_mask does not work (not allowed)
- adding ide.probe_mask=0x3f (or ide_pci_generic.probe...) (or ide_mod.probe...) (or ide_pci_mod.probe...) on boot line has no effect

I am not such an expert in TC as to be able to modify the archive image on the CF card directly  :-[

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: TC3 creates no /tce ?
« Reply #6 on: September 28, 2010, 01:53:29 PM »
- to directly modify the image, see the wiki topics on remastering
- the redirection would still be in user mode (i.e. for the > )
- I think the actual boot parameter would be ide_generic.probe_mask=0x3f