Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: [tls-maxphys] src/sys/dev



On Tue, Oct 09, 2012 at 01:36:07PM +0000, Manuel Bouyer wrote:
> [...]
> Log Message:
> Support transfers of up to MACHINE_MAXPHYS in all pciide variants, and ahci.
> wd(4) limits its maxphys depending on the drives's capability (64k sectors
> for LBA48, 256 sectors for LBA and 128 sectors for older devices).
> 
> I assumed all pciide controllers could do MACHINE_MAXPHYS transfers, but
> this may not be true. The capabilities of each controller variants should be
> looked at more closely.

transfers with dd on the raw character device works fine, but I get this
panic when booting multiuser, both with pciide and ahci controllers:
Starting ntpd.
panic: bad chunksize 139264, iochunk 524288, request size 139264
fatal breakpoint trap in supervisor mode
trap type 1 code 0 rip ffffffff8025695d cs 8 rflags 246 cr2 7f7ff701dd90 ilevel 
0 rsp fffffe810b8a3790
curlwp 0xfffffe81af50d480 pid 383 lid 1 lowest kstack 0xfffffe810b8a0000
Stopped in pid 383.1 (ntpd) at  netbsd:breakpoint+0x5:  leave
db{7}> tr
breakpoint() at netbsd:breakpoint+0x5
vpanic() at netbsd:vpanic+0x1f2
printf_nolog() at netbsd:printf_nolog
ra_startio() at netbsd:ra_startio+0x11b
uvm_ra_request() at netbsd:uvm_ra_request+0x1a9
uvn_get() at netbsd:uvn_get+0xf1
uvm_fault_internal() at netbsd:uvm_fault_internal+0xcab
uvm_fault_wire() at netbsd:uvm_fault_wire+0x53
uvm_map_pageable_all() at netbsd:uvm_map_pageable_all+0x19d
syscall() at netbsd:syscall+0x94
--- syscall (number 242) ---

any idea ?

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index