[Voyage-linux] Re:Compile kenel on Alix failed
Thanks Alvar, I set the General Setup -- Local version - append to version to -486-voyage and did a make clean, still got the same problem. and I rembered I followed the similar predures using voyage_5.2 on Alix without any problem. === DEPMOD 2.6.26-486-voyage-486-voyage make[2]: Leaving directory `/usr/src/linux-source-2.6.26-voyage' test ! -e scripts/package/builddeb || mv -f scripts/package/builddeb scripts/package/builddeb.kpkg-dist test ! -e scripts/package/Makefile || test -f scripts/package/Makefile.kpkg-dist || (mv -f scripts/package/Makefile scripts/package/Makefile.kpkg-dist (echo # Dummy file ; echo help:) scripts/package/Makefile) test ! -f Documentation/lguest/lguest || \ install -p-o root -g root -m 644 Documentation/lguest/lguest /usr/src/linux-source-2.6.26-voyage/debian/linux-image-2.6.26-486-voyage-486-voyage/lib/modules/2.6.26-486-voyage-486-voyage/lguest test ! -f /usr/src/linux-source-2.6.26-voyage/debian/linux-image-2.6.26-486-voyage-486-voyage/lib/modules/2.6.26-486-voyage-486-voyage/lguest || \ chmod 755 /usr/src/linux-source-2.6.26-voyage/debian/linux-image-2.6.26-486-voyage-486-voyage/lib/modules/2.6.26-486-voyage-486-voyage/lguest test ! -e /usr/src/linux-source-2.6.26-voyage/debian/linux-image-2.6.26-486-voyage-486-voyage/lib/modules/2.6.26-486-voyage-486-voyage/source || \ mv /usr/src/linux-source-2.6.26-voyage/debian/linux-image-2.6.26-486-voyage-486-voyage/lib/modules/2.6.26-486-voyage-486-voyage/source ./debian/source-link test ! -e /usr/src/linux-source-2.6.26-voyage/debian/linux-image-2.6.26-486-voyage-486-voyage/lib/modules/2.6.26-486-voyage-486-voyage/build || \ mv /usr/src/linux-source-2.6.26-voyage/debian/linux-image-2.6.26-486-voyage-486-voyage/lib/modules/2.6.26-486-voyage-486-voyage/build ./debian/build-link test ! -e ./debian/source-link || \ mv ./debian/source-link /usr/src/linux-source-2.6.26-voyage/debian/linux-image-2.6.26-486-voyage-486-voyage/lib/modules/2.6.26-486-voyage-486-voyage/source test ! -e ./debian/build-link || \ mv ./debian/build-link /usr/src/linux-source-2.6.26-voyage/debian/linux-image-2.6.26-486-voyage-486-voyage/lib/modules/2.6.26-486-voyage-486-voyage/build /sbin/depmod -q -FSystem.map -b /usr/src/linux-source-2.6.26-voyage/debian/linux-image-2.6.26-486-voyage-486-voyage 2.6.26-486-voyage-486-voyage; test ! -f System.map || cp System.map \ /usr/src/linux-source-2.6.26-voyage/debian/linux-image-2.6.26-486-voyage-486-voyage//boot/System.map-2.6.26-486-voyage-486-voyage; test ! -f System.map || chmod 644 \ /usr/src/linux-source-2.6.26-voyage/debian/linux-image-2.6.26-486-voyage-486-voyage//boot/System.map-2.6.26-486-voyage-486-voyage; cp arch/x86/boot/bzImage /usr/src/linux-source-2.6.26-voyage/debian/linux-image-2.6.26-486-voyage-486-voyage//boot/vmlinuz-2.6.26-486-voyage-486-voyage chmod 644 /usr/src/linux-source-2.6.26-voyage/debian/linux-image-2.6.26-486-voyage-486-voyage//boot/vmlinuz-2.6.26-486-voyage-486-voyage; if test -d /usr/src/linux-source-2.6.26-voyage/debian/image.d ; then \ TMPTOP=/usr/src/linux-source-2.6.26-voyage/debian/linux-image-2.6.26-486-voyage-486-voyage version=2.6.26-486-voyage-486-voyage IMAGE_TOP=/usr/src/linux-source-2.6.26-voyage/debian/linux-image-2.6.26-486-voyage-486-voyage \ run-parts --verbose /usr/src/linux-source-2.6.26-voyage/debian/image.d ; \ fi if [ -x debian/post-install ]; then \ TMPTOP=/usr/src/linux-source-2.6.26-voyage/debian/linux-image-2.6.26-486-voyage-486-voyage STEM=linux version=2.6.26-486-voyage-486-voyage \ IMAGE_TOP=/usr/src/linux-source-2.6.26-voyage/debian/linux-image-2.6.26-486-voyage-486-voyage debian/post-install; \ fi test ! -s applied_patches || cp applied_patches\ /usr/src/linux-source-2.6.26-voyage/debian/linux-image-2.6.26-486-voyage-486-voyage//boot/patches-2.6.26-486-voyage-486-voyage test ! -s applied_patches || chmod 644 \ /usr/src/linux-source-2.6.26-voyage/debian/linux-image-2.6.26-486-voyage-486-voyage//boot/patches-2.6.26-486-voyage-486-voyage test ! -f Kerntypes || cp Kerntypes \ /usr/src/linux-source-2.6.26-voyage/debian/linux-image-2.6.26-486-voyage-486-voyage//boot/Kerntypes-2.6.26-486-voyage-486-voyage test ! -f Kerntypes || chmod 644
[Voyage-linux] Watchdog problems on Alix.1D
Hello, i try to use voyage on my brand new Alix.1D Board, but i have problems using the watchdog. /etc/init.d/watchdog restart Aug 12 16:39:11 voyage watchdog[3158]: stopping daemon (5.2) Aug 12 16:39:16 voyage watchdog[3193]: starting daemon (5.2): Aug 12 16:39:16 voyage watchdog[3193]: int=15s realtime=yes sync=no soft=no mla0 Aug 12 16:39:16 voyage watchdog[3193]: ping: no machine to check Aug 12 16:39:16 voyage watchdog[3193]: file: no file to check Aug 12 16:39:16 voyage watchdog[3193]: pidfile: no server process to check Aug 12 16:39:16 voyage watchdog[3193]: interface: no interface to check Aug 12 16:39:16 voyage watchdog[3193]: test=none(0) repair=none alive=/dev/watco Aug 12 16:39:16 voyage watchdog[3193]: cannot open /dev/watchdog (errno = 2 = ') modprobe geodewdt Aug 12 16:39:45 voyage kernel: geodewdt: No timers were available Where is my problem? thanks torsten ___ Voyage-linux mailing list Voyage-linux@list.voyage.hk http://list.voyage.hk/mailman/listinfo/voyage-linux
RE: [Voyage-linux] Re:Compile kenel on Alix failed
Hi Alvaro, One more interesting thing, the reason I tried to compile the kernel is I want to use the latest sierra driver. As make-kpkg failed at final stage, I thought I might could use the the sierra.ko compiled, so I copied the module in /lib/modules/2.6.26-486- voyage/kernel/drivers/usb/serial Then I tried to load the module, but the OS complained format not correct: === voyage: modprobe sierra FATAL: Error inserting sierra (/lib/modules/2.6.26-486-voyage/kernel/drivers/usb/serial/sierra.ko): Invalid module format == Attached is the source file, if anybody could help me to compile the module that will be great. Robbert /* USB Driver for Sierra Wireless Copyright (C) 2006, 2007, 2008 Kevin Lloyd kll...@sierrawireless.com IMPORTANT DISCLAIMER: This driver is not commercially supported by Sierra Wireless. Use at your own risk. This driver is free software; you can redistribute it and/or modify it under the terms of Version 2 of the GNU General Public License as published by the Free Software Foundation. Portions based on the option driver by Matthias Urlichs sm...@smurf.noris.de Whom based his on the Keyspan driver by Hugh Blemings h...@blemings.org Back ported to kernel 2.6.26 */ #define DRIVER_VERSION v.1.3.1b #define DRIVER_AUTHOR Kevin Lloyd kll...@sierrawireless.com #define DRIVER_DESC USB Driver for Sierra Wireless USB modems #include linux/kernel.h #include linux/jiffies.h #include linux/errno.h #include linux/tty.h #include linux/tty_flip.h #include linux/module.h #include linux/usb.h #include linux/usb/serial.h #include linux/usb/ch9.h #define SWIMS_USB_REQUEST_SetPower 0x00 #define SWIMS_USB_REQUEST_SetNmea 0x07 #define SWIMS_USB_REQUEST_SetMode 0x0B #define SWIMS_SET_MODE_Modem0x0001 /* per port private data */ #define N_IN_URB4 #define N_OUT_URB 4 #define IN_BUFLEN 4096 static int debug; static int nmea; static int truinstall = 1; enum devicetype { DEVICE_3_PORT = 0, DEVICE_1_PORT = 1, DEVICE_INSTALLER = 2, }; static int sierra_set_power_state(struct usb_device *udev, __u16 swiState) { int result; dev_dbg(udev-dev, %s, __func__); result = usb_control_msg(udev, usb_sndctrlpipe(udev, 0), SWIMS_USB_REQUEST_SetPower, /* __u8 request */ USB_TYPE_VENDOR,/* __u8 request type */ swiState, /* __u16 value */ 0, /* __u16 index */ NULL, /* void *data*/ 0, /* __u16 size*/ USB_CTRL_SET_TIMEOUT); /* int timeout */ return result; } static int sierra_set_ms_mode(struct usb_device *udev, __u16 eSWocMode) { int result; dev_dbg(udev-dev, %s, DEVICE MODE SWITCH\n); result = usb_control_msg(udev, usb_sndctrlpipe(udev, 0), SWIMS_USB_REQUEST_SetMode, /* __u8 request */ USB_TYPE_VENDOR,/* __u8 request type */ eSWocMode, /* __u16 value */ 0x, /* __u16 index */ NULL, /* void *data*/ 0, /* __u16 size*/ USB_CTRL_SET_TIMEOUT); /* int timeout */ return result; } static int sierra_vsc_set_nmea(struct usb_device *udev, __u16 enable) { int result; dev_dbg(udev-dev, %s, __func__); result = usb_control_msg(udev, usb_sndctrlpipe(udev, 0), SWIMS_USB_REQUEST_SetNmea, /* __u8 request */ USB_TYPE_VENDOR,/* __u8 request type */ enable, /* __u16 value */ 0x, /* __u16 index */ NULL, /* void *data*/ 0, /* __u16 size*/ USB_CTRL_SET_TIMEOUT); /* int timeout */ return result; } static int sierra_calc_num_ports(struct usb_serial *serial) { int result; int *num_ports = usb_get_serial_data(serial); dev_dbg(serial-dev-dev, %s, __func__); result = *num_ports; if (result) { kfree(num_ports); usb_set_serial_data(serial, NULL); } return result; } static int sierra_calc_interface(struct
RE: [Voyage-linux] Re:Compile kenel on Alix failed
Hi Alvaro, I just compiled my kernel successfully, and think the command make-kpkg clean instead of make clean did the trick. Does it suggest that the linux-source-2.6.26-voyage_6.0-3_all.deb provide by Punky not in clean status? Anyway, many thanks for your help! Robbert -Original Message- From: Robbert [mailto:r...@vmsys.com] Sent: Thursday, August 13, 2009 8:38 AM To: 'r...@vmsys.com'; 'voyage-li...@voyage.hk' Subject: RE: [Voyage-linux] Re:Compile kenel on Alix failed Hi Alvaro, One more interesting thing, the reason I tried to compile the kernel is I want to use the latest sierra driver. As make-kpkg failed at final stage, I thought I might could use the the sierra.ko compiled, so I copied the module in /lib/modules/2.6.26-486- voyage/kernel/drivers/usb/serial Then I tried to load the module, but the OS complained format not correct: === voyage: modprobe sierra FATAL: Error inserting sierra (/lib/modules/2.6.26-486-voyage/kernel/drivers/usb/serial/sierra.ko): Invalid module format == Attached is the source file, if anybody could help me to compile the module that will be great. Robbert ___ Voyage-linux mailing list Voyage-linux@list.voyage.hk http://list.voyage.hk/mailman/listinfo/voyage-linux