Why is Ubuntu's kernel 2.6 better than FC3's one?
Shango Oluwa
shango at mewe.org.uk
Sun Nov 28 21:53:27 UTC 2004
Timothy,
I am not sure what the rest of your post was asking exactly, but the
short answer to your question is:
Ubuntu uses the expanded hotplug functionality pioneered by the Project
Utopia team. It is still regular hotplug, but with an added hardware
abstraction layer (HAL), constantly looking for hotplug events, see:
http://www.linuxdevcenter.com/pub/a/linux/2004/09/02/driver_ease.html
The HAL thing goes real deep and the reason why you're not getting
responses is because its relatively new (and probably unique to
UbuntuLinux) - but obviously the way forward for everybody using USB,
FireWire, etc.
If you want that USB hotplug to work in Fedora then you have to download
the rescan-scsi-bus.sh script and run this as root once the HDD has
registered as /dev/sda. Get the script from:
http://linux1394.org/sbp2.php
After rescan-scsi-bus.sh has run you can use cfdisk (or fdisk) to view
your USB hdd partitions and mount them - hakuna matata!
Regards,
Shango
On Sun, 2004-11-28 at 22:04 +0300, Timothy Ha wrote:
> *This has been unanswered in the UbuntuForums. Can somebody from
> development team look into this?
> *
>
> *
> http://www.ubuntuforums.org/showthread.php?t=4461
> *
>
> **
>
> *What hotplug or kernel patch did you use?* I was quite surprised when
> my Sarotech USB 2.0 box with an 120 Gb IBM HDD inside worked in Ubuntu.
>
> ------------------------------------------------------------------------
>
>
> With this device, I have stumbled on various 2.6 kernels like Fedora
> Core 2 and 3, and Mandrake 10.
>
>
> Please see comment #1 at
> http://bugzilla.redhat.com/bugzilla...g.cgi?id=127059
> <http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=127059>
>
>
> and http://fedoraforum.org/forum/showthread.php?p=107817
>
>
> Nobody from Redhat gave an answer on this. I hope you Ubuntu people can
> reveal what you did
>
> ---- as for the bugzilla address I mentioned, here is the text about USB
> 2.0 device not working with their FC2 and FC3 kernel (but works in
> Ubuntu, both Warty and Hoary)
>
> Additional Comment #1
> <https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=127059#c1> From
> Timothy Ha on 2004-07-03 08:57 -------
>
> Nearly same problems with a Sarotech USB 2.0 HDD device.
>
> 1) WHEN I TURN ON THE USB EXTERNAL HDD:
>
> usb 4-3: new high speed USB device using address 2
> Initializing USB Mass Storage driver...
> scsi0 : SCSI emulation for USB Mass Storage devices
> Vendor: Model: Rev:
> Type: Direct-Access ANSI SCSI revision: 02
> Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
> USB Mass Storage device found at 2
> usbcore: registered new driver usb-storage
> USB Mass Storage support registered.
> SCSI device sda: 241254721 512-byte hdwr sectors (123522 MB)
> sda: assuming drive cache: write through
> sda:
>
> At this step the computer seems to do nothing more. The red led on USB
> HDD is lighted. Some activity happening.
>
> 2) LSMOD shows
>
> # /sbin/lsmod
> Module Size Used by
> sd_mod 16472 2
> usb_storage 53576 1
> ehci_hcd 22916 0
> sg 27680 0
> scsi_mod 91984 3 sd_mod,usb_storage,sg
> vfat 9984 1
> fat 33600 1 vfat
> uhci_hcd 24472 0
> ext3 103656 3
> jbd 40728 1 ext3
> .....
>
> 3) NOTHING HAPPENING, UNTIL I TURN OFF THE USB DRIVE. DMESG SHOWS
> ERRORS LIKE:
>
> Buffer I/O error on device sda, logical block 56918292
> SCSI error : <0 0 0 0> return code = 0x70000
> end_request: I/O error, dev sda, sector 56918293
> Buffer I/O error on device sda, logical block 56918293
> SCSI error : <0 0 0 0> return code = 0x70000
> end_request: I/O error, dev sda, sector 56918294
> Buffer I/O error on device sda, logical block 56918294
> SCSI error : <0 0 0 0> return code = 0x70000
> end_request: I/O error, dev sda, sector 56918295
> Buffer I/O error on device sda, logical block 56918295
> > sda2
> Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
> updfstab: Using deprecated /dev/sg mechanism instead of SG_IO on the
> actual device
> inserting floppy driver for 2.6.6-1.435
> usb 4-3: USB disconnect, address 2
>
>
> ------- Additional Comment #2
> <https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=127059#c2> From
> Timothy Ha on 2004-07-03 08:59 -------
>
> My HDD works for Fedora Core 1 and Windows XP with no problems. It has
> external power, not powered from USB bus.
>
>
More information about the ubuntu-users
mailing list