[Bug 832641] Re: cdc-acm modems do not work properly using 7E1 byte format
apport information ** Tags added: apport-collected ** Description changed: I have tried two apps (minicom and smsclient) with to ACM modems, and received 7E1 data does not have the parity bit stripped. I can check with STTY and it shows parenb cs7 -parodd when the port is being used in 7E1 format, but the received data has the parity bit passed through to the app. The ACM modems work fine in 8N1 mode. An ordinary RS232 modem on ttyS0 works fine with both apps using 7E1 format, and the parity bit is stripped from receive data (ie only 7 bits passed to the app). This may be a long standing problem, possibly in the CDC-ACM driver. Using oneric, server. + --- + AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24. + AplayDevices: Error: [Errno 2] No such file or directory + ApportVersion: 1.23-0ubuntu4 + Architecture: i386 + ArecordDevices: Error: [Errno 2] No such file or directory + AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/hwC0D2', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/pcmC0D1c', '/dev/snd/pcmC0D1p', '/dev/snd/pcmC0D2c', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: + CRDA: Error: [Errno 2] No such file or directory + Card0.Amixer.info: Error: [Errno 2] No such file or directory + Card0.Amixer.values: Error: [Errno 2] No such file or directory + DistroRelease: Ubuntu 11.10 + HibernationDevice: RESUME=/dev/sda3 + IwConfig: + lono wireless extensions. + + eth0 no wireless extensions. + MachineType: Gigabyte Technology Co., Ltd. G41M-ES2L + Package: linux (not installed) + ProcEnviron: + LANG=en_AU.UTF-8 + SHELL=/bin/bash + ProcKernelCmdLine: root=UUID=f7d3ec47-2e5d-4b37-add9-ef749d80fe10 ro quiet splash + ProcVersionSignature: Ubuntu 3.0.0-14.23-generic-pae 3.0.9 + RelatedPackageVersions: + linux-restricted-modules-3.0.0-14-generic-pae N/A + linux-backports-modules-3.0.0-14-generic-pae N/A + linux-firmware1.60 + RfKill: Error: [Errno 2] No such file or directory + Tags: oneiric + Uname: Linux 3.0.0-14-generic-pae i686 + UpgradeStatus: Upgraded to oneiric on 2011-08-21 (132 days ago) + UserGroups: + + WifiSyslog: + Jan 1 08:00:25 u01 kernel: [501255.880029] usb 2-2: new full speed USB device number 2 using uhci_hcd + Jan 1 08:00:27 u01 kernel: [501258.250882] cdc_acm 2-2:2.0: ttyACM0: USB ACM device + Jan 1 08:00:27 u01 kernel: [501258.253097] usbcore: registered new interface driver cdc_acm + Jan 1 08:00:27 u01 kernel: [501258.253101] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters + dmi.bios.date: 11/04/2009 + dmi.bios.vendor: Award Software International, Inc. + dmi.bios.version: F6 + dmi.board.name: G41M-ES2L + dmi.board.vendor: Gigabyte Technology Co., Ltd. + dmi.board.version: x.x + dmi.chassis.type: 3 + dmi.chassis.vendor: Gigabyte Technology Co., Ltd. + dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF6:bd11/04/2009:svnGigabyteTechnologyCo.,Ltd.:pnG41M-ES2L:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnG41M-ES2L:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr: + dmi.product.name: G41M-ES2L + dmi.sys.vendor: Gigabyte Technology Co., Ltd. ** Attachment added: "AcpiTables.txt" https://bugs.launchpad.net/bugs/832641/+attachment/2652640/+files/AcpiTables.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/832641 Title: cdc-acm modems do not work properly using 7E1 byte format To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/832641/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 832641] AlsaDevices.txt
apport information ** Attachment added: "AlsaDevices.txt" https://bugs.launchpad.net/bugs/832641/+attachment/2652641/+files/AlsaDevices.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/832641 Title: cdc-acm modems do not work properly using 7E1 byte format To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/832641/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 832641] BootDmesg.txt
apport information ** Attachment added: "BootDmesg.txt" https://bugs.launchpad.net/bugs/832641/+attachment/2652642/+files/BootDmesg.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/832641 Title: cdc-acm modems do not work properly using 7E1 byte format To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/832641/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 832641] Card0.Codecs.codec.2.txt
apport information ** Attachment added: "Card0.Codecs.codec.2.txt" https://bugs.launchpad.net/bugs/832641/+attachment/2652643/+files/Card0.Codecs.codec.2.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/832641 Title: cdc-acm modems do not work properly using 7E1 byte format To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/832641/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 832641] CurrentDmesg.txt
apport information ** Attachment added: "CurrentDmesg.txt" https://bugs.launchpad.net/bugs/832641/+attachment/2652644/+files/CurrentDmesg.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/832641 Title: cdc-acm modems do not work properly using 7E1 byte format To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/832641/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 832641] Lspci.txt
apport information ** Attachment added: "Lspci.txt" https://bugs.launchpad.net/bugs/832641/+attachment/2652645/+files/Lspci.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/832641 Title: cdc-acm modems do not work properly using 7E1 byte format To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/832641/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 832641] Lsusb.txt
apport information ** Attachment added: "Lsusb.txt" https://bugs.launchpad.net/bugs/832641/+attachment/2652646/+files/Lsusb.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/832641 Title: cdc-acm modems do not work properly using 7E1 byte format To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/832641/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 832641] PciMultimedia.txt
apport information ** Attachment added: "PciMultimedia.txt" https://bugs.launchpad.net/bugs/832641/+attachment/2652647/+files/PciMultimedia.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/832641 Title: cdc-acm modems do not work properly using 7E1 byte format To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/832641/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 832641] ProcCpuinfo.txt
apport information ** Attachment added: "ProcCpuinfo.txt" https://bugs.launchpad.net/bugs/832641/+attachment/2652648/+files/ProcCpuinfo.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/832641 Title: cdc-acm modems do not work properly using 7E1 byte format To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/832641/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 832641] ProcInterrupts.txt
apport information ** Attachment added: "ProcInterrupts.txt" https://bugs.launchpad.net/bugs/832641/+attachment/2652649/+files/ProcInterrupts.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/832641 Title: cdc-acm modems do not work properly using 7E1 byte format To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/832641/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 832641] ProcModules.txt
apport information ** Attachment added: "ProcModules.txt" https://bugs.launchpad.net/bugs/832641/+attachment/2652650/+files/ProcModules.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/832641 Title: cdc-acm modems do not work properly using 7E1 byte format To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/832641/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 832641] UdevDb.txt
apport information ** Attachment added: "UdevDb.txt" https://bugs.launchpad.net/bugs/832641/+attachment/2652651/+files/UdevDb.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/832641 Title: cdc-acm modems do not work properly using 7E1 byte format To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/832641/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 832641] UdevLog.txt
apport information ** Attachment added: "UdevLog.txt" https://bugs.launchpad.net/bugs/832641/+attachment/2652652/+files/UdevLog.txt ** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/832641 Title: cdc-acm modems do not work properly using 7E1 byte format To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/832641/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 832641] [NEW] cdc-acm modems do not work properly using 7E1 byte format
Public bug reported: I have tried two apps (minicom and smsclient) with to ACM modems, and received 7E1 data does not have the parity bit stripped. I can check with STTY and it shows parenb cs7 -parodd when the port is being used in 7E1 format, but the received data has the parity bit passed through to the app. The ACM modems work fine in 8N1 mode. An ordinary RS232 modem on ttyS0 works fine with both apps using 7E1 format, and the parity bit is stripped from receive data (ie only 7 bits passed to the app). This may be a long standing problem, possibly in the CDC-ACM driver. Using oneric, server. ** Affects: ubuntu Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/832641 Title: cdc-acm modems do not work properly using 7E1 byte format To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/832641/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 885909] Re: Boot process hangs in Ubuntu 11.10 server after upgrade
This turns out to have been a result of the following line in /etc/network/interfaces: up flush-mail Removing this line allows the ifup command to complete and fully configure the eth0 interface, which does emit the necessary events to allow the boot process to continue. Messages alerting the failure of ifup are hidden by the wonder of the upstart scripting, so there is no warning that the network interface (which seemed to work fine) was only partially configured/started. At some point, it seems the flush-mail command has been removed by an upgrade, the up command crashes, ifup ends prematurely, no warning... Perhaps hiding all the detail of startup by writing to /dev/null is not such a clever idea? Owen -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/885909 Title: Boot process hangs in Ubuntu 11.10 server after upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/885909/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 885909] Re: Boot process hangs in Ubuntu 11.10 server after upgrade
In summary, the root cause of the problem was a line in /etc/network/interfaces which tried to run a non existent command (up flush-mail). ifup silently fails in that case, and although it has done almost everything to start the interface, and the interface is fully functional, it does not create the semaphore used by ifdown to signal completion or emit the relevant upstart events. ifconfig reports normal operation of the interface, ifdown says the interface does not exist and ends. upstart's network-interfaces job silently ends when the ifup fails. Why are events for the lo interface issued from the network-interfaces job directly, whereas for others, they are emitted from the subsidiary ifup command's post script? This smacks of half baked patching on the fly. The whole design philosophy of scripts that do not provide useful exception reporting, of silent failure contributes to the unreliability witnessed by the large number of bug reports pertaining to startup functions migrated to upstart. The time for robust logging to be included in upstart was before migration, not afterwards. The greatest benefit in adequate logging would be during migration in quickly identifying and rectifying problems. I have solved my problem by removing the "up mail-flush" command, but the design philosophy / reliability issues are embedded in upstart / linux. Owen -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/885909 Title: Boot process hangs in Ubuntu 11.10 server after upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/885909/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 885909] [NEW] Boot process hangs in Ubuntu 11.10 server after upgrade
Public bug reported: Boot process is delayed with the message on screen "ubuntu 11.10 booting system without full network configuration". Some processes did not start (eg nmbd, mediatomb). They appear to be waiting for an event, in nmbd's case: start on (local-filesystems and net-device-up IFACE!=lo) . Some status checks: root@u01:~# status network-interface INTERFACE=lo network-interface (lo) start/running root@u01:~# status network-interface INTERFACE=eth0 network-interface (eth0) start/running root@u01:~# status nmbd nmbd stop/waiting So, it seems that the prerequisites for nmbd are running, but nmbd seems to be waiting to start. Looking at the code in network-interface.conf: pre-start script if [ "$INTERFACE" = lo ]; then # bring this up even if /etc/network/interfaces is broken ifconfig lo 127.0.0.1 up || true initctl emit -n net-device-up \ IFACE=lo LOGICAL=lo ADDRFAM=inet METHOD=loopback || true fi mkdir -p /var/run/network exec ifup --allow auto $INTERFACE end script It emits an event when lo starts, what emits an event to notify that eth0 started? Owen ** Affects: ubuntu Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/885909 Title: Boot process hangs in Ubuntu 11.10 server after upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/885909/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 885909] Re: Boot process hangs in Ubuntu 11.10 server after upgrade
In searching the net, it has become obvious that Ubuntu 11.10 is severely bug ridden, that the status of bugs that prevent the system fully starting is trivialised, and there doesn't look to be a fix anytime soon. My system is 11.10 server, it has one external network interface, eth0 using on board hardware. There has never been any doubt that the network interface is actually starting and working fine. This cannot be an unusual configuration. That said, I have looked at why failsafe.conf is delaying things. It looks like it provides a safety net for other failures: rc-sysinit.conf contains start on (filesystem and static-network-up) or failsafe-boot So, perhaps it is filesystem or static-network-up that are the problem? network-interface.conf is the only job that contains emits static- network-up, but it doesn't seem to actually emit it. Two things I discover, it appears that the pre start script exits ungracefully, and it doesn't seem to emit net-device-up (needed by nmbd for instance) or static-network-up (seemingly needed to allow the boot to complete). If some of this seems uncertain, it is because upstart is totally new to me, and the system is short on documentation, and it is not my objective to be a Ubuntu sysprog. But, this might help others to develop a fix to allow their system to boot fully. Owen -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/885909 Title: Boot process hangs in Ubuntu 11.10 server after upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/885909/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 856810] Re: Boot hangs at "Booting system without full network configuration..."
Frustrated with this same problem for quite some time now with no apparent fix coming, I attacked the problem on my own system today. None of the fixes mentioned earlier in this thread fixed the problem, not any that I have otherwise seen. Since my problem might have different root cause for the same outcome, I have written some notes in another bug report at https://bugs.launchpad.net/ubuntu/+bug/885909 which might help some people to a solution. Owen -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/856810 Title: Boot hangs at "Booting system without full network configuration..." To manage notifications about this bug go to: https://bugs.launchpad.net/linaro-ubuntu/+bug/856810/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs