Subject: Re: kern/35545: NetBSD-current will not boot with AHCI and Lite-On
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: netbsd-bugs
Date: 02/13/2007 04:25:04
The following reply was made to PR kern/35545; it has been noted by GNATS.

From: Hisashi T Fujinaka <htodd@twofifty.com>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@NetBSD.org, gnats-admin@NetBSD.org,
	netbsd-bugs@NetBSD.org
Subject: Re: kern/35545: NetBSD-current will not boot with AHCI and Lite-On
 SATA CD
Date: Mon, 12 Feb 2007 20:24:24 -0800 (PST)

 On Thu, 8 Feb 2007, Hisashi T Fujinaka wrote:
 
 ...
 
 > fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
 > Kernelized RAIDframe activated
 > ahcisata1 port 0: device present, speed: 1.5Gb/s
 > ahcisata1 port 1: device present, speed: 3.0Gb/s
 > ahcisata1 port 5: device present, speed: 1.5Gb/s
 > wd0 at atabus4 drive 0: <ST3250620AS>
 > wd0: quirks 2<FORCE_LBA48>
 > wd0: drive supports 16-sector PIO transfers, LBA48 addressing
 > wd0: 232 GB, 484521 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 sectors
 > wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
 > wd0(ahcisata1:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA)
 > wd1 at atabus5 drive 0: <WDC WD2500KS-00MJB0>
 > wd1: drive supports 16-sector PIO transfers, LBA48 addressing
 > wd1: 232 GB, 484521 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 sectors
 > wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
 > wd1(ahcisata1:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA)
 > uvm_fault(0xc04c7720, 0, 1) -> 0xe
 > kernel: supervisor trap page fault, code=0
 > Stopped in pid 21.1 (atabus9) at        0:      invalid address
 > db{0}>
 
 ...
 
 Can I get any hints about where to put debugging printfs in the code?
 I guess I need to get up to speed on the kernel structure.
 
 -- 
 Hisashi T Fujinaka - htodd@twofifty.com
 BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte