Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

usb/145184: GENERIC can't mount root from USB on Asus EEE

2 views
Skip to first unread message

Eir Nym

unread,
Mar 29, 2010, 7:09:41 PM3/29/10
to freebsd-gn...@freebsd.org

>Number: 145184
>Category: usb
>Synopsis: GENERIC can't mount root from USB on Asus EEE
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-usb
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Mar 29 23:10:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Eir Nym
>Release: SVN revision 205702
>Organization:
>Environment:
>Description:
Kernel doesn't see any USB disks (HDD and flash) on boot. After reinsert flash disk, kernel see device, but can't mount root from it (doesn't list it as possible boot GEOM).
This problem is only on my EEE. desktop computer bootup well.

CURRENT about 15th may 2009 boot well from flash drive. But it's too old :)

dmesg.boot you can see at http://freebsd.eroese.org/dmesg.r205702
this kernel is based on generic, http://freebsd.eroese.org/FASTGENr205702
>How-To-Repeat:
Checkout code from SVN, build generic system, install it on flash disk, reboot from.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:

Hans Petter Selasky

unread,
Mar 30, 2010, 3:25:26 AM3/30/10
to freeb...@freebsd.org, Scott Long, freebsd-gn...@freebsd.org, tho...@freebsd.org

This is a known issue.

--HPS

Hans Petter Selasky

unread,
Mar 30, 2010, 3:30:05 AM3/30/10
to freeb...@freebsd.org
The following reply was made to PR usb/145184; it has been noted by GNATS.

Andrew Thompson

unread,
Mar 30, 2010, 4:00:18 AM3/30/10
to freeb...@freebsd.org
The following reply was made to PR usb/145184; it has been noted by GNATS.

From: Andrew Thompson <tho...@FreeBSD.org>
To: Gnats <bug-fo...@FreeBSD.org>
Cc: Eir Nym <eir...@gmail.com>
Subject: Re: usb/145184: GENERIC can't mount root from USB on Asus EEE
Date: Tue, 30 Mar 2010 20:54:10 +1300

> > Kernel doesn't see any USB disks (HDD and flash) on boot. After reinsert
> > flash disk, kernel see device, but can't mount root from it (doesn't list
> > it as possible boot GEOM). This problem is only on my EEE. desktop
> > computer bootup well.

You can set kern.cam.boot_delay=4 in /boot/loader.conf in order to boot.


Andrew

Arseny Nasokin

unread,
Mar 30, 2010, 6:11:31 AM3/30/10
to Andrew Thompson, freeb...@freebsd.org

I've tried up set this value up to 10-15. This is not work. I also
tryed put this option in defaults/loader.conf to test

Which latest world doesn't have this issue?


> Andrew
> _______________________________________________
> freeb...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-usb
> To unsubscribe, send any mail to "freebsd-usb...@freebsd.org"

Andrew Thompson

unread,
Mar 30, 2010, 2:45:57 PM3/30/10
to Arseny Nasokin, freeb...@freebsd.org
On 30 March 2010 23:11, Arseny Nasokin <eir...@gmail.com> wrote:
> On 30 Mar 2010, at 08:00, Andrew Thompson <tho...@FreeBSD.org> wrote:
>
>> The following reply was made to PR usb/145184; it has been noted by GNATS.
>>
>> From: Andrew Thompson <tho...@FreeBSD.org>
>> To: Gnats <bug-fo...@FreeBSD.org>
>> Cc: Eir Nym <eir...@gmail.com>
>> Subject: Re: usb/145184: GENERIC can't mount root from USB on Asus EEE
>> Date: Tue, 30 Mar 2010 20:54:10 +1300
>>
>>>> Kernel doesn't see any USB disks (HDD and flash) on boot. After reinsert
>>>> flash disk, kernel see device, but can't mount root from it (doesn't
>>>> list
>>>> it as possible boot GEOM). This problem is only on my EEE. desktop
>>>> computer bootup well.
>>
>> You can set kern.cam.boot_delay=4 in /boot/loader.conf in order to boot.
>>
>>
>
> I've tried up set this value up to 10-15. This is not work. I also tryed put
> this option in defaults/loader.conf to test

It may be in milliseconds, try 4000.


Andrew

Arseny Nasokin

unread,
Mar 30, 2010, 4:40:57 PM3/30/10
to Andrew Thompson, freeb...@freebsd.org
I

--
With pleasure

Obviously, it doesn't work. I've found patch in same issue kern/144824
but it doesn't work also :(

Grep finds this tunable int in xpt(4) device, not in da(4) or pass(4).

Paul B Mahol

unread,
Mar 30, 2010, 4:51:15 PM3/30/10
to Andrew Thompson, freeb...@freebsd.org

10000 in my case works.

Arseny Nasokin

unread,
Mar 31, 2010, 4:26:09 AM3/31/10
to Paul B Mahol, freeb...@freebsd.org, Andrew Thompson

Wow! It woks! Thanks for this workaround!

0 new messages