Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  5 Nov 2000 20:58:23 -0800 (PST)
From:      mars@cannoncreek.com
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/22634: 4.2-Beta (11/06) Kernel does not detect Slave HDs
Message-ID:  <20001106045823.E1D7737B4CF@hub.freebsd.org>

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

>Number:         22634
>Category:       kern
>Synopsis:       4.2-Beta (11/06) Kernel does not detect Slave HDs
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 05 21:00:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Mars G. Miro
>Release:        FreeBSD-4.0R
>Organization:
Cannoncreek Asia
>Environment:
FreeBSD colorado.cannoncreek.com 4.0-RELEASE FreeBSD 4.0-RELEASE #2: Wed Oct 11 13:56:24 PHT 2000     root@colorado.cannoncreek.com:/usr/src/sys/compile/COLORADO  i386

>Description:
The Kernel on 4.2-Beta does not seem to support a filesystem that w/c is set ar a Slave HD. I believe that this is a serious bug because some users maybe using filesystems  using slave HDs and since the kernel does not detect it, it will never bring the system up.
>How-To-Repeat:
These are my Hardware:
    For IDE0 I am using two 10G HDs as Master and Slave
    For IDE1 I am using a CDRom as Master and a 2.5G as Slave.
   this is my /etc/fstab :

#Device	     Mountpoint	FStype	Options		Dump	Pass#
/dev/ad0s2b  none	swap	sw		0	0
/dev/ad0s2a  /		ufs	rw		1	1
/dev/ad1s1e  /home	ufs	rw		2	2
/dev/ad0s2f  /usr	ufs	rw		2	2
/dev/ad0s2e  /var	ufs	rw		2	2
/dev/acd0c   /cdrom	cd9660	ro,noauto	0	0
proc	     /proc	procfs	rw       	0	0

the Old Kernel detects my Primary Slave, from dmesg:
ad0: 9768MB <ST310212A> [19846/16/63] at ata0-master using UDMA66
ad1: 9768MB <ST310212A> [19846/16/63] at ata0-slave using UDMA66
ad3: 2014 <FUJITSU MPA3026AT> [4092/16/63] at ata1-slave WDMA2

When doing an upgrade to the latest Stable version of FreeBSD, which is 4.2-Beta(11/06). These are the steps i took, as i've always used, and also from /usr/src/UPDATING:
 0.) cvsup sources to cvs server (have tried 3 different servers)
 1.) buildworld
 2.) buildkernel, then installkernel
 3.) reboot to 1 user (shutdown now)
 4.) installworld
No Errors whatsoever in the above process, but in booting to the new kernel, it does not detect it:

       Can't open /dev/ad1s1e: Device not configured
       /dev/ad1s1e: Can't Check file system

   and then FSCK of course complains about inconsistencies...
   this is so because the kernel did not detect it, from dmesg:

    ad0: 9768MB <ST310212A> [19846/16/63] at ata0-master UDMA66
    ad3: 2014 <FUJITSU MPA3026AT> [4092/16/63] at ata1-slave WDMA2
    ^^^
    it was not able to detect ad1.

    I have posted this to sos@freebsd.org, and the freebsd-stable mailing list and various other people have experienced it: 

----------------snip--------------------- 
NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp>
I have seen this problem for one and half month. :-<
I'm still using 4.1-STABLE-20000822000000.

This world on 2000/Aug/22 is woking good. Here's an output of dmesg

ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable
ad0: 12419MB <ST313032A> [25232/16/63] at ata0-master using UDMA33
ad1: 19547MB <FUJITSU MPE3204AT> [39714/16/63] at ata0-slave using UDMA66
acd0: CDROM <40X CD-ROM> at ata1-master using PIO4

The kernel on yesterday cannot detect the 'ad1'.
----------- 

  I have a (maybe) same problem, too.  My machine has two
IDE disks connected to Promise Ultra66 card.  One is at
ata2-master and another is at ata2-slave.  And no other
disks in the machine.  That is:

ata0-master: none
        ata0-slave: none
        ata1-master: CD-ROM
        ata1-slave: none
        ata2-master: 20GB HDD
        ata2-slave: 10GB HDD
        ata3-master: none
        ata3-slave: none

(ata0/ata1 is on-board IDE controller, and ata1/ata2 is
Promise Ultra66 IDE controller.)

  4.1.1-STABLE which was cvsuped at Oct. 14th said:

ad4: 19600MB <SAMSUNG SV2046D> [39824/16/63] at ata2-master using UDMA66
ad5: 9768MB <ST310212A> [19846/16/63] at ata2-slave using UDMA66
acd0: CDROM <NEC CD-ROM DRIVE:273> at ata1-master using PIO3

  But 4.2-BETA which was cvsuped at Nov. 3rd only said:

ad4: 19600MB <SAMSUNG SV2046D> [39824/16/63] at ata2-master UDMA66
acd0: CDROM <NEC CD-ROM DRIVE:273> at ata1-master using PIO3

  As above, 4.2-BETA does not detect ata2-slave.  What's
wrong?

--
Yoichi Ogawa <yo1@lares.dti.ne.jp>

--------snip---------------------------------


>Fix:
I don't know, at the moment i just boot to the old kernel, but i'm having problems like segmentation fault, core dumps, naturally because the Base System is not in tune with the kernel.
I hope this problem gets fixed in time for 4.2-Release on the 15th...

thanx . ;-)

>Release-Note:
>Audit-Trail:
>Unformatted:


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001106045823.E1D7737B4CF>