Bug 118477

Summary: BETA4 installer doesn't attach my HDD controller; BETA3 did
Product: Base System Reporter: Todd Wasson <tsw5>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 7.0-BETA4   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
ata-chipset.c.diff.txt none

Description Todd Wasson 2007-12-07 05:40:03 UTC
I've got a Maxtor 6Y080L0 YAR41VW0 drive on a JMicron JMB368 UDMA133  
controller, and in the BETA4 installer the controller doesn't seem to  
be properly attaching, which leads to the drive not being found.  The  
relevant sections from dmesg (as I'm not sure where else to look while  
running the installer CD) are:

From BETA3:
atapci0: <JMicron JMB368 UDMA133 controller> port  
0xdc00-0xdc07,0xd880-0xd883,0xd800-0xd807,0xd480-0xd483,0xd400-0xd40f  
irq 16 at device 0.0 on pci2
atapci0: [ITHREAD]
ata2: <ATA channel 0> on atapci0
ata2: [ITHREAD]

From BETA4:
atapci0: <JMicron JMB368 UDMA133 controller> port  
0xdc00-0xdc07,0xd880-0xd883,0xd800-0xd807,0xd480-0xd483,0xd400-0xd40f  
irq 16 at device 0.0 on pci2
atapci0: [ITHREAD]
device_attach: atapci0 attach returned 6

I've tried this with both i386 and amd64 install discs, with the same  
results.  I've also updated my BETA3 install to CURRENT and built the kernel and run into this same error, so clearly some code is checked into the tree now, as it was at the time of BETA4's release, that is causing this issue.

How-To-Repeat: Boot the 7.0-BETA4 disc 1 install CD.  Alternatively, csup to CURRENT from BETA3, build the kernel, and boot into it.
Comment 1 Andrey V. Elsukov 2007-12-07 07:10:39 UTC
Todd Wasson wrote:
> I've tried this with both i386 and amd64 install discs, with the
> same results. I've also updated my BETA3 install to CURRENT and
> built the kernel and run into this same error, so clearly some
 > code is checked into the tree now, as it was at the time
 > of BETA4's release, that is causing this issue.
>> How-To-Repeat: > Boot the 7.0-BETA4 disc 1 install CD.  Alternatively, csup to 
CURRENT from BETA3, build the kernel, and boot into it.
>> Fix:

Hi, Todd.

Can you try the attached patch?

-- 
WBR, Andrey V. Elsukov
Comment 2 Todd Wasson 2007-12-09 01:43:09 UTC
This bug was fixed, as far as I can tell, by Soren's checkin on  
2007-12-07, linked here: http://lists.freebsd.org/pipermail/cvs-all/2007-December/239585.html


Todd
Comment 3 Remko Lodder freebsd_committer freebsd_triage 2007-12-09 11:52:41 UTC
State Changed
From-To: open->closed

This had been fixed by recent work of soren