Re: Please keep the old IDE chipset drivers so that external CD writers can work

2008-04-11 Thread Wenzhuo Zhang
Rick Knight wrote:
> 
> I've found a fix (or work-around) for this issue. I found this kernel
> parameter "all_generic_ide" mentioned as a possible fix for a problem
> with Seagate drives. I tried using it with my default, un-modified Gutsy
> kernel but it didn't solve the problem. I tried it with the custom Gutsy
> kernel I built with the pata_via module enabled and that worked. I don't
> know why, but the combination of the pata_via module and
> "all_generic_ide" allows my system to boot and run the Gutsy kernel. Now
> I'll be ready to upgrade to Hardy after it's had a week or to to stabilize.
> 
> On another note, Brian Murray (ubuntu developer?) has marked my bug
> (212042) as won't fix because it "doesn't meet the criteria for a stable
> release update". What does this mean?

It means they are focusing on Hardy and its successors, and Brian Murry
doesn't consider it a major bug for Gutsy.

> Thanks,
> Rick Knight
> 
> P.S. Where is your petition to keep the old IDE drivesr?

The first message of this thread. ;) Personally I've already come across
a handful of machines (particularly server machines) on which Ubuntu CD
cannot boot, while Red hat or CentOS CDs can. I refrain from recommending
people using Ubuntu as a server platform just because of this.

I think Ubuntu should find a balance between bleeding edge software and
hardware compatibility. It seems to me that Ubuntu kernel team doesn't
care as much as they should on hardware compatibility. They are very eager
to support new stuff (such as libata) and to drop old stuff, adding support
for new hardware while neglecting old hardware.

Wenzhuo


-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Please keep the old IDE chipset drivers so that external CD writers can work

2008-04-11 Thread Rick Knight
Wenzhuo Zhang wrote:
> Rick Knight wrote:
>
>   
>>>   $ wget
>>> http://mirrors.kernel.org/ubuntu/pool/main/l/linux/linux-image-2.6.24-15-386_2.6.24-15.27_i386.deb
>>>
>>>   $ sudo dpkg -i linux-image-2.6.24-15-386_2.6.24-15.27_i386.deb
>>>
>>>   
>>>   
>> I tried this tonight. I ran into dependency problems.
>> linux-image-2.6.24-15-386_2.6.24-15.27_i386.deb depends on
>> module-init-tools_3.3-pre11-4ubuntu5_i386.deb which depends on
>> libc6_2.7-10ubuntu3_i386.deb. I don't mind replacing module_init_tools,
>> but libc6 scares me a little. Is it safe to replace the Gutsy libc6 with
>> the Hardy libc6? It will probably lead to more dependency problems.
>>
>> 
>
> Try:
>
> $ sudo dpkg --ignore-depends=module-init-tools -i 
> linux-image-2.6.24-15-386_2.6.24-15.27_i386.deb
>
>
> Wenzhuo
>   
Wenzhuo,

I've found a fix (or work-around) for this issue. I found this kernel 
parameter "all_generic_ide" mentioned as a possible fix for a problem 
with Seagate drives. I tried using it with my default, un-modified Gutsy 
kernel but it didn't solve the problem. I tried it with the custom Gutsy 
kernel I built with the pata_via module enabled and that worked. I don't 
know why, but the combination of the pata_via module and 
"all_generic_ide" allows my system to boot and run the Gutsy kernel. Now 
I'll be ready to upgrade to Hardy after it's had a week or to to stabilize.

On another note, Brian Murray (ubuntu developer?) has marked my bug 
(212042) as won't fix because it "doesn't meet the criteria for a stable 
release update". What does this mean?

Thanks,
Rick Knight

P.S. Where is your petition to keep the old IDE drivesr?

 

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Please keep the old IDE chipset drivers so that external CD writers can work

2008-04-09 Thread Rick Knight
Wenzhuo Zhang wrote:
> Rick Knight wrote:
>
>   
>>>   $ wget
>>> http://mirrors.kernel.org/ubuntu/pool/main/l/linux/linux-image-2.6.24-15-386_2.6.24-15.27_i386.deb
>>>
>>>   $ sudo dpkg -i linux-image-2.6.24-15-386_2.6.24-15.27_i386.deb
>>>
>>>   
>>>   
>> I tried this tonight. I ran into dependency problems.
>> linux-image-2.6.24-15-386_2.6.24-15.27_i386.deb depends on
>> module-init-tools_3.3-pre11-4ubuntu5_i386.deb which depends on
>> libc6_2.7-10ubuntu3_i386.deb. I don't mind replacing module_init_tools,
>> but libc6 scares me a little. Is it safe to replace the Gutsy libc6 with
>> the Hardy libc6? It will probably lead to more dependency problems.
>>
>> 
>
> Try:
>
> $ sudo dpkg --ignore-depends=module-init-tools -i 
> linux-image-2.6.24-15-386_2.6.24-15.27_i386.deb
>
>
> Wenzhuo
>   
Wenzhuo,

This worked. I was able to install the Hardy kernel and then boot using 
it. My drives show up as SCSI devices (/dev/sdxn) instead of IDE devices 
and the pata_via module is being loaded. The IDE modules are not 
loading. Whatever was broken in Gutsy seems fixed in Hardy. There a 
couple of problems, that will go away when I upgrade to Hardy. I get a 
Cups backend error and the VBox modules won't load. Other than that, 
things look good.

Thanks,
Rick


-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Please keep the old IDE chipset drivers so that external CD writers can work

2008-04-08 Thread Rick Knight
Wenzhuo Zhang wrote:
> Rick Knight wrote:
>
>   
>> I'm not sure I follow you here. Are you suggesting I upgrade to the
>> Hardy beta, or just set my repositories to Hardy and update. Won't that
>> be an upgrade? How stable is Hardy. I know the code freeze is this week,
>> but is it safe to upgrade to Hardy?
>> 
>
> I am suggesting you try the libata pata_via module, because the old
> via82cxxx ide driver has been disabled in favor of pata_via since
> 2.6.24-13.23; and if it does not support your controller, report a bug
> as soon as possible so that it has a chance to get fixed before hardy
> release.
>
>   
>> Also, I rebuilt the Gutsy kernel to add support for the pata_via module,
>> but that didn't help, I still can't boot into the Gutsy kernel.
>> 
>
> You can try downloading the latest hardy kernel and install in your 
> 7.10(gutsy)
> installation. Again, remove the IDE modules from /etc/initramfs-tools/modules
> first before proceeding:
>
>   $ wget 
> http://mirrors.kernel.org/ubuntu/pool/main/l/linux/linux-image-2.6.24-15-386_2.6.24-15.27_i386.deb
>   $ sudo dpkg -i linux-image-2.6.24-15-386_2.6.24-15.27_i386.deb
>   
I tried this tonight. I ran into dependency problems. 
linux-image-2.6.24-15-386_2.6.24-15.27_i386.deb depends on 
module-init-tools_3.3-pre11-4ubuntu5_i386.deb which depends on 
libc6_2.7-10ubuntu3_i386.deb. I don't mind replacing module_init_tools, 
but libc6 scares me a little. Is it safe to replace the Gutsy libc6 with 
the Hardy libc6? It will probably lead to more dependency problems.

Thanks,
Ric
> If you have empty space in your hard drive, you can try install hardy
> in a separate partition. I have been using it on a daily basis for one
> month. I've seen no major breakage. It's still not recommended for
> production usage though.
>
> Wenzhuo
>   


-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Please keep the old IDE chipset drivers so that external CD writers can work

2008-04-08 Thread Wenzhuo Zhang
Rick Knight wrote:

> I'm not sure I follow you here. Are you suggesting I upgrade to the
> Hardy beta, or just set my repositories to Hardy and update. Won't that
> be an upgrade? How stable is Hardy. I know the code freeze is this week,
> but is it safe to upgrade to Hardy?

I am suggesting you try the libata pata_via module, because the old
via82cxxx ide driver has been disabled in favor of pata_via since
2.6.24-13.23; and if it does not support your controller, report a bug
as soon as possible so that it has a chance to get fixed before hardy
release.

> Also, I rebuilt the Gutsy kernel to add support for the pata_via module,
> but that didn't help, I still can't boot into the Gutsy kernel.

You can try downloading the latest hardy kernel and install in your 7.10(gutsy)
installation. Again, remove the IDE modules from /etc/initramfs-tools/modules
first before proceeding:

  $ wget 
http://mirrors.kernel.org/ubuntu/pool/main/l/linux/linux-image-2.6.24-15-386_2.6.24-15.27_i386.deb
  $ sudo dpkg -i linux-image-2.6.24-15-386_2.6.24-15.27_i386.deb

If you have empty space in your hard drive, you can try install hardy
in a separate partition. I have been using it on a daily basis for one
month. I've seen no major breakage. It's still not recommended for
production usage though.

Wenzhuo


-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Please keep the old IDE chipset drivers so that external CD writers can work

2008-04-07 Thread Rick Knight
Wenzhuo Zhang wrote:
> Rick Knight wrote:
>
>   
>> I downloaded the Kubuntu 8.04 Desktop CD ISO, burned the ISO and booted.
>> It DOES install my hard drives as /dev/hd devices, not /dev/sd and I can
>> access them without any problem, so whatever is causing my problem with
>> Gutsy, has been fixed in Hardy. Also, I think tells me my Via controller
>> is not compatible with libata.
>> 
>
> In Feisty and Gutsy kernels, the IDE driver via82cxxx is the only driver
> that supports VIA_82C586_1(1106:0571), and the new libata based driver
> pata_via is not enabled. So the Gutsy problem you experienced is probably
> a regression of via82cxxx driver introduced in linux-image-2.6.22.
>
> Starting from linux-image-2.6.24-13.23, via82cxxx is disabled in favor
> of pata_via. Kubuntu 8.04 beta CD ships with 2.6.24-12, which includes
> both via82cxxx and pata_via. Judging from the fact your drives are
> recognized as /dev/hd?, via82cxxx is loaded first, which means the
> via82cxxx issue has been fixed in 2.6.24-12.
>
> You may want to download and install all the hardy updates up-to-date
> using Update Manager. linux-image-2.6.25-15-generic will be installed
> in the update process. Be sure to remove the IDE drivers you added to
> /etc/initramfs-tools/modules before starting to update. You'll then find
> out whether pata_via is working properly for VIA_82C586_1. If it does
> not work for you, you can file another bug report.
>
> Wenzhuo
>   
Wenzhuo,

I'm not sure I follow you here. Are you suggesting I upgrade to the 
Hardy beta, or just set my repositories to Hardy and update. Won't that 
be an upgrade? How stable is Hardy. I know the code freeze is this week, 
but is it safe to upgrade to Hardy?

Also, I rebuilt the Gutsy kernel to add support for the pata_via module, 
but that didn't help, I still can't boot into the Gutsy kernel.

Thanks,
Rick

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Please keep the old IDE chipset drivers so that external CD writers can work

2008-04-05 Thread Wenzhuo Zhang
Rick Knight wrote:

> I downloaded the Kubuntu 8.04 Desktop CD ISO, burned the ISO and booted.
> It DOES install my hard drives as /dev/hd devices, not /dev/sd and I can
> access them without any problem, so whatever is causing my problem with
> Gutsy, has been fixed in Hardy. Also, I think tells me my Via controller
> is not compatible with libata.

In Feisty and Gutsy kernels, the IDE driver via82cxxx is the only driver
that supports VIA_82C586_1(1106:0571), and the new libata based driver
pata_via is not enabled. So the Gutsy problem you experienced is probably
a regression of via82cxxx driver introduced in linux-image-2.6.22.

Starting from linux-image-2.6.24-13.23, via82cxxx is disabled in favor
of pata_via. Kubuntu 8.04 beta CD ships with 2.6.24-12, which includes
both via82cxxx and pata_via. Judging from the fact your drives are
recognized as /dev/hd?, via82cxxx is loaded first, which means the
via82cxxx issue has been fixed in 2.6.24-12.

You may want to download and install all the hardy updates up-to-date
using Update Manager. linux-image-2.6.25-15-generic will be installed
in the update process. Be sure to remove the IDE drivers you added to
/etc/initramfs-tools/modules before starting to update. You'll then find
out whether pata_via is working properly for VIA_82C586_1. If it does
not work for you, you can file another bug report.

Wenzhuo

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Please keep the old IDE chipset drivers so that external CD writers can work

2008-04-04 Thread Rick Knight
Wenzhuo Zhang wrote:
> Rick Knight wrote:
>
>   
>> I've removed/commented everything from /etc/initramfs-tools/modules except
>>
>> via82cxxx
>> ide_generic
>> ide_disk
>> ide_cd
>>
>> And I've run
>>
>> $update-initramfs -c -k 2.6.22-14-generic.
>>
>> I still can't boot the 2.6.22-14-generic kernel but now I can see my
>> CDrom and DVD drives. They were not loading before, but are now, so I
>> think we're on the right track. It seems like there is still a module or
>> driver missing. Any other ideas?
>> 
>
> It's becoming difficult to track your problem. You may want to file a
> separate bug report at , and attach the
> "dmesg", "lspci -vvn" and "lshw" output to it when running the feisty
> kernel.
>
> For the Gutsy boot messages, you can boot into single-user mode,
> and take a screenshot of the failure messages using a digital camera,
> and then attach it to the bug report as well. Do it twice with and
> without preloading ide drivers in initramfs.
>
>   
>> I do plan on downloading the 8.04 live CD this weekend as you suggested.
>> 
>
> Wenzhuo
>   
Wenzhuo,

I downloaded the Kubuntu 8.04 Desktop CD ISO, burned the ISO and booted.
It DOES install my hard drives as /dev/hd devices, not /dev/sd and I can
access them without any problem, so whatever is causing my problem with
Gutsy, has been fixed in Hardy. Also, I think tells me my Via controller
is not compatible with libata.

Thanks,
Rick


-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Please keep the old IDE chipset drivers so that external CD writers can work

2008-04-04 Thread Rick Knight
Wenzhuo Zhang wrote:
> Rick Knight wrote:
>
>   
>> I've removed/commented everything from /etc/initramfs-tools/modules except
>>
>> via82cxxx
>> ide_generic
>> ide_disk
>> ide_cd
>>
>> And I've run
>>
>> $update-initramfs -c -k 2.6.22-14-generic.
>>
>> I still can't boot the 2.6.22-14-generic kernel but now I can see my
>> CDrom and DVD drives. They were not loading before, but are now, so I
>> think we're on the right track. It seems like there is still a module or
>> driver missing. Any other ideas?
>> 
>
> It's becoming difficult to track your problem. You may want to file a
> separate bug report at , and attach the
> "dmesg", "lspci -vvn" and "lshw" output to it when running the feisty
> kernel.
>
> For the Gutsy boot messages, you can boot into single-user mode,
> and take a screenshot of the failure messages using a digital camera,
> and then attach it to the bug report as well. Do it twice with and
> without preloading ide drivers in initramfs.
>
>   
>> I do plan on downloading the 8.04 live CD this weekend as you suggested.
>> 
>
> Wenzhuo
>   
Wenzhou, thanks for your help. As you suggested, I have just submitted a 
bug report to  launchpad / ubuntu with the output of dmesg, lspci -vvn 
and lshw attached along with a second comment with the screen shot 
attached. It is bug report number 212042 
(https://bugs.launchpad.net/ubuntu/+bug/212042).

Thanks, Rick Knight

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Please keep the old IDE chipset drivers so that external CD writers can work

2008-04-04 Thread Wenzhuo Zhang
Rick Knight wrote:

> I've removed/commented everything from /etc/initramfs-tools/modules except
> 
> via82cxxx
> ide_generic
> ide_disk
> ide_cd
> 
> And I've run
> 
> $update-initramfs -c -k 2.6.22-14-generic.
> 
> I still can't boot the 2.6.22-14-generic kernel but now I can see my
> CDrom and DVD drives. They were not loading before, but are now, so I
> think we're on the right track. It seems like there is still a module or
> driver missing. Any other ideas?

It's becoming difficult to track your problem. You may want to file a
separate bug report at , and attach the
"dmesg", "lspci -vvn" and "lshw" output to it when running the feisty
kernel.

For the Gutsy boot messages, you can boot into single-user mode,
and take a screenshot of the failure messages using a digital camera,
and then attach it to the bug report as well. Do it twice with and
without preloading ide drivers in initramfs.

> I do plan on downloading the 8.04 live CD this weekend as you suggested.

Wenzhuo

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Please keep the old IDE chipset drivers so that external CD writers can work

2008-04-04 Thread Rick Knight
Wenzhuo Zhang wrote:
> Rick Knight wrote:
>
>   
>> That's almost done it. I can see my two CD drives, /dev/hdc and
>> /dev/hdd. It seems that something else is still missing, or maybe I need
>> to take something out. Would anything else be effected by taking out
>> libata?
>> 
>
> /etc/initramfs-tools/modules should be empty by default. libata
> drivers are loaded by the scripts in the initramfs image of Gutsy.
> By adding IDE drivers to /etc/initramfs-tools/modules, IDE drivers
> get loaded first. Therefore you should remove anything related to
> libata in /etc/initramfs-tools/modules.
>
> If it fixes your problem, join my petition to keep the old IDE
> chipset drivers. :) I suggest you try the Hardy beta desktop CD
> to find out if the problem is still there.
>
> http://www.ubuntu.com/testing/hardy/beta
>
> Wenzhuo
>   
Wenzhuo,

I've removed/commented everything from /etc/initramfs-tools/modules except

via82cxxx
ide_generic
ide_disk
ide_cd

And I've run

$update-initramfs -c -k 2.6.22-14-generic.

I still can't boot the 2.6.22-14-generic kernel but now I can see my 
CDrom and DVD drives. They were not loading before, but are now, so I 
think we're on the right track. It seems like there is still a module or 
driver missing. Any other ideas?

I do plan on downloading the 8.04 live CD this weekend as you suggested.

Thanks,
Rick Knight


-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Please keep the old IDE chipset drivers so that external CD writers can work

2008-04-03 Thread Wenzhuo Zhang
Rick Knight wrote:

> That's almost done it. I can see my two CD drives, /dev/hdc and
> /dev/hdd. It seems that something else is still missing, or maybe I need
> to take something out. Would anything else be effected by taking out
> libata?

/etc/initramfs-tools/modules should be empty by default. libata
drivers are loaded by the scripts in the initramfs image of Gutsy.
By adding IDE drivers to /etc/initramfs-tools/modules, IDE drivers
get loaded first. Therefore you should remove anything related to
libata in /etc/initramfs-tools/modules.

If it fixes your problem, join my petition to keep the old IDE
chipset drivers. :) I suggest you try the Hardy beta desktop CD
to find out if the problem is still there.

http://www.ubuntu.com/testing/hardy/beta

Wenzhuo

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Please keep the old IDE chipset drivers so that external CD writers can work

2008-04-03 Thread Rick Knight
Wenzhuo Zhang wrote:
> Rick Knight wrote:
>   
>> I'll file the bug report as you, suggest, tonight or this weekend. But
>> until I hear a respones to the bug report, is there anyway to force the
>> newer kernel to setup drives by path with hdxn instead of sdxn? Also, if
>> I do rebuild the kernel, which module(s) do I need to activate?
>> 
>
> It seems to me that VIA82Cxxx chipset support is included in the Gutsy
> kernel image. BLK_DEV_VIA82CXXX is enabled as a module in
> /boot/config-2.6.22-14-generic.
>
> Try adding the following lines to /etc/initramfs-tools/modules:
>
> via82cxxx
> ide-disk
> ide-cd
> ide-generic
>
> and then type:
>
> $ sudo update-initramfs -u -k 2.6.22-14-generic
>
> After that, reboot into the Gutsy kernel. If you can now successfully
> boot the Gutsy kernel, libata is to blame. ;)
>
> Wenzhuo
>   
Wenzhuo,

That's almost done it. I can see my two CD drives, /dev/hdc and 
/dev/hdd. It seems that something else is still missing, or maybe I need 
to take something out. Would anything else be effected by taking out libata?

Thanks again,
Rick Knight

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Please keep the old IDE chipset drivers so that external CD writers can work

2008-04-03 Thread Wenzhuo Zhang
Rick Knight wrote:
> I'll file the bug report as you, suggest, tonight or this weekend. But
> until I hear a respones to the bug report, is there anyway to force the
> newer kernel to setup drives by path with hdxn instead of sdxn? Also, if
> I do rebuild the kernel, which module(s) do I need to activate?

It seems to me that VIA82Cxxx chipset support is included in the Gutsy
kernel image. BLK_DEV_VIA82CXXX is enabled as a module in
/boot/config-2.6.22-14-generic.

Try adding the following lines to /etc/initramfs-tools/modules:

via82cxxx
ide-disk
ide-cd
ide-generic

and then type:

$ sudo update-initramfs -u -k 2.6.22-14-generic

After that, reboot into the Gutsy kernel. If you can now successfully
boot the Gutsy kernel, libata is to blame. ;)

Wenzhuo

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Please keep the old IDE chipset drivers so that external CD writers can work

2008-04-03 Thread Wenzhuo Zhang
Matthew Garrett wrote:
> No, something else is going on here. usb-storage is entirely unrelated 
> to the IDE subsystem, so doesn't care whether you're using libata or 
> not. Something else is triggering this bug.

usb-storage is indeed unrelated to the IDE subsystem. However, both libata and 
usb-storage are implemented on top of the SCSI layer. You cannot reach the 
conclusion that this bug is completely unrelated to libata. On the contrary, I 
have a proof that it's related to libata to some degree: the workaround to this 
problem is to load IDE drivers instead of libata drivers. See bug #109211 for 
details. Probably libata steps on the foot of usb-storage.

My point is that the kernel team should look into this issue, because external 
CD/DVD writers are common hardware gadgets. If the bug cannot be resolved in 
time, just keep the old IDE drivers and let libata drivers take precedence. The 
problem Rick Knight's having with his motherboard is another reason to keep the 
old IDE drivers.

Wenzhuo


-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Please keep the old IDE chipset drivers so that external CD writers can work

2008-04-03 Thread Rick Knight
Wenzhuo Zhang wrote:
> Rick Knight wrote:
>
>   
>> boot the 2.6.22.14-generic kernel? I have a 4 year old Soyo motherboard 
>> with Via chipset. Can I rebuild the kernel to get this older IDE 
>> support? I can still boot into my Feisty kernel.
>> 
>
>
> If your chipset is not supported by libata, and you want rebuild the kernel
> to add the old drivers back, following the instructions on this web page:
>
> https://help.ubuntu.com/community/Kernel/Compile
>
> Wenzhuo
>
>
>   
After doing a lot of comparing between my desktop at work, my notebook 
and my desktop at home, I'm beginning to think that the problem is the 
chipset in my desktop at home is not supported by libata. The 
motherboard in the PC is about 4 years old and has a Via VT82C568A/B, 
VT82C686A/B, VT823x/A/C chipset. When I boot the Feisty kernel, libata 
and ata_generic are being loaded but are not being used...

$ lsmod | grep ata
ata_generic9902   0
libata 125720 ata_generic
scsi_mod142348 libata,sg,st,aic7xxx,scsi_transport_spi

This tells me that libata is being using by ata_generic, but ata_generic 
isn't being used.

Also, lsmod shows that ide_disk is being used...

$ lsmod | grep ide
ide_cd   32672  0
cdrom   37664  1 ide_cd
ide_disk17024  5

I think this tells me that this kernel is using IDE_DISK and not 
ATA_GENERIC. Neither my desktop PC at work nor my notebook PC load the 
IDE_DISK. They both use ATA_PIIX. I've looked for a Via ATA module in 
the kernel source, but all I can find is SATA_VIA and this module is 
installed but doesn't seem to work  (I don't have serial ata drives).

Am I correct in this? If I am correct, how can I fix this problem? Is 
there a Via ata driver I'm not seeing?

Thanks,
Rick


-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Please keep the old IDE chipset drivers so that external CD writers can work

2008-04-03 Thread Rick Knight
Wenzhuo Zhang wrote:
> Rick Knight wrote:
>   
>> Wenzhuo Zhang wrote:
>> 
>>> Hi,
>>>
>>> Starting from Gutsy, the old IDE chipset drivers are no longer included in 
>>> the kernel package. 
>>>   
>> Could this be my problem? See post "Help with Gutsy upgrade" in this 
>> list. After an upgrade from Feisty to Gutsy the new kernel will not load 
>> my hard drive. When I upgraded from Dapper to Feisty, the upgrade set my 
>> drives up as /dev/sdx (in GRUB and /etc/fstab) and I could not boot. I 
>> 
>
> Nowadays the standard way of identifying filesystems is by UUIDs. You should
> use the vol_id command to find out the UUIDs of your filesystems, e.g.
>
> $ sudo vol_id /dev/hda1
>
> and replace the occurrences of "/dev/[sh]dx?" in /etc/fstab and 
> /boot/grub/menu.lst to "UUID=", where "" is the corresponding 
> UUID of each filesystem.
>   
I've done that. I've verified the UUIDs of all partitions with blkid and 
vol_id and and compared those results with what's in /boot/grub/menu.lst 
and /etc/fstab. They are the same.
>  
>   
>> changed the drives back to /dev/hdx and that solved the problem. Gutsy 
>> does not seem able to deal with /dev/hdx so, could this be why I can't 
>> boot the 2.6.22.14-generic kernel? I have a 4 year old Soyo motherboard 
>> with Via chipset. Can I rebuild the kernel to get this older IDE 
>> support? I can still boot into my Feisty kernel.
>> 
>
> If you have added the old IDE driver modules to /etc/initramfs-tools/modules
> before, you should remove them fist, and run the following command for each 
> kernel
> version:
>
> $ sudo update-initramfs -u -k 
>   
I've removed the changes made to /etc/initramfs-tools/modules and I've 
re-run

$ sudo update-initramfs -u -k 2.6.22-14-generic
> If you have not modifiled /etc/initramfs-tools/modules before, probably your 
> IDE chipset is not supported by libata yet.
How can I determine if my chipset isn't supported by libata? These 
modules load for both the working kernel (2.6.20-16-generic) and the non 
working kernel (2.6.22-14-generic)

ata_generic
libata
sg
st
scsi_mod
ide_cd
ide_disk

> You may want to file a separate bug report at launchpad, attaching the result 
> of "lspci -vvn", "dmesg" of a running kernel, and a screenshot (by a camera) 
> of the boot failure of Gutsy.
>
> Wenzhuo
>   
I'll file the bug report as you, suggest, tonight or this weekend. But 
until I hear a respones to the bug report, is there anyway to force the 
newer kernel to setup drives by path with hdxn instead of sdxn? Also, if 
I do rebuild the kernel, which module(s) do I need to activate?

Thanks again,
Rick

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Please keep the old IDE chipset drivers so that external CD writers can work

2008-04-03 Thread Matthew Garrett
No, something else is going on here. usb-storage is entirely unrelated 
to the IDE subsystem, so doesn't care whether you're using libata or 
not. Something else is triggering this bug.

-- 
Matthew Garrett | [EMAIL PROTECTED]

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Please keep the old IDE chipset drivers so that external CD writers can work

2008-04-02 Thread Wenzhuo Zhang
Rick Knight wrote:

> boot the 2.6.22.14-generic kernel? I have a 4 year old Soyo motherboard 
> with Via chipset. Can I rebuild the kernel to get this older IDE 
> support? I can still boot into my Feisty kernel.


If your chipset is not supported by libata, and you want rebuild the kernel
to add the old drivers back, following the instructions on this web page:

https://help.ubuntu.com/community/Kernel/Compile

Wenzhuo




-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Please keep the old IDE chipset drivers so that external CD writers can work

2008-04-02 Thread Wenzhuo Zhang
Rick Knight wrote:
> Wenzhuo Zhang wrote:
>> Hi,
>>
>> Starting from Gutsy, the old IDE chipset drivers are no longer included in 
>> the kernel package. 
> Could this be my problem? See post "Help with Gutsy upgrade" in this 
> list. After an upgrade from Feisty to Gutsy the new kernel will not load 
> my hard drive. When I upgraded from Dapper to Feisty, the upgrade set my 
> drives up as /dev/sdx (in GRUB and /etc/fstab) and I could not boot. I 

Nowadays the standard way of identifying filesystems is by UUIDs. You should
use the vol_id command to find out the UUIDs of your filesystems, e.g.

$ sudo vol_id /dev/hda1

and replace the occurrences of "/dev/[sh]dx?" in /etc/fstab and 
/boot/grub/menu.lst to "UUID=", where "" is the corresponding 
UUID of each filesystem.

> changed the drives back to /dev/hdx and that solved the problem. Gutsy 
> does not seem able to deal with /dev/hdx so, could this be why I can't 
> boot the 2.6.22.14-generic kernel? I have a 4 year old Soyo motherboard 
> with Via chipset. Can I rebuild the kernel to get this older IDE 
> support? I can still boot into my Feisty kernel.

If you have added the old IDE driver modules to /etc/initramfs-tools/modules
before, you should remove them fist, and run the following command for each 
kernel
version:

$ sudo update-initramfs -u -k 

If you have not modifiled /etc/initramfs-tools/modules before, probably your 
IDE chipset is not supported by libata yet. You may want to file a separate bug 
report at launchpad, attaching the result of "lspci -vvn", "dmesg" of a running 
kernel, and a screenshot (by a camera) of the boot failure of Gutsy.

Wenzhuo

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Please keep the old IDE chipset drivers so that external CD writers can work

2008-04-02 Thread Rick Knight
Wenzhuo Zhang wrote:
> Hi,
>
> Starting from Gutsy, the old IDE chipset drivers are no longer included in 
> the kernel package. 
Could this be my problem? See post "Help with Gutsy upgrade" in this 
list. After an upgrade from Feisty to Gutsy the new kernel will not load 
my hard drive. When I upgraded from Dapper to Feisty, the upgrade set my 
drives up as /dev/sdx (in GRUB and /etc/fstab) and I could not boot. I 
changed the drives back to /dev/hdx and that solved the problem. Gutsy 
does not seem able to deal with /dev/hdx so, could this be why I can't 
boot the 2.6.22.14-generic kernel? I have a 4 year old Soyo motherboard 
with Via chipset. Can I rebuild the kernel to get this older IDE 
support? I can still boot into my Feisty kernel.


> The libata based drivers, being cleaner and easier to maintain, have taken 
> the places of the old drivers.
>
> However, external CD writers don't work with the new libata based IDE 
> drivers. Please see bug report #109211 
>  
> for details. Considering that external CD/DVD writers are widely used 
> hardware, I suggest keep the old IDE drivers until this bug is fixed, so that 
> users can still use their external CD/DVD writers in Ubuntu after very little 
> manual configuration. They should not conflict with anything if not loaded.
>
> Wenzhuo
>
>   
Thanks,
Rick Knight

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Please keep the old IDE chipset drivers so that external CD writers can work

2008-04-02 Thread Wenzhuo Zhang

Hi,

Starting from Gutsy, the old IDE chipset drivers are no longer included in the 
kernel package. The libata based drivers, being cleaner and easier to maintain, 
have taken the places of the old drivers.

However, external CD writers don't work with the new libata based IDE drivers. 
Please see bug report #109211 
 for 
details. Considering that external CD/DVD writers are widely used hardware, I 
suggest keep the old IDE drivers until this bug is fixed, so that users can 
still use their external CD/DVD writers in Ubuntu after very little manual 
configuration. They should not conflict with anything if not loaded.

Wenzhuo

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss