Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

SPARC - installing a new USB PCI Card prob.

Need help with peripherals or devices?
Post Reply
Message
Author
dmoore0100
Posts: 8
Joined: 2005-12-08 23:12

SPARC - installing a new USB PCI Card prob.

#1 Post by dmoore0100 »

Hi,

I have a SPARC Ultra 10 with Debian 31r0a kernel 2.4.27-2-sparc64 running a KDE desktop. I want to hook up a usb printer (lexmark 3350 allinone). So I went out today and bought a 4 port USB PCI card. So obviiously it is not working anyone got any ideas?

The USB PCI card has a VIA UHCI chipset and is in PCI Slot #1, the jumper is in the default position. Plugged into the USB ports are the USB printer and a USB solidstate MP3 player.

SUN OPB Openboot extended diagnostics report
------------------------------------------------------------
nothing in PCI slot 1
nothing in PCI slot 2
nothing in PCI slot 3
nothing in PCI slot 4

(I don't attach too much significance to this since I figure the firmware in my PCI card is not OPB friendly.)

LINUX LSPCI reports
--------------------------

nautilus% lspci
0000:00:00.0 Host bridge: Sun Microsystems Computer Corp. Ultra IIi
0000:00:01.0 PCI bridge: Sun Microsystems Computer Corp. Simba Advanced PCI Bridge (rev 13)
0000:00:01.1 PCI bridge: Sun Microsystems Computer Corp. Simba Advanced PCI Bridge (rev 13)
0000:01:01.0 Bridge: Sun Microsystems Computer Corp. EBUS (rev 01)
0000:01:01.1 Ethernet controller: Sun Microsystems Computer Corp. Happy Meal (rev 01)
0000:01:02.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro 215GP (rev 5c)
0000:01:03.0 IDE interface: Silicon Image, Inc. (formerly CMD Technology Inc) PCI0646 (rev 03)

LINUX SCANPCI reports
------------------------------
nautilus% scanpci
No PCI devices found

I figured the card/s should have been detected here (BTW: I also have a cheapo 32b soundcard with 16b soundblaster legacy mode in slot1 - since I cannot get sun audio to work but that is another problem).

Q.1) why is the output from scanpci considerably different to lspci?

Linux DMESG reports
--------------------------
PROMLIB: Sun IEEE Boot Prom 3.25.3 2000/06/29 14:12
Linux version 2.4.27-2-sparc64 (root@sunfire) (gcc version 3.3.5 (Debian 1:3.3.\
5-12)) #1 Sun Apr 3 05:21:36 UTC 2005
ARCH: SUN4U
Ethernet address: 08:00:20:f5:4b:42
On node 0 totalpages: 130200
zone(0): 130974 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Found CPU 0 (node=f006cd8c,mid=0)
Found 1 CPU prom device tree node(s).
Kernel command line: root=/dev/hda2 ro
Console: colour dummy device 80x25
Calibrating delay loop... 878.18 BogoMIPS
Memory: 1029240k available (1880k kernel code, 296k data, 160k init) [fffff8000\
0000000,000000003ff3c000]
Dentry cache hash table entries: 131072 (order: 8, 2097152 bytes)
Inode cache hash table entries: 65536 (order: 7, 1048576 bytes)
Mount cache hash table entries: 512 (order: 0, 8192 bytes)
Buffer cache hash table entries: 65536 (order: 6, 524288 bytes)
Page-cache hash table entries: 131072 (order: 7, 1048576 bytes)
POSIX conformance testing by UNIFIX
PCI: Probing for controllers.
PCI: Found SABRE, main regs at 000001fe00000000, wsync at 000001fe00001c20
SABRE: Shared PCI config space at 000001fe01000000
SABRE: DVMA at c0000000 [20000000]
PCI0(PBMA): Bus running at 33MHz
PCI-IRQ: Routing bus[ 1] slot[ 1] map[0] to INO[21]
PCI-IRQ: Routing bus[ 1] slot[ 2] map[0] to INO[0f]
PCI-IRQ: Routing bus[ 1] slot[ 3] map[0] to INO[20]
PCI0(PBMB): Bus running at 33MHz
ebus0: [auxio] [power] [SUNW,pll] [se] [su] [su] [ecpp] [fdthree] [eeprom] [fla\
shprom] [SUNW,CS4231]
PCIO serial driver version 1.54
su(mouse) at 0x1fff13062f8 (irq = 4,7ea) is a 16550A
Sun Mouse-Systems mouse driver version 1.00
su(kbd) at 0x1fff13083f8 (irq = 9,7e9) is a 16550A
Sun TYPE 5 keyboard detected without keyclick
SAB82532 serial driver version 1.65
ttyS00 at 0x1fff1400000 (irq = 12,7eb) is a SAB82532 V3.2
ttyS01 at 0x1fff1400040 (irq = 12,7eb) is a SAB82532 V3.2
power: Control reg at 000001fff1724000 ... powerd running.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
Console: switching to colour frame buffer device 144x54
fb0: Creator 3D at 000001fc00000000 type 51 DAC 10
atyfb: 3D RAGE PRO (PQFP, PCI) [0x4750 rev 0x7c] 4M SGRAM, 14.31818 MHz XTAL, 2\
30 MHz PLL, 100 Mhz MCLK, 100 Mhz XCLK
fb1: ATY Mach64 frame buffer device on PCI
pty: 256 Unix98 ptys configured
rtc_init: no PC rtc found
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
CMD646: IDE controller at PCI slot 01:03.0
CMD646: chipset revision 3
CMD646: chipset revision 0x03, MultiWord DMA Force Limited
CMD646: 100% native mode on irq 4,7e0
ide0: BM-DMA at 0x1fe02c00020-0x1fe02c00027, BIOS settings: hda:pio, hdb:pi\
o
ide1: BM-DMA at 0x1fe02c00028-0x1fe02c0002f, BIOS settings: hdc:pio, hdd:pi\
o
hda: ST39120A, ATA DISK drive
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
hdc: CRD-8322B, ATAPI CD/DVD-ROM drive
ide0 at 0x1fe02c00000-0x1fe02c00007,0x1fe02c0000a on irq 4,7e0
ide1 at 0x1fe02c00010-0x1fe02c00017,0x1fe02c0001a on irq 4,7e0 (shared with ide\
0)
Partition check:
hda:end_request: I/O error, dev 03:00 (hda), sector 0
end_request: I/O error, dev 03:00 (hda), sector 2
end_request: I/O error, dev 03:00 (hda), sector 4
end_request: I/O error, dev 03:00 (hda), sector 6
end_request: I/O error, dev 03:00 (hda), sector 8
end_request: I/O error, dev 03:00 (hda), sector 10
end_request: I/O error, dev 03:00 (hda), sector 12
end_request: I/O error, dev 03:00 (hda), sector 14
end_request: I/O error, dev 03:00 (hda), sector 0
end_request: I/O error, dev 03:00 (hda), sector 2
end_request: I/O error, dev 03:00 (hda), sector 4
end_request: I/O error, dev 03:00 (hda), sector 6
end_request: I/O error, dev 03:00 (hda), sector 8
end_request: I/O error, dev 03:00 (hda), sector 10
end_request: I/O error, dev 03:00 (hda), sector 12
end_request: I/O error, dev 03:00 (hda), sector 14
unable to read partition table
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb.c: registered new driver usbmouse
usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
usb.c: registered new driver usbkbd
usbkbd.c: :USB HID Boot Protocol keyboard driver
mice: PS/2 mouse device common for all mice
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP: routing cache hash table of 16384 buckets, 128Kbytes
TCP: Hash tables configured (established 131072 bind 65536)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 2928 blocks [1 disk] into ram disk...
done.
Freeing initrd memory: 2928k freed
VFS: Mounted root (cramfs filesystem).
Unimplemented SPARC system call 188
Unimplemented SPARC system call 188
Unimplemented SPARC system call 188
Unimplemented SPARC system call 188
Unimplemented SPARC system call 188
Unimplemented SPARC system call 188
hda: attached ide-disk driver.
hda: 17803297 sectors (9115 MB) w/512KiB Cache, CHS=17662/16/63, (U)DMA
/dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4
Journalled Block Device driver loaded
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Adding Swap: 410240k swap-space (priority -1)
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,2), internal journal
hdc: attached ide-cdrom driver.
hdc: ATAPI 32X CD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.12
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
sunhme.c:v2.01 26/Mar/2002 David S. Miller (davem@redhat.com)
eth0: HAPPY MEAL (PCI/CheerIO) 10/100BaseT Ethernet 08:00:20:f5:4b:42
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
hci.c: USB Universal Host Controller Interface driver v1.1
usb-uhci.c: $Revision: 1.275 $ time 05:43:23 Apr 3 2005
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
eth0: Link is up using internal transceiver at 10Mb/s, Half Duplex.
lp: driver loaded but no devices found
NET4: AppleTalk 0.18a for Linux NET4.0
sys32_ioctl(atalkd:835): Unknown cmd fd(3) cmd(00008936) arg(effffb90)
sys32_ioctl(atalkd:835): Unknown cmd fd(3) cmd(000089e0) arg(effffb90)
sys32_ioctl(atalkd:835): Unknown cmd fd(3) cmd(00008936) arg(effffb90)
sys32_ioctl(atalkd:835): Unknown cmd fd(3) cmd(000089e0) arg(effffb90)
sunmouse: Successfully adjusted to 1200 baud.
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers

Dmesg is confusing here because

Q.2) USB HCI loads but device support was not picked up under an LSPCI?

Q.3) I'm using a standard Sun Type5 KBD previously detected but later USB HID decides to load? what is going on?

Linux LSMOD reports
---------------------------
Module Size Used by Not tainted
soundcore 4588 0 (autoclean)
appletalk 23680 12 (autoclean)
psnap 1400 0 (autoclean) [appletalk]
p8022 1328 0 (autoclean) [psnap]
lp 7832 0 (autoclean)
parport 32640 0 (autoclean) [lp]
hid 17368 0 (unused)
ide-scsi 11072 0
scsi_mod 96408 1 [ide-scsi]
sunhme 24968 1
crc32 3488 0 [sunhme]
ide-cd 33120 0
cdrom 29096 0 [ide-cd]
ext3 88632 2 (autoclean)
jbd 44344 2 (autoclean) [ext3]
ide-disk 16032 3 (autoclean)

So I can't use any of the USB devices, either print or mount the mp3 player - any ideas?? Am I missing something/doing something wrong or is this never going to work on SPARC

Best regards
David.

Harold
Posts: 1482
Joined: 2005-01-07 00:15
Been thanked: 3 times

#2 Post by Harold »

I suggest that you first upgrade to the kernel 2.6, which is much more likely to properly support USB (and everything else). apt-get update && apt-get install kernel-image-2.6-sparc64

I don't use usb. I think that there are a couple of packages that need to be installed but are not installed by default. You might want to do apt-get install usbmgr usbmount usbutils usbview

I took a quick look at linuxprinting.org ( http://linuxprinting.org/printer_list.cgi?make=Lexmark ) and there is no listing for your printer. However, all-in-one printers generally don't work very well with Linux.

dmoore0100
Posts: 8
Joined: 2005-12-08 23:12

SPARC PCI USB problem

#3 Post by dmoore0100 »

Hi,

>>I suggest that you first upgrade to the kernel 2.6, which is much more likely to properly >>support USB (and everything else). apt-get update && apt-get install >>kernel-image-2.6-sparc64

Tried the 2.6 kernel on my SPARC 64 and it locks up my system very early in the boot - and did strange stuff to my video. I tried also single user mode but made no difference. Had to go back to the 2.4 kernel -- maybe my apt-get update didn't go so well?

nautilus:/home/dave# apt-get update
Get:1 http://security.debian.org stable/updates/main Packages [155kB]
Get:2 http://ftp.debian.org stable/main Packages [3260kB]
Hit http://security.debian.org stable/updates/main Release
Hit http://ftp.debian.org stable/main Release
Err http://ftp.debian.org stable/testing Packages
404 Not Found
Ign http://ftp.debian.org stable/testing Release
Hit http://ftp.debian.org stable/main Sources
Hit http://ftp.debian.org stable/main Release
Fetched 3415kB in 35s (95.2kB/s)
Failed to fetch http://ftp.debian.org/debian/dists/stab ... ackages.gz 404 Not Found
Reading Package Lists... Done

>>I don't use usb. I think that there are a couple of packages that need to be installed but >>are not installed by default. You might want to do apt-get install usbmgr usbmount >>usbutils usbview

Yeah I already had this stuff installed on my 2.4 kernel - obviously it doesn't make much difference in my case.

Can I take this mean that there are very few people running SPARC Linux and even fewer of them have tried to hook up a printer, and even fewer via a method other than USB .. If so that sounds very interesting..... is anyone doing any SPARC/LINUX Printing?

>>I took a quick look at linuxprinting.org ( >>http://linuxprinting.org/printer_list.cgi?make=Lexmark ) and there is no listing for your >>printer. However, all-in-one printers generally don't work very well with Linux.

My KDE desktop add printer wizard lists a Lexmark 2250 which although older than my 3350 I didn't think there would be much difference between the two.

Post Reply