From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-ea0-x234.google.com ([2a00:1450:4013:c01::234]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1VtO0A-0000qo-RQ for ptxdist@pengutronix.de; Wed, 18 Dec 2013 21:45:57 +0100 Received: by mail-ea0-f180.google.com with SMTP id f15so72834eak.25 for ; Wed, 18 Dec 2013 12:45:48 -0800 (PST) Received: from AntonioPC2 (host237-22-dynamic.182-80-r.retail.telecomitalia.it. [80.182.22.237]) by mx.google.com with ESMTPSA id z42sm3258311eeo.17.2013.12.18.12.45.46 for (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 18 Dec 2013 12:45:48 -0800 (PST) From: "Antonio Righettini" Date: Wed, 18 Dec 2013 21:45:49 +0100 Message-ID: MIME-Version: 1.0 Content-Language: it Subject: [ptxdist] linux boot problem Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0430346975==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de This is a multi-part message in MIME format. --===============0430346975== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0000_01CEFC3A.854AFD30" Content-Language: it This is a multi-part message in MIME format. ------=_NextPart_000_0000_01CEFC3A.854AFD30 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi I have made an bootable USB via dd command from hd.img image for a 386 architecture. The grub run, the kernel start to boot but when root file system has to be mount on root I see a kernel panic. I have put the right file system in the kernel (not module). The last part of console output is : sdb: sdb1 [ 3.016140] sd 33:0:0:0: [sdb] Attached SCSI removable disk [ 11.119960] VFS: Cannot open root device "sdb1" or unknown-block(8,17): error -2 [ 11.121978] Please append a correct "root=" boot option; here are the available partitions: [ 11.124194] 0800 524288 sda driver: sd [ 11.125492] 0810 3910180 sdb driver: sd [ 11.126782] 0811 298976 sdb1 00000000-0000-0000-0000-000000000000 [ 11.128686] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,17) [ 11.130895] Pid: 1, comm: swapper/0 Not tainted 3.5.7-Anto-Embedded #12 My impression is : kernel see the partition but can't read it. The other strange thing is UUID number 00000000-0000-0000-0000-000000000000 but if I mount the usb key in a linux machine the number is right and not 0 The kernel command line is : root=/dev/sdb1 console=ttyS1,115200 rootdelay=10 do you have same ideas regards, Antonio Righettini ------=_NextPart_000_0000_01CEFC3A.854AFD30 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi

 

I have made an bootable USB via dd command from hd.img = image for a 386 architecture.

The grub run, the kernel start to = boot but when root file system has to be mount on root  I see a = kernel panic.

I have put the right file system in the kernel (not = module).

The last part of console output is = :

 

sdb: sdb1

[    3.016140] sd 33:0:0:0: [sdb] Attached = SCSI removable disk

[   11.119960] VFS: Cannot open root device = "sdb1" or unknown-block(8,17): error = -2

[   11.121978] Please append a correct = "root=3D" boot option; here are the available = partitions:

[   11.124194] = 0800          524288 = sda  driver: sd

[   11.125492] = 0810         3910180 sdb  = driver: sd

[   11.126782]   = 0811          298976 sdb1 = 00000000-0000-0000-0000-000000000000

[   11.128686] Kernel = panic - not syncing: VFS: Unable to mount root fs on = unknown-block(8,17)

[   11.130895] Pid: 1, comm: swapper/0 Not = tainted 3.5.7-Anto-Embedded #12

 

 

My impression is : kernel see the = partition but can’t read it.

The other strange thing is UUID = number  00000000-0000-0000-0000-000000000000 but if I mount the usb = key in a linux machine the number is right and not = 0

 

The kernel command line is :

 

root=3D/dev/sdb1 = console=3DttyS1,115200 rootdelay=3D10

 

do you have same = ideas

 

regards, Antonio Righettini

 

 

 

 

 

------=_NextPart_000_0000_01CEFC3A.854AFD30-- --===============0430346975== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============0430346975==--