Subject: Problems with -current config
To: None <netbsd-help@sun-lamp.cs.berkeley.edu>
From: Brian de Alwis <bsdealwi@undergrad.math.uwaterloo.ca>
List: netbsd-help
Date: 12/08/1994 15:13:09
I'm trying to get a -current i386 kernel up and running (to see if it
fixes my previous X11 hangs), but the new config seems to have some
problems. The lex lang.l's definition of ID is incorrect - at
least, it won't parse most of the numbers in the config files. And
even with a fix for that, I'm getting errors accepting `at'-style
config syntax.

Is this in flux right now? (did I miss a posting somewhere?)

This happens both on my own customized machine description, and
on BOAT_ANCHOR and GENERIC.

Thanks.

Here's an example (with do_trace enabled in lang.l):

config: line 6: Unknown machine type
config: line 6: syntax error
config: line 34: syntax error
config: line 35: syntax error
config: line 36: syntax error
config: line 37: syntax error
config: line 39: syntax error
config: line 52: syntax error
config: line 73: syntax error
config: line 80: syntax error
config: line 93: syntax error
config: line 97: syntax error
config: line 103: syntax error
config: line 108: syntax error





(machine) id(i) #D:386 

(options) id(I386_CPU) 
(options) id(I486_CPU) 
(options) id(I586_CPU) 

(options) id(DUMMY_NOPS) 
(options) id(XSERVER) id(UCONSOLE) 
(options) id(MACHINE_NONCONTIG) 

(maxusers) #D:4 
(options) id(TIMEZONE) #D:5 
(options) id(DST) #O:0 

(options) id(SWAPPAGER) 
(options) id(VNODEPAGER) 
(options) id(DEVPAGER) 

(options) id(DDB) 
(options) id(DIAGNOSTIC) 
(options) id(KTRACE) 

(options) id(SYSVMSG) 
(options) id(SYSVSEM) 
(options) id(SYSVSHM) 


(options) id(COMPAT_NOMID) 
(options) id(COMPAT_) #O:0 #D:9 
(options) id(COMPAT_) #D:10 
(options) id(COMPAT_) #D:43 
(options) id(TCP_COMPAT_) #D:42 

(options) id(COMPAT_SVR) #D:4 


(options) id(USER_LDT) 
(options) id(LKM) 

(options) id(FFS) id(QUOTA) 
(options) id(LFS) 





(options) id(CD) #D:9660 
(options) id(MSDOSFS) 
(options) id(FDESC) 
(options) id(FIFO) 
(options) id(KERNFS) 
(options) id(NULLFS) 

(options) id(PROCFS) 




(options) id(INET) 





(config) id(netbsd) (swap) id(generic) 
(options) id(GENERIC) 

id(isa) #O:0 (at) (root) 
id(eisa) #O:0 (at) (root) 
id(pci) #O:0 (at) (root) 

id(npx) #O:0 (at) id(isa) ? (port) #X:f0 (irq) #D:13 


id(vt) #O:0 (at) id(isa) ? (port) #X:60 (irq) #D:1 

id(com) #O:0 (at) id(isa) ? (port) #X:3f8 (irq) #D:4 
id(com) #D:1 (at) id(isa) ? (port) #X:2f8 (irq) #D:3 
id(com) #D:2 (at) id(isa) ? (port) #X:3e8 (irq) #D:5 








id(lpt) #O:0 (at) id(isa) ? (port) #X:378 (irq) #D:7 



id(fdc) #O:0 (at) id(isa) ? (port) #X:3f0 (irq) #D:6 (drq) #D:2 

id(fd) (at) id(fdc) ? (drive) ? 



id(wdc) #O:0 (at) id(isa) ? (port) #X:1f0 (irq) #D:14 

id(wd) (at) id(wdc) ? (drive) ? 


id(spkr) #O:0 (at) id(isa) ? 

(pseudo-device) id(loop) #D:1 





(pseudo-device) id(pty) #D:32 
(pseudo-device) id(vn) #D:4 
Specify machine type, e.g. ``machine vax''

-- 
Brian de Alwis - University of Waterloo: bsdealwis@undergrad.math.uwaterloo.ca
 "Democracy means simply the bludgeoning of the people | NetBSD - Try it!
  by the people for the people." -- Oscar Wilde        |  You'll like it!