Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 May 2001 11:16:55 +0900
From:      Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
To:        current@freebsd.org
Subject:   Mounting CD9660 filesystem as root filesystem is broken
Message-ID:  <20010519111655N.matusita@jp.FreeBSD.org>

next in thread | raw e-mail | index | archive | help

I've send a email before about this[1], but a situation is not changed
until now. My friends does confirm the situation recently[2], so I
send a email again...

***

It seems that recent (as of May/2001) 5-current kernel cannot mount
CD9660 filesystem (usually CD-ROM) as a root filesystem. The kernel
behavior is a little bit different both ATAPI CD-ROM and SCSI CD-ROM.

- ATAPI CD-ROM (using 440BX/i815 motherboard, on-board IDE)

As said before[1], kernel try to mount but failed.

	Mounting root from cd9660:cd0a
	setrootbyname failed
	iso_mountroot: can't find rootvp
	Root mount failed: 6
	Mounting root from cd9660:acd0a
	setrootbyname failed
	iso_mountroot: can't find rootvp
	Root mount failed: 6
	Mounting root from cd9660:wcd0a
	setrootbyname failed
	iso_mountroot: can't find rootvp
	Root mount failed: 6

No matter the kernel can mount root filesystem or not, it seems that
src/sys/vfs_conf.c needs modification, no 'wcd' anymore:)

- SCSI CD-ROM (using AHA-2940UW as SCSI HA)

Unfortunately, kernel panics when it try to mount CD-ROM.

	Mounting root from cd9660:cd0a
	Fatal trap 12: page fault while in kernel mode
	fault virtual address   = 0x28
	fault code              = supervisor read, page not present
	instruction pointer     = 0x8:0xc025f4e7
	stack pointer           = 0x10:0xc05cedb4
	frame pointer           = 0x10:0xc05cedd8
	code segment            = base 0x0, limit 0xfffff, type 0x1b
	                        = DPL 0, pres 1, def32 1, gran 1
	processor eflags        = interrupt enables, resume, IOPL=0
	current process         = 0 (swapper)
	kernel: type 12 trap, code = 0
	Stopped at dsioctl+0x3f:  movl  0xc(%eax),%eax

As a result, mounting CD9660 filesystem (formaly CD9660_ROOT) is
broken in recent 5-current.

Any clues?

P.S.: A procedure to make a CD-ROM itself is shown in my previous email[1].

-- -
Makoto `MAR' MATSUSHITA

Appendix: 
[1] http://docs.freebsd.org/cgi/getmsg.cgi?fetch=17671+0+archive/2001/freebsd-current/20010422.freebsd-current

[2] Thanks to kuriyama-san (ATAPI CD-ROM case) and motoyuki-san (SCSI
CD-ROM case).

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010519111655N.matusita>