Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Oct 1999 23:41:29 GMT
From:      "Julian Stacey" <jhs@jhs.muc.de>
To:        freebsd-isdn@freebsd.org
Subject:   options TEL_S0_8 - changing root device to da0a - panic
Message-ID:  <199910262341.XAA16746@jhs.muc.de>

next in thread | raw e-mail | index | archive | help
On hardware that previously ran fine with a 16 bit creatix card +
	FreeBSD 3.2-RELEASE + TEL_S0_16 + isdnd 00.70.0,
I now see panics on boot with
	FreeBSD 3.3-RELEASE + TEL_S0_8 + isdnd 00.70.0
like this
	Considering FFS root f/s.
	changing root device to da0s1a
        changing root device to da0a
        error 6: panic: cannot mount root (2)
        sc0: sc_switch_scr() 1
Whether the 8 bit card is in the box or not makes no difference!
  (the 16 bit card went to a faster box, the old box with 8bit is reserve box)

To isolate fault, I've also removed
	mult-io (sio + flop + ide + lpt)
	mitsumi-cd controller
all that is left in is the unchanged ed0 ether, 1542 aha0 scsi, & svga.

It boots properly if configured with TEL_S0_16 !
	Considering FFS root f/s.
        changing root device to da0s1a
        [ da0s1: type 0xa5, start 0, end = 832526, size 832527 : OK]
(yes, note the absence of 2nd line "changing root device to da0a" ? )

I may have some bad combo of rootdev/curdev in /boot/* & config file
("config kernel root on wd0" or da0 etc), but that's not the real point,
something in config'ing with TEL_S0_8 rather than TEL_S0_16 triggers the
panic on boot !

First I'm going to try & repeat this on another just built machine,
(TEL_S0_8 with & without card in) & see if that panics too,
Maybe later on more modern i4b & also try to boot kernel from gdb (gulp!).

I tweaked my config a lot till I figured what was triggering the panic,
including using some silly configs, but I'm sure it is the TEL_S0_8
that's tickling it. FYI here's my config

----
options INCLUDE_CONFIG_FILE
machine		"i386"
cpu	"I486_CPU"
ident		JHS_Phil
maxusers	32
options		INET
options		FFS
options		FFS_ROOT
options		MFS
options		MFS_ROOT
options		NFS
options		NFS_ROOT
options		MSDOSFS
options		"CD9660"
options		"CD9660_ROOT"
options		PROCFS
options		"COMPAT_43"
options		SCSI_DELAY=15000
options		UCONSOLE
options		FAILSAFE
options		USERCONFIG
options		VISUAL_USERCONFIG
options		KTRACE
options		SYSVSHM
options		SYSVMSG
options		SYSVSEM
options		"TCP_COMPAT_42"
options		IPFIREWALL
options		IPFIREWALL_VERBOSE
config		kernel	root on da0
controller	isa0
controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2
disk		fd0	at fdc0 drive 0
controller	aha0	at isa? port ? cam irq ?
controller	scbus0
device		da0
device		sa0
device		cd0
device		pass0
device		mcd0	at isa? port 0x300 bio irq 10
controller	atkbdc0 at isa? port IO_KBD tty
device		atkbd0	at isa? tty irq 1
device		vga0	at isa? port ? conflicts
device		sc0	at isa? tty
device		npx0	at isa? port IO_NPX irq 13
device		sio0	at isa? port "IO_COM1" flags 0x10 tty irq 4
device		sio1	at isa? port "IO_COM2" tty irq 3
device		ppc0	at isa? port? flags 0x40 net irq 7
controller	ppbus0
device		lpt0	at ppbus?
device		plip0	at ppbus?
device		ppi0	at ppbus?
device ed0 at isa? port 0x280 net irq 12 iomem 0xc8000 iosiz 16384
pseudo-device	loop
pseudo-device	ether
pseudo-device	sl	1
pseudo-device	ppp	1
pseudo-device	vn
pseudo-device	tun	1
pseudo-device	pty	32
pseudo-device	gzip
pseudo-device	bpfilter 4
# Boots OK:
#	options "TEL_S0_16"
# with any one of:
#	device isic0 at isa? port 0xF80 iomem 0xd6000 net irq 12 flags 2
#	device isic0 at isa? port 0xF80 iomem 0xd6000 net irq 12 flags 1
#	device isic0 at isa?            iomem 0xd6000 net irq 12 flags 1
#	device isic0 at isa?            iomem 0xd6000 net irq 5 flags 1
# Panics:
#	options "TEL_S0_8"
# plus:
#	device isic0 at isa?            iomem 0xd6000 net irq 5 flags 1
#	(with or without vector isicintr)(note discrepancy between man
#	isic with vector, & LINT without)
pseudo-device	"i4bq921"
pseudo-device	"i4bq931"
pseudo-device	"i4b"
pseudo-device	"i4btrc" 4
pseudo-device	"i4bctl"
pseudo-device	"i4brbch" 4
pseudo-device	"i4btel" 2
pseudo-device	"i4bipr" 6
options IPR_VJ
pseudo-device	"i4bisppp" 4
pseudo-device	sppp		2
----

Julian H. Stacey   www.jhs.muc.de  www.freebsd.org/~jhs/  bim.bsn.com/~jhs/
   FreeBSD: Free system software with 2500 free packages, Linux compatible.
   Free encryption software from http://www.ifi.uio.no/pgp/


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




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