LinuxQuestions.org
Visit Jeremy's Blog.
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 10-23-2007, 11:53 AM   #1
GSX
Member
 
Registered: Feb 2005
Location: Germany
Distribution: Debian Etch, kernel 2.6.18
Posts: 103

Rep: Reputation: 15
S-ATA hdd disappears from "fdisk -l" after some hours


Hi folks,

i am running debian 4.0 alias etch with kernel 2.6.18.

i got an internal s-ata hdd (maxtor), 200gb
In linux, I ran fdisk -l

Code:
Disk /dev/hda: 80.0 GB, 80026361856 bytes
16 heads, 63 sectors/track, 155061 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1      142215    71676328+   7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/hda2          142227      155056     6466162+  83  Linux
Partition 2 does not end on cylinder boundary.

Disk /dev/hdb: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1               1        3647    29294496   83  Linux
/dev/hdb2            9976       10011      289170   82  Linux swap / Solaris
/dev/hdb3            3648        9975    50829660   83  Linux

Partition table entries are not in disk order

Disk /dev/sda: 203.9 GB, 203928109056 bytes
255 heads, 63 sectors/track, 24792 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       24792   199141708+  83  Linux

As you can see, my new s-ata hdd is installed correctly (see /dev/sda1)
Info: ext3 journaling fs (i also tried reiserfs).

Everything is ok, i can work with this hdd...no problems.


After some hours (I donīt know the exactly time range...maybe 3 h) i cannot connect this drive. When i have a look at "fdisk -l" the drive is not listed anymore !!???

After a reboot, everything runs fine.




Anybody an idea / same experience????


Greetz
gsx
 
Old 10-23-2007, 01:47 PM   #2
masterclassic
Member
 
Registered: Jun 2007
Distribution: Knoppix
Posts: 244

Rep: Reputation: 73
Does perhaps the disk automatically stop running after some time of non use?
 
Old 10-23-2007, 02:47 PM   #3
GSX
Member
 
Registered: Feb 2005
Location: Germany
Distribution: Debian Etch, kernel 2.6.18
Posts: 103

Original Poster
Rep: Reputation: 15
Thats a good point....

I forgot something...i have this problem in linux only. A view weeks ago I joined a network party and used windows (my machine was running for appr. 11h), where I didnīt have this problem..

Is there a possibility in linux to control the behavior you mentioned?
 
Old 10-29-2007, 03:32 AM   #4
GSX
Member
 
Registered: Feb 2005
Location: Germany
Distribution: Debian Etch, kernel 2.6.18
Posts: 103

Original Poster
Rep: Reputation: 15
Hi..

how can I change / check if I enabled "poweroff for scsi subsystems" in linux debian??

Nobody any idea?
 
Old 10-29-2007, 04:20 PM   #5
GSX
Member
 
Registered: Feb 2005
Location: Germany
Distribution: Debian Etch, kernel 2.6.18
Posts: 103

Original Poster
Rep: Reputation: 15
Solution: In /boot/grub/menu.lst add acpi=off


Hereīs my menu.lst:


Code:
title		Debian GNU/Linux, kernel 2.6.18 (4-686) / bootsplash
root		(hd0,1)
kernel		/vmlinuz-2.6.18bootsplash root=/dev/hdb1 vga=0x317 ro splash=verbose acpi=off
initrd		/initrd.img-2.6.18bootsplash
savedefault

title		Debian GNU/Linux, kernel 2.6.18 (4-686) / bootsplash (single-user mode)
root		(hd0,1)
kernel		/vmlinuz-2.6.18bootsplash root=/dev/hdb1 ro single
initrd		/initrd.img-2.6.18bootsplash
savedefault

title ---------------------------------------------------------------------
root

###########################################################
# Same kernel as above, but without the bootsplash patch
###########################################################

#title		Debian GNU/Linux, kernel 2.6.18-4-686
#root		(hd0,1)
#kernel		/vmlinuz-2.6.18-4-686 root=/dev/hdb1 ro 
#initrd		/initrd.img-2.6.18-4-686
#savedefault

#title		Debian GNU/Linux, kernel 2.6.18-4-686 (single-user mode)
#root		(hd0,1)
#kernel		/vmlinuz-2.6.18-4-686 root=/dev/hdb1 ro single
#initrd		/initrd.img-2.6.18-4-686
#savedefault

########
# End
########


#title ---------------------------------------------------------------------
#root


title		Microsoft Windows XP Professional
root		(hd0,0)
savedefault
makeactive
chainloader	+1


Greetz
Dida
 
  


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
lilo says, "L 01 01 01" and fdisk says, "Unable to seek on /dev/hda1" clausawits Linux - General 3 12-31-2007 09:33 PM
fdisk reports odd "Start "and "End" sectors on single partition eponymous Linux - Software 3 10-01-2007 03:41 PM
help. ATA/SCSI Serial-ATA error: "ATA: Abnormal Status" xin Linux - Hardware 10 09-05-2003 10:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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