Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: maro on September 12, 2011, 04:31:01 AM

Title: Comparison of booting from CD-ROM with a problamatic device
Post by: maro on September 12, 2011, 04:31:01 AM
The unexpected early appearance of TC 4.0rc1 (as I had expected a longer alpha phase as seen during the TC 3.x cycle) has prompted me today to run a number of boot sequences using the same hardware setup which contained a know "troublemaker".

This problematic device is a Toshiba XM-1902B CD-ROM which was originally part of a Dell Latitude CPx notebook (from 2000-08, with a Pentium III, 500 MHz). Until a few weeks ago this was my test system for certain scenarios involving older hardware, and I have mentioned the (boot) problems with this CD-ROM on other posts. Unfortunately it appears that this notebook has now developed a "terminal" issue as it refuses to perform even a POST. Nevertheless I managed also a few weeks ago to get my hands on an almost as old Dell Precision M50 (from 2002-11, with a Pentium 4-M, 1.8 GHz). Luckily this is a so called three-spindle notebook (possibly one of the last ones produced), which features in addition to the (fixed) hard disk and DVD (i.e. a HL-DS GCC-4240N) an additional modular bay (usually used for a floppy drive or a second battery) into which the old "troublemaker" can be inserted.

For the following comparison I've chosen three generations of TC ISO images (i.e. 2.11.6, 3.8.4, and 4.0rc1). As I had recently created a null-modem cable (as mentioned here (http://forum.tinycorelinux.net/index.php/topic,11252.msg58981.html#msg58981)), I was able to capture all console output of booting each of the CD-ROMs on either of the two optical devices. The use of a serial interface was necessary as in at least one case a totally unresponsive system would not have allowed any other way of recording the evidence.

In the following table I'm trying to summarise the results combined with providing a link to the actual raw log:
TC 2.11.6 (kernel 2.6.29.1) [ A ]TC 3.8.4 (kernel 2.6.33.3) [ B ]TC 4.0rc1 (kernel 3.0.3) [ C ]
DVD drive [ 1 ]successful boot (http://pastebin.com/dp7UyQPr)successful boot (http://pastebin.com/X4U1PkJa)successful boot (http://pastebin.com/92d7whMX)
CD-ROM drive [ 2 ]with DMA issues, but seems to succeed (http://pastebin.com/QRL3SxVU)getting fatally stuck with DMA failures (http://pastebin.com/fwZ7cn6S)successful boot (http://pastebin.com/eAH71V2G)
CD-ROM drive, with ide-core.nodma [ 3 ]successful boot (http://pastebin.com/RL6Bdtyv)successful boot (http://pastebin.com/viLn7zMN)(not tested)

I guess these results probably deserve a few comments:
( ... I might add more thoughts tomorrow, but for now I'll have to press the 'Post' button ...)
Title: Re: Comparison of booting from CD-ROM with a problamatic device
Post by: Rich on September 12, 2011, 09:55:31 AM
Hi maro
Quote
Apparently there are some earlier postings which refer to 'ide_core.nodma' (i.e. underscore instead of hyphen), which had typically (and somewhat not surprisingly) not resulted in users being able to overcome their reported problems.
I'm afraid that I was one of the posters that used the underscore. According to  kernel-parameters.txt
Quote
Hyphens (dashes) and underscores are equivalent in parameter names, so
      log_buf_len=1M print-fatal-signals=1
   can also be entered as
      log-buf-len=1M print_fatal_signals=1
Was I the recipient of some bad information?
Title: Re: Comparison of booting from CD-ROM with a problamatic device
Post by: curaga on September 12, 2011, 10:46:49 AM
ide-core would be a module name instead of a param, I guess that's the distinction here.
Title: Re: Comparison of booting from CD-ROM with a problamatic device
Post by: Rich on September 12, 2011, 10:57:55 AM
Hi curaga
I really should have paid much closer attention when I read that, thanks for setting me straight.
I'll try to track down and fix my incorrect posts.
Title: Re: Comparison of booting from CD-ROM with a problamatic device
Post by: curaga on September 12, 2011, 12:54:48 PM
Just to be clear here, the same rule applies to modules too, but only from userspace. Modprobe does a manual replacement before asking the kernel.
Title: Re: Comparison of booting from CD-ROM with a problamatic device
Post by: coreplayer2 on September 13, 2011, 01:11:45 AM
lol  Didn't mean to post in this thread  ::)