From nobody@FreeBSD.org  Sun Jul  1 11:12:24 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 6E80637B401
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  1 Jul 2001 11:12:23 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.3/8.11.3) id f61ICNJ75426;
	Sun, 1 Jul 2001 11:12:23 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200107011812.f61ICNJ75426@freefall.freebsd.org>
Date: Sun, 1 Jul 2001 11:12:23 -0700 (PDT)
From: Yoshiji Emoto <alumina@jcom.home.ne.jp>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Please support boot from ATA RAID-0 device. (/dev/ar0s1a)
X-Send-Pr-Version: www-1.0

>Number:         28592
>Category:       i386
>Synopsis:       Please support boot from ATA RAID-0 device. (/dev/ar0s1a)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    sos
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          wish
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 01 11:20:02 PDT 2001
>Closed-Date:    Mon Aug 19 12:01:39 PDT 2002
>Last-Modified:  Mon Aug 19 12:01:39 PDT 2002
>Originator:     Yoshiji Emoto
>Release:        4.3-RELEASE
>Organization:
free programmer
>Environment:
HighPoint HPT370 RAID card.(ABIT)
IBM DTLA-305040 x 2
>Description:
can't boot from HPT370 created RAID-0 device.
can read kernel from RAID-0 device, but fail the mount-root.


description:
1.I modify the setroot() function (in /sys/i386/i386/autoconf.c),
  force set boot device to 'ar0 s1 a'.
  but can't boot from RAID-0 device.

2.after, call the makebdev() function by setroot() is fail.
  because ATA RAID device's bmaj is -1.

3.change the bmaj to 33 (in /sys/dev/ata/ata-raid.c), and
  re-compile the kernel and challenge boot from ATA RAID device.
  but can't boot from ATA RAID device too.

  ... sorry, my brain is overflow.;-(

>How-To-Repeat:
create the RAID-0 (stripe)
boot the FreeBSD from network.
use /sysinstall (fdisk & newfs).
make buildworld & installworld into the created RAID-0 device.
boot FreeBSD from RAID-0 device.

>Fix:
I don't know.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->sos 
Responsible-Changed-By: johan 
Responsible-Changed-When: Mon Aug 19 11:56:42 PDT 2002 
Responsible-Changed-Why:  
Over to ATA maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=28592 
State-Changed-From-To: open->closed 
State-Changed-By: sos 
State-Changed-When: Mon Aug 19 12:00:05 PDT 2002 
State-Changed-Why:  
This should work from 4.6 forward. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=28592 
>Unformatted:
