Install Meteohub on usb hdd?

Moderator: Mattk

Post Reply
juntta
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Wed Oct 21, 2009 1:36 pm

Install Meteohub on usb hdd?

Post by juntta »

Hi!

I just got myself a Sheevaplug and installed Meteohub with SD image which is working just fine.

Now I just started to think about installing Meteohub on external usb hdd. Obviously I would have to use powered usb hub with the disk to get both hdd and my WMR-200 connected.

What steps should I take to achieve this? Of course, backup old data, write image to hdd, repartition the hdd, import old data but what else?
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re:Install Meteohub on usb hdd?

Post by admin »

I wouldn't recommend doing that, because having the root disk connected via USB is not a very reliable option as far as my experiences with NSLU2 do tell me.

Why do you want to do that? It is more bulky, makes noise, wastes power and USB HDDs are known not to be built for 24/7 operation.
juntta
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Wed Oct 21, 2009 1:36 pm

Re:Install Meteohub on usb hdd?

Post by juntta »

Well, I plan to put several services on the plug that now I have on different servers (old laptop, two NSLUs).

Noise, bulkiness and power are not issues since I'm reducing machines and plug is in storage room where noise isn't any problem.

And the hdd is actually quality hdd in external case not just any cheap usb disk. Sorry, I should've been more exact about that.

I used to have that same disk attached to my old NSLU Meteohub and didn't have any problems with booting from that drive, but of course, anything is possible and probably now as I said that, I will run into every thinkable problem! :P
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re:Install Meteohub on usb hdd?

Post by admin »

Ah, I see. When you already have experience with running your NSLU2 on a USB HDD, then switching over your SheevaPlug should be the same. "/etc/fstab" will need some tweaking and you will have to tell SheevaPlugs "uboot" that it shouldn't boot from SD anymore.

That should be all... apart from the things that don't come into my mind at the moment ;-)
juntta
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Wed Oct 21, 2009 1:36 pm

Re:Install Meteohub on usb hdd?

Post by juntta »

Fstab tweaking seemed obvious to me but Sheevas uboot is a bit mystery to me at the moment.

So any advice on that? Or something simple enough to read about it? ;)
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re:Install Meteohub on usb hdd?

Post by admin »

uboot supports environment settings that control boot process. First of all you have to connect via serial console and abort boot process when uboot provides an option to enter it's shell. uboot shell allows you to give parameters, change environment settings and to make settings permanent.

Start reading here (USB example might fit):
http://plugcomputer.org/plugwiki/index.php/Multi-Boot
juntta
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Wed Oct 21, 2009 1:36 pm

Re:Install Meteohub on usb hdd?

Post by juntta »

Well, managed to get SP boot from usb with that wiki example.

But now that I connect WMR-200 through usb hub, it collects data for about an hour and after that it doesn't receive any data from sensors. On meteohub log shows that Meteohub disconnects and connects weather station again and again. Any advice?
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re:Install Meteohub on usb hdd?

Post by admin »

Could you please provide the "meteohub log" and "dmesg log". May be this gives some indication of what is going wrong.
juntta
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Wed Oct 21, 2009 1:36 pm

Re:Install Meteohub on usb hdd?

Post by juntta »

I went back from usb boot to sd boot, still keeped weatherstation plugged in to usb hub => "sensors" page shows "last signal: never" to all sensors and "weather station" page shows connection with wmr-200

There were number of these cycles in meteohub log:

Code: Select all

logger (25.10.2009 06:42:59): data logger stopped.
logger (25.10.2009 06:42:59): data logger started.
logger (25.10.2009 06:42:59): connect station 0 (WMR-200 via USB HID).
logger (25.10.2009 06:45:31): no signal from station 0 (WMR-200) for 150 seconds, station to be restarted.
logger (25.10.2009 06:45:31): disconnect station 0 (WMR-200).
logger (25.10.2009 06:46:01): connect station 0 (WMR-200 via USB HID).
logger (25.10.2009 06:47:44): station 0 (WMR-200), wrong checksum (0003 vs computed 0000) for sensor model d7  in byte sequence:
logger (25.10.2009 06:47:44): station 0 (WMR-200), wrong checksum (0009 vs computed 0000) for sensor model d7  in byte sequence:
logger (25.10.2009 06:47:55): station 0 (WMR-200), wrong checksum (0009 vs computed 0000) for sensor model d7  in byte sequence:
logger (25.10.2009 06:48:05): station 0 (WMR-200), wrong checksum (0009 vs computed 0000) for sensor model d7  in byte sequence:
logger (25.10.2009 06:48:19): station 0 (WMR-200), wrong checksum (0009 vs computed 0000) for sensor model d7  in byte sequence:
logger (25.10.2009 06:48:24): station 0 (WMR-200), wrong checksum (0009 vs computed 0000) for sensor model d7  in byte sequence:
logger (25.10.2009 06:48:27): parent process received termination signal (15).
logger (25.10.2009 06:48:27): child process received termination signal (15).
logger (25.10.2009 06:48:34): disconnect station 0 (WMR-200).
logger (25.10.2009 06:48:34): data logger stopped.
logger (25.10.2009 06:49:58): data logger started.

And the dmesg:

Code: Select all

DMESG:
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.29-2-kirkwood (Debian 2.6.29-5) (waldi@debian.org) (gcc version 4.3.3 (Debian 4.3.3-10) ) #1 Mon May 18 01:17:03 UTC 2009
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053177
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Marvell SheevaPlug Reference Board
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat c036756c, node_mem_map c03d0000
[    0.000000]   Normal zone: 1024 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 130048 pages, LIFO batch:31
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x100000(root) root=/dev/mmcblk0p1 rootdelay=10
[    0.000000] PID hash table entries: 2048 (order: 11, 8192 bytes)
[42949372.960000] Console: colour dummy device 80x30
[42949372.960000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[42949372.960000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[42949372.970000] Memory: 256MB 256MB = 512MB total
[42949372.970000] Memory: 511488KB available (3204K code, 535K data, 116K init)
[42949372.980000] Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776)
[42949373.220000] Security Framework initialized
[42949373.220000] SELinux:  Disabled at boot.
[42949373.220000] Mount-cache hash table entries: 512
[42949373.220000] Initializing cgroup subsys ns
[42949373.220000] Initializing cgroup subsys cpuacct
[42949373.220000] Initializing cgroup subsys devices
[42949373.220000] Initializing cgroup subsys freezer
[42949373.220000] Initializing cgroup subsys net_cls
[42949373.220000] CPU: Testing write buffer coherency: ok
[42949373.220000] net_namespace: 1044 bytes
[42949373.220000] regulator: core version 0.5
[42949373.220000] NET: Registered protocol family 16
[42949373.220000] Kirkwood: MV88F6281-A0, TCLK=200000000.
[42949373.220000] Feroceon L2: Enabling L2
[42949373.220000] Feroceon L2: Cache support initialised.
[42949373.220000] initial MPP regs: 01111111 11113322 00001111 00100000 00000000 00000000 00000000
[42949373.220000]   final MPP regs: 01111111 11113322 00001111 00000000 00000000 00000000 00000000
[42949373.230000] bio: create slab <bio-0> at 0
[42949373.230000] NET: Registered protocol family 2
[42949373.230000] IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
[42949373.230000] TCP established hash table entries: 65536 (order: 7, 524288 bytes)
[42949373.230000] TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
[42949373.230000] TCP: Hash tables configured (established 65536 bind 65536)
[42949373.230000] TCP reno registered
[42949373.230000] NET: Registered protocol family 1
[42949373.230000] checking if image is initramfs...<7>Switched to high resolution mode on CPU 0
[42949373.770000]  it is
[42949374.340000] Freeing initrd memory: 4156K
[42949374.340000] NetWinder Floating Point Emulator V0.97 (double precision)
[42949374.340000] audit: initializing netlink socket (disabled)
[42949374.340000] type=2000 audit(1.380:1): initialized
[42949374.340000] VFS: Disk quotas dquot_6.5.2
[42949374.340000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[42949374.340000] JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[42949374.340000] msgmni has been set to 1007
[42949374.340000] alg: No test for stdrng (krng)
[42949374.340000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[42949374.340000] io scheduler noop registered
[42949374.340000] io scheduler anticipatory registered
[42949374.340000] io scheduler deadline registered
[42949374.340000] io scheduler cfq registered (default)
[42949374.350000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[42949374.350000] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[42949374.350000] console [ttyS0] enabled
[42949374.680000] brd: module loaded
[42949374.690000] NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit)
[42949374.700000] Scanning device for bad blocks
[42949374.810000] Bad eraseblock 2423 at 0x000012ee0000
[42949374.880000] Creating 3 MTD partitions on "orion_nand":
[42949374.890000] 0x000000000000-0x000000100000 : "u-boot"
[42949374.890000] uncorrectable error : <5>0x000000100000-0x000000500000 : "uImage"
[42949374.900000] ftl_cs: FTL header not found.
[42949374.910000] 0x000000500000-0x000020000000 : "root"
[42949374.910000] ftl_cs: FTL header not found.
[42949374.920000] mice: PS/2 mouse device common for all mice
[42949374.930000] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[42949374.930000] i2c /dev entries driver
[42949374.940000] Registered led device: plug:green:health
[42949374.940000] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[42949374.950000] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[42949375.000000] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[42949375.040000] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[42949375.080000] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[42949375.120000] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[42949375.120000] TCP cubic registered
[42949375.130000] NET: Registered protocol family 17
[42949375.130000] registered taskstats version 1
[42949375.140000] rtc-mv rtc-mv: setting system clock to 2009-10-25 04:49:30 UTC (1256446170)
[42949375.140000] Freeing init memory: 116K
[42949375.460000] mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
[42949375.580000] mmc0: host does not support reading read-only switch. assuming write-enable.
[42949375.590000] mmc0: new high speed SDHC card at address 1234
[42949375.660000] mmcblk0: mmc0:1234 SA08G 7.40 GiB 
[42949375.670000]  mmcblk0: p1 p2 p3
[42949376.010000] usbcore: registered new interface driver usbfs
[42949376.020000] usbcore: registered new interface driver hub
[42949376.060000] MV-643xx 10/100/1000 ethernet driver version 1.4
[42949376.060000] mv643xx_eth smi: probed
[42949376.140000] eth0 (mv643xx_eth_port): not using net_device_ops yet
[42949376.140000] net eth0: port 0 with MAC address 00:50:43:01:63:f7
[42949376.160000] uncorrectable error : <3>uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 0
[42949376.170000] Buffer I/O error on device mtdblock0, logical block 0
[42949376.180000] uncorrectable error : <3>uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 8
[42949376.190000] Buffer I/O error on device mtdblock0, logical block 1
[42949376.200000] uncorrectable error : <3>uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 16
[42949376.200000] Buffer I/O error on device mtdblock0, logical block 2
[42949376.220000] uncorrectable error : <3>uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 24
[42949376.220000] Buffer I/O error on device mtdblock0, logical block 3
[42949376.320000] uncorrectable error : <3>uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 0
[42949376.330000] Buffer I/O error on device mtdblock0, logical block 0
[42949376.440000] usbcore: registered new device driver usb
[42949376.500000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[42949376.510000] orion-ehci orion-ehci.0: Marvell Orion EHCI
[42949376.510000] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[42949376.660000] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[42949376.680000] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[42949376.680000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[42949376.690000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[42949376.700000] usb usb1: Product: Marvell Orion EHCI
[42949376.700000] usb usb1: Manufacturer: Linux 2.6.29-2-kirkwood ehci_hcd
[42949376.710000] usb usb1: SerialNumber: orion-ehci.0
[42949376.710000] usb usb1: configuration #1 chosen from 1 choice
[42949376.720000] hub 1-0:1.0: USB hub found
[42949376.720000] hub 1-0:1.0: 1 port detected
[42949377.050000] usb 1-1: new high speed USB device using orion-ehci and address 2
[42949377.200000] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[42949377.200000] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[42949377.210000] usb 1-1: Product: USB2.0 Hub
[42949377.220000] usb 1-1: configuration #1 chosen from 1 choice
[42949377.220000] hub 1-1:1.0: USB hub found
[42949377.240000] hub 1-1:1.0: 4 ports detected
[42949377.520000] usb 1-1.2: new high speed USB device using orion-ehci and address 3
[42949377.630000] usb 1-1.2: New USB device found, idVendor=1058, idProduct=0704
[42949377.630000] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[42949377.640000] usb 1-1.2: Product: External HDD    
[42949377.650000] usb 1-1.2: Manufacturer: Western Digital 
[42949377.650000] usb 1-1.2: SerialNumber: 575845393038433937303739
[42949377.660000] usb 1-1.2: configuration #1 chosen from 1 choice
[42949377.790000] SCSI subsystem initialized
[42949377.790000] usb 1-1.3: new low speed USB device using orion-ehci and address 4
[42949377.820000] Initializing USB Mass Storage driver...
[42949377.830000] scsi0 : SCSI emulation for USB Mass Storage devices
[42949377.840000] usbcore: registered new interface driver usb-storage
[42949377.840000] USB Mass Storage support registered.
[42949377.850000] usb-storage: device found at 3
[42949377.850000] usb-storage: waiting for device to settle before scanning
[42949377.920000] usb 1-1.3: New USB device found, idVendor=0fde, idProduct=ca01
[42949377.930000] usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[42949377.930000] usb 1-1.3: Product: Universal Bridge
[42949377.940000] usb 1-1.3: configuration #1 chosen from 1 choice
[42949378.040000] usbcore: registered new interface driver hiddev
[42949378.080000] generic-usb 0003:0FDE:CA01.0001: hiddev96,hidraw0: USB HID v1.10 Device [Universal Bridge] on usb-orion-ehci.0-1.3/input0
[42949378.090000] usbcore: registered new interface driver usbhid
[42949378.090000] usbhid: v2.6:USB HID core driver
[42949382.850000] usb-storage: device scan complete
[42949382.850000] scsi 0:0:0:0: Direct-Access     WD       3200BMV External 1.05 PQ: 0 ANSI: 4
[42949382.910000] Driver 'sd' needs updating - please use bus_type methods
[42949382.920000] sd 0:0:0:0: [sda] 625142448 512-byte hardware sectors: (320 GB/298 GiB)
[42949382.930000] sd 0:0:0:0: [sda] Write Protect is off
[42949382.940000] sd 0:0:0:0: [sda] Mode Sense: 21 00 00 00
[42949382.940000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[42949382.950000] sd 0:0:0:0: [sda] 625142448 512-byte hardware sectors: (320 GB/298 GiB)
[42949382.950000] sd 0:0:0:0: [sda] Write Protect is off
[42949382.960000] sd 0:0:0:0: [sda] Mode Sense: 21 00 00 00
[42949382.960000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[42949382.970000]  sda: sda1 sda2 sda3
[42949386.020000] sd 0:0:0:0: [sda] Attached SCSI disk
[42949387.080000] md: linear personality registered for level -1
[42949387.120000] md: multipath personality registered for level -4
[42949387.140000] md: raid0 personality registered for level 0
[42949387.180000] md: raid1 personality registered for level 1
[42949387.210000] xor: measuring software checksum speed
[42949387.260000]    arm4regs  :  1083.200 MB/sec
[42949387.310000]    8regs     :   803.200 MB/sec
[42949387.360000]    32regs    :   878.000 MB/sec
[42949387.360000] xor: using function: arm4regs (1083.200 MB/sec)
[42949387.370000] async_tx: api initialized (async)
[42949387.580000] raid6: int32x1     77 MB/s
[42949387.750000] raid6: int32x2    103 MB/s
[42949387.920000] raid6: int32x4    122 MB/s
[42949388.090000] raid6: int32x8     95 MB/s
[42949388.090000] raid6: using algorithm int32x4 (122 MB/s)
[42949388.090000] md: raid6 personality registered for level 6
[42949388.100000] md: raid5 personality registered for level 5
[42949388.110000] md: raid4 personality registered for level 4
[42949388.220000] md: raid10 personality registered for level 10
[42949388.310000] uncorrectable error : <3>uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 0
[42949388.320000] Buffer I/O error on device mtdblock0, logical block 0
[42949388.330000] uncorrectable error : <3>uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 0
[42949388.330000] Buffer I/O error on device mtdblock0, logical block 0
[42949388.400000] uncorrectable error : <3>uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 0
[42949388.400000] Buffer I/O error on device mtdblock0, logical block 0
[42949388.420000] uncorrectable error : <3>uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 0
[42949388.420000] Buffer I/O error on device mtdblock0, logical block 0
[42949388.510000] kjournald starting.  Commit interval 5 seconds
[42949388.520000] EXT3-fs: mounted filesystem with ordered data mode.
[42949389.820000] udevd version 125 started
[42949390.960000] uncorrectable error : <3>uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 0
[42949390.970000] Buffer I/O error on device mtdblock0, logical block 0
[42949390.980000] uncorrectable error : <3>uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 8
[42949390.980000] Buffer I/O error on device mtdblock0, logical block 1
[42949390.990000] uncorrectable error : <3>uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 16
[42949391.000000] Buffer I/O error on device mtdblock0, logical block 2
[42949391.010000] uncorrectable error : <3>uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 24
[42949391.020000] Buffer I/O error on device mtdblock0, logical block 3
[42949391.250000] uncorrectable error : <3>uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 0
[42949391.260000] Buffer I/O error on device mtdblock0, logical block 0
[42949392.630000] Adding 134532k swap on /dev/mmcblk0p2.  Priority:-1 extents:1 across:134532k SS
[42949392.760000] EXT3 FS on mmcblk0p1, internal journal
[42949394.020000] loop: module loaded
[42949394.310000] uncorrectable error : <3>uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 0
[42949394.310000] Buffer I/O error on device mtdblock0, logical block 0
[42949394.320000] uncorrectable error : <3>uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 0
[42949394.330000] Buffer I/O error on device mtdblock0, logical block 0
[42949394.910000] kjournald starting.  Commit interval 120 seconds
[42949395.140000] EXT3 FS on mmcblk0p3, internal journal
[42949395.140000] EXT3-fs: mounted filesystem with ordered data mode.
[42949397.340000] eth0: link up, 100 Mb/s, full duplex, flow control disabled
[42949399.090000] NET: Registered protocol family 10
[42949399.100000] lo: Disabled Privacy Extensions
[42949401.050000] usbcore: registered new interface driver usbserial
[42949401.050000] USB Serial support registered for generic
[42949401.060000] usbcore: registered new interface driver usbserial_generic
[42949401.060000] usbserial: USB Serial Driver core
[42949401.100000] USB Serial support registered for pl2303
[42949401.110000] usbcore: registered new interface driver pl2303
[42949401.110000] pl2303: Prolific PL2303 USB to serial adaptor driver
[42949401.200000] USB Serial support registered for cp2101
[42949401.210000] usbcore: registered new interface driver cp2101
[42949401.210000] cp2101: v0.07:Silicon Labs CP2101/CP2102 RS232 serial adaptor driver
[42949401.310000] USB Serial support registered for FTDI USB Serial Device
[42949401.320000] usbcore: registered new interface driver ftdi_sio
[42949401.320000] ftdi_sio: v1.4.3:USB FTDI Serial Converters Driver
[42949401.420000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[42949405.200000] warning: `ntpd' uses 32-bit capabilities (legacy support in use)
[42949410.060000] eth0: no IPv6 routers present
[42949436.170000] usb 1-1.3: usbfs: USBDEVFS_CONTROL failed cmd hidlog3 rqt 33 rq 9 len 8 ret -110

USB:
Bus 001 Device 004: ID 0fde:ca01  
Bus 001 Device 003: ID 1058:0704 Western Digital Technologies, Inc. 
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

PCI:


Partitions:
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mmcblk0p1          858832    647268    167940  80% /
tmpfs                   258004         0    258004   0% /lib/init/rw
udev                     10240        76     10164   1% /dev
tmpfs                   258004         0    258004   0% /dev/shm
/dev/mmcblk0p3         6651084    338492   5980340   6% /data
tmpfs                     8192         0      8192   0% /var/lock
tmpfs                    32768       304     32464   1% /var/run
tmpfs                    32768        16     32752   1% /var/log

Process:
  PID TTY      STAT   TIME COMMAND
    1 ?        Ss     0:01 init [2]  
    2 ?        S<     0:00 [kthreadd]
    3 ?        S<     0:00 [ksoftirqd/0]
    4 ?        S<     0:00 [watchdog/0]
    5 ?        S<     0:00 [events/0]
    6 ?        S<     0:00 [khelper]
    9 ?        S<     0:00 [netns]
   73 ?        S<     0:00 [kintegrityd/0]
   75 ?        S<     0:00 [kblockd/0]
   78 ?        S<     0:00 [kseriod]
  102 ?        S      0:00 [pdflush]
  103 ?        S      0:00 [pdflush]
  104 ?        S<     0:00 [kswapd0]
  105 ?        S<     0:00 [aio/0]
  221 ?        S<     0:00 [mtdblockd]
  222 ?        S<     0:00 [ftld]
  223 ?        S<     0:00 [nftld]
  239 ?        S<     0:00 [orion_spi]
  245 ?        S<     0:00 [kpsmoused]
  305 ?        S<     0:00 [kmmcd]
  355 ?        S<     0:00 [mmcqd]
  415 ?        S<     0:00 [khubd]
  619 ?        S<     0:00 [scsi_eh_0]
  621 ?        S<     0:00 [usb-storage]
  635 ?        S<     0:00 [hid_compat]
  746 ?        S<     0:00 [kjournald]
  833 ?        S<s    0:00 udevd --daemon
 1187 ?        Ss     0:00 logsave -s /var/log/fsck/checkroot fsck -C -y -t ext3 /dev/mmcblk0p1
 1296 ?        Ss     0:00 logsave -s /var/log/fsck/checkfs fsck -C -R -A -y
 1305 ?        S<     0:00 [kjournald]
 1401 ?        Ss     0:00 /sbin/portmap
 1414 ?        Ss     0:00 /sbin/rpc.statd
 1526 ?        S      0:00 /home/meteohub/meteoschedule /dev/meteohub
 1558 ?        S      0:00 /bin/sh /etc/rc.boot/initsensors
 1573 ?        Sl     0:00 /usr/sbin/rsyslogd -f /etc/syslog.conf
 1589 ?        Ss     0:00 /usr/bin/dbus-daemon --system
 1603 ?        Ss     0:00 /usr/sbin/sshd
 1618 ?        S<     0:00 /home/meteohub/loggerd /var/run/loggerd.pid
 1619 ?        S<     0:00 /home/meteohub/loggerd /var/run/loggerd.pid
 1623 ?        S      0:00 /home/meteohub/meteonet -r
 1690 ?        Ss     0:00 /usr/bin/rsync /var/run/rsyncd.pid --daemon
 1695 ?        Ss     0:00 /usr/sbin/nmbd -D
 1697 ?        Ss     0:00 /usr/sbin/smbd -D
 1705 ?        S<s    0:00 /usr/sbin/thttpd -C /etc/thttpd.conf
 1707 ?        S<s    0:00 /usr/sbin/thttpdbackup -C /etc/thttpd-backup.conf
 1709 ?        S      0:00 /usr/sbin/smbd -D
 1716 ?        Ss     0:00 /usr/sbin/ntpd -p /var/run/ntpd.pid -u 105:107 -g
 1726 ?        Ss     0:00 /sbin/mdadm --monitor --pid-file /var/run/mdadm/monitor.pid --daemonise --scan --syslog
 1746 ?        Ss     0:00 /usr/sbin/cron
 1757 ?        SLs    0:00 /usr/sbin/watchdog
 1770 ttyS0    Ss+    0:00 /sbin/getty -L ttyS0 115200 linux
 1860 ?        RN     2:27 /srv/www/meteolog.cgi 0 0
 2124 ?        Z      0:00 [watchdog] <defunct>
 2132 ?        S<     0:00 meteohub.cgi
 2134 ?        S<     0:00 /usr/sbin/thttpd -C /etc/thttpd.conf
 2164 ?        R<     0:00 ps ax


User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re:Install Meteohub on usb hdd?

Post by admin »

Did you try without USB HUB?
juntta
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Wed Oct 21, 2009 1:36 pm

Re:Install Meteohub on usb hdd?

Post by juntta »

admin wrote:Did you try without USB HUB?
yes, it works just fine without hub. But since I wanted to use plug with hdd, I need to use the hub so... :(

Different hub maybe..?
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re:Install Meteohub on usb hdd?

Post by admin »

On my sheevaPlug Meteohub can handle a wmr100 connected to it via USB HUB. So it looks like the HUB can make the difference. Dou you have a usb-1.0 type of hub or full usb-2.0 support?
juntta
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Wed Oct 21, 2009 1:36 pm

Re:Install Meteohub on usb hdd?

Post by juntta »

The hub is full 2.0 supported so that shouldn't be an issue.

Anyway, I did some reading about Sheeva & hubs and found out that SheevaPlug seems to be quite picky with usb hubs. See thread on PlugForum: http://plugcomputer.org/plugforum/index.php?topic=172.0

So I guess I have to try different brand hub. I'll report here how I survived...
juntta
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Wed Oct 21, 2009 1:36 pm

Re:Install Meteohub on usb hdd?

Post by juntta »

Btw, I have lots (about 50 rows) of these errors in meteohub log, any ideas about these:

Code: Select all

logger (25.10.2009 07:01:14): station 0 (WMR-200), wrong checksum (0009 vs computed 0000) for sensor model d7  in byte sequence:
logger (25.10.2009 07:01:30): station 0 (WMR-200), wrong checksum (0009 vs computed 0000) for sensor model d7  in byte sequence:
logger (25.10.2009 07:01:34): station 0 (WMR-200), wrong checksum (0009 vs computed 0000) for sensor model d7  in byte sequence:
logger (25.10.2009 07:01:51): station 0 (WMR-200), wrong checksum (0009 vs computed 0000) for sensor model d7  in byte sequence:
juntta
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Wed Oct 21, 2009 1:36 pm

Re:Install Meteohub on usb hdd?

Post by juntta »

juntta wrote:The hub is full 2.0 supported so that shouldn't be an issue.

Anyway, I did some reading about Sheeva & hubs and found out that SheevaPlug seems to be quite picky with usb hubs. See thread on PlugForum: http://plugcomputer.org/plugforum/index.php?topic=172.0

So I guess I have to try different brand hub. I'll report here how I survived...
Hubs DO make a difference: I had old bus powered Belkin USB 1.1 hub which worked fine with WMR-200. Anyway, I couldn't use it since it didn't provide enough power to my disk. :dry:

So I bought Deltaco branded USB 2.0 hub with power adapter => no data from sensors. :angry:

Can anyone recommend self powered usb hub which works fluently with WMR-200?
Post Reply