Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-sparc
Navigation:
Lists: gentoo-sparc: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-sparc@g.o
From: 张韡武 <zhangweiwu@...>
Subject: serial port do not work after upgrading to 2.6 version kernel
Date: Wed, 20 Dec 2006 18:10:08 +0800
Having kernel upgraded to 2.6 shows that managing Linux on sparc is far
beyond my skill level. At first nothing works (including harddisk not
found, monitor having bad framebuffer, keyboard junk code, silo doesn't
boot, sound card stop working, usb printer stop working, parallel port
doesn't work, serial port doesn't work, CDROM not detected). Luckily
after working hardly on a lot of weekend days I have solved most of them
(easy problems not asked the list) and given up some of them. Hope I did
leveled up my skill and don't have to go through these again ;(

Here is it: basically I am completely clueless why serial port doesn't
work, dmesg do not show ttyS device being detected, looks like I don't
have proper driver. I have enabled all serial port driver I can find in
kernel config except "Non-Standard" because the document says
Non-standard is for some cards that have a lot of serial ports on it.
Here is the kernel config segment:

                        # CONFIG_SERIAL_NONSTANDARD is not set
                        # Non-8250 serial port support
                        CONFIG_SERIAL_SUNCORE=y
                        CONFIG_SERIAL_SUNZILOG=y
                        CONFIG_SERIAL_SUNSU=y
                        CONFIG_SERIAL_SUNSAB=m
                        CONFIG_SERIAL_SUNHV=y
                        CONFIG_SERIAL_CORE=y
                        CONFIG_SERIAL_JSM=y
My uname:
sappho linux # uname -a
Linux sappho.realss.com 2.6.18-gentoo-r3 #15 Wed Dec 20 06:28:31 HKT
2006 sparc64 sun4u TI UltraSparc IIi (Sabre) GNU/Linux

My box is UltraSparc 5

Following is the dmesg 

[    0.000000] PROMLIB: Sun IEEE Boot Prom 'OBP 3.15.2 1998/11/10 10:35'
[    0.000000] PROMLIB: Root node compatible: 
[    0.000000] Linux version 2.6.18-gentoo-r3 (root@...) (gcc version 3.4.5 (Gentoo Linux 3.4.5)) #15 Wed Dec 20 06:28:31 HKT 2006
[    0.000000] ARCH: SUN4U
[    0.000000] Ethernet address: 08:00:20:b0:99:30
[    0.000000] PROM: Built device tree with 48681 bytes of memory.
[    0.000000] On node 0 totalpages: 32157
[    0.000000]   DMA zone: 32157 pages, LIFO batch:7
[    0.000000] CPU[0]: Caches D[sz(16384):line_sz(32)] I[sz(16384):line_sz(32)] E[sz(2097152):line_sz(64)]
[    0.000000] Built 1 zonelists.  Total pages: 32157
[    0.000000] Kernel command line: root=/dev/sda2
[    0.000000] PID hash table entries: 1024 (order: 10, 8192 bytes)
[    0.203971] Console: colour dummy device 80x25
[    0.205679] Dentry cache hash table entries: 32768 (order: 5, 262144 bytes)
[    0.207217] Inode-cache hash table entries: 16384 (order: 4, 131072 bytes)
[    0.221015] Memory: 254672k available (2480k kernel code, 952k data, 112k init) [fffff80000000000,0000000017f46000]
[    0.299437] Calibrating delay using timer specific routine.. 666.36 BogoMIPS (lpj=1332721)
[    0.299881] Mount-cache hash table entries: 512
[    0.303251] NET: Registered protocol family 16
[    0.314526] PCI: Probing for controllers.
[    0.318162] /pci@1f,0/pci@1,1: SABRE PCI Bus Module
[    0.318210] /pci@1f,0/pci@1: SABRE PCI Bus Module
[    0.323285] PCI0(PBMA): Bus running at 33MHz
[    0.323531] PCI0(PBMB): Bus running at 33MHz
[    0.323678] ebus0: [auxio] [power] [SUNW,pll] [se] [su] [su] [ecpp] [fdthree] [eeprom] [flashprom] [SUNW,CS4231]
[    0.327074] power: Control reg at 1fff1724000 ... powerd running.
[    0.328830] SCSI subsystem initialized
[    0.329169] usbcore: registered new driver usbfs
[    0.329441] usbcore: registered new driver hub
[    0.330427] AUXIO: Found device at /pci@1f,0/pci@1,1/ebus@1/auxio@14,726000
[    0.330754] /pci@1f,0/pci@1,1/ebus@1/eeprom@14,0: Clock regs at 000001fff1000000
[    0.332840] NET: Registered protocol family 2
[    0.367764] IP route cache hash table entries: 2048 (order: 1, 16384 bytes)
[    0.368539] TCP established hash table entries: 8192 (order: 3, 65536 bytes)
[    0.368985] TCP bind hash table entries: 4096 (order: 2, 32768 bytes)
[    0.369234] TCP: Hash tables configured (established 8192 bind 4096)
[    0.369275] TCP reno registered
[    0.376086] Total HugeTLB memory allocated, 0
[    0.377902] Initializing Cryptographic API
[    0.377978] io scheduler noop registered
[    0.378053] io scheduler anticipatory registered (default)
[    0.378134] io scheduler deadline registered
[    0.378269] io scheduler cfq registered
[    2.824179] Console: switching to mono PROM 80x34
[    5.277834] lp: driver loaded but no devices found
[    5.324928] rtc_init: no PC rtc found
[    5.365014] /pci@1f,0/pci@1,1/ebus@1/su@14,3083f8: Keyboard port at 1fff13083f8, irq 6
[    5.456878] /pci@1f,0/pci@1,1/ebus@1/su@14,3062f8: Mouse port at 1fff13062f8, irq 7
[    5.547195] parport0: PC-style at 0x1fff13043bc (0x1fff13047bc), irq 8, dma 0 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
[    5.795348] parport0: Printer, Hewlett-Packard hp LaserJet 3015
[    5.962428] lp0: using parport0 (interrupt-driven).
[    6.098467] mice: PS/2 mouse device common for all mice
[    6.237219] sunhme.c:v3.00 June 23, 2006 David S. Miller (davem@...)
[    6.499529] eth0: HAPPY MEAL (PCI/CheerIO) 10/100BaseT Ethernet 08:00:20:b0:99:30 
[    6.849135] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[    6.994464] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[    7.261844] CMD646: IDE controller at PCI slot 0000:01:03.0
[    7.401692] CMD646: chipset revision 3
[    7.529147] CMD646: chipset revision 0x03, MultiWord DMA Force Limited
[    7.688299] CMD646: 100% native mode on irq 14
[    7.820465]     ide0: BM-DMA at 0x1fe02c00020-0x1fe02c00027, BIOS settings: hda:pio, hdb:pio
[    8.103428]     ide1: BM-DMA at 0x1fe02c00028-0x1fe02c0002f, BIOS settings: hdc:pio, hdd:pio
[    8.386412] Probing IDE interface ide0...
[    8.395972] input: Sun Type 127 keyboard as /class/input/input0
[    8.539187] input: Sun Mouse as /class/input/input1
[    8.895395] hda: QUANTUM FIREBALL1280A, ATA DISK drive
[    9.715529] ide0 at 0x1fe02c00000-0x1fe02c00007,0x1fe02c0000a on irq 14
[    9.864016] Probing IDE interface ide1...
[   10.263347] hdc: CRD-8322B, ATAPI CD/DVD-ROM drive
[   11.103237] ide1 at 0x1fe02c00010-0x1fe02c00017,0x1fe02c0001a on irq 14 (shared with ide0)
[   11.386477] hda: max request size: 128KiB
[   11.515740] hda: 2503872 sectors (1281 MB) w/83KiB Cache, CHS=2484/16/63, DMA
[   11.714677]  hda: hda1 hda2 hda3
[   11.885917] hdc: ATAPI 32X CD-ROM drive, 128kB Cache
[   12.069794] Uniform CD-ROM driver Revision: 3.20
[   12.207100] libata version 2.00 loaded.
[   12.207357] sata_via 0000:02:02.0: version 2.0
[   12.207393] PCI: VIA IRQ fixup for 0000:02:02.0, from 18 to 2
[   12.348536] sata_via 0000:02:02.0: routed to hard irq line 2
[   12.489469] ata1: SATA max UDMA/133 cmd 0x1FE02000400 ctl 0x1FE0200040A bmdma 0x1FE02000440 irq 18
[   12.763530] ata2: SATA max UDMA/133 cmd 0x1FE02000410 ctl 0x1FE0200041A bmdma 0x1FE02000448 irq 18
[   13.037135] scsi0 : sata_via
[   13.467135] ata1: SATA link down (SStatus 0 SControl 310)
[   13.616533] ATA: abnormal status 0x7F on port 0x1FE02000407
[   13.756713] scsi1 : sata_via
[   14.343131] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[   14.488272] ata2.00: ATA-7, max UDMA/133, 625140335 sectors: LBA48 NCQ (depth 0/32)
[   14.753939] ata2.00: configured for UDMA/133
[   14.885362]   Vendor: ATA       Model: ST3320620AS       Rev: 3.AA
[   15.381079]   Type:   Direct-Access                      ANSI SCSI revision: 05
[   15.656911] SCSI device sda: 625140335 512-byte hdwr sectors (320072 MB)
[   15.804841] sda: Write Protect is off
[   15.931775] sda: Mode Sense: 00 3a 00 00
[   15.931919] SCSI device sda: drive cache: write back
[   16.067931] SCSI device sda: 625140335 512-byte hdwr sectors (320072 MB)
[   16.215777] sda: Write Protect is off
[   16.342566] sda: Mode Sense: 00 3a 00 00
[   16.342705] SCSI device sda: drive cache: write back
[   16.478436]  sda: sda1 sda2 sda3
[   16.646190] sd 1:0:0:0: Attached scsi disk sda
[   16.778800] rtc_sun_init: Registered Mostek RTC driver.
[   16.916476] ehci_hcd 0000:02:01.2: EHCI Host Controller
[   17.054465] ehci_hcd 0000:02:01.2: new USB bus registered, assigned bus number 1
[   17.339053] ehci_hcd 0000:02:01.2: irq 17, io mem 0x1ff00006000
[   17.481368] ehci_hcd 0000:02:01.2: USB 2.0 started, EHCI 0.95, driver 10 Dec 2004
[   17.744822] usb usb1: configuration #1 chosen from 1 choice
[   17.884866] hub 1-0:1.0: USB hub found
[   18.012299] hub 1-0:1.0: 5 ports detected
[   18.243612] ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
[   18.243883] ohci_hcd 0000:02:01.0: OHCI Host Controller
[   18.381694] ohci_hcd 0000:02:01.0: new USB bus registered, assigned bus number 2
[   18.644045] ohci_hcd 0000:02:01.0: irq 15, io mem 0x1ff00002000
[   19.346071] usb usb2: configuration #1 chosen from 1 choice
[   19.486159] hub 2-0:1.0: USB hub found
[   19.613645] hub 2-0:1.0: 3 ports detected
[   19.946976] usb 1-2: new high speed USB device using ehci_hcd and address 3
[   20.229681] usb 1-2: configuration #1 chosen from 1 choice
[   20.386393] ohci_hcd 0000:02:01.1: OHCI Host Controller
[   20.543129] ohci_hcd 0000:02:01.1: new USB bus registered, assigned bus number 3
[   20.836751] ohci_hcd 0000:02:01.1: irq 16, io mem 0x1ff00004000
[   21.545922] usb usb3: configuration #1 chosen from 1 choice
[   21.686103] hub 3-0:1.0: USB hub found
[   21.813624] hub 3-0:1.0: 2 ports detected
[   22.250918] usb 2-1: new full speed USB device using ohci_hcd and address 2
[   22.566857] usb 2-1: configuration #1 chosen from 1 choice
[   22.837024] drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 3 if 1 alt 0 proto 2 vid 0x04B8 pid 0x081E
[   23.161443] drivers/usb/class/usblp.c: usblp1: USB Bidirectional printer dev 2 if 0 alt 1 proto 2 vid 0x03F0 pid 0x1617
[   23.458427] usbcore: registered new driver usblp
[   23.591695] drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
[   23.751068] Initializing USB Mass Storage driver...
[   24.290868] usb 2-3: new low speed USB device using ohci_hcd and address 3
[   24.608492] usb 2-3: configuration #1 chosen from 1 choice
[   24.755588] scsi2 : SCSI emulation for USB Mass Storage devices
[   24.898289] usbcore: registered new driver usb-storage
[   25.035337] USB Mass Storage support registered.
[   25.168908] usb-storage: device found at 3
[   25.168927] usb-storage: waiting for device to settle before scanning
[   25.169125] usbcore: registered new driver hiddev
[   25.311793] input: CHESEN PS2 to USB Converter as /class/input/input2
[   25.457968] input: USB HID v1.10 Keyboard [CHESEN PS2 to USB Converter] on usb-0000:02:01.0-3
[   25.877432] input: CHESEN PS2 to USB Converter as /class/input/input3
[   26.023867] input: USB HID v1.10 Mouse [CHESEN PS2 to USB Converter] on usb-0000:02:01.0-3
[   26.316271] usbcore: registered new driver usbhid
[   26.450398] drivers/usb/input/hid-core.c: v2.6:USB HID core driver
[   26.595133] TCP bic registered
[   26.717814] NET: Registered protocol family 1
[   26.849447] NET: Registered protocol family 17
[   26.995116] EXT3-fs: INFO: recovery required on readonly filesystem.
[   27.140264] EXT3-fs: write access will be enabled during recovery.
[   29.244062] kjournald starting.  Commit interval 5 seconds
[   29.383858] EXT3-fs: sda2: orphan cleanup on readonly fs
[   29.536589] ext3_orphan_cleanup: deleting unreferenced inode 97547
[   29.536750] EXT3-fs: sda2: 1 orphan inode deleted
[   29.670800] EXT3-fs: recovery complete.
[   29.899010] EXT3-fs: mounted filesystem with ordered data mode.
[   30.041885] VFS: Mounted root (ext3 filesystem) readonly.
[   30.183081]   Vendor: EPSON     Model: Stylus Storage    Rev: 1.00
[   30.682883]   Type:   Direct-Access                      ANSI SCSI revision: 02
[   30.988131] sd 2:0:0:0: Attached scsi removable disk sdb
[   31.144340] usb-storage: device scan complete
[   33.366457] Adding 594352k swap on /dev/sda1.  Priority:-1 extents:1 across:594352k
[   34.445618] EXT3 FS on sda2, internal journal
[   55.168066] kjournald starting.  Commit interval 5 seconds
[   55.169064] EXT3 FS on sda3, internal journal
[   55.169094] EXT3-fs: mounted filesystem with ordered data mode.
[   71.169966] lp0: ECP mode
[   71.640250] lp0: ECP mode
[   71.674067] lp0: ECP mode
[   73.381718] eth0: Link is up using internal transceiver at 100Mb/s, Full Duplex.
[   75.167747] Unable to load NLS charset utf-8
[   75.167777] smbfs: failed to load nls 'utf-8'

Attachment:
signature.asc ( 这是信件的数 字签名部分)
Replies:
Re: serial port do not work after upgrading to 2.6 version kernel
-- Gustavo Zacarias
Re: serial port do not work after upgrading to 2.6 version kernel
-- Rafal Maszkowski
Navigation:
Lists: gentoo-sparc: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
alsa sound do not work on Ultrasparc 5
Next by thread:
Re: serial port do not work after upgrading to 2.6 version kernel
Previous by date:
Re: updated list of problems I got after upgrading kernel to 2.6
Next by date:
Re: serial port do not work after upgrading to 2.6 version kernel


Updated Jun 17, 2009

Summary: Archive of the gentoo-sparc mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.