WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Cant see HDD just boot from? solved?  (Read 6051 times)

Offline earlytv

  • Newbie
  • *
  • Posts: 26
Cant see HDD just boot from? solved?
« on: April 04, 2009, 06:22:07 PM »
In grub on HDD is
root (hdo,1)
kernal /boot/bzImage tce=hda2
initrd /boot/tinycore.gz

TCL boots off this but during boot says no tce DIR and hda2 invalid drive?
It just boot from it?

fdisk -l returns no drives?
But hda1 and hda2 are really present?

I use 1.3L with seamonkey and am on that now but with power off all is lost with no save drives?

EDIT Looking thru notes from boot, IDE is part of CS5536 chip and TCL had problems with that and notes said IDE disabled? But it would look at IRQs for that later?
ANY FIX FOR THIS NOW OR SOON?
« Last Edit: April 06, 2009, 11:52:03 PM by earlytv »

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: Cant see HDD just boot from????
« Reply #1 on: April 04, 2009, 07:22:18 PM »
Here's an example: 

title TinyCoreLinux on hda3 (tce=hda3)
 kernel (hd0,2)/tinycore/bzimage quiet restore=hda3/tc_backup nolocal tce=hda3/tcZ max_loop=55
  initrd (hd0,2)/tinycore/tinycore.gz

Offline earlytv

  • Newbie
  • *
  • Posts: 26
Re: Cant see HDD just boot from????
« Reply #2 on: April 04, 2009, 07:50:46 PM »
On the TCL home site under INSTALL I did what it said and the fdisk -l command is suspose to return all drives in the system. It returns none. After a boot of TCL all drives are gone.
Before boot hda1, hda2, hda3 but after none?
hda1 is fat
hda2 is ext2
hda3 is swap

On TCL start screen click panel, then system stats, then dmesg. When I do this in there is all this stuff about troubles TCL had with the IDE on this system. It starts with
not 100% native mode
IDE port disabled
ect
ect

I can boot various puppy linux and they see all 3 drives and use the swap.
On this old slow small system puppy is slow, so my hope was TCL would work better.
Some puppy dont see usb keyboard and mouse, some dont see CS5536 chip for sound,
only 4.1.2 retro sees all but is sloooooooow.
« Last Edit: April 06, 2009, 05:28:06 PM by earlytv »

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: Cant see HDD just boot from????
« Reply #3 on: April 04, 2009, 10:14:25 PM »
" fdisk -l " should show your drives.  What did you use to format partitions?  I'm guessing, that's where you need to focus.  I'd format another partition in 83 linux for TCL and start there.
I assume you can't mount a partition ("mount /mnt/hda2") if they don't show up with fdisk.  Also, make sure your iso isn't corrupted before doing anything else. 

note: I like booting GParted Magic from CD for formating drives.
« Last Edit: April 04, 2009, 10:31:33 PM by jpeters »

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: Cant see HDD just boot from????
« Reply #4 on: April 04, 2009, 11:48:52 PM »
Looks like it could be a kernel problem: http://www.coreboot.org/pipermail/coreboot/2008-May/034340.html

What shows up under `dmesg`, i.e. `dmesg | grep -i "\(5536\|ide\)"`

You might really like that question mark button, but I think one is good enough :P

Offline earlytv

  • Newbie
  • *
  • Posts: 26
Re: Cant see HDD just boot from????
« Reply #5 on: April 05, 2009, 12:41:57 AM »
I have 10 of these systems. The solid state drives can be upgraded but the ram can not being part of the board. GOAL SURF NET WHILE PLAYING  NET RADIO.

S30 and 3150, 32meg SSD, 128meg ram, run a poor WIN CE, cheap cost
s50 and 5150, 64meg SSD, 128meg ram, run a linux slow, med cost
s90 and 9150 256 or 512meg SSD 256meg ram run XP embeded, fast, high cost.

S series, size of paper back book, usb key and mouse, no printer port
x150 series, size of reg book, normal key and mouse, printer port.

I made up custom cables for 1 unit to use either a CF card as a HDD or a 2.5 HDD and a CD drive. This is my work unit. As I said puppy linux sees the HDD.

What I cant believe is the XP embeded at 256 or 512meg with only 256meg ram meets the goal at a fast but not super speed. XP, WINDOWS? CPU SPEED 400 to 500mhz!
LINUX ALWAYS CLAIMS WINDOWS IS HUGE AND SLOW BUT FROM THESE 2 SERIES OF UNITS ITS THE BEST BY FAR SO FAR, with highest cost so out of 10 I have 2 XP.

I will fire up work unit SUNDAY and copy entire 5536/ide section right now a XP unit is playing a great BLUES station while I write this.

EDIT puppy 2.17 sees the HDD also but not the sound from 5536 chip and runs slow.
By slow on puppy 4.1.2 RETRO I mean net radio choppy and when I surf net also net radio allmost stops!
« Last Edit: April 05, 2009, 01:20:54 AM by earlytv »

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: Cant see HDD just boot from????
« Reply #6 on: April 05, 2009, 12:47:38 AM »
Looks like it could be a kernel problem: http://www.coreboot.org/pipermail/coreboot/2008-May/034340.html

What shows up under `dmesg`, i.e. `dmesg | grep -i "\(5536\|ide\)"`

You might really like that question mark button, but I think one is good enough :P

Nice find!  Interesting...puppy is using ver 2.6.21.7.  In the article, it broke from .24 to .25

Edit: Here's more:
http://lists.soekris.com/pipermail/soekris-tech/2009-January/015371.html

Suggested fix by Martin K. Petersen, Oracle Linux Engineering:  compile kernel configured with  CONFIG_BLK_DEV_SD enabled.   (think that would be "CONFIG_BLK_DEV_SD=y" )
« Last Edit: April 05, 2009, 01:34:00 AM by jpeters »

Offline earlytv

  • Newbie
  • *
  • Posts: 26
Re: Cant see HDD just boot from????
« Reply #7 on: April 05, 2009, 12:52:38 PM »
I am not trying to be funny, I am only trying to help in any way I can to get TCL to work on these systems.
I have booted up DSL 3. something on my work unit and it let me mount hda1, hda2 and it used hda3 for swap
but because I have never used DSL I dont know how to look at whats on the drives to tell you if its got them ok?
For playing a net radio station only MP3 seems to have a player but no sound comes out of speakers.
I dont even know how to set the clock so many sites dont like that its set to 2006, no battey in these systems to keep
clock on time. I have tried in past to ask stuff on DSL site and never got answers or got answers like I was dumb about
software and DSL which I am so I never went anywhere with DSL.

I hope the fact DSL seems to see the drives helps?

I have  DSL 4.2.5 also,  I could try to boot that to see if anything changes with the drives?
« Last Edit: April 05, 2009, 12:56:27 PM by earlytv »

Offline earlytv

  • Newbie
  • *
  • Posts: 26
Re: Cant see HDD just boot from????
« Reply #8 on: April 05, 2009, 03:13:04 PM »
AMD5536: 0000:00:0f.2 (rev01) UDMA100 Controller
AMD5536: IDE controller (0x1022:0x2099 rev 0x01) at PCI slot 0000:00:0f.2
AMD5536 IDE port disabled
AMD5536 IDE port disabled
ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports
ide_generic: I/O resource 0x1f0-0x1f7 not free
ide_generic: I/O resource 0x1f0-0x1f7 not free
Driver 'sd' needs updating-please use bus_type methods

This is message

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Cant see HDD just boot from????
« Reply #9 on: April 05, 2009, 03:26:21 PM »
What happens if you try as suggested "probe_mask=0x3f" ?

boot: tinycore probe_mask=0x3f
10+ Years Contributing to Linux Open Source Projects.

Offline earlytv

  • Newbie
  • *
  • Posts: 26
Re: Cant see HDD just boot from????
« Reply #10 on: April 05, 2009, 04:33:34 PM »
I have no idea what that means?
How do I do that?

Thanks to this forum which gave me this
http://unetbootin.sourceforge.net
I can now use a usb stick to run or install many different ISO and not worry about
special cables for a CD drive!

DSL 4 also sees and uses hda1 but still no go for TCL to see the HDDs
So I can run TCL but not save anything?
Any way to save settings and data to a usb stick? Same one it just boot from?
DSL 4 no sound on these systems, maybe needs a newer ALSA sound driver?
Am on a USB stick now with DSL low ram, but dead quite, no music, no noise from system.
Picture on left but with USB stick.
« Last Edit: April 06, 2009, 05:34:02 PM by earlytv »

Offline earlytv

  • Newbie
  • *
  • Posts: 26
Re: Cant see HDD just boot from? solved?
« Reply #11 on: April 06, 2009, 11:59:38 PM »
It might be solved.
I used a different unit with a smaller SSD and ram, normal key and mouse not USB items, boot from a USB stick not a CD, and used TCL 1.3rc2 not 1.2. Now TCL sees the HDD.
Any changes to 1.3rc2 for the HDDs?
I had just got good on the install from CD to HDD now on USB stick to HDD I am not doing well?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14791
Re: Cant see HDD just boot from? solved?
« Reply #12 on: April 07, 2009, 12:55:43 AM »
1.3rc2 will use udev-trigger with extensions containing kernel modules when the extension(s) are loaded. Maybe this did the trick?