Re: Christmas list for the kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 23 November 2005 09:44, Vojtech Pavlik wrote:
>On Tue, Nov 22, 2005 at 04:41:02PM -0500, Jon Smirl wrote:
>> On 11/22/05, Kasper Sandberg <[email protected]> wrote:
>> > > Currently you have to compile most of this stuff into the kernel.
>> >
>> > forgive my ignorance, but whats stopping you from doing this now?
>>
>> It would be better if all of the legacy drivers could exist on
>> initramfs and only be loaded if the actual hardware is present. With
>> the current code someone like Redhat has to compile all of the legacy
>> support into their distribution kernel. That code will be present
>> even on new systems that don't have the hardware.
>>
>> An example of this is that the serial driver is hard coded to report
>> four legacy serial ports when my system physically only has two. I
>> have to change a #define and recompile the kernel to change this.
>
>Interesting. Something goes wrong on your system - I have only a single
>serial port on my machine and it's correctly identified by PnP, with no
>other ports showing up.

Now that you mention it:

In my case, I've been getting 6 serial ports reported at boot time
for most of the 2.6.x kernel series.  They are just repeats of ttyS0 and
ttyS1, including the ttyS0/1 designation.

>From my last dmesg while booting 2.6.14.2:

serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A

I had posted about this before, but it was apparently lost in the lists
general noise.   I do use both ports here, and they are working, so I
hadn't pursued it further.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.36% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux