Re: Trouble getting X running

Matthieu Herrb <[email protected]> Mon, 10 Oct 2005 21:33:25 +0200
Newsgroups gmane.os.openbsd.alpha
Organization CNRS-LAAS
Message-ID <[email protected]>
nikns wrote:
> I have the same issue.
> There is my dmesg.
> 
> OpenBSD 3.7-stable (GENERIC.raid) #0: Tue Sep  6 20:39:11 EEST 2005
>     [email protected]:/usr/src/sys/arch/alpha/compile/GENERIC.raid
> AlphaStation 200 4/166, 166MHz
> 8192 byte page size, 1 processor.
> total memory = 100663296 (98304K)
> (2048000 reserved for PROM, 98615296 used by OpenBSD)
> avail memory = 79216640 (77360K)
> using 1203 buffers containing 9854976 bytes (9624K) of memory
> mainbus0 (root)
> cpu0 at mainbus0: ID 0 (primary), 21064-0 (pass 2 or 2.1)
> apecs0 at mainbus0: DECchip 21071 Core Logic chipset
> apecs0: DC21071-CA pass 2, 64-bit memory bus
> apecs0: DC21071-DA pass 2
> pci0 at apecs0 bus 0
> siop0 at pci0 dev 6 function 0 "Symbios Logic 53c810" rev 0x02: isa irq 11
> scsibus0 at siop0: 8 targets
> sd0 at scsibus0 targ 0 lun 0: <DEC, RZ29B (C) DEC, 0007> SCSI2 0/direct fixed
> sd0: 4091MB, 3708 cyl, 20 head, 113 sec, 512 bytes/sec, 8380080 sec total
> sd1 at scsibus0 targ 3 lun 0: <FUJITSU, M2934S-512, 0138> SCSI2 0/direct fixed
> sd1: 4153MB, 3421 cyl, 18 head, 138 sec, 512 bytes/sec, 8506782 sec total
> cd0 at scsibus0 targ 4 lun 0: <DEC, RRD43 (C) DEC, 1084> SCSI2 5/cdrom removable
> sio0 at pci0 dev 7 function 0 "Intel 82378IB ISA" rev 0x03
> de0 at pci0 dev 11 function 0 "DEC 21040" rev 0x23: isa irq 5
> de0: DEC 21040 [10Mb/s] pass 2.3 address 08:00:2b:e4:b2:34
> de1 at pci0 dev 12 function 0 "DEC 21140" rev 0x22: isa irq 9
> de1: DEC DE500-AA 21140A [10-100Mb/s] pass 2.2 address 00:00:f8:09:8c:16
> tga0 at pci0 dev 13 function 0 "DEC 21030" rev 0x02: DC21030 step B, board type T8-02
> tga0: 1280 x 1024, 8bpp, Bt485 RAMDAC
> tga0: interrupting at isa irq 10
> wsdisplay0 at tga0: console (std, vt100 emulation)
> isa0 at sio0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard, using wsdisplay0
> pmsi0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pmsi0 mux 0
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> spkr0 at pcppi0
> isabeep0 at pcppi0
> lpt0 at isa0 port 0x3bc/4 irq 7
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
> mcclock0 at isa0 port 0x70/2: mc146818 or compatible
> root on sd0a swap on sd0b
> siop0: target 0 now using tagged 8 bit 10.0 MHz 8 REQ/ACK offset xfers
> Kernelized RAIDframe activated
> siop0: target 3 now using tagged 8 bit 10.0 MHz 8 REQ/ACK offset xfers
> siop0: target 4 now using 8 bit async xfers
> cd0(siop0:4:0): Check Condition (error 0x70) on opcode 0x0
>     SENSE KEY: Not Ready
>      ASC/ASCQ: Medium Not Present
> rootdev=0x800 rrootdev=0x800 rawdev=0x802
> stray isa irq 4
> stray isa irq 3
> 
> 
> So I will not be able ever use X? :)
> 
Given that you have a TGA framebuffer, you should be able to run X by 
starting it as root with the '-keepPriv' option.

TGAs don't need BWX, but the privilege separation code tries to 
initialize it early while X is still running as root, and before the 
configuration file has been parsed, to discover that the wsfb driver 
will be used.

-- 
Matthieu Herrb