Michael Fung | 1 Feb 07:36

Re: Alix - Move /var directory and Nagios work directory to an external USB Keys

Why not configure nagios to use /var/lib/nagios and mount that folder on 
an external storage?

Rgds,
Michael

On 2012-01-27 4:27, Pippo Pippo 77 wrote:
> Hi all,
> in order to avoid frequent read/write to Compact flash, i would like to
> move all /var directory, and /usr/local/nagios/var direcory to an
> external USB keys.
> This keys will be dedicated at log and working directory and mounted at
> boot by UUID.
> I would like to understan da way to move /var and /usr/local/nagios/var
> without change log and working path into all applicatio.
> My mind is something like "remount" /var from /dev/hda1 to /dev/sda1 but
> I don't know how.
> I have 2 box, one with voyage 0.5 and one with voyage 0.8
> Some one can help me with some suggestion?
>
> Many Thanks
>
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux@...
> http://list.voyage.hk/mailman/listinfo/voyage-linux
maciek | 1 Feb 15:33
Picon
Favicon

Re: udev & hotplug

I`ve set action remove /usr/bin/pkill -f "/usr/bin/fswebcam -c
/root/fswebcam.conf"

but on action remove nothing happen....

> >>>> Hello
> >>>>
> >>>> I`d like to set my usb webcam as hotplug device. When I plugin I`d like to
> >>>> start fswebcam deamon and unplug  - stop.
> >>>>
> >>>> I set it like this:
> >>>>
> >>>> SUBSYSTEM=="video4linux", ATTR{name}=="UVC Camera (046d:080f)",
> >>>> NAME="logitech", GROUP="video", MODE="0660", GOTO="fswebcam_start"
> >>>>
> >>>> GOTO="fswebcam_end"
> >>>>
> >>>> LABEL="fswebcam_start"
> >>>>
> >>>> ACTION=="add",          RUN+="fswebcam -c /root/fswebcam.conf
> >>>> --pid=/var/run/fspid"
> >>>>
> >>>> ACTION=="remove"        RUN+="???????????"
> >>>>
> >>>> GOTO="fswebcam_end"
> >>>>
> >>>>
> >>>> Questions:
> >>>>
> >>>> 1. Are those script ok? (action add & remove)
(Continue reading)

Jordi Soucheiron | 1 Feb 15:39
Favicon
Gravatar

Re: udev & hotplug

Send the whole rules file please (the sintax is a bit tricky).
Have you rebooted the devide or reloaded the udev rules?

Jordi Soucheiron
Software Engineer
jsoucheiron-5Pf2rGTmAtW1Z/+hSey0Gg@public.gmane.org

DEXMA
c/ Marie Curie, 8-14
ES-08042, Barcelona
t: (+34) 93 181 01 96
www.dexmatech.com
Follow us on Twitter and Linkedin
Síguenos en Twitter y Linkedin



2012/2/1 maciek <maciek2-ENgekJW3qRhTo+kLWldzCWZHpeb/A1Y/@public.gmane.org>
I`ve set action remove /usr/bin/pkill -f "/usr/bin/fswebcam -c
/root/fswebcam.conf"

but on action remove nothing happen....

> >>>> Hello
> >>>>
> >>>> I`d like to set my usb webcam as hotplug device. When I plugin I`d like to
> >>>> start fswebcam deamon and unplug  - stop.
> >>>>
> >>>> I set it like this:
> >>>>
> >>>> SUBSYSTEM=="video4linux", ATTR{name}=="UVC Camera (046d:080f)",
> >>>> NAME="logitech", GROUP="video", MODE="0660", GOTO="fswebcam_start"
> >>>>
> >>>> GOTO="fswebcam_end"
> >>>>
> >>>> LABEL="fswebcam_start"
> >>>>
> >>>> ACTION=="add",          RUN+="fswebcam -c /root/fswebcam.conf
> >>>> --pid=/var/run/fspid"
> >>>>
> >>>> ACTION=="remove"        RUN+="???????????"
> >>>>
> >>>> GOTO="fswebcam_end"
> >>>>
> >>>>
> >>>> Questions:
> >>>>
> >>>> 1. Are those script ok? (action add & remove)
> >>>> 2. How to kill process fspid (ACTION=="remove")?
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> v o i p t e l e . n e t , dzwon najtaniej jak to mozliwe
> >>>> e r a u r . c o m , rozwiazania internetowe dla firm i klientow
indywidualnych
> >>>>
> >>>> _______________________________________________
> >>>> Voyage-linux mailing list
> >>>> Voyage-linux-59MrfjRBeRo6ThAmvYpkag@public.gmane.org
> >>>> http://list.voyage.hk/mailman/listinfo/voyage-linux
> >>
> >> _______________________________________________
> >> Voyage-linux mailing list
> >> Voyage-linux <at> list.voyage.hk
> >> http://list.voyage.hk/mailman/listinfo/voyage-linux
> >


_______________________________________________
Voyage-linux mailing list
Voyage-linux-59MrfjRBeRo6ThAmvYpkag@public.gmane.org
http://list.voyage.hk/mailman/listinfo/voyage-linux

_______________________________________________
Voyage-linux mailing list
Voyage-linux@...
http://list.voyage.hk/mailman/listinfo/voyage-linux
tictacbum | 1 Feb 20:58
Picon

when remountro fails

Hello,
I have a voyage 0.8 installation, sometimes when I try to remountro it
fails showing "/ is busy", specially if I had it mounted rw for a
while (for example to apt-get upgrade)
when I get this I try to stop all services running, until I don't know
what more to stop, ps aux is almost empty, and I can't recognize any
process to stop with lsof
I tryed to stop sshd and login from terminal too, finally what I do is
a reboot...
how can I find which process keeps / busy?

regards,
Lluís
Muffinman | 1 Feb 21:22
Favicon

Voyage MPD 7.5 QB9 not recognized at boot, have to replug

Howdy all,

I've got a Soekris net5501 running Voyage MPD 7.5, a custom kernel and
the Ayre QB-9. For the most part it is running very well, except for one
thing that is. The QB9 is not recognized at boot. I have to unplug the
machine and plug it back in before it is recognized. The strange thing
is, after a number of boots the problem resolves itself somehow.
However, at some point I use the machine a couple of sessions without
the QB9 attached for some experimenting and then the whole things starts
over again. I had this problem in past also with a Debian Squeeze setup
running on a HP computer. Then the problem also magically resolved
itself after a number of boots.

Does anyone recognize this issue or does anyone have a (possible)
solution? I've attached the output of dmesg in case that helps.
Unfortunately I don't have this output for the situation where the QB9
is recognized properly.

Kind regards, Maarten
comBIOS ver. 1.33  20070103  Copyright (C) 2000-2007 Soekris Engineering.

net5501

                                         CPU Geode LX 500 Mhz
0000 Mbyte Memory
0016
0032
0048
0064
0080
0096
0112
0128
0144
0160
0176
0192
0208
0224
0240
0256
0272
0288
0304
0320
0336
0352
0368
0384
0400
0416
0432
0448
0464
0480
0496
0512
0512

Pri Mas  SanDisk SDCFH-004G              LBA Xlt 968-128-63  3906 Mbyte
Pri Sla  LaCie   d2Next-Quadra           LBA Xlt 1024-255-63  134 Gbyte

Slot   Vend Dev  ClassRev Cmd  Stat CL LT HT  Base1    Base2   Int
-------------------------------------------------------------------
0:01:2 1022 2082 10100000 0006 0220 08 00 00 A0000000 00000000 10
0:06:0 1106 3053 02000096 0117 0210 08 40 00 0000E101 A0004000 11
0:07:0 1106 3053 02000096 0117 0210 08 40 00 0000E201 A0004100 05
0:08:0 1106 3053 02000096 0117 0210 08 40 00 0000E301 A0004200 09
0:09:0 1106 3053 02000096 0117 0210 08 40 00 0000E401 A0004300 12
0:20:0 1022 2090 06010003 0009 02A0 08 40 80 00006001 00006101
0:20:2 1022 209A 01018001 0005 02A0 08 00 00 00000000 00000000
0:21:0 1022 2094 0C031002 0006 0230 08 00 80 A0005000 00000000 15
0:21:1 1022 2095 0C032002 0006 0230 08 00 00 A0006000 00000000 15

   Seconds to automatic boot.   Press Ctrl-P for entering Monitor.
10
 9
 8
 7
 6
 5
 4
 3
 2
 1
GRUB Loading stage2...

    GNU GRUB  version 0.97  (639K lower / 523264K upper memory)

+-------------------------------------------------------------------------+||||||||||||||||||||||||+-------------------------------------------------------------------------+
    Use the ^ and v keys to select which entry is highlighted.
    Press enter to boot the selected OS, 'e' to edit the
    commands before booting, or 'c' for a command-line.  voyage-linux-31Aug11                                                   
 voyage-custom                                                            Debian GNU/Linux, kernel
2.6.38-voyage-custom-v1.0b4                     Debian GNU/Linux, kernel
2.6.38-voyage-custom-v1.0b4 (single-user mod>   Debian GNU/Linux, kernel
2.6.38-voyage                                   Debian GNU/Linux, kernel 2.6.38-voyage (single-user mode)              
                                                                                                                                                                                                                                                                                                   
                                                                                                                                                    The highlighted
entry will be booted automatically in 5 seconds.    The highlighted entry will be booted
automatically in 4 seconds.    The highlighted entry will be booted automatically in 3
seconds.    The highlighted entry will be booted automatically in 2 seconds.  
 The highlighted entry will be booted automatically in 1 seconds.     Booting 'voyage-custom'

root (hd0,0)
 Filesystem type is ext2fs, partition type 0x83
kernel /vmlinuz.old root=LABEL=ROOT_FS console=ttyS0,19200n8
   [Linux-bzImage, setup=0x3400, size=0x1c4830]
initrd /initrd.img.old
   [Linux-initrd @ 0x1fca6000, 0x349190 bytes]

[    0.000000] Linux version 2.6.38-voyage-custom-v1.0b4 (2.6.38-5)
(root <at> MusLin) (gcc version 4.4.5 (Debian 4.4.5-8) ) #1 SMP PREEMPT Wed Aug 31 13:12:10 CEST 2011
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[    0.000000]  BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[    0.000000]  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[    0.000000]  BIOS-e820: 0000000000100000 - 0000000020000000 (usable)
[    0.000000]  BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
[    0.000000] Notice: NX (Execute Disable) protection missing in CPU!
[    0.000000] DMI not present or invalid.
[    0.000000] last_pfn = 0x20000 max_arch_pfn = 0x100000
[    0.000000] init_memory_mapping: 0000000000000000-0000000020000000
[    0.000000] RAMDISK: 1fca6000 - 1fff0000
[    0.000000] ACPI Error: A valid RSDP was not found (20110112/tbxfroot-219)
[    0.000000] 0MB HIGHMEM available.
[    0.000000] 512MB LOWMEM available.
[    0.000000]   mapped low ram: 0 - 20000000
[    0.000000]   low ram: 0 - 20000000
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA      0x00000010 -> 0x00001000
[    0.000000]   Normal   0x00001000 -> 0x00020000
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[2] active PFN ranges
[    0.000000]     0: 0x00000010 -> 0x0000009f
[    0.000000]     0: 0x00000100 -> 0x00020000
[    0.000000] Using APIC driver default
[    0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs
[    0.000000] No local APIC present or hardware disabled
[    0.000000] APIC: disable apic facility
[    0.000000] APIC: switched to apic NOOP
[    0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
[    0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000
[    0.000000] PM: Registered nosave memory: 00000000000f0000 - 0000000000100000
[    0.000000] Allocating PCI resources starting at 20000000 (gap: 20000000:dff00000)
[    0.000000] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:1 nr_node_ids:1
[    0.000000] PERCPU: Embedded 11 pages/cpu @df400000 s24384 r0 d20672 u4194304
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129935
[    0.000000] Kernel command line: root=LABEL=ROOT_FS console=ttyS0,19200n8
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Initializing CPU#0
[    0.000000] Initializing HighMem for node 0 (00000000:00000000)
[    0.000000] Memory: 511600k/524288k available (2653k kernel code, 12236k reserved, 1097k data, 336k
init, 0k highmem)
[    0.000000] virtual kernel memory layout:
[    0.000000]     fixmap  : 0xfff16000 - 0xfffff000   ( 932 kB)
[    0.000000]     pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff7fe000   ( 495 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]       .init : 0xc13aa000 - 0xc13fe000   ( 336 kB)
[    0.000000]       .data : 0xc1297698 - 0xc13a9dc0   (1097 kB)
[    0.000000]       .text : 0xc1000000 - 0xc1297698   (2653 kB)
[    0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[    0.000000] Preemptable hierarchical RCU implementation.
[    0.000000]     RCU-based detection of stalled CPUs is disabled.
[    0.000000]     Verbose stalled-CPUs detection is disabled.
[    0.000000] NR_IRQS:512
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [ttyS0] enabled
[    0.000000] Fast TSC calibration using PIT
[    0.000000] Detected 499.890 MHz processor.
[    0.003008] Calibrating delay loop (skipped), value calculated using timer frequency.. 999.78 BogoMIPS (lpj=499890)
[    0.005012] pid_max: default: 32768 minimum: 301
[    0.006378] Mount-cache hash table entries: 512
[    0.008349] SMP alternatives: switching to UP code
[    0.016708] Freeing SMP alternatives: 16k freed
[    0.018083] weird, boot CPU (#0) not listed by the BIOS.
[    0.019011] SMP motherboard not detected.
[    0.020012] Local APIC not detected. Using dummy APIC emulation.
[    0.021007] SMP disabled
[    0.022010] Performance Events: no PMU driver, software events only.
[    0.027029] Brought up 1 CPUs
[    0.028014] Total of 1 processors activated (999.78 BogoMIPS).
[    0.030272] devtmpfs: initialized
[    0.032918] NET: Registered protocol family 16
[    0.037163] PCI: PCI BIOS revision 2.01 entry at 0xfac61, last bus=0
[    0.038017] PCI: Using configuration type 1 for base access
[    0.054689] bio: create slab <bio-0> at 0
[    0.056427] ACPI: Interpreter disabled.
[    0.058131] vgaarb: loaded
[    0.060338] SCSI subsystem initialized
[    0.062699] PCI: Probing PCI hardware
[    0.068329] pci 0000:00:14.0: CS5536 ISA bridge bug detected (incorrect header); workaround applied.
[    0.078533] Switching to clocksource pit
[    0.079528] pnp: PnP ACPI: disabled
[    0.106077] NET: Registered protocol family 2
[    0.107755] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.110112] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.111815] TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
[    0.112860] TCP: Hash tables configured (established 16384 bind 16384)
[    0.112983] TCP reno registered
[    0.114814] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.115828] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.117244] NET: Registered protocol family 1
[    0.118973] RPC: Registered udp transport module.
[    0.120192] RPC: Registered tcp transport module.
[    0.121394] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.122510] Trying to unpack rootfs image as initramfs...
[    0.865269] Freeing initrd memory: 3368k freed
[    0.870937] platform rtc_cmos: registered platform RTC device (no PNP device found)
[    0.874509] microcode: microcode: CPU0: AMD CPU family 0x5 not supported
[    0.876134] microcode: Microcode Update Driver: v2.00 <tigran <at> aivazian.fsnet.co.uk>, Peter Oruba
[    0.881092] msgmni has been set to 1005
[    0.883655] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[    0.884036] io scheduler noop registered
[    0.885596] io scheduler deadline registered
[    0.886263] io scheduler cfq registered (default)
[    1.202642] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
ÿ[    1.447987] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    1.699951] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[    1.714744] Linux agpgart interface v0.103
[    1.731427] brd: module loaded
[    1.731806] Uniform Multi-Platform E-IDE driver
[    1.733428] ide-gd driver 1.18
[    1.735223] i8042: PNP: No PS/2 controller found. Probing ports directly.
[    1.871681] Switching to clocksource tsc
[    1.987970] serio: i8042 KBD port at 0x60,0x64 irq 1
[    2.019211] mousedev: PS/2 mouse device common for all mice
[    2.053262] cpuidle: using governor ladder
[    2.077969] cpuidle: using governor menu
[    2.104080] TCP cubic registered
[    2.123464] NET: Registered protocol family 17
[    2.150184] Registering the dns_resolver key type
[    2.178468] Using IPI No-Shortcut mode
[    2.203942] Freeing unused kernel memory: 336k freed
Loading, please wait...
[    2.293927] udev[861]: starting version 164
[    3.027435] amd74xx 0000:00:14.2: UDMA100 controller
[    3.431450] amd74xx 0000:00:14.2: IDE controller (0x1022:0x209a rev 0x01)
[    3.520477] via-rhine.c:v1.10-LK1.5.0 2010-10-09 Written by Donald Becker
[    3.733420] Clocksource tsc unstable (delta = 78002609 ns)
[    3.767981] Switching to clocksource pit
[    3.999662] amd74xx 0000:00:14.2: IDE port disabled
[    4.314483] amd74xx 0000:00:14.2: not 100% native mode: will probe irqs later
[    4.335877]     ide0: BM-DMA at 0xe000-0xe007
[    4.661482] hda: SanDisk SDCFH-004G, CFA DISK drive
[    4.734985] usbcore: registered new interface driver usbfs
[    4.740141] usbcore: registered new interface driver hub
[    4.745467] usbcore: registered new device driver usb
[    4.823361] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.868302] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.968251] hdb: LaCie d2Next-Quadra, ATA DISK drive
[    4.970663] hda: host side 80-wire cable detection failed, limiting max speed to UDMA33
[    4.971663] hda: UDMA/33 mode selected
[    4.975083] hdb: UDMA/100 mode selected
[    4.976947] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[    4.980279] hda: max request size: 512KiB
[    4.981329] hda: 7813120 sectors (4000 MB) w/1KiB Cache, CHS=7751/255/63
[    4.984724] hda: cache flushes not supported
[    4.994222]  hda: hda1
[    4.996985] hdb: max request size: 512KiB
[    4.998051] hdb: 3907029168 sectors (2000398 MB), CHS=65535/255/63
[    5.007521] hdb: cache flushes supported
[    5.027807]  hdb: hdb1
[    5.036516] eth0: VIA Rhine III (Management Adapter) at 0xa0004000, 00:00:24:ce:09:70, IRQ 11.
[    5.044447] eth0: MII PHY found at address 1, status 0x7869 advertising 05e1 Link 45e1.
[    5.049468] ehci_hcd 0000:00:15.1: EHCI Host Controller
[    5.051004] ehci_hcd 0000:00:15.1: new USB bus registered, assigned bus number 1
[    5.075336] ehci_hcd 0000:00:15.1: irq 15, io mem 0xa0006000
[    5.082245] ehci_hcd 0000:00:15.1: USB 2.0 started, EHCI 1.00
[    5.085361] hub 1-0:1.0: USB hub found
[    5.086874] hub 1-0:1.0: 4 ports detected
[    5.088849] ohci_hcd 0000:00:15.0: OHCI Host Controller
[    5.090253] ohci_hcd 0000:00:15.0: new USB bus registered, assigned bus number 2
[    5.095107] ohci_hcd 0000:00:15.0: irq 15, io mem 0xa0005000
[    5.182232] hub 2-0:1.0: USB hub found
[    5.183754] hub 2-0:1.0: 4 ports detected
[    5.190854] eth1: VIA Rhine III (Management Adapter) at 0xa0004100, 00:00:24:ce:09:71, IRQ 5.
[    5.199567] eth1: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000.
[    5.224122] eth2: VIA Rhine III (Management Adapter) at 0xa0004200, 00:00:24:ce:09:72, IRQ 9.
[    5.233929] eth2: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000.
[    5.244819] eth3: VIA Rhine III (Management Adapter) at 0xa0004300, 00:00:24:ce:09:73, IRQ 12.
[    5.251483] eth3: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000.
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... done.

INIT: version 2.88 booting

Using makefile-style concurrent boot in runlevel S.
Starting the hotplug events dispatcher: udevd[    6.727080] udev[1053]: starting version 164
.
Synthesizing the initial hotplug events...[    7.569664] input: PC Speaker as /devices/platform/pcspkr/input/input0
[    7.571110] AMD Geode RNG detected
[    7.650149] Disabling lock debugging due to kernel taint
[    7.716637] cs5535-mfd 0000:00:14.0: 5 devices registered.
[    8.006854] geode-aes: GEODE AES engine enabled.
[    8.777575] cs5535-mfgpt cs5535-mfgpt: reserved resource region [io  0x6200-0x63ff]
[    8.779663] cs5535-mfgpt cs5535-mfgpt: 8 MFGPT timers available
[    8.808867] cs5535-gpio cs5535-gpio: reserved resource region [io  0x6100-0x61ff]
[    8.809909] cs5535-gpio cs5535-gpio: GPIO support successfully loaded.
done.
Waiting for /dev to be fully populated...[    9.842888] cs5535-smb cs5535-smb: SCx200 device 'CS5535 ACB0' registered
[   10.485964] Error: Driver 'pcspkr' is already registered, aborting...
done.
Activating swap...done.
[   10.740291] EXT2-fs (hda1): warning: mounting unchecked fs, running e2fsck is recommended
Cleaning up ifupdown....
[   10.995413] pc87360: Device 0x09 not activated
[   11.092695] gpio: found bridge device 1022:2080
[   11.093892] gpio: base at 6100
[   11.098317] gpio: Soekris net5501 GPIO driver Version 1.3.3 (C) 2010 Lieven De Samblanx
[   11.144712] Real Time Clock Driver v1.12b
Loading kernel modules...done.
Activating lvm and md swap...done.
Checking file systems...fsck from util-linux-ng 2.17.2
done.
Mounting local filesystems...[   21.581711] EXT4-fs (hdb1): recovery complete
[   21.583284] EXT4-fs (hdb1): mounted filesystem with ordered data mode. Opts: errors=remount-ro
failed.
Activating swapfile swap...done.
Cleaning up temporary files....
Setting kernel variables ...done.
Setting up resolvconf...done.
Setting up networking....
Configuring network interfaces...done.
Starting portmap daemon....
[   27.175938] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Starting NFS common utilities: statd.
Cleaning up temporary files....
Setting up ALSA...warning: 'alsactl restore' failed with error message 'alsactl: load_state:1610: No
soundcards found...'...done.
[   29.363389] fuse init (API version 7.16)
Loading the saved-state of the serial devices...
voyage-sync: Start tmpfs...
voyage-sync:   Checking if recovery from a power failure is needed...
voyage-sync:   Copying /ro to /rw
voyage-sync:   Setting up tmpfs for changed files...
voyage-sync:   tmpfs: mount back /lib/init/rw/var/log to /var/log
voyage-sync:   tmpfs: mount back /lib/init/rw/var/tmp to /var/tmp
voyage-sync:   tmpfs: mount back /lib/init/rw/var/lib/mpd to /var/lib/mpd
voyage-sync:   tmpfs: mount back /lib/init/rw/var/lib/alsa to /var/lib/alsa
voyage-sync: Start tmpfs completed

INIT: Entering runlevel: 2

Using makefile-style concurrent boot in runlevel 2.
Starting portmap daemon...Already running..
Starting NFS common utilities: statd.
Starting watchdog keepalive daemon: wd_keepalive.
Starting system log daemon....
Starting system message bus: dbus.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon[   34.070604] NET: Registered protocol family 10
.
Starting kernel log daemon....
[   35.663569] sshd (2068): /proc/2068/oom_adj is deprecated, please use /proc/2068/oom_score_adj instead.
Starting OpenBSD Secure Shell server: sshd.
Starting web server: lighttpd.
Starting DNS forwarder and DHCP server: dnsmasq.
Starting periodic command scheduler: cron.
Starting Music Player Daemon: mpdlisten: bind to '0.0.0.0:6600' failed: Address already in use
(continuing anyway, because binding to '[::]:6600' succeeded)
.
nocatsplash daemon disabled - read /etc/default/nocatsplash.
Remounting / as read-write ... Done.
Removing /etc/nologin ... Stopping watchdog keepalive daemon....
Starting watchdog daemon....
Done.
Remounting / as read-only ... Done.

Debian GNU/Linux 6.0 voyage ttyS0

voyage login: root
Password:
Last login: Wed Sep  7 22:14:23 CEST 2011 from 192.168.0.105 on pts/1
Linux voyage 2.6.38-voyage-custom-v1.0b4 #1 SMP PREEMPT Wed Aug 31 13:12:10 CEST 2011 i586

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
 __  __
 \ \/ /___ __  __ ___  ___  ___    Useful Commands:
  \  // _ \\ \/ /,-_ |/ _ |/ -_)     remountrw - mount disk as read-write
   \/ \___/ \  / \___,\_  |\___|     remountro - mount disk as read-only
           _/_/        _'_|          remove.docs - remove all docs and manpages
     { V o y a g e } - L i n u x     
      < http://linux.voyage.hk >   Version: 0.7 (Build Date 20110628)

root <at> voyage:~# ls /mnt
lost+found  musica
root <at> voyage:~# [   72.249021] usb 1-1: new high speed USB device using ehci_hcd and address 2
[   72.798298] usbcore: registered new interface driver snd-usb-audio
_______________________________________________
Voyage-linux mailing list
Voyage-linux@...
http://list.voyage.hk/mailman/listinfo/voyage-linux
Frank Hoeflich | 1 Feb 21:24
Picon
Favicon

Re: when remountro fails

Lluís:

    This happened to my Voyage 0.6.5 and 0.7.5 virtual machines when they were taken down unceremoniously.  I
was ultimately obliged to boot the Voyage SDK iso, run a filesystem check to repair the Voyage
installation on my hard drive, and then boot from hard disk again.  At the end everything was reasonably OK -
I did lose a few inodes - but I could remountrw/remountro once again without the annoying / is busy message.

    Give it a shot

--Frank

--- On Wed, 2/1/12, tictacbum <tictacbum <at> gmail.com> wrote:

> From: tictacbum <tictacbum@...>
> Subject: [Voyage-linux] when remountro fails
> To: voyage-linux@...
> Date: Wednesday, February 1, 2012, 11:58 AM
> Hello,
> I have a voyage 0.8 installation, sometimes when I try to
> remountro it
> fails showing "/ is busy", specially if I had it mounted rw
> for a
> while (for example to apt-get upgrade)
> when I get this I try to stop all services running, until I
> don't know
> what more to stop, ps aux is almost empty, and I can't
> recognize any
> process to stop with lsof
> I tryed to stop sshd and login from terminal too, finally
> what I do is
> a reboot...
> how can I find which process keeps / busy?
> 
> regards,
> Lluís
> 
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux@...
> http://list.voyage.hk/mailman/listinfo/voyage-linux
> 
John Mayer | 1 Feb 21:55
Picon
Favicon

OSS on Voyage MPD 0.8

Hi,

I'm trying to install OSS on Voyage MPD 0.8 and am running into an error. After having compiled oss-linux-4.2-2006_i386.deb
I get the following when trying to run "dpkg -i oss-linux-4.2-2006_i386.deb":

root <at> voyage:~# dpkg -i oss-linux-4.2-2006_i386.deb
Vormals abgewähltes Paket oss-linux wird gewählt.
(Lese Datenbank ... 36657 Dateien und Verzeichnisse sind derzeit installiert.)
Entpacken von oss-linux (aus oss-linux-4.2-2006_i386.deb) ...
Shutting down ALSA...done.
oss-linux (4.2-2006) wird eingerichtet ...
Building OSS Modules for Linux-unknown 3.0.0-voyage

OSS build environment set up for REGPARM kernels

Building module osscore
Failed to compile OSS
make -C /lib/modules/3.0.0-voyage/build M=/usr/lib/oss/build modules
make[1]: Entering directory `/usr/src/linux-headers-3.0.0-voyage'
/usr/src/linux-headers-3.0.0-voyage/arch/x86/Makefile:39: /usr/src/linux-headers-3.0.0-voyage/arch/x86/Makefile_32.cpu: Datei oder Verzeichnis nicht gefunden
make[1]: *** Keine Regel, um »/usr/src/linux-headers-3.0.0-voyage/arch/x86/Makefile_32.cpu« zu erstellen.  Schluss.
make[1]: Leaving directory `/usr/src/linux-headers-3.0.0-voyage'
make: *** [default] Fehler 2
Forcing re-detection of installed soundcards
Starting Open Sound System
Relinking OSS kernel modules for "3.0.0-voyage SMP preempt mod_unload 486 "
This may take few moments - please stand by...

OSS build environment set up for REGPARM kernels

Building module osscore
Failed to compile OSS
make -C /lib/modules/3.0.0-voyage/build M=/usr/lib/oss/build modules
make[1]: Entering directory `/usr/src/linux-headers-3.0.0-voyage'
/usr/src/linux-headers-3.0.0-voyage/arch/x86/Makefile:39: /usr/src/linux-headers-3.0.0-voyage/arch/x86/Makefile_32.cpu: Datei oder Verzeichnis nicht gefunden
make[1]: *** Keine Regel, um »/usr/src/linux-headers-3.0.0-voyage/arch/x86/Makefile_32.cpu« zu erstellen.  Schluss.
make[1]: Leaving directory `/usr/src/linux-headers-3.0.0-voyage'
make: *** [default] Fehler 2

Relinking the OSS kernel modules failed
root <at> voyage:~#

The error apparently stems from a certain Makefile_32.cpu missing (yes, I have the 3.0.0-voyage linux headers installed). Does anyone know how to remedy this?
_______________________________________________
Voyage-linux mailing list
Voyage-linux@...
http://list.voyage.hk/mailman/listinfo/voyage-linux
tictacbum | 1 Feb 22:58
Picon

Re: when remountro fails

Hi,
I've taken the compact flash and did a fsck -f (filesystem was clean)
left filesystem mounted rw about an hour and remounted ro without
trouble, seems fsck helped :)
thank you!

On Wed, Feb 1, 2012 at 9:24 PM, Frank Hoeflich
<frankhoeflich@...> wrote:
> Lluís:
>
>    This happened to my Voyage 0.6.5 and 0.7.5 virtual machines when they were taken down
unceremoniously.  I was ultimately obliged to boot the Voyage SDK iso, run a filesystem check to repair
the Voyage installation on my hard drive, and then boot from hard disk again.  At the end everything was
reasonably OK - I did lose a few inodes - but I could remountrw/remountro once again without the annoying /
is busy message.
>
>    Give it a shot
>
> --Frank
>
> --- On Wed, 2/1/12, tictacbum <tictacbum@...> wrote:
>
>> From: tictacbum <tictacbum@...>
>> Subject: [Voyage-linux] when remountro fails
>> To: voyage-linux@...
>> Date: Wednesday, February 1, 2012, 11:58 AM
>> Hello,
>> I have a voyage 0.8 installation, sometimes when I try to
>> remountro it
>> fails showing "/ is busy", specially if I had it mounted rw
>> for a
>> while (for example to apt-get upgrade)
>> when I get this I try to stop all services running, until I
>> don't know
>> what more to stop, ps aux is almost empty, and I can't
>> recognize any
>> process to stop with lsof
>> I tryed to stop sshd and login from terminal too, finally
>> what I do is
>> a reboot...
>> how can I find which process keeps / busy?
>>
>> regards,
>> Lluís
>>
>> _______________________________________________
>> Voyage-linux mailing list
>> Voyage-linux@...
>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>
Alfonso Fiore | 2 Feb 02:34
Picon

how to configure wds if iwpriv always reports "no private ioctls."

Hello,

I'm trying to setup wds using voyage 0.8.0 and an ALIX 3d3 with a
dcma81 (Atheros AR5414).

I first want to setup the wds from command line but every time I try a
iwpriv command I get "no private ioctls." error.

I'm not sure if this really my problem, but I read here (
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/99432 ) that some
driver doesn't support iwpriv (despite the HW).

But now if I want to setup a bridge between wlan0 and eth0 what should I do?

/etc/network/interfaces suggests:

#auto br0
#iface br0 inet static
#        address 192.168.1.2
#        netmask 255.255.255.0
#        network 192.168.1.0
#        broadcast 192.168.1.255
#        gateway 192.168.1.1
#        bridge_ports eth0 wlan0 wlan0wds0
#        pre-up iwconfig wlan0 mode Master essid voyage-wds channel 1
#        pre-up iwpriv wlan0 wds_add AA:BB:CC:DD:EE:FF

but it doesn't work due to iwpriv not working (and I need my wireless
to be in Managed mode, but this is irrelevant to this problem).

I tried to manually bring up wlan0 like this:

auto wlan0
iface wlan0 inet dhcp
        wpa-driver wext
        wpa-ssid
        wpa-psk
        wpa-key-mgmt WPA-PSK
        wpa-pairwise TKIP
        wpa-group TKIP
        wpa-proto WPA
        wireless-mode Managed

and then manually creating a bridge but it doesn't work (and this is
why wds exists as far I understand).

Any help is appreciated.

Thank you,
alfonso
Favicon

Re: Voyage MPD 7.5 QB9 not recognized at boot, have to replug

Hi Maarten,

In QB-9, there is a switch to select USB audio class 1 and 2.  AFAIK, you must select USB audio class 2 all the time.

We have a few users using QB-9 without problem.  They can provide more accurate answer if I am wrong.

Regards,
Punky

On 2/2/2012 4:22 AM, Muffinman wrote:
> Howdy all,
>
> I've got a Soekris net5501 running Voyage MPD 7.5, a custom kernel and
> the Ayre QB-9. For the most part it is running very well, except for one
> thing that is. The QB9 is not recognized at boot. I have to unplug the
> machine and plug it back in before it is recognized. The strange thing
> is, after a number of boots the problem resolves itself somehow.
> However, at some point I use the machine a couple of sessions without
> the QB9 attached for some experimenting and then the whole things starts
> over again. I had this problem in past also with a Debian Squeeze setup
> running on a HP computer. Then the problem also magically resolved
> itself after a number of boots.
>
> Does anyone recognize this issue or does anyone have a (possible)
> solution? I've attached the output of dmesg in case that helps.
> Unfortunately I don't have this output for the situation where the QB9
> is recognized properly.
>
> Kind regards, Maarten
> st.voyage.hk/mailman/listinfo/voyage-linux 

--

-- 
Regards,
Kim-man "Punky" Tse

* Open Source Embedded Solutions and Systems
   - Voyage Linux (http://linux.voyage.hk)
   - Voyage ONE   (http://linux.voyage.hk/voyage-one)
   - Voyage MPD   (http://linux.voyage.hk/voyage-mpd)
* Voyage Store   (http://store.voyage.hk)

Gmane