Subject: BIOS and CD-ROM problems
To: None <port-i386@netbsd.org>
From: Michael Santos <msantos2@home.com>
List: port-i386
Date: 12/31/1998 21:55:18
Hi guys,

I'm having some difficulty installing 1.3.3 on an IBM PS/1 with a
P83 overdrive. The only information I have about the BIOS is it's
date -- 03/16/95.

1. Booting NetBSD causes BIOS values to altered. I would guess that
the problem lies with NetBSD attempting to set the system clock.
I'm seeing:

WARNING: NVRAM century is 38 but RTC year is 98
WARNING: CHECK AND RESET THE DATE!

on startup. Rebooting the computer results in the BIOS complaining
about configuration errors and the time and date being improperly
set. Any changes to BIOS values tend to be consistent; for example,
the graphics mode is reset from Super VGA to VGA, and a disabled
serial port is enabled. The BIOS clock, which is set to local time,
however, is not affected, despite the error message.

Otherwise, the system works properly, and the correct date is reported.

2. Attempting to mount my atapi CD-ROM drive fails with the error message:

mount_cd9660: : Input/output error

Mounts fail under both 1.3.3 and 1.3I. I've recompiled my kernel
with 'options SCSIDEBUG', and included both its output and that of
dmesg. Any ideas?

Thanks!
-- 
Michael Santos
msantos2@home.com

Dec 31 11:33:38 chew /netbsd: cd0(wdc0:1): cdopen: dev=0x600 (unit 0 (of 4), partition 0)
Dec 31 11:33:38 chew /netbsd: cd0(wdc0:1): atapi_cmd
Dec 31 11:33:38 chew /netbsd: cd0(wdc0:1): scsipi_get_xs
Dec 31 11:33:38 chew /netbsd: cd0(wdc0:1): making
Dec 31 11:33:38 chew /netbsd: cd0(wdc0:1): returning
Dec 31 11:33:38 chew /netbsd: scsipi_exec_cmd: xs(0xf07b9480): flg(0x1d0)sc_link(0xf06dde80)retr(0x2)timo(0x2710)cmd(0xf07b94d9)len(0xc)data(0x0)len(0x0)res(0x0)err(0x0)bp(0x0)cd0(wdc0:1): command: 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0-[0 bytes]
Dec 31 11:33:38 chew /netbsd: 
Dec 31 11:33:38 chew /netbsd: cd0(wdc0:1): scsipi_done
Dec 31 11:33:39 chew /netbsd: cd0(wdc0:1): command: 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0-[0 bytes]
Dec 31 11:33:39 chew /netbsd: cd0(wdc0:1): back in cmd()
Dec 31 11:33:39 chew /netbsd: cd0(wdc0:1): sc_err1,err = 0x1 Dec 31 11:33:39 chew /netbsd: scsipi_exec_cmd: xs(0xf07b9480): flg(0x1d0)sc_link(0xf06dde80)retr(0x1)timo(0x2710)cmd(0xf07b94d9)len(0xc)data(0x0)len(0x0)res(0x0)err(0x0)bp(0x0)cd0(wdc0:1): command: 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0-[0 bytes]
Dec 31 11:33:39 chew /netbsd: 
Dec 31 11:33:39 chew /netbsd: cd0(wdc0:1): scsipi_done
Dec 31 11:33:39 chew /netbsd: cd0(wdc0:1): command: 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0-[0 bytes]
Dec 31 11:33:39 chew /netbsd: cd0(wdc0:1): back in cmd()
Dec 31 11:33:39 chew /netbsd: cd0(wdc0:1): sc_err1,err = 0x0 
Dec 31 11:33:39 chew /netbsd: cd0(wdc0:1): scsipi_free_xs
Dec 31 11:33:39 chew /netbsd: cd0(wdc0:1): calling private start()
Dec 31 11:33:39 chew /netbsd: cd0(wdc0:1): cdstart cd0(wdc0:1): cdopen: scsipi_test_unit_ready, error=0
Dec 31 11:33:39 chew /netbsd: cd0(wdc0:1): atapi_cmd
Dec 31 11:33:39 chew /netbsd: cd0(wdc0:1): scsipi_get_xs
Dec 31 11:33:39 chew /netbsd: cd0(wdc0:1): returning
Dec 31 11:33:39 chew /netbsd: scsipi_exec_cmd: xs(0xf07b9480): flg(0x1b0)sc_link(0xf06dde80)retr(0x2)timo(0x7530)cmd(0xf07b94d9)len(0xc)data(0x0)len(0x0)res(0x0)err(0x0)bp(0x0)cd0(wdc0:1): command: 0x1b,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x0,0x0,0x0,0x0-[0 bytes]
Dec 31 11:33:40 chew /netbsd: 
Dec 31 11:33:40 chew /netbsd: cd0(wdc0:1): scsipi_done
Dec 31 11:33:40 chew /netbsd: cd0(wdc0:1): command: 0x1b,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x0,0x0,0x0,0x0-[0 bytes]
Dec 31 11:33:40 chew /netbsd: cd0(wdc0:1): back in cmd()
Dec 31 11:33:40 chew /netbsd: cd0(wdc0:1): sc_err1,err = 0x1 
Dec 31 11:33:40 chew /netbsd: cd0(wdc0:1): scsipi_interpret_sense returned 5
Dec 31 11:33:40 chew /netbsd: cd0(wdc0:1): scsipi_free_xs
Dec 31 11:33:40 chew /netbsd: cd0(wdc0:1): calling private start()
dec 31 11:33:40 chew /netbsd: cd0(wdc0:1): cdstart cd0(wdc0:1): cdopen: scsipi_start, error=5


And, the output of dmesg:

NetBSD 1.3.3 (chew) #8: Fri Dec 25 00:18:24 EST 1998
    mike@chew:/usr/src/sys/arch/i386/compile/chew
cpu0: family 5 model 3 step 2
cpu0: Intel OverDrive Pentium (P24T) (586-class)
real mem  = 33087488
avail mem = 31424512
using 429 buffers containing 1757184 bytes of memory
mainbus0 (root)
isa0 at mainbus0
ne0 at isa0 port 0x280-0x29f irq 9
ne0: NE2000 Ethernet
ne0: Ethernet address 00:60:67:24:4e:d7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com2 at isa0 port 0x3e8-0x3ef irq 5: ns16550a, working fifo
lpt0 at isa0 port 0x3bc-0x3bf: polled
lpt1 at isa0 port 0x378-0x37b: polled
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
atapibus0 at wdc0
cd0 at atapibus0 drive 1: <BCD-16X 1997-04-25, , VER 2.2> type 5 cdrom removable
wd0 at wdc0 drive 0: <WDC AC32500H>
wd0: using 16-sector 16-bit pio transfers, lba mode
wd0: 2441MB, 4999680 sec, 512 bytes/sec
sb0 at isa0 port 0x220-0x237 irq 7 drq 1: dsp v3.01
audio0 at sb0
npx0 at isa0 port 0xf0-0xff: using exception 16
pc0 at isa0 port 0x60-0x6f irq 1: color
pms0 at pc0 irq 12
pc0: console
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
fd1 at fdc0 drive 1: 1.2MB, 80 cyl, 2 head, 15 sec
biomask 4040 netmask 4240 ttymask 5242
boot device: <unknown>
root on wd0a dumps on wd0b
WARNING: Disk appears to be old-NetBSD or FreeBSD.  See installboot(8).
WARNING: NVRAM century is 38 but RTC year is 98
WARNING: CHECK AND RESET THE DATE!