NetBSD-Bugs archive

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

Re: kern/45895: kernel modules not working



The following reply was made to PR kern/45895; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/45895: kernel modules not working
Date: Tue, 31 Jan 2012 17:21:41 +0100

 Reproduced it on another machine with working DDB:
 
 Starting syslogd.
 Mounting all filesystems...
 text_access_fault: pc=10152f640 va=10152e000
 kernel trap 64: +fast instruction access MMU miss
 Stopped in pid 173.1 (mount_kernfs) at  10152f640:      undefined
 module_do_load(0, 0, 0, 0, 0, 2) at netbsd:module_do_load+0x6b4  
 module_autoload(42adc28, 2, 1a, 0, 42aa000, 42adc28) at 
netbsd:module_autoload+0
 xbc                                                                            
 do_sys_mount(438f800, 0, 100f40, ffffffffffffb338, 0, 0) at 
netbsd:do_sys_mount+
 0x544                                                                          
 sys___mount50(438f800, 42addd0, 42ade10, 1, 6e, 40414f28) at 
netbsd:sys___mount5
 0+0x28                                                                         
 syscall_plain(42aded0, 42addd0, 40745040, ffffffffffffaa81, 40745040, 5) at 
netb
 sd:syscall_plain+0x134                                                         
 
 which is line 1060:
 
 1058            prev_active = module_active;
 1059            module_active = mod;
 1060            error = (*mi->mi_modcmd)(MODULE_CMD_INIT, filedict ? filedict 
: props);
 1061            module_active = prev_active;
 
 and obviously mi->mi_modcmd does not point to a mapped page.
 
 Martin
 


Home | Main Index | Thread Index | Old Index