Gentoo Archives: gentoo-sparc

From: "张韡武" <zhangweiwu@××××××.com>
To: gentoo-sparc@l.g.o
Subject: Re: [gentoo-sparc] updated list of problems I got after upgrading kernel to 2.6
Date: Wed, 20 Dec 2006 09:58:45
Message-Id: 1166608711.4521.13.camel@joe.realss.com
In Reply to: [gentoo-sparc] updated list of problems I got after upgrading kernel to 2.6 by "张韡武"
1 I know such message may be a bit noise to gurus on this list, but as a
2 newbie I constantly find searching other people's old post might help,
3 so I just write done solution to all problems I have solved, hoping it
4 can help the next newbie lurking on this list or coming to this list by
5 googling around.
6
7 I. [solved] keyboard doesn't work: solved, need to adjust keymap
8 (thank you for suggested this);
9 II. [solved] not able to access /dev/hda, probably new kernel
10 does not recognise on-board IDE controller. Related kernel
11 parameter I configured are:
12 I. CONFIG_SUN_PARTITION: y
13 II. CONFIG_BLK_DEV_SIIMAGE: y
14 ==> solution is to activate CONFIG_BLK_DEV_CMD64X kernel option
15
16 III. [given up] parallel port stopped working, it behave
17 like /dev/null (swallow all input to it, no error message,
18 printer no response). /dev/lp0 is not mentioned in dmesg. I
19 remember on 2.4 kernel I use "PC-style Parallel Port" and it
20 works in ECP mode. Related kernel parameter I configured are:
21 I. CONFIG_PARPORT: y
22 II. CONFIG_PARPORT_PC: y
23 III. CONFIG_PARPORT_PC_FIFO: y
24 IV. CONFIG_PARPORT_1284: y
25 ==> progress: after re-creating /dev/lp0 node it works a bit
26 better
27 dmesg | head -n 4 > /dev/lp0 would print something out
28 dmesg | head -n 40 > /dev/lp0 would hang the OS
29 my plan: next step is to text various parameter of parport
30
31 IV. [solved] USB Printer do not work. dmesg shows it detected
32 USB Printer but no device appear in /dev/usb. Related Kernel
33 Parameter:
34 I. CONFIG_USB_PRINTER: y
35 ==> solution is to run this command as root:
36 # mknode /dev/usblp0 c 180 0
37 and set cups to use /dev/usblp0 for printer
38
39 V. [almost given up] all ALSA sound driver are enabled, dmesg
40 said Sun CS4231 is detected and use irq 10. Try to play mp3 file
41 using madplay, it hangs there after display song title, no sound
42 output, kill -TERM and kill -KILL cannot remove the dead
43 mplayer. Related kernel config:
44 I. CONFIG_SND: y
45 II. CONFIG_SND_SUN_CS4231: y
46 ==> current progress: will try using different kernel following
47 suggestions on the list or try alsa-driver package
48 VI. [no clue yet] serial port doesn't work. I need serial port in
49 order to manage another headless server with this machine acting
50 as dumb terminal (using minicom).
51 dmesg shows no ttyS device. 'MAKEDEV update' can
52 create /dev/ttyS0 and /dev/ttys1 but accessing these
53 devices is not possible:
54 sappho zhangweiwu # cat /dev/ttyS1
55 cat: /dev/ttyS1: No such device or address
56 I have enabled following options in kernel:
57 sappho linux # grep -i serial .config
58 # CONFIG_SERIAL_NONSTANDARD is not set
59 # Non-8250 serial port support
60 CONFIG_SERIAL_SUNCORE=y
61 CONFIG_SERIAL_SUNZILOG=y
62 CONFIG_SERIAL_SUNSU=y
63 CONFIG_SERIAL_SUNSAB=m
64 CONFIG_SERIAL_SUNHV=y
65 CONFIG_SERIAL_CORE=y
66 CONFIG_SERIAL_JSM=y

Attachments

File name MIME type
signature.asc application/pgp-signature