Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 2000 17:13:44 +0200
From:      "Martin Svensson" <skydiver@telia.com>
To:        <questions@freebsd.org>
Subject:   Harddrive mount problems!
Message-ID:  <001001c003a6$bdc172c0$0a00a8c0@telia.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hello!

I moved my harddrive från being secondary master to primary slave on the motherboard. Both the harddrives is using LBA mode in BIOS (award).

No i am not sure what my harddrive is called. This is what my previous /etc/fstab looked like. But the /home directory was not commented out, i did this now because it doesn't work when i boot. I get this error message when i boot.

-------------------------------------------------------------------------------------------------------------------
/dev/ad0s1a: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1a: Clean, blah blah..

ad2: READ command timeout - resetting
ata1: resetting done.

ata-master: WARNING: WAIT-READY active=ATA_ACTIVE_ATA
ad2: trying fallback to PIO mode
ata1: resetting devices... done.

<now the computer locks up, stop responding, i have waited for like 15 minutes>
-------------------------------------------------------------------------------------------------------------------

MY /etc/fstab
---------------------------------------------------------------------------------------------------------
# Device                Mountpoint      FStype  Options         Dump    Pass#
/dev/ad0s1b             none            swap    sw              0       0
/dev/ad0s1a             /               ufs     rw              1       1
#/dev/ad1s1e            /home           ufs     rw              2       2
/dev/ad0s1f             /usr            ufs     rw              2       2
/dev/ad0s1e             /var            ufs     rw              2       2
#/dev/acd0c             /cdrom  cd9660  ro,noauto       0       0
proc                    /proc           procfs  rw              0       0
---------------------------------------------------------------------------------------------------------

When i do 'fdisk /dev/ad1' (which i believe to be my secondary slave) i get this:

-------------------------------------------------------------------------------------------------------------------
mars# fdisk /dev/ad1
******* Working on device /dev/ad1 *******
parameters extracted from in-core disklabel are:
cylinders=1108 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=1108 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 63, size 17799957 (8691 Meg), flag 80 (active)
        beg: cyl 0/ sector 1/ head 1;
        end: cyl 1023/ sector 63/ head 254
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
mars#
-------------------------------------------------------------------------------------------------------------------

Like i said before, in BIOS my harddrives are in LBA mode, i autodetected then in bios. Please help me get back my /home partition, I got some useful information there.


Thankyou in advance

Martin

[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2614.3500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I moved my harddrive från being&nbsp;secondary 
master to primary slave on the motherboard. Both the harddrives is using LBA 
mode in BIOS (award).</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>No i am not sure what my harddrive is called. This 
is what my previous /etc/fstab looked like. But the /home directory was not 
commented out, i did this now because it doesn't work when i boot. I get this 
error message when i boot.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>-----------------------<FONT face=Arial 
size=2>-----------------------<FONT face=Arial 
size=2>-----------------------<FONT face=Arial 
size=2>-----------------------<FONT face=Arial 
size=2>-----------------------</FONT></FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2>/dev/ad0s1a: FILESYSTEM CLEAN; SKIPPING 
CHECKS</FONT></DIV>
<DIV><FONT face=Arial size=2>/dev/ad0s1a: Clean, blah blah..</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>ad2: READ&nbsp;command timeout - 
resetting</FONT></DIV>
<DIV><FONT face=Arial size=2>ata1: resetting done.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>ata-master: WARNING: WAIT-READY 
active=ATA_ACTIVE_ATA</FONT></DIV>
<DIV><FONT face=Arial size=2>ad2: trying fallback to PIO mode</FONT></DIV>
<DIV><FONT face=Arial size=2>ata1: resetting devices... done.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&lt;now the computer locks up, stop responding, i 
have waited for like 15 minutes&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial 
size=2>-----------------------<FONT face=Arial 
size=2>-----------------------<FONT face=Arial 
size=2>-----------------------<FONT face=Arial 
size=2>-----------------------<FONT face=Arial 
size=2>-----------------------</FONT></FONT></FONT></FONT></FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>MY /etc/fstab</FONT></DIV>
<DIV><FONT face=Arial 
size=2>---------------------------------------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2># 
Device&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Mountpoint&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FStype&nbsp; 
Options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dump&nbsp;&nbsp;&nbsp; 
Pass#<BR>/dev/ad0s1b&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
none&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
swap&nbsp;&nbsp;&nbsp; 
sw&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb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p; 
/var&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
ufs&nbsp;&nbsp;&nbsp;&nbsp; 
rw&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
2<BR>#/dev/acd0c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
/cdrom&nbsp; cd9660&nbsp; ro,noauto&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
0<BR>proc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
/proc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; procfs&nbsp; 
rw&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<BR><FONT face=Arial 
size=2>---------------------------------------------------------------------------------------------------------</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>When i do 'fdisk /dev/ad1' (which i believe to be 
my secondary slave) i get this:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial 
size=2>-----------------------<FONT face=Arial 
size=2>-----------------------<FONT face=Arial 
size=2>-----------------------<FONT face=Arial 
size=2>-----------------------<FONT face=Arial 
size=2>-----------------------</FONT></FONT></FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2>mars# fdisk /dev/ad1<BR>******* Working on device 
/dev/ad1 *******<BR>parameters extracted from in-core disklabel 
are:<BR>cylinders=1108 heads=255 sectors/track=63 (16065 blks/cyl)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Figures below won't work with BIOS for partitions 
not in cyl 1<BR>parameters to be used for BIOS calculations 
are:<BR>cylinders=1108 heads=255 sectors/track=63 (16065 blks/cyl)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Media sector size is 512<BR>Warning: BIOS sector 
numbering starts with sector 1<BR>Information from DOS bootblock is:<BR>The data 
for partition 1 is:<BR>sysid 165,(FreeBSD/NetBSD/386BSD)<BR>&nbsp;&nbsp;&nbsp; 
start 63, size 17799957 (8691 Meg), flag 80 
(active)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; beg: cyl 0/ sector 1/ 
head 1;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end: cyl 1023/ sector 63/ 
head 254<BR>The data for partition 2 is:<BR>&lt;UNUSED&gt;<BR>The data for 
partition 3 is:<BR>&lt;UNUSED&gt;<BR>The data for partition 4 
is:<BR>&lt;UNUSED&gt;<BR>mars#</FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial 
size=2>-----------------------<FONT face=Arial 
size=2>-----------------------<FONT face=Arial 
size=2>-----------------------<FONT face=Arial 
size=2>-----------------------<FONT face=Arial 
size=2>-----------------------</FONT></FONT></FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Like i said before, in BIOS my harddrives are in 
LBA mode, i autodetected then in bios. Please help me get back my /home 
partition, I got some useful information there.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thankyou in advance</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Martin</DIV></FONT></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001001c003a6$bdc172c0$0a00a8c0>