WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TCB doesn't accept kernel parameters on boot prompt  (Read 5771 times)

Offline Gullible Jones

  • Newbie
  • *
  • Posts: 11
TCB doesn't accept kernel parameters on boot prompt
« on: April 04, 2009, 11:14:17 AM »
On my Aspire 3680 laptop (which uses SATA drives), I get the message "ata_piix: no native ports found" from the kernel, and /dev/sdX is seen as /dev/hdX.

Normally (e.g. on Slackware) this is easily solved by appending hda=none hdb=none hdc=none hdd=none to the boot prompt. However, that doesn't work at all on Tiny Core. It seems that kernel parameters aren't accepted on boot.

That's really, really not good. Some systems require kernel parameters (e.g. noapic) in order to prevent kernel panics, for instance.

Offline tobiaus

  • Suspended
  • Hero Member
  • *****
  • Posts: 599
Re: TCB doesn't accept kernel parameters on boot prompt
« Reply #1 on: April 04, 2009, 11:48:56 AM »
there are lots of boot parameters that tc accepts, incliding a number that are specific to tc: http://tinycorelinux.com/faq.html#bootcodes

try using other codes, such as sda=none (if there is such a code) and look up sata on the forum.

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: TCB doesn't accept kernel parameters on boot prompt
« Reply #2 on: April 04, 2009, 11:32:05 PM »
TC uses both hdX/sdX (configured in the kernel).  If hdX are used, it means that they are being seen as IDE.  It could be that your drives are set to IDE compatibility - there may be a change in your BIOS that you can set to something like "native mode", or AHCI, etc.

TC's kernel does accept regular upstream boot options: hda=none hda=noprobe seems to work here (just disables it - dmesg reports it is obsolete and will be removed soon)

Offline Gullible Jones

  • Newbie
  • *
  • Posts: 11
Re: TCB doesn't accept kernel parameters on boot prompt
« Reply #3 on: April 05, 2009, 07:13:46 PM »
I can't set my drives to pure SATA mode because the BIOS option doesn't exist - it's a cheap, trashy Acer laptop. :P

I'll try hdX=noprobe I guess...

Offline Gullible Jones

  • Newbie
  • *
  • Posts: 11
Re: TCB doesn't accept kernel parameters on boot prompt
« Reply #4 on: April 05, 2009, 08:32:24 PM »
Okay, that prevents my drives from being detected... At all. No hdX, no sdX, naught.

Sigh... Is there some way to force the ata_piix module to see my drives? Loading it early perhaps? I need my DMA :(

(When Intel SATA controllers are used with IDE drivers in IDE emulation mode, PIO is used instead of DMA... In other words, any hard drive IO operations *crawl*.)

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: TCB doesn't accept kernel parameters on boot prompt
« Reply #5 on: April 06, 2009, 12:01:52 AM »
Sounds like Intel's combined mode - this might help: http://linux-ata.org/faq.html#combined

Offline Gullible Jones

  • Newbie
  • *
  • Posts: 11
Re: TCB doesn't accept kernel parameters on boot prompt
« Reply #6 on: April 06, 2009, 06:15:29 AM »
Yep, it's combined mode. The issue:

1. As of kernel 2.6.26 the combined_mode quirk is no longer supported.
2. hdX=none doesn't work, because the ata_piix driver thinks I don't have a SATA controller. (This is distinctly abnormal, and hasn't happened on any other Linux distro.)
3. I can't recompile the kernel.
4. I can't change the option in the BIOS, because I'm using a cheap Acer laptop with drives locked in IDE emulation mode. >:(

So basically, unless issue #2 can be fixed, I'm SOL.

Offline Gullible Jones

  • Newbie
  • *
  • Posts: 11
Re: TCB doesn't accept kernel parameters on boot prompt
« Reply #7 on: April 12, 2009, 10:26:23 PM »
Does anyone know how I can get around this "no native ports" bug?

Anyone?

Beuler?

Offline Gullible Jones

  • Newbie
  • *
  • Posts: 11
Re: TCB doesn't accept kernel parameters on boot prompt
« Reply #8 on: April 13, 2009, 12:28:49 AM »
Tried adding piix.intel_via_libata=1 as a boot option, since that seemed to work for some people... Nope, didn't do anything.

Anyone?

Offline Gullible Jones

  • Newbie
  • *
  • Posts: 11
Re: TCB doesn't accept kernel parameters on boot prompt
« Reply #9 on: May 02, 2009, 09:24:56 PM »
Edit: fixed in 2.0rc1. Woo hoo!
« Last Edit: May 02, 2009, 09:35:45 PM by Gullible Jones »