DragonFly BSD
 

Issue1017

Title Kernel panic on most recent snapshot
Priority bug Status resolved
Superseder mount_cd9660 crashes the kernel
View: 1016
Nosy List mneumann
Assigned To Topics

Created on 2008-05-22.19:39:01 by mneumann, last changed 2008-05-23.19:53:00 by dillon.

Messages
msg4686 (view) Author: dillon Date: 2008-05-23.19:53:00
Same as 1016, fix committed.
msg4685 (view) Author: mneumann Date: 2008-05-23.18:35:01
Matthew Dillon wrote:
 >     Ok, this is definitely the same bug as issue 1016 and I've got it
 >     reproduced and will be committing a fix today.

I think you already found the bug. It is definitively related to CAM,
because for some reason, after I cvs-updated my sources and those CAM
changes came in (for some reasons they came in after I committed the usb
changes), the error started to appeared.

Thanks! This fix allows me to start with the real USB changes.

Regards,

   Michael
msg4683 (view) Author: dillon Date: 2008-05-23.16:50:00
Ok, this is definitely the same bug as issue 1016 and I've got it
    reproduced and will be committing a fix today.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>
msg4681 (view) Author: dillon Date: 2008-05-23.16:01:00
::
::Anyone else getting a kernel panic using the most recent HEAD revision?
::
::When booting from CD:
::
::	Mounting root from cd9660:cd0c
::
::
::	Fatal trap 12: page fault while in kernel mode
::	fault virtual address = 0x8
::	...
::	...
::	...
::	kernel: type 12 trap, code=0
::	Stopped at	dsioctl+0x64	cmpl 0x8(%eax),%edx
::
::
::When booting from HD:
::
::	Mounting root from ufs:/dev/ad0s1a
::	no disk named 'ad0s1a'
::	setrootbyname failed
::	ffs_mountroot: can't find rootvp
::	Root mount failed: 6
::
::	Manual root filesystem specification.

    I am having problems reproducing the actual assembly being reported
    as the failure point.

    Are you using any special options when compiling or overriding the
    compiler? (using GCC-3 instead of GCC-4)?

    I am doing a full world rebuild, install, and then rebuilding the
    kernel with the new world right now to see if that produces different
    code.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>
msg4679 (view) Author: dillon Date: 2008-05-23.00:14:02
:Hi,
:
:Anyone else getting a kernel panic using the most recent HEAD revision?
:
:When booting from CD:
:
:	Mounting root from cd9660:cd0c
:
:
:	Fatal trap 12: page fault while in kernel mode
:	fault virtual address = 0x8
:	...
:	...
:	...
:	kernel: type 12 trap, code=0
:	Stopped at	dsioctl+0x64	cmpl 0x8(%eax),%edx
:
:
:When booting from HD:
:
:	Mounting root from ufs:/dev/ad0s1a
:	no disk named 'ad0s1a'
:	setrootbyname failed
:	ffs_mountroot: can't find rootvp
:	Root mount failed: 6
:
:	Manual root filesystem specification.
:
:
:Could it be related to this patch?
:
:http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ffs_balloc.c.diff?r1=1.18&r2=1.19&f=u
:
:Regards,

    It seems really unlikely that it would be related to that patch.

    Is this on a new machine that never ran DragonFly before?  What's
    the context?

						-Matt
msg4678 (view) Author: voroskoi Date: 2008-05-22.19:47:01
This seems to be #1016.
msg4677 (view) Author: mneumann Date: 2008-05-22.19:39:00
Hi,

Anyone else getting a kernel panic using the most recent HEAD revision?

When booting from CD:

	Mounting root from cd9660:cd0c

	Fatal trap 12: page fault while in kernel mode
	fault virtual address = 0x8
	...
	...
	...
	kernel: type 12 trap, code=0
	Stopped at	dsioctl+0x64	cmpl 0x8(%eax),%edx

When booting from HD:

	Mounting root from ufs:/dev/ad0s1a
	no disk named 'ad0s1a'
	setrootbyname failed
	ffs_mountroot: can't find rootvp
	Root mount failed: 6

	Manual root filesystem specification.

Could it be related to this patch?

http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ffs_balloc.c.diff?r1=1.18&r2=1.19&f=u

Regards,

   Michael
History
Date User Action Args
2008-05-23 19:53:00dillonsetpriority: bug
status: chatting -> resolved
superseder: + mount_cd9660 crashes the kernel
messages: + msg4686
2008-05-23 18:35:01mneumannsetmessages: + msg4685
2008-05-23 16:50:01dillonsetmessages: + msg4683
2008-05-23 16:01:01dillonsetmessages: + msg4681
2008-05-23 00:14:06dillonsetmessages: + msg4679
2008-05-22 19:47:01voroskoisetstatus: unread -> chatting
messages: + msg4678
2008-05-22 19:39:01mneumanncreate