WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: custom kernel in pxe environment  (Read 2670 times)

Offline Senator

  • Newbie
  • *
  • Posts: 3
custom kernel in pxe environment
« on: May 18, 2010, 05:05:45 PM »
Hello

first - i want to say that i like TCL since i heard of it. Great Distribution. After playing around with it a while I have decided to use TCL for a ThinClient project with about 100 clients. As clients we want to use vortex86dx. Therefore we compiled a custom kernel. Our environment should be booted via PXE. And there is the showstopper. When we booting the default TCL Kernel and ramdisk via PXE the system boots as expected. But if we boot customized kernel the clients boot again immediately after loading the ramdisk. If we combine the original kernel with the remastered ramdisk the system boots also without any problems so I assume its an issue of our custom kernel.
If we start our customized kernel and the ramdisk in a virtual environment (vbox) there are no issues.

Is there a possibility to debug this behaviour via kernel boot options?

Best Regards

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: custom kernel in pxe environment
« Reply #1 on: May 18, 2010, 05:46:04 PM »
Why do you need a custom kernel?
The Vortex86 boots via PXE and runs as is.
Please read the netboot section of the wiki.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: custom kernel in pxe environment
« Reply #2 on: May 18, 2010, 06:06:38 PM »
Use options "debug rootdelay=50", and if you still can't see the messages, then the same without any initrd.
Another option would be to set up a netconsole (networking/netconsole.txt in kernel docs), if your custom kernel has that enabled.
The only barriers that can stop you are the ones you create yourself.

Offline Senator

  • Newbie
  • *
  • Posts: 3
Re: custom kernel in pxe environment
« Reply #3 on: May 19, 2010, 03:08:57 PM »
Hello

@gerald_clark
unfortunately not all clients (about 10%) can be booted via pxe in production environment, as they can connect to network only via wifi. Therefore we have to install operating system and configuration on CF-card, but the default kernel does not find the CF-Card.
Code: [Select]
# lspci
...
00:0c.0 IDE interface: RDC Semiconductor, Inc. Device 1011
fdisk -l doesn't find any block device.
We tried some changes in bios but no success

@curaga
We tried the kernel options with no success. When we boot without initrd the client reboots immediately after loading kernel. No boot message at all. As next option we want to setup the netconsole- thanks for the hint.

Best regards

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: custom kernel in pxe environment
« Reply #4 on: May 19, 2010, 03:27:10 PM »
My Vortex86 has an SiS chipset.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: custom kernel in pxe environment
« Reply #5 on: May 19, 2010, 04:10:39 PM »
That RDC IDE chip was not supported in .29. You should use a newer kernel, and enable PATA_RDC there.
The only barriers that can stop you are the ones you create yourself.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: custom kernel in pxe environment
« Reply #6 on: May 19, 2010, 04:18:47 PM »
Have you tried V3.0Alpha?

Offline Senator

  • Newbie
  • *
  • Posts: 3
Re: custom kernel in pxe environment
« Reply #7 on: June 03, 2010, 01:59:39 PM »
Hello

V3.0Alpha works, although IDE chip is still recognized as  Device 1011

thanks