Gentoo Archives: gentoo-sparc

From: "张韡武" <zhangweiwu@××××××.com>
To: gentoo-sparc@l.g.o
Subject: [gentoo-sparc] serial port do not work after upgrading to 2.6 version kernel
Date: Wed, 20 Dec 2006 10:10:25
Message-Id: 1166609408.4521.24.camel@joe.realss.com
1 Having kernel upgraded to 2.6 shows that managing Linux on sparc is far
2 beyond my skill level. At first nothing works (including harddisk not
3 found, monitor having bad framebuffer, keyboard junk code, silo doesn't
4 boot, sound card stop working, usb printer stop working, parallel port
5 doesn't work, serial port doesn't work, CDROM not detected). Luckily
6 after working hardly on a lot of weekend days I have solved most of them
7 (easy problems not asked the list) and given up some of them. Hope I did
8 leveled up my skill and don't have to go through these again ;(
9
10 Here is it: basically I am completely clueless why serial port doesn't
11 work, dmesg do not show ttyS device being detected, looks like I don't
12 have proper driver. I have enabled all serial port driver I can find in
13 kernel config except "Non-Standard" because the document says
14 Non-standard is for some cards that have a lot of serial ports on it.
15 Here is the kernel config segment:
16
17 # CONFIG_SERIAL_NONSTANDARD is not set
18 # Non-8250 serial port support
19 CONFIG_SERIAL_SUNCORE=y
20 CONFIG_SERIAL_SUNZILOG=y
21 CONFIG_SERIAL_SUNSU=y
22 CONFIG_SERIAL_SUNSAB=m
23 CONFIG_SERIAL_SUNHV=y
24 CONFIG_SERIAL_CORE=y
25 CONFIG_SERIAL_JSM=y
26 My uname:
27 sappho linux # uname -a
28 Linux sappho.realss.com 2.6.18-gentoo-r3 #15 Wed Dec 20 06:28:31 HKT
29 2006 sparc64 sun4u TI UltraSparc IIi (Sabre) GNU/Linux
30
31 My box is UltraSparc 5
32
33 Following is the dmesg
34
35 [ 0.000000] PROMLIB: Sun IEEE Boot Prom 'OBP 3.15.2 1998/11/10 10:35'
36 [ 0.000000] PROMLIB: Root node compatible:
37 [ 0.000000] Linux version 2.6.18-gentoo-r3 (root@×××××××××××××.com) (gcc version 3.4.5 (Gentoo Linux 3.4.5)) #15 Wed Dec 20 06:28:31 HKT 2006
38 [ 0.000000] ARCH: SUN4U
39 [ 0.000000] Ethernet address: 08:00:20:b0:99:30
40 [ 0.000000] PROM: Built device tree with 48681 bytes of memory.
41 [ 0.000000] On node 0 totalpages: 32157
42 [ 0.000000] DMA zone: 32157 pages, LIFO batch:7
43 [ 0.000000] CPU[0]: Caches D[sz(16384):line_sz(32)] I[sz(16384):line_sz(32)] E[sz(2097152):line_sz(64)]
44 [ 0.000000] Built 1 zonelists. Total pages: 32157
45 [ 0.000000] Kernel command line: root=/dev/sda2
46 [ 0.000000] PID hash table entries: 1024 (order: 10, 8192 bytes)
47 [ 0.203971] Console: colour dummy device 80x25
48 [ 0.205679] Dentry cache hash table entries: 32768 (order: 5, 262144 bytes)
49 [ 0.207217] Inode-cache hash table entries: 16384 (order: 4, 131072 bytes)
50 [ 0.221015] Memory: 254672k available (2480k kernel code, 952k data, 112k init) [fffff80000000000,0000000017f46000]
51 [ 0.299437] Calibrating delay using timer specific routine.. 666.36 BogoMIPS (lpj=1332721)
52 [ 0.299881] Mount-cache hash table entries: 512
53 [ 0.303251] NET: Registered protocol family 16
54 [ 0.314526] PCI: Probing for controllers.
55 [ 0.318162] /pci@1f,0/pci@1,1: SABRE PCI Bus Module
56 [ 0.318210] /pci@1f,0/pci@1: SABRE PCI Bus Module
57 [ 0.323285] PCI0(PBMA): Bus running at 33MHz
58 [ 0.323531] PCI0(PBMB): Bus running at 33MHz
59 [ 0.323678] ebus0: [auxio] [power] [SUNW,pll] [se] [su] [su] [ecpp] [fdthree] [eeprom] [flashprom] [SUNW,CS4231]
60 [ 0.327074] power: Control reg at 1fff1724000 ... powerd running.
61 [ 0.328830] SCSI subsystem initialized
62 [ 0.329169] usbcore: registered new driver usbfs
63 [ 0.329441] usbcore: registered new driver hub
64 [ 0.330427] AUXIO: Found device at /pci@1f,0/pci@1,1/ebus@1/auxio@14,726000
65 [ 0.330754] /pci@1f,0/pci@1,1/ebus@1/eeprom@14,0: Clock regs at 000001fff1000000
66 [ 0.332840] NET: Registered protocol family 2
67 [ 0.367764] IP route cache hash table entries: 2048 (order: 1, 16384 bytes)
68 [ 0.368539] TCP established hash table entries: 8192 (order: 3, 65536 bytes)
69 [ 0.368985] TCP bind hash table entries: 4096 (order: 2, 32768 bytes)
70 [ 0.369234] TCP: Hash tables configured (established 8192 bind 4096)
71 [ 0.369275] TCP reno registered
72 [ 0.376086] Total HugeTLB memory allocated, 0
73 [ 0.377902] Initializing Cryptographic API
74 [ 0.377978] io scheduler noop registered
75 [ 0.378053] io scheduler anticipatory registered (default)
76 [ 0.378134] io scheduler deadline registered
77 [ 0.378269] io scheduler cfq registered
78 [ 2.824179] Console: switching to mono PROM 80x34
79 [ 5.277834] lp: driver loaded but no devices found
80 [ 5.324928] rtc_init: no PC rtc found
81 [ 5.365014] /pci@1f,0/pci@1,1/ebus@1/su@14,3083f8: Keyboard port at 1fff13083f8, irq 6
82 [ 5.456878] /pci@1f,0/pci@1,1/ebus@1/su@14,3062f8: Mouse port at 1fff13062f8, irq 7
83 [ 5.547195] parport0: PC-style at 0x1fff13043bc (0x1fff13047bc), irq 8, dma 0 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
84 [ 5.795348] parport0: Printer, Hewlett-Packard hp LaserJet 3015
85 [ 5.962428] lp0: using parport0 (interrupt-driven).
86 [ 6.098467] mice: PS/2 mouse device common for all mice
87 [ 6.237219] sunhme.c:v3.00 June 23, 2006 David S. Miller (davem@×××××××××.net)
88 [ 6.499529] eth0: HAPPY MEAL (PCI/CheerIO) 10/100BaseT Ethernet 08:00:20:b0:99:30
89 [ 6.849135] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
90 [ 6.994464] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
91 [ 7.261844] CMD646: IDE controller at PCI slot 0000:01:03.0
92 [ 7.401692] CMD646: chipset revision 3
93 [ 7.529147] CMD646: chipset revision 0x03, MultiWord DMA Force Limited
94 [ 7.688299] CMD646: 100% native mode on irq 14
95 [ 7.820465] ide0: BM-DMA at 0x1fe02c00020-0x1fe02c00027, BIOS settings: hda:pio, hdb:pio
96 [ 8.103428] ide1: BM-DMA at 0x1fe02c00028-0x1fe02c0002f, BIOS settings: hdc:pio, hdd:pio
97 [ 8.386412] Probing IDE interface ide0...
98 [ 8.395972] input: Sun Type 127 keyboard as /class/input/input0
99 [ 8.539187] input: Sun Mouse as /class/input/input1
100 [ 8.895395] hda: QUANTUM FIREBALL1280A, ATA DISK drive
101 [ 9.715529] ide0 at 0x1fe02c00000-0x1fe02c00007,0x1fe02c0000a on irq 14
102 [ 9.864016] Probing IDE interface ide1...
103 [ 10.263347] hdc: CRD-8322B, ATAPI CD/DVD-ROM drive
104 [ 11.103237] ide1 at 0x1fe02c00010-0x1fe02c00017,0x1fe02c0001a on irq 14 (shared with ide0)
105 [ 11.386477] hda: max request size: 128KiB
106 [ 11.515740] hda: 2503872 sectors (1281 MB) w/83KiB Cache, CHS=2484/16/63, DMA
107 [ 11.714677] hda: hda1 hda2 hda3
108 [ 11.885917] hdc: ATAPI 32X CD-ROM drive, 128kB Cache
109 [ 12.069794] Uniform CD-ROM driver Revision: 3.20
110 [ 12.207100] libata version 2.00 loaded.
111 [ 12.207357] sata_via 0000:02:02.0: version 2.0
112 [ 12.207393] PCI: VIA IRQ fixup for 0000:02:02.0, from 18 to 2
113 [ 12.348536] sata_via 0000:02:02.0: routed to hard irq line 2
114 [ 12.489469] ata1: SATA max UDMA/133 cmd 0x1FE02000400 ctl 0x1FE0200040A bmdma 0x1FE02000440 irq 18
115 [ 12.763530] ata2: SATA max UDMA/133 cmd 0x1FE02000410 ctl 0x1FE0200041A bmdma 0x1FE02000448 irq 18
116 [ 13.037135] scsi0 : sata_via
117 [ 13.467135] ata1: SATA link down (SStatus 0 SControl 310)
118 [ 13.616533] ATA: abnormal status 0x7F on port 0x1FE02000407
119 [ 13.756713] scsi1 : sata_via
120 [ 14.343131] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
121 [ 14.488272] ata2.00: ATA-7, max UDMA/133, 625140335 sectors: LBA48 NCQ (depth 0/32)
122 [ 14.753939] ata2.00: configured for UDMA/133
123 [ 14.885362] Vendor: ATA Model: ST3320620AS Rev: 3.AA
124 [ 15.381079] Type: Direct-Access ANSI SCSI revision: 05
125 [ 15.656911] SCSI device sda: 625140335 512-byte hdwr sectors (320072 MB)
126 [ 15.804841] sda: Write Protect is off
127 [ 15.931775] sda: Mode Sense: 00 3a 00 00
128 [ 15.931919] SCSI device sda: drive cache: write back
129 [ 16.067931] SCSI device sda: 625140335 512-byte hdwr sectors (320072 MB)
130 [ 16.215777] sda: Write Protect is off
131 [ 16.342566] sda: Mode Sense: 00 3a 00 00
132 [ 16.342705] SCSI device sda: drive cache: write back
133 [ 16.478436] sda: sda1 sda2 sda3
134 [ 16.646190] sd 1:0:0:0: Attached scsi disk sda
135 [ 16.778800] rtc_sun_init: Registered Mostek RTC driver.
136 [ 16.916476] ehci_hcd 0000:02:01.2: EHCI Host Controller
137 [ 17.054465] ehci_hcd 0000:02:01.2: new USB bus registered, assigned bus number 1
138 [ 17.339053] ehci_hcd 0000:02:01.2: irq 17, io mem 0x1ff00006000
139 [ 17.481368] ehci_hcd 0000:02:01.2: USB 2.0 started, EHCI 0.95, driver 10 Dec 2004
140 [ 17.744822] usb usb1: configuration #1 chosen from 1 choice
141 [ 17.884866] hub 1-0:1.0: USB hub found
142 [ 18.012299] hub 1-0:1.0: 5 ports detected
143 [ 18.243612] ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
144 [ 18.243883] ohci_hcd 0000:02:01.0: OHCI Host Controller
145 [ 18.381694] ohci_hcd 0000:02:01.0: new USB bus registered, assigned bus number 2
146 [ 18.644045] ohci_hcd 0000:02:01.0: irq 15, io mem 0x1ff00002000
147 [ 19.346071] usb usb2: configuration #1 chosen from 1 choice
148 [ 19.486159] hub 2-0:1.0: USB hub found
149 [ 19.613645] hub 2-0:1.0: 3 ports detected
150 [ 19.946976] usb 1-2: new high speed USB device using ehci_hcd and address 3
151 [ 20.229681] usb 1-2: configuration #1 chosen from 1 choice
152 [ 20.386393] ohci_hcd 0000:02:01.1: OHCI Host Controller
153 [ 20.543129] ohci_hcd 0000:02:01.1: new USB bus registered, assigned bus number 3
154 [ 20.836751] ohci_hcd 0000:02:01.1: irq 16, io mem 0x1ff00004000
155 [ 21.545922] usb usb3: configuration #1 chosen from 1 choice
156 [ 21.686103] hub 3-0:1.0: USB hub found
157 [ 21.813624] hub 3-0:1.0: 2 ports detected
158 [ 22.250918] usb 2-1: new full speed USB device using ohci_hcd and address 2
159 [ 22.566857] usb 2-1: configuration #1 chosen from 1 choice
160 [ 22.837024] drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 3 if 1 alt 0 proto 2 vid 0x04B8 pid 0x081E
161 [ 23.161443] drivers/usb/class/usblp.c: usblp1: USB Bidirectional printer dev 2 if 0 alt 1 proto 2 vid 0x03F0 pid 0x1617
162 [ 23.458427] usbcore: registered new driver usblp
163 [ 23.591695] drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
164 [ 23.751068] Initializing USB Mass Storage driver...
165 [ 24.290868] usb 2-3: new low speed USB device using ohci_hcd and address 3
166 [ 24.608492] usb 2-3: configuration #1 chosen from 1 choice
167 [ 24.755588] scsi2 : SCSI emulation for USB Mass Storage devices
168 [ 24.898289] usbcore: registered new driver usb-storage
169 [ 25.035337] USB Mass Storage support registered.
170 [ 25.168908] usb-storage: device found at 3
171 [ 25.168927] usb-storage: waiting for device to settle before scanning
172 [ 25.169125] usbcore: registered new driver hiddev
173 [ 25.311793] input: CHESEN PS2 to USB Converter as /class/input/input2
174 [ 25.457968] input: USB HID v1.10 Keyboard [CHESEN PS2 to USB Converter] on usb-0000:02:01.0-3
175 [ 25.877432] input: CHESEN PS2 to USB Converter as /class/input/input3
176 [ 26.023867] input: USB HID v1.10 Mouse [CHESEN PS2 to USB Converter] on usb-0000:02:01.0-3
177 [ 26.316271] usbcore: registered new driver usbhid
178 [ 26.450398] drivers/usb/input/hid-core.c: v2.6:USB HID core driver
179 [ 26.595133] TCP bic registered
180 [ 26.717814] NET: Registered protocol family 1
181 [ 26.849447] NET: Registered protocol family 17
182 [ 26.995116] EXT3-fs: INFO: recovery required on readonly filesystem.
183 [ 27.140264] EXT3-fs: write access will be enabled during recovery.
184 [ 29.244062] kjournald starting. Commit interval 5 seconds
185 [ 29.383858] EXT3-fs: sda2: orphan cleanup on readonly fs
186 [ 29.536589] ext3_orphan_cleanup: deleting unreferenced inode 97547
187 [ 29.536750] EXT3-fs: sda2: 1 orphan inode deleted
188 [ 29.670800] EXT3-fs: recovery complete.
189 [ 29.899010] EXT3-fs: mounted filesystem with ordered data mode.
190 [ 30.041885] VFS: Mounted root (ext3 filesystem) readonly.
191 [ 30.183081] Vendor: EPSON Model: Stylus Storage Rev: 1.00
192 [ 30.682883] Type: Direct-Access ANSI SCSI revision: 02
193 [ 30.988131] sd 2:0:0:0: Attached scsi removable disk sdb
194 [ 31.144340] usb-storage: device scan complete
195 [ 33.366457] Adding 594352k swap on /dev/sda1. Priority:-1 extents:1 across:594352k
196 [ 34.445618] EXT3 FS on sda2, internal journal
197 [ 55.168066] kjournald starting. Commit interval 5 seconds
198 [ 55.169064] EXT3 FS on sda3, internal journal
199 [ 55.169094] EXT3-fs: mounted filesystem with ordered data mode.
200 [ 71.169966] lp0: ECP mode
201 [ 71.640250] lp0: ECP mode
202 [ 71.674067] lp0: ECP mode
203 [ 73.381718] eth0: Link is up using internal transceiver at 100Mb/s, Full Duplex.
204 [ 75.167747] Unable to load NLS charset utf-8
205 [ 75.167777] smbfs: failed to load nls 'utf-8'

Attachments

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

Replies