tor, 30.09.2004 kl. 14.30 skrev James Wilkinson:
Tor Harald Thorland was having trouble with a USB disk.
Suggestion:
Can you try booting with acpi=off (at the end of the kernel comand line: edit it in grub or in /boot/grub/grub.conf)? I know that it's not really a proper solution on a laptop, but it might help you find one.
I don't really know enough about the ins and outs of acpi to tell, but if acpi=off cures the problem, then acpi=noirq might be worth trying.
I replied:
The messages file now contains the following:
Sep 27 20:11:00 dsl-69-134 kernel: ohci_hcd 0000:00:02.0: wakeup Sep 27 20:11:00 dsl-69-134 kernel: usb 1-1: new full speed USB device using address 2 Sep 27 20:11:00 dsl-69-134 kernel: Initializing USB Mass Storage driver... Sep 27 20:11:00 dsl-69-134 kernel: scsi0 : SCSI emulation for USB Mass Storage devices Sep 27 20:11:00 dsl-69-134 kernel: Vendor: USB 2.0 Model: Mobile Disk N4M Rev: 1.00 Sep 27 20:11:00 dsl-69-134 kernel: Type: Direct-Access ANSI SCSI revision: 02 Sep 27 20:11:00 dsl-69-134 kernel: Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0 Sep 27 20:11:00 dsl-69-134 kernel: usbcore: registered new driver usb-storage Sep 27 20:11:00 dsl-69-134 kernel: USB Mass Storage support registered. Sep 27 20:11:00 dsl-69-134 kernel: SCSI device sda: 999424 512-byte hdwr sectors (512 MB) Sep 27 20:11:01 dsl-69-134 kernel: sda: Write Protect is off Sep 27 20:11:01 dsl-69-134 kernel: sda: assuming drive cache: write through Sep 27 20:11:01 dsl-69-134 kernel: sda: sda1 Sep 27 20:11:01 dsl-69-134 kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 Sep 27 20:11:01 dsl-69-134 kernel: updfstab: Using deprecated /dev/sg mechanism instead of SG_IO on the actual device Sep 27 20:11:01 dsl-69-134 scsi.agent[2425]: disk at /devices/pci0000:00/0000:00:02.0/usb1/1-1/1-1:1.0/host0/0:0:0:0
Sounds like things are getting further, then. What happens if you try mounting /dev/sda1 somewhere?
Yes, Its getting further... I can now mount /dev/sda1 to /mnt/flash (or wathever) when I have the ACPI=off.
I tryed to make the ACPI=noirq. Then the I rebooted, and the computer hang, right after the graphical boot said: setting hostname (or something.. I have norwegian text on it) Also the my usb mouse dident work during this startup (it normaly does work).
I then had to edit the kernel parameter from grub to make it boot.
I also has a Apacer handy steno 1.1 256mb disk, i was also able to make this work with the ACPI=off. The only thing here is that the Apacer stick is /dev/sda, even if only this stick is in the usb port.
Why does 1 of them use /dev/sda, when the other comes in as /dev/sda1 ?
I've added both of them to /etc/fstab as: /dev/sda /mnt/flash vfat noauto,user,rw 0 0 /dev/sda1 /mnt/flash2 vfat noauto,user,rw 0 0
Is this the correct way to do it? and if I set it to auto instead of noauto, will it then automaticly mount when I insert it?
Also, how can I disable the graphical boot to see wats going on when the hangs during the boot?
James was also earlyer talking about maby making a bugzilla entry about this.. Is this problem something to add to bugzilla, and if so.. how?
Many thanx for all the good help James!!
THT