Some 4.0-release Install Questions

Some 4.0-release Install Questions

Post by Dave Shawle » Mon, 10 Apr 2000 04:00:00



Hello all,

I 've just recently (last night0 reinstalled the WC 4.0 March 2000
release over my previous
3.2 system. Everything seemed to be going pretty well... found most of
the distributions
without any errors and such. This morning I hit a bit of a snag
though... actually two of
them. I've included some info below about he problems and would greatly
appreciate any
enlightening thoughts:

User-Side PPP Wierdness

I configured the kernel with a slightly modified version of the config
file that I've used under
3.2 and a few previous releases (had to change it for the device name
changes, IPv6, and
other new fun stuff). Either way, I've left my sio* configuration the
same.
The problem that I am having is that ppp hangs the computer as soon as I
try to dial or
even enter term mode... I've tacked some dmesg output and my config file
to the end of this
message. I'm pretty sure that this is a config problem with my modem,
but I can't seem to
solve it. I believe (but I can't really remember) that my modem worked
well under the 3.x
branch due to the pnp0 controller, but there doesn't seem to be a pnp
controller or device in
4.x (even though the man page is there for it). The dmesg output
complains a lot about not
being able to identify the PNP devices... However, I believe that my
sio0 device has a
16550 UART and dmesg has it listed differently.

X-Window Authorization Problem

The X problem is even better... this has got to be something truly
stupid. I can runsa startx
and everything works fine (including default color depth and
resolution). However, when I
run xdm it's a different story. First of all the xlogin widget comes up
in black-and-white
even though the xdm configuration says it should be in color. Whenever I
log in, the session
just exits and returns to the login prompt. When I look at
~/.xsession-errors there us an
authorization error connecting to the server. I checked and the server
socket is most
certainly there (at port 6000). Here's the error:

    Xlib: connection to ":0:0" refused by server
    Xlib Client is not authroized to connect to Server
    Error: Can't open display :0

I couldn't see anything wrong in /usr/X11R6/lib/X11/xdm anywhere. I've
also tried setting
the DISPLAY env var in my .profile without any success.

Well that's about it for now... I'm gonna keep going over my
configuration to see if I've
missed anything, but it looks pretty standard so far.

Either way, any help would be greatly appreciated. Oh, yeah, here is a
copy of my dmesg
output and config file.

BTW: is FreeBSD going to decide on a device naming convention and stick
with it any time
soon???

-- /usr/src/sys/i386/conf/ISENGARD --
#
# ISENGARD -- Local kernel configuration.
#    $Id$
#
ident  ISENGARD

machine  i386
cpu  I686_CPU
maxusers 32

options  MAXMEM="(128*1024)" #Make FreeBSD see all of my RAM
options  MATH_EMULATE  #Support for x87 emulation
options  INET   #InterNETworking
options  INET6   #IPv6 communications protocols
options  FFS   #Berkeley Fast Filesystem
options  FFS_ROOT  #FFS usable as root device [keep this!]
options  MFS   #Memory Filesystem
options  MD_ROOT   #MD is a potential root device
options  NFS   #Network Filesystem
options  MSDOSFS   #MSDOS Filesystem
options  CD9660   #ISO 9660 Filesystem
options  CD9660_ROOT  #CD-ROM usable as root, CD9660 required
options  PROCFS   #Process filesystem
options  COMPAT_43  #Compatible with BSD 4.3 [KEEP THIS!]
options  SCSI_DELAY=15000 #Delay (in ms) before probing SCSI
options  UCONSOLE  #Allow users to grab the console
options  USERCONFIG  #boot -c editor
options  VISUAL_USERCONFIG #visual boot -c editor
options  KTRACE   #ktrace(1) support
options  SYSVSHM   #SYSV-style shared memory
options  SYSVMSG   #SYSV-style message queues
options  SYSVSEM   #SYSV-style semaphores
options  P1003_1B  #Posix P1003_1B real-time extentions
options  _KPOSIX_PRIORITY_SCHEDULING
options  _KPOSIX_VERSION=199309L #Posix realtime Version
options  ICMP_BANDLIM  #Help prevent DOS attacks
options  INCLUDE_CONFIG_FILE #Include this file as a string
options  NETATALK  #AppleTalk protocol
options  MAXCONS=16  #Max number of virtual consoles
options  PPP_FILTER  #Packet filtering for ppp

device  isa
device  eisa
device  pci

# Floppy drives
device  fdc0 at isa? port IO_FD1 irq 6 drq 2
device  fd0 at fdc0 drive 0

# ATA and ATAPI devices
device  ata0 at isa? port IO_WD1 irq 14
device  ata1 at isa? port IO_WD2 irq 15
device  ata
device  atadisk   #ATA disk drives
device  atapicd   #ATAPI CDROM drives
device  atapifd   #ATAPI floppy drives
options  ATA_STATIC_ID  #Static device numbering
options  ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices

# SCSI Controllers
device  ahc  #AHA2940 and onboard AIC7xxx devices

# SCSI peripherals
device  scbus  #SCSI bus (required)
device  da  #Direct Access (disks)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device  atkbdc0 at isa? port IO_KBD
device  atkbd0 at atkbdc? irq 1
device  psm0 at atkbdc? irq 12

device  vga0 at isa?

# syscons is the default console driver, resembling an SCO console
device  sc0 at isa?
options  SC_HISTORY_SIZE=500 #Lots of history on the console
# Twiddle the colors of the console to make life more interesting
options  SC_NORM_ATTR="(FG_WHITE|BG_BLACK)"
options  SC_NORM_REV_ATTR="(FG_GREEN|BG_BLACK)"
options  SC_KERNEL_CONS_ATTR="(FG_RED|BG_BLACK)"
options  SC_KERNEL_CONS_REV_ATTR="(FG_RED|BG_LIGHTGREY)"

# Floating point support - do not disable.
device  npx0 at nexus? port IO_NPX irq 13

# Serial (COM) ports
device  sio0 at isa? port IO_COM1 flags 0x10 irq 4
device  sio1 at isa? port IO_COM2 irq 3
device  sio2 at isa? disable port IO_COM3 irq 5
device  sio3 at isa? disable port IO_COM4 irq 9

# Parallel port
device  ppc0 at isa? irq 7
device  ppbus  #Parallel port bus (required)
device  lpt  #Printer
device  ppi  #Parallel port interface device

# PCI Ethernet NICs that use the common MII bus controller code.
device  miibus  #Generic MII bus support
device  rl  #RealTek 8129/8139

# USB support
#device  uhci  #UHCI PCI->USB interface
#device  ohci  #OHCI PCI->USB interface
#device  usb  #USB Bus (required)
#device  ugen  #Generic
#device  ulpt  #USB printer

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device loop  #Network loopback
pseudo-device ether  #Ethernet support
pseudo-device tun 1 #Packet tunnel.
pseudo-device pty 32 #Pseudo-ttys (telnet etc)
pseudo-device md  #Memory "disks"
pseudo-device gif 4 #IPv6 and IPv4 tunneling
pseudo-device faith 1 #IPv6-to-IPv4 relaying (translation)
pseudo-device gzip  #Exec gzipped a.out's
pseudo-device splash  #Kernel support for screen saver
pseudo-device bpf 2 #Berkeley packet filter

-- /tmp/dmesg.txt --
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
 The Regents of the University of California. All rights reserved.
FreeBSD 4.0-RELEASE #0: Sun Apr  9 15:01:20 EDT 2000
    t...@isengard.local.net:/usr/src/sys/compile/ISENGARD
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 180079835 Hz
CPU: Pentium Pro (180.08-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x619  Stepping = 9

Features=0xfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV>

real memory  = 134217728 (131072K bytes)
config> q
avail memory = 126976000 (124000K bytes)
Preloaded elf kernel "kernel" at 0xc0300000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc030009c.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
Correcting Natoma config for non-SMP
Correcting Natoma config for non-SMP
isab0: <Intel 82371SB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX3 ATA controller> port 0xffa0-0xffaf at device 7.1
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371SB (PIIX3) USB controller> port 0xef80-0xef9f irq 9
at device 7.2 on pci0
usb0: <Intel 82371SB (PIIX3) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <ATI Mach64-GU graphics accelerator> at 17.0
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0xe800-0xe8ff mem
0xfebfe000-0xfebfefff irq 11 at device 18.0 on pci0
ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
rl0: <Accton MPX 5030/5038 10/100BaseTX> port 0xe400-0xe4ff mem
0xfebfdf00-0xfebfdfff irq 10 at device 19.0 on pci0
rl0: Ethernet address: 00:e0:29:58:9a:dd
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isa0: unexpected tag 14
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppi0: <Parallel I/O> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
unknown0: <PNP0c01> at iomem
0-0x9fbff,0x9fc00-0x9ffff,0xe0000-0xfffff,0x100000-0x7ffffff,0xfec00000-0xfec00fff,0xfee00000-0xfee00fff,0xfffe0000-0xffffffff
on isa0
unknown: <PNP0000> can't assign resources
unknown1: <PNP0200> at port 0-0xf,0x80-0x90,0x94-0x9f,0xc0-0xde drq 4 on
isa0
unknown2: <PNP0100> at port 0x40-0x43 irq 0 on isa0
unknown3: <PNP0b00> at port 0x70-0x71 irq 8 on isa0
unknown: ...

read more »

 
 
 

Some 4.0-release Install Questions

Post by J Wuns » Wed, 12 Apr 2000 04:00:00



> The X problem is even better... this has got to be something truly
> stupid. I can runsa startx
> and everything works fine (including default color depth and
> resolution). However, when I

(Did you really mean to sent such zig-zag articles? ;-)

Quote:> run xdm it's a different story. First of all the xlogin widget comes up
> just exits and returns to the login prompt. When I look at
> ~/.xsession-errors there us an
> authorization error connecting to the server. I checked and the server

AFAIK that's a problem of an outdated /etc/pam.conf file.  See to
install the current one from /usr/src/etc (i hope you've got the
sourcecode installed).

Quote:> BTW: is FreeBSD going to decide on a device naming convention and stick
> with it any time
> soon???

What are you talking about here?
--
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)