Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] /dev/ttyS0 missing in kernel 2.6.31.7
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jagdpanther
l33t
l33t


Joined: 22 Nov 2003
Posts: 768

PostPosted: Sat Dec 12, 2009 2:54 pm    Post subject: [Solved] /dev/ttyS0 missing in kernel 2.6.31.7 Reply with quote

After upgrading from kernel 2.6.31.6 to 2.6.31.7 (I used make oldconfig, so the kernel config didn't change much & I am using the kernel from kernel.org not Gentoo's.) /dev/ttyS0 no longer exists. ttyS1-ttyS3 devices exist (although there are no hardware ports to associate with them.)

The following two lines did show up in messages:

1247 Dec 12 06:33:05 runner kernel: serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
1248 Dec 12 06:33:05 runner kernel: 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

So the kernel still sees the device but no ttyS0 entry in /dev/

Any ideas?

(If I revert to 2.6.31.6 /dev/ttyS0 returns.)


Last edited by jagdpanther on Tue Dec 15, 2009 8:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
01allein
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jun 2009
Posts: 127
Location: AUSTRALIA

PostPosted: Sun Dec 13, 2009 1:37 am    Post subject: Reply with quote

Why to use www.kernel.org instaead of Gentoos?

That way you save from problems.
Back to top
View user's profile Send private message
jagdpanther
l33t
l33t


Joined: 22 Nov 2003
Posts: 768

PostPosted: Sun Dec 13, 2009 3:10 am    Post subject: Reply with quote

Quote:
Why to use www.kernel.org instaead of Gentoos?



I guess this is a little off topic and I hope I do not ruffle any feathers with my last reason below but here are three reasons that I use http://www.kernel.org kernels instead of gentoo:

1. Sometimes I need the latest kernel for a new piece of hardware I am trying.

2. I like to run almost the latest kernel to see if there are kernel compatibility issues with certain pieces of software (Like VMware, VirtualBox, nmap etc.) that I support at work.

3. Kernel security issues seem to be addressed a little faster by using the latest stable kernel.org kernel.



Back to the topic ... any guesses on the lack of /dev/ttyS0?
Back to top
View user's profile Send private message
boerKrelis
Apprentice
Apprentice


Joined: 01 Jul 2003
Posts: 241
Location: The Netherlands

PostPosted: Sun Dec 13, 2009 9:37 pm    Post subject: Reply with quote

jagdpanther wrote:
Any ideas?

Well, here's a
Code:
# zgrep -i serial /proc/config.gz
# CONFIG_SERIAL_NONSTANDARD is not set
# Serial drivers
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_PCI=y
CONFIG_SERIAL_8250_PNP=y
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
# CONFIG_SERIAL_8250_EXTENDED is not set
# Non-8250 serial port support
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_JSM is not set
# CONFIG_USB_SERIAL is not set

from a vanilla
Code:

# uname -a
Linux xxxxx 2.6.32 #1 Thu Dec 3 13:11:21 CET 2009 i586 Geode(TM) Integrated Processor by AMD PCS AuthenticAMD GNU/Linux


which you could compare to your kernel config, as this one has a ttyS0 which I'm very much using ;-)
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23073

PostPosted: Tue Dec 15, 2009 2:55 am    Post subject: Reply with quote

Since the functional and non-functional kernels are from the same major release (2.6.31.x), it should be viable to compare their respective configurations with diff -u.
Back to top
View user's profile Send private message
jagdpanther
l33t
l33t


Joined: 22 Nov 2003
Posts: 768

PostPosted: Tue Dec 15, 2009 8:01 pm    Post subject: [Solved] /dev/ttyS0 missing in kernel 2.6.31.7 Reply with quote

Diffing the 2.6.31.6 vs 2.6.31.7 kernel configuration files was a good idea. However the only difference was the comment with the date and comment with the kernel version. (This makes sense because I configured 2.6.31.7 with "make oldconfig").

I solved the issue by upgrading to 2.6.31.8. (Was there a bug in .7?)

Thanks for the replies.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum