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

Notices

Reply
 
Search this Thread
Old 05-10-2004, 12:07 AM   #1
TwoCows77
LQ Newbie
 
Registered: May 2004
Posts: 10

Rep: Reputation: 0
System freezes after loading ide driver


I am trying to recompile kernel 2.6.5 in sarge however I seem to get stuck at bootup.

...
...
...
/dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 >
hdb: max request size: 128KiB
hdb: 120103200 sectors (61492 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(133)
/dev/ide/host0/bus0/target1/lun0: p1 p2 p3 p4
hdd: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20

and thats it. it freezes.

I decided to unpplug the power to the CDROM drive so it wont detect it. well that didnt work. it got stuck at hdb now.


My system is currently down. Can someone please help out?

Processor:
AMD ATHLON XP 2500
 
Old 05-10-2004, 12:44 AM   #2
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Well in future, it's always a good idea to keep your old kernel around (and bootable) for just these kinds of occassions. Mind you that doesn't help you now.

Is your primary hard disc IDE or SCSI? If IDE, did you make sure to compile IDE support monolithically into the kernel? It looks like you did but I'm making sure. Did you also compile your primary filesystem(s) monolithically into the kernel?
 
Old 05-10-2004, 01:45 AM   #3
TwoCows77
LQ Newbie
 
Registered: May 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by adz
Is your primary hard disc IDE or SCSI? If IDE, did you make sure to compile IDE support monolithically into the kernel? It looks like you did but I'm making sure. Did you also compile your primary filesystem(s) monolithically into the kernel?
yes and yes

actually, the default bootloader debian installed for me was grub.

i installed lilo manually and i swear i did setup an emergency kernel however even thats not booting but its error is completely different.
 
Old 05-10-2004, 02:38 AM   #4
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
What's the previous kernel's error (and version)? It could be hardware. If the two kernels are sufficiently different then the error they report may be quite different.
 
Old 05-10-2004, 03:02 AM   #5
TwoCows77
LQ Newbie
 
Registered: May 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by adz
What's the previous kernel's error (and version)? It could be hardware. If the two kernels are sufficiently different then the error they report may be quite different.
i am able to boot from a similar debian image kernel, 2.6.5-1-k7.

but because that one is full of everything i wanted to recompile my own.

i have baffled by whats going on. I have tried many distros.

Heck i nuked gentoo in favor of debian.
 
Old 05-10-2004, 04:52 AM   #6
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Have you tried to install a different distro since this error occured? If More distros report such errors then it's probably hardware. It's funny how the hardware can shit itself just when you change around the software.
 
Old 05-10-2004, 10:28 AM   #7
TwoCows77
LQ Newbie
 
Registered: May 2004
Posts: 10

Original Poster
Rep: Reputation: 0
I decided to download kernel 2.6.6 last night ... heres the error 2.6.6 gives me now.

hdb: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
hdb: task_no_data_intr: error=0x04 { DriveStatusError }
hdb: Write Cache FAILED flushing!

hdd: ATAPI 40X DVD-ROM drive......
Uniform CD-ROM Driver revision 3.20

then it just sits there.

There is no error like that with kernel 2.6.5, it just lists the drive specs.

I am able to boot into the system with the debian 2.6.5-1-k7 which is pre-compiled by debian but now i think i screwed up my kde cause that just sits there saying "intializing system" crap so i did a gnome terminal and did startkde and noticed it was giving tons of warnings about not being able to load ICONS from the /usr/share dir.

you know what also on a side note I always knew my HDs were crammed on each other and they might be causing heat So i removed the floppy drive completely and put the first hd where the floppy disk used to be. a bit more ream for cooling.

by the way, this is on a new MSI KT600 mb which has SATA however SATA is disabled.

http://www.msicomputer.com/product/p...V-LSR&class=mb


---------------
UPDATE
---------------
well, i started PQmagic and was given an error (shown in image).

Click here

Last edited by TwoCows77; 05-10-2004 at 11:34 AM.
 
Old 05-10-2004, 05:34 PM   #8
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
I hate to tell you but it sounds lke your hard disc is borked. You'll need a new one.
 
Old 05-10-2004, 07:52 PM   #9
TwoCows77
LQ Newbie
 
Registered: May 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by adz
I hate to tell you but it sounds lke your hard disc is borked. You'll need a new one.

oh no no.
you cant be saying that
its working
ya
its great.
it works fine in winblows.
also, the image kernel by debian boots just fine.

there must be something else thats wrong. ya thats it. something else.
 
Old 05-11-2004, 06:04 AM   #10
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
If you have even the possibility that your HDD is beginning to fail (the fact that it works in Windows is no proof of continued stability), and you have one Linux boot that still works, I would seriously consider backing up important data while you have the chance before it stops working.

Partition Magic will claim to fix errors like the one you show (this has happened to me), but it won't/can't (it claims to work with ext3 partitions, but this is not true; the only Linux filesystem PM works reliably with is ext2).

The drive may be OK as a whole, but that partition is likely borked. I would suggest backing anything necessary off of it ASAP, because there's a fairly good chance that the error will migrate to your working boot, and you'll be forced to reformat the partition in any case. I think you ought to do so anyway, while you still have a modicum of control over the situation.

What flavor of Debian is this, anyway?
 
Old 05-11-2004, 08:52 AM   #11
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
I'd go a little further even. I'd back up everything valuable and DEFINETLY format the partition. It looks like that partition (at the least) is cactus. You can try a shutdown -Fr now which will reboot and run fsck on startup. That may fix you up or give you some idea of what's going on.
 
Old 05-11-2004, 10:27 AM   #12
TwoCows77
LQ Newbie
 
Registered: May 2004
Posts: 10

Original Poster
Rep: Reputation: 0
well i made a new discovery in my bios that for some reason i did not see in the past AFTER i had deleted all partitions on that drive (hdb).

In the bios under Standard settings --> HD (A) there was a 32 bit transfer or disk access mode. That for some reason was set to off by the manufacturer of the board (MSI).

I turned that on and so far I've noticed improvement in performance. I also reinstalled Debian (Sarge).

I have yet to recompile my kernel again to duplicate this issue but i will soon.

I also did research new SATA hard drives and I am not sure I am ready to afford a new HD.
 
Old 05-11-2004, 10:45 AM   #13
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
You may have solved the whole problem already....hope that turns out to be the case.

And even if you did need a new HDD, you wouldn't necessarily have to buy a SATA drive, since your current drive is IDE, right? Or are you out of IDE controllers and only have SATA ones left?
 
Old 05-11-2004, 10:53 AM   #14
TwoCows77
LQ Newbie
 
Registered: May 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by motub
You may have solved the whole problem already....hope that turns out to be the case.

And even if you did need a new HDD, you wouldn't necessarily have to buy a SATA drive, since your current drive is IDE, right? Or are you out of IDE controllers and only have SATA ones left?
my new kt600 has sata so why not but its like a parallel ata drive 120gig is 89. sata 80 is $139 ...

and besides, ata 133 vs sata 150 ? i dont really see a huge margin. i'll stick w/ regular.
 
Old 05-17-2004, 04:37 PM   #15
smazzux
LQ Newbie
 
Registered: Sep 2003
Location: Italy
Distribution: Slackware 9.1, RedHat 6.2, RedHat 8.0, Fedora Core 1, FreeBSD 5.0, Coyote Linux
Posts: 15

Rep: Reputation: 0
aren't those errors (task_no_data_intr: status=0x51 and so on) related to a problem with 2.6.6 kernel-final and ide-drive.c? switching it back solved my problem (my system booted even if throwing those errors)
http://marc.theaimsgroup.com/?l=linu...8108213445&w=2

from http://www.varlock.com/ is possible to download a patch to revert the file back to the previous safe version
 
  


Reply


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
X.org ati driver crashes system only loading KDE dulles Linux - Laptop and Netbook 4 12-12-2005 04:39 PM
system freezes after installing Nvidia driver alexmihai Linux - Newbie 4 12-04-2004 07:14 AM
KDE 3.2 and 3.3 freezes while loading rumester Linux - Newbie 2 09-30-2004 07:40 AM
Vmware freezes my system when Loading Virtual Machine Peelo Linux - Software 2 11-02-2003 02:59 PM
Detecting IDE drive... then it freezes PlatinumRik Linux - Hardware 4 05-30-2003 02:54 AM


All times are GMT -5. The time now is 04:59 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