How to disable built-in driver during ubuntu 9.04 installation?

Bug #403385 reported by Joseph
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Low
Tim Gardner

Bug Description

Hi,

I met a problem during Ubuntu 9.04 installation.
As we know, there are many drirver modules were built-in kenel to shorten the boot time.
Now, the problem I met is I would like to load the updated driver from driver updated CD and disable the built-in driver modules.
I tried several boot parameters, but didn't work.
for example:
  sata_via.sata_via=no_probe (returns me "unknown boot parameter")
  sata_via=0 (or sata_via=noprobe)
  sata_via.blacklist=yes (this should work if sata_via was built as module)
  sata_via=none (or sata_via.sata_via=none)
Any boot parameter to let me to disable the built-in driver module during ubuntu 9.04 installation?
Thanks in advanced.

BRs,
Joseph

Revision history for this message
Joseph (josephchan) wrote :

Any update for this issue? Thanks.

Revision history for this message
specialk (geigerkr) wrote :

Hello. I would really like to know the answer to this, too. I am currently working with MSI tech support and I believe the sata_via kernel module is also causing me nightmares to install Linux. I can't find a distribution that works anymore with my motherboard Master2 FAR. Thanks in advance! -Karl

Revision history for this message
Joseph (josephchan) wrote : RE: [Bug 403385] Re: How to disable built-in driver during ubuntu 9.04installation?

Karl,

Basically, I don't meet any problem during Ubuntu 9.04.
I just want to have VIA's next storage driver, but same Device ID was used by sata_via.
It caused me failed to load the new driver with default kernel of Ubuntu 9.04.
It should be OK if I rebuild the sata_via as module or disabled.

I'm not sure what kind installation problem you met.
Just email to me, I would be gald to help you if I could. :)

BRs,
Joseph

________________________________

From: <email address hidden> 代理 specialk
Sent: 2009/8/29 [星期六] 下午 01:09
To: Joseph Chan
Subject: [Bug 403385] Re: How to disable built-in driver during ubuntu 9.04installation?

Hello. I would really like to know the answer to this, too. I am
currently working with MSI tech support and I believe the sata_via
kernel module is also causing me nightmares to install Linux. I can't
find a distribution that works anymore with my motherboard Master2 FAR.
Thanks in advance! -Karl

--
How to disable built-in driver during ubuntu 9.04 installation?
https://bugs.launchpad.net/bugs/403385
You received this bug notification because you are a direct subscriber
of the bug.

Status in “installation-guide” package in Ubuntu: New

Bug description:
Hi,

I met a problem during Ubuntu 9.04 installation.
As we know, there are many drirver modules were built-in kenel to shorten the boot time.
Now, the problem I met is I would like to load the updated driver from driver updated CD and disable the built-in driver modules.
I tried several boot parameters, but didn't work.
for example:
  sata_via.sata_via=no_probe (returns me "unknown boot parameter")
  sata_via=0 (or sata_via=noprobe)
  sata_via.blacklist=yes (this should work if sata_via was built as module)
  sata_via=none (or sata_via.sata_via=none)
Any boot parameter to let me to disable the built-in driver module during ubuntu 9.04 installation?
Thanks in advanced.

BRs,
Joseph

Revision history for this message
Colin Watson (cjwatson) wrote :

I'm afraid I have no idea if this is even possible at all. I've subscribed the kernel team to this bug in the hope that they know.

Revision history for this message
specialk (geigerkr) wrote :

Thanks Colin. I'm interested to find out how they respond. I believe there will be a few others watching this thread progress. This guy describes very closely the experience I believe I am having: http://half-a-page.blogspot.com/2009/03/ubuntu-904-jaunty-jackalope-first.html He has some crazy workaround instructions to compile a custom kernel and load the apparently more stable via82cxx module instead. -Karl

Revision history for this message
specialk (geigerkr) wrote :

I've seen names "Jeff Garzik" and "Leann Ogasawara" on past kernel bug reports. Any chance they could comment on a friendlier way "opt out" of sata_via and/or whether specific issues with sata_via will be addressed?

Revision history for this message
Tim Gardner (timg-tpi) wrote :

CONFIG_SATA_VIA=m

affects: installation-guide (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
assignee: nobody → Tim Gardner (timg-tpi)
status: New → Fix Committed
importance: Undecided → Low
milestone: none → karmic-alpha-6
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 2.6.31-10.30

---------------
linux (2.6.31-10.30) karmic; urgency=low

  [ Amit Kucheria ]

  * [Config] Enable CONFIG_USB_DEVICEFS
    - LP: #417748
  * [Config] Populate the config-update template a bit more

  [ Andy Whitcroft ]

  * rebase to v2.6.31-rc9
  * [Config] update configs following rebase to v2.6.31-rc9
  * [Config] update ports configs following rebase to v2.6.31-rc9

  [ Colin Ian King ]

  * SAUCE: wireless: hostap, fix oops due to early probing interrupt
    - LP: #254837

  [ Jerone Young ]

  * [Upstream] ACPI: Add Thinkpad T400 & Thinkpad T500 to OSI(Linux)
    white-list
    - LP: #281732
  * [Upstream] ACPI: Add Thinkpad X200, X200s, X200t to OSI(Linux)
    white-list
    - LP: #281732
  * [Upstream] ACPI: Add Thinkpad X300 & Thinkpad X301 to OSI(Linux)
    white-list
    - LP: #281732
  * [Upstream] ACPI: Add Thinkpad R400 & Thinkpad R500 to OSI(Linux)
    white-list
    - LP: #281732
  * [Upstream] ACPI: Add Thinkpad W500, W700, & W700ds to OSI(Linux)
    white-list
    - LP: #281732

  [ John Johansen ]

  * SAUCE: AppArmor: Fix profile attachment for regexp based profile names
    - LP: #419308
  * SAUCE: AppArmor: Return the correct error codes on profile
    addition/removal
    - LP: #408473
  * SAUCE: AppArmor: Fix OOPS in profile listing, and display full list
    - LP: #408454
  * SAUCE: AppArmor: Fix mapping of pux to new internal permission format
    - LP: #419222
  * SAUCE: AppArmor: Fix change_profile failure
    - LP: #401931
  * SAUCE: AppArmor: Tell git to ignore generated include files
    - LP: #419505

  [ Stefan Bader ]

  * [Upstream] acpi: video: Loosen strictness of video bus detection code
    - LP: #333386
  * SAUCE: Remove ov511 driver from ubuntu subdirectory

  [ Tim Gardner ]

  * [Config] Exclude char-modules from non-x86 udeb creation
  * SAUCE: Notify the ACPI call chain of AC events
  * [Config] CONFIG_SATA_VIA=m
    - LP: #403385
  * [Config] Build in all phylib support modules.
  * [Config] Don't fail when sub-flavour files are missing
    - LP: #423426
  * [Config] Set CONFIG_LSM_MMAP_MIN_ADDR=0
    - LP: #423513

  [ Upstream ]

  * Rebased against v2.6.31-rc9

 -- Andy Whitcroft <email address hidden> Mon, 07 Sep 2009 11:33:45 +0100

Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Joseph (josephchan) wrote :

Thanks for the workaround.

But I'm think the possibility to add a parameter in sata_via.c.
It can let user to disable the sata_via with built-in mode.

Is it OK to submit into your kernel?

Revision history for this message
Andy Whitcroft (apw) wrote :

@Joseph -- as we are now not building it in its not necessary I'd say to add one. But if you wanted to do that then I'd say doing it via the upstream kernel makes the most sense.

Revision history for this message
Joseph (josephchan) wrote :

Andy~
I got it. I've also tried to consult this with Jeff and Tejun.
Tejon thought this is not a REAL solution for all storage drivers.
He reminds me there is another way to disable the sata_via in latest 2.6.31 kernel, called pci_stub.
Add the boot parameter with the device ID which you want to disable in the BOOT menu.
After trying this method, I could disable the sata_via (built-in mode) during system bootup.
This method is a little bit complex, but work. :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.