Re: Serial PCI ports

2000-06-09 Thread Thomas Lange
 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?
   
   I have tried several, but the log is from 2.2.13.
  
  Can you be more specific on which ones you have tried? Did you try the
  2.2.15 images at:
  
  http://auric.debian.org/~bcollins/disk-sparc/current/
  
  This would help a lot in pinpointing the initialization problem.
  
 
 2.2.15 - same problem.
 
 2.2.12 - Does not start, error message no kernel.
 
 I am using the sun4u image ( maybe goes without saying? ).

I have managed to install some modules by skipping the initial 
base-config ( that fails due to lack of serial ports ).

Im suspecting that my CP 1500 has some special interface towards
the serial ports.

Can someone tell me if it possible to get the serial ports
working?
The serial ports should go through the advanced PCI bridge.

Here is what i get from lspci:

# lspci -v
00:00.0 Host bridge: Sun Microsystems Computer Corp. Ultra IIi
Flags: bus master, 66Mhz, medium devsel, latency 40

00:01.0 PCI bridge: Sun Microsystems Computer Corp. Simba Advanced PCI Bridge 
(rev 11) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 40
Bus: primary=00, secondary=02, subordinate=ff, sec-latency=40
I/O behind bridge: -0fff
Memory behind bridge: -000f
Prefetchable memory behind bridge: -000f

00:01.1 PCI bridge: Sun Microsystems Computer Corp. Simba Advanced PCI Bridge 
(rev 11) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 40
Bus: primary=00, secondary=01, subordinate=01, sec-latency=40
I/O behind bridge: -0fff
Memory behind bridge: -000f
Prefetchable memory behind bridge: -000f

01:01.0 Bridge: Sun Microsystems Computer Corp. EBUS (rev 01)
Flags: bus master, medium devsel, latency 64
Memory at f9fff000 (32-bit, non-prefetchable)
Memory at f9fff100 (32-bit, non-prefetchable)

01:01.1 Ethernet controller: Sun Microsystems Computer Corp. Happy Meal (rev 01)
Flags: bus master, medium devsel, latency 64, IRQ 6917536
Memory at f9ffe000 (32-bit, non-prefetchable)
Expansion ROM at e100 [disabled]

01:02.0 SCSI storage controller: Symbios Logic Inc. (formerly NCR) 53c875 (rev 
04)
Flags: bus master, medium devsel, latency 80, IRQ 6917504
I/O ports at 2c0
Memory at f9ffe0008000 (32-bit, non-prefetchable)
Memory at f9ffe000a000 (32-bit, non-prefetchable)

01:03.0 Bridge: Sun Microsystems Computer Corp. EBUS (rev 01)
Flags: medium devsel
Memory at 3000 (32-bit, non-prefetchable) [disabled]
Memory at f100 (32-bit, non-prefetchable) [disabled]

01:03.1 Ethernet controller: Sun Microsystems Computer Corp. Happy Meal (rev 01)
Flags: bus master, medium devsel, latency 64, IRQ 6917312
Memory at f9ffe001 (32-bit, non-prefetchable)
Expansion ROM at e200 [disabled]

02:01.0 PCI bridge: Digital Equipment Corporation DECchip 21150 (rev 04) 
(prog-if 00 [Normal decode])
Flags: bus master, medium devsel, latency 0
Bus: primary=02, secondary=03, subordinate=03, sec-latency=0
Capabilities: [dc] Power Management version 1

--

And here is another one:
--

# lspci -vv
00:00.0 Host bridge: Sun Microsystems Computer Corp. Ultra IIi
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ 
Stepping- SERR+ FastB2B-
Status: Cap- 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium TAbort- 
TAbort- MAbort- SERR- PERR-
Latency: 40 set

00:01.0 PCI bridge: Sun Microsystems Computer Corp. Simba Advanced PCI Bridge 
(rev 11) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ 
Stepping- SERR+ FastB2B-
Status: Cap- 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium TAbort- 
TAbort- MAbort- SERR- PERR-
Latency: 40 set, cache line size 10
Bus: primary=00, secondary=02, subordinate=ff, sec-latency=40
I/O behind bridge: -0fff
Memory behind bridge: -000f
Prefetchable memory behind bridge: 

Re: Serial PCI ports

2000-06-07 Thread Thomas Lange

  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?

I have tried several, but the log is from 2.2.13.

/Thomas Lange/



Re: Serial PCI ports

2000-06-07 Thread Ben Collins
On Wed, Jun 07, 2000 at 11:50:00AM +0200, Thomas Lange wrote:
 
   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?
 
 I have tried several, but the log is from 2.2.13.

Can you be more specific on which ones you have tried? Did you try the
2.2.15 images at:

http://auric.debian.org/~bcollins/disk-sparc/current/

This would help a lot in pinpointing the initialization problem.

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



Re: Serial PCI ports

2000-06-07 Thread Thomas Lange

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?
  
  I have tried several, but the log is from 2.2.13.
 
 Can you be more specific on which ones you have tried? Did you try the
 2.2.15 images at:
 
 http://auric.debian.org/~bcollins/disk-sparc/current/
 
 This would help a lot in pinpointing the initialization problem.
 

2.2.15 - same problem.

2.2.12 - Does not start, error message no kernel.

I am using the sun4u image ( maybe goes without saying? ).

/Thomas Lange/



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.

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]  '
 `---=--===-=-=-=-===-==---=--=---'