Subject: no input on SUN LOM using cu
To: None <port-sparc64@netbsd.org>
From: Pierre-Philipp Braun <pbraun@nethence.com>
List: port-sparc64
Date: 02/13/2005 15:39:20
Hi fellows,
I was happily editing a file while compiling irssi in the mean time
(which usually doesn't compile on sparc64 BTW, anyway, I was trying again), and
I had no response from my SUN Netra X1 anymore. I guess it freezed. No response,
no ping replys, just deeply down.
I'm now at the datacenter to maintain it. I'm trying `cu -l /dev/tty00`
from another netbsd box near by. I got the output, but no input from the
keyboard. I think it's not a speed issue (9600 by default), since I got the
output which mean it's the correct speed I guess.
I checked different serial cables & connectors. All the same:
I can see the SUN booting, but I can't type anything on it, no input.
I think it's rather an issue with the SUN LOM port.
Any advice to make my SUN LOM port work correctly again would be appreciated.
Thanks.
By the way, maybe there a bug to report here, I may send the 'bt' output once I
got keyboard input. See below.
Note: it's using NetBSD raidframe.
Note2: it was mounting the raid partitions with 'async', my VERY bad idea. I
will use default sync of softdep since now on.
NetBSD 2.0 (GENERIC) #0: Thu Dec 2 02:49:29 UTC 2004
builds@build:/big/builds/ab/netbsd-2-0-RELEASE/sparc64/200411300000Z-obj/big/buic/sys/arch/sparc64/compile/GENERIC
total memory = 1024 MB
avail memory = 990 MB
bootpath: /pci@1f,0/ide@d,0/disk@0,0
mainbus0 (root): SUNW,UltraAX-i2: hostid 8304f8b4
cpu0 at mainbus0: SUNW,UltraSPARC-IIe @ 400 MHz, version 0 FPU
cpu0: 32K instruction (32 b/l), 16K data (32 b/l), 256K external (64 b/l)
psycho0 at mainbus0
SUNW,sabre: impl 0, version 0: ign 7c0 bus range 0 to 0; PCI bus 0
DVMA map: 60000000 to 80000000
IOTSB: 1a8a000 to 1b0a000
pci0 at psycho0
pci0: i/o space, memory space enabled
ebus0 at pci0 dev 7 function 0
ebus0: Acer Labs M1543 PCI-ISA Bridge, revision 0x00
dma at ebus0 addr 0-ffff ipl 42 not configured
rtc0 at ebus0 addr 70-71: mc146818 compatible time-of-day clock: ds1287
power at ebus0 addr 2000-2007 ipl 35 not configured
SUNW,lomh at ebus0 addr 8010-8011 ipl 42 not configured
com0 at ebus0 addr 3f8-3ff ipl 43: ns16550a, working fifo
com0: console
com1 at ebus0 addr 2e8-2ef ipl 43: ns16550a, working fifo
flashprom at ebus0 addr 0-7ffff not configured
Acer Labs M7101 Power Management Controller (miscellaneous prehistoric) at pci0
dev 3 fu
tlp0 at pci0 dev 12 function 0: Davicom DM9102A Ethernet, pass 3.1
tlp0: broken MicroWire interface detected; setting SROM size to 1Kb
tlp0: interrupting at ivec 3006
tlp0: Ethernet address 00:03:ba:04:f8:b4
ukphy0 at tlp0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000676, model 0x0004, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tlp1 at pci0 dev 5 function 0: Davicom DM9102A Ethernet, pass 3.1
tlp1: broken MicroWire interface detected; setting SROM size to 1Kb
tlp1: interrupting at ivec 301c
tlp1: Ethernet address 00:03:ba:04:f8:b4
ukphy1 at tlp1 phy 1: Generic IEEE 802.3u media interface
ukphy1: OUI 0x000676, model 0x0004, rev. 0
ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ohci0 at pci0 dev 10 function 0: Acer Labs M5237 USB Host Controller (rev. 0x03)
ohci0: interrupting at ivec 24
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Acer Labs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
aceride0 at pci0 dev 13 function 0
aceride0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc3)
aceride0: bus-master DMA support present
aceride0: primary channel configured to native-PCI mode
aceride0: using ivec 180c for native-PCI interrupt
atabus0 at aceride0 channel 0
aceride0: secondary channel configured to native-PCI mode
atabus1 at aceride0 channel 1
pcons at mainbus0 not configured
No counter-timer -- using %tick at 400MHz as system clock.
Kernelized RAIDframe activated
wd0 at atabus0 drive 0: <ST3120023A>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 111 GB, 232581 cyl, 16 head, 63 sec, 512 bytes/sect x 234441648 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(aceride0:0:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA data
transfe
wd1 at atabus1 drive 0: <ST3120023A>
wd1: drive supports 16-sector PIO transfers, LBA addressing
wd1: 111 GB, 232581 cyl, 16 head, 63 sec, 512 bytes/sect x 234441648 sectors
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd1(aceride0:1:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA data
transfe
raid0: RAID Level 1
raid0: Components: /dev/wd0a /dev/wd1a
raid0: Total Sectors: 234441472 (114473 MB)
root on raid0a dumps on raid0b
WARNING: clock gained 3 days -- CHECK AND RESET THE DATE!
root file system type: ffs
Sun Feb 13 14:33:04 CET 2005
swapctl: adding /dev/raid0b as swap device at priority 0
swapctl: setting dump device to /dev/wd0b
Checking for botched superblock upgrades: done.
Starting file system checks:
1042308216 BAD I=9205
/dev/rraid0a: UNEXPECTED INCONSISTENCY; RUN fsck_ffs MANUALLY.
Automatic file system check failed; help!
Feb 13 14:33:05 init: /bin/sh on /etc/rc terminated abnormally, going to single
user mod
Feb 13 14:33:07 init: fatal signal: Segmentation fault
Sun Feb 13 14:33:39 CET 2005
swapctl: /dev/raid0b: Device busy
swapctl: setting dump device to /dev/wd0b
Checking for botched superblock upgrades: done.
Starting file system checks:
1042308216 BAD I=9205
/dev/rraid0a: UNEXPECTED INCONSISTENCY; RUN fsck/dev/raid0a: file system not
clean (fs_clean=4); please fsck(8)
/dev/raid0a: lost blocks 0 files 0
_ffs MANUALLY.
Automatic file system check failed; help!
dev = 0x1900, block = 1501958, fs = /
panic: blkfree: freeing free frag
kdb breakpoint at 1335d58
Stopped in pid 183.1 (rm) at netbsd:cpu_Debugger+0x4: nop
db>