Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge system error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
welcome3
n00b
n00b


Joined: 17 Oct 2003
Posts: 3
Location: Hamilton, Ontario, Canada

PostPosted: Fri Oct 17, 2003 6:46 pm    Post subject: emerge system error Reply with quote

Hi all!

quick recap. Two nights ago I started a Gentoo install, stage 1. The
bootstrap hadn't finished prior to my going to sleep. When I woke up, I
found I received an IOError. So yesterday, with nothing better to do than
watch the Leafs get pummeled (sp?) by the Devils, I decided to start from
scratch. Complete new reboot, delete the partitions, etc.

I'm running a P4 1.6 Ghz Gigabyte motherboard with 512 MB RDRAM. The hard
drive is the second HD in my system (first is Windows XP Pro), a 60 GB
Maxtor (probably 7200 rpm). And I have a Sympatico ADSL connection (High
speed, not Ultra high speed for anybody who knows). I have not overclocked
the chipset.

I partitioned:
hdb1 100M ext3,
hdb2 1024M swap
hdb3 the rest reiserfs

Good news is that it made it through the bootstrap in about 3 hours (6:30
pm - 9:30). The mirror site that was being used was OregonState.

So I started the next step in the instructions, and got to the "emerge
system" step. And I let it run. When I woke up this morning this error was
on my screen (about last 20 lines). Please excuse typos, this is a screen
to paper to screen process.
--------------------------
emerge system
......
<<< obj /usr/lib/libopcodes-2.13.90.0.18.so
--- !mtime obj /usr/lib/libiberty.a
--- !mtime obj /usr/lib/libbfd.la
--- !mtime obj /usr/lib/libbfd.a
hdb: dma-intr: status=0x51 { DriveReady SeekComplete Error }
hdb: dma-intr: status=0x40 { UncorrectableError } LBAsect=2320860, sector
103872
end_request: I/O error, dev 3:43 (hdb), sector 103872
Traceback (most recent call last):
FILE "/usr/bin/emerge", line 1603 in unmerge
retval=portage.unmerge(mysplit[0], mysplit[1], portage.root,
unmerge_action not in ["clean","prune"])
FILE "/usr/lib/python2.2/site-packages/python.py" line 1960, in unmerge
mylink.unmerge(trimworld=mytrimworld)
FILE "/usr/lib/python2.2/site-packages/python.py" line 4469, in unmerge
mymd5=perform_md5(obj, calc_prelink=1)
FILE "/usr/lib/python2.2/site-packages/python.py" line 1951, in perform_md5
return perform_checksum(x,calc_prelink)[0]
FILE "/usr/lib/python2.2/site-packages/python.py" line 205, in
perform_checksum
return fchksum.fmd5t(filename)
IOError; [Errno 5] Input/output error: '/usr/lib/libbfd-2.13.90.0.18.so'
-------------------------------

It left me at the "cdimage portage #" prompt. An adsl-status run at this
point produced the following error:
bash adsl-status: command not found.

It seems to me the error is reporting bad sectors on the hard drive? I
could be wrong, of course. If so, please let me know.

So I have two questions. First, are there any tools that I can use to mark
bad sectors as unusable? Second, how do I start my adsl session again, and
then commence from the beginning of stage 2?

Any other comments/insights greatly appreciated.

cheers,
Matt.
Back to top
View user's profile Send private message
deepthought
Guru
Guru


Joined: 04 Apr 2003
Posts: 321
Location: icbm://5131''N:0710''E

PostPosted: Sat Oct 18, 2003 9:06 am    Post subject: Reply with quote

Turn of acpi and dma, and don't use hdparm. That might help. Unfortunately, there is no other way than starting from scratch.

Regards,
Alexander
_________________
Out of loyalty to its disregarded comrades, this message feels free to ignore the reader.
Registered Linux User #317705
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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