Opened 17 years ago
Last modified 8 years ago
#1670 closed bug
ide adapter crash — at Version 1
Reported by: | marcusoverhagen | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | System/Kernel | Version: | R1/pre-alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description (last modified by )
Code from hrev23143 will, when enabled, crash in vmware:
PCI-IDE: Controller in legacy mode: cmd 0x1f0, ctrl 0x3f6, irq 14 PCI-IDE: bus master base 0x1050 PCI-IDE: init channel... vm_soft_fault: kernel thread accessing invalid user memory! vm_page_fault: vm_soft_fault returned error 'Bad address' on fault at 0x0, ip 0x0, write 0, user 0, thread 0x7 PANIC: vm_page_fault: unhandled page fault in kernel space at 0x0, ip 0x0 Welcome to Kernel Debugging Land... Running on CPU 0 kdebug> sc stack trace for thread 0x7 "main2" kernel stack: 0x80144000 to 0x80148000 frame caller <image>:function + offset 80146d24 (+ 52) 8007b33c <kernel>:invoke_command + 0x0074 80146d58 (+ 48) 8007b45a <kernel>:kernel_debugger_loop + 0x00de 80146d88 (+ 32) 8007bf2e <kernel>:kernel_debugger + 0x00b6 80146da8 (+ 192) 8007be6d <kernel>:panic + 0x0029 80146e68 (+ 64) 800560e2 <kernel>:vm_page_fault + 0x00aa 80146ea8 (+ 176) 80084a87 <kernel>:i386_handle_trap + 0x0217 iframe at 0x80146f60 (end = 0x80146fb4) eax 0x0 ebx 0x80310604 ecx 0x9080b780 edx 0x9080bb80 esi 0x800aa280 edi 0x90819920 ebp 0x80146fe8 esp 0x80146f90 eip 0x0 eflags 0x210246 vector: 0xe, error code: 0x0 80146f58 (+ 144) 00000000 80146fe8 (+ 64) 80274583 <ide_adapter>:ide_adapter_init_controller + 0x00a7 80147028 (+ 48) 802678d1 <generic_ide_pci>:init_controller + 0x002d 80147058 (+ 64) 80063334 <kernel>:load_driver_int + 0x0090 80147098 (+ 48) 8006348a <kernel>:pnp_load_driver + 0x00ea 801470c8 (+ 80) 80273f11 <ide_adapter>:ide_adapter_init_channel + 0x00dd 80147118 (+ 64) 8026783d <generic_ide_pci>:init_channel + 0x0035 80147158 (+ 64) 80063334 <kernel>:load_driver_int + 0x0090 80147198 (+ 48) 8006348a <kernel>:pnp_load_driver + 0x00ea 801471c8 (+ 80) 8026dc6e <ide>:ide_sim_init_bus + 0x02b6 80147218 (+ 64) 80063334 <kernel>:load_driver_int + 0x0090 80147258 (+ 48) 8006348a <kernel>:pnp_load_driver + 0x00ea 80147288 (+ 80) 80349057 <scsi>:scsi_init_bus + 0x023b 801472d8 (+ 64) 80063334 <kernel>:load_driver_int + 0x0090 80147318 (+ 48) 8006348a <kernel>:pnp_load_driver + 0x00ea 80147348 (+ 48) 80067562 <kernel>:scan_bus + 0x001e 80147378 (+ 64) 800676fb <kernel>:scan + 0x0073 801473b8 (+ 32) 80067844 <kernel>:dm_register_child_devices + 0x0014 801473d8 (+ 64) 800672fd <kernel>:dm_register_node + 0x00f9 80147418 (+ 208) 80274282 <ide_adapter>:ide_adapter_publish_channel + 0x0132 801474e8 (+ 144) 802744ad <ide_adapter>:ide_adapter_detect_channel + 0x021d 80147578 (+ 144) 80274abf <ide_adapter>:ide_adapter_probe_controller + 0x01cb 80147608 (+ 80) 8026798b <generic_ide_pci>:probe_controller + 0x0053 80147658 (+ 64) 80066554 <kernel>:register_supporting_child_devices__FP16device_node_infoP4list + 0x00dc 80147698 (+ 240) 80066dba <kernel>:probe_for_driver_modules__FPCc + 0x00ae 80147788 (+ 112) 800670f6 <kernel>:probe_for_device_type + 0x003a 801477f8 (+ 80) 8003951c <kernel>:scan_for_drivers__FP11devfs_vnode + 0x0064 80147848 (+ 64) 8003a551 <kernel>:devfs_lookup__FPvT0PCcPxPi + 0x005d 80147888 (+ 112) 80041f81 <kernel>:vnode_path_to_vnode__FP5vnodePcbiPP5vnodePxPi + 0x0159 801478f8 (+ 64) 800422c6 <kernel>:path_to_vnode__FPcbPP5vnodePxT1 + 0x00de 80147938 (+ 64) 80042a1d <kernel>:fd_and_path_to_vnode__FiPcbPP5vnodePxT2 + 0x0061 80147978 (+ 64) 80046b25 <kernel>:common_path_read_stat__FiPcbP4statT2 + 0x0031 801479b8 (+ 144) 8004983c <kernel>:_kern_read_stat + 0x00a0 80147a48 (+ 64) 8008f433 <kernel>:_lstat + 0x001f 80147a88 (+ 32) 8008f3d4 <kernel>:lstat + 0x0018 80147aa8 (+ 160) 8006ef39 <kernel>:_Scan__Q38BPrivate10DiskDevice18KDiskDeviceManagerPCc + 0x0031 80147b48 (+ 80) 8006e8c7 <kernel>:InitialDeviceScan__Q38BPrivate10DiskDevice18KDiskDeviceManager + 0x003f 80147b98 (+ 128) 8004c435 <kernel>:get_boot_partitions__FP11kernel_argsRt5Stack1ZPQ38BPrivate10DiskDevice10KPartition + 0x02f5 80147c18 (+ 816) 8004c6dd <kernel>:vfs_mount_boot_file_system + 0x0031 80147f48 (+ 144) 800259f9 <kernel>:main2 + 0x00d1 80147fd8 (+ 32) 80034443 <kernel>:_create_kernel_thread_kentry__Fv + 0x001b 80147ff8 (+2146140168) 800343d8 <kernel>:thread_kthread_exit__Fv + 0x0000 kdebug>
Note:
See TracTickets
for help on using tickets.