WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Tiny Core 2.0  (Read 12786 times)

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Tiny Core 2.0
« on: June 08, 2009, 01:59:29 AM »
There's no /tmp/.tce_dir  I'm booting with tce=hda3/tcZ.   

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Tiny Core 2.0
« Reply #1 on: June 08, 2009, 02:26:02 AM »
Its always been /opt/.tce_dir and working fine.
I am booting with tce=sda1/tcZ
10+ Years Contributing to Linux Open Source Projects.

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: Tiny Core 2.0
« Reply #2 on: June 08, 2009, 02:57:35 AM »
tce-wget:

Code: [Select]
TCEDIR="$(cat /tmp/.tce_dir)"

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Tiny Core 2.0
« Reply #3 on: June 08, 2009, 03:08:54 AM »
OK. I guess you are the first to use that new little wrapper tce-wget.
10+ Years Contributing to Linux Open Source Projects.

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: Tiny Core 2.0
« Reply #4 on: June 08, 2009, 03:11:23 AM »
Sure....now it's officially OK to use the CLI  :)

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Tiny Core 2.0
« Reply #5 on: June 08, 2009, 03:14:04 AM »
Very true, was mostly ignored now its a microcore necessity.
10+ Years Contributing to Linux Open Source Projects.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14912
Re: Tiny Core 2.0
« Reply #6 on: June 08, 2009, 09:34:15 AM »
Not exactly a bug:
Code: [Select]
$ lspci
00:00.0 Class 0600: Device 8086:27a0 (rev 03)
00:02.0 Class 0300: Device 8086:27a2 (rev 03)
00:02.1 Class 0380: Device 8086:27a6 (rev 03)
...

..with pci-utils extension loaded:
Code: [Select]
$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
...

Maybe something changed with the way pci-ids is parsed?

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Tiny Core 2.0
« Reply #7 on: June 08, 2009, 11:27:39 AM »
Our /usr/local always starts out empty. Typically  /usr/local/share/ is the location for pci.ids.gz

Try:
lspci -i /usr/share/misc/pci.ids.gz

Of course you may wish to make a link to avoid specifying the location on the command line.
« Last Edit: June 08, 2009, 12:07:54 PM by roberts »
10+ Years Contributing to Linux Open Source Projects.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11073
Re: Tiny Core 2.0
« Reply #8 on: June 08, 2009, 03:38:23 PM »
A cleaner solution would be lspci which looks in /usr/share/misc.
The only barriers that can stop you are the ones you create yourself.

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: Tiny Core 2.0
« Reply #9 on: June 08, 2009, 08:34:45 PM »
Or even better....run Juanito's pci-utils....can't afford 260 kB??  (cheapskates.... :D  )

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Tiny Core 2.0
« Reply #10 on: June 08, 2009, 08:39:28 PM »
That is where the pci.ids.gz came from, but alas it is compiled to look at /usr/local which for an extension is fine but not in base. So best to recompile for base specs and not extension specs.

Cheapskates, you bet. 260 here, 260 there, is keeps adding up, no more is tinycore 10MB.  :'(
10+ Years Contributing to Linux Open Source Projects.

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: Tiny Core 2.0
« Reply #11 on: June 08, 2009, 10:09:04 PM »
 :-X  Even with pci-utils, a complete compile environmnent, 74 loops....., I still have 2/3 of my 512M ram.  :)

edit: actually, if I close down skype, several instances of FF, xmms running, etc., I'm down to under 40M used (after adding  back the cache & buffers)
« Last Edit: June 08, 2009, 11:21:37 PM by jpeters »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14912
Re: Tiny Core 2.0
« Reply #12 on: June 08, 2009, 11:33:39 PM »
That is where the pci.ids.gz came from, but alas it is compiled to look at /usr/local which for an extension is fine but not in base. So best to recompile for base specs and not extension specs.

I'll do this in the next day or two - I need to test this, but wouldn't the "lspci" from earlier versions of tc look in /usr if only pci-ids were replaced?

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: Tiny Core 2.0
« Reply #13 on: June 09, 2009, 03:20:03 AM »
I thought this was working earlier.  There's no problem with "wget ftp://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/2.x/tcz/...         but:
Code: [Select]
tc@box:/mnt/hda3/tcZ2$ tce-load vim_7.1.244.tcz wget install
vim_7.1.244.tcz
wget: server returned error: HTTP/1.1 404 Not Found
md5sum: vim_7.1.244.tcz.md5.txt: No such file or directory
tc@box:/mnt/hda3/tcZ2$ tce-load xonclock.tcz wget install
xonclock.tcz
wget: server returned error: HTTP/1.1 404 Not Found
md5sum: xonclock.tcz.md5.txt: No such file or directory




« Last Edit: June 10, 2009, 04:45:57 AM by jpeters »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14912
Re: Tiny Core 2.0
« Reply #14 on: June 09, 2009, 08:20:23 AM »
That is where the pci.ids.gz came from, but alas it is compiled to look at /usr/local which for an extension is fine but not in base. So best to recompile for base specs and not extension specs.

I'll do this in the next day or two - I need to test this, but wouldn't the "lspci" from earlier versions of tc look in /usr if only pci-ids were replaced?

I took "lspci" from an earlier rc (2.0rc1) and things work fine - probably the easiest thing to do would be to revert back to this one, which works with the latest pci-ids