免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 2537 | 回复: 11
打印 上一主题 下一主题

内核挂了,日志过程,请兄弟们分析一下,谢谢…… [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-07-20 10:55 |只看该作者 |倒序浏览
Jul 19 09:59:14 host kernel: Assertion failure in journal_commit_transaction() at commit.c:535: "buffer_jdirty(bh)"
Jul 19 09:59:14 host kernel: ------------[ cut here ]------------
Jul 19 09:59:14 host kernel: kernel BUG at commit.c:535!
Jul 19 09:59:14 host kernel: invalid operand: 0000
Jul 19 09:59:14 host kernel: eepro100 usb-uhci usbcore ext3 jbd sym53c8xx sd_mod scsi_mod
Jul 19 09:59:14 host kernel: CPU:    3
Jul 19 09:59:14 host kernel: EIP:    0010:[<f88480e4>;]    Not tainted
Jul 19 09:59:14 host kernel: EFLAGS: 00010286
Jul 19 09:59:14 host kernel:
Jul 19 09:59:14 host kernel: EIP is at journal_commit_transaction [jbd] 0xb04 (2.4.18-3smp)
Jul 19 09:59:14 host kernel: eax: 0000001c   ebx: 0000000a   ecx: c02eee60   edx: 00024b3b
Jul 19 09:59:14 host kernel: esi: f6b6ceb0   edi: f7844ba0   ebp: f782e000   esp: f782fe78
Jul 19 09:59:14 host kernel: ds: 0018   es: 0018   ss: 0018
Jul 19 09:59:14 host kernel: Process kjournald (pid: 18, stackpage=f782f000)
Jul 19 09:59:14 host kernel: Stack: f884eeee 00000217 f7341cc0 00000000 00000fdc c370a024 00000000 dda860c0
Jul 19 09:59:14 host kernel:        efaff430 00000f6a cd787da0 00000001 00000028 f7a24164 c2e89de0 c2e896c0
Jul 19 09:59:14 host kernel:        c4f7c980 da108120 d9505300 ed9d2920 c9afcb00 d37ad5a0 d37ada20 e367ec60
Jul 19 09:59:14 host kernel: Call Trace: [<f884eeee>;] .rodata.str1.1 [jbd] 0x26e
Jul 19 09:59:14 host kernel: [<c0124eb5>;] update_process_times [kernel] 0x25
Jul 19 09:59:14 host kernel: [<c0116049>;] smp_apic_timer_interrupt [kernel] 0xa9
Jul 19 09:59:14 host kernel: [<c010a77f>;] do_IRQ [kernel] 0xdf
Jul 19 09:59:14 host kernel: [<c0119048>;] schedule [kernel] 0x348
Jul 19 09:59:14 host kernel: [<f884a7d6>;] kjournald [jbd] 0x136
Jul 19 09:59:14 host kernel: [<f884a680>;] commit_timeout [jbd] 0x0
Jul 19 09:59:14 host kernel: [<c0107286>;] kernel_thread [kernel] 0x26
Jul 19 09:59:14 host kernel: [<f884a6a0>;] kjournald [jbd] 0x0
Jul 19 09:59:14 host kernel:
Jul 19 09:59:14 host kernel:
Jul 19 09:59:15 host kernel: Code: 0f 0b 5a 59 6a 04 8b 44 24 18 50 56 e8 4b f1 ff ff 8d 47 48


是什么原因 ??? 谢谢了…… 之后手动reboot后,就出现了:

Jul 19 20:24:38 host kernel: kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2

论坛徽章:
0
2 [报告]
发表于 2003-07-20 11:30 |只看该作者

内核挂了,日志过程,请兄弟们分析一下,谢谢……

顶一下,请兄弟们指教一下,谢谢了……

论坛徽章:
0
3 [报告]
发表于 2003-07-20 12:30 |只看该作者

内核挂了,日志过程,请兄弟们分析一下,谢谢……

有关对
kernel: kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
的分析:

Whenever the linux kernel detects that an operation it attempts requires
a driver not compiled in, and not loaded yet, it calls out to a userspace
program in order to load the driver. The program used for this purpose is
configurable on the fly from userspace, and defaults to /sbin/modprobe.
The currently used program can be obtained by doing a
$ cat /proc/sys/kernel/modprobe
(Note: all this requires a kernel configured to use modules, and the
kernel module loader, of course. All distributions known to me ship
kernels configured this way)

The reason for using a userspace program is that this program might have
much more information available about the module requested than the
kernel itself. modprobe, for example, uses a dependency database to obtain
information about requirements of the kernel module itself. For example,
if the kernel tries to load the usb driver (usb-uhci.o, or another),
modprobe knows that it will need usbcore.o as well, and loads both.
In addition, modprobe can honor a configuration file (/etc/modules.conf
by default), in which additional information, as module parameters, can
be stored. When using multiple network cards inside one machine, this can
be used to map ethernet devices (eth0, eth1..) onto specific network
cards.

When the kernel boots, it tries to get it's hardware subsystems up and
running. One of these subsystems is the SCSI system. So the kernel tries
to call modprobe to load "scsi_hostadapter". This is not a real module
name, it's an alias, which has to be mapped by modprobe to a real kernel
module name. The problem is, at this early stage, the kernel is very much
on it's own. There is no root file system, because the hard disks can not
be accessed yet (there is no SCSI driver), and the initial ramdisk (a tiny,
comressed filesystem containing some small programs and drivers to make
the kernel mount it's real root filesystem) is not mounted yet, either.
So, there simply is no /sbin/modprobe for the kernel to execute, and the
attempt fails with error number 2, which means: ENOENT (No such file or
directory).

You may ask: if this call fails, then, how does the kernel detect it's
SCSI disks, anyway (it has to, since it mounts it's real root file system
of them a little while later)? The initial ramdisk contains this driver,
and explicitly loads it using /sbin/insmod (which is contained in the
ramdisk as well).

There is not much magic in the linux boot process, really, but it is still
fascinating to see how it all comes together in the end.

论坛徽章:
0
4 [报告]
发表于 2003-07-20 13:14 |只看该作者

内核挂了,日志过程,请兄弟们分析一下,谢谢……

那位老兄能大家的翻译一下啊,我的理解可能不是很对。

上面的意思是说,问题不大,也就是没有问题…… 不管是有SCSI或是无SCSI的,都有可能出现这样的情况,但是不会影响使用???

论坛徽章:
0
5 [报告]
发表于 2003-07-20 15:20 |只看该作者

内核挂了,日志过程,请兄弟们分析一下,谢谢……

请各位兄弟们关注一下,情况特别…………………………

论坛徽章:
0
6 [报告]
发表于 2003-07-20 16:57 |只看该作者

内核挂了,日志过程,请兄弟们分析一下,谢谢……

顶一下,请各位兄弟们关注一下,谢谢…………………………

论坛徽章:
0
7 [报告]
发表于 2003-07-20 18:00 |只看该作者

内核挂了,日志过程,请兄弟们分析一下,谢谢……

顶一下,请各位兄弟们关注一下,谢谢…………………………

论坛徽章:
0
8 [报告]
发表于 2003-07-20 19:35 |只看该作者

内核挂了,日志过程,请兄弟们分析一下,谢谢……

顶一下,请各位兄弟们关注一下,谢谢…………………………

论坛徽章:
0
9 [报告]
发表于 2003-07-20 21:40 |只看该作者

内核挂了,日志过程,请兄弟们分析一下,谢谢……

顶一下,请各位兄弟们关注一下,谢谢…………………………

论坛徽章:
0
10 [报告]
发表于 2003-07-20 21:45 |只看该作者

内核挂了,日志过程,请兄弟们分析一下,谢谢……

值得大家关注,呵呵
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP