Slack 13.1 doesn't detect IDE HDD on old Toshiba Satellite 2140CDS
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309
Rep:
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.
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.
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,
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 03:01 PM.
Reason: Forgot a title
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 ;-) ).
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).
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
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?
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.