Serial PCI ports

2000-06-06 Thread Thomas Lange
I am trying to install debian on a SUN CP1500 board.

It contains an UltraSPARC-IIi 270MHz. The 
ethernet and the serial
ports are exported via the PCI backplane.
We have an hw adapter board connected providing an
interface towards the ports. Ethernet works fine
and the installation system starts ( network boot ).

But something seems to go wrong in the port
setup process because the system keeps going 
Bummer, can't open /dev/tty4 every few seconds.

Anyway, I have been able to go through the whole
installation process, even though the error 
messages thrashes the output ;-)

When I start my installed system, no serial devices
are working. 

Is there something I can do in the install shell
to fix this problem?

2 logs below...

/Thomas Lange/
---
From HD boot:
-
SILO boot: 
Uncompressing image...
|
Remapping the kernel... done.
Booting Linux...
PROMLIB: Sun IEEE Boot Prom 3.10.19 1998/11/02 08:54
Linux version 2.2.15 ([EMAIL PROTECTED]) (gcc version egcs-2.92.11 19980921 
(gcc2 
ss-980609 experimental)) #1 Wed May 3 18:51:10 EDT 2000
ARCH: SUN4U
Ethernet address: 08:00:20:a2:9c:c0
Calibrating delay loop... 539.03 BogoMIPS
Memory: 255200k available (1808k kernel code, 3680k data, 192k init) 
[f800,f8002bec6000]
Dentry hash table entries: 32768 (order 6, 512k)
Buffer cache hash table entries: 524288 (order 9, 4096k)
Page cache hash table entries: 131072 (order 7, 1024k)
POSIX conformance testing by UNIFIX
PCI: Probing for controllers.
PCI: Found SABRE, main regs at f9fe CTRL[]
SABRE: PCI config space at f9fe0100
SABRE: DVMA at c000 [2000]
PCI: Probing PCI hardware
ebus0: f9fff000[100] f9fff100[80]
power: Control reg at f9fff1724000 ... powerd running.
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
TCP: Hash tables configured (ehash 262144 bhash 65536)
Linux IP multicast router 0.06 plus PIM-SM
Starting kswapd v 1.5 
PCIO serial driver version 1.18.2.6
su(serial) at 0xf9fff13803f8 (tty 0 irq 6,7dc) is a 16550A
su(serial) at 0xf9fff13602f8 (tty 1 irq 6,7d4) is a 16550A
pty: 256 Unix98 ptys configured
RAM disk driver initialized:  16 RAM disks of 4096K size
loop: registered device at major 7
md driver 0.36.6 MAX_MD_DEV=4, MAX_REAL=8
sym53c8xx: at PCI bus 1, device 2, function 0
sym53c8xx: PCI_CACHE_LINE_SIZE set to 16 (fix-up).
sym53c8xx: setting PCI_LATENCY_TIMER to 80 (fix-up).
sym53c8xx: 53c875 detected 
ncr53c875-0: rev=0x04, base=0x1ffe0008000, io_port=0xf9fe02c0, 
irq=0x698d80
sym53c875-0: NCR clock is 40218KHz, 40218KHz
sym53c875-0: ID 7, Fast-20, Parity Checking
sym53c875-0: on-chip RAM at 0x1ffe000a000
sym53c875-0: restart (scsi reset).
sym53c875-0: Downloading SCSI SCRIPTS.
scsi0 : sym53c8xx - version 1.3g
PCI bus 01 device 10
scsi : 1 host.
  Vendor: IBM   Model: DDRS-39130D   Rev: DC1B
  Type:   Direct-Access  ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
sym53c875-0-0,0: tagged command queue depth set to 4
scsi : detected 1 SCSI disk total.
sym53c875-0-0,*: FAST-10 WIDE SCSI 20.0 MB/s (100 ns, offset 15)
SCSI device sda: hdwr sector= 512 bytes. Sectors= 1785 [8715 MB] [8.7 GB]
sunhme.c:v1.10 27/Jan/99 David S. Miller ([EMAIL PROTECTED])
eth0: HAPPY MEAL (PCI/CheerIO) 10/100BaseT Ethernet 08:00:20:a2:9c:c0 
eth1: HAPPY MEAL (PCI/CheerIO) 10/100BaseT Ethernet 08:00:20:a2:9c:c0 
eth1: Happy Meal would not start auto negotiation BMCR=0x1200
eth1: Performing force link detection.
IP-Config: Incomplete network configuration information.
Partition check:
 sda: sda1 sda2 sda3 sda5
VFS: Mounted root (ext2 filesystem) readonly.
INIT: version 2.78 booting
Activating swap...
Adding Swap: 544984k swap-space (priority -1)
Checking root file system...
Parallelizing fsck version 1.18 (11-Nov-1999)
/dev/sda1 was not cleanly unmounted, check forced.
/dev/sda1:  
Setting filetype for entry 'log' in /dev (106272) to 6.
/dev/sda1: 2292/136512 files (0.3% non-contiguous), 8478/272500 blocks 
Calculating module dependencies... depmod: *** Unresolved symbols in 
/lib/modules/2.2.15/fs/binfmt_elf.o
done.
Loading modules: 
Checking all file systems...
Parallelizing fsck version 1.18 (11-Nov-1999)
/dev/sda5 was not cleanly unmounted, check forced.
/dev/sda5: 4361/912128 files (0.0% non-contiguous), 39588/1821935 blocks   
Setting kernel variables.
Mounting local file systems...
/dev/sda5 on /usr type ext2 (rw)
Running dns-clean.
Setting up IP spoofing protection: rp_filter.
Configuring network interfaces: done.
Starting portmap daemon: portmap.

Setting the System Clock using the Hardware Clock as reference...
System Clock set. Local time: Sat Jun  3 14:49:44 CEST 2000

Cleaning: /tmp /var/lock /var/run.

X on latest potato?

2000-06-06 Thread Rich Sahlender
Just did an apt-get update;apt-get upgrade on an Ultra1 from frozen.
Havn't done one in about two weeks and some thirty packages were updated.
Among the updates was xserver-xsun/xserver-xsun24 which no longer seem
to work.

$ startx

(using VT number 7)


Fatal server error:
no screens found
X connection to :0.0 broken (explicit kill or server shutdown).
$

Anyone know what's up before I spend time debugging a known problem?

Thanks,
Rich



Re: Serial PCI ports

2000-06-06 Thread Ben Collins
 PCIO serial driver version 1.18.2.6
 su(serial) at 0xf9fff13803f8 (tty 0 irq 6,7dc) is a 16550A
 su(serial) at 0xf9fff13602f8 (tty 1 irq 6,7d4) is a 16550A

Hmm, for some reason it doesn't look like the serial is configured
completely. On my system I get this:

  PCIO serial driver version 1.18.2.5
  su(serial) at 0xf9fff13803f8 (tty 0 irq 6,7dc) is a 16550A
  su(serial) at 0xf9fff13602f8 (tty 1 irq 4,7dd) is a 16550A
  SAB82532 serial driver version 1.30.2.2
  ttyS00 at 0x1fff140 (irq = 12,7eb) is a SAB82532 V3.2
  ttyS01 at 0x1fff1400040 (irq = 12,7eb) is a SAB82532 V3.2
  Console: ttyS0 (SAB82532)

Which version of boot-floppies are you using?

-- 
 ---===-=-==-=---==-=--
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  '
 `---=--===-=-=-=-===-==---=--=---'



Re: X on latest potato?

2000-06-06 Thread Ben Collins
On Tue, Jun 06, 2000 at 02:21:58PM -0400, Rich Sahlender wrote:
 Just did an apt-get update;apt-get upgrade on an Ultra1 from frozen.
 Havn't done one in about two weeks and some thirty packages were updated.
 Among the updates was xserver-xsun/xserver-xsun24 which no longer seem
 to work.
 
 $ startx
 
 (using VT number 7)
 
 
 Fatal server error:
 no screens found
 X connection to :0.0 broken (explicit kill or server shutdown).
 $
 
 Anyone know what's up before I spend time debugging a known problem?

Can you show me the output of dpkg -l xserver-\* so I can forward this
problem to the X maintainer?

Thanks,
  Ben

-- 
 ---===-=-==-=---==-=--
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  '
 `---=--===-=-=-=-===-==---=--=---'



Re: X on latest potato?

2000-06-06 Thread Sergio Mendoza
Hi,

  This problem has a solution and it has already been reported:

http://www.debian.org/Bugs/db/65/65150.html

Sergio



Re: X on latest potato?

2000-06-06 Thread Rich Sahlender
# dpkg -l xserver-\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
un  xserver-agxnone (no description available)
ii  xserver-common 3.3.6-7files and utilities common to all X 
servers
un  xserver-gginone (no description available)
un  xserver-mach32 none (no description available)
un  xserver-mach64 none (no description available)
un  xserver-p9000  none (no description available)
un  xserver-s3 none (no description available)
un  xserver-s3vnone (no description available)
un  xserver-tganone (no description available)
un  xserver-vga16  none (no description available)
un  xserver-w32none (no description available)
ii  xserver-xsun   3.3.6-7X server for 8-bit Sun framebuffers
un  xserver-xsun-mono  none (no description available)
ii  xserver-xsun24 3.3.6-7X server for 24-bit Sun framebuffers
#

A symlink for /dev/fb to /dev/fb0 did not help.

# ls -l /dev/fb*
lrwxrwxrwx1 root root8 Jun  6 14:43 /dev/fb - /dev/fb0
crw--w--w-1 root tty   29,   0 Mar 30 22:46 /dev/fb0
crw--w--w-1 root tty   29,   1 Mar 30 22:46 /dev/fb0autodetect
crw--w--w-1 root tty   29,   0 Mar 30 22:46 /dev/fb0current
crw--w--w-1 root tty   29,  32 Mar 30 22:46 /dev/fb1
crw--w--w-1 root tty   29,  33 Mar 30 22:46 /dev/fb1autodetect
crw--w--w-1 root tty   29,  32 Mar 30 22:46 /dev/fb1current
crw--w--w-1 root tty   29,  64 Mar 30 22:46 /dev/fb2
crw--w--w-1 root tty   29,  65 Mar 30 22:46 /dev/fb2autodetect
crw--w--w-1 root tty   29,  64 Mar 30 22:46 /dev/fb2current
crw--w--w-1 root tty   29,  96 Mar 30 22:46 /dev/fb3
crw--w--w-1 root tty   29,  97 Mar 30 22:46 /dev/fb3autodetect
crw--w--w-1 root tty   29,  96 Mar 30 22:46 /dev/fb3current
crw--w--w-1 root tty   29, 128 Mar 30 22:46 /dev/fb4
crw--w--w-1 root tty   29, 129 Mar 30 22:46 /dev/fb4autodetect
crw--w--w-1 root tty   29, 128 Mar 30 22:46 /dev/fb4current
crw--w--w-1 root tty   29, 160 Mar 30 22:46 /dev/fb5
crw--w--w-1 root tty   29, 161 Mar 30 22:46 /dev/fb5autodetect
crw--w--w-1 root tty   29, 160 Mar 30 22:46 /dev/fb5current
crw--w--w-1 root tty   29, 192 Mar 30 22:46 /dev/fb6
crw--w--w-1 root tty   29, 193 Mar 30 22:46 /dev/fb6autodetect
crw--w--w-1 root tty   29, 192 Mar 30 22:46 /dev/fb6current
crw--w--w-1 root tty   29, 224 Mar 30 22:46 /dev/fb7
crw--w--w-1 root tty   29, 225 Mar 30 22:46 /dev/fb7autodetect
crw--w--w-1 root tty   29, 224 Mar 30 22:46 /dev/fb7current
#

On Tue, 6 Jun 2000, Ben Collins wrote:

 On Tue, Jun 06, 2000 at 02:21:58PM -0400, Rich Sahlender wrote:
  Just did an apt-get update;apt-get upgrade on an Ultra1 from frozen.
  Havn't done one in about two weeks and some thirty packages were updated.
  Among the updates was xserver-xsun/xserver-xsun24 which no longer seem
  to work.
  
  $ startx
  
  (using VT number 7)
  
  
  Fatal server error:
  no screens found
  X connection to :0.0 broken (explicit kill or server shutdown).
  $
  
  Anyone know what's up before I spend time debugging a known problem?
 
 Can you show me the output of dpkg -l xserver-\* so I can forward this
 problem to the X maintainer?
 
 Thanks,
   Ben
 
 -- 
  ---===-=-==-=---==-=--
 /  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
 `  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  '
  `---=--===-=-=-=-===-==---=--=---'
 
 
 --  
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 



Re: potato install on AX and AXi

2000-06-06 Thread Ben Collins
On Tue, Jun 06, 2000 at 12:08:28PM -0700, Anton Blanchard wrote:
 
 Hi,
 
 I installed debian potato on an AX and AXi. On the whole it went smoothly,
 here are the problems I found:

Are the AX/AXi like the AXe (ps2 system)?

 - gpm + X hangs - already reported

I assume this is with a Xsun. I think I have a solution to make the Xsun
server try /dev/gpmdata initially before trying /dev/mouse. This will
assume that you have -Rraw enabled on gpm which works for my Mach64 Ultra
5 (ps2 mouse though).

 - There is a binfmt_elf.o module even though this is compiled into the
 kernel. Running depmod gives unresolved symbols, more an annoyance than a bug.

binfmt_elf.o is actually 64bit userland support, which doesn't really work
on 2.2.x anyway. The reason I did not compile it into the kernel is that
it acts as more of a DoS (running 64bit programs) than anything useful :)
binfmt_elf32 is compiled in obviously.

 - The AXi type 5 keyboard was found by the X server as a type 2. The 
 XF86Config
 had to be manually edited for it to work. I will look into this.

Weird.

 That was my venture into userland, now back to kernel hacking :)

Thanks for taking the time to report this,
  Ben

-- 
 ---===-=-==-=---==-=--
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  '
 `---=--===-=-=-=-===-==---=--=---'



Re: X on latest potato?

2000-06-06 Thread Peter Haworth
Rich Sahlender wrote:
 Just did an apt-get update;apt-get upgrade on an Ultra1 from frozen.
 Havn't done one in about two weeks and some thirty packages were updated.
 Among the updates was xserver-xsun/xserver-xsun24 which no longer seem
 to work.
 
 $ startx
 
 (using VT number 7)
 
 
 Fatal server error:
 no screens found
 X connection to :0.0 broken (explicit kill or server shutdown).

I had the same problem this morning. I fixed it by changing the last line of
/etc/X11/xdm/Xservers from:
  :0 local /usr/bin/X11/X vt7 -deferglyphs 16
to
  :0 local /usr/bin/X11/X vt7 -deferglyphs 16 -dev /dev/fb0

I thought that was odd at the time, since Xsun's manual claims it will try
/dev/fb0, but this did the trick.

-- 
Peter Haworth   [EMAIL PROTECTED]
Q: Why do ducks have flat feet?  A: To stamp out forest fires.
Q: Why do elephants have flat feet?  A: To stamp out flaming ducks
-- UNIX fortune



Re: potato install on AX and AXi

2000-06-06 Thread Anton Blanchard
 
 Are the AX/AXi like the AXe (ps2 system)?

Yep. They support both ps2 and sun keyboards.

 I assume this is with a Xsun. I think I have a solution to make the Xsun
 server try /dev/gpmdata initially before trying /dev/mouse. This will
 assume that you have -Rraw enabled on gpm which works for my Mach64 Ultra
 5 (ps2 mouse though).

I'll test that when I get home.

 binfmt_elf.o is actually 64bit userland support, which doesn't really work
 on 2.2.x anyway. The reason I did not compile it into the kernel is that
 it acts as more of a DoS (running 64bit programs) than anything useful :)
 binfmt_elf32 is compiled in obviously.

Ahh of course. Just so long as kmod doesn't insert it automatically :)

One more thing... why does setserial do stuff during bootup?

Anton



Re: Netra Server

2000-06-06 Thread Bolan Meek
Jason Pock wrote:
 
  Uh...ah... I don't know whether there is a bootable image, but...
  Does it have a floppy drive?  If so, you can boot -floppy, and
  install from CD, for sure.
 
 That sounds good...but how do I make a bootable floppy?  I'm kind
 of new at this UNIX stuff, sorry.

Are you familiar with ftp, cd, get?

If not, you may want^H^H^H^H^H^H^H^Hought to use the links in the
Installation Instructions pages at www.debian.org.  Even if you're
familiar with ftp through the Microsoft ftp client, I'm guessing
that perusal of those pages would be good for you.

In fact, review of those pages myself show that there is a bootable
CD image.  Have you obtained such a CD?  In that case, just
boot -cdrom at the ok prompt.

The image for the boot floppy, a.k.a. the rescue disk,
can be ftp'ed from ftp.debian.org 
/debian/dists/frozen/main/disks-sparc/current/sun4u/images-1.44/resc1440.bin.
also get drivers.tgz in the same directory.

 
  Well, don't tell any of my LAN administrators, but, if you know
  one of the addresses served up by DHCP, one not in use at the
  time -check by ping'ing the address- preferably, one that has a
  low chance of being leased out anytime really soon, like one you
  know was just used by something now shut down, or if you know
  the IP of something you can temporarily disconnect for a short
  time, you use that IP address until you get dhclient,
  or equivalent, installed.
 
 I have a DSL modem - that's what my DHCP thing is.  Can I really borrow one
 from that?  Could I just put something like 1.0.0.5 in as the IP address?

Hmmm.  I didn't expect this (an example of what happens when one
bends the rules ;-).  I'm not an expert on DSL connections, not (yet)
having one myself, but I'm more familiar with the users of those
being given a static IP address range by the ISP, typically 16 IPs.

In this case, is the DSL modem external, and actually your DHCP server,
as well as your router?

In that case, you are your own LAN admin, and can borrow
at will any of the IPs in the range given to you.

Or are you oppressed by having dynamic addresses assigned by your ISP
at connection time?  (I find it hard to believe this is the case, and
if so, you probably ought to renegotiate with your ISP, since DSL is/can
be always on, and you should be able to host your own DNS server, as
well as other services.)

 Thanks a ton for your help!!

Oh, glad to help.  Sorry for being so slow with it.



Re: potato install on AX and AXi

2000-06-06 Thread Ben Collins
 
 One more thing... why does setserial do stuff during bootup?
 

I have no idea, I have worked my ass off trying to get rid of setserial
being installed on sparc's period. It usually breaks things that are
better off being left alone.

Ben

-- 
 ---===-=-==-=---==-=--
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  '
 `---=--===-=-=-=-===-==---=--=---'



Re: X on latest potato?

2000-06-06 Thread Rich Sahlender
Interesting. I'm not using xdm here but tried the -dev /dev/fb0
in .xserverrc and also tried startx -- -dev /dev/fb0. Neither
seems to make any difference. I'll keep trying things...

On Tue, 6 Jun 2000, Peter Haworth wrote:

 Rich Sahlender wrote:
  Just did an apt-get update;apt-get upgrade on an Ultra1 from frozen.
  Havn't done one in about two weeks and some thirty packages were updated.
  Among the updates was xserver-xsun/xserver-xsun24 which no longer seem
  to work.
  
  $ startx
  
  (using VT number 7)
  
  
  Fatal server error:
  no screens found
  X connection to :0.0 broken (explicit kill or server shutdown).
 
 I had the same problem this morning. I fixed it by changing the last line of
 /etc/X11/xdm/Xservers from:
   :0 local /usr/bin/X11/X vt7 -deferglyphs 16
 to
   :0 local /usr/bin/X11/X vt7 -deferglyphs 16 -dev /dev/fb0
 
 I thought that was odd at the time, since Xsun's manual claims it will try
 /dev/fb0, but this did the trick.
 
 -- 
   Peter Haworth   [EMAIL PROTECTED]
 Q: Why do ducks have flat feet?  A: To stamp out forest fires.
 Q: Why do elephants have flat feet?  A: To stamp out flaming ducks
   -- UNIX fortune
 
 
 --  
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]