
Hi, I'm using the grml-small 0.3. There are only 4 serials, ttyS0 - ttyS3, in /dev folder, and I'm trying to use /dev/ttyS4 and /dev/ttyS5. I created the ttyS4 and ttyS5 manually in /etc/init.d/bootlocal.last. Use the mknod to create the device and setserial to assign the port and interrupt channel. Please see the list of commands below:
mknod -m 660 /dev/ttyS4 c 4 68 chown root.dialout /dev/ttyS4 mknod -m 660 /dev/ttyS5 c 4 69 chown root.dialout /dev/ttyS5 setserial /dev/ttyS4 irq 5 port 0x1c0 ^fourport autoconfigure baud_base 115200 -v low_latency setserial /dev/ttyS5 irq 0 port 0x1c8 ^fourport autoconfigure baud_base 115200 -v low_latency
The setserial command returns "/dev/ttyS#: No such file or directory" for both devices where # is 4 and 5. Is this because the kernel only support up to 4 serial devices? if this is the case, is CONFIG_SERIAL_8250_NR_UARTS is the variable that I have to change, "CONFIG_SERIAL_8250_NR_UARTS=4" to "CONFIG_SERIAL_8250_NR_UARTS=6" in the grml-small kernel configuration? Thanks a bunch.. Cheers Andri
____________________________________________________________________________________ The fish are biting. Get more visitors on your site using Yahoo! Search Marketing. http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php

* Andri Handoko aphandoko@yahoo.com [20070525 05:15]:
I'm using the grml-small 0.3. There are only 4 serials, ttyS0 - ttyS3, in /dev folder, and I'm trying to use /dev/ttyS4 and /dev/ttyS5. I created the ttyS4 and ttyS5 manually in /etc/init.d/bootlocal.last. Use the mknod to create the device and setserial to assign the port and interrupt channel. Please see the list of commands below:
[...]
The setserial command returns "/dev/ttyS#: No such file or directory" for both devices where # is 4 and 5. Is this because the kernel only support up to 4 serial devices? if this is the case, is CONFIG_SERIAL_8250_NR_UARTS is the variable that I have to change, "CONFIG_SERIAL_8250_NR_UARTS=4" to "CONFIG_SERIAL_8250_NR_UARTS=6" in the grml-small kernel configuration?
It looks like that, yes. I found #377151 (see http://lists.debian.org/debian-kernel/2006/07/msg00266.html) and added it to our BTS (see http://bts.grml.org/grml/issue224) so I will adjust the configuration with the next kernel build too.
regards, -mika-

Thanks Mika I'll try to recompile the kernel to test it, and since 0.4 has just been released this month, the next release will be a few month from to date, I assumed. Cheers Andri
____________________________________________________________________________________ Don't get soaked. Take a quick peak at the forecast with the Yahoo! Search weather shortcut. http://tools.search.yahoo.com/shortcuts/#loc_weather

* Andri Handoko aphandoko@yahoo.com [20070525 23:15]:
Thanks Mika I'll try to recompile the kernel to test it, and since 0.4 has just been released this month, the next release will be a few month from to date, I assumed.
We will have new beta releases within the next few weeks. If you don't want to become a regular beta-tester (see http://grml.org/beta-tester/ for details) just follow our develblog at http://grml.supersized.org/ - every single beta release is announced there. If you want to be able to test it just write me a mail or ping me on IRC.
But if you do any further tests anyway please let me know about the results.
regards, -mika-
participants (2)
-
Andri Handoko
-
Michael Prokop