LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 09-14-2007, 07:54 AM   #1
davood_firoozian
LQ Newbie
 
Registered: Sep 2007
Posts: 5

Rep: Reputation: 0
SATA, fdisk mount problem


Hia,

I recently installed new seagate ST3500830AS(500GB) harddrive into my debian box (debian 3.1) , but when I was trying to fdisk or cfdisk the device cfdisk (fdisk) hangs with no response. I thought it is a HW problem and changed the drive. at first everything goes nice, 1- 4G swap, and 2- 2*250 raiser drives but mkswap says swap drive boundary has a problem.
I tested partitions with fdisk -l and there was no swap drive, and after that again cfdisk fdisk dd or any command on the drive hangs.
I can't kill even with -9 this hanged processes. after killing they are still there.

kernel: Linux debian 2.6.8-3-686
messages:

Sep 13 20:21:03 localhost kernel: SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
Sep 13 20:21:03 localhost kernel: SCSI device sda: drive cache: write back
Sep 13 20:21:03 localhost kernel: /dev/scsi/host1/bus0/target0/lun0: p1 p2 p3
Sep 13 20:32:03 localhost -- MARK --

Sep 13 20:47:34 localhost kernel: SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
Sep 13 20:47:34 localhost kernel: SCSI device sda: drive cache: write back
Sep 13 20:47:34 localhost kernel: /dev/scsi/host1/bus0/target0/lun0: p2 p3
Sep 13 20:48:30 localhost kernel: scsi1: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 1d 91 b0 a0 00 00 08 00
Sep 13 20:48:30 localhost kernel: Current sda: sense key Medium Error
Sep 13 20:48:30 localhost kernel: Additional sense: Unrecovered read error - auto reallocate failed
Sep 13 20:48:30 localhost kernel: end_request: I/O error, dev sda, sector 496087200
Sep 13 20:48:30 localhost kernel: ATA: abnormal status 0x80 on port 0xC487
 
Old 09-14-2007, 10:56 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,313

Rep: Reputation: 139Reputation: 139
What type of sata controller do you have? That's a pretty old kernel and there were issues with various sata controllers back then. Have you been able to successfully use other sata drives on this system?

As far as patitioning operations, download a livecd with gparted on it like these:

http://gparted.sourceforge.net/

http://partedmagic.com/

Both have fairly recent kernels. If you don't have any problems with partitioning operations with the livecds, you can be fairly sure you have a kernel issue with your present kernel.
 
Old 09-15-2007, 08:34 AM   #3
davood_firoozian
LQ Newbie
 
Registered: Sep 2007
Posts: 5

Original Poster
Rep: Reputation: 0
about the kernel, it's one of latest kernel in debian, I've another choice to 2.6.8.11 (a security release) but I dont think this version helps.
I'll test your boot CD or another distro to check your idea.
 
Old 09-16-2007, 07:12 AM   #4
davood_firoozian
LQ Newbie
 
Registered: Sep 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Kernel Upgrade

I found a new kernel (2.6.18.5) on new stable (etch) version & upgrade to it to test the result.

Update (problem solved): kernel updated to 2.6.18.5 (debian etch) and problem solved.

It also helps solving a preboot problem, which causes the machine to hang as soon as grub loads.

Last edited by davood_firoozian; 09-18-2007 at 10:03 PM.
 
  


Reply

Tags
drive, sata, scsi


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
got my ntfs sata drive to mount but cat get to auto mount Jack Daniels Linux - Hardware 3 04-15-2007 10:42 AM
weird fdisk problem (Fdisk unable to see winxp partitions) khidot Slackware - Installation 5 04-07-2007 09:26 PM
How can I mount a LVM volume with fdisk? Thaidog Linux - General 1 12-16-2006 01:49 AM
Fdisk is not recognizing second SATA disk olf359 Debian 5 01-03-2006 02:42 PM
mount / fdisk / mkfs problem rusium Linux - Hardware 3 05-07-2003 09:38 PM


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

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