Silent-Tears
IPPF-Promi
- Mitglied seit
- 3 Aug 2007
- Beiträge
- 7,456
- Punkte für Reaktionen
- 1
- Punkte
- 0
A few findings:
- the file mdev_my_uuid.patch seems personal to you
- build fails with:
Code:setup mdev boot sequence applying patch file ./patches/cond/mdev_fstab.patch patching file etc/fstab Hunk #1 FAILED at 3. 1 out of 1 hunk FAILED -- saving rejects to file etc/fstab.rej
contents of fstab.rej
Code:*************** *** 3,7 **** # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc nosuid,nodev,noexec 0 0 tmpfs /var tmpfs defaults 0 0 - sysfs /sys sysfs nosuid,nodev,noexec 0 0 - none /dev/shm tmpfs nosuid,nodev,noexec 0 0 --- 3,5 ---- # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc nosuid,nodev,noexec 0 0 tmpfs /var tmpfs defaults 0 0
I can not find mdev in menuconfig.
Only starting with char 'm':
madplay
Matrixtunnel
microperl
module-init-tools
Any ideas ?
Got it: make/mdev/Config.in says only
depends on FREETZ_TYPE_FON_WLAN_7270
Is it not possible for 7141 ?
Hi John, will this new version go into Freetz trunk?
Could you be a little more informative? Which freetz version are you using? This seems to work fine against 2524...
applying usb prepare fwupgrade patch
applying patch file ./patches/cond/mdev_prepare_fwupgrade.patch
patching file bin/prepare_fwupgrade
Hunk #1 FAILED at 75.
1 out of 1 hunk FAILED -- saving rejects to file bin/prepare_fwupgrade.rej
----------------------------------------------------------------------
ERROR: modpatch: Error in patch-file ./patches/cond/mdev_prepare_fwupgrade.patch
make: *** [firmware-nocompile] Fout 2
The build was against r2525, for a 7170, with usbroot selected as well.
Analysis learned that the patch expects the context of the change to start at line 75, whereas this context actually starts at line 32 (both under build/orginal as under build/modified).
It seems you've diffed against another (older) revision.
Je sais, merci.As I have stated, the patches were generated against r2524. The second patching error may be solved by turning up the fuzz factor (-F) in patch (w/o guaranty).
olistudent was kind enough to warn about a few discrepancies, to fast for my own good:-Ö
1044 root 1212 S -/bin/sh
1107 root 0 SW< [scsi_eh_0]
1108 root 0 SW< [usb-storage]
1132 root 1192 S < /sbin/mdev block
1134 root 1192 S < sh -c /lib/mdev/block/partition
1135 root 1208 S < /bin/sh /lib/mdev/block/partition
1201 root 1208 S < /bin/sh /lib/mdev/block/partition
1203 root 1188 S < logger -t partition[1135] -p local0.error
1276 root 1192 R ps
This processes keep hanging around and every time I put the stick on again I get some more...
MfG OliverCode:1044 root 1212 S -/bin/sh 1107 root 0 SW< [scsi_eh_0] 1108 root 0 SW< [usb-storage] 1132 root 1192 S < /sbin/mdev block 1134 root 1192 S < sh -c /lib/mdev/block/partition 1135 root 1208 S < /bin/sh /lib/mdev/block/partition 1201 root 1208 S < /bin/sh /lib/mdev/block/partition 1203 root 1188 S < logger -t partition[1135] -p local0.error 1276 root 1192 R ps
One may assume that mdev as a hotplug event handler is re-entrant. If so, a non-completing handling of an hotplug event has limited side effects.
I had noticed the process groups always end with 'logger'.
I'm logging to syslog circular buffer.
1544 root 1176 S syslogd -L -O /var/log/messages -b 3 -s 100
Nov 13 22:19:20 fritz local0.info usbcontrol[4305]: 1-1 usb hub device
Nov 13 22:19:45 fritz local0.info usbcontrol[4319]: add 1-1 ALCOR Generic USB Hub
Nov 13 22:19:45 fritz local0.info usbcontrol[4319]: 1-1 usb hub device
Nov 13 22:19:55 fritz local0.info usbcontrol[4353]: add 1-1.2 Generic Flash Disk
Nov 13 22:19:55 fritz local0.info usbcontrol[4353]: 1-1.2 transparent scsi mass storage device
Nov 13 22:19:56 fritz local0.info mdevmodule[4375]: add module chain sd_mod sg
Nov 13 22:20:01 fritz local0.info partition[4419]: swap activated on '/dev/sda3'
Nov 13 22:20:02 fritz local0.info partition[4408]: created mount point '/var/media/ftp/uStora1'
Nov 13 22:20:02 fritz local0.info partition[4408]: starting e2fsck on '/dev/sda1'
Nov 13 22:20:02 fritz local0.info partition[4413]: created mount point '/var/media/ftp/uStora2'
Nov 13 22:20:02 fritz local0.info partition[4413]: starting e2fsck on '/dev/sda2'
Nov 13 22:20:03 fritz local0.info partition[4413]: FREETZ_ADDON: clean, 1443/24192 files, 96386/96388 blocks
Nov 13 22:20:03 fritz local0.info partition[4408]: FREETZ: clean, 391/24096 files, 30561/96356 blocks
Nov 13 22:20:03 fritz local0.info partition[4413]: mounted '/dev/sda2' on '/var/media/ftp/uStora2' with 'noatime,nodiratime'
Nov 13 22:20:03 fritz local0.info partition[4408]: mounted '/dev/sda1' on '/var/media/ftp/uStora1' with 'noatime,nodiratime'
Nov 13 22:20:03 fritz local0.info partition[4413]: not starting any services on '/var/media/ftp/uStora2'
Nov 13 22:20:03 fritz local0.info partition[4408]: not starting any services on '/var/media/ftp/uStora1'
Nov 13 22:51:45 fritz local0.info usbcontrol[6617]: 1-1 usb hub device
Nov 13 22:51:47 fritz local0.info usbcontrol[6635]: add 1-1 ALCOR Generic USB Hub
Nov 13 22:51:47 fritz local0.info usbcontrol[6635]: 1-1 usb hub device
Nov 13 22:24:46 fritz local0.info usbcontrol[5513]: add 1-1 ALCOR Generic USB Hub
Nov 13 22:24:46 fritz local0.info usbcontrol[5513]: 1-1 usb hub device
Nov 13 22:24:46 fritz local0.info usbcontrol[5530]: add 1-1.2 Generic Flash Disk
Nov 13 22:24:46 fritz local0.info usbcontrol[5530]: 1-1.2 transparent scsi mass storage device
Nov 13 22:24:46 fritz local0.info mdevmodule[5552]: add module chain sd_mod sg
Nov 13 22:24:52 fritz local0.err partition[5603]: mount point '/var/media/ftp/uStora1' already exists
Nov 13 22:24:52 fritz local0.err partition[5608]: mount point '/var/media/ftp/uStora2' already exists
Nov 13 22:24:52 fritz local0.info partition[5613]: swap activated on '/dev/sda3'
Nov 13 22:18:11 fritz local0.info usbcontrol[3719]: add 1-1 05e3 USB2.0 Hub
Nov 13 22:18:11 fritz local0.info usbcontrol[3719]: 1-1 usb hub device
Nov 13 22:18:12 fritz local0.info usbcontrol[3734]: add 1-1.4 Generic Flash Disk
Nov 13 22:18:12 fritz local0.info usbcontrol[3734]: 1-1.4 transparent scsi mass storage device
Nov 13 22:18:12 fritz local0.info mdevmodule[3757]: add module chain sd_mod sg
Nov 13 22:18:29 fritz user.warn kernel: printk: 4 messages suppressed.
Nov 13 22:18:37 fritz local0.info usbcontrol[4039]: remove 1-1.4
Nov 13 22:18:37 fritz local0.info usbcontrol[4039]: 1-1.4 transparent scsi mass storage device
Nov 13 22:18:37 fritz local0.info mdevmodule[4029]: remove module chain sg sd_mod
Nov 13 22:18:55 fritz local0.info usbcontrol[4118]: add 1-1.4
Nov 13 22:18:55 fritz local0.info usbcontrol[4118]: 1-1.4 transparent scsi mass storage device
Nov 13 22:18:55 fritz local0.info mdevmodule[4140]: add module chain sd_mod sg
Nov 14 06:19:15 fritz local0.info usbcontrol[14743]: add 1-1
Nov 14 06:19:15 fritz local0.info usbcontrol[14743]: 1-1 transparent scsi mass storage device
Nov 14 06:19:20 fritz local0.info partition[14773]: created mount point '/var/media/ftp/uStorb1'
Nov 14 06:19:21 fritz local0.info partition[14773]: mounted '/dev/sdb1' on '/var/media/ftp/uStorb1' with 'rw,uid=1000,gid=0,fmask=0000,dmask=0000'
Nov 14 06:19:21 fritz local0.info partition[14773]: not starting any services on '/var/media/ftp/uStorb1'