LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-16-2008, 05:24 PM   #1
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
ide errors during boot up debian


have a pavillion xg833 with 64 mb 0f memory booting puppy4.1, slack12.1, DSL, and debian. they all boot up fine except for debian. It has a slow bootup due to the following error during bootup that repeats serveral times before the boot process continues on :

ide: failed opcode was: unknown
ide0 reset: success
hda: Task_in_intr: status=0x59 {DriveReady Seek Complete Data Rquest Error}
hda: Task_in_intr: error=0x10 {SectorIdNotFound} LBA sector=39102336

I only get the error when booting the debian distro. every thing seems to work ok.
its just that it takes so long for debian to bootup. Ive ran apt update which updated the kernel.
any sugestions would be appreciated.
 
Old 11-16-2008, 06:41 PM   #2
yowi
Member
 
Registered: Dec 2002
Location: Au
Distribution: Debian
Posts: 209

Rep: Reputation: 55
Did google give you any hits for the error, the chipset or the drive?

Here's an example:
http://www2.jankratochvil.net/piperm...ch/000251.html

Different default config for hdparm would also be a reasonable explanation for the varying distro behaviour.

Last edited by yowi; 11-16-2008 at 06:43 PM.
 
Old 11-16-2008, 07:58 PM   #3
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
You may have some known hardwrae issues. When you boot the other systems, see what extra parameters are passed to the kernel (if the system is booted, just look at their /boot/grub/menu.lst entries).

You may need to add an extra parameter (things like 'noacpi' and so on) to get the system to behave.
 
Old 11-17-2008, 05:05 AM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Original Poster
Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
I got looking dsl also dose it ,not as many times. slack and puppy have no errors. must be a debian thing since dsl is based on debian. have tried nodma, noacpi, noscsi, noapm. no extra parameters is passed by grub for puppy or slack. have already tried to google for an answer with no success.
 
Old 11-17-2008, 05:16 AM   #5
yowi
Member
 
Registered: Dec 2002
Location: Au
Distribution: Debian
Posts: 209

Rep: Reputation: 55
Have you played with hdparm?
 
Old 11-17-2008, 11:44 AM   #6
pentode
Member
 
Registered: Dec 2005
Location: Oregon
Distribution: Debian Testing
Posts: 488

Rep: Reputation: 38
Which version of Debian? The Testing version of the installer is often better with hardware detection/compatibility than the Stable version. Don't let the "Testing" name scare you. Unless you're running a server or something mission-critical, Testing is what you probably want.
 
Old 11-17-2008, 04:54 PM   #7
yowi
Member
 
Registered: Dec 2002
Location: Au
Distribution: Debian
Posts: 209

Rep: Reputation: 55
Uh-oh, it's another disciple from the cult of the re-install.
Considering you're on old hardware it'd me be my last choice.
Try that if you like, but don't forget to sacrifice a chook first.
 
Old 11-18-2008, 07:36 AM   #8
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Original Poster
Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
thanks for the suggestions. i don,t think a reinstall will fix this. I'll either have to figure out what paramter to pass in grub, or install and set up hdparm. I do'nt have a hdparm.conf file or anything refering to it in my init files or folders. I did a light install of debian so I don't have all the gizmos of a debian full install. Any suggestions on a place to go to learn how to set up hdparm woud be appreciated. So it's off back to the tree of knowlege for me. thanks for the help
 
Old 11-18-2008, 08:05 AM   #9
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
So.. Is that a Seagate Hard drive by chance ?

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=401035
http://bugzilla.kernel.org/show_bug.cgi?id=8816
Quote:
Originally Posted by Mikko Rapeli
Hello,

I ran into this too with Debian etch ( http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=401035 ), bugged linux-ide people ( http://bugzilla.kernel.org/show_bug.cgi?id=8816 and http://marc.info/?t=118596132600016&r=1&w=2 ) and now a fix is available:

- for 2.6.23-rc1at http://marc.info/?l=linux-ide&m=118609784802744&w=2
- for 2.6.22.1 at http://marc.info/?l=linux-ide&m=118609639204242&w=2

For older distro kernels like 2.6.18-4 from Debian, the 2.6.22.1 patch worked without the EXPORT_SYMBOL_GPL part. Perhaps it could apply to Ubuntu kernels as well.

I only have ST340823A drive available for testing, so other drives having similar problems of 1 sector HPA and size reporting should be verified and included in the blacklist. A good place to report them, I think, is the discussion thread on linux-ide at http://marc.info/?t=118596132600016&r=1&w=2 .
Quote:
From the 2.6.23-rc4 changelog (http://www.kernel.org/pub/linux/kern...g-2.6.23-rc4):

commit b0244a00451c1ad64bf0a51f50679f7146786780
Author: Bartlomiej Zolnierkiewicz <email address hidden>
Date: Mon Aug 20 22:42:57 2007 +0200

ide-disk: workaround for buggy HPA support on ST340823A (take 3)

This disk reports total number of sectors instead of maximum sector address
in response to READ_NATIVE_MAX_ADDRESS command and also happily accepts
SET_MAX_ADDRESS command with the bogus value. This results in +1 sector
capacity being used and errors on attempts to use the last sector.

...
hdd: Host Protected Area detected.
    current capacity is 78165360 sectors (40020 MB)
    native  capacity is 78165361 sectors (40020 MB)
hdd: Host Protected Area disabled.
...
hdd: reading: block=78165360, sectors=1, buffer=0xc1e63000
hdd: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdd: dma_intr: error=0x10 { SectorIdNotFound }, LBAsect=78165360, sector=78165360
...

Add hpa_list[] table and workaround the issue in idedisk_check_hpa().

v2:
* Add missing export and improve patch description a bit.

v3:
* Add list termination. (From Mikko)

Fixes kernel bugzilla bug #8816.

Thanks to Mikko for investigating the issue and helping with this patch.

Cc: Mikko Rapeli <email address hidden>
Cc: Alan Cox <email address hidden>
Signed-off-by: Bartlomiej Zolnierkiewicz <email address hidden>
Looks like it may be fixed in the newer kernels..
 
Old 11-18-2008, 12:29 PM   #10
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Original Poster
Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
SIMILAR TO that but LBA sectors only goes to 39102324 and actual total sectors is 39102336 or something to that effect. I got the computer second hand with mellinum already installed on. I resized the hard drive to make room for the linux operating systems. I was getting a "partition extends past end of sectors"or something to that effect by gparted, so I left empty space after the last partition to stop getting the error by gparted, so i think the problem is that the total number of LBA sectors dos'nt match the total sectors, i could probably fix it by reformatting the whole hard drive, but I don't want to do that, so I'm trying to find a work around.
after a little research i have a seagate ST32041A, so it must be a seagate thing.
One final note. got rid of the errors by doing a reinstall with debian testing. it uses a 2.6.24 kernel instead of a 2.6.18 kernel. for those that suggest to just update to a newer kernel, tried but wasn't able to get it working because all i had was a base install plus fluxbox and a webbrowser. maybe i'll work on my kernel compile skills some other day. tried to compile a kernel once with slack12.0 with limited success. thanks for all the help and suggestions.

Last edited by colorpurple21859; 11-22-2008 at 10:51 PM. Reason: final solution
 
  


Reply



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
Partition copy from SATA to IDE fails to boot (debian amd-64 rc2) siggma Linux - Server 2 03-01-2008 01:08 PM
Dual boot XP(internal IDE HDD) Debian(external USB-IDE HDD) using boot.ini PolarDog Linux - Laptop and Netbook 2 07-01-2005 09:50 PM
boot errors with new debian kernel shorton Linux - General 1 12-23-2003 05:25 PM
IDE Errors in XT8088 Linux - Hardware 3 10-11-2003 09:50 PM
bad dmesg output when using ide-scsi boot parameter for IDE CD/DVD-ROM Locura Slackware 7 09-29-2003 02:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:40 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration