LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-20-2010, 12:03 PM   #1
schultzter
Member
 
Registered: Sep 2009
Distribution: Arch Linux
Posts: 40

Rep: Reputation: 3
Unhappy Slack 13.1 doesn't detect IDE HDD on old Toshiba Satellite 2140CDS


Good morning...

I'm not a distro hopper, but I have an old laptop at home (a Toshiba Satellite 2140CDS with AMD K6-2 processor, 192 MB RAM, and 20 GB IDE HDD) that I dropped Tiny Core Linux to see if it would run. And run it did, so I figured I would install Slackware (same as my desktop) onto the hard drive.

I had to use the huge.s kernal since hugesmp.s complains about a missing function and then stops booting.

The problem is Slack 13.1 doesn't even recognize the hard drive (or CD drive it would seem). There's nothing under /dev that looks like sd* (or hd*). Nothing in /etc/fstab either.

I don't have the dmesg of either Slack 13.1 install CD or tiny core handy, but I noticed in TC's dmesg it referred ide_pci_generic just before showing the hard drive and CD drive info. Nothing like that in Slack's dmesg.

I looked through some of the doc's and I understand all drives are now SCSI (real or emulated) so I should see sda and sdb (for my HDD and CD) but I don't.

Both TC and Slack complained about some PCI memory conflict but I don't have the specifics handy. None-the-less, TC was able to see my drives so I don't think that's the problem (in this case).

Anyone have any ideas what I need to do to get Slack 13.1 to see my drives?

Thanks,
 
Old 12-20-2010, 12:23 PM   #2
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware, Mint
Posts: 1,240

Rep: Reputation: 196Reputation: 196
In my Slackware 13.1 IDE drive is recognized as /dev/sda and CD-ROM drive is recognized as /dev/sr0. Assuming you suspect the problem with your Toshiba Satellite 2140CDS is caused by new kernel you could try Slackware 13.0 which recognizes IDE drive as /dev/hda. It's just idea. I can't guarantee the positive result of that experiment.
 
1 members found this post helpful.
Old 12-20-2010, 01:51 PM   #3
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,658
Blog Entries: 3

Rep: Reputation: 222Reputation: 222Reputation: 222
the problem is this you did not give me your install steps. you mean slackware does not see your drive to install? little help.
huge.s acpi=off
Quote:
The problem is Slack 13.1 doesn't even recognize the hard drive (or CD drive it would seem)
how did you install
you mean you are unable to see the drives in GUI. or CLI
your unable to mount drives?
put a disk in and in CLI cd /media/cdrom
for gui you need to make sure your user has permission
hard drive as root type fdisk -l you will se them.
I run current on a tosh 2125 and i use xfce4 and built lxde from sbopkg 13.0 for it.whopping 96 mb ram. fluxbox runs ok to.

Last edited by Drakeo; 12-20-2010 at 02:00 PM.
 
1 members found this post helpful.
Old 12-20-2010, 03:56 PM   #4
schultzter
Member
 
Registered: Sep 2009
Distribution: Arch Linux
Posts: 40

Original Poster
Rep: Reputation: 3
I'll try 13.0

Quote:
Originally Posted by w1k0 View Post
Assuming you suspect the problem with your Toshiba Satellite 2140CDS is caused by new kernel you could try Slackware 13.0 which recognizes IDE drive as /dev/hda.
I'll try that, at least I'll download disk 1 and see if what shows up. At a minimum it would give me a more comparable dmesg than Tiny Core does. Thanks,
 
Old 12-20-2010, 04:00 PM   #5
schultzter
Member
 
Registered: Sep 2009
Distribution: Arch Linux
Posts: 40

Original Poster
Rep: Reputation: 3
Can't even see drive to install!!!

Quote:
Originally Posted by Drakeo View Post
the problem is this you did not give me your install steps. you mean slackware does not see your drive to install?
I didn't give any install steps because unfortunately I can't even install Slackware! If I run setup it says I should exit and partition the disks using cfdisk or fdisk. Well cfdisk errors out because it can't find any drives!

I'll see what happens if I boot with huge.s acpi=off, thanks for the help.

Last edited by schultzter; 12-20-2010 at 04:01 PM. Reason: Forgot a title
 
Old 12-20-2010, 06:02 PM   #6
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,486

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
With my old Toshiba1410, I needed to use the "pci=nomsi" boot option.
 
Old 12-21-2010, 12:01 AM   #7
schultzter
Member
 
Registered: Sep 2009
Distribution: Arch Linux
Posts: 40

Original Poster
Rep: Reputation: 3
Thanks for the suggestion

Quote:
Originally Posted by allend View Post
With my old Toshiba1410, I needed to use the "pci=nomsi" boot option.
I tried booting 13.1 with huge.s pci=nomsi but that didn't seem to help! Thanks though,
 
Old 12-21-2010, 03:36 AM   #8
alekow
Member
 
Registered: Sep 2009
Distribution: Slackware
Posts: 127

Rep: Reputation: 17
Did you try Slackware-13.0? I think it should work. If you already downloaded it, then try booting from it, after that switch the disk to 13.1 and install it. Then just start the newly installed system with slackware-13.0 disk and compile your own kernel without libata (but with your driver for ide ;-) ).

Last edited by alekow; 12-21-2010 at 03:38 AM.
 
Old 12-21-2010, 09:59 AM   #9
schultzter
Member
 
Registered: Sep 2009
Distribution: Arch Linux
Posts: 40

Original Poster
Rep: Reputation: 3
X-mas project

Quote:
Originally Posted by alekow View Post
start the newly installed system with slackware-13.0 disk and compile your own kernel without libata (but with your driver for ide ;-) ).
That sounds like a fun project for x-mas holidays!!!
 
Old 12-21-2010, 10:03 AM   #10
schultzter
Member
 
Registered: Sep 2009
Distribution: Arch Linux
Posts: 40

Original Poster
Rep: Reputation: 3
Detailed info from Slack 13.0 vs. Slack 13.1

I've got some dmesg, lsmod, lspci -vv, uname -a, and procs/interrupts generated by the Slack 13.0 boot CD (which can see my hard drive and CD) and the Slack 13.1 boot CD (which cannot see my IDE drives).

Slack130.tgz

Slack131.tgz

Any ideas what I can do to get 13.1 to see my IDE drives? Or is alekow's suggestion the only way to go?

Thanks,
 
Old 12-21-2010, 10:04 AM   #11
kkady32
Member
 
Registered: Dec 2010
Distribution: Slackware64
Posts: 86

Rep: Reputation: 14
same problem was to me to an pentium 3,cann install debian (tried with lenny (detect hda) and squeeze(detect sda))but not slackware,
only chance was to make an BIOS update and after this i cann install slackware
 
Old 12-21-2010, 10:37 AM   #12
schultzter
Member
 
Registered: Sep 2009
Distribution: Arch Linux
Posts: 40

Original Poster
Rep: Reputation: 3
Some comparisons in my dmesg and lspci from 13.0 to 13.1

I've done a stare & compare and I've noticed the following differences.

In my dmesg 13.0 vs 13.1 I can see the Uniform Multi-Platform E-IDE driver being loaded and detecting the drives:

dmesg 13.0
Code:
loop: module loaded
Compaq SMART2 Driver (v 2.6.0)
HP CISS Driver (v 3.6.20)
input: Macintosh mouse button emulation as /devices/virtual/input/input0
Uniform Multi-Platform E-IDE driver
ide_pci_generic 0000:00:10.0: IDE controller (0x1179:0x0102 rev 0x34)
ide_pci_generic 0000:00:10.0: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1800-0x1807
    ide1: BM-DMA at 0x1808-0x180f
Probing IDE interface ide0...
hda: TOSHIBA MK2018GAP, ATA DISK drive
Probing IDE interface ide1...
hdc: CD-224E-B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide-gd driver 1.18
hda: max request size: 128KiB
hda: 39070080 sectors (20003 MB), CHS=38760/16/63
hda: cache flushes supported
 hda: hda1
ide-cd driver 5.00
ide-cd: hdc: ATAPI 24X CD-ROM drive, 128kB Cache
Uniform CD-ROM driver Revision: 3.20
Loading iSCSI transport class v2.0-870.
rdac: device handler registered
dmesg 13.1
Code:
loop: module loaded
Compaq SMART2 Driver (v 2.6.0)
HP CISS Driver (v 3.6.20)
input: Macintosh mouse button emulation as /devices/virtual/input/input0
Loading iSCSI transport class v2.0-870.
fnic: Cisco FCoE HBA Driver, ver 1.0.0.1121
Note that both 13.0 and 13.1 load libata 3.0!!!

lspci 13.0
Code:
00:10.0 IDE interface: Toshiba America Info Systems Extended IDE Controller (rev 34) (prog-if f0)
	Subsystem: Toshiba America Info Systems Device 0002
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64 (500ns min, 10000ns max)
	Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
	Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1]
	Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
	Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1]
	Region 4: I/O ports at 1800 [size=16]
	Kernel driver in use: PCI_IDE
lspci 13.1
Code:
00:10.0 IDE interface: Toshiba America Info Systems Extended IDE Controller (rev 34) (prog-if f0)
	Subsystem: Toshiba America Info Systems Device 0002
	Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
	Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1]
	Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
	Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1]
	Region 4: I/O ports at 1800 [size=16]
So both 13.0 and 13.1 detect my IDE controller and the attached drives, but it doesn't look like 13.1 loads the driver for it!!!

Any ideas on how I can get 13.1 to load the driver?

Thanks,
 
Old 12-21-2010, 12:41 PM   #13
alekow
Member
 
Registered: Sep 2009
Distribution: Slackware
Posts: 127

Rep: Reputation: 17
Quote:
Kernel driver in use: PCI_IDE
This driver has been removed from the kernel in 13.1, so I guess you have to use another one... Whats the problem with compiling new kernel? Just modify config file from kernel-generic to add the ide driver and recompile it - it should work.
 
1 members found this post helpful.
Old 12-21-2010, 02:59 PM   #14
schultzter
Member
 
Registered: Sep 2009
Distribution: Arch Linux
Posts: 40

Original Poster
Rep: Reputation: 3
Changing diapers

Quote:
Originally Posted by alekow View Post
Whats the problem with compiling new kernel?
The problem is time, my time to be precise. I've only got between the kid's bed time and my bed time, which isn't much time. Anyways, I'll try to boot with the 13.0 CD, install from the 13.1 CD, reboot with the 13.0 CD, and compile a new kernel with the pci_ide driver.

What about compiling just the pci_ide driver and using the generic kernel with the pci_ide driver in the initrd?

What are your thoughts on re-compiling with stock kernel (2.6.33.4) vs. getting the sources for the latest kernel (2.6.36.2)? Could that break other stuff in the system, causing me to have re-compile other parts of Slackware too? I've been looking for tutorials and they're all great at outlining the basic steps but none of the considerations.

Thanks,
 
Old 12-21-2010, 04:25 PM   #15
alekow
Member
 
Registered: Sep 2009
Distribution: Slackware
Posts: 127

Rep: Reputation: 17
Quote:
What about compiling just the pci_ide driver and using the generic kernel with the pci_ide driver in the initrd?
Yes, yes - you need initrd with kernel-generic anyway, so why not?

Quote:
What are your thoughts on re-compiling with stock kernel (2.6.33.4) vs. getting the sources for the latest kernel (2.6.36.2)? Could that break other stuff in the system, causing me to have re-compile other parts of Slackware too? I've been looking for tutorials and they're all great at outlining the basic steps but none of the considerations.
I don't think it will brake anything (maybe someone has a different opinion?) But stock kernel is good enough - I would stick to it.

Good luck! :-)
 
1 members found this post helpful.
  


Reply

Tags
harddrive, ide, install


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create a script that will automatically detect a SATA and IDE hdd cyclonous_gt Linux - General 3 05-10-2007 02:02 PM
redhat fails to detect IDE HDD on installation alekosf Linux - Newbie 2 10-27-2006 03:43 PM
Toshiba Satellite 4060 install problems with Fedora 4, RH9 & Slack 10.2 LordFett Linux - Laptop and Netbook 3 10-17-2005 03:03 PM
Dual boot XP(internal IDE HDD) Debian(external USB-IDE HDD) using boot.ini PolarDog Linux - Laptop and Netbook 2 07-01-2005 10:50 PM
Slack 9 and Toshiba Satellite Pro 6100 IndigoParadox Linux - Laptop and Netbook 3 08-25-2003 09:59 PM


All times are GMT -5. The time now is 05:11 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration