Port-bebox archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Successful install of a current NetBSD/bebox system



Hi,

just a status report. It works! So I have requested pull-up for my
mkbootimage fixes. NetBSD-6 should work as well.

After replacing bad disks and a broken floppy disk drive I managed to boot
the installation kernel. The system (66MHz, 80MB) is now booting and running
multiuser from a SCSI disk (still needs the boot-floppy, though).

As everybody loves boot-logs, here it is:

---8<---
>> NetBSD/bebox BOOT, Revision 1.10 (Sun Jun  1 15:58:46 CEST 2014)
>> Memory: 81920 k

/dev/disk/scsi/000: <DCAS-34330      >

Boot: Loading /dev/disk/scsi/000/0_0:/netbsd
illegal request, data = 0 0 0 0 24 0 0 cb 0 1 0 0 0 0 0 0 ff ff ff ff 0 0 0 0
4004092+134004 [218656+210554]=0x45b558
start=0x100000

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 6.99.40 (GENERIC) #0: Thu May 29 22:33:16 CEST 2014
        
frank%compaq.owl.de@localhost:/home/frank/netbsd/current/src/objbebox/sys/arch/bebox/compile/GENERIC
total memory = 81920 KB
avail memory = 73876 KB
mainbus0 (root)
cpu0 at mainbus0: 603 (Revision 3.2), ID 0 (primary)
cpu0: HID0 0x90c000<DOZE,DPM,ICE,DCE>, powersave: 1
cpu1 at mainbus0: ID 1
cpu1: processor off-line; multiprocessor support not present in kernel
pci0 at mainbus0 bus 0: indirect configuration space access
pchb0 at pci0 dev 0 function 0
pchb0: Motorola MPC105 "Eagle" Host Bridge (rev. 0x24)
pchb0: L2 cache: 256K, multiprocessor mode
pcib0 at pci0 dev 11 function 0: Intel 82378ZB System I/O (rev. 0x43)
siop0 at pci0 dev 12 function 0: Symbios Logic 53c810 (fast scsi)
siop0: interrupting at irq 26
scsibus0 at siop0: 8 targets, 8 luns per target
vga0 at pci0 dev 13 function 0: S3 Trio32/64 (rev. 0x00)
wsdisplay1 at vga0 kbdmux 1
drm at vga0 not configured
ne1 at pci0 dev 15 function 0: Realtek 8029 Ethernet
ne1: Ethernet address 00:00:b4:xx:xx:xx
ne1: 10base2, 10baseT, 10baseT-FDX, auto, default [0x00 0x30] auto
ne1: interrupting at irq 29
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
ne0 at isa0 port 0x300-0x31f irq 5
ne0: NE2000 Ethernet
ne0: Ethernet address 00:10:88:xx:xx:xx
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
com2 at isa0 port 0x380-0x387 irq 22: ns16550a, working fifo
com3 at isa0 port 0x388-0x38f irq 23: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 mux 1
attimer0 at isa0 port 0x40-0x43
joy0 at isa0 port 0x201
joy0: joystick not connected
wss0 at isa0 port 0x82c-0x833 irq 30 drq 6,7: CS4231A
audio0 at wss0: full duplex, playback, capture, mmap
mcclock0 at isa0 port 0x70-0x71: mc146818 compatible time-of-day clock
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
vmmask 3c280000 schedmask 3c380000 highmask 7ff80000
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <IBM, DCAS-34330, S65A> disk fixed
sd0: 4134 MB, 8205 cyl, 6 head, 171 sec, 512 bytes/sect x 8467200 sectors
sd0: sync (100.00ns offset 8), 8-bit (10.000MB/s) transfers, tagged queueing
fd0 at fdc0 drive 1: 1.44MB, 80 cyl, 2 head, 18 sec
cd0 at scsibus0 target 3 lun 0: <TEAC, CD-ROM CD-516S, 1.0G> cdrom removable
cd0: sync (100.00ns offset 8), 8-bit (10.000MB/s) transfers
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs
Sun Jun  1 16:34:05 CEST 2014
Starting root file system check:
/dev/rsd0a: file system is clean; not checking
swapctl: setting dump device to /dev/sd0b
swapctl: adding /dev/sd0b as swap device at priority 0
Starting file system checks:
Loaded entropy from /var/db/entropy-file.
Setting tty flags.
Setting sysctl variables:
ddb.onpanic: 1 -> 0
Starting network.
Hostname: bebox.owl.de
IPv6 mode: host
Configuring network interfaces: ne1.
Adding interface aliases:.
add net default: gateway 192.168.0.254
Waiting for DAD completion for statically configured addresses...
Building databases: dev, utmp, utmpx.
Starting syslogd.
Mounting all filesystems...
Clearing temporary files.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
swapctl: setting dump device to /dev/sd0b
Starting virecover.
Checking for core dump...
savecore: no core dump
Starting local daemons:.
Updating motd.
Starting inetd.
Starting cron.
Sun Jun  1 16:36:16 CEST 2014
---8<---


Things that don't work yet:

1. Reboot. All blinken lights (left and right) are activated. Then the
   system hangs, until I manually press the reset buttons.

2. illegal request, data = 0 0 0 0 24 0 0 cb 0 1 0 0 0 0 0 0 ff ff ff ff...
   when booting from SCSI is suspicious. Although the boot loader continues
   to load the kernel.

3. Similar problem when booting from disk. There is always one read error,
   and it's always the same. No matter which disk or kernel:
       func: F_READ
        st0 = 0x44
        st1 = 0x4
        st2 = 0x10
          c = 0x3
          h = 0x1
          r = 0x3
          n = 0x2
   The kernel loads nevertheless.

4. Audio, wss(4), doesn't work. There is no crash or other malfunction,
   but the internal speaker and the external audio connectors remain
   silent.

5. Floppy disk driver fdc(4) doesn't work. It reads something from disk,
   but it has nothing to do with the disk's contents.

6. mcclock(4) doesn't work correctly. The time after a cold-start is
   wrong (e.g. "WARNING: preposterous TOD clock time"). Maybe I need a
   new battery, but IIRC it worked under BeOS.

7. X11/Xorg doesn't work yet. Cannot map I/O space. But the correct driver
   (S3) is recognized:
   [   888.123] (WW) xf86EnableIO -1
   [   888.126] (II) xf86EnableIO: ffffffff
   [   888.128] (WW) Can't map IO space!   
   [   888.143] (--) PCI:*(0:0:13:0) 5333:8811:0000:0000 rev 0, Mem @ 
0x00000000/8
   [   888.170] (==) Using default built-in configuration (12 lines)
   [   888.214] (==) --- Start of built-in configuration ---
   [   888.216]    Section "Device"
   [   888.218]            Identifier      "Builtin Default s3 Device 0"
   [   888.220]            Driver  "s3"
   [   888.222]    EndSection

8. IDE disks hang the system. The boot loader seems to support IDE disks,
   but the kernel doesn't. As soon as the atabus0 process is running the
   kernel hangs in infinite interrupts. The stack backtrace shows these
   four repeating forever:
   pic_do_pending_int+0x1ac
   splx+0x50
   pic_handle_intr+0x220
   trapstart+0x690

9. Multiprocessor support. I compiled the GENERIC.MP kernel, but the
   boot loader doesn't want to load it. A renamed GENERIC kernel works,
   which is strange.
   Boot: /dev/disk/scsi/000/0_0:netbsdmp   
   Loading /dev/disk/scsi/000/0_0:netbsdmp
   illegal request, data = 0 0 0 0 24 0 0 cb 0 1 0 0 0 0 0 0 ff ff ff ff 0 0 0 0
   PHASE MSGIN: siop_clearfifo...
   invalid status code 128
   generic HBA error
   siop_intr: I shouldn't be there !


Something which would be very nice for the future: Support for APM (Apple
Partition Map) partitioned disks. So we could add a minimal Be_FS
partition with the boot loader, and there is no more need for the boot
disk. It might also be possible to co-exist with BeOS on one disk.

Regards,

-- 
Frank Wille


Home | Main Index | Thread Index | Old Index