Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
new hdd, crashes at boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
kukacomone
n00b
n00b


Joined: 20 Jul 2007
Posts: 34

PostPosted: Wed Apr 02, 2008 5:04 pm    Post subject: new hdd, crashes at boot Reply with quote

Hi,
I have a new hdd and moved my gentoo installation to it via this howto. The new hdd is ide like the old. It works fine except the first boot always fails. Reset doesnt help, I need to turn off my pc, then turn on. After this, no problems.
It usually crash when I try to log in. I enter my username and it asks for the username again. I can not login.
Any idea?
Back to top
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2395

PostPosted: Wed Apr 02, 2008 9:32 pm    Post subject: Reply with quote

wait, you computer let's you only log in every second time? did i get that right?
what happens when you do not let start X on boot and try to log in on the console?
Back to top
View user's profile Send private message
kukacomone
n00b
n00b


Joined: 20 Jul 2007
Posts: 34

PostPosted: Fri Apr 04, 2008 2:58 pm    Post subject: Reply with quote

Yep.
I can log in on the console, but after the first command it freezes. But some time I can log in with gdm also, and some time it freezes before I can type my username.
Back to top
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2395

PostPosted: Fri Apr 04, 2008 5:19 pm    Post subject: Reply with quote

sometimes means it is random, right?
so i would guess that is some kind of hardware problem.
have you already checked your memory for errors?
Back to top
View user's profile Send private message
kukacomone
n00b
n00b


Joined: 20 Jul 2007
Posts: 34

PostPosted: Fri Apr 04, 2008 6:01 pm    Post subject: Reply with quote

Yes its random. No I dont. I will check it!
But this started after I moved my gentoo installation to my new hdd, so I think maybe the move wasnt fully succesful?
Back to top
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Fri Apr 04, 2008 9:18 pm    Post subject: Reply with quote

It is rare for a brand new hard disk to be broken, but it happens. I had a brand new Seagate that was wonky from the start and after about 2-3 weeks it was dead. It happens. :cry:
Back to top
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2395

PostPosted: Fri Apr 04, 2008 11:23 pm    Post subject: Reply with quote

how did you move your installation? post the "cp" parameters or those of whatever tool you used. maybe you have a permissions problem, but i think that's unlikely.
Back to top
View user's profile Send private message
kukacomone
n00b
n00b


Joined: 20 Jul 2007
Posts: 34

PostPosted: Sat Apr 05, 2008 3:36 pm    Post subject: Reply with quote

Code:
cp -ax /olddisk/* /newdisk/


I checked my memory, no errors. Also checked the disk with e2fsck, no errors.
Today I turned on my pc, I boot a livecd to check disk and memory, and after that I logged in successfully firstly to gentoo.
Back to top
View user's profile Send private message
kukacomone
n00b
n00b


Joined: 20 Jul 2007
Posts: 34

PostPosted: Wed Apr 09, 2008 11:58 am    Post subject: Reply with quote

hda: dma_timer_eexpiry: dma status=0xd0 (busy)
hda: dma timeout error
ide: failed opcode was: unkown
hda: DMA disabled
.
.
.
I/O error

> hdparm /dev/hda

/dev/hda:
multcount = 0 (off)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 38913/255/63, sectors = 625142448, start = 0

Should I turn off dma?
Back to top
View user's profile Send private message
kukacomone
n00b
n00b


Joined: 20 Jul 2007
Posts: 34

PostPosted: Wed Apr 09, 2008 12:09 pm    Post subject: Reply with quote

> hdparm -I /dev/hda

/dev/hda:

ATA device, with non-removable media
Model Number: WDC WD3200JB-00KFA0
Serial Number: WD-WCAMR1383330
Firmware Revision: 08.05J08
Standards:
Supported: 6 5 4
Likely used: 6
Configuration:
Logical max current
cylinders 16383 64761
heads 16 1
sectors/track 63 255
--
CHS current addressable sectors: 16514055
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 625142448
device size with M = 1024*1024: 305245 MBytes
device size with M = 1000*1000: 320072 MBytes (320 GB)
Capabilities:
LBA, IORDY(can be disabled)
Standby timer values: spec'd by Standard, with device specific minimum
R/W multiple sector transfer: Max = 16 Current = 0
Recommended acoustic management value: 128, current value: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns

:o
Back to top
View user's profile Send private message
kukacomone
n00b
n00b


Joined: 20 Jul 2007
Posts: 34

PostPosted: Fri Apr 11, 2008 1:25 pm    Post subject: Reply with quote

bump
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum