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

[altq 1584] Re: Plz help



Thanks a lot for your reply .

But i am unable to make out from the debugger what exactly is going on.

i can see these things

db> c
Fatal trap 12: page fault in kernel mode
Fault virtual code : 0x3c
Fault code:          supervisor read ,page not present
instruction pointer: 0x8:0xc113722a
Stack pointer :      0x10:0xc8ed3cd0
frame pointer:       0x10:0xc8ed3cf0
code segment:        base 0x0 ,limit 0xfffff,type0x1b
                     DPL 0,pres 1 def32 1 gran1
processor flags:     interupt enabled,resume,IOPL =0

......
.....

Stopped at rmc_init+0x22: movl ox3c(%eax),%edx



db>x
rmc_init+0x22 893c508b

db> trace
rmc_init(c03afad8,c114580c,1a,c1136a0c,1e) at rmc_init+0x22
cbq_class_create(c145800,c8ed3ea8,0,0,c03c5107) at cbq_class_create+0xdd
cbq_add_class(c8ed3ea8,c03c5017,c0357......)
cbqioctl (......
altqioctl(......)
spec_ioctl(......)
spec_vnoperate(....)
ufs_vnoperatespec(....)
vn_ioctl(...)
ioctl(....)
syscall2(.....)
Xinit0x80_syscall()


This is what i have got by debugging (whatever small knowledge i have of
kernel debugging)

Can any body figure out the problem with CBQ by looking at the above info.

If more info is needed i wil provide that .

Any help is appreciated.

-Akash

On Thu, 18 Jul 2002, Nicolas Christin wrote:

> > When i try to run sample configuration  file for cbq.lo0 (test run given in
> > INSTALL) my system reboots giving error
> >
> > Fatal Trap 12  : page fault in kernel mode
> > Why such weird behavior with CBQ??
>
> 	That error is basically a segfault, but without any further info,
> it's impossible to know what caused it. Most likely, the CBQ module didn't
> compile properly or you failed to create the CBQ device. (HFSC appears to
> be working so...) You should get a dump of your kernel (run the kernel in
> debug mode, and see the FreeBSD handbook for how to get a crash dump),
> that could help you see where the problem is coming from.
>
> 	Cheers,
> 	--Nick
>