Re: d-i via floppy/usb/netinst.iso, cleaned up version
Joey Hess wrote: Gerhard Kroder wrote: So, reading from usb is not the issue? Sure sounds like it's not. is it worth tracking meanwhile obsoleted images? or should i better get new/current images? Perhaps it is using the wrong usb driver, or wrongly configuring it. Could you look at the boot messages before it asks you to hit enter, and compare them to the boot messages on the working system? In particular the ones about usb-ohci or usb-uhci, and anything else usb releasted. do you know any other way than typing it manually from screen? things like console/serial log/copy at this stage? some lot work... ok, so bootfloppy says to usb related things (and some others of some importance, imho): [i replaced some unimportant message parts with "[..]","..." and the like, and added some comments, you'll recognice easily. Output now nearly as it shows up on console: --->start console message<--- Mounted devfs on /dev [..] mount: Mounting devfs on /dev failed: Device or ressource busy [..] Using /lib/.usbcore usb.c: registered usbdevfs ...registered hub Using .usb-ohci.o us-ohci: USB OHCI at membase 0xcc83d000, IRQ10 .usb-00:14.0, ALi Corp USB 1.1 Controller usb.c:...new USB bus registered, assigned bus number 1 USB hub found 2 ports detected Using /lib/..2.4.22-1-386../input.o Using /lib//usbkbd.o usb.c: registered new driver usbkbd usbkbd.c: USB HID Boot Protocol keyboard driver Using /lib/...keybdev.o Using /lib/...usbserial.o usb.c: registered new driver serial usbserial.c: . registered for Generic .. Driver core 1.4 [..] SCSI subsystem driver Revision: 1.00 Initializing USB Mass Storage driver usb.c: registered new driver usb-storage USB Mass Storage support registered Insert the root floppy or plug in a USB storage device. Press Enter when ready, or type a command: --->end console message<--- now i plug in usb device: --->start console message<--- new USB device 00:14.0-1, assingned address 2 ...SCSI emulation... ... unable to read partition table --->end console message<--- so now i hit Enter as requested, d-i starts reading from usb with already posted result. ok, now what knoppix 3.3 cd (as reference system) tells about usb: --->start console message<--- [..] ...usbdevfs ...hub [..] usb-uhci.c: $Revision: 1.275 $ usb-uhci.c: High bandwith mode enabled usb-uhci.c: v1.275: Universal Host Controller Interface driver usb-ohci.c: USB OHCI at membase 0xccaa4000, IRQ 10 usb-ohci.c: usb-00:14.o, ALi Corp USB 1.1 Controller usb.c: new USB bus registered, assigned bus number 1 usb.c: USB hub found hub.c: 2 ports detected --->end console message<--- thisone may come from knoppix autodect, as there is no usb device plugged in yet: --->start console message<--- usbdevfs: remount parameter error --->end console message<--- now plugging usb device dmesg says: --->start console message<--- usb.c: new USB device 00:14.0-1, assigned address 2 usb.c: USB device 2 (vend/prod 0xea0/0x6803) is not claimed by any other driver Initializing USB Mass Storage driver usb.c: registereed new driver usb-storage... ... SCSI emulation... [..] [..] unable to read partition table USB Mass storage foung at 2 USB Mass storage registered. [..] --->end console message<--- so, to me it looks quite the same. forgive me not testing my second pc on that, but that's the one im writing now this mail... my native debian system on this laptop instead of knoppix tells me about usb-ohci membase/IRQ assignment too, thoug it later also has msg on uhci High bandwith mode. plugging device gives same usb device path/address and scsi emulatin message as above. i'll try to dd hdimage t a partition instead of whole device to see, if some errors are solved then. and i'll go get more recent images of floppy/netinst, if you don't mind. reports later. btw: any idea on #225654 yet? gerhard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
sorry for bad format.: (d-i via floppy/usb/netinst.iso)
dunno what mozilla did with kernel messages, i typed them in fine... if u can't read it, i'll fix, just tell me. gerhard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: d-i via floppy/usb/netinst.iso
Joey Hess wrote: Gerhard Kroder wrote: So, reading from usb is not the issue? Sure sounds like it's not. is it worth tracking meanwhile obsoleted images? or should i better get new/current images? Perhaps it is using the wrong usb driver, or wrongly configuring it. Could you look at the boot messages before it asks you to hit enter, and compare them to the boot messages on the working system? In particular the ones about usb-ohci or usb-uhci, and anything else usb releasted. ok, so bootfloppy says to usb related things (and some others of some importance, imho): Mounted devfs on /dev [..] mount: Mounting devfs on /dev failed: Device or ressource busy [..] Using /lib/.usbcore usb.c: registered usbdevfs ...registered hub Using .usb-ohci.o us-ohci: USB OHCI at membase 0xcc83d000, IRQ10 .usb-00:14.0, ALi Corp USB 1.1 Controller usb.c:...new USB bus registered, assigned bus number 1 USB hub found 2 ports detected Using /lib/..2.4.22-1-386../input.o Using /lib//usbkbd.o usb.c: registered new driver usbkbd usbkbd.c: USB HID Boot PRotocol keyboard driver Using /lib/...keybdev.o Using /lib/...usbserial.o usb.c: registered new driver serial usbserial.c: . registered for Generic .. Driver core 1.4 [..] SCSI subsystem driver REvision: 1.00 Initializing USB Mass Storage driver usb.c: registered new driver usb-storage USB Mass Storage support registered Insert the root floppy or plug in a USB storage device. Press Enter when ready, or type a command: now i plug in usb device: new USB device 00:14.0-1, assingned address 2 ...SCSI emulation... ... unable to read partition table so now i hit Enter as requested, d-i starts reading from usb with already posted result. ok, now what knoppix 3.3 cd (as reference system) tells about usb: [..] ...usbdevfs ...hub: [..] usb-uhci.c: $Revision: 1.275 $ usb-uhci.c: High bandwith mode enabled usb-uhci.c: v1.275: Universal Host Controller Interface driver usb-ohci.c: USB OHCI at membase 0xccaa4000, IRQ 10 usb-ohci.c: usb-00:14.o, ALi Corp USB 1.1 Controller usb.c: new USB bus registered, assigned bus number 1 usb.c: USB hub found hub.c: 2 ports detected thisone may come from knoppix autodect: > usbdevfs: remount parameter error now plugging usb device dmesg says: usb.c: new USB device 00:14.0-1, assigned address 2 usb.c: USB device 2 (vend/prod 0xea0/0x6803) is not claimed by any other driver Initializing USB Mass Storage driver usb.c: registereed new driver usb-storage ... SCSI emulation... [..] ... unable to read partition table USB Mass storage foung at 2 USB Mass storage registered. [..] so, to me it looks quite the same. forgive me not testing my second pc on that, but that's the one im writing now this mail... my native debian system on this laptop instead of knoppix tells me about usb-ohci membase/IRQ assignment too, thoug it later also has msg on uhci High bandwith mode. plugging device gives same usb device path/address and scsi emulatin message as above. i'll try to dd hdimage t a partition instead of whole device to see, if some errors are solved then. and i'll go get more recent images of floppy/netinst, if you don't mind. reports later. btw: any idea on #225654 yet? gerhard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: d-i via floppy/usb/netinst.iso
Gerhard Kroder wrote: > In general my usb device has a light blinking when data is transfere > from or to it. But it only blinks a little at beginnig of usb access, > during "dotting" it doesn't. More, when disconnecting it, though i get > a "USB disconnect" message dots still apperar as before (currently i see > 10 lines, each 80 char), still running (disconnected). > > ... ok, just verified, light is only on on lager data transfers. Right, I have the same thing, I expect some buffering is involved. > catting initrd doesn't blink at all, but wait... netinst.iso ought to be > around 120 mb, so 0.6s real time is quite fast to read (usb1.1), isn't it? > > So, reading from usb is not the issue? Sure sounds like it's not. Perhaps it is using the wrong usb driver, or wrongly configuring it. Could you look at the boot messages before it asks you to hit enter, and compare them to the boot messages on the working system? In particular the ones about usb-ohci or usb-uhci, and anything else usb releasted. -- see shy jo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: d-i via floppy/usb/netinst.iso
Joey Hess wrote: Gerhard Kroder wrote: Now pressing "Enter" as requested reads data from usb (controll light flickers), saying: "System: debian-installer" Label: bootable drive Date: 20031226 Loading" That's all, this dots keep on filling up the screen, aprox. one per second. I had this run for more than an hour, and i don't belive this is correct. Even if it would unpack the iso in it and install whole base system Tried that with same results on 2 old systems (workstation with p450/192mb and laptop with cel400/192mb). A third system (xp2600) faild accessing usb (filed a bug report on that). So, what is wrong here? how to go on? The weird thing about this is it should only print one dot each second that some data was retreived from the usb device. If the usb device were stalling, there should be no dots; so it must be getting _some_ data from the device. In general my usb device has a light blinking when data is transfere from or to it. But it only blinks a little at beginnig of usb access, during "dotting" it doesn't. More, when disconnecting it, though i get a "USB disconnect" message dots still apperar as before (currently i see 10 lines, each 80 char), still running (disconnected). ... ok, just verified, light is only on on lager data transfers. You might want to either install linux by some other means on one of the machines, or try the usb device on some other machine running linux, and see if there are general problems reading a lot of data off of it at once. Just catting the initrd from the disk to /dev/null would be a good test. some speeds: [EMAIL PROTECTED]:~# time cat /mnt/stick/netinst.iso >/dev/null real0m0.610s user0m0.000s sys 0m0.500s [EMAIL PROTECTED]:~# time cat /mnt/stick/initrd.gz >/dev/null real0m0.005s user0m0.000s sys 0m0.010s catting initrd doesn't blink at all, but wait... netinst.iso ought to be around 120 mb, so 0.6s real time is quite fast to read (usb1.1), isn't it? So, reading from usb is not the issue? Gerhard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: d-i via floppy/usb/netinst.iso
Gerhard Kroder wrote: > I'm having trouble running d-i with netinst.img via usb stick. > tried to boot hd-media-image with full sarge-i386-netinst.iso. things > run untill loading d-i, then i only get dots, filling up some pages in > more than an hour. this is faar too long to start d-i, isn't it? need > some help here. I generally see about 2 seconds to load, and I have usb 1.1. > some more details: > > booting bootfloppy: kernel, initrd. ok > > "plug in USB storage device"... is already inserted at bootime. now > kernel messages show up about recognized USB device as sda, but: > "Partition check: > /dev/scsi/host0/bus0/target0/lun0/:<3>ldm_parse_privhead(): Cannot find > PRIVHEAD structure. LDM database is corrupt. Aborting. > ldm_validate_privheads(): Cannot find PRIVHEAD 1. > unable to read partition table" This is "normal". I see it here too and it does not break anything. > This might be(?), cause i wrote hd-media-image to the whole device, not > a partition (dd of=/dev/sda instead of /dev/sda1). When mounting this > manually, i also need to mount /dev/sda instead of sda1. That's correct. > Now pressing "Enter" as requested reads data from usb (controll light > flickers), saying: > "System: debian-installer" > Label: bootable drive > Date: 20031226 > Loading" > > That's all, this dots keep on filling up the screen, aprox. one per > second. I had this run for more than an hour, and i don't belive this is > correct. Even if it would unpack the iso in it and install whole base > system > > Tried that with same results on 2 old systems (workstation with > p450/192mb and laptop with cel400/192mb). A third system (xp2600) faild > accessing usb (filed a bug report on that). > > So, what is wrong here? how to go on? The weird thing about this is it should only print one dot each second that some data was retreived from the usb device. If the usb device were stalling, there should be no dots; so it must be getting _some_ data from the device. But it only needs to load about 5 mb. You could let it run overnight, even at only 1k a second, it should only need 1.5 hours to load the whole thing.. You might want to either install linux by some other means on one of the machines, or try the usb device on some other machine running linux, and see if there are general problems reading a lot of data off of it at once. Just catting the initrd from the disk to /dev/null would be a good test. -- see shy jo signature.asc Description: Digital signature
d-i via floppy/usb/netinst.iso
hi all, I'm having trouble running d-i with netinst.img via usb stick. tried to boot hd-media-image with full sarge-i386-netinst.iso. things run untill loading d-i, then i only get dots, filling up some pages in more than an hour. this is faar too long to start d-i, isn't it? need some help here. some more details: booting bootfloppy: kernel, initrd. ok "plug in USB storage device"... is already inserted at bootime. now kernel messages show up about recognized USB device as sda, but: "Partition check: /dev/scsi/host0/bus0/target0/lun0/:<3>ldm_parse_privhead(): Cannot find PRIVHEAD structure. LDM database is corrupt. Aborting. ldm_validate_privheads(): Cannot find PRIVHEAD 1. unable to read partition table" This might be(?), cause i wrote hd-media-image to the whole device, not a partition (dd of=/dev/sda instead of /dev/sda1). When mounting this manually, i also need to mount /dev/sda instead of sda1. Now pressing "Enter" as requested reads data from usb (controll light flickers), saying: "System: debian-installer" Label: bootable drive Date: 20031226 Loading" That's all, this dots keep on filling up the screen, aprox. one per second. I had this run for more than an hour, and i don't belive this is correct. Even if it would unpack the iso in it and install whole base system Tried that with same results on 2 old systems (workstation with p450/192mb and laptop with cel400/192mb). A third system (xp2600) faild accessing usb (filed a bug report on that). So, what is wrong here? how to go on? Gerhard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]