Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jun 2002 11:38:00 +0800
From:      =?gb2312?B?0e7TwtbH?= <yyzox@public.wh.hb.cn>
To:        freebsd-hackers@freebsd.org
Subject:   Problem on installing FreeBSD 4.5-RELEASE
Message-ID:  <000001c21e55$342bbbd0$050710ac@heos.com>

Next in thread | Raw E-Mail | Index | Archive | Help
My computer's hardware are shown below: 
  CPU:       Celeron 400MHz 
  Chipset:   VIA VT82C691 + VT82C586B 
  BIOS:      Award (1998) 
  Hard Disk: Maxtor 4D040H2 (40GB IDE) 
  Memory:    2*128MB SDRAM 

At first, the BIOS couldn't recognize the new Maxtor Disk. I upgraded it
to 2001, 
and it worked. I planned to partition the disk as follow: 
  Primary Partition 1: 7.2GB, FAT32 (running Windows XP Pro) 
  Primary Partition 2: 4.0GB, UFS (running FreeBSD) 
			/ = 128MB 
			swap = 256MB 
			/var = 384MB 
			/tmp = 256MB 
			/usr = every thing else 
  Extended Partition: Logical Disk 1 and 2: NTFS (for Windows XP Pro) 

I setup Windows XP first, and install System Commander 7.04 as the boot
manager. 
During the installation of FreeBSD 4.5-RELEASE, when the system is
making the 
/dev/ad0s3a, I see warning messages from virtual terminal 2: 
  Warning: Block size and bytes per inode restrict cylinders per group
to 89. 
  Warning: inode blocks/cyl group (171) >= data blocks (64) in last
cylinder 
  group. This implies 2048 sector(s) are unallocated. 

During the format process, I see following messages showing frequently: 
  ad0: WRITE command timeout tag=0 serv=0 - resetting 
  ata0: resetting devices ... done 

After file system was made, the above messages still show intermittently
during 
the file copy process. Finally, system shows something like this and
reboot: 
  Fatal trap 12: page fault while in kernel mode 
  fault virtual address   =       ... 
  fault code / supervisor write, page not present 
  instruction pointer = ... 
  stack pointer =         ... 
  frame pointer =         ... 
  code segment =          ... 
               =          ... 
  processor eflags =     ... 
  current process =      ... 
  interrupt mask =       ... 
  trap number =           12 
  panic: page fault 

Or something like this: 
  syncing disk ... 

I changed the options of newfs to "-b 32768 -f 4096 -c 16". This time
the 
"cylinders per group" warning message disappear, and the "timeout"
warnings went
out infrequetly, but the install process still can not finish. I tried
some other 
values of block size, fragment size and cylinders/group, they all cannot
fix the
problem. 

The same problem occurred when I tried to install FreeBSD 5.0-CURRENT.
After 
several times of defeat, I turned to FreeBSD 3.4-STABLE, which uses wd
driver 
for hard disks. Except the following warning message, nothing went wrong
-- the 
installation has been completely successful: 
  Warning: the last 2048 sector(s) can't be allocated. 

I sent this question to freebsd-questions@freebsd.org, but no one can
resolve it. 
What's the problem with FreeBSD versions that use the ata hard disk
driver? 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?000001c21e55$342bbbd0$050710ac>