LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 02-27-2007, 09:50 AM   #1
mykeaster
LQ Newbie
 
Registered: Dec 2006
Posts: 1

Rep: Reputation: 0
PCI Serial Card Install in Debian Etch w/ kernel 2.6.19


Here's the skinny. I am trying to get a single port PCI serial device working under kernel 2.6.19. Below are the serial parameters out of the .config file. The reason I am working with 0 Runtime UARTs is to simulate installing when there are no onboard serial ports present, or if nodes have to be added.

Quote:
#
# Serial drivers
#
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_PCI=y
CONFIG_SERIAL_8250_PNP=y
CONFIG_SERIAL_8250_CS=m
CONFIG_SERIAL_8250_NR_UARTS=120
CONFIG_SERIAL_8250_RUNTIME_UARTS=0
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_MANY_PORTS=y
CONFIG_SERIAL_8250_SHARE_IRQ=y
I am trying to use a mknod and setserial approach to installing the card, but that does not seem to work. The following is a session of me trying to get something working with mknod and setserial. BTW the card is located at 0x9000 and IRQ 4, it uses a 16950 UART.

Quote:
stewie:~# ls -al /dev/ttyS*
ls: /dev/ttyS*: No such file or directory
stewie:~# mknod /dev/ttyS0 c 4 64
stewie:~# ls -al /dev/ttyS*
crw-r--r-- 1 root root 4, 64 2007-02-27 04:33 /dev/ttyS0
stewie:~# chmod 660 /dev/ttyS0
stewie:~# chgrp dialout /dev/ttyS0
stewie:~# ls -al /dev/ttyS*
crw-rw---- 1 root dialout 4, 64 2007-02-27 04:33 /dev/ttyS0
stewie:~# setserial /dev/ttyS0
/dev/ttyS0: No such device or address
stewie:~#
The output should list the UART, Port and IRQ as being unknown or none or 0 or something to that effect. Instead, No such device or address. That was method 1.
Method 2 was attempted using /sbin/MAKEDEV tty. The following is the information from that attempt.

Quote:
stewie:~# cd /dev
stewie:/dev# /sbin/MAKEDEV ttyS0
udev active, devices will be created in /dev/.static/dev/
stewie:/dev# cd .static/dev/
stewie:/dev/.static/dev# ls -al ttyS*
crw-rw---- 1 root dialout 4, 64 2007-02-27 04:37 ttyS0
stewie:/dev/.static/dev# setserial ttyS0
ttyS0: No such device or address
stewie:/dev/.static/dev#
Once again, no such device or address.

And finally some other pertinent system information:

lsmod: All though I do not believe it will be of much help since the 8250 support is compiled into the kernel.
Quote:
stewie:/dev/.static/dev# lsmod
Module Size Used by
nfs 213100 0
nfsd 203504 17
exportfs 5376 1 nfsd
lockd 56968 3 nfs,nfsd
nfs_acl 3584 2 nfs,nfsd
sunrpc 142012 13 nfs,nfsd,lockd,nfs_acl
appletalk 30768 0
ppdev 8836 0
lp 10948 0
thermal 13832 0
fan 4868 0
button 6800 0
processor 23340 1 thermal
ac 5380 0
battery 10116 0
ipv6 215776 8
dm_snapshot 16544 0
dm_mirror 19024 0
dm_mod 50584 2 dm_snapshot,dm_mirror
loop 15112 0
tsdev 7616 0
snd_ens1371 23200 0
gameport 14088 1 snd_ens1371
snd_rawmidi 21920 1 snd_ens1371
snd_seq_device 7820 1 snd_rawmidi
snd_ac97_codec 87456 1 snd_ens1371
snd_ac97_bus 2432 1 snd_ac97_codec
snd_pcm_oss 38432 0
snd_mixer_oss 15488 1 snd_pcm_oss
pcspkr 2944 0
via686a 15112 0
rtc 11700 0
psmouse 34440 0
snd_pcm 68360 3 snd_ens1371,snd_ac97_codec,snd_pcm_oss
snd_timer 19844 1 snd_pcm
3c59x 41256 0
snd 46692 8 snd_ens1371,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 7520 1 snd
i2c_isa 5376 1 via686a
i2c_viapro 8468 0
mii 5504 1 3c59x
serio_raw 6532 0
via_agp 9856 1
agpgart 29616 1 via_agp
snd_page_alloc 9864 1 snd_pcm
i2c_core 20496 3 via686a,i2c_isa,i2c_viapro
uhci_hcd 20616 0
shpchp 34460 0
pci_hotplug 29112 1 shpchp
parport_pc 32036 1
parport 32584 3 ppdev,lp,parport_pc
usbcore 120196 2 uhci_hcd
evdev 9344 1
ext3 120584 1
jbd 49064 1 ext3
ide_disk 15616 3
ide_generic 1536 0 [permanent]
cmd64x 10268 0 [permanent]
pdc202xx_new 8064 0 [permanent]
sc1200 6784 0 [permanent]
slc90e66 5120 0 [permanent]
cs5535 4352 0 [permanent]
aec62xx 6912 0 [permanent]
generic 5508 0 [permanent]
trm290 4228 0 [permanent]
via82cxxx 8708 0 [permanent]
it821x 7940 0 [permanent]
atiixp 5904 0 [permanent]
piix 9220 0 [permanent]
cs5520 4736 0 [permanent]
rz1000 2816 0 [permanent]
serverworks 8584 0 [permanent]
triflex 3840 0 [permanent]
cs5530 5248 0 [permanent]
siimage 11264 0 [permanent]
hpt34x 5248 0 [permanent]
sis5513 12936 0 [permanent]
hpt366 17280 0 [permanent]
alim15x3 11532 0 [permanent]
pdc202xx_old 9728 0 [permanent]
cy82c693 4484 0 [permanent]
amd74xx 13596 0 [permanent]
ns87415 4296 0 [permanent]
opti621 4228 0 [permanent]
ide_core 109448 29 ide_disk,ide_generic,cmd64x,pdc202xx_new,sc1200,slc90e66,cs5535,aec62xx,generic,trm290,via82cxxx,it8 21x,atiixp,piix,cs5520,rz1000,serverworks,triflex,cs5530,siimage,hpt34x,sis5513,hpt366,alim15x3,pdc2 02xx_old,cy82c693,amd74xx,ns87415,opti621
stewie:/dev/.static/dev#
If there is any more information that could help yield a solution, please don't hesitate to ask. I would really like to get this figured out.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PCI Serial Card queston. itjackie Fedora 0 10-24-2006 04:25 AM
RH doesn't detect my Serial modem connected to a PCI Serial card ricky_ds Linux - Hardware 1 08-17-2006 03:37 PM
debian -install-x86_amd64-possible pci-express card problem digitman Debian 1 04-23-2006 07:06 PM
SUSE 9.1 install problems with Maxtor Serial ATA/150 pci card but my old 9.0 found it Drewer Linux - Hardware 5 08-18-2004 08:22 PM
Urgent help needed to install old PCI card under kernel 2.4.20-8smp bcj Linux - Hardware 2 06-15-2004 01:14 AM


All times are GMT -5. The time now is 05:36 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration