Debian This forum is for the discussion of Debian 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
05-10-2004, 01:07 AM
|
#1
|
LQ Newbie
Registered: May 2004
Posts: 10
Rep:
|
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
|
|
|
05-10-2004, 01:44 AM
|
#2
|
Senior Member
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713
Rep:
|
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?
|
|
|
05-10-2004, 02:45 AM
|
#3
|
LQ Newbie
Registered: May 2004
Posts: 10
Original Poster
Rep:
|
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.
|
|
|
05-10-2004, 03:38 AM
|
#4
|
Senior Member
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713
Rep:
|
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.
|
|
|
05-10-2004, 04:02 AM
|
#5
|
LQ Newbie
Registered: May 2004
Posts: 10
Original Poster
Rep:
|
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.
|
|
|
05-10-2004, 05:52 AM
|
#6
|
Senior Member
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713
Rep:
|
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.
|
|
|
05-10-2004, 11:28 AM
|
#7
|
LQ Newbie
Registered: May 2004
Posts: 10
Original Poster
Rep:
|
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 12:34 PM.
|
|
|
05-10-2004, 06:34 PM
|
#8
|
Senior Member
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713
Rep:
|
I hate to tell you but it sounds lke your hard disc is borked. You'll need a new one.
|
|
|
05-10-2004, 08:52 PM
|
#9
|
LQ Newbie
Registered: May 2004
Posts: 10
Original Poster
Rep:
|
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. 
|
|
|
05-11-2004, 07:04 AM
|
#10
|
Senior Member
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607
Rep:
|
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?
|
|
|
05-11-2004, 09:52 AM
|
#11
|
Senior Member
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713
Rep:
|
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.
|
|
|
05-11-2004, 11:27 AM
|
#12
|
LQ Newbie
Registered: May 2004
Posts: 10
Original Poster
Rep:
|
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.
|
|
|
05-11-2004, 11:45 AM
|
#13
|
Senior Member
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607
Rep:
|
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?
|
|
|
05-11-2004, 11:53 AM
|
#14
|
LQ Newbie
Registered: May 2004
Posts: 10
Original Poster
Rep:
|
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.
|
|
|
05-17-2004, 05:37 PM
|
#15
|
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:
|
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
|
|
|
All times are GMT -5. The time now is 11:43 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|