On Saturday 04 October 2003 12:43, Ged Haywood wrote:
> Hi there,
>
> On Sat, 4 Oct 2003, Gabriele Persia wrote:
> > I've "cloned by hand" (fdisk + tar) the sid installation from a 3Gb hd
> > (primary IDE) to a 30Gb hd
> > ...
> > Few changes to lilo.conf & fstab and the system rebooted well.
>
> I'm astonished.
>
In order to keep the first system bootable and make the target system bootable
too I made a boot-cd (mkrescue --iso), then I made some changes to lilo (the
"clone" hd [hda, BIOS 0x81] is not bios-bootable so the boot record is stored
in the "old" system hd [hdg, BIOS 0x80]).
...
> What a shame. :(
I agree ! ;-)
The system booted and everything was fine(!). I didn't check the USB :-/
> > Maybe I've lost some link?
>
> I have no idea. As I said, I'm surprised it worked as well as it did.
> Maybe there are some problems with the special files in /dev?...
They look similar to their homologues in another sid box of my lan:
Links are "good" links, fifo (mknod p) "seems" fifo, su[g]id files are ok,
etc.
Assuming tar can't manage some special files, is there a way to re-create
them?
> > It boots and works well except for USB.
>
> What if anything does the USB system do? Have you got any debug
> information at all?
Is there any test I can try?
Below is the debug log (CONFIG_USB_DEBUG=y).
/var/log/debug:
kernel: usb.c: kmalloc IF d7f55e00, numif 1
kernel: usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1
kernel: usb.c: USB device number 1 default language ID 0x0
kernel: hub.c: standalone hub
kernel: hub.c: ganged power switching
kernel: hub.c: global over-current protection
kernel: hub.c: Port indicators are not supported
kernel: hub.c: power on to power good time: 2ms
kernel: hub.c: hub controller current requirement: 0mA
kernel: hub.c: port removable status: RR
kernel: hub.c: local power source is good
kernel: hub.c: no over-current condition exists
kernel: hub.c: enabling power on all ports
kernel: usb.c: hub driver claimed interface d7f55e00
kernel: usb.c: kusbd: /sbin/hotplug add 1
kernel: usb.c: kusbd policy returned 0xfffffffe
kernel: hub.c: port 1, portstatus 100, change 3, 12 Mb/s
kernel: hub.c: port 1 connection change
kernel: hub.c: port 1, portstatus 100, change 3, 12 Mb/s
kernel: hub.c: port 2, portstatus 100, change 3, 12 Mb/s
kernel: hub.c: port 2 connection change
kernel: hub.c: port 2, portstatus 100, change 3, 12 Mb/s
kernel: hub.c: port 1, portstatus 100, change 2, 12 Mb/s
kernel: hub.c: port 1 enable change, status 100
kernel: hub.c: port 2, portstatus 100, change 2, 12 Mb/s
kernel: hub.c: port 2 enable change, status 100
kernel: usb.c: kmalloc IF d7f22140, numif 1
kernel: usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1
kernel: usb.c: USB device number 1 default language ID 0x0
kernel: hub.c: standalone hub
kernel: hub.c: ganged power switching
kernel: hub.c: global over-current protection
kernel: hub.c: Port indicators are not supported
kernel: hub.c: power on to power good time: 2ms
kernel: hub.c: hub controller current requirement: 0mA
kernel: hub.c: port removable status: RR
kernel: hub.c: local power source is good
kernel: hub.c: no over-current condition exists
kernel: hub.c: enabling power on all ports
kernel: usb.c: hub driver claimed interface d7f22140
kernel: usb.c: kusbd: /sbin/hotplug add 1
kernel: usb.c: kusbd policy returned 0xfffffffe
kernel: hub.c: port 1, portstatus 300, change 3, 1.5 Mb/s
kernel: hub.c: port 1 connection change
kernel: hub.c: port 1, portstatus 300, change 3, 1.5 Mb/s
kernel: hub.c: port 2, portstatus 100, change 3, 12 Mb/s
kernel: hub.c: port 2 connection change
kernel: hub.c: port 2, portstatus 100, change 3, 12 Mb/s
kernel: hub.c: port 1, portstatus 300, change 2, 1.5 Mb/s
kernel: hub.c: port 1 enable change, status 300
kernel: hub.c: port 2, portstatus 100, change 2, 12 Mb/s
kernel: hub.c: port 2 enable change, status 100
kernel: usb.c: kmalloc IF d7f22340, numif 1
kernel: usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1
kernel: usb.c: USB device number 1 default language ID 0x0
kernel: hub.c: standalone hub
kernel: hub.c: ganged power switching
kernel: hub.c: global over-current protection
kernel: hub.c: Port indicators are not supported
kernel: hub.c: power on to power good time: 2ms
kernel: hub.c: hub controller current requirement: 0mA
kernel: hub.c: port removable status: RR
kernel: hub.c: local power source is good
kernel: hub.c: no over-current condition exists
kernel: hub.c: enabling power on all ports
kernel: usb.c: hub driver claimed interface d7f22340
kernel: usb.c: kusbd: /sbin/hotplug add 1
kernel: usb.c: kusbd policy returned 0xfffffffe
kernel: hub.c: port 1, portstatus 100, change 3, 12 Mb/s
kernel: hub.c: port 1 connection change
kernel: hub.c: port 1, portstatus 100, change 3, 12 Mb/s
kernel: hub.c: port 2, portstatus 100, change 3, 12 Mb/s
kernel: hub.c: port 2 connection change
kernel: hub.c: port 2, portstatus 100, change 3, 12 Mb/s
kernel: hub.c: port 1, portstatus 100, change 2, 12 Mb/s
kernel: hub.c: port 1 enable change, status 100
kernel: hub.c: port 2, portstatus 100, change 2, 12 Mb/s
kernel: hub.c: port 2 enable change, status 100
kernel: pwc Adding decompressor for model 645.
.....
kernel: pwc Adding decompressor for model 740.
>
> 73,
> Ged.
Tank you again for your time.
Gabriele.
-------------------
Just for curiosity's sake, below is lilo.conf:
lba32
disk=/dev/hdg
bios=0x80
disk=/dev/hda <--- the "clone", mapping needed.
bios=0x81
boot=/dev/hdg <--- the bios-bootable hd
root=/dev/hda1
install=/boot/boot-menu.b
map=/boot/map
delay=20
prompt
timeout=100
vga=normal
default=Linux
image=/vmlinuz
label=Linux
read-only
append="hde=ide-scsi hdc=ide-scsi"
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users