When I plug in my BeagleBone to my linux system (it runs Debian sid and is up to date running linux 3.1.0) I get a crash in syslog. The full syslog entry is attached as trace. From the names in the stacktrace it may be to do with the udev rules that are recommended with for the BeagleBone:- ACTION=="add", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_interface", \ ATTRS{idVendor}=="0403", ATTRS{idProduct}=="a6d0", DRIVER=="", \ RUN+="/sbin/modprobe -b ftdi_sio" ACTION=="add", SUBSYSTEM=="drivers", \ ENV{DEVPATH}=="/bus/usb-serial/drivers/ftdi_sio", \ ATTR{new_id}="0403 a6d0" ACTION=="add", KERNEL=="ttyUSB*", ATTRS{interface}=="BeagleBone", \ ATTRS{bInterfaceNumber}=="00", SYMLINK+="beaglebone-jtag" ACTION=="add", KERNEL=="ttyUSB*", ATTRS{interface}=="BeagleBone", \ ATTRS{bInterfaceNumber}=="01", SYMLINK+="beaglebone-serial" Once this has happened the usb serial module, and ftdi_sio are impossible to unload. David
Dec 19 10:45:05 stargate kernel: [ 4920.984074] usb 1-2: new high speed USB device number 4 using ehci_hcd Dec 19 10:45:05 stargate kernel: [ 4921.116419] usb 1-2: New USB device found, idVendor=0424, idProduct=2412 Dec 19 10:45:05 stargate kernel: [ 4921.116434] usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0 Dec 19 10:45:05 stargate kernel: [ 4921.117982] hub 1-2:1.0: USB hub found Dec 19 10:45:05 stargate kernel: [ 4921.118152] hub 1-2:1.0: 2 ports detected Dec 19 10:45:05 stargate kernel: [ 4921.388243] usb 1-2.1: new high speed USB device number 5 using ehci_hcd Dec 19 10:45:05 stargate kernel: [ 4921.482967] usb 1-2.1: New USB device found, idVendor=0403, idProduct=a6d0 Dec 19 10:45:05 stargate kernel: [ 4921.482981] usb 1-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 Dec 19 10:45:05 stargate kernel: [ 4921.482991] usb 1-2.1: Product: BeagleBone Dec 19 10:45:05 stargate kernel: [ 4921.482999] usb 1-2.1: Manufacturer: FTDI Dec 19 10:45:06 stargate mtp-probe: checking bus 1, device 5: "/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.1" Dec 19 10:45:06 stargate mtp-probe: bus: 1, device: 5 was not an MTP device Dec 19 10:45:07 stargate kernel: [ 4922.658655] usbcore: registered new interface driver usbserial Dec 19 10:45:07 stargate kernel: [ 4922.658710] USB Serial support registered for generic Dec 19 10:45:07 stargate kernel: [ 4922.661147] usbcore: registered new interface driver usbserial_generic Dec 19 10:45:07 stargate kernel: [ 4922.661157] usbserial: USB Serial Driver core Dec 19 10:45:07 stargate kernel: [ 4922.672756] USB Serial support registered for FTDI USB Serial Device Dec 19 10:45:07 stargate kernel: [ 4922.673215] BUG: unable to handle kernel NULL pointer dereference at 00000048 Dec 19 10:45:07 stargate kernel: [ 4922.673420] IP: [<c11a6d23>] get_driver+0xe/0x14 Dec 19 10:45:07 stargate kernel: [ 4922.673552] *pde = 00000000 Dec 19 10:45:07 stargate kernel: [ 4922.673634] Oops: 0000 [#1] Dec 19 10:45:07 stargate kernel: [ 4922.673716] Modules linked in: ftdi_sio(+) usbserial tun snd_hrtimer acpi_cpufreq mperf cpufreq_stats cpufreq_conservative cpufreq_userspace ipx p8023 ppdev lp cpufreq_powersave bnep bluetooth crc16 binfmt_misc fuse nfsd nfs lockd fscache auth_rpcgss nfs_acl sunrpc michael_mic arc4 ecb lib80211_crypt_tkip cryptd aes_i586 aes_generic lib80211_crypt_ccmp mmc_block wbsd firewire_sbp2 ide_generic ide_gd_mod ide_cd_mod ide_core snd_intel8x0m snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq i915 snd_timer snd_seq_device drm_kms_helper drm parport_pc ipw2200 irda joydev parport libipw iTCO_wdt iTCO_vendor_support snd crc_ccitt cfg80211 rfkill i2c_algo_bit soundcore lib80211 i2c_i801 i2c_core psmouse pcspkr evdev snd_page_alloc video rng_core container ac battery yenta_socket pcmcia_rsrc shpchp serio_raw pci_hotplug button processor usbhid hid ext3 jbd mbcache sr_mod sd_mod cdrom crc_t10dif ata_generic uhci_hcd a Dec 19 10:45:07 stargate kernel: a_piix b44 ssb mmc_core libata firewire_ohci ehci_hcd fan thermal thermal_sys scsi_mod firewire_core crc_itu_t pcmcia pcmcia_core mii usbcore [last unloaded: scsi_wait_scan] Dec 19 10:45:07 stargate kernel: [ 4922.676018] Dec 19 10:45:07 stargate kernel: [ 4922.676018] Pid: 329, comm: udevd Not tainted 3.1.0-1-486 #1 MAXDATA Pro 6100X/Pro 6100X Dec 19 10:45:07 stargate kernel: [ 4922.676018] EIP: 0060:[<c11a6d23>] EFLAGS: 00010246 CPU: 0 Dec 19 10:45:07 stargate kernel: [ 4922.676018] EIP is at get_driver+0xe/0x14 Dec 19 10:45:07 stargate kernel: [ 4922.676018] EAX: 00000000 EBX: f8a7836c ECX: 0000001c EDX: 00000000 Dec 19 10:45:07 stargate kernel: [ 4922.676018] ESI: f8a78374 EDI: fffffff4 EBP: d2d307e8 ESP: f722bf18 Dec 19 10:45:07 stargate kernel: [ 4922.676018] DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068 Dec 19 10:45:07 stargate kernel: [ 4922.676018] Process udevd (pid: 329, ti=f722a000 task=f720c030 task.ti=f722a000) Dec 19 10:45:07 stargate kernel: [ 4922.676018] Stack: Dec 19 10:45:07 stargate kernel: [ 4922.676018] f811de45 00000403 0000a6d0 f8a7827c 00000009 dc858000 f8fd769a 00000009 Dec 19 10:45:07 stargate kernel: [ 4922.676018] f8fd766a d91567c0 dc858000 c11a599e c12a1938 00000009 ffffffed c10de292 Dec 19 10:45:07 stargate kernel: [ 4922.676018] 00000009 b77c3000 c7c8f614 d91567c0 c12a1938 f7315340 b77c3000 00000009 Dec 19 10:45:07 stargate kernel: [ 4922.676018] Call Trace: Dec 19 10:45:07 stargate kernel: [ 4922.676018] [<f811de45>] ? usb_store_new_id+0x84/0xa9 [usbcore] Dec 19 10:45:07 stargate kernel: [ 4922.676018] [<f8fd769a>] ? store_new_id+0x30/0x35 [usbserial] Dec 19 10:45:07 stargate kernel: [ 4922.676018] [<f8fd766a>] ? usb_serial_device_probe+0x94/0x94 [usbserial] Dec 19 10:45:07 stargate kernel: [ 4922.676018] [<c11a599e>] ? drv_attr_store+0x1e/0x22 Dec 19 10:45:07 stargate kernel: [ 4922.676018] [<c10de292>] ? sysfs_write_file+0xb0/0xdd Dec 19 10:45:07 stargate kernel: [ 4922.676018] [<c10de1e2>] ? sysfs_poll+0x60/0x60 Dec 19 10:45:07 stargate kernel: [ 4922.676018] [<c10a02d1>] ? vfs_write+0x83/0xd2 Dec 19 10:45:07 stargate kernel: [ 4922.676018] [<c10a048d>] ? sys_write+0x3d/0x61 Dec 19 10:45:07 stargate kernel: [ 4922.676018] [<c1275323>] ? sysenter_do_call+0x12/0x28 Dec 19 10:45:07 stargate kernel: [ 4922.676018] Code: 46 8b 54 b5 00 85 d2 75 d2 eb 0a 89 d8 e8 a0 f7 ff ff 8b 3c 24 5a 89 f8 5b 5e 5f 5d c3 31 d2 85 c0 74 0b 8b 40 34 e8 ce bb f7 ff <8b> 50 48 89 d0 c3 56 b8 d0 00 00 00 53 8b 54 24 14 be f4 ff ff Dec 19 10:45:07 stargate kernel: [ 4922.676018] EIP: [<c11a6d23>] get_driver+0xe/0x14 SS:ESP 0068:f722bf18 Dec 19 10:45:07 stargate kernel: [ 4922.676018] CR2: 0000000000000048 Dec 19 10:45:07 stargate kernel: [ 4922.685570] ftdi_sio 1-2.1:1.0: FTDI USB Serial Device converter detected Dec 19 10:45:07 stargate kernel: [ 4922.687841] usb 1-2.1: Detected FT2232H Dec 19 10:45:07 stargate kernel: [ 4922.687945] usb 1-2.1: Number of endpoints 2 Dec 19 10:45:07 stargate kernel: [ 4922.688085] usb 1-2.1: Endpoint 1 MaxPacketSize 512 Dec 19 10:45:07 stargate kernel: [ 4922.688210] usb 1-2.1: Endpoint 2 MaxPacketSize 512 Dec 19 10:45:07 stargate kernel: [ 4922.688333] usb 1-2.1: Setting MaxPacketSize 512 Dec 19 10:45:07 stargate kernel: [ 4922.691802] usb 1-2.1: FTDI USB Serial Device converter now attached to ttyUSB0 Dec 19 10:45:07 stargate kernel: [ 4922.692336] ftdi_sio 1-2.1:1.1: FTDI USB Serial Device converter detected Dec 19 10:45:07 stargate kernel: [ 4922.729335] ---[ end trace 61a3a979e55001b4 ]--- Dec 19 10:45:07 stargate kernel: [ 4922.748290] usb 1-2.1: Detected FT2232H Dec 19 10:45:07 stargate kernel: [ 4922.748301] usb 1-2.1: Number of endpoints 2 Dec 19 10:45:07 stargate kernel: [ 4922.748310] usb 1-2.1: Endpoint 1 MaxPacketSize 512 Dec 19 10:45:07 stargate kernel: [ 4922.748318] usb 1-2.1: Endpoint 2 MaxPacketSize 512 Dec 19 10:45:07 stargate kernel: [ 4922.748326] usb 1-2.1: Setting MaxPacketSize 512 Dec 19 10:45:07 stargate kernel: [ 4922.750851] usb 1-2.1: FTDI USB Serial Device converter now attached to ttyUSB1 Dec 19 10:45:07 stargate kernel: [ 4922.751322] usbcore: registered new interface driver ftdi_sio Dec 19 10:45:07 stargate kernel: [ 4922.751331] ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver Dec 19 10:45:07 stargate udevd[245]: worker [329] terminated by signal 9 (Killed) Dec 19 10:45:07 stargate udevd[245]: worker [329] failed while handling '/bus/usb-serial/drivers/ftdi_sio' Dec 19 10:45:08 stargate kernel: [ 4924.484228] usb 1-2.2: new full speed USB device number 6 using ehci_hcd Dec 19 10:45:08 stargate kernel: [ 4924.576457] usb 1-2.2: not running at top speed; connect to a high speed hub Dec 19 10:45:08 stargate kernel: [ 4924.577441] usb 1-2.2: New USB device found, idVendor=0451, idProduct=6141 Dec 19 10:45:08 stargate kernel: [ 4924.577453] usb 1-2.2: New USB device strings: Mfr=33, Product=37, SerialNumber=0 Dec 19 10:45:08 stargate kernel: [ 4924.577463] usb 1-2.2: Product: SUBARCTIC Dec 19 10:45:08 stargate kernel: [ 4924.577470] usb 1-2.2: Manufacturer: Texas Instruments Dec 19 10:45:08 stargate mtp-probe: checking bus 1, device 6: "/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.2" Dec 19 10:45:09 stargate mtp-probe: bus: 1, device: 6 was not an MTP device Dec 19 10:45:09 stargate kernel: [ 4924.859443] usbcore: registered new interface driver cdc_ether Dec 19 10:45:09 stargate kernel: [ 4924.911270] rndis_host 1-2.2:1.0: usb0: register 'rndis_host' at usb-0000:00:1d.7-2.2, RNDIS device, 9a:1f:85:1c:3d:0e Dec 19 10:45:09 stargate kernel: [ 4924.913369] usbcore: registered new interface driver rndis_host Dec 19 10:45:09 stargate kernel: [ 4925.030363] usbcore: registered new interface driver rndis_wlan