WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: harddisk nor cdrom recognized?  (Read 6124 times)

Offline peter76

  • Newbie
  • *
  • Posts: 7
harddisk nor cdrom recognized?
« on: December 17, 2011, 05:10:42 PM »
Hello, just new here, but know some Linux. I 'm playing around  with TC on an old Toshiba 300cdt ( Pentium 166, 84 MB ram ). It boots fine from cdrom, only have to pass xsetup to get to the desktop correctly, but then I can't find the cdrom or the harddrive. "fdisk -l" doesn't give me anything, and I can't find anything either in dmesg about ide or hda or whatsoever... Harddrive has a swap and ext3 partition made under DSL, so it's not broken. What am I missing here?

Regards, Peter

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11638
Re: harddisk nor cdrom recognized?
« Reply #1 on: December 17, 2011, 09:19:13 PM »
Hi peter76
Open a terminal and enter:
Code: [Select]
dmesg > dmesg.txtand attach the file to your next post.
Quote
Pentium 166, 84 MB ram
Stop bragging, it's very unbecoming.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: harddisk nor cdrom recognized?
« Reply #2 on: December 18, 2011, 05:31:34 AM »
Please post dmesg output from TC, and which ide driver is used under DSL/other linux.
The only barriers that can stop you are the ones you create yourself.

Offline peter76

  • Newbie
  • *
  • Posts: 7
Re: harddisk nor cdrom recognized?
« Reply #3 on: December 18, 2011, 08:03:37 AM »
Quote
Pentium 166, 84 MB ram
Stop bragging, it's very unbecoming.

Lol, I shall not anymore...

Here's the dmesg.

Regards, Peter

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11638
Re: harddisk nor cdrom recognized?
« Reply #4 on: December 18, 2011, 02:23:23 PM »
Hi peter76
Looks like it's finding IDE1:
Quote
pnp 00:0a: [io  0x0170-0x0177]
pnp 00:0a: [io  0x0376]
pnp 00:0a: [irq 15]
pnp 00:0a: Plug and Play ACPI device, IDs PNP0600 (active)
But there is probably nothing connected to that. It looks like this may be grabbing the I/O addresses
(0x1F0-0x1F7) required by IDE0:
Quote
pcmcia_socket pcmcia_socket0: cs: IO port probe 0x100-0x3af: excluding 0x170-0x177 0x220-0x22f 0x330-0x337 0x370-0x37f 0x388-0x38f
Just a guess on my part, but try adding the boot code:
Code: [Select]
pnp_reserve_io=0x1F0,8

Offline peter76

  • Newbie
  • *
  • Posts: 7
Re: harddisk nor cdrom recognized?
« Reply #5 on: December 19, 2011, 03:54:56 PM »
Hi peter76
Looks like it's finding IDE1:
Quote
pnp 00:0a: [io  0x0170-0x0177]
pnp 00:0a: [io  0x0376]
pnp 00:0a: [irq 15]
pnp 00:0a: Plug and Play ACPI device, IDs PNP0600 (active)
But there is probably nothing connected to that. It looks like this may be grabbing the I/O addresses
(0x1F0-0x1F7) required by IDE0:
Quote
pcmcia_socket pcmcia_socket0: cs: IO port probe 0x100-0x3af: excluding 0x170-0x177 0x220-0x22f 0x330-0x337 0x370-0x37f 0x388-0x38f
Just a guess on my part, but try adding the boot code:
Code: [Select]
pnp_reserve_io=0x1F0,8

Hi Rich,

Tried that, but doesn't give me anything; also tried pnp_reserve_io=0x170,8, which seems more logical from your reply, but then I haven't got a clue what all this hex is about.
BTW, I tried noapic, nolapic, disabling dma and so forth to no avail.
Thanks for the help,  and hope you or someone's got another clue.

Regards, Peter

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11638
Re: harddisk nor cdrom recognized?
« Reply #6 on: December 19, 2011, 04:42:54 PM »
Hi peter76
I'd like you to do two things. Burn Tinycore version 3.4 to a disk and see if that behaves any better.
Also, if you can, attach a copy of dmesg from DSL.  Here is a link to TC3.4:
http://distro.ibiblio.org/tinycorelinux/3.x/archive/3.4/

Offline peter76

  • Newbie
  • *
  • Posts: 7
Re: harddisk nor cdrom recognized?
« Reply #7 on: December 19, 2011, 05:53:43 PM »
Hi Rich,

TC 3.4 recognises the hd and cd fine, also attaching the dmesg here. Curious what you find.

Regards, Peter

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: harddisk nor cdrom recognized?
« Reply #8 on: December 19, 2011, 08:59:36 PM »
Hmmm, I'm not really sure if I want to take a look into a v2.4 kernel boot process output, but maybe it would help to know what PCI devices are on your system.

So maybe you could try to install 'pci-utils.tcz' (e.g. on the working TC 3.x system) and attach here the output of lspci -nnvv

Or if that is too cumbersome maybe the output of cat /proc/bus/pci/devices will be able to provide some kind of information.

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11638
Re: harddisk nor cdrom recognized?
« Reply #9 on: December 19, 2011, 09:27:54 PM »
Hi peter76
There is a lot of data to sift through, but this did catch my attention:
TC3.4
Quote
pci_root PNP0A03:00: ignoring host bridge windows from ACPI; boot with "pci=use_crs" to use them
TC4.?
Quote
PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
See if the boot code  pci=nocrs  makes any difference.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: harddisk nor cdrom recognized?
« Reply #10 on: December 20, 2011, 06:57:42 AM »
Oh, it's an ISA controller and used the generic driver previously. I'm afraid that it's still marked experimental under the new ata layer, to which we moved in tc4 and so disabled in our config.

You could either run latest TC3, or compile your own kernel for the device.
The only barriers that can stop you are the ones you create yourself.

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11638
Re: harddisk nor cdrom recognized?
« Reply #11 on: December 20, 2011, 08:57:05 AM »
Hi curaga
One of the reasons I had him try TC3.4 is because the old driver was still in there. I thought I read
somewhere that TC3.8.4 was libata only, and was not sure when the transition was made. Only one
way to be sure I guess, try booting TC3.8.4.


Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: harddisk nor cdrom recognized?
« Reply #12 on: December 20, 2011, 10:05:22 AM »
We generally don't change kernels in major series, the latest TC3 is still ide.
The only barriers that can stop you are the ones you create yourself.

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
Re: harddisk nor cdrom recognized?
« Reply #13 on: December 20, 2011, 02:57:55 PM »
Hi peter76
There is a lot of data to sift through, but this did catch my attention:
TC3.4
Quote
pci_root PNP0A03:00: ignoring host bridge windows from ACPI; boot with "pci=use_crs" to use them
TC4.?
Quote
PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
See if the boot code  pci=nocrs  makes any difference.
On my old box (98'), I had similar dmesg messages.
For both 3.8 and 4.x I have to use "pci=use_crs" in order to start xorg7.4 or 7.6.
And noacpi for making running xorg.
here are my boot codes

blacklist=snd_usb_audio   
quiet
printk.time=1
vga=788
tz=CET-1CEST,M3.5.0,M10.5.0/3
showapps
lst=coreorgl.lst
home=sdc3
mydata=corexorg
tce=LABEL=CF_OldBoy/tce42
pnpbios=off
pci=use_crs
noisapnp
nozswap
noacpi

Perhaps it helps.
« Last Edit: December 20, 2011, 03:32:51 PM by floppy »
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline peter76

  • Newbie
  • *
  • Posts: 7
Re: harddisk nor cdrom recognized?
« Reply #14 on: December 21, 2011, 06:07:14 PM »
Hello all, thanks for all the replies!

I'd already given the nocrs thing a try to no avail, also lspci didn't give me anything on an ide controller, but as I understand now the version of libata in 4.1 doesn't work with my hardware...
I just burned and booted 3.8 and this works so I got something to play with:-)
If I can do some more checking with 4.1, please let me know.

Regards, Peter