WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TCL as micro web server ~ n00b starts here  (Read 19000 times)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: TCL as micro web server ~ n00b starts here
« Reply #15 on: January 27, 2013, 06:11:45 AM »
Hi cpcnw
Quote
I used 'showapps noswap waitusb=5 .....
Did you actually see the names of your apps being listed when it booted? If not, then 5 seconds was not long
enough, try 10. I think this would also account for no disks being found.
Quote
It boots ok with one error I cant catch ....
Enter:
Code: [Select]
dmesg | lessYou can use the page and arrow keys to navigate and check for errors/warnings.

Offline cpcnw

  • Newbie
  • *
  • Posts: 21
Re: TCL as micro web server ~ n00b starts here
« Reply #16 on: January 27, 2013, 08:25:57 AM »
Thanks Rich - but if no discs are found how is it booting? Or does the kernel not need controller support for the boot process?

Odd thing is about all this, when using my ext usb cd to load tc it doesnt see the cf 'disc' either...

Lastly for life of me cant get a pipe on my keyboard. I know us keymap is default but this is a compact and its getting it wrong ... I get chevrons where pipe should be ...

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: TCL as micro web server ~ n00b starts here
« Reply #17 on: January 27, 2013, 08:57:09 AM »
Hi cpcnw
If I remember correctly, basically, the boot loader finds the disk and loads the kernel into RAM. Then the kernel takes
over and scans the hardware asynchronously. If the process that checks for USB drives hasn't populated the /dev
directory when the kernel is ready for it, the kernel just moves on. The kernel is not aware of the boot loader or which
disk it is loaded from. That's the reason for waitusb=.
Quote
Odd thing is about all this, when using my ext usb cd to load tc it doesnt see the cf 'disc' either...
When you get to the screen with the F2, F3, F4  message, enter:
Code: [Select]
tc waitusb=10and see if your cf disk shows up then.
Sorry, can't help with the keyboard.
By the way, when you boot from the CD, is that listed? Enter:
Code: [Select]
ls /mntfor a list of available drives.

Offline cpcnw

  • Newbie
  • *
  • Posts: 21
Re: TCL as micro web server ~ n00b starts here
« Reply #18 on: January 27, 2013, 10:40:51 AM »
Cheers Rich - the way I see this is that the tc kernel is not able to support the disc controller whereas puppy does. Im going to boot puppy via cd again and try and get a copy of the dmesg to look at and see whats going on there. Think someone else suggested that on one of my other threads - which is the same issue actually.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: TCL as micro web server ~ n00b starts here
« Reply #19 on: January 27, 2013, 10:43:47 AM »
You should not double post.  It is a waste of everybody's time and just confuses the issue.

Offline cpcnw

  • Newbie
  • *
  • Posts: 21
Re: TCL as micro web server ~ n00b starts here
« Reply #20 on: January 27, 2013, 10:47:20 AM »
Double post? This is an ongoing issue - revisited after a long time because there was no resolution. One thing has led to another. Im still working through that. If a new post was created every time a new issue came up that was the result of asking a question there would literally be millions of posts.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: TCL as micro web server ~ n00b starts here
« Reply #21 on: January 27, 2013, 10:56:45 AM »
You are the one that said you have another thread which is the same issue, not me.

Offline cpcnw

  • Newbie
  • *
  • Posts: 21
Re: TCL as micro web server ~ n00b starts here
« Reply #22 on: January 27, 2013, 11:03:51 AM »
Excuse me for not remembering everything I posted 4 months ago and not forseeing that this thread may actually end up about as far as I got last time.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: TCL as micro web server ~ n00b starts here
« Reply #23 on: January 27, 2013, 11:07:12 AM »
OK, let's not have this escalate into anything.

@gerald_clark: Point made.

@cpcnw: Point taken.

Now let's move on please.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: TCL as micro web server ~ n00b starts here
« Reply #24 on: January 27, 2013, 03:01:10 PM »
Excuse me for not remembering everything I posted 4 months ago and not forseeing that this thread may actually end up about as far as I got last time.
Easy:
http://forum.tinycorelinux.net/index.php?action=profile;area=showposts;u=12567
;)
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: TCL as micro web server ~ n00b starts here
« Reply #25 on: February 03, 2013, 12:44:48 PM »
If the process that checks for USB drives hasn't populated the /dev
directory when the kernel is ready for it, the kernel just moves on.
It was no different back when /dev used to be purely static.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Zendrael

  • Sr. Member
  • ****
  • Posts: 362
    • Zendrael's home of projects
Re: TCL as micro web server ~ n00b starts here
« Reply #26 on: February 09, 2013, 10:03:13 AM »
Hi!

In the CF, do you have extlinux or grub? (or other...?)

After finding the device you can, you can edit the bootline in the config file of your bootload to tell Core which device has persistent data.