Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jun 1997 03:48:32 -0700
From:      "David E. Tweten" <tweten@ns.frihet.com>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        freebsd-mobile@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG
Subject:   Re: NEC 6030X, FreeBSD 2.2.2, and the CDROM 
Message-ID:  <199706221048.DAA09907@ns.frihet.com>

next in thread | raw e-mail | index | archive | help
Initially quoting me, Bruce Evans said:
>>... changing the contents of /etc/fstab (from wd1 based contents provided
>>by the CD install to wd0 based contents) prevents the panic.

>The kernel shouldn't be paniced by anything in fstab.  It isn't even
>used until after the root file system has been used to start init. 

While you didn't give me the actual answer to the problem, thank you for 
forcing me to investigate a different line to answer your comments.  The 
essence of the actual problem can be seen by comparing the device probes with 
CD

	wdc0 at 0x1f0-0x1f7 irq 14 on isa
	wdc0: unit 1 (wd1): <IBM-DMCA-21440>
	wd1: 1378MB (2822400 sectors), 2800 cyls, 16 heads, 63 S/T, 512 B/S
	wdc0: unit 0 (atapi): <TOSHIBA CD-ROM XM-1402B/15967, removable, intr, iordis
	wcd0: 1033Kb/sec, 128Kb cache, audio play, 255 volume levels, ejectable tray

to the device probes without the CD

	wdc0 at 0x1f0-0x1f7 irq 14 on isa
	wdc0: unit 0 (wd0): <IBM-DMCA-21440>
	wd0: 1378MB (2822400 sectors), 2800 cyls, 16 heads, 63 S/T, 512 B/S

I was trying to solve my problem the hard way.  I was accepting the disk 
device name change and looking for a way to cope with it.  One of the many 
times I inserted and removed the CD drive this evening, I noticed a tiny slide 
switch on the back, labeled with an "S" on one side and with an unreadable 
smudge on the other.  It was set to smudge.  After switching it to "S," the 
device probe turned into

	wdc0 at 0x1f0-0x1f7 irq 14 on isa
	wdc0: unit 0 (wd0): <IBM-DMCA-21440>
	wd0: 1378MB (2822400 sectors), 2800 cyls, 16 heads, 63 S/T, 512 B/S
	wdc0: unit 1 (atapi): <TOSHIBA CD-ROM XM-1402B/15967, removable, intr, iordis
	wcd0: 1033Kb/sec, 128Kb cache, audio play, 255 volume levels, ejectable tray

Problem solved.  Thank you for inspiring me.  Sometimes all one needs is to 
talk (or type) about it.
-- 
David E. Tweten            |  2047-bit PGP fingerprint:   |   tweten@frihet.com
12141 Atrium Drive         |   E9 59 E7 5C 6B 88 B8 90    |      tweten@and.com
Saratoga, CA  95070-3162   |   65 30 2A A4 A0 BC 49 AE    |      (408) 446-4131
Those who make good products sell products; those who don't, sell solutions.





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