Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 09-23-2005, 07:51 PM   #1
Matthew Thill
LQ Newbie
Registered: Sep 2005
Posts: 2

Rep: Reputation: 0
ide bus no longer found - Debian 3.1 i386

I'm in need of a wizard again - this seems to be a common state for me lately.

I've decided to try out Debian in my search for a more flexible distribution. I have the full 14 CD set of Debian 3.1, and performed the installation from CD with no problems. I then started to add packages as I configured the system to suit my needs, using CDs for each.

I was then fighting with the XFree86 configuration, trying to get my Matrox card working properly with 2 video cards. During this process, I booted into Knoppix (on a live CD) to see how it configured XFree86. I then booted back to Debian, edited by XFree86 config file, everything works now, and then proceeded with installing more needed packages.

That's when I discovered by CD drive was no longer found. "/dev/hda does not exist". In fact, no IDE drives are found any more. I've searched through the logs, dmesg, and google in an attempt to use my limited knowledge to find a solutions. The search has brought me here.

The machine has 2 SATA drives, a CD/DVD RW as the master on the first IDE channel and another drive as the master on the second IDE channel. No slaves. As I mentioned, the install went fine, and everything continued to work fine for about a day. Then, I did something that caused the ide bus to not be found any more, and I don't know what I did.

Here is the bit about the ide drives from the log of the first successful boot into Debian after the install. I cleaned the output up a bit - every line was prefixed with "Sep 22 14:46:12 localhost kernel: "

*************Begin log output******************
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
hdc: Maxtor 6Y080L0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hdc: max request size: 128KiB
hdc: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=65535/16/63
/dev/ide/host1/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 p7 p8 >
Adding 2047712k swap on /dev/hdc6. Priority:-1 extents:1
Adding 1951888k swap on /dev/sda3. Priority:-2 extents:1
Adding 2048276k swap on /dev/sdb2. Priority:-3 extents:1
EXT3 FS on sda2, internal journal
Generic RTC Driver v1.07
hda: ATAPI 40X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
**************End log output***********************

Before this in the log is the configuration of the SATA drives, sda (where Debian is installed) and sdb. Then comes the ide bus drives. As you can see, things seem to be fine. hdc (the hdd) and hda (the optical drive) are found and appropriate device nodes created for them. After this log snippet comes the configuration of the mouse and keyboard.

Here is the same section from the latest reboot (all lines prefixed by "Sep 23 17:12:55 localhost kernel: "

*****************Begin log output**************
Adding 1951888k swap on /dev/sda3. Priority:-1 extents:1
Adding 2048276k swap on /dev/sdb2. Priority:-2 extents:1
EXT3 FS on sda2, internal journal
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
input: PS/2 Generic Mouse on isa0060/serio1
*******************End log output*****************

It just jumps right to the mouse configuration, and skips all the ide stuff. It mentions the Uniform Multi-Platform E-IDE driver, but then does nothing with it. Notice also that in the first log output, it waited until the ide stuff was finished and then added the swap space (there is a swap partition on all 3 drives, as they are all old Linux installs of various flavours). Now it just adds the swap space on sda and sdb before it even gets to the ide driver - almost as if it already knows "there's no ide controller here".

So, I'm mystified. Everything was working, and now it isn't. The reason is that I did something, of couse, but I need some help to figure out what I did.

To head off some questions: yes, the cdrom and ide hard drive are found by the bios. I can even boot into Knoppix and it configures them all just fine (Knoppix boots from the CD, of course). What packages did I add between the first boot and the last? The X-windows system, gnome and kde desktop environments (later removed kde), gdm, various x-windows development libraries. gcc, g++.
Old 09-24-2005, 05:57 PM   #2
Matthew Thill
LQ Newbie
Registered: Sep 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Fixed the problem. Maybe this will help someone else in the future.

I re-installed from scratch, and as before everything worked fine - in the beginning. This time I rebooted every time I put a new package on, to make sure ide devices were still found. As soon as I added the gnome package, it was back to not finding the ide bus.

The problem is that in /etc/module, the kernel module ide-detect is added/changed. I don't know what this file said before, and I'm not about to re-install again just to find out, but changing this entry to ide-generic fixed the problem.

I understand too little of this kernel module stuff to really understand the problem. It is probably possible to but the ide-detect module in place so things work, but it appear the ide-generic module worked. If anyone can comment on this, to help me understand better, it would be appreciated.


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
no usb bus found Solzhenitsyn Mandriva 2 09-07-2004 02:19 AM
No USB Bus found Mr Tickle Linux - Newbie 1 04-30-2004 03:17 AM
IDE system bus speed moger Slackware 6 02-14-2004 12:16 PM
IDE Bus speed not detected podollb Linux - Hardware 7 10-21-2003 06:23 PM
HELP: cdrecord on IDE bus Denagoth Linux - General 16 01-14-2002 01:24 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:50 AM.

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