From owner-freebsd-hackers Thu Jun 27 20:41:31 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from public.wh.hb.cn (mail2.wh.hb.cn [202.103.0.113]) by hub.freebsd.org (Postfix) with ESMTP id 220ED37B400 for ; Thu, 27 Jun 2002 20:41:21 -0700 (PDT) Received: from RavProxy ([61.183.76.30]) by public.wh.hb.cn (Sun Internet Mail Server sims.4.0.2001.07.26.11.50.p9) with ESMTPA id <0GYE00HM3CSQTK@public.wh.hb.cn> for freebsd-hackers@freebsd.org; Fri, 28 Jun 2002 11:38:51 +0800 (CST) Date: Fri, 28 Jun 2002 11:38:00 +0800 From: =?gb2312?B?0e7TwtbH?= Subject: Problem on installing FreeBSD 4.5-RELEASE To: freebsd-hackers@freebsd.org Message-id: <000001c21e55$342bbbd0$050710ac@heos.com> Organization: =?gb2312?B?zuS6uruq1q7R87nitefPtc2z09DP3tTwyM65q8u+?= MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Mailer: Microsoft Outlook, Build 10.0.2627 Content-type: text/plain; charset=gb2312 Content-transfer-encoding: 7BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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