Gentoo Archives: gentoo-sparc

From: Etaoin Shrdlu <shrdlu@×××××××××××××.org>
To: gentoo-sparc@l.g.o
Subject: [gentoo-sparc] Ultra 80: serial ports problem
Date: Wed, 01 Feb 2006 17:16:04
Message-Id: 200602011831.14090.shrdlu@unlimitedmail.org
1 I'm trying to use a modem connected on the serial port of an Ultra 80,
2 but with no luck until now.
3
4 # dmesg | grep tty
5
6 ttyS0 at MMIO 0x1fff1400000 (irq = 8800672) is a SAB82532 V3.2
7 ttyS1 at MMIO 0x1fff1400040 (irq = 8800672) is a SAB82532 V3.2
8
9 If using minicom (configured to use /dev/ttyS0) to access the modem, the
10 screen remains black and the only thing I can do is exit the program.
11 A simple
12
13 # echo "AA" > /dev/ttyS0 # this does nothing on a PC
14
15 hangs, and if I hit ctrl-C to exit I get
16
17 -bash: /dev/ttyS0: Interrupted system call
18
19 Trying to send anything to the ports from outside (eg, attaching a serial
20 mouse and moving it, expecting to see some garbage - don't know it this
21 is a right way to test the port though) produces a kernel panic:
22
23 Unable to handle kernel NULL pointer dereference
24 tsk->{mm,active_mm}->context = 00000000000000a0
25 tsk->{mm,active_mm}->pgd = fffff80002d6e000
26 Kernel panic - not syncing: Aiee, killing interrupt handler!
27
28 I see the same behaviour if I use /dev/ttyS1 (the system has 2 serial
29 ports).
30
31 I'm using vanilla-sources-2.6.16_rc1, which has otherwise worked
32 flawlessy until now.
33
34 In my kernel config, i have
35
36 # CONFIG_MOUSE_SERIAL is not set
37 # CONFIG_SERIAL_NONSTANDARD is not set
38 # Serial drivers
39 # Non-8250 serial port support
40 CONFIG_SERIAL_SUNCORE=y
41 # CONFIG_SERIAL_SUNZILOG is not set
42 # CONFIG_SERIAL_SUNSU is not set
43 CONFIG_SERIAL_SUNSAB=y
44 # CONFIG_SERIAL_SUNSAB_CONSOLE is not set
45 CONFIG_SERIAL_CORE=y
46 CONFIG_SERIAL_CORE_CONSOLE=y
47
48 Is the serial port on this box a RS232?
49
50 I'm not a sparc guru, so I'm probably missing something here.
51 Thanks for any help.
52 --
53 gentoo-sparc@g.o mailing list